From 83213b6056bc05d7976cff6168423657d0ee339e Mon Sep 17 00:00:00 2001 From: jonatanklosko Date: Fri, 26 Jan 2024 13:00:24 +0000 Subject: [PATCH] Update assets --- static/assets/app.js | 207 +++++++++++++++++++++---------------------- 1 file changed, 103 insertions(+), 104 deletions(-) diff --git a/static/assets/app.js b/static/assets/app.js index e3e047cc5..5b64a0c76 100644 --- a/static/assets/app.js +++ b/static/assets/app.js @@ -1,38 +1,37 @@ -import{a as Al}from"./chunk-BZUL2CAN.js";import{a as ne,b as Be,c as wa,d as Kx,e as qr,f as ps,g as su,h as _l,i as Nt}from"./chunk-3V74GZ4F.js";var o6=ps((Yce,n6)=>{"use strict";var Vd=Object.prototype.hasOwnProperty,i6=Object.prototype.toString,Gk=Object.defineProperty,Kk=Object.getOwnPropertyDescriptor,Jk=function(e){return typeof Array.isArray=="function"?Array.isArray(e):i6.call(e)==="[object Array]"},e6=function(e){if(!e||i6.call(e)!=="[object Object]")return!1;var r=Vd.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&Vd.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!i)return!1;var n;for(n in e);return typeof n=="undefined"||Vd.call(e,n)},t6=function(e,r){Gk&&r.name==="__proto__"?Gk(e,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):e[r.name]=r.newValue},r6=function(e,r){if(r==="__proto__")if(Vd.call(e,r)){if(Kk)return Kk(e,r).value}else return;return e[r]};n6.exports=function t(){var e,r,i,n,o,s,a=arguments[0],l=1,c=arguments.length,u=!1;for(typeof a=="boolean"&&(u=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l{});var xO=ps((wO,DR)=>{(function(t,e){typeof wO=="object"?DR.exports=wO=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(wO,function(){var t=t||function(e,r){var i;if(typeof window!="undefined"&&window.crypto&&(i=window.crypto),typeof self!="undefined"&&self.crypto&&(i=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window!="undefined"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof global!="undefined"&&global.crypto&&(i=global.crypto),!i&&typeof wa=="function")try{i=MR()}catch(k){}var n=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch(k){}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch(k){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function k(){}return function(C){var R;return k.prototype=C,R=new k,k.prototype=null,R}}(),s={},a=s.lib={},l=a.Base=function(){return{extend:function(k){var C=o(this);return k&&C.mixIn(k),(!C.hasOwnProperty("init")||this.init===C.init)&&(C.init=function(){C.$super.init.apply(this,arguments)}),C.init.prototype=C,C.$super=this,C},create:function(){var k=this.extend();return k.init.apply(k,arguments),k},init:function(){},mixIn:function(k){for(var C in k)k.hasOwnProperty(C)&&(this[C]=k[C]);k.hasOwnProperty("toString")&&(this.toString=k.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=a.WordArray=l.extend({init:function(k,C){k=this.words=k||[],C!=r?this.sigBytes=C:this.sigBytes=k.length*4},toString:function(k){return(k||f).stringify(this)},concat:function(k){var C=this.words,R=k.words,Q=this.sigBytes,z=k.sigBytes;if(this.clamp(),Q%4)for(var L=0;L>>2]>>>24-L%4*8&255;C[Q+L>>>2]|=Z<<24-(Q+L)%4*8}else for(var re=0;re>>2]=R[re>>>2];return this.sigBytes+=z,this},clamp:function(){var k=this.words,C=this.sigBytes;k[C>>>2]&=4294967295<<32-C%4*8,k.length=e.ceil(C/4)},clone:function(){var k=l.clone.call(this);return k.words=this.words.slice(0),k},random:function(k){for(var C=[],R=0;R>>2]>>>24-z%4*8&255;Q.push((L>>>4).toString(16)),Q.push((L&15).toString(16))}return Q.join("")},parse:function(k){for(var C=k.length,R=[],Q=0;Q>>3]|=parseInt(k.substr(Q,2),16)<<24-Q%8*4;return new c.init(R,C/2)}},d=u.Latin1={stringify:function(k){for(var C=k.words,R=k.sigBytes,Q=[],z=0;z>>2]>>>24-z%4*8&255;Q.push(String.fromCharCode(L))}return Q.join("")},parse:function(k){for(var C=k.length,R=[],Q=0;Q>>2]|=(k.charCodeAt(Q)&255)<<24-Q%4*8;return new c.init(R,C)}},p=u.Utf8={stringify:function(k){try{return decodeURIComponent(escape(d.stringify(k)))}catch(C){throw new Error("Malformed UTF-8 data")}},parse:function(k){return d.parse(unescape(encodeURIComponent(k)))}},O=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(k){typeof k=="string"&&(k=p.parse(k)),this._data.concat(k),this._nDataBytes+=k.sigBytes},_process:function(k){var C,R=this._data,Q=R.words,z=R.sigBytes,L=this.blockSize,Z=L*4,re=z/Z;k?re=e.ceil(re):re=e.max((re|0)-this._minBufferSize,0);var H=re*L,q=e.min(H*4,z);if(H){for(var oe=0;oe{(function(t,e){typeof kO=="object"?UR.exports=kO=e(xO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(kO,function(t){return function(e){var r=t,i=r.lib,n=i.WordArray,o=i.Hasher,s=r.algo,a=[];(function(){for(var p=0;p<64;p++)a[p]=e.abs(e.sin(p+1))*4294967296|0})();var l=s.MD5=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,O){for(var w=0;w<16;w++){var x=O+w,k=p[x];p[x]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}var C=this._hash.words,R=p[O+0],Q=p[O+1],z=p[O+2],L=p[O+3],Z=p[O+4],re=p[O+5],H=p[O+6],q=p[O+7],oe=p[O+8],pe=p[O+9],fe=p[O+10],ge=p[O+11],ve=p[O+12],Qe=p[O+13],se=p[O+14],he=p[O+15],K=C[0],_=C[1],G=C[2],ae=C[3];K=c(K,_,G,ae,R,7,a[0]),ae=c(ae,K,_,G,Q,12,a[1]),G=c(G,ae,K,_,z,17,a[2]),_=c(_,G,ae,K,L,22,a[3]),K=c(K,_,G,ae,Z,7,a[4]),ae=c(ae,K,_,G,re,12,a[5]),G=c(G,ae,K,_,H,17,a[6]),_=c(_,G,ae,K,q,22,a[7]),K=c(K,_,G,ae,oe,7,a[8]),ae=c(ae,K,_,G,pe,12,a[9]),G=c(G,ae,K,_,fe,17,a[10]),_=c(_,G,ae,K,ge,22,a[11]),K=c(K,_,G,ae,ve,7,a[12]),ae=c(ae,K,_,G,Qe,12,a[13]),G=c(G,ae,K,_,se,17,a[14]),_=c(_,G,ae,K,he,22,a[15]),K=u(K,_,G,ae,Q,5,a[16]),ae=u(ae,K,_,G,H,9,a[17]),G=u(G,ae,K,_,ge,14,a[18]),_=u(_,G,ae,K,R,20,a[19]),K=u(K,_,G,ae,re,5,a[20]),ae=u(ae,K,_,G,fe,9,a[21]),G=u(G,ae,K,_,he,14,a[22]),_=u(_,G,ae,K,Z,20,a[23]),K=u(K,_,G,ae,pe,5,a[24]),ae=u(ae,K,_,G,se,9,a[25]),G=u(G,ae,K,_,L,14,a[26]),_=u(_,G,ae,K,oe,20,a[27]),K=u(K,_,G,ae,Qe,5,a[28]),ae=u(ae,K,_,G,z,9,a[29]),G=u(G,ae,K,_,q,14,a[30]),_=u(_,G,ae,K,ve,20,a[31]),K=f(K,_,G,ae,re,4,a[32]),ae=f(ae,K,_,G,oe,11,a[33]),G=f(G,ae,K,_,ge,16,a[34]),_=f(_,G,ae,K,se,23,a[35]),K=f(K,_,G,ae,Q,4,a[36]),ae=f(ae,K,_,G,Z,11,a[37]),G=f(G,ae,K,_,q,16,a[38]),_=f(_,G,ae,K,fe,23,a[39]),K=f(K,_,G,ae,Qe,4,a[40]),ae=f(ae,K,_,G,R,11,a[41]),G=f(G,ae,K,_,L,16,a[42]),_=f(_,G,ae,K,H,23,a[43]),K=f(K,_,G,ae,pe,4,a[44]),ae=f(ae,K,_,G,ve,11,a[45]),G=f(G,ae,K,_,he,16,a[46]),_=f(_,G,ae,K,z,23,a[47]),K=d(K,_,G,ae,R,6,a[48]),ae=d(ae,K,_,G,q,10,a[49]),G=d(G,ae,K,_,se,15,a[50]),_=d(_,G,ae,K,re,21,a[51]),K=d(K,_,G,ae,ve,6,a[52]),ae=d(ae,K,_,G,L,10,a[53]),G=d(G,ae,K,_,fe,15,a[54]),_=d(_,G,ae,K,Q,21,a[55]),K=d(K,_,G,ae,oe,6,a[56]),ae=d(ae,K,_,G,he,10,a[57]),G=d(G,ae,K,_,H,15,a[58]),_=d(_,G,ae,K,Qe,21,a[59]),K=d(K,_,G,ae,Z,6,a[60]),ae=d(ae,K,_,G,ge,10,a[61]),G=d(G,ae,K,_,z,15,a[62]),_=d(_,G,ae,K,pe,21,a[63]),C[0]=C[0]+K|0,C[1]=C[1]+_|0,C[2]=C[2]+G|0,C[3]=C[3]+ae|0},_doFinalize:function(){var p=this._data,O=p.words,w=this._nDataBytes*8,x=p.sigBytes*8;O[x>>>5]|=128<<24-x%32;var k=e.floor(w/4294967296),C=w;O[(x+64>>>9<<4)+15]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,O[(x+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,p.sigBytes=(O.length+1)*4,this._process();for(var R=this._hash,Q=R.words,z=0;z<4;z++){var L=Q[z];Q[z]=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360}return R},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p}});function c(p,O,w,x,k,C,R){var Q=p+(O&w|~O&x)+k+R;return(Q<>>32-C)+O}function u(p,O,w,x,k,C,R){var Q=p+(O&x|w&~x)+k+R;return(Q<>>32-C)+O}function f(p,O,w,x,k,C,R){var Q=p+(O^w^x)+k+R;return(Q<>>32-C)+O}function d(p,O,w,x,k,C,R){var Q=p+(w^(O|~x))+k+R;return(Q<>>32-C)+O}r.MD5=o._createHelper(l),r.HmacMD5=o._createHmacHelper(l)}(Math),t.MD5})});var BR=ps((SO,jR)=>{(function(t,e){typeof SO=="object"?jR.exports=SO=e(xO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(SO,function(t){return function(e){var r=t,i=r.lib,n=i.WordArray,o=i.Hasher,s=r.algo,a=[],l=[];(function(){function f(w){for(var x=e.sqrt(w),k=2;k<=x;k++)if(!(w%k))return!1;return!0}function d(w){return(w-(w|0))*4294967296|0}for(var p=2,O=0;O<64;)f(p)&&(O<8&&(a[O]=d(e.pow(p,1/2))),l[O]=d(e.pow(p,1/3)),O++),p++})();var c=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new n.init(a.slice(0))},_doProcessBlock:function(f,d){for(var p=this._hash.words,O=p[0],w=p[1],x=p[2],k=p[3],C=p[4],R=p[5],Q=p[6],z=p[7],L=0;L<64;L++){if(L<16)c[L]=f[d+L]|0;else{var Z=c[L-15],re=(Z<<25|Z>>>7)^(Z<<14|Z>>>18)^Z>>>3,H=c[L-2],q=(H<<15|H>>>17)^(H<<13|H>>>19)^H>>>10;c[L]=re+c[L-7]+q+c[L-16]}var oe=C&R^~C&Q,pe=O&w^O&x^w&x,fe=(O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22),ge=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),ve=z+ge+oe+l[L]+c[L],Qe=fe+pe;z=Q,Q=R,R=C,C=k+ve|0,k=x,x=w,w=O,O=ve+Qe|0}p[0]=p[0]+O|0,p[1]=p[1]+w|0,p[2]=p[2]+x|0,p[3]=p[3]+k|0,p[4]=p[4]+C|0,p[5]=p[5]+R|0,p[6]=p[6]+Q|0,p[7]=p[7]+z|0},_doFinalize:function(){var f=this._data,d=f.words,p=this._nDataBytes*8,O=f.sigBytes*8;return d[O>>>5]|=128<<24-O%32,d[(O+64>>>9<<4)+14]=e.floor(p/4294967296),d[(O+64>>>9<<4)+15]=p,f.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var f=o.clone.call(this);return f._hash=this._hash.clone(),f}});r.SHA256=o._createHelper(u),r.HmacSHA256=o._createHmacHelper(u)}(Math),t.SHA256})});var qR=ps((TO,VR)=>{(function(t,e){typeof TO=="object"?VR.exports=TO=e(xO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(TO,function(t){return function(){var e=t,r=e.lib,i=r.WordArray,n=e.enc,o=n.Base64={stringify:function(a){var l=a.words,c=a.sigBytes,u=this._map;a.clamp();for(var f=[],d=0;d>>2]>>>24-d%4*8&255,O=l[d+1>>>2]>>>24-(d+1)%4*8&255,w=l[d+2>>>2]>>>24-(d+2)%4*8&255,x=p<<16|O<<8|w,k=0;k<4&&d+k*.75>>6*(3-k)&63));var C=u.charAt(64);if(C)for(;f.length%4;)f.push(C);return f.join("")},parse:function(a){var l=a.length,c=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var f=0;f>>6-d%4*2,w=p|O;u[f>>>2]|=w<<24-f%4*8,f++}return i.create(u,f)}}(),t.enc.Base64})});var TL=ps((SL,vx)=>{(function(t){if(typeof SL=="object"&&typeof vx!="undefined")vx.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else{var e;typeof window!="undefined"?e=window:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e=this,e.HyperList=t()}})(function(){var t,e,r;return function(){function i(n,o,s){function a(u,f){if(!o[u]){if(!n[u]){var d=typeof wa=="function"&&wa;if(!f&&d)return d(u,!0);if(l)return l(u,!0);var p=new Error("Cannot find module '"+u+"'");throw p.code="MODULE_NOT_FOUND",p}var O=o[u]={exports:{}};n[u][0].call(O.exports,function(w){var x=n[u][1][w];return a(x||w)},O,O.exports,i,n,o,s)}return o[u].exports}for(var l=typeof wa=="function"&&wa,c=0;cx._averageHeight){var Z=x._renderChunk();x._lastRepaint=Q,Z!==!1&&typeof k.afterRender=="function"&&k.afterRender()}}};C()}return s(p,[{key:"destroy",value:function(){window.cancelAnimationFrame(this._renderAnimationFrame)}},{key:"refresh",value:function(w,x){var k;if(Object.assign(this._config,c,x),!w||w.nodeType!==1)throw new Error("HyperList requires a valid DOM Node container");this._element=w;var C=this._config,R=this._scroller||C.scroller||document.createElement(C.scrollerTagName||"tr");if(typeof C.useFragment!="boolean"&&(this._config.useFragment=!0),!C.generate)throw new Error("Missing required `generate` function");if(!u(C.total))throw new Error("Invalid required `total` value, expected number");if(!Array.isArray(C.itemHeight)&&!u(C.itemHeight))throw new Error("\n Invalid required `itemHeight` value, expected number or array\n ".trim());u(C.itemHeight)?this._itemHeights=Array(C.total).fill(C.itemHeight):this._itemHeights=C.itemHeight,Object.keys(c).filter(function(Qe){return Qe in C}).forEach(function(Qe){var se=C[Qe],he=u(se);if(se&&typeof se!="string"&&typeof se!="number"){var K="Invalid optional `"+Qe+"`, expected string or number";throw new Error(K)}else he&&(C[Qe]=se+"px")});var Q=!!C.horizontal,z=C[Q?"width":"height"];if(z){var L=u(z),Z=L?!1:z.slice(-1)==="%",re=L?z:parseInt(z.replace(/px|%/,""),10),H=window[Q?"innerWidth":"innerHeight"];Z?this._containerSize=H*re/100:this._containerSize=u(z)?z:re}var q=C.scrollContainer,oe=C.itemHeight*C.total,pe=this._maxElementHeight;oe>pe&&console.warn(["HyperList: The maximum element height",pe+"px has","been exceeded; please reduce your item height."].join(" "));var fe={width:""+C.width,height:q?oe+"px":""+C.height,overflow:q?"none":"auto",position:"relative"};p.mergeStyle(w,fe),q&&p.mergeStyle(C.scrollContainer,{overflow:"auto"});var ge=(k={opacity:"0",position:"absolute"},a(k,Q?"height":"width","1px"),a(k,Q?"width":"height",oe+"px"),k);p.mergeStyle(R,ge),this._scroller||w.appendChild(R);var ve=this._computeScrollPadding();this._scrollPaddingBottom=ve.bottom,this._scrollPaddingTop=ve.top,this._scroller=R,this._scrollHeight=this._computeScrollHeight(),this._itemPositions=this._itemPositions||Array(C.total).fill(0),this._computePositions(0),this._renderChunk(this._lastRepaint!==null),typeof C.afterRender=="function"&&C.afterRender()}},{key:"_getRow",value:function(w){var x=this._config,k=x.generate(w),C=k.height;if(C!==void 0&&u(C)?(k=k.element,C!==this._itemHeights[w]&&(this._itemHeights[w]=C,this._computePositions(w),this._scrollHeight=this._computeScrollHeight(w))):C=this._itemHeights[w],!k||k.nodeType!==1)throw new Error("Generator did not return a DOM Node for index: "+w);f(k,x.rowClassName||"vrow");var R=this._itemPositions[w]+this._scrollPaddingTop;return p.mergeStyle(k,a({position:"absolute"},x.horizontal?"left":"top",R+"px")),k}},{key:"_getScrollPosition",value:function(){var w=this._config;return typeof w.overrideScrollPosition=="function"?w.overrideScrollPosition():this._element[w.horizontal?"scrollLeft":"scrollTop"]}},{key:"_renderChunk",value:function(w){var x=this._config,k=this._element,C=this._getScrollPosition(),R=x.total,Q=x.reverse?this._getReverseFrom(C):this._getFrom(C)-1;if((Q<0||Q-this._screenItemsLen<0)&&(Q=0),!w&&this._lastFrom===Q)return!1;this._lastFrom=Q;var z=Q+this._cachedItemsLen;(z>R||z+this._cachedItemsLen>R)&&(z=R);var L=x.useFragment?document.createDocumentFragment():[],Z=this._scroller;L[x.useFragment?"appendChild":"push"](Z);for(var re=Q;re0&&arguments[0]!==void 0?arguments[0]:1,x=this._config,k=x.total,C=x.reverse;w<1&&!C&&(w=1);for(var R=w;R0&&this._itemPositions[x]{(function(t,e){"use strict";function r(){i.width=t.innerWidth,i.height=5*c.barThickness;var f=i.getContext("2d");f.shadowBlur=c.shadowBlur,f.shadowColor=c.shadowColor;var d,p=f.createLinearGradient(0,0,i.width,0);for(d in c.barColors)p.addColorStop(d,c.barColors[d]);f.lineWidth=c.barThickness,f.beginPath(),f.moveTo(0,c.barThickness/2),f.lineTo(Math.ceil(n*i.width),c.barThickness/2),f.strokeStyle=p,f.stroke()}var i,n,o,s=null,a=null,l=null,c={autoRun:!0,barThickness:3,barColors:{0:"rgba(26, 188, 156, .9)",".25":"rgba(52, 152, 219, .9)",".50":"rgba(241, 196, 15, .9)",".75":"rgba(230, 126, 34, .9)","1.0":"rgba(211, 84, 0, .9)"},shadowBlur:10,shadowColor:"rgba(0, 0, 0, .6)",className:null},u={config:function(f){for(var d in f)c.hasOwnProperty(d)&&(c[d]=f[d])},show:function(f){var d,p;o||(f?l=l||setTimeout(()=>u.show(),f):(o=!0,a!==null&&t.cancelAnimationFrame(a),i||((p=(i=e.createElement("canvas")).style).position="fixed",p.top=p.left=p.right=p.margin=p.padding=0,p.zIndex=100001,p.display="none",c.className&&i.classList.add(c.className),e.body.appendChild(i),d="resize",f=r,(p=t).addEventListener?p.addEventListener(d,f,!1):p.attachEvent?p.attachEvent("on"+d,f):p["on"+d]=f),i.style.opacity=1,i.style.display="block",u.progress(0),c.autoRun&&function O(){s=t.requestAnimationFrame(O),u.progress("+"+.05*Math.pow(1-Math.sqrt(n),2))}()))},progress:function(f){return f===void 0||(typeof f=="string"&&(f=(0<=f.indexOf("+")||0<=f.indexOf("-")?n:0)+parseFloat(f)),n=1typeof t=="function"?t:function(){return t},vz=typeof self!="undefined"?self:null,au=typeof window!="undefined"?window:null,cu=vz||au||cu,wz="2.0.0",Nn={connecting:0,open:1,closing:2,closed:3},xz=1e4,kz=1e3,_i={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},vo={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},e1={longpoll:"longpoll",websocket:"websocket"},Sz={complete:4},wd=class{constructor(t,e,r,i){this.channel=t,this.event=e,this.payload=r||function(){return{}},this.receivedResp=null,this.timeout=i,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(t){this.timeout=t,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(t,e){return this.hasReceived(t)&&e(this.receivedResp.response),this.recHooks.push({status:t,callback:e}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:t,response:e,_ref:r}){this.recHooks.filter(i=>i.status===t).forEach(i=>i.callback(e))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,t=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=t,this.matchReceive(t)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}trigger(t,e){this.channel.trigger(this.refEvent,{status:t,response:e})}},Jx=class{constructor(t,e){this.callback=t,this.timerCalc=e,this.timer=null,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},Tz=class{constructor(t,e,r){this.state=_i.closed,this.topic=t,this.params=lu(e||{}),this.socket=r,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new wd(this,vo.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new Jx(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=_i.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>i.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=_i.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic} ${this.joinRef()}`),this.state=_i.closed,this.socket.remove(this)}),this.onError(i=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,i),this.isJoining()&&this.joinPush.reset(),this.state=_i.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic} (${this.joinRef()})`,this.joinPush.timeout),new wd(this,vo.leave,lu({}),this.timeout).send(),this.state=_i.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(vo.reply,(i,n)=>{this.trigger(this.replyEventName(n),i)})}join(t=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=t,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(t){this.on(vo.close,t)}onError(t){return this.on(vo.error,e=>t(e))}on(t,e){let r=this.bindingRef++;return this.bindings.push({event:t,ref:r,callback:e}),r}off(t,e){this.bindings=this.bindings.filter(r=>!(r.event===t&&(typeof e=="undefined"||e===r.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(t,e,r=this.timeout){if(e=e||{},!this.joinedOnce)throw new Error(`tried to push '${t}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let i=new wd(this,t,function(){return e},r);return this.canPush()?i.send():(i.startTimeout(),this.pushBuffer.push(i)),i}leave(t=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=_i.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(vo.close,"leave")},r=new wd(this,vo.leave,lu({}),t);return r.receive("ok",()=>e()).receive("timeout",()=>e()),r.send(),this.canPush()||r.trigger("ok",{}),r}onMessage(t,e,r){return e}isMember(t,e,r,i){return this.topic!==t?!1:i&&i!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:t,event:e,payload:r,joinRef:i}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(t=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=_i.joining,this.joinPush.resend(t))}trigger(t,e,r,i){let n=this.onMessage(t,e,r,i);if(e&&!n)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let o=this.bindings.filter(s=>s.event===t);for(let s=0;s{let a=this.parseJSON(t.responseText);s&&s(a)},o&&(t.ontimeout=o),t.onprogress=()=>{},t.send(i),t}static xhrRequest(t,e,r,i,n,o,s,a){return t.open(e,r,!0),t.timeout=o,t.setRequestHeader("Content-Type",i),t.onerror=()=>a&&a(null),t.onreadystatechange=()=>{if(t.readyState===Sz.complete&&a){let l=this.parseJSON(t.responseText);a(l)}},s&&(t.ontimeout=s),t.send(n),t}static parseJSON(t){if(!t||t==="")return null;try{return JSON.parse(t)}catch(e){return console&&console.log("failed to parse JSON response",t),null}}static serialize(t,e){let r=[];for(var i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;let n=e?`${e}[${i}]`:i,o=t[i];typeof o=="object"?r.push(this.serialize(o,n)):r.push(encodeURIComponent(n)+"="+encodeURIComponent(o))}return r.join("&")}static appendParams(t,e){if(Object.keys(e).length===0)return t;let r=t.match(/\?/)?"&":"?";return`${t}${r}${this.serialize(e)}`}},Ez=t=>{let e="",r=new Uint8Array(t),i=r.byteLength;for(let n=0;nthis.ontimeout(),t=>{if(t){var{status:e,token:r,messages:i}=t;this.token=r}else e=0;switch(e){case 200:i.forEach(n=>{setTimeout(()=>this.onmessage({data:n}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=Nn.open,this.onopen({}),this.poll();break;case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${e}`)}})}send(t){typeof t!="string"&&(t=Ez(t)),this.currentBatch?this.currentBatch.push(t):this.awaitingBatchAck?this.batchBuffer.push(t):(this.currentBatch=[t],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(t){this.awaitingBatchAck=!0,this.ajax("POST","application/x-ndjson",t.join(` -`),()=>this.onerror("timeout"),e=>{this.awaitingBatchAck=!1,!e||e.status!==200?(this.onerror(e&&e.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(t,e,r){for(let n of this.reqs)n.abort();this.readyState=Nn.closed;let i=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:t,reason:e,wasClean:r});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent!="undefined"?this.onclose(new CloseEvent("close",i)):this.onclose(i)}ajax(t,e,r,i,n){let o,s=()=>{this.reqs.delete(o),i()};o=kd.request(t,this.endpointURL(),e,r,this.timeout,s,a=>{this.reqs.delete(o),this.isActive()&&n(a)}),this.reqs.add(o)}};var xd={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(t,e){if(t.payload.constructor===ArrayBuffer)return e(this.binaryEncode(t));{let r=[t.join_ref,t.ref,t.topic,t.event,t.payload];return e(JSON.stringify(r))}},decode(t,e){if(t.constructor===ArrayBuffer)return e(this.binaryDecode(t));{let[r,i,n,o,s]=JSON.parse(t);return e({join_ref:r,ref:i,topic:n,event:o,payload:s})}},binaryEncode(t){let{join_ref:e,ref:r,event:i,topic:n,payload:o}=t,s=this.META_LENGTH+e.length+r.length+n.length+i.length,a=new ArrayBuffer(this.HEADER_LENGTH+s),l=new DataView(a),c=0;l.setUint8(c++,this.KINDS.push),l.setUint8(c++,e.length),l.setUint8(c++,r.length),l.setUint8(c++,n.length),l.setUint8(c++,i.length),Array.from(e,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(r,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(n,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(i,f=>l.setUint8(c++,f.charCodeAt(0)));var u=new Uint8Array(a.byteLength+o.byteLength);return u.set(new Uint8Array(a),0),u.set(new Uint8Array(o),a.byteLength),u.buffer},binaryDecode(t){let e=new DataView(t),r=e.getUint8(0),i=new TextDecoder;switch(r){case this.KINDS.push:return this.decodePush(t,e,i);case this.KINDS.reply:return this.decodeReply(t,e,i);case this.KINDS.broadcast:return this.decodeBroadcast(t,e,i)}},decodePush(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=e.getUint8(3),s=this.HEADER_LENGTH+this.META_LENGTH-1,a=r.decode(t.slice(s,s+i));s=s+i;let l=r.decode(t.slice(s,s+n));s=s+n;let c=r.decode(t.slice(s,s+o));s=s+o;let u=t.slice(s,t.byteLength);return{join_ref:a,ref:null,topic:l,event:c,payload:u}},decodeReply(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=e.getUint8(3),s=e.getUint8(4),a=this.HEADER_LENGTH+this.META_LENGTH,l=r.decode(t.slice(a,a+i));a=a+i;let c=r.decode(t.slice(a,a+n));a=a+n;let u=r.decode(t.slice(a,a+o));a=a+o;let f=r.decode(t.slice(a,a+s));a=a+s;let d=t.slice(a,t.byteLength),p={status:f,response:d};return{join_ref:l,ref:c,topic:u,event:vo.reply,payload:p}},decodeBroadcast(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=this.HEADER_LENGTH+2,s=r.decode(t.slice(o,o+i));o=o+i;let a=r.decode(t.slice(o,o+n));o=o+n;let l=t.slice(o,t.byteLength);return{join_ref:null,ref:null,topic:s,event:a,payload:l}}},Sd=class{constructor(t,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||xz,this.transport=e.transport||cu.WebSocket||Jg,this.establishedConnections=0,this.defaultEncoder=xd.encode.bind(xd),this.defaultDecoder=xd.decode.bind(xd),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==Jg?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let r=null;au&&au.addEventListener&&(au.addEventListener("pagehide",i=>{this.conn&&(this.disconnect(),r=this.connectClock)}),au.addEventListener("pageshow",i=>{r===this.connectClock&&(r=null,this.connect())})),this.heartbeatIntervalMs=e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=i=>e.rejoinAfterMs?e.rejoinAfterMs(i):[1e3,2e3,5e3][i-1]||1e4,this.reconnectAfterMs=i=>e.reconnectAfterMs?e.reconnectAfterMs(i):[10,50,100,150,200,250,500,1e3,2e3][i-1]||5e3,this.logger=e.logger||null,this.longpollerTimeout=e.longpollerTimeout||2e4,this.params=lu(e.params||{}),this.endPoint=`${t}/${e1.websocket}`,this.vsn=e.vsn||wz,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new Jx(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return Jg}replaceTransport(t){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=t}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let t=kd.appendParams(kd.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return t.charAt(0)!=="/"?t:t.charAt(1)==="/"?`${this.protocol()}:${t}`:`${this.protocol()}://${location.host}${t}`}disconnect(t,e,r){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(t,e,r)}connect(t){t&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=lu(t)),!this.conn&&(this.connectClock++,this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=e=>this.onConnError(e),this.conn.onmessage=e=>this.onConnMessage(e),this.conn.onclose=e=>this.onConnClose(e))}log(t,e,r){this.logger(t,e,r)}hasLogger(){return this.logger!==null}onOpen(t){let e=this.makeRef();return this.stateChangeCallbacks.open.push([e,t]),e}onClose(t){let e=this.makeRef();return this.stateChangeCallbacks.close.push([e,t]),e}onError(t){let e=this.makeRef();return this.stateChangeCallbacks.error.push([e,t]),e}onMessage(t){let e=this.makeRef();return this.stateChangeCallbacks.message.push([e,t]),e}ping(t){if(!this.isConnected())return!1;let e=this.makeRef(),r=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:e});let i=this.onMessage(n=>{n.ref===e&&(this.off([i]),t(Date.now()-r))});return!0}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,t])=>t())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),kz,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(t,e,r){if(!this.conn)return t&&t();this.waitForBufferDone(()=>{this.conn&&(e?this.conn.close(e,r||""):this.conn.close()),this.waitForSocketClosed(()=>{this.conn&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),t&&t()})})}waitForBufferDone(t,e=1){if(e===5||!this.conn||!this.conn.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(t,e+1)},150*e)}waitForSocketClosed(t,e=1){if(e===5||!this.conn||this.conn.readyState===Nn.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(t,e+1)},150*e)}onConnClose(t){let e=t&&t.code;this.hasLogger()&&this.log("transport","close",t),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&e!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,r])=>r(t))}onConnError(t){this.hasLogger()&&this.log("transport",t);let e=this.transport,r=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,i])=>{i(t,e,r)}),(e===this.transport||r>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(vo.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Nn.connecting:return"connecting";case Nn.open:return"open";case Nn.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(t){this.off(t.stateChangeRefs),this.channels=this.channels.filter(e=>e.joinRef()!==t.joinRef())}off(t){for(let e in this.stateChangeCallbacks)this.stateChangeCallbacks[e]=this.stateChangeCallbacks[e].filter(([r])=>t.indexOf(r)===-1)}channel(t,e={}){let r=new Tz(t,e,this);return this.channels.push(r),r}push(t){if(this.hasLogger()){let{topic:e,event:r,payload:i,ref:n,join_ref:o}=t;this.log("push",`${e} ${r} (${o}, ${n})`,i)}this.isConnected()?this.encode(t,e=>this.conn.send(e)):this.sendBuffer.push(()=>this.encode(t,e=>this.conn.send(e)))}makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}sendHeartbeat(){this.pendingHeartbeatRef&&!this.isConnected()||(this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs))}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}onConnMessage(t){this.decode(t.data,e=>{let{topic:r,event:i,payload:n,ref:o,join_ref:s}=e;o&&o===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${n.status||""} ${r} ${i} ${o&&"("+o+")"||""}`,n);for(let a=0;ar.topic===t&&(r.isJoined()||r.isJoining()));e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${t}"`),e.leave())}};var Sk="consecutive-reloads",Cz=10,Pz=5e3,Qz=1e4,_z=3e4,Tk=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading"],xo="data-phx-component",t1="data-phx-link",Az="track-static",Rz="data-phx-link-state",Hi="data-phx-ref",xa="data-phx-ref-src",Ek="track-uploads",gs="data-phx-upload-ref",p1="data-phx-preflighted-refs",$z="data-phx-done-refs",ek="drop-target",f1="data-phx-active-refs",zd="phx:live-file:updated",Ck="data-phx-skip",Pk="data-phx-id",tk="data-phx-prune",rk="page-loading",ik="phx-connected",uu="phx-loading",r1="phx-no-feedback",Td="phx-error",nk="phx-client-error",i1="phx-server-error",Rl="data-phx-parent-id",m1="data-phx-main",yu="data-phx-root-id",Qk="viewport-top",_k="viewport-bottom",Xz="trigger-action",Dd="feedback-for",h1="phx-has-focused",Iz=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],Ak=["checkbox","radio"],Ud="phx-has-submitted",bs="data-phx-session",Xl=`[${bs}]`,ok="data-phx-sticky",gu="data-phx-static",n1="data-phx-readonly",Ed="data-phx-disabled",d1="disable-with",Cd="data-phx-disable-with-restore",fu="hook",Lz="debounce",zz="throttle",Nd="update",Pd="stream",hu="data-phx-stream",Mz="key",jn="phxPrivate",sk="auto-recover",Qd="phx:live-socket:debug",o1="phx:live-socket:profiling",s1="phx:live-socket:latency-sim",Dz="progress",ak="mounted",Uz=1,Nz=200,jz="phx-",Bz=3e4,du="debounce-trigger",_d="throttled",lk="debounce-prev-key",Vz={debounce:300,throttle:300},Ad="d",Bn="s",a1="r",Ai="c",ck="e",uk="r",fk="t",qz="p",hk="stream",Fz=class{constructor(t,e,r){this.liveSocket=r,this.entry=t,this.offset=0,this.chunkSize=e,this.chunkTimer=null,this.errored=!1,this.uploadChannel=r.channel(`lvu:${t.ref}`,{token:t.metadata()})}error(t){this.errored||(this.uploadChannel.leave(),this.errored=!0,clearTimeout(this.chunkTimer),this.entry.error(t))}upload(){this.uploadChannel.onError(t=>this.error(t)),this.uploadChannel.join().receive("ok",t=>this.readNextChunk()).receive("error",t=>this.error(t))}isDone(){return this.offset>=this.entry.file.size}readNextChunk(){let t=new window.FileReader,e=this.entry.file.slice(this.offset,this.chunkSize+this.offset);t.onload=r=>{if(r.target.error===null)this.offset+=r.target.result.byteLength,this.pushChunk(r.target.result);else return Ri("Read error: "+r.target.error)},t.readAsArrayBuffer(e)}pushChunk(t){this.uploadChannel.isJoined()&&this.uploadChannel.push("chunk",t).receive("ok",()=>{this.entry.progress(this.offset/this.entry.file.size*100),this.isDone()||(this.chunkTimer=setTimeout(()=>this.readNextChunk(),this.liveSocket.getLatencySim()||0))}).receive("error",({reason:e})=>this.error(e))}},Ri=(t,e)=>console.error&&console.error(t,e),wo=t=>{let e=typeof t;return e==="number"||e==="string"&&/^(0|[1-9]\d*)$/.test(t)};function Wz(){let t=new Set,e=document.querySelectorAll("*[id]");for(let r=0,i=e.length;r{t.liveSocket.isDebugEnabled()&&console.log(`${t.id} ${e}: ${r} - `,i)},l1=t=>typeof t=="function"?t:function(){return t},Md=t=>JSON.parse(JSON.stringify(t)),bu=(t,e,r)=>{do{if(t.matches(`[${e}]`)&&!t.disabled)return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1&&!(r&&r.isSameNode(t)||t.matches(Xl)));return null},pu=t=>t!==null&&typeof t=="object"&&!(t instanceof Array),Yz=(t,e)=>JSON.stringify(t)===JSON.stringify(e),dk=t=>{for(let e in t)return!1;return!0},Os=(t,e)=>t&&e(t),Hz=function(t,e,r,i){t.forEach(n=>{new Fz(n,r.config.chunk_size,i).upload()})},Rk={canPushState(){return typeof history.pushState!="undefined"},dropLocal(t,e,r){return t.removeItem(this.localKey(e,r))},updateLocal(t,e,r,i,n){let o=this.getLocal(t,e,r),s=this.localKey(e,r),a=o===null?i:n(o);return t.setItem(s,JSON.stringify(a)),a},getLocal(t,e,r){return JSON.parse(t.getItem(this.localKey(e,r)))},updateCurrentState(t){this.canPushState()&&history.replaceState(t(history.state||{}),"",window.location.href)},pushState(t,e,r){if(this.canPushState()){if(r!==window.location.href){if(e.type=="redirect"&&e.scroll){let n=history.state||{};n.scroll=e.scroll,history.replaceState(n,"",window.location.href)}delete e.scroll,history[t+"State"](e,"",r||null);let i=this.getHashTargetEl(window.location.hash);i?i.scrollIntoView():e.type==="redirect"&&window.scroll(0,0)}}else this.redirect(r)},setCookie(t,e){document.cookie=`${t}=${e}`},getCookie(t){return document.cookie.replace(new RegExp(`(?:(?:^|.*;s*)${t}s*=s*([^;]*).*$)|^.*$`),"$1")},redirect(t,e){e&&Rk.setCookie("__phoenix_flash__",e+"; max-age=60000; path=/"),window.location=t},localKey(t,e){return`${t}-${e}`},getHashTargetEl(t){let e=t.toString().substring(1);if(e!=="")return document.getElementById(e)||document.querySelector(`a[name="${e}"]`)}},Vn=Rk,Zi={byId(t){return document.getElementById(t)||Ri(`no id found for ${t}`)},removeClass(t,e){t.classList.remove(e),t.classList.length===0&&t.removeAttribute("class")},all(t,e,r){if(!t)return[];let i=Array.from(t.querySelectorAll(e));return r?i.forEach(r):i},childNodeLength(t){let e=document.createElement("template");return e.innerHTML=t,e.content.childElementCount},isUploadInput(t){return t.type==="file"&&t.getAttribute(gs)!==null},isAutoUpload(t){return t.hasAttribute("data-phx-auto-upload")},findUploadInputs(t){return this.all(t,`input[type="file"][${gs}]`)},findComponentNodeList(t,e){return this.filterWithinSameLiveView(this.all(t,`[${xo}="${e}"]`),t)},isPhxDestroyed(t){return!!(t.id&&Zi.private(t,"destroyed"))},wantsNewTab(t){let e=t.ctrlKey||t.shiftKey||t.metaKey||t.button&&t.button===1,r=t.target instanceof HTMLAnchorElement&&t.target.hasAttribute("download"),i=t.target.hasAttribute("target")&&t.target.getAttribute("target").toLowerCase()==="_blank";return e||i||r},isUnloadableFormSubmit(t){return t.target&&t.target.getAttribute("method")==="dialog"||t.submitter&&t.submitter.getAttribute("formmethod")==="dialog"?!1:!t.defaultPrevented&&!this.wantsNewTab(t)},isNewPageClick(t,e){let r=t.target instanceof HTMLAnchorElement?t.target.getAttribute("href"):null,i;if(t.defaultPrevented||r===null||this.wantsNewTab(t)||r.startsWith("mailto:")||r.startsWith("tel:")||t.target.isContentEditable)return!1;try{i=new URL(r)}catch(n){try{i=new URL(r,e)}catch(o){return!0}}return i.host===e.host&&i.protocol===e.protocol&&i.pathname===e.pathname&&i.search===e.search?i.hash===""&&!i.href.endsWith("#"):i.protocol.startsWith("http")},markPhxChildDestroyed(t){this.isPhxChild(t)&&t.setAttribute(bs,""),this.putPrivate(t,"destroyed",!0)},findPhxChildrenInFragment(t,e){let r=document.createElement("template");return r.innerHTML=t,this.findPhxChildren(r.content,e)},isIgnored(t,e){return(t.getAttribute(e)||t.getAttribute("data-phx-update"))==="ignore"},isPhxUpdate(t,e,r){return t.getAttribute&&r.indexOf(t.getAttribute(e))>=0},findPhxSticky(t){return this.all(t,`[${ok}]`)},findPhxChildren(t,e){return this.all(t,`${Xl}[${Rl}="${e}"]`)},findParentCIDs(t,e){let r=new Set(e),i=e.reduce((n,o)=>{let s=`[${xo}="${o}"] [${xo}]`;return this.filterWithinSameLiveView(this.all(t,s),t).map(a=>parseInt(a.getAttribute(xo))).forEach(a=>n.delete(a)),n},r);return i.size===0?new Set(e):i},filterWithinSameLiveView(t,e){return e.querySelector(Xl)?t.filter(r=>this.withinSameLiveView(r,e)):t},withinSameLiveView(t,e){for(;t=t.parentNode;){if(t.isSameNode(e))return!0;if(t.getAttribute(bs)!==null)return!1}},private(t,e){return t[jn]&&t[jn][e]},deletePrivate(t,e){t[jn]&&delete t[jn][e]},putPrivate(t,e,r){t[jn]||(t[jn]={}),t[jn][e]=r},updatePrivate(t,e,r,i){let n=this.private(t,e);n===void 0?this.putPrivate(t,e,i(r)):this.putPrivate(t,e,i(n))},copyPrivates(t,e){e[jn]&&(t[jn]=e[jn])},putTitle(t){let e=document.querySelector("title");if(e){let{prefix:r,suffix:i}=e.dataset;document.title=`${r||""}${t}${i||""}`}else document.title=t},debounce(t,e,r,i,n,o,s,a){let l=t.getAttribute(r),c=t.getAttribute(n);l===""&&(l=i),c===""&&(c=o);let u=l||c;switch(u){case null:return a();case"blur":this.once(t,"debounce-blur")&&t.addEventListener("blur",()=>a());return;default:let f=parseInt(u),d=()=>c?this.deletePrivate(t,_d):a(),p=this.incCycle(t,du,d);if(isNaN(f))return Ri(`invalid throttle/debounce value: ${u}`);if(c){let w=!1;if(e.type==="keydown"){let x=this.private(t,lk);this.putPrivate(t,lk,e.key),w=x!==e.key}if(!w&&this.private(t,_d))return!1;a(),this.putPrivate(t,_d,!0),setTimeout(()=>{s()&&this.triggerCycle(t,du)},f)}else setTimeout(()=>{s()&&this.triggerCycle(t,du,p)},f);let O=t.form;O&&this.once(O,"bind-debounce")&&O.addEventListener("submit",()=>{Array.from(new FormData(O).entries(),([w])=>{let x=O.querySelector(`[name="${w}"]`);this.incCycle(x,du),this.deletePrivate(x,_d)})}),this.once(t,"bind-debounce")&&t.addEventListener("blur",()=>this.triggerCycle(t,du))}},triggerCycle(t,e,r){let[i,n]=this.private(t,e);r||(r=i),r===i&&(this.incCycle(t,e),n())},once(t,e){return this.private(t,e)===!0?!1:(this.putPrivate(t,e,!0),!0)},incCycle(t,e,r=function(){}){let[i]=this.private(t,e)||[0,r];return i++,this.putPrivate(t,e,[i,r]),i},maybeAddPrivateHooks(t,e,r){t.hasAttribute&&(t.hasAttribute(e)||t.hasAttribute(r))&&t.setAttribute("data-phx-hook","Phoenix.InfiniteScroll")},maybeHideFeedback(t,e,r){let i=[];if(e.forEach(n=>{this.private(n,h1)||this.private(n,Ud)||(i.push(n.name),n.name.endsWith("[]")&&i.push(n.name.slice(0,-2)))}),i.length>0){let n=i.map(o=>`[${r}="${o}"]`).join(", ");Zi.all(t,n,o=>o.classList.add(r1))}},resetForm(t,e){Array.from(t.elements).forEach(r=>{let i=`[${e}="${r.id}"], +import{a as Al}from"./chunk-BZUL2CAN.js";import{a as ne,b as Be,c as xa,d as ek,e as qr,f as ps,g as su,h as _l,i as Nt}from"./chunk-3V74GZ4F.js";var o6=ps((Zce,n6)=>{"use strict";var Vd=Object.prototype.hasOwnProperty,i6=Object.prototype.toString,Gk=Object.defineProperty,Kk=Object.getOwnPropertyDescriptor,Jk=function(e){return typeof Array.isArray=="function"?Array.isArray(e):i6.call(e)==="[object Array]"},e6=function(e){if(!e||i6.call(e)!=="[object Object]")return!1;var r=Vd.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&Vd.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!i)return!1;var n;for(n in e);return typeof n=="undefined"||Vd.call(e,n)},t6=function(e,r){Gk&&r.name==="__proto__"?Gk(e,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):e[r.name]=r.newValue},r6=function(e,r){if(r==="__proto__")if(Vd.call(e,r)){if(Kk)return Kk(e,r).value}else return;return e[r]};n6.exports=function t(){var e,r,i,n,o,s,a=arguments[0],l=1,c=arguments.length,u=!1;for(typeof a=="boolean"&&(u=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l{});var xO=ps((wO,DR)=>{(function(t,e){typeof wO=="object"?DR.exports=wO=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(wO,function(){var t=t||function(e,r){var i;if(typeof window!="undefined"&&window.crypto&&(i=window.crypto),typeof self!="undefined"&&self.crypto&&(i=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window!="undefined"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof global!="undefined"&&global.crypto&&(i=global.crypto),!i&&typeof xa=="function")try{i=MR()}catch(k){}var n=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch(k){}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch(k){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function k(){}return function(C){var R;return k.prototype=C,R=new k,k.prototype=null,R}}(),s={},a=s.lib={},l=a.Base=function(){return{extend:function(k){var C=o(this);return k&&C.mixIn(k),(!C.hasOwnProperty("init")||this.init===C.init)&&(C.init=function(){C.$super.init.apply(this,arguments)}),C.init.prototype=C,C.$super=this,C},create:function(){var k=this.extend();return k.init.apply(k,arguments),k},init:function(){},mixIn:function(k){for(var C in k)k.hasOwnProperty(C)&&(this[C]=k[C]);k.hasOwnProperty("toString")&&(this.toString=k.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=a.WordArray=l.extend({init:function(k,C){k=this.words=k||[],C!=r?this.sigBytes=C:this.sigBytes=k.length*4},toString:function(k){return(k||f).stringify(this)},concat:function(k){var C=this.words,R=k.words,Q=this.sigBytes,L=k.sigBytes;if(this.clamp(),Q%4)for(var z=0;z>>2]>>>24-z%4*8&255;C[Q+z>>>2]|=Z<<24-(Q+z)%4*8}else for(var re=0;re>>2]=R[re>>>2];return this.sigBytes+=L,this},clamp:function(){var k=this.words,C=this.sigBytes;k[C>>>2]&=4294967295<<32-C%4*8,k.length=e.ceil(C/4)},clone:function(){var k=l.clone.call(this);return k.words=this.words.slice(0),k},random:function(k){for(var C=[],R=0;R>>2]>>>24-L%4*8&255;Q.push((z>>>4).toString(16)),Q.push((z&15).toString(16))}return Q.join("")},parse:function(k){for(var C=k.length,R=[],Q=0;Q>>3]|=parseInt(k.substr(Q,2),16)<<24-Q%8*4;return new c.init(R,C/2)}},d=u.Latin1={stringify:function(k){for(var C=k.words,R=k.sigBytes,Q=[],L=0;L>>2]>>>24-L%4*8&255;Q.push(String.fromCharCode(z))}return Q.join("")},parse:function(k){for(var C=k.length,R=[],Q=0;Q>>2]|=(k.charCodeAt(Q)&255)<<24-Q%4*8;return new c.init(R,C)}},p=u.Utf8={stringify:function(k){try{return decodeURIComponent(escape(d.stringify(k)))}catch(C){throw new Error("Malformed UTF-8 data")}},parse:function(k){return d.parse(unescape(encodeURIComponent(k)))}},O=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(k){typeof k=="string"&&(k=p.parse(k)),this._data.concat(k),this._nDataBytes+=k.sigBytes},_process:function(k){var C,R=this._data,Q=R.words,L=R.sigBytes,z=this.blockSize,Z=z*4,re=L/Z;k?re=e.ceil(re):re=e.max((re|0)-this._minBufferSize,0);var H=re*z,q=e.min(H*4,L);if(H){for(var oe=0;oe{(function(t,e){typeof kO=="object"?UR.exports=kO=e(xO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(kO,function(t){return function(e){var r=t,i=r.lib,n=i.WordArray,o=i.Hasher,s=r.algo,a=[];(function(){for(var p=0;p<64;p++)a[p]=e.abs(e.sin(p+1))*4294967296|0})();var l=s.MD5=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,O){for(var w=0;w<16;w++){var x=O+w,k=p[x];p[x]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}var C=this._hash.words,R=p[O+0],Q=p[O+1],L=p[O+2],z=p[O+3],Z=p[O+4],re=p[O+5],H=p[O+6],q=p[O+7],oe=p[O+8],pe=p[O+9],fe=p[O+10],ge=p[O+11],ve=p[O+12],Qe=p[O+13],se=p[O+14],he=p[O+15],K=C[0],_=C[1],G=C[2],ae=C[3];K=c(K,_,G,ae,R,7,a[0]),ae=c(ae,K,_,G,Q,12,a[1]),G=c(G,ae,K,_,L,17,a[2]),_=c(_,G,ae,K,z,22,a[3]),K=c(K,_,G,ae,Z,7,a[4]),ae=c(ae,K,_,G,re,12,a[5]),G=c(G,ae,K,_,H,17,a[6]),_=c(_,G,ae,K,q,22,a[7]),K=c(K,_,G,ae,oe,7,a[8]),ae=c(ae,K,_,G,pe,12,a[9]),G=c(G,ae,K,_,fe,17,a[10]),_=c(_,G,ae,K,ge,22,a[11]),K=c(K,_,G,ae,ve,7,a[12]),ae=c(ae,K,_,G,Qe,12,a[13]),G=c(G,ae,K,_,se,17,a[14]),_=c(_,G,ae,K,he,22,a[15]),K=u(K,_,G,ae,Q,5,a[16]),ae=u(ae,K,_,G,H,9,a[17]),G=u(G,ae,K,_,ge,14,a[18]),_=u(_,G,ae,K,R,20,a[19]),K=u(K,_,G,ae,re,5,a[20]),ae=u(ae,K,_,G,fe,9,a[21]),G=u(G,ae,K,_,he,14,a[22]),_=u(_,G,ae,K,Z,20,a[23]),K=u(K,_,G,ae,pe,5,a[24]),ae=u(ae,K,_,G,se,9,a[25]),G=u(G,ae,K,_,z,14,a[26]),_=u(_,G,ae,K,oe,20,a[27]),K=u(K,_,G,ae,Qe,5,a[28]),ae=u(ae,K,_,G,L,9,a[29]),G=u(G,ae,K,_,q,14,a[30]),_=u(_,G,ae,K,ve,20,a[31]),K=f(K,_,G,ae,re,4,a[32]),ae=f(ae,K,_,G,oe,11,a[33]),G=f(G,ae,K,_,ge,16,a[34]),_=f(_,G,ae,K,se,23,a[35]),K=f(K,_,G,ae,Q,4,a[36]),ae=f(ae,K,_,G,Z,11,a[37]),G=f(G,ae,K,_,q,16,a[38]),_=f(_,G,ae,K,fe,23,a[39]),K=f(K,_,G,ae,Qe,4,a[40]),ae=f(ae,K,_,G,R,11,a[41]),G=f(G,ae,K,_,z,16,a[42]),_=f(_,G,ae,K,H,23,a[43]),K=f(K,_,G,ae,pe,4,a[44]),ae=f(ae,K,_,G,ve,11,a[45]),G=f(G,ae,K,_,he,16,a[46]),_=f(_,G,ae,K,L,23,a[47]),K=d(K,_,G,ae,R,6,a[48]),ae=d(ae,K,_,G,q,10,a[49]),G=d(G,ae,K,_,se,15,a[50]),_=d(_,G,ae,K,re,21,a[51]),K=d(K,_,G,ae,ve,6,a[52]),ae=d(ae,K,_,G,z,10,a[53]),G=d(G,ae,K,_,fe,15,a[54]),_=d(_,G,ae,K,Q,21,a[55]),K=d(K,_,G,ae,oe,6,a[56]),ae=d(ae,K,_,G,he,10,a[57]),G=d(G,ae,K,_,H,15,a[58]),_=d(_,G,ae,K,Qe,21,a[59]),K=d(K,_,G,ae,Z,6,a[60]),ae=d(ae,K,_,G,ge,10,a[61]),G=d(G,ae,K,_,L,15,a[62]),_=d(_,G,ae,K,pe,21,a[63]),C[0]=C[0]+K|0,C[1]=C[1]+_|0,C[2]=C[2]+G|0,C[3]=C[3]+ae|0},_doFinalize:function(){var p=this._data,O=p.words,w=this._nDataBytes*8,x=p.sigBytes*8;O[x>>>5]|=128<<24-x%32;var k=e.floor(w/4294967296),C=w;O[(x+64>>>9<<4)+15]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,O[(x+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,p.sigBytes=(O.length+1)*4,this._process();for(var R=this._hash,Q=R.words,L=0;L<4;L++){var z=Q[L];Q[L]=(z<<8|z>>>24)&16711935|(z<<24|z>>>8)&4278255360}return R},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p}});function c(p,O,w,x,k,C,R){var Q=p+(O&w|~O&x)+k+R;return(Q<>>32-C)+O}function u(p,O,w,x,k,C,R){var Q=p+(O&x|w&~x)+k+R;return(Q<>>32-C)+O}function f(p,O,w,x,k,C,R){var Q=p+(O^w^x)+k+R;return(Q<>>32-C)+O}function d(p,O,w,x,k,C,R){var Q=p+(w^(O|~x))+k+R;return(Q<>>32-C)+O}r.MD5=o._createHelper(l),r.HmacMD5=o._createHmacHelper(l)}(Math),t.MD5})});var BR=ps((SO,jR)=>{(function(t,e){typeof SO=="object"?jR.exports=SO=e(xO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(SO,function(t){return function(e){var r=t,i=r.lib,n=i.WordArray,o=i.Hasher,s=r.algo,a=[],l=[];(function(){function f(w){for(var x=e.sqrt(w),k=2;k<=x;k++)if(!(w%k))return!1;return!0}function d(w){return(w-(w|0))*4294967296|0}for(var p=2,O=0;O<64;)f(p)&&(O<8&&(a[O]=d(e.pow(p,1/2))),l[O]=d(e.pow(p,1/3)),O++),p++})();var c=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new n.init(a.slice(0))},_doProcessBlock:function(f,d){for(var p=this._hash.words,O=p[0],w=p[1],x=p[2],k=p[3],C=p[4],R=p[5],Q=p[6],L=p[7],z=0;z<64;z++){if(z<16)c[z]=f[d+z]|0;else{var Z=c[z-15],re=(Z<<25|Z>>>7)^(Z<<14|Z>>>18)^Z>>>3,H=c[z-2],q=(H<<15|H>>>17)^(H<<13|H>>>19)^H>>>10;c[z]=re+c[z-7]+q+c[z-16]}var oe=C&R^~C&Q,pe=O&w^O&x^w&x,fe=(O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22),ge=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),ve=L+ge+oe+l[z]+c[z],Qe=fe+pe;L=Q,Q=R,R=C,C=k+ve|0,k=x,x=w,w=O,O=ve+Qe|0}p[0]=p[0]+O|0,p[1]=p[1]+w|0,p[2]=p[2]+x|0,p[3]=p[3]+k|0,p[4]=p[4]+C|0,p[5]=p[5]+R|0,p[6]=p[6]+Q|0,p[7]=p[7]+L|0},_doFinalize:function(){var f=this._data,d=f.words,p=this._nDataBytes*8,O=f.sigBytes*8;return d[O>>>5]|=128<<24-O%32,d[(O+64>>>9<<4)+14]=e.floor(p/4294967296),d[(O+64>>>9<<4)+15]=p,f.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var f=o.clone.call(this);return f._hash=this._hash.clone(),f}});r.SHA256=o._createHelper(u),r.HmacSHA256=o._createHmacHelper(u)}(Math),t.SHA256})});var qR=ps((TO,VR)=>{(function(t,e){typeof TO=="object"?VR.exports=TO=e(xO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(TO,function(t){return function(){var e=t,r=e.lib,i=r.WordArray,n=e.enc,o=n.Base64={stringify:function(a){var l=a.words,c=a.sigBytes,u=this._map;a.clamp();for(var f=[],d=0;d>>2]>>>24-d%4*8&255,O=l[d+1>>>2]>>>24-(d+1)%4*8&255,w=l[d+2>>>2]>>>24-(d+2)%4*8&255,x=p<<16|O<<8|w,k=0;k<4&&d+k*.75>>6*(3-k)&63));var C=u.charAt(64);if(C)for(;f.length%4;)f.push(C);return f.join("")},parse:function(a){var l=a.length,c=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var f=0;f>>6-d%4*2,w=p|O;u[f>>>2]|=w<<24-f%4*8,f++}return i.create(u,f)}}(),t.enc.Base64})});var TL=ps((SL,xx)=>{(function(t){if(typeof SL=="object"&&typeof xx!="undefined")xx.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else{var e;typeof window!="undefined"?e=window:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e=this,e.HyperList=t()}})(function(){var t,e,r;return function(){function i(n,o,s){function a(u,f){if(!o[u]){if(!n[u]){var d=typeof xa=="function"&&xa;if(!f&&d)return d(u,!0);if(l)return l(u,!0);var p=new Error("Cannot find module '"+u+"'");throw p.code="MODULE_NOT_FOUND",p}var O=o[u]={exports:{}};n[u][0].call(O.exports,function(w){var x=n[u][1][w];return a(x||w)},O,O.exports,i,n,o,s)}return o[u].exports}for(var l=typeof xa=="function"&&xa,c=0;cx._averageHeight){var Z=x._renderChunk();x._lastRepaint=Q,Z!==!1&&typeof k.afterRender=="function"&&k.afterRender()}}};C()}return s(p,[{key:"destroy",value:function(){window.cancelAnimationFrame(this._renderAnimationFrame)}},{key:"refresh",value:function(w,x){var k;if(Object.assign(this._config,c,x),!w||w.nodeType!==1)throw new Error("HyperList requires a valid DOM Node container");this._element=w;var C=this._config,R=this._scroller||C.scroller||document.createElement(C.scrollerTagName||"tr");if(typeof C.useFragment!="boolean"&&(this._config.useFragment=!0),!C.generate)throw new Error("Missing required `generate` function");if(!u(C.total))throw new Error("Invalid required `total` value, expected number");if(!Array.isArray(C.itemHeight)&&!u(C.itemHeight))throw new Error("\n Invalid required `itemHeight` value, expected number or array\n ".trim());u(C.itemHeight)?this._itemHeights=Array(C.total).fill(C.itemHeight):this._itemHeights=C.itemHeight,Object.keys(c).filter(function(Qe){return Qe in C}).forEach(function(Qe){var se=C[Qe],he=u(se);if(se&&typeof se!="string"&&typeof se!="number"){var K="Invalid optional `"+Qe+"`, expected string or number";throw new Error(K)}else he&&(C[Qe]=se+"px")});var Q=!!C.horizontal,L=C[Q?"width":"height"];if(L){var z=u(L),Z=z?!1:L.slice(-1)==="%",re=z?L:parseInt(L.replace(/px|%/,""),10),H=window[Q?"innerWidth":"innerHeight"];Z?this._containerSize=H*re/100:this._containerSize=u(L)?L:re}var q=C.scrollContainer,oe=C.itemHeight*C.total,pe=this._maxElementHeight;oe>pe&&console.warn(["HyperList: The maximum element height",pe+"px has","been exceeded; please reduce your item height."].join(" "));var fe={width:""+C.width,height:q?oe+"px":""+C.height,overflow:q?"none":"auto",position:"relative"};p.mergeStyle(w,fe),q&&p.mergeStyle(C.scrollContainer,{overflow:"auto"});var ge=(k={opacity:"0",position:"absolute"},a(k,Q?"height":"width","1px"),a(k,Q?"width":"height",oe+"px"),k);p.mergeStyle(R,ge),this._scroller||w.appendChild(R);var ve=this._computeScrollPadding();this._scrollPaddingBottom=ve.bottom,this._scrollPaddingTop=ve.top,this._scroller=R,this._scrollHeight=this._computeScrollHeight(),this._itemPositions=this._itemPositions||Array(C.total).fill(0),this._computePositions(0),this._renderChunk(this._lastRepaint!==null),typeof C.afterRender=="function"&&C.afterRender()}},{key:"_getRow",value:function(w){var x=this._config,k=x.generate(w),C=k.height;if(C!==void 0&&u(C)?(k=k.element,C!==this._itemHeights[w]&&(this._itemHeights[w]=C,this._computePositions(w),this._scrollHeight=this._computeScrollHeight(w))):C=this._itemHeights[w],!k||k.nodeType!==1)throw new Error("Generator did not return a DOM Node for index: "+w);f(k,x.rowClassName||"vrow");var R=this._itemPositions[w]+this._scrollPaddingTop;return p.mergeStyle(k,a({position:"absolute"},x.horizontal?"left":"top",R+"px")),k}},{key:"_getScrollPosition",value:function(){var w=this._config;return typeof w.overrideScrollPosition=="function"?w.overrideScrollPosition():this._element[w.horizontal?"scrollLeft":"scrollTop"]}},{key:"_renderChunk",value:function(w){var x=this._config,k=this._element,C=this._getScrollPosition(),R=x.total,Q=x.reverse?this._getReverseFrom(C):this._getFrom(C)-1;if((Q<0||Q-this._screenItemsLen<0)&&(Q=0),!w&&this._lastFrom===Q)return!1;this._lastFrom=Q;var L=Q+this._cachedItemsLen;(L>R||L+this._cachedItemsLen>R)&&(L=R);var z=x.useFragment?document.createDocumentFragment():[],Z=this._scroller;z[x.useFragment?"appendChild":"push"](Z);for(var re=Q;re0&&arguments[0]!==void 0?arguments[0]:1,x=this._config,k=x.total,C=x.reverse;w<1&&!C&&(w=1);for(var R=w;R0&&this._itemPositions[x]{(function(t,e){"use strict";function r(){i.width=t.innerWidth,i.height=5*c.barThickness;var f=i.getContext("2d");f.shadowBlur=c.shadowBlur,f.shadowColor=c.shadowColor;var d,p=f.createLinearGradient(0,0,i.width,0);for(d in c.barColors)p.addColorStop(d,c.barColors[d]);f.lineWidth=c.barThickness,f.beginPath(),f.moveTo(0,c.barThickness/2),f.lineTo(Math.ceil(n*i.width),c.barThickness/2),f.strokeStyle=p,f.stroke()}var i,n,o,s=null,a=null,l=null,c={autoRun:!0,barThickness:3,barColors:{0:"rgba(26, 188, 156, .9)",".25":"rgba(52, 152, 219, .9)",".50":"rgba(241, 196, 15, .9)",".75":"rgba(230, 126, 34, .9)","1.0":"rgba(211, 84, 0, .9)"},shadowBlur:10,shadowColor:"rgba(0, 0, 0, .6)",className:null},u={config:function(f){for(var d in f)c.hasOwnProperty(d)&&(c[d]=f[d])},show:function(f){var d,p;o||(f?l=l||setTimeout(()=>u.show(),f):(o=!0,a!==null&&t.cancelAnimationFrame(a),i||((p=(i=e.createElement("canvas")).style).position="fixed",p.top=p.left=p.right=p.margin=p.padding=0,p.zIndex=100001,p.display="none",c.className&&i.classList.add(c.className),e.body.appendChild(i),d="resize",f=r,(p=t).addEventListener?p.addEventListener(d,f,!1):p.attachEvent?p.attachEvent("on"+d,f):p["on"+d]=f),i.style.opacity=1,i.style.display="block",u.progress(0),c.autoRun&&function O(){s=t.requestAnimationFrame(O),u.progress("+"+.05*Math.pow(1-Math.sqrt(n),2))}()))},progress:function(f){return f===void 0||(typeof f=="string"&&(f=(0<=f.indexOf("+")||0<=f.indexOf("-")?n:0)+parseFloat(f)),n=1typeof t=="function"?t:function(){return t},vz=typeof self!="undefined"?self:null,au=typeof window!="undefined"?window:null,cu=vz||au||cu,wz="2.0.0",Nn={connecting:0,open:1,closing:2,closed:3},xz=1e4,kz=1e3,_i={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},vo={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},e1={longpoll:"longpoll",websocket:"websocket"},Sz={complete:4},wd=class{constructor(t,e,r,i){this.channel=t,this.event=e,this.payload=r||function(){return{}},this.receivedResp=null,this.timeout=i,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(t){this.timeout=t,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(t,e){return this.hasReceived(t)&&e(this.receivedResp.response),this.recHooks.push({status:t,callback:e}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:t,response:e,_ref:r}){this.recHooks.filter(i=>i.status===t).forEach(i=>i.callback(e))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,t=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=t,this.matchReceive(t)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}trigger(t,e){this.channel.trigger(this.refEvent,{status:t,response:e})}},tk=class{constructor(t,e){this.callback=t,this.timerCalc=e,this.timer=null,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},Tz=class{constructor(t,e,r){this.state=_i.closed,this.topic=t,this.params=lu(e||{}),this.socket=r,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new wd(this,vo.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new tk(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=_i.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>i.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=_i.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic} ${this.joinRef()}`),this.state=_i.closed,this.socket.remove(this)}),this.onError(i=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,i),this.isJoining()&&this.joinPush.reset(),this.state=_i.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic} (${this.joinRef()})`,this.joinPush.timeout),new wd(this,vo.leave,lu({}),this.timeout).send(),this.state=_i.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(vo.reply,(i,n)=>{this.trigger(this.replyEventName(n),i)})}join(t=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=t,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(t){this.on(vo.close,t)}onError(t){return this.on(vo.error,e=>t(e))}on(t,e){let r=this.bindingRef++;return this.bindings.push({event:t,ref:r,callback:e}),r}off(t,e){this.bindings=this.bindings.filter(r=>!(r.event===t&&(typeof e=="undefined"||e===r.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(t,e,r=this.timeout){if(e=e||{},!this.joinedOnce)throw new Error(`tried to push '${t}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let i=new wd(this,t,function(){return e},r);return this.canPush()?i.send():(i.startTimeout(),this.pushBuffer.push(i)),i}leave(t=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=_i.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(vo.close,"leave")},r=new wd(this,vo.leave,lu({}),t);return r.receive("ok",()=>e()).receive("timeout",()=>e()),r.send(),this.canPush()||r.trigger("ok",{}),r}onMessage(t,e,r){return e}isMember(t,e,r,i){return this.topic!==t?!1:i&&i!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:t,event:e,payload:r,joinRef:i}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(t=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=_i.joining,this.joinPush.resend(t))}trigger(t,e,r,i){let n=this.onMessage(t,e,r,i);if(e&&!n)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let o=this.bindings.filter(s=>s.event===t);for(let s=0;s{let a=this.parseJSON(t.responseText);s&&s(a)},o&&(t.ontimeout=o),t.onprogress=()=>{},t.send(i),t}static xhrRequest(t,e,r,i,n,o,s,a){return t.open(e,r,!0),t.timeout=o,t.setRequestHeader("Content-Type",i),t.onerror=()=>a&&a(null),t.onreadystatechange=()=>{if(t.readyState===Sz.complete&&a){let l=this.parseJSON(t.responseText);a(l)}},s&&(t.ontimeout=s),t.send(n),t}static parseJSON(t){if(!t||t==="")return null;try{return JSON.parse(t)}catch(e){return console&&console.log("failed to parse JSON response",t),null}}static serialize(t,e){let r=[];for(var i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;let n=e?`${e}[${i}]`:i,o=t[i];typeof o=="object"?r.push(this.serialize(o,n)):r.push(encodeURIComponent(n)+"="+encodeURIComponent(o))}return r.join("&")}static appendParams(t,e){if(Object.keys(e).length===0)return t;let r=t.match(/\?/)?"&":"?";return`${t}${r}${this.serialize(e)}`}},Ez=t=>{let e="",r=new Uint8Array(t),i=r.byteLength;for(let n=0;nthis.ontimeout(),t=>{if(t){var{status:e,token:r,messages:i}=t;this.token=r}else e=0;switch(e){case 200:i.forEach(n=>{setTimeout(()=>this.onmessage({data:n}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=Nn.open,this.onopen({}),this.poll();break;case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${e}`)}})}send(t){typeof t!="string"&&(t=Ez(t)),this.currentBatch?this.currentBatch.push(t):this.awaitingBatchAck?this.batchBuffer.push(t):(this.currentBatch=[t],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(t){this.awaitingBatchAck=!0,this.ajax("POST","application/x-ndjson",t.join(` +`),()=>this.onerror("timeout"),e=>{this.awaitingBatchAck=!1,!e||e.status!==200?(this.onerror(e&&e.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(t,e,r){for(let n of this.reqs)n.abort();this.readyState=Nn.closed;let i=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:t,reason:e,wasClean:r});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent!="undefined"?this.onclose(new CloseEvent("close",i)):this.onclose(i)}ajax(t,e,r,i,n){let o,s=()=>{this.reqs.delete(o),i()};o=kd.request(t,this.endpointURL(),e,r,this.timeout,s,a=>{this.reqs.delete(o),this.isActive()&&n(a)}),this.reqs.add(o)}};var xd={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(t,e){if(t.payload.constructor===ArrayBuffer)return e(this.binaryEncode(t));{let r=[t.join_ref,t.ref,t.topic,t.event,t.payload];return e(JSON.stringify(r))}},decode(t,e){if(t.constructor===ArrayBuffer)return e(this.binaryDecode(t));{let[r,i,n,o,s]=JSON.parse(t);return e({join_ref:r,ref:i,topic:n,event:o,payload:s})}},binaryEncode(t){let{join_ref:e,ref:r,event:i,topic:n,payload:o}=t,s=this.META_LENGTH+e.length+r.length+n.length+i.length,a=new ArrayBuffer(this.HEADER_LENGTH+s),l=new DataView(a),c=0;l.setUint8(c++,this.KINDS.push),l.setUint8(c++,e.length),l.setUint8(c++,r.length),l.setUint8(c++,n.length),l.setUint8(c++,i.length),Array.from(e,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(r,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(n,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(i,f=>l.setUint8(c++,f.charCodeAt(0)));var u=new Uint8Array(a.byteLength+o.byteLength);return u.set(new Uint8Array(a),0),u.set(new Uint8Array(o),a.byteLength),u.buffer},binaryDecode(t){let e=new DataView(t),r=e.getUint8(0),i=new TextDecoder;switch(r){case this.KINDS.push:return this.decodePush(t,e,i);case this.KINDS.reply:return this.decodeReply(t,e,i);case this.KINDS.broadcast:return this.decodeBroadcast(t,e,i)}},decodePush(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=e.getUint8(3),s=this.HEADER_LENGTH+this.META_LENGTH-1,a=r.decode(t.slice(s,s+i));s=s+i;let l=r.decode(t.slice(s,s+n));s=s+n;let c=r.decode(t.slice(s,s+o));s=s+o;let u=t.slice(s,t.byteLength);return{join_ref:a,ref:null,topic:l,event:c,payload:u}},decodeReply(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=e.getUint8(3),s=e.getUint8(4),a=this.HEADER_LENGTH+this.META_LENGTH,l=r.decode(t.slice(a,a+i));a=a+i;let c=r.decode(t.slice(a,a+n));a=a+n;let u=r.decode(t.slice(a,a+o));a=a+o;let f=r.decode(t.slice(a,a+s));a=a+s;let d=t.slice(a,t.byteLength),p={status:f,response:d};return{join_ref:l,ref:c,topic:u,event:vo.reply,payload:p}},decodeBroadcast(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=this.HEADER_LENGTH+2,s=r.decode(t.slice(o,o+i));o=o+i;let a=r.decode(t.slice(o,o+n));o=o+n;let l=t.slice(o,t.byteLength);return{join_ref:null,ref:null,topic:s,event:a,payload:l}}},Sd=class{constructor(t,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||xz,this.transport=e.transport||cu.WebSocket||Jg,this.establishedConnections=0,this.defaultEncoder=xd.encode.bind(xd),this.defaultDecoder=xd.decode.bind(xd),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==Jg?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let r=null;au&&au.addEventListener&&(au.addEventListener("pagehide",i=>{this.conn&&(this.disconnect(),r=this.connectClock)}),au.addEventListener("pageshow",i=>{r===this.connectClock&&(r=null,this.connect())})),this.heartbeatIntervalMs=e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=i=>e.rejoinAfterMs?e.rejoinAfterMs(i):[1e3,2e3,5e3][i-1]||1e4,this.reconnectAfterMs=i=>e.reconnectAfterMs?e.reconnectAfterMs(i):[10,50,100,150,200,250,500,1e3,2e3][i-1]||5e3,this.logger=e.logger||null,this.longpollerTimeout=e.longpollerTimeout||2e4,this.params=lu(e.params||{}),this.endPoint=`${t}/${e1.websocket}`,this.vsn=e.vsn||wz,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new tk(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return Jg}replaceTransport(t){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=t}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let t=kd.appendParams(kd.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return t.charAt(0)!=="/"?t:t.charAt(1)==="/"?`${this.protocol()}:${t}`:`${this.protocol()}://${location.host}${t}`}disconnect(t,e,r){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(t,e,r)}connect(t){t&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=lu(t)),!this.conn&&(this.connectClock++,this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=e=>this.onConnError(e),this.conn.onmessage=e=>this.onConnMessage(e),this.conn.onclose=e=>this.onConnClose(e))}log(t,e,r){this.logger(t,e,r)}hasLogger(){return this.logger!==null}onOpen(t){let e=this.makeRef();return this.stateChangeCallbacks.open.push([e,t]),e}onClose(t){let e=this.makeRef();return this.stateChangeCallbacks.close.push([e,t]),e}onError(t){let e=this.makeRef();return this.stateChangeCallbacks.error.push([e,t]),e}onMessage(t){let e=this.makeRef();return this.stateChangeCallbacks.message.push([e,t]),e}ping(t){if(!this.isConnected())return!1;let e=this.makeRef(),r=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:e});let i=this.onMessage(n=>{n.ref===e&&(this.off([i]),t(Date.now()-r))});return!0}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,t])=>t())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),kz,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(t,e,r){if(!this.conn)return t&&t();this.waitForBufferDone(()=>{this.conn&&(e?this.conn.close(e,r||""):this.conn.close()),this.waitForSocketClosed(()=>{this.conn&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),t&&t()})})}waitForBufferDone(t,e=1){if(e===5||!this.conn||!this.conn.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(t,e+1)},150*e)}waitForSocketClosed(t,e=1){if(e===5||!this.conn||this.conn.readyState===Nn.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(t,e+1)},150*e)}onConnClose(t){let e=t&&t.code;this.hasLogger()&&this.log("transport","close",t),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&e!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,r])=>r(t))}onConnError(t){this.hasLogger()&&this.log("transport",t);let e=this.transport,r=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,i])=>{i(t,e,r)}),(e===this.transport||r>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(vo.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Nn.connecting:return"connecting";case Nn.open:return"open";case Nn.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(t){this.off(t.stateChangeRefs),this.channels=this.channels.filter(e=>e.joinRef()!==t.joinRef())}off(t){for(let e in this.stateChangeCallbacks)this.stateChangeCallbacks[e]=this.stateChangeCallbacks[e].filter(([r])=>t.indexOf(r)===-1)}channel(t,e={}){let r=new Tz(t,e,this);return this.channels.push(r),r}push(t){if(this.hasLogger()){let{topic:e,event:r,payload:i,ref:n,join_ref:o}=t;this.log("push",`${e} ${r} (${o}, ${n})`,i)}this.isConnected()?this.encode(t,e=>this.conn.send(e)):this.sendBuffer.push(()=>this.encode(t,e=>this.conn.send(e)))}makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}sendHeartbeat(){this.pendingHeartbeatRef&&!this.isConnected()||(this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs))}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}onConnMessage(t){this.decode(t.data,e=>{let{topic:r,event:i,payload:n,ref:o,join_ref:s}=e;o&&o===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${n.status||""} ${r} ${i} ${o&&"("+o+")"||""}`,n);for(let a=0;ar.topic===t&&(r.isJoined()||r.isJoining()));e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${t}"`),e.leave())}};var Ek="consecutive-reloads",Cz=10,Pz=5e3,Qz=1e4,_z=3e4,Ck=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading"],xo="data-phx-component",t1="data-phx-link",Az="track-static",Rz="data-phx-link-state",Ri="data-phx-ref",Os="data-phx-ref-src",Pk="track-uploads",bs="data-phx-upload-ref",O1="data-phx-preflighted-refs",$z="data-phx-done-refs",rk="drop-target",f1="data-phx-active-refs",zd="phx:live-file:updated",Qk="data-phx-skip",_k="data-phx-id",ik="data-phx-prune",nk="page-loading",ok="phx-connected",uu="phx-loading",r1="phx-no-feedback",Td="phx-error",sk="phx-client-error",i1="phx-server-error",Rl="data-phx-parent-id",g1="data-phx-main",yu="data-phx-root-id",h1="viewport-top",d1="viewport-bottom",Xz="trigger-action",Dd="feedback-for",p1="phx-has-focused",Iz=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],Ak=["checkbox","radio"],Ud="phx-has-submitted",ys="data-phx-session",Xl=`[${ys}]`,ak="data-phx-sticky",gu="data-phx-static",n1="data-phx-readonly",Ed="data-phx-disabled",m1="disable-with",Cd="data-phx-disable-with-restore",fu="hook",Lz="debounce",zz="throttle",Nd="update",Pd="stream",hu="data-phx-stream",Mz="key",jn="phxPrivate",lk="auto-recover",Qd="phx:live-socket:debug",o1="phx:live-socket:profiling",s1="phx:live-socket:latency-sim",Dz="progress",ck="mounted",Uz=1,Nz=200,jz="phx-",Bz=3e4,du="debounce-trigger",_d="throttled",uk="debounce-prev-key",Vz={debounce:300,throttle:300},Ad="d",Bn="s",a1="r",Ai="c",fk="e",hk="r",dk="t",qz="p",pk="stream",Fz=class{constructor(t,e,r){this.liveSocket=r,this.entry=t,this.offset=0,this.chunkSize=e,this.chunkTimer=null,this.errored=!1,this.uploadChannel=r.channel(`lvu:${t.ref}`,{token:t.metadata()})}error(t){this.errored||(this.uploadChannel.leave(),this.errored=!0,clearTimeout(this.chunkTimer),this.entry.error(t))}upload(){this.uploadChannel.onError(t=>this.error(t)),this.uploadChannel.join().receive("ok",t=>this.readNextChunk()).receive("error",t=>this.error(t))}isDone(){return this.offset>=this.entry.file.size}readNextChunk(){let t=new window.FileReader,e=this.entry.file.slice(this.offset,this.chunkSize+this.offset);t.onload=r=>{if(r.target.error===null)this.offset+=r.target.result.byteLength,this.pushChunk(r.target.result);else return $i("Read error: "+r.target.error)},t.readAsArrayBuffer(e)}pushChunk(t){this.uploadChannel.isJoined()&&this.uploadChannel.push("chunk",t).receive("ok",()=>{this.entry.progress(this.offset/this.entry.file.size*100),this.isDone()||(this.chunkTimer=setTimeout(()=>this.readNextChunk(),this.liveSocket.getLatencySim()||0))}).receive("error",({reason:e})=>this.error(e))}},$i=(t,e)=>console.error&&console.error(t,e),wo=t=>{let e=typeof t;return e==="number"||e==="string"&&/^(0|[1-9]\d*)$/.test(t)};function Wz(){let t=new Set,e=document.querySelectorAll("*[id]");for(let r=0,i=e.length;r{t.liveSocket.isDebugEnabled()&&console.log(`${t.id} ${e}: ${r} - `,i)},l1=t=>typeof t=="function"?t:function(){return t},Md=t=>JSON.parse(JSON.stringify(t)),bu=(t,e,r)=>{do{if(t.matches(`[${e}]`)&&!t.disabled)return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1&&!(r&&r.isSameNode(t)||t.matches(Xl)));return null},pu=t=>t!==null&&typeof t=="object"&&!(t instanceof Array),Yz=(t,e)=>JSON.stringify(t)===JSON.stringify(e),mk=t=>{for(let e in t)return!1;return!0},gs=(t,e)=>t&&e(t),Hz=function(t,e,r,i){t.forEach(n=>{new Fz(n,r.config.chunk_size,i).upload()})},Rk={canPushState(){return typeof history.pushState!="undefined"},dropLocal(t,e,r){return t.removeItem(this.localKey(e,r))},updateLocal(t,e,r,i,n){let o=this.getLocal(t,e,r),s=this.localKey(e,r),a=o===null?i:n(o);return t.setItem(s,JSON.stringify(a)),a},getLocal(t,e,r){return JSON.parse(t.getItem(this.localKey(e,r)))},updateCurrentState(t){this.canPushState()&&history.replaceState(t(history.state||{}),"",window.location.href)},pushState(t,e,r){if(this.canPushState()){if(r!==window.location.href){if(e.type=="redirect"&&e.scroll){let n=history.state||{};n.scroll=e.scroll,history.replaceState(n,"",window.location.href)}delete e.scroll,history[t+"State"](e,"",r||null);let i=this.getHashTargetEl(window.location.hash);i?i.scrollIntoView():e.type==="redirect"&&window.scroll(0,0)}}else this.redirect(r)},setCookie(t,e){document.cookie=`${t}=${e}`},getCookie(t){return document.cookie.replace(new RegExp(`(?:(?:^|.*;s*)${t}s*=s*([^;]*).*$)|^.*$`),"$1")},redirect(t,e){e&&Rk.setCookie("__phoenix_flash__",e+"; max-age=60000; path=/"),window.location=t},localKey(t,e){return`${t}-${e}`},getHashTargetEl(t){let e=t.toString().substring(1);if(e!=="")return document.getElementById(e)||document.querySelector(`a[name="${e}"]`)}},Vn=Rk,Yi={byId(t){return document.getElementById(t)||$i(`no id found for ${t}`)},removeClass(t,e){t.classList.remove(e),t.classList.length===0&&t.removeAttribute("class")},all(t,e,r){if(!t)return[];let i=Array.from(t.querySelectorAll(e));return r?i.forEach(r):i},childNodeLength(t){let e=document.createElement("template");return e.innerHTML=t,e.content.childElementCount},isUploadInput(t){return t.type==="file"&&t.getAttribute(bs)!==null},isAutoUpload(t){return t.hasAttribute("data-phx-auto-upload")},findUploadInputs(t){return this.all(t,`input[type="file"][${bs}]`)},findComponentNodeList(t,e){return this.filterWithinSameLiveView(this.all(t,`[${xo}="${e}"]`),t)},isPhxDestroyed(t){return!!(t.id&&Yi.private(t,"destroyed"))},wantsNewTab(t){let e=t.ctrlKey||t.shiftKey||t.metaKey||t.button&&t.button===1,r=t.target instanceof HTMLAnchorElement&&t.target.hasAttribute("download"),i=t.target.hasAttribute("target")&&t.target.getAttribute("target").toLowerCase()==="_blank";return e||i||r},isUnloadableFormSubmit(t){return t.target&&t.target.getAttribute("method")==="dialog"||t.submitter&&t.submitter.getAttribute("formmethod")==="dialog"?!1:!t.defaultPrevented&&!this.wantsNewTab(t)},isNewPageClick(t,e){let r=t.target instanceof HTMLAnchorElement?t.target.getAttribute("href"):null,i;if(t.defaultPrevented||r===null||this.wantsNewTab(t)||r.startsWith("mailto:")||r.startsWith("tel:")||t.target.isContentEditable)return!1;try{i=new URL(r)}catch(n){try{i=new URL(r,e)}catch(o){return!0}}return i.host===e.host&&i.protocol===e.protocol&&i.pathname===e.pathname&&i.search===e.search?i.hash===""&&!i.href.endsWith("#"):i.protocol.startsWith("http")},markPhxChildDestroyed(t){this.isPhxChild(t)&&t.setAttribute(ys,""),this.putPrivate(t,"destroyed",!0)},findPhxChildrenInFragment(t,e){let r=document.createElement("template");return r.innerHTML=t,this.findPhxChildren(r.content,e)},isIgnored(t,e){return(t.getAttribute(e)||t.getAttribute("data-phx-update"))==="ignore"},isPhxUpdate(t,e,r){return t.getAttribute&&r.indexOf(t.getAttribute(e))>=0},findPhxSticky(t){return this.all(t,`[${ak}]`)},findPhxChildren(t,e){return this.all(t,`${Xl}[${Rl}="${e}"]`)},findParentCIDs(t,e){let r=new Set(e),i=e.reduce((n,o)=>{let s=`[${xo}="${o}"] [${xo}]`;return this.filterWithinSameLiveView(this.all(t,s),t).map(a=>parseInt(a.getAttribute(xo))).forEach(a=>n.delete(a)),n},r);return i.size===0?new Set(e):i},filterWithinSameLiveView(t,e){return e.querySelector(Xl)?t.filter(r=>this.withinSameLiveView(r,e)):t},withinSameLiveView(t,e){for(;t=t.parentNode;){if(t.isSameNode(e))return!0;if(t.getAttribute(ys)!==null)return!1}},private(t,e){return t[jn]&&t[jn][e]},deletePrivate(t,e){t[jn]&&delete t[jn][e]},putPrivate(t,e,r){t[jn]||(t[jn]={}),t[jn][e]=r},updatePrivate(t,e,r,i){let n=this.private(t,e);n===void 0?this.putPrivate(t,e,i(r)):this.putPrivate(t,e,i(n))},copyPrivates(t,e){e[jn]&&(t[jn]=e[jn])},putTitle(t){let e=document.querySelector("title");if(e){let{prefix:r,suffix:i}=e.dataset;document.title=`${r||""}${t}${i||""}`}else document.title=t},debounce(t,e,r,i,n,o,s,a){let l=t.getAttribute(r),c=t.getAttribute(n);l===""&&(l=i),c===""&&(c=o);let u=l||c;switch(u){case null:return a();case"blur":this.once(t,"debounce-blur")&&t.addEventListener("blur",()=>a());return;default:let f=parseInt(u),d=()=>c?this.deletePrivate(t,_d):a(),p=this.incCycle(t,du,d);if(isNaN(f))return $i(`invalid throttle/debounce value: ${u}`);if(c){let w=!1;if(e.type==="keydown"){let x=this.private(t,uk);this.putPrivate(t,uk,e.key),w=x!==e.key}if(!w&&this.private(t,_d))return!1;a(),this.putPrivate(t,_d,!0),setTimeout(()=>{s()&&this.triggerCycle(t,du)},f)}else setTimeout(()=>{s()&&this.triggerCycle(t,du,p)},f);let O=t.form;O&&this.once(O,"bind-debounce")&&O.addEventListener("submit",()=>{Array.from(new FormData(O).entries(),([w])=>{let x=O.querySelector(`[name="${w}"]`);this.incCycle(x,du),this.deletePrivate(x,_d)})}),this.once(t,"bind-debounce")&&t.addEventListener("blur",()=>this.triggerCycle(t,du))}},triggerCycle(t,e,r){let[i,n]=this.private(t,e);r||(r=i),r===i&&(this.incCycle(t,e),n())},once(t,e){return this.private(t,e)===!0?!1:(this.putPrivate(t,e,!0),!0)},incCycle(t,e,r=function(){}){let[i]=this.private(t,e)||[0,r];return i++,this.putPrivate(t,e,[i,r]),i},maybeAddPrivateHooks(t,e,r){t.hasAttribute&&(t.hasAttribute(e)||t.hasAttribute(r))&&t.setAttribute("data-phx-hook","Phoenix.InfiniteScroll")},maybeHideFeedback(t,e,r){let i=[];if(e.forEach(n=>{this.private(n,p1)||this.private(n,Ud)||(i.push(n.name),n.name.endsWith("[]")&&i.push(n.name.slice(0,-2)))}),i.length>0){let n=i.map(o=>`[${r}="${o}"]`).join(", ");Yi.all(t,n,o=>o.classList.add(r1))}},resetForm(t,e){Array.from(t.elements).forEach(r=>{let i=`[${e}="${r.id}"], [${e}="${r.name}"], - [${e}="${r.name.replace(/\[\]$/,"")}"]`;this.deletePrivate(r,h1),this.deletePrivate(r,Ud),this.all(document,i,n=>{n.classList.add(r1)})})},showError(t,e){(t.id||t.name)&&this.all(t.form,`[${e}="${t.id}"], [${e}="${t.name}"]`,r=>{this.removeClass(r,r1)})},isPhxChild(t){return t.getAttribute&&t.getAttribute(Rl)},isPhxSticky(t){return t.getAttribute&&t.getAttribute(ok)!==null},firstPhxChild(t){return this.isPhxChild(t)?t:this.all(t,`[${Rl}]`)[0]},dispatchEvent(t,e,r={}){let n={bubbles:r.bubbles===void 0?!0:!!r.bubbles,cancelable:!0,detail:r.detail||{}},o=e==="click"?new MouseEvent("click",n):new CustomEvent(e,n);t.dispatchEvent(o)},cloneNode(t,e){if(typeof e=="undefined")return t.cloneNode(!0);{let r=t.cloneNode(!1);return r.innerHTML=e,r}},mergeAttrs(t,e,r={}){let i=r.exclude||[],n=r.isIgnored,o=e.attributes;for(let a=o.length-1;a>=0;a--){let l=o[a].name;i.indexOf(l)<0&&t.setAttribute(l,e.getAttribute(l))}let s=t.attributes;for(let a=s.length-1;a>=0;a--){let l=s[a].name;n?l.startsWith("data-")&&!e.hasAttribute(l)&&t.removeAttribute(l):e.hasAttribute(l)||t.removeAttribute(l)}},mergeFocusedInput(t,e){t instanceof HTMLSelectElement||Zi.mergeAttrs(t,e,{exclude:["value"]}),e.readOnly?t.setAttribute("readonly",!0):t.removeAttribute("readonly")},hasSelectionRange(t){return t.setSelectionRange&&(t.type==="text"||t.type==="textarea")},restoreFocus(t,e,r){if(!Zi.isTextualInput(t))return;let i=t.matches(":focus");t.readOnly&&t.blur(),i||t.focus(),this.hasSelectionRange(t)&&t.setSelectionRange(e,r)},isFormInput(t){return/^(?:input|select|textarea)$/i.test(t.tagName)&&t.type!=="button"},syncAttrsToProps(t){t instanceof HTMLInputElement&&Ak.indexOf(t.type.toLocaleLowerCase())>=0&&(t.checked=t.getAttribute("checked")!==null)},isTextualInput(t){return Iz.indexOf(t.type)>=0},isNowTriggerFormExternal(t,e){return t.getAttribute&&t.getAttribute(e)!==null},syncPendingRef(t,e,r){let i=t.getAttribute(Hi);if(i===null)return!0;let n=t.getAttribute(xa);return Zi.isFormInput(t)||t.getAttribute(r)!==null?(Zi.isUploadInput(t)&&Zi.mergeAttrs(t,e,{isIgnored:!0}),Zi.putPrivate(t,Hi,e),!1):(Tk.forEach(o=>{t.classList.contains(o)&&e.classList.add(o)}),e.setAttribute(Hi,i),e.setAttribute(xa,n),!0)},cleanChildNodes(t,e){if(Zi.isPhxUpdate(t,e,["append","prepend"])){let r=[];t.childNodes.forEach(i=>{i.id||(i.nodeType===Node.TEXT_NODE&&i.nodeValue.trim()===""||Ri(`only HTML element tags with an id are allowed inside containers with phx-update. + [${e}="${r.name.replace(/\[\]$/,"")}"]`;this.deletePrivate(r,p1),this.deletePrivate(r,Ud),this.all(document,i,n=>{n.classList.add(r1)})})},showError(t,e){(t.id||t.name)&&this.all(t.form,`[${e}="${t.id}"], [${e}="${t.name}"]`,r=>{this.removeClass(r,r1)})},isPhxChild(t){return t.getAttribute&&t.getAttribute(Rl)},isPhxSticky(t){return t.getAttribute&&t.getAttribute(ak)!==null},firstPhxChild(t){return this.isPhxChild(t)?t:this.all(t,`[${Rl}]`)[0]},dispatchEvent(t,e,r={}){let n={bubbles:r.bubbles===void 0?!0:!!r.bubbles,cancelable:!0,detail:r.detail||{}},o=e==="click"?new MouseEvent("click",n):new CustomEvent(e,n);t.dispatchEvent(o)},cloneNode(t,e){if(typeof e=="undefined")return t.cloneNode(!0);{let r=t.cloneNode(!1);return r.innerHTML=e,r}},mergeAttrs(t,e,r={}){let i=r.exclude||[],n=r.isIgnored,o=e.attributes;for(let a=o.length-1;a>=0;a--){let l=o[a].name;i.indexOf(l)<0&&t.setAttribute(l,e.getAttribute(l))}let s=t.attributes;for(let a=s.length-1;a>=0;a--){let l=s[a].name;n?l.startsWith("data-")&&!e.hasAttribute(l)&&![Ri,Os].includes(l)&&t.removeAttribute(l):e.hasAttribute(l)||t.removeAttribute(l)}},mergeFocusedInput(t,e){t instanceof HTMLSelectElement||Yi.mergeAttrs(t,e,{exclude:["value"]}),e.readOnly?t.setAttribute("readonly",!0):t.removeAttribute("readonly")},hasSelectionRange(t){return t.setSelectionRange&&(t.type==="text"||t.type==="textarea")},restoreFocus(t,e,r){if(!Yi.isTextualInput(t))return;let i=t.matches(":focus");t.readOnly&&t.blur(),i||t.focus(),this.hasSelectionRange(t)&&t.setSelectionRange(e,r)},isFormInput(t){return/^(?:input|select|textarea)$/i.test(t.tagName)&&t.type!=="button"},syncAttrsToProps(t){t instanceof HTMLInputElement&&Ak.indexOf(t.type.toLocaleLowerCase())>=0&&(t.checked=t.getAttribute("checked")!==null)},isTextualInput(t){return Iz.indexOf(t.type)>=0},isNowTriggerFormExternal(t,e){return t.getAttribute&&t.getAttribute(e)!==null},syncPendingRef(t,e,r){let i=t.getAttribute(Ri);if(i===null)return!0;let n=t.getAttribute(Os);return Yi.isFormInput(t)||t.getAttribute(r)!==null?(Yi.isUploadInput(t)&&Yi.mergeAttrs(t,e,{isIgnored:!0}),Yi.putPrivate(t,Ri,e),!1):(Ck.forEach(o=>{t.classList.contains(o)&&e.classList.add(o)}),e.setAttribute(Ri,i),e.setAttribute(Os,n),!0)},cleanChildNodes(t,e){if(Yi.isPhxUpdate(t,e,["append","prepend"])){let r=[];t.childNodes.forEach(i=>{i.id||(i.nodeType===Node.TEXT_NODE&&i.nodeValue.trim()===""||$i(`only HTML element tags with an id are allowed inside containers with phx-update. removing illegal node: "${(i.outerHTML||i.nodeValue).trim()}" -`),r.push(i))}),r.forEach(i=>i.remove())}},replaceRootContainer(t,e,r){let i=new Set(["id",bs,gu,m1,yu]);if(t.tagName.toLowerCase()===e.toLowerCase())return Array.from(t.attributes).filter(n=>!i.has(n.name.toLowerCase())).forEach(n=>t.removeAttribute(n.name)),Object.keys(r).filter(n=>!i.has(n.toLowerCase())).forEach(n=>t.setAttribute(n,r[n])),t;{let n=document.createElement(e);return Object.keys(r).forEach(o=>n.setAttribute(o,r[o])),i.forEach(o=>n.setAttribute(o,t.getAttribute(o))),n.innerHTML=t.innerHTML,t.replaceWith(n),n}},getSticky(t,e,r){let i=(Zi.private(t,"sticky")||[]).find(([n])=>e===n);if(i){let[n,o,s]=i;return s}else return typeof r=="function"?r():r},deleteSticky(t,e){this.updatePrivate(t,"sticky",[],r=>r.filter(([i,n])=>i!==e))},putSticky(t,e,r){let i=r(t);this.updatePrivate(t,"sticky",[],n=>{let o=n.findIndex(([s])=>e===s);return o>=0?n[o]=[e,r,i]:n.push([e,r,i]),n})},applyStickyOperations(t){let e=Zi.private(t,"sticky");e&&e.forEach(([r,i,n])=>this.putSticky(t,r,i))}},de=Zi,c1=class{static isActive(t,e){let r=e._phxRef===void 0,n=t.getAttribute(f1).split(",").indexOf(Rr.genFileRef(e))>=0;return e.size>0&&(r||n)}static isPreflighted(t,e){return t.getAttribute(p1).split(",").indexOf(Rr.genFileRef(e))>=0&&this.isActive(t,e)}constructor(t,e,r){this.ref=Rr.genFileRef(e),this.fileEl=t,this.file=e,this.view=r,this.meta=null,this._isCancelled=!1,this._isDone=!1,this._progress=0,this._lastProgressSent=-1,this._onDone=function(){},this._onElUpdated=this.onElUpdated.bind(this),this.fileEl.addEventListener(zd,this._onElUpdated)}metadata(){return this.meta}progress(t){this._progress=Math.floor(t),this._progress>this._lastProgressSent&&(this._progress>=100?(this._progress=100,this._lastProgressSent=100,this._isDone=!0,this.view.pushFileProgress(this.fileEl,this.ref,100,()=>{Rr.untrackFile(this.fileEl,this.file),this._onDone()})):(this._lastProgressSent=this._progress,this.view.pushFileProgress(this.fileEl,this.ref,this._progress)))}cancel(){this._isCancelled=!0,this._isDone=!0,this._onDone()}isDone(){return this._isDone}error(t="failed"){this.fileEl.removeEventListener(zd,this._onElUpdated),this.view.pushFileProgress(this.fileEl,this.ref,{error:t}),de.isAutoUpload(this.fileEl)||Rr.clearFiles(this.fileEl)}onDone(t){this._onDone=()=>{this.fileEl.removeEventListener(zd,this._onElUpdated),t()}}onElUpdated(){this.fileEl.getAttribute(f1).split(",").indexOf(this.ref)===-1&&this.cancel()}toPreflightPayload(){return{last_modified:this.file.lastModified,name:this.file.name,relative_path:this.file.webkitRelativePath,size:this.file.size,type:this.file.type,ref:this.ref,meta:typeof this.file.meta=="function"?this.file.meta():void 0}}uploader(t){if(this.meta.uploader){let e=t[this.meta.uploader]||Ri(`no uploader configured for ${this.meta.uploader}`);return{name:this.meta.uploader,callback:e}}else return{name:"channel",callback:Hz}}zipPostFlight(t){this.meta=t.entries[this.ref],this.meta||Ri(`no preflight upload response returned with ref ${this.ref}`,{input:this.fileEl,response:t})}},Gz=0,Rr=class{static genFileRef(t){let e=t._phxRef;return e!==void 0?e:(t._phxRef=(Gz++).toString(),t._phxRef)}static getEntryDataURL(t,e,r){let i=this.activeFiles(t).find(n=>this.genFileRef(n)===e);r(URL.createObjectURL(i))}static hasUploadsInProgress(t){let e=0;return de.findUploadInputs(t).forEach(r=>{r.getAttribute(p1)!==r.getAttribute($z)&&e++}),e>0}static serializeUploads(t){let e=this.activeFiles(t),r={};return e.forEach(i=>{let n={path:t.name},o=t.getAttribute(gs);r[o]=r[o]||[],n.ref=this.genFileRef(i),n.last_modified=i.lastModified,n.name=i.name||n.ref,n.relative_path=i.webkitRelativePath,n.type=i.type,n.size=i.size,typeof i.meta=="function"&&(n.meta=i.meta()),r[o].push(n)}),r}static clearFiles(t){t.value=null,t.removeAttribute(gs),de.putPrivate(t,"files",[])}static untrackFile(t,e){de.putPrivate(t,"files",de.private(t,"files").filter(r=>!Object.is(r,e)))}static trackFiles(t,e,r){if(t.getAttribute("multiple")!==null){let i=e.filter(n=>!this.activeFiles(t).find(o=>Object.is(o,n)));de.putPrivate(t,"files",this.activeFiles(t).concat(i)),t.value=null}else r&&r.files.length>0&&(t.files=r.files),de.putPrivate(t,"files",e)}static activeFileInputs(t){let e=de.findUploadInputs(t);return Array.from(e).filter(r=>r.files&&this.activeFiles(r).length>0)}static activeFiles(t){return(de.private(t,"files")||[]).filter(e=>c1.isActive(t,e))}static inputsAwaitingPreflight(t){let e=de.findUploadInputs(t);return Array.from(e).filter(r=>this.filesAwaitingPreflight(r).length>0)}static filesAwaitingPreflight(t){return this.activeFiles(t).filter(e=>!c1.isPreflighted(t,e))}constructor(t,e,r){this.view=e,this.onComplete=r,this._entries=Array.from(Rr.filesAwaitingPreflight(t)||[]).map(i=>new c1(t,i,e)),this.numEntriesInProgress=this._entries.length}entries(){return this._entries}initAdapterUpload(t,e,r){this._entries=this._entries.map(n=>(n.zipPostFlight(t),n.onDone(()=>{this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()}),n));let i=this._entries.reduce((n,o)=>{if(!o.meta)return n;let{name:s,callback:a}=o.uploader(r.uploaders);return n[s]=n[s]||{callback:a,entries:[]},n[s].entries.push(o),n},{});for(let n in i){let{callback:o,entries:s}=i[n];o(s,e,t,r)}}},Kz={focusMain(){let t=document.querySelector("main h1, main, h1");if(t){let e=t.tabIndex;t.tabIndex=-1,t.focus(),t.tabIndex=e}},anyOf(t,e){return e.find(r=>t instanceof r)},isFocusable(t,e){return t instanceof HTMLAnchorElement&&t.rel!=="ignore"||t instanceof HTMLAreaElement&&t.href!==void 0||!t.disabled&&this.anyOf(t,[HTMLInputElement,HTMLSelectElement,HTMLTextAreaElement,HTMLButtonElement])||t instanceof HTMLIFrameElement||t.tabIndex>0||!e&&t.getAttribute("tabindex")!==null&&t.getAttribute("aria-hidden")!=="true"},attemptFocus(t,e){if(this.isFocusable(t,e))try{t.focus()}catch(r){}return!!document.activeElement&&document.activeElement.isSameNode(t)},focusFirstInteractive(t){let e=t.firstElementChild;for(;e;){if(this.attemptFocus(e,!0)||this.focusFirstInteractive(e,!0))return!0;e=e.nextElementSibling}},focusFirst(t){let e=t.firstElementChild;for(;e;){if(this.attemptFocus(e)||this.focusFirst(e))return!0;e=e.nextElementSibling}},focusLast(t){let e=t.lastElementChild;for(;e;){if(this.attemptFocus(e)||this.focusLast(e))return!0;e=e.previousElementSibling}}},$l=Kz,$k={LiveFileUpload:{activeRefs(){return this.el.getAttribute(f1)},preflightedRefs(){return this.el.getAttribute(p1)},mounted(){this.preflightedWas=this.preflightedRefs()},updated(){let t=this.preflightedRefs();this.preflightedWas!==t&&(this.preflightedWas=t,t===""&&this.__view.cancelSubmit(this.el.form)),this.activeRefs()===""&&(this.el.value=null),this.el.dispatchEvent(new CustomEvent(zd))}},LiveImgPreview:{mounted(){this.ref=this.el.getAttribute("data-phx-entry-ref"),this.inputEl=document.getElementById(this.el.getAttribute(gs)),Rr.getEntryDataURL(this.inputEl,this.ref,t=>{this.url=t,this.el.src=t})},destroyed(){URL.revokeObjectURL(this.url)}},FocusWrap:{mounted(){this.focusStart=this.el.firstElementChild,this.focusEnd=this.el.lastElementChild,this.focusStart.addEventListener("focus",()=>$l.focusLast(this.el)),this.focusEnd.addEventListener("focus",()=>$l.focusFirst(this.el)),this.el.addEventListener("phx:show-end",()=>this.el.focus()),window.getComputedStyle(this.el).display!=="none"&&$l.focusFirst(this.el)}}},pk=()=>document.documentElement.scrollTop||document.body.scrollTop,O1=()=>window.innerHeight||document.documentElement.clientHeight,Jz=t=>{let e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.top<=O1()},eM=t=>{let e=t.getBoundingClientRect();return e.right>=0&&e.left>=0&&e.bottom<=O1()},mk=t=>{let e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.top<=O1()};$k.InfiniteScroll={mounted(){let t=pk(),e=!1,r=500,i=null,n=this.throttle(r,(a,l)=>{i=()=>!0,this.liveSocket.execJSHookPush(this.el,a,{id:l.id,_overran:!0},()=>{i=null})}),o=this.throttle(r,(a,l)=>{i=()=>l.scrollIntoView({block:"start"}),this.liveSocket.execJSHookPush(this.el,a,{id:l.id},()=>{i=null,mk(l)||l.scrollIntoView({block:"start"})})}),s=this.throttle(r,(a,l)=>{i=()=>l.scrollIntoView({block:"end"}),this.liveSocket.execJSHookPush(this.el,a,{id:l.id},()=>{i=null,mk(l)||l.scrollIntoView({block:"end"})})});this.onScroll=a=>{let l=pk();if(i)return t=l,i();let c=this.el.getBoundingClientRect(),u=this.el.getAttribute(this.liveSocket.binding("viewport-top")),f=this.el.getAttribute(this.liveSocket.binding("viewport-bottom")),d=this.el.lastElementChild,p=this.el.firstElementChild,O=lt;O&&u&&!e&&c.top>=0?(e=!0,n(u,p)):w&&e&&c.top<=0&&(e=!1),u&&O&&Jz(p)?o(u,p):f&&w&&eM(d)&&s(f,d),t=l},window.addEventListener("scroll",this.onScroll)},destroyed(){window.removeEventListener("scroll",this.onScroll)},throttle(t,e){let r=0,i;return(...n)=>{let o=Date.now(),s=t-(o-r);s<=0||s>t?(i&&(clearTimeout(i),i=null),r=o,e(...n)):i||(i=setTimeout(()=>{r=Date.now(),i=null,e(...n)},s))}}};var tM=$k,rM=class{constructor(t,e,r){let i=new Set,n=new Set([...e.children].map(s=>s.id)),o=[];Array.from(t.children).forEach(s=>{if(s.id&&(i.add(s.id),n.has(s.id))){let a=s.previousElementSibling&&s.previousElementSibling.id;o.push({elementId:s.id,previousElementId:a})}}),this.containerId=e.id,this.updateType=r,this.elementsToModify=o,this.elementIdsToAdd=[...n].filter(s=>!i.has(s))}perform(){let t=de.byId(this.containerId);this.elementsToModify.forEach(e=>{e.previousElementId?Os(document.getElementById(e.previousElementId),r=>{Os(document.getElementById(e.elementId),i=>{i.previousElementSibling&&i.previousElementSibling.id==r.id||r.insertAdjacentElement("afterend",i)})}):Os(document.getElementById(e.elementId),r=>{r.previousElementSibling==null||t.insertAdjacentElement("afterbegin",r)})}),this.updateType=="prepend"&&this.elementIdsToAdd.reverse().forEach(e=>{Os(document.getElementById(e),r=>t.insertAdjacentElement("afterbegin",r))})}},Ok=11;function iM(t,e){var r=e.attributes,i,n,o,s,a;if(!(e.nodeType===Ok||t.nodeType===Ok)){for(var l=r.length-1;l>=0;l--)i=r[l],n=i.name,o=i.namespaceURI,s=i.value,o?(n=i.localName||n,a=t.getAttributeNS(o,n),a!==s&&(i.prefix==="xmlns"&&(n=i.name),t.setAttributeNS(o,n,s))):(a=t.getAttribute(n),a!==s&&t.setAttribute(n,s));for(var c=t.attributes,u=c.length-1;u>=0;u--)i=c[u],n=i.name,o=i.namespaceURI,o?(n=i.localName||n,e.hasAttributeNS(o,n)||t.removeAttributeNS(o,n)):e.hasAttribute(n)||t.removeAttribute(n)}}var Rd,nM="http://www.w3.org/1999/xhtml",gi=typeof document=="undefined"?void 0:document,oM=!!gi&&"content"in gi.createElement("template"),sM=!!gi&&gi.createRange&&"createContextualFragment"in gi.createRange();function aM(t){var e=gi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function lM(t){Rd||(Rd=gi.createRange(),Rd.selectNode(gi.body));var e=Rd.createContextualFragment(t);return e.childNodes[0]}function cM(t){var e=gi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function uM(t){return t=t.trim(),oM?aM(t):sM?lM(t):cM(t)}function $d(t,e){var r=t.nodeName,i=e.nodeName,n,o;return r===i?!0:(n=r.charCodeAt(0),o=i.charCodeAt(0),n<=90&&o>=97?r===i.toUpperCase():o<=90&&n>=97?i===r.toUpperCase():!1)}function fM(t,e){return!e||e===nM?gi.createElement(t):gi.createElementNS(e,t)}function hM(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function u1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var gk={OPTION:function(t,e){var r=t.parentNode;if(r){var i=r.nodeName.toUpperCase();i==="OPTGROUP"&&(r=r.parentNode,i=r&&r.nodeName.toUpperCase()),i==="SELECT"&&!r.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),r.selectedIndex=-1)}u1(t,e,"selected")},INPUT:function(t,e){u1(t,e,"checked"),u1(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var r=e.value;t.value!==r&&(t.value=r);var i=t.firstChild;if(i){var n=i.nodeValue;if(n==r||!r&&n==t.placeholder)return;i.nodeValue=r}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var r=-1,i=0,n=t.firstChild,o,s;n;)if(s=n.nodeName&&n.nodeName.toUpperCase(),s==="OPTGROUP")o=n,n=o.firstChild;else{if(s==="OPTION"){if(n.hasAttribute("selected")){r=i;break}i++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=r}}},mu=1,bk=11,yk=3,vk=8;function ms(){}function dM(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function pM(t){return function(r,i,n){if(n||(n={}),typeof i=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"||r.nodeName==="BODY"){var o=i;i=gi.createElement("html"),i.innerHTML=o}else i=uM(i);else i.nodeType===bk&&(i=i.firstElementChild);var s=n.getNodeKey||dM,a=n.onBeforeNodeAdded||ms,l=n.onNodeAdded||ms,c=n.onBeforeElUpdated||ms,u=n.onElUpdated||ms,f=n.onBeforeNodeDiscarded||ms,d=n.onNodeDiscarded||ms,p=n.onBeforeElChildrenUpdated||ms,O=n.skipFromChildren||ms,w=n.addChild||function(se,he){return se.appendChild(he)},x=n.childrenOnly===!0,k=Object.create(null),C=[];function R(se){C.push(se)}function Q(se,he){if(se.nodeType===mu)for(var K=se.firstChild;K;){var _=void 0;he&&(_=s(K))?R(_):(d(K),K.firstChild&&Q(K,he)),K=K.nextSibling}}function z(se,he,K){f(se)!==!1&&(he&&he.removeChild(se),d(se),Q(se,K))}function L(se){if(se.nodeType===mu||se.nodeType===bk)for(var he=se.firstChild;he;){var K=s(he);K&&(k[K]=he),L(he),he=he.nextSibling}}L(r);function Z(se){l(se);for(var he=se.firstChild;he;){var K=he.nextSibling,_=s(he);if(_){var G=k[_];G&&$d(he,G)?(he.parentNode.replaceChild(G,he),H(G,he)):Z(he)}else Z(he);he=K}}function re(se,he,K){for(;he;){var _=he.nextSibling;(K=s(he))?R(K):z(he,se,!0),he=_}}function H(se,he,K){var _=s(he);_&&delete k[_],!(!K&&(c(se,he)===!1||(t(se,he),u(se),p(se,he)===!1)))&&(se.nodeName!=="TEXTAREA"?q(se,he):gk.TEXTAREA(se,he))}function q(se,he){var K=O(se,he),_=he.firstChild,G=se.firstChild,ae,j,Je,at,st;e:for(;_;){for(at=_.nextSibling,ae=s(_);!K&&G;){if(Je=G.nextSibling,_.isSameNode&&_.isSameNode(G)){_=at,G=Je;continue e}j=s(G);var Ce=G.nodeType,Ze=void 0;if(Ce===_.nodeType&&(Ce===mu?(ae?ae!==j&&((st=k[ae])?Je===st?Ze=!1:(se.insertBefore(st,G),j?R(j):z(G,se,!0),G=st):Ze=!1):j&&(Ze=!1),Ze=Ze!==!1&&$d(G,_),Ze&&H(G,_)):(Ce===yk||Ce==vk)&&(Ze=!0,G.nodeValue!==_.nodeValue&&(G.nodeValue=_.nodeValue))),Ze){_=at,G=Je;continue e}j?R(j):z(G,se,!0),G=Je}if(ae&&(st=k[ae])&&$d(st,_))K||w(se,st),H(st,_);else{var Xt=a(_);Xt!==!1&&(Xt&&(_=Xt),_.actualize&&(_=_.actualize(se.ownerDocument||gi)),w(se,_),Z(_))}_=at,G=Je}re(se,G,j);var ct=gk[se.nodeName];ct&&ct(se,he)}var oe=r,pe=oe.nodeType,fe=i.nodeType;if(!x){if(pe===mu)fe===mu?$d(r,i)||(d(r),oe=hM(r,fM(i.nodeName,i.namespaceURI))):oe=i;else if(pe===yk||pe===vk){if(fe===pe)return oe.nodeValue!==i.nodeValue&&(oe.nodeValue=i.nodeValue),oe;oe=i}}if(oe===i)d(r);else{if(i.isSameNode&&i.isSameNode(oe))return;if(H(oe,i,x),C)for(var ge=0,ve=C.length;ge{if(r&&r.isSameNode(i)&&de.isFormInput(i))return de.mergeFocusedInput(i,n),!1}})}constructor(t,e,r,i,n,o){this.view=t,this.liveSocket=t.liveSocket,this.container=e,this.id=r,this.rootID=t.root.id,this.html=i,this.streams=n,this.streamInserts={},this.targetCID=o,this.cidPatch=wo(this.targetCID),this.pendingRemoves=[],this.phxRemove=this.liveSocket.binding("remove"),this.callbacks={beforeadded:[],beforeupdated:[],beforephxChildAdded:[],afteradded:[],afterupdated:[],afterdiscarded:[],afterphxChildAdded:[],aftertransitionsDiscarded:[]}}before(t,e){this.callbacks[`before${t}`].push(e)}after(t,e){this.callbacks[`after${t}`].push(e)}trackBefore(t,...e){this.callbacks[`before${t}`].forEach(r=>r(...e))}trackAfter(t,...e){this.callbacks[`after${t}`].forEach(r=>r(...e))}markPrunableContentForRemoval(){let t=this.liveSocket.binding(Nd);de.all(this.container,`[${t}=${Pd}]`,e=>e.innerHTML=""),de.all(this.container,`[${t}=append] > *, [${t}=prepend] > *`,e=>{e.setAttribute(tk,"")})}perform(t){let{view:e,liveSocket:r,container:i,html:n}=this,o=this.isCIDPatch()?this.targetCIDContainer(n):i;if(this.isCIDPatch()&&!o)return;let s=r.getActiveElement(),{selectionStart:a,selectionEnd:l}=s&&de.hasSelectionRange(s)?s:{},c=r.binding(Nd),u=r.binding(Dd),f=r.binding(d1),d=r.binding(Qk),p=r.binding(_k),O=r.binding(Xz),w=[],x=[],k=[],C=[],R=null;return this.trackBefore("added",i),this.trackBefore("updated",i,i),r.time("morphdom",()=>{this.streams.forEach(([Q,z,L,Z])=>{Object.entries(z).forEach(([re,[H,q]])=>{this.streamInserts[re]={ref:Q,streamAt:H,limit:q,resetKept:!1}}),Z!==void 0&&de.all(i,`[${hu}="${Q}"]`,re=>{z[re.id]?this.streamInserts[re.id].resetKept=!0:this.removeStreamChildElement(re)}),L.forEach(re=>{let H=i.querySelector(`[id="${re}"]`);H&&this.removeStreamChildElement(H)})}),wk(o,n,{childrenOnly:o.getAttribute(xo)===null,getNodeKey:Q=>de.isPhxDestroyed(Q)?null:t?Q.id:Q.id||Q.getAttribute&&Q.getAttribute(Pk),skipFromChildren:Q=>Q.getAttribute(c)===Pd,addChild:(Q,z)=>{let{ref:L,streamAt:Z,limit:re}=this.getStreamInsert(z);if(L===void 0)return Q.appendChild(z);if(de.putSticky(z,hu,oe=>oe.setAttribute(hu,L)),Z===0)Q.insertAdjacentElement("afterbegin",z);else if(Z===-1)Q.appendChild(z);else if(Z>0){let oe=Array.from(Q.children)[Z];Q.insertBefore(z,oe)}let H=re!==null&&Array.from(Q.children),q=[];re&&re<0&&H.length>re*-1?q=H.slice(0,H.length+re):re&&re>=0&&H.length>re&&(q=H.slice(re)),q.forEach(oe=>{this.streamInserts[oe.id]||this.removeStreamChildElement(oe)})},onBeforeNodeAdded:Q=>(de.maybeAddPrivateHooks(Q,d,p),this.trackBefore("added",Q),Q),onNodeAdded:Q=>{Q.getAttribute&&this.maybeReOrderStream(Q),Q instanceof HTMLImageElement&&Q.srcset?Q.srcset=Q.srcset:Q instanceof HTMLVideoElement&&Q.autoplay&&Q.play(),de.isNowTriggerFormExternal(Q,O)&&(R=Q),Q.getAttribute&&Q.getAttribute("name")&&de.isFormInput(Q)&&x.push(Q),(de.isPhxChild(Q)&&e.ownsElement(Q)||de.isPhxSticky(Q)&&e.ownsElement(Q.parentNode))&&this.trackAfter("phxChildAdded",Q),w.push(Q)},onBeforeElChildrenUpdated:(Q,z)=>{if(Q.getAttribute(c)===Pd){let L=Array.from(z.children).map(Z=>Z.id);Array.from(Q.children).filter(Z=>{let{resetKept:re}=this.getStreamInsert(Z);return re}).sort((Z,re)=>{let H=L.indexOf(Z.id),q=L.indexOf(re.id);return H===q?0:HQ.appendChild(Z))}},onNodeDiscarded:Q=>this.onNodeDiscarded(Q),onBeforeNodeDiscarded:Q=>Q.getAttribute&&Q.getAttribute(tk)!==null?!0:!(Q.parentElement!==null&&Q.id&&de.isPhxUpdate(Q.parentElement,c,[Pd,"append","prepend"])||this.maybePendingRemove(Q)||this.skipCIDSibling(Q)),onElUpdated:Q=>{de.isNowTriggerFormExternal(Q,O)&&(R=Q),k.push(Q),this.maybeReOrderStream(Q)},onBeforeElUpdated:(Q,z)=>{if(de.maybeAddPrivateHooks(z,d,p),de.cleanChildNodes(z,c),this.skipCIDSibling(z)||de.isPhxSticky(Q))return!1;if(de.isIgnored(Q,c)||Q.form&&Q.form.isSameNode(R))return this.trackBefore("updated",Q,z),de.mergeAttrs(Q,z,{isIgnored:!0}),k.push(Q),de.applyStickyOperations(Q),!1;if(Q.type==="number"&&Q.validity&&Q.validity.badInput)return!1;if(!de.syncPendingRef(Q,z,f))return de.isUploadInput(Q)&&(this.trackBefore("updated",Q,z),k.push(Q)),de.applyStickyOperations(Q),!1;if(de.isPhxChild(z)){let Z=Q.getAttribute(bs);return de.mergeAttrs(Q,z,{exclude:[gu]}),Z!==""&&Q.setAttribute(bs,Z),Q.setAttribute(yu,this.rootID),de.applyStickyOperations(Q),!1}return de.copyPrivates(z,Q),s&&Q.isSameNode(s)&&de.isFormInput(Q)&&Q.type!=="hidden"?(this.trackBefore("updated",Q,z),de.mergeFocusedInput(Q,z),de.syncAttrsToProps(Q),k.push(Q),de.applyStickyOperations(Q),x.push(Q),!1):(de.isPhxUpdate(z,c,["append","prepend"])&&C.push(new rM(Q,z,z.getAttribute(c))),de.syncAttrsToProps(z),de.applyStickyOperations(z),z.getAttribute("name")&&de.isFormInput(z)&&x.push(z),this.trackBefore("updated",Q,z),!0)}})}),r.isDebugEnabled()&&Wz(),C.length>0&&r.time("post-morph append/prepend restoration",()=>{C.forEach(Q=>Q.perform())}),de.maybeHideFeedback(o,x,u),r.silenceEvents(()=>de.restoreFocus(s,a,l)),de.dispatchEvent(document,"phx:update"),w.forEach(Q=>this.trackAfter("added",Q)),k.forEach(Q=>this.trackAfter("updated",Q)),this.transitionPendingRemoves(),R&&(r.unload(),Object.getPrototypeOf(R).submit.call(R)),!0}onNodeDiscarded(t){(de.isPhxChild(t)||de.isPhxSticky(t))&&this.liveSocket.destroyViewByEl(t),this.trackAfter("discarded",t)}maybePendingRemove(t){return t.getAttribute&&t.getAttribute(this.phxRemove)!==null?(this.pendingRemoves.push(t),!0):!1}removeStreamChildElement(t){this.maybePendingRemove(t)||(t.remove(),this.onNodeDiscarded(t))}getStreamInsert(t){return(t.id?this.streamInserts[t.id]:{})||{}}maybeReOrderStream(t){let{ref:e,streamAt:r,limit:i}=this.getStreamInsert(t);if(r!==void 0){if(de.putSticky(t,hu,n=>n.setAttribute(hu,e)),r===0)t.parentElement.insertBefore(t,t.parentElement.firstElementChild);else if(r>0){let n=Array.from(t.parentElement.children),o=n.indexOf(t);if(r>=n.length-1)t.parentElement.appendChild(t);else{let s=n[r];o>r?t.parentElement.insertBefore(t,s):t.parentElement.insertBefore(t,s.nextElementSibling)}}}}transitionPendingRemoves(){let{pendingRemoves:t,liveSocket:e}=this;t.length>0&&(e.transitionRemoves(t),e.requestDOMUpdate(()=>{t.forEach(r=>{let i=de.firstPhxChild(r);i&&e.destroyViewByEl(i),r.remove()}),this.trackAfter("transitionsDiscarded",t)}))}isCIDPatch(){return this.cidPatch}skipCIDSibling(t){return t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute(Ck)}targetCIDContainer(t){if(!this.isCIDPatch())return;let[e,...r]=de.findComponentNodeList(this.container,this.targetCID);return r.length===0&&de.childNodeLength(t)===1?e:e&&e.parentNode}indexOf(t,e){return Array.from(t.children).indexOf(e)}},OM=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),gM=new Set([">","/"," ",` -`," ","\r"]),bM=new Set(["'",'"']),xk=(t,e,r)=>{let i=0,n=!1,o,s,a,l,c,u;for(;i"?(n=!1,i+=3):i++;else if(p==="<"&&t.slice(i,i+4)==="\s*)*)<([^\s\/>]+)/);if(f===null)throw new Error(`malformed html ${t}`);for(i=f[0].length,o=f[1],a=f[2],l=i,i;i";i++)if(t.charAt(i)==="="){let O=t.slice(i-3,i)===" id";i++;let w=t.charAt(i);if(gM.has(w)){let x=i;for(i++,i;i=o.length+a.length;){let O=t.charAt(d);if(n)O==="-"&&t.slice(d-3,d)===""&&t.slice(d-2,d)==="--")n=!0,d-=3;else{if(O===">")break;d-=1}}s=t.slice(d+1,t.length);let p=Object.keys(e).map(O=>e[O]===!0?O:`${O}="${e[O]}"`).join(" ");if(r){let O=c?` id="${c}"`:"";OM.has(a)?u=`<${a}${O}${p===""?"":" "}${p}/>`:u=`<${a}${O}${p===""?"":" "}${p}>`}else{let O=t.slice(l,d+1);u=`<${a}${p===""?"":" "}${p}${O}`}return[u,o,s]},Tk=class{static extract(t){let{[hk]:e,[fk]:r,[dk]:i}=t;return delete t[hk],delete t[fk],delete t[dk],{diff:t,title:i,reply:e||null,events:r||[]}}constructor(t,e){this.viewId=t,this.rendered={},this.magicId=0,this.mergeDiff(e)}parentViewId(){return this.viewId}toString(t){let[e,r]=this.recursiveToString(this.rendered,this.rendered[Ai],t,!0,{});return[e,r]}recursiveToString(t,e=t[Ai],r,i,n){r=r?new Set(r):null;let o={buffer:"",components:e,onlyCids:r,streams:new Set};return this.toOutputBuffer(t,null,o,i,n),[o.buffer,o.streams]}componentCIDs(t){return Object.keys(t[Ai]||{}).map(e=>parseInt(e))}isComponentOnlyDiff(t){return t[Ai]?Object.keys(t).length===1:!1}getComponent(t,e){return t[Ai][e]}mergeDiff(t){let e=t[Ai],r={};if(delete t[Ai],this.rendered=this.mutableMerge(this.rendered,t),this.rendered[Ai]=this.rendered[Ai]||{},e){let i=this.rendered[Ai];for(let n in e)e[n]=this.cachedFindComponent(n,e[n],i,e,r);for(let n in e)i[n]=e[n];t[Ai]=e}}cachedFindComponent(t,e,r,i,n){if(n[t])return n[t];{let o,s,a=e[Bn];if(wo(a)){let l;a>0?l=this.cachedFindComponent(a,i[a],r,i,n):l=r[-a],s=l[Bn],o=this.cloneMerge(l,e,!0),o[Bn]=s}else o=e[Bn]!==void 0||r[t]===void 0?e:this.cloneMerge(r[t],e,!1);return n[t]=o,o}}mutableMerge(t,e){return e[Bn]!==void 0?e:(this.doMutableMerge(t,e),t)}doMutableMerge(t,e){for(let r in e){let i=e[r],n=t[r];pu(i)&&i[Bn]===void 0&&pu(n)?this.doMutableMerge(n,i):t[r]=i}t[a1]&&(t.newRender=!0)}cloneMerge(t,e,r){let i=ne(ne({},t),e);for(let n in i){let o=e[n],s=t[n];pu(o)&&o[Bn]===void 0&&pu(s)&&(i[n]=this.cloneMerge(s,o,r))}return r?(delete i.magicId,delete i.newRender):t[a1]&&(i.newRender=!0),i}componentToString(t){let[e,r]=this.recursiveCIDToString(this.rendered[Ai],t,null),[i,n,o]=Sk(e,{});return[i,r]}pruneCIDs(t){t.forEach(e=>delete this.rendered[Ai][e])}get(){return this.rendered}isNewFingerprint(t={}){return!!t[Bn]}templateStatic(t,e){return typeof t=="number"?e[t]:t}nextMagicID(){return this.magicId++,`${this.parentViewId()}-${this.magicId}`}toOutputBuffer(t,e,r,i,n={}){if(t[Ad])return this.comprehensionToBuffer(t,e,r);let{[Bn]:o}=t;o=this.templateStatic(o,e);let s=t[a1],a=r.buffer;s&&(r.buffer=""),i&&s&&!t.magicId&&(t.newRender=!0,t.magicId=this.nextMagicID()),r.buffer+=o[0];for(let l=1;l0?(l=!t.newRender,c=ne({[_k]:t.magicId},n)):c=n,l&&(c[Qk]=!0);let[u,f,d]=Sk(r.buffer,c,l);t.newRender=!1,r.buffer=a+f+u+d}}comprehensionToBuffer(t,e,r){let{[Ad]:i,[Bn]:n,[pk]:o}=t,[s,a,l,c]=o||[null,{},[],null];n=this.templateStatic(n,e);let u=e||t[qz];for(let f=0;f0||l.length>0||c)&&(delete t[pk],t[Ad]=[],r.streams.add(o))}dynamicToBuffer(t,e,r,i){if(typeof t=="number"){let[n,o]=this.recursiveCIDToString(r.components,t,r.onlyCids);r.buffer+=n,r.streams=new Set([...r.streams,...o])}else pu(t)?this.toOutputBuffer(t,e,r,i,{}):r.buffer+=t}recursiveCIDToString(t,e,r){let i=t[e]||$i(`no component for CID ${e}`,t),n={[xo]:e},o=r&&!r.has(e);i.newRender=!o,i.magicId=`${this.parentViewId()}-c-${e}`;let s=!0,[a,l]=this.recursiveToString(i,t,r,s,n);return[a,l]}},bM=1,Ou=class{static makeID(){return bM++}static elementID(t){return t.phxHookId}constructor(t,e,r){this.__view=t,this.liveSocket=t.liveSocket,this.__callbacks=r,this.__listeners=new Set,this.__isDisconnected=!1,this.el=e,this.el.phxHookId=this.constructor.makeID();for(let i in this.__callbacks)this[i]=this.__callbacks[i]}__mounted(){this.mounted&&this.mounted()}__updated(){this.updated&&this.updated()}__beforeUpdate(){this.beforeUpdate&&this.beforeUpdate()}__destroyed(){this.destroyed&&this.destroyed()}__reconnected(){this.__isDisconnected&&(this.__isDisconnected=!1,this.reconnected&&this.reconnected())}__disconnected(){this.__isDisconnected=!0,this.disconnected&&this.disconnected()}pushEvent(t,e={},r=function(){}){return this.__view.pushHookEvent(this.el,null,t,e,r)}pushEventTo(t,e,r={},i=function(){}){return this.__view.withinTargets(t,(n,o)=>n.pushHookEvent(this.el,o,e,r,i))}handleEvent(t,e){let r=(i,n)=>n?t:e(i.detail);return window.addEventListener(`phx:${t}`,r),this.__listeners.add(r),r}removeHandleEvent(t){let e=t(null,!0);window.removeEventListener(`phx:${e}`,t),this.__listeners.delete(t)}upload(t,e){return this.__view.dispatchUploads(null,t,e)}uploadTo(t,e,r){return this.__view.withinTargets(t,(i,n)=>{i.dispatchUploads(n,e,r)})}__cleanup__(){this.__listeners.forEach(t=>this.removeHandleEvent(t))}},Id=null,yM={exec(t,e,r,i,n){let[o,s]=n||[null,{callback:n&&n.callback}];(e.charAt(0)==="["?JSON.parse(e):[[o,s]]).forEach(([l,c])=>{l===o&&s.data&&(c.data=Object.assign(c.data||{},s.data),c.callback=c.callback||s.callback),this.filterToEls(i,c).forEach(u=>{this[`exec_${l}`](t,e,r,i,u,c)})})},isVisible(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length>0)},isInViewport(t){let e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)},exec_exec(t,e,r,i,n,[o,s]){(s?de.all(document,s):[i]).forEach(l=>{let c=l.getAttribute(o);if(!c)throw new Error(`expected ${o} to contain JS command on "${s}"`);r.liveSocket.execJS(l,c,t)})},exec_dispatch(t,e,r,i,n,{to:o,event:s,detail:a,bubbles:l}){a=a||{},a.dispatcher=i,de.dispatchEvent(n,s,{detail:a,bubbles:l})},exec_push(t,e,r,i,n,o){let{event:s,data:a,target:l,page_loading:c,loading:u,value:f,dispatcher:d,callback:p}=o,O={loading:u,value:f,target:l,page_loading:!!c},w=t==="change"&&d?d:i,x=l||w.getAttribute(r.binding("target"))||w;r.withinTargets(x,(k,C)=>{if(k.isConnected())if(t==="change"){let{newCid:R,_target:Q}=o;Q=Q||(de.isFormInput(i)?i.name:void 0),Q&&(O._target=Q),k.pushInput(i,C,R,s||e,O,p)}else if(t==="submit"){let{submitter:R}=o;k.submitForm(i,C,s||e,R,O,p)}else k.pushEvent(t,i,C,s||e,a,O,p)})},exec_navigate(t,e,r,i,n,{href:o,replace:s}){r.liveSocket.historyRedirect(o,s?"replace":"push")},exec_patch(t,e,r,i,n,{href:o,replace:s}){r.liveSocket.pushHistoryPatch(o,s?"replace":"push",i)},exec_focus(t,e,r,i,n){window.requestAnimationFrame(()=>$l.attemptFocus(n))},exec_focus_first(t,e,r,i,n){window.requestAnimationFrame(()=>$l.focusFirstInteractive(n)||$l.focusFirst(n))},exec_push_focus(t,e,r,i,n){window.requestAnimationFrame(()=>Id=n||i)},exec_pop_focus(t,e,r,i,n){window.requestAnimationFrame(()=>{Id&&Id.focus(),Id=null})},exec_add_class(t,e,r,i,n,{names:o,transition:s,time:a}){this.addOrRemoveClasses(n,o,[],s,a,r)},exec_remove_class(t,e,r,i,n,{names:o,transition:s,time:a}){this.addOrRemoveClasses(n,[],o,s,a,r)},exec_transition(t,e,r,i,n,{time:o,transition:s}){this.addOrRemoveClasses(n,[],[],s,o,r)},exec_toggle(t,e,r,i,n,{display:o,ins:s,outs:a,time:l}){this.toggle(t,r,n,o,s,a,l)},exec_show(t,e,r,i,n,{display:o,transition:s,time:a}){this.show(t,r,n,o,s,a)},exec_hide(t,e,r,i,n,{display:o,transition:s,time:a}){this.hide(t,r,n,o,s,a)},exec_set_attr(t,e,r,i,n,{attr:[o,s]}){this.setOrRemoveAttrs(n,[[o,s]],[])},exec_remove_attr(t,e,r,i,n,{attr:o}){this.setOrRemoveAttrs(n,[],[o])},show(t,e,r,i,n,o){this.isVisible(r)||this.toggle(t,e,r,i,n,null,o)},hide(t,e,r,i,n,o){this.isVisible(r)&&this.toggle(t,e,r,i,null,n,o)},toggle(t,e,r,i,n,o,s){let[a,l,c]=n||[[],[],[]],[u,f,d]=o||[[],[],[]];if(a.length>0||u.length>0)if(this.isVisible(r)){let p=()=>{this.addOrRemoveClasses(r,f,a.concat(l).concat(c)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(r,u,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(r,d,f))})};r.dispatchEvent(new Event("phx:hide-start")),e.transition(s,p,()=>{this.addOrRemoveClasses(r,[],u.concat(d)),de.putSticky(r,"toggle",O=>O.style.display="none"),r.dispatchEvent(new Event("phx:hide-end"))})}else{if(t==="remove")return;let p=()=>{this.addOrRemoveClasses(r,l,u.concat(f).concat(d));let O=i||this.defaultDisplay(r);de.putSticky(r,"toggle",w=>w.style.display=O),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(r,a,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(r,c,l))})};r.dispatchEvent(new Event("phx:show-start")),e.transition(s,p,()=>{this.addOrRemoveClasses(r,[],a.concat(c)),r.dispatchEvent(new Event("phx:show-end"))})}else this.isVisible(r)?window.requestAnimationFrame(()=>{r.dispatchEvent(new Event("phx:hide-start")),de.putSticky(r,"toggle",p=>p.style.display="none"),r.dispatchEvent(new Event("phx:hide-end"))}):window.requestAnimationFrame(()=>{r.dispatchEvent(new Event("phx:show-start"));let p=i||this.defaultDisplay(r);de.putSticky(r,"toggle",O=>O.style.display=p),r.dispatchEvent(new Event("phx:show-end"))})},addOrRemoveClasses(t,e,r,i,n,o){let[s,a,l]=i||[[],[],[]];if(s.length>0){let c=()=>{this.addOrRemoveClasses(t,a,[].concat(s).concat(l)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(t,s,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(t,l,a))})},u=()=>this.addOrRemoveClasses(t,e.concat(l),r.concat(s).concat(a));return o.transition(n,c,u)}window.requestAnimationFrame(()=>{let[c,u]=de.getSticky(t,"classes",[[],[]]),f=e.filter(w=>c.indexOf(w)<0&&!t.classList.contains(w)),d=r.filter(w=>u.indexOf(w)<0&&t.classList.contains(w)),p=c.filter(w=>r.indexOf(w)<0).concat(f),O=u.filter(w=>e.indexOf(w)<0).concat(d);de.putSticky(t,"classes",w=>(w.classList.remove(...O),w.classList.add(...p),[p,O]))})},setOrRemoveAttrs(t,e,r){let[i,n]=de.getSticky(t,"attrs",[[],[]]),o=e.map(([l,c])=>l).concat(r),s=i.filter(([l,c])=>!o.includes(l)).concat(e),a=n.filter(l=>!o.includes(l)).concat(r);de.putSticky(t,"attrs",l=>(a.forEach(c=>l.removeAttribute(c)),s.forEach(([c,u])=>l.setAttribute(c,u)),[s,a]))},hasAllClasses(t,e){return e.every(r=>t.classList.contains(r))},isToggledOut(t,e){return!this.isVisible(t)||this.hasAllClasses(t,e)},filterToEls(t,{to:e}){return e?de.all(document,e):[t]},defaultDisplay(t){return{tr:"table-row",td:"table-cell"}[t.tagName.toLowerCase()]||"block"}},Hi=yM,Ld=(t,e,r=[])=>{let l=e,{submitter:i}=l,n=qr(l,["submitter"]),o=new FormData(t);i&&i.hasAttribute("name")&&i.form&&i.form===t&&o.append(i.name,i.value);let s=[];o.forEach((c,u,f)=>{c instanceof File&&s.push(u)}),s.forEach(c=>o.delete(c));let a=new URLSearchParams;for(let[c,u]of o.entries())(r.length===0||r.indexOf(c)>=0)&&a.append(c,u);for(let c in n)a.append(c,n[c]);return a.toString()},Xk=class{constructor(t,e,r,i,n){this.isDead=!1,this.liveSocket=e,this.flash=i,this.parent=r,this.root=r?r.root:this,this.el=t,this.id=this.el.id,this.ref=0,this.childJoins=0,this.loaderTimer=null,this.pendingDiffs=[],this.pruningCIDs=[],this.redirect=!1,this.href=null,this.joinCount=this.parent?this.parent.joinCount-1:0,this.joinPending=!0,this.destroyed=!1,this.joinCallback=function(o){o&&o()},this.stopCallback=function(){},this.pendingJoinOps=this.parent?null:[],this.viewHooks={},this.uploaders={},this.formSubmits=[],this.children=this.parent?null:{},this.root.children[this.id]={},this.channel=this.liveSocket.channel(`lv:${this.id}`,()=>{let o=this.href&&this.expandURL(this.href);return{redirect:this.redirect?o:void 0,url:this.redirect?void 0:o||void 0,params:this.connectParams(n),session:this.getSession(),static:this.getStatic(),flash:this.flash}})}setHref(t){this.href=t}setRedirect(t){this.redirect=!0,this.href=t}isMain(){return this.el.hasAttribute(g1)}connectParams(t){let e=this.liveSocket.params(this.el),r=de.all(document,`[${this.binding(Az)}]`).map(i=>i.src||i.href).filter(i=>typeof i=="string");return r.length>0&&(e._track_static=r),e._mounts=this.joinCount,e._live_referer=t,e}isConnected(){return this.channel.canPush()}getSession(){return this.el.getAttribute(ys)}getStatic(){let t=this.el.getAttribute(gu);return t===""?null:t}destroy(t=function(){}){this.destroyAllChildren(),this.destroyed=!0,delete this.root.children[this.id],this.parent&&delete this.root.children[this.parent.id][this.id],clearTimeout(this.loaderTimer);let e=()=>{t();for(let r in this.viewHooks)this.destroyHook(this.viewHooks[r])};de.markPhxChildDestroyed(this.el),this.log("destroyed",()=>["the child has been removed from the parent"]),this.channel.leave().receive("ok",e).receive("error",e).receive("timeout",e)}setContainerClasses(...t){this.el.classList.remove(ok,uu,Td,sk,i1),this.el.classList.add(...t)}showLoader(t){if(clearTimeout(this.loaderTimer),t)this.loaderTimer=setTimeout(()=>this.showLoader(),t);else{for(let e in this.viewHooks)this.viewHooks[e].__disconnected();this.setContainerClasses(uu)}}execAll(t){de.all(this.el,`[${t}]`,e=>this.liveSocket.execJS(e,e.getAttribute(t)))}hideLoader(){clearTimeout(this.loaderTimer),this.setContainerClasses(ok),this.execAll(this.binding("connected"))}triggerReconnected(){for(let t in this.viewHooks)this.viewHooks[t].__reconnected()}log(t,e){this.liveSocket.log(this,t,e)}transition(t,e,r=function(){}){this.liveSocket.transition(t,e,r)}withinTargets(t,e){if(t instanceof HTMLElement||t instanceof SVGElement)return this.liveSocket.owner(t,r=>e(r,t));if(wo(t))de.findComponentNodeList(this.el,t).length===0?$i(`no component found matching phx-target of ${t}`):e(this,parseInt(t));else{let r=Array.from(document.querySelectorAll(t));r.length===0&&$i(`nothing found matching the phx-target selector "${t}"`),r.forEach(i=>this.liveSocket.owner(i,n=>e(n,i)))}}applyDiff(t,e,r){this.log(t,()=>["",Md(e)]);let{diff:i,reply:n,events:o,title:s}=Tk.extract(e);r({diff:i,reply:n,events:o}),s&&window.requestAnimationFrame(()=>de.putTitle(s))}onJoin(t){let{rendered:e,container:r}=t;if(r){let[i,n]=r;this.el=de.replaceRootContainer(this.el,i,n)}this.childJoins=0,this.joinPending=!0,this.flash=null,Vn.dropLocal(this.liveSocket.localStorage,window.location.pathname,Ek),this.applyDiff("mount",e,({diff:i,events:n})=>{this.rendered=new Tk(this.id,i);let[o,s]=this.renderContainer(null,"join");this.dropPendingRefs();let a=this.formsForRecovery(o);this.joinCount++,a.length>0?a.forEach(([l,c,u],f)=>{this.pushFormRecovery(l,u,d=>{f===a.length-1&&this.onJoinComplete(d,o,s,n)})}):this.onJoinComplete(t,o,s,n)})}dropPendingRefs(){de.all(document,`[${Os}="${this.id}"][${Ri}]`,t=>{t.removeAttribute(Ri),t.removeAttribute(Os)})}onJoinComplete({live_patch:t},e,r,i){if(this.joinCount>1||this.parent&&!this.parent.isJoinPending())return this.applyJoinPatch(t,e,r,i);de.findPhxChildrenInFragment(e,this.id).filter(o=>{let s=o.id&&this.el.querySelector(`[id="${o.id}"]`),a=s&&s.getAttribute(gu);return a&&o.setAttribute(gu,a),this.joinChild(o)}).length===0?this.parent?(this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,r,i)]),this.parent.ackJoin(this)):(this.onAllChildJoinsComplete(),this.applyJoinPatch(t,e,r,i)):this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,r,i)])}attachTrueDocEl(){this.el=de.byId(this.id),this.el.setAttribute(yu,this.root.id)}execNewMounted(){let t=this.binding(h1),e=this.binding(d1);de.all(this.el,`[${t}], [${e}]`,r=>{de.maybeAddPrivateHooks(r,t,e),this.maybeAddNewHook(r)}),de.all(this.el,`[${this.binding(fu)}], [data-phx-${fu}]`,r=>{this.maybeAddNewHook(r)}),de.all(this.el,`[${this.binding(ck)}]`,r=>this.maybeMounted(r))}applyJoinPatch(t,e,r,i){this.attachTrueDocEl();let n=new Xd(this,this.el,this.id,e,r,null);if(n.markPrunableContentForRemoval(),this.performPatch(n,!1,!0),this.joinNewChildren(),this.execNewMounted(),this.joinPending=!1,this.liveSocket.dispatchEvents(i),this.applyPendingUpdates(),t){let{kind:o,to:s}=t;this.liveSocket.historyPatch(s,o)}this.hideLoader(),this.joinCount>1&&this.triggerReconnected(),this.stopCallback()}triggerBeforeUpdateHook(t,e){this.liveSocket.triggerDOM("onBeforeElUpdated",[t,e]);let r=this.getHook(t),i=r&&de.isIgnored(t,this.binding(Nd));if(r&&!t.isEqualNode(e)&&!(i&&Yz(t.dataset,e.dataset)))return r.__beforeUpdate(),r}maybeMounted(t){let e=t.getAttribute(this.binding(ck)),r=e&&de.private(t,"mounted");e&&!r&&(this.liveSocket.execJS(t,e),de.putPrivate(t,"mounted",!0))}maybeAddNewHook(t,e){let r=this.addHook(t);r&&r.__mounted()}performPatch(t,e,r=!1){let i=[],n=!1,o=new Set;return t.after("added",s=>{this.liveSocket.triggerDOM("onNodeAdded",[s]);let a=this.binding(h1),l=this.binding(d1);de.maybeAddPrivateHooks(s,a,l),this.maybeAddNewHook(s),s.getAttribute&&this.maybeMounted(s)}),t.after("phxChildAdded",s=>{de.isPhxSticky(s)?this.liveSocket.joinRootViews():n=!0}),t.before("updated",(s,a)=>{this.triggerBeforeUpdateHook(s,a)&&o.add(s.id)}),t.after("updated",s=>{o.has(s.id)&&this.getHook(s).__updated()}),t.after("discarded",s=>{s.nodeType===Node.ELEMENT_NODE&&i.push(s)}),t.after("transitionsDiscarded",s=>this.afterElementsRemoved(s,e)),t.perform(r),this.afterElementsRemoved(i,e),n}afterElementsRemoved(t,e){let r=[];t.forEach(i=>{let n=de.all(i,`[${xo}]`),o=de.all(i,`[${this.binding(fu)}]`);n.concat(i).forEach(s=>{let a=this.componentID(s);wo(a)&&r.indexOf(a)===-1&&r.push(a)}),o.concat(i).forEach(s=>{let a=this.getHook(s);a&&this.destroyHook(a)})}),e&&this.maybePushComponentsDestroyed(r)}joinNewChildren(){de.findPhxChildren(this.el,this.id).forEach(t=>this.joinChild(t))}getChildById(t){return this.root.children[this.id][t]}getDescendentByEl(t){return t.id===this.id?this:this.children[t.getAttribute(Rl)][t.id]}destroyDescendent(t){for(let e in this.root.children)for(let r in this.root.children[e])if(r===t)return this.root.children[e][r].destroy()}joinChild(t){if(!this.getChildById(t.id)){let r=new Xk(t,this.liveSocket,this);return this.root.children[this.id][r.id]=r,r.join(),this.childJoins++,!0}}isJoinPending(){return this.joinPending}ackJoin(t){this.childJoins--,this.childJoins===0&&(this.parent?this.parent.ackJoin(this):this.onAllChildJoinsComplete())}onAllChildJoinsComplete(){this.joinCallback(()=>{this.pendingJoinOps.forEach(([t,e])=>{t.isDestroyed()||e()}),this.pendingJoinOps=[]})}update(t,e){if(this.isJoinPending()||this.liveSocket.hasPendingLink()&&this.root.isMain())return this.pendingDiffs.push({diff:t,events:e});this.rendered.mergeDiff(t);let r=!1;this.rendered.isComponentOnlyDiff(t)?this.liveSocket.time("component patch complete",()=>{de.findParentCIDs(this.el,this.rendered.componentCIDs(t)).forEach(n=>{this.componentPatch(this.rendered.getComponent(t,n),n)&&(r=!0)})}):mk(t)||this.liveSocket.time("full patch complete",()=>{let[i,n]=this.renderContainer(t,"update"),o=new Xd(this,this.el,this.id,i,n,null);r=this.performPatch(o,!0)}),this.liveSocket.dispatchEvents(e),r&&this.joinNewChildren()}renderContainer(t,e){return this.liveSocket.time(`toString diff (${e})`,()=>{let r=this.el.tagName,i=t?this.rendered.componentCIDs(t).concat(this.pruningCIDs):null,[n,o]=this.rendered.toString(i);return[`<${r}>${n}`,o]})}componentPatch(t,e){if(mk(t))return!1;let[r,i]=this.rendered.componentToString(e),n=new Xd(this,this.el,this.id,r,i,e);return this.performPatch(n,!0)}getHook(t){return this.viewHooks[Ou.elementID(t)]}addHook(t){if(Ou.elementID(t)||!t.getAttribute)return;let e=t.getAttribute(`data-phx-${fu}`)||t.getAttribute(this.binding(fu));if(e&&!this.ownsElement(t))return;let r=this.liveSocket.getHookCallbacks(e);if(r){t.id||$i(`no DOM ID for hook "${e}". Hooks require a unique ID on each element.`,t);let i=new Ou(this,t,r);return this.viewHooks[Ou.elementID(i.el)]=i,i}else e!==null&&$i(`unknown hook found for "${e}"`,t)}destroyHook(t){t.__destroyed(),t.__cleanup__(),delete this.viewHooks[Ou.elementID(t.el)]}applyPendingUpdates(){this.pendingDiffs.forEach(({diff:t,events:e})=>this.update(t,e)),this.pendingDiffs=[],this.eachChild(t=>t.applyPendingUpdates())}eachChild(t){let e=this.root.children[this.id]||{};for(let r in e)t(this.getChildById(r))}onChannel(t,e){this.liveSocket.onChannel(this.channel,t,r=>{this.isJoinPending()?this.root.pendingJoinOps.push([this,()=>e(r)]):this.liveSocket.requestDOMUpdate(()=>e(r))})}bindChannel(){this.liveSocket.onChannel(this.channel,"diff",t=>{this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",t,({diff:e,events:r})=>this.update(e,r))})}),this.onChannel("redirect",({to:t,flash:e})=>this.onRedirect({to:t,flash:e})),this.onChannel("live_patch",t=>this.onLivePatch(t)),this.onChannel("live_redirect",t=>this.onLiveRedirect(t)),this.channel.onError(t=>this.onError(t)),this.channel.onClose(t=>this.onClose(t))}destroyAllChildren(){this.eachChild(t=>t.destroy())}onLiveRedirect(t){let{to:e,kind:r,flash:i}=t,n=this.expandURL(e);this.liveSocket.historyRedirect(n,r,i)}onLivePatch(t){let{to:e,kind:r}=t;this.href=this.expandURL(e),this.liveSocket.historyPatch(e,r)}expandURL(t){return t.startsWith("/")?`${window.location.protocol}//${window.location.host}${t}`:t}onRedirect({to:t,flash:e}){this.liveSocket.redirect(t,e)}isDestroyed(){return this.destroyed}joinDead(){this.isDead=!0}join(t){this.showLoader(this.liveSocket.loaderTimeout),this.bindChannel(),this.isMain()&&(this.stopCallback=this.liveSocket.withPageLoading({to:this.href,kind:"initial"})),this.joinCallback=e=>{e=e||function(){},t?t(this.joinCount,e):e()},this.liveSocket.wrapPush(this,{timeout:!1},()=>this.channel.join().receive("ok",e=>{this.isDestroyed()||this.liveSocket.requestDOMUpdate(()=>this.onJoin(e))}).receive("error",e=>!this.isDestroyed()&&this.onJoinError(e)).receive("timeout",()=>!this.isDestroyed()&&this.onJoinError({reason:"timeout"})))}onJoinError(t){if(t.reason==="reload"){this.log("error",()=>[`failed mount with ${t.status}. Falling back to page request`,t]),this.isMain()&&this.onRedirect({to:this.href});return}else if(t.reason==="unauthorized"||t.reason==="stale"){this.log("error",()=>["unauthorized live_redirect. Falling back to page request",t]),this.isMain()&&this.onRedirect({to:this.href});return}if((t.redirect||t.live_redirect)&&(this.joinPending=!1,this.channel.leave()),t.redirect)return this.onRedirect(t.redirect);if(t.live_redirect)return this.onLiveRedirect(t.live_redirect);this.displayError([uu,Td,i1]),this.log("error",()=>["unable to join",t]),this.liveSocket.isConnected()&&this.liveSocket.reloadWithJitter(this)}onClose(t){if(!this.isDestroyed()){if(this.liveSocket.hasPendingLink()&&t!=="leave")return this.liveSocket.reloadWithJitter(this);this.destroyAllChildren(),this.liveSocket.dropActiveElement(this),document.activeElement&&document.activeElement.blur(),this.liveSocket.isUnloaded()&&this.showLoader(Nz)}}onError(t){this.onClose(t),this.liveSocket.isConnected()&&this.log("error",()=>["view crashed",t]),this.liveSocket.isUnloaded()||(this.liveSocket.isConnected()?this.displayError([uu,Td,i1]):this.displayError([uu,Td,sk]))}displayError(t){this.isMain()&&de.dispatchEvent(window,"phx:page-loading-start",{detail:{to:this.href,kind:"error"}}),this.showLoader(),this.setContainerClasses(...t),this.execAll(this.binding("disconnected"))}pushWithReply(t,e,r,i=function(){}){if(!this.isConnected())return;let[n,[o],s]=t?t():[null,[],{}],a=function(){};return(s.page_loading||o&&o.getAttribute(this.binding(nk))!==null)&&(a=this.liveSocket.withPageLoading({kind:"element",target:o})),typeof r.cid!="number"&&delete r.cid,this.liveSocket.wrapPush(this,{timeout:!0},()=>this.channel.push(e,r,Bz).receive("ok",l=>{let c=u=>{l.redirect&&this.onRedirect(l.redirect),l.live_patch&&this.onLivePatch(l.live_patch),l.live_redirect&&this.onLiveRedirect(l.live_redirect),a(),i(l,u)};l.diff?this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",l.diff,({diff:u,reply:f,events:d})=>{n!==null&&this.undoRefs(n),this.update(u,d),c(f)})}):(n!==null&&this.undoRefs(n),c(null))}))}undoRefs(t){this.isConnected()&&de.all(document,`[${Os}="${this.id}"][${Ri}="${t}"]`,e=>{let r=e.getAttribute(Ed);e.removeAttribute(Ri),e.removeAttribute(Os),e.getAttribute(n1)!==null&&(e.readOnly=!1,e.removeAttribute(n1)),r!==null&&(e.disabled=r==="true",e.removeAttribute(Ed)),Ck.forEach(o=>de.removeClass(e,o));let i=e.getAttribute(Cd);i!==null&&(e.innerText=i,e.removeAttribute(Cd));let n=de.private(e,Ri);if(n){let o=this.triggerBeforeUpdateHook(e,n);Xd.patchEl(e,n,this.liveSocket.getActiveElement()),o&&o.__updated(),de.deletePrivate(e,Ri)}})}putRef(t,e,r={}){let i=this.ref++,n=this.binding(m1);return r.loading&&(t=t.concat(de.all(document,r.loading))),t.forEach(o=>{o.classList.add(`phx-${e}-loading`),o.setAttribute(Ri,i),o.setAttribute(Os,this.el.id);let s=o.getAttribute(n);s!==null&&(o.getAttribute(Cd)||o.setAttribute(Cd,o.innerText),s!==""&&(o.innerText=s),o.setAttribute("disabled",""))}),[i,t,r]}componentID(t){let e=t.getAttribute&&t.getAttribute(xo);return e?parseInt(e):null}targetComponentID(t,e,r={}){if(wo(e))return e;let i=r.target||t.getAttribute(this.binding("target"));return wo(i)?parseInt(i):e&&(i!==null||r.target)?this.closestComponentID(e):null}closestComponentID(t){return wo(t)?t:t?gs(t.closest(`[${xo}]`),e=>this.ownsElement(e)&&this.componentID(e)):null}pushHookEvent(t,e,r,i,n){if(!this.isConnected())return this.log("hook",()=>["unable to push hook event. LiveView not connected",r,i]),!1;let[o,s,a]=this.putRef([t],"hook");return this.pushWithReply(()=>[o,s,a],"event",{type:"hook",event:r,value:i,cid:this.closestComponentID(e)},(l,c)=>n(c,o)),o}extractMeta(t,e,r){let i=this.binding("value-");for(let n=0;n=0&&!t.checked&&delete e.value),r){e||(e={});for(let n in r)e[n]=r[n]}return e}pushEvent(t,e,r,i,n,o={},s){this.pushWithReply(()=>this.putRef([e],t,o),"event",{type:t,event:i,value:this.extractMeta(e,n,o.value),cid:this.targetComponentID(e,r,o)},(a,l)=>s&&s(l))}pushFileProgress(t,e,r,i=function(){}){this.liveSocket.withinOwners(t.form,(n,o)=>{n.pushWithReply(null,"progress",{event:t.getAttribute(n.binding(Dz)),ref:t.getAttribute(bs),entry_ref:e,progress:r,cid:n.targetComponentID(t.form,o)},i)})}pushInput(t,e,r,i,n,o){let s,a=wo(r)?r:this.targetComponentID(t.form,e,n),l=()=>this.putRef([t,t.form],"change",n),c,u=this.extractMeta(t.form);t.getAttribute(this.binding("change"))?c=Ld(t.form,ne({_target:n._target},u),[t.name]):c=Ld(t.form,ne({_target:n._target},u)),de.isUploadInput(t)&&t.files&&t.files.length>0&&Rr.trackFiles(t,Array.from(t.files)),s=Rr.serializeUploads(t);let f={type:"form",event:i,value:c,uploads:s,cid:a};this.pushWithReply(l,"event",f,d=>{if(de.showError(t,this.liveSocket.binding(Dd)),de.isUploadInput(t)&&de.isAutoUpload(t)){if(Rr.filesAwaitingPreflight(t).length>0){let[p,O]=l();this.uploadFiles(t.form,e,p,a,w=>{o&&o(d),this.triggerAwaitingSubmit(t.form),this.undoRefs(p)})}}else o&&o(d)})}triggerAwaitingSubmit(t){let e=this.getScheduledSubmit(t);if(e){let[r,i,n,o]=e;this.cancelSubmit(t),o()}}getScheduledSubmit(t){return this.formSubmits.find(([e,r,i,n])=>e.isSameNode(t))}scheduleSubmit(t,e,r,i){if(this.getScheduledSubmit(t))return!0;this.formSubmits.push([t,e,r,i])}cancelSubmit(t){this.formSubmits=this.formSubmits.filter(([e,r,i])=>e.isSameNode(t)?(this.undoRefs(r),!1):!0)}disableForm(t,e={}){let r=u=>!(bu(u,`${this.binding(Nd)}=ignore`,u.form)||bu(u,"data-phx-update=ignore",u.form)),i=u=>u.hasAttribute(this.binding(m1)),n=u=>u.tagName=="BUTTON",o=u=>["INPUT","TEXTAREA","SELECT"].includes(u.tagName),s=Array.from(t.elements),a=s.filter(i),l=s.filter(n).filter(r),c=s.filter(o).filter(r);return l.forEach(u=>{u.setAttribute(Ed,u.disabled),u.disabled=!0}),c.forEach(u=>{u.setAttribute(n1,u.readOnly),u.readOnly=!0,u.files&&(u.setAttribute(Ed,u.disabled),u.disabled=!0)}),t.setAttribute(this.binding(nk),""),this.putRef([t].concat(a).concat(l).concat(c),"submit",e)}pushFormSubmit(t,e,r,i,n,o){let s=()=>this.disableForm(t,n),a=this.targetComponentID(t,e);if(Rr.hasUploadsInProgress(t)){let[l,c]=s(),u=()=>this.pushFormSubmit(t,e,r,i,n,o);return this.scheduleSubmit(t,l,n,u)}else if(Rr.inputsAwaitingPreflight(t).length>0){let[l,c]=s(),u=()=>[l,c,n];this.uploadFiles(t,e,l,a,f=>{let d=this.extractMeta(t),p=Ld(t,ne({submitter:i},d));this.pushWithReply(u,"event",{type:"form",event:r,value:p,cid:a},o)})}else if(!(t.hasAttribute(Ri)&&t.classList.contains("phx-submit-loading"))){let l=this.extractMeta(t),c=Ld(t,ne({submitter:i},l));this.pushWithReply(s,"event",{type:"form",event:r,value:c,cid:a},o)}}uploadFiles(t,e,r,i,n){let o=this.joinCount,s=Rr.activeFileInputs(t),a=s.length;s.forEach(l=>{let c=new Rr(l,this,()=>{a--,a===0&&n()});this.uploaders[l]=c;let u=c.entries().map(d=>d.toPreflightPayload()),f={ref:l.getAttribute(bs),entries:u,cid:this.targetComponentID(l.form,e)};this.log("upload",()=>["sending preflight request",f]),this.pushWithReply(null,"allow_upload",f,d=>{if(this.log("upload",()=>["got preflight response",d]),d.error){this.undoRefs(r);let[p,O]=d.error;this.log("upload",()=>[`error for entry ${p}`,O])}else{let p=O=>{this.channel.onError(()=>{this.joinCount===o&&O()})};c.initAdapterUpload(d,p,this.liveSocket)}})})}dispatchUploads(t,e,r){let i=this.targetCtxElement(t)||this.el,n=de.findUploadInputs(i).filter(o=>o.name===e);n.length===0?$i(`no live file inputs found matching the name "${e}"`):n.length>1?$i(`duplicate live file inputs found matching the name "${e}"`):de.dispatchEvent(n[0],Pk,{detail:{files:r}})}targetCtxElement(t){if(wo(t)){let[e]=de.findComponentNodeList(this.el,t);return e}else return t||null}pushFormRecovery(t,e,r){this.liveSocket.withinOwners(t,(i,n)=>{let o=this.binding("change"),s=Array.from(t.elements).filter(c=>de.isFormInput(c)&&c.name&&!c.hasAttribute(o));if(s.length===0)return;s.forEach(c=>c.hasAttribute(bs)&&Rr.clearFiles(c));let a=s.find(c=>c.type!=="hidden")||s[0],l=t.getAttribute(this.binding(lk))||t.getAttribute(this.binding("change"));Hi.exec("change",l,i,a,["push",{_target:a.name,newCid:e,callback:r}])})}pushLinkPatch(t,e,r){let i=this.liveSocket.setPendingLink(t),n=e?()=>this.putRef([e],"click"):null,o=()=>this.liveSocket.redirect(window.location.href),s=t.startsWith("/")?`${location.protocol}//${location.host}${t}`:t,a=this.pushWithReply(n,"live_patch",{url:s},l=>{this.liveSocket.requestDOMUpdate(()=>{l.link_redirect?this.liveSocket.replaceMain(t,null,r,i):(this.liveSocket.commitPendingLink(i)&&(this.href=t),this.applyPendingUpdates(),r&&r(i))})});a?a.receive("timeout",o):o()}formsForRecovery(t){if(this.joinCount===0)return[];let e=this.binding("change"),r=document.createElement("template");return r.innerHTML=t,de.all(this.el,`form[${e}]`).filter(i=>i.id&&this.ownsElement(i)).filter(i=>i.elements.length>0).filter(i=>i.getAttribute(this.binding(lk))!=="ignore").map(i=>{let n=i.getAttribute(e).replaceAll(/([\[\]"])/g,"\\$1"),o=r.content.querySelector(`form[id="${i.id}"][${e}="${n}"]`);return o?[i,o,this.targetComponentID(o)]:[i,i,this.targetComponentID(i)]}).filter(([i,n,o])=>n)}maybePushComponentsDestroyed(t){let e=t.filter(r=>de.findComponentNodeList(this.el,r).length===0);e.length>0&&(this.pruningCIDs.push(...e),this.pushWithReply(null,"cids_will_destroy",{cids:e},()=>{this.pruningCIDs=this.pruningCIDs.filter(i=>e.indexOf(i)!==-1);let r=e.filter(i=>de.findComponentNodeList(this.el,i).length===0);r.length>0&&this.pushWithReply(null,"cids_destroyed",{cids:r},i=>{this.rendered.pruneCIDs(i.cids)})}))}ownsElement(t){let e=t.closest(Xl);return t.getAttribute(Rl)===this.id||e&&e.id===this.id||!e&&this.isDead}submitForm(t,e,r,i,n={}){de.putPrivate(t,Ud,!0);let o=this.liveSocket.binding(Dd),s=Array.from(t.elements);s.forEach(a=>de.putPrivate(a,Ud,!0)),this.liveSocket.blurActiveElement(this),this.pushFormSubmit(t,e,r,i,n,()=>{s.forEach(a=>de.showError(a,o)),this.liveSocket.restorePreviouslyActiveFocus()})}binding(t){return this.liveSocket.binding(t)}},Ik=class{constructor(t,e,r={}){if(this.unloaded=!1,!e||e.constructor.name==="Object")throw new Error(` a phoenix Socket must be provided as the second argument to the LiveSocket constructor. For example: import {Socket} from "phoenix" import {LiveSocket} from "phoenix_live_view" let liveSocket = new LiveSocket("/live", Socket, {...}) - `);this.socket=new e(t,r),this.bindingPrefix=r.bindingPrefix||jz,this.opts=r,this.params=l1(r.params||{}),this.viewLogger=r.viewLogger,this.metadataCallbacks=r.metadata||{},this.defaults=Object.assign(Md(Vz),r.defaults||{}),this.activeElement=null,this.prevActive=null,this.silenced=!1,this.main=null,this.outgoingMainEl=null,this.clickStartedAtTarget=null,this.linkRef=1,this.roots={},this.href=window.location.href,this.pendingLink=null,this.currentLocation=Md(window.location),this.hooks=r.hooks||{},this.uploaders=r.uploaders||{},this.loaderTimeout=r.loaderTimeout||Uz,this.reloadWithJitterTimer=null,this.maxReloads=r.maxReloads||Cz,this.reloadJitterMin=r.reloadJitterMin||Pz,this.reloadJitterMax=r.reloadJitterMax||Qz,this.failsafeJitter=r.failsafeJitter||_z,this.localStorage=r.localStorage||window.localStorage,this.sessionStorage=r.sessionStorage||window.sessionStorage,this.boundTopLevelEvents=!1,this.domCallbacks=Object.assign({onNodeAdded:l1(),onBeforeElUpdated:l1()},r.dom||{}),this.transitions=new wM,window.addEventListener("pagehide",i=>{this.unloaded=!0}),this.socket.onOpen(()=>{this.isUnloaded()&&window.location.reload()})}isProfileEnabled(){return this.sessionStorage.getItem(o1)==="true"}isDebugEnabled(){return this.sessionStorage.getItem(Qd)==="true"}isDebugDisabled(){return this.sessionStorage.getItem(Qd)==="false"}enableDebug(){this.sessionStorage.setItem(Qd,"true")}enableProfiling(){this.sessionStorage.setItem(o1,"true")}disableDebug(){this.sessionStorage.setItem(Qd,"false")}disableProfiling(){this.sessionStorage.removeItem(o1)}enableLatencySim(t){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(s1,t)}disableLatencySim(){this.sessionStorage.removeItem(s1)}getLatencySim(){let t=this.sessionStorage.getItem(s1);return t?parseInt(t):null}getSocket(){return this.socket}connect(){window.location.hostname==="localhost"&&!this.isDebugDisabled()&&this.enableDebug();let t=()=>{this.joinRootViews()?(this.bindTopLevelEvents(),this.socket.connect()):this.main?this.socket.connect():this.bindTopLevelEvents({dead:!0}),this.joinDeadView()};["complete","loaded","interactive"].indexOf(document.readyState)>=0?t():document.addEventListener("DOMContentLoaded",()=>t())}disconnect(t){clearTimeout(this.reloadWithJitterTimer),this.socket.disconnect(t)}replaceTransport(t){clearTimeout(this.reloadWithJitterTimer),this.socket.replaceTransport(t),this.connect()}execJS(t,e,r=null){this.owner(t,i=>Yi.exec(r,e,i,t))}execJSHookPush(t,e,r,i){this.withinOwners(t,n=>{Yi.exec("hook",e,n,t,["push",{data:r,callback:i}])})}unload(){this.unloaded||(this.main&&this.isConnected()&&this.log(this.main,"socket",()=>["disconnect for page nav"]),this.unloaded=!0,this.destroyAllViews(),this.disconnect())}triggerDOM(t,e){this.domCallbacks[t](...e)}time(t,e){if(!this.isProfileEnabled()||!console.time)return e();console.time(t);let r=e();return console.timeEnd(t),r}log(t,e,r){if(this.viewLogger){let[i,n]=r();this.viewLogger(t,e,i,n)}else if(this.isDebugEnabled()){let[i,n]=r();Zz(t,e,i,n)}}requestDOMUpdate(t){this.transitions.after(t)}transition(t,e,r=function(){}){this.transitions.addTransition(t,e,r)}onChannel(t,e,r){t.on(e,i=>{let n=this.getLatencySim();n?setTimeout(()=>r(i),n):r(i)})}wrapPush(t,e,r){let i=this.getLatencySim(),n=t.joinCount;if(!i)return this.isConnected()&&e.timeout?r().receive("timeout",()=>{t.joinCount===n&&!t.isDestroyed()&&this.reloadWithJitter(t,()=>{this.log(t,"timeout",()=>["received timeout while communicating with server. Falling back to hard refresh for recovery"])})}):r();let o={receives:[],receive(s,a){this.receives.push([s,a])}};return setTimeout(()=>{t.isDestroyed()||o.receives.reduce((s,[a,l])=>s.receive(a,l),r())},i),o}reloadWithJitter(t,e){clearTimeout(this.reloadWithJitterTimer),this.disconnect();let r=this.reloadJitterMin,i=this.reloadJitterMax,n=Math.floor(Math.random()*(i-r+1))+r,o=Vn.updateLocal(this.localStorage,window.location.pathname,Sk,0,s=>s+1);o>this.maxReloads&&(n=this.failsafeJitter),this.reloadWithJitterTimer=setTimeout(()=>{t.isDestroyed()||t.isConnected()||(t.destroy(),e?e():this.log(t,"join",()=>[`encountered ${o} consecutive reloads`]),o>this.maxReloads&&this.log(t,"join",()=>[`exceeded ${this.maxReloads} consecutive reloads. Entering failsafe mode`]),this.hasPendingLink()?window.location=this.pendingLink:window.location.reload())},n)}getHookCallbacks(t){return t&&t.startsWith("Phoenix.")?tM[t.split(".")[1]]:this.hooks[t]}isUnloaded(){return this.unloaded}isConnected(){return this.socket.isConnected()}getBindingPrefix(){return this.bindingPrefix}binding(t){return`${this.getBindingPrefix()}${t}`}channel(t,e){return this.socket.channel(t,e)}joinDeadView(){let t=document.body;if(t&&!this.isPhxView(t)&&!this.isPhxView(document.firstElementChild)){let e=this.newRootView(t);e.setHref(this.getHref()),e.joinDead(),this.main||(this.main=e),window.requestAnimationFrame(()=>e.execNewMounted())}}joinRootViews(){let t=!1;return de.all(document,`${Xl}:not([${Rl}])`,e=>{if(!this.getRootById(e.id)){let r=this.newRootView(e);r.setHref(this.getHref()),r.join(),e.hasAttribute(m1)&&(this.main=r)}t=!0}),t}redirect(t,e){this.unload(),Vn.redirect(t,e)}replaceMain(t,e,r=null,i=this.setPendingLink(t)){let n=this.currentLocation.href;this.outgoingMainEl=this.outgoingMainEl||this.main.el;let o=de.cloneNode(this.outgoingMainEl,"");this.main.showLoader(this.loaderTimeout),this.main.destroy(),this.main=this.newRootView(o,e,n),this.main.setRedirect(t),this.transitionRemoves(),this.main.join((s,a)=>{s===1&&this.commitPendingLink(i)&&this.requestDOMUpdate(()=>{de.findPhxSticky(document).forEach(l=>o.appendChild(l)),this.outgoingMainEl.replaceWith(o),this.outgoingMainEl=null,r&&requestAnimationFrame(()=>r(i)),a()})})}transitionRemoves(t){let e=this.binding("remove");t=t||de.all(document,`[${e}]`),t.forEach(r=>{this.execJS(r,r.getAttribute(e),"remove")})}isPhxView(t){return t.getAttribute&&t.getAttribute(bs)!==null}newRootView(t,e,r){let i=new Xk(t,this,null,e,r);return this.roots[i.id]=i,i}owner(t,e){let r=Os(t.closest(Xl),i=>this.getViewByEl(i))||this.main;r&&e(r)}withinOwners(t,e){this.owner(t,r=>e(r,t))}getViewByEl(t){let e=t.getAttribute(yu);return Os(this.getRootById(e),r=>r.getDescendentByEl(t))}getRootById(t){return this.roots[t]}destroyAllViews(){for(let t in this.roots)this.roots[t].destroy(),delete this.roots[t];this.main=null}destroyViewByEl(t){let e=this.getRootById(t.getAttribute(yu));e&&e.id===t.id?(e.destroy(),delete this.roots[e.id]):e&&e.destroyDescendent(t.id)}setActiveElement(t){if(this.activeElement===t)return;this.activeElement=t;let e=()=>{t===this.activeElement&&(this.activeElement=null),t.removeEventListener("mouseup",this),t.removeEventListener("touchend",this)};t.addEventListener("mouseup",e),t.addEventListener("touchend",e)}getActiveElement(){return document.activeElement===document.body?this.activeElement||document.activeElement:document.activeElement||document.body}dropActiveElement(t){this.prevActive&&t.ownsElement(this.prevActive)&&(this.prevActive=null)}restorePreviouslyActiveFocus(){this.prevActive&&this.prevActive!==document.body&&this.prevActive.focus()}blurActiveElement(){this.prevActive=this.getActiveElement(),this.prevActive!==document.body&&this.prevActive.blur()}bindTopLevelEvents({dead:t}={}){this.boundTopLevelEvents||(this.boundTopLevelEvents=!0,this.socket.onClose(e=>{if(e&&e.code===1e3&&this.main)return this.reloadWithJitter(this.main)}),document.body.addEventListener("click",function(){}),window.addEventListener("pageshow",e=>{e.persisted&&(this.getSocket().disconnect(),this.withPageLoading({to:window.location.href,kind:"redirect"}),window.location.reload())},!0),t||this.bindNav(),this.bindClicks(),t||this.bindForms(),this.bind({keyup:"keyup",keydown:"keydown"},(e,r,i,n,o,s)=>{let a=n.getAttribute(this.binding(Mz)),l=e.key&&e.key.toLowerCase();if(a&&a.toLowerCase()!==l)return;let c=ne({key:e.key},this.eventMeta(r,e,n));Yi.exec(r,o,i,n,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,r,i,n,o,s)=>{if(!s){let a=ne({key:e.key},this.eventMeta(r,e,n));Yi.exec(r,o,i,n,["push",{data:a}])}}),this.bind({blur:"blur",focus:"focus"},(e,r,i,n,o,s)=>{if(s==="window"){let a=this.eventMeta(r,e,n);Yi.exec(r,o,i,n,["push",{data:a}])}}),window.addEventListener("dragover",e=>e.preventDefault()),window.addEventListener("drop",e=>{e.preventDefault();let r=Os(bu(e.target,this.binding(ek)),o=>o.getAttribute(this.binding(ek))),i=r&&document.getElementById(r),n=Array.from(e.dataTransfer.files||[]);!i||i.disabled||n.length===0||!(i.files instanceof FileList)||(Rr.trackFiles(i,n,e.dataTransfer),i.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on(Ek,e=>{let r=e.target;if(!de.isUploadInput(r))return;let i=Array.from(e.detail.files||[]).filter(n=>n instanceof File||n instanceof Blob);Rr.trackFiles(r,i),r.dispatchEvent(new Event("input",{bubbles:!0}))}))}eventMeta(t,e,r){let i=this.metadataCallbacks[t];return i?i(e,r):{}}setPendingLink(t){return this.linkRef++,this.pendingLink=t,this.linkRef}commitPendingLink(t){return this.linkRef!==t?!1:(this.href=this.pendingLink,this.pendingLink=null,!0)}getHref(){return this.href}hasPendingLink(){return!!this.pendingLink}bind(t,e){for(let r in t){let i=t[r];this.on(i,n=>{let o=this.binding(r),s=this.binding(`window-${r}`),a=n.target.getAttribute&&n.target.getAttribute(o);a?this.debounce(n.target,n,i,()=>{this.withinOwners(n.target,l=>{e(n,r,l,n.target,a,null)})}):de.all(document,`[${s}]`,l=>{let c=l.getAttribute(s);this.debounce(l,n,i,()=>{this.withinOwners(l,u=>{e(n,r,u,l,c,"window")})})})})}}bindClicks(){window.addEventListener("mousedown",t=>this.clickStartedAtTarget=t.target),this.bindClick("click","click",!1),this.bindClick("mousedown","capture-click",!0)}bindClick(t,e,r){let i=this.binding(e);window.addEventListener(t,n=>{let o=null;if(r)o=n.target.matches(`[${i}]`)?n.target:n.target.querySelector(`[${i}]`);else{let a=this.clickStartedAtTarget||n.target;o=bu(a,i),this.dispatchClickAway(n,a),this.clickStartedAtTarget=null}let s=o&&o.getAttribute(i);if(!s){!r&&de.isNewPageClick(n,window.location)&&this.unload();return}o.getAttribute("href")==="#"&&n.preventDefault(),!o.hasAttribute(Hi)&&this.debounce(o,n,"click",()=>{this.withinOwners(o,a=>{Yi.exec("click",s,a,o,["push",{data:this.eventMeta("click",n,o)}])})})},r)}dispatchClickAway(t,e){let r=this.binding("click-away");de.all(document,`[${r}]`,i=>{i.isSameNode(e)||i.contains(e)||this.withinOwners(t.target,n=>{let o=i.getAttribute(r);Yi.isVisible(i)&&Yi.isInViewport(i)&&Yi.exec("click",o,n,i,["push",{data:this.eventMeta("click",t,t.target)}])})})}bindNav(){if(!Vn.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let t=null;window.addEventListener("scroll",e=>{clearTimeout(t),t=setTimeout(()=>{Vn.updateCurrentState(r=>Object.assign(r,{scroll:window.scrollY}))},100)}),window.addEventListener("popstate",e=>{if(!this.registerNewLocation(window.location))return;let{type:r,id:i,root:n,scroll:o}=e.state||{},s=window.location.href;de.dispatchEvent(window,"phx:navigate",{detail:{href:s,patch:r==="patch",pop:!0}}),this.requestDOMUpdate(()=>{this.main.isConnected()&&r==="patch"&&i===this.main.id?this.main.pushLinkPatch(s,null,()=>{this.maybeScroll(o)}):this.replaceMain(s,null,()=>{n&&this.replaceRootHistory(),this.maybeScroll(o)})})},!1),window.addEventListener("click",e=>{let r=bu(e.target,t1),i=r&&r.getAttribute(t1);if(!i||!this.isConnected()||!this.main||de.wantsNewTab(e))return;let n=r.href instanceof SVGAnimatedString?r.href.baseVal:r.href,o=r.getAttribute(Rz);e.preventDefault(),e.stopImmediatePropagation(),this.pendingLink!==n&&this.requestDOMUpdate(()=>{if(i==="patch")this.pushHistoryPatch(n,o,r);else if(i==="redirect")this.historyRedirect(n,o);else throw new Error(`expected ${t1} to be "patch" or "redirect", got: ${i}`);let s=r.getAttribute(this.binding("click"));s&&this.requestDOMUpdate(()=>this.execJS(r,s,"click"))})},!1)}maybeScroll(t){typeof t=="number"&&requestAnimationFrame(()=>{window.scrollTo(0,t)})}dispatchEvent(t,e={}){de.dispatchEvent(window,`phx:${t}`,{detail:e})}dispatchEvents(t){t.forEach(([e,r])=>this.dispatchEvent(e,r))}withPageLoading(t,e){de.dispatchEvent(window,"phx:page-loading-start",{detail:t});let r=()=>de.dispatchEvent(window,"phx:page-loading-stop",{detail:t});return e?e(r):r}pushHistoryPatch(t,e,r){if(!this.isConnected())return Vn.redirect(t);this.withPageLoading({to:t,kind:"patch"},i=>{this.main.pushLinkPatch(t,r,n=>{this.historyPatch(t,e,n),i()})})}historyPatch(t,e,r=this.setPendingLink(t)){this.commitPendingLink(r)&&(Vn.pushState(e,{type:"patch",id:this.main.id},t),de.dispatchEvent(window,"phx:navigate",{detail:{patch:!0,href:t,pop:!1}}),this.registerNewLocation(window.location))}historyRedirect(t,e,r){if(!this.isConnected())return Vn.redirect(t,r);if(/^\/$|^\/[^\/]+.*$/.test(t)){let{protocol:n,host:o}=window.location;t=`${n}//${o}${t}`}let i=window.scrollY;this.withPageLoading({to:t,kind:"redirect"},n=>{this.replaceMain(t,r,o=>{o===this.linkRef&&(Vn.pushState(e,{type:"redirect",id:this.main.id,scroll:i},t),de.dispatchEvent(window,"phx:navigate",{detail:{href:t,patch:!1,pop:!1}}),this.registerNewLocation(window.location)),n()})})}replaceRootHistory(){Vn.pushState("replace",{root:!0,type:"patch",id:this.main.id})}registerNewLocation(t){let{pathname:e,search:r}=this.currentLocation;return e+r===t.pathname+t.search?!1:(this.currentLocation=Md(t),!0)}bindForms(){let t=0,e=!1;this.on("submit",r=>{let i=r.target.getAttribute(this.binding("submit")),n=r.target.getAttribute(this.binding("change"));!e&&n&&!i&&(e=!0,r.preventDefault(),this.withinOwners(r.target,o=>{o.disableForm(r.target),window.requestAnimationFrame(()=>{de.isUnloadableFormSubmit(r)&&this.unload(),r.target.submit()})}))},!0),this.on("submit",r=>{let i=r.target.getAttribute(this.binding("submit"));if(!i){de.isUnloadableFormSubmit(r)&&this.unload();return}r.preventDefault(),r.target.disabled=!0,this.withinOwners(r.target,n=>{Yi.exec("submit",i,n,r.target,["push",{submitter:r.submitter}])})},!1);for(let r of["change","input"])this.on(r,i=>{let n=this.binding("change"),o=i.target,s=o.getAttribute(n),a=o.form&&o.form.getAttribute(n),l=s||a;if(!l||o.type==="number"&&o.validity&&o.validity.badInput)return;let c=s?o:o.form,u=t;t++;let{at:f,type:d}=de.private(o,"prev-iteration")||{};f===u-1&&r==="change"&&d==="input"||(de.putPrivate(o,"prev-iteration",{at:u,type:r}),this.debounce(o,i,r,()=>{this.withinOwners(c,p=>{de.putPrivate(o,h1,!0),de.isTextualInput(o)||this.setActiveElement(o),Yi.exec("change",l,p,o,["push",{_target:i.target.name,dispatcher:c}])})}))},!1);this.on("reset",r=>{let i=r.target;de.resetForm(i,this.binding(Dd));let n=Array.from(i.elements).find(o=>o.type==="reset");window.requestAnimationFrame(()=>{n.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!1}))})})}debounce(t,e,r,i){if(r==="blur"||r==="focusout")return i();let n=this.binding(Lz),o=this.binding(zz),s=this.defaults.debounce.toString(),a=this.defaults.throttle.toString();this.withinOwners(t,l=>{let c=()=>!l.isDestroyed()&&document.body.contains(t);de.debounce(t,e,n,s,o,a,c,()=>{i()})})}silenceEvents(t){this.silenced=!0,t(),this.silenced=!1}on(t,e){window.addEventListener(t,r=>{this.silenced||e(r)})}},wM=class{constructor(){this.transitions=new Set,this.pendingOps=[]}reset(){this.transitions.forEach(t=>{clearTimeout(t),this.transitions.delete(t)}),this.flushPendingOps()}after(t){this.size()===0?t():this.pushPendingOp(t)}addTransition(t,e,r){e();let i=setTimeout(()=>{this.transitions.delete(i),r(),this.flushPendingOps()},t);this.transitions.add(i)}pushPendingOp(t){this.pendingOps.push(t)}size(){return this.transitions.size}flushPendingOps(){if(this.size()>0)return;let t=this.pendingOps.shift();t&&(t(),this.flushPendingOps())}};var Lk="livebook:";function ka(t){try{let e=localStorage.getItem(Lk+t);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function Il(t,e){try{let r=JSON.stringify(e);localStorage.setItem(Lk+t,r)}catch(r){console.error(`Failed to write to local storage, reason: ${r.message}`)}}var zk="app_auth_token:";function Mk(t,e){Il(zk+t,e)}function Dk(){let t=window.location.pathname;if(t.startsWith("/apps/")){let e=t.split("/")[2],r=ka(zk+e);if(r)return r}return null}var xM={mounted(){this.handleEvent("persist_app_auth",({slug:t,token:e})=>{Mk(t,e),this.pushEvent("app_auth_persisted")})}},Uk=xM;function Rt(t,e){let r={};for(let i of e){let n=`data-p-${i}`;if(!t.hasAttribute(n))throw new Error(`Missing attribute "${n}" on element <${t.tagName}:${t.id}>`);let o=t.getAttribute(n);r[kM(i)]=JSON.parse(o)}return r}function kM(t){let[e,...r]=t.split("-");return[e,...r.map(i=>i.charAt(0).toUpperCase()+i.slice(1))].join("")}function Nk(t,e,r){let n=new ArrayBuffer(44+t.byteLength),o=new DataView(n),s=t.byteLength/4,a=4,l=e*a,c=r*l,u=s*l,f=0;function d(k){o.setUint32(f,k,!1),f+=4}function p(k){o.setUint32(f,k,!0),f+=4}function O(k){o.setUint16(f,k,!0),f+=2}function w(k){o.setFloat32(f,k,!0),f+=4}d(1380533830),p(36+u),d(1463899717),d(1718449184),p(16),O(3),O(e),p(r),p(c),O(l),O(a*8),d(1684108385),p(u);let x=new Float32Array(t);for(let k=0;k{this.inputEl.click()}),this.inputEl.addEventListener("change",t=>{let[e]=t.target.files;e&&this.loadFile(e)}),this.el.addEventListener("dragover",t=>{t.stopPropagation(),t.preventDefault(),t.dataTransfer.dropEffect="copy"}),this.el.addEventListener("drop",t=>{t.stopPropagation(),t.preventDefault();let[e]=t.dataTransfer.files;e&&!this.isRecording()&&this.loadFile(e)}),this.el.addEventListener("dragenter",t=>{this.el.classList.add(...g1)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...g1)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...g1)}),this.recordButton.addEventListener("click",t=>{this.startRecording()}),this.stopButton.addEventListener("click",t=>{this.stopRecording()}),this.cancelButton.addEventListener("click",t=>{this.stopRecording(!1)})},updated(){this.props=this.getProps(),this.audioEl.src=this.props.audioUrl},getProps(){return Rt(this.el,["id","phx-target","sampling-rate","endianness","format","audio-url"])},startRecording(){this.audioEl.classList.add("hidden"),this.uploadButton.classList.add("hidden"),this.recordButton.classList.add("hidden"),this.stopButton.classList.remove("hidden"),this.cancelButton.classList.remove("hidden"),this.audioChunks=[],navigator.mediaDevices.getUserMedia({audio:!0}).then(t=>{this.mediaRecorder=new MediaRecorder(t),this.mediaRecorder.addEventListener("dataavailable",e=>{this.audioChunks.push(e.data)}),this.mediaRecorder.start()})},stopRecording(t=!0){this.audioEl.classList.remove("hidden"),this.uploadButton.classList.remove("hidden"),this.recordButton.classList.remove("hidden"),this.stopButton.classList.add("hidden"),this.cancelButton.classList.add("hidden"),t&&this.mediaRecorder.addEventListener("stop",e=>{new Blob(this.audioChunks).arrayBuffer().then(i=>{this.loadEncodedAudio(i)})}),this.mediaRecorder.stop()},isRecording(){return this.mediaRecorder&&this.mediaRecorder.state==="recording"},loadFile(t){let e=new FileReader;e.onload=r=>{this.loadEncodedAudio(r.target.result)},e.readAsArrayBuffer(t)},loadEncodedAudio(t){this.pushEventTo(this.props.phxTarget,"decoding",{}),new AudioContext({sampleRate:this.props.samplingRate}).decodeAudioData(t,r=>{let i=TM(r);this.pushAudio(i)})},pushAudio(t){let e={num_channels:t.numChannels,sampling_rate:t.samplingRate},r=this.encodeAudio(t),i=new Blob([r]);i.meta=()=>e,this.uploadTo(this.props.phxTarget,"file",[i])},encodeAudio(t){if(this.props.format==="pcm_f32")return EM(t.data,this.props.endianness);if(this.props.format==="wav")return Nk(t.data,t.numChannels,t.samplingRate)}};function TM(t){let e=t.numberOfChannels,r=t.sampleRate,i=t.length,n=4*e*i,o=new ArrayBuffer(n),s=new Float32Array(o);for(let a=0;a=0;l--)i=r[l],n=i.name,o=i.namespaceURI,s=i.value,o?(n=i.localName||n,a=t.getAttributeNS(o,n),a!==s&&(i.prefix==="xmlns"&&(n=i.name),t.setAttributeNS(o,n,s))):(a=t.getAttribute(n),a!==s&&t.setAttribute(n,s));for(var c=t.attributes,u=c.length-1;u>=0;u--)i=c[u],n=i.name,o=i.namespaceURI,o?(n=i.localName||n,e.hasAttributeNS(o,n)||t.removeAttributeNS(o,n)):e.hasAttribute(n)||t.removeAttribute(n)}}var jd,QM="http://www.w3.org/1999/xhtml",bi=typeof document=="undefined"?void 0:document,_M=!!bi&&"content"in bi.createElement("template"),AM=!!bi&&bi.createRange&&"createContextualFragment"in bi.createRange();function RM(t){var e=bi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function $M(t){jd||(jd=bi.createRange(),jd.selectNode(bi.body));var e=jd.createContextualFragment(t);return e.childNodes[0]}function XM(t){var e=bi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function IM(t){return t=t.trim(),_M?RM(t):AM?$M(t):XM(t)}function Bd(t,e){var r=t.nodeName,i=e.nodeName,n,o;return r===i?!0:(n=r.charCodeAt(0),o=i.charCodeAt(0),n<=90&&o>=97?r===i.toUpperCase():o<=90&&n>=97?i===r.toUpperCase():!1)}function LM(t,e){return!e||e===QM?bi.createElement(t):bi.createElementNS(e,t)}function zM(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function b1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var Fk={OPTION:function(t,e){var r=t.parentNode;if(r){var i=r.nodeName.toUpperCase();i==="OPTGROUP"&&(r=r.parentNode,i=r&&r.nodeName.toUpperCase()),i==="SELECT"&&!r.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),r.selectedIndex=-1)}b1(t,e,"selected")},INPUT:function(t,e){b1(t,e,"checked"),b1(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var r=e.value;t.value!==r&&(t.value=r);var i=t.firstChild;if(i){var n=i.nodeValue;if(n==r||!r&&n==t.placeholder)return;i.nodeValue=r}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var r=-1,i=0,n=t.firstChild,o,s;n;)if(s=n.nodeName&&n.nodeName.toUpperCase(),s==="OPTGROUP")o=n,n=o.firstChild;else{if(s==="OPTION"){if(n.hasAttribute("selected")){r=i;break}i++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=r}}},wu=1,Wk=11,Zk=3,Yk=8;function ys(){}function MM(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function DM(t){return function(r,i,n){if(n||(n={}),typeof i=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"||r.nodeName==="BODY"){var o=i;i=bi.createElement("html"),i.innerHTML=o}else i=IM(i);else i.nodeType===Wk&&(i=i.firstElementChild);var s=n.getNodeKey||MM,a=n.onBeforeNodeAdded||ys,l=n.onNodeAdded||ys,c=n.onBeforeElUpdated||ys,u=n.onElUpdated||ys,f=n.onBeforeNodeDiscarded||ys,d=n.onNodeDiscarded||ys,p=n.onBeforeElChildrenUpdated||ys,O=n.skipFromChildren||ys,w=n.addChild||function(se,he){return se.appendChild(he)},x=n.childrenOnly===!0,k=Object.create(null),C=[];function R(se){C.push(se)}function Q(se,he){if(se.nodeType===wu)for(var K=se.firstChild;K;){var _=void 0;he&&(_=s(K))?R(_):(d(K),K.firstChild&&Q(K,he)),K=K.nextSibling}}function z(se,he,K){f(se)!==!1&&(he&&he.removeChild(se),d(se),Q(se,K))}function L(se){if(se.nodeType===wu||se.nodeType===Wk)for(var he=se.firstChild;he;){var K=s(he);K&&(k[K]=he),L(he),he=he.nextSibling}}L(r);function Z(se){l(se);for(var he=se.firstChild;he;){var K=he.nextSibling,_=s(he);if(_){var G=k[_];G&&Bd(he,G)?(he.parentNode.replaceChild(G,he),H(G,he)):Z(he)}else Z(he);he=K}}function re(se,he,K){for(;he;){var _=he.nextSibling;(K=s(he))?R(K):z(he,se,!0),he=_}}function H(se,he,K){var _=s(he);_&&delete k[_],!(!K&&(c(se,he)===!1||(t(se,he),u(se),p(se,he)===!1)))&&(se.nodeName!=="TEXTAREA"?q(se,he):Fk.TEXTAREA(se,he))}function q(se,he){var K=O(se,he),_=he.firstChild,G=se.firstChild,ae,j,Je,at,st;e:for(;_;){for(at=_.nextSibling,ae=s(_);!K&&G;){if(Je=G.nextSibling,_.isSameNode&&_.isSameNode(G)){_=at,G=Je;continue e}j=s(G);var Ce=G.nodeType,Ze=void 0;if(Ce===_.nodeType&&(Ce===wu?(ae?ae!==j&&((st=k[ae])?Je===st?Ze=!1:(se.insertBefore(st,G),j?R(j):z(G,se,!0),G=st):Ze=!1):j&&(Ze=!1),Ze=Ze!==!1&&Bd(G,_),Ze&&H(G,_)):(Ce===Zk||Ce==Yk)&&(Ze=!0,G.nodeValue!==_.nodeValue&&(G.nodeValue=_.nodeValue))),Ze){_=at,G=Je;continue e}j?R(j):z(G,se,!0),G=Je}if(ae&&(st=k[ae])&&Bd(st,_))K||w(se,st),H(st,_);else{var Xt=a(_);Xt!==!1&&(Xt&&(_=Xt),_.actualize&&(_=_.actualize(se.ownerDocument||bi)),w(se,_),Z(_))}_=at,G=Je}re(se,G,j);var ct=Fk[se.nodeName];ct&&ct(se,he)}var oe=r,pe=oe.nodeType,fe=i.nodeType;if(!x){if(pe===wu)fe===wu?Bd(r,i)||(d(r),oe=zM(r,LM(i.nodeName,i.namespaceURI))):oe=i;else if(pe===Zk||pe===Yk){if(fe===pe)return oe.nodeValue!==i.nodeValue&&(oe.nodeValue=i.nodeValue),oe;oe=i}}if(oe===i)d(r);else{if(i.isSameNode&&i.isSameNode(oe))return;if(H(oe,i,x),C)for(var ge=0,ve=C.length;ges.length,l;a&&s.push(n);try{l=t.apply(this,s)}catch(c){let u=c;if(a&&r)throw u;return n(u)}a||(l instanceof Promise?l.then(o,n):l instanceof Error?n(l):o(l))}function n(s,...a){r||(r=!0,e(s,...a))}function o(s){n(null,s)}}function w1(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?a6(t.position):"start"in t||"end"in t?a6(t):"line"in t||"column"in t?v1(t):""}function v1(t){return l6(t&&t.line)+":"+l6(t&&t.column)}function a6(t){return v1(t&&t.start)+"-"+v1(t&&t.end)}function l6(t){return t&&typeof t=="number"?t:1}var ur=class extends Error{constructor(e,r,i){super(),typeof r=="string"&&(i=r,r=void 0);let n="",o={},s=!1;if(r&&("line"in r&&"column"in r?o={place:r}:"start"in r&&"end"in r?o={place:r}:"type"in r?o={ancestors:[r],place:r.position}:o=ne({},r)),typeof e=="string"?n=e:!o.cause&&e&&(s=!0,n=e.message,o.cause=e),!o.ruleId&&!o.source&&typeof i=="string"){let l=i.indexOf(":");l===-1?o.ruleId=i:(o.source=i.slice(0,l),o.ruleId=i.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=a?a.line:void 0,this.name=w1(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}};ur.prototype.file="";ur.prototype.name="";ur.prototype.reason="";ur.prototype.message="";ur.prototype.stack="";ur.prototype.column=void 0;ur.prototype.line=void 0;ur.prototype.ancestors=void 0;ur.prototype.cause=void 0;ur.prototype.fatal=void 0;ur.prototype.place=void 0;ur.prototype.ruleId=void 0;ur.prototype.source=void 0;var bn={basename:jM,dirname:BM,extname:VM,join:qM,sep:"/"};function jM(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');ku(t);let r=0,i=-1,n=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;n--;)if(t.codePointAt(n)===47){if(o){r=n+1;break}}else i<0&&(o=!0,i=n+1);return i<0?"":t.slice(r,i)}if(e===t)return"";let s=-1,a=e.length-1;for(;n--;)if(t.codePointAt(n)===47){if(o){r=n+1;break}}else s<0&&(o=!0,s=n+1),a>-1&&(t.codePointAt(n)===e.codePointAt(a--)?a<0&&(i=n):(a=-1,i=s));return r===i?i=s:i<0&&(i=t.length),t.slice(r,i)}function BM(t){if(ku(t),t.length===0)return".";let e=-1,r=t.length,i;for(;--r;)if(t.codePointAt(r)===47){if(i){e=r;break}}else i||(i=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function VM(t){ku(t);let e=t.length,r=-1,i=0,n=-1,o=0,s;for(;e--;){let a=t.codePointAt(e);if(a===47){if(s){i=e+1;break}continue}r<0&&(s=!0,r=e+1),a===46?n<0?n=e:o!==1&&(o=1):n>-1&&(o=-1)}return n<0||r<0||o===0||o===1&&n===r-1&&n===i+1?"":t.slice(n,r)}function qM(...t){let e=-1,r;for(;++e0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function WM(t,e){let r="",i=0,n=-1,o=0,s=-1,a,l;for(;++s<=t.length;){if(s2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",i=0):(r=r.slice(0,l),i=r.length-1-r.lastIndexOf("/")),n=s,o=0;continue}}else if(r.length>0){r="",i=0,n=s,o=0;continue}}e&&(r=r.length>0?r+"/..":"..",i=2)}else r.length>0?r+="/"+t.slice(n+1,s):r=t.slice(n+1,s),i=s-n-1;n=s,o=0}else a===46&&o>-1?o++:o=-1}return r}function ku(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var c6={cwd:ZM};function ZM(){return"/"}function Ll(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function u6(t){if(typeof t=="string")t=new URL(t);else if(!Ll(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return YM(t)}function YM(t){if(t.hostname!==""){let i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}let e=t.pathname,r=-1;for(;++r0){let[p,...O]=u,w=i[d][1];xu(w)&&xu(p)&&(p=(0,Fd.default)(!0,w,p)),i[d]=[c,p,...O]}}}},Wd=new P1().freeze();function T1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function E1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function C1(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function d6(t){if(!xu(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function p6(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function qd(t){return KM(t)?t:new vs(t)}function KM(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function JM(t){return typeof t=="string"||eD(t)}function eD(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var tD={};function Q1(t,e){let r=e||tD,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return O6(t,i,n)}function O6(t,e,r){if(rD(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return m6(t.children,e,r)}return Array.isArray(t)?m6(t,e,r):""}function m6(t,e,r){let i=[],n=-1;for(;++nn?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)s=Array.from(i),s.unshift(e,r),t.splice(...s);else for(r&&t.splice(e,r);o0?($r(t,t.length,0,e),t):e}var g6={}.hasOwnProperty;function b6(t){let e={},r=-1;for(;++r13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCharCode(r)}function ko(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var oD=ws(new RegExp("\\p{P}","u")),$i=ws(/[A-Za-z]/),oi=ws(/[\dA-Za-z]/),y6=ws(/[#-'*+\--9=?A-Z^-~]/);function Su(t){return t!==null&&(t<32||t===127)}var Tu=ws(/\d/),v6=ws(/[\dA-Fa-f]/),_1=ws(/[!-/:-@[-`{-~]/);function Me(t){return t!==null&&t<-2}function sr(t){return t!==null&&(t<0||t===32)}function tt(t){return t===-2||t===-1||t===32}function w6(t){return _1(t)||oD(t)}var x6=ws(/\s/);function ws(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function rt(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return tt(l)?(t.enter(r),a(l)):e(l)}function a(l){return tt(l)&&o++s))return;let Z=e.events.length,re=Z,H,q;for(;re--;)if(e.events[re][0]==="exit"&&e.events[re][1].type==="chunkFlow"){if(H){q=e.events[re][1].end;break}H=!0}for(k(i),L=Z;LR;){let z=r[Q];e.containerState=z[1],z[0].exit.call(e,t)}r.length=R}function C(){n.write([null]),o=void 0,n=void 0,e.containerState._closeFlow=void 0}}function lD(t,e,r){return rt(t,t.attempt(this.parser.constructs.document,e,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function A1(t){if(t===null||sr(t)||x6(t))return 1;if(w6(t))return 2}function zl(t,e,r){let i=[],n=-1;for(;++n1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;let f=Object.assign({},t[i][1].end),d=Object.assign({},t[r][1].start);E6(f,-l),E6(d,l),s={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[i][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[r][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},t[i][1].end),end:Object.assign({},t[r][1].start)},n={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},a.end)},t[i][1].end=Object.assign({},s.start),t[r][1].start=Object.assign({},a.end),c=[],t[i][1].end.offset-t[i][1].start.offset&&(c=ni(c,[["enter",t[i][1],e],["exit",t[i][1],e]])),c=ni(c,[["enter",n,e],["enter",s,e],["exit",s,e],["enter",o,e]]),c=ni(c,zl(e.parser.constructs.insideSpan.null,t.slice(i+1,r),e)),c=ni(c,[["exit",o,e],["enter",a,e],["exit",a,e],["exit",n,e]]),t[r][1].end.offset-t[r][1].start.offset?(u=2,c=ni(c,[["enter",t[r][1],e],["exit",t[r][1],e]])):u=0,$r(t,i-1,r-i+3,c),r=i+c.length-u-2;break}}for(r=-1;++r0&&tt(L)?rt(t,C,"linePrefix",o+1)(L):C(L)}function C(L){return L===null||Me(L)?t.check(C6,w,Q)(L):(t.enter("codeFlowValue"),R(L))}function R(L){return L===null||Me(L)?(t.exit("codeFlowValue"),C(L)):(t.consume(L),R)}function Q(L){return t.exit("codeFenced"),e(L)}function z(L,Z,re){let H=0;return q;function q(ve){return L.enter("lineEnding"),L.consume(ve),L.exit("lineEnding"),oe}function oe(ve){return L.enter("codeFencedFence"),tt(ve)?rt(L,pe,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ve):pe(ve)}function pe(ve){return ve===a?(L.enter("codeFencedFenceSequence"),fe(ve)):re(ve)}function fe(ve){return ve===a?(H++,L.consume(ve),fe):H>=s?(L.exit("codeFencedFenceSequence"),tt(ve)?rt(L,ge,"whitespace")(ve):ge(ve)):re(ve)}function ge(ve){return ve===null||Me(ve)?(L.exit("codeFencedFence"),Z(ve)):re(ve)}}}function yD(t,e,r){let i=this;return n;function n(s){return s===null?r(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o)}function o(s){return i.parser.lazy[i.now().line]?r(s):e(s)}}var Cu={name:"codeIndented",tokenize:wD},vD={tokenize:xD,partial:!0};function wD(t,e,r){let i=this;return n;function n(c){return t.enter("codeIndented"),rt(t,o,"linePrefix",4+1)(c)}function o(c){let u=i.events[i.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?s(c):r(c)}function s(c){return c===null?l(c):Me(c)?t.attempt(vD,s,l)(c):(t.enter("codeFlowValue"),a(c))}function a(c){return c===null||Me(c)?(t.exit("codeFlowValue"),s(c)):(t.consume(c),a)}function l(c){return t.exit("codeIndented"),e(c)}}function xD(t,e,r){let i=this;return n;function n(s){return i.parser.lazy[i.now().line]?r(s):Me(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),n):rt(t,o,"linePrefix",4+1)(s)}function o(s){let a=i.events[i.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):Me(s)?n(s):r(s)}}var $1={name:"codeText",tokenize:TD,resolve:kD,previous:SD};function kD(t){let e=t.length-4,r=3,i,n;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(i=r;++i=4?e(s):t.interrupt(i.parser.constructs.flow,r,e)(s)}}function e0(t,e,r,i,n,o,s,a,l){let c=l||Number.POSITIVE_INFINITY,u=0;return f;function f(k){return k===60?(t.enter(i),t.enter(n),t.enter(o),t.consume(k),t.exit(o),d):k===null||k===32||k===41||Su(k)?r(k):(t.enter(i),t.enter(s),t.enter(a),t.enter("chunkString",{contentType:"string"}),w(k))}function d(k){return k===62?(t.enter(o),t.consume(k),t.exit(o),t.exit(n),t.exit(i),e):(t.enter(a),t.enter("chunkString",{contentType:"string"}),p(k))}function p(k){return k===62?(t.exit("chunkString"),t.exit(a),d(k)):k===null||k===60||Me(k)?r(k):(t.consume(k),k===92?O:p)}function O(k){return k===60||k===62||k===92?(t.consume(k),p):p(k)}function w(k){return!u&&(k===null||k===41||sr(k))?(t.exit("chunkString"),t.exit(a),t.exit(s),t.exit(i),e(k)):u999||p===null||p===91||p===93&&!l||p===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?r(p):p===93?(t.exit(o),t.enter(n),t.consume(p),t.exit(n),t.exit(i),e):Me(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||Me(p)||a++>999?(t.exit("chunkString"),u(p)):(t.consume(p),l||(l=!tt(p)),p===92?d:f)}function d(p){return p===91||p===92||p===93?(t.consume(p),a++,f):f(p)}}function r0(t,e,r,i,n,o){let s;return a;function a(d){return d===34||d===39||d===40?(t.enter(i),t.enter(n),t.consume(d),t.exit(n),s=d===40?41:d,l):r(d)}function l(d){return d===s?(t.enter(n),t.consume(d),t.exit(n),t.exit(i),e):(t.enter(o),c(d))}function c(d){return d===s?(t.exit(o),l(s)):d===null?r(d):Me(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),rt(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(d))}function u(d){return d===s||d===null||Me(d)?(t.exit("chunkString"),c(d)):(t.consume(d),d===92?f:u)}function f(d){return d===s||d===92?(t.consume(d),u):u(d)}}function Sa(t,e){let r;return i;function i(n){return Me(n)?(t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),r=!0,i):tt(n)?rt(t,i,r?"linePrefix":"lineSuffix")(n):e(n)}}var I1={name:"definition",tokenize:RD},AD={tokenize:$D,partial:!0};function RD(t,e,r){let i=this,n;return o;function o(p){return t.enter("definition"),s(p)}function s(p){return t0.call(i,t,a,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return n=ko(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),l):r(p)}function l(p){return sr(p)?Sa(t,c)(p):c(p)}function c(p){return e0(t,u,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function u(p){return t.attempt(AD,f,f)(p)}function f(p){return tt(p)?rt(t,d,"whitespace")(p):d(p)}function d(p){return p===null||Me(p)?(t.exit("definition"),i.parser.defined.push(n),e(p)):r(p)}}function $D(t,e,r){return i;function i(a){return sr(a)?Sa(t,n)(a):r(a)}function n(a){return r0(t,o,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return tt(a)?rt(t,s,"whitespace")(a):s(a)}function s(a){return a===null||Me(a)?e(a):r(a)}}var L1={name:"hardBreakEscape",tokenize:XD};function XD(t,e,r){return i;function i(o){return t.enter("hardBreakEscape"),t.consume(o),n}function n(o){return Me(o)?(t.exit("hardBreakEscape"),e(o)):r(o)}}var z1={name:"headingAtx",tokenize:LD,resolve:ID};function ID(t,e){let r=t.length-2,i=3,n,o;return t[i][1].type==="whitespace"&&(i+=2),r-2>i&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(i===r-1||r-4>i&&t[r-2][1].type==="whitespace")&&(r-=i+1===r?2:4),r>i&&(n={type:"atxHeadingText",start:t[i][1].start,end:t[r][1].end},o={type:"chunkText",start:t[i][1].start,end:t[r][1].end,contentType:"text"},$r(t,i,r-i+1,[["enter",n,e],["enter",o,e],["exit",o,e],["exit",n,e]])),t}function LD(t,e,r){let i=0;return n;function n(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),s(u)}function s(u){return u===35&&i++<6?(t.consume(u),s):u===null||sr(u)?(t.exit("atxHeadingSequence"),a(u)):r(u)}function a(u){return u===35?(t.enter("atxHeadingSequence"),l(u)):u===null||Me(u)?(t.exit("atxHeading"),e(u)):tt(u)?rt(t,a,"whitespace")(u):(t.enter("atxHeadingText"),c(u))}function l(u){return u===35?(t.consume(u),l):(t.exit("atxHeadingSequence"),a(u))}function c(u){return u===null||u===35||sr(u)?(t.exit("atxHeadingText"),a(u)):(t.consume(u),c)}}var P6=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],M1=["pre","script","style","textarea"];var D1={name:"htmlFlow",tokenize:UD,resolveTo:DD,concrete:!0},zD={tokenize:jD,partial:!0},MD={tokenize:ND,partial:!0};function DD(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function UD(t,e,r){let i=this,n,o,s,a,l;return c;function c(j){return u(j)}function u(j){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(j),f}function f(j){return j===33?(t.consume(j),d):j===47?(t.consume(j),o=!0,w):j===63?(t.consume(j),n=3,i.interrupt?e:_):$i(j)?(t.consume(j),s=String.fromCharCode(j),x):r(j)}function d(j){return j===45?(t.consume(j),n=2,p):j===91?(t.consume(j),n=5,a=0,O):$i(j)?(t.consume(j),n=4,i.interrupt?e:_):r(j)}function p(j){return j===45?(t.consume(j),i.interrupt?e:_):r(j)}function O(j){let Je="CDATA[";return j===Je.charCodeAt(a++)?(t.consume(j),a===Je.length?i.interrupt?e:pe:O):r(j)}function w(j){return $i(j)?(t.consume(j),s=String.fromCharCode(j),x):r(j)}function x(j){if(j===null||j===47||j===62||sr(j)){let Je=j===47,at=s.toLowerCase();return!Je&&!o&&M1.includes(at)?(n=1,i.interrupt?e(j):pe(j)):P6.includes(s.toLowerCase())?(n=6,Je?(t.consume(j),k):i.interrupt?e(j):pe(j)):(n=7,i.interrupt&&!i.parser.lazy[i.now().line]?r(j):o?C(j):R(j))}return j===45||oi(j)?(t.consume(j),s+=String.fromCharCode(j),x):r(j)}function k(j){return j===62?(t.consume(j),i.interrupt?e:pe):r(j)}function C(j){return tt(j)?(t.consume(j),C):q(j)}function R(j){return j===47?(t.consume(j),q):j===58||j===95||$i(j)?(t.consume(j),Q):tt(j)?(t.consume(j),R):q(j)}function Q(j){return j===45||j===46||j===58||j===95||oi(j)?(t.consume(j),Q):z(j)}function z(j){return j===61?(t.consume(j),L):tt(j)?(t.consume(j),z):R(j)}function L(j){return j===null||j===60||j===61||j===62||j===96?r(j):j===34||j===39?(t.consume(j),l=j,Z):tt(j)?(t.consume(j),L):re(j)}function Z(j){return j===l?(t.consume(j),l=null,H):j===null||Me(j)?r(j):(t.consume(j),Z)}function re(j){return j===null||j===34||j===39||j===47||j===60||j===61||j===62||j===96||sr(j)?z(j):(t.consume(j),re)}function H(j){return j===47||j===62||tt(j)?R(j):r(j)}function q(j){return j===62?(t.consume(j),oe):r(j)}function oe(j){return j===null||Me(j)?pe(j):tt(j)?(t.consume(j),oe):r(j)}function pe(j){return j===45&&n===2?(t.consume(j),Qe):j===60&&n===1?(t.consume(j),se):j===62&&n===4?(t.consume(j),G):j===63&&n===3?(t.consume(j),_):j===93&&n===5?(t.consume(j),K):Me(j)&&(n===6||n===7)?(t.exit("htmlFlowData"),t.check(zD,ae,fe)(j)):j===null||Me(j)?(t.exit("htmlFlowData"),fe(j)):(t.consume(j),pe)}function fe(j){return t.check(MD,ge,ae)(j)}function ge(j){return t.enter("lineEnding"),t.consume(j),t.exit("lineEnding"),ve}function ve(j){return j===null||Me(j)?fe(j):(t.enter("htmlFlowData"),pe(j))}function Qe(j){return j===45?(t.consume(j),_):pe(j)}function se(j){return j===47?(t.consume(j),s="",he):pe(j)}function he(j){if(j===62){let Je=s.toLowerCase();return M1.includes(Je)?(t.consume(j),G):pe(j)}return $i(j)&&s.length<8?(t.consume(j),s+=String.fromCharCode(j),he):pe(j)}function K(j){return j===93?(t.consume(j),_):pe(j)}function _(j){return j===62?(t.consume(j),G):j===45&&n===2?(t.consume(j),_):pe(j)}function G(j){return j===null||Me(j)?(t.exit("htmlFlowData"),ae(j)):(t.consume(j),G)}function ae(j){return t.exit("htmlFlow"),e(j)}}function ND(t,e,r){let i=this;return n;function n(s){return Me(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o):r(s)}function o(s){return i.parser.lazy[i.now().line]?r(s):e(s)}}function jD(t,e,r){return i;function i(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),t.attempt(xs,e,r)}}var U1={name:"htmlText",tokenize:BD};function BD(t,e,r){let i=this,n,o,s;return a;function a(_){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(_),l}function l(_){return _===33?(t.consume(_),c):_===47?(t.consume(_),z):_===63?(t.consume(_),R):$i(_)?(t.consume(_),re):r(_)}function c(_){return _===45?(t.consume(_),u):_===91?(t.consume(_),o=0,O):$i(_)?(t.consume(_),C):r(_)}function u(_){return _===45?(t.consume(_),p):r(_)}function f(_){return _===null?r(_):_===45?(t.consume(_),d):Me(_)?(s=f,se(_)):(t.consume(_),f)}function d(_){return _===45?(t.consume(_),p):f(_)}function p(_){return _===62?Qe(_):_===45?d(_):f(_)}function O(_){let G="CDATA[";return _===G.charCodeAt(o++)?(t.consume(_),o===G.length?w:O):r(_)}function w(_){return _===null?r(_):_===93?(t.consume(_),x):Me(_)?(s=w,se(_)):(t.consume(_),w)}function x(_){return _===93?(t.consume(_),k):w(_)}function k(_){return _===62?Qe(_):_===93?(t.consume(_),k):w(_)}function C(_){return _===null||_===62?Qe(_):Me(_)?(s=C,se(_)):(t.consume(_),C)}function R(_){return _===null?r(_):_===63?(t.consume(_),Q):Me(_)?(s=R,se(_)):(t.consume(_),R)}function Q(_){return _===62?Qe(_):R(_)}function z(_){return $i(_)?(t.consume(_),L):r(_)}function L(_){return _===45||oi(_)?(t.consume(_),L):Z(_)}function Z(_){return Me(_)?(s=Z,se(_)):tt(_)?(t.consume(_),Z):Qe(_)}function re(_){return _===45||oi(_)?(t.consume(_),re):_===47||_===62||sr(_)?H(_):r(_)}function H(_){return _===47?(t.consume(_),Qe):_===58||_===95||$i(_)?(t.consume(_),q):Me(_)?(s=H,se(_)):tt(_)?(t.consume(_),H):Qe(_)}function q(_){return _===45||_===46||_===58||_===95||oi(_)?(t.consume(_),q):oe(_)}function oe(_){return _===61?(t.consume(_),pe):Me(_)?(s=oe,se(_)):tt(_)?(t.consume(_),oe):H(_)}function pe(_){return _===null||_===60||_===61||_===62||_===96?r(_):_===34||_===39?(t.consume(_),n=_,fe):Me(_)?(s=pe,se(_)):tt(_)?(t.consume(_),pe):(t.consume(_),ge)}function fe(_){return _===n?(t.consume(_),n=void 0,ve):_===null?r(_):Me(_)?(s=fe,se(_)):(t.consume(_),fe)}function ge(_){return _===null||_===34||_===39||_===60||_===61||_===96?r(_):_===47||_===62||sr(_)?H(_):(t.consume(_),ge)}function ve(_){return _===47||_===62||sr(_)?H(_):r(_)}function Qe(_){return _===62?(t.consume(_),t.exit("htmlTextData"),t.exit("htmlText"),e):r(_)}function se(_){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(_),t.exit("lineEnding"),he}function he(_){return tt(_)?rt(t,K,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):K(_)}function K(_){return t.enter("htmlTextData"),s(_)}}var Ta={name:"labelEnd",tokenize:YD,resolveTo:ZD,resolveAll:WD},VD={tokenize:HD},qD={tokenize:GD},FD={tokenize:KD};function WD(t){let e=-1;for(;++e=3&&(c===null||Me(c))?(t.exit("thematicBreak"),e(c)):r(c)}function l(c){return c===n?(t.consume(c),i++,l):(t.exit("thematicBreakSequence"),tt(c)?rt(t,a,"whitespace")(c):a(c))}}var Fr={name:"list",tokenize:oU,continuation:{tokenize:sU},exit:lU},iU={tokenize:cU,partial:!0},nU={tokenize:aU,partial:!0};function oU(t,e,r){let i=this,n=i.events[i.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,s=0;return a;function a(p){let O=i.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(O==="listUnordered"?!i.containerState.marker||p===i.containerState.marker:Tu(p)){if(i.containerState.type||(i.containerState.type=O,t.enter(O,{_container:!0})),O==="listUnordered")return t.enter("listItemPrefix"),p===42||p===45?t.check(Ea,r,c)(p):c(p);if(!i.interrupt||p===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(p)}return r(p)}function l(p){return Tu(p)&&++s<10?(t.consume(p),l):(!i.interrupt||s<2)&&(i.containerState.marker?p===i.containerState.marker:p===41||p===46)?(t.exit("listItemValue"),c(p)):r(p)}function c(p){return t.enter("listItemMarker"),t.consume(p),t.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||p,t.check(xs,i.interrupt?r:u,t.attempt(iU,d,f))}function u(p){return i.containerState.initialBlankLine=!0,o++,d(p)}function f(p){return tt(p)?(t.enter("listItemPrefixWhitespace"),t.consume(p),t.exit("listItemPrefixWhitespace"),d):r(p)}function d(p){return i.containerState.size=o+i.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(p)}}function sU(t,e,r){let i=this;return i.containerState._closeFlow=void 0,t.check(xs,n,o);function n(a){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,rt(t,e,"listItemIndent",i.containerState.size+1)(a)}function o(a){return i.containerState.furtherBlankLines||!tt(a)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,s(a)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(nU,e,s)(a))}function s(a){return i.containerState._closeFlow=!0,i.interrupt=void 0,rt(t,t.attempt(Fr,e,r),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function aU(t,e,r){let i=this;return rt(t,n,"listItemIndent",i.containerState.size+1);function n(o){let s=i.events[i.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===i.containerState.size?e(o):r(o)}}function lU(t){t.exit(this.containerState.type)}function cU(t,e,r){let i=this;return rt(t,n,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function n(o){let s=i.events[i.events.length-1];return!tt(o)&&s&&s[1].type==="listItemPrefixWhitespace"?e(o):r(o)}}var i0={name:"setextUnderline",tokenize:fU,resolveTo:uU};function uU(t,e){let r=t.length,i,n,o;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){i=r;break}t[r][1].type==="paragraph"&&(n=r)}else t[r][1].type==="content"&&t.splice(r,1),!o&&t[r][1].type==="definition"&&(o=r);let s={type:"setextHeading",start:Object.assign({},t[n][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[n][1].type="setextHeadingText",o?(t.splice(n,0,["enter",s,e]),t.splice(o+1,0,["exit",t[i][1],e]),t[i][1].end=Object.assign({},t[o][1].end)):t[i][1]=s,t.push(["exit",s,e]),t}function fU(t,e,r){let i=this,n;return o;function o(c){let u=i.events.length,f;for(;u--;)if(i.events[u][1].type!=="lineEnding"&&i.events[u][1].type!=="linePrefix"&&i.events[u][1].type!=="content"){f=i.events[u][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||f)?(t.enter("setextHeadingLine"),n=c,s(c)):r(c)}function s(c){return t.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===n?(t.consume(c),a):(t.exit("setextHeadingLineSequence"),tt(c)?rt(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Me(c)?(t.exit("setextHeadingLine"),e(c)):r(c)}}var Q6={tokenize:hU};function hU(t){let e=this,r=t.attempt(xs,i,t.attempt(this.parser.constructs.flowInitial,n,rt(t,t.attempt(this.parser.constructs.flow,n,t.attempt(X1,n)),"linePrefix")));return r;function i(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,r}function n(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,r}}var _6={resolveAll:X6()},A6=$6("string"),R6=$6("text");function $6(t){return{tokenize:e,resolveAll:X6(t==="text"?dU:void 0)};function e(r){let i=this,n=this.parser.constructs[t],o=r.attempt(n,s,a);return s;function s(u){return c(u)?o(u):a(u)}function a(u){if(u===null){r.consume(u);return}return r.enter("data"),r.consume(u),l}function l(u){return c(u)?(r.exit("data"),o(u)):(r.consume(u),l)}function c(u){if(u===null)return!0;let f=n[u],d=-1;if(f)for(;++d-1){let a=s[0];typeof a=="string"?s[0]=a.slice(i):s.shift()}o>0&&s.push(t[n].slice(0,o))}return s}function mU(t,e){let r=-1,i=[],n;for(;++r{this.unloaded=!0}),this.socket.onOpen(()=>{this.isUnloaded()&&window.location.reload()})}isProfileEnabled(){return this.sessionStorage.getItem(o1)==="true"}isDebugEnabled(){return this.sessionStorage.getItem(Qd)==="true"}isDebugDisabled(){return this.sessionStorage.getItem(Qd)==="false"}enableDebug(){this.sessionStorage.setItem(Qd,"true")}enableProfiling(){this.sessionStorage.setItem(o1,"true")}disableDebug(){this.sessionStorage.setItem(Qd,"false")}disableProfiling(){this.sessionStorage.removeItem(o1)}enableLatencySim(t){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(s1,t)}disableLatencySim(){this.sessionStorage.removeItem(s1)}getLatencySim(){let t=this.sessionStorage.getItem(s1);return t?parseInt(t):null}getSocket(){return this.socket}connect(){window.location.hostname==="localhost"&&!this.isDebugDisabled()&&this.enableDebug();let t=()=>{this.joinRootViews()?(this.bindTopLevelEvents(),this.socket.connect()):this.main?this.socket.connect():this.bindTopLevelEvents({dead:!0}),this.joinDeadView()};["complete","loaded","interactive"].indexOf(document.readyState)>=0?t():document.addEventListener("DOMContentLoaded",()=>t())}disconnect(t){clearTimeout(this.reloadWithJitterTimer),this.socket.disconnect(t)}replaceTransport(t){clearTimeout(this.reloadWithJitterTimer),this.socket.replaceTransport(t),this.connect()}execJS(t,e,r=null){this.owner(t,i=>Hi.exec(r,e,i,t))}execJSHookPush(t,e,r,i){this.withinOwners(t,n=>{Hi.exec("hook",e,n,t,["push",{data:r,callback:i}])})}unload(){this.unloaded||(this.main&&this.isConnected()&&this.log(this.main,"socket",()=>["disconnect for page nav"]),this.unloaded=!0,this.destroyAllViews(),this.disconnect())}triggerDOM(t,e){this.domCallbacks[t](...e)}time(t,e){if(!this.isProfileEnabled()||!console.time)return e();console.time(t);let r=e();return console.timeEnd(t),r}log(t,e,r){if(this.viewLogger){let[i,n]=r();this.viewLogger(t,e,i,n)}else if(this.isDebugEnabled()){let[i,n]=r();Zz(t,e,i,n)}}requestDOMUpdate(t){this.transitions.after(t)}transition(t,e,r=function(){}){this.transitions.addTransition(t,e,r)}onChannel(t,e,r){t.on(e,i=>{let n=this.getLatencySim();n?setTimeout(()=>r(i),n):r(i)})}wrapPush(t,e,r){let i=this.getLatencySim(),n=t.joinCount;if(!i)return this.isConnected()&&e.timeout?r().receive("timeout",()=>{t.joinCount===n&&!t.isDestroyed()&&this.reloadWithJitter(t,()=>{this.log(t,"timeout",()=>["received timeout while communicating with server. Falling back to hard refresh for recovery"])})}):r();let o={receives:[],receive(s,a){this.receives.push([s,a])}};return setTimeout(()=>{t.isDestroyed()||o.receives.reduce((s,[a,l])=>s.receive(a,l),r())},i),o}reloadWithJitter(t,e){clearTimeout(this.reloadWithJitterTimer),this.disconnect();let r=this.reloadJitterMin,i=this.reloadJitterMax,n=Math.floor(Math.random()*(i-r+1))+r,o=Vn.updateLocal(this.localStorage,window.location.pathname,Ek,0,s=>s+1);o>this.maxReloads&&(n=this.failsafeJitter),this.reloadWithJitterTimer=setTimeout(()=>{t.isDestroyed()||t.isConnected()||(t.destroy(),e?e():this.log(t,"join",()=>[`encountered ${o} consecutive reloads`]),o>this.maxReloads&&this.log(t,"join",()=>[`exceeded ${this.maxReloads} consecutive reloads. Entering failsafe mode`]),this.hasPendingLink()?window.location=this.pendingLink:window.location.reload())},n)}getHookCallbacks(t){return t&&t.startsWith("Phoenix.")?tM[t.split(".")[1]]:this.hooks[t]}isUnloaded(){return this.unloaded}isConnected(){return this.socket.isConnected()}getBindingPrefix(){return this.bindingPrefix}binding(t){return`${this.getBindingPrefix()}${t}`}channel(t,e){return this.socket.channel(t,e)}joinDeadView(){let t=document.body;if(t&&!this.isPhxView(t)&&!this.isPhxView(document.firstElementChild)){let e=this.newRootView(t);e.setHref(this.getHref()),e.joinDead(),this.main||(this.main=e),window.requestAnimationFrame(()=>e.execNewMounted())}}joinRootViews(){let t=!1;return de.all(document,`${Xl}:not([${Rl}])`,e=>{if(!this.getRootById(e.id)){let r=this.newRootView(e);r.setHref(this.getHref()),r.join(),e.hasAttribute(g1)&&(this.main=r)}t=!0}),t}redirect(t,e){this.unload(),Vn.redirect(t,e)}replaceMain(t,e,r=null,i=this.setPendingLink(t)){let n=this.currentLocation.href;this.outgoingMainEl=this.outgoingMainEl||this.main.el;let o=de.cloneNode(this.outgoingMainEl,"");this.main.showLoader(this.loaderTimeout),this.main.destroy(),this.main=this.newRootView(o,e,n),this.main.setRedirect(t),this.transitionRemoves(),this.main.join((s,a)=>{s===1&&this.commitPendingLink(i)&&this.requestDOMUpdate(()=>{de.findPhxSticky(document).forEach(l=>o.appendChild(l)),this.outgoingMainEl.replaceWith(o),this.outgoingMainEl=null,r&&requestAnimationFrame(()=>r(i)),a()})})}transitionRemoves(t){let e=this.binding("remove");t=t||de.all(document,`[${e}]`),t.forEach(r=>{this.execJS(r,r.getAttribute(e),"remove")})}isPhxView(t){return t.getAttribute&&t.getAttribute(ys)!==null}newRootView(t,e,r){let i=new Xk(t,this,null,e,r);return this.roots[i.id]=i,i}owner(t,e){let r=gs(t.closest(Xl),i=>this.getViewByEl(i))||this.main;r&&e(r)}withinOwners(t,e){this.owner(t,r=>e(r,t))}getViewByEl(t){let e=t.getAttribute(yu);return gs(this.getRootById(e),r=>r.getDescendentByEl(t))}getRootById(t){return this.roots[t]}destroyAllViews(){for(let t in this.roots)this.roots[t].destroy(),delete this.roots[t];this.main=null}destroyViewByEl(t){let e=this.getRootById(t.getAttribute(yu));e&&e.id===t.id?(e.destroy(),delete this.roots[e.id]):e&&e.destroyDescendent(t.id)}setActiveElement(t){if(this.activeElement===t)return;this.activeElement=t;let e=()=>{t===this.activeElement&&(this.activeElement=null),t.removeEventListener("mouseup",this),t.removeEventListener("touchend",this)};t.addEventListener("mouseup",e),t.addEventListener("touchend",e)}getActiveElement(){return document.activeElement===document.body?this.activeElement||document.activeElement:document.activeElement||document.body}dropActiveElement(t){this.prevActive&&t.ownsElement(this.prevActive)&&(this.prevActive=null)}restorePreviouslyActiveFocus(){this.prevActive&&this.prevActive!==document.body&&this.prevActive.focus()}blurActiveElement(){this.prevActive=this.getActiveElement(),this.prevActive!==document.body&&this.prevActive.blur()}bindTopLevelEvents({dead:t}={}){this.boundTopLevelEvents||(this.boundTopLevelEvents=!0,this.socket.onClose(e=>{if(e&&e.code===1e3&&this.main)return this.reloadWithJitter(this.main)}),document.body.addEventListener("click",function(){}),window.addEventListener("pageshow",e=>{e.persisted&&(this.getSocket().disconnect(),this.withPageLoading({to:window.location.href,kind:"redirect"}),window.location.reload())},!0),t||this.bindNav(),this.bindClicks(),t||this.bindForms(),this.bind({keyup:"keyup",keydown:"keydown"},(e,r,i,n,o,s)=>{let a=n.getAttribute(this.binding(Mz)),l=e.key&&e.key.toLowerCase();if(a&&a.toLowerCase()!==l)return;let c=ne({key:e.key},this.eventMeta(r,e,n));Hi.exec(r,o,i,n,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,r,i,n,o,s)=>{if(!s){let a=ne({key:e.key},this.eventMeta(r,e,n));Hi.exec(r,o,i,n,["push",{data:a}])}}),this.bind({blur:"blur",focus:"focus"},(e,r,i,n,o,s)=>{if(s==="window"){let a=this.eventMeta(r,e,n);Hi.exec(r,o,i,n,["push",{data:a}])}}),window.addEventListener("dragover",e=>e.preventDefault()),window.addEventListener("drop",e=>{e.preventDefault();let r=gs(bu(e.target,this.binding(rk)),o=>o.getAttribute(this.binding(rk))),i=r&&document.getElementById(r),n=Array.from(e.dataTransfer.files||[]);!i||i.disabled||n.length===0||!(i.files instanceof FileList)||(Rr.trackFiles(i,n,e.dataTransfer),i.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on(Pk,e=>{let r=e.target;if(!de.isUploadInput(r))return;let i=Array.from(e.detail.files||[]).filter(n=>n instanceof File||n instanceof Blob);Rr.trackFiles(r,i),r.dispatchEvent(new Event("input",{bubbles:!0}))}))}eventMeta(t,e,r){let i=this.metadataCallbacks[t];return i?i(e,r):{}}setPendingLink(t){return this.linkRef++,this.pendingLink=t,this.linkRef}commitPendingLink(t){return this.linkRef!==t?!1:(this.href=this.pendingLink,this.pendingLink=null,!0)}getHref(){return this.href}hasPendingLink(){return!!this.pendingLink}bind(t,e){for(let r in t){let i=t[r];this.on(i,n=>{let o=this.binding(r),s=this.binding(`window-${r}`),a=n.target.getAttribute&&n.target.getAttribute(o);a?this.debounce(n.target,n,i,()=>{this.withinOwners(n.target,l=>{e(n,r,l,n.target,a,null)})}):de.all(document,`[${s}]`,l=>{let c=l.getAttribute(s);this.debounce(l,n,i,()=>{this.withinOwners(l,u=>{e(n,r,u,l,c,"window")})})})})}}bindClicks(){window.addEventListener("mousedown",t=>this.clickStartedAtTarget=t.target),this.bindClick("click","click",!1),this.bindClick("mousedown","capture-click",!0)}bindClick(t,e,r){let i=this.binding(e);window.addEventListener(t,n=>{let o=null;if(r)o=n.target.matches(`[${i}]`)?n.target:n.target.querySelector(`[${i}]`);else{let a=this.clickStartedAtTarget||n.target;o=bu(a,i),this.dispatchClickAway(n,a),this.clickStartedAtTarget=null}let s=o&&o.getAttribute(i);if(!s){!r&&de.isNewPageClick(n,window.location)&&this.unload();return}o.getAttribute("href")==="#"&&n.preventDefault(),!o.hasAttribute(Ri)&&this.debounce(o,n,"click",()=>{this.withinOwners(o,a=>{Hi.exec("click",s,a,o,["push",{data:this.eventMeta("click",n,o)}])})})},r)}dispatchClickAway(t,e){let r=this.binding("click-away");de.all(document,`[${r}]`,i=>{i.isSameNode(e)||i.contains(e)||this.withinOwners(t.target,n=>{let o=i.getAttribute(r);Hi.isVisible(i)&&Hi.isInViewport(i)&&Hi.exec("click",o,n,i,["push",{data:this.eventMeta("click",t,t.target)}])})})}bindNav(){if(!Vn.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let t=null;window.addEventListener("scroll",e=>{clearTimeout(t),t=setTimeout(()=>{Vn.updateCurrentState(r=>Object.assign(r,{scroll:window.scrollY}))},100)}),window.addEventListener("popstate",e=>{if(!this.registerNewLocation(window.location))return;let{type:r,id:i,root:n,scroll:o}=e.state||{},s=window.location.href;de.dispatchEvent(window,"phx:navigate",{detail:{href:s,patch:r==="patch",pop:!0}}),this.requestDOMUpdate(()=>{this.main.isConnected()&&r==="patch"&&i===this.main.id?this.main.pushLinkPatch(s,null,()=>{this.maybeScroll(o)}):this.replaceMain(s,null,()=>{n&&this.replaceRootHistory(),this.maybeScroll(o)})})},!1),window.addEventListener("click",e=>{let r=bu(e.target,t1),i=r&&r.getAttribute(t1);if(!i||!this.isConnected()||!this.main||de.wantsNewTab(e))return;let n=r.href instanceof SVGAnimatedString?r.href.baseVal:r.href,o=r.getAttribute(Rz);e.preventDefault(),e.stopImmediatePropagation(),this.pendingLink!==n&&this.requestDOMUpdate(()=>{if(i==="patch")this.pushHistoryPatch(n,o,r);else if(i==="redirect")this.historyRedirect(n,o);else throw new Error(`expected ${t1} to be "patch" or "redirect", got: ${i}`);let s=r.getAttribute(this.binding("click"));s&&this.requestDOMUpdate(()=>this.execJS(r,s,"click"))})},!1)}maybeScroll(t){typeof t=="number"&&requestAnimationFrame(()=>{window.scrollTo(0,t)})}dispatchEvent(t,e={}){de.dispatchEvent(window,`phx:${t}`,{detail:e})}dispatchEvents(t){t.forEach(([e,r])=>this.dispatchEvent(e,r))}withPageLoading(t,e){de.dispatchEvent(window,"phx:page-loading-start",{detail:t});let r=()=>de.dispatchEvent(window,"phx:page-loading-stop",{detail:t});return e?e(r):r}pushHistoryPatch(t,e,r){if(!this.isConnected())return Vn.redirect(t);this.withPageLoading({to:t,kind:"patch"},i=>{this.main.pushLinkPatch(t,r,n=>{this.historyPatch(t,e,n),i()})})}historyPatch(t,e,r=this.setPendingLink(t)){this.commitPendingLink(r)&&(Vn.pushState(e,{type:"patch",id:this.main.id},t),de.dispatchEvent(window,"phx:navigate",{detail:{patch:!0,href:t,pop:!1}}),this.registerNewLocation(window.location))}historyRedirect(t,e,r){if(!this.isConnected())return Vn.redirect(t,r);if(/^\/$|^\/[^\/]+.*$/.test(t)){let{protocol:n,host:o}=window.location;t=`${n}//${o}${t}`}let i=window.scrollY;this.withPageLoading({to:t,kind:"redirect"},n=>{this.replaceMain(t,r,o=>{o===this.linkRef&&(Vn.pushState(e,{type:"redirect",id:this.main.id,scroll:i},t),de.dispatchEvent(window,"phx:navigate",{detail:{href:t,patch:!1,pop:!1}}),this.registerNewLocation(window.location)),n()})})}replaceRootHistory(){Vn.pushState("replace",{root:!0,type:"patch",id:this.main.id})}registerNewLocation(t){let{pathname:e,search:r}=this.currentLocation;return e+r===t.pathname+t.search?!1:(this.currentLocation=Md(t),!0)}bindForms(){let t=0,e=!1;this.on("submit",r=>{let i=r.target.getAttribute(this.binding("submit")),n=r.target.getAttribute(this.binding("change"));!e&&n&&!i&&(e=!0,r.preventDefault(),this.withinOwners(r.target,o=>{o.disableForm(r.target),window.requestAnimationFrame(()=>{de.isUnloadableFormSubmit(r)&&this.unload(),r.target.submit()})}))},!0),this.on("submit",r=>{let i=r.target.getAttribute(this.binding("submit"));if(!i){de.isUnloadableFormSubmit(r)&&this.unload();return}r.preventDefault(),r.target.disabled=!0,this.withinOwners(r.target,n=>{Hi.exec("submit",i,n,r.target,["push",{submitter:r.submitter}])})},!1);for(let r of["change","input"])this.on(r,i=>{let n=this.binding("change"),o=i.target,s=o.getAttribute(n),a=o.form&&o.form.getAttribute(n),l=s||a;if(!l||o.type==="number"&&o.validity&&o.validity.badInput)return;let c=s?o:o.form,u=t;t++;let{at:f,type:d}=de.private(o,"prev-iteration")||{};f===u-1&&r==="change"&&d==="input"||(de.putPrivate(o,"prev-iteration",{at:u,type:r}),this.debounce(o,i,r,()=>{this.withinOwners(c,p=>{de.putPrivate(o,p1,!0),de.isTextualInput(o)||this.setActiveElement(o),Hi.exec("change",l,p,o,["push",{_target:i.target.name,dispatcher:c}])})}))},!1);this.on("reset",r=>{let i=r.target;de.resetForm(i,this.binding(Dd));let n=Array.from(i.elements).find(o=>o.type==="reset");window.requestAnimationFrame(()=>{n.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!1}))})})}debounce(t,e,r,i){if(r==="blur"||r==="focusout")return i();let n=this.binding(Lz),o=this.binding(zz),s=this.defaults.debounce.toString(),a=this.defaults.throttle.toString();this.withinOwners(t,l=>{let c=()=>!l.isDestroyed()&&document.body.contains(t);de.debounce(t,e,n,s,o,a,c,()=>{i()})})}silenceEvents(t){this.silenced=!0,t(),this.silenced=!1}on(t,e){window.addEventListener(t,r=>{this.silenced||e(r)})}},vM=class{constructor(){this.transitions=new Set,this.pendingOps=[]}reset(){this.transitions.forEach(t=>{clearTimeout(t),this.transitions.delete(t)}),this.flushPendingOps()}after(t){this.size()===0?t():this.pushPendingOp(t)}addTransition(t,e,r){e();let i=setTimeout(()=>{this.transitions.delete(i),r(),this.flushPendingOps()},t);this.transitions.add(i)}pushPendingOp(t){this.pendingOps.push(t)}size(){return this.transitions.size}flushPendingOps(){if(this.size()>0)return;let t=this.pendingOps.shift();t&&(t(),this.flushPendingOps())}};var Lk="livebook:";function ka(t){try{let e=localStorage.getItem(Lk+t);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function Il(t,e){try{let r=JSON.stringify(e);localStorage.setItem(Lk+t,r)}catch(r){console.error(`Failed to write to local storage, reason: ${r.message}`)}}var zk="app_auth_token:";function Mk(t,e){Il(zk+t,e)}function Dk(){let t=window.location.pathname;if(t.startsWith("/apps/")){let e=t.split("/")[2],r=ka(zk+e);if(r)return r}return null}var wM={mounted(){this.handleEvent("persist_app_auth",({slug:t,token:e})=>{Mk(t,e),this.pushEvent("app_auth_persisted")})}},Uk=wM;function Rt(t,e){let r={};for(let i of e){let n=`data-p-${i}`;if(!t.hasAttribute(n))throw new Error(`Missing attribute "${n}" on element <${t.tagName}:${t.id}>`);let o=t.getAttribute(n);r[xM(i)]=JSON.parse(o)}return r}function xM(t){let[e,...r]=t.split("-");return[e,...r.map(i=>i.charAt(0).toUpperCase()+i.slice(1))].join("")}function Nk(t,e,r){let n=new ArrayBuffer(44+t.byteLength),o=new DataView(n),s=t.byteLength/4,a=4,l=e*a,c=r*l,u=s*l,f=0;function d(k){o.setUint32(f,k,!1),f+=4}function p(k){o.setUint32(f,k,!0),f+=4}function O(k){o.setUint16(f,k,!0),f+=2}function w(k){o.setFloat32(f,k,!0),f+=4}d(1380533830),p(36+u),d(1463899717),d(1718449184),p(16),O(3),O(e),p(r),p(c),O(l),O(a*8),d(1684108385),p(u);let x=new Float32Array(t);for(let k=0;k{this.inputEl.click()}),this.inputEl.addEventListener("change",t=>{let[e]=t.target.files;e&&this.loadFile(e)}),this.el.addEventListener("dragover",t=>{t.stopPropagation(),t.preventDefault(),t.dataTransfer.dropEffect="copy"}),this.el.addEventListener("drop",t=>{t.stopPropagation(),t.preventDefault();let[e]=t.dataTransfer.files;e&&!this.isRecording()&&this.loadFile(e)}),this.el.addEventListener("dragenter",t=>{this.el.classList.add(...y1)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...y1)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...y1)}),this.recordButton.addEventListener("click",t=>{this.startRecording()}),this.stopButton.addEventListener("click",t=>{this.stopRecording()}),this.cancelButton.addEventListener("click",t=>{this.stopRecording(!1)})},updated(){this.props=this.getProps(),this.audioEl.src=this.props.audioUrl},getProps(){return Rt(this.el,["id","phx-target","sampling-rate","endianness","format","audio-url"])},startRecording(){this.audioEl.classList.add("hidden"),this.uploadButton.classList.add("hidden"),this.recordButton.classList.add("hidden"),this.stopButton.classList.remove("hidden"),this.cancelButton.classList.remove("hidden"),this.audioChunks=[],navigator.mediaDevices.getUserMedia({audio:!0}).then(t=>{this.mediaRecorder=new MediaRecorder(t),this.mediaRecorder.addEventListener("dataavailable",e=>{this.audioChunks.push(e.data)}),this.mediaRecorder.start()})},stopRecording(t=!0){this.audioEl.classList.remove("hidden"),this.uploadButton.classList.remove("hidden"),this.recordButton.classList.remove("hidden"),this.stopButton.classList.add("hidden"),this.cancelButton.classList.add("hidden"),t&&this.mediaRecorder.addEventListener("stop",e=>{new Blob(this.audioChunks).arrayBuffer().then(i=>{this.loadEncodedAudio(i)})}),this.mediaRecorder.stop()},isRecording(){return this.mediaRecorder&&this.mediaRecorder.state==="recording"},loadFile(t){let e=new FileReader;e.onload=r=>{this.loadEncodedAudio(r.target.result)},e.readAsArrayBuffer(t)},loadEncodedAudio(t){this.pushEventTo(this.props.phxTarget,"decoding",{}),new AudioContext({sampleRate:this.props.samplingRate}).decodeAudioData(t,r=>{let i=SM(r);this.pushAudio(i)})},pushAudio(t){let e={num_channels:t.numChannels,sampling_rate:t.samplingRate},r=this.encodeAudio(t),i=new Blob([r]);i.meta=()=>e,this.uploadTo(this.props.phxTarget,"file",[i])},encodeAudio(t){if(this.props.format==="pcm_f32")return TM(t.data,this.props.endianness);if(this.props.format==="wav")return Nk(t.data,t.numChannels,t.samplingRate)}};function SM(t){let e=t.numberOfChannels,r=t.sampleRate,i=t.length,n=4*e*i,o=new ArrayBuffer(n),s=new Float32Array(o);for(let a=0;a=0;l--)i=r[l],n=i.name,o=i.namespaceURI,s=i.value,o?(n=i.localName||n,a=t.getAttributeNS(o,n),a!==s&&(i.prefix==="xmlns"&&(n=i.name),t.setAttributeNS(o,n,s))):(a=t.getAttribute(n),a!==s&&t.setAttribute(n,s));for(var c=t.attributes,u=c.length-1;u>=0;u--)i=c[u],n=i.name,o=i.namespaceURI,o?(n=i.localName||n,e.hasAttributeNS(o,n)||t.removeAttributeNS(o,n)):e.hasAttribute(n)||t.removeAttribute(n)}}var jd,PM="http://www.w3.org/1999/xhtml",bi=typeof document=="undefined"?void 0:document,QM=!!bi&&"content"in bi.createElement("template"),_M=!!bi&&bi.createRange&&"createContextualFragment"in bi.createRange();function AM(t){var e=bi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function RM(t){jd||(jd=bi.createRange(),jd.selectNode(bi.body));var e=jd.createContextualFragment(t);return e.childNodes[0]}function $M(t){var e=bi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function XM(t){return t=t.trim(),QM?AM(t):_M?RM(t):$M(t)}function Bd(t,e){var r=t.nodeName,i=e.nodeName,n,o;return r===i?!0:(n=r.charCodeAt(0),o=i.charCodeAt(0),n<=90&&o>=97?r===i.toUpperCase():o<=90&&n>=97?i===r.toUpperCase():!1)}function IM(t,e){return!e||e===PM?bi.createElement(t):bi.createElementNS(e,t)}function LM(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function v1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var Fk={OPTION:function(t,e){var r=t.parentNode;if(r){var i=r.nodeName.toUpperCase();i==="OPTGROUP"&&(r=r.parentNode,i=r&&r.nodeName.toUpperCase()),i==="SELECT"&&!r.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),r.selectedIndex=-1)}v1(t,e,"selected")},INPUT:function(t,e){v1(t,e,"checked"),v1(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var r=e.value;t.value!==r&&(t.value=r);var i=t.firstChild;if(i){var n=i.nodeValue;if(n==r||!r&&n==t.placeholder)return;i.nodeValue=r}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var r=-1,i=0,n=t.firstChild,o,s;n;)if(s=n.nodeName&&n.nodeName.toUpperCase(),s==="OPTGROUP")o=n,n=o.firstChild;else{if(s==="OPTION"){if(n.hasAttribute("selected")){r=i;break}i++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=r}}},wu=1,Wk=11,Zk=3,Yk=8;function vs(){}function zM(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function MM(t){return function(r,i,n){if(n||(n={}),typeof i=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"||r.nodeName==="BODY"){var o=i;i=bi.createElement("html"),i.innerHTML=o}else i=XM(i);else i.nodeType===Wk&&(i=i.firstElementChild);var s=n.getNodeKey||zM,a=n.onBeforeNodeAdded||vs,l=n.onNodeAdded||vs,c=n.onBeforeElUpdated||vs,u=n.onElUpdated||vs,f=n.onBeforeNodeDiscarded||vs,d=n.onNodeDiscarded||vs,p=n.onBeforeElChildrenUpdated||vs,O=n.skipFromChildren||vs,w=n.addChild||function(se,he){return se.appendChild(he)},x=n.childrenOnly===!0,k=Object.create(null),C=[];function R(se){C.push(se)}function Q(se,he){if(se.nodeType===wu)for(var K=se.firstChild;K;){var _=void 0;he&&(_=s(K))?R(_):(d(K),K.firstChild&&Q(K,he)),K=K.nextSibling}}function L(se,he,K){f(se)!==!1&&(he&&he.removeChild(se),d(se),Q(se,K))}function z(se){if(se.nodeType===wu||se.nodeType===Wk)for(var he=se.firstChild;he;){var K=s(he);K&&(k[K]=he),z(he),he=he.nextSibling}}z(r);function Z(se){l(se);for(var he=se.firstChild;he;){var K=he.nextSibling,_=s(he);if(_){var G=k[_];G&&Bd(he,G)?(he.parentNode.replaceChild(G,he),H(G,he)):Z(he)}else Z(he);he=K}}function re(se,he,K){for(;he;){var _=he.nextSibling;(K=s(he))?R(K):L(he,se,!0),he=_}}function H(se,he,K){var _=s(he);_&&delete k[_],!(!K&&(c(se,he)===!1||(t(se,he),u(se),p(se,he)===!1)))&&(se.nodeName!=="TEXTAREA"?q(se,he):Fk.TEXTAREA(se,he))}function q(se,he){var K=O(se,he),_=he.firstChild,G=se.firstChild,ae,j,Je,at,st;e:for(;_;){for(at=_.nextSibling,ae=s(_);!K&&G;){if(Je=G.nextSibling,_.isSameNode&&_.isSameNode(G)){_=at,G=Je;continue e}j=s(G);var Ce=G.nodeType,Ze=void 0;if(Ce===_.nodeType&&(Ce===wu?(ae?ae!==j&&((st=k[ae])?Je===st?Ze=!1:(se.insertBefore(st,G),j?R(j):L(G,se,!0),G=st):Ze=!1):j&&(Ze=!1),Ze=Ze!==!1&&Bd(G,_),Ze&&H(G,_)):(Ce===Zk||Ce==Yk)&&(Ze=!0,G.nodeValue!==_.nodeValue&&(G.nodeValue=_.nodeValue))),Ze){_=at,G=Je;continue e}j?R(j):L(G,se,!0),G=Je}if(ae&&(st=k[ae])&&Bd(st,_))K||w(se,st),H(st,_);else{var Xt=a(_);Xt!==!1&&(Xt&&(_=Xt),_.actualize&&(_=_.actualize(se.ownerDocument||bi)),w(se,_),Z(_))}_=at,G=Je}re(se,G,j);var ct=Fk[se.nodeName];ct&&ct(se,he)}var oe=r,pe=oe.nodeType,fe=i.nodeType;if(!x){if(pe===wu)fe===wu?Bd(r,i)||(d(r),oe=LM(r,IM(i.nodeName,i.namespaceURI))):oe=i;else if(pe===Zk||pe===Yk){if(fe===pe)return oe.nodeValue!==i.nodeValue&&(oe.nodeValue=i.nodeValue),oe;oe=i}}if(oe===i)d(r);else{if(i.isSameNode&&i.isSameNode(oe))return;if(H(oe,i,x),C)for(var ge=0,ve=C.length;ges.length,l;a&&s.push(n);try{l=t.apply(this,s)}catch(c){let u=c;if(a&&r)throw u;return n(u)}a||(l instanceof Promise?l.then(o,n):l instanceof Error?n(l):o(l))}function n(s,...a){r||(r=!0,e(s,...a))}function o(s){n(null,s)}}function k1(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?a6(t.position):"start"in t||"end"in t?a6(t):"line"in t||"column"in t?x1(t):""}function x1(t){return l6(t&&t.line)+":"+l6(t&&t.column)}function a6(t){return x1(t&&t.start)+"-"+x1(t&&t.end)}function l6(t){return t&&typeof t=="number"?t:1}var ur=class extends Error{constructor(e,r,i){super(),typeof r=="string"&&(i=r,r=void 0);let n="",o={},s=!1;if(r&&("line"in r&&"column"in r?o={place:r}:"start"in r&&"end"in r?o={place:r}:"type"in r?o={ancestors:[r],place:r.position}:o=ne({},r)),typeof e=="string"?n=e:!o.cause&&e&&(s=!0,n=e.message,o.cause=e),!o.ruleId&&!o.source&&typeof i=="string"){let l=i.indexOf(":");l===-1?o.ruleId=i:(o.source=i.slice(0,l),o.ruleId=i.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=a?a.line:void 0,this.name=k1(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}};ur.prototype.file="";ur.prototype.name="";ur.prototype.reason="";ur.prototype.message="";ur.prototype.stack="";ur.prototype.column=void 0;ur.prototype.line=void 0;ur.prototype.ancestors=void 0;ur.prototype.cause=void 0;ur.prototype.fatal=void 0;ur.prototype.place=void 0;ur.prototype.ruleId=void 0;ur.prototype.source=void 0;var bn={basename:NM,dirname:jM,extname:BM,join:VM,sep:"/"};function NM(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');ku(t);let r=0,i=-1,n=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;n--;)if(t.codePointAt(n)===47){if(o){r=n+1;break}}else i<0&&(o=!0,i=n+1);return i<0?"":t.slice(r,i)}if(e===t)return"";let s=-1,a=e.length-1;for(;n--;)if(t.codePointAt(n)===47){if(o){r=n+1;break}}else s<0&&(o=!0,s=n+1),a>-1&&(t.codePointAt(n)===e.codePointAt(a--)?a<0&&(i=n):(a=-1,i=s));return r===i?i=s:i<0&&(i=t.length),t.slice(r,i)}function jM(t){if(ku(t),t.length===0)return".";let e=-1,r=t.length,i;for(;--r;)if(t.codePointAt(r)===47){if(i){e=r;break}}else i||(i=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function BM(t){ku(t);let e=t.length,r=-1,i=0,n=-1,o=0,s;for(;e--;){let a=t.codePointAt(e);if(a===47){if(s){i=e+1;break}continue}r<0&&(s=!0,r=e+1),a===46?n<0?n=e:o!==1&&(o=1):n>-1&&(o=-1)}return n<0||r<0||o===0||o===1&&n===r-1&&n===i+1?"":t.slice(n,r)}function VM(...t){let e=-1,r;for(;++e0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function FM(t,e){let r="",i=0,n=-1,o=0,s=-1,a,l;for(;++s<=t.length;){if(s2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",i=0):(r=r.slice(0,l),i=r.length-1-r.lastIndexOf("/")),n=s,o=0;continue}}else if(r.length>0){r="",i=0,n=s,o=0;continue}}e&&(r=r.length>0?r+"/..":"..",i=2)}else r.length>0?r+="/"+t.slice(n+1,s):r=t.slice(n+1,s),i=s-n-1;n=s,o=0}else a===46&&o>-1?o++:o=-1}return r}function ku(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var c6={cwd:WM};function WM(){return"/"}function Ll(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function u6(t){if(typeof t=="string")t=new URL(t);else if(!Ll(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return ZM(t)}function ZM(t){if(t.hostname!==""){let i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}let e=t.pathname,r=-1;for(;++r0){let[p,...O]=u,w=i[d][1];xu(w)&&xu(p)&&(p=(0,Fd.default)(!0,w,p)),i[d]=[c,p,...O]}}}},Wd=new _1().freeze();function C1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function P1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function Q1(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function d6(t){if(!xu(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function p6(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function qd(t){return GM(t)?t:new ws(t)}function GM(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function KM(t){return typeof t=="string"||JM(t)}function JM(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var eD={};function A1(t,e){let r=e||eD,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return O6(t,i,n)}function O6(t,e,r){if(tD(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return m6(t.children,e,r)}return Array.isArray(t)?m6(t,e,r):""}function m6(t,e,r){let i=[],n=-1;for(;++nn?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)s=Array.from(i),s.unshift(e,r),t.splice(...s);else for(r&&t.splice(e,r);o0?($r(t,t.length,0,e),t):e}var g6={}.hasOwnProperty;function b6(t){let e={},r=-1;for(;++r13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCharCode(r)}function ko(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var nD=xs(new RegExp("\\p{P}","u")),Xi=xs(/[A-Za-z]/),oi=xs(/[\dA-Za-z]/),y6=xs(/[#-'*+\--9=?A-Z^-~]/);function Su(t){return t!==null&&(t<32||t===127)}var Tu=xs(/\d/),v6=xs(/[\dA-Fa-f]/),R1=xs(/[!-/:-@[-`{-~]/);function Me(t){return t!==null&&t<-2}function sr(t){return t!==null&&(t<0||t===32)}function tt(t){return t===-2||t===-1||t===32}function w6(t){return R1(t)||nD(t)}var x6=xs(/\s/);function xs(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function rt(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return tt(l)?(t.enter(r),a(l)):e(l)}function a(l){return tt(l)&&o++s))return;let Z=e.events.length,re=Z,H,q;for(;re--;)if(e.events[re][0]==="exit"&&e.events[re][1].type==="chunkFlow"){if(H){q=e.events[re][1].end;break}H=!0}for(k(i),z=Z;zR;){let L=r[Q];e.containerState=L[1],L[0].exit.call(e,t)}r.length=R}function C(){n.write([null]),o=void 0,n=void 0,e.containerState._closeFlow=void 0}}function aD(t,e,r){return rt(t,t.attempt(this.parser.constructs.document,e,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $1(t){if(t===null||sr(t)||x6(t))return 1;if(w6(t))return 2}function zl(t,e,r){let i=[],n=-1;for(;++n1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;let f=Object.assign({},t[i][1].end),d=Object.assign({},t[r][1].start);E6(f,-l),E6(d,l),s={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[i][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[r][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},t[i][1].end),end:Object.assign({},t[r][1].start)},n={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},a.end)},t[i][1].end=Object.assign({},s.start),t[r][1].start=Object.assign({},a.end),c=[],t[i][1].end.offset-t[i][1].start.offset&&(c=ni(c,[["enter",t[i][1],e],["exit",t[i][1],e]])),c=ni(c,[["enter",n,e],["enter",s,e],["exit",s,e],["enter",o,e]]),c=ni(c,zl(e.parser.constructs.insideSpan.null,t.slice(i+1,r),e)),c=ni(c,[["exit",o,e],["enter",a,e],["exit",a,e],["exit",n,e]]),t[r][1].end.offset-t[r][1].start.offset?(u=2,c=ni(c,[["enter",t[r][1],e],["exit",t[r][1],e]])):u=0,$r(t,i-1,r-i+3,c),r=i+c.length-u-2;break}}for(r=-1;++r0&&tt(z)?rt(t,C,"linePrefix",o+1)(z):C(z)}function C(z){return z===null||Me(z)?t.check(C6,w,Q)(z):(t.enter("codeFlowValue"),R(z))}function R(z){return z===null||Me(z)?(t.exit("codeFlowValue"),C(z)):(t.consume(z),R)}function Q(z){return t.exit("codeFenced"),e(z)}function L(z,Z,re){let H=0;return q;function q(ve){return z.enter("lineEnding"),z.consume(ve),z.exit("lineEnding"),oe}function oe(ve){return z.enter("codeFencedFence"),tt(ve)?rt(z,pe,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ve):pe(ve)}function pe(ve){return ve===a?(z.enter("codeFencedFenceSequence"),fe(ve)):re(ve)}function fe(ve){return ve===a?(H++,z.consume(ve),fe):H>=s?(z.exit("codeFencedFenceSequence"),tt(ve)?rt(z,ge,"whitespace")(ve):ge(ve)):re(ve)}function ge(ve){return ve===null||Me(ve)?(z.exit("codeFencedFence"),Z(ve)):re(ve)}}}function bD(t,e,r){let i=this;return n;function n(s){return s===null?r(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o)}function o(s){return i.parser.lazy[i.now().line]?r(s):e(s)}}var Cu={name:"codeIndented",tokenize:vD},yD={tokenize:wD,partial:!0};function vD(t,e,r){let i=this;return n;function n(c){return t.enter("codeIndented"),rt(t,o,"linePrefix",4+1)(c)}function o(c){let u=i.events[i.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?s(c):r(c)}function s(c){return c===null?l(c):Me(c)?t.attempt(yD,s,l)(c):(t.enter("codeFlowValue"),a(c))}function a(c){return c===null||Me(c)?(t.exit("codeFlowValue"),s(c)):(t.consume(c),a)}function l(c){return t.exit("codeIndented"),e(c)}}function wD(t,e,r){let i=this;return n;function n(s){return i.parser.lazy[i.now().line]?r(s):Me(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),n):rt(t,o,"linePrefix",4+1)(s)}function o(s){let a=i.events[i.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):Me(s)?n(s):r(s)}}var I1={name:"codeText",tokenize:SD,resolve:xD,previous:kD};function xD(t){let e=t.length-4,r=3,i,n;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(i=r;++i=4?e(s):t.interrupt(i.parser.constructs.flow,r,e)(s)}}function e0(t,e,r,i,n,o,s,a,l){let c=l||Number.POSITIVE_INFINITY,u=0;return f;function f(k){return k===60?(t.enter(i),t.enter(n),t.enter(o),t.consume(k),t.exit(o),d):k===null||k===32||k===41||Su(k)?r(k):(t.enter(i),t.enter(s),t.enter(a),t.enter("chunkString",{contentType:"string"}),w(k))}function d(k){return k===62?(t.enter(o),t.consume(k),t.exit(o),t.exit(n),t.exit(i),e):(t.enter(a),t.enter("chunkString",{contentType:"string"}),p(k))}function p(k){return k===62?(t.exit("chunkString"),t.exit(a),d(k)):k===null||k===60||Me(k)?r(k):(t.consume(k),k===92?O:p)}function O(k){return k===60||k===62||k===92?(t.consume(k),p):p(k)}function w(k){return!u&&(k===null||k===41||sr(k))?(t.exit("chunkString"),t.exit(a),t.exit(s),t.exit(i),e(k)):u999||p===null||p===91||p===93&&!l||p===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?r(p):p===93?(t.exit(o),t.enter(n),t.consume(p),t.exit(n),t.exit(i),e):Me(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||Me(p)||a++>999?(t.exit("chunkString"),u(p)):(t.consume(p),l||(l=!tt(p)),p===92?d:f)}function d(p){return p===91||p===92||p===93?(t.consume(p),a++,f):f(p)}}function r0(t,e,r,i,n,o){let s;return a;function a(d){return d===34||d===39||d===40?(t.enter(i),t.enter(n),t.consume(d),t.exit(n),s=d===40?41:d,l):r(d)}function l(d){return d===s?(t.enter(n),t.consume(d),t.exit(n),t.exit(i),e):(t.enter(o),c(d))}function c(d){return d===s?(t.exit(o),l(s)):d===null?r(d):Me(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),rt(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(d))}function u(d){return d===s||d===null||Me(d)?(t.exit("chunkString"),c(d)):(t.consume(d),d===92?f:u)}function f(d){return d===s||d===92?(t.consume(d),u):u(d)}}function Sa(t,e){let r;return i;function i(n){return Me(n)?(t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),r=!0,i):tt(n)?rt(t,i,r?"linePrefix":"lineSuffix")(n):e(n)}}var z1={name:"definition",tokenize:AD},_D={tokenize:RD,partial:!0};function AD(t,e,r){let i=this,n;return o;function o(p){return t.enter("definition"),s(p)}function s(p){return t0.call(i,t,a,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return n=ko(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),l):r(p)}function l(p){return sr(p)?Sa(t,c)(p):c(p)}function c(p){return e0(t,u,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function u(p){return t.attempt(_D,f,f)(p)}function f(p){return tt(p)?rt(t,d,"whitespace")(p):d(p)}function d(p){return p===null||Me(p)?(t.exit("definition"),i.parser.defined.push(n),e(p)):r(p)}}function RD(t,e,r){return i;function i(a){return sr(a)?Sa(t,n)(a):r(a)}function n(a){return r0(t,o,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return tt(a)?rt(t,s,"whitespace")(a):s(a)}function s(a){return a===null||Me(a)?e(a):r(a)}}var M1={name:"hardBreakEscape",tokenize:$D};function $D(t,e,r){return i;function i(o){return t.enter("hardBreakEscape"),t.consume(o),n}function n(o){return Me(o)?(t.exit("hardBreakEscape"),e(o)):r(o)}}var D1={name:"headingAtx",tokenize:ID,resolve:XD};function XD(t,e){let r=t.length-2,i=3,n,o;return t[i][1].type==="whitespace"&&(i+=2),r-2>i&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(i===r-1||r-4>i&&t[r-2][1].type==="whitespace")&&(r-=i+1===r?2:4),r>i&&(n={type:"atxHeadingText",start:t[i][1].start,end:t[r][1].end},o={type:"chunkText",start:t[i][1].start,end:t[r][1].end,contentType:"text"},$r(t,i,r-i+1,[["enter",n,e],["enter",o,e],["exit",o,e],["exit",n,e]])),t}function ID(t,e,r){let i=0;return n;function n(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),s(u)}function s(u){return u===35&&i++<6?(t.consume(u),s):u===null||sr(u)?(t.exit("atxHeadingSequence"),a(u)):r(u)}function a(u){return u===35?(t.enter("atxHeadingSequence"),l(u)):u===null||Me(u)?(t.exit("atxHeading"),e(u)):tt(u)?rt(t,a,"whitespace")(u):(t.enter("atxHeadingText"),c(u))}function l(u){return u===35?(t.consume(u),l):(t.exit("atxHeadingSequence"),a(u))}function c(u){return u===null||u===35||sr(u)?(t.exit("atxHeadingText"),a(u)):(t.consume(u),c)}}var P6=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],U1=["pre","script","style","textarea"];var N1={name:"htmlFlow",tokenize:DD,resolveTo:MD,concrete:!0},LD={tokenize:ND,partial:!0},zD={tokenize:UD,partial:!0};function MD(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function DD(t,e,r){let i=this,n,o,s,a,l;return c;function c(j){return u(j)}function u(j){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(j),f}function f(j){return j===33?(t.consume(j),d):j===47?(t.consume(j),o=!0,w):j===63?(t.consume(j),n=3,i.interrupt?e:_):Xi(j)?(t.consume(j),s=String.fromCharCode(j),x):r(j)}function d(j){return j===45?(t.consume(j),n=2,p):j===91?(t.consume(j),n=5,a=0,O):Xi(j)?(t.consume(j),n=4,i.interrupt?e:_):r(j)}function p(j){return j===45?(t.consume(j),i.interrupt?e:_):r(j)}function O(j){let Je="CDATA[";return j===Je.charCodeAt(a++)?(t.consume(j),a===Je.length?i.interrupt?e:pe:O):r(j)}function w(j){return Xi(j)?(t.consume(j),s=String.fromCharCode(j),x):r(j)}function x(j){if(j===null||j===47||j===62||sr(j)){let Je=j===47,at=s.toLowerCase();return!Je&&!o&&U1.includes(at)?(n=1,i.interrupt?e(j):pe(j)):P6.includes(s.toLowerCase())?(n=6,Je?(t.consume(j),k):i.interrupt?e(j):pe(j)):(n=7,i.interrupt&&!i.parser.lazy[i.now().line]?r(j):o?C(j):R(j))}return j===45||oi(j)?(t.consume(j),s+=String.fromCharCode(j),x):r(j)}function k(j){return j===62?(t.consume(j),i.interrupt?e:pe):r(j)}function C(j){return tt(j)?(t.consume(j),C):q(j)}function R(j){return j===47?(t.consume(j),q):j===58||j===95||Xi(j)?(t.consume(j),Q):tt(j)?(t.consume(j),R):q(j)}function Q(j){return j===45||j===46||j===58||j===95||oi(j)?(t.consume(j),Q):L(j)}function L(j){return j===61?(t.consume(j),z):tt(j)?(t.consume(j),L):R(j)}function z(j){return j===null||j===60||j===61||j===62||j===96?r(j):j===34||j===39?(t.consume(j),l=j,Z):tt(j)?(t.consume(j),z):re(j)}function Z(j){return j===l?(t.consume(j),l=null,H):j===null||Me(j)?r(j):(t.consume(j),Z)}function re(j){return j===null||j===34||j===39||j===47||j===60||j===61||j===62||j===96||sr(j)?L(j):(t.consume(j),re)}function H(j){return j===47||j===62||tt(j)?R(j):r(j)}function q(j){return j===62?(t.consume(j),oe):r(j)}function oe(j){return j===null||Me(j)?pe(j):tt(j)?(t.consume(j),oe):r(j)}function pe(j){return j===45&&n===2?(t.consume(j),Qe):j===60&&n===1?(t.consume(j),se):j===62&&n===4?(t.consume(j),G):j===63&&n===3?(t.consume(j),_):j===93&&n===5?(t.consume(j),K):Me(j)&&(n===6||n===7)?(t.exit("htmlFlowData"),t.check(LD,ae,fe)(j)):j===null||Me(j)?(t.exit("htmlFlowData"),fe(j)):(t.consume(j),pe)}function fe(j){return t.check(zD,ge,ae)(j)}function ge(j){return t.enter("lineEnding"),t.consume(j),t.exit("lineEnding"),ve}function ve(j){return j===null||Me(j)?fe(j):(t.enter("htmlFlowData"),pe(j))}function Qe(j){return j===45?(t.consume(j),_):pe(j)}function se(j){return j===47?(t.consume(j),s="",he):pe(j)}function he(j){if(j===62){let Je=s.toLowerCase();return U1.includes(Je)?(t.consume(j),G):pe(j)}return Xi(j)&&s.length<8?(t.consume(j),s+=String.fromCharCode(j),he):pe(j)}function K(j){return j===93?(t.consume(j),_):pe(j)}function _(j){return j===62?(t.consume(j),G):j===45&&n===2?(t.consume(j),_):pe(j)}function G(j){return j===null||Me(j)?(t.exit("htmlFlowData"),ae(j)):(t.consume(j),G)}function ae(j){return t.exit("htmlFlow"),e(j)}}function UD(t,e,r){let i=this;return n;function n(s){return Me(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o):r(s)}function o(s){return i.parser.lazy[i.now().line]?r(s):e(s)}}function ND(t,e,r){return i;function i(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),t.attempt(ks,e,r)}}var j1={name:"htmlText",tokenize:jD};function jD(t,e,r){let i=this,n,o,s;return a;function a(_){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(_),l}function l(_){return _===33?(t.consume(_),c):_===47?(t.consume(_),L):_===63?(t.consume(_),R):Xi(_)?(t.consume(_),re):r(_)}function c(_){return _===45?(t.consume(_),u):_===91?(t.consume(_),o=0,O):Xi(_)?(t.consume(_),C):r(_)}function u(_){return _===45?(t.consume(_),p):r(_)}function f(_){return _===null?r(_):_===45?(t.consume(_),d):Me(_)?(s=f,se(_)):(t.consume(_),f)}function d(_){return _===45?(t.consume(_),p):f(_)}function p(_){return _===62?Qe(_):_===45?d(_):f(_)}function O(_){let G="CDATA[";return _===G.charCodeAt(o++)?(t.consume(_),o===G.length?w:O):r(_)}function w(_){return _===null?r(_):_===93?(t.consume(_),x):Me(_)?(s=w,se(_)):(t.consume(_),w)}function x(_){return _===93?(t.consume(_),k):w(_)}function k(_){return _===62?Qe(_):_===93?(t.consume(_),k):w(_)}function C(_){return _===null||_===62?Qe(_):Me(_)?(s=C,se(_)):(t.consume(_),C)}function R(_){return _===null?r(_):_===63?(t.consume(_),Q):Me(_)?(s=R,se(_)):(t.consume(_),R)}function Q(_){return _===62?Qe(_):R(_)}function L(_){return Xi(_)?(t.consume(_),z):r(_)}function z(_){return _===45||oi(_)?(t.consume(_),z):Z(_)}function Z(_){return Me(_)?(s=Z,se(_)):tt(_)?(t.consume(_),Z):Qe(_)}function re(_){return _===45||oi(_)?(t.consume(_),re):_===47||_===62||sr(_)?H(_):r(_)}function H(_){return _===47?(t.consume(_),Qe):_===58||_===95||Xi(_)?(t.consume(_),q):Me(_)?(s=H,se(_)):tt(_)?(t.consume(_),H):Qe(_)}function q(_){return _===45||_===46||_===58||_===95||oi(_)?(t.consume(_),q):oe(_)}function oe(_){return _===61?(t.consume(_),pe):Me(_)?(s=oe,se(_)):tt(_)?(t.consume(_),oe):H(_)}function pe(_){return _===null||_===60||_===61||_===62||_===96?r(_):_===34||_===39?(t.consume(_),n=_,fe):Me(_)?(s=pe,se(_)):tt(_)?(t.consume(_),pe):(t.consume(_),ge)}function fe(_){return _===n?(t.consume(_),n=void 0,ve):_===null?r(_):Me(_)?(s=fe,se(_)):(t.consume(_),fe)}function ge(_){return _===null||_===34||_===39||_===60||_===61||_===96?r(_):_===47||_===62||sr(_)?H(_):(t.consume(_),ge)}function ve(_){return _===47||_===62||sr(_)?H(_):r(_)}function Qe(_){return _===62?(t.consume(_),t.exit("htmlTextData"),t.exit("htmlText"),e):r(_)}function se(_){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(_),t.exit("lineEnding"),he}function he(_){return tt(_)?rt(t,K,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):K(_)}function K(_){return t.enter("htmlTextData"),s(_)}}var Ta={name:"labelEnd",tokenize:ZD,resolveTo:WD,resolveAll:FD},BD={tokenize:YD},VD={tokenize:HD},qD={tokenize:GD};function FD(t){let e=-1;for(;++e=3&&(c===null||Me(c))?(t.exit("thematicBreak"),e(c)):r(c)}function l(c){return c===n?(t.consume(c),i++,l):(t.exit("thematicBreakSequence"),tt(c)?rt(t,a,"whitespace")(c):a(c))}}var Fr={name:"list",tokenize:nU,continuation:{tokenize:oU},exit:aU},rU={tokenize:lU,partial:!0},iU={tokenize:sU,partial:!0};function nU(t,e,r){let i=this,n=i.events[i.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,s=0;return a;function a(p){let O=i.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(O==="listUnordered"?!i.containerState.marker||p===i.containerState.marker:Tu(p)){if(i.containerState.type||(i.containerState.type=O,t.enter(O,{_container:!0})),O==="listUnordered")return t.enter("listItemPrefix"),p===42||p===45?t.check(Ea,r,c)(p):c(p);if(!i.interrupt||p===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(p)}return r(p)}function l(p){return Tu(p)&&++s<10?(t.consume(p),l):(!i.interrupt||s<2)&&(i.containerState.marker?p===i.containerState.marker:p===41||p===46)?(t.exit("listItemValue"),c(p)):r(p)}function c(p){return t.enter("listItemMarker"),t.consume(p),t.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||p,t.check(ks,i.interrupt?r:u,t.attempt(rU,d,f))}function u(p){return i.containerState.initialBlankLine=!0,o++,d(p)}function f(p){return tt(p)?(t.enter("listItemPrefixWhitespace"),t.consume(p),t.exit("listItemPrefixWhitespace"),d):r(p)}function d(p){return i.containerState.size=o+i.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(p)}}function oU(t,e,r){let i=this;return i.containerState._closeFlow=void 0,t.check(ks,n,o);function n(a){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,rt(t,e,"listItemIndent",i.containerState.size+1)(a)}function o(a){return i.containerState.furtherBlankLines||!tt(a)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,s(a)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(iU,e,s)(a))}function s(a){return i.containerState._closeFlow=!0,i.interrupt=void 0,rt(t,t.attempt(Fr,e,r),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function sU(t,e,r){let i=this;return rt(t,n,"listItemIndent",i.containerState.size+1);function n(o){let s=i.events[i.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===i.containerState.size?e(o):r(o)}}function aU(t){t.exit(this.containerState.type)}function lU(t,e,r){let i=this;return rt(t,n,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function n(o){let s=i.events[i.events.length-1];return!tt(o)&&s&&s[1].type==="listItemPrefixWhitespace"?e(o):r(o)}}var i0={name:"setextUnderline",tokenize:uU,resolveTo:cU};function cU(t,e){let r=t.length,i,n,o;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){i=r;break}t[r][1].type==="paragraph"&&(n=r)}else t[r][1].type==="content"&&t.splice(r,1),!o&&t[r][1].type==="definition"&&(o=r);let s={type:"setextHeading",start:Object.assign({},t[n][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[n][1].type="setextHeadingText",o?(t.splice(n,0,["enter",s,e]),t.splice(o+1,0,["exit",t[i][1],e]),t[i][1].end=Object.assign({},t[o][1].end)):t[i][1]=s,t.push(["exit",s,e]),t}function uU(t,e,r){let i=this,n;return o;function o(c){let u=i.events.length,f;for(;u--;)if(i.events[u][1].type!=="lineEnding"&&i.events[u][1].type!=="linePrefix"&&i.events[u][1].type!=="content"){f=i.events[u][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||f)?(t.enter("setextHeadingLine"),n=c,s(c)):r(c)}function s(c){return t.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===n?(t.consume(c),a):(t.exit("setextHeadingLineSequence"),tt(c)?rt(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Me(c)?(t.exit("setextHeadingLine"),e(c)):r(c)}}var Q6={tokenize:fU};function fU(t){let e=this,r=t.attempt(ks,i,t.attempt(this.parser.constructs.flowInitial,n,rt(t,t.attempt(this.parser.constructs.flow,n,t.attempt(L1,n)),"linePrefix")));return r;function i(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,r}function n(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,r}}var _6={resolveAll:X6()},A6=$6("string"),R6=$6("text");function $6(t){return{tokenize:e,resolveAll:X6(t==="text"?hU:void 0)};function e(r){let i=this,n=this.parser.constructs[t],o=r.attempt(n,s,a);return s;function s(u){return c(u)?o(u):a(u)}function a(u){if(u===null){r.consume(u);return}return r.enter("data"),r.consume(u),l}function l(u){return c(u)?(r.exit("data"),o(u)):(r.consume(u),l)}function c(u){if(u===null)return!0;let f=n[u],d=-1;if(f)for(;++d-1){let a=s[0];typeof a=="string"?s[0]=a.slice(i):s.shift()}o>0&&s.push(t[n].slice(0,o))}return s}function pU(t,e){let r=-1,i=[],n;for(;++rkU,contentInitial:()=>gU,disable:()=>SU,document:()=>OU,flow:()=>yU,flowInitial:()=>bU,insideSpan:()=>xU,string:()=>vU,text:()=>wU});var OU={42:Fr,43:Fr,45:Fr,48:Fr,49:Fr,50:Fr,51:Fr,52:Fr,53:Fr,54:Fr,55:Fr,56:Fr,57:Fr,62:Yd},gU={91:I1},bU={[-2]:Cu,[-1]:Cu,32:Cu},yU={35:z1,42:Ea,45:[i0,Ea],60:D1,61:i0,95:Ea,96:Kd,126:Kd},vU={38:Gd,92:Hd},wU={[-5]:Pu,[-4]:Pu,[-3]:Pu,33:N1,38:Gd,42:Eu,60:[R1,U1],91:j1,92:[L1,Hd],93:Ta,95:Eu,96:$1},xU={null:[Eu,_6]},kU={null:[42,95]},SU={null:[]};function V1(t){let r=b6([B1,...(t||{}).extensions||[]]),i={defined:[],lazy:{},constructs:r,content:n(k6),document:n(T6),flow:n(Q6),string:n(A6),text:n(R6)};return i;function n(o){return s;function s(a){return I6(i,o,a)}}}function q1(t){for(;!Jd(t););return t}var L6=/[\0\t\n\r]/g;function F1(){let t=1,e="",r=!0,i;return n;function n(o,s,a){let l=[],c,u,f,d,p;for(o=e+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o)),f=0,e="",r&&(o.charCodeAt(0)===65279&&f++,r=void 0);f0){let jr=Ye.tokenStack[Ye.tokenStack.length-1];(jr[1]||U6).call(Ye,void 0,jr[0])}for($e.position={start:ks(be.length>0?be[0][1].start:{line:1,column:1,offset:0}),end:ks(be.length>0?be[be.length-2][1].end:{line:1,column:1,offset:0})},et=-1;++et-1&&t.test(String.fromCharCode(r))}}function Y1(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var qn=function(t){if(t==null)return XU;if(typeof t=="function")return o0(t);if(typeof t=="object")return Array.isArray(t)?AU(t):RU(t);if(typeof t=="string")return $U(t);throw new Error("Expected function, string, or object as test")};function AU(t){let e=[],r=-1;for(;++r":""))+")"})}return d;function d(){let p=q6,O,w,x;if((!e||o(l,c,u[u.length-1]||void 0))&&(p=LU(r(l,u)),p[0]===Ca))return p;if("children"in l&&l.children){let k=l;if(k.children&&p[0]!==Ul)for(w=(i?k.children.length:-1)+s,x=u.concat(k);w>-1&&w0?{type:"text",value:L}:void 0),L===!1?d.lastIndex=Q+1:(O!==Q&&C.push({type:"text",value:c.value.slice(O,Q)}),Array.isArray(L)?C.push(...L):L&&C.push(L),O=Q+R[0].length,k=!0),!d.global)break;R=d.exec(c.value)}return k?(O?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let r=e[0],i=r.indexOf(")"),n=Dl(t,"("),o=Dl(t,")");for(;i!==-1&&n>o;)t+=r.slice(0,i+1),r=r.slice(i+1),i=r.indexOf(")"),o++;return[t,r]}function F6(t,e){let r=t.input.charCodeAt(t.index-1);return(t.index===0||V6(r)||B6(r))&&(!e||r!==47)}function rb(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}W6.peek=nN;function ib(){return{enter:{gfmFootnoteDefinition:HU,gfmFootnoteDefinitionLabelString:GU,gfmFootnoteCall:eN,gfmFootnoteCallString:tN},exit:{gfmFootnoteDefinition:JU,gfmFootnoteDefinitionLabelString:KU,gfmFootnoteCall:iN,gfmFootnoteCallString:rN}}}function nb(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:oN,footnoteReference:W6}}}function HU(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function GU(){this.buffer()}function KU(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=rb(this.sliceSerialize(t)).toLowerCase()}function JU(t){this.exit(t)}function eN(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function tN(){this.buffer()}function rN(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=rb(this.sliceSerialize(t)).toLowerCase()}function iN(t){this.exit(t)}function W6(t,e,r,i){let n=r.createTracker(i),o=n.move("[^"),s=r.enter("footnoteReference"),a=r.enter("reference");return o+=n.move(r.safe(r.associationId(t),Be(ne({},n.current()),{before:o,after:"]"}))),a(),s(),o+=n.move("]"),o}function nN(){return"["}function oN(t,e,r,i){let n=r.createTracker(i),o=n.move("[^"),s=r.enter("footnoteDefinition"),a=r.enter("label");return o+=n.move(r.safe(r.associationId(t),Be(ne({},n.current()),{before:o,after:"]"}))),a(),o+=n.move("]:"+(t.children&&t.children.length>0?" ":"")),n.shift(4),o+=n.move(r.indentLines(r.containerFlow(t,n.current()),sN)),s(),o}function sN(t,e,r){return e===0?t:(r?"":" ")+t}var aN=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Z6.peek=uN;function ob(){return{canContainEols:["delete"],enter:{strikethrough:lN},exit:{strikethrough:cN}}}function sb(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:aN}],handlers:{delete:Z6}}}function lN(t){this.enter({type:"delete",children:[]},t)}function cN(t){this.exit(t)}function Z6(t,e,r,i){let n=r.createTracker(i),o=r.enter("strikethrough"),s=n.move("~~");return s+=r.containerPhrasing(t,Be(ne({},n.current()),{before:s,after:"~"})),s+=n.move("~~"),o(),s}function uN(){return"~"}function H6(t,e={}){let r=(e.align||[]).concat(),i=e.stringLength||hN,n=[],o=[],s=[],a=[],l=0,c=-1;for(;++cl&&(l=t[c].length);++xa[x])&&(a[x]=C)}O.push(k)}o[c]=O,s[c]=w}let u=-1;if(typeof r=="object"&&"length"in r)for(;++ua[u]&&(a[u]=k),d[u]=k),f[u]=C}o.splice(1,0,f),s.splice(1,0,d),c=-1;let p=[];for(;++c "),o.shift(2);let s=r.indentLines(r.containerFlow(t,o.current()),dN);return n(),s}function dN(t,e,r){return">"+(r?"":" ")+t}function eS(t,e){return J6(t,e.inConstruct,!0)&&!J6(t,e.notInConstruct,!1)}function J6(t,e,r){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return r;let i=-1;for(;++ixU,contentInitial:()=>OU,disable:()=>kU,document:()=>mU,flow:()=>bU,flowInitial:()=>gU,insideSpan:()=>wU,string:()=>yU,text:()=>vU});var mU={42:Fr,43:Fr,45:Fr,48:Fr,49:Fr,50:Fr,51:Fr,52:Fr,53:Fr,54:Fr,55:Fr,56:Fr,57:Fr,62:Yd},OU={91:z1},gU={[-2]:Cu,[-1]:Cu,32:Cu},bU={35:D1,42:Ea,45:[i0,Ea],60:N1,61:i0,95:Ea,96:Kd,126:Kd},yU={38:Gd,92:Hd},vU={[-5]:Pu,[-4]:Pu,[-3]:Pu,33:B1,38:Gd,42:Eu,60:[X1,j1],91:V1,92:[M1,Hd],93:Ta,95:Eu,96:I1},wU={null:[Eu,_6]},xU={null:[42,95]},kU={null:[]};function F1(t){let r=b6([q1,...(t||{}).extensions||[]]),i={defined:[],lazy:{},constructs:r,content:n(k6),document:n(T6),flow:n(Q6),string:n(A6),text:n(R6)};return i;function n(o){return s;function s(a){return I6(i,o,a)}}}function W1(t){for(;!Jd(t););return t}var L6=/[\0\t\n\r]/g;function Z1(){let t=1,e="",r=!0,i;return n;function n(o,s,a){let l=[],c,u,f,d,p;for(o=e+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o)),f=0,e="",r&&(o.charCodeAt(0)===65279&&f++,r=void 0);f0){let jr=Ye.tokenStack[Ye.tokenStack.length-1];(jr[1]||U6).call(Ye,void 0,jr[0])}for($e.position={start:Ss(be.length>0?be[0][1].start:{line:1,column:1,offset:0}),end:Ss(be.length>0?be[be.length-2][1].end:{line:1,column:1,offset:0})},et=-1;++et-1&&t.test(String.fromCharCode(r))}}function G1(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var qn=function(t){if(t==null)return $U;if(typeof t=="function")return o0(t);if(typeof t=="object")return Array.isArray(t)?_U(t):AU(t);if(typeof t=="string")return RU(t);throw new Error("Expected function, string, or object as test")};function _U(t){let e=[],r=-1;for(;++r":""))+")"})}return d;function d(){let p=q6,O,w,x;if((!e||o(l,c,u[u.length-1]||void 0))&&(p=IU(r(l,u)),p[0]===Ca))return p;if("children"in l&&l.children){let k=l;if(k.children&&p[0]!==Ul)for(w=(i?k.children.length:-1)+s,x=u.concat(k);w>-1&&w0?{type:"text",value:z}:void 0),z===!1?d.lastIndex=Q+1:(O!==Q&&C.push({type:"text",value:c.value.slice(O,Q)}),Array.isArray(z)?C.push(...z):z&&C.push(z),O=Q+R[0].length,k=!0),!d.global)break;R=d.exec(c.value)}return k?(O?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let r=e[0],i=r.indexOf(")"),n=Dl(t,"("),o=Dl(t,")");for(;i!==-1&&n>o;)t+=r.slice(0,i+1),r=r.slice(i+1),i=r.indexOf(")"),o++;return[t,r]}function F6(t,e){let r=t.input.charCodeAt(t.index-1);return(t.index===0||V6(r)||B6(r))&&(!e||r!==47)}function nb(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}W6.peek=iN;function ob(){return{enter:{gfmFootnoteDefinition:YU,gfmFootnoteDefinitionLabelString:HU,gfmFootnoteCall:JU,gfmFootnoteCallString:eN},exit:{gfmFootnoteDefinition:KU,gfmFootnoteDefinitionLabelString:GU,gfmFootnoteCall:rN,gfmFootnoteCallString:tN}}}function sb(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:nN,footnoteReference:W6}}}function YU(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function HU(){this.buffer()}function GU(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=nb(this.sliceSerialize(t)).toLowerCase()}function KU(t){this.exit(t)}function JU(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function eN(){this.buffer()}function tN(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=nb(this.sliceSerialize(t)).toLowerCase()}function rN(t){this.exit(t)}function W6(t,e,r,i){let n=r.createTracker(i),o=n.move("[^"),s=r.enter("footnoteReference"),a=r.enter("reference");return o+=n.move(r.safe(r.associationId(t),Be(ne({},n.current()),{before:o,after:"]"}))),a(),s(),o+=n.move("]"),o}function iN(){return"["}function nN(t,e,r,i){let n=r.createTracker(i),o=n.move("[^"),s=r.enter("footnoteDefinition"),a=r.enter("label");return o+=n.move(r.safe(r.associationId(t),Be(ne({},n.current()),{before:o,after:"]"}))),a(),o+=n.move("]:"+(t.children&&t.children.length>0?" ":"")),n.shift(4),o+=n.move(r.indentLines(r.containerFlow(t,n.current()),oN)),s(),o}function oN(t,e,r){return e===0?t:(r?"":" ")+t}var sN=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Z6.peek=cN;function ab(){return{canContainEols:["delete"],enter:{strikethrough:aN},exit:{strikethrough:lN}}}function lb(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:sN}],handlers:{delete:Z6}}}function aN(t){this.enter({type:"delete",children:[]},t)}function lN(t){this.exit(t)}function Z6(t,e,r,i){let n=r.createTracker(i),o=r.enter("strikethrough"),s=n.move("~~");return s+=r.containerPhrasing(t,Be(ne({},n.current()),{before:s,after:"~"})),s+=n.move("~~"),o(),s}function cN(){return"~"}function H6(t,e={}){let r=(e.align||[]).concat(),i=e.stringLength||fN,n=[],o=[],s=[],a=[],l=0,c=-1;for(;++cl&&(l=t[c].length);++xa[x])&&(a[x]=C)}O.push(k)}o[c]=O,s[c]=w}let u=-1;if(typeof r=="object"&&"length"in r)for(;++ua[u]&&(a[u]=k),d[u]=k),f[u]=C}o.splice(1,0,f),s.splice(1,0,d),c=-1;let p=[];for(;++c "),o.shift(2);let s=r.indentLines(r.containerFlow(t,o.current()),hN);return n(),s}function hN(t,e,r){return">"+(r?"":" ")+t}function eS(t,e){return J6(t,e.inConstruct,!0)&&!J6(t,e.notInConstruct,!1)}function J6(t,e,r){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return r;let i=-1;for(;++is&&(s=o):o=1,n=i+e.length,i=r.indexOf(e,n);return s}function tS(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function rS(t){let e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function iS(t,e,r,i){let n=rS(r),o=t.value||"",s=n==="`"?"GraveAccent":"Tilde";if(tS(t,r)){let f=r.enter("codeIndented"),d=r.indentLines(o,pN);return f(),d}let a=r.createTracker(i),l=n.repeat(Math.max(a0(o,n)+1,3)),c=r.enter("codeFenced"),u=a.move(l);if(t.lang){let f=r.enter(`codeFencedLang${s}`);u+=a.move(r.safe(t.lang,ne({before:u,after:" ",encode:["`"]},a.current()))),f()}if(t.lang&&t.meta){let f=r.enter(`codeFencedMeta${s}`);u+=a.move(" "),u+=a.move(r.safe(t.meta,ne({before:u,after:` +`}function a0(t,e){let r=String(t),i=r.indexOf(e),n=i,o=0,s=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===n?++o>s&&(s=o):o=1,n=i+e.length,i=r.indexOf(e,n);return s}function tS(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function rS(t){let e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function iS(t,e,r,i){let n=rS(r),o=t.value||"",s=n==="`"?"GraveAccent":"Tilde";if(tS(t,r)){let f=r.enter("codeIndented"),d=r.indentLines(o,dN);return f(),d}let a=r.createTracker(i),l=n.repeat(Math.max(a0(o,n)+1,3)),c=r.enter("codeFenced"),u=a.move(l);if(t.lang){let f=r.enter(`codeFencedLang${s}`);u+=a.move(r.safe(t.lang,ne({before:u,after:" ",encode:["`"]},a.current()))),f()}if(t.lang&&t.meta){let f=r.enter(`codeFencedMeta${s}`);u+=a.move(" "),u+=a.move(r.safe(t.meta,ne({before:u,after:` `,encode:["`"]},a.current()))),f()}return u+=a.move(` `),o&&(u+=a.move(o+` -`)),u+=a.move(l),c(),u}function pN(t,e,r){return(r?"":" ")+t}function jl(t){let e=t.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function nS(t,e,r,i){let n=jl(r),o=n==='"'?"Quote":"Apostrophe",s=r.enter("definition"),a=r.enter("label"),l=r.createTracker(i),c=l.move("[");return c+=l.move(r.safe(r.associationId(t),ne({before:c,after:"]"},l.current()))),c+=l.move("]: "),a(),!t.url||/[\0- \u007F]/.test(t.url)?(a=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(t.url,ne({before:c,after:">"},l.current()))),c+=l.move(">")):(a=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,ne({before:c,after:t.title?" ":` -`},l.current())))),a(),t.title&&(a=r.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(r.safe(t.title,ne({before:c,after:n},l.current()))),c+=l.move(n),a()),s(),c}function oS(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}lb.peek=mN;function lb(t,e,r,i){let n=oS(r),o=r.enter("emphasis"),s=r.createTracker(i),a=s.move(n);return a+=s.move(r.containerPhrasing(t,ne({before:a,after:n},s.current()))),a+=s.move(n),o(),a}function mN(t,e,r){return r.options.emphasis||"*"}function Wr(t,e,r,i){let n,o,s;typeof e=="function"&&typeof r!="function"?(o=void 0,s=e,n=r):(o=e,s=r,n=i),Pa(t,o,a,n);function a(l,c){let u=c[c.length-1],f=u?u.children.indexOf(l):void 0;return s(l,f,u)}}var ON={};function Qu(t,e){let r=e||ON,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return aS(t,i,n)}function aS(t,e,r){if(gN(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return sS(t.children,e,r)}return Array.isArray(t)?sS(t,e,r):""}function sS(t,e,r){let i=[],n=-1;for(;++n"},l.current()))),c+=l.move(">")):(a=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,ne({before:c,after:t.title?" ":` +`},l.current())))),a(),t.title&&(a=r.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(r.safe(t.title,ne({before:c,after:n},l.current()))),c+=l.move(n),a()),s(),c}function oS(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}ub.peek=pN;function ub(t,e,r,i){let n=oS(r),o=r.enter("emphasis"),s=r.createTracker(i),a=s.move(n);return a+=s.move(r.containerPhrasing(t,ne({before:a,after:n},s.current()))),a+=s.move(n),o(),a}function pN(t,e,r){return r.options.emphasis||"*"}function Wr(t,e,r,i){let n,o,s;typeof e=="function"&&typeof r!="function"?(o=void 0,s=e,n=r):(o=e,s=r,n=i),Pa(t,o,a,n);function a(l,c){let u=c[c.length-1],f=u?u.children.indexOf(l):void 0;return s(l,f,u)}}var mN={};function Qu(t,e){let r=e||mN,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return aS(t,i,n)}function aS(t,e,r){if(ON(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return sS(t.children,e,r)}return Array.isArray(t)?sS(t,e,r):""}function sS(t,e,r){let i=[],n=-1;for(;++n"},l.current()))),c+=l.move(">")):(a=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,ne({before:c,after:t.title?" ":")"},l.current())))),a(),t.title&&(a=r.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(r.safe(t.title,ne({before:c,after:n},l.current()))),c+=l.move(n),a()),c+=l.move(")"),s(),c}function yN(){return"!"}fb.peek=vN;function fb(t,e,r,i){let n=t.referenceType,o=r.enter("imageReference"),s=r.enter("label"),a=r.createTracker(i),l=a.move("!["),c=r.safe(t.alt,ne({before:l,after:"]"},a.current()));l+=a.move(c+"]["),s();let u=r.stack;r.stack=[],s=r.enter("reference");let f=r.safe(r.associationId(t),ne({before:l,after:"]"},a.current()));return s(),r.stack=u,o(),n==="full"||!c||c!==f?l+=a.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function vN(){return"!"}hb.peek=wN;function hb(t,e,r){let i=t.value||"",n="`",o=-1;for(;new RegExp("(^|[^`])"+n+"([^`]|$)").test(i);)n+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++o\u007F]/.test(t.url))}pb.peek=xN;function pb(t,e,r,i){let n=jl(r),o=n==='"'?"Quote":"Apostrophe",s=r.createTracker(i),a,l;if(db(t,r)){let u=r.stack;r.stack=[],a=r.enter("autolink");let f=s.move("<");return f+=s.move(r.containerPhrasing(t,ne({before:f,after:">"},s.current()))),f+=s.move(">"),a(),r.stack=u,f}a=r.enter("link"),l=r.enter("label");let c=s.move("[");return c+=s.move(r.containerPhrasing(t,ne({before:c,after:"]("},s.current()))),c+=s.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=r.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(r.safe(t.url,ne({before:c,after:">"},s.current()))),c+=s.move(">")):(l=r.enter("destinationRaw"),c+=s.move(r.safe(t.url,ne({before:c,after:t.title?" ":")"},s.current())))),l(),t.title&&(l=r.enter(`title${o}`),c+=s.move(" "+n),c+=s.move(r.safe(t.title,ne({before:c,after:n},s.current()))),c+=s.move(n),l()),c+=s.move(")"),a(),c}function xN(t,e,r){return db(t,r)?"<":"["}mb.peek=kN;function mb(t,e,r,i){let n=t.referenceType,o=r.enter("linkReference"),s=r.enter("label"),a=r.createTracker(i),l=a.move("["),c=r.containerPhrasing(t,ne({before:l,after:"]"},a.current()));l+=a.move(c+"]["),s();let u=r.stack;r.stack=[],s=r.enter("reference");let f=r.safe(r.associationId(t),ne({before:l,after:"]"},a.current()));return s(),r.stack=u,o(),n==="full"||!c||c!==f?l+=a.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function kN(){return"["}function Bl(t){let e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function uS(t){let e=Bl(t),r=t.options.bulletOther;if(!r)return e==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+r+"`) to be different");return r}function fS(t){let e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function l0(t){let e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function hS(t,e,r,i){let n=r.enter("list"),o=r.bulletCurrent,s=t.ordered?fS(r):Bl(r),a=t.ordered?s==="."?")":".":uS(r),l=e&&r.bulletLastUsed?s===r.bulletLastUsed:!1;if(!t.ordered){let u=t.children?t.children[0]:void 0;if((s==="*"||s==="-")&&u&&(!u.children||!u.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(l=!0),l0(r)===s&&u){let f=-1;for(;++f-1?e.start:1)+(r.options.incrementListMarker===!1?0:e.children.indexOf(t))+o);let s=o.length+1;(n==="tab"||n==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(s=Math.ceil(s/4)*4);let a=r.createTracker(i);a.move(o+" ".repeat(s-o.length)),a.shift(s);let l=r.enter("listItem"),c=r.indentLines(r.containerFlow(t,a.current()),u);return l(),c;function u(f,d,p){return d?(p?"":" ".repeat(s))+f:(p?o:o+" ".repeat(s-o.length))+f}}function mS(t,e,r,i){let n=r.enter("paragraph"),o=r.enter("phrasing"),s=r.containerPhrasing(t,i);return o(),n(),s}var Ob=qn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function OS(t,e,r,i){return(t.children.some(function(s){return Ob(s)})?r.containerPhrasing:r.containerFlow).call(r,t,i)}function gS(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}gb.peek=SN;function gb(t,e,r,i){let n=gS(r),o=r.enter("strong"),s=r.createTracker(i),a=s.move(n+n);return a+=s.move(r.containerPhrasing(t,ne({before:a,after:n},s.current()))),a+=s.move(n+n),o(),a}function SN(t,e,r){return r.options.strong||"*"}function bS(t,e,r,i){return r.safe(t.value,i)}function yS(t){let e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function vS(t,e,r){let i=(l0(r)+(r.options.ruleSpaces?" ":"")).repeat(yS(r));return r.options.ruleSpaces?i.slice(0,-1):i}var _u={blockquote:K6,break:ab,code:iS,definition:nS,emphasis:lb,hardBreak:ab,heading:cS,html:cb,image:ub,imageReference:fb,inlineCode:hb,link:pb,linkReference:mb,list:hS,listItem:pS,paragraph:mS,root:OS,strong:gb,text:bS,thematicBreak:vS};function yb(){return{enter:{table:TN,tableData:wS,tableHeader:wS,tableRow:CN},exit:{codeText:PN,table:EN,tableData:bb,tableHeader:bb,tableRow:bb}}}function TN(t){let e=t._align;this.enter({type:"table",align:e.map(function(r){return r==="none"?null:r}),children:[]},t),this.data.inTable=!0}function EN(t){this.exit(t),this.data.inTable=void 0}function CN(t){this.enter({type:"tableRow",children:[]},t)}function bb(t){this.exit(t)}function wS(t){this.enter({type:"tableCell",children:[]},t)}function PN(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,QN));let r=this.stack[this.stack.length-1];r.type,r.value=e,this.exit(t)}function QN(t,e){return e==="|"?e:t}function vb(t){let e=t||{},r=e.tableCellPadding,i=e.tablePipeAlign,n=e.stringLength,o=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`},o.current()));return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?s+" "+c:s,r.options.closeAtx&&(c+=" "+s),l(),a(),c}fb.peek=gN;function fb(t){return t.value||""}function gN(){return"<"}hb.peek=bN;function hb(t,e,r,i){let n=jl(r),o=n==='"'?"Quote":"Apostrophe",s=r.enter("image"),a=r.enter("label"),l=r.createTracker(i),c=l.move("![");return c+=l.move(r.safe(t.alt,ne({before:c,after:"]"},l.current()))),c+=l.move("]("),a(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(a=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(t.url,ne({before:c,after:">"},l.current()))),c+=l.move(">")):(a=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,ne({before:c,after:t.title?" ":")"},l.current())))),a(),t.title&&(a=r.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(r.safe(t.title,ne({before:c,after:n},l.current()))),c+=l.move(n),a()),c+=l.move(")"),s(),c}function bN(){return"!"}db.peek=yN;function db(t,e,r,i){let n=t.referenceType,o=r.enter("imageReference"),s=r.enter("label"),a=r.createTracker(i),l=a.move("!["),c=r.safe(t.alt,ne({before:l,after:"]"},a.current()));l+=a.move(c+"]["),s();let u=r.stack;r.stack=[],s=r.enter("reference");let f=r.safe(r.associationId(t),ne({before:l,after:"]"},a.current()));return s(),r.stack=u,o(),n==="full"||!c||c!==f?l+=a.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function yN(){return"!"}pb.peek=vN;function pb(t,e,r){let i=t.value||"",n="`",o=-1;for(;new RegExp("(^|[^`])"+n+"([^`]|$)").test(i);)n+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++o\u007F]/.test(t.url))}Ob.peek=wN;function Ob(t,e,r,i){let n=jl(r),o=n==='"'?"Quote":"Apostrophe",s=r.createTracker(i),a,l;if(mb(t,r)){let u=r.stack;r.stack=[],a=r.enter("autolink");let f=s.move("<");return f+=s.move(r.containerPhrasing(t,ne({before:f,after:">"},s.current()))),f+=s.move(">"),a(),r.stack=u,f}a=r.enter("link"),l=r.enter("label");let c=s.move("[");return c+=s.move(r.containerPhrasing(t,ne({before:c,after:"]("},s.current()))),c+=s.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=r.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(r.safe(t.url,ne({before:c,after:">"},s.current()))),c+=s.move(">")):(l=r.enter("destinationRaw"),c+=s.move(r.safe(t.url,ne({before:c,after:t.title?" ":")"},s.current())))),l(),t.title&&(l=r.enter(`title${o}`),c+=s.move(" "+n),c+=s.move(r.safe(t.title,ne({before:c,after:n},s.current()))),c+=s.move(n),l()),c+=s.move(")"),a(),c}function wN(t,e,r){return mb(t,r)?"<":"["}gb.peek=xN;function gb(t,e,r,i){let n=t.referenceType,o=r.enter("linkReference"),s=r.enter("label"),a=r.createTracker(i),l=a.move("["),c=r.containerPhrasing(t,ne({before:l,after:"]"},a.current()));l+=a.move(c+"]["),s();let u=r.stack;r.stack=[],s=r.enter("reference");let f=r.safe(r.associationId(t),ne({before:l,after:"]"},a.current()));return s(),r.stack=u,o(),n==="full"||!c||c!==f?l+=a.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function xN(){return"["}function Bl(t){let e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function uS(t){let e=Bl(t),r=t.options.bulletOther;if(!r)return e==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+r+"`) to be different");return r}function fS(t){let e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function l0(t){let e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function hS(t,e,r,i){let n=r.enter("list"),o=r.bulletCurrent,s=t.ordered?fS(r):Bl(r),a=t.ordered?s==="."?")":".":uS(r),l=e&&r.bulletLastUsed?s===r.bulletLastUsed:!1;if(!t.ordered){let u=t.children?t.children[0]:void 0;if((s==="*"||s==="-")&&u&&(!u.children||!u.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(l=!0),l0(r)===s&&u){let f=-1;for(;++f-1?e.start:1)+(r.options.incrementListMarker===!1?0:e.children.indexOf(t))+o);let s=o.length+1;(n==="tab"||n==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(s=Math.ceil(s/4)*4);let a=r.createTracker(i);a.move(o+" ".repeat(s-o.length)),a.shift(s);let l=r.enter("listItem"),c=r.indentLines(r.containerFlow(t,a.current()),u);return l(),c;function u(f,d,p){return d?(p?"":" ".repeat(s))+f:(p?o:o+" ".repeat(s-o.length))+f}}function mS(t,e,r,i){let n=r.enter("paragraph"),o=r.enter("phrasing"),s=r.containerPhrasing(t,i);return o(),n(),s}var bb=qn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function OS(t,e,r,i){return(t.children.some(function(s){return bb(s)})?r.containerPhrasing:r.containerFlow).call(r,t,i)}function gS(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}yb.peek=kN;function yb(t,e,r,i){let n=gS(r),o=r.enter("strong"),s=r.createTracker(i),a=s.move(n+n);return a+=s.move(r.containerPhrasing(t,ne({before:a,after:n},s.current()))),a+=s.move(n+n),o(),a}function kN(t,e,r){return r.options.strong||"*"}function bS(t,e,r,i){return r.safe(t.value,i)}function yS(t){let e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function vS(t,e,r){let i=(l0(r)+(r.options.ruleSpaces?" ":"")).repeat(yS(r));return r.options.ruleSpaces?i.slice(0,-1):i}var _u={blockquote:K6,break:cb,code:iS,definition:nS,emphasis:ub,hardBreak:cb,heading:cS,html:fb,image:hb,imageReference:db,inlineCode:pb,link:Ob,linkReference:gb,list:hS,listItem:pS,paragraph:mS,root:OS,strong:yb,text:bS,thematicBreak:vS};function wb(){return{enter:{table:SN,tableData:wS,tableHeader:wS,tableRow:EN},exit:{codeText:CN,table:TN,tableData:vb,tableHeader:vb,tableRow:vb}}}function SN(t){let e=t._align;this.enter({type:"table",align:e.map(function(r){return r==="none"?null:r}),children:[]},t),this.data.inTable=!0}function TN(t){this.exit(t),this.data.inTable=void 0}function EN(t){this.enter({type:"tableRow",children:[]},t)}function vb(t){this.exit(t)}function wS(t){this.enter({type:"tableCell",children:[]},t)}function CN(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,PN));let r=this.stack[this.stack.length-1];r.type,r.value=e,this.exit(t)}function PN(t,e){return e==="|"?e:t}function xb(t){let e=t||{},r=e.tableCellPadding,i=e.tablePipeAlign,n=e.stringLength,o=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:s,tableCell:l,tableRow:a}};function s(p,O,w,x){return c(u(p,w,x),p.align)}function a(p,O,w,x){let k=f(p,w,x),C=c([k]);return C.slice(0,C.indexOf(` -`))}function l(p,O,w,x){let k=w.enter("tableCell"),C=w.enter("phrasing"),R=w.containerPhrasing(p,Be(ne({},x),{before:o,after:o}));return C(),k(),R}function c(p,O){return H6(p,{align:O,alignDelimiters:i,padding:r,stringLength:n})}function u(p,O,w){let x=p.children,k=-1,C=[],R=O.enter("table");for(;++kn?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)s=Array.from(i),s.unshift(e,r),t.splice(...s);else for(r&&t.splice(e,r);o-1&&t.test(String.fromCharCode(r))}}var LN={tokenize:NN,partial:!0},CS={tokenize:jN,partial:!0},PS={tokenize:BN,partial:!0},QS={tokenize:VN,partial:!0},zN={tokenize:qN,partial:!0},_S={tokenize:DN,previous:RS},AS={tokenize:UN,previous:$S},So={tokenize:MN,previous:XS},Fn={};function Cb(){return{text:Fn}}var _a=48;for(;_a<123;)Fn[_a]=So,_a++,_a===58?_a=65:_a===91&&(_a=97);Fn[43]=So;Fn[45]=So;Fn[46]=So;Fn[95]=So;Fn[72]=[So,AS];Fn[104]=[So,AS];Fn[87]=[So,_S];Fn[119]=[So,_S];function MN(t,e,r){let i=this,n,o;return s;function s(f){return!Eb(f)||!XS.call(i,i.previous)||Pb(i.events)?r(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),a(f))}function a(f){return Eb(f)?(t.consume(f),a):f===64?(t.consume(f),l):r(f)}function l(f){return f===46?t.check(zN,u,c)(f):f===45||f===95||c0(f)?(o=!0,t.consume(f),l):u(f)}function c(f){return t.consume(f),n=!0,l}function u(f){return o&&n&&Vl(i.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):r(f)}}function DN(t,e,r){let i=this;return n;function n(s){return s!==87&&s!==119||!RS.call(i,i.previous)||Pb(i.events)?r(s):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(LN,t.attempt(CS,t.attempt(PS,o),r),r)(s))}function o(s){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(s)}}function UN(t,e,r){let i=this,n="",o=!1;return s;function s(f){return(f===72||f===104)&&$S.call(i,i.previous)&&!Pb(i.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),n+=String.fromCodePoint(f),t.consume(f),a):r(f)}function a(f){if(Vl(f)&&n.length<5)return n+=String.fromCodePoint(f),t.consume(f),a;if(f===58){let d=n.toLowerCase();if(d==="http"||d==="https")return t.consume(f),l}return r(f)}function l(f){return f===47?(t.consume(f),o?c:(o=!0,l)):r(f)}function c(f){return f===null||ES(f)||Qa(f)||ql(f)||Tb(f)?r(f):t.attempt(CS,t.attempt(PS,u),r)(f)}function u(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function NN(t,e,r){let i=0;return n;function n(s){return(s===87||s===119)&&i<3?(i++,t.consume(s),n):s===46&&i===3?(t.consume(s),o):r(s)}function o(s){return s===null?r(s):e(s)}}function jN(t,e,r){let i,n,o;return s;function s(c){return c===46||c===95?t.check(QS,l,a)(c):c===null||Qa(c)||ql(c)||c!==45&&Tb(c)?l(c):(o=!0,t.consume(c),s)}function a(c){return c===95?i=!0:(n=i,i=void 0),t.consume(c),s}function l(c){return n||i||!o?r(c):e(c)}}function BN(t,e){let r=0,i=0;return n;function n(s){return s===40?(r++,t.consume(s),n):s===41&&i0&&!r&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}var eOe=Es(new RegExp("\\p{P}","u")),tOe=Es(/[A-Za-z]/),rOe=Es(/[\dA-Za-z]/),iOe=Es(/[#-'*+\--9=?A-Z^-~]/);var nOe=Es(/\d/),oOe=Es(/[\dA-Fa-f]/),sOe=Es(/[!-/:-@[-`{-~]/);function IS(t){return t!==null&&t<-2}function Au(t){return t!==null&&(t<0||t===32)}function Ru(t){return t===-2||t===-1||t===32}var aOe=Es(/\s/);function Es(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function $u(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Ru(l)?(t.enter(r),a(l)):e(l)}function a(l){return Ru(l)&&o++999||f===93&&!s||f===null||f===91||Au(f))return r(f);if(f===93){t.exit("chunkString");let d=t.exit("gfmFootnoteCallString");return n.includes(u0(i.sliceSerialize(d)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):r(f)}return Au(f)||(s=!0),o++,t.consume(f),f===92?u:c}function u(f){return f===91||f===92||f===93?(t.consume(f),o++,c):c(f)}}function GN(t,e,r){let i=this,n=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o,s=0,a;return l;function l(O){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(O){return O===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",u):r(O)}function u(O){if(s>999||O===93&&!a||O===null||O===91||Au(O))return r(O);if(O===93){t.exit("chunkString");let w=t.exit("gfmFootnoteDefinitionLabelString");return o=u0(i.sliceSerialize(w)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),d}return Au(O)||(a=!0),s++,t.consume(O),O===92?f:u}function f(O){return O===91||O===92||O===93?(t.consume(O),s++,u):u(O)}function d(O){return O===58?(t.enter("definitionMarker"),t.consume(O),t.exit("definitionMarker"),n.includes(o)||n.push(o),$u(t,p,"gfmFootnoteDefinitionWhitespace")):r(O)}function p(O){return e(O)}}function KN(t,e,r){return t.check(Qb,e,t.attempt(WN,e,r))}function JN(t){t.exit("gfmFootnoteDefinition")}function ej(t,e,r){let i=this;return $u(t,n,"gfmFootnoteDefinitionIndent",4+1);function n(o){let s=i.events[i.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):r(o)}}function f0(t,e,r,i){let n=t.length,o=0,s;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)s=Array.from(i),s.unshift(e,r),t.splice(...s);else for(r&&t.splice(e,r);o-1&&t.test(String.fromCharCode(r))}}function Ab(t){if(t===null||LS(t)||MS(t))return 1;if(zS(t))return 2}function DS(t,e,r){let i=[],n=-1;for(;++n1?l(O):(s.consume(O),f++,p);if(f<2&&!r)return l(O);let x=s.exit("strikethroughSequenceTemporary"),k=Ab(O);return x._open=!k||k===2&&!!w,x._close=!w||w===2&&!!k,a(O)}}}var UOe=Ps(new RegExp("\\p{P}","u")),NOe=Ps(/[A-Za-z]/),jOe=Ps(/[\dA-Za-z]/),BOe=Ps(/[#-'*+\--9=?A-Z^-~]/);var VOe=Ps(/\d/),qOe=Ps(/[\dA-Fa-f]/),FOe=Ps(/[!-/:-@[-`{-~]/);function Xu(t){return t!==null&&t<-2}function $b(t){return t!==null&&(t<0||t===32)}function To(t){return t===-2||t===-1||t===32}var WOe=Ps(/\s/);function Ps(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Fl(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return To(l)?(t.enter(r),a(l)):e(l)}function a(l){return To(l)&&o++0;)r-=1,i.push(e.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),e.length=this.map[r][0];i.push([...e]),e.length=0;let n=i.pop();for(;n;)e.push(...n),n=i.pop();this.map.length=0}};function ij(t,e,r,i){let n=0;if(!(r===0&&i.length===0)){for(;n-1;){let ge=i.events[oe][1].type;if(ge==="lineEnding"||ge==="linePrefix")oe--;else break}let pe=oe>-1?i.events[oe][1].type:null,fe=pe==="tableHead"||pe==="tableRow"?L:l;return fe===L&&i.parser.lazy[i.now().line]?r(q):fe(q)}function l(q){return t.enter("tableHead"),t.enter("tableRow"),c(q)}function c(q){return q===124||(s=!0,o+=1),u(q)}function u(q){return q===null?r(q):Xu(q)?o>1?(o=0,i.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(q),t.exit("lineEnding"),p):r(q):To(q)?Fl(t,u,"whitespace")(q):(o+=1,s&&(s=!1,n+=1),q===124?(t.enter("tableCellDivider"),t.consume(q),t.exit("tableCellDivider"),s=!0,u):(t.enter("data"),f(q)))}function f(q){return q===null||q===124||$b(q)?(t.exit("data"),u(q)):(t.consume(q),q===92?d:f)}function d(q){return q===92||q===124?(t.consume(q),f):f(q)}function p(q){return i.interrupt=!1,i.parser.lazy[i.now().line]?r(q):(t.enter("tableDelimiterRow"),s=!1,To(q)?Fl(t,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(q):O(q))}function O(q){return q===45||q===58?x(q):q===124?(s=!0,t.enter("tableCellDivider"),t.consume(q),t.exit("tableCellDivider"),w):z(q)}function w(q){return To(q)?Fl(t,x,"whitespace")(q):x(q)}function x(q){return q===58?(o+=1,s=!0,t.enter("tableDelimiterMarker"),t.consume(q),t.exit("tableDelimiterMarker"),k):q===45?(o+=1,k(q)):q===null||Xu(q)?Q(q):z(q)}function k(q){return q===45?(t.enter("tableDelimiterFiller"),C(q)):z(q)}function C(q){return q===45?(t.consume(q),C):q===58?(s=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(q),t.exit("tableDelimiterMarker"),R):(t.exit("tableDelimiterFiller"),R(q))}function R(q){return To(q)?Fl(t,Q,"whitespace")(q):Q(q)}function Q(q){return q===124?O(q):q===null||Xu(q)?!s||n!==o?z(q):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(q)):z(q)}function z(q){return r(q)}function L(q){return t.enter("tableRow"),Z(q)}function Z(q){return q===124?(t.enter("tableCellDivider"),t.consume(q),t.exit("tableCellDivider"),Z):q===null||Xu(q)?(t.exit("tableRow"),e(q)):To(q)?Fl(t,Z,"whitespace")(q):(t.enter("data"),re(q))}function re(q){return q===null||q===124||$b(q)?(t.exit("data"),Z(q)):(t.consume(q),q===92?H:re)}function H(q){return q===92||q===124?(t.consume(q),re):re(q)}}function oj(t,e){let r=-1,i=!0,n=0,o=[0,0,0,0],s=[0,0,0,0],a=!1,l=0,c,u,f,d=new h0;for(;++rr[2]+1){let O=r[2]+1,w=r[3]-r[2]-1;t.add(O,w,[])}}t.add(r[3]+1,0,[["exit",f,e]])}return n!==void 0&&(o.end=Object.assign({},Wl(e.events,n)),t.add(n,0,[["exit",o,e]]),o=void 0),o}function NS(t,e,r,i,n){let o=[],s=Wl(e.events,r);n&&(n.end=Object.assign({},s),o.push(["exit",n,e])),i.end=Object.assign({},s),o.push(["exit",i,e]),t.add(r+1,0,o)}function Wl(t,e){let r=t[e],i=r[0]==="enter"?"start":"end";return r[1][i]}var sge=Qs(new RegExp("\\p{P}","u")),age=Qs(/[A-Za-z]/),lge=Qs(/[\dA-Za-z]/),cge=Qs(/[#-'*+\--9=?A-Z^-~]/);var uge=Qs(/\d/),fge=Qs(/[\dA-Fa-f]/),hge=Qs(/[!-/:-@[-`{-~]/);function jS(t){return t!==null&&t<-2}function BS(t){return t!==null&&(t<0||t===32)}function Iu(t){return t===-2||t===-1||t===32}var dge=Qs(/\s/);function Qs(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function VS(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Iu(l)?(t.enter(r),a(l)):e(l)}function a(l){return Iu(l)&&o++n?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)s=Array.from(i),s.unshift(e,r),t.splice(...s);else for(r&&t.splice(e,r);o-1&&t.test(String.fromCharCode(r))}}var IN={tokenize:UN,partial:!0},CS={tokenize:NN,partial:!0},PS={tokenize:jN,partial:!0},QS={tokenize:BN,partial:!0},LN={tokenize:VN,partial:!0},_S={tokenize:MN,previous:RS},AS={tokenize:DN,previous:$S},So={tokenize:zN,previous:XS},Fn={};function Qb(){return{text:Fn}}var _a=48;for(;_a<123;)Fn[_a]=So,_a++,_a===58?_a=65:_a===91&&(_a=97);Fn[43]=So;Fn[45]=So;Fn[46]=So;Fn[95]=So;Fn[72]=[So,AS];Fn[104]=[So,AS];Fn[87]=[So,_S];Fn[119]=[So,_S];function zN(t,e,r){let i=this,n,o;return s;function s(f){return!Pb(f)||!XS.call(i,i.previous)||_b(i.events)?r(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),a(f))}function a(f){return Pb(f)?(t.consume(f),a):f===64?(t.consume(f),l):r(f)}function l(f){return f===46?t.check(LN,u,c)(f):f===45||f===95||c0(f)?(o=!0,t.consume(f),l):u(f)}function c(f){return t.consume(f),n=!0,l}function u(f){return o&&n&&Vl(i.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):r(f)}}function MN(t,e,r){let i=this;return n;function n(s){return s!==87&&s!==119||!RS.call(i,i.previous)||_b(i.events)?r(s):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(IN,t.attempt(CS,t.attempt(PS,o),r),r)(s))}function o(s){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(s)}}function DN(t,e,r){let i=this,n="",o=!1;return s;function s(f){return(f===72||f===104)&&$S.call(i,i.previous)&&!_b(i.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),n+=String.fromCodePoint(f),t.consume(f),a):r(f)}function a(f){if(Vl(f)&&n.length<5)return n+=String.fromCodePoint(f),t.consume(f),a;if(f===58){let d=n.toLowerCase();if(d==="http"||d==="https")return t.consume(f),l}return r(f)}function l(f){return f===47?(t.consume(f),o?c:(o=!0,l)):r(f)}function c(f){return f===null||ES(f)||Qa(f)||ql(f)||Cb(f)?r(f):t.attempt(CS,t.attempt(PS,u),r)(f)}function u(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function UN(t,e,r){let i=0;return n;function n(s){return(s===87||s===119)&&i<3?(i++,t.consume(s),n):s===46&&i===3?(t.consume(s),o):r(s)}function o(s){return s===null?r(s):e(s)}}function NN(t,e,r){let i,n,o;return s;function s(c){return c===46||c===95?t.check(QS,l,a)(c):c===null||Qa(c)||ql(c)||c!==45&&Cb(c)?l(c):(o=!0,t.consume(c),s)}function a(c){return c===95?i=!0:(n=i,i=void 0),t.consume(c),s}function l(c){return n||i||!o?r(c):e(c)}}function jN(t,e){let r=0,i=0;return n;function n(s){return s===40?(r++,t.consume(s),n):s===41&&i0&&!r&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}var Jme=Cs(new RegExp("\\p{P}","u")),eOe=Cs(/[A-Za-z]/),tOe=Cs(/[\dA-Za-z]/),rOe=Cs(/[#-'*+\--9=?A-Z^-~]/);var iOe=Cs(/\d/),nOe=Cs(/[\dA-Fa-f]/),oOe=Cs(/[!-/:-@[-`{-~]/);function IS(t){return t!==null&&t<-2}function Au(t){return t!==null&&(t<0||t===32)}function Ru(t){return t===-2||t===-1||t===32}var sOe=Cs(/\s/);function Cs(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function $u(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Ru(l)?(t.enter(r),a(l)):e(l)}function a(l){return Ru(l)&&o++999||f===93&&!s||f===null||f===91||Au(f))return r(f);if(f===93){t.exit("chunkString");let d=t.exit("gfmFootnoteCallString");return n.includes(u0(i.sliceSerialize(d)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):r(f)}return Au(f)||(s=!0),o++,t.consume(f),f===92?u:c}function u(f){return f===91||f===92||f===93?(t.consume(f),o++,c):c(f)}}function HN(t,e,r){let i=this,n=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o,s=0,a;return l;function l(O){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(O){return O===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",u):r(O)}function u(O){if(s>999||O===93&&!a||O===null||O===91||Au(O))return r(O);if(O===93){t.exit("chunkString");let w=t.exit("gfmFootnoteDefinitionLabelString");return o=u0(i.sliceSerialize(w)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),d}return Au(O)||(a=!0),s++,t.consume(O),O===92?f:u}function f(O){return O===91||O===92||O===93?(t.consume(O),s++,u):u(O)}function d(O){return O===58?(t.enter("definitionMarker"),t.consume(O),t.exit("definitionMarker"),n.includes(o)||n.push(o),$u(t,p,"gfmFootnoteDefinitionWhitespace")):r(O)}function p(O){return e(O)}}function GN(t,e,r){return t.check(Ab,e,t.attempt(FN,e,r))}function KN(t){t.exit("gfmFootnoteDefinition")}function JN(t,e,r){let i=this;return $u(t,n,"gfmFootnoteDefinitionIndent",4+1);function n(o){let s=i.events[i.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):r(o)}}function f0(t,e,r,i){let n=t.length,o=0,s;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)s=Array.from(i),s.unshift(e,r),t.splice(...s);else for(r&&t.splice(e,r);o-1&&t.test(String.fromCharCode(r))}}function $b(t){if(t===null||LS(t)||MS(t))return 1;if(zS(t))return 2}function DS(t,e,r){let i=[],n=-1;for(;++n1?l(O):(s.consume(O),f++,p);if(f<2&&!r)return l(O);let x=s.exit("strikethroughSequenceTemporary"),k=$b(O);return x._open=!k||k===2&&!!w,x._close=!w||w===2&&!!k,a(O)}}}var DOe=Qs(new RegExp("\\p{P}","u")),UOe=Qs(/[A-Za-z]/),NOe=Qs(/[\dA-Za-z]/),jOe=Qs(/[#-'*+\--9=?A-Z^-~]/);var BOe=Qs(/\d/),VOe=Qs(/[\dA-Fa-f]/),qOe=Qs(/[!-/:-@[-`{-~]/);function Xu(t){return t!==null&&t<-2}function Ib(t){return t!==null&&(t<0||t===32)}function To(t){return t===-2||t===-1||t===32}var FOe=Qs(/\s/);function Qs(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Fl(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return To(l)?(t.enter(r),a(l)):e(l)}function a(l){return To(l)&&o++0;)r-=1,i.push(e.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),e.length=this.map[r][0];i.push([...e]),e.length=0;let n=i.pop();for(;n;)e.push(...n),n=i.pop();this.map.length=0}};function rj(t,e,r,i){let n=0;if(!(r===0&&i.length===0)){for(;n-1;){let ge=i.events[oe][1].type;if(ge==="lineEnding"||ge==="linePrefix")oe--;else break}let pe=oe>-1?i.events[oe][1].type:null,fe=pe==="tableHead"||pe==="tableRow"?z:l;return fe===z&&i.parser.lazy[i.now().line]?r(q):fe(q)}function l(q){return t.enter("tableHead"),t.enter("tableRow"),c(q)}function c(q){return q===124||(s=!0,o+=1),u(q)}function u(q){return q===null?r(q):Xu(q)?o>1?(o=0,i.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(q),t.exit("lineEnding"),p):r(q):To(q)?Fl(t,u,"whitespace")(q):(o+=1,s&&(s=!1,n+=1),q===124?(t.enter("tableCellDivider"),t.consume(q),t.exit("tableCellDivider"),s=!0,u):(t.enter("data"),f(q)))}function f(q){return q===null||q===124||Ib(q)?(t.exit("data"),u(q)):(t.consume(q),q===92?d:f)}function d(q){return q===92||q===124?(t.consume(q),f):f(q)}function p(q){return i.interrupt=!1,i.parser.lazy[i.now().line]?r(q):(t.enter("tableDelimiterRow"),s=!1,To(q)?Fl(t,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(q):O(q))}function O(q){return q===45||q===58?x(q):q===124?(s=!0,t.enter("tableCellDivider"),t.consume(q),t.exit("tableCellDivider"),w):L(q)}function w(q){return To(q)?Fl(t,x,"whitespace")(q):x(q)}function x(q){return q===58?(o+=1,s=!0,t.enter("tableDelimiterMarker"),t.consume(q),t.exit("tableDelimiterMarker"),k):q===45?(o+=1,k(q)):q===null||Xu(q)?Q(q):L(q)}function k(q){return q===45?(t.enter("tableDelimiterFiller"),C(q)):L(q)}function C(q){return q===45?(t.consume(q),C):q===58?(s=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(q),t.exit("tableDelimiterMarker"),R):(t.exit("tableDelimiterFiller"),R(q))}function R(q){return To(q)?Fl(t,Q,"whitespace")(q):Q(q)}function Q(q){return q===124?O(q):q===null||Xu(q)?!s||n!==o?L(q):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(q)):L(q)}function L(q){return r(q)}function z(q){return t.enter("tableRow"),Z(q)}function Z(q){return q===124?(t.enter("tableCellDivider"),t.consume(q),t.exit("tableCellDivider"),Z):q===null||Xu(q)?(t.exit("tableRow"),e(q)):To(q)?Fl(t,Z,"whitespace")(q):(t.enter("data"),re(q))}function re(q){return q===null||q===124||Ib(q)?(t.exit("data"),Z(q)):(t.consume(q),q===92?H:re)}function H(q){return q===92||q===124?(t.consume(q),re):re(q)}}function nj(t,e){let r=-1,i=!0,n=0,o=[0,0,0,0],s=[0,0,0,0],a=!1,l=0,c,u,f,d=new h0;for(;++rr[2]+1){let O=r[2]+1,w=r[3]-r[2]-1;t.add(O,w,[])}}t.add(r[3]+1,0,[["exit",f,e]])}return n!==void 0&&(o.end=Object.assign({},Wl(e.events,n)),t.add(n,0,[["exit",o,e]]),o=void 0),o}function NS(t,e,r,i,n){let o=[],s=Wl(e.events,r);n&&(n.end=Object.assign({},s),o.push(["exit",n,e])),i.end=Object.assign({},s),o.push(["exit",i,e]),t.add(r+1,0,o)}function Wl(t,e){let r=t[e],i=r[0]==="enter"?"start":"end";return r[1][i]}var oge=_s(new RegExp("\\p{P}","u")),sge=_s(/[A-Za-z]/),age=_s(/[\dA-Za-z]/),lge=_s(/[#-'*+\--9=?A-Z^-~]/);var cge=_s(/\d/),uge=_s(/[\dA-Fa-f]/),fge=_s(/[!-/:-@[-`{-~]/);function jS(t){return t!==null&&t<-2}function BS(t){return t!==null&&(t<0||t===32)}function Iu(t){return t===-2||t===-1||t===32}var hge=_s(/\s/);function _s(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function VS(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Iu(l)?(t.enter(r),a(l)):e(l)}function a(l){return Iu(l)&&o++-1&&t.test(String.fromCharCode(r))}}function Lu(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Mb(l)?(t.enter(r),a(l)):e(l)}function a(l){return Mb(l)&&o++15?c="\u2026"+a.slice(n-15,n):c=a.slice(0,n);var u;o+15":">","<":"<",'"':""","'":"'"},yj=/[&><"']/g;function vj(t){return String(t).replace(yj,e=>bj[e])}var E7=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},wj=function(e){var r=E7(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},xj=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},kj=function(e){var r=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return r!=null?r[1]:"_relative"},Ke={contains:pj,deflt:mj,escape:vj,hyphenate:gj,getBaseElem:E7,isCharacterBox:wj,protocolFromUrl:kj},E0={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:t=>"#"+t},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},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:t=>Math.max(0,t),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:t=>Math.max(0,t),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:t=>Math.max(0,t),cli:"-e, --max-expand ",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function Sj(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var Nu=class{constructor(e){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||{};for(var r in E0)if(E0.hasOwnProperty(r)){var i=E0[r];this[r]=e[r]!==void 0?i.processor?i.processor(e[r]):e[r]:Sj(i)}}reportNonstrict(e,r,i){var n=this.strict;if(typeof n=="function"&&(n=n(e,r,i)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new Pe("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),i);n==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,i){var n=this.strict;if(typeof n=="function")try{n=n(e,r,i)}catch(o){n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+e+"]")),!1)}isTrusted(e){e.url&&!e.protocol&&(e.protocol=Ke.protocolFromUrl(e.url));var r=typeof this.trust=="function"?this.trust(e):this.trust;return!!r}},Wn=class{constructor(e,r,i){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=i}sup(){return Zn[Tj[this.id]]}sub(){return Zn[Ej[this.id]]}fracNum(){return Zn[Cj[this.id]]}fracDen(){return Zn[Pj[this.id]]}cramp(){return Zn[Qj[this.id]]}text(){return Zn[_j[this.id]]}isTight(){return this.size>=2}},u2=0,P0=1,Yl=2,Qo=3,ju=4,Gi=5,Hl=6,si=7,Zn=[new Wn(u2,0,!1),new Wn(P0,0,!0),new Wn(Yl,1,!1),new Wn(Qo,1,!0),new Wn(ju,2,!1),new Wn(Gi,2,!0),new Wn(Hl,3,!1),new Wn(si,3,!0)],Tj=[ju,Gi,ju,Gi,Hl,si,Hl,si],Ej=[Gi,Gi,Gi,Gi,si,si,si,si],Cj=[Yl,Qo,ju,Gi,Hl,si,Hl,si],Pj=[Qo,Qo,Gi,Gi,si,si,si,si],Qj=[P0,P0,Qo,Qo,Gi,Gi,si,si],_j=[u2,P0,Yl,Qo,Yl,Qo,Yl,Qo],We={DISPLAY:Zn[u2],TEXT:Zn[Yl],SCRIPT:Zn[ju],SCRIPTSCRIPT:Zn[Hl]},Kb=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Aj(t){for(var e=0;e=n[0]&&t<=n[1])return r.name}return null}var C0=[];Kb.forEach(t=>t.blocks.forEach(e=>C0.push(...e)));function C7(t){for(var e=0;e=C0[e]&&t<=C0[e+1])return!0;return!1}var Zl=80,Rj=function(e,r){return"M95,"+(622+e+r)+` +`)),p+=u.move(f),d(),p}function i(o,s,a){let l=o.value||"",c=1;for(e||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;let u="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let f=-1;for(;++f-1&&t.test(String.fromCharCode(r))}}function Lu(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Ub(l)?(t.enter(r),a(l)):e(l)}function a(l){return Ub(l)&&o++15?c="\u2026"+a.slice(n-15,n):c=a.slice(0,n);var u;o+15":">","<":"<",'"':""","'":"'"},bj=/[&><"']/g;function yj(t){return String(t).replace(bj,e=>gj[e])}var E7=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},vj=function(e){var r=E7(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},wj=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},xj=function(e){var r=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return r!=null?r[1]:"_relative"},Ke={contains:dj,deflt:pj,escape:yj,hyphenate:Oj,getBaseElem:E7,isCharacterBox:vj,protocolFromUrl:xj},E0={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:t=>"#"+t},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},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:t=>Math.max(0,t),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:t=>Math.max(0,t),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:t=>Math.max(0,t),cli:"-e, --max-expand ",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function kj(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var Nu=class{constructor(e){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||{};for(var r in E0)if(E0.hasOwnProperty(r)){var i=E0[r];this[r]=e[r]!==void 0?i.processor?i.processor(e[r]):e[r]:kj(i)}}reportNonstrict(e,r,i){var n=this.strict;if(typeof n=="function"&&(n=n(e,r,i)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new Pe("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),i);n==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,i){var n=this.strict;if(typeof n=="function")try{n=n(e,r,i)}catch(o){n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+e+"]")),!1)}isTrusted(e){e.url&&!e.protocol&&(e.protocol=Ke.protocolFromUrl(e.url));var r=typeof this.trust=="function"?this.trust(e):this.trust;return!!r}},Wn=class{constructor(e,r,i){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=i}sup(){return Zn[Sj[this.id]]}sub(){return Zn[Tj[this.id]]}fracNum(){return Zn[Ej[this.id]]}fracDen(){return Zn[Cj[this.id]]}cramp(){return Zn[Pj[this.id]]}text(){return Zn[Qj[this.id]]}isTight(){return this.size>=2}},h2=0,P0=1,Yl=2,Qo=3,ju=4,Gi=5,Hl=6,si=7,Zn=[new Wn(h2,0,!1),new Wn(P0,0,!0),new Wn(Yl,1,!1),new Wn(Qo,1,!0),new Wn(ju,2,!1),new Wn(Gi,2,!0),new Wn(Hl,3,!1),new Wn(si,3,!0)],Sj=[ju,Gi,ju,Gi,Hl,si,Hl,si],Tj=[Gi,Gi,Gi,Gi,si,si,si,si],Ej=[Yl,Qo,ju,Gi,Hl,si,Hl,si],Cj=[Qo,Qo,Gi,Gi,si,si,si,si],Pj=[P0,P0,Qo,Qo,Gi,Gi,si,si],Qj=[h2,P0,Yl,Qo,Yl,Qo,Yl,Qo],We={DISPLAY:Zn[h2],TEXT:Zn[Yl],SCRIPT:Zn[ju],SCRIPTSCRIPT:Zn[Hl]},e2=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function _j(t){for(var e=0;e=n[0]&&t<=n[1])return r.name}return null}var C0=[];e2.forEach(t=>t.blocks.forEach(e=>C0.push(...e)));function C7(t){for(var e=0;e=C0[e]&&t<=C0[e+1])return!0;return!1}var Zl=80,Aj=function(e,r){return"M95,"+(622+e+r)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 @@ -43,7 +42,7 @@ c5.3,-9.3,12,-14,20,-14 H400000v`+(40+e)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z -M`+(834+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},$j=function(e,r){return"M263,"+(601+e+r)+`c0.7,0,18,39.7,52,119 +M`+(834+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Rj=function(e,r){return"M263,"+(601+e+r)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+e/2.084+" -"+e+` @@ -53,7 +52,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5, c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z -M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Xj=function(e,r){return"M983 "+(10+e+r)+` +M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},$j=function(e,r){return"M983 "+(10+e+r)+` l`+e/3.13+" -"+e+` c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 @@ -62,7 +61,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z -M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Ij=function(e,r){return"M424,"+(2398+e+r)+` +M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Xj=function(e,r){return"M424,"+(2398+e+r)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 @@ -72,18 +71,18 @@ v`+(40+e)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+r+` -h400000v`+(40+e)+"h-400000z"},Lj=function(e,r){return"M473,"+(2713+e+r)+` +h400000v`+(40+e)+"h-400000z"},Ij=function(e,r){return"M473,"+(2713+e+r)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, -606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},zj=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},Mj=function(e,r,i){var n=i-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+` +606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},Lj=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},zj=function(e,r,i){var n=i-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+` H742v`+n+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 -219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},Dj=function(e,r,i){r=1e3*r;var n="";switch(e){case"sqrtMain":n=Rj(r,Zl);break;case"sqrtSize1":n=$j(r,Zl);break;case"sqrtSize2":n=Xj(r,Zl);break;case"sqrtSize3":n=Ij(r,Zl);break;case"sqrtSize4":n=Lj(r,Zl);break;case"sqrtTall":n=Mj(r,Zl,i)}return n},Uj=function(e,r){switch(e){case"\u239C":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"\u2223":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"\u2225":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"\u239F":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"\u23A2":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"\u23A5":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"\u23AA":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"\u23D0":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"\u2016":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},YS={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},Mj=function(e,r,i){r=1e3*r;var n="";switch(e){case"sqrtMain":n=Aj(r,Zl);break;case"sqrtSize1":n=Rj(r,Zl);break;case"sqrtSize2":n=$j(r,Zl);break;case"sqrtSize3":n=Xj(r,Zl);break;case"sqrtSize4":n=Ij(r,Zl);break;case"sqrtTall":n=zj(r,Zl,i)}return n},Dj=function(e,r){switch(e){case"\u239C":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"\u2223":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"\u2225":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"\u239F":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"\u23A2":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"\u23A5":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"\u23AA":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"\u23D0":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"\u2016":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},YS={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 @@ -258,7 +257,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z` c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z -M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Nj=function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84 +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Uj=function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15 @@ -286,25 +285,25 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},$a=class{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 Ke.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;rr.toText();return this.children.map(e).join("")}},Yn={"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]}},m0={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]},HS={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"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 jj(t,e){Yn[t]=e}function f2(t,e,r){if(!Yn[e])throw new Error("Font metrics not found for font: "+e+".");var i=t.charCodeAt(0),n=Yn[e][i];if(!n&&t[0]in HS&&(i=HS[t[0]].charCodeAt(0),n=Yn[e][i]),!n&&r==="text"&&C7(i)&&(n=Yn[e][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var Ub={};function Bj(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!Ub[e]){var r=Ub[e]={cssEmPerMu:m0.quad[e]/18};for(var i in m0)m0.hasOwnProperty(i)&&(r[i]=m0[i][e])}return Ub[e]}var Vj=[[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]],GS=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],KS=function(e,r){return r.size<2?e:Vj[e-1][r.size-1]},Q0=class t{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||t.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=GS[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var r={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 i in e)e.hasOwnProperty(i)&&(r[i]=e[i]);return new t(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:KS(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:GS[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=KS(t.BASESIZE,e);return this.size===r&&this.textSize===t.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}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!==t.BASESIZE?["sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Bj(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};Q0.BASESIZE=6;var Jb={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},qj={ex:!0,em:!0,mu:!0},P7=function(e){return typeof e!="string"&&(e=e.unit),e in Jb||e in qj||e==="ex"},Gt=function(e,r){var i;if(e.unit in Jb)i=Jb[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")i=r.fontMetrics().cssEmPerMu;else{var n;if(r.style.isTight()?n=r.havingStyle(r.style.text()):n=r,e.unit==="ex")i=n.fontMetrics().xHeight;else if(e.unit==="em")i=n.fontMetrics().quad;else throw new Pe("Invalid unit: '"+e.unit+"'");n!==r&&(i*=n.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*i,r.maxSize)},Ae=function(e){return+e.toFixed(4)+"em"},$s=function(e){return e.filter(r=>r).join(" ")},Q7=function(e,r,i){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=i||{},r){r.style.isTight()&&this.classes.push("mtight");var n=r.getColor();n&&(this.style.color=n)}},_7=function(e){var r=document.createElement(e);r.className=$s(this.classes);for(var i in this.style)this.style.hasOwnProperty(i)&&(r.style[i]=this.style[i]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&r.setAttribute(n,this.attributes[n]);for(var o=0;o",r},Xa=class{constructor(e,r,i,n){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,Q7.call(this,e,i,n),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Ke.contains(this.classes,e)}toNode(){return _7.call(this,"span")}toMarkup(){return A7.call(this,"span")}},Bu=class{constructor(e,r,i,n){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,Q7.call(this,r,n),this.children=i||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Ke.contains(this.classes,e)}toNode(){return _7.call(this,"a")}toMarkup(){return A7.call(this,"a")}},e2=class{constructor(e,r,i){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=r,this.src=e,this.classes=["mord"],this.style=i}hasClass(e){return Ke.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e=""+this.alt+"0&&(r=document.createElement("span"),r.style.marginRight=Ae(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=$s(this.classes));for(var i in this.style)this.style.hasOwnProperty(i)&&(r=r||document.createElement("span"),r.style[i]=this.style[i]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="0&&(i+="margin-right:"+this.italic+"em;");for(var n in this.style)this.style.hasOwnProperty(n)&&(i+=Ke.hyphenate(n)+":"+this.style[n]+";");i&&(e=!0,r+=' style="'+Ke.escape(i)+'"');var o=Ke.escape(this.text);return e?(r+=">",r+=o,r+="",r):o}},vn=class{constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"svg");for(var i in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,i)&&r.setAttribute(i,this.attributes[i]);for(var n=0;n":""}},Vu=class{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var i in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,i)&&r.setAttribute(i,this.attributes[i]);return r}toMarkup(){var e=" but got "+String(t)+".")}var Zj={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Yj={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Dt={math:{},text:{}};function v(t,e,r,i,n,o){Dt[t][n]={font:e,group:r,replace:i},o&&i&&(Dt[t][i]=Dt[t][n])}var S="math",we="text",P="main",N="ams",Bt="accent-token",ze="bin",ai="close",Gl="inner",Fe="mathord",fr="op-token",Ii="open",L0="punct",B="rel",$o="spacing",Y="textord";v(S,P,B,"\u2261","\\equiv",!0);v(S,P,B,"\u227A","\\prec",!0);v(S,P,B,"\u227B","\\succ",!0);v(S,P,B,"\u223C","\\sim",!0);v(S,P,B,"\u22A5","\\perp");v(S,P,B,"\u2AAF","\\preceq",!0);v(S,P,B,"\u2AB0","\\succeq",!0);v(S,P,B,"\u2243","\\simeq",!0);v(S,P,B,"\u2223","\\mid",!0);v(S,P,B,"\u226A","\\ll",!0);v(S,P,B,"\u226B","\\gg",!0);v(S,P,B,"\u224D","\\asymp",!0);v(S,P,B,"\u2225","\\parallel");v(S,P,B,"\u22C8","\\bowtie",!0);v(S,P,B,"\u2323","\\smile",!0);v(S,P,B,"\u2291","\\sqsubseteq",!0);v(S,P,B,"\u2292","\\sqsupseteq",!0);v(S,P,B,"\u2250","\\doteq",!0);v(S,P,B,"\u2322","\\frown",!0);v(S,P,B,"\u220B","\\ni",!0);v(S,P,B,"\u221D","\\propto",!0);v(S,P,B,"\u22A2","\\vdash",!0);v(S,P,B,"\u22A3","\\dashv",!0);v(S,P,B,"\u220B","\\owns");v(S,P,L0,".","\\ldotp");v(S,P,L0,"\u22C5","\\cdotp");v(S,P,Y,"#","\\#");v(we,P,Y,"#","\\#");v(S,P,Y,"&","\\&");v(we,P,Y,"&","\\&");v(S,P,Y,"\u2135","\\aleph",!0);v(S,P,Y,"\u2200","\\forall",!0);v(S,P,Y,"\u210F","\\hbar",!0);v(S,P,Y,"\u2203","\\exists",!0);v(S,P,Y,"\u2207","\\nabla",!0);v(S,P,Y,"\u266D","\\flat",!0);v(S,P,Y,"\u2113","\\ell",!0);v(S,P,Y,"\u266E","\\natural",!0);v(S,P,Y,"\u2663","\\clubsuit",!0);v(S,P,Y,"\u2118","\\wp",!0);v(S,P,Y,"\u266F","\\sharp",!0);v(S,P,Y,"\u2662","\\diamondsuit",!0);v(S,P,Y,"\u211C","\\Re",!0);v(S,P,Y,"\u2661","\\heartsuit",!0);v(S,P,Y,"\u2111","\\Im",!0);v(S,P,Y,"\u2660","\\spadesuit",!0);v(S,P,Y,"\xA7","\\S",!0);v(we,P,Y,"\xA7","\\S");v(S,P,Y,"\xB6","\\P",!0);v(we,P,Y,"\xB6","\\P");v(S,P,Y,"\u2020","\\dag");v(we,P,Y,"\u2020","\\dag");v(we,P,Y,"\u2020","\\textdagger");v(S,P,Y,"\u2021","\\ddag");v(we,P,Y,"\u2021","\\ddag");v(we,P,Y,"\u2021","\\textdaggerdbl");v(S,P,ai,"\u23B1","\\rmoustache",!0);v(S,P,Ii,"\u23B0","\\lmoustache",!0);v(S,P,ai,"\u27EF","\\rgroup",!0);v(S,P,Ii,"\u27EE","\\lgroup",!0);v(S,P,ze,"\u2213","\\mp",!0);v(S,P,ze,"\u2296","\\ominus",!0);v(S,P,ze,"\u228E","\\uplus",!0);v(S,P,ze,"\u2293","\\sqcap",!0);v(S,P,ze,"\u2217","\\ast");v(S,P,ze,"\u2294","\\sqcup",!0);v(S,P,ze,"\u25EF","\\bigcirc",!0);v(S,P,ze,"\u2219","\\bullet",!0);v(S,P,ze,"\u2021","\\ddagger");v(S,P,ze,"\u2240","\\wr",!0);v(S,P,ze,"\u2A3F","\\amalg");v(S,P,ze,"&","\\And");v(S,P,B,"\u27F5","\\longleftarrow",!0);v(S,P,B,"\u21D0","\\Leftarrow",!0);v(S,P,B,"\u27F8","\\Longleftarrow",!0);v(S,P,B,"\u27F6","\\longrightarrow",!0);v(S,P,B,"\u21D2","\\Rightarrow",!0);v(S,P,B,"\u27F9","\\Longrightarrow",!0);v(S,P,B,"\u2194","\\leftrightarrow",!0);v(S,P,B,"\u27F7","\\longleftrightarrow",!0);v(S,P,B,"\u21D4","\\Leftrightarrow",!0);v(S,P,B,"\u27FA","\\Longleftrightarrow",!0);v(S,P,B,"\u21A6","\\mapsto",!0);v(S,P,B,"\u27FC","\\longmapsto",!0);v(S,P,B,"\u2197","\\nearrow",!0);v(S,P,B,"\u21A9","\\hookleftarrow",!0);v(S,P,B,"\u21AA","\\hookrightarrow",!0);v(S,P,B,"\u2198","\\searrow",!0);v(S,P,B,"\u21BC","\\leftharpoonup",!0);v(S,P,B,"\u21C0","\\rightharpoonup",!0);v(S,P,B,"\u2199","\\swarrow",!0);v(S,P,B,"\u21BD","\\leftharpoondown",!0);v(S,P,B,"\u21C1","\\rightharpoondown",!0);v(S,P,B,"\u2196","\\nwarrow",!0);v(S,P,B,"\u21CC","\\rightleftharpoons",!0);v(S,N,B,"\u226E","\\nless",!0);v(S,N,B,"\uE010","\\@nleqslant");v(S,N,B,"\uE011","\\@nleqq");v(S,N,B,"\u2A87","\\lneq",!0);v(S,N,B,"\u2268","\\lneqq",!0);v(S,N,B,"\uE00C","\\@lvertneqq");v(S,N,B,"\u22E6","\\lnsim",!0);v(S,N,B,"\u2A89","\\lnapprox",!0);v(S,N,B,"\u2280","\\nprec",!0);v(S,N,B,"\u22E0","\\npreceq",!0);v(S,N,B,"\u22E8","\\precnsim",!0);v(S,N,B,"\u2AB9","\\precnapprox",!0);v(S,N,B,"\u2241","\\nsim",!0);v(S,N,B,"\uE006","\\@nshortmid");v(S,N,B,"\u2224","\\nmid",!0);v(S,N,B,"\u22AC","\\nvdash",!0);v(S,N,B,"\u22AD","\\nvDash",!0);v(S,N,B,"\u22EA","\\ntriangleleft");v(S,N,B,"\u22EC","\\ntrianglelefteq",!0);v(S,N,B,"\u228A","\\subsetneq",!0);v(S,N,B,"\uE01A","\\@varsubsetneq");v(S,N,B,"\u2ACB","\\subsetneqq",!0);v(S,N,B,"\uE017","\\@varsubsetneqq");v(S,N,B,"\u226F","\\ngtr",!0);v(S,N,B,"\uE00F","\\@ngeqslant");v(S,N,B,"\uE00E","\\@ngeqq");v(S,N,B,"\u2A88","\\gneq",!0);v(S,N,B,"\u2269","\\gneqq",!0);v(S,N,B,"\uE00D","\\@gvertneqq");v(S,N,B,"\u22E7","\\gnsim",!0);v(S,N,B,"\u2A8A","\\gnapprox",!0);v(S,N,B,"\u2281","\\nsucc",!0);v(S,N,B,"\u22E1","\\nsucceq",!0);v(S,N,B,"\u22E9","\\succnsim",!0);v(S,N,B,"\u2ABA","\\succnapprox",!0);v(S,N,B,"\u2246","\\ncong",!0);v(S,N,B,"\uE007","\\@nshortparallel");v(S,N,B,"\u2226","\\nparallel",!0);v(S,N,B,"\u22AF","\\nVDash",!0);v(S,N,B,"\u22EB","\\ntriangleright");v(S,N,B,"\u22ED","\\ntrianglerighteq",!0);v(S,N,B,"\uE018","\\@nsupseteqq");v(S,N,B,"\u228B","\\supsetneq",!0);v(S,N,B,"\uE01B","\\@varsupsetneq");v(S,N,B,"\u2ACC","\\supsetneqq",!0);v(S,N,B,"\uE019","\\@varsupsetneqq");v(S,N,B,"\u22AE","\\nVdash",!0);v(S,N,B,"\u2AB5","\\precneqq",!0);v(S,N,B,"\u2AB6","\\succneqq",!0);v(S,N,B,"\uE016","\\@nsubseteqq");v(S,N,ze,"\u22B4","\\unlhd");v(S,N,ze,"\u22B5","\\unrhd");v(S,N,B,"\u219A","\\nleftarrow",!0);v(S,N,B,"\u219B","\\nrightarrow",!0);v(S,N,B,"\u21CD","\\nLeftarrow",!0);v(S,N,B,"\u21CF","\\nRightarrow",!0);v(S,N,B,"\u21AE","\\nleftrightarrow",!0);v(S,N,B,"\u21CE","\\nLeftrightarrow",!0);v(S,N,B,"\u25B3","\\vartriangle");v(S,N,Y,"\u210F","\\hslash");v(S,N,Y,"\u25BD","\\triangledown");v(S,N,Y,"\u25CA","\\lozenge");v(S,N,Y,"\u24C8","\\circledS");v(S,N,Y,"\xAE","\\circledR");v(we,N,Y,"\xAE","\\circledR");v(S,N,Y,"\u2221","\\measuredangle",!0);v(S,N,Y,"\u2204","\\nexists");v(S,N,Y,"\u2127","\\mho");v(S,N,Y,"\u2132","\\Finv",!0);v(S,N,Y,"\u2141","\\Game",!0);v(S,N,Y,"\u2035","\\backprime");v(S,N,Y,"\u25B2","\\blacktriangle");v(S,N,Y,"\u25BC","\\blacktriangledown");v(S,N,Y,"\u25A0","\\blacksquare");v(S,N,Y,"\u29EB","\\blacklozenge");v(S,N,Y,"\u2605","\\bigstar");v(S,N,Y,"\u2222","\\sphericalangle",!0);v(S,N,Y,"\u2201","\\complement",!0);v(S,N,Y,"\xF0","\\eth",!0);v(we,P,Y,"\xF0","\xF0");v(S,N,Y,"\u2571","\\diagup");v(S,N,Y,"\u2572","\\diagdown");v(S,N,Y,"\u25A1","\\square");v(S,N,Y,"\u25A1","\\Box");v(S,N,Y,"\u25CA","\\Diamond");v(S,N,Y,"\xA5","\\yen",!0);v(we,N,Y,"\xA5","\\yen",!0);v(S,N,Y,"\u2713","\\checkmark",!0);v(we,N,Y,"\u2713","\\checkmark");v(S,N,Y,"\u2136","\\beth",!0);v(S,N,Y,"\u2138","\\daleth",!0);v(S,N,Y,"\u2137","\\gimel",!0);v(S,N,Y,"\u03DD","\\digamma",!0);v(S,N,Y,"\u03F0","\\varkappa");v(S,N,Ii,"\u250C","\\@ulcorner",!0);v(S,N,ai,"\u2510","\\@urcorner",!0);v(S,N,Ii,"\u2514","\\@llcorner",!0);v(S,N,ai,"\u2518","\\@lrcorner",!0);v(S,N,B,"\u2266","\\leqq",!0);v(S,N,B,"\u2A7D","\\leqslant",!0);v(S,N,B,"\u2A95","\\eqslantless",!0);v(S,N,B,"\u2272","\\lesssim",!0);v(S,N,B,"\u2A85","\\lessapprox",!0);v(S,N,B,"\u224A","\\approxeq",!0);v(S,N,ze,"\u22D6","\\lessdot");v(S,N,B,"\u22D8","\\lll",!0);v(S,N,B,"\u2276","\\lessgtr",!0);v(S,N,B,"\u22DA","\\lesseqgtr",!0);v(S,N,B,"\u2A8B","\\lesseqqgtr",!0);v(S,N,B,"\u2251","\\doteqdot");v(S,N,B,"\u2253","\\risingdotseq",!0);v(S,N,B,"\u2252","\\fallingdotseq",!0);v(S,N,B,"\u223D","\\backsim",!0);v(S,N,B,"\u22CD","\\backsimeq",!0);v(S,N,B,"\u2AC5","\\subseteqq",!0);v(S,N,B,"\u22D0","\\Subset",!0);v(S,N,B,"\u228F","\\sqsubset",!0);v(S,N,B,"\u227C","\\preccurlyeq",!0);v(S,N,B,"\u22DE","\\curlyeqprec",!0);v(S,N,B,"\u227E","\\precsim",!0);v(S,N,B,"\u2AB7","\\precapprox",!0);v(S,N,B,"\u22B2","\\vartriangleleft");v(S,N,B,"\u22B4","\\trianglelefteq");v(S,N,B,"\u22A8","\\vDash",!0);v(S,N,B,"\u22AA","\\Vvdash",!0);v(S,N,B,"\u2323","\\smallsmile");v(S,N,B,"\u2322","\\smallfrown");v(S,N,B,"\u224F","\\bumpeq",!0);v(S,N,B,"\u224E","\\Bumpeq",!0);v(S,N,B,"\u2267","\\geqq",!0);v(S,N,B,"\u2A7E","\\geqslant",!0);v(S,N,B,"\u2A96","\\eqslantgtr",!0);v(S,N,B,"\u2273","\\gtrsim",!0);v(S,N,B,"\u2A86","\\gtrapprox",!0);v(S,N,ze,"\u22D7","\\gtrdot");v(S,N,B,"\u22D9","\\ggg",!0);v(S,N,B,"\u2277","\\gtrless",!0);v(S,N,B,"\u22DB","\\gtreqless",!0);v(S,N,B,"\u2A8C","\\gtreqqless",!0);v(S,N,B,"\u2256","\\eqcirc",!0);v(S,N,B,"\u2257","\\circeq",!0);v(S,N,B,"\u225C","\\triangleq",!0);v(S,N,B,"\u223C","\\thicksim");v(S,N,B,"\u2248","\\thickapprox");v(S,N,B,"\u2AC6","\\supseteqq",!0);v(S,N,B,"\u22D1","\\Supset",!0);v(S,N,B,"\u2290","\\sqsupset",!0);v(S,N,B,"\u227D","\\succcurlyeq",!0);v(S,N,B,"\u22DF","\\curlyeqsucc",!0);v(S,N,B,"\u227F","\\succsim",!0);v(S,N,B,"\u2AB8","\\succapprox",!0);v(S,N,B,"\u22B3","\\vartriangleright");v(S,N,B,"\u22B5","\\trianglerighteq");v(S,N,B,"\u22A9","\\Vdash",!0);v(S,N,B,"\u2223","\\shortmid");v(S,N,B,"\u2225","\\shortparallel");v(S,N,B,"\u226C","\\between",!0);v(S,N,B,"\u22D4","\\pitchfork",!0);v(S,N,B,"\u221D","\\varpropto");v(S,N,B,"\u25C0","\\blacktriangleleft");v(S,N,B,"\u2234","\\therefore",!0);v(S,N,B,"\u220D","\\backepsilon");v(S,N,B,"\u25B6","\\blacktriangleright");v(S,N,B,"\u2235","\\because",!0);v(S,N,B,"\u22D8","\\llless");v(S,N,B,"\u22D9","\\gggtr");v(S,N,ze,"\u22B2","\\lhd");v(S,N,ze,"\u22B3","\\rhd");v(S,N,B,"\u2242","\\eqsim",!0);v(S,P,B,"\u22C8","\\Join");v(S,N,B,"\u2251","\\Doteq",!0);v(S,N,ze,"\u2214","\\dotplus",!0);v(S,N,ze,"\u2216","\\smallsetminus");v(S,N,ze,"\u22D2","\\Cap",!0);v(S,N,ze,"\u22D3","\\Cup",!0);v(S,N,ze,"\u2A5E","\\doublebarwedge",!0);v(S,N,ze,"\u229F","\\boxminus",!0);v(S,N,ze,"\u229E","\\boxplus",!0);v(S,N,ze,"\u22C7","\\divideontimes",!0);v(S,N,ze,"\u22C9","\\ltimes",!0);v(S,N,ze,"\u22CA","\\rtimes",!0);v(S,N,ze,"\u22CB","\\leftthreetimes",!0);v(S,N,ze,"\u22CC","\\rightthreetimes",!0);v(S,N,ze,"\u22CF","\\curlywedge",!0);v(S,N,ze,"\u22CE","\\curlyvee",!0);v(S,N,ze,"\u229D","\\circleddash",!0);v(S,N,ze,"\u229B","\\circledast",!0);v(S,N,ze,"\u22C5","\\centerdot");v(S,N,ze,"\u22BA","\\intercal",!0);v(S,N,ze,"\u22D2","\\doublecap");v(S,N,ze,"\u22D3","\\doublecup");v(S,N,ze,"\u22A0","\\boxtimes",!0);v(S,N,B,"\u21E2","\\dashrightarrow",!0);v(S,N,B,"\u21E0","\\dashleftarrow",!0);v(S,N,B,"\u21C7","\\leftleftarrows",!0);v(S,N,B,"\u21C6","\\leftrightarrows",!0);v(S,N,B,"\u21DA","\\Lleftarrow",!0);v(S,N,B,"\u219E","\\twoheadleftarrow",!0);v(S,N,B,"\u21A2","\\leftarrowtail",!0);v(S,N,B,"\u21AB","\\looparrowleft",!0);v(S,N,B,"\u21CB","\\leftrightharpoons",!0);v(S,N,B,"\u21B6","\\curvearrowleft",!0);v(S,N,B,"\u21BA","\\circlearrowleft",!0);v(S,N,B,"\u21B0","\\Lsh",!0);v(S,N,B,"\u21C8","\\upuparrows",!0);v(S,N,B,"\u21BF","\\upharpoonleft",!0);v(S,N,B,"\u21C3","\\downharpoonleft",!0);v(S,P,B,"\u22B6","\\origof",!0);v(S,P,B,"\u22B7","\\imageof",!0);v(S,N,B,"\u22B8","\\multimap",!0);v(S,N,B,"\u21AD","\\leftrightsquigarrow",!0);v(S,N,B,"\u21C9","\\rightrightarrows",!0);v(S,N,B,"\u21C4","\\rightleftarrows",!0);v(S,N,B,"\u21A0","\\twoheadrightarrow",!0);v(S,N,B,"\u21A3","\\rightarrowtail",!0);v(S,N,B,"\u21AC","\\looparrowright",!0);v(S,N,B,"\u21B7","\\curvearrowright",!0);v(S,N,B,"\u21BB","\\circlearrowright",!0);v(S,N,B,"\u21B1","\\Rsh",!0);v(S,N,B,"\u21CA","\\downdownarrows",!0);v(S,N,B,"\u21BE","\\upharpoonright",!0);v(S,N,B,"\u21C2","\\downharpoonright",!0);v(S,N,B,"\u21DD","\\rightsquigarrow",!0);v(S,N,B,"\u21DD","\\leadsto");v(S,N,B,"\u21DB","\\Rrightarrow",!0);v(S,N,B,"\u21BE","\\restriction");v(S,P,Y,"\u2018","`");v(S,P,Y,"$","\\$");v(we,P,Y,"$","\\$");v(we,P,Y,"$","\\textdollar");v(S,P,Y,"%","\\%");v(we,P,Y,"%","\\%");v(S,P,Y,"_","\\_");v(we,P,Y,"_","\\_");v(we,P,Y,"_","\\textunderscore");v(S,P,Y,"\u2220","\\angle",!0);v(S,P,Y,"\u221E","\\infty",!0);v(S,P,Y,"\u2032","\\prime");v(S,P,Y,"\u25B3","\\triangle");v(S,P,Y,"\u0393","\\Gamma",!0);v(S,P,Y,"\u0394","\\Delta",!0);v(S,P,Y,"\u0398","\\Theta",!0);v(S,P,Y,"\u039B","\\Lambda",!0);v(S,P,Y,"\u039E","\\Xi",!0);v(S,P,Y,"\u03A0","\\Pi",!0);v(S,P,Y,"\u03A3","\\Sigma",!0);v(S,P,Y,"\u03A5","\\Upsilon",!0);v(S,P,Y,"\u03A6","\\Phi",!0);v(S,P,Y,"\u03A8","\\Psi",!0);v(S,P,Y,"\u03A9","\\Omega",!0);v(S,P,Y,"A","\u0391");v(S,P,Y,"B","\u0392");v(S,P,Y,"E","\u0395");v(S,P,Y,"Z","\u0396");v(S,P,Y,"H","\u0397");v(S,P,Y,"I","\u0399");v(S,P,Y,"K","\u039A");v(S,P,Y,"M","\u039C");v(S,P,Y,"N","\u039D");v(S,P,Y,"O","\u039F");v(S,P,Y,"P","\u03A1");v(S,P,Y,"T","\u03A4");v(S,P,Y,"X","\u03A7");v(S,P,Y,"\xAC","\\neg",!0);v(S,P,Y,"\xAC","\\lnot");v(S,P,Y,"\u22A4","\\top");v(S,P,Y,"\u22A5","\\bot");v(S,P,Y,"\u2205","\\emptyset");v(S,N,Y,"\u2205","\\varnothing");v(S,P,Fe,"\u03B1","\\alpha",!0);v(S,P,Fe,"\u03B2","\\beta",!0);v(S,P,Fe,"\u03B3","\\gamma",!0);v(S,P,Fe,"\u03B4","\\delta",!0);v(S,P,Fe,"\u03F5","\\epsilon",!0);v(S,P,Fe,"\u03B6","\\zeta",!0);v(S,P,Fe,"\u03B7","\\eta",!0);v(S,P,Fe,"\u03B8","\\theta",!0);v(S,P,Fe,"\u03B9","\\iota",!0);v(S,P,Fe,"\u03BA","\\kappa",!0);v(S,P,Fe,"\u03BB","\\lambda",!0);v(S,P,Fe,"\u03BC","\\mu",!0);v(S,P,Fe,"\u03BD","\\nu",!0);v(S,P,Fe,"\u03BE","\\xi",!0);v(S,P,Fe,"\u03BF","\\omicron",!0);v(S,P,Fe,"\u03C0","\\pi",!0);v(S,P,Fe,"\u03C1","\\rho",!0);v(S,P,Fe,"\u03C3","\\sigma",!0);v(S,P,Fe,"\u03C4","\\tau",!0);v(S,P,Fe,"\u03C5","\\upsilon",!0);v(S,P,Fe,"\u03D5","\\phi",!0);v(S,P,Fe,"\u03C7","\\chi",!0);v(S,P,Fe,"\u03C8","\\psi",!0);v(S,P,Fe,"\u03C9","\\omega",!0);v(S,P,Fe,"\u03B5","\\varepsilon",!0);v(S,P,Fe,"\u03D1","\\vartheta",!0);v(S,P,Fe,"\u03D6","\\varpi",!0);v(S,P,Fe,"\u03F1","\\varrho",!0);v(S,P,Fe,"\u03C2","\\varsigma",!0);v(S,P,Fe,"\u03C6","\\varphi",!0);v(S,P,ze,"\u2217","*",!0);v(S,P,ze,"+","+");v(S,P,ze,"\u2212","-",!0);v(S,P,ze,"\u22C5","\\cdot",!0);v(S,P,ze,"\u2218","\\circ",!0);v(S,P,ze,"\xF7","\\div",!0);v(S,P,ze,"\xB1","\\pm",!0);v(S,P,ze,"\xD7","\\times",!0);v(S,P,ze,"\u2229","\\cap",!0);v(S,P,ze,"\u222A","\\cup",!0);v(S,P,ze,"\u2216","\\setminus",!0);v(S,P,ze,"\u2227","\\land");v(S,P,ze,"\u2228","\\lor");v(S,P,ze,"\u2227","\\wedge",!0);v(S,P,ze,"\u2228","\\vee",!0);v(S,P,Y,"\u221A","\\surd");v(S,P,Ii,"\u27E8","\\langle",!0);v(S,P,Ii,"\u2223","\\lvert");v(S,P,Ii,"\u2225","\\lVert");v(S,P,ai,"?","?");v(S,P,ai,"!","!");v(S,P,ai,"\u27E9","\\rangle",!0);v(S,P,ai,"\u2223","\\rvert");v(S,P,ai,"\u2225","\\rVert");v(S,P,B,"=","=");v(S,P,B,":",":");v(S,P,B,"\u2248","\\approx",!0);v(S,P,B,"\u2245","\\cong",!0);v(S,P,B,"\u2265","\\ge");v(S,P,B,"\u2265","\\geq",!0);v(S,P,B,"\u2190","\\gets");v(S,P,B,">","\\gt",!0);v(S,P,B,"\u2208","\\in",!0);v(S,P,B,"\uE020","\\@not");v(S,P,B,"\u2282","\\subset",!0);v(S,P,B,"\u2283","\\supset",!0);v(S,P,B,"\u2286","\\subseteq",!0);v(S,P,B,"\u2287","\\supseteq",!0);v(S,N,B,"\u2288","\\nsubseteq",!0);v(S,N,B,"\u2289","\\nsupseteq",!0);v(S,P,B,"\u22A8","\\models");v(S,P,B,"\u2190","\\leftarrow",!0);v(S,P,B,"\u2264","\\le");v(S,P,B,"\u2264","\\leq",!0);v(S,P,B,"<","\\lt",!0);v(S,P,B,"\u2192","\\rightarrow",!0);v(S,P,B,"\u2192","\\to");v(S,N,B,"\u2271","\\ngeq",!0);v(S,N,B,"\u2270","\\nleq",!0);v(S,P,$o,"\xA0","\\ ");v(S,P,$o,"\xA0","\\space");v(S,P,$o,"\xA0","\\nobreakspace");v(we,P,$o,"\xA0","\\ ");v(we,P,$o,"\xA0"," ");v(we,P,$o,"\xA0","\\space");v(we,P,$o,"\xA0","\\nobreakspace");v(S,P,$o,null,"\\nobreak");v(S,P,$o,null,"\\allowbreak");v(S,P,L0,",",",");v(S,P,L0,";",";");v(S,N,ze,"\u22BC","\\barwedge",!0);v(S,N,ze,"\u22BB","\\veebar",!0);v(S,P,ze,"\u2299","\\odot",!0);v(S,P,ze,"\u2295","\\oplus",!0);v(S,P,ze,"\u2297","\\otimes",!0);v(S,P,Y,"\u2202","\\partial",!0);v(S,P,ze,"\u2298","\\oslash",!0);v(S,N,ze,"\u229A","\\circledcirc",!0);v(S,N,ze,"\u22A1","\\boxdot",!0);v(S,P,ze,"\u25B3","\\bigtriangleup");v(S,P,ze,"\u25BD","\\bigtriangledown");v(S,P,ze,"\u2020","\\dagger");v(S,P,ze,"\u22C4","\\diamond");v(S,P,ze,"\u22C6","\\star");v(S,P,ze,"\u25C3","\\triangleleft");v(S,P,ze,"\u25B9","\\triangleright");v(S,P,Ii,"{","\\{");v(we,P,Y,"{","\\{");v(we,P,Y,"{","\\textbraceleft");v(S,P,ai,"}","\\}");v(we,P,Y,"}","\\}");v(we,P,Y,"}","\\textbraceright");v(S,P,Ii,"{","\\lbrace");v(S,P,ai,"}","\\rbrace");v(S,P,Ii,"[","\\lbrack",!0);v(we,P,Y,"[","\\lbrack",!0);v(S,P,ai,"]","\\rbrack",!0);v(we,P,Y,"]","\\rbrack",!0);v(S,P,Ii,"(","\\lparen",!0);v(S,P,ai,")","\\rparen",!0);v(we,P,Y,"<","\\textless",!0);v(we,P,Y,">","\\textgreater",!0);v(S,P,Ii,"\u230A","\\lfloor",!0);v(S,P,ai,"\u230B","\\rfloor",!0);v(S,P,Ii,"\u2308","\\lceil",!0);v(S,P,ai,"\u2309","\\rceil",!0);v(S,P,Y,"\\","\\backslash");v(S,P,Y,"\u2223","|");v(S,P,Y,"\u2223","\\vert");v(we,P,Y,"|","\\textbar",!0);v(S,P,Y,"\u2225","\\|");v(S,P,Y,"\u2225","\\Vert");v(we,P,Y,"\u2225","\\textbardbl");v(we,P,Y,"~","\\textasciitilde");v(we,P,Y,"\\","\\textbackslash");v(we,P,Y,"^","\\textasciicircum");v(S,P,B,"\u2191","\\uparrow",!0);v(S,P,B,"\u21D1","\\Uparrow",!0);v(S,P,B,"\u2193","\\downarrow",!0);v(S,P,B,"\u21D3","\\Downarrow",!0);v(S,P,B,"\u2195","\\updownarrow",!0);v(S,P,B,"\u21D5","\\Updownarrow",!0);v(S,P,fr,"\u2210","\\coprod");v(S,P,fr,"\u22C1","\\bigvee");v(S,P,fr,"\u22C0","\\bigwedge");v(S,P,fr,"\u2A04","\\biguplus");v(S,P,fr,"\u22C2","\\bigcap");v(S,P,fr,"\u22C3","\\bigcup");v(S,P,fr,"\u222B","\\int");v(S,P,fr,"\u222B","\\intop");v(S,P,fr,"\u222C","\\iint");v(S,P,fr,"\u222D","\\iiint");v(S,P,fr,"\u220F","\\prod");v(S,P,fr,"\u2211","\\sum");v(S,P,fr,"\u2A02","\\bigotimes");v(S,P,fr,"\u2A01","\\bigoplus");v(S,P,fr,"\u2A00","\\bigodot");v(S,P,fr,"\u222E","\\oint");v(S,P,fr,"\u222F","\\oiint");v(S,P,fr,"\u2230","\\oiiint");v(S,P,fr,"\u2A06","\\bigsqcup");v(S,P,fr,"\u222B","\\smallint");v(we,P,Gl,"\u2026","\\textellipsis");v(S,P,Gl,"\u2026","\\mathellipsis");v(we,P,Gl,"\u2026","\\ldots",!0);v(S,P,Gl,"\u2026","\\ldots",!0);v(S,P,Gl,"\u22EF","\\@cdots",!0);v(S,P,Gl,"\u22F1","\\ddots",!0);v(S,P,Y,"\u22EE","\\varvdots");v(S,P,Bt,"\u02CA","\\acute");v(S,P,Bt,"\u02CB","\\grave");v(S,P,Bt,"\xA8","\\ddot");v(S,P,Bt,"~","\\tilde");v(S,P,Bt,"\u02C9","\\bar");v(S,P,Bt,"\u02D8","\\breve");v(S,P,Bt,"\u02C7","\\check");v(S,P,Bt,"^","\\hat");v(S,P,Bt,"\u20D7","\\vec");v(S,P,Bt,"\u02D9","\\dot");v(S,P,Bt,"\u02DA","\\mathring");v(S,P,Fe,"\uE131","\\@imath");v(S,P,Fe,"\uE237","\\@jmath");v(S,P,Y,"\u0131","\u0131");v(S,P,Y,"\u0237","\u0237");v(we,P,Y,"\u0131","\\i",!0);v(we,P,Y,"\u0237","\\j",!0);v(we,P,Y,"\xDF","\\ss",!0);v(we,P,Y,"\xE6","\\ae",!0);v(we,P,Y,"\u0153","\\oe",!0);v(we,P,Y,"\xF8","\\o",!0);v(we,P,Y,"\xC6","\\AE",!0);v(we,P,Y,"\u0152","\\OE",!0);v(we,P,Y,"\xD8","\\O",!0);v(we,P,Bt,"\u02CA","\\'");v(we,P,Bt,"\u02CB","\\`");v(we,P,Bt,"\u02C6","\\^");v(we,P,Bt,"\u02DC","\\~");v(we,P,Bt,"\u02C9","\\=");v(we,P,Bt,"\u02D8","\\u");v(we,P,Bt,"\u02D9","\\.");v(we,P,Bt,"\xB8","\\c");v(we,P,Bt,"\u02DA","\\r");v(we,P,Bt,"\u02C7","\\v");v(we,P,Bt,"\xA8",'\\"');v(we,P,Bt,"\u02DD","\\H");v(we,P,Bt,"\u25EF","\\textcircled");var R7={"--":!0,"---":!0,"``":!0,"''":!0};v(we,P,Y,"\u2013","--",!0);v(we,P,Y,"\u2013","\\textendash");v(we,P,Y,"\u2014","---",!0);v(we,P,Y,"\u2014","\\textemdash");v(we,P,Y,"\u2018","`",!0);v(we,P,Y,"\u2018","\\textquoteleft");v(we,P,Y,"\u2019","'",!0);v(we,P,Y,"\u2019","\\textquoteright");v(we,P,Y,"\u201C","``",!0);v(we,P,Y,"\u201C","\\textquotedblleft");v(we,P,Y,"\u201D","''",!0);v(we,P,Y,"\u201D","\\textquotedblright");v(S,P,Y,"\xB0","\\degree",!0);v(we,P,Y,"\xB0","\\degree");v(we,P,Y,"\xB0","\\textdegree",!0);v(S,P,Y,"\xA3","\\pounds");v(S,P,Y,"\xA3","\\mathsterling",!0);v(we,P,Y,"\xA3","\\pounds");v(we,P,Y,"\xA3","\\textsterling",!0);v(S,N,Y,"\u2720","\\maltese");v(we,N,Y,"\u2720","\\maltese");var e7='0123456789/@."';for(O0=0;O00)return yn(o,c,n,r,s.concat(u));if(l){var f,d;if(l==="boldsymbol"){var p=Kj(o,n,r,s,i);f=p.fontName,d=[p.fontClass]}else a?(f=I7[l].fontName,d=[l]):(f=w0(l,r.fontWeight,r.fontShape),d=[l,r.fontWeight,r.fontShape]);if(z0(o,f,n).metrics)return yn(o,f,n,r,s.concat(d));if(R7.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var O=[],w=0;w{if($s(t.classes)!==$s(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var i in t.style)if(t.style.hasOwnProperty(i)&&t.style[i]!==e.style[i])return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return!1;return!0},tB=t=>{for(var e=0;er&&(r=s.height),s.depth>i&&(i=s.depth),s.maxFontSize>n&&(n=s.maxFontSize)}e.height=r,e.depth=i,e.maxFontSize=n},yi=function(e,r,i,n){var o=new Xa(e,r,i,n);return h2(o),o},$7=(t,e,r,i)=>new Xa(t,e,r,i),rB=function(e,r,i){var n=yi([e],[],r);return n.height=Math.max(i||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=Ae(n.height),n.maxFontSize=1,n},iB=function(e,r,i,n){var o=new Bu(e,r,i,n);return h2(o),o},X7=function(e){var r=new $a(e);return h2(r),r},nB=function(e,r){return e instanceof $a?yi([],[e],r):e},oB=function(e){if(e.positionType==="individualShift"){for(var r=e.children,i=[r[0]],n=-r[0].shift-r[0].elem.depth,o=n,s=1;s{var r=yi(["mspace"],[],e),i=Gt(t,e);return r.style.marginRight=Ae(i),r},w0=function(e,r,i){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}var o;return r==="textbf"&&i==="textit"?o="BoldItalic":r==="textbf"?o="Bold":r==="textit"?o="Italic":o="Regular",n+"-"+o},I7={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"}},L7={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},lB=function(e,r){var[i,n,o]=L7[e],s=new Gn(i),a=new vn([s],{width:Ae(n),height:Ae(o),style:"width:"+Ae(n),viewBox:"0 0 "+1e3*n+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=$7(["overlay"],[a],r);return l.height=o,l.style.height=Ae(o),l.style.width=Ae(n),l},te={fontMap:I7,makeSymbol:yn,mathsym:Gj,makeSpan:yi,makeSvgSpan:$7,makeLineSpan:rB,makeAnchor:iB,makeFragment:X7,wrapFragment:nB,makeVList:sB,makeOrd:Jj,makeGlue:aB,staticSvg:lB,svgData:L7,tryCombineChars:tB},Ht={number:3,unit:"mu"},Aa={number:4,unit:"mu"},Po={number:5,unit:"mu"},cB={mord:{mop:Ht,mbin:Aa,mrel:Po,minner:Ht},mop:{mord:Ht,mop:Ht,mrel:Po,minner:Ht},mbin:{mord:Aa,mop:Aa,mopen:Aa,minner:Aa},mrel:{mord:Po,mop:Po,mopen:Po,minner:Po},mopen:{},mclose:{mop:Ht,mbin:Aa,mrel:Po,minner:Ht},mpunct:{mord:Ht,mop:Ht,mrel:Po,mopen:Ht,mclose:Ht,mpunct:Ht,minner:Ht},minner:{mord:Ht,mop:Ht,mbin:Aa,mrel:Po,mopen:Ht,mpunct:Ht,minner:Ht}},uB={mord:{mop:Ht},mop:{mord:Ht,mop:Ht},mbin:{},mrel:{},mopen:{},mclose:{mop:Ht},mpunct:{},minner:{mop:Ht}},z7={},A0={},R0={};function Ie(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder:s}=t,a={type:e,numArgs:i.numArgs,argTypes:i.argTypes,allowedInArgument:!!i.allowedInArgument,allowedInText:!!i.allowedInText,allowedInMath:i.allowedInMath===void 0?!0:i.allowedInMath,numOptionalArgs:i.numOptionalArgs||0,infix:!!i.infix,primitive:!!i.primitive,handler:n},l=0;l{var x=w.classes[0],k=O.classes[0];x==="mbin"&&Ke.contains(hB,k)?w.classes[0]="mord":k==="mbin"&&Ke.contains(fB,x)&&(O.classes[0]="mord")},{node:f},d,p),i7(o,(O,w)=>{var x=r2(w),k=r2(O),C=x&&k?O.hasClass("mtight")?uB[x][k]:cB[x][k]:null;if(C)return te.makeGlue(C,c)},{node:f},d,p),o},i7=function t(e,r,i,n,o){n&&e.push(n);for(var s=0;sd=>{e.splice(f+1,0,d),s++})(s)}n&&e.pop()},M7=function(e){return e instanceof $a||e instanceof Bu||e instanceof Xa&&e.hasClass("enclosing")?e:null},mB=function t(e,r){var i=M7(e);if(i){var n=i.children;if(n.length){if(r==="right")return t(n[n.length-1],"right");if(r==="left")return t(n[0],"left")}}return e},r2=function(e,r){return e?(r&&(e=mB(e,r)),pB[e.classes[0]]||null):null},qu=function(e,r){var i=["nulldelimiter"].concat(e.baseSizingClasses());return Ao(r.concat(i))},xt=function(e,r,i){if(!e)return Ao();if(A0[e.type]){var n=A0[e.type](e,r);if(i&&r.size!==i.size){n=Ao(r.sizingClasses(i),[n],r);var o=r.sizeMultiplier/i.sizeMultiplier;n.height*=o,n.depth*=o}return n}else throw new Pe("Got group of unknown type: '"+e.type+"'")};function x0(t,e){var r=Ao(["base"],t,e),i=Ao(["strut"]);return i.style.height=Ae(r.height+r.depth),r.depth&&(i.style.verticalAlign=Ae(-r.depth)),r.children.unshift(i),r}function i2(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var i=yr(t,e,"root"),n;i.length===2&&i[1].hasClass("tag")&&(n=i.pop());for(var o=[],s=[],a=0;a0&&(o.push(x0(s,e)),s=[]),o.push(i[a]));s.length>0&&o.push(x0(s,e));var c;r?(c=x0(yr(r,e,!0)),c.classes=["tag"],o.push(c)):n&&o.push(n);var u=Ao(["katex-html"],o);if(u.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Ae(u.height+u.depth),u.depth&&(f.style.verticalAlign=Ae(-u.depth))}return u}function D7(t){return new $a(t)}var vi=class{constructor(e,r,i){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=i||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=$s(this.classes));for(var i=0;i0&&(e+=' class ="'+Ke.escape($s(this.classes))+'"'),e+=">";for(var i=0;i",e}toText(){return this.children.map(e=>e.toText()).join("")}},Ra=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ke.escape(this.toText())}toText(){return this.text}},n2=class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=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",Ae(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},ke={MathNode:vi,TextNode:Ra,SpaceNode:n2,newDocumentFragment:D7},Ki=function(e,r,i){return Dt[r][e]&&Dt[r][e].replace&&e.charCodeAt(0)!==55349&&!(R7.hasOwnProperty(e)&&i&&(i.fontFamily&&i.fontFamily.slice(4,6)==="tt"||i.font&&i.font.slice(4,6)==="tt"))&&(e=Dt[r][e].replace),new ke.TextNode(e)},d2=function(e){return e.length===1?e[0]:new ke.MathNode("mrow",e)},p2=function(e,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var i=r.font;if(!i||i==="mathnormal")return null;var n=e.mode;if(i==="mathit")return"italic";if(i==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(i==="mathbf")return"bold";if(i==="mathbb")return"double-struck";if(i==="mathfrak")return"fraktur";if(i==="mathscr"||i==="mathcal")return"script";if(i==="mathsf")return"sans-serif";if(i==="mathtt")return"monospace";var o=e.text;if(Ke.contains(["\\imath","\\jmath"],o))return null;Dt[n][o]&&Dt[n][o].replace&&(o=Dt[n][o].replace);var s=te.fontMap[i].fontName;return f2(o,s,n)?te.fontMap[i].variant:null},xi=function(e,r,i){if(e.length===1){var n=zt(e[0],r);return i&&n instanceof vi&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o=[],s,a=0;a0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),s=l}return o},Xs=function(e,r,i){return d2(xi(e,r,i))},zt=function(e,r){if(!e)return new ke.MathNode("mrow");if(R0[e.type]){var i=R0[e.type](e,r);return i}else throw new Pe("Got group of unknown type: '"+e.type+"'")};function n7(t,e,r,i,n){var o=xi(t,r),s;o.length===1&&o[0]instanceof vi&&Ke.contains(["mrow","mtable"],o[0].type)?s=o[0]:s=new ke.MathNode("mrow",o);var a=new ke.MathNode("annotation",[new ke.TextNode(e)]);a.setAttribute("encoding","application/x-tex");var l=new ke.MathNode("semantics",[s,a]),c=new ke.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),i&&c.setAttribute("display","block");var u=n?"katex":"katex-mathml";return te.makeSpan([u],[c])}var U7=function(e){return new Q0({style:e.displayMode?We.DISPLAY:We.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},N7=function(e,r){if(r.displayMode){var i=["katex-display"];r.leqno&&i.push("leqno"),r.fleqn&&i.push("fleqn"),e=te.makeSpan(i,[e])}return e},OB=function(e,r,i){var n=U7(i),o;if(i.output==="mathml")return n7(e,r,n,i.displayMode,!0);if(i.output==="html"){var s=i2(e,n);o=te.makeSpan(["katex"],[s])}else{var a=n7(e,r,n,i.displayMode,!1),l=i2(e,n);o=te.makeSpan(["katex"],[a,l])}return N7(o,i)},gB=function(e,r,i){var n=U7(i),o=i2(e,n),s=te.makeSpan(["katex"],[o]);return N7(s,i)},bB={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":"="},yB=function(e){var r=new ke.MathNode("mo",[new ke.TextNode(bB[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},vB={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]},wB=function(e){return e.type==="ordgroup"?e.body.length:1},xB=function(e,r){function i(){var a=4e5,l=e.label.slice(1);if(Ke.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=e,u=wB(c.base),f,d,p;if(u>5)l==="widehat"||l==="widecheck"?(f=420,a=2364,p=.42,d=l+"4"):(f=312,a=2340,p=.34,d="tilde4");else{var O=[1,1,2,2,3,3][u];l==="widehat"||l==="widecheck"?(a=[0,1062,2364,2364,2364][O],f=[0,239,300,360,420][O],p=[0,.24,.3,.3,.36,.42][O],d=l+O):(a=[0,600,1033,2339,2340][O],f=[0,260,286,306,312][O],p=[0,.26,.286,.3,.306,.34][O],d="tilde"+O)}var w=new Gn(d),x=new vn([w],{width:"100%",height:Ae(p),viewBox:"0 0 "+a+" "+f,preserveAspectRatio:"none"});return{span:te.makeSvgSpan([],[x],r),minWidth:0,height:p}}else{var k=[],C=vB[l],[R,Q,z]=C,L=z/1e3,Z=R.length,re,H;if(Z===1){var q=C[3];re=["hide-tail"],H=[q]}else if(Z===2)re=["halfarrow-left","halfarrow-right"],H=["xMinYMin","xMaxYMin"];else if(Z===3)re=["brace-left","brace-center","brace-right"],H=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+Z+" children.");for(var oe=0;oe0&&(n.style.minWidth=Ae(o)),n},kB=function(e,r,i,n,o){var s,a=e.height+e.depth+i+n;if(/fbox|color|angl/.test(r)){if(s=te.makeSpan(["stretchy",r],[],o),r==="fbox"){var l=o.color&&o.getColor();l&&(s.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(r)&&c.push(new Vu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new Vu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new vn(c,{width:"100%",height:Ae(a)});s=te.makeSvgSpan([],[u],o)}return s.height=a,s.style.height=Ae(a),s},Ro={encloseSpan:kB,mathMLnode:yB,svgSpan:xB};function lt(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function m2(t){var e=M0(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function M0(t){return t&&(t.type==="atom"||Yj.hasOwnProperty(t.type))?t:null}var O2=(t,e)=>{var r,i,n;t&&t.type==="supsub"?(i=lt(t.base,"accent"),r=i.base,t.base=r,n=Wj(xt(t,e)),t.base=i):(i=lt(t,"accent"),r=i.base);var o=xt(r,e.havingCrampedStyle()),s=i.isShifty&&Ke.isCharacterBox(r),a=0;if(s){var l=Ke.getBaseElem(r),c=xt(l,e.havingCrampedStyle());a=JS(c).skew}var u=i.label==="\\c",f=u?o.height+o.depth:Math.min(o.height,e.fontMetrics().xHeight),d;if(i.isStretchy)d=Ro.svgSpan(i,e),d=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+Ae(2*a)+")",marginLeft:Ae(2*a)}:void 0}]},e);else{var p,O;i.label==="\\vec"?(p=te.staticSvg("vec",e),O=te.svgData.vec[1]):(p=te.makeOrd({mode:i.mode,text:i.label},e,"textord"),p=JS(p),p.italic=0,O=p.width,u&&(f+=p.depth)),d=te.makeSpan(["accent-body"],[p]);var w=i.label==="\\textcircled";w&&(d.classes.push("accent-full"),f=o.height);var x=a;w||(x-=O/2),d.style.left=Ae(x),i.label==="\\textcircled"&&(d.style.top=".2em"),d=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:d}]},e)}var k=te.makeSpan(["mord","accent"],[d],e);return n?(n.children[0]=k,n.height=Math.max(k.height,n.height),n.classes[0]="mord",n):k},j7=(t,e)=>{var r=t.isStretchy?Ro.mathMLnode(t.label):new ke.MathNode("mo",[Ki(t.label,t.mode)]),i=new ke.MathNode("mover",[zt(t.base,e),r]);return i.setAttribute("accent","true"),i},SB=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));Ie({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:(t,e)=>{var r=$0(e[0]),i=!SB.test(t.funcName),n=!i||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:i,isShifty:n,base:r}},htmlBuilder:O2,mathmlBuilder:j7});Ie({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var r=e[0],i=t.parser.mode;return i==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),i="text"),{type:"accent",mode:i,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:O2,mathmlBuilder:j7});Ie({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"accentUnder",mode:r.mode,label:i,base:n}},htmlBuilder:(t,e)=>{var r=xt(t.base,e),i=Ro.svgSpan(t,e),n=t.label==="\\utilde"?.12:0,o=te.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},e);return te.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:(t,e)=>{var r=Ro.mathMLnode(t.label),i=new ke.MathNode("munder",[zt(t.base,e),r]);return i.setAttribute("accentunder","true"),i}});var k0=t=>{var e=new ke.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};Ie({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(t,e,r){var{parser:i,funcName:n}=t;return{type:"xArrow",mode:i.mode,label:n,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,i=e.havingStyle(r.sup()),n=te.wrapFragment(xt(t.body,i,e),e),o=t.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(o+"-arrow-pad");var s;t.below&&(i=e.havingStyle(r.sub()),s=te.wrapFragment(xt(t.below,i,e),e),s.classes.push(o+"-arrow-pad"));var a=Ro.svgSpan(t,e),l=-e.fontMetrics().axisHeight+.5*a.height,c=-e.fontMetrics().axisHeight-.5*a.height-.111;(n.depth>.25||t.label==="\\xleftequilibrium")&&(c-=n.depth);var u;if(s){var f=-e.fontMetrics().axisHeight+s.height+.5*a.height+.111;u=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:a,shift:l},{type:"elem",elem:s,shift:f}]},e)}else u=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:a,shift:l}]},e);return u.children[0].children[0].children[1].classes.push("svg-align"),te.makeSpan(["mrel","x-arrow"],[u],e)},mathmlBuilder(t,e){var r=Ro.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var i;if(t.body){var n=k0(zt(t.body,e));if(t.below){var o=k0(zt(t.below,e));i=new ke.MathNode("munderover",[r,o,n])}else i=new ke.MathNode("mover",[r,n])}else if(t.below){var s=k0(zt(t.below,e));i=new ke.MathNode("munder",[r,s])}else i=k0(),i=new ke.MathNode("mover",[r,i]);return i}});var TB=te.makeSpan;function B7(t,e){var r=yr(t.body,e,!0);return TB([t.mclass],r,e)}function V7(t,e){var r,i=xi(t.body,e);return t.mclass==="minner"?r=new ke.MathNode("mpadded",i):t.mclass==="mord"?t.isCharacterBox?(r=i[0],r.type="mi"):r=new ke.MathNode("mi",i):(t.isCharacterBox?(r=i[0],r.type="mo"):r=new ke.MathNode("mo",i),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}Ie({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+i.slice(5),body:ar(n),isCharacterBox:Ke.isCharacterBox(n)}},htmlBuilder:B7,mathmlBuilder:V7});var D0=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};Ie({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:D0(e[0]),body:ar(e[1]),isCharacterBox:Ke.isCharacterBox(e[1])}}});Ie({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:i}=t,n=e[1],o=e[0],s;i!=="\\stackrel"?s=D0(n):s="mrel";var a={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:i!=="\\stackrel",body:ar(n)},l={type:"supsub",mode:o.mode,base:a,sup:i==="\\underset"?null:o,sub:i==="\\underset"?o:null};return{type:"mclass",mode:r.mode,mclass:s,body:[l],isCharacterBox:Ke.isCharacterBox(l)}},htmlBuilder:B7,mathmlBuilder:V7});Ie({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:D0(e[0]),body:ar(e[0])}},htmlBuilder(t,e){var r=yr(t.body,e,!0),i=te.makeSpan([t.mclass],r,e);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(t,e){var r=xi(t.body,e),i=new ke.MathNode("mstyle",r);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});var EB={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},o7=()=>({type:"styling",body:[],mode:"math",style:"display"}),s7=t=>t.type==="textord"&&t.text==="@",CB=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function PB(t,e,r){var i=EB[t];switch(i){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(i,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var n=r.callFunction("\\\\cdleft",[e[0]],[]),o={type:"atom",text:i,mode:"math",family:"rel"},s=r.callFunction("\\Big",[o],[]),a=r.callFunction("\\\\cdright",[e[1]],[]),l={type:"ordgroup",mode:"math",body:[n,s,a]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function QB(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r==="&"||r==="\\\\")t.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new Pe("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var i=[],n=[i],o=0;o-1))if("<>AV".indexOf(c)>-1)for(var f=0;f<2;f++){for(var d=!0,p=l+1;pAV=|." after @',s[l]);var O=PB(c,u,t),w={type:"styling",body:[O],mode:"math",style:"display"};i.push(w),a=o7()}o%2===0?i.push(a):i.shift(),i=[],n.push(i)}t.gullet.endGroup(),t.gullet.endGroup();var x=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:x,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}Ie({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t;return{type:"cdlabel",mode:r.mode,side:i.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),i=te.wrapFragment(xt(t.label,r,e),e);return i.classes.push("cd-label-"+t.side),i.style.bottom=Ae(.8-i.depth),i.height=0,i.depth=0,i},mathmlBuilder(t,e){var r=new ke.MathNode("mrow",[zt(t.label,e)]);return r=new ke.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new ke.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});Ie({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=te.wrapFragment(xt(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new ke.MathNode("mrow",[zt(t.fragment,e)])}});Ie({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,i=lt(e[0],"ordgroup"),n=i.body,o="",s=0;s=1114111)throw new Pe("\\@char with invalid code point "+o);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:c}}});var q7=(t,e)=>{var r=yr(t.body,e.withColor(t.color),!1);return te.makeFragment(r)},F7=(t,e)=>{var r=xi(t.body,e.withColor(t.color)),i=new ke.MathNode("mstyle",r);return i.setAttribute("mathcolor",t.color),i};Ie({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,i=lt(e[0],"color-token").color,n=e[1];return{type:"color",mode:r.mode,color:i,body:ar(n)}},htmlBuilder:q7,mathmlBuilder:F7});Ie({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:i}=t,n=lt(e[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var o=r.parseExpression(!0,i);return{type:"color",mode:r.mode,color:n,body:o}},htmlBuilder:q7,mathmlBuilder:F7});Ie({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:i}=t,n=i.gullet.future().text==="["?i.parseSizeGroup(!0):null,o=!i.settings.displayMode||!i.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:i.mode,newLine:o,size:n&<(n,"size").value}},htmlBuilder(t,e){var r=te.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=Ae(Gt(t.size,e)))),r},mathmlBuilder(t,e){var r=new ke.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",Ae(Gt(t.size,e)))),r}});var o2={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},W7=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new Pe("Expected a control sequence",t);return e},_B=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},Z7=(t,e,r,i)=>{var n=t.gullet.macros.get(r.text);n==null&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,n,i)};Ie({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var i=e.fetch();if(o2[i.text])return(r==="\\global"||r==="\\\\globallong")&&(i.text=o2[i.text]),lt(e.parseFunction(),"internal");throw new Pe("Invalid token after macro prefix",i)}});Ie({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=e.gullet.popToken(),n=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new Pe("Expected a control sequence",i);for(var o=0,s,a=[[]];e.gullet.future().text!=="{";)if(i=e.gullet.popToken(),i.text==="#"){if(e.gullet.future().text==="{"){s=e.gullet.future(),a[o].push("{");break}if(i=e.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new Pe('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==o+1)throw new Pe('Argument number "'+i.text+'" out of order');o++,a.push([])}else{if(i.text==="EOF")throw new Pe("Expected a macro definition");a[o].push(i.text)}var{tokens:l}=e.gullet.consumeArg();return s&&l.unshift(s),(r==="\\edef"||r==="\\xdef")&&(l=e.gullet.expandTokens(l),l.reverse()),e.gullet.macros.set(n,{tokens:l,numArgs:o,delimiters:a},r===o2[r]),{type:"internal",mode:e.mode}}});Ie({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=W7(e.gullet.popToken());e.gullet.consumeSpaces();var n=_B(e);return Z7(e,i,n,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});Ie({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=W7(e.gullet.popToken()),n=e.gullet.popToken(),o=e.gullet.popToken();return Z7(e,i,o,r==="\\\\globalfuture"),e.gullet.pushToken(o),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var Du=function(e,r,i){var n=Dt.math[e]&&Dt.math[e].replace,o=f2(n||e,r,i);if(!o)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return o},g2=function(e,r,i,n){var o=i.havingBaseStyle(r),s=te.makeSpan(n.concat(o.sizingClasses(i)),[e],i),a=o.sizeMultiplier/i.sizeMultiplier;return s.height*=a,s.depth*=a,s.maxFontSize=o.sizeMultiplier,s},Y7=function(e,r,i){var n=r.havingBaseStyle(i),o=(1-r.sizeMultiplier/n.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Ae(o),e.height-=o,e.depth+=o},AB=function(e,r,i,n,o,s){var a=te.makeSymbol(e,"Main-Regular",o,n),l=g2(a,r,n,s);return i&&Y7(l,n,r),l},RB=function(e,r,i,n){return te.makeSymbol(e,"Size"+r+"-Regular",i,n)},H7=function(e,r,i,n,o,s){var a=RB(e,r,o,n),l=g2(te.makeSpan(["delimsizing","size"+r],[a],n),We.TEXT,n,s);return i&&Y7(l,n,We.TEXT),l},Bb=function(e,r,i){var n;r==="Size1-Regular"?n="delim-size1":n="delim-size4";var o=te.makeSpan(["delimsizinginner",n],[te.makeSpan([],[te.makeSymbol(e,r,i)])]);return{type:"elem",elem:o}},Vb=function(e,r,i){var n=Yn["Size4-Regular"][e.charCodeAt(0)]?Yn["Size4-Regular"][e.charCodeAt(0)][4]:Yn["Size1-Regular"][e.charCodeAt(0)][4],o=new Gn("inner",Uj(e,Math.round(1e3*r))),s=new vn([o],{width:Ae(n),height:Ae(r),style:"width:"+Ae(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),a=te.makeSvgSpan([],[s],i);return a.height=r,a.style.height=Ae(r),a.style.width=Ae(n),{type:"elem",elem:a}},s2=.008,S0={type:"kern",size:-1*s2},$B=["|","\\lvert","\\rvert","\\vert"],XB=["\\|","\\lVert","\\rVert","\\Vert"],G7=function(e,r,i,n,o,s){var a,l,c,u,f="",d=0;a=c=u=e,l=null;var p="Size1-Regular";e==="\\uparrow"?c=u="\u23D0":e==="\\Uparrow"?c=u="\u2016":e==="\\downarrow"?a=c="\u23D0":e==="\\Downarrow"?a=c="\u2016":e==="\\updownarrow"?(a="\\uparrow",c="\u23D0",u="\\downarrow"):e==="\\Updownarrow"?(a="\\Uparrow",c="\u2016",u="\\Downarrow"):Ke.contains($B,e)?(c="\u2223",f="vert",d=333):Ke.contains(XB,e)?(c="\u2225",f="doublevert",d=556):e==="["||e==="\\lbrack"?(a="\u23A1",c="\u23A2",u="\u23A3",p="Size4-Regular",f="lbrack",d=667):e==="]"||e==="\\rbrack"?(a="\u23A4",c="\u23A5",u="\u23A6",p="Size4-Regular",f="rbrack",d=667):e==="\\lfloor"||e==="\u230A"?(c=a="\u23A2",u="\u23A3",p="Size4-Regular",f="lfloor",d=667):e==="\\lceil"||e==="\u2308"?(a="\u23A1",c=u="\u23A2",p="Size4-Regular",f="lceil",d=667):e==="\\rfloor"||e==="\u230B"?(c=a="\u23A5",u="\u23A6",p="Size4-Regular",f="rfloor",d=667):e==="\\rceil"||e==="\u2309"?(a="\u23A4",c=u="\u23A5",p="Size4-Regular",f="rceil",d=667):e==="("||e==="\\lparen"?(a="\u239B",c="\u239C",u="\u239D",p="Size4-Regular",f="lparen",d=875):e===")"||e==="\\rparen"?(a="\u239E",c="\u239F",u="\u23A0",p="Size4-Regular",f="rparen",d=875):e==="\\{"||e==="\\lbrace"?(a="\u23A7",l="\u23A8",u="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(a="\u23AB",l="\u23AC",u="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(a="\u23A7",u="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(a="\u23AB",u="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(a="\u23A7",u="\u23AD",c="\u23AA",p="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(a="\u23AB",u="\u23A9",c="\u23AA",p="Size4-Regular");var O=Du(a,p,o),w=O.height+O.depth,x=Du(c,p,o),k=x.height+x.depth,C=Du(u,p,o),R=C.height+C.depth,Q=0,z=1;if(l!==null){var L=Du(l,p,o);Q=L.height+L.depth,z=2}var Z=w+R+Q,re=Math.max(0,Math.ceil((r-Z)/(z*k))),H=Z+re*z*k,q=n.fontMetrics().axisHeight;i&&(q*=n.sizeMultiplier);var oe=H/2-q,pe=[];if(f.length>0){var fe=H-w-R,ge=Math.round(H*1e3),ve=Nj(f,Math.round(fe*1e3)),Qe=new Gn(f,ve),se=(d/1e3).toFixed(3)+"em",he=(ge/1e3).toFixed(3)+"em",K=new vn([Qe],{width:se,height:he,viewBox:"0 0 "+d+" "+ge}),_=te.makeSvgSpan([],[K],n);_.height=ge/1e3,_.style.width=se,_.style.height=he,pe.push({type:"elem",elem:_})}else{if(pe.push(Bb(u,p,o)),pe.push(S0),l===null){var G=H-w-R+2*s2;pe.push(Vb(c,G,n))}else{var ae=(H-w-R-Q)/2+2*s2;pe.push(Vb(c,ae,n)),pe.push(S0),pe.push(Bb(l,p,o)),pe.push(S0),pe.push(Vb(c,ae,n))}pe.push(S0),pe.push(Bb(a,p,o))}var j=n.havingBaseStyle(We.TEXT),Je=te.makeVList({positionType:"bottom",positionData:oe,children:pe},j);return g2(te.makeSpan(["delimsizing","mult"],[Je],j),We.TEXT,n,s)},qb=80,Fb=.08,Wb=function(e,r,i,n,o){var s=Dj(e,n,i),a=new Gn(e,s),l=new vn([a],{width:"400em",height:Ae(r),viewBox:"0 0 400000 "+i,preserveAspectRatio:"xMinYMin slice"});return te.makeSvgSpan(["hide-tail"],[l],o)},IB=function(e,r){var i=r.havingBaseSizing(),n=tT("\\surd",e*i.sizeMultiplier,eT,i),o=i.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),a,l=0,c=0,u=0,f;return n.type==="small"?(u=1e3+1e3*s+qb,e<1?o=1:e<1.4&&(o=.7),l=(1+s+Fb)/o,c=(1+s)/o,a=Wb("sqrtMain",l,u,s,r),a.style.minWidth="0.853em",f=.833/o):n.type==="large"?(u=(1e3+qb)*Uu[n.size],c=(Uu[n.size]+s)/o,l=(Uu[n.size]+s+Fb)/o,a=Wb("sqrtSize"+n.size,l,u,s,r),a.style.minWidth="1.02em",f=1/o):(l=e+s+Fb,c=e+s,u=Math.floor(1e3*e+s)+qb,a=Wb("sqrtTall",l,u,s,r),a.style.minWidth="0.742em",f=1.056),a.height=c,a.style.height=Ae(l),{span:a,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*o}},K7=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],LB=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],J7=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Uu=[0,1.2,1.8,2.4,3],zB=function(e,r,i,n,o){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),Ke.contains(K7,e)||Ke.contains(J7,e))return H7(e,r,!1,i,n,o);if(Ke.contains(LB,e))return G7(e,Uu[r],!1,i,n,o);throw new Pe("Illegal delimiter: '"+e+"'")},MB=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],DB=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"stack"}],eT=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],UB=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},tT=function(e,r,i,n){for(var o=Math.min(2,3-n.style.size),s=o;sr)return i[s]}return i[i.length-1]},rT=function(e,r,i,n,o,s){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var a;Ke.contains(J7,e)?a=MB:Ke.contains(K7,e)?a=eT:a=DB;var l=tT(e,r,a,n);return l.type==="small"?AB(e,l.style,i,n,o,s):l.type==="large"?H7(e,l.size,i,n,o,s):G7(e,r,i,n,o,s)},NB=function(e,r,i,n,o,s){var a=n.fontMetrics().axisHeight*n.sizeMultiplier,l=901,c=5/n.fontMetrics().ptPerEm,u=Math.max(r-a,i+a),f=Math.max(u/500*l,2*u-c);return rT(e,f,!0,n,o,s)},_o={sqrtImage:IB,sizedDelim:zB,sizeToMaxHeight:Uu,customSizedDelim:rT,leftRightDelim:NB},a7={"\\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}},jB=["(","\\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 U0(t,e){var r=M0(t);if(r&&Ke.contains(jB,r.text))return r;throw r?new Pe("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new Pe("Invalid delimiter type '"+t.type+"'",t)}Ie({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:(t,e)=>{var r=U0(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:a7[t.funcName].size,mclass:a7[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?te.makeSpan([t.mclass]):_o.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Ki(t.delim,t.mode));var r=new ke.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var i=Ae(_o.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",i),r.setAttribute("maxsize",i),r}});function l7(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ie({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new Pe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:U0(e[0],t).text,color:r}}});Ie({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=U0(e[0],t),i=t.parser;++i.leftrightDepth;var n=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var o=lt(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:n,left:r.text,right:o.delim,rightColor:o.color}},htmlBuilder:(t,e)=>{l7(t);for(var r=yr(t.body,e,!0,["mopen","mclose"]),i=0,n=0,o=!1,s=0;s{l7(t);var r=xi(t.body,e);if(t.left!=="."){var i=new ke.MathNode("mo",[Ki(t.left,t.mode)]);i.setAttribute("fence","true"),r.unshift(i)}if(t.right!=="."){var n=new ke.MathNode("mo",[Ki(t.right,t.mode)]);n.setAttribute("fence","true"),t.rightColor&&n.setAttribute("mathcolor",t.rightColor),r.push(n)}return d2(r)}});Ie({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=U0(e[0],t);if(!t.parser.leftrightDepth)throw new Pe("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;if(t.delim===".")r=qu(e,[]);else{r=_o.sizedDelim(t.delim,1,e,t.mode,[]);var i={delim:t.delim,options:e};r.isMiddle=i}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?Ki("|","text"):Ki(t.delim,t.mode),i=new ke.MathNode("mo",[r]);return i.setAttribute("fence","true"),i.setAttribute("lspace","0.05em"),i.setAttribute("rspace","0.05em"),i}});var b2=(t,e)=>{var r=te.wrapFragment(xt(t.body,e),e),i=t.label.slice(1),n=e.sizeMultiplier,o,s=0,a=Ke.isCharacterBox(t.body);if(i==="sout")o=te.makeSpan(["stretchy","sout"]),o.height=e.fontMetrics().defaultRuleThickness/n,s=-.5*e.fontMetrics().xHeight;else if(i==="phase"){var l=Gt({number:.6,unit:"pt"},e),c=Gt({number:.35,unit:"ex"},e),u=e.havingBaseSizing();n=n/u.sizeMultiplier;var f=r.height+r.depth+l+c;r.style.paddingLeft=Ae(f/2+l);var d=Math.floor(1e3*f*n),p=zj(d),O=new vn([new Gn("phase",p)],{width:"400em",height:Ae(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});o=te.makeSvgSpan(["hide-tail"],[O],e),o.style.height=Ae(f),s=r.depth+l+c}else{/cancel/.test(i)?a||r.classes.push("cancel-pad"):i==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var w=0,x=0,k=0;/box/.test(i)?(k=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),w=e.fontMetrics().fboxsep+(i==="colorbox"?0:k),x=w):i==="angl"?(k=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),w=4*k,x=Math.max(0,.25-r.depth)):(w=a?.2:0,x=w),o=Ro.encloseSpan(r,i,w,x,e),/fbox|boxed|fcolorbox/.test(i)?(o.style.borderStyle="solid",o.style.borderWidth=Ae(k)):i==="angl"&&k!==.049&&(o.style.borderTopWidth=Ae(k),o.style.borderRightWidth=Ae(k)),s=r.depth+x,t.backgroundColor&&(o.style.backgroundColor=t.backgroundColor,t.borderColor&&(o.style.borderColor=t.borderColor))}var C;if(t.backgroundColor)C=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:s},{type:"elem",elem:r,shift:0}]},e);else{var R=/cancel|phase/.test(i)?["svg-align"]:[];C=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:o,shift:s,wrapperClasses:R}]},e)}return/cancel/.test(i)&&(C.height=r.height,C.depth=r.depth),/cancel/.test(i)&&!a?te.makeSpan(["mord","cancel-lap"],[C],e):te.makeSpan(["mord"],[C],e)},y2=(t,e)=>{var r=0,i=new ke.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[zt(t.body,e)]);switch(t.label){case"\\cancel":i.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":i.setAttribute("notation","downdiagonalstrike");break;case"\\phase":i.setAttribute("notation","phasorangle");break;case"\\sout":i.setAttribute("notation","horizontalstrike");break;case"\\fbox":i.setAttribute("notation","box");break;case"\\angl":i.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,i.setAttribute("width","+"+2*r+"pt"),i.setAttribute("height","+"+2*r+"pt"),i.setAttribute("lspace",r+"pt"),i.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var n=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);i.setAttribute("style","border: "+n+"em solid "+String(t.borderColor))}break;case"\\xcancel":i.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&i.setAttribute("mathbackground",t.backgroundColor),i};Ie({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:i,funcName:n}=t,o=lt(e[0],"color-token").color,s=e[1];return{type:"enclose",mode:i.mode,label:n,backgroundColor:o,body:s}},htmlBuilder:b2,mathmlBuilder:y2});Ie({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:i,funcName:n}=t,o=lt(e[0],"color-token").color,s=lt(e[1],"color-token").color,a=e[2];return{type:"enclose",mode:i.mode,label:n,backgroundColor:s,borderColor:o,body:a}},htmlBuilder:b2,mathmlBuilder:y2});Ie({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});Ie({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"enclose",mode:r.mode,label:i,body:n}},htmlBuilder:b2,mathmlBuilder:y2});Ie({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var iT={};function Kn(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder:s}=t,a={type:e,numArgs:i.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l{var e=t.parser.settings;if(!e.displayMode)throw new Pe("{"+t.envName+"} can be used only in display mode.")};function v2(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function Is(t,e,r){var{hskipBeforeAndAfter:i,addJot:n,cols:o,arraystretch:s,colSeparationType:a,autoTag:l,singleRow:c,emptySingleRow:u,maxNumCols:f,leqno:d}=e;if(t.gullet.beginGroup(),c||t.gullet.macros.set("\\cr","\\\\\\relax"),!s){var p=t.gullet.expandMacroAsText("\\arraystretch");if(p==null)s=1;else if(s=parseFloat(p),!s||s<0)throw new Pe("Invalid \\arraystretch: "+p)}t.gullet.beginGroup();var O=[],w=[O],x=[],k=[],C=l!=null?[]:void 0;function R(){l&&t.gullet.macros.set("\\@eqnsw","1",!0)}function Q(){C&&(t.gullet.macros.get("\\df@tag")?(C.push(t.subparse([new Hn("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):C.push(!!l&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),k.push(c7(t));;){var z=t.parseExpression(!1,c?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),z={type:"ordgroup",mode:t.mode,body:z},r&&(z={type:"styling",mode:t.mode,style:r,body:[z]}),O.push(z);var L=t.fetch().text;if(L==="&"){if(f&&O.length===f){if(c||a)throw new Pe("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(L==="\\end"){Q(),O.length===1&&z.type==="styling"&&z.body[0].body.length===0&&(w.length>1||!u)&&w.pop(),k.length0&&(R+=.25),c.push({pos:R,isDashed:go[zn]})}for(Q(s[0]),i=0;i0&&(oe+=C,Zgo))for(i=0;i=a)){var Ce=void 0;(n>0||e.hskipBeforeAndAfter)&&(Ce=Ke.deflt(ae.pregap,d),Ce!==0&&(ve=te.makeSpan(["arraycolsep"],[]),ve.style.width=Ae(Ce),ge.push(ve)));var Ze=[];for(i=0;i0){for(var Qr=te.makeLineSpan("hline",r,u),Ln=te.makeLineSpan("hdashline",r,u),pn=[{type:"elem",elem:l,shift:0}];c.length>0;){var Zt=c.pop(),ba=Zt.pos-pe;Zt.isDashed?pn.push({type:"elem",elem:Ln,shift:ba}):pn.push({type:"elem",elem:Qr,shift:ba})}l=te.makeVList({positionType:"individualShift",children:pn},r)}if(se.length===0)return te.makeSpan(["mord"],[l],r);var _r=te.makeVList({positionType:"individualShift",children:se},r);return _r=te.makeSpan(["tag"],[_r],r),te.makeFragment([l,_r])},BB={c:"center ",l:"left ",r:"right "},eo=function(e,r){for(var i=[],n=new ke.MathNode("mtd",[],["mtr-glue"]),o=new ke.MathNode("mtd",[],["mml-eqn-num"]),s=0;s0){var O=e.cols,w="",x=!1,k=0,C=O.length;O[0].type==="separator"&&(d+="top ",k=1),O[O.length-1].type==="separator"&&(d+="bottom ",C-=1);for(var R=k;R0?"left ":"",d+=re[re.length-1].length>0?"right ":"";for(var H=1;H-1?"alignat":"align",o=e.envName==="split",s=Is(e.parser,{cols:i,addJot:!0,autoTag:o?void 0:v2(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),a,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var u="",f=0;f0&&p&&(x=1),i[O]={type:"align",align:w,pregap:x,postgap:0}}return s.colSeparationType=p?"align":"alignat",s};Kn({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=M0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(s){var a=m2(s),l=a.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new Pe("Unknown column alignment: "+l,s)}),o={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Is(t.parser,o,w2(t.envName))},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var n=t.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,"lcr".indexOf(r)===-1)throw new Pe("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),i.cols=[{type:"align",align:r}]}}var o=Is(t.parser,i,w2(t.envName)),s=Math.max(0,...o.body.map(a=>a.length));return o.cols=new Array(s).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[o],left:e[0],right:e[1],rightColor:void 0}:o},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=Is(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=M0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(s){var a=m2(s),l=a.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Pe("Unknown column alignment: "+l,s)});if(n.length>1)throw new Pe("{subarray} can contain only one column");var o={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Is(t.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new Pe("{subarray} can contain only one column");return o},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=Is(t.parser,e,w2(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:oT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){Ke.contains(["gather","gather*"],t.envName)&&N0(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:v2(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return Is(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:oT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){N0(t);var e={autoTag:v2(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return Is(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["CD"],props:{numArgs:0},handler(t){return N0(t),QB(t.parser)},htmlBuilder:Jn,mathmlBuilder:eo});X("\\nonumber","\\gdef\\@eqnsw{0}");X("\\notag","\\nonumber");Ie({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new Pe(t.funcName+" valid only within array environment")}});var u7=iT;Ie({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];if(n.type!=="ordgroup")throw new Pe("Invalid environment name",n);for(var o="",s=0;s{var r=t.font,i=e.withFont(r);return xt(t.body,i)},aT=(t,e)=>{var r=t.font,i=e.withFont(r);return zt(t.body,i)},f7={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ie({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=$0(e[0]),o=i;return o in f7&&(o=f7[o]),{type:"font",mode:r.mode,font:o.slice(1),body:n}},htmlBuilder:sT,mathmlBuilder:aT});Ie({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,i=e[0],n=Ke.isCharacterBox(i);return{type:"mclass",mode:r.mode,mclass:D0(i),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:i}],isCharacterBox:n}}});Ie({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i,breakOnTokenText:n}=t,{mode:o}=r,s=r.parseExpression(!0,n),a="math"+i.slice(1);return{type:"font",mode:o,font:a,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:sT,mathmlBuilder:aT});var lT=(t,e)=>{var r=e;return t==="display"?r=r.id>=We.SCRIPT.id?r.text():We.DISPLAY:t==="text"&&r.size===We.DISPLAY.size?r=We.TEXT:t==="script"?r=We.SCRIPT:t==="scriptscript"&&(r=We.SCRIPTSCRIPT),r},x2=(t,e)=>{var r=lT(t.size,e.style),i=r.fracNum(),n=r.fracDen(),o;o=e.havingStyle(i);var s=xt(t.numer,o,e);if(t.continued){var a=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;s.height=s.height0?O=3*d:O=7*d,w=e.fontMetrics().denom1):(f>0?(p=e.fontMetrics().num2,O=d):(p=e.fontMetrics().num3,O=3*d),w=e.fontMetrics().denom2);var x;if(u){var C=e.fontMetrics().axisHeight;p-s.depth-(C+.5*f){var r=new ke.MathNode("mfrac",[zt(t.numer,e),zt(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var i=Gt(t.barSize,e);r.setAttribute("linethickness",Ae(i))}var n=lT(t.size,e.style);if(n.size!==e.style.size){r=new ke.MathNode("mstyle",[r]);var o=n.size===We.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",o),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var s=[];if(t.leftDelim!=null){var a=new ke.MathNode("mo",[new ke.TextNode(t.leftDelim.replace("\\",""))]);a.setAttribute("fence","true"),s.push(a)}if(s.push(r),t.rightDelim!=null){var l=new ke.MathNode("mo",[new ke.TextNode(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return d2(s)}return r};Ie({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=e[1],s,a=null,l=null,c="auto";switch(i){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,a="(",l=")";break;case"\\\\bracefrac":s=!1,a="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,a="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(i){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:n,denom:o,hasBarLine:s,leftDelim:a,rightDelim:l,size:c,barSize:null}},htmlBuilder:x2,mathmlBuilder:k2});Ie({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Ie({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:i}=t,n;switch(r){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:n,token:i}}});var h7=["display","text","script","scriptscript"],d7=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};Ie({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,i=e[4],n=e[5],o=$0(e[0]),s=o.type==="atom"&&o.family==="open"?d7(o.text):null,a=$0(e[1]),l=a.type==="atom"&&a.family==="close"?d7(a.text):null,c=lt(e[2],"size"),u,f=null;c.isBlank?u=!0:(f=c.value,u=f.number>0);var d="auto",p=e[3];if(p.type==="ordgroup"){if(p.body.length>0){var O=lt(p.body[0],"textord");d=h7[Number(O.text)]}}else p=lt(p,"textord"),d=h7[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:i,denom:n,continued:!1,hasBarLine:u,barSize:f,leftDelim:s,rightDelim:l,size:d}},htmlBuilder:x2,mathmlBuilder:k2});Ie({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:i,token:n}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:lt(e[0],"size").value,token:n}}});Ie({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=xj(lt(e[1],"infix").size),s=e[2],a=o.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:s,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:x2,mathmlBuilder:k2});var cT=(t,e)=>{var r=e.style,i,n;t.type==="supsub"?(i=t.sup?xt(t.sup,e.havingStyle(r.sup()),e):xt(t.sub,e.havingStyle(r.sub()),e),n=lt(t.base,"horizBrace")):n=lt(t,"horizBrace");var o=xt(n.base,e.havingBaseStyle(We.DISPLAY)),s=Ro.svgSpan(n,e),a;if(n.isOver?(a=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},e),a.children[0].children[0].children[1].classes.push("svg-align")):(a=te.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},e),a.children[0].children[0].children[0].classes.push("svg-align")),i){var l=te.makeSpan(["mord",n.isOver?"mover":"munder"],[a],e);n.isOver?a=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:i}]},e):a=te.makeVList({positionType:"bottom",positionData:l.depth+.2+i.height+i.depth,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return te.makeSpan(["mord",n.isOver?"mover":"munder"],[a],e)},VB=(t,e)=>{var r=Ro.mathMLnode(t.label);return new ke.MathNode(t.isOver?"mover":"munder",[zt(t.base,e),r])};Ie({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t;return{type:"horizBrace",mode:r.mode,label:i,isOver:/^\\over/.test(i),base:e[0]}},htmlBuilder:cT,mathmlBuilder:VB});Ie({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[1],n=lt(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:ar(i)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=yr(t.body,e,!1);return te.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=Xs(t.body,e);return r instanceof vi||(r=new vi("mrow",[r])),r.setAttribute("href",t.href),r}});Ie({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=lt(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:i}))return r.formatUnsupportedCmd("\\url");for(var n=[],o=0;o{var{parser:r,funcName:i,token:n}=t,o=lt(e[0],"raw").string,s=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var a,l={};switch(i){case"\\htmlClass":l.class=o,a={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,a={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,a={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),u=0;u{var r=yr(t.body,e,!1),i=["enclosing"];t.attributes.class&&i.push(...t.attributes.class.trim().split(/\s+/));var n=te.makeSpan(i,r,e);for(var o in t.attributes)o!=="class"&&t.attributes.hasOwnProperty(o)&&n.setAttribute(o,t.attributes[o]);return n},mathmlBuilder:(t,e)=>Xs(t.body,e)});Ie({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:ar(e[0]),mathml:ar(e[1])}},htmlBuilder:(t,e)=>{var r=yr(t.html,e,!1);return te.makeFragment(r)},mathmlBuilder:(t,e)=>Xs(t.mathml,e)});var Zb=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new Pe("Invalid size: '"+e+"' in \\includegraphics");var i={number:+(r[1]+r[2]),unit:r[3]};if(!P7(i))throw new Pe("Invalid unit: '"+i.unit+"' in \\includegraphics.");return i};Ie({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:i}=t,n={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},a="";if(r[0])for(var l=lt(r[0],"raw").string,c=l.split(","),u=0;u{var r=Gt(t.height,e),i=0;t.totalheight.number>0&&(i=Gt(t.totalheight,e)-r);var n=0;t.width.number>0&&(n=Gt(t.width,e));var o={height:Ae(r+i)};n>0&&(o.width=Ae(n)),i>0&&(o.verticalAlign=Ae(-i));var s=new e2(t.src,t.alt,o);return s.height=r,s.depth=i,s},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var i=Gt(t.height,e),n=0;if(t.totalheight.number>0&&(n=Gt(t.totalheight,e)-i,r.setAttribute("valign",Ae(-n))),r.setAttribute("height",Ae(i+n)),t.width.number>0){var o=Gt(t.width,e);r.setAttribute("width",Ae(o))}return r.setAttribute("src",t.src),r}});Ie({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:i}=t,n=lt(e[0],"size");if(r.settings.strict){var o=i[1]==="m",s=n.value.unit==="mu";o?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" supports only mu units, "+("not "+n.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder(t,e){return te.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=Gt(t.dimension,e);return new ke.SpaceNode(r)}});Ie({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"lap",mode:r.mode,alignment:i.slice(5),body:n}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=te.makeSpan([],[xt(t.body,e)]),r=te.makeSpan(["inner"],[r],e)):r=te.makeSpan(["inner"],[xt(t.body,e)]);var i=te.makeSpan(["fix"],[]),n=te.makeSpan([t.alignment],[r,i],e),o=te.makeSpan(["strut"]);return o.style.height=Ae(n.height+n.depth),n.depth&&(o.style.verticalAlign=Ae(-n.depth)),n.children.unshift(o),n=te.makeSpan(["thinbox"],[n],e),te.makeSpan(["mord","vbox"],[n],e)},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mpadded",[zt(t.body,e)]);if(t.alignment!=="rlap"){var i=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",i+"width")}return r.setAttribute("width","0px"),r}});Ie({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:i}=t,n=i.mode;i.switchMode("math");var o=r==="\\("?"\\)":"$",s=i.parseExpression(!1,o);return i.expect(o),i.switchMode(n),{type:"styling",mode:i.mode,style:"text",body:s}}});Ie({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new Pe("Mismatched "+t.funcName)}});var p7=(t,e)=>{switch(e.style.size){case We.DISPLAY.size:return t.display;case We.TEXT.size:return t.text;case We.SCRIPT.size:return t.script;case We.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};Ie({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:ar(e[0]),text:ar(e[1]),script:ar(e[2]),scriptscript:ar(e[3])}},htmlBuilder:(t,e)=>{var r=p7(t,e),i=yr(r,e,!1);return te.makeFragment(i)},mathmlBuilder:(t,e)=>{var r=p7(t,e);return Xs(r,e)}});var uT=(t,e,r,i,n,o,s)=>{t=te.makeSpan([],[t]);var a=r&&Ke.isCharacterBox(r),l,c;if(e){var u=xt(e,i.havingStyle(n.sup()),i);c={elem:u,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-u.depth)}}if(r){var f=xt(r,i.havingStyle(n.sub()),i);l={elem:f,kern:Math.max(i.fontMetrics().bigOpSpacing2,i.fontMetrics().bigOpSpacing4-f.height)}}var d;if(c&&l){var p=i.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+t.depth+s;d=te.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Ae(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Ae(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else if(l){var O=t.height-s;d=te.makeVList({positionType:"top",positionData:O,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Ae(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t}]},i)}else if(c){var w=t.depth+s;d=te.makeVList({positionType:"bottom",positionData:w,children:[{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Ae(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else return t;var x=[d];if(l&&o!==0&&!a){var k=te.makeSpan(["mspace"],[],i);k.style.marginRight=Ae(o),x.unshift(k)}return te.makeSpan(["mop","op-limits"],x,i)},fT=["\\smallint"],Kl=(t,e)=>{var r,i,n=!1,o;t.type==="supsub"?(r=t.sup,i=t.sub,o=lt(t.base,"op"),n=!0):o=lt(t,"op");var s=e.style,a=!1;s.size===We.DISPLAY.size&&o.symbol&&!Ke.contains(fT,o.name)&&(a=!0);var l;if(o.symbol){var c=a?"Size2-Regular":"Size1-Regular",u="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(u=o.name.slice(1),o.name=u==="oiint"?"\\iint":"\\iiint"),l=te.makeSymbol(o.name,c,"math",e,["mop","op-symbol",a?"large-op":"small-op"]),u.length>0){var f=l.italic,d=te.staticSvg(u+"Size"+(a?"2":"1"),e);l=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:a?.08:0}]},e),o.name="\\"+u,l.classes.unshift("mop"),l.italic=f}}else if(o.body){var p=yr(o.body,e,!0);p.length===1&&p[0]instanceof wi?(l=p[0],l.classes[0]="mop"):l=te.makeSpan(["mop"],p,e)}else{for(var O=[],w=1;w{var r;if(t.symbol)r=new vi("mo",[Ki(t.name,t.mode)]),Ke.contains(fT,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new vi("mo",xi(t.body,e));else{r=new vi("mi",[new Ra(t.name.slice(1))]);var i=new vi("mo",[Ki("\u2061","text")]);t.parentIsSupSub?r=new vi("mrow",[r,i]):r=D7([r,i])}return r},qB={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Ie({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:(t,e)=>{var{parser:r,funcName:i}=t,n=i;return n.length===1&&(n=qB[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Kl,mathmlBuilder:Fu});Ie({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ar(i)}},htmlBuilder:Kl,mathmlBuilder:Fu});var FB={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ie({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(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kl,mathmlBuilder:Fu});Ie({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kl,mathmlBuilder:Fu});Ie({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,i=r;return i.length===1&&(i=FB[i]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Kl,mathmlBuilder:Fu});var hT=(t,e)=>{var r,i,n=!1,o;t.type==="supsub"?(r=t.sup,i=t.sub,o=lt(t.base,"operatorname"),n=!0):o=lt(t,"operatorname");var s;if(o.body.length>0){for(var a=o.body.map(f=>{var d=f.text;return typeof d=="string"?{type:"textord",mode:f.mode,text:d}:f}),l=yr(a,e.withFont("mathrm"),!0),c=0;c{for(var r=xi(t.body,e.withFont("mathrm")),i=!0,n=0;nu.toText()).join("");r=[new ke.TextNode(a)]}var l=new ke.MathNode("mi",r);l.setAttribute("mathvariant","normal");var c=new ke.MathNode("mo",[Ki("\u2061","text")]);return t.parentIsSupSub?new ke.MathNode("mrow",[l,c]):ke.newDocumentFragment([l,c])};Ie({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"operatorname",mode:r.mode,body:ar(n),alwaysHandleSupSub:i==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:hT,mathmlBuilder:WB});X("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Ia({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?te.makeFragment(yr(t.body,e,!1)):te.makeSpan(["mord"],yr(t.body,e,!0),e)},mathmlBuilder(t,e){return Xs(t.body,e,!0)}});Ie({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,i=e[0];return{type:"overline",mode:r.mode,body:i}},htmlBuilder(t,e){var r=xt(t.body,e.havingCrampedStyle()),i=te.makeLineSpan("overline-line",e),n=e.fontMetrics().defaultRuleThickness,o=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:i},{type:"kern",size:n}]},e);return te.makeSpan(["mord","overline"],[o],e)},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[new ke.TextNode("\u203E")]);r.setAttribute("stretchy","true");var i=new ke.MathNode("mover",[zt(t.body,e),r]);return i.setAttribute("accent","true"),i}});Ie({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"phantom",mode:r.mode,body:ar(i)}},htmlBuilder:(t,e)=>{var r=yr(t.body,e.withPhantom(),!1);return te.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=xi(t.body,e);return new ke.MathNode("mphantom",r)}});Ie({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"hphantom",mode:r.mode,body:i}},htmlBuilder:(t,e)=>{var r=te.makeSpan([],[xt(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var i=0;i{var r=xi(ar(t.body),e),i=new ke.MathNode("mphantom",r),n=new ke.MathNode("mpadded",[i]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}});Ie({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"vphantom",mode:r.mode,body:i}},htmlBuilder:(t,e)=>{var r=te.makeSpan(["inner"],[xt(t.body,e.withPhantom())]),i=te.makeSpan(["fix"],[]);return te.makeSpan(["mord","rlap"],[r,i],e)},mathmlBuilder:(t,e)=>{var r=xi(ar(t.body),e),i=new ke.MathNode("mphantom",r),n=new ke.MathNode("mpadded",[i]);return n.setAttribute("width","0px"),n}});Ie({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,i=lt(e[0],"size").value,n=e[1];return{type:"raisebox",mode:r.mode,dy:i,body:n}},htmlBuilder(t,e){var r=xt(t.body,e),i=Gt(t.dy,e);return te.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new ke.MathNode("mpadded",[zt(t.body,e)]),i=t.dy.number+t.dy.unit;return r.setAttribute("voffset",i),r}});Ie({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});Ie({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,e,r){var{parser:i}=t,n=r[0],o=lt(e[0],"size"),s=lt(e[1],"size");return{type:"rule",mode:i.mode,shift:n&<(n,"size").value,width:o.value,height:s.value}},htmlBuilder(t,e){var r=te.makeSpan(["mord","rule"],[],e),i=Gt(t.width,e),n=Gt(t.height,e),o=t.shift?Gt(t.shift,e):0;return r.style.borderRightWidth=Ae(i),r.style.borderTopWidth=Ae(n),r.style.bottom=Ae(o),r.width=i,r.height=n+o,r.depth=-o,r.maxFontSize=n*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=Gt(t.width,e),i=Gt(t.height,e),n=t.shift?Gt(t.shift,e):0,o=e.color&&e.getColor()||"black",s=new ke.MathNode("mspace");s.setAttribute("mathbackground",o),s.setAttribute("width",Ae(r)),s.setAttribute("height",Ae(i));var a=new ke.MathNode("mpadded",[s]);return n>=0?a.setAttribute("height",Ae(n)):(a.setAttribute("height",Ae(n)),a.setAttribute("depth",Ae(-n))),a.setAttribute("voffset",Ae(n)),a}});function dT(t,e,r){for(var i=yr(t,e,!1),n=e.sizeMultiplier/r.sizeMultiplier,o=0;o{var r=e.havingSize(t.size);return dT(t.body,r,e)};Ie({type:"sizing",names:m7,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:i,parser:n}=t,o=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:m7.indexOf(i)+1,body:o}},htmlBuilder:ZB,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),i=xi(t.body,r),n=new ke.MathNode("mstyle",i);return n.setAttribute("mathsize",Ae(r.sizeMultiplier)),n}});Ie({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{var{parser:i}=t,n=!1,o=!1,s=r[0]&<(r[0],"ordgroup");if(s)for(var a="",l=0;l{var r=te.makeSpan([],[xt(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var i=0;i{var r=new ke.MathNode("mpadded",[zt(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}});Ie({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:i}=t,n=r[0],o=e[0];return{type:"sqrt",mode:i.mode,body:o,index:n}},htmlBuilder(t,e){var r=xt(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=te.wrapFragment(r,e);var i=e.fontMetrics(),n=i.defaultRuleThickness,o=n;e.style.idr.height+r.depth+s&&(s=(s+f-r.height-r.depth)/2);var d=l.height-r.height-s-c;r.style.paddingLeft=Ae(u);var p=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:l},{type:"kern",size:c}]},e);if(t.index){var O=e.havingStyle(We.SCRIPTSCRIPT),w=xt(t.index,O,e),x=.6*(p.height-p.depth),k=te.makeVList({positionType:"shift",positionData:-x,children:[{type:"elem",elem:w}]},e),C=te.makeSpan(["root"],[k]);return te.makeSpan(["mord","sqrt"],[C,p],e)}else return te.makeSpan(["mord","sqrt"],[p],e)},mathmlBuilder(t,e){var{body:r,index:i}=t;return i?new ke.MathNode("mroot",[zt(r,e),zt(i,e)]):new ke.MathNode("msqrt",[zt(r,e)])}});var O7={display:We.DISPLAY,text:We.TEXT,script:We.SCRIPT,scriptscript:We.SCRIPTSCRIPT};Ie({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:i,parser:n}=t,o=n.parseExpression(!0,r),s=i.slice(1,i.length-5);return{type:"styling",mode:n.mode,style:s,body:o}},htmlBuilder(t,e){var r=O7[t.style],i=e.havingStyle(r).withFont("");return dT(t.body,i,e)},mathmlBuilder(t,e){var r=O7[t.style],i=e.havingStyle(r),n=xi(t.body,i),o=new ke.MathNode("mstyle",n),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},a=s[t.style];return o.setAttribute("scriptlevel",a[0]),o.setAttribute("displaystyle",a[1]),o}});var YB=function(e,r){var i=e.base;if(i)if(i.type==="op"){var n=i.limits&&(r.style.size===We.DISPLAY.size||i.alwaysHandleSupSub);return n?Kl:null}else if(i.type==="operatorname"){var o=i.alwaysHandleSupSub&&(r.style.size===We.DISPLAY.size||i.limits);return o?hT:null}else{if(i.type==="accent")return Ke.isCharacterBox(i.base)?O2:null;if(i.type==="horizBrace"){var s=!e.sub;return s===i.isOver?cT:null}else return null}else return null};Ia({type:"supsub",htmlBuilder(t,e){var r=YB(t,e);if(r)return r(t,e);var{base:i,sup:n,sub:o}=t,s=xt(i,e),a,l,c=e.fontMetrics(),u=0,f=0,d=i&&Ke.isCharacterBox(i);if(n){var p=e.havingStyle(e.style.sup());a=xt(n,p,e),d||(u=s.height-p.fontMetrics().supDrop*p.sizeMultiplier/e.sizeMultiplier)}if(o){var O=e.havingStyle(e.style.sub());l=xt(o,O,e),d||(f=s.depth+O.fontMetrics().subDrop*O.sizeMultiplier/e.sizeMultiplier)}var w;e.style===We.DISPLAY?w=c.sup1:e.style.cramped?w=c.sup3:w=c.sup2;var x=e.sizeMultiplier,k=Ae(.5/c.ptPerEm/x),C=null;if(l){var R=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(s instanceof wi||R)&&(C=Ae(-s.italic))}var Q;if(a&&l){u=Math.max(u,w,a.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var z=c.defaultRuleThickness,L=4*z;if(u-a.depth-(l.height-f)0&&(u+=Z,f-=Z)}var re=[{type:"elem",elem:l,shift:f,marginRight:k,marginLeft:C},{type:"elem",elem:a,shift:-u,marginRight:k}];Q=te.makeVList({positionType:"individualShift",children:re},e)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var H=[{type:"elem",elem:l,marginLeft:C,marginRight:k}];Q=te.makeVList({positionType:"shift",positionData:f,children:H},e)}else if(a)u=Math.max(u,w,a.depth+.25*c.xHeight),Q=te.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:a,marginRight:k}]},e);else throw new Error("supsub must have either sup or sub.");var q=r2(s,"right")||"mord";return te.makeSpan([q],[s,te.makeSpan(["msupsub"],[Q])],e)},mathmlBuilder(t,e){var r=!1,i,n;t.base&&t.base.type==="horizBrace"&&(n=!!t.sup,n===t.base.isOver&&(r=!0,i=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var o=[zt(t.base,e)];t.sub&&o.push(zt(t.sub,e)),t.sup&&o.push(zt(t.sup,e));var s;if(r)s=i?"mover":"munder";else if(t.sub)if(t.sup){var c=t.base;c&&c.type==="op"&&c.limits&&e.style===We.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(e.style===We.DISPLAY||c.limits)?s="munderover":s="msubsup"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===We.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===We.DISPLAY)?s="munder":s="msub"}else{var a=t.base;a&&a.type==="op"&&a.limits&&(e.style===We.DISPLAY||a.alwaysHandleSupSub)||a&&a.type==="operatorname"&&a.alwaysHandleSupSub&&(a.limits||e.style===We.DISPLAY)?s="mover":s="msup"}return new ke.MathNode(s,o)}});Ia({type:"atom",htmlBuilder(t,e){return te.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[Ki(t.text,t.mode)]);if(t.family==="bin"){var i=p2(t,e);i==="bold-italic"&&r.setAttribute("mathvariant",i)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var pT={mi:"italic",mn:"normal",mtext:"normal"};Ia({type:"mathord",htmlBuilder(t,e){return te.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new ke.MathNode("mi",[Ki(t.text,t.mode,e)]),i=p2(t,e)||"italic";return i!==pT[r.type]&&r.setAttribute("mathvariant",i),r}});Ia({type:"textord",htmlBuilder(t,e){return te.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=Ki(t.text,t.mode,e),i=p2(t,e)||"normal",n;return t.mode==="text"?n=new ke.MathNode("mtext",[r]):/[0-9]/.test(t.text)?n=new ke.MathNode("mn",[r]):t.text==="\\prime"?n=new ke.MathNode("mo",[r]):n=new ke.MathNode("mi",[r]),i!==pT[n.type]&&n.setAttribute("mathvariant",i),n}});var Yb={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Hb={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ia({type:"spacing",htmlBuilder(t,e){if(Hb.hasOwnProperty(t.text)){var r=Hb[t.text].className||"";if(t.mode==="text"){var i=te.makeOrd(t,e,"textord");return i.classes.push(r),i}else return te.makeSpan(["mspace",r],[te.mathsym(t.text,t.mode,e)],e)}else{if(Yb.hasOwnProperty(t.text))return te.makeSpan(["mspace",Yb[t.text]],[],e);throw new Pe('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(Hb.hasOwnProperty(t.text))r=new ke.MathNode("mtext",[new ke.TextNode("\xA0")]);else{if(Yb.hasOwnProperty(t.text))return new ke.MathNode("mspace");throw new Pe('Unknown type of space "'+t.text+'"')}return r}});var g7=()=>{var t=new ke.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Ia({type:"tag",mathmlBuilder(t,e){var r=new ke.MathNode("mtable",[new ke.MathNode("mtr",[g7(),new ke.MathNode("mtd",[Xs(t.body,e)]),g7(),new ke.MathNode("mtd",[Xs(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var b7={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},y7={"\\textbf":"textbf","\\textmd":"textmd"},HB={"\\textit":"textit","\\textup":"textup"},v7=(t,e)=>{var r=t.font;return r?b7[r]?e.withTextFontFamily(b7[r]):y7[r]?e.withTextFontWeight(y7[r]):e.withTextFontShape(HB[r]):e};Ie({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"text",mode:r.mode,body:ar(n),font:i}},htmlBuilder(t,e){var r=v7(t,e),i=yr(t.body,r,!0);return te.makeSpan(["mord","text"],i,r)},mathmlBuilder(t,e){var r=v7(t,e);return Xs(t.body,r)}});Ie({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=xt(t.body,e),i=te.makeLineSpan("underline-line",e),n=e.fontMetrics().defaultRuleThickness,o=te.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:i},{type:"kern",size:3*n},{type:"elem",elem:r}]},e);return te.makeSpan(["mord","underline"],[o],e)},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[new ke.TextNode("\u203E")]);r.setAttribute("stretchy","true");var i=new ke.MathNode("munder",[zt(t.body,e),r]);return i.setAttribute("accentunder","true"),i}});Ie({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=xt(t.body,e),i=e.fontMetrics().axisHeight,n=.5*(r.height-i-(r.depth+i));return te.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new ke.MathNode("mpadded",[zt(t.body,e)],["vcenter"])}});Ie({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new Pe("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=w7(t),i=[],n=e.havingStyle(e.style.text()),o=0;ot.body.replace(/ /g,t.star?"\u2423":"\xA0"),Rs=z7,mT=`[ \r - ]`,GB="\\\\[a-zA-Z@]+",KB="\\\\[^\uD800-\uDFFF]",JB="("+GB+")"+mT+"*",eV=`\\\\( +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},$a=class{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 Ke.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;rr.toText();return this.children.map(e).join("")}},Yn={"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]}},m0={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]},HS={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"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 Nj(t,e){Yn[t]=e}function d2(t,e,r){if(!Yn[e])throw new Error("Font metrics not found for font: "+e+".");var i=t.charCodeAt(0),n=Yn[e][i];if(!n&&t[0]in HS&&(i=HS[t[0]].charCodeAt(0),n=Yn[e][i]),!n&&r==="text"&&C7(i)&&(n=Yn[e][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var jb={};function jj(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!jb[e]){var r=jb[e]={cssEmPerMu:m0.quad[e]/18};for(var i in m0)m0.hasOwnProperty(i)&&(r[i]=m0[i][e])}return jb[e]}var Bj=[[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]],GS=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],KS=function(e,r){return r.size<2?e:Bj[e-1][r.size-1]},Q0=class t{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||t.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=GS[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var r={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 i in e)e.hasOwnProperty(i)&&(r[i]=e[i]);return new t(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:KS(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:GS[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=KS(t.BASESIZE,e);return this.size===r&&this.textSize===t.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}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!==t.BASESIZE?["sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=jj(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};Q0.BASESIZE=6;var t2={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Vj={ex:!0,em:!0,mu:!0},P7=function(e){return typeof e!="string"&&(e=e.unit),e in t2||e in Vj||e==="ex"},Gt=function(e,r){var i;if(e.unit in t2)i=t2[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")i=r.fontMetrics().cssEmPerMu;else{var n;if(r.style.isTight()?n=r.havingStyle(r.style.text()):n=r,e.unit==="ex")i=n.fontMetrics().xHeight;else if(e.unit==="em")i=n.fontMetrics().quad;else throw new Pe("Invalid unit: '"+e.unit+"'");n!==r&&(i*=n.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*i,r.maxSize)},Ae=function(e){return+e.toFixed(4)+"em"},Xs=function(e){return e.filter(r=>r).join(" ")},Q7=function(e,r,i){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=i||{},r){r.style.isTight()&&this.classes.push("mtight");var n=r.getColor();n&&(this.style.color=n)}},_7=function(e){var r=document.createElement(e);r.className=Xs(this.classes);for(var i in this.style)this.style.hasOwnProperty(i)&&(r.style[i]=this.style[i]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&r.setAttribute(n,this.attributes[n]);for(var o=0;o",r},Xa=class{constructor(e,r,i,n){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,Q7.call(this,e,i,n),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Ke.contains(this.classes,e)}toNode(){return _7.call(this,"span")}toMarkup(){return A7.call(this,"span")}},Bu=class{constructor(e,r,i,n){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,Q7.call(this,r,n),this.children=i||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Ke.contains(this.classes,e)}toNode(){return _7.call(this,"a")}toMarkup(){return A7.call(this,"a")}},r2=class{constructor(e,r,i){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=r,this.src=e,this.classes=["mord"],this.style=i}hasClass(e){return Ke.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e=""+this.alt+"0&&(r=document.createElement("span"),r.style.marginRight=Ae(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Xs(this.classes));for(var i in this.style)this.style.hasOwnProperty(i)&&(r=r||document.createElement("span"),r.style[i]=this.style[i]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="0&&(i+="margin-right:"+this.italic+"em;");for(var n in this.style)this.style.hasOwnProperty(n)&&(i+=Ke.hyphenate(n)+":"+this.style[n]+";");i&&(e=!0,r+=' style="'+Ke.escape(i)+'"');var o=Ke.escape(this.text);return e?(r+=">",r+=o,r+="",r):o}},vn=class{constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"svg");for(var i in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,i)&&r.setAttribute(i,this.attributes[i]);for(var n=0;n":""}},Vu=class{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var i in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,i)&&r.setAttribute(i,this.attributes[i]);return r}toMarkup(){var e=" but got "+String(t)+".")}var Wj={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Zj={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Dt={math:{},text:{}};function v(t,e,r,i,n,o){Dt[t][n]={font:e,group:r,replace:i},o&&i&&(Dt[t][i]=Dt[t][n])}var S="math",we="text",P="main",N="ams",Bt="accent-token",ze="bin",ai="close",Gl="inner",Fe="mathord",fr="op-token",Li="open",L0="punct",B="rel",$o="spacing",Y="textord";v(S,P,B,"\u2261","\\equiv",!0);v(S,P,B,"\u227A","\\prec",!0);v(S,P,B,"\u227B","\\succ",!0);v(S,P,B,"\u223C","\\sim",!0);v(S,P,B,"\u22A5","\\perp");v(S,P,B,"\u2AAF","\\preceq",!0);v(S,P,B,"\u2AB0","\\succeq",!0);v(S,P,B,"\u2243","\\simeq",!0);v(S,P,B,"\u2223","\\mid",!0);v(S,P,B,"\u226A","\\ll",!0);v(S,P,B,"\u226B","\\gg",!0);v(S,P,B,"\u224D","\\asymp",!0);v(S,P,B,"\u2225","\\parallel");v(S,P,B,"\u22C8","\\bowtie",!0);v(S,P,B,"\u2323","\\smile",!0);v(S,P,B,"\u2291","\\sqsubseteq",!0);v(S,P,B,"\u2292","\\sqsupseteq",!0);v(S,P,B,"\u2250","\\doteq",!0);v(S,P,B,"\u2322","\\frown",!0);v(S,P,B,"\u220B","\\ni",!0);v(S,P,B,"\u221D","\\propto",!0);v(S,P,B,"\u22A2","\\vdash",!0);v(S,P,B,"\u22A3","\\dashv",!0);v(S,P,B,"\u220B","\\owns");v(S,P,L0,".","\\ldotp");v(S,P,L0,"\u22C5","\\cdotp");v(S,P,Y,"#","\\#");v(we,P,Y,"#","\\#");v(S,P,Y,"&","\\&");v(we,P,Y,"&","\\&");v(S,P,Y,"\u2135","\\aleph",!0);v(S,P,Y,"\u2200","\\forall",!0);v(S,P,Y,"\u210F","\\hbar",!0);v(S,P,Y,"\u2203","\\exists",!0);v(S,P,Y,"\u2207","\\nabla",!0);v(S,P,Y,"\u266D","\\flat",!0);v(S,P,Y,"\u2113","\\ell",!0);v(S,P,Y,"\u266E","\\natural",!0);v(S,P,Y,"\u2663","\\clubsuit",!0);v(S,P,Y,"\u2118","\\wp",!0);v(S,P,Y,"\u266F","\\sharp",!0);v(S,P,Y,"\u2662","\\diamondsuit",!0);v(S,P,Y,"\u211C","\\Re",!0);v(S,P,Y,"\u2661","\\heartsuit",!0);v(S,P,Y,"\u2111","\\Im",!0);v(S,P,Y,"\u2660","\\spadesuit",!0);v(S,P,Y,"\xA7","\\S",!0);v(we,P,Y,"\xA7","\\S");v(S,P,Y,"\xB6","\\P",!0);v(we,P,Y,"\xB6","\\P");v(S,P,Y,"\u2020","\\dag");v(we,P,Y,"\u2020","\\dag");v(we,P,Y,"\u2020","\\textdagger");v(S,P,Y,"\u2021","\\ddag");v(we,P,Y,"\u2021","\\ddag");v(we,P,Y,"\u2021","\\textdaggerdbl");v(S,P,ai,"\u23B1","\\rmoustache",!0);v(S,P,Li,"\u23B0","\\lmoustache",!0);v(S,P,ai,"\u27EF","\\rgroup",!0);v(S,P,Li,"\u27EE","\\lgroup",!0);v(S,P,ze,"\u2213","\\mp",!0);v(S,P,ze,"\u2296","\\ominus",!0);v(S,P,ze,"\u228E","\\uplus",!0);v(S,P,ze,"\u2293","\\sqcap",!0);v(S,P,ze,"\u2217","\\ast");v(S,P,ze,"\u2294","\\sqcup",!0);v(S,P,ze,"\u25EF","\\bigcirc",!0);v(S,P,ze,"\u2219","\\bullet",!0);v(S,P,ze,"\u2021","\\ddagger");v(S,P,ze,"\u2240","\\wr",!0);v(S,P,ze,"\u2A3F","\\amalg");v(S,P,ze,"&","\\And");v(S,P,B,"\u27F5","\\longleftarrow",!0);v(S,P,B,"\u21D0","\\Leftarrow",!0);v(S,P,B,"\u27F8","\\Longleftarrow",!0);v(S,P,B,"\u27F6","\\longrightarrow",!0);v(S,P,B,"\u21D2","\\Rightarrow",!0);v(S,P,B,"\u27F9","\\Longrightarrow",!0);v(S,P,B,"\u2194","\\leftrightarrow",!0);v(S,P,B,"\u27F7","\\longleftrightarrow",!0);v(S,P,B,"\u21D4","\\Leftrightarrow",!0);v(S,P,B,"\u27FA","\\Longleftrightarrow",!0);v(S,P,B,"\u21A6","\\mapsto",!0);v(S,P,B,"\u27FC","\\longmapsto",!0);v(S,P,B,"\u2197","\\nearrow",!0);v(S,P,B,"\u21A9","\\hookleftarrow",!0);v(S,P,B,"\u21AA","\\hookrightarrow",!0);v(S,P,B,"\u2198","\\searrow",!0);v(S,P,B,"\u21BC","\\leftharpoonup",!0);v(S,P,B,"\u21C0","\\rightharpoonup",!0);v(S,P,B,"\u2199","\\swarrow",!0);v(S,P,B,"\u21BD","\\leftharpoondown",!0);v(S,P,B,"\u21C1","\\rightharpoondown",!0);v(S,P,B,"\u2196","\\nwarrow",!0);v(S,P,B,"\u21CC","\\rightleftharpoons",!0);v(S,N,B,"\u226E","\\nless",!0);v(S,N,B,"\uE010","\\@nleqslant");v(S,N,B,"\uE011","\\@nleqq");v(S,N,B,"\u2A87","\\lneq",!0);v(S,N,B,"\u2268","\\lneqq",!0);v(S,N,B,"\uE00C","\\@lvertneqq");v(S,N,B,"\u22E6","\\lnsim",!0);v(S,N,B,"\u2A89","\\lnapprox",!0);v(S,N,B,"\u2280","\\nprec",!0);v(S,N,B,"\u22E0","\\npreceq",!0);v(S,N,B,"\u22E8","\\precnsim",!0);v(S,N,B,"\u2AB9","\\precnapprox",!0);v(S,N,B,"\u2241","\\nsim",!0);v(S,N,B,"\uE006","\\@nshortmid");v(S,N,B,"\u2224","\\nmid",!0);v(S,N,B,"\u22AC","\\nvdash",!0);v(S,N,B,"\u22AD","\\nvDash",!0);v(S,N,B,"\u22EA","\\ntriangleleft");v(S,N,B,"\u22EC","\\ntrianglelefteq",!0);v(S,N,B,"\u228A","\\subsetneq",!0);v(S,N,B,"\uE01A","\\@varsubsetneq");v(S,N,B,"\u2ACB","\\subsetneqq",!0);v(S,N,B,"\uE017","\\@varsubsetneqq");v(S,N,B,"\u226F","\\ngtr",!0);v(S,N,B,"\uE00F","\\@ngeqslant");v(S,N,B,"\uE00E","\\@ngeqq");v(S,N,B,"\u2A88","\\gneq",!0);v(S,N,B,"\u2269","\\gneqq",!0);v(S,N,B,"\uE00D","\\@gvertneqq");v(S,N,B,"\u22E7","\\gnsim",!0);v(S,N,B,"\u2A8A","\\gnapprox",!0);v(S,N,B,"\u2281","\\nsucc",!0);v(S,N,B,"\u22E1","\\nsucceq",!0);v(S,N,B,"\u22E9","\\succnsim",!0);v(S,N,B,"\u2ABA","\\succnapprox",!0);v(S,N,B,"\u2246","\\ncong",!0);v(S,N,B,"\uE007","\\@nshortparallel");v(S,N,B,"\u2226","\\nparallel",!0);v(S,N,B,"\u22AF","\\nVDash",!0);v(S,N,B,"\u22EB","\\ntriangleright");v(S,N,B,"\u22ED","\\ntrianglerighteq",!0);v(S,N,B,"\uE018","\\@nsupseteqq");v(S,N,B,"\u228B","\\supsetneq",!0);v(S,N,B,"\uE01B","\\@varsupsetneq");v(S,N,B,"\u2ACC","\\supsetneqq",!0);v(S,N,B,"\uE019","\\@varsupsetneqq");v(S,N,B,"\u22AE","\\nVdash",!0);v(S,N,B,"\u2AB5","\\precneqq",!0);v(S,N,B,"\u2AB6","\\succneqq",!0);v(S,N,B,"\uE016","\\@nsubseteqq");v(S,N,ze,"\u22B4","\\unlhd");v(S,N,ze,"\u22B5","\\unrhd");v(S,N,B,"\u219A","\\nleftarrow",!0);v(S,N,B,"\u219B","\\nrightarrow",!0);v(S,N,B,"\u21CD","\\nLeftarrow",!0);v(S,N,B,"\u21CF","\\nRightarrow",!0);v(S,N,B,"\u21AE","\\nleftrightarrow",!0);v(S,N,B,"\u21CE","\\nLeftrightarrow",!0);v(S,N,B,"\u25B3","\\vartriangle");v(S,N,Y,"\u210F","\\hslash");v(S,N,Y,"\u25BD","\\triangledown");v(S,N,Y,"\u25CA","\\lozenge");v(S,N,Y,"\u24C8","\\circledS");v(S,N,Y,"\xAE","\\circledR");v(we,N,Y,"\xAE","\\circledR");v(S,N,Y,"\u2221","\\measuredangle",!0);v(S,N,Y,"\u2204","\\nexists");v(S,N,Y,"\u2127","\\mho");v(S,N,Y,"\u2132","\\Finv",!0);v(S,N,Y,"\u2141","\\Game",!0);v(S,N,Y,"\u2035","\\backprime");v(S,N,Y,"\u25B2","\\blacktriangle");v(S,N,Y,"\u25BC","\\blacktriangledown");v(S,N,Y,"\u25A0","\\blacksquare");v(S,N,Y,"\u29EB","\\blacklozenge");v(S,N,Y,"\u2605","\\bigstar");v(S,N,Y,"\u2222","\\sphericalangle",!0);v(S,N,Y,"\u2201","\\complement",!0);v(S,N,Y,"\xF0","\\eth",!0);v(we,P,Y,"\xF0","\xF0");v(S,N,Y,"\u2571","\\diagup");v(S,N,Y,"\u2572","\\diagdown");v(S,N,Y,"\u25A1","\\square");v(S,N,Y,"\u25A1","\\Box");v(S,N,Y,"\u25CA","\\Diamond");v(S,N,Y,"\xA5","\\yen",!0);v(we,N,Y,"\xA5","\\yen",!0);v(S,N,Y,"\u2713","\\checkmark",!0);v(we,N,Y,"\u2713","\\checkmark");v(S,N,Y,"\u2136","\\beth",!0);v(S,N,Y,"\u2138","\\daleth",!0);v(S,N,Y,"\u2137","\\gimel",!0);v(S,N,Y,"\u03DD","\\digamma",!0);v(S,N,Y,"\u03F0","\\varkappa");v(S,N,Li,"\u250C","\\@ulcorner",!0);v(S,N,ai,"\u2510","\\@urcorner",!0);v(S,N,Li,"\u2514","\\@llcorner",!0);v(S,N,ai,"\u2518","\\@lrcorner",!0);v(S,N,B,"\u2266","\\leqq",!0);v(S,N,B,"\u2A7D","\\leqslant",!0);v(S,N,B,"\u2A95","\\eqslantless",!0);v(S,N,B,"\u2272","\\lesssim",!0);v(S,N,B,"\u2A85","\\lessapprox",!0);v(S,N,B,"\u224A","\\approxeq",!0);v(S,N,ze,"\u22D6","\\lessdot");v(S,N,B,"\u22D8","\\lll",!0);v(S,N,B,"\u2276","\\lessgtr",!0);v(S,N,B,"\u22DA","\\lesseqgtr",!0);v(S,N,B,"\u2A8B","\\lesseqqgtr",!0);v(S,N,B,"\u2251","\\doteqdot");v(S,N,B,"\u2253","\\risingdotseq",!0);v(S,N,B,"\u2252","\\fallingdotseq",!0);v(S,N,B,"\u223D","\\backsim",!0);v(S,N,B,"\u22CD","\\backsimeq",!0);v(S,N,B,"\u2AC5","\\subseteqq",!0);v(S,N,B,"\u22D0","\\Subset",!0);v(S,N,B,"\u228F","\\sqsubset",!0);v(S,N,B,"\u227C","\\preccurlyeq",!0);v(S,N,B,"\u22DE","\\curlyeqprec",!0);v(S,N,B,"\u227E","\\precsim",!0);v(S,N,B,"\u2AB7","\\precapprox",!0);v(S,N,B,"\u22B2","\\vartriangleleft");v(S,N,B,"\u22B4","\\trianglelefteq");v(S,N,B,"\u22A8","\\vDash",!0);v(S,N,B,"\u22AA","\\Vvdash",!0);v(S,N,B,"\u2323","\\smallsmile");v(S,N,B,"\u2322","\\smallfrown");v(S,N,B,"\u224F","\\bumpeq",!0);v(S,N,B,"\u224E","\\Bumpeq",!0);v(S,N,B,"\u2267","\\geqq",!0);v(S,N,B,"\u2A7E","\\geqslant",!0);v(S,N,B,"\u2A96","\\eqslantgtr",!0);v(S,N,B,"\u2273","\\gtrsim",!0);v(S,N,B,"\u2A86","\\gtrapprox",!0);v(S,N,ze,"\u22D7","\\gtrdot");v(S,N,B,"\u22D9","\\ggg",!0);v(S,N,B,"\u2277","\\gtrless",!0);v(S,N,B,"\u22DB","\\gtreqless",!0);v(S,N,B,"\u2A8C","\\gtreqqless",!0);v(S,N,B,"\u2256","\\eqcirc",!0);v(S,N,B,"\u2257","\\circeq",!0);v(S,N,B,"\u225C","\\triangleq",!0);v(S,N,B,"\u223C","\\thicksim");v(S,N,B,"\u2248","\\thickapprox");v(S,N,B,"\u2AC6","\\supseteqq",!0);v(S,N,B,"\u22D1","\\Supset",!0);v(S,N,B,"\u2290","\\sqsupset",!0);v(S,N,B,"\u227D","\\succcurlyeq",!0);v(S,N,B,"\u22DF","\\curlyeqsucc",!0);v(S,N,B,"\u227F","\\succsim",!0);v(S,N,B,"\u2AB8","\\succapprox",!0);v(S,N,B,"\u22B3","\\vartriangleright");v(S,N,B,"\u22B5","\\trianglerighteq");v(S,N,B,"\u22A9","\\Vdash",!0);v(S,N,B,"\u2223","\\shortmid");v(S,N,B,"\u2225","\\shortparallel");v(S,N,B,"\u226C","\\between",!0);v(S,N,B,"\u22D4","\\pitchfork",!0);v(S,N,B,"\u221D","\\varpropto");v(S,N,B,"\u25C0","\\blacktriangleleft");v(S,N,B,"\u2234","\\therefore",!0);v(S,N,B,"\u220D","\\backepsilon");v(S,N,B,"\u25B6","\\blacktriangleright");v(S,N,B,"\u2235","\\because",!0);v(S,N,B,"\u22D8","\\llless");v(S,N,B,"\u22D9","\\gggtr");v(S,N,ze,"\u22B2","\\lhd");v(S,N,ze,"\u22B3","\\rhd");v(S,N,B,"\u2242","\\eqsim",!0);v(S,P,B,"\u22C8","\\Join");v(S,N,B,"\u2251","\\Doteq",!0);v(S,N,ze,"\u2214","\\dotplus",!0);v(S,N,ze,"\u2216","\\smallsetminus");v(S,N,ze,"\u22D2","\\Cap",!0);v(S,N,ze,"\u22D3","\\Cup",!0);v(S,N,ze,"\u2A5E","\\doublebarwedge",!0);v(S,N,ze,"\u229F","\\boxminus",!0);v(S,N,ze,"\u229E","\\boxplus",!0);v(S,N,ze,"\u22C7","\\divideontimes",!0);v(S,N,ze,"\u22C9","\\ltimes",!0);v(S,N,ze,"\u22CA","\\rtimes",!0);v(S,N,ze,"\u22CB","\\leftthreetimes",!0);v(S,N,ze,"\u22CC","\\rightthreetimes",!0);v(S,N,ze,"\u22CF","\\curlywedge",!0);v(S,N,ze,"\u22CE","\\curlyvee",!0);v(S,N,ze,"\u229D","\\circleddash",!0);v(S,N,ze,"\u229B","\\circledast",!0);v(S,N,ze,"\u22C5","\\centerdot");v(S,N,ze,"\u22BA","\\intercal",!0);v(S,N,ze,"\u22D2","\\doublecap");v(S,N,ze,"\u22D3","\\doublecup");v(S,N,ze,"\u22A0","\\boxtimes",!0);v(S,N,B,"\u21E2","\\dashrightarrow",!0);v(S,N,B,"\u21E0","\\dashleftarrow",!0);v(S,N,B,"\u21C7","\\leftleftarrows",!0);v(S,N,B,"\u21C6","\\leftrightarrows",!0);v(S,N,B,"\u21DA","\\Lleftarrow",!0);v(S,N,B,"\u219E","\\twoheadleftarrow",!0);v(S,N,B,"\u21A2","\\leftarrowtail",!0);v(S,N,B,"\u21AB","\\looparrowleft",!0);v(S,N,B,"\u21CB","\\leftrightharpoons",!0);v(S,N,B,"\u21B6","\\curvearrowleft",!0);v(S,N,B,"\u21BA","\\circlearrowleft",!0);v(S,N,B,"\u21B0","\\Lsh",!0);v(S,N,B,"\u21C8","\\upuparrows",!0);v(S,N,B,"\u21BF","\\upharpoonleft",!0);v(S,N,B,"\u21C3","\\downharpoonleft",!0);v(S,P,B,"\u22B6","\\origof",!0);v(S,P,B,"\u22B7","\\imageof",!0);v(S,N,B,"\u22B8","\\multimap",!0);v(S,N,B,"\u21AD","\\leftrightsquigarrow",!0);v(S,N,B,"\u21C9","\\rightrightarrows",!0);v(S,N,B,"\u21C4","\\rightleftarrows",!0);v(S,N,B,"\u21A0","\\twoheadrightarrow",!0);v(S,N,B,"\u21A3","\\rightarrowtail",!0);v(S,N,B,"\u21AC","\\looparrowright",!0);v(S,N,B,"\u21B7","\\curvearrowright",!0);v(S,N,B,"\u21BB","\\circlearrowright",!0);v(S,N,B,"\u21B1","\\Rsh",!0);v(S,N,B,"\u21CA","\\downdownarrows",!0);v(S,N,B,"\u21BE","\\upharpoonright",!0);v(S,N,B,"\u21C2","\\downharpoonright",!0);v(S,N,B,"\u21DD","\\rightsquigarrow",!0);v(S,N,B,"\u21DD","\\leadsto");v(S,N,B,"\u21DB","\\Rrightarrow",!0);v(S,N,B,"\u21BE","\\restriction");v(S,P,Y,"\u2018","`");v(S,P,Y,"$","\\$");v(we,P,Y,"$","\\$");v(we,P,Y,"$","\\textdollar");v(S,P,Y,"%","\\%");v(we,P,Y,"%","\\%");v(S,P,Y,"_","\\_");v(we,P,Y,"_","\\_");v(we,P,Y,"_","\\textunderscore");v(S,P,Y,"\u2220","\\angle",!0);v(S,P,Y,"\u221E","\\infty",!0);v(S,P,Y,"\u2032","\\prime");v(S,P,Y,"\u25B3","\\triangle");v(S,P,Y,"\u0393","\\Gamma",!0);v(S,P,Y,"\u0394","\\Delta",!0);v(S,P,Y,"\u0398","\\Theta",!0);v(S,P,Y,"\u039B","\\Lambda",!0);v(S,P,Y,"\u039E","\\Xi",!0);v(S,P,Y,"\u03A0","\\Pi",!0);v(S,P,Y,"\u03A3","\\Sigma",!0);v(S,P,Y,"\u03A5","\\Upsilon",!0);v(S,P,Y,"\u03A6","\\Phi",!0);v(S,P,Y,"\u03A8","\\Psi",!0);v(S,P,Y,"\u03A9","\\Omega",!0);v(S,P,Y,"A","\u0391");v(S,P,Y,"B","\u0392");v(S,P,Y,"E","\u0395");v(S,P,Y,"Z","\u0396");v(S,P,Y,"H","\u0397");v(S,P,Y,"I","\u0399");v(S,P,Y,"K","\u039A");v(S,P,Y,"M","\u039C");v(S,P,Y,"N","\u039D");v(S,P,Y,"O","\u039F");v(S,P,Y,"P","\u03A1");v(S,P,Y,"T","\u03A4");v(S,P,Y,"X","\u03A7");v(S,P,Y,"\xAC","\\neg",!0);v(S,P,Y,"\xAC","\\lnot");v(S,P,Y,"\u22A4","\\top");v(S,P,Y,"\u22A5","\\bot");v(S,P,Y,"\u2205","\\emptyset");v(S,N,Y,"\u2205","\\varnothing");v(S,P,Fe,"\u03B1","\\alpha",!0);v(S,P,Fe,"\u03B2","\\beta",!0);v(S,P,Fe,"\u03B3","\\gamma",!0);v(S,P,Fe,"\u03B4","\\delta",!0);v(S,P,Fe,"\u03F5","\\epsilon",!0);v(S,P,Fe,"\u03B6","\\zeta",!0);v(S,P,Fe,"\u03B7","\\eta",!0);v(S,P,Fe,"\u03B8","\\theta",!0);v(S,P,Fe,"\u03B9","\\iota",!0);v(S,P,Fe,"\u03BA","\\kappa",!0);v(S,P,Fe,"\u03BB","\\lambda",!0);v(S,P,Fe,"\u03BC","\\mu",!0);v(S,P,Fe,"\u03BD","\\nu",!0);v(S,P,Fe,"\u03BE","\\xi",!0);v(S,P,Fe,"\u03BF","\\omicron",!0);v(S,P,Fe,"\u03C0","\\pi",!0);v(S,P,Fe,"\u03C1","\\rho",!0);v(S,P,Fe,"\u03C3","\\sigma",!0);v(S,P,Fe,"\u03C4","\\tau",!0);v(S,P,Fe,"\u03C5","\\upsilon",!0);v(S,P,Fe,"\u03D5","\\phi",!0);v(S,P,Fe,"\u03C7","\\chi",!0);v(S,P,Fe,"\u03C8","\\psi",!0);v(S,P,Fe,"\u03C9","\\omega",!0);v(S,P,Fe,"\u03B5","\\varepsilon",!0);v(S,P,Fe,"\u03D1","\\vartheta",!0);v(S,P,Fe,"\u03D6","\\varpi",!0);v(S,P,Fe,"\u03F1","\\varrho",!0);v(S,P,Fe,"\u03C2","\\varsigma",!0);v(S,P,Fe,"\u03C6","\\varphi",!0);v(S,P,ze,"\u2217","*",!0);v(S,P,ze,"+","+");v(S,P,ze,"\u2212","-",!0);v(S,P,ze,"\u22C5","\\cdot",!0);v(S,P,ze,"\u2218","\\circ",!0);v(S,P,ze,"\xF7","\\div",!0);v(S,P,ze,"\xB1","\\pm",!0);v(S,P,ze,"\xD7","\\times",!0);v(S,P,ze,"\u2229","\\cap",!0);v(S,P,ze,"\u222A","\\cup",!0);v(S,P,ze,"\u2216","\\setminus",!0);v(S,P,ze,"\u2227","\\land");v(S,P,ze,"\u2228","\\lor");v(S,P,ze,"\u2227","\\wedge",!0);v(S,P,ze,"\u2228","\\vee",!0);v(S,P,Y,"\u221A","\\surd");v(S,P,Li,"\u27E8","\\langle",!0);v(S,P,Li,"\u2223","\\lvert");v(S,P,Li,"\u2225","\\lVert");v(S,P,ai,"?","?");v(S,P,ai,"!","!");v(S,P,ai,"\u27E9","\\rangle",!0);v(S,P,ai,"\u2223","\\rvert");v(S,P,ai,"\u2225","\\rVert");v(S,P,B,"=","=");v(S,P,B,":",":");v(S,P,B,"\u2248","\\approx",!0);v(S,P,B,"\u2245","\\cong",!0);v(S,P,B,"\u2265","\\ge");v(S,P,B,"\u2265","\\geq",!0);v(S,P,B,"\u2190","\\gets");v(S,P,B,">","\\gt",!0);v(S,P,B,"\u2208","\\in",!0);v(S,P,B,"\uE020","\\@not");v(S,P,B,"\u2282","\\subset",!0);v(S,P,B,"\u2283","\\supset",!0);v(S,P,B,"\u2286","\\subseteq",!0);v(S,P,B,"\u2287","\\supseteq",!0);v(S,N,B,"\u2288","\\nsubseteq",!0);v(S,N,B,"\u2289","\\nsupseteq",!0);v(S,P,B,"\u22A8","\\models");v(S,P,B,"\u2190","\\leftarrow",!0);v(S,P,B,"\u2264","\\le");v(S,P,B,"\u2264","\\leq",!0);v(S,P,B,"<","\\lt",!0);v(S,P,B,"\u2192","\\rightarrow",!0);v(S,P,B,"\u2192","\\to");v(S,N,B,"\u2271","\\ngeq",!0);v(S,N,B,"\u2270","\\nleq",!0);v(S,P,$o,"\xA0","\\ ");v(S,P,$o,"\xA0","\\space");v(S,P,$o,"\xA0","\\nobreakspace");v(we,P,$o,"\xA0","\\ ");v(we,P,$o,"\xA0"," ");v(we,P,$o,"\xA0","\\space");v(we,P,$o,"\xA0","\\nobreakspace");v(S,P,$o,null,"\\nobreak");v(S,P,$o,null,"\\allowbreak");v(S,P,L0,",",",");v(S,P,L0,";",";");v(S,N,ze,"\u22BC","\\barwedge",!0);v(S,N,ze,"\u22BB","\\veebar",!0);v(S,P,ze,"\u2299","\\odot",!0);v(S,P,ze,"\u2295","\\oplus",!0);v(S,P,ze,"\u2297","\\otimes",!0);v(S,P,Y,"\u2202","\\partial",!0);v(S,P,ze,"\u2298","\\oslash",!0);v(S,N,ze,"\u229A","\\circledcirc",!0);v(S,N,ze,"\u22A1","\\boxdot",!0);v(S,P,ze,"\u25B3","\\bigtriangleup");v(S,P,ze,"\u25BD","\\bigtriangledown");v(S,P,ze,"\u2020","\\dagger");v(S,P,ze,"\u22C4","\\diamond");v(S,P,ze,"\u22C6","\\star");v(S,P,ze,"\u25C3","\\triangleleft");v(S,P,ze,"\u25B9","\\triangleright");v(S,P,Li,"{","\\{");v(we,P,Y,"{","\\{");v(we,P,Y,"{","\\textbraceleft");v(S,P,ai,"}","\\}");v(we,P,Y,"}","\\}");v(we,P,Y,"}","\\textbraceright");v(S,P,Li,"{","\\lbrace");v(S,P,ai,"}","\\rbrace");v(S,P,Li,"[","\\lbrack",!0);v(we,P,Y,"[","\\lbrack",!0);v(S,P,ai,"]","\\rbrack",!0);v(we,P,Y,"]","\\rbrack",!0);v(S,P,Li,"(","\\lparen",!0);v(S,P,ai,")","\\rparen",!0);v(we,P,Y,"<","\\textless",!0);v(we,P,Y,">","\\textgreater",!0);v(S,P,Li,"\u230A","\\lfloor",!0);v(S,P,ai,"\u230B","\\rfloor",!0);v(S,P,Li,"\u2308","\\lceil",!0);v(S,P,ai,"\u2309","\\rceil",!0);v(S,P,Y,"\\","\\backslash");v(S,P,Y,"\u2223","|");v(S,P,Y,"\u2223","\\vert");v(we,P,Y,"|","\\textbar",!0);v(S,P,Y,"\u2225","\\|");v(S,P,Y,"\u2225","\\Vert");v(we,P,Y,"\u2225","\\textbardbl");v(we,P,Y,"~","\\textasciitilde");v(we,P,Y,"\\","\\textbackslash");v(we,P,Y,"^","\\textasciicircum");v(S,P,B,"\u2191","\\uparrow",!0);v(S,P,B,"\u21D1","\\Uparrow",!0);v(S,P,B,"\u2193","\\downarrow",!0);v(S,P,B,"\u21D3","\\Downarrow",!0);v(S,P,B,"\u2195","\\updownarrow",!0);v(S,P,B,"\u21D5","\\Updownarrow",!0);v(S,P,fr,"\u2210","\\coprod");v(S,P,fr,"\u22C1","\\bigvee");v(S,P,fr,"\u22C0","\\bigwedge");v(S,P,fr,"\u2A04","\\biguplus");v(S,P,fr,"\u22C2","\\bigcap");v(S,P,fr,"\u22C3","\\bigcup");v(S,P,fr,"\u222B","\\int");v(S,P,fr,"\u222B","\\intop");v(S,P,fr,"\u222C","\\iint");v(S,P,fr,"\u222D","\\iiint");v(S,P,fr,"\u220F","\\prod");v(S,P,fr,"\u2211","\\sum");v(S,P,fr,"\u2A02","\\bigotimes");v(S,P,fr,"\u2A01","\\bigoplus");v(S,P,fr,"\u2A00","\\bigodot");v(S,P,fr,"\u222E","\\oint");v(S,P,fr,"\u222F","\\oiint");v(S,P,fr,"\u2230","\\oiiint");v(S,P,fr,"\u2A06","\\bigsqcup");v(S,P,fr,"\u222B","\\smallint");v(we,P,Gl,"\u2026","\\textellipsis");v(S,P,Gl,"\u2026","\\mathellipsis");v(we,P,Gl,"\u2026","\\ldots",!0);v(S,P,Gl,"\u2026","\\ldots",!0);v(S,P,Gl,"\u22EF","\\@cdots",!0);v(S,P,Gl,"\u22F1","\\ddots",!0);v(S,P,Y,"\u22EE","\\varvdots");v(S,P,Bt,"\u02CA","\\acute");v(S,P,Bt,"\u02CB","\\grave");v(S,P,Bt,"\xA8","\\ddot");v(S,P,Bt,"~","\\tilde");v(S,P,Bt,"\u02C9","\\bar");v(S,P,Bt,"\u02D8","\\breve");v(S,P,Bt,"\u02C7","\\check");v(S,P,Bt,"^","\\hat");v(S,P,Bt,"\u20D7","\\vec");v(S,P,Bt,"\u02D9","\\dot");v(S,P,Bt,"\u02DA","\\mathring");v(S,P,Fe,"\uE131","\\@imath");v(S,P,Fe,"\uE237","\\@jmath");v(S,P,Y,"\u0131","\u0131");v(S,P,Y,"\u0237","\u0237");v(we,P,Y,"\u0131","\\i",!0);v(we,P,Y,"\u0237","\\j",!0);v(we,P,Y,"\xDF","\\ss",!0);v(we,P,Y,"\xE6","\\ae",!0);v(we,P,Y,"\u0153","\\oe",!0);v(we,P,Y,"\xF8","\\o",!0);v(we,P,Y,"\xC6","\\AE",!0);v(we,P,Y,"\u0152","\\OE",!0);v(we,P,Y,"\xD8","\\O",!0);v(we,P,Bt,"\u02CA","\\'");v(we,P,Bt,"\u02CB","\\`");v(we,P,Bt,"\u02C6","\\^");v(we,P,Bt,"\u02DC","\\~");v(we,P,Bt,"\u02C9","\\=");v(we,P,Bt,"\u02D8","\\u");v(we,P,Bt,"\u02D9","\\.");v(we,P,Bt,"\xB8","\\c");v(we,P,Bt,"\u02DA","\\r");v(we,P,Bt,"\u02C7","\\v");v(we,P,Bt,"\xA8",'\\"');v(we,P,Bt,"\u02DD","\\H");v(we,P,Bt,"\u25EF","\\textcircled");var R7={"--":!0,"---":!0,"``":!0,"''":!0};v(we,P,Y,"\u2013","--",!0);v(we,P,Y,"\u2013","\\textendash");v(we,P,Y,"\u2014","---",!0);v(we,P,Y,"\u2014","\\textemdash");v(we,P,Y,"\u2018","`",!0);v(we,P,Y,"\u2018","\\textquoteleft");v(we,P,Y,"\u2019","'",!0);v(we,P,Y,"\u2019","\\textquoteright");v(we,P,Y,"\u201C","``",!0);v(we,P,Y,"\u201C","\\textquotedblleft");v(we,P,Y,"\u201D","''",!0);v(we,P,Y,"\u201D","\\textquotedblright");v(S,P,Y,"\xB0","\\degree",!0);v(we,P,Y,"\xB0","\\degree");v(we,P,Y,"\xB0","\\textdegree",!0);v(S,P,Y,"\xA3","\\pounds");v(S,P,Y,"\xA3","\\mathsterling",!0);v(we,P,Y,"\xA3","\\pounds");v(we,P,Y,"\xA3","\\textsterling",!0);v(S,N,Y,"\u2720","\\maltese");v(we,N,Y,"\u2720","\\maltese");var e7='0123456789/@."';for(O0=0;O00)return yn(o,c,n,r,s.concat(u));if(l){var f,d;if(l==="boldsymbol"){var p=Gj(o,n,r,s,i);f=p.fontName,d=[p.fontClass]}else a?(f=I7[l].fontName,d=[l]):(f=w0(l,r.fontWeight,r.fontShape),d=[l,r.fontWeight,r.fontShape]);if(z0(o,f,n).metrics)return yn(o,f,n,r,s.concat(d));if(R7.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var O=[],w=0;w{if(Xs(t.classes)!==Xs(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var i in t.style)if(t.style.hasOwnProperty(i)&&t.style[i]!==e.style[i])return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return!1;return!0},eB=t=>{for(var e=0;er&&(r=s.height),s.depth>i&&(i=s.depth),s.maxFontSize>n&&(n=s.maxFontSize)}e.height=r,e.depth=i,e.maxFontSize=n},yi=function(e,r,i,n){var o=new Xa(e,r,i,n);return p2(o),o},$7=(t,e,r,i)=>new Xa(t,e,r,i),tB=function(e,r,i){var n=yi([e],[],r);return n.height=Math.max(i||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=Ae(n.height),n.maxFontSize=1,n},rB=function(e,r,i,n){var o=new Bu(e,r,i,n);return p2(o),o},X7=function(e){var r=new $a(e);return p2(r),r},iB=function(e,r){return e instanceof $a?yi([],[e],r):e},nB=function(e){if(e.positionType==="individualShift"){for(var r=e.children,i=[r[0]],n=-r[0].shift-r[0].elem.depth,o=n,s=1;s{var r=yi(["mspace"],[],e),i=Gt(t,e);return r.style.marginRight=Ae(i),r},w0=function(e,r,i){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}var o;return r==="textbf"&&i==="textit"?o="BoldItalic":r==="textbf"?o="Bold":r==="textit"?o="Italic":o="Regular",n+"-"+o},I7={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"}},L7={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},aB=function(e,r){var[i,n,o]=L7[e],s=new Gn(i),a=new vn([s],{width:Ae(n),height:Ae(o),style:"width:"+Ae(n),viewBox:"0 0 "+1e3*n+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=$7(["overlay"],[a],r);return l.height=o,l.style.height=Ae(o),l.style.width=Ae(n),l},te={fontMap:I7,makeSymbol:yn,mathsym:Hj,makeSpan:yi,makeSvgSpan:$7,makeLineSpan:tB,makeAnchor:rB,makeFragment:X7,wrapFragment:iB,makeVList:oB,makeOrd:Kj,makeGlue:sB,staticSvg:aB,svgData:L7,tryCombineChars:eB},Ht={number:3,unit:"mu"},Aa={number:4,unit:"mu"},Po={number:5,unit:"mu"},lB={mord:{mop:Ht,mbin:Aa,mrel:Po,minner:Ht},mop:{mord:Ht,mop:Ht,mrel:Po,minner:Ht},mbin:{mord:Aa,mop:Aa,mopen:Aa,minner:Aa},mrel:{mord:Po,mop:Po,mopen:Po,minner:Po},mopen:{},mclose:{mop:Ht,mbin:Aa,mrel:Po,minner:Ht},mpunct:{mord:Ht,mop:Ht,mrel:Po,mopen:Ht,mclose:Ht,mpunct:Ht,minner:Ht},minner:{mord:Ht,mop:Ht,mbin:Aa,mrel:Po,mopen:Ht,mpunct:Ht,minner:Ht}},cB={mord:{mop:Ht},mop:{mord:Ht,mop:Ht},mbin:{},mrel:{},mopen:{},mclose:{mop:Ht},mpunct:{},minner:{mop:Ht}},z7={},A0={},R0={};function Ie(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder:s}=t,a={type:e,numArgs:i.numArgs,argTypes:i.argTypes,allowedInArgument:!!i.allowedInArgument,allowedInText:!!i.allowedInText,allowedInMath:i.allowedInMath===void 0?!0:i.allowedInMath,numOptionalArgs:i.numOptionalArgs||0,infix:!!i.infix,primitive:!!i.primitive,handler:n},l=0;l{var x=w.classes[0],k=O.classes[0];x==="mbin"&&Ke.contains(fB,k)?w.classes[0]="mord":k==="mbin"&&Ke.contains(uB,x)&&(O.classes[0]="mord")},{node:f},d,p),i7(o,(O,w)=>{var x=n2(w),k=n2(O),C=x&&k?O.hasClass("mtight")?cB[x][k]:lB[x][k]:null;if(C)return te.makeGlue(C,c)},{node:f},d,p),o},i7=function t(e,r,i,n,o){n&&e.push(n);for(var s=0;sd=>{e.splice(f+1,0,d),s++})(s)}n&&e.pop()},M7=function(e){return e instanceof $a||e instanceof Bu||e instanceof Xa&&e.hasClass("enclosing")?e:null},pB=function t(e,r){var i=M7(e);if(i){var n=i.children;if(n.length){if(r==="right")return t(n[n.length-1],"right");if(r==="left")return t(n[0],"left")}}return e},n2=function(e,r){return e?(r&&(e=pB(e,r)),dB[e.classes[0]]||null):null},qu=function(e,r){var i=["nulldelimiter"].concat(e.baseSizingClasses());return Ao(r.concat(i))},xt=function(e,r,i){if(!e)return Ao();if(A0[e.type]){var n=A0[e.type](e,r);if(i&&r.size!==i.size){n=Ao(r.sizingClasses(i),[n],r);var o=r.sizeMultiplier/i.sizeMultiplier;n.height*=o,n.depth*=o}return n}else throw new Pe("Got group of unknown type: '"+e.type+"'")};function x0(t,e){var r=Ao(["base"],t,e),i=Ao(["strut"]);return i.style.height=Ae(r.height+r.depth),r.depth&&(i.style.verticalAlign=Ae(-r.depth)),r.children.unshift(i),r}function o2(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var i=yr(t,e,"root"),n;i.length===2&&i[1].hasClass("tag")&&(n=i.pop());for(var o=[],s=[],a=0;a0&&(o.push(x0(s,e)),s=[]),o.push(i[a]));s.length>0&&o.push(x0(s,e));var c;r?(c=x0(yr(r,e,!0)),c.classes=["tag"],o.push(c)):n&&o.push(n);var u=Ao(["katex-html"],o);if(u.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Ae(u.height+u.depth),u.depth&&(f.style.verticalAlign=Ae(-u.depth))}return u}function D7(t){return new $a(t)}var vi=class{constructor(e,r,i){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=i||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=Xs(this.classes));for(var i=0;i0&&(e+=' class ="'+Ke.escape(Xs(this.classes))+'"'),e+=">";for(var i=0;i",e}toText(){return this.children.map(e=>e.toText()).join("")}},Ra=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ke.escape(this.toText())}toText(){return this.text}},s2=class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=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",Ae(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},ke={MathNode:vi,TextNode:Ra,SpaceNode:s2,newDocumentFragment:D7},Ki=function(e,r,i){return Dt[r][e]&&Dt[r][e].replace&&e.charCodeAt(0)!==55349&&!(R7.hasOwnProperty(e)&&i&&(i.fontFamily&&i.fontFamily.slice(4,6)==="tt"||i.font&&i.font.slice(4,6)==="tt"))&&(e=Dt[r][e].replace),new ke.TextNode(e)},m2=function(e){return e.length===1?e[0]:new ke.MathNode("mrow",e)},O2=function(e,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var i=r.font;if(!i||i==="mathnormal")return null;var n=e.mode;if(i==="mathit")return"italic";if(i==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(i==="mathbf")return"bold";if(i==="mathbb")return"double-struck";if(i==="mathfrak")return"fraktur";if(i==="mathscr"||i==="mathcal")return"script";if(i==="mathsf")return"sans-serif";if(i==="mathtt")return"monospace";var o=e.text;if(Ke.contains(["\\imath","\\jmath"],o))return null;Dt[n][o]&&Dt[n][o].replace&&(o=Dt[n][o].replace);var s=te.fontMap[i].fontName;return d2(o,s,n)?te.fontMap[i].variant:null},xi=function(e,r,i){if(e.length===1){var n=zt(e[0],r);return i&&n instanceof vi&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o=[],s,a=0;a0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),s=l}return o},Is=function(e,r,i){return m2(xi(e,r,i))},zt=function(e,r){if(!e)return new ke.MathNode("mrow");if(R0[e.type]){var i=R0[e.type](e,r);return i}else throw new Pe("Got group of unknown type: '"+e.type+"'")};function n7(t,e,r,i,n){var o=xi(t,r),s;o.length===1&&o[0]instanceof vi&&Ke.contains(["mrow","mtable"],o[0].type)?s=o[0]:s=new ke.MathNode("mrow",o);var a=new ke.MathNode("annotation",[new ke.TextNode(e)]);a.setAttribute("encoding","application/x-tex");var l=new ke.MathNode("semantics",[s,a]),c=new ke.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),i&&c.setAttribute("display","block");var u=n?"katex":"katex-mathml";return te.makeSpan([u],[c])}var U7=function(e){return new Q0({style:e.displayMode?We.DISPLAY:We.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},N7=function(e,r){if(r.displayMode){var i=["katex-display"];r.leqno&&i.push("leqno"),r.fleqn&&i.push("fleqn"),e=te.makeSpan(i,[e])}return e},mB=function(e,r,i){var n=U7(i),o;if(i.output==="mathml")return n7(e,r,n,i.displayMode,!0);if(i.output==="html"){var s=o2(e,n);o=te.makeSpan(["katex"],[s])}else{var a=n7(e,r,n,i.displayMode,!1),l=o2(e,n);o=te.makeSpan(["katex"],[a,l])}return N7(o,i)},OB=function(e,r,i){var n=U7(i),o=o2(e,n),s=te.makeSpan(["katex"],[o]);return N7(s,i)},gB={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":"="},bB=function(e){var r=new ke.MathNode("mo",[new ke.TextNode(gB[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},yB={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]},vB=function(e){return e.type==="ordgroup"?e.body.length:1},wB=function(e,r){function i(){var a=4e5,l=e.label.slice(1);if(Ke.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=e,u=vB(c.base),f,d,p;if(u>5)l==="widehat"||l==="widecheck"?(f=420,a=2364,p=.42,d=l+"4"):(f=312,a=2340,p=.34,d="tilde4");else{var O=[1,1,2,2,3,3][u];l==="widehat"||l==="widecheck"?(a=[0,1062,2364,2364,2364][O],f=[0,239,300,360,420][O],p=[0,.24,.3,.3,.36,.42][O],d=l+O):(a=[0,600,1033,2339,2340][O],f=[0,260,286,306,312][O],p=[0,.26,.286,.3,.306,.34][O],d="tilde"+O)}var w=new Gn(d),x=new vn([w],{width:"100%",height:Ae(p),viewBox:"0 0 "+a+" "+f,preserveAspectRatio:"none"});return{span:te.makeSvgSpan([],[x],r),minWidth:0,height:p}}else{var k=[],C=yB[l],[R,Q,L]=C,z=L/1e3,Z=R.length,re,H;if(Z===1){var q=C[3];re=["hide-tail"],H=[q]}else if(Z===2)re=["halfarrow-left","halfarrow-right"],H=["xMinYMin","xMaxYMin"];else if(Z===3)re=["brace-left","brace-center","brace-right"],H=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+Z+" children.");for(var oe=0;oe0&&(n.style.minWidth=Ae(o)),n},xB=function(e,r,i,n,o){var s,a=e.height+e.depth+i+n;if(/fbox|color|angl/.test(r)){if(s=te.makeSpan(["stretchy",r],[],o),r==="fbox"){var l=o.color&&o.getColor();l&&(s.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(r)&&c.push(new Vu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new Vu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new vn(c,{width:"100%",height:Ae(a)});s=te.makeSvgSpan([],[u],o)}return s.height=a,s.style.height=Ae(a),s},Ro={encloseSpan:xB,mathMLnode:bB,svgSpan:wB};function lt(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function g2(t){var e=M0(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function M0(t){return t&&(t.type==="atom"||Zj.hasOwnProperty(t.type))?t:null}var b2=(t,e)=>{var r,i,n;t&&t.type==="supsub"?(i=lt(t.base,"accent"),r=i.base,t.base=r,n=Fj(xt(t,e)),t.base=i):(i=lt(t,"accent"),r=i.base);var o=xt(r,e.havingCrampedStyle()),s=i.isShifty&&Ke.isCharacterBox(r),a=0;if(s){var l=Ke.getBaseElem(r),c=xt(l,e.havingCrampedStyle());a=JS(c).skew}var u=i.label==="\\c",f=u?o.height+o.depth:Math.min(o.height,e.fontMetrics().xHeight),d;if(i.isStretchy)d=Ro.svgSpan(i,e),d=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+Ae(2*a)+")",marginLeft:Ae(2*a)}:void 0}]},e);else{var p,O;i.label==="\\vec"?(p=te.staticSvg("vec",e),O=te.svgData.vec[1]):(p=te.makeOrd({mode:i.mode,text:i.label},e,"textord"),p=JS(p),p.italic=0,O=p.width,u&&(f+=p.depth)),d=te.makeSpan(["accent-body"],[p]);var w=i.label==="\\textcircled";w&&(d.classes.push("accent-full"),f=o.height);var x=a;w||(x-=O/2),d.style.left=Ae(x),i.label==="\\textcircled"&&(d.style.top=".2em"),d=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:d}]},e)}var k=te.makeSpan(["mord","accent"],[d],e);return n?(n.children[0]=k,n.height=Math.max(k.height,n.height),n.classes[0]="mord",n):k},j7=(t,e)=>{var r=t.isStretchy?Ro.mathMLnode(t.label):new ke.MathNode("mo",[Ki(t.label,t.mode)]),i=new ke.MathNode("mover",[zt(t.base,e),r]);return i.setAttribute("accent","true"),i},kB=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));Ie({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:(t,e)=>{var r=$0(e[0]),i=!kB.test(t.funcName),n=!i||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:i,isShifty:n,base:r}},htmlBuilder:b2,mathmlBuilder:j7});Ie({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var r=e[0],i=t.parser.mode;return i==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),i="text"),{type:"accent",mode:i,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:b2,mathmlBuilder:j7});Ie({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"accentUnder",mode:r.mode,label:i,base:n}},htmlBuilder:(t,e)=>{var r=xt(t.base,e),i=Ro.svgSpan(t,e),n=t.label==="\\utilde"?.12:0,o=te.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},e);return te.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:(t,e)=>{var r=Ro.mathMLnode(t.label),i=new ke.MathNode("munder",[zt(t.base,e),r]);return i.setAttribute("accentunder","true"),i}});var k0=t=>{var e=new ke.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};Ie({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(t,e,r){var{parser:i,funcName:n}=t;return{type:"xArrow",mode:i.mode,label:n,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,i=e.havingStyle(r.sup()),n=te.wrapFragment(xt(t.body,i,e),e),o=t.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(o+"-arrow-pad");var s;t.below&&(i=e.havingStyle(r.sub()),s=te.wrapFragment(xt(t.below,i,e),e),s.classes.push(o+"-arrow-pad"));var a=Ro.svgSpan(t,e),l=-e.fontMetrics().axisHeight+.5*a.height,c=-e.fontMetrics().axisHeight-.5*a.height-.111;(n.depth>.25||t.label==="\\xleftequilibrium")&&(c-=n.depth);var u;if(s){var f=-e.fontMetrics().axisHeight+s.height+.5*a.height+.111;u=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:a,shift:l},{type:"elem",elem:s,shift:f}]},e)}else u=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:a,shift:l}]},e);return u.children[0].children[0].children[1].classes.push("svg-align"),te.makeSpan(["mrel","x-arrow"],[u],e)},mathmlBuilder(t,e){var r=Ro.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var i;if(t.body){var n=k0(zt(t.body,e));if(t.below){var o=k0(zt(t.below,e));i=new ke.MathNode("munderover",[r,o,n])}else i=new ke.MathNode("mover",[r,n])}else if(t.below){var s=k0(zt(t.below,e));i=new ke.MathNode("munder",[r,s])}else i=k0(),i=new ke.MathNode("mover",[r,i]);return i}});var SB=te.makeSpan;function B7(t,e){var r=yr(t.body,e,!0);return SB([t.mclass],r,e)}function V7(t,e){var r,i=xi(t.body,e);return t.mclass==="minner"?r=new ke.MathNode("mpadded",i):t.mclass==="mord"?t.isCharacterBox?(r=i[0],r.type="mi"):r=new ke.MathNode("mi",i):(t.isCharacterBox?(r=i[0],r.type="mo"):r=new ke.MathNode("mo",i),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}Ie({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+i.slice(5),body:ar(n),isCharacterBox:Ke.isCharacterBox(n)}},htmlBuilder:B7,mathmlBuilder:V7});var D0=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};Ie({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:D0(e[0]),body:ar(e[1]),isCharacterBox:Ke.isCharacterBox(e[1])}}});Ie({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:i}=t,n=e[1],o=e[0],s;i!=="\\stackrel"?s=D0(n):s="mrel";var a={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:i!=="\\stackrel",body:ar(n)},l={type:"supsub",mode:o.mode,base:a,sup:i==="\\underset"?null:o,sub:i==="\\underset"?o:null};return{type:"mclass",mode:r.mode,mclass:s,body:[l],isCharacterBox:Ke.isCharacterBox(l)}},htmlBuilder:B7,mathmlBuilder:V7});Ie({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:D0(e[0]),body:ar(e[0])}},htmlBuilder(t,e){var r=yr(t.body,e,!0),i=te.makeSpan([t.mclass],r,e);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(t,e){var r=xi(t.body,e),i=new ke.MathNode("mstyle",r);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});var TB={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},o7=()=>({type:"styling",body:[],mode:"math",style:"display"}),s7=t=>t.type==="textord"&&t.text==="@",EB=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function CB(t,e,r){var i=TB[t];switch(i){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(i,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var n=r.callFunction("\\\\cdleft",[e[0]],[]),o={type:"atom",text:i,mode:"math",family:"rel"},s=r.callFunction("\\Big",[o],[]),a=r.callFunction("\\\\cdright",[e[1]],[]),l={type:"ordgroup",mode:"math",body:[n,s,a]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function PB(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r==="&"||r==="\\\\")t.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new Pe("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var i=[],n=[i],o=0;o-1))if("<>AV".indexOf(c)>-1)for(var f=0;f<2;f++){for(var d=!0,p=l+1;pAV=|." after @',s[l]);var O=CB(c,u,t),w={type:"styling",body:[O],mode:"math",style:"display"};i.push(w),a=o7()}o%2===0?i.push(a):i.shift(),i=[],n.push(i)}t.gullet.endGroup(),t.gullet.endGroup();var x=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:x,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}Ie({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t;return{type:"cdlabel",mode:r.mode,side:i.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),i=te.wrapFragment(xt(t.label,r,e),e);return i.classes.push("cd-label-"+t.side),i.style.bottom=Ae(.8-i.depth),i.height=0,i.depth=0,i},mathmlBuilder(t,e){var r=new ke.MathNode("mrow",[zt(t.label,e)]);return r=new ke.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new ke.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});Ie({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=te.wrapFragment(xt(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new ke.MathNode("mrow",[zt(t.fragment,e)])}});Ie({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,i=lt(e[0],"ordgroup"),n=i.body,o="",s=0;s=1114111)throw new Pe("\\@char with invalid code point "+o);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:c}}});var q7=(t,e)=>{var r=yr(t.body,e.withColor(t.color),!1);return te.makeFragment(r)},F7=(t,e)=>{var r=xi(t.body,e.withColor(t.color)),i=new ke.MathNode("mstyle",r);return i.setAttribute("mathcolor",t.color),i};Ie({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,i=lt(e[0],"color-token").color,n=e[1];return{type:"color",mode:r.mode,color:i,body:ar(n)}},htmlBuilder:q7,mathmlBuilder:F7});Ie({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:i}=t,n=lt(e[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var o=r.parseExpression(!0,i);return{type:"color",mode:r.mode,color:n,body:o}},htmlBuilder:q7,mathmlBuilder:F7});Ie({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:i}=t,n=i.gullet.future().text==="["?i.parseSizeGroup(!0):null,o=!i.settings.displayMode||!i.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:i.mode,newLine:o,size:n&<(n,"size").value}},htmlBuilder(t,e){var r=te.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=Ae(Gt(t.size,e)))),r},mathmlBuilder(t,e){var r=new ke.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",Ae(Gt(t.size,e)))),r}});var a2={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},W7=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new Pe("Expected a control sequence",t);return e},QB=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},Z7=(t,e,r,i)=>{var n=t.gullet.macros.get(r.text);n==null&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,n,i)};Ie({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var i=e.fetch();if(a2[i.text])return(r==="\\global"||r==="\\\\globallong")&&(i.text=a2[i.text]),lt(e.parseFunction(),"internal");throw new Pe("Invalid token after macro prefix",i)}});Ie({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=e.gullet.popToken(),n=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new Pe("Expected a control sequence",i);for(var o=0,s,a=[[]];e.gullet.future().text!=="{";)if(i=e.gullet.popToken(),i.text==="#"){if(e.gullet.future().text==="{"){s=e.gullet.future(),a[o].push("{");break}if(i=e.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new Pe('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==o+1)throw new Pe('Argument number "'+i.text+'" out of order');o++,a.push([])}else{if(i.text==="EOF")throw new Pe("Expected a macro definition");a[o].push(i.text)}var{tokens:l}=e.gullet.consumeArg();return s&&l.unshift(s),(r==="\\edef"||r==="\\xdef")&&(l=e.gullet.expandTokens(l),l.reverse()),e.gullet.macros.set(n,{tokens:l,numArgs:o,delimiters:a},r===a2[r]),{type:"internal",mode:e.mode}}});Ie({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=W7(e.gullet.popToken());e.gullet.consumeSpaces();var n=QB(e);return Z7(e,i,n,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});Ie({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=W7(e.gullet.popToken()),n=e.gullet.popToken(),o=e.gullet.popToken();return Z7(e,i,o,r==="\\\\globalfuture"),e.gullet.pushToken(o),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var Du=function(e,r,i){var n=Dt.math[e]&&Dt.math[e].replace,o=d2(n||e,r,i);if(!o)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return o},y2=function(e,r,i,n){var o=i.havingBaseStyle(r),s=te.makeSpan(n.concat(o.sizingClasses(i)),[e],i),a=o.sizeMultiplier/i.sizeMultiplier;return s.height*=a,s.depth*=a,s.maxFontSize=o.sizeMultiplier,s},Y7=function(e,r,i){var n=r.havingBaseStyle(i),o=(1-r.sizeMultiplier/n.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Ae(o),e.height-=o,e.depth+=o},_B=function(e,r,i,n,o,s){var a=te.makeSymbol(e,"Main-Regular",o,n),l=y2(a,r,n,s);return i&&Y7(l,n,r),l},AB=function(e,r,i,n){return te.makeSymbol(e,"Size"+r+"-Regular",i,n)},H7=function(e,r,i,n,o,s){var a=AB(e,r,o,n),l=y2(te.makeSpan(["delimsizing","size"+r],[a],n),We.TEXT,n,s);return i&&Y7(l,n,We.TEXT),l},qb=function(e,r,i){var n;r==="Size1-Regular"?n="delim-size1":n="delim-size4";var o=te.makeSpan(["delimsizinginner",n],[te.makeSpan([],[te.makeSymbol(e,r,i)])]);return{type:"elem",elem:o}},Fb=function(e,r,i){var n=Yn["Size4-Regular"][e.charCodeAt(0)]?Yn["Size4-Regular"][e.charCodeAt(0)][4]:Yn["Size1-Regular"][e.charCodeAt(0)][4],o=new Gn("inner",Dj(e,Math.round(1e3*r))),s=new vn([o],{width:Ae(n),height:Ae(r),style:"width:"+Ae(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),a=te.makeSvgSpan([],[s],i);return a.height=r,a.style.height=Ae(r),a.style.width=Ae(n),{type:"elem",elem:a}},l2=.008,S0={type:"kern",size:-1*l2},RB=["|","\\lvert","\\rvert","\\vert"],$B=["\\|","\\lVert","\\rVert","\\Vert"],G7=function(e,r,i,n,o,s){var a,l,c,u,f="",d=0;a=c=u=e,l=null;var p="Size1-Regular";e==="\\uparrow"?c=u="\u23D0":e==="\\Uparrow"?c=u="\u2016":e==="\\downarrow"?a=c="\u23D0":e==="\\Downarrow"?a=c="\u2016":e==="\\updownarrow"?(a="\\uparrow",c="\u23D0",u="\\downarrow"):e==="\\Updownarrow"?(a="\\Uparrow",c="\u2016",u="\\Downarrow"):Ke.contains(RB,e)?(c="\u2223",f="vert",d=333):Ke.contains($B,e)?(c="\u2225",f="doublevert",d=556):e==="["||e==="\\lbrack"?(a="\u23A1",c="\u23A2",u="\u23A3",p="Size4-Regular",f="lbrack",d=667):e==="]"||e==="\\rbrack"?(a="\u23A4",c="\u23A5",u="\u23A6",p="Size4-Regular",f="rbrack",d=667):e==="\\lfloor"||e==="\u230A"?(c=a="\u23A2",u="\u23A3",p="Size4-Regular",f="lfloor",d=667):e==="\\lceil"||e==="\u2308"?(a="\u23A1",c=u="\u23A2",p="Size4-Regular",f="lceil",d=667):e==="\\rfloor"||e==="\u230B"?(c=a="\u23A5",u="\u23A6",p="Size4-Regular",f="rfloor",d=667):e==="\\rceil"||e==="\u2309"?(a="\u23A4",c=u="\u23A5",p="Size4-Regular",f="rceil",d=667):e==="("||e==="\\lparen"?(a="\u239B",c="\u239C",u="\u239D",p="Size4-Regular",f="lparen",d=875):e===")"||e==="\\rparen"?(a="\u239E",c="\u239F",u="\u23A0",p="Size4-Regular",f="rparen",d=875):e==="\\{"||e==="\\lbrace"?(a="\u23A7",l="\u23A8",u="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(a="\u23AB",l="\u23AC",u="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(a="\u23A7",u="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(a="\u23AB",u="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(a="\u23A7",u="\u23AD",c="\u23AA",p="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(a="\u23AB",u="\u23A9",c="\u23AA",p="Size4-Regular");var O=Du(a,p,o),w=O.height+O.depth,x=Du(c,p,o),k=x.height+x.depth,C=Du(u,p,o),R=C.height+C.depth,Q=0,L=1;if(l!==null){var z=Du(l,p,o);Q=z.height+z.depth,L=2}var Z=w+R+Q,re=Math.max(0,Math.ceil((r-Z)/(L*k))),H=Z+re*L*k,q=n.fontMetrics().axisHeight;i&&(q*=n.sizeMultiplier);var oe=H/2-q,pe=[];if(f.length>0){var fe=H-w-R,ge=Math.round(H*1e3),ve=Uj(f,Math.round(fe*1e3)),Qe=new Gn(f,ve),se=(d/1e3).toFixed(3)+"em",he=(ge/1e3).toFixed(3)+"em",K=new vn([Qe],{width:se,height:he,viewBox:"0 0 "+d+" "+ge}),_=te.makeSvgSpan([],[K],n);_.height=ge/1e3,_.style.width=se,_.style.height=he,pe.push({type:"elem",elem:_})}else{if(pe.push(qb(u,p,o)),pe.push(S0),l===null){var G=H-w-R+2*l2;pe.push(Fb(c,G,n))}else{var ae=(H-w-R-Q)/2+2*l2;pe.push(Fb(c,ae,n)),pe.push(S0),pe.push(qb(l,p,o)),pe.push(S0),pe.push(Fb(c,ae,n))}pe.push(S0),pe.push(qb(a,p,o))}var j=n.havingBaseStyle(We.TEXT),Je=te.makeVList({positionType:"bottom",positionData:oe,children:pe},j);return y2(te.makeSpan(["delimsizing","mult"],[Je],j),We.TEXT,n,s)},Wb=80,Zb=.08,Yb=function(e,r,i,n,o){var s=Mj(e,n,i),a=new Gn(e,s),l=new vn([a],{width:"400em",height:Ae(r),viewBox:"0 0 400000 "+i,preserveAspectRatio:"xMinYMin slice"});return te.makeSvgSpan(["hide-tail"],[l],o)},XB=function(e,r){var i=r.havingBaseSizing(),n=tT("\\surd",e*i.sizeMultiplier,eT,i),o=i.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),a,l=0,c=0,u=0,f;return n.type==="small"?(u=1e3+1e3*s+Wb,e<1?o=1:e<1.4&&(o=.7),l=(1+s+Zb)/o,c=(1+s)/o,a=Yb("sqrtMain",l,u,s,r),a.style.minWidth="0.853em",f=.833/o):n.type==="large"?(u=(1e3+Wb)*Uu[n.size],c=(Uu[n.size]+s)/o,l=(Uu[n.size]+s+Zb)/o,a=Yb("sqrtSize"+n.size,l,u,s,r),a.style.minWidth="1.02em",f=1/o):(l=e+s+Zb,c=e+s,u=Math.floor(1e3*e+s)+Wb,a=Yb("sqrtTall",l,u,s,r),a.style.minWidth="0.742em",f=1.056),a.height=c,a.style.height=Ae(l),{span:a,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*o}},K7=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],IB=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],J7=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Uu=[0,1.2,1.8,2.4,3],LB=function(e,r,i,n,o){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),Ke.contains(K7,e)||Ke.contains(J7,e))return H7(e,r,!1,i,n,o);if(Ke.contains(IB,e))return G7(e,Uu[r],!1,i,n,o);throw new Pe("Illegal delimiter: '"+e+"'")},zB=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],MB=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"stack"}],eT=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],DB=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},tT=function(e,r,i,n){for(var o=Math.min(2,3-n.style.size),s=o;sr)return i[s]}return i[i.length-1]},rT=function(e,r,i,n,o,s){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var a;Ke.contains(J7,e)?a=zB:Ke.contains(K7,e)?a=eT:a=MB;var l=tT(e,r,a,n);return l.type==="small"?_B(e,l.style,i,n,o,s):l.type==="large"?H7(e,l.size,i,n,o,s):G7(e,r,i,n,o,s)},UB=function(e,r,i,n,o,s){var a=n.fontMetrics().axisHeight*n.sizeMultiplier,l=901,c=5/n.fontMetrics().ptPerEm,u=Math.max(r-a,i+a),f=Math.max(u/500*l,2*u-c);return rT(e,f,!0,n,o,s)},_o={sqrtImage:XB,sizedDelim:LB,sizeToMaxHeight:Uu,customSizedDelim:rT,leftRightDelim:UB},a7={"\\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}},NB=["(","\\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 U0(t,e){var r=M0(t);if(r&&Ke.contains(NB,r.text))return r;throw r?new Pe("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new Pe("Invalid delimiter type '"+t.type+"'",t)}Ie({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:(t,e)=>{var r=U0(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:a7[t.funcName].size,mclass:a7[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?te.makeSpan([t.mclass]):_o.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Ki(t.delim,t.mode));var r=new ke.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var i=Ae(_o.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",i),r.setAttribute("maxsize",i),r}});function l7(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ie({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new Pe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:U0(e[0],t).text,color:r}}});Ie({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=U0(e[0],t),i=t.parser;++i.leftrightDepth;var n=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var o=lt(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:n,left:r.text,right:o.delim,rightColor:o.color}},htmlBuilder:(t,e)=>{l7(t);for(var r=yr(t.body,e,!0,["mopen","mclose"]),i=0,n=0,o=!1,s=0;s{l7(t);var r=xi(t.body,e);if(t.left!=="."){var i=new ke.MathNode("mo",[Ki(t.left,t.mode)]);i.setAttribute("fence","true"),r.unshift(i)}if(t.right!=="."){var n=new ke.MathNode("mo",[Ki(t.right,t.mode)]);n.setAttribute("fence","true"),t.rightColor&&n.setAttribute("mathcolor",t.rightColor),r.push(n)}return m2(r)}});Ie({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=U0(e[0],t);if(!t.parser.leftrightDepth)throw new Pe("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;if(t.delim===".")r=qu(e,[]);else{r=_o.sizedDelim(t.delim,1,e,t.mode,[]);var i={delim:t.delim,options:e};r.isMiddle=i}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?Ki("|","text"):Ki(t.delim,t.mode),i=new ke.MathNode("mo",[r]);return i.setAttribute("fence","true"),i.setAttribute("lspace","0.05em"),i.setAttribute("rspace","0.05em"),i}});var v2=(t,e)=>{var r=te.wrapFragment(xt(t.body,e),e),i=t.label.slice(1),n=e.sizeMultiplier,o,s=0,a=Ke.isCharacterBox(t.body);if(i==="sout")o=te.makeSpan(["stretchy","sout"]),o.height=e.fontMetrics().defaultRuleThickness/n,s=-.5*e.fontMetrics().xHeight;else if(i==="phase"){var l=Gt({number:.6,unit:"pt"},e),c=Gt({number:.35,unit:"ex"},e),u=e.havingBaseSizing();n=n/u.sizeMultiplier;var f=r.height+r.depth+l+c;r.style.paddingLeft=Ae(f/2+l);var d=Math.floor(1e3*f*n),p=Lj(d),O=new vn([new Gn("phase",p)],{width:"400em",height:Ae(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});o=te.makeSvgSpan(["hide-tail"],[O],e),o.style.height=Ae(f),s=r.depth+l+c}else{/cancel/.test(i)?a||r.classes.push("cancel-pad"):i==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var w=0,x=0,k=0;/box/.test(i)?(k=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),w=e.fontMetrics().fboxsep+(i==="colorbox"?0:k),x=w):i==="angl"?(k=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),w=4*k,x=Math.max(0,.25-r.depth)):(w=a?.2:0,x=w),o=Ro.encloseSpan(r,i,w,x,e),/fbox|boxed|fcolorbox/.test(i)?(o.style.borderStyle="solid",o.style.borderWidth=Ae(k)):i==="angl"&&k!==.049&&(o.style.borderTopWidth=Ae(k),o.style.borderRightWidth=Ae(k)),s=r.depth+x,t.backgroundColor&&(o.style.backgroundColor=t.backgroundColor,t.borderColor&&(o.style.borderColor=t.borderColor))}var C;if(t.backgroundColor)C=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:s},{type:"elem",elem:r,shift:0}]},e);else{var R=/cancel|phase/.test(i)?["svg-align"]:[];C=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:o,shift:s,wrapperClasses:R}]},e)}return/cancel/.test(i)&&(C.height=r.height,C.depth=r.depth),/cancel/.test(i)&&!a?te.makeSpan(["mord","cancel-lap"],[C],e):te.makeSpan(["mord"],[C],e)},w2=(t,e)=>{var r=0,i=new ke.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[zt(t.body,e)]);switch(t.label){case"\\cancel":i.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":i.setAttribute("notation","downdiagonalstrike");break;case"\\phase":i.setAttribute("notation","phasorangle");break;case"\\sout":i.setAttribute("notation","horizontalstrike");break;case"\\fbox":i.setAttribute("notation","box");break;case"\\angl":i.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,i.setAttribute("width","+"+2*r+"pt"),i.setAttribute("height","+"+2*r+"pt"),i.setAttribute("lspace",r+"pt"),i.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var n=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);i.setAttribute("style","border: "+n+"em solid "+String(t.borderColor))}break;case"\\xcancel":i.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&i.setAttribute("mathbackground",t.backgroundColor),i};Ie({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:i,funcName:n}=t,o=lt(e[0],"color-token").color,s=e[1];return{type:"enclose",mode:i.mode,label:n,backgroundColor:o,body:s}},htmlBuilder:v2,mathmlBuilder:w2});Ie({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:i,funcName:n}=t,o=lt(e[0],"color-token").color,s=lt(e[1],"color-token").color,a=e[2];return{type:"enclose",mode:i.mode,label:n,backgroundColor:s,borderColor:o,body:a}},htmlBuilder:v2,mathmlBuilder:w2});Ie({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});Ie({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"enclose",mode:r.mode,label:i,body:n}},htmlBuilder:v2,mathmlBuilder:w2});Ie({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var iT={};function Kn(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder:s}=t,a={type:e,numArgs:i.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l{var e=t.parser.settings;if(!e.displayMode)throw new Pe("{"+t.envName+"} can be used only in display mode.")};function x2(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function Ls(t,e,r){var{hskipBeforeAndAfter:i,addJot:n,cols:o,arraystretch:s,colSeparationType:a,autoTag:l,singleRow:c,emptySingleRow:u,maxNumCols:f,leqno:d}=e;if(t.gullet.beginGroup(),c||t.gullet.macros.set("\\cr","\\\\\\relax"),!s){var p=t.gullet.expandMacroAsText("\\arraystretch");if(p==null)s=1;else if(s=parseFloat(p),!s||s<0)throw new Pe("Invalid \\arraystretch: "+p)}t.gullet.beginGroup();var O=[],w=[O],x=[],k=[],C=l!=null?[]:void 0;function R(){l&&t.gullet.macros.set("\\@eqnsw","1",!0)}function Q(){C&&(t.gullet.macros.get("\\df@tag")?(C.push(t.subparse([new Hn("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):C.push(!!l&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),k.push(c7(t));;){var L=t.parseExpression(!1,c?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),L={type:"ordgroup",mode:t.mode,body:L},r&&(L={type:"styling",mode:t.mode,style:r,body:[L]}),O.push(L);var z=t.fetch().text;if(z==="&"){if(f&&O.length===f){if(c||a)throw new Pe("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(z==="\\end"){Q(),O.length===1&&L.type==="styling"&&L.body[0].body.length===0&&(w.length>1||!u)&&w.pop(),k.length0&&(R+=.25),c.push({pos:R,isDashed:go[zn]})}for(Q(s[0]),i=0;i0&&(oe+=C,Zgo))for(i=0;i=a)){var Ce=void 0;(n>0||e.hskipBeforeAndAfter)&&(Ce=Ke.deflt(ae.pregap,d),Ce!==0&&(ve=te.makeSpan(["arraycolsep"],[]),ve.style.width=Ae(Ce),ge.push(ve)));var Ze=[];for(i=0;i0){for(var Qr=te.makeLineSpan("hline",r,u),Ln=te.makeLineSpan("hdashline",r,u),pn=[{type:"elem",elem:l,shift:0}];c.length>0;){var Zt=c.pop(),ya=Zt.pos-pe;Zt.isDashed?pn.push({type:"elem",elem:Ln,shift:ya}):pn.push({type:"elem",elem:Qr,shift:ya})}l=te.makeVList({positionType:"individualShift",children:pn},r)}if(se.length===0)return te.makeSpan(["mord"],[l],r);var _r=te.makeVList({positionType:"individualShift",children:se},r);return _r=te.makeSpan(["tag"],[_r],r),te.makeFragment([l,_r])},jB={c:"center ",l:"left ",r:"right "},eo=function(e,r){for(var i=[],n=new ke.MathNode("mtd",[],["mtr-glue"]),o=new ke.MathNode("mtd",[],["mml-eqn-num"]),s=0;s0){var O=e.cols,w="",x=!1,k=0,C=O.length;O[0].type==="separator"&&(d+="top ",k=1),O[O.length-1].type==="separator"&&(d+="bottom ",C-=1);for(var R=k;R0?"left ":"",d+=re[re.length-1].length>0?"right ":"";for(var H=1;H-1?"alignat":"align",o=e.envName==="split",s=Ls(e.parser,{cols:i,addJot:!0,autoTag:o?void 0:x2(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),a,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var u="",f=0;f0&&p&&(x=1),i[O]={type:"align",align:w,pregap:x,postgap:0}}return s.colSeparationType=p?"align":"alignat",s};Kn({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=M0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(s){var a=g2(s),l=a.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new Pe("Unknown column alignment: "+l,s)}),o={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Ls(t.parser,o,k2(t.envName))},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var n=t.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,"lcr".indexOf(r)===-1)throw new Pe("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),i.cols=[{type:"align",align:r}]}}var o=Ls(t.parser,i,k2(t.envName)),s=Math.max(0,...o.body.map(a=>a.length));return o.cols=new Array(s).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[o],left:e[0],right:e[1],rightColor:void 0}:o},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=Ls(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=M0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(s){var a=g2(s),l=a.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Pe("Unknown column alignment: "+l,s)});if(n.length>1)throw new Pe("{subarray} can contain only one column");var o={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Ls(t.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new Pe("{subarray} can contain only one column");return o},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=Ls(t.parser,e,k2(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:oT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){Ke.contains(["gather","gather*"],t.envName)&&N0(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:x2(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return Ls(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:oT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){N0(t);var e={autoTag:x2(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return Ls(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["CD"],props:{numArgs:0},handler(t){return N0(t),PB(t.parser)},htmlBuilder:Jn,mathmlBuilder:eo});X("\\nonumber","\\gdef\\@eqnsw{0}");X("\\notag","\\nonumber");Ie({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new Pe(t.funcName+" valid only within array environment")}});var u7=iT;Ie({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];if(n.type!=="ordgroup")throw new Pe("Invalid environment name",n);for(var o="",s=0;s{var r=t.font,i=e.withFont(r);return xt(t.body,i)},aT=(t,e)=>{var r=t.font,i=e.withFont(r);return zt(t.body,i)},f7={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ie({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=$0(e[0]),o=i;return o in f7&&(o=f7[o]),{type:"font",mode:r.mode,font:o.slice(1),body:n}},htmlBuilder:sT,mathmlBuilder:aT});Ie({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,i=e[0],n=Ke.isCharacterBox(i);return{type:"mclass",mode:r.mode,mclass:D0(i),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:i}],isCharacterBox:n}}});Ie({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i,breakOnTokenText:n}=t,{mode:o}=r,s=r.parseExpression(!0,n),a="math"+i.slice(1);return{type:"font",mode:o,font:a,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:sT,mathmlBuilder:aT});var lT=(t,e)=>{var r=e;return t==="display"?r=r.id>=We.SCRIPT.id?r.text():We.DISPLAY:t==="text"&&r.size===We.DISPLAY.size?r=We.TEXT:t==="script"?r=We.SCRIPT:t==="scriptscript"&&(r=We.SCRIPTSCRIPT),r},S2=(t,e)=>{var r=lT(t.size,e.style),i=r.fracNum(),n=r.fracDen(),o;o=e.havingStyle(i);var s=xt(t.numer,o,e);if(t.continued){var a=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;s.height=s.height0?O=3*d:O=7*d,w=e.fontMetrics().denom1):(f>0?(p=e.fontMetrics().num2,O=d):(p=e.fontMetrics().num3,O=3*d),w=e.fontMetrics().denom2);var x;if(u){var C=e.fontMetrics().axisHeight;p-s.depth-(C+.5*f){var r=new ke.MathNode("mfrac",[zt(t.numer,e),zt(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var i=Gt(t.barSize,e);r.setAttribute("linethickness",Ae(i))}var n=lT(t.size,e.style);if(n.size!==e.style.size){r=new ke.MathNode("mstyle",[r]);var o=n.size===We.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",o),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var s=[];if(t.leftDelim!=null){var a=new ke.MathNode("mo",[new ke.TextNode(t.leftDelim.replace("\\",""))]);a.setAttribute("fence","true"),s.push(a)}if(s.push(r),t.rightDelim!=null){var l=new ke.MathNode("mo",[new ke.TextNode(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return m2(s)}return r};Ie({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=e[1],s,a=null,l=null,c="auto";switch(i){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,a="(",l=")";break;case"\\\\bracefrac":s=!1,a="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,a="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(i){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:n,denom:o,hasBarLine:s,leftDelim:a,rightDelim:l,size:c,barSize:null}},htmlBuilder:S2,mathmlBuilder:T2});Ie({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Ie({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:i}=t,n;switch(r){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:n,token:i}}});var h7=["display","text","script","scriptscript"],d7=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};Ie({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,i=e[4],n=e[5],o=$0(e[0]),s=o.type==="atom"&&o.family==="open"?d7(o.text):null,a=$0(e[1]),l=a.type==="atom"&&a.family==="close"?d7(a.text):null,c=lt(e[2],"size"),u,f=null;c.isBlank?u=!0:(f=c.value,u=f.number>0);var d="auto",p=e[3];if(p.type==="ordgroup"){if(p.body.length>0){var O=lt(p.body[0],"textord");d=h7[Number(O.text)]}}else p=lt(p,"textord"),d=h7[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:i,denom:n,continued:!1,hasBarLine:u,barSize:f,leftDelim:s,rightDelim:l,size:d}},htmlBuilder:S2,mathmlBuilder:T2});Ie({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:i,token:n}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:lt(e[0],"size").value,token:n}}});Ie({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=wj(lt(e[1],"infix").size),s=e[2],a=o.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:s,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:S2,mathmlBuilder:T2});var cT=(t,e)=>{var r=e.style,i,n;t.type==="supsub"?(i=t.sup?xt(t.sup,e.havingStyle(r.sup()),e):xt(t.sub,e.havingStyle(r.sub()),e),n=lt(t.base,"horizBrace")):n=lt(t,"horizBrace");var o=xt(n.base,e.havingBaseStyle(We.DISPLAY)),s=Ro.svgSpan(n,e),a;if(n.isOver?(a=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},e),a.children[0].children[0].children[1].classes.push("svg-align")):(a=te.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},e),a.children[0].children[0].children[0].classes.push("svg-align")),i){var l=te.makeSpan(["mord",n.isOver?"mover":"munder"],[a],e);n.isOver?a=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:i}]},e):a=te.makeVList({positionType:"bottom",positionData:l.depth+.2+i.height+i.depth,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return te.makeSpan(["mord",n.isOver?"mover":"munder"],[a],e)},BB=(t,e)=>{var r=Ro.mathMLnode(t.label);return new ke.MathNode(t.isOver?"mover":"munder",[zt(t.base,e),r])};Ie({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t;return{type:"horizBrace",mode:r.mode,label:i,isOver:/^\\over/.test(i),base:e[0]}},htmlBuilder:cT,mathmlBuilder:BB});Ie({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[1],n=lt(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:ar(i)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=yr(t.body,e,!1);return te.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=Is(t.body,e);return r instanceof vi||(r=new vi("mrow",[r])),r.setAttribute("href",t.href),r}});Ie({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=lt(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:i}))return r.formatUnsupportedCmd("\\url");for(var n=[],o=0;o{var{parser:r,funcName:i,token:n}=t,o=lt(e[0],"raw").string,s=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var a,l={};switch(i){case"\\htmlClass":l.class=o,a={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,a={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,a={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),u=0;u{var r=yr(t.body,e,!1),i=["enclosing"];t.attributes.class&&i.push(...t.attributes.class.trim().split(/\s+/));var n=te.makeSpan(i,r,e);for(var o in t.attributes)o!=="class"&&t.attributes.hasOwnProperty(o)&&n.setAttribute(o,t.attributes[o]);return n},mathmlBuilder:(t,e)=>Is(t.body,e)});Ie({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:ar(e[0]),mathml:ar(e[1])}},htmlBuilder:(t,e)=>{var r=yr(t.html,e,!1);return te.makeFragment(r)},mathmlBuilder:(t,e)=>Is(t.mathml,e)});var Hb=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new Pe("Invalid size: '"+e+"' in \\includegraphics");var i={number:+(r[1]+r[2]),unit:r[3]};if(!P7(i))throw new Pe("Invalid unit: '"+i.unit+"' in \\includegraphics.");return i};Ie({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:i}=t,n={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},a="";if(r[0])for(var l=lt(r[0],"raw").string,c=l.split(","),u=0;u{var r=Gt(t.height,e),i=0;t.totalheight.number>0&&(i=Gt(t.totalheight,e)-r);var n=0;t.width.number>0&&(n=Gt(t.width,e));var o={height:Ae(r+i)};n>0&&(o.width=Ae(n)),i>0&&(o.verticalAlign=Ae(-i));var s=new r2(t.src,t.alt,o);return s.height=r,s.depth=i,s},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var i=Gt(t.height,e),n=0;if(t.totalheight.number>0&&(n=Gt(t.totalheight,e)-i,r.setAttribute("valign",Ae(-n))),r.setAttribute("height",Ae(i+n)),t.width.number>0){var o=Gt(t.width,e);r.setAttribute("width",Ae(o))}return r.setAttribute("src",t.src),r}});Ie({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:i}=t,n=lt(e[0],"size");if(r.settings.strict){var o=i[1]==="m",s=n.value.unit==="mu";o?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" supports only mu units, "+("not "+n.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder(t,e){return te.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=Gt(t.dimension,e);return new ke.SpaceNode(r)}});Ie({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"lap",mode:r.mode,alignment:i.slice(5),body:n}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=te.makeSpan([],[xt(t.body,e)]),r=te.makeSpan(["inner"],[r],e)):r=te.makeSpan(["inner"],[xt(t.body,e)]);var i=te.makeSpan(["fix"],[]),n=te.makeSpan([t.alignment],[r,i],e),o=te.makeSpan(["strut"]);return o.style.height=Ae(n.height+n.depth),n.depth&&(o.style.verticalAlign=Ae(-n.depth)),n.children.unshift(o),n=te.makeSpan(["thinbox"],[n],e),te.makeSpan(["mord","vbox"],[n],e)},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mpadded",[zt(t.body,e)]);if(t.alignment!=="rlap"){var i=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",i+"width")}return r.setAttribute("width","0px"),r}});Ie({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:i}=t,n=i.mode;i.switchMode("math");var o=r==="\\("?"\\)":"$",s=i.parseExpression(!1,o);return i.expect(o),i.switchMode(n),{type:"styling",mode:i.mode,style:"text",body:s}}});Ie({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new Pe("Mismatched "+t.funcName)}});var p7=(t,e)=>{switch(e.style.size){case We.DISPLAY.size:return t.display;case We.TEXT.size:return t.text;case We.SCRIPT.size:return t.script;case We.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};Ie({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:ar(e[0]),text:ar(e[1]),script:ar(e[2]),scriptscript:ar(e[3])}},htmlBuilder:(t,e)=>{var r=p7(t,e),i=yr(r,e,!1);return te.makeFragment(i)},mathmlBuilder:(t,e)=>{var r=p7(t,e);return Is(r,e)}});var uT=(t,e,r,i,n,o,s)=>{t=te.makeSpan([],[t]);var a=r&&Ke.isCharacterBox(r),l,c;if(e){var u=xt(e,i.havingStyle(n.sup()),i);c={elem:u,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-u.depth)}}if(r){var f=xt(r,i.havingStyle(n.sub()),i);l={elem:f,kern:Math.max(i.fontMetrics().bigOpSpacing2,i.fontMetrics().bigOpSpacing4-f.height)}}var d;if(c&&l){var p=i.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+t.depth+s;d=te.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Ae(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Ae(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else if(l){var O=t.height-s;d=te.makeVList({positionType:"top",positionData:O,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Ae(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t}]},i)}else if(c){var w=t.depth+s;d=te.makeVList({positionType:"bottom",positionData:w,children:[{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Ae(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else return t;var x=[d];if(l&&o!==0&&!a){var k=te.makeSpan(["mspace"],[],i);k.style.marginRight=Ae(o),x.unshift(k)}return te.makeSpan(["mop","op-limits"],x,i)},fT=["\\smallint"],Kl=(t,e)=>{var r,i,n=!1,o;t.type==="supsub"?(r=t.sup,i=t.sub,o=lt(t.base,"op"),n=!0):o=lt(t,"op");var s=e.style,a=!1;s.size===We.DISPLAY.size&&o.symbol&&!Ke.contains(fT,o.name)&&(a=!0);var l;if(o.symbol){var c=a?"Size2-Regular":"Size1-Regular",u="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(u=o.name.slice(1),o.name=u==="oiint"?"\\iint":"\\iiint"),l=te.makeSymbol(o.name,c,"math",e,["mop","op-symbol",a?"large-op":"small-op"]),u.length>0){var f=l.italic,d=te.staticSvg(u+"Size"+(a?"2":"1"),e);l=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:a?.08:0}]},e),o.name="\\"+u,l.classes.unshift("mop"),l.italic=f}}else if(o.body){var p=yr(o.body,e,!0);p.length===1&&p[0]instanceof wi?(l=p[0],l.classes[0]="mop"):l=te.makeSpan(["mop"],p,e)}else{for(var O=[],w=1;w{var r;if(t.symbol)r=new vi("mo",[Ki(t.name,t.mode)]),Ke.contains(fT,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new vi("mo",xi(t.body,e));else{r=new vi("mi",[new Ra(t.name.slice(1))]);var i=new vi("mo",[Ki("\u2061","text")]);t.parentIsSupSub?r=new vi("mrow",[r,i]):r=D7([r,i])}return r},VB={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Ie({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:(t,e)=>{var{parser:r,funcName:i}=t,n=i;return n.length===1&&(n=VB[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Kl,mathmlBuilder:Fu});Ie({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ar(i)}},htmlBuilder:Kl,mathmlBuilder:Fu});var qB={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ie({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(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kl,mathmlBuilder:Fu});Ie({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kl,mathmlBuilder:Fu});Ie({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,i=r;return i.length===1&&(i=qB[i]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Kl,mathmlBuilder:Fu});var hT=(t,e)=>{var r,i,n=!1,o;t.type==="supsub"?(r=t.sup,i=t.sub,o=lt(t.base,"operatorname"),n=!0):o=lt(t,"operatorname");var s;if(o.body.length>0){for(var a=o.body.map(f=>{var d=f.text;return typeof d=="string"?{type:"textord",mode:f.mode,text:d}:f}),l=yr(a,e.withFont("mathrm"),!0),c=0;c{for(var r=xi(t.body,e.withFont("mathrm")),i=!0,n=0;nu.toText()).join("");r=[new ke.TextNode(a)]}var l=new ke.MathNode("mi",r);l.setAttribute("mathvariant","normal");var c=new ke.MathNode("mo",[Ki("\u2061","text")]);return t.parentIsSupSub?new ke.MathNode("mrow",[l,c]):ke.newDocumentFragment([l,c])};Ie({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"operatorname",mode:r.mode,body:ar(n),alwaysHandleSupSub:i==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:hT,mathmlBuilder:FB});X("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Ia({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?te.makeFragment(yr(t.body,e,!1)):te.makeSpan(["mord"],yr(t.body,e,!0),e)},mathmlBuilder(t,e){return Is(t.body,e,!0)}});Ie({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,i=e[0];return{type:"overline",mode:r.mode,body:i}},htmlBuilder(t,e){var r=xt(t.body,e.havingCrampedStyle()),i=te.makeLineSpan("overline-line",e),n=e.fontMetrics().defaultRuleThickness,o=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:i},{type:"kern",size:n}]},e);return te.makeSpan(["mord","overline"],[o],e)},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[new ke.TextNode("\u203E")]);r.setAttribute("stretchy","true");var i=new ke.MathNode("mover",[zt(t.body,e),r]);return i.setAttribute("accent","true"),i}});Ie({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"phantom",mode:r.mode,body:ar(i)}},htmlBuilder:(t,e)=>{var r=yr(t.body,e.withPhantom(),!1);return te.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=xi(t.body,e);return new ke.MathNode("mphantom",r)}});Ie({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"hphantom",mode:r.mode,body:i}},htmlBuilder:(t,e)=>{var r=te.makeSpan([],[xt(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var i=0;i{var r=xi(ar(t.body),e),i=new ke.MathNode("mphantom",r),n=new ke.MathNode("mpadded",[i]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}});Ie({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"vphantom",mode:r.mode,body:i}},htmlBuilder:(t,e)=>{var r=te.makeSpan(["inner"],[xt(t.body,e.withPhantom())]),i=te.makeSpan(["fix"],[]);return te.makeSpan(["mord","rlap"],[r,i],e)},mathmlBuilder:(t,e)=>{var r=xi(ar(t.body),e),i=new ke.MathNode("mphantom",r),n=new ke.MathNode("mpadded",[i]);return n.setAttribute("width","0px"),n}});Ie({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,i=lt(e[0],"size").value,n=e[1];return{type:"raisebox",mode:r.mode,dy:i,body:n}},htmlBuilder(t,e){var r=xt(t.body,e),i=Gt(t.dy,e);return te.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new ke.MathNode("mpadded",[zt(t.body,e)]),i=t.dy.number+t.dy.unit;return r.setAttribute("voffset",i),r}});Ie({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});Ie({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,e,r){var{parser:i}=t,n=r[0],o=lt(e[0],"size"),s=lt(e[1],"size");return{type:"rule",mode:i.mode,shift:n&<(n,"size").value,width:o.value,height:s.value}},htmlBuilder(t,e){var r=te.makeSpan(["mord","rule"],[],e),i=Gt(t.width,e),n=Gt(t.height,e),o=t.shift?Gt(t.shift,e):0;return r.style.borderRightWidth=Ae(i),r.style.borderTopWidth=Ae(n),r.style.bottom=Ae(o),r.width=i,r.height=n+o,r.depth=-o,r.maxFontSize=n*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=Gt(t.width,e),i=Gt(t.height,e),n=t.shift?Gt(t.shift,e):0,o=e.color&&e.getColor()||"black",s=new ke.MathNode("mspace");s.setAttribute("mathbackground",o),s.setAttribute("width",Ae(r)),s.setAttribute("height",Ae(i));var a=new ke.MathNode("mpadded",[s]);return n>=0?a.setAttribute("height",Ae(n)):(a.setAttribute("height",Ae(n)),a.setAttribute("depth",Ae(-n))),a.setAttribute("voffset",Ae(n)),a}});function dT(t,e,r){for(var i=yr(t,e,!1),n=e.sizeMultiplier/r.sizeMultiplier,o=0;o{var r=e.havingSize(t.size);return dT(t.body,r,e)};Ie({type:"sizing",names:m7,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:i,parser:n}=t,o=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:m7.indexOf(i)+1,body:o}},htmlBuilder:WB,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),i=xi(t.body,r),n=new ke.MathNode("mstyle",i);return n.setAttribute("mathsize",Ae(r.sizeMultiplier)),n}});Ie({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{var{parser:i}=t,n=!1,o=!1,s=r[0]&<(r[0],"ordgroup");if(s)for(var a="",l=0;l{var r=te.makeSpan([],[xt(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var i=0;i{var r=new ke.MathNode("mpadded",[zt(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}});Ie({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:i}=t,n=r[0],o=e[0];return{type:"sqrt",mode:i.mode,body:o,index:n}},htmlBuilder(t,e){var r=xt(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=te.wrapFragment(r,e);var i=e.fontMetrics(),n=i.defaultRuleThickness,o=n;e.style.idr.height+r.depth+s&&(s=(s+f-r.height-r.depth)/2);var d=l.height-r.height-s-c;r.style.paddingLeft=Ae(u);var p=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:l},{type:"kern",size:c}]},e);if(t.index){var O=e.havingStyle(We.SCRIPTSCRIPT),w=xt(t.index,O,e),x=.6*(p.height-p.depth),k=te.makeVList({positionType:"shift",positionData:-x,children:[{type:"elem",elem:w}]},e),C=te.makeSpan(["root"],[k]);return te.makeSpan(["mord","sqrt"],[C,p],e)}else return te.makeSpan(["mord","sqrt"],[p],e)},mathmlBuilder(t,e){var{body:r,index:i}=t;return i?new ke.MathNode("mroot",[zt(r,e),zt(i,e)]):new ke.MathNode("msqrt",[zt(r,e)])}});var O7={display:We.DISPLAY,text:We.TEXT,script:We.SCRIPT,scriptscript:We.SCRIPTSCRIPT};Ie({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:i,parser:n}=t,o=n.parseExpression(!0,r),s=i.slice(1,i.length-5);return{type:"styling",mode:n.mode,style:s,body:o}},htmlBuilder(t,e){var r=O7[t.style],i=e.havingStyle(r).withFont("");return dT(t.body,i,e)},mathmlBuilder(t,e){var r=O7[t.style],i=e.havingStyle(r),n=xi(t.body,i),o=new ke.MathNode("mstyle",n),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},a=s[t.style];return o.setAttribute("scriptlevel",a[0]),o.setAttribute("displaystyle",a[1]),o}});var ZB=function(e,r){var i=e.base;if(i)if(i.type==="op"){var n=i.limits&&(r.style.size===We.DISPLAY.size||i.alwaysHandleSupSub);return n?Kl:null}else if(i.type==="operatorname"){var o=i.alwaysHandleSupSub&&(r.style.size===We.DISPLAY.size||i.limits);return o?hT:null}else{if(i.type==="accent")return Ke.isCharacterBox(i.base)?b2:null;if(i.type==="horizBrace"){var s=!e.sub;return s===i.isOver?cT:null}else return null}else return null};Ia({type:"supsub",htmlBuilder(t,e){var r=ZB(t,e);if(r)return r(t,e);var{base:i,sup:n,sub:o}=t,s=xt(i,e),a,l,c=e.fontMetrics(),u=0,f=0,d=i&&Ke.isCharacterBox(i);if(n){var p=e.havingStyle(e.style.sup());a=xt(n,p,e),d||(u=s.height-p.fontMetrics().supDrop*p.sizeMultiplier/e.sizeMultiplier)}if(o){var O=e.havingStyle(e.style.sub());l=xt(o,O,e),d||(f=s.depth+O.fontMetrics().subDrop*O.sizeMultiplier/e.sizeMultiplier)}var w;e.style===We.DISPLAY?w=c.sup1:e.style.cramped?w=c.sup3:w=c.sup2;var x=e.sizeMultiplier,k=Ae(.5/c.ptPerEm/x),C=null;if(l){var R=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(s instanceof wi||R)&&(C=Ae(-s.italic))}var Q;if(a&&l){u=Math.max(u,w,a.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var L=c.defaultRuleThickness,z=4*L;if(u-a.depth-(l.height-f)0&&(u+=Z,f-=Z)}var re=[{type:"elem",elem:l,shift:f,marginRight:k,marginLeft:C},{type:"elem",elem:a,shift:-u,marginRight:k}];Q=te.makeVList({positionType:"individualShift",children:re},e)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var H=[{type:"elem",elem:l,marginLeft:C,marginRight:k}];Q=te.makeVList({positionType:"shift",positionData:f,children:H},e)}else if(a)u=Math.max(u,w,a.depth+.25*c.xHeight),Q=te.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:a,marginRight:k}]},e);else throw new Error("supsub must have either sup or sub.");var q=n2(s,"right")||"mord";return te.makeSpan([q],[s,te.makeSpan(["msupsub"],[Q])],e)},mathmlBuilder(t,e){var r=!1,i,n;t.base&&t.base.type==="horizBrace"&&(n=!!t.sup,n===t.base.isOver&&(r=!0,i=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var o=[zt(t.base,e)];t.sub&&o.push(zt(t.sub,e)),t.sup&&o.push(zt(t.sup,e));var s;if(r)s=i?"mover":"munder";else if(t.sub)if(t.sup){var c=t.base;c&&c.type==="op"&&c.limits&&e.style===We.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(e.style===We.DISPLAY||c.limits)?s="munderover":s="msubsup"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===We.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===We.DISPLAY)?s="munder":s="msub"}else{var a=t.base;a&&a.type==="op"&&a.limits&&(e.style===We.DISPLAY||a.alwaysHandleSupSub)||a&&a.type==="operatorname"&&a.alwaysHandleSupSub&&(a.limits||e.style===We.DISPLAY)?s="mover":s="msup"}return new ke.MathNode(s,o)}});Ia({type:"atom",htmlBuilder(t,e){return te.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[Ki(t.text,t.mode)]);if(t.family==="bin"){var i=O2(t,e);i==="bold-italic"&&r.setAttribute("mathvariant",i)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var pT={mi:"italic",mn:"normal",mtext:"normal"};Ia({type:"mathord",htmlBuilder(t,e){return te.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new ke.MathNode("mi",[Ki(t.text,t.mode,e)]),i=O2(t,e)||"italic";return i!==pT[r.type]&&r.setAttribute("mathvariant",i),r}});Ia({type:"textord",htmlBuilder(t,e){return te.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=Ki(t.text,t.mode,e),i=O2(t,e)||"normal",n;return t.mode==="text"?n=new ke.MathNode("mtext",[r]):/[0-9]/.test(t.text)?n=new ke.MathNode("mn",[r]):t.text==="\\prime"?n=new ke.MathNode("mo",[r]):n=new ke.MathNode("mi",[r]),i!==pT[n.type]&&n.setAttribute("mathvariant",i),n}});var Gb={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Kb={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ia({type:"spacing",htmlBuilder(t,e){if(Kb.hasOwnProperty(t.text)){var r=Kb[t.text].className||"";if(t.mode==="text"){var i=te.makeOrd(t,e,"textord");return i.classes.push(r),i}else return te.makeSpan(["mspace",r],[te.mathsym(t.text,t.mode,e)],e)}else{if(Gb.hasOwnProperty(t.text))return te.makeSpan(["mspace",Gb[t.text]],[],e);throw new Pe('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(Kb.hasOwnProperty(t.text))r=new ke.MathNode("mtext",[new ke.TextNode("\xA0")]);else{if(Gb.hasOwnProperty(t.text))return new ke.MathNode("mspace");throw new Pe('Unknown type of space "'+t.text+'"')}return r}});var g7=()=>{var t=new ke.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Ia({type:"tag",mathmlBuilder(t,e){var r=new ke.MathNode("mtable",[new ke.MathNode("mtr",[g7(),new ke.MathNode("mtd",[Is(t.body,e)]),g7(),new ke.MathNode("mtd",[Is(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var b7={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},y7={"\\textbf":"textbf","\\textmd":"textmd"},YB={"\\textit":"textit","\\textup":"textup"},v7=(t,e)=>{var r=t.font;return r?b7[r]?e.withTextFontFamily(b7[r]):y7[r]?e.withTextFontWeight(y7[r]):e.withTextFontShape(YB[r]):e};Ie({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"text",mode:r.mode,body:ar(n),font:i}},htmlBuilder(t,e){var r=v7(t,e),i=yr(t.body,r,!0);return te.makeSpan(["mord","text"],i,r)},mathmlBuilder(t,e){var r=v7(t,e);return Is(t.body,r)}});Ie({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=xt(t.body,e),i=te.makeLineSpan("underline-line",e),n=e.fontMetrics().defaultRuleThickness,o=te.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:i},{type:"kern",size:3*n},{type:"elem",elem:r}]},e);return te.makeSpan(["mord","underline"],[o],e)},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[new ke.TextNode("\u203E")]);r.setAttribute("stretchy","true");var i=new ke.MathNode("munder",[zt(t.body,e),r]);return i.setAttribute("accentunder","true"),i}});Ie({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=xt(t.body,e),i=e.fontMetrics().axisHeight,n=.5*(r.height-i-(r.depth+i));return te.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new ke.MathNode("mpadded",[zt(t.body,e)],["vcenter"])}});Ie({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new Pe("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=w7(t),i=[],n=e.havingStyle(e.style.text()),o=0;ot.body.replace(/ /g,t.star?"\u2423":"\xA0"),$s=z7,mT=`[ \r + ]`,HB="\\\\[a-zA-Z@]+",GB="\\\\[^\uD800-\uDFFF]",KB="("+HB+")"+mT+"*",JB=`\\\\( |[ \r ]+ -?)[ \r ]*`,a2="[\u0300-\u036F]",tV=new RegExp(a2+"+$"),rV="("+mT+"+)|"+(eV+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(a2+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(a2+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+JB)+("|"+KB+")"),X0=class{constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(rV,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,r){this.catcodes[e]=r}lex(){var e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new Hn("EOF",new Xi(this,r,r));var i=this.tokenRegex.exec(e);if(i===null||i.index!==r)throw new Pe("Unexpected character: '"+e[r]+"'",new Hn(e[r],new Xi(this,r,r+1)));var n=i[6]||i[3]||(i[2]?"\\ ":" ");if(this.catcodes[n]===14){var o=e.indexOf(` -`,this.tokenRegex.lastIndex);return o===-1?(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 Hn(n,new Xi(this,r,this.tokenRegex.lastIndex))}},l2=class{constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Pe("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}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,r,i){if(i===void 0&&(i=!1),i){for(var n=0;n0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}},iV=nT;X("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});X("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});X("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});X("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});X("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});X("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");X("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var x7={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};X("\\char",function(t){var e=t.popToken(),r,i="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")i=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new Pe("\\char` missing argument");i=e.text.charCodeAt(0)}else r=10;if(r){if(i=x7[e.text],i==null||i>=r)throw new Pe("Invalid base-"+r+" digit "+e.text);for(var n;(n=x7[t.future().text])!=null&&n{var i=t.consumeArg().tokens;if(i.length!==1)throw new Pe("\\newcommand's first argument must be a macro name");var n=i[0].text,o=t.isDefined(n);if(o&&!e)throw new Pe("\\newcommand{"+n+"} attempting to redefine "+(n+"; use \\renewcommand"));if(!o&&!r)throw new Pe("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var s=0;if(i=t.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var a="",l=t.expandNextToken();l.text!=="]"&&l.text!=="EOF";)a+=l.text,l=t.expandNextToken();if(!a.match(/^\s*[0-9]+\s*$/))throw new Pe("Invalid number of arguments: "+a);s=parseInt(a),i=t.consumeArg().tokens}return t.macros.set(n,{tokens:i,numArgs:s}),""};X("\\newcommand",t=>S2(t,!1,!0));X("\\renewcommand",t=>S2(t,!0,!1));X("\\providecommand",t=>S2(t,!0,!0));X("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});X("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});X("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),Rs[r],Dt.math[r],Dt.text[r]),""});X("\\bgroup","{");X("\\egroup","}");X("~","\\nobreakspace");X("\\lq","`");X("\\rq","'");X("\\aa","\\r a");X("\\AA","\\r A");X("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");X("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");X("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");X("\u212C","\\mathscr{B}");X("\u2130","\\mathscr{E}");X("\u2131","\\mathscr{F}");X("\u210B","\\mathscr{H}");X("\u2110","\\mathscr{I}");X("\u2112","\\mathscr{L}");X("\u2133","\\mathscr{M}");X("\u211B","\\mathscr{R}");X("\u212D","\\mathfrak{C}");X("\u210C","\\mathfrak{H}");X("\u2128","\\mathfrak{Z}");X("\\Bbbk","\\Bbb{k}");X("\xB7","\\cdotp");X("\\llap","\\mathllap{\\textrm{#1}}");X("\\rlap","\\mathrlap{\\textrm{#1}}");X("\\clap","\\mathclap{\\textrm{#1}}");X("\\mathstrut","\\vphantom{(}");X("\\underbar","\\underline{\\text{#1}}");X("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');X("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");X("\\ne","\\neq");X("\u2260","\\neq");X("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");X("\u2209","\\notin");X("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");X("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");X("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");X("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");X("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");X("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");X("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");X("\u27C2","\\perp");X("\u203C","\\mathclose{!\\mkern-0.8mu!}");X("\u220C","\\notni");X("\u231C","\\ulcorner");X("\u231D","\\urcorner");X("\u231E","\\llcorner");X("\u231F","\\lrcorner");X("\xA9","\\copyright");X("\xAE","\\textregistered");X("\uFE0F","\\textregistered");X("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');X("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');X("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');X("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');X("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");X("\u22EE","\\vdots");X("\\varGamma","\\mathit{\\Gamma}");X("\\varDelta","\\mathit{\\Delta}");X("\\varTheta","\\mathit{\\Theta}");X("\\varLambda","\\mathit{\\Lambda}");X("\\varXi","\\mathit{\\Xi}");X("\\varPi","\\mathit{\\Pi}");X("\\varSigma","\\mathit{\\Sigma}");X("\\varUpsilon","\\mathit{\\Upsilon}");X("\\varPhi","\\mathit{\\Phi}");X("\\varPsi","\\mathit{\\Psi}");X("\\varOmega","\\mathit{\\Omega}");X("\\substack","\\begin{subarray}{c}#1\\end{subarray}");X("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");X("\\boxed","\\fbox{$\\displaystyle{#1}$}");X("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");X("\\implies","\\DOTSB\\;\\Longrightarrow\\;");X("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var k7={",":"\\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"};X("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in k7?e=k7[r]:(r.slice(0,4)==="\\not"||r in Dt.math&&Ke.contains(["bin","rel"],Dt.math[r].group))&&(e="\\dotsb"),e});var T2={")":!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};X("\\dotso",function(t){var e=t.future().text;return e in T2?"\\ldots\\,":"\\ldots"});X("\\dotsc",function(t){var e=t.future().text;return e in T2&&e!==","?"\\ldots\\,":"\\ldots"});X("\\cdots",function(t){var e=t.future().text;return e in T2?"\\@cdots\\,":"\\@cdots"});X("\\dotsb","\\cdots");X("\\dotsm","\\cdots");X("\\dotsi","\\!\\cdots");X("\\dotsx","\\ldots\\,");X("\\DOTSI","\\relax");X("\\DOTSB","\\relax");X("\\DOTSX","\\relax");X("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");X("\\,","\\tmspace+{3mu}{.1667em}");X("\\thinspace","\\,");X("\\>","\\mskip{4mu}");X("\\:","\\tmspace+{4mu}{.2222em}");X("\\medspace","\\:");X("\\;","\\tmspace+{5mu}{.2777em}");X("\\thickspace","\\;");X("\\!","\\tmspace-{3mu}{.1667em}");X("\\negthinspace","\\!");X("\\negmedspace","\\tmspace-{4mu}{.2222em}");X("\\negthickspace","\\tmspace-{5mu}{.277em}");X("\\enspace","\\kern.5em ");X("\\enskip","\\hskip.5em\\relax");X("\\quad","\\hskip1em\\relax");X("\\qquad","\\hskip2em\\relax");X("\\tag","\\@ifstar\\tag@literal\\tag@paren");X("\\tag@paren","\\tag@literal{({#1})}");X("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new Pe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});X("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");X("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");X("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");X("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");X("\\newline","\\\\\\relax");X("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var OT=Ae(Yn["Main-Regular"]["T".charCodeAt(0)][1]-.7*Yn["Main-Regular"]["A".charCodeAt(0)][1]);X("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+OT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");X("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+OT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");X("\\hspace","\\@ifstar\\@hspacer\\@hspace");X("\\@hspace","\\hskip #1\\relax");X("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");X("\\ordinarycolon",":");X("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");X("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');X("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');X("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');X("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');X("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');X("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');X("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');X("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');X("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');X("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');X("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');X("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');X("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');X("\u2237","\\dblcolon");X("\u2239","\\eqcolon");X("\u2254","\\coloneqq");X("\u2255","\\eqqcolon");X("\u2A74","\\Coloneqq");X("\\ratio","\\vcentcolon");X("\\coloncolon","\\dblcolon");X("\\colonequals","\\coloneqq");X("\\coloncolonequals","\\Coloneqq");X("\\equalscolon","\\eqqcolon");X("\\equalscoloncolon","\\Eqqcolon");X("\\colonminus","\\coloneq");X("\\coloncolonminus","\\Coloneq");X("\\minuscolon","\\eqcolon");X("\\minuscoloncolon","\\Eqcolon");X("\\coloncolonapprox","\\Colonapprox");X("\\coloncolonsim","\\Colonsim");X("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");X("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");X("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");X("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");X("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");X("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");X("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");X("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");X("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");X("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");X("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");X("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");X("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");X("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");X("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");X("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");X("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");X("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");X("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");X("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");X("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");X("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");X("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");X("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");X("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");X("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");X("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");X("\\imath","\\html@mathml{\\@imath}{\u0131}");X("\\jmath","\\html@mathml{\\@jmath}{\u0237}");X("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");X("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");X("\u27E6","\\llbracket");X("\u27E7","\\rrbracket");X("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");X("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");X("\u2983","\\lBrace");X("\u2984","\\rBrace");X("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");X("\u29B5","\\minuso");X("\\darr","\\downarrow");X("\\dArr","\\Downarrow");X("\\Darr","\\Downarrow");X("\\lang","\\langle");X("\\rang","\\rangle");X("\\uarr","\\uparrow");X("\\uArr","\\Uparrow");X("\\Uarr","\\Uparrow");X("\\N","\\mathbb{N}");X("\\R","\\mathbb{R}");X("\\Z","\\mathbb{Z}");X("\\alef","\\aleph");X("\\alefsym","\\aleph");X("\\Alpha","\\mathrm{A}");X("\\Beta","\\mathrm{B}");X("\\bull","\\bullet");X("\\Chi","\\mathrm{X}");X("\\clubs","\\clubsuit");X("\\cnums","\\mathbb{C}");X("\\Complex","\\mathbb{C}");X("\\Dagger","\\ddagger");X("\\diamonds","\\diamondsuit");X("\\empty","\\emptyset");X("\\Epsilon","\\mathrm{E}");X("\\Eta","\\mathrm{H}");X("\\exist","\\exists");X("\\harr","\\leftrightarrow");X("\\hArr","\\Leftrightarrow");X("\\Harr","\\Leftrightarrow");X("\\hearts","\\heartsuit");X("\\image","\\Im");X("\\infin","\\infty");X("\\Iota","\\mathrm{I}");X("\\isin","\\in");X("\\Kappa","\\mathrm{K}");X("\\larr","\\leftarrow");X("\\lArr","\\Leftarrow");X("\\Larr","\\Leftarrow");X("\\lrarr","\\leftrightarrow");X("\\lrArr","\\Leftrightarrow");X("\\Lrarr","\\Leftrightarrow");X("\\Mu","\\mathrm{M}");X("\\natnums","\\mathbb{N}");X("\\Nu","\\mathrm{N}");X("\\Omicron","\\mathrm{O}");X("\\plusmn","\\pm");X("\\rarr","\\rightarrow");X("\\rArr","\\Rightarrow");X("\\Rarr","\\Rightarrow");X("\\real","\\Re");X("\\reals","\\mathbb{R}");X("\\Reals","\\mathbb{R}");X("\\Rho","\\mathrm{P}");X("\\sdot","\\cdot");X("\\sect","\\S");X("\\spades","\\spadesuit");X("\\sub","\\subset");X("\\sube","\\subseteq");X("\\supe","\\supseteq");X("\\Tau","\\mathrm{T}");X("\\thetasym","\\vartheta");X("\\weierp","\\wp");X("\\Zeta","\\mathrm{Z}");X("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");X("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");X("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");X("\\bra","\\mathinner{\\langle{#1}|}");X("\\ket","\\mathinner{|{#1}\\rangle}");X("\\braket","\\mathinner{\\langle{#1}\\rangle}");X("\\Bra","\\left\\langle#1\\right|");X("\\Ket","\\left|#1\\right\\rangle");var gT=t=>e=>{var r=e.consumeArg().tokens,i=e.consumeArg().tokens,n=e.consumeArg().tokens,o=e.consumeArg().tokens,s=e.macros.get("|"),a=e.macros.get("\\|");e.macros.beginGroup();var l=f=>d=>{t&&(d.macros.set("|",s),n.length&&d.macros.set("\\|",a));var p=f;if(!f&&n.length){var O=d.future();O.text==="|"&&(d.popToken(),p=!0)}return{tokens:p?n:i,numArgs:0}};e.macros.set("|",l(!1)),n.length&&e.macros.set("\\|",l(!0));var c=e.consumeArg().tokens,u=e.expandTokens([...o,...c,...r]);return e.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};X("\\bra@ket",gT(!1));X("\\bra@set",gT(!0));X("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");X("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");X("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");X("\\angln","{\\angl n}");X("\\blue","\\textcolor{##6495ed}{#1}");X("\\orange","\\textcolor{##ffa500}{#1}");X("\\pink","\\textcolor{##ff00af}{#1}");X("\\red","\\textcolor{##df0030}{#1}");X("\\green","\\textcolor{##28ae7b}{#1}");X("\\gray","\\textcolor{gray}{#1}");X("\\purple","\\textcolor{##9d38bd}{#1}");X("\\blueA","\\textcolor{##ccfaff}{#1}");X("\\blueB","\\textcolor{##80f6ff}{#1}");X("\\blueC","\\textcolor{##63d9ea}{#1}");X("\\blueD","\\textcolor{##11accd}{#1}");X("\\blueE","\\textcolor{##0c7f99}{#1}");X("\\tealA","\\textcolor{##94fff5}{#1}");X("\\tealB","\\textcolor{##26edd5}{#1}");X("\\tealC","\\textcolor{##01d1c1}{#1}");X("\\tealD","\\textcolor{##01a995}{#1}");X("\\tealE","\\textcolor{##208170}{#1}");X("\\greenA","\\textcolor{##b6ffb0}{#1}");X("\\greenB","\\textcolor{##8af281}{#1}");X("\\greenC","\\textcolor{##74cf70}{#1}");X("\\greenD","\\textcolor{##1fab54}{#1}");X("\\greenE","\\textcolor{##0d923f}{#1}");X("\\goldA","\\textcolor{##ffd0a9}{#1}");X("\\goldB","\\textcolor{##ffbb71}{#1}");X("\\goldC","\\textcolor{##ff9c39}{#1}");X("\\goldD","\\textcolor{##e07d10}{#1}");X("\\goldE","\\textcolor{##a75a05}{#1}");X("\\redA","\\textcolor{##fca9a9}{#1}");X("\\redB","\\textcolor{##ff8482}{#1}");X("\\redC","\\textcolor{##f9685d}{#1}");X("\\redD","\\textcolor{##e84d39}{#1}");X("\\redE","\\textcolor{##bc2612}{#1}");X("\\maroonA","\\textcolor{##ffbde0}{#1}");X("\\maroonB","\\textcolor{##ff92c6}{#1}");X("\\maroonC","\\textcolor{##ed5fa6}{#1}");X("\\maroonD","\\textcolor{##ca337c}{#1}");X("\\maroonE","\\textcolor{##9e034e}{#1}");X("\\purpleA","\\textcolor{##ddd7ff}{#1}");X("\\purpleB","\\textcolor{##c6b9fc}{#1}");X("\\purpleC","\\textcolor{##aa87ff}{#1}");X("\\purpleD","\\textcolor{##7854ab}{#1}");X("\\purpleE","\\textcolor{##543b78}{#1}");X("\\mintA","\\textcolor{##f5f9e8}{#1}");X("\\mintB","\\textcolor{##edf2df}{#1}");X("\\mintC","\\textcolor{##e0e5cc}{#1}");X("\\grayA","\\textcolor{##f6f7f7}{#1}");X("\\grayB","\\textcolor{##f0f1f2}{#1}");X("\\grayC","\\textcolor{##e3e5e6}{#1}");X("\\grayD","\\textcolor{##d6d8da}{#1}");X("\\grayE","\\textcolor{##babec2}{#1}");X("\\grayF","\\textcolor{##888d93}{#1}");X("\\grayG","\\textcolor{##626569}{#1}");X("\\grayH","\\textcolor{##3b3e40}{#1}");X("\\grayI","\\textcolor{##21242c}{#1}");X("\\kaBlue","\\textcolor{##314453}{#1}");X("\\kaGreen","\\textcolor{##71B307}{#1}");var bT={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},c2=class{constructor(e,r,i){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=r,this.expansionCount=0,this.feed(e),this.macros=new l2(iV,r.macros),this.mode=i,this.stack=[]}feed(e){this.lexer=new X0(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&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 r,i,n;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:n,end:i}=this.consumeArg(["]"])}else({tokens:n,start:r,end:i}=this.consumeArg());return this.pushToken(new Hn("EOF",i.loc)),this.pushTokens(n),r.range(i,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],i=e&&e.length>0;i||this.consumeSpaces();var n=this.future(),o,s=0,a=0;do{if(o=this.popToken(),r.push(o),o.text==="{")++s;else if(o.text==="}"){if(--s,s===-1)throw new Pe("Extra }",o)}else if(o.text==="EOF")throw new Pe("Unexpected end of input in a macro argument, expected '"+(e&&i?e[a]:"}")+"'",o);if(e&&i)if((s===0||s===1&&e[a]==="{")&&o.text===e[a]){if(++a,a===e.length){r.splice(-a,a);break}}else a=0}while(s!==0||i);return n.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:o}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new Pe("The length of delimiters doesn't match the number of args!");for(var i=r[0],n=0;nthis.settings.maxExpand)throw new Pe("Too many expansions: infinite loop or need to increase maxExpand setting");var o=n.tokens,s=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){o=o.slice();for(var a=o.length-1;a>=0;--a){var l=o[a];if(l.text==="#"){if(a===0)throw new Pe("Incomplete placeholder at end of macro body",l);if(l=o[--a],l.text==="#")o.splice(a+1,1);else if(/^[1-9]$/.test(l.text))o.splice(a,2,...s[+l.text-1]);else throw new Pe("Not a valid argument number",l)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Hn(e)]):void 0}expandTokens(e){var r=[],i=this.stack.length;for(this.pushTokens(e);this.stack.length>i;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),r.push(n)}return r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(i=>i.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var i=this.lexer.catcodes[e];if(i!=null&&i!==13)return}var n=typeof r=="function"?r(this):r;if(typeof n=="string"){var o=0;if(n.indexOf("#")!==-1)for(var s=n.replace(/##/g,"");s.indexOf("#"+(o+1))!==-1;)++o;for(var a=new X0(n,this.settings),l=[],c=a.lex();c.text!=="EOF";)l.push(c),c=a.lex();l.reverse();var u={tokens:l,numArgs:o};return u}return n}isDefined(e){return this.macros.has(e)||Rs.hasOwnProperty(e)||Dt.math.hasOwnProperty(e)||Dt.text.hasOwnProperty(e)||bT.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Rs.hasOwnProperty(e)&&!Rs[e].primitive}},S7=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,T0=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"}),Gb={"\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"}},T7={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"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",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"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",\u00EA:"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",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"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",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"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",\u00F4:"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",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"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",\u00FB:"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",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"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",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"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",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"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",\u00CA:"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",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"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",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"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",\u00D4:"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",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"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",\u00DB:"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",\u00DD:"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"},I0=class t{constructor(e,r){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 c2(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new Pe("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(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 r=this.nextToken;this.consume(),this.gullet.pushToken(new Hn("}")),this.gullet.pushTokens(e);var i=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,i}parseExpression(e,r){for(var i=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(t.endOfExpression.indexOf(n.text)!==-1||r&&n.text===r||e&&Rs[n.text]&&Rs[n.text].infix)break;var o=this.parseAtom(r);if(o){if(o.type==="internal")continue}else break;i.push(o)}return this.mode==="text"&&this.formLigatures(i),this.handleInfixNodes(i)}handleInfixNodes(e){for(var r=-1,i,n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var a=Dt[this.mode][r].group,l=Xi.range(e),c;if(Zj.hasOwnProperty(a)){var u=a;c={type:"atom",mode:this.mode,family:u,loc:l,text:r}}else c={type:a,mode:this.mode,loc:l,text:r};s=c}else if(r.charCodeAt(0)>=128)this.settings.strict&&(C7(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),s={type:"textord",mode:"text",loc:Xi.range(e),text:r};else return null;if(this.consume(),o)for(var f=0;f0;)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,r,i){if(i===void 0&&(i=!1),i){for(var n=0;n0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}},rV=nT;X("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});X("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});X("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});X("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});X("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});X("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");X("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var x7={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};X("\\char",function(t){var e=t.popToken(),r,i="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")i=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new Pe("\\char` missing argument");i=e.text.charCodeAt(0)}else r=10;if(r){if(i=x7[e.text],i==null||i>=r)throw new Pe("Invalid base-"+r+" digit "+e.text);for(var n;(n=x7[t.future().text])!=null&&n{var i=t.consumeArg().tokens;if(i.length!==1)throw new Pe("\\newcommand's first argument must be a macro name");var n=i[0].text,o=t.isDefined(n);if(o&&!e)throw new Pe("\\newcommand{"+n+"} attempting to redefine "+(n+"; use \\renewcommand"));if(!o&&!r)throw new Pe("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var s=0;if(i=t.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var a="",l=t.expandNextToken();l.text!=="]"&&l.text!=="EOF";)a+=l.text,l=t.expandNextToken();if(!a.match(/^\s*[0-9]+\s*$/))throw new Pe("Invalid number of arguments: "+a);s=parseInt(a),i=t.consumeArg().tokens}return t.macros.set(n,{tokens:i,numArgs:s}),""};X("\\newcommand",t=>E2(t,!1,!0));X("\\renewcommand",t=>E2(t,!0,!1));X("\\providecommand",t=>E2(t,!0,!0));X("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});X("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});X("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),$s[r],Dt.math[r],Dt.text[r]),""});X("\\bgroup","{");X("\\egroup","}");X("~","\\nobreakspace");X("\\lq","`");X("\\rq","'");X("\\aa","\\r a");X("\\AA","\\r A");X("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");X("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");X("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");X("\u212C","\\mathscr{B}");X("\u2130","\\mathscr{E}");X("\u2131","\\mathscr{F}");X("\u210B","\\mathscr{H}");X("\u2110","\\mathscr{I}");X("\u2112","\\mathscr{L}");X("\u2133","\\mathscr{M}");X("\u211B","\\mathscr{R}");X("\u212D","\\mathfrak{C}");X("\u210C","\\mathfrak{H}");X("\u2128","\\mathfrak{Z}");X("\\Bbbk","\\Bbb{k}");X("\xB7","\\cdotp");X("\\llap","\\mathllap{\\textrm{#1}}");X("\\rlap","\\mathrlap{\\textrm{#1}}");X("\\clap","\\mathclap{\\textrm{#1}}");X("\\mathstrut","\\vphantom{(}");X("\\underbar","\\underline{\\text{#1}}");X("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');X("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");X("\\ne","\\neq");X("\u2260","\\neq");X("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");X("\u2209","\\notin");X("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");X("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");X("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");X("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");X("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");X("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");X("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");X("\u27C2","\\perp");X("\u203C","\\mathclose{!\\mkern-0.8mu!}");X("\u220C","\\notni");X("\u231C","\\ulcorner");X("\u231D","\\urcorner");X("\u231E","\\llcorner");X("\u231F","\\lrcorner");X("\xA9","\\copyright");X("\xAE","\\textregistered");X("\uFE0F","\\textregistered");X("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');X("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');X("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');X("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');X("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");X("\u22EE","\\vdots");X("\\varGamma","\\mathit{\\Gamma}");X("\\varDelta","\\mathit{\\Delta}");X("\\varTheta","\\mathit{\\Theta}");X("\\varLambda","\\mathit{\\Lambda}");X("\\varXi","\\mathit{\\Xi}");X("\\varPi","\\mathit{\\Pi}");X("\\varSigma","\\mathit{\\Sigma}");X("\\varUpsilon","\\mathit{\\Upsilon}");X("\\varPhi","\\mathit{\\Phi}");X("\\varPsi","\\mathit{\\Psi}");X("\\varOmega","\\mathit{\\Omega}");X("\\substack","\\begin{subarray}{c}#1\\end{subarray}");X("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");X("\\boxed","\\fbox{$\\displaystyle{#1}$}");X("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");X("\\implies","\\DOTSB\\;\\Longrightarrow\\;");X("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var k7={",":"\\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"};X("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in k7?e=k7[r]:(r.slice(0,4)==="\\not"||r in Dt.math&&Ke.contains(["bin","rel"],Dt.math[r].group))&&(e="\\dotsb"),e});var C2={")":!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};X("\\dotso",function(t){var e=t.future().text;return e in C2?"\\ldots\\,":"\\ldots"});X("\\dotsc",function(t){var e=t.future().text;return e in C2&&e!==","?"\\ldots\\,":"\\ldots"});X("\\cdots",function(t){var e=t.future().text;return e in C2?"\\@cdots\\,":"\\@cdots"});X("\\dotsb","\\cdots");X("\\dotsm","\\cdots");X("\\dotsi","\\!\\cdots");X("\\dotsx","\\ldots\\,");X("\\DOTSI","\\relax");X("\\DOTSB","\\relax");X("\\DOTSX","\\relax");X("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");X("\\,","\\tmspace+{3mu}{.1667em}");X("\\thinspace","\\,");X("\\>","\\mskip{4mu}");X("\\:","\\tmspace+{4mu}{.2222em}");X("\\medspace","\\:");X("\\;","\\tmspace+{5mu}{.2777em}");X("\\thickspace","\\;");X("\\!","\\tmspace-{3mu}{.1667em}");X("\\negthinspace","\\!");X("\\negmedspace","\\tmspace-{4mu}{.2222em}");X("\\negthickspace","\\tmspace-{5mu}{.277em}");X("\\enspace","\\kern.5em ");X("\\enskip","\\hskip.5em\\relax");X("\\quad","\\hskip1em\\relax");X("\\qquad","\\hskip2em\\relax");X("\\tag","\\@ifstar\\tag@literal\\tag@paren");X("\\tag@paren","\\tag@literal{({#1})}");X("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new Pe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});X("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");X("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");X("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");X("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");X("\\newline","\\\\\\relax");X("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var OT=Ae(Yn["Main-Regular"]["T".charCodeAt(0)][1]-.7*Yn["Main-Regular"]["A".charCodeAt(0)][1]);X("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+OT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");X("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+OT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");X("\\hspace","\\@ifstar\\@hspacer\\@hspace");X("\\@hspace","\\hskip #1\\relax");X("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");X("\\ordinarycolon",":");X("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");X("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');X("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');X("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');X("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');X("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');X("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');X("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');X("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');X("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');X("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');X("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');X("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');X("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');X("\u2237","\\dblcolon");X("\u2239","\\eqcolon");X("\u2254","\\coloneqq");X("\u2255","\\eqqcolon");X("\u2A74","\\Coloneqq");X("\\ratio","\\vcentcolon");X("\\coloncolon","\\dblcolon");X("\\colonequals","\\coloneqq");X("\\coloncolonequals","\\Coloneqq");X("\\equalscolon","\\eqqcolon");X("\\equalscoloncolon","\\Eqqcolon");X("\\colonminus","\\coloneq");X("\\coloncolonminus","\\Coloneq");X("\\minuscolon","\\eqcolon");X("\\minuscoloncolon","\\Eqcolon");X("\\coloncolonapprox","\\Colonapprox");X("\\coloncolonsim","\\Colonsim");X("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");X("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");X("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");X("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");X("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");X("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");X("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");X("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");X("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");X("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");X("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");X("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");X("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");X("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");X("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");X("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");X("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");X("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");X("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");X("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");X("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");X("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");X("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");X("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");X("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");X("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");X("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");X("\\imath","\\html@mathml{\\@imath}{\u0131}");X("\\jmath","\\html@mathml{\\@jmath}{\u0237}");X("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");X("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");X("\u27E6","\\llbracket");X("\u27E7","\\rrbracket");X("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");X("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");X("\u2983","\\lBrace");X("\u2984","\\rBrace");X("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");X("\u29B5","\\minuso");X("\\darr","\\downarrow");X("\\dArr","\\Downarrow");X("\\Darr","\\Downarrow");X("\\lang","\\langle");X("\\rang","\\rangle");X("\\uarr","\\uparrow");X("\\uArr","\\Uparrow");X("\\Uarr","\\Uparrow");X("\\N","\\mathbb{N}");X("\\R","\\mathbb{R}");X("\\Z","\\mathbb{Z}");X("\\alef","\\aleph");X("\\alefsym","\\aleph");X("\\Alpha","\\mathrm{A}");X("\\Beta","\\mathrm{B}");X("\\bull","\\bullet");X("\\Chi","\\mathrm{X}");X("\\clubs","\\clubsuit");X("\\cnums","\\mathbb{C}");X("\\Complex","\\mathbb{C}");X("\\Dagger","\\ddagger");X("\\diamonds","\\diamondsuit");X("\\empty","\\emptyset");X("\\Epsilon","\\mathrm{E}");X("\\Eta","\\mathrm{H}");X("\\exist","\\exists");X("\\harr","\\leftrightarrow");X("\\hArr","\\Leftrightarrow");X("\\Harr","\\Leftrightarrow");X("\\hearts","\\heartsuit");X("\\image","\\Im");X("\\infin","\\infty");X("\\Iota","\\mathrm{I}");X("\\isin","\\in");X("\\Kappa","\\mathrm{K}");X("\\larr","\\leftarrow");X("\\lArr","\\Leftarrow");X("\\Larr","\\Leftarrow");X("\\lrarr","\\leftrightarrow");X("\\lrArr","\\Leftrightarrow");X("\\Lrarr","\\Leftrightarrow");X("\\Mu","\\mathrm{M}");X("\\natnums","\\mathbb{N}");X("\\Nu","\\mathrm{N}");X("\\Omicron","\\mathrm{O}");X("\\plusmn","\\pm");X("\\rarr","\\rightarrow");X("\\rArr","\\Rightarrow");X("\\Rarr","\\Rightarrow");X("\\real","\\Re");X("\\reals","\\mathbb{R}");X("\\Reals","\\mathbb{R}");X("\\Rho","\\mathrm{P}");X("\\sdot","\\cdot");X("\\sect","\\S");X("\\spades","\\spadesuit");X("\\sub","\\subset");X("\\sube","\\subseteq");X("\\supe","\\supseteq");X("\\Tau","\\mathrm{T}");X("\\thetasym","\\vartheta");X("\\weierp","\\wp");X("\\Zeta","\\mathrm{Z}");X("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");X("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");X("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");X("\\bra","\\mathinner{\\langle{#1}|}");X("\\ket","\\mathinner{|{#1}\\rangle}");X("\\braket","\\mathinner{\\langle{#1}\\rangle}");X("\\Bra","\\left\\langle#1\\right|");X("\\Ket","\\left|#1\\right\\rangle");var gT=t=>e=>{var r=e.consumeArg().tokens,i=e.consumeArg().tokens,n=e.consumeArg().tokens,o=e.consumeArg().tokens,s=e.macros.get("|"),a=e.macros.get("\\|");e.macros.beginGroup();var l=f=>d=>{t&&(d.macros.set("|",s),n.length&&d.macros.set("\\|",a));var p=f;if(!f&&n.length){var O=d.future();O.text==="|"&&(d.popToken(),p=!0)}return{tokens:p?n:i,numArgs:0}};e.macros.set("|",l(!1)),n.length&&e.macros.set("\\|",l(!0));var c=e.consumeArg().tokens,u=e.expandTokens([...o,...c,...r]);return e.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};X("\\bra@ket",gT(!1));X("\\bra@set",gT(!0));X("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");X("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");X("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");X("\\angln","{\\angl n}");X("\\blue","\\textcolor{##6495ed}{#1}");X("\\orange","\\textcolor{##ffa500}{#1}");X("\\pink","\\textcolor{##ff00af}{#1}");X("\\red","\\textcolor{##df0030}{#1}");X("\\green","\\textcolor{##28ae7b}{#1}");X("\\gray","\\textcolor{gray}{#1}");X("\\purple","\\textcolor{##9d38bd}{#1}");X("\\blueA","\\textcolor{##ccfaff}{#1}");X("\\blueB","\\textcolor{##80f6ff}{#1}");X("\\blueC","\\textcolor{##63d9ea}{#1}");X("\\blueD","\\textcolor{##11accd}{#1}");X("\\blueE","\\textcolor{##0c7f99}{#1}");X("\\tealA","\\textcolor{##94fff5}{#1}");X("\\tealB","\\textcolor{##26edd5}{#1}");X("\\tealC","\\textcolor{##01d1c1}{#1}");X("\\tealD","\\textcolor{##01a995}{#1}");X("\\tealE","\\textcolor{##208170}{#1}");X("\\greenA","\\textcolor{##b6ffb0}{#1}");X("\\greenB","\\textcolor{##8af281}{#1}");X("\\greenC","\\textcolor{##74cf70}{#1}");X("\\greenD","\\textcolor{##1fab54}{#1}");X("\\greenE","\\textcolor{##0d923f}{#1}");X("\\goldA","\\textcolor{##ffd0a9}{#1}");X("\\goldB","\\textcolor{##ffbb71}{#1}");X("\\goldC","\\textcolor{##ff9c39}{#1}");X("\\goldD","\\textcolor{##e07d10}{#1}");X("\\goldE","\\textcolor{##a75a05}{#1}");X("\\redA","\\textcolor{##fca9a9}{#1}");X("\\redB","\\textcolor{##ff8482}{#1}");X("\\redC","\\textcolor{##f9685d}{#1}");X("\\redD","\\textcolor{##e84d39}{#1}");X("\\redE","\\textcolor{##bc2612}{#1}");X("\\maroonA","\\textcolor{##ffbde0}{#1}");X("\\maroonB","\\textcolor{##ff92c6}{#1}");X("\\maroonC","\\textcolor{##ed5fa6}{#1}");X("\\maroonD","\\textcolor{##ca337c}{#1}");X("\\maroonE","\\textcolor{##9e034e}{#1}");X("\\purpleA","\\textcolor{##ddd7ff}{#1}");X("\\purpleB","\\textcolor{##c6b9fc}{#1}");X("\\purpleC","\\textcolor{##aa87ff}{#1}");X("\\purpleD","\\textcolor{##7854ab}{#1}");X("\\purpleE","\\textcolor{##543b78}{#1}");X("\\mintA","\\textcolor{##f5f9e8}{#1}");X("\\mintB","\\textcolor{##edf2df}{#1}");X("\\mintC","\\textcolor{##e0e5cc}{#1}");X("\\grayA","\\textcolor{##f6f7f7}{#1}");X("\\grayB","\\textcolor{##f0f1f2}{#1}");X("\\grayC","\\textcolor{##e3e5e6}{#1}");X("\\grayD","\\textcolor{##d6d8da}{#1}");X("\\grayE","\\textcolor{##babec2}{#1}");X("\\grayF","\\textcolor{##888d93}{#1}");X("\\grayG","\\textcolor{##626569}{#1}");X("\\grayH","\\textcolor{##3b3e40}{#1}");X("\\grayI","\\textcolor{##21242c}{#1}");X("\\kaBlue","\\textcolor{##314453}{#1}");X("\\kaGreen","\\textcolor{##71B307}{#1}");var bT={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},f2=class{constructor(e,r,i){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=r,this.expansionCount=0,this.feed(e),this.macros=new u2(rV,r.macros),this.mode=i,this.stack=[]}feed(e){this.lexer=new X0(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&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 r,i,n;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:n,end:i}=this.consumeArg(["]"])}else({tokens:n,start:r,end:i}=this.consumeArg());return this.pushToken(new Hn("EOF",i.loc)),this.pushTokens(n),r.range(i,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],i=e&&e.length>0;i||this.consumeSpaces();var n=this.future(),o,s=0,a=0;do{if(o=this.popToken(),r.push(o),o.text==="{")++s;else if(o.text==="}"){if(--s,s===-1)throw new Pe("Extra }",o)}else if(o.text==="EOF")throw new Pe("Unexpected end of input in a macro argument, expected '"+(e&&i?e[a]:"}")+"'",o);if(e&&i)if((s===0||s===1&&e[a]==="{")&&o.text===e[a]){if(++a,a===e.length){r.splice(-a,a);break}}else a=0}while(s!==0||i);return n.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:o}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new Pe("The length of delimiters doesn't match the number of args!");for(var i=r[0],n=0;nthis.settings.maxExpand)throw new Pe("Too many expansions: infinite loop or need to increase maxExpand setting");var o=n.tokens,s=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){o=o.slice();for(var a=o.length-1;a>=0;--a){var l=o[a];if(l.text==="#"){if(a===0)throw new Pe("Incomplete placeholder at end of macro body",l);if(l=o[--a],l.text==="#")o.splice(a+1,1);else if(/^[1-9]$/.test(l.text))o.splice(a,2,...s[+l.text-1]);else throw new Pe("Not a valid argument number",l)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Hn(e)]):void 0}expandTokens(e){var r=[],i=this.stack.length;for(this.pushTokens(e);this.stack.length>i;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),r.push(n)}return r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(i=>i.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var i=this.lexer.catcodes[e];if(i!=null&&i!==13)return}var n=typeof r=="function"?r(this):r;if(typeof n=="string"){var o=0;if(n.indexOf("#")!==-1)for(var s=n.replace(/##/g,"");s.indexOf("#"+(o+1))!==-1;)++o;for(var a=new X0(n,this.settings),l=[],c=a.lex();c.text!=="EOF";)l.push(c),c=a.lex();l.reverse();var u={tokens:l,numArgs:o};return u}return n}isDefined(e){return this.macros.has(e)||$s.hasOwnProperty(e)||Dt.math.hasOwnProperty(e)||Dt.text.hasOwnProperty(e)||bT.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:$s.hasOwnProperty(e)&&!$s[e].primitive}},S7=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,T0=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"}),Jb={"\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"}},T7={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"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",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"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",\u00EA:"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",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"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",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"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",\u00F4:"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",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"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",\u00FB:"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",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"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",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"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",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"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",\u00CA:"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",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"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",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"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",\u00D4:"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",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"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",\u00DB:"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",\u00DD:"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"},I0=class t{constructor(e,r){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 f2(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new Pe("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(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 r=this.nextToken;this.consume(),this.gullet.pushToken(new Hn("}")),this.gullet.pushTokens(e);var i=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,i}parseExpression(e,r){for(var i=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(t.endOfExpression.indexOf(n.text)!==-1||r&&n.text===r||e&&$s[n.text]&&$s[n.text].infix)break;var o=this.parseAtom(r);if(o){if(o.type==="internal")continue}else break;i.push(o)}return this.mode==="text"&&this.formLigatures(i),this.handleInfixNodes(i)}handleInfixNodes(e){for(var r=-1,i,n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var a=Dt[this.mode][r].group,l=Ii.range(e),c;if(Wj.hasOwnProperty(a)){var u=a;c={type:"atom",mode:this.mode,family:u,loc:l,text:r}}else c={type:a,mode:this.mode,loc:l,text:r};s=c}else if(r.charCodeAt(0)>=128)this.settings.strict&&(C7(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),s={type:"textord",mode:"text",loc:Ii.range(e),text:r};else return null;if(this.consume(),o)for(var f=0;f-1&&t.test(String.fromCharCode(r))}}function Ji(t){let e=[],r=-1,i=0,n=0;for(;++r55295&&o<57344){let a=t.charCodeAt(r+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),n=1):s="\uFFFD"}else s=String.fromCharCode(o);s&&(e.push(t.slice(i,r),encodeURIComponent(s)),i=r+n+1,s=""),n&&(r+=n,n=0)}return e.join("")+t.slice(i)}function ET(t,e){let r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=String(e.identifier).toUpperCase(),n=Ji(i.toLowerCase()),o=t.footnoteOrder.indexOf(i),s,a=t.footnoteCounts.get(i);a===void 0?(a=0,t.footnoteOrder.push(i),s=t.footnoteOrder.length):s=o+1,a+=1,t.footnoteCounts.set(i,a);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+n,id:r+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};t.patch(e,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,c),t.applyData(e,c)}function CT(t,e){let r={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function PT(t,e){if(t.options.allowDangerousHtml){let r={type:"raw",value:e.value};return t.patch(e,r),t.applyData(e,r)}}function B0(t,e){let r=e.referenceType,i="]";if(r==="collapsed"?i+="[]":r==="full"&&(i+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+i}];let n=t.all(e),o=n[0];o&&o.type==="text"?o.value="["+o.value:n.unshift({type:"text",value:"["});let s=n[n.length-1];return s&&s.type==="text"?s.value+=i:n.push({type:"text",value:i}),n}function QT(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return B0(t,e);let n={src:Ji(i.url||""),alt:e.alt};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,o),t.applyData(e,o)}function _T(t,e){let r={src:Ji(e.url)};e.alt!==null&&e.alt!==void 0&&(r.alt=e.alt),e.title!==null&&e.title!==void 0&&(r.title=e.title);let i={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,i),t.applyData(e,i)}function AT(t,e){let r={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,r);let i={type:"element",tagName:"code",properties:{},children:[r]};return t.patch(e,i),t.applyData(e,i)}function RT(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return B0(t,e);let n={href:Ji(i.url||"")};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)}function $T(t,e){let r={href:Ji(e.url)};e.title!==null&&e.title!==void 0&&(r.title=e.title);let i={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function XT(t,e,r){let i=t.all(e),n=r?lV(r):IT(e),o={},s=[];if(typeof e.checked=="boolean"){let u=i[0],f;u&&u.type==="element"&&u.tagName==="p"?f=u:(f={type:"element",tagName:"p",properties:{},children:[]},i.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a-1&&t.test(String.fromCharCode(r))}}function Ji(t){let e=[],r=-1,i=0,n=0;for(;++r55295&&o<57344){let a=t.charCodeAt(r+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),n=1):s="\uFFFD"}else s=String.fromCharCode(o);s&&(e.push(t.slice(i,r),encodeURIComponent(s)),i=r+n+1,s=""),n&&(r+=n,n=0)}return e.join("")+t.slice(i)}function ET(t,e){let r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=String(e.identifier).toUpperCase(),n=Ji(i.toLowerCase()),o=t.footnoteOrder.indexOf(i),s,a=t.footnoteCounts.get(i);a===void 0?(a=0,t.footnoteOrder.push(i),s=t.footnoteOrder.length):s=o+1,a+=1,t.footnoteCounts.set(i,a);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+n,id:r+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};t.patch(e,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,c),t.applyData(e,c)}function CT(t,e){let r={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function PT(t,e){if(t.options.allowDangerousHtml){let r={type:"raw",value:e.value};return t.patch(e,r),t.applyData(e,r)}}function B0(t,e){let r=e.referenceType,i="]";if(r==="collapsed"?i+="[]":r==="full"&&(i+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+i}];let n=t.all(e),o=n[0];o&&o.type==="text"?o.value="["+o.value:n.unshift({type:"text",value:"["});let s=n[n.length-1];return s&&s.type==="text"?s.value+=i:n.push({type:"text",value:i}),n}function QT(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return B0(t,e);let n={src:Ji(i.url||""),alt:e.alt};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,o),t.applyData(e,o)}function _T(t,e){let r={src:Ji(e.url)};e.alt!==null&&e.alt!==void 0&&(r.alt=e.alt),e.title!==null&&e.title!==void 0&&(r.title=e.title);let i={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,i),t.applyData(e,i)}function AT(t,e){let r={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,r);let i={type:"element",tagName:"code",properties:{},children:[r]};return t.patch(e,i),t.applyData(e,i)}function RT(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return B0(t,e);let n={href:Ji(i.url||"")};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)}function $T(t,e){let r={href:Ji(e.url)};e.title!==null&&e.title!==void 0&&(r.title=e.title);let i={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function XT(t,e,r){let i=t.all(e),n=r?aV(r):IT(e),o={},s=[];if(typeof e.checked=="boolean"){let u=i[0],f;u&&u.type==="element"&&u.tagName==="p"?f=u:(f={type:"element",tagName:"p",properties:{},children:[]},i.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a1:e}function LT(t,e){let r={},i=t.all(e),n=-1;for(typeof e.start=="number"&&e.start!==1&&(r.start=e.start);++n0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function Wu(t){let e=en(t),r=La(t);if(e&&r)return{start:e,end:r}}function NT(t,e){let r=t.all(e),i=r.shift(),n=[];if(i){let s={type:"element",tagName:"thead",properties:{},children:t.wrap([i],!0)};t.patch(e.children[0],s),n.push(s)}if(r.length>0){let s={type:"element",tagName:"tbody",properties:{},children:t.wrap(r,!0)},a=en(e.children[1]),l=La(e.children[e.children.length-1]);a&&l&&(s.position={start:a,end:l}),n.push(s)}let o={type:"element",tagName:"table",properties:{},children:t.wrap(n,!0)};return t.patch(e,o),t.applyData(e,o)}function jT(t,e,r){let i=r?r.children:void 0,o=(i?i.indexOf(e):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,a=s?s.length:e.children.length,l=-1,c=[];for(;++l0,!0),i[0]),n=i.index+i[0].length,i=r.exec(e);return o.push(VT(e.slice(n),n>0,!1)),o.join("")}function VT(t,e,r){let i=0,n=t.length;if(e){let o=t.codePointAt(i);for(;o===9||o===32;)i++,o=t.codePointAt(i)}if(r){let o=t.codePointAt(n-1);for(;o===9||o===32;)n--,o=t.codePointAt(n-1)}return n>i?t.slice(i,n):""}function FT(t,e){let r={type:"text",value:qT(String(e.value))};return t.patch(e,r),t.applyData(e,r)}function WT(t,e){let r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,r),t.applyData(e,r)}var ZT={blockquote:wT,break:xT,code:kT,delete:ST,emphasis:TT,footnoteReference:ET,heading:CT,html:PT,imageReference:QT,image:_T,inlineCode:AT,linkReference:RT,link:$T,listItem:XT,list:LT,paragraph:zT,root:MT,strong:DT,table:NT,tableCell:BT,tableRow:jT,text:FT,thematicBreak:WT,toml:V0,yaml:V0,definition:V0,footnoteDefinition:V0};function V0(){}var YT=typeof self=="object"?self:globalThis,cV=(t,e)=>{let r=(n,o)=>(t.set(o,n),n),i=n=>{if(t.has(n))return t.get(n);let[o,s]=e[n];switch(o){case 0:case-1:return r(s,n);case 1:{let a=r([],n);for(let l of s)a.push(i(l));return a}case 2:{let a=r({},n);for(let[l,c]of s)a[i(l)]=i(c);return a}case 3:return r(new Date(s),n);case 4:{let{source:a,flags:l}=s;return r(new RegExp(a,l),n)}case 5:{let a=r(new Map,n);for(let[l,c]of s)a.set(i(l),i(c));return a}case 6:{let a=r(new Set,n);for(let l of s)a.add(i(l));return a}case 7:{let{name:a,message:l}=s;return r(new YT[a](l),n)}case 8:return r(BigInt(s),n);case"BigInt":return r(Object(BigInt(s)),n)}return r(new YT[o](s),n)};return i},$2=t=>cV(new Map,t)(0);var Jl="",{toString:uV}={},{keys:fV}=Object,Gu=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let r=uV.call(t).slice(8,-1);switch(r){case"Array":return[1,Jl];case"Object":return[2,Jl];case"Date":return[3,Jl];case"RegExp":return[4,Jl];case"Map":return[5,Jl];case"Set":return[6,Jl]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},Y0=([t,e])=>t===0&&(e==="function"||e==="symbol"),hV=(t,e,r,i)=>{let n=(s,a)=>{let l=i.push(s)-1;return r.set(a,l),l},o=s=>{if(r.has(s))return r.get(s);let[a,l]=Gu(s);switch(a){case 0:{let u=s;switch(l){case"bigint":a=8,u=s.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return n([-1],s)}return n([a,u],s)}case 1:{if(l)return n([l,[...s]],s);let u=[],f=n([a,u],s);for(let d of s)u.push(o(d));return f}case 2:{if(l)switch(l){case"BigInt":return n([l,s.toString()],s);case"Boolean":case"Number":case"String":return n([l,s.valueOf()],s)}if(e&&"toJSON"in s)return o(s.toJSON());let u=[],f=n([a,u],s);for(let d of fV(s))(t||!Y0(Gu(s[d])))&&u.push([o(d),o(s[d])]);return f}case 3:return n([a,s.toISOString()],s);case 4:{let{source:u,flags:f}=s;return n([a,{source:u,flags:f}],s)}case 5:{let u=[],f=n([a,u],s);for(let[d,p]of s)(t||!(Y0(Gu(d))||Y0(Gu(p))))&&u.push([o(d),o(p)]);return f}case 6:{let u=[],f=n([a,u],s);for(let d of s)(t||!Y0(Gu(d)))&&u.push(o(d));return f}}let{message:c}=s;return n([a,{name:l,message:c}],s)};return o},X2=(t,{json:e,lossy:r}={})=>{let i=[];return hV(!(e||r),!!e,new Map,i)(t),i};var wn=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?$2(X2(t,e)):structuredClone(t):(t,e)=>$2(X2(t,e));function dV(t,e){let r=[{type:"text",value:"\u21A9"}];return e>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),r}function pV(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function HT(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||dV,i=t.options.footnoteBackLabel||pV,n=t.options.footnoteLabel||"Footnotes",o=t.options.footnoteLabelTagName||"h2",s=t.options.footnoteLabelProperties||{className:["sr-only"]},a=[],l=-1;for(;++l0&&O.push({type:"text",value:" "});let C=typeof r=="string"?r:r(l,p);typeof C=="string"&&(C={type:"text",value:C}),O.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+d+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof i=="string"?i:i(l,p),className:["data-footnote-backref"]},children:Array.isArray(C)?C:[C]})}let x=u[u.length-1];if(x&&x.type==="element"&&x.tagName==="p"){let C=x.children[x.children.length-1];C&&C.type==="text"?C.value+=" ":x.children.push({type:"text",value:" "}),x.children.push(...O)}else u.push(...O);let k={type:"element",tagName:"li",properties:{id:e+"fn-"+d},children:t.wrap(u,!0)};t.patch(c,k),a.push(k)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:Be(ne({},wn(s)),{id:"footnote-label"}),children:[{type:"text",value:n}]},{type:"text",value:` +`});let c={type:"element",tagName:"li",properties:o,children:s};return t.patch(e,c),t.applyData(e,c)}function aV(t){let e=!1;if(t.type==="list"){e=t.spread||!1;let r=t.children,i=-1;for(;!e&&++i1:e}function LT(t,e){let r={},i=t.all(e),n=-1;for(typeof e.start=="number"&&e.start!==1&&(r.start=e.start);++n0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function Wu(t){let e=en(t),r=La(t);if(e&&r)return{start:e,end:r}}function NT(t,e){let r=t.all(e),i=r.shift(),n=[];if(i){let s={type:"element",tagName:"thead",properties:{},children:t.wrap([i],!0)};t.patch(e.children[0],s),n.push(s)}if(r.length>0){let s={type:"element",tagName:"tbody",properties:{},children:t.wrap(r,!0)},a=en(e.children[1]),l=La(e.children[e.children.length-1]);a&&l&&(s.position={start:a,end:l}),n.push(s)}let o={type:"element",tagName:"table",properties:{},children:t.wrap(n,!0)};return t.patch(e,o),t.applyData(e,o)}function jT(t,e,r){let i=r?r.children:void 0,o=(i?i.indexOf(e):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,a=s?s.length:e.children.length,l=-1,c=[];for(;++l0,!0),i[0]),n=i.index+i[0].length,i=r.exec(e);return o.push(VT(e.slice(n),n>0,!1)),o.join("")}function VT(t,e,r){let i=0,n=t.length;if(e){let o=t.codePointAt(i);for(;o===9||o===32;)i++,o=t.codePointAt(i)}if(r){let o=t.codePointAt(n-1);for(;o===9||o===32;)n--,o=t.codePointAt(n-1)}return n>i?t.slice(i,n):""}function FT(t,e){let r={type:"text",value:qT(String(e.value))};return t.patch(e,r),t.applyData(e,r)}function WT(t,e){let r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,r),t.applyData(e,r)}var ZT={blockquote:wT,break:xT,code:kT,delete:ST,emphasis:TT,footnoteReference:ET,heading:CT,html:PT,imageReference:QT,image:_T,inlineCode:AT,linkReference:RT,link:$T,listItem:XT,list:LT,paragraph:zT,root:MT,strong:DT,table:NT,tableCell:BT,tableRow:jT,text:FT,thematicBreak:WT,toml:V0,yaml:V0,definition:V0,footnoteDefinition:V0};function V0(){}var YT=typeof self=="object"?self:globalThis,lV=(t,e)=>{let r=(n,o)=>(t.set(o,n),n),i=n=>{if(t.has(n))return t.get(n);let[o,s]=e[n];switch(o){case 0:case-1:return r(s,n);case 1:{let a=r([],n);for(let l of s)a.push(i(l));return a}case 2:{let a=r({},n);for(let[l,c]of s)a[i(l)]=i(c);return a}case 3:return r(new Date(s),n);case 4:{let{source:a,flags:l}=s;return r(new RegExp(a,l),n)}case 5:{let a=r(new Map,n);for(let[l,c]of s)a.set(i(l),i(c));return a}case 6:{let a=r(new Set,n);for(let l of s)a.add(i(l));return a}case 7:{let{name:a,message:l}=s;return r(new YT[a](l),n)}case 8:return r(BigInt(s),n);case"BigInt":return r(Object(BigInt(s)),n)}return r(new YT[o](s),n)};return i},I2=t=>lV(new Map,t)(0);var Jl="",{toString:cV}={},{keys:uV}=Object,Gu=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let r=cV.call(t).slice(8,-1);switch(r){case"Array":return[1,Jl];case"Object":return[2,Jl];case"Date":return[3,Jl];case"RegExp":return[4,Jl];case"Map":return[5,Jl];case"Set":return[6,Jl]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},Y0=([t,e])=>t===0&&(e==="function"||e==="symbol"),fV=(t,e,r,i)=>{let n=(s,a)=>{let l=i.push(s)-1;return r.set(a,l),l},o=s=>{if(r.has(s))return r.get(s);let[a,l]=Gu(s);switch(a){case 0:{let u=s;switch(l){case"bigint":a=8,u=s.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return n([-1],s)}return n([a,u],s)}case 1:{if(l)return n([l,[...s]],s);let u=[],f=n([a,u],s);for(let d of s)u.push(o(d));return f}case 2:{if(l)switch(l){case"BigInt":return n([l,s.toString()],s);case"Boolean":case"Number":case"String":return n([l,s.valueOf()],s)}if(e&&"toJSON"in s)return o(s.toJSON());let u=[],f=n([a,u],s);for(let d of uV(s))(t||!Y0(Gu(s[d])))&&u.push([o(d),o(s[d])]);return f}case 3:return n([a,s.toISOString()],s);case 4:{let{source:u,flags:f}=s;return n([a,{source:u,flags:f}],s)}case 5:{let u=[],f=n([a,u],s);for(let[d,p]of s)(t||!(Y0(Gu(d))||Y0(Gu(p))))&&u.push([o(d),o(p)]);return f}case 6:{let u=[],f=n([a,u],s);for(let d of s)(t||!Y0(Gu(d)))&&u.push(o(d));return f}}let{message:c}=s;return n([a,{name:l,message:c}],s)};return o},L2=(t,{json:e,lossy:r}={})=>{let i=[];return fV(!(e||r),!!e,new Map,i)(t),i};var wn=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?I2(L2(t,e)):structuredClone(t):(t,e)=>I2(L2(t,e));function hV(t,e){let r=[{type:"text",value:"\u21A9"}];return e>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),r}function dV(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function HT(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||hV,i=t.options.footnoteBackLabel||dV,n=t.options.footnoteLabel||"Footnotes",o=t.options.footnoteLabelTagName||"h2",s=t.options.footnoteLabelProperties||{className:["sr-only"]},a=[],l=-1;for(;++l0&&O.push({type:"text",value:" "});let C=typeof r=="string"?r:r(l,p);typeof C=="string"&&(C={type:"text",value:C}),O.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+d+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof i=="string"?i:i(l,p),className:["data-footnote-backref"]},children:Array.isArray(C)?C:[C]})}let x=u[u.length-1];if(x&&x.type==="element"&&x.tagName==="p"){let C=x.children[x.children.length-1];C&&C.type==="text"?C.value+=" ":x.children.push({type:"text",value:" "}),x.children.push(...O)}else u.push(...O);let k={type:"element",tagName:"li",properties:{id:e+"fn-"+d},children:t.wrap(u,!0)};t.patch(c,k),a.push(k)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:Be(ne({},wn(s)),{id:"footnote-label"}),children:[{type:"text",value:n}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:t.wrap(a,!0)},{type:"text",value:` -`}]}}var I2={}.hasOwnProperty,mV={};function KT(t,e){let r=e||mV,i=new Map,n=new Map,o=new Map,s=ne(ne({},ZT),r.handlers),a={all:c,applyData:gV,definitionById:i,footnoteById:n,footnoteCounts:o,footnoteOrder:[],handlers:s,one:l,options:r,patch:OV,wrap:yV};return Wr(t,function(u){if(u.type==="definition"||u.type==="footnoteDefinition"){let f=u.type==="definition"?i:n,d=String(u.identifier).toUpperCase();f.has(d)||f.set(d,u)}}),a;function l(u,f){let d=u.type,p=a.handlers[d];if(I2.call(a.handlers,d)&&p)return p(a,u,f);if(a.options.passThrough&&a.options.passThrough.includes(d)){if("children"in u){let w=u,{children:x}=w,k=qr(w,["children"]),C=wn(k);return C.children=a.all(u),C}return wn(u)}return(a.options.unknownHandler||bV)(a,u,f)}function c(u){let f=[];if("children"in u){let d=u.children,p=-1;for(;++p0&&r.push({type:"text",value:` `}),r}function GT(t){let e=0,r=t.charCodeAt(e);for(;r===9||r===32;)e++,r=t.charCodeAt(e);return t.slice(e)}function H0(t,e){let r=KT(t,e),i=r.one(t,void 0),n=HT(r),o=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return n&&("children"in o,o.children.push({type:"text",value:` -`},n)),o}function G0(t,e){return t&&"run"in t?async function(r,i){let n=H0(r,e);await t.run(n,i)}:function(r){return H0(r,e||t)}}var Xo=class{constructor(e,r,i){this.property=e,this.normal=r,i&&(this.space=i)}};Xo.prototype.property={};Xo.prototype.normal={};Xo.prototype.space=null;function L2(t,e){let r={},i={},n=-1;for(;++nit,booleanish:()=>nr,commaOrSpaceSeparated:()=>ki,commaSeparated:()=>zs,number:()=>Ee,overloadedBoolean:()=>z2,spaceSeparated:()=>Qt});var vV=0,it=za(),nr=za(),z2=za(),Ee=za(),Qt=za(),zs=za(),ki=za();function za(){return 2**++vV}var M2=Object.keys(Ku),Ma=class extends Yr{constructor(e,r,i,n){let o=-1;if(super(e,r),JT(this,"space",n),typeof i=="number")for(;++o4&&r.slice(0,4)==="data"&&xV.test(e)){if(e.charAt(4)==="-"){let o=e.slice(5).replace(r8,TV);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=e.slice(4);if(!r8.test(o)){let s=o.replace(kV,SV);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}n=Ma}return new n(i,e)}function SV(t){return"-"+t.toLowerCase()}function TV(t){return t.charAt(1).toUpperCase()}var zo=L2([U2,D2,N2,j2,e8],"html"),rn=L2([U2,D2,N2,j2,t8],"svg");function B2(t){let e=[],r=String(t||""),i=r.indexOf(","),n=0,o=!1;for(;!o;){i===-1&&(i=r.length,o=!0);let s=r.slice(n,i).trim();(s||!o)&&e.push(s),n=i+1,i=r.indexOf(",",n)}return e}function ep(t,e){let r=e||{};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}var i8=/[#.]/g;function V2(t,e){let r=t||"",i={},n=0,o,s;for(;n-1&&oo)return{line:s+1,column:o-(s>0?r[s-1]:0)+1,offset:o}}}function n(o){let s=o&&o.line,a=o&&o.column;if(typeof s=="number"&&typeof a=="number"&&!Number.isNaN(s)&&!Number.isNaN(a)&&s-1 in r){let l=(r[s-2]||0)+a-1||0;if(l>-1&&l=55296&&t<=57343}function u8(t){return t>=56320&&t<=57343}function f8(t,e){return(t-55296)*1024+9216+e}function op(t){return t!==32&&t!==10&&t!==13&&t!==9&&t!==12&&t>=1&&t<=31||t>=127&&t<=159}function sp(t){return t>=64976&&t<=65007||BV.has(t)}var le;(function(t){t.controlCharacterInInputStream="control-character-in-input-stream",t.noncharacterInInputStream="noncharacter-in-input-stream",t.surrogateInInputStream="surrogate-in-input-stream",t.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",t.endTagWithAttributes="end-tag-with-attributes",t.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",t.unexpectedSolidusInTag="unexpected-solidus-in-tag",t.unexpectedNullCharacter="unexpected-null-character",t.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",t.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",t.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",t.missingEndTagName="missing-end-tag-name",t.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",t.unknownNamedCharacterReference="unknown-named-character-reference",t.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",t.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",t.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",t.eofBeforeTagName="eof-before-tag-name",t.eofInTag="eof-in-tag",t.missingAttributeValue="missing-attribute-value",t.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",t.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",t.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",t.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",t.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",t.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",t.missingDoctypePublicIdentifier="missing-doctype-public-identifier",t.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",t.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",t.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",t.cdataInHtmlContent="cdata-in-html-content",t.incorrectlyOpenedComment="incorrectly-opened-comment",t.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",t.eofInDoctype="eof-in-doctype",t.nestedComment="nested-comment",t.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",t.eofInComment="eof-in-comment",t.incorrectlyClosedComment="incorrectly-closed-comment",t.eofInCdata="eof-in-cdata",t.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",t.nullCharacterReference="null-character-reference",t.surrogateCharacterReference="surrogate-character-reference",t.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",t.controlCharacterReference="control-character-reference",t.noncharacterCharacterReference="noncharacter-character-reference",t.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",t.missingDoctypeName="missing-doctype-name",t.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",t.duplicateAttribute="duplicate-attribute",t.nonConformingDoctype="non-conforming-doctype",t.missingDoctype="missing-doctype",t.misplacedDoctype="misplaced-doctype",t.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",t.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",t.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",t.openElementsLeftAfterEof="open-elements-left-after-eof",t.abandonedHeadElementChild="abandoned-head-element-child",t.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",t.nestedNoscriptInHead="nested-noscript-in-head",t.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(le=le||(le={}));var qV=65536,ap=class{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=qV,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:r,col:i,offset:n}=this;return{code:e,startLine:r,endLine:r,startCol:i,endCol:i,startOffset:n,endOffset:n}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let r=this.html.charCodeAt(this.pos+1);if(u8(r))return this.pos++,this._addGap(),f8(e,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,I.EOF;return this._err(le.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,r){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,r){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(e,this.pos);for(let i=0;i=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,I.EOF;let i=this.html.charCodeAt(r);return i===I.CARRIAGE_RETURN?I.LINE_FEED:i}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,I.EOF;let e=this.html.charCodeAt(this.pos);return e===I.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,I.LINE_FEED):e===I.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,np(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===I.LINE_FEED||e===I.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){op(e)?this._err(le.controlCharacterInInputStream):sp(e)&&this._err(le.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.posht,getTokenAttr:()=>rf});var ht;(function(t){t[t.CHARACTER=0]="CHARACTER",t[t.NULL_CHARACTER=1]="NULL_CHARACTER",t[t.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",t[t.START_TAG=3]="START_TAG",t[t.END_TAG=4]="END_TAG",t[t.COMMENT=5]="COMMENT",t[t.DOCTYPE=6]="DOCTYPE",t[t.EOF=7]="EOF",t[t.HIBERNATION=8]="HIBERNATION"})(ht=ht||(ht={}));function rf(t,e){for(let r=t.attrs.length-1;r>=0;r--)if(t.attrs[r].name===e)return t.attrs[r].value;return null}var to=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(t=>t.charCodeAt(0)));var h8=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(t=>t.charCodeAt(0)));var ey,FV=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ty=(ey=String.fromCodePoint)!==null&&ey!==void 0?ey:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function ry(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=FV.get(t))!==null&&e!==void 0?e:t}var Sr;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Sr||(Sr={}));var WV=32,xn;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(xn||(xn={}));function iy(t){return t>=Sr.ZERO&&t<=Sr.NINE}function ZV(t){return t>=Sr.UPPER_A&&t<=Sr.UPPER_F||t>=Sr.LOWER_A&&t<=Sr.LOWER_F}function YV(t){return t>=Sr.UPPER_A&&t<=Sr.UPPER_Z||t>=Sr.LOWER_A&&t<=Sr.LOWER_Z||iy(t)}function HV(t){return t===Sr.EQUALS||YV(t)}var kr;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(kr||(kr={}));var Da;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Da||(Da={}));var ny=class{constructor(e,r,i){this.decodeTree=e,this.emitCodePoint=r,this.errors=i,this.state=kr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Da.Strict}startEntity(e){this.decodeMode=e,this.state=kr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case kr.EntityStart:return e.charCodeAt(r)===Sr.NUM?(this.state=kr.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=kr.NamedEntity,this.stateNamedEntity(e,r));case kr.NumericStart:return this.stateNumericStart(e,r);case kr.NumericDecimal:return this.stateNumericDecimal(e,r);case kr.NumericHex:return this.stateNumericHex(e,r);case kr.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(e.charCodeAt(r)|WV)===Sr.LOWER_X?(this.state=kr.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=kr.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,i,n){if(r!==i){let o=i-r;this.result=this.result*Math.pow(n,o)+parseInt(e.substr(r,o),n),this.consumed+=o}}stateNumericHex(e,r){let i=r;for(;r>14;for(;r>14,o!==0){if(s===Sr.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Da.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:r,decodeTree:i}=this,n=(i[r]&xn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,i){let{decodeTree:n}=this;return this.emitCodePoint(r===1?n[e]&~xn.VALUE_LENGTH:n[e+1],i),r===3&&this.emitCodePoint(n[e+2],i),i}end(){var e;switch(this.state){case kr.NamedEntity:return this.result!==0&&(this.decodeMode!==Da.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case kr.NumericDecimal:return this.emitNumericEntity(0,2);case kr.NumericHex:return this.emitNumericEntity(0,3);case kr.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case kr.EntityStart:return 0}}};function d8(t){let e="",r=new ny(t,i=>e+=ty(i));return function(n,o){let s=0,a=0;for(;(a=n.indexOf("&",a))>=0;){e+=n.slice(s,a),r.startEntity(o);let c=r.write(n,a+1);if(c<0){s=a+r.end();break}s=a+c,a=c===0?s+1:s}let l=e+n.slice(s);return e="",l}}function oy(t,e,r,i){let n=(e&xn.BRANCH_LENGTH)>>7,o=e&xn.JUMP_TABLE;if(n===0)return o!==0&&i===o?r:-1;if(o){let l=i-o;return l<0||l>=n?-1:t[r+l]-1}let s=r,a=s+n-1;for(;s<=a;){let l=s+a>>>1,c=t[l];if(ci)a=l-1;else return t[l+n]}return-1}var Zye=d8(to),Yye=d8(h8);var rc={};su(rc,{ATTRS:()=>kn,DOCUMENT_MODE:()=>Xr,NS:()=>Oe,SPECIAL_ELEMENTS:()=>sy,TAG_ID:()=>g,TAG_NAMES:()=>J,getTagID:()=>Ms,hasUnescapedText:()=>p8,isNumberedHeader:()=>nf});var Oe;(function(t){t.HTML="http://www.w3.org/1999/xhtml",t.MATHML="http://www.w3.org/1998/Math/MathML",t.SVG="http://www.w3.org/2000/svg",t.XLINK="http://www.w3.org/1999/xlink",t.XML="http://www.w3.org/XML/1998/namespace",t.XMLNS="http://www.w3.org/2000/xmlns/"})(Oe=Oe||(Oe={}));var kn;(function(t){t.TYPE="type",t.ACTION="action",t.ENCODING="encoding",t.PROMPT="prompt",t.NAME="name",t.COLOR="color",t.FACE="face",t.SIZE="size"})(kn=kn||(kn={}));var Xr;(function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"})(Xr=Xr||(Xr={}));var J;(function(t){t.A="a",t.ADDRESS="address",t.ANNOTATION_XML="annotation-xml",t.APPLET="applet",t.AREA="area",t.ARTICLE="article",t.ASIDE="aside",t.B="b",t.BASE="base",t.BASEFONT="basefont",t.BGSOUND="bgsound",t.BIG="big",t.BLOCKQUOTE="blockquote",t.BODY="body",t.BR="br",t.BUTTON="button",t.CAPTION="caption",t.CENTER="center",t.CODE="code",t.COL="col",t.COLGROUP="colgroup",t.DD="dd",t.DESC="desc",t.DETAILS="details",t.DIALOG="dialog",t.DIR="dir",t.DIV="div",t.DL="dl",t.DT="dt",t.EM="em",t.EMBED="embed",t.FIELDSET="fieldset",t.FIGCAPTION="figcaption",t.FIGURE="figure",t.FONT="font",t.FOOTER="footer",t.FOREIGN_OBJECT="foreignObject",t.FORM="form",t.FRAME="frame",t.FRAMESET="frameset",t.H1="h1",t.H2="h2",t.H3="h3",t.H4="h4",t.H5="h5",t.H6="h6",t.HEAD="head",t.HEADER="header",t.HGROUP="hgroup",t.HR="hr",t.HTML="html",t.I="i",t.IMG="img",t.IMAGE="image",t.INPUT="input",t.IFRAME="iframe",t.KEYGEN="keygen",t.LABEL="label",t.LI="li",t.LINK="link",t.LISTING="listing",t.MAIN="main",t.MALIGNMARK="malignmark",t.MARQUEE="marquee",t.MATH="math",t.MENU="menu",t.META="meta",t.MGLYPH="mglyph",t.MI="mi",t.MO="mo",t.MN="mn",t.MS="ms",t.MTEXT="mtext",t.NAV="nav",t.NOBR="nobr",t.NOFRAMES="noframes",t.NOEMBED="noembed",t.NOSCRIPT="noscript",t.OBJECT="object",t.OL="ol",t.OPTGROUP="optgroup",t.OPTION="option",t.P="p",t.PARAM="param",t.PLAINTEXT="plaintext",t.PRE="pre",t.RB="rb",t.RP="rp",t.RT="rt",t.RTC="rtc",t.RUBY="ruby",t.S="s",t.SCRIPT="script",t.SECTION="section",t.SELECT="select",t.SOURCE="source",t.SMALL="small",t.SPAN="span",t.STRIKE="strike",t.STRONG="strong",t.STYLE="style",t.SUB="sub",t.SUMMARY="summary",t.SUP="sup",t.TABLE="table",t.TBODY="tbody",t.TEMPLATE="template",t.TEXTAREA="textarea",t.TFOOT="tfoot",t.TD="td",t.TH="th",t.THEAD="thead",t.TITLE="title",t.TR="tr",t.TRACK="track",t.TT="tt",t.U="u",t.UL="ul",t.SVG="svg",t.VAR="var",t.WBR="wbr",t.XMP="xmp"})(J=J||(J={}));var g;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.A=1]="A",t[t.ADDRESS=2]="ADDRESS",t[t.ANNOTATION_XML=3]="ANNOTATION_XML",t[t.APPLET=4]="APPLET",t[t.AREA=5]="AREA",t[t.ARTICLE=6]="ARTICLE",t[t.ASIDE=7]="ASIDE",t[t.B=8]="B",t[t.BASE=9]="BASE",t[t.BASEFONT=10]="BASEFONT",t[t.BGSOUND=11]="BGSOUND",t[t.BIG=12]="BIG",t[t.BLOCKQUOTE=13]="BLOCKQUOTE",t[t.BODY=14]="BODY",t[t.BR=15]="BR",t[t.BUTTON=16]="BUTTON",t[t.CAPTION=17]="CAPTION",t[t.CENTER=18]="CENTER",t[t.CODE=19]="CODE",t[t.COL=20]="COL",t[t.COLGROUP=21]="COLGROUP",t[t.DD=22]="DD",t[t.DESC=23]="DESC",t[t.DETAILS=24]="DETAILS",t[t.DIALOG=25]="DIALOG",t[t.DIR=26]="DIR",t[t.DIV=27]="DIV",t[t.DL=28]="DL",t[t.DT=29]="DT",t[t.EM=30]="EM",t[t.EMBED=31]="EMBED",t[t.FIELDSET=32]="FIELDSET",t[t.FIGCAPTION=33]="FIGCAPTION",t[t.FIGURE=34]="FIGURE",t[t.FONT=35]="FONT",t[t.FOOTER=36]="FOOTER",t[t.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",t[t.FORM=38]="FORM",t[t.FRAME=39]="FRAME",t[t.FRAMESET=40]="FRAMESET",t[t.H1=41]="H1",t[t.H2=42]="H2",t[t.H3=43]="H3",t[t.H4=44]="H4",t[t.H5=45]="H5",t[t.H6=46]="H6",t[t.HEAD=47]="HEAD",t[t.HEADER=48]="HEADER",t[t.HGROUP=49]="HGROUP",t[t.HR=50]="HR",t[t.HTML=51]="HTML",t[t.I=52]="I",t[t.IMG=53]="IMG",t[t.IMAGE=54]="IMAGE",t[t.INPUT=55]="INPUT",t[t.IFRAME=56]="IFRAME",t[t.KEYGEN=57]="KEYGEN",t[t.LABEL=58]="LABEL",t[t.LI=59]="LI",t[t.LINK=60]="LINK",t[t.LISTING=61]="LISTING",t[t.MAIN=62]="MAIN",t[t.MALIGNMARK=63]="MALIGNMARK",t[t.MARQUEE=64]="MARQUEE",t[t.MATH=65]="MATH",t[t.MENU=66]="MENU",t[t.META=67]="META",t[t.MGLYPH=68]="MGLYPH",t[t.MI=69]="MI",t[t.MO=70]="MO",t[t.MN=71]="MN",t[t.MS=72]="MS",t[t.MTEXT=73]="MTEXT",t[t.NAV=74]="NAV",t[t.NOBR=75]="NOBR",t[t.NOFRAMES=76]="NOFRAMES",t[t.NOEMBED=77]="NOEMBED",t[t.NOSCRIPT=78]="NOSCRIPT",t[t.OBJECT=79]="OBJECT",t[t.OL=80]="OL",t[t.OPTGROUP=81]="OPTGROUP",t[t.OPTION=82]="OPTION",t[t.P=83]="P",t[t.PARAM=84]="PARAM",t[t.PLAINTEXT=85]="PLAINTEXT",t[t.PRE=86]="PRE",t[t.RB=87]="RB",t[t.RP=88]="RP",t[t.RT=89]="RT",t[t.RTC=90]="RTC",t[t.RUBY=91]="RUBY",t[t.S=92]="S",t[t.SCRIPT=93]="SCRIPT",t[t.SECTION=94]="SECTION",t[t.SELECT=95]="SELECT",t[t.SOURCE=96]="SOURCE",t[t.SMALL=97]="SMALL",t[t.SPAN=98]="SPAN",t[t.STRIKE=99]="STRIKE",t[t.STRONG=100]="STRONG",t[t.STYLE=101]="STYLE",t[t.SUB=102]="SUB",t[t.SUMMARY=103]="SUMMARY",t[t.SUP=104]="SUP",t[t.TABLE=105]="TABLE",t[t.TBODY=106]="TBODY",t[t.TEMPLATE=107]="TEMPLATE",t[t.TEXTAREA=108]="TEXTAREA",t[t.TFOOT=109]="TFOOT",t[t.TD=110]="TD",t[t.TH=111]="TH",t[t.THEAD=112]="THEAD",t[t.TITLE=113]="TITLE",t[t.TR=114]="TR",t[t.TRACK=115]="TRACK",t[t.TT=116]="TT",t[t.U=117]="U",t[t.UL=118]="UL",t[t.SVG=119]="SVG",t[t.VAR=120]="VAR",t[t.WBR=121]="WBR",t[t.XMP=122]="XMP"})(g=g||(g={}));var GV=new Map([[J.A,g.A],[J.ADDRESS,g.ADDRESS],[J.ANNOTATION_XML,g.ANNOTATION_XML],[J.APPLET,g.APPLET],[J.AREA,g.AREA],[J.ARTICLE,g.ARTICLE],[J.ASIDE,g.ASIDE],[J.B,g.B],[J.BASE,g.BASE],[J.BASEFONT,g.BASEFONT],[J.BGSOUND,g.BGSOUND],[J.BIG,g.BIG],[J.BLOCKQUOTE,g.BLOCKQUOTE],[J.BODY,g.BODY],[J.BR,g.BR],[J.BUTTON,g.BUTTON],[J.CAPTION,g.CAPTION],[J.CENTER,g.CENTER],[J.CODE,g.CODE],[J.COL,g.COL],[J.COLGROUP,g.COLGROUP],[J.DD,g.DD],[J.DESC,g.DESC],[J.DETAILS,g.DETAILS],[J.DIALOG,g.DIALOG],[J.DIR,g.DIR],[J.DIV,g.DIV],[J.DL,g.DL],[J.DT,g.DT],[J.EM,g.EM],[J.EMBED,g.EMBED],[J.FIELDSET,g.FIELDSET],[J.FIGCAPTION,g.FIGCAPTION],[J.FIGURE,g.FIGURE],[J.FONT,g.FONT],[J.FOOTER,g.FOOTER],[J.FOREIGN_OBJECT,g.FOREIGN_OBJECT],[J.FORM,g.FORM],[J.FRAME,g.FRAME],[J.FRAMESET,g.FRAMESET],[J.H1,g.H1],[J.H2,g.H2],[J.H3,g.H3],[J.H4,g.H4],[J.H5,g.H5],[J.H6,g.H6],[J.HEAD,g.HEAD],[J.HEADER,g.HEADER],[J.HGROUP,g.HGROUP],[J.HR,g.HR],[J.HTML,g.HTML],[J.I,g.I],[J.IMG,g.IMG],[J.IMAGE,g.IMAGE],[J.INPUT,g.INPUT],[J.IFRAME,g.IFRAME],[J.KEYGEN,g.KEYGEN],[J.LABEL,g.LABEL],[J.LI,g.LI],[J.LINK,g.LINK],[J.LISTING,g.LISTING],[J.MAIN,g.MAIN],[J.MALIGNMARK,g.MALIGNMARK],[J.MARQUEE,g.MARQUEE],[J.MATH,g.MATH],[J.MENU,g.MENU],[J.META,g.META],[J.MGLYPH,g.MGLYPH],[J.MI,g.MI],[J.MO,g.MO],[J.MN,g.MN],[J.MS,g.MS],[J.MTEXT,g.MTEXT],[J.NAV,g.NAV],[J.NOBR,g.NOBR],[J.NOFRAMES,g.NOFRAMES],[J.NOEMBED,g.NOEMBED],[J.NOSCRIPT,g.NOSCRIPT],[J.OBJECT,g.OBJECT],[J.OL,g.OL],[J.OPTGROUP,g.OPTGROUP],[J.OPTION,g.OPTION],[J.P,g.P],[J.PARAM,g.PARAM],[J.PLAINTEXT,g.PLAINTEXT],[J.PRE,g.PRE],[J.RB,g.RB],[J.RP,g.RP],[J.RT,g.RT],[J.RTC,g.RTC],[J.RUBY,g.RUBY],[J.S,g.S],[J.SCRIPT,g.SCRIPT],[J.SECTION,g.SECTION],[J.SELECT,g.SELECT],[J.SOURCE,g.SOURCE],[J.SMALL,g.SMALL],[J.SPAN,g.SPAN],[J.STRIKE,g.STRIKE],[J.STRONG,g.STRONG],[J.STYLE,g.STYLE],[J.SUB,g.SUB],[J.SUMMARY,g.SUMMARY],[J.SUP,g.SUP],[J.TABLE,g.TABLE],[J.TBODY,g.TBODY],[J.TEMPLATE,g.TEMPLATE],[J.TEXTAREA,g.TEXTAREA],[J.TFOOT,g.TFOOT],[J.TD,g.TD],[J.TH,g.TH],[J.THEAD,g.THEAD],[J.TITLE,g.TITLE],[J.TR,g.TR],[J.TRACK,g.TRACK],[J.TT,g.TT],[J.U,g.U],[J.UL,g.UL],[J.SVG,g.SVG],[J.VAR,g.VAR],[J.WBR,g.WBR],[J.XMP,g.XMP]]);function Ms(t){var e;return(e=GV.get(t))!==null&&e!==void 0?e:g.UNKNOWN}var Se=g,sy={[Oe.HTML]:new Set([Se.ADDRESS,Se.APPLET,Se.AREA,Se.ARTICLE,Se.ASIDE,Se.BASE,Se.BASEFONT,Se.BGSOUND,Se.BLOCKQUOTE,Se.BODY,Se.BR,Se.BUTTON,Se.CAPTION,Se.CENTER,Se.COL,Se.COLGROUP,Se.DD,Se.DETAILS,Se.DIR,Se.DIV,Se.DL,Se.DT,Se.EMBED,Se.FIELDSET,Se.FIGCAPTION,Se.FIGURE,Se.FOOTER,Se.FORM,Se.FRAME,Se.FRAMESET,Se.H1,Se.H2,Se.H3,Se.H4,Se.H5,Se.H6,Se.HEAD,Se.HEADER,Se.HGROUP,Se.HR,Se.HTML,Se.IFRAME,Se.IMG,Se.INPUT,Se.LI,Se.LINK,Se.LISTING,Se.MAIN,Se.MARQUEE,Se.MENU,Se.META,Se.NAV,Se.NOEMBED,Se.NOFRAMES,Se.NOSCRIPT,Se.OBJECT,Se.OL,Se.P,Se.PARAM,Se.PLAINTEXT,Se.PRE,Se.SCRIPT,Se.SECTION,Se.SELECT,Se.SOURCE,Se.STYLE,Se.SUMMARY,Se.TABLE,Se.TBODY,Se.TD,Se.TEMPLATE,Se.TEXTAREA,Se.TFOOT,Se.TH,Se.THEAD,Se.TITLE,Se.TR,Se.TRACK,Se.UL,Se.WBR,Se.XMP]),[Oe.MATHML]:new Set([Se.MI,Se.MO,Se.MN,Se.MS,Se.MTEXT,Se.ANNOTATION_XML]),[Oe.SVG]:new Set([Se.TITLE,Se.FOREIGN_OBJECT,Se.DESC]),[Oe.XLINK]:new Set,[Oe.XML]:new Set,[Oe.XMLNS]:new Set};function nf(t){return t===Se.H1||t===Se.H2||t===Se.H3||t===Se.H4||t===Se.H5||t===Se.H6}var KV=new Set([J.STYLE,J.SCRIPT,J.XMP,J.IFRAME,J.NOEMBED,J.NOFRAMES,J.PLAINTEXT]);function p8(t,e){return KV.has(t)||e&&t===J.NOSCRIPT}var JV=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),U;(function(t){t[t.DATA=0]="DATA",t[t.RCDATA=1]="RCDATA",t[t.RAWTEXT=2]="RAWTEXT",t[t.SCRIPT_DATA=3]="SCRIPT_DATA",t[t.PLAINTEXT=4]="PLAINTEXT",t[t.TAG_OPEN=5]="TAG_OPEN",t[t.END_TAG_OPEN=6]="END_TAG_OPEN",t[t.TAG_NAME=7]="TAG_NAME",t[t.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",t[t.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",t[t.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",t[t.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",t[t.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",t[t.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",t[t.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",t[t.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",t[t.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",t[t.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",t[t.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",t[t.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",t[t.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",t[t.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",t[t.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",t[t.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",t[t.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",t[t.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",t[t.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",t[t.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",t[t.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",t[t.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",t[t.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",t[t.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",t[t.BOGUS_COMMENT=40]="BOGUS_COMMENT",t[t.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",t[t.COMMENT_START=42]="COMMENT_START",t[t.COMMENT_START_DASH=43]="COMMENT_START_DASH",t[t.COMMENT=44]="COMMENT",t[t.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",t[t.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",t[t.COMMENT_END_DASH=49]="COMMENT_END_DASH",t[t.COMMENT_END=50]="COMMENT_END",t[t.COMMENT_END_BANG=51]="COMMENT_END_BANG",t[t.DOCTYPE=52]="DOCTYPE",t[t.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",t[t.DOCTYPE_NAME=54]="DOCTYPE_NAME",t[t.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",t[t.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",t[t.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",t[t.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",t[t.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",t[t.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",t[t.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",t[t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",t[t.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",t[t.CDATA_SECTION=68]="CDATA_SECTION",t[t.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",t[t.CDATA_SECTION_END=70]="CDATA_SECTION_END",t[t.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",t[t.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",t[t.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",t[t.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",t[t.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",t[t.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",t[t.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",t[t.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(U||(U={}));var Vt={DATA:U.DATA,RCDATA:U.RCDATA,RAWTEXT:U.RAWTEXT,SCRIPT_DATA:U.SCRIPT_DATA,PLAINTEXT:U.PLAINTEXT,CDATA_SECTION:U.CDATA_SECTION};function sf(t){return t>=I.DIGIT_0&&t<=I.DIGIT_9}function of(t){return t>=I.LATIN_CAPITAL_A&&t<=I.LATIN_CAPITAL_Z}function eq(t){return t>=I.LATIN_SMALL_A&&t<=I.LATIN_SMALL_Z}function Ds(t){return eq(t)||of(t)}function ay(t){return Ds(t)||sf(t)}function O8(t){return t>=I.LATIN_CAPITAL_A&&t<=I.LATIN_CAPITAL_F}function g8(t){return t>=I.LATIN_SMALL_A&&t<=I.LATIN_SMALL_F}function tq(t){return sf(t)||O8(t)||g8(t)}function lp(t){return t+32}function b8(t){return t===I.SPACE||t===I.LINE_FEED||t===I.TABULATION||t===I.FORM_FEED}function rq(t){return t===I.EQUALS_SIGN||ay(t)}function m8(t){return b8(t)||t===I.SOLIDUS||t===I.GREATER_THAN_SIGN}var af=class{constructor(e,r){this.options=e,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=U.DATA,this.returnState=U.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new ap(r),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,r,i){this.active=!0,this.preprocessor.write(e,r),this._runParsingLoop(),this.paused||i==null||i()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,r){this.state=e,this._callState(r)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let r=0;r0&&this._err(le.endTagWithAttributes),e.selfClosing&&this._err(le.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case ht.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ht.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ht.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:ht.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=r;return}this._createCharacterToken(e,r)}_emitCodePoint(e){let r=b8(e)?ht.WHITESPACE_CHARACTER:e===I.NULL?ht.NULL_CHARACTER:ht.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(ht.CHARACTER,e)}_matchNamedCharacterReference(e){let r=null,i=0,n=!1;for(let o=0,s=to[0];o>=0&&(o=oy(to,s,o+1,e),!(o<0));e=this._consume()){i+=1,s=to[o];let a=s&xn.VALUE_LENGTH;if(a){let l=(a>>14)-1;if(e!==I.SEMICOLON&&this._isCharacterReferenceInAttribute()&&rq(this.preprocessor.peek(1))?(r=[I.AMPERSAND],o+=l):(r=l===0?[to[o]&~xn.VALUE_LENGTH]:l===1?[to[++o]]:[to[++o],to[++o]],i=0,n=e!==I.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(i),n&&!this.preprocessor.endOfChunkHit&&this._err(le.missingSemicolonAfterCharacterReference),this._unconsume(1),r}_isCharacterReferenceInAttribute(){return this.returnState===U.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===U.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===U.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case U.DATA:{this._stateData(e);break}case U.RCDATA:{this._stateRcdata(e);break}case U.RAWTEXT:{this._stateRawtext(e);break}case U.SCRIPT_DATA:{this._stateScriptData(e);break}case U.PLAINTEXT:{this._statePlaintext(e);break}case U.TAG_OPEN:{this._stateTagOpen(e);break}case U.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case U.TAG_NAME:{this._stateTagName(e);break}case U.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case U.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case U.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case U.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case U.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case U.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case U.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case U.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case U.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case U.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case U.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case U.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case U.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case U.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case U.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case U.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case U.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case U.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case U.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case U.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case U.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case U.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case U.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case U.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case U.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case U.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case U.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case U.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case U.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case U.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case U.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case U.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case U.BOGUS_COMMENT:{this._stateBogusComment(e);break}case U.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case U.COMMENT_START:{this._stateCommentStart(e);break}case U.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case U.COMMENT:{this._stateComment(e);break}case U.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case U.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case U.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case U.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case U.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case U.COMMENT_END:{this._stateCommentEnd(e);break}case U.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case U.DOCTYPE:{this._stateDoctype(e);break}case U.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case U.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case U.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case U.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case U.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case U.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case U.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case U.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case U.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case U.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case U.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case U.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case U.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case U.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case U.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case U.CDATA_SECTION:{this._stateCdataSection(e);break}case U.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case U.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case U.CHARACTER_REFERENCE:{this._stateCharacterReference(e);break}case U.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(e);break}case U.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}case U.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(e);break}case U.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(e);break}case U.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(e);break}case U.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(e);break}case U.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case I.LESS_THAN_SIGN:{this.state=U.TAG_OPEN;break}case I.AMPERSAND:{this.returnState=U.DATA,this.state=U.CHARACTER_REFERENCE;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitCodePoint(e);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case I.AMPERSAND:{this.returnState=U.RCDATA,this.state=U.CHARACTER_REFERENCE;break}case I.LESS_THAN_SIGN:{this.state=U.RCDATA_LESS_THAN_SIGN;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Ut);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case I.LESS_THAN_SIGN:{this.state=U.RAWTEXT_LESS_THAN_SIGN;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Ut);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case I.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_LESS_THAN_SIGN;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Ut);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Ut);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Ds(e))this._createStartTagToken(),this.state=U.TAG_NAME,this._stateTagName(e);else switch(e){case I.EXCLAMATION_MARK:{this.state=U.MARKUP_DECLARATION_OPEN;break}case I.SOLIDUS:{this.state=U.END_TAG_OPEN;break}case I.QUESTION_MARK:{this._err(le.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=U.BOGUS_COMMENT,this._stateBogusComment(e);break}case I.EOF:{this._err(le.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(le.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=U.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Ds(e))this._createEndTagToken(),this.state=U.TAG_NAME,this._stateTagName(e);else switch(e){case I.GREATER_THAN_SIGN:{this._err(le.missingEndTagName),this.state=U.DATA;break}case I.EOF:{this._err(le.eofBeforeTagName),this._emitChars("");break}case I.NULL:{this._err(le.unexpectedNullCharacter),this.state=U.SCRIPT_DATA_ESCAPED,this._emitChars(Ut);break}case I.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=U.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===I.SOLIDUS?this.state=U.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ds(e)?(this._emitChars("<"),this.state=U.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=U.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Ds(e)?(this.state=U.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break}case I.NULL:{this._err(le.unexpectedNullCharacter),this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ut);break}case I.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===I.SOLIDUS?(this.state=U.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(li.SCRIPT,!1)&&m8(this.preprocessor.peek(li.SCRIPT.length))){this._emitCodePoint(e);for(let r=0;r1114111)this._err(le.characterReferenceOutsideUnicodeRange),this.charRefCode=I.REPLACEMENT_CHARACTER;else if(np(this.charRefCode))this._err(le.surrogateCharacterReference),this.charRefCode=I.REPLACEMENT_CHARACTER;else if(sp(this.charRefCode))this._err(le.noncharacterCharacterReference);else if(op(this.charRefCode)||this.charRefCode===I.CARRIAGE_RETURN){this._err(le.controlCharacterReference);let r=JV.get(this.charRefCode);r!==void 0&&(this.charRefCode=r)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}};var v8=new Set([g.DD,g.DT,g.LI,g.OPTGROUP,g.OPTION,g.P,g.RB,g.RP,g.RT,g.RTC]),y8=new Set([...v8,g.CAPTION,g.COLGROUP,g.TBODY,g.TD,g.TFOOT,g.TH,g.THEAD,g.TR]),cp=new Map([[g.APPLET,Oe.HTML],[g.CAPTION,Oe.HTML],[g.HTML,Oe.HTML],[g.MARQUEE,Oe.HTML],[g.OBJECT,Oe.HTML],[g.TABLE,Oe.HTML],[g.TD,Oe.HTML],[g.TEMPLATE,Oe.HTML],[g.TH,Oe.HTML],[g.ANNOTATION_XML,Oe.MATHML],[g.MI,Oe.MATHML],[g.MN,Oe.MATHML],[g.MO,Oe.MATHML],[g.MS,Oe.MATHML],[g.MTEXT,Oe.MATHML],[g.DESC,Oe.SVG],[g.FOREIGN_OBJECT,Oe.SVG],[g.TITLE,Oe.SVG]]),iq=[g.H1,g.H2,g.H3,g.H4,g.H5,g.H6],nq=[g.TR,g.TEMPLATE,g.HTML],oq=[g.TBODY,g.TFOOT,g.THEAD,g.TEMPLATE,g.HTML],sq=[g.TABLE,g.TEMPLATE,g.HTML],aq=[g.TD,g.TH],up=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,r,i){this.treeAdapter=r,this.handler=i,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=g.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===g.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Oe.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,r){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,r,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,r){let i=this._indexOf(e);this.items[i]=r,i===this.stackTop&&(this.current=r)}insertAfter(e,r,i){let n=this._indexOf(e)+1;this.items.splice(n,0,r),this.tagIDs.splice(n,0,i),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(e,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==Oe.HTML);this.shortenToLength(r<0?0:r)}shortenToLength(e){for(;this.stackTop>=e;){let r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop=0;i--)if(e.includes(this.tagIDs[i])&&this.treeAdapter.getNamespaceURI(this.items[i])===r)return i;return-1}clearBackTo(e,r){let i=this._indexOfTagNames(e,r);this.shortenToLength(i+1)}clearBackToTableContext(){this.clearBackTo(sq,Oe.HTML)}clearBackToTableBodyContext(){this.clearBackTo(oq,Oe.HTML)}clearBackToTableRowContext(){this.clearBackTo(nq,Oe.HTML)}remove(e){let r=this._indexOf(e);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===g.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let r=this._indexOf(e)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===g.HTML}hasInScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r],n=this.treeAdapter.getNamespaceURI(this.items[r]);if(i===e&&n===Oe.HTML)return!0;if(cp.get(i)===n)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let r=this.tagIDs[e],i=this.treeAdapter.getNamespaceURI(this.items[e]);if(nf(r)&&i===Oe.HTML)return!0;if(cp.get(r)===i)return!1}return!0}hasInListItemScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r],n=this.treeAdapter.getNamespaceURI(this.items[r]);if(i===e&&n===Oe.HTML)return!0;if((i===g.UL||i===g.OL)&&n===Oe.HTML||cp.get(i)===n)return!1}return!0}hasInButtonScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r],n=this.treeAdapter.getNamespaceURI(this.items[r]);if(i===e&&n===Oe.HTML)return!0;if(i===g.BUTTON&&n===Oe.HTML||cp.get(i)===n)return!1}return!0}hasInTableScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r];if(this.treeAdapter.getNamespaceURI(this.items[r])===Oe.HTML){if(i===e)return!0;if(i===g.TABLE||i===g.TEMPLATE||i===g.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let r=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===Oe.HTML){if(r===g.TBODY||r===g.THEAD||r===g.TFOOT)return!0;if(r===g.TABLE||r===g.HTML)return!1}}return!0}hasInSelectScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r];if(this.treeAdapter.getNamespaceURI(this.items[r])===Oe.HTML){if(i===e)return!0;if(i!==g.OPTION&&i!==g.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;v8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;y8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&y8.has(this.currentTagId);)this.pop()}};var nn;(function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"})(nn=nn||(nn={}));var w8={type:nn.Marker},fp=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,r){let i=[],n=r.length,o=this.treeAdapter.getTagName(e),s=this.treeAdapter.getNamespaceURI(e);for(let a=0;a[s.name,s.value])),o=0;for(let s=0;sn.get(l.name)===l.value)&&(o+=1,o>=3&&this.entries.splice(a.idx,1))}}insertMarker(){this.entries.unshift(w8)}pushElement(e,r){this._ensureNoahArkCondition(e),this.entries.unshift({type:nn.Element,element:e,token:r})}insertElementAfterBookmark(e,r){let i=this.entries.indexOf(this.bookmark);this.entries.splice(i,0,{type:nn.Element,element:e,token:r})}removeEntry(e){let r=this.entries.indexOf(e);r>=0&&this.entries.splice(r,1)}clearToLastMarker(){let e=this.entries.indexOf(w8);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let r=this.entries.find(i=>i.type===nn.Marker||this.treeAdapter.getTagName(i.element)===e);return r&&r.type===nn.Element?r:null}getElementEntry(e){return this.entries.find(r=>r.type===nn.Element&&r.element===e)}};function x8(t){return{nodeName:"#text",value:t,parentNode:null}}var Do={createDocument(){return{nodeName:"#document",mode:Xr.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(t,e,r){return{nodeName:t,tagName:t,attrs:r,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(t){return{nodeName:"#comment",data:t,parentNode:null}},appendChild(t,e){t.childNodes.push(e),e.parentNode=t},insertBefore(t,e,r){let i=t.childNodes.indexOf(r);t.childNodes.splice(i,0,e),e.parentNode=t},setTemplateContent(t,e){t.content=e},getTemplateContent(t){return t.content},setDocumentType(t,e,r,i){let n=t.childNodes.find(o=>o.nodeName==="#documentType");if(n)n.name=e,n.publicId=r,n.systemId=i;else{let o={nodeName:"#documentType",name:e,publicId:r,systemId:i,parentNode:null};Do.appendChild(t,o)}},setDocumentMode(t,e){t.mode=e},getDocumentMode(t){return t.mode},detachNode(t){if(t.parentNode){let e=t.parentNode.childNodes.indexOf(t);t.parentNode.childNodes.splice(e,1),t.parentNode=null}},insertText(t,e){if(t.childNodes.length>0){let r=t.childNodes[t.childNodes.length-1];if(Do.isTextNode(r)){r.value+=e;return}}Do.appendChild(t,x8(e))},insertTextBefore(t,e,r){let i=t.childNodes[t.childNodes.indexOf(r)-1];i&&Do.isTextNode(i)?i.value+=e:Do.insertBefore(t,x8(e),r)},adoptAttributes(t,e){let r=new Set(t.attrs.map(i=>i.name));for(let i=0;it.startsWith(r))}function C8(t){return t.name===S8&&t.publicId===null&&(t.systemId===null||t.systemId===lq)}function P8(t){if(t.name!==S8)return Xr.QUIRKS;let{systemId:e}=t;if(e&&e.toLowerCase()===cq)return Xr.QUIRKS;let{publicId:r}=t;if(r!==null){if(r=r.toLowerCase(),fq.has(r))return Xr.QUIRKS;let i=e===null?uq:T8;if(k8(r,i))return Xr.QUIRKS;if(i=e===null?E8:hq,k8(r,i))return Xr.LIMITED_QUIRKS}return Xr.NO_QUIRKS}var pp={};su(pp,{SVG_TAG_NAMES_ADJUSTMENT_MAP:()=>_8,adjustTokenMathMLAttrs:()=>hp,adjustTokenSVGAttrs:()=>dp,adjustTokenSVGTagName:()=>cy,adjustTokenXMLAttrs:()=>lf,causesExit:()=>ly,isIntegrationPoint:()=>uy});var Q8={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},pq="definitionurl",mq="definitionURL",Oq=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(t=>[t.toLowerCase(),t])),gq=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Oe.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Oe.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Oe.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Oe.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Oe.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Oe.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Oe.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:Oe.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:Oe.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Oe.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Oe.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Oe.XMLNS}]]),_8=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(t=>[t.toLowerCase(),t])),bq=new Set([g.B,g.BIG,g.BLOCKQUOTE,g.BODY,g.BR,g.CENTER,g.CODE,g.DD,g.DIV,g.DL,g.DT,g.EM,g.EMBED,g.H1,g.H2,g.H3,g.H4,g.H5,g.H6,g.HEAD,g.HR,g.I,g.IMG,g.LI,g.LISTING,g.MENU,g.META,g.NOBR,g.OL,g.P,g.PRE,g.RUBY,g.S,g.SMALL,g.SPAN,g.STRONG,g.STRIKE,g.SUB,g.SUP,g.TABLE,g.TT,g.U,g.UL,g.VAR]);function ly(t){let e=t.tagID;return e===g.FONT&&t.attrs.some(({name:i})=>i===kn.COLOR||i===kn.SIZE||i===kn.FACE)||bq.has(e)}function hp(t){for(let e=0;e0&&this._setContextModes(e,r)}onItemPop(e,r){var i,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(n=(i=this.treeAdapter).onItemPop)===null||n===void 0||n.call(i,e,this.openElements.current),r){let o,s;this.openElements.stackTop===0&&this.fragmentContext?(o=this.fragmentContext,s=this.fragmentContextID):{current:o,currentTagId:s}=this.openElements,this._setContextModes(o,s)}}_setContextModes(e,r){let i=e===this.document||this.treeAdapter.getNamespaceURI(e)===Oe.HTML;this.currentNotInHTML=!i,this.tokenizer.inForeignNode=!i&&!this._isIntegrationPoint(r,e)}_switchToTextParsing(e,r){this._insertElement(e,Oe.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=V.TEXT}switchToPlaintextParsing(){this.insertionMode=V.TEXT,this.originalInsertionMode=V.IN_BODY,this.tokenizer.state=Vt.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===J.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Oe.HTML))switch(this.fragmentContextID){case g.TITLE:case g.TEXTAREA:{this.tokenizer.state=Vt.RCDATA;break}case g.STYLE:case g.XMP:case g.IFRAME:case g.NOEMBED:case g.NOFRAMES:case g.NOSCRIPT:{this.tokenizer.state=Vt.RAWTEXT;break}case g.SCRIPT:{this.tokenizer.state=Vt.SCRIPT_DATA;break}case g.PLAINTEXT:{this.tokenizer.state=Vt.PLAINTEXT;break}default:}}_setDocumentType(e){let r=e.name||"",i=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,i,n),e.location){let s=this.treeAdapter.getChildNodes(this.document).find(a=>this.treeAdapter.isDocumentTypeNode(a));s&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}}_attachElementToTree(e,r){if(this.options.sourceCodeLocationInfo){let i=r&&Be(ne({},r),{startTag:r});this.treeAdapter.setNodeSourceCodeLocation(e,i)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let i=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(i,e)}}_appendElement(e,r){let i=this.treeAdapter.createElement(e.tagName,r,e.attrs);this._attachElementToTree(i,e.location)}_insertElement(e,r){let i=this.treeAdapter.createElement(e.tagName,r,e.attrs);this._attachElementToTree(i,e.location),this.openElements.push(i,e.tagID)}_insertFakeElement(e,r){let i=this.treeAdapter.createElement(e,Oe.HTML,[]);this._attachElementToTree(i,null),this.openElements.push(i,r)}_insertTemplate(e){let r=this.treeAdapter.createElement(e.tagName,Oe.HTML,e.attrs),i=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,i),this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(J.HTML,Oe.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,g.HTML)}_appendCommentNode(e,r){let i=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(r,i),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_insertCharacters(e){let r,i;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:i}=this._findFosterParentingLocation(),i?this.treeAdapter.insertTextBefore(r,e.chars,i):this.treeAdapter.insertText(r,e.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,e.chars)),!e.location)return;let n=this.treeAdapter.getChildNodes(r),o=i?n.lastIndexOf(i):n.length,s=n[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){let{endLine:l,endCol:c,endOffset:u}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:l,endCol:c,endOffset:u})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}_adoptNodes(e,r){for(let i=this.treeAdapter.getFirstChild(e);i;i=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(i),this.treeAdapter.appendChild(r,i)}_setEndLocation(e,r){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&r.location){let i=r.location,n=this.treeAdapter.getTagName(e),o=r.type===ht.END_TAG&&n===r.tagName?{endTag:ne({},i),endLine:i.endLine,endCol:i.endCol,endOffset:i.endOffset}:{endLine:i.startLine,endCol:i.startCol,endOffset:i.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let r,i;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,i=this.fragmentContextID):{current:r,currentTagId:i}=this.openElements,e.tagID===g.SVG&&this.treeAdapter.getTagName(r)===J.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===Oe.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===g.MGLYPH||e.tagID===g.MALIGNMARK)&&!this._isIntegrationPoint(i,r,Oe.HTML)}_processToken(e){switch(e.type){case ht.CHARACTER:{this.onCharacter(e);break}case ht.NULL_CHARACTER:{this.onNullCharacter(e);break}case ht.COMMENT:{this.onComment(e);break}case ht.DOCTYPE:{this.onDoctype(e);break}case ht.START_TAG:{this._processStartTag(e);break}case ht.END_TAG:{this.onEndTag(e);break}case ht.EOF:{this.onEof(e);break}case ht.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,r,i){let n=this.treeAdapter.getNamespaceURI(r),o=this.treeAdapter.getAttrList(r);return uy(e,n,o,i)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let r=this.activeFormattingElements.entries.findIndex(n=>n.type===nn.Marker||this.openElements.contains(n.element)),i=r<0?e-1:r-1;for(let n=i;n>=0;n--){let o=this.activeFormattingElements.entries[n];this._insertElement(o.token,this.treeAdapter.getNamespaceURI(o.element)),o.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=V.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(g.P),this.openElements.popUntilTagNamePopped(g.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case g.TR:{this.insertionMode=V.IN_ROW;return}case g.TBODY:case g.THEAD:case g.TFOOT:{this.insertionMode=V.IN_TABLE_BODY;return}case g.CAPTION:{this.insertionMode=V.IN_CAPTION;return}case g.COLGROUP:{this.insertionMode=V.IN_COLUMN_GROUP;return}case g.TABLE:{this.insertionMode=V.IN_TABLE;return}case g.BODY:{this.insertionMode=V.IN_BODY;return}case g.FRAMESET:{this.insertionMode=V.IN_FRAMESET;return}case g.SELECT:{this._resetInsertionModeForSelect(e);return}case g.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case g.HTML:{this.insertionMode=this.headElement?V.AFTER_HEAD:V.BEFORE_HEAD;return}case g.TD:case g.TH:{if(e>0){this.insertionMode=V.IN_CELL;return}break}case g.HEAD:{if(e>0){this.insertionMode=V.IN_HEAD;return}break}}this.insertionMode=V.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let r=e-1;r>0;r--){let i=this.openElements.tagIDs[r];if(i===g.TEMPLATE)break;if(i===g.TABLE){this.insertionMode=V.IN_SELECT_IN_TABLE;return}}this.insertionMode=V.IN_SELECT}_isElementCausesFosterParenting(e){return X8.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let r=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case g.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===Oe.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case g.TABLE:{let i=this.treeAdapter.getParentNode(r);return i?{parent:i,beforeElement:r}:{parent:this.openElements.items[e-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,e,r.beforeElement):this.treeAdapter.appendChild(r.parent,e)}_isSpecialElement(e,r){let i=this.treeAdapter.getNamespaceURI(e);return sy[i].has(r)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){eW(this,e);return}switch(this.insertionMode){case V.INITIAL:{cf(this,e);break}case V.BEFORE_HTML:{ff(this,e);break}case V.BEFORE_HEAD:{hf(this,e);break}case V.IN_HEAD:{df(this,e);break}case V.IN_HEAD_NO_SCRIPT:{pf(this,e);break}case V.AFTER_HEAD:{mf(this,e);break}case V.IN_BODY:case V.IN_CAPTION:case V.IN_CELL:case V.IN_TEMPLATE:{L8(this,e);break}case V.TEXT:case V.IN_SELECT:case V.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case V.IN_TABLE:case V.IN_TABLE_BODY:case V.IN_ROW:{fy(this,e);break}case V.IN_TABLE_TEXT:{j8(this,e);break}case V.IN_COLUMN_GROUP:{Op(this,e);break}case V.AFTER_BODY:{gp(this,e);break}case V.AFTER_AFTER_BODY:{mp(this,e);break}default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){JF(this,e);return}switch(this.insertionMode){case V.INITIAL:{cf(this,e);break}case V.BEFORE_HTML:{ff(this,e);break}case V.BEFORE_HEAD:{hf(this,e);break}case V.IN_HEAD:{df(this,e);break}case V.IN_HEAD_NO_SCRIPT:{pf(this,e);break}case V.AFTER_HEAD:{mf(this,e);break}case V.TEXT:{this._insertCharacters(e);break}case V.IN_TABLE:case V.IN_TABLE_BODY:case V.IN_ROW:{fy(this,e);break}case V.IN_COLUMN_GROUP:{Op(this,e);break}case V.AFTER_BODY:{gp(this,e);break}case V.AFTER_AFTER_BODY:{mp(this,e);break}default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){hy(this,e);return}switch(this.insertionMode){case V.INITIAL:case V.BEFORE_HTML:case V.BEFORE_HEAD:case V.IN_HEAD:case V.IN_HEAD_NO_SCRIPT:case V.AFTER_HEAD:case V.IN_BODY:case V.IN_TABLE:case V.IN_CAPTION:case V.IN_COLUMN_GROUP:case V.IN_TABLE_BODY:case V.IN_ROW:case V.IN_CELL:case V.IN_SELECT:case V.IN_SELECT_IN_TABLE:case V.IN_TEMPLATE:case V.IN_FRAMESET:case V.AFTER_FRAMESET:{hy(this,e);break}case V.IN_TABLE_TEXT:{uf(this,e);break}case V.AFTER_BODY:{Aq(this,e);break}case V.AFTER_AFTER_BODY:case V.AFTER_AFTER_FRAMESET:{Rq(this,e);break}default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case V.INITIAL:{$q(this,e);break}case V.BEFORE_HEAD:case V.IN_HEAD:case V.IN_HEAD_NO_SCRIPT:case V.AFTER_HEAD:{this._err(e,le.misplacedDoctype);break}case V.IN_TABLE_TEXT:{uf(this,e);break}default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,le.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?tW(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case V.INITIAL:{cf(this,e);break}case V.BEFORE_HTML:{Xq(this,e);break}case V.BEFORE_HEAD:{Lq(this,e);break}case V.IN_HEAD:{Sn(this,e);break}case V.IN_HEAD_NO_SCRIPT:{Dq(this,e);break}case V.AFTER_HEAD:{Nq(this,e);break}case V.IN_BODY:{Hr(this,e);break}case V.IN_TABLE:{ic(this,e);break}case V.IN_TABLE_TEXT:{uf(this,e);break}case V.IN_CAPTION:{zF(this,e);break}case V.IN_COLUMN_GROUP:{Oy(this,e);break}case V.IN_TABLE_BODY:{vp(this,e);break}case V.IN_ROW:{wp(this,e);break}case V.IN_CELL:{UF(this,e);break}case V.IN_SELECT:{q8(this,e);break}case V.IN_SELECT_IN_TABLE:{jF(this,e);break}case V.IN_TEMPLATE:{VF(this,e);break}case V.AFTER_BODY:{FF(this,e);break}case V.IN_FRAMESET:{WF(this,e);break}case V.AFTER_FRAMESET:{YF(this,e);break}case V.AFTER_AFTER_BODY:{GF(this,e);break}case V.AFTER_AFTER_FRAMESET:{KF(this,e);break}default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?rW(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case V.INITIAL:{cf(this,e);break}case V.BEFORE_HTML:{Iq(this,e);break}case V.BEFORE_HEAD:{zq(this,e);break}case V.IN_HEAD:{Mq(this,e);break}case V.IN_HEAD_NO_SCRIPT:{Uq(this,e);break}case V.AFTER_HEAD:{jq(this,e);break}case V.IN_BODY:{yp(this,e);break}case V.TEXT:{CF(this,e);break}case V.IN_TABLE:{Of(this,e);break}case V.IN_TABLE_TEXT:{uf(this,e);break}case V.IN_CAPTION:{MF(this,e);break}case V.IN_COLUMN_GROUP:{DF(this,e);break}case V.IN_TABLE_BODY:{dy(this,e);break}case V.IN_ROW:{V8(this,e);break}case V.IN_CELL:{NF(this,e);break}case V.IN_SELECT:{F8(this,e);break}case V.IN_SELECT_IN_TABLE:{BF(this,e);break}case V.IN_TEMPLATE:{qF(this,e);break}case V.AFTER_BODY:{Z8(this,e);break}case V.IN_FRAMESET:{ZF(this,e);break}case V.AFTER_FRAMESET:{HF(this,e);break}case V.AFTER_AFTER_BODY:{mp(this,e);break}default:}}onEof(e){switch(this.insertionMode){case V.INITIAL:{cf(this,e);break}case V.BEFORE_HTML:{ff(this,e);break}case V.BEFORE_HEAD:{hf(this,e);break}case V.IN_HEAD:{df(this,e);break}case V.IN_HEAD_NO_SCRIPT:{pf(this,e);break}case V.AFTER_HEAD:{mf(this,e);break}case V.IN_BODY:case V.IN_TABLE:case V.IN_CAPTION:case V.IN_COLUMN_GROUP:case V.IN_TABLE_BODY:case V.IN_ROW:case V.IN_CELL:case V.IN_SELECT:case V.IN_SELECT_IN_TABLE:{U8(this,e);break}case V.TEXT:{PF(this,e);break}case V.IN_TABLE_TEXT:{uf(this,e);break}case V.IN_TEMPLATE:{W8(this,e);break}case V.AFTER_BODY:case V.IN_FRAMESET:case V.AFTER_FRAMESET:case V.AFTER_AFTER_BODY:case V.AFTER_AFTER_FRAMESET:{my(this,e);break}default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===I.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case V.IN_HEAD:case V.IN_HEAD_NO_SCRIPT:case V.AFTER_HEAD:case V.TEXT:case V.IN_COLUMN_GROUP:case V.IN_SELECT:case V.IN_SELECT_IN_TABLE:case V.IN_FRAMESET:case V.AFTER_FRAMESET:{this._insertCharacters(e);break}case V.IN_BODY:case V.IN_CAPTION:case V.IN_CELL:case V.IN_TEMPLATE:case V.AFTER_BODY:case V.AFTER_AFTER_BODY:case V.AFTER_AFTER_FRAMESET:{I8(this,e);break}case V.IN_TABLE:case V.IN_TABLE_BODY:case V.IN_ROW:{fy(this,e);break}case V.IN_TABLE_TEXT:{N8(this,e);break}default:}}};function Tq(t,e){let r=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return r?t.openElements.contains(r.element)?t.openElements.hasInScope(e.tagID)||(r=null):(t.activeFormattingElements.removeEntry(r),r=null):D8(t,e),r}function Eq(t,e){let r=null,i=t.openElements.stackTop;for(;i>=0;i--){let n=t.openElements.items[i];if(n===e.element)break;t._isSpecialElement(n,t.openElements.tagIDs[i])&&(r=n)}return r||(t.openElements.shortenToLength(i<0?0:i),t.activeFormattingElements.removeEntry(e)),r}function Cq(t,e,r){let i=e,n=t.openElements.getCommonAncestor(e);for(let o=0,s=n;s!==r;o++,s=n){n=t.openElements.getCommonAncestor(s);let a=t.activeFormattingElements.getElementEntry(s),l=a&&o>=kq;!a||l?(l&&t.activeFormattingElements.removeEntry(a),t.openElements.remove(s)):(s=Pq(t,a),i===e&&(t.activeFormattingElements.bookmark=a),t.treeAdapter.detachNode(i),t.treeAdapter.appendChild(s,i),i=s)}return i}function Pq(t,e){let r=t.treeAdapter.getNamespaceURI(e.element),i=t.treeAdapter.createElement(e.token.tagName,r,e.token.attrs);return t.openElements.replace(e.element,i),e.element=i,i}function Qq(t,e,r){let i=t.treeAdapter.getTagName(e),n=Ms(i);if(t._isElementCausesFosterParenting(n))t._fosterParentElement(r);else{let o=t.treeAdapter.getNamespaceURI(e);n===g.TEMPLATE&&o===Oe.HTML&&(e=t.treeAdapter.getTemplateContent(e)),t.treeAdapter.appendChild(e,r)}}function _q(t,e,r){let i=t.treeAdapter.getNamespaceURI(r.element),{token:n}=r,o=t.treeAdapter.createElement(n.tagName,i,n.attrs);t._adoptNodes(e,o),t.treeAdapter.appendChild(e,o),t.activeFormattingElements.insertElementAfterBookmark(o,n),t.activeFormattingElements.removeEntry(r),t.openElements.remove(r.element),t.openElements.insertAfter(e,o,n.tagID)}function py(t,e){for(let r=0;r=r;i--)t._setEndLocation(t.openElements.items[i],e);if(!t.fragmentContext&&t.openElements.stackTop>=0){let i=t.openElements.items[0],n=t.treeAdapter.getNodeSourceCodeLocation(i);if(n&&!n.endTag&&(t._setEndLocation(i,e),t.openElements.stackTop>=1)){let o=t.openElements.items[1],s=t.treeAdapter.getNodeSourceCodeLocation(o);s&&!s.endTag&&t._setEndLocation(o,e)}}}}function $q(t,e){t._setDocumentType(e);let r=e.forceQuirks?Xr.QUIRKS:P8(e);C8(e)||t._err(e,le.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,r),t.insertionMode=V.BEFORE_HTML}function cf(t,e){t._err(e,le.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,Xr.QUIRKS),t.insertionMode=V.BEFORE_HTML,t._processToken(e)}function Xq(t,e){e.tagID===g.HTML?(t._insertElement(e,Oe.HTML),t.insertionMode=V.BEFORE_HEAD):ff(t,e)}function Iq(t,e){let r=e.tagID;(r===g.HTML||r===g.HEAD||r===g.BODY||r===g.BR)&&ff(t,e)}function ff(t,e){t._insertFakeRootElement(),t.insertionMode=V.BEFORE_HEAD,t._processToken(e)}function Lq(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.HEAD:{t._insertElement(e,Oe.HTML),t.headElement=t.openElements.current,t.insertionMode=V.IN_HEAD;break}default:hf(t,e)}}function zq(t,e){let r=e.tagID;r===g.HEAD||r===g.BODY||r===g.HTML||r===g.BR?hf(t,e):t._err(e,le.endTagWithoutMatchingOpenElement)}function hf(t,e){t._insertFakeElement(J.HEAD,g.HEAD),t.headElement=t.openElements.current,t.insertionMode=V.IN_HEAD,t._processToken(e)}function Sn(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:{t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0;break}case g.TITLE:{t._switchToTextParsing(e,Vt.RCDATA);break}case g.NOSCRIPT:{t.options.scriptingEnabled?t._switchToTextParsing(e,Vt.RAWTEXT):(t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_HEAD_NO_SCRIPT);break}case g.NOFRAMES:case g.STYLE:{t._switchToTextParsing(e,Vt.RAWTEXT);break}case g.SCRIPT:{t._switchToTextParsing(e,Vt.SCRIPT_DATA);break}case g.TEMPLATE:{t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=V.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(V.IN_TEMPLATE);break}case g.HEAD:{t._err(e,le.misplacedStartTagForHeadElement);break}default:df(t,e)}}function Mq(t,e){switch(e.tagID){case g.HEAD:{t.openElements.pop(),t.insertionMode=V.AFTER_HEAD;break}case g.BODY:case g.BR:case g.HTML:{df(t,e);break}case g.TEMPLATE:{Ua(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function Ua(t,e){t.openElements.tmplCount>0?(t.openElements.generateImpliedEndTagsThoroughly(),t.openElements.currentTagId!==g.TEMPLATE&&t._err(e,le.closingOfElementWithOpenChildElements),t.openElements.popUntilTagNamePopped(g.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode()):t._err(e,le.endTagWithoutMatchingOpenElement)}function df(t,e){t.openElements.pop(),t.insertionMode=V.AFTER_HEAD,t._processToken(e)}function Dq(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.BASEFONT:case g.BGSOUND:case g.HEAD:case g.LINK:case g.META:case g.NOFRAMES:case g.STYLE:{Sn(t,e);break}case g.NOSCRIPT:{t._err(e,le.nestedNoscriptInHead);break}default:pf(t,e)}}function Uq(t,e){switch(e.tagID){case g.NOSCRIPT:{t.openElements.pop(),t.insertionMode=V.IN_HEAD;break}case g.BR:{pf(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function pf(t,e){let r=e.type===ht.EOF?le.openElementsLeftAfterEof:le.disallowedContentInNoscriptInHead;t._err(e,r),t.openElements.pop(),t.insertionMode=V.IN_HEAD,t._processToken(e)}function Nq(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.BODY:{t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=V.IN_BODY;break}case g.FRAMESET:{t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_FRAMESET;break}case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:case g.NOFRAMES:case g.SCRIPT:case g.STYLE:case g.TEMPLATE:case g.TITLE:{t._err(e,le.abandonedHeadElementChild),t.openElements.push(t.headElement,g.HEAD),Sn(t,e),t.openElements.remove(t.headElement);break}case g.HEAD:{t._err(e,le.misplacedStartTagForHeadElement);break}default:mf(t,e)}}function jq(t,e){switch(e.tagID){case g.BODY:case g.HTML:case g.BR:{mf(t,e);break}case g.TEMPLATE:{Ua(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function mf(t,e){t._insertFakeElement(J.BODY,g.BODY),t.insertionMode=V.IN_BODY,bp(t,e)}function bp(t,e){switch(e.type){case ht.CHARACTER:{L8(t,e);break}case ht.WHITESPACE_CHARACTER:{I8(t,e);break}case ht.COMMENT:{hy(t,e);break}case ht.START_TAG:{Hr(t,e);break}case ht.END_TAG:{yp(t,e);break}case ht.EOF:{U8(t,e);break}default:}}function I8(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function L8(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function Bq(t,e){t.openElements.tmplCount===0&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}function Vq(t,e){let r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t.openElements.tmplCount===0&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(r,e.attrs))}function qq(t,e){let r=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&r&&(t.treeAdapter.detachNode(r),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_FRAMESET)}function Fq(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML)}function Wq(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),nf(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,Oe.HTML)}function Zq(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}function Yq(t,e){let r=t.openElements.tmplCount>0;(!t.formElement||r)&&(t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),r||(t.formElement=t.openElements.current))}function Hq(t,e){t.framesetOk=!1;let r=e.tagID;for(let i=t.openElements.stackTop;i>=0;i--){let n=t.openElements.tagIDs[i];if(r===g.LI&&n===g.LI||(r===g.DD||r===g.DT)&&(n===g.DD||n===g.DT)){t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.popUntilTagNamePopped(n);break}if(n!==g.ADDRESS&&n!==g.DIV&&n!==g.P&&t._isSpecialElement(t.openElements.items[i],n))break}t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML)}function Gq(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.tokenizer.state=Vt.PLAINTEXT}function Kq(t,e){t.openElements.hasInScope(g.BUTTON)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(g.BUTTON)),t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.framesetOk=!1}function Jq(t,e){let r=t.activeFormattingElements.getElementEntryInScopeWithTagName(J.A);r&&(py(t,e),t.openElements.remove(r.element),t.activeFormattingElements.removeEntry(r)),t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function eF(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function tF(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(g.NOBR)&&(py(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function rF(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}function iF(t,e){t.treeAdapter.getDocumentMode(t.document)!==Xr.QUIRKS&&t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=V.IN_TABLE}function z8(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,Oe.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function M8(t){let e=rf(t,kn.TYPE);return e!=null&&e.toLowerCase()===wq}function nF(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,Oe.HTML),M8(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}function oF(t,e){t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0}function sF(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._appendElement(e,Oe.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function aF(t,e){e.tagName=J.IMG,e.tagID=g.IMG,z8(t,e)}function lF(t,e){t._insertElement(e,Oe.HTML),t.skipNextNewLine=!0,t.tokenizer.state=Vt.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=V.TEXT}function cF(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,Vt.RAWTEXT)}function uF(t,e){t.framesetOk=!1,t._switchToTextParsing(e,Vt.RAWTEXT)}function R8(t,e){t._switchToTextParsing(e,Vt.RAWTEXT)}function fF(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===V.IN_TABLE||t.insertionMode===V.IN_CAPTION||t.insertionMode===V.IN_TABLE_BODY||t.insertionMode===V.IN_ROW||t.insertionMode===V.IN_CELL?V.IN_SELECT_IN_TABLE:V.IN_SELECT}function hF(t,e){t.openElements.currentTagId===g.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML)}function dF(t,e){t.openElements.hasInScope(g.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,Oe.HTML)}function pF(t,e){t.openElements.hasInScope(g.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(g.RTC),t._insertElement(e,Oe.HTML)}function mF(t,e){t._reconstructActiveFormattingElements(),hp(e),lf(e),e.selfClosing?t._appendElement(e,Oe.MATHML):t._insertElement(e,Oe.MATHML),e.ackSelfClosing=!0}function OF(t,e){t._reconstructActiveFormattingElements(),dp(e),lf(e),e.selfClosing?t._appendElement(e,Oe.SVG):t._insertElement(e,Oe.SVG),e.ackSelfClosing=!0}function $8(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML)}function Hr(t,e){switch(e.tagID){case g.I:case g.S:case g.B:case g.U:case g.EM:case g.TT:case g.BIG:case g.CODE:case g.FONT:case g.SMALL:case g.STRIKE:case g.STRONG:{eF(t,e);break}case g.A:{Jq(t,e);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{Wq(t,e);break}case g.P:case g.DL:case g.OL:case g.UL:case g.DIV:case g.DIR:case g.NAV:case g.MAIN:case g.MENU:case g.ASIDE:case g.CENTER:case g.FIGURE:case g.FOOTER:case g.HEADER:case g.HGROUP:case g.DIALOG:case g.DETAILS:case g.ADDRESS:case g.ARTICLE:case g.SECTION:case g.SUMMARY:case g.FIELDSET:case g.BLOCKQUOTE:case g.FIGCAPTION:{Fq(t,e);break}case g.LI:case g.DD:case g.DT:{Hq(t,e);break}case g.BR:case g.IMG:case g.WBR:case g.AREA:case g.EMBED:case g.KEYGEN:{z8(t,e);break}case g.HR:{sF(t,e);break}case g.RB:case g.RTC:{dF(t,e);break}case g.RT:case g.RP:{pF(t,e);break}case g.PRE:case g.LISTING:{Zq(t,e);break}case g.XMP:{cF(t,e);break}case g.SVG:{OF(t,e);break}case g.HTML:{Bq(t,e);break}case g.BASE:case g.LINK:case g.META:case g.STYLE:case g.TITLE:case g.SCRIPT:case g.BGSOUND:case g.BASEFONT:case g.TEMPLATE:{Sn(t,e);break}case g.BODY:{Vq(t,e);break}case g.FORM:{Yq(t,e);break}case g.NOBR:{tF(t,e);break}case g.MATH:{mF(t,e);break}case g.TABLE:{iF(t,e);break}case g.INPUT:{nF(t,e);break}case g.PARAM:case g.TRACK:case g.SOURCE:{oF(t,e);break}case g.IMAGE:{aF(t,e);break}case g.BUTTON:{Kq(t,e);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{rF(t,e);break}case g.IFRAME:{uF(t,e);break}case g.SELECT:{fF(t,e);break}case g.OPTION:case g.OPTGROUP:{hF(t,e);break}case g.NOEMBED:{R8(t,e);break}case g.FRAMESET:{qq(t,e);break}case g.TEXTAREA:{lF(t,e);break}case g.NOSCRIPT:{t.options.scriptingEnabled?R8(t,e):$8(t,e);break}case g.PLAINTEXT:{Gq(t,e);break}case g.COL:case g.TH:case g.TD:case g.TR:case g.HEAD:case g.FRAME:case g.TBODY:case g.TFOOT:case g.THEAD:case g.CAPTION:case g.COLGROUP:break;default:$8(t,e)}}function gF(t,e){if(t.openElements.hasInScope(g.BODY)&&(t.insertionMode=V.AFTER_BODY,t.options.sourceCodeLocationInfo)){let r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t._setEndLocation(r,e)}}function bF(t,e){t.openElements.hasInScope(g.BODY)&&(t.insertionMode=V.AFTER_BODY,Z8(t,e))}function yF(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r))}function vF(t){let e=t.openElements.tmplCount>0,{formElement:r}=t;e||(t.formElement=null),(r||e)&&t.openElements.hasInScope(g.FORM)&&(t.openElements.generateImpliedEndTags(),e?t.openElements.popUntilTagNamePopped(g.FORM):r&&t.openElements.remove(r))}function wF(t){t.openElements.hasInButtonScope(g.P)||t._insertFakeElement(J.P,g.P),t._closePElement()}function xF(t){t.openElements.hasInListItemScope(g.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(g.LI),t.openElements.popUntilTagNamePopped(g.LI))}function kF(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.popUntilTagNamePopped(r))}function SF(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}function TF(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r),t.activeFormattingElements.clearToLastMarker())}function EF(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(J.BR,g.BR),t.openElements.pop(),t.framesetOk=!1}function D8(t,e){let r=e.tagName,i=e.tagID;for(let n=t.openElements.stackTop;n>0;n--){let o=t.openElements.items[n],s=t.openElements.tagIDs[n];if(i===s&&(i!==g.UNKNOWN||t.treeAdapter.getTagName(o)===r)){t.openElements.generateImpliedEndTagsWithExclusion(i),t.openElements.stackTop>=n&&t.openElements.shortenToLength(n);break}if(t._isSpecialElement(o,s))break}}function yp(t,e){switch(e.tagID){case g.A:case g.B:case g.I:case g.S:case g.U:case g.EM:case g.TT:case g.BIG:case g.CODE:case g.FONT:case g.NOBR:case g.SMALL:case g.STRIKE:case g.STRONG:{py(t,e);break}case g.P:{wF(t);break}case g.DL:case g.UL:case g.OL:case g.DIR:case g.DIV:case g.NAV:case g.PRE:case g.MAIN:case g.MENU:case g.ASIDE:case g.BUTTON:case g.CENTER:case g.FIGURE:case g.FOOTER:case g.HEADER:case g.HGROUP:case g.DIALOG:case g.ADDRESS:case g.ARTICLE:case g.DETAILS:case g.SECTION:case g.SUMMARY:case g.LISTING:case g.FIELDSET:case g.BLOCKQUOTE:case g.FIGCAPTION:{yF(t,e);break}case g.LI:{xF(t);break}case g.DD:case g.DT:{kF(t,e);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{SF(t);break}case g.BR:{EF(t);break}case g.BODY:{gF(t,e);break}case g.HTML:{bF(t,e);break}case g.FORM:{vF(t);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{TF(t,e);break}case g.TEMPLATE:{Ua(t,e);break}default:D8(t,e)}}function U8(t,e){t.tmplInsertionModeStack.length>0?W8(t,e):my(t,e)}function CF(t,e){var r;e.tagID===g.SCRIPT&&((r=t.scriptHandler)===null||r===void 0||r.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode}function PF(t,e){t._err(e,le.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}function fy(t,e){if(X8.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=V.IN_TABLE_TEXT,e.type){case ht.CHARACTER:{j8(t,e);break}case ht.WHITESPACE_CHARACTER:{N8(t,e);break}}else gf(t,e)}function QF(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_CAPTION}function _F(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_COLUMN_GROUP}function AF(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(J.COLGROUP,g.COLGROUP),t.insertionMode=V.IN_COLUMN_GROUP,Oy(t,e)}function RF(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_TABLE_BODY}function $F(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(J.TBODY,g.TBODY),t.insertionMode=V.IN_TABLE_BODY,vp(t,e)}function XF(t,e){t.openElements.hasInTableScope(g.TABLE)&&(t.openElements.popUntilTagNamePopped(g.TABLE),t._resetInsertionMode(),t._processStartTag(e))}function IF(t,e){M8(e)?t._appendElement(e,Oe.HTML):gf(t,e),e.ackSelfClosing=!0}function LF(t,e){!t.formElement&&t.openElements.tmplCount===0&&(t._insertElement(e,Oe.HTML),t.formElement=t.openElements.current,t.openElements.pop())}function ic(t,e){switch(e.tagID){case g.TD:case g.TH:case g.TR:{$F(t,e);break}case g.STYLE:case g.SCRIPT:case g.TEMPLATE:{Sn(t,e);break}case g.COL:{AF(t,e);break}case g.FORM:{LF(t,e);break}case g.TABLE:{XF(t,e);break}case g.TBODY:case g.TFOOT:case g.THEAD:{RF(t,e);break}case g.INPUT:{IF(t,e);break}case g.CAPTION:{QF(t,e);break}case g.COLGROUP:{_F(t,e);break}default:gf(t,e)}}function Of(t,e){switch(e.tagID){case g.TABLE:{t.openElements.hasInTableScope(g.TABLE)&&(t.openElements.popUntilTagNamePopped(g.TABLE),t._resetInsertionMode());break}case g.TEMPLATE:{Ua(t,e);break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:case g.TBODY:case g.TD:case g.TFOOT:case g.TH:case g.THEAD:case g.TR:break;default:gf(t,e)}}function gf(t,e){let r=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,bp(t,e),t.fosterParentingEnabled=r}function N8(t,e){t.pendingCharacterTokens.push(e)}function j8(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function uf(t,e){let r=0;if(t.hasNonWhitespacePendingCharacterToken)for(;r0&&t.openElements.currentTagId===g.OPTION&&t.openElements.tagIDs[t.openElements.stackTop-1]===g.OPTGROUP&&t.openElements.pop(),t.openElements.currentTagId===g.OPTGROUP&&t.openElements.pop();break}case g.OPTION:{t.openElements.currentTagId===g.OPTION&&t.openElements.pop();break}case g.SELECT:{t.openElements.hasInSelectScope(g.SELECT)&&(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode());break}case g.TEMPLATE:{Ua(t,e);break}default:}}function jF(t,e){let r=e.tagID;r===g.CAPTION||r===g.TABLE||r===g.TBODY||r===g.TFOOT||r===g.THEAD||r===g.TR||r===g.TD||r===g.TH?(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode(),t._processStartTag(e)):q8(t,e)}function BF(t,e){let r=e.tagID;r===g.CAPTION||r===g.TABLE||r===g.TBODY||r===g.TFOOT||r===g.THEAD||r===g.TR||r===g.TD||r===g.TH?t.openElements.hasInTableScope(r)&&(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode(),t.onEndTag(e)):F8(t,e)}function VF(t,e){switch(e.tagID){case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:case g.NOFRAMES:case g.SCRIPT:case g.STYLE:case g.TEMPLATE:case g.TITLE:{Sn(t,e);break}case g.CAPTION:case g.COLGROUP:case g.TBODY:case g.TFOOT:case g.THEAD:{t.tmplInsertionModeStack[0]=V.IN_TABLE,t.insertionMode=V.IN_TABLE,ic(t,e);break}case g.COL:{t.tmplInsertionModeStack[0]=V.IN_COLUMN_GROUP,t.insertionMode=V.IN_COLUMN_GROUP,Oy(t,e);break}case g.TR:{t.tmplInsertionModeStack[0]=V.IN_TABLE_BODY,t.insertionMode=V.IN_TABLE_BODY,vp(t,e);break}case g.TD:case g.TH:{t.tmplInsertionModeStack[0]=V.IN_ROW,t.insertionMode=V.IN_ROW,wp(t,e);break}default:t.tmplInsertionModeStack[0]=V.IN_BODY,t.insertionMode=V.IN_BODY,Hr(t,e)}}function qF(t,e){e.tagID===g.TEMPLATE&&Ua(t,e)}function W8(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(g.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):my(t,e)}function FF(t,e){e.tagID===g.HTML?Hr(t,e):gp(t,e)}function Z8(t,e){var r;if(e.tagID===g.HTML){if(t.fragmentContext||(t.insertionMode=V.AFTER_AFTER_BODY),t.options.sourceCodeLocationInfo&&t.openElements.tagIDs[0]===g.HTML){t._setEndLocation(t.openElements.items[0],e);let i=t.openElements.items[1];i&&!(!((r=t.treeAdapter.getNodeSourceCodeLocation(i))===null||r===void 0)&&r.endTag)&&t._setEndLocation(i,e)}}else gp(t,e)}function gp(t,e){t.insertionMode=V.IN_BODY,bp(t,e)}function WF(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.FRAMESET:{t._insertElement(e,Oe.HTML);break}case g.FRAME:{t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0;break}case g.NOFRAMES:{Sn(t,e);break}default:}}function ZF(t,e){e.tagID===g.FRAMESET&&!t.openElements.isRootHtmlElementCurrent()&&(t.openElements.pop(),!t.fragmentContext&&t.openElements.currentTagId!==g.FRAMESET&&(t.insertionMode=V.AFTER_FRAMESET))}function YF(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.NOFRAMES:{Sn(t,e);break}default:}}function HF(t,e){e.tagID===g.HTML&&(t.insertionMode=V.AFTER_AFTER_FRAMESET)}function GF(t,e){e.tagID===g.HTML?Hr(t,e):mp(t,e)}function mp(t,e){t.insertionMode=V.IN_BODY,bp(t,e)}function KF(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.NOFRAMES:{Sn(t,e);break}default:}}function JF(t,e){e.chars=Ut,t._insertCharacters(e)}function eW(t,e){t._insertCharacters(e),t.framesetOk=!1}function Y8(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==Oe.HTML&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}function tW(t,e){if(ly(e))Y8(t),t._startTagOutsideForeignContent(e);else{let r=t._getAdjustedCurrentElement(),i=t.treeAdapter.getNamespaceURI(r);i===Oe.MATHML?hp(e):i===Oe.SVG&&(cy(e),dp(e)),lf(e),e.selfClosing?t._appendElement(e,i):t._insertElement(e,i),e.ackSelfClosing=!0}}function rW(t,e){if(e.tagID===g.P||e.tagID===g.BR){Y8(t),t._endTagOutsideForeignContent(e);return}for(let r=t.openElements.stackTop;r>0;r--){let i=t.openElements.items[r];if(t.treeAdapter.getNamespaceURI(i)===Oe.HTML){t._endTagOutsideForeignContent(e);break}let n=t.treeAdapter.getTagName(i);if(n.toLowerCase()===e.tagName){e.tagName=n,t.openElements.shortenToLength(r);break}}}var iW=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),xve=String.prototype.codePointAt!=null?(t,e)=>t.codePointAt(e):(t,e)=>(t.charCodeAt(e)&64512)===55296?(t.charCodeAt(e)-55296)*1024+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e);function gy(t,e){return function(i){let n,o=0,s="";for(;n=t.exec(i);)o!==n.index&&(s+=i.substring(o,n.index)),s+=e.get(n[0].charCodeAt(0)),o=n.index+1;return s+i.substring(o)}}var kve=gy(/[&<>'"]/g,iW),nW=gy(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),oW=gy(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var Pve=new Set([J.AREA,J.BASE,J.BASEFONT,J.BGSOUND,J.BR,J.COL,J.EMBED,J.FRAME,J.HR,J.IMG,J.INPUT,J.KEYGEN,J.LINK,J.META,J.PARAM,J.SOURCE,J.TRACK,J.WBR]);function H8(t,e){return Uo.parse(t,e)}function G8(t,e,r){typeof t=="string"&&(r=e,e=t,t=null);let i=Uo.getFragmentParser(t,r);return i.tokenizer.write(e,!0),i.getFragment()}var sW=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),K8={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function xp(t,e){let r=OW(t),i=Nl("type",{handlers:{root:aW,element:lW,text:cW,comment:eE,doctype:uW,raw:hW},unknown:dW}),n={parser:r?new Uo(K8):Uo.getFragmentParser(void 0,K8),handle(a){i(a,n)},stitches:!1,options:e||{}};i(t,n),nc(n,en());let o=r?n.parser.document:n.parser.getFragment(),s=tf(o,{file:n.options.file});return n.stitches&&Wr(s,"comment",function(a,l,c){let u=a;if(u.value.stitch&&c&&l!==void 0){let f=c.children;return f[l]=u.value.stitch,l}}),s.type==="root"&&s.children.length===1&&s.children[0].type===t.type?s.children[0]:s}function J8(t,e){let r=-1;if(t)for(;++rl&&(l=c):c&&(l!==void 0&&l>-1&&a.push(` -`.repeat(l)||" "),l=-1,a.push(c))}return a.join("")}function fE(t,e,r){return t.type==="element"?AW(t,e,r):t.type==="text"?r.whitespace==="normal"?hE(t,r):RW(t):[]}function AW(t,e,r){let i=dE(t,r),n=t.children||[],o=-1,s=[];if(_W(t))return s;let a,l;for(vy(t)||cE(t)&&Sp(e,t,cE)?l=` -`:QW(t)?(a=2,l=2):uE(t)&&(a=1,l=1);++o`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` 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 `