diff --git a/static/assets/app.js b/static/assets/app.js index 228d1bb6d..16785849a 100644 --- a/static/assets/app.js +++ b/static/assets/app.js @@ -1,38 +1,38 @@ -import{a as Ql}from"./chunk-BZUL2CAN.js";import{a as oe,b as Be,c as ws,d as ik,e as Wr,f as Oa,g as lu,h as Al,i as Ut}from"./chunk-3V74GZ4F.js";var u6=Oa((nue,c6)=>{"use strict";var Wd=Object.prototype.hasOwnProperty,l6=Object.prototype.toString,r6=Object.defineProperty,i6=Object.getOwnPropertyDescriptor,n6=function(e){return typeof Array.isArray=="function"?Array.isArray(e):l6.call(e)==="[object Array]"},o6=function(e){if(!e||l6.call(e)!=="[object Object]")return!1;var r=Wd.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&Wd.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!i)return!1;var n;for(n in e);return typeof n=="undefined"||Wd.call(e,n)},a6=function(e,r){r6&&r.name==="__proto__"?r6(e,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):e[r.name]=r.newValue},s6=function(e,r){if(r==="__proto__")if(Wd.call(e,r)){if(i6)return i6(e,r).value}else return;return e[r]};c6.exports=function t(){var e,r,i,n,o,a,s=arguments[0],l=1,c=arguments.length,u=!1;for(typeof s=="boolean"&&(u=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l{});var kO=Oa((wO,W$)=>{(function(t,e){typeof wO=="object"?W$.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 ws=="function")try{i=j$()}catch(w){}var n=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch(w){}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch(w){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function w(){}return function(C){var Q;return w.prototype=C,Q=new w,w.prototype=null,Q}}(),a={},s=a.lib={},l=s.Base=function(){return{extend:function(w){var C=o(this);return w&&C.mixIn(w),(!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 w=this.extend();return w.init.apply(w,arguments),w},init:function(){},mixIn:function(w){for(var C in w)w.hasOwnProperty(C)&&(this[C]=w[C]);w.hasOwnProperty("toString")&&(this.toString=w.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=s.WordArray=l.extend({init:function(w,C){w=this.words=w||[],C!=r?this.sigBytes=C:this.sigBytes=w.length*4},toString:function(w){return(w||f).stringify(this)},concat:function(w){var C=this.words,Q=w.words,L=this.sigBytes,N=w.sigBytes;if(this.clamp(),L%4)for(var I=0;I>>2]>>>24-I%4*8&255;C[L+I>>>2]|=H<<24-(L+I)%4*8}else for(var j=0;j>>2]=Q[j>>>2];return this.sigBytes+=N,this},clamp:function(){var w=this.words,C=this.sigBytes;w[C>>>2]&=4294967295<<32-C%4*8,w.length=e.ceil(C/4)},clone:function(){var w=l.clone.call(this);return w.words=this.words.slice(0),w},random:function(w){for(var C=[],Q=0;Q>>2]>>>24-N%4*8&255;L.push((I>>>4).toString(16)),L.push((I&15).toString(16))}return L.join("")},parse:function(w){for(var C=w.length,Q=[],L=0;L>>3]|=parseInt(w.substr(L,2),16)<<24-L%8*4;return new c.init(Q,C/2)}},d=u.Latin1={stringify:function(w){for(var C=w.words,Q=w.sigBytes,L=[],N=0;N>>2]>>>24-N%4*8&255;L.push(String.fromCharCode(I))}return L.join("")},parse:function(w){for(var C=w.length,Q=[],L=0;L>>2]|=(w.charCodeAt(L)&255)<<24-L%4*8;return new c.init(Q,C)}},p=u.Utf8={stringify:function(w){try{return decodeURIComponent(escape(d.stringify(w)))}catch(C){throw new Error("Malformed UTF-8 data")}},parse:function(w){return d.parse(unescape(encodeURIComponent(w)))}},O=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(w){typeof w=="string"&&(w=p.parse(w)),this._data.concat(w),this._nDataBytes+=w.sigBytes},_process:function(w){var C,Q=this._data,L=Q.words,N=Q.sigBytes,I=this.blockSize,H=I*4,j=N/H;w?j=e.ceil(j):j=e.max((j|0)-this._minBufferSize,0);var Y=j*I,V=e.min(Y*4,N);if(Y){for(var ne=0;ne{(function(t,e){typeof SO=="object"?V$.exports=SO=e(kO()):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,a=r.algo,s=[];(function(){for(var p=0;p<64;p++)s[p]=e.abs(e.sin(p+1))*4294967296|0})();var l=a.MD5=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,O){for(var x=0;x<16;x++){var k=O+x,w=p[k];p[k]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var C=this._hash.words,Q=p[O+0],L=p[O+1],N=p[O+2],I=p[O+3],H=p[O+4],j=p[O+5],Y=p[O+6],V=p[O+7],ne=p[O+8],ue=p[O+9],he=p[O+10],ge=p[O+11],ve=p[O+12],_e=p[O+13],ae=p[O+14],pe=p[O+15],J=C[0],_=C[1],K=C[2],se=C[3];J=c(J,_,K,se,Q,7,s[0]),se=c(se,J,_,K,L,12,s[1]),K=c(K,se,J,_,N,17,s[2]),_=c(_,K,se,J,I,22,s[3]),J=c(J,_,K,se,H,7,s[4]),se=c(se,J,_,K,j,12,s[5]),K=c(K,se,J,_,Y,17,s[6]),_=c(_,K,se,J,V,22,s[7]),J=c(J,_,K,se,ne,7,s[8]),se=c(se,J,_,K,ue,12,s[9]),K=c(K,se,J,_,he,17,s[10]),_=c(_,K,se,J,ge,22,s[11]),J=c(J,_,K,se,ve,7,s[12]),se=c(se,J,_,K,_e,12,s[13]),K=c(K,se,J,_,ae,17,s[14]),_=c(_,K,se,J,pe,22,s[15]),J=u(J,_,K,se,L,5,s[16]),se=u(se,J,_,K,Y,9,s[17]),K=u(K,se,J,_,ge,14,s[18]),_=u(_,K,se,J,Q,20,s[19]),J=u(J,_,K,se,j,5,s[20]),se=u(se,J,_,K,he,9,s[21]),K=u(K,se,J,_,pe,14,s[22]),_=u(_,K,se,J,H,20,s[23]),J=u(J,_,K,se,ue,5,s[24]),se=u(se,J,_,K,ae,9,s[25]),K=u(K,se,J,_,I,14,s[26]),_=u(_,K,se,J,ne,20,s[27]),J=u(J,_,K,se,_e,5,s[28]),se=u(se,J,_,K,N,9,s[29]),K=u(K,se,J,_,V,14,s[30]),_=u(_,K,se,J,ve,20,s[31]),J=f(J,_,K,se,j,4,s[32]),se=f(se,J,_,K,ne,11,s[33]),K=f(K,se,J,_,ge,16,s[34]),_=f(_,K,se,J,ae,23,s[35]),J=f(J,_,K,se,L,4,s[36]),se=f(se,J,_,K,H,11,s[37]),K=f(K,se,J,_,V,16,s[38]),_=f(_,K,se,J,he,23,s[39]),J=f(J,_,K,se,_e,4,s[40]),se=f(se,J,_,K,Q,11,s[41]),K=f(K,se,J,_,I,16,s[42]),_=f(_,K,se,J,Y,23,s[43]),J=f(J,_,K,se,ue,4,s[44]),se=f(se,J,_,K,ve,11,s[45]),K=f(K,se,J,_,pe,16,s[46]),_=f(_,K,se,J,N,23,s[47]),J=d(J,_,K,se,Q,6,s[48]),se=d(se,J,_,K,V,10,s[49]),K=d(K,se,J,_,ae,15,s[50]),_=d(_,K,se,J,j,21,s[51]),J=d(J,_,K,se,ve,6,s[52]),se=d(se,J,_,K,I,10,s[53]),K=d(K,se,J,_,he,15,s[54]),_=d(_,K,se,J,L,21,s[55]),J=d(J,_,K,se,ne,6,s[56]),se=d(se,J,_,K,pe,10,s[57]),K=d(K,se,J,_,Y,15,s[58]),_=d(_,K,se,J,_e,21,s[59]),J=d(J,_,K,se,H,6,s[60]),se=d(se,J,_,K,ge,10,s[61]),K=d(K,se,J,_,N,15,s[62]),_=d(_,K,se,J,ue,21,s[63]),C[0]=C[0]+J|0,C[1]=C[1]+_|0,C[2]=C[2]+K|0,C[3]=C[3]+se|0},_doFinalize:function(){var p=this._data,O=p.words,x=this._nDataBytes*8,k=p.sigBytes*8;O[k>>>5]|=128<<24-k%32;var w=e.floor(x/4294967296),C=x;O[(k+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,O[(k+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,p.sigBytes=(O.length+1)*4,this._process();for(var Q=this._hash,L=Q.words,N=0;N<4;N++){var I=L[N];L[N]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}return Q},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p}});function c(p,O,x,k,w,C,Q){var L=p+(O&x|~O&k)+w+Q;return(L<>>32-C)+O}function u(p,O,x,k,w,C,Q){var L=p+(O&k|x&~k)+w+Q;return(L<>>32-C)+O}function f(p,O,x,k,w,C,Q){var L=p+(O^x^k)+w+Q;return(L<>>32-C)+O}function d(p,O,x,k,w,C,Q){var L=p+(x^(O|~k))+w+Q;return(L<>>32-C)+O}r.MD5=o._createHelper(l),r.HmacMD5=o._createHmacHelper(l)}(Math),t.MD5})});var Y$=Oa((TO,Z$)=>{(function(t,e){typeof TO=="object"?Z$.exports=TO=e(kO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(TO,function(t){return function(e){var r=t,i=r.lib,n=i.WordArray,o=i.Hasher,a=r.algo,s=[],l=[];(function(){function f(x){for(var k=e.sqrt(x),w=2;w<=k;w++)if(!(x%w))return!1;return!0}function d(x){return(x-(x|0))*4294967296|0}for(var p=2,O=0;O<64;)f(p)&&(O<8&&(s[O]=d(e.pow(p,1/2))),l[O]=d(e.pow(p,1/3)),O++),p++})();var c=[],u=a.SHA256=o.extend({_doReset:function(){this._hash=new n.init(s.slice(0))},_doProcessBlock:function(f,d){for(var p=this._hash.words,O=p[0],x=p[1],k=p[2],w=p[3],C=p[4],Q=p[5],L=p[6],N=p[7],I=0;I<64;I++){if(I<16)c[I]=f[d+I]|0;else{var H=c[I-15],j=(H<<25|H>>>7)^(H<<14|H>>>18)^H>>>3,Y=c[I-2],V=(Y<<15|Y>>>17)^(Y<<13|Y>>>19)^Y>>>10;c[I]=j+c[I-7]+V+c[I-16]}var ne=C&Q^~C&L,ue=O&x^O&k^x&k,he=(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=N+ge+ne+l[I]+c[I],_e=he+ue;N=L,L=Q,Q=C,C=w+ve|0,w=k,k=x,x=O,O=ve+_e|0}p[0]=p[0]+O|0,p[1]=p[1]+x|0,p[2]=p[2]+k|0,p[3]=p[3]+w|0,p[4]=p[4]+C|0,p[5]=p[5]+Q|0,p[6]=p[6]+L|0,p[7]=p[7]+N|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 G$=Oa((EO,H$)=>{(function(t,e){typeof EO=="object"?H$.exports=EO=e(kO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(EO,function(t){return function(){var e=t,r=e.lib,i=r.WordArray,n=e.enc,o=n.Base64={stringify:function(s){var l=s.words,c=s.sigBytes,u=this._map;s.clamp();for(var f=[],d=0;d>>2]>>>24-d%4*8&255,O=l[d+1>>>2]>>>24-(d+1)%4*8&255,x=l[d+2>>>2]>>>24-(d+2)%4*8&255,k=p<<16|O<<8|x,w=0;w<4&&d+w*.75>>6*(3-w)&63));var C=u.charAt(64);if(C)for(;f.length%4;)f.push(C);return f.join("")},parse:function(s){var l=s.length,c=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var f=0;f>>6-d%4*2,x=p|O;u[f>>>2]|=x<<24-f%4*8,f++}return i.create(u,f)}}(),t.enc.Base64})});var XL=Oa(($L,Tw)=>{(function(t){if(typeof $L=="object"&&typeof Tw!="undefined")Tw.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,a){function s(u,f){if(!o[u]){if(!n[u]){var d=typeof ws=="function"&&ws;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(x){var k=n[u][1][x];return s(k||x)},O,O.exports,i,n,o,a)}return o[u].exports}for(var l=typeof ws=="function"&&ws,c=0;ck._averageHeight){var H=k._renderChunk();k._lastRepaint=L,H!==!1&&typeof w.afterRender=="function"&&w.afterRender()}}};C()}return a(p,[{key:"destroy",value:function(){window.cancelAnimationFrame(this._renderAnimationFrame)}},{key:"refresh",value:function(x,k){var w;if(Object.assign(this._config,c,k),!x||x.nodeType!==1)throw new Error("HyperList requires a valid DOM Node container");this._element=x;var C=this._config,Q=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(_e){return _e in C}).forEach(function(_e){var ae=C[_e],pe=u(ae);if(ae&&typeof ae!="string"&&typeof ae!="number"){var J="Invalid optional `"+_e+"`, expected string or number";throw new Error(J)}else pe&&(C[_e]=ae+"px")});var L=!!C.horizontal,N=C[L?"width":"height"];if(N){var I=u(N),H=I?!1:N.slice(-1)==="%",j=I?N:parseInt(N.replace(/px|%/,""),10),Y=window[L?"innerWidth":"innerHeight"];H?this._containerSize=Y*j/100:this._containerSize=u(N)?N:j}var V=C.scrollContainer,ne=C.itemHeight*C.total,ue=this._maxElementHeight;ne>ue&&console.warn(["HyperList: The maximum element height",ue+"px has","been exceeded; please reduce your item height."].join(" "));var he={width:""+C.width,height:V?ne+"px":""+C.height,overflow:V?"none":"auto",position:"relative"};p.mergeStyle(x,he),V&&p.mergeStyle(C.scrollContainer,{overflow:"auto"});var ge=(w={opacity:"0",position:"absolute"},s(w,L?"height":"width","1px"),s(w,L?"width":"height",ne+"px"),w);p.mergeStyle(Q,ge),this._scroller||x.appendChild(Q);var ve=this._computeScrollPadding();this._scrollPaddingBottom=ve.bottom,this._scrollPaddingTop=ve.top,this._scroller=Q,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(x){var k=this._config,w=k.generate(x),C=w.height;if(C!==void 0&&u(C)?(w=w.element,C!==this._itemHeights[x]&&(this._itemHeights[x]=C,this._computePositions(x),this._scrollHeight=this._computeScrollHeight(x))):C=this._itemHeights[x],!w||w.nodeType!==1)throw new Error("Generator did not return a DOM Node for index: "+x);f(w,k.rowClassName||"vrow");var Q=this._itemPositions[x]+this._scrollPaddingTop;return p.mergeStyle(w,s({position:"absolute"},k.horizontal?"left":"top",Q+"px")),w}},{key:"_getScrollPosition",value:function(){var x=this._config;return typeof x.overrideScrollPosition=="function"?x.overrideScrollPosition():this._element[x.horizontal?"scrollLeft":"scrollTop"]}},{key:"_renderChunk",value:function(x){var k=this._config,w=this._element,C=this._getScrollPosition(),Q=k.total,L=k.reverse?this._getReverseFrom(C):this._getFrom(C)-1;if((L<0||L-this._screenItemsLen<0)&&(L=0),!x&&this._lastFrom===L)return!1;this._lastFrom=L;var N=L+this._cachedItemsLen;(N>Q||N+this._cachedItemsLen>Q)&&(N=Q);var I=k.useFragment?document.createDocumentFragment():[],H=this._scroller;I[k.useFragment?"appendChild":"push"](H);for(var j=L;j0&&arguments[0]!==void 0?arguments[0]:1,k=this._config,w=k.total,C=k.reverse;x<1&&!C&&(x=1);for(var Q=x;Q0&&this._itemPositions[k]{(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,a=null,s=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,s!==null&&t.cancelAnimationFrame(s),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(){a=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},PM=typeof self!="undefined"?self:null,cu=typeof window!="undefined"?window:null,fu=PM||cu||fu,_M="2.0.0",Un={connecting:0,open:1,closing:2,closed:3},AM=1e4,QM=1e3,Xi={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},xo={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},t1={longpoll:"longpoll",websocket:"websocket"},$M={complete:4},kd=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})}},nk=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))}},XM=class{constructor(t,e,r){this.state=Xi.closed,this.topic=t,this.params=uu(e||{}),this.socket=r,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new kd(this,xo.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new nk(()=>{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=Xi.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>i.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=Xi.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=Xi.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=Xi.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 kd(this,xo.leave,uu({}),this.timeout).send(),this.state=Xi.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(xo.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(xo.close,t)}onError(t){return this.on(xo.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 kd(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=Xi.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(xo.close,"leave")},r=new kd(this,xo.leave,uu({}),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=Xi.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(a=>a.event===t);for(let a=0;a{let s=this.parseJSON(t.responseText);a&&a(s)},o&&(t.ontimeout=o),t.onprogress=()=>{},t.send(i),t}static xhrRequest(t,e,r,i,n,o,a,s){return t.open(e,r,!0),t.timeout=o,t.setRequestHeader("Content-Type",i),t.onerror=()=>s&&s(null),t.onreadystatechange=()=>{if(t.readyState===$M.complete&&s){let l=this.parseJSON(t.responseText);s(l)}},a&&(t.ontimeout=a),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)}`}},RM=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=Un.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=RM(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=Un.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,a=()=>{this.reqs.delete(o),i()};o=Td.request(t,this.endpointURL(),e,r,this.timeout,a,s=>{this.reqs.delete(o),this.isActive()&&n(s)}),this.reqs.add(o)}};var Sd={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,a]=JSON.parse(t);return e({join_ref:r,ref:i,topic:n,event:o,payload:a})}},binaryEncode(t){let{join_ref:e,ref:r,event:i,topic:n,payload:o}=t,a=this.META_LENGTH+e.length+r.length+n.length+i.length,s=new ArrayBuffer(this.HEADER_LENGTH+a),l=new DataView(s),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(s.byteLength+o.byteLength);return u.set(new Uint8Array(s),0),u.set(new Uint8Array(o),s.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),a=this.HEADER_LENGTH+this.META_LENGTH-1,s=r.decode(t.slice(a,a+i));a=a+i;let l=r.decode(t.slice(a,a+n));a=a+n;let c=r.decode(t.slice(a,a+o));a=a+o;let u=t.slice(a,t.byteLength);return{join_ref:s,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),a=e.getUint8(4),s=this.HEADER_LENGTH+this.META_LENGTH,l=r.decode(t.slice(s,s+i));s=s+i;let c=r.decode(t.slice(s,s+n));s=s+n;let u=r.decode(t.slice(s,s+o));s=s+o;let f=r.decode(t.slice(s,s+a));s=s+a;let d=t.slice(s,t.byteLength),p={status:f,response:d};return{join_ref:l,ref:c,topic:u,event:xo.reply,payload:p}},decodeBroadcast(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=this.HEADER_LENGTH+2,a=r.decode(t.slice(o,o+i));o=o+i;let s=r.decode(t.slice(o,o+n));o=o+n;let l=t.slice(o,t.byteLength);return{join_ref:null,ref:null,topic:a,event:s,payload:l}}},Ed=class{constructor(t,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||AM,this.transport=e.transport||fu.WebSocket||e1,this.establishedConnections=0,this.defaultEncoder=Sd.encode.bind(Sd),this.defaultDecoder=Sd.decode.bind(Sd),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==e1?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let r=null;cu&&cu.addEventListener&&(cu.addEventListener("pagehide",i=>{this.conn&&(this.disconnect(),r=this.connectClock)}),cu.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=uu(e.params||{}),this.endPoint=`${t}/${t1.websocket}`,this.vsn=e.vsn||_M,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new nk(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return e1}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=Td.appendParams(Td.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=uu(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(),QM,"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===Un.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(xo.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Un.connecting:return"connecting";case Un.open:return"open";case Un.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 XM(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:a}=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 s=0;sr.topic===t&&(r.isJoined()||r.isJoining()));e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${t}"`),e.leave())}};var Ak="consecutive-reloads",IM=10,LM=5e3,MM=1e4,zM=3e4,Qk=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading","phx-hook-loading"],ko="data-phx-component",r1="data-phx-link",DM="track-static",NM="data-phx-link-state",Ri="data-phx-ref",ba="data-phx-ref-src",$k="track-uploads",So="data-phx-upload-ref",g1="data-phx-preflighted-refs",UM="data-phx-done-refs",ok="drop-target",h1="data-phx-active-refs",Md="phx:live-file:updated",Xk="data-phx-skip",Rk="data-phx-id",ak="data-phx-prune",sk="page-loading",lk="phx-connected",hu="phx-loading",Cd="phx-no-feedback",Pd="phx-error",ck="phx-client-error",i1="phx-server-error",Rl="data-phx-parent-id",b1="data-phx-main",Ll="data-phx-root-id",d1="viewport-top",p1="viewport-bottom",qM="trigger-action",Dd="feedback-for",Nd="feedback-group",m1="phx-has-focused",BM=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],Ik=["checkbox","radio"],Ud="phx-has-submitted",va="data-phx-session",Ml=`[${va}]`,uk="data-phx-sticky",yu="data-phx-static",n1="data-phx-readonly",$l="data-phx-disabled",O1="disable-with",_d="data-phx-disable-with-restore",du="hook",jM="debounce",WM="throttle",qd="update",o1="stream",a1="data-phx-stream",VM="key",qn="phxPrivate",fk="auto-recover",Ad="phx:live-socket:debug",s1="phx:live-socket:profiling",l1="phx:live-socket:latency-sim",FM="progress",hk="mounted",ZM=1,YM=200,HM="phx-",GM=3e4,pu="debounce-trigger",mu="throttled",dk="debounce-prev-key",KM={debounce:300,throttle:300},Qd="d",Bn="s",c1="r",oi="c",pk="e",mk="r",Ok="t",JM="p",gk="stream",ez=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 Ii("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))}},Ii=(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 tz(){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)},u1=t=>typeof t=="function"?t:function(){return t},zd=t=>JSON.parse(JSON.stringify(t)),vu=(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(Ml)));return null},Ou=t=>t!==null&&typeof t=="object"&&!(t instanceof Array),iz=(t,e)=>JSON.stringify(t)===JSON.stringify(e),bk=t=>{for(let e in t)return!1;return!0},ya=(t,e)=>t&&e(t),nz=function(t,e,r,i){t.forEach(n=>{new ez(n,r.config.chunk_size,i).upload()})},Lk={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),a=this.localKey(e,r),s=o===null?i:n(o);return t.setItem(a,JSON.stringify(s)),s},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&&Lk.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}"]`)}},jn=Lk,oz={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}}},Il=oz,$d=null,yk=200,az={exec(t,e,r,i,n){let[o,a]=n||[null,{callback:n&&n.callback}];(e.charAt(0)==="["?JSON.parse(e):[[o,a]]).forEach(([l,c])=>{l===o&&a.data&&(c.data=Object.assign(c.data||{},a.data),c.callback=c.callback||a.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(),r=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth;return e.right>0&&e.bottom>0&&e.left{let c=l.getAttribute(o);if(!c)throw new Error(`expected ${o} to contain JS command on "${a}"`);r.liveSocket.execJS(l,c,t)})},exec_dispatch(t,e,r,i,n,{to:o,event:a,detail:s,bubbles:l}){s=s||{},s.dispatcher=i,de.dispatchEvent(n,a,{detail:s,bubbles:l})},exec_push(t,e,r,i,n,o){let{event:a,data:s,target:l,page_loading:c,loading:u,value:f,dispatcher:d,callback:p}=o,O={loading:u,value:f,target:l,page_loading:!!c},x=t==="change"&&d?d:i,k=l||x.getAttribute(r.binding("target"))||x;r.withinTargets(k,(w,C)=>{if(w.isConnected())if(t==="change"){let{newCid:Q,_target:L}=o;L=L||(de.isFormInput(i)?i.name:void 0),L&&(O._target=L),w.pushInput(i,C,Q,a||e,O,p)}else if(t==="submit"){let{submitter:Q}=o;w.submitForm(i,C,a||e,Q,O,p)}else w.pushEvent(t,i,C,a||e,s,O,p)})},exec_navigate(t,e,r,i,n,{href:o,replace:a}){r.liveSocket.historyRedirect(o,a?"replace":"push")},exec_patch(t,e,r,i,n,{href:o,replace:a}){r.liveSocket.pushHistoryPatch(o,a?"replace":"push",i)},exec_focus(t,e,r,i,n){window.requestAnimationFrame(()=>Il.attemptFocus(n))},exec_focus_first(t,e,r,i,n){window.requestAnimationFrame(()=>Il.focusFirstInteractive(n)||Il.focusFirst(n))},exec_push_focus(t,e,r,i,n){window.requestAnimationFrame(()=>$d=n||i)},exec_pop_focus(t,e,r,i,n){window.requestAnimationFrame(()=>{$d&&$d.focus(),$d=null})},exec_add_class(t,e,r,i,n,{names:o,transition:a,time:s}){this.addOrRemoveClasses(n,o,[],a,s,r)},exec_remove_class(t,e,r,i,n,{names:o,transition:a,time:s}){this.addOrRemoveClasses(n,[],o,a,s,r)},exec_toggle_class(t,e,r,i,n,{to:o,names:a,transition:s,time:l}){this.toggleClasses(n,a,s,r)},exec_toggle_attr(t,e,r,i,n,{attr:[o,a,s]}){n.hasAttribute(o)?s!==void 0?n.getAttribute(o)===a?this.setOrRemoveAttrs(n,[[o,s]],[]):this.setOrRemoveAttrs(n,[[o,a]],[]):this.setOrRemoveAttrs(n,[],[o]):this.setOrRemoveAttrs(n,[[o,a]],[])},exec_transition(t,e,r,i,n,{time:o,transition:a}){this.addOrRemoveClasses(n,[],[],a,o,r)},exec_toggle(t,e,r,i,n,{display:o,ins:a,outs:s,time:l}){this.toggle(t,r,n,o,a,s,l)},exec_show(t,e,r,i,n,{display:o,transition:a,time:s}){this.show(t,r,n,o,a,s)},exec_hide(t,e,r,i,n,{display:o,transition:a,time:s}){this.hide(t,r,n,o,a,s)},exec_set_attr(t,e,r,i,n,{attr:[o,a]}){this.setOrRemoveAttrs(n,[[o,a]],[])},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,a){a=a||yk;let[s,l,c]=n||[[],[],[]],[u,f,d]=o||[[],[],[]];if(s.length>0||u.length>0)if(this.isVisible(r)){let p=()=>{this.addOrRemoveClasses(r,f,s.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(a,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",x=>x.style.display=O),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(r,s,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(r,c,l))})};r.dispatchEvent(new Event("phx:show-start")),e.transition(a,p,()=>{this.addOrRemoveClasses(r,[],s.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"))})},toggleClasses(t,e,r,i,n){window.requestAnimationFrame(()=>{let[o,a]=de.getSticky(t,"classes",[[],[]]),s=e.filter(c=>o.indexOf(c)<0&&!t.classList.contains(c)),l=e.filter(c=>a.indexOf(c)<0&&t.classList.contains(c));this.addOrRemoveClasses(t,s,l,r,i,n)})},addOrRemoveClasses(t,e,r,i,n,o){n=n||yk;let[a,s,l]=i||[[],[],[]];if(a.length>0){let c=()=>{this.addOrRemoveClasses(t,s,[].concat(a).concat(l)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(t,a,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(t,l,s))})},u=()=>this.addOrRemoveClasses(t,e.concat(l),r.concat(a).concat(s));return o.transition(n,c,u)}window.requestAnimationFrame(()=>{let[c,u]=de.getSticky(t,"classes",[[],[]]),f=e.filter(x=>c.indexOf(x)<0&&!t.classList.contains(x)),d=r.filter(x=>u.indexOf(x)<0&&t.classList.contains(x)),p=c.filter(x=>r.indexOf(x)<0).concat(f),O=u.filter(x=>e.indexOf(x)<0).concat(d);de.putSticky(t,"classes",x=>(x.classList.remove(...O),x.classList.add(...p),[p,O]))})},setOrRemoveAttrs(t,e,r){let[i,n]=de.getSticky(t,"attrs",[[],[]]),o=e.map(([l,c])=>l).concat(r),a=i.filter(([l,c])=>!o.includes(l)).concat(e),s=n.filter(l=>!o.includes(l)).concat(r);de.putSticky(t,"attrs",l=>(s.forEach(c=>l.removeAttribute(c)),a.forEach(([c,u])=>l.setAttribute(c,u)),[a,s]))},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"}},Vr=az,Gi={byId(t){return document.getElementById(t)||Ii(`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(So)!==null},isAutoUpload(t){return t.hasAttribute("data-phx-auto-upload")},findUploadInputs(t){let e=t.id,r=this.all(document,`input[type="file"][${So}][form="${e}"]`);return this.all(t,`input[type="file"][${So}]`).concat(r)},findComponentNodeList(t,e){return this.filterWithinSameLiveView(this.all(t,`[${ko}="${e}"]`),t)},isPhxDestroyed(t){return!!(t.id&&Gi.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(va,""),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,`[${uk}]`)},findPhxChildren(t,e){return this.all(t,`${Ml}[${Rl}="${e}"]`)},findParentCIDs(t,e){let r=new Set(e),i=e.reduce((n,o)=>{let a=`[${ko}="${o}"] [${ko}]`;return this.filterWithinSameLiveView(this.all(t,a),t).map(s=>parseInt(s.getAttribute(ko))).forEach(s=>n.delete(s)),n},r);return i.size===0?new Set(e):i},filterWithinSameLiveView(t,e){return e.querySelector(Ml)?t.filter(r=>this.withinSameLiveView(r,e)):t},withinSameLiveView(t,e){for(;t=t.parentNode;){if(t.isSameNode(e))return!0;if(t.getAttribute(va)!==null)return!1}},private(t,e){return t[qn]&&t[qn][e]},deletePrivate(t,e){t[qn]&&delete t[qn][e]},putPrivate(t,e,r){t[qn]||(t[qn]={}),t[qn][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[qn]&&(t[qn]=e[qn])},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,a,s){let l=t.getAttribute(r),c=t.getAttribute(n);l===""&&(l=i),c===""&&(c=o);let u=l||c;switch(u){case null:return s();case"blur":this.once(t,"debounce-blur")&&t.addEventListener("blur",()=>s());return;default:let f=parseInt(u),d=()=>c?this.deletePrivate(t,mu):s(),p=this.incCycle(t,pu,d);if(isNaN(f))return Ii(`invalid throttle/debounce value: ${u}`);if(c){let x=!1;if(e.type==="keydown"){let k=this.private(t,dk);this.putPrivate(t,dk,e.key),x=k!==e.key}if(!x&&this.private(t,mu))return!1;{s();let k=setTimeout(()=>{a()&&this.triggerCycle(t,pu)},f);this.putPrivate(t,mu,k)}}else setTimeout(()=>{a()&&this.triggerCycle(t,pu,p)},f);let O=t.form;O&&this.once(O,"bind-debounce")&&O.addEventListener("submit",()=>{Array.from(new FormData(O).entries(),([x])=>{let k=O.querySelector(`[name="${x}"]`);this.incCycle(k,pu),this.deletePrivate(k,mu)})}),this.once(t,"bind-debounce")&&t.addEventListener("blur",()=>{clearTimeout(this.private(t,mu)),this.triggerCycle(t,pu)})}},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")},isFeedbackContainer(t,e){return t.hasAttribute&&t.hasAttribute(e)},maybeHideFeedback(t,e,r,i){let n={};e.forEach(o=>{if(!t.contains(o))return;let a=o.getAttribute(r);if(!a){Vr.addOrRemoveClasses(o,[],[Cd]);return}if(n[a]===!0){this.hideFeedback(o);return}n[a]=this.shouldHideFeedback(t,a,i),n[a]===!0&&this.hideFeedback(o)})},hideFeedback(t){Vr.addOrRemoveClasses(t,[Cd],[])},shouldHideFeedback(t,e,r){let i=`[name="${e}"], +import{a as Ql}from"./chunk-BZUL2CAN.js";import{a as oe,b as Be,c as ws,d as ik,e as Wr,f as Oa,g as lu,h as Al,i as Ut}from"./chunk-3V74GZ4F.js";var u6=Oa((oue,c6)=>{"use strict";var Wd=Object.prototype.hasOwnProperty,l6=Object.prototype.toString,r6=Object.defineProperty,i6=Object.getOwnPropertyDescriptor,n6=function(e){return typeof Array.isArray=="function"?Array.isArray(e):l6.call(e)==="[object Array]"},o6=function(e){if(!e||l6.call(e)!=="[object Object]")return!1;var r=Wd.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&Wd.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!i)return!1;var n;for(n in e);return typeof n=="undefined"||Wd.call(e,n)},a6=function(e,r){r6&&r.name==="__proto__"?r6(e,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):e[r.name]=r.newValue},s6=function(e,r){if(r==="__proto__")if(Wd.call(e,r)){if(i6)return i6(e,r).value}else return;return e[r]};c6.exports=function t(){var e,r,i,n,o,a,s=arguments[0],l=1,c=arguments.length,u=!1;for(typeof s=="boolean"&&(u=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l{});var kO=Oa((wO,W$)=>{(function(t,e){typeof wO=="object"?W$.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 ws=="function")try{i=j$()}catch(w){}var n=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch(w){}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch(w){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function w(){}return function(C){var Q;return w.prototype=C,Q=new w,w.prototype=null,Q}}(),a={},s=a.lib={},l=s.Base=function(){return{extend:function(w){var C=o(this);return w&&C.mixIn(w),(!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 w=this.extend();return w.init.apply(w,arguments),w},init:function(){},mixIn:function(w){for(var C in w)w.hasOwnProperty(C)&&(this[C]=w[C]);w.hasOwnProperty("toString")&&(this.toString=w.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=s.WordArray=l.extend({init:function(w,C){w=this.words=w||[],C!=r?this.sigBytes=C:this.sigBytes=w.length*4},toString:function(w){return(w||f).stringify(this)},concat:function(w){var C=this.words,Q=w.words,L=this.sigBytes,N=w.sigBytes;if(this.clamp(),L%4)for(var I=0;I>>2]>>>24-I%4*8&255;C[L+I>>>2]|=H<<24-(L+I)%4*8}else for(var j=0;j>>2]=Q[j>>>2];return this.sigBytes+=N,this},clamp:function(){var w=this.words,C=this.sigBytes;w[C>>>2]&=4294967295<<32-C%4*8,w.length=e.ceil(C/4)},clone:function(){var w=l.clone.call(this);return w.words=this.words.slice(0),w},random:function(w){for(var C=[],Q=0;Q>>2]>>>24-N%4*8&255;L.push((I>>>4).toString(16)),L.push((I&15).toString(16))}return L.join("")},parse:function(w){for(var C=w.length,Q=[],L=0;L>>3]|=parseInt(w.substr(L,2),16)<<24-L%8*4;return new c.init(Q,C/2)}},d=u.Latin1={stringify:function(w){for(var C=w.words,Q=w.sigBytes,L=[],N=0;N>>2]>>>24-N%4*8&255;L.push(String.fromCharCode(I))}return L.join("")},parse:function(w){for(var C=w.length,Q=[],L=0;L>>2]|=(w.charCodeAt(L)&255)<<24-L%4*8;return new c.init(Q,C)}},p=u.Utf8={stringify:function(w){try{return decodeURIComponent(escape(d.stringify(w)))}catch(C){throw new Error("Malformed UTF-8 data")}},parse:function(w){return d.parse(unescape(encodeURIComponent(w)))}},O=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(w){typeof w=="string"&&(w=p.parse(w)),this._data.concat(w),this._nDataBytes+=w.sigBytes},_process:function(w){var C,Q=this._data,L=Q.words,N=Q.sigBytes,I=this.blockSize,H=I*4,j=N/H;w?j=e.ceil(j):j=e.max((j|0)-this._minBufferSize,0);var Y=j*I,V=e.min(Y*4,N);if(Y){for(var ne=0;ne{(function(t,e){typeof SO=="object"?V$.exports=SO=e(kO()):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,a=r.algo,s=[];(function(){for(var p=0;p<64;p++)s[p]=e.abs(e.sin(p+1))*4294967296|0})();var l=a.MD5=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,O){for(var x=0;x<16;x++){var k=O+x,w=p[k];p[k]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var C=this._hash.words,Q=p[O+0],L=p[O+1],N=p[O+2],I=p[O+3],H=p[O+4],j=p[O+5],Y=p[O+6],V=p[O+7],ne=p[O+8],ue=p[O+9],he=p[O+10],ge=p[O+11],ve=p[O+12],_e=p[O+13],ae=p[O+14],pe=p[O+15],J=C[0],_=C[1],K=C[2],se=C[3];J=c(J,_,K,se,Q,7,s[0]),se=c(se,J,_,K,L,12,s[1]),K=c(K,se,J,_,N,17,s[2]),_=c(_,K,se,J,I,22,s[3]),J=c(J,_,K,se,H,7,s[4]),se=c(se,J,_,K,j,12,s[5]),K=c(K,se,J,_,Y,17,s[6]),_=c(_,K,se,J,V,22,s[7]),J=c(J,_,K,se,ne,7,s[8]),se=c(se,J,_,K,ue,12,s[9]),K=c(K,se,J,_,he,17,s[10]),_=c(_,K,se,J,ge,22,s[11]),J=c(J,_,K,se,ve,7,s[12]),se=c(se,J,_,K,_e,12,s[13]),K=c(K,se,J,_,ae,17,s[14]),_=c(_,K,se,J,pe,22,s[15]),J=u(J,_,K,se,L,5,s[16]),se=u(se,J,_,K,Y,9,s[17]),K=u(K,se,J,_,ge,14,s[18]),_=u(_,K,se,J,Q,20,s[19]),J=u(J,_,K,se,j,5,s[20]),se=u(se,J,_,K,he,9,s[21]),K=u(K,se,J,_,pe,14,s[22]),_=u(_,K,se,J,H,20,s[23]),J=u(J,_,K,se,ue,5,s[24]),se=u(se,J,_,K,ae,9,s[25]),K=u(K,se,J,_,I,14,s[26]),_=u(_,K,se,J,ne,20,s[27]),J=u(J,_,K,se,_e,5,s[28]),se=u(se,J,_,K,N,9,s[29]),K=u(K,se,J,_,V,14,s[30]),_=u(_,K,se,J,ve,20,s[31]),J=f(J,_,K,se,j,4,s[32]),se=f(se,J,_,K,ne,11,s[33]),K=f(K,se,J,_,ge,16,s[34]),_=f(_,K,se,J,ae,23,s[35]),J=f(J,_,K,se,L,4,s[36]),se=f(se,J,_,K,H,11,s[37]),K=f(K,se,J,_,V,16,s[38]),_=f(_,K,se,J,he,23,s[39]),J=f(J,_,K,se,_e,4,s[40]),se=f(se,J,_,K,Q,11,s[41]),K=f(K,se,J,_,I,16,s[42]),_=f(_,K,se,J,Y,23,s[43]),J=f(J,_,K,se,ue,4,s[44]),se=f(se,J,_,K,ve,11,s[45]),K=f(K,se,J,_,pe,16,s[46]),_=f(_,K,se,J,N,23,s[47]),J=d(J,_,K,se,Q,6,s[48]),se=d(se,J,_,K,V,10,s[49]),K=d(K,se,J,_,ae,15,s[50]),_=d(_,K,se,J,j,21,s[51]),J=d(J,_,K,se,ve,6,s[52]),se=d(se,J,_,K,I,10,s[53]),K=d(K,se,J,_,he,15,s[54]),_=d(_,K,se,J,L,21,s[55]),J=d(J,_,K,se,ne,6,s[56]),se=d(se,J,_,K,pe,10,s[57]),K=d(K,se,J,_,Y,15,s[58]),_=d(_,K,se,J,_e,21,s[59]),J=d(J,_,K,se,H,6,s[60]),se=d(se,J,_,K,ge,10,s[61]),K=d(K,se,J,_,N,15,s[62]),_=d(_,K,se,J,ue,21,s[63]),C[0]=C[0]+J|0,C[1]=C[1]+_|0,C[2]=C[2]+K|0,C[3]=C[3]+se|0},_doFinalize:function(){var p=this._data,O=p.words,x=this._nDataBytes*8,k=p.sigBytes*8;O[k>>>5]|=128<<24-k%32;var w=e.floor(x/4294967296),C=x;O[(k+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,O[(k+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,p.sigBytes=(O.length+1)*4,this._process();for(var Q=this._hash,L=Q.words,N=0;N<4;N++){var I=L[N];L[N]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}return Q},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p}});function c(p,O,x,k,w,C,Q){var L=p+(O&x|~O&k)+w+Q;return(L<>>32-C)+O}function u(p,O,x,k,w,C,Q){var L=p+(O&k|x&~k)+w+Q;return(L<>>32-C)+O}function f(p,O,x,k,w,C,Q){var L=p+(O^x^k)+w+Q;return(L<>>32-C)+O}function d(p,O,x,k,w,C,Q){var L=p+(x^(O|~k))+w+Q;return(L<>>32-C)+O}r.MD5=o._createHelper(l),r.HmacMD5=o._createHmacHelper(l)}(Math),t.MD5})});var Y$=Oa((TO,Z$)=>{(function(t,e){typeof TO=="object"?Z$.exports=TO=e(kO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(TO,function(t){return function(e){var r=t,i=r.lib,n=i.WordArray,o=i.Hasher,a=r.algo,s=[],l=[];(function(){function f(x){for(var k=e.sqrt(x),w=2;w<=k;w++)if(!(x%w))return!1;return!0}function d(x){return(x-(x|0))*4294967296|0}for(var p=2,O=0;O<64;)f(p)&&(O<8&&(s[O]=d(e.pow(p,1/2))),l[O]=d(e.pow(p,1/3)),O++),p++})();var c=[],u=a.SHA256=o.extend({_doReset:function(){this._hash=new n.init(s.slice(0))},_doProcessBlock:function(f,d){for(var p=this._hash.words,O=p[0],x=p[1],k=p[2],w=p[3],C=p[4],Q=p[5],L=p[6],N=p[7],I=0;I<64;I++){if(I<16)c[I]=f[d+I]|0;else{var H=c[I-15],j=(H<<25|H>>>7)^(H<<14|H>>>18)^H>>>3,Y=c[I-2],V=(Y<<15|Y>>>17)^(Y<<13|Y>>>19)^Y>>>10;c[I]=j+c[I-7]+V+c[I-16]}var ne=C&Q^~C&L,ue=O&x^O&k^x&k,he=(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=N+ge+ne+l[I]+c[I],_e=he+ue;N=L,L=Q,Q=C,C=w+ve|0,w=k,k=x,x=O,O=ve+_e|0}p[0]=p[0]+O|0,p[1]=p[1]+x|0,p[2]=p[2]+k|0,p[3]=p[3]+w|0,p[4]=p[4]+C|0,p[5]=p[5]+Q|0,p[6]=p[6]+L|0,p[7]=p[7]+N|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 G$=Oa((EO,H$)=>{(function(t,e){typeof EO=="object"?H$.exports=EO=e(kO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(EO,function(t){return function(){var e=t,r=e.lib,i=r.WordArray,n=e.enc,o=n.Base64={stringify:function(s){var l=s.words,c=s.sigBytes,u=this._map;s.clamp();for(var f=[],d=0;d>>2]>>>24-d%4*8&255,O=l[d+1>>>2]>>>24-(d+1)%4*8&255,x=l[d+2>>>2]>>>24-(d+2)%4*8&255,k=p<<16|O<<8|x,w=0;w<4&&d+w*.75>>6*(3-w)&63));var C=u.charAt(64);if(C)for(;f.length%4;)f.push(C);return f.join("")},parse:function(s){var l=s.length,c=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var f=0;f>>6-d%4*2,x=p|O;u[f>>>2]|=x<<24-f%4*8,f++}return i.create(u,f)}}(),t.enc.Base64})});var RL=Oa((XL,Tw)=>{(function(t){if(typeof XL=="object"&&typeof Tw!="undefined")Tw.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,a){function s(u,f){if(!o[u]){if(!n[u]){var d=typeof ws=="function"&&ws;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(x){var k=n[u][1][x];return s(k||x)},O,O.exports,i,n,o,a)}return o[u].exports}for(var l=typeof ws=="function"&&ws,c=0;ck._averageHeight){var H=k._renderChunk();k._lastRepaint=L,H!==!1&&typeof w.afterRender=="function"&&w.afterRender()}}};C()}return a(p,[{key:"destroy",value:function(){window.cancelAnimationFrame(this._renderAnimationFrame)}},{key:"refresh",value:function(x,k){var w;if(Object.assign(this._config,c,k),!x||x.nodeType!==1)throw new Error("HyperList requires a valid DOM Node container");this._element=x;var C=this._config,Q=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(_e){return _e in C}).forEach(function(_e){var ae=C[_e],pe=u(ae);if(ae&&typeof ae!="string"&&typeof ae!="number"){var J="Invalid optional `"+_e+"`, expected string or number";throw new Error(J)}else pe&&(C[_e]=ae+"px")});var L=!!C.horizontal,N=C[L?"width":"height"];if(N){var I=u(N),H=I?!1:N.slice(-1)==="%",j=I?N:parseInt(N.replace(/px|%/,""),10),Y=window[L?"innerWidth":"innerHeight"];H?this._containerSize=Y*j/100:this._containerSize=u(N)?N:j}var V=C.scrollContainer,ne=C.itemHeight*C.total,ue=this._maxElementHeight;ne>ue&&console.warn(["HyperList: The maximum element height",ue+"px has","been exceeded; please reduce your item height."].join(" "));var he={width:""+C.width,height:V?ne+"px":""+C.height,overflow:V?"none":"auto",position:"relative"};p.mergeStyle(x,he),V&&p.mergeStyle(C.scrollContainer,{overflow:"auto"});var ge=(w={opacity:"0",position:"absolute"},s(w,L?"height":"width","1px"),s(w,L?"width":"height",ne+"px"),w);p.mergeStyle(Q,ge),this._scroller||x.appendChild(Q);var ve=this._computeScrollPadding();this._scrollPaddingBottom=ve.bottom,this._scrollPaddingTop=ve.top,this._scroller=Q,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(x){var k=this._config,w=k.generate(x),C=w.height;if(C!==void 0&&u(C)?(w=w.element,C!==this._itemHeights[x]&&(this._itemHeights[x]=C,this._computePositions(x),this._scrollHeight=this._computeScrollHeight(x))):C=this._itemHeights[x],!w||w.nodeType!==1)throw new Error("Generator did not return a DOM Node for index: "+x);f(w,k.rowClassName||"vrow");var Q=this._itemPositions[x]+this._scrollPaddingTop;return p.mergeStyle(w,s({position:"absolute"},k.horizontal?"left":"top",Q+"px")),w}},{key:"_getScrollPosition",value:function(){var x=this._config;return typeof x.overrideScrollPosition=="function"?x.overrideScrollPosition():this._element[x.horizontal?"scrollLeft":"scrollTop"]}},{key:"_renderChunk",value:function(x){var k=this._config,w=this._element,C=this._getScrollPosition(),Q=k.total,L=k.reverse?this._getReverseFrom(C):this._getFrom(C)-1;if((L<0||L-this._screenItemsLen<0)&&(L=0),!x&&this._lastFrom===L)return!1;this._lastFrom=L;var N=L+this._cachedItemsLen;(N>Q||N+this._cachedItemsLen>Q)&&(N=Q);var I=k.useFragment?document.createDocumentFragment():[],H=this._scroller;I[k.useFragment?"appendChild":"push"](H);for(var j=L;j0&&arguments[0]!==void 0?arguments[0]:1,k=this._config,w=k.total,C=k.reverse;x<1&&!C&&(x=1);for(var Q=x;Q0&&this._itemPositions[k]{(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,a=null,s=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,s!==null&&t.cancelAnimationFrame(s),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(){a=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},_M=typeof self!="undefined"?self:null,cu=typeof window!="undefined"?window:null,fu=_M||cu||fu,AM="2.0.0",Un={connecting:0,open:1,closing:2,closed:3},QM=1e4,$M=1e3,Xi={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},xo={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},t1={longpoll:"longpoll",websocket:"websocket"},XM={complete:4},kd=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})}},nk=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))}},RM=class{constructor(t,e,r){this.state=Xi.closed,this.topic=t,this.params=uu(e||{}),this.socket=r,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new kd(this,xo.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new nk(()=>{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=Xi.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>i.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=Xi.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=Xi.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=Xi.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 kd(this,xo.leave,uu({}),this.timeout).send(),this.state=Xi.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(xo.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(xo.close,t)}onError(t){return this.on(xo.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 kd(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=Xi.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(xo.close,"leave")},r=new kd(this,xo.leave,uu({}),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=Xi.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(a=>a.event===t);for(let a=0;a{let s=this.parseJSON(t.responseText);a&&a(s)},o&&(t.ontimeout=o),t.onprogress=()=>{},t.send(i),t}static xhrRequest(t,e,r,i,n,o,a,s){return t.open(e,r,!0),t.timeout=o,t.setRequestHeader("Content-Type",i),t.onerror=()=>s&&s(null),t.onreadystatechange=()=>{if(t.readyState===XM.complete&&s){let l=this.parseJSON(t.responseText);s(l)}},a&&(t.ontimeout=a),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)}`}},IM=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=Un.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=IM(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=Un.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,a=()=>{this.reqs.delete(o),i()};o=Td.request(t,this.endpointURL(),e,r,this.timeout,a,s=>{this.reqs.delete(o),this.isActive()&&n(s)}),this.reqs.add(o)}};var Sd={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,a]=JSON.parse(t);return e({join_ref:r,ref:i,topic:n,event:o,payload:a})}},binaryEncode(t){let{join_ref:e,ref:r,event:i,topic:n,payload:o}=t,a=this.META_LENGTH+e.length+r.length+n.length+i.length,s=new ArrayBuffer(this.HEADER_LENGTH+a),l=new DataView(s),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(s.byteLength+o.byteLength);return u.set(new Uint8Array(s),0),u.set(new Uint8Array(o),s.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),a=this.HEADER_LENGTH+this.META_LENGTH-1,s=r.decode(t.slice(a,a+i));a=a+i;let l=r.decode(t.slice(a,a+n));a=a+n;let c=r.decode(t.slice(a,a+o));a=a+o;let u=t.slice(a,t.byteLength);return{join_ref:s,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),a=e.getUint8(4),s=this.HEADER_LENGTH+this.META_LENGTH,l=r.decode(t.slice(s,s+i));s=s+i;let c=r.decode(t.slice(s,s+n));s=s+n;let u=r.decode(t.slice(s,s+o));s=s+o;let f=r.decode(t.slice(s,s+a));s=s+a;let d=t.slice(s,t.byteLength),p={status:f,response:d};return{join_ref:l,ref:c,topic:u,event:xo.reply,payload:p}},decodeBroadcast(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=this.HEADER_LENGTH+2,a=r.decode(t.slice(o,o+i));o=o+i;let s=r.decode(t.slice(o,o+n));o=o+n;let l=t.slice(o,t.byteLength);return{join_ref:null,ref:null,topic:a,event:s,payload:l}}},Ed=class{constructor(t,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||QM,this.transport=e.transport||fu.WebSocket||e1,this.establishedConnections=0,this.defaultEncoder=Sd.encode.bind(Sd),this.defaultDecoder=Sd.decode.bind(Sd),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==e1?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let r=null;cu&&cu.addEventListener&&(cu.addEventListener("pagehide",i=>{this.conn&&(this.disconnect(),r=this.connectClock)}),cu.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=uu(e.params||{}),this.endPoint=`${t}/${t1.websocket}`,this.vsn=e.vsn||AM,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new nk(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return e1}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=Td.appendParams(Td.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=uu(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(),$M,"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===Un.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(xo.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Un.connecting:return"connecting";case Un.open:return"open";case Un.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 RM(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:a}=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 s=0;sr.topic===t&&(r.isJoined()||r.isJoining()));e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${t}"`),e.leave())}};var Ak="consecutive-reloads",LM=10,MM=5e3,zM=1e4,DM=3e4,Qk=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading","phx-hook-loading"],ko="data-phx-component",r1="data-phx-link",NM="track-static",UM="data-phx-link-state",Ri="data-phx-ref",ba="data-phx-ref-src",$k="track-uploads",So="data-phx-upload-ref",g1="data-phx-preflighted-refs",qM="data-phx-done-refs",ok="drop-target",h1="data-phx-active-refs",Md="phx:live-file:updated",Xk="data-phx-skip",Rk="data-phx-id",ak="data-phx-prune",sk="page-loading",lk="phx-connected",hu="phx-loading",Cd="phx-no-feedback",Pd="phx-error",ck="phx-client-error",i1="phx-server-error",Rl="data-phx-parent-id",b1="data-phx-main",Ll="data-phx-root-id",d1="viewport-top",p1="viewport-bottom",BM="trigger-action",Dd="feedback-for",Nd="feedback-group",m1="phx-has-focused",jM=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],Ik=["checkbox","radio"],Ud="phx-has-submitted",va="data-phx-session",Ml=`[${va}]`,uk="data-phx-sticky",yu="data-phx-static",n1="data-phx-readonly",$l="data-phx-disabled",O1="disable-with",_d="data-phx-disable-with-restore",du="hook",WM="debounce",VM="throttle",qd="update",o1="stream",a1="data-phx-stream",FM="key",qn="phxPrivate",fk="auto-recover",Ad="phx:live-socket:debug",s1="phx:live-socket:profiling",l1="phx:live-socket:latency-sim",ZM="progress",hk="mounted",YM=1,HM=200,GM="phx-",KM=3e4,pu="debounce-trigger",mu="throttled",dk="debounce-prev-key",JM={debounce:300,throttle:300},Qd="d",Bn="s",c1="r",oi="c",pk="e",mk="r",Ok="t",ez="p",gk="stream",tz=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 Ii("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))}},Ii=(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 rz(){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)},u1=t=>typeof t=="function"?t:function(){return t},zd=t=>JSON.parse(JSON.stringify(t)),vu=(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(Ml)));return null},Ou=t=>t!==null&&typeof t=="object"&&!(t instanceof Array),nz=(t,e)=>JSON.stringify(t)===JSON.stringify(e),bk=t=>{for(let e in t)return!1;return!0},ya=(t,e)=>t&&e(t),oz=function(t,e,r,i){t.forEach(n=>{new tz(n,r.config.chunk_size,i).upload()})},Lk={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),a=this.localKey(e,r),s=o===null?i:n(o);return t.setItem(a,JSON.stringify(s)),s},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&&Lk.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}"]`)}},jn=Lk,az={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}}},Il=az,$d=null,yk=200,sz={exec(t,e,r,i,n){let[o,a]=n||[null,{callback:n&&n.callback}];(e.charAt(0)==="["?JSON.parse(e):[[o,a]]).forEach(([l,c])=>{l===o&&a.data&&(c.data=Object.assign(c.data||{},a.data),c.callback=c.callback||a.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(),r=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth;return e.right>0&&e.bottom>0&&e.left{let c=l.getAttribute(o);if(!c)throw new Error(`expected ${o} to contain JS command on "${a}"`);r.liveSocket.execJS(l,c,t)})},exec_dispatch(t,e,r,i,n,{to:o,event:a,detail:s,bubbles:l}){s=s||{},s.dispatcher=i,de.dispatchEvent(n,a,{detail:s,bubbles:l})},exec_push(t,e,r,i,n,o){let{event:a,data:s,target:l,page_loading:c,loading:u,value:f,dispatcher:d,callback:p}=o,O={loading:u,value:f,target:l,page_loading:!!c},x=t==="change"&&d?d:i,k=l||x.getAttribute(r.binding("target"))||x;r.withinTargets(k,(w,C)=>{if(w.isConnected())if(t==="change"){let{newCid:Q,_target:L}=o;L=L||(de.isFormInput(i)?i.name:void 0),L&&(O._target=L),w.pushInput(i,C,Q,a||e,O,p)}else if(t==="submit"){let{submitter:Q}=o;w.submitForm(i,C,a||e,Q,O,p)}else w.pushEvent(t,i,C,a||e,s,O,p)})},exec_navigate(t,e,r,i,n,{href:o,replace:a}){r.liveSocket.historyRedirect(o,a?"replace":"push")},exec_patch(t,e,r,i,n,{href:o,replace:a}){r.liveSocket.pushHistoryPatch(o,a?"replace":"push",i)},exec_focus(t,e,r,i,n){window.requestAnimationFrame(()=>Il.attemptFocus(n))},exec_focus_first(t,e,r,i,n){window.requestAnimationFrame(()=>Il.focusFirstInteractive(n)||Il.focusFirst(n))},exec_push_focus(t,e,r,i,n){window.requestAnimationFrame(()=>$d=n||i)},exec_pop_focus(t,e,r,i,n){window.requestAnimationFrame(()=>{$d&&$d.focus(),$d=null})},exec_add_class(t,e,r,i,n,{names:o,transition:a,time:s}){this.addOrRemoveClasses(n,o,[],a,s,r)},exec_remove_class(t,e,r,i,n,{names:o,transition:a,time:s}){this.addOrRemoveClasses(n,[],o,a,s,r)},exec_toggle_class(t,e,r,i,n,{to:o,names:a,transition:s,time:l}){this.toggleClasses(n,a,s,r)},exec_toggle_attr(t,e,r,i,n,{attr:[o,a,s]}){n.hasAttribute(o)?s!==void 0?n.getAttribute(o)===a?this.setOrRemoveAttrs(n,[[o,s]],[]):this.setOrRemoveAttrs(n,[[o,a]],[]):this.setOrRemoveAttrs(n,[],[o]):this.setOrRemoveAttrs(n,[[o,a]],[])},exec_transition(t,e,r,i,n,{time:o,transition:a}){this.addOrRemoveClasses(n,[],[],a,o,r)},exec_toggle(t,e,r,i,n,{display:o,ins:a,outs:s,time:l}){this.toggle(t,r,n,o,a,s,l)},exec_show(t,e,r,i,n,{display:o,transition:a,time:s}){this.show(t,r,n,o,a,s)},exec_hide(t,e,r,i,n,{display:o,transition:a,time:s}){this.hide(t,r,n,o,a,s)},exec_set_attr(t,e,r,i,n,{attr:[o,a]}){this.setOrRemoveAttrs(n,[[o,a]],[])},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,a){a=a||yk;let[s,l,c]=n||[[],[],[]],[u,f,d]=o||[[],[],[]];if(s.length>0||u.length>0)if(this.isVisible(r)){let p=()=>{this.addOrRemoveClasses(r,f,s.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(a,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",x=>x.style.display=O),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(r,s,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(r,c,l))})};r.dispatchEvent(new Event("phx:show-start")),e.transition(a,p,()=>{this.addOrRemoveClasses(r,[],s.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"))})},toggleClasses(t,e,r,i,n){window.requestAnimationFrame(()=>{let[o,a]=de.getSticky(t,"classes",[[],[]]),s=e.filter(c=>o.indexOf(c)<0&&!t.classList.contains(c)),l=e.filter(c=>a.indexOf(c)<0&&t.classList.contains(c));this.addOrRemoveClasses(t,s,l,r,i,n)})},addOrRemoveClasses(t,e,r,i,n,o){n=n||yk;let[a,s,l]=i||[[],[],[]];if(a.length>0){let c=()=>{this.addOrRemoveClasses(t,s,[].concat(a).concat(l)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(t,a,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(t,l,s))})},u=()=>this.addOrRemoveClasses(t,e.concat(l),r.concat(a).concat(s));return o.transition(n,c,u)}window.requestAnimationFrame(()=>{let[c,u]=de.getSticky(t,"classes",[[],[]]),f=e.filter(x=>c.indexOf(x)<0&&!t.classList.contains(x)),d=r.filter(x=>u.indexOf(x)<0&&t.classList.contains(x)),p=c.filter(x=>r.indexOf(x)<0).concat(f),O=u.filter(x=>e.indexOf(x)<0).concat(d);de.putSticky(t,"classes",x=>(x.classList.remove(...O),x.classList.add(...p),[p,O]))})},setOrRemoveAttrs(t,e,r){let[i,n]=de.getSticky(t,"attrs",[[],[]]),o=e.map(([l,c])=>l).concat(r),a=i.filter(([l,c])=>!o.includes(l)).concat(e),s=n.filter(l=>!o.includes(l)).concat(r);de.putSticky(t,"attrs",l=>(s.forEach(c=>l.removeAttribute(c)),a.forEach(([c,u])=>l.setAttribute(c,u)),[a,s]))},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"}},Vr=sz,Gi={byId(t){return document.getElementById(t)||Ii(`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(So)!==null},isAutoUpload(t){return t.hasAttribute("data-phx-auto-upload")},findUploadInputs(t){let e=t.id,r=this.all(document,`input[type="file"][${So}][form="${e}"]`);return this.all(t,`input[type="file"][${So}]`).concat(r)},findComponentNodeList(t,e){return this.filterWithinSameLiveView(this.all(t,`[${ko}="${e}"]`),t)},isPhxDestroyed(t){return!!(t.id&&Gi.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(va,""),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,`[${uk}]`)},findPhxChildren(t,e){return this.all(t,`${Ml}[${Rl}="${e}"]`)},findParentCIDs(t,e){let r=new Set(e),i=e.reduce((n,o)=>{let a=`[${ko}="${o}"] [${ko}]`;return this.filterWithinSameLiveView(this.all(t,a),t).map(s=>parseInt(s.getAttribute(ko))).forEach(s=>n.delete(s)),n},r);return i.size===0?new Set(e):i},filterWithinSameLiveView(t,e){return e.querySelector(Ml)?t.filter(r=>this.withinSameLiveView(r,e)):t},withinSameLiveView(t,e){for(;t=t.parentNode;){if(t.isSameNode(e))return!0;if(t.getAttribute(va)!==null)return!1}},private(t,e){return t[qn]&&t[qn][e]},deletePrivate(t,e){t[qn]&&delete t[qn][e]},putPrivate(t,e,r){t[qn]||(t[qn]={}),t[qn][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[qn]&&(t[qn]=e[qn])},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,a,s){let l=t.getAttribute(r),c=t.getAttribute(n);l===""&&(l=i),c===""&&(c=o);let u=l||c;switch(u){case null:return s();case"blur":this.once(t,"debounce-blur")&&t.addEventListener("blur",()=>s());return;default:let f=parseInt(u),d=()=>c?this.deletePrivate(t,mu):s(),p=this.incCycle(t,pu,d);if(isNaN(f))return Ii(`invalid throttle/debounce value: ${u}`);if(c){let x=!1;if(e.type==="keydown"){let k=this.private(t,dk);this.putPrivate(t,dk,e.key),x=k!==e.key}if(!x&&this.private(t,mu))return!1;{s();let k=setTimeout(()=>{a()&&this.triggerCycle(t,pu)},f);this.putPrivate(t,mu,k)}}else setTimeout(()=>{a()&&this.triggerCycle(t,pu,p)},f);let O=t.form;O&&this.once(O,"bind-debounce")&&O.addEventListener("submit",()=>{Array.from(new FormData(O).entries(),([x])=>{let k=O.querySelector(`[name="${x}"]`);this.incCycle(k,pu),this.deletePrivate(k,mu)})}),this.once(t,"bind-debounce")&&t.addEventListener("blur",()=>{clearTimeout(this.private(t,mu)),this.triggerCycle(t,pu)})}},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")},isFeedbackContainer(t,e){return t.hasAttribute&&t.hasAttribute(e)},maybeHideFeedback(t,e,r,i){let n={};e.forEach(o=>{if(!t.contains(o))return;let a=o.getAttribute(r);if(!a){Vr.addOrRemoveClasses(o,[],[Cd]);return}if(n[a]===!0){this.hideFeedback(o);return}n[a]=this.shouldHideFeedback(t,a,i),n[a]===!0&&this.hideFeedback(o)})},hideFeedback(t){Vr.addOrRemoveClasses(t,[Cd],[])},shouldHideFeedback(t,e,r){let i=`[name="${e}"], [name="${e}[]"], [${r}="${e}"]`,n=!1;return Gi.all(t,i,o=>{(this.private(o,m1)||this.private(o,Ud))&&(n=!0)}),!n},feedbackSelector(t,e,r){let i=`[${e}="${t.name}"], - [${e}="${t.name.replace(/\[\]$/,"")}"]`;return t.getAttribute(r)&&(i+=`,[${e}="${t.getAttribute(r)}"]`),i},resetForm(t,e,r){Array.from(t.elements).forEach(i=>{let n=this.feedbackSelector(i,e,r);this.deletePrivate(i,m1),this.deletePrivate(i,Ud),this.all(document,n,o=>{Vr.addOrRemoveClasses(o,[Cd],[])})})},showError(t,e,r){if(t.name){let i=this.feedbackSelector(t,e,r);this.all(document,i,n=>{Vr.addOrRemoveClasses(n,[],[Cd])})}},isPhxChild(t){return t.getAttribute&&t.getAttribute(Rl)},isPhxSticky(t){return t.getAttribute&&t.getAttribute(uk)!==null},isChildOfAny(t,e){return!!e.find(r=>r.contains(t))},firstPhxChild(t){return this.isPhxChild(t)?t:this.all(t,`[${Rl}]`)[0]},dispatchEvent(t,e,r={}){let i=!0;t.nodeName==="INPUT"&&t.type==="file"&&e==="click"&&(i=!1);let a={bubbles:r.bubbles===void 0?i:!!r.bubbles,cancelable:!0,detail:r.detail||{}},s=e==="click"?new MouseEvent("click",a):new CustomEvent(e,a);t.dispatchEvent(s)},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=new Set(r.exclude||[]),n=r.isIgnored,o=e.attributes;for(let s=o.length-1;s>=0;s--){let l=o[s].name;if(i.has(l))l==="value"&&t.value===e.value&&t.setAttribute("value",e.getAttribute(l));else{let c=e.getAttribute(l);t.getAttribute(l)!==c&&(!n||n&&l.startsWith("data-"))&&t.setAttribute(l,c)}}let a=t.attributes;for(let s=a.length-1;s>=0;s--){let l=a[s].name;n?l.startsWith("data-")&&!e.hasAttribute(l)&&![Ri,ba].includes(l)&&t.removeAttribute(l):e.hasAttribute(l)||t.removeAttribute(l)}},mergeFocusedInput(t,e){t instanceof HTMLSelectElement||Gi.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(t instanceof HTMLSelectElement&&t.focus(),!Gi.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&&Ik.indexOf(t.type.toLocaleLowerCase())>=0&&(t.checked=t.getAttribute("checked")!==null)},isTextualInput(t){return BM.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(ba);return Gi.isFormInput(t)||t.getAttribute(r)!==null?(Gi.isUploadInput(t)&&Gi.mergeAttrs(t,e,{isIgnored:!0}),Gi.putPrivate(t,Ri,e),!1):(Qk.forEach(o=>{t.classList.contains(o)&&e.classList.add(o)}),e.setAttribute(Ri,i),e.setAttribute(ba,n),!0)},cleanChildNodes(t,e){if(Gi.isPhxUpdate(t,e,["append","prepend"])){let r=[];t.childNodes.forEach(i=>{i.id||(i.nodeType===Node.TEXT_NODE&&i.nodeValue.trim()===""||Ii(`only HTML element tags with an id are allowed inside containers with phx-update. + [${e}="${t.name.replace(/\[\]$/,"")}"]`;return t.getAttribute(r)&&(i+=`,[${e}="${t.getAttribute(r)}"]`),i},resetForm(t,e,r){Array.from(t.elements).forEach(i=>{let n=this.feedbackSelector(i,e,r);this.deletePrivate(i,m1),this.deletePrivate(i,Ud),this.all(document,n,o=>{Vr.addOrRemoveClasses(o,[Cd],[])})})},showError(t,e,r){if(t.name){let i=this.feedbackSelector(t,e,r);this.all(document,i,n=>{Vr.addOrRemoveClasses(n,[],[Cd])})}},isPhxChild(t){return t.getAttribute&&t.getAttribute(Rl)},isPhxSticky(t){return t.getAttribute&&t.getAttribute(uk)!==null},isChildOfAny(t,e){return!!e.find(r=>r.contains(t))},firstPhxChild(t){return this.isPhxChild(t)?t:this.all(t,`[${Rl}]`)[0]},dispatchEvent(t,e,r={}){let i=!0;t.nodeName==="INPUT"&&t.type==="file"&&e==="click"&&(i=!1);let a={bubbles:r.bubbles===void 0?i:!!r.bubbles,cancelable:!0,detail:r.detail||{}},s=e==="click"?new MouseEvent("click",a):new CustomEvent(e,a);t.dispatchEvent(s)},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=new Set(r.exclude||[]),n=r.isIgnored,o=e.attributes;for(let s=o.length-1;s>=0;s--){let l=o[s].name;if(i.has(l))l==="value"&&t.value===e.value&&t.setAttribute("value",e.getAttribute(l));else{let c=e.getAttribute(l);t.getAttribute(l)!==c&&(!n||n&&l.startsWith("data-"))&&t.setAttribute(l,c)}}let a=t.attributes;for(let s=a.length-1;s>=0;s--){let l=a[s].name;n?l.startsWith("data-")&&!e.hasAttribute(l)&&![Ri,ba].includes(l)&&t.removeAttribute(l):e.hasAttribute(l)||t.removeAttribute(l)}},mergeFocusedInput(t,e){t instanceof HTMLSelectElement||Gi.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(t instanceof HTMLSelectElement&&t.focus(),!Gi.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&&Ik.indexOf(t.type.toLocaleLowerCase())>=0&&(t.checked=t.getAttribute("checked")!==null)},isTextualInput(t){return jM.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(ba);return Gi.isFormInput(t)||t.getAttribute(r)!==null?(Gi.isUploadInput(t)&&Gi.mergeAttrs(t,e,{isIgnored:!0}),Gi.putPrivate(t,Ri,e),!1):(Qk.forEach(o=>{t.classList.contains(o)&&e.classList.add(o)}),e.setAttribute(Ri,i),e.setAttribute(ba,n),!0)},cleanChildNodes(t,e){if(Gi.isPhxUpdate(t,e,["append","prepend"])){let r=[];t.childNodes.forEach(i=>{i.id||(i.nodeType===Node.TEXT_NODE&&i.nodeValue.trim()===""||Ii(`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",va,yu,b1,Ll]);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=(Gi.private(t,"sticky")||[]).find(([n])=>e===n);if(i){let[n,o,a]=i;return a}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(([a])=>e===a);return o>=0?n[o]=[e,r,i]:n.push([e,r,i]),n})},applyStickyOperations(t){let e=Gi.private(t,"sticky");e&&e.forEach(([r,i,n])=>this.putSticky(t,r,i))}},de=Gi,Xl=class{static isActive(t,e){let r=e._phxRef===void 0,i=Xl.isPreflightInProgress(e),o=t.getAttribute(h1).split(",").indexOf(kr.genFileRef(e))>=0;return e.size>0&&(r||o||!i)}static isPreflighted(t,e){return t.getAttribute(g1).split(",").indexOf(kr.genFileRef(e))>=0&&this.isActive(t,e)}static isPreflightInProgress(t){return t._preflightInProgress===!0}static markPreflightInProgress(t){t._preflightInProgress=!0}constructor(t,e,r){this.ref=kr.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(Md,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,()=>{kr.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(Md,this._onElUpdated),this.view.pushFileProgress(this.fileEl,this.ref,{error:t}),de.isAutoUpload(this.fileEl)||kr.clearFiles(this.fileEl)}onDone(t){this._onDone=()=>{this.fileEl.removeEventListener(Md,this._onElUpdated),t()}}onElUpdated(){this.fileEl.getAttribute(h1).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]||Ii(`no uploader configured for ${this.meta.uploader}`);return{name:this.meta.uploader,callback:e}}else return{name:"channel",callback:nz}}zipPostFlight(t){this.meta=t.entries[this.ref],this.meta||Ii(`no preflight upload response returned with ref ${this.ref}`,{input:this.fileEl,response:t})}},sz=0,kr=class{static genFileRef(t){let e=t._phxRef;return e!==void 0?e:(t._phxRef=(sz++).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(g1)!==r.getAttribute(UM)&&e++}),e>0}static serializeUploads(t){let e=this.activeFiles(t),r={};return e.forEach(i=>{let n={path:t.name},o=t.getAttribute(So);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(So),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=>Xl.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=>!Xl.isPreflighted(t,e)&&!Xl.isPreflightInProgress(e))}static markPreflightInProgress(t){t.forEach(e=>Xl.markPreflightInProgress(e.file))}constructor(t,e,r){this.view=e,this.onComplete=r,this._entries=Array.from(kr.filesAwaitingPreflight(t)||[]).map(i=>new Xl(t,i,e)),kr.markPreflightInProgress(this._entries),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:a,callback:s}=o.uploader(r.uploaders);return n[a]=n[a]||{callback:s,entries:[]},n[a].entries.push(o),n},{});for(let n in i){let{callback:o,entries:a}=i[n];o(a,e,t,r)}}},Mk={LiveFileUpload:{activeRefs(){return this.el.getAttribute(h1)},preflightedRefs(){return this.el.getAttribute(g1)},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(Md))}},LiveImgPreview:{mounted(){this.ref=this.el.getAttribute("data-phx-entry-ref"),this.inputEl=document.getElementById(this.el.getAttribute(So)),kr.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",()=>Il.focusLast(this.el)),this.focusEnd.addEventListener("focus",()=>Il.focusFirst(this.el)),this.el.addEventListener("phx:show-end",()=>this.el.focus()),window.getComputedStyle(this.el).display!=="none"&&Il.focusFirst(this.el)}}},zk=t=>["scroll","auto"].indexOf(getComputedStyle(t).overflowY)>=0?t:document.documentElement===t?null:zk(t.parentElement),vk=t=>t?t.scrollTop:document.documentElement.scrollTop||document.body.scrollTop,y1=t=>t?t.getBoundingClientRect().bottom:window.innerHeight||document.documentElement.clientHeight,v1=t=>t?t.getBoundingClientRect().top:0,lz=(t,e)=>{let r=t.getBoundingClientRect();return r.top>=v1(e)&&r.left>=0&&r.top<=y1(e)},cz=(t,e)=>{let r=t.getBoundingClientRect();return r.right>=v1(e)&&r.left>=0&&r.bottom<=y1(e)},xk=(t,e)=>{let r=t.getBoundingClientRect();return r.top>=v1(e)&&r.left>=0&&r.top<=y1(e)};Mk.InfiniteScroll={mounted(){this.scrollContainer=zk(this.el);let t=vk(this.scrollContainer),e=!1,r=500,i=null,n=this.throttle(r,(s,l)=>{i=()=>!0,this.liveSocket.execJSHookPush(this.el,s,{id:l.id,_overran:!0},()=>{i=null})}),o=this.throttle(r,(s,l)=>{i=()=>l.scrollIntoView({block:"start"}),this.liveSocket.execJSHookPush(this.el,s,{id:l.id},()=>{i=null,window.requestAnimationFrame(()=>{xk(l,this.scrollContainer)||l.scrollIntoView({block:"start"})})})}),a=this.throttle(r,(s,l)=>{i=()=>l.scrollIntoView({block:"end"}),this.liveSocket.execJSHookPush(this.el,s,{id:l.id},()=>{i=null,window.requestAnimationFrame(()=>{xk(l,this.scrollContainer)||l.scrollIntoView({block:"end"})})})});this.onScroll=s=>{let l=vk(this.scrollContainer);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)):x&&e&&c.top<=0&&(e=!1),u&&O&&lz(p,this.scrollContainer)?o(u,p):f&&x&&cz(d,this.scrollContainer)&&a(f,d),t=l},this.scrollContainer?this.scrollContainer.addEventListener("scroll",this.onScroll):window.addEventListener("scroll",this.onScroll)},destroyed(){this.scrollContainer?this.scrollContainer.removeEventListener("scroll",this.onScroll):window.removeEventListener("scroll",this.onScroll)},throttle(t,e){let r=0,i;return(...n)=>{let o=Date.now(),a=t-(o-r);a<=0||a>t?(i&&(clearTimeout(i),i=null),r=o,e(...n)):i||(i=setTimeout(()=>{r=Date.now(),i=null,e(...n)},a))}}};var uz=Mk,fz=class{constructor(t,e,r){let i=new Set,n=new Set([...e.children].map(a=>a.id)),o=[];Array.from(t.children).forEach(a=>{if(a.id&&(i.add(a.id),n.has(a.id))){let s=a.previousElementSibling&&a.previousElementSibling.id;o.push({elementId:a.id,previousElementId:s})}}),this.containerId=e.id,this.updateType=r,this.elementsToModify=o,this.elementIdsToAdd=[...n].filter(a=>!i.has(a))}perform(){let t=de.byId(this.containerId);this.elementsToModify.forEach(e=>{e.previousElementId?ya(document.getElementById(e.previousElementId),r=>{ya(document.getElementById(e.elementId),i=>{i.previousElementSibling&&i.previousElementSibling.id==r.id||r.insertAdjacentElement("afterend",i)})}):ya(document.getElementById(e.elementId),r=>{r.previousElementSibling==null||t.insertAdjacentElement("afterbegin",r)})}),this.updateType=="prepend"&&this.elementIdsToAdd.reverse().forEach(e=>{ya(document.getElementById(e),r=>t.insertAdjacentElement("afterbegin",r))})}},wk=11;function hz(t,e){var r=e.attributes,i,n,o,a,s;if(!(e.nodeType===wk||t.nodeType===wk)){for(var l=r.length-1;l>=0;l--)i=r[l],n=i.name,o=i.namespaceURI,a=i.value,o?(n=i.localName||n,s=t.getAttributeNS(o,n),s!==a&&(i.prefix==="xmlns"&&(n=i.name),t.setAttributeNS(o,n,a))):(s=t.getAttribute(n),s!==a&&t.setAttribute(n,a));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 Xd,dz="http://www.w3.org/1999/xhtml",yi=typeof document=="undefined"?void 0:document,pz=!!yi&&"content"in yi.createElement("template"),mz=!!yi&&yi.createRange&&"createContextualFragment"in yi.createRange();function Oz(t){var e=yi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function gz(t){Xd||(Xd=yi.createRange(),Xd.selectNode(yi.body));var e=Xd.createContextualFragment(t);return e.childNodes[0]}function bz(t){var e=yi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function yz(t){return t=t.trim(),pz?Oz(t):mz?gz(t):bz(t)}function Rd(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 vz(t,e){return!e||e===dz?yi.createElement(t):yi.createElementNS(e,t)}function xz(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function f1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var kk={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)}f1(t,e,"selected")},INPUT:function(t,e){f1(t,e,"checked"),f1(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,a;n;)if(a=n.nodeName&&n.nodeName.toUpperCase(),a==="OPTGROUP")o=n,n=o.firstChild;else{if(a==="OPTION"){if(n.hasAttribute("selected")){r=i;break}i++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=r}}},gu=1,Sk=11,Tk=3,Ek=8;function ga(){}function wz(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function kz(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=yi.createElement("html"),i.innerHTML=o}else i=yz(i);else i.nodeType===Sk&&(i=i.firstElementChild);var a=n.getNodeKey||wz,s=n.onBeforeNodeAdded||ga,l=n.onNodeAdded||ga,c=n.onBeforeElUpdated||ga,u=n.onElUpdated||ga,f=n.onBeforeNodeDiscarded||ga,d=n.onNodeDiscarded||ga,p=n.onBeforeElChildrenUpdated||ga,O=n.skipFromChildren||ga,x=n.addChild||function(ae,pe){return ae.appendChild(pe)},k=n.childrenOnly===!0,w=Object.create(null),C=[];function Q(ae){C.push(ae)}function L(ae,pe){if(ae.nodeType===gu)for(var J=ae.firstChild;J;){var _=void 0;pe&&(_=a(J))?Q(_):(d(J),J.firstChild&&L(J,pe)),J=J.nextSibling}}function N(ae,pe,J){f(ae)!==!1&&(pe&&pe.removeChild(ae),d(ae),L(ae,J))}function I(ae){if(ae.nodeType===gu||ae.nodeType===Sk)for(var pe=ae.firstChild;pe;){var J=a(pe);J&&(w[J]=pe),I(pe),pe=pe.nextSibling}}I(r);function H(ae){l(ae);for(var pe=ae.firstChild;pe;){var J=pe.nextSibling,_=a(pe);if(_){var K=w[_];K&&Rd(pe,K)?(pe.parentNode.replaceChild(K,pe),Y(K,pe)):H(pe)}else H(pe);pe=J}}function j(ae,pe,J){for(;pe;){var _=pe.nextSibling;(J=a(pe))?Q(J):N(pe,ae,!0),pe=_}}function Y(ae,pe,J){var _=a(pe);_&&delete w[_],!(!J&&(c(ae,pe)===!1||(t(ae,pe),u(ae),p(ae,pe)===!1)))&&(ae.nodeName!=="TEXTAREA"?V(ae,pe):kk.TEXTAREA(ae,pe))}function V(ae,pe){var J=O(ae,pe),_=pe.firstChild,K=ae.firstChild,se,q,Je,st,at;e:for(;_;){for(st=_.nextSibling,se=a(_);!J&&K;){if(Je=K.nextSibling,_.isSameNode&&_.isSameNode(K)){_=st,K=Je;continue e}q=a(K);var Ce=K.nodeType,Ze=void 0;if(Ce===_.nodeType&&(Ce===gu?(se?se!==q&&((at=w[se])?Je===at?Ze=!1:(ae.insertBefore(at,K),q?Q(q):N(K,ae,!0),K=at,q=a(K)):Ze=!1):q&&(Ze=!1),Ze=Ze!==!1&&Rd(K,_),Ze&&Y(K,_)):(Ce===Tk||Ce==Ek)&&(Ze=!0,K.nodeValue!==_.nodeValue&&(K.nodeValue=_.nodeValue))),Ze){_=st,K=Je;continue e}q?Q(q):N(K,ae,!0),K=Je}if(se&&(at=w[se])&&Rd(at,_))J||x(ae,at),Y(at,_);else{var Rt=s(_);Rt!==!1&&(Rt&&(_=Rt),_.actualize&&(_=_.actualize(ae.ownerDocument||yi)),x(ae,_),H(_))}_=st,K=Je}j(ae,K,q);var ut=kk[ae.nodeName];ut&&ut(ae,pe)}var ne=r,ue=ne.nodeType,he=i.nodeType;if(!k){if(ue===gu)he===gu?Rd(r,i)||(d(r),ne=xz(r,vz(i.nodeName,i.namespaceURI))):ne=i;else if(ue===Tk||ue===Ek){if(he===ue)return ne.nodeValue!==i.nodeValue&&(ne.nodeValue=i.nodeValue),ne;ne=i}}if(ne===i)d(r);else{if(i.isSameNode&&i.isSameNode(ne))return;if(Y(ne,i,k),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.streamComponentRestore={},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(qd);de.all(this.container,`[${t}=append] > *, [${t}=prepend] > *`,e=>{e.setAttribute(ak,"")})}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 a=r.getActiveElement(),{selectionStart:s,selectionEnd:l}=a&&de.hasSelectionRange(a)?a:{},c=r.binding(qd),u=r.binding(Dd),f=r.binding(Nd),d=r.binding(O1),p=r.binding(d1),O=r.binding(p1),x=r.binding(qM),k=[],w=[],C=[],Q=[],L=null;function N(I,H){Ck(I,H,{childrenOnly:I.getAttribute(ko)===null,getNodeKey:j=>de.isPhxDestroyed(j)?null:t?j.id:j.id||j.getAttribute&&j.getAttribute(Rk),skipFromChildren:j=>j.getAttribute(c)===o1,addChild:(j,Y)=>{let{ref:V,streamAt:ne}=this.getStreamInsert(Y);if(V===void 0)return j.appendChild(Y);if(this.setStreamRef(Y,V),ne===0)j.insertAdjacentElement("afterbegin",Y);else if(ne===-1)j.appendChild(Y);else if(ne>0){let ue=Array.from(j.children)[ne];j.insertBefore(Y,ue)}},onBeforeNodeAdded:j=>{de.maybeAddPrivateHooks(j,p,O),de.isFeedbackContainer(j,u)&&w.push(j),this.trackBefore("added",j);let Y=j;return!t&&this.streamComponentRestore[j.id]&&(Y=this.streamComponentRestore[j.id],delete this.streamComponentRestore[j.id],N.bind(this)(Y,j)),Y},onNodeAdded:j=>{j.getAttribute&&this.maybeReOrderStream(j,!0),j instanceof HTMLImageElement&&j.srcset?j.srcset=j.srcset:j instanceof HTMLVideoElement&&j.autoplay&&j.play(),de.isNowTriggerFormExternal(j,x)&&(L=j),(de.isPhxChild(j)&&e.ownsElement(j)||de.isPhxSticky(j)&&e.ownsElement(j.parentNode))&&this.trackAfter("phxChildAdded",j),k.push(j)},onNodeDiscarded:j=>this.onNodeDiscarded(j),onBeforeNodeDiscarded:j=>j.getAttribute&&j.getAttribute(ak)!==null?!0:!(j.parentElement!==null&&j.id&&de.isPhxUpdate(j.parentElement,c,[o1,"append","prepend"])||this.maybePendingRemove(j)||this.skipCIDSibling(j)),onElUpdated:j=>{de.isNowTriggerFormExternal(j,x)&&(L=j),C.push(j),this.maybeReOrderStream(j,!1)},onBeforeElUpdated:(j,Y)=>{if(de.maybeAddPrivateHooks(Y,p,O),(de.isFeedbackContainer(j,u)||de.isFeedbackContainer(Y,u))&&(w.push(j),w.push(Y)),de.cleanChildNodes(Y,c),this.skipCIDSibling(Y))return this.maybeReOrderStream(j),!1;if(de.isPhxSticky(j))return!1;if(de.isIgnored(j,c)||j.form&&j.form.isSameNode(L))return this.trackBefore("updated",j,Y),de.mergeAttrs(j,Y,{isIgnored:!0}),C.push(j),de.applyStickyOperations(j),!1;if(j.type==="number"&&j.validity&&j.validity.badInput)return!1;if(!de.syncPendingRef(j,Y,d))return de.isUploadInput(j)&&(this.trackBefore("updated",j,Y),C.push(j)),de.applyStickyOperations(j),!1;if(de.isPhxChild(Y)){let ue=j.getAttribute(va);return de.mergeAttrs(j,Y,{exclude:[yu]}),ue!==""&&j.setAttribute(va,ue),j.setAttribute(Ll,this.rootID),de.applyStickyOperations(j),!1}de.copyPrivates(Y,j);let V=a&&j.isSameNode(a)&&de.isFormInput(j),ne=V&&this.isChangedSelect(j,Y);return V&&j.type!=="hidden"&&!ne?(this.trackBefore("updated",j,Y),de.mergeFocusedInput(j,Y),de.syncAttrsToProps(j),C.push(j),de.applyStickyOperations(j),!1):(ne&&j.blur(),de.isPhxUpdate(Y,c,["append","prepend"])&&Q.push(new fz(j,Y,Y.getAttribute(c))),de.syncAttrsToProps(Y),de.applyStickyOperations(Y),this.trackBefore("updated",j,Y),!0)}})}return this.trackBefore("added",i),this.trackBefore("updated",i,i),r.time("morphdom",()=>{this.streams.forEach(([I,H,j,Y])=>{H.forEach(([V,ne,ue])=>{this.streamInserts[V]={ref:I,streamAt:ne,limit:ue,reset:Y}}),Y!==void 0&&de.all(i,`[${a1}="${I}"]`,V=>{this.removeStreamChildElement(V)}),j.forEach(V=>{let ne=i.querySelector(`[id="${V}"]`);ne&&this.removeStreamChildElement(ne)})}),t&&de.all(this.container,`[${c}=${o1}]`,I=>{this.liveSocket.owner(I,H=>{H===this.view&&Array.from(I.children).forEach(j=>{this.removeStreamChildElement(j)})})}),N.bind(this)(o,n)}),r.isDebugEnabled()&&tz(),Q.length>0&&r.time("post-morph append/prepend restoration",()=>{Q.forEach(I=>I.perform())}),de.maybeHideFeedback(o,w,u,f),r.silenceEvents(()=>de.restoreFocus(a,s,l)),de.dispatchEvent(document,"phx:update"),k.forEach(I=>this.trackAfter("added",I)),C.forEach(I=>this.trackAfter("updated",I)),this.transitionPendingRemoves(),L&&(r.unload(),Object.getPrototypeOf(L).submit.call(L)),!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)||(this.streamInserts[t.id]?(this.streamComponentRestore[t.id]=t,t.remove()):(t.remove(),this.onNodeDiscarded(t)))}getStreamInsert(t){return(t.id?this.streamInserts[t.id]:{})||{}}setStreamRef(t,e){de.putSticky(t,a1,r=>r.setAttribute(a1,e))}maybeReOrderStream(t,e){let{ref:r,streamAt:i,reset:n}=this.getStreamInsert(t);if(i!==void 0&&(this.setStreamRef(t,r),!(!n&&!e))){if(i===0)t.parentElement.insertBefore(t,t.parentElement.firstElementChild);else if(i>0){let o=Array.from(t.parentElement.children),a=o.indexOf(t);if(i>=o.length-1)t.parentElement.appendChild(t);else{let s=o[i];a>i?t.parentElement.insertBefore(t,s):t.parentElement.insertBefore(t,s.nextElementSibling)}}this.maybeLimitStream(t)}}maybeLimitStream(t){let{limit:e}=this.getStreamInsert(t),r=e!==null&&Array.from(t.parentElement.children);e&&e<0&&r.length>e*-1?r.slice(0,r.length+e).forEach(i=>this.removeStreamChildElement(i)):e&&e>=0&&r.length>e&&r.slice(e).forEach(i=>this.removeStreamChildElement(i))}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)}))}isChangedSelect(t,e){if(!(t instanceof HTMLSelectElement)||t.multiple)return!1;if(t.options.length!==e.options.length)return!0;let r=t.selectedOptions[0],i=e.selectedOptions[0];return r&&r.hasAttribute("selected")&&i.setAttribute("selected",r.getAttribute("selected")),!t.isEqualNode(e)}isCIDPatch(){return this.cidPatch}skipCIDSibling(t){return t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute(Xk)}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)}},Tz=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Ez=new Set(["'",'"']),Pk=(t,e,r)=>{let i=0,n=!1,o,a,s,l,c,u,f=t.match(/^(\s*(?:\s*)*)<([^\s\/>]+)/);if(f===null)throw new Error(`malformed html ${t}`);for(i=f[0].length,o=f[1],s=f[2],l=i,i;i";i++)if(t.charAt(i)==="="){let O=t.slice(i-3,i)===" id";i++;let x=t.charAt(i);if(Ez.has(x)){let k=i;for(i++,i;i=o.length+s.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}}a=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}"`:"";Tz.has(s)?u=`<${s}${O}${p===""?"":" "}${p}/>`:u=`<${s}${O}${p===""?"":" "}${p}>`}else{let O=t.slice(l,d+1);u=`<${s}${p===""?"":" "}${p}${O}`}return[u,o,a]},_k=class{static extract(t){let{[mk]:e,[pk]:r,[Ok]:i}=t;return delete t[mk],delete t[pk],delete t[Ok],{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[oi],t,!0,{});return[e,r]}recursiveToString(t,e=t[oi],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[oi]||{}).map(e=>parseInt(e))}isComponentOnlyDiff(t){return t[oi]?Object.keys(t).length===1:!1}getComponent(t,e){return t[oi][e]}resetRender(t){this.rendered[oi][t]&&(this.rendered[oi][t].reset=!0)}mergeDiff(t){let e=t[oi],r={};if(delete t[oi],this.rendered=this.mutableMerge(this.rendered,t),this.rendered[oi]=this.rendered[oi]||{},e){let i=this.rendered[oi];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[oi]=e}}cachedFindComponent(t,e,r,i,n){if(n[t])return n[t];{let o,a,s=e[Bn];if(wo(s)){let l;s>0?l=this.cachedFindComponent(s,i[s],r,i,n):l=r[-s],a=l[Bn],o=this.cloneMerge(l,e,!0),o[Bn]=a}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];Ou(i)&&i[Bn]===void 0&&Ou(n)?this.doMutableMerge(n,i):t[r]=i}t[c1]&&(t.newRender=!0)}cloneMerge(t,e,r){let i=oe(oe({},t),e);for(let n in i){let o=e[n],a=t[n];Ou(o)&&o[Bn]===void 0&&Ou(a)&&(i[n]=this.cloneMerge(a,o,r))}return r?(delete i.magicId,delete i.newRender):t[c1]&&(i.newRender=!0),i}componentToString(t){let[e,r]=this.recursiveCIDToString(this.rendered[oi],t,null),[i,n,o]=Pk(e,{});return[i,r]}pruneCIDs(t){t.forEach(e=>delete this.rendered[oi][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[Qd])return this.comprehensionToBuffer(t,e,r);let{[Bn]:o}=t;o=this.templateStatic(o,e);let a=t[c1],s=r.buffer;a&&(r.buffer=""),i&&a&&!t.magicId&&(t.newRender=!0,t.magicId=this.nextMagicID()),r.buffer+=o[0];for(let l=1;l0||l.length>0||c)&&(delete t[gk],t[Qd]=[],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 Ou(t)?this.toOutputBuffer(t,e,r,i,{}):r.buffer+=t}recursiveCIDToString(t,e,r){let i=t[e]||Ii(`no component for CID ${e}`,t),n={[ko]:e},o=r&&!r.has(e);i.newRender=!o,i.magicId=`${this.parentViewId()}-c-${e}`;let a=!i.reset,[s,l]=this.recursiveToString(i,t,r,a,n);return delete i.reset,[s,l]}},Cz=1,bu=class{static makeID(){return Cz++}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))}},Ld=(t,e,r=[])=>{let c=e,{submitter:i}=c,n=Wr(c,["submitter"]),o;if(i&&i.name){let u=document.createElement("input");u.type="hidden";let f=i.getAttribute("form");f&&u.setAttribute("form",f),u.name=i.name,u.value=i.value,i.parentElement.insertBefore(u,i),o=u}let a=new FormData(t),s=[];a.forEach((u,f,d)=>{u instanceof File&&s.push(f)}),s.forEach(u=>a.delete(u));let l=new URLSearchParams;for(let[u,f]of a.entries())(r.length===0||r.indexOf(u)>=0)&&l.append(u,f);i&&o&&i.parentElement.removeChild(o);for(let u in n)l.append(u,n[u]);return l.toString()},Dk=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(b1)}connectParams(t){let e=this.liveSocket.params(this.el),r=de.all(document,`[${this.binding(DM)}]`).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(va)}getStatic(){let t=this.el.getAttribute(yu);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(lk,hu,Pd,ck,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(hu)}}execAll(t){de.all(this.el,`[${t}]`,e=>this.liveSocket.execJS(e,e.getAttribute(t)))}hideLoader(){clearTimeout(this.loaderTimer),this.setContainerClasses(lk),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?Ii(`no component found matching phx-target of ${t}`):e(this,parseInt(t));else{let r=Array.from(document.querySelectorAll(t));r.length===0&&Ii(`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,()=>["",zd(e)]);let{diff:i,reply:n,events:o,title:a}=_k.extract(e);r({diff:i,reply:n,events:o}),a&&window.requestAnimationFrame(()=>de.putTitle(a))}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,jn.dropLocal(this.liveSocket.localStorage,window.location.pathname,Ak),this.applyDiff("mount",e,({diff:i,events:n})=>{this.rendered=new _k(this.id,i);let[o,a]=this.renderContainer(null,"join");this.dropPendingRefs();let s=this.formsForRecovery(o);this.joinCount++,s.length>0?s.forEach(([l,c,u],f)=>{this.pushFormRecovery(l,u,d=>{f===s.length-1&&this.onJoinComplete(d,o,a,n)})}):this.onJoinComplete(t,o,a,n)})}dropPendingRefs(){de.all(document,`[${ba}="${this.id}"][${Ri}]`,t=>{t.removeAttribute(Ri),t.removeAttribute(ba)})}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 a=o.id&&this.el.querySelector(`[id="${o.id}"]`),s=a&&a.getAttribute(yu);return s&&o.setAttribute(yu,s),a&&a.setAttribute(Ll,this.root.id),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(Ll,this.root.id)}execNewMounted(){let t=this.binding(d1),e=this.binding(p1);de.all(this.el,`[${t}], [${e}]`,r=>{de.maybeAddPrivateHooks(r,t,e),this.maybeAddNewHook(r)}),de.all(this.el,`[${this.binding(du)}], [data-phx-${du}]`,r=>{this.maybeAddNewHook(r)}),de.all(this.el,`[${this.binding(hk)}]`,r=>this.maybeMounted(r))}applyJoinPatch(t,e,r,i){this.attachTrueDocEl();let n=new Id(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:a}=t;this.liveSocket.historyPatch(a,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(qd));if(r&&!t.isEqualNode(e)&&!(i&&iz(t.dataset,e.dataset)))return r.__beforeUpdate(),r}maybeMounted(t){let e=t.getAttribute(this.binding(hk)),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",a=>{this.liveSocket.triggerDOM("onNodeAdded",[a]);let s=this.binding(d1),l=this.binding(p1);de.maybeAddPrivateHooks(a,s,l),this.maybeAddNewHook(a),a.getAttribute&&this.maybeMounted(a)}),t.after("phxChildAdded",a=>{de.isPhxSticky(a)?this.liveSocket.joinRootViews():n=!0}),t.before("updated",(a,s)=>{this.triggerBeforeUpdateHook(a,s)&&o.add(a.id)}),t.after("updated",a=>{o.has(a.id)&&this.getHook(a).__updated()}),t.after("discarded",a=>{a.nodeType===Node.ELEMENT_NODE&&i.push(a)}),t.after("transitionsDiscarded",a=>this.afterElementsRemoved(a,e)),t.perform(r),this.afterElementsRemoved(i,e),n}afterElementsRemoved(t,e){let r=[];t.forEach(i=>{let n=de.all(i,`[${ko}]`),o=de.all(i,`[${this.binding(du)}]`);n.concat(i).forEach(a=>{let s=this.componentID(a);wo(s)&&r.indexOf(s)===-1&&r.push(s)}),o.concat(i).forEach(a=>{let s=this.getHook(a);s&&this.destroyHook(s)})}),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 Dk(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)})}):bk(t)||this.liveSocket.time("full patch complete",()=>{let[i,n]=this.renderContainer(t,"update"),o=new Id(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(bk(t))return!1;let[r,i]=this.rendered.componentToString(e),n=new Id(this,this.el,this.id,r,i,e);return this.performPatch(n,!0)}getHook(t){return this.viewHooks[bu.elementID(t)]}addHook(t){if(bu.elementID(t)||!t.getAttribute)return;let e=t.getAttribute(`data-phx-${du}`)||t.getAttribute(this.binding(du));if(e&&!this.ownsElement(t))return;let r=this.liveSocket.getHookCallbacks(e);if(r){t.id||Ii(`no DOM ID for hook "${e}". Hooks require a unique ID on each element.`,t);let i=new bu(this,t,r);return this.viewHooks[bu.elementID(i.el)]=i,i}else e!==null&&Ii(`unknown hook found for "${e}"`,t)}destroyHook(t){t.__destroyed(),t.__cleanup__(),delete this.viewHooks[bu.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([hu,Pd,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(YM)}}onError(t){this.onClose(t),this.liveSocket.isConnected()&&this.log("error",()=>["view crashed",t]),this.liveSocket.isUnloaded()||(this.liveSocket.isConnected()?this.displayError([hu,Pd,i1]):this.displayError([hu,Pd,ck]))}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],a]=t?t():[null,[],{}],s=function(){};return(a.page_loading||o&&o.getAttribute(this.binding(sk))!==null)&&(s=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,GM).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),s(),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,`[${ba}="${this.id}"][${Ri}="${t}"]`,e=>{let r=e.getAttribute($l),i=e.getAttribute(n1);e.removeAttribute(Ri),e.removeAttribute(ba),i!==null&&(e.readOnly=i==="true",e.removeAttribute(n1)),r!==null&&(e.disabled=r==="true",e.removeAttribute($l)),Qk.forEach(a=>de.removeClass(e,a));let n=e.getAttribute(_d);n!==null&&(e.innerText=n,e.removeAttribute(_d));let o=de.private(e,Ri);if(o){let a=this.triggerBeforeUpdateHook(e,o);Id.patchEl(e,o,this.liveSocket.getActiveElement()),a&&a.__updated(),de.deletePrivate(e,Ri)}})}putRef(t,e,r={}){let i=this.ref++,n=this.binding(O1);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(ba,this.el.id);let a=o.getAttribute(n);a!==null&&(o.getAttribute(_d)||o.setAttribute(_d,o.innerText),a!==""&&(o.innerText=a),o.setAttribute($l,o.getAttribute($l)||o.disabled),o.setAttribute("disabled",""))}),[i,t,r]}componentID(t){let e=t.getAttribute&&t.getAttribute(ko);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?ya(t.closest(`[${ko}]`),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,a,s]=this.putRef([t],"hook");return this.pushWithReply(()=>[o,a,s],"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={},a){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)},(s,l)=>a&&a(l))}pushFileProgress(t,e,r,i=function(){}){this.liveSocket.withinOwners(t.form,(n,o)=>{n.pushWithReply(null,"progress",{event:t.getAttribute(n.binding(FM)),ref:t.getAttribute(So),entry_ref:e,progress:r,cid:n.targetComponentID(t.form,o)},i)})}pushInput(t,e,r,i,n,o){let a,s=wo(r)?r:this.targetComponentID(t.form,e,n),l=()=>this.putRef([t,t.form],"change",n),c,u=this.extractMeta(t.form);t instanceof HTMLButtonElement&&(u.submitter=t),t.getAttribute(this.binding("change"))?c=Ld(t.form,oe({_target:n._target},u),[t.name]):c=Ld(t.form,oe({_target:n._target},u)),de.isUploadInput(t)&&t.files&&t.files.length>0&&kr.trackFiles(t,Array.from(t.files)),a=kr.serializeUploads(t);let f={type:"form",event:i,value:c,uploads:a,cid:s};this.pushWithReply(l,"event",f,d=>{if(de.showError(t,this.liveSocket.binding(Dd),this.liveSocket.binding(Nd)),de.isUploadInput(t)&&de.isAutoUpload(t)){if(kr.filesAwaitingPreflight(t).length>0){let[p,O]=l();this.uploadFiles(t.form,e,p,s,x=>{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=>!(vu(u,`${this.binding(qd)}=ignore`,u.form)||vu(u,"data-phx-update=ignore",u.form)),i=u=>u.hasAttribute(this.binding(O1)),n=u=>u.tagName=="BUTTON",o=u=>["INPUT","TEXTAREA","SELECT"].includes(u.tagName),a=Array.from(t.elements),s=a.filter(i),l=a.filter(n).filter(r),c=a.filter(o).filter(r);return l.forEach(u=>{u.setAttribute($l,u.disabled),u.disabled=!0}),c.forEach(u=>{u.setAttribute(n1,u.readOnly),u.readOnly=!0,u.files&&(u.setAttribute($l,u.disabled),u.disabled=!0)}),t.setAttribute(this.binding(sk),""),this.putRef([t].concat(s).concat(l).concat(c),"submit",e)}pushFormSubmit(t,e,r,i,n,o){let a=()=>this.disableForm(t,n),s=this.targetComponentID(t,e);if(kr.hasUploadsInProgress(t)){let[l,c]=a(),u=()=>this.pushFormSubmit(t,e,r,i,n,o);return this.scheduleSubmit(t,l,n,u)}else if(kr.inputsAwaitingPreflight(t).length>0){let[l,c]=a(),u=()=>[l,c,n];this.uploadFiles(t,e,l,s,f=>{let d=this.extractMeta(t),p=Ld(t,oe({submitter:i},d));this.pushWithReply(u,"event",{type:"form",event:r,value:p,cid:s},o)})}else if(!(t.hasAttribute(Ri)&&t.classList.contains("phx-submit-loading"))){let l=this.extractMeta(t),c=Ld(t,oe({submitter:i},l));this.pushWithReply(a,"event",{type:"form",event:r,value:c,cid:s},o)}}uploadFiles(t,e,r,i,n){let o=this.joinCount,a=kr.activeFileInputs(t),s=a.length;a.forEach(l=>{let c=new kr(l,this,()=>{s--,s===0&&n()});this.uploaders[l]=c;let u=c.entries().map(d=>d.toPreflightPayload()),f={ref:l.getAttribute(So),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?Ii(`no live file inputs found matching the name "${e}"`):n.length>1?Ii(`duplicate live file inputs found matching the name "${e}"`):de.dispatchEvent(n[0],$k,{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"),a=Array.from(t.elements).filter(c=>de.isFormInput(c)&&c.name&&!c.hasAttribute(o));if(a.length===0)return;a.forEach(c=>c.hasAttribute(So)&&kr.clearFiles(c));let s=a.find(c=>c.type!=="hidden")||a[0],l=t.getAttribute(this.binding(fk))||t.getAttribute(this.binding("change"));Vr.exec("change",l,i,s,["push",{_target:s.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),a=t.startsWith("/")?`${location.protocol}//${location.host}${t}`:t,s=this.pushWithReply(n,"live_patch",{url:a},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))})});s?s.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(fk))!=="ignore").map(i=>{let n=CSS.escape(i.getAttribute(e)),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.concat(this.pruningCIDs).filter(r=>de.findComponentNodeList(this.el,r).length===0);this.pruningCIDs=e.concat([]),e.length>0&&(e.forEach(r=>this.rendered.resetRender(r)),this.pushWithReply(null,"cids_will_destroy",{cids:e},()=>{let r=e.filter(i=>de.findComponentNodeList(this.el,i).length===0);r.length>0&&this.pushWithReply(null,"cids_destroyed",{cids:r},i=>{this.pruningCIDs=this.pruningCIDs.filter(n=>i.cids.indexOf(n)===-1),this.rendered.pruneCIDs(i.cids)})}))}ownsElement(t){let e=t.closest(Ml);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),a=this.liveSocket.binding(Nd),s=Array.from(t.elements);s.forEach(l=>de.putPrivate(l,Ud,!0)),this.liveSocket.blurActiveElement(this),this.pushFormSubmit(t,e,r,i,n,()=>{s.forEach(l=>de.showError(l,o,a)),this.liveSocket.restorePreviouslyActiveFocus()})}binding(t){return this.liveSocket.binding(t)}},Nk=class{constructor(t,e,r={}){if(this.unloaded=!1,!e||e.constructor.name==="Object")throw new Error(` +`),r.push(i))}),r.forEach(i=>i.remove())}},replaceRootContainer(t,e,r){let i=new Set(["id",va,yu,b1,Ll]);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=(Gi.private(t,"sticky")||[]).find(([n])=>e===n);if(i){let[n,o,a]=i;return a}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(([a])=>e===a);return o>=0?n[o]=[e,r,i]:n.push([e,r,i]),n})},applyStickyOperations(t){let e=Gi.private(t,"sticky");e&&e.forEach(([r,i,n])=>this.putSticky(t,r,i))}},de=Gi,Xl=class{static isActive(t,e){let r=e._phxRef===void 0,i=Xl.isPreflightInProgress(e),o=t.getAttribute(h1).split(",").indexOf(kr.genFileRef(e))>=0;return e.size>0&&(r||o||!i)}static isPreflighted(t,e){return t.getAttribute(g1).split(",").indexOf(kr.genFileRef(e))>=0&&this.isActive(t,e)}static isPreflightInProgress(t){return t._preflightInProgress===!0}static markPreflightInProgress(t){t._preflightInProgress=!0}constructor(t,e,r){this.ref=kr.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(Md,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,()=>{kr.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(Md,this._onElUpdated),this.view.pushFileProgress(this.fileEl,this.ref,{error:t}),de.isAutoUpload(this.fileEl)||kr.clearFiles(this.fileEl)}onDone(t){this._onDone=()=>{this.fileEl.removeEventListener(Md,this._onElUpdated),t()}}onElUpdated(){this.fileEl.getAttribute(h1).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]||Ii(`no uploader configured for ${this.meta.uploader}`);return{name:this.meta.uploader,callback:e}}else return{name:"channel",callback:oz}}zipPostFlight(t){this.meta=t.entries[this.ref],this.meta||Ii(`no preflight upload response returned with ref ${this.ref}`,{input:this.fileEl,response:t})}},lz=0,kr=class{static genFileRef(t){let e=t._phxRef;return e!==void 0?e:(t._phxRef=(lz++).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(g1)!==r.getAttribute(qM)&&e++}),e>0}static serializeUploads(t){let e=this.activeFiles(t),r={};return e.forEach(i=>{let n={path:t.name},o=t.getAttribute(So);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(So),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=>Xl.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=>!Xl.isPreflighted(t,e)&&!Xl.isPreflightInProgress(e))}static markPreflightInProgress(t){t.forEach(e=>Xl.markPreflightInProgress(e.file))}constructor(t,e,r){this.view=e,this.onComplete=r,this._entries=Array.from(kr.filesAwaitingPreflight(t)||[]).map(i=>new Xl(t,i,e)),kr.markPreflightInProgress(this._entries),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:a,callback:s}=o.uploader(r.uploaders);return n[a]=n[a]||{callback:s,entries:[]},n[a].entries.push(o),n},{});for(let n in i){let{callback:o,entries:a}=i[n];o(a,e,t,r)}}},Mk={LiveFileUpload:{activeRefs(){return this.el.getAttribute(h1)},preflightedRefs(){return this.el.getAttribute(g1)},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(Md))}},LiveImgPreview:{mounted(){this.ref=this.el.getAttribute("data-phx-entry-ref"),this.inputEl=document.getElementById(this.el.getAttribute(So)),kr.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",()=>Il.focusLast(this.el)),this.focusEnd.addEventListener("focus",()=>Il.focusFirst(this.el)),this.el.addEventListener("phx:show-end",()=>this.el.focus()),window.getComputedStyle(this.el).display!=="none"&&Il.focusFirst(this.el)}}},zk=t=>["scroll","auto"].indexOf(getComputedStyle(t).overflowY)>=0?t:document.documentElement===t?null:zk(t.parentElement),vk=t=>t?t.scrollTop:document.documentElement.scrollTop||document.body.scrollTop,y1=t=>t?t.getBoundingClientRect().bottom:window.innerHeight||document.documentElement.clientHeight,v1=t=>t?t.getBoundingClientRect().top:0,cz=(t,e)=>{let r=t.getBoundingClientRect();return r.top>=v1(e)&&r.left>=0&&r.top<=y1(e)},uz=(t,e)=>{let r=t.getBoundingClientRect();return r.right>=v1(e)&&r.left>=0&&r.bottom<=y1(e)},xk=(t,e)=>{let r=t.getBoundingClientRect();return r.top>=v1(e)&&r.left>=0&&r.top<=y1(e)};Mk.InfiniteScroll={mounted(){this.scrollContainer=zk(this.el);let t=vk(this.scrollContainer),e=!1,r=500,i=null,n=this.throttle(r,(s,l)=>{i=()=>!0,this.liveSocket.execJSHookPush(this.el,s,{id:l.id,_overran:!0},()=>{i=null})}),o=this.throttle(r,(s,l)=>{i=()=>l.scrollIntoView({block:"start"}),this.liveSocket.execJSHookPush(this.el,s,{id:l.id},()=>{i=null,window.requestAnimationFrame(()=>{xk(l,this.scrollContainer)||l.scrollIntoView({block:"start"})})})}),a=this.throttle(r,(s,l)=>{i=()=>l.scrollIntoView({block:"end"}),this.liveSocket.execJSHookPush(this.el,s,{id:l.id},()=>{i=null,window.requestAnimationFrame(()=>{xk(l,this.scrollContainer)||l.scrollIntoView({block:"end"})})})});this.onScroll=s=>{let l=vk(this.scrollContainer);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)):x&&e&&c.top<=0&&(e=!1),u&&O&&cz(p,this.scrollContainer)?o(u,p):f&&x&&uz(d,this.scrollContainer)&&a(f,d),t=l},this.scrollContainer?this.scrollContainer.addEventListener("scroll",this.onScroll):window.addEventListener("scroll",this.onScroll)},destroyed(){this.scrollContainer?this.scrollContainer.removeEventListener("scroll",this.onScroll):window.removeEventListener("scroll",this.onScroll)},throttle(t,e){let r=0,i;return(...n)=>{let o=Date.now(),a=t-(o-r);a<=0||a>t?(i&&(clearTimeout(i),i=null),r=o,e(...n)):i||(i=setTimeout(()=>{r=Date.now(),i=null,e(...n)},a))}}};var fz=Mk,hz=class{constructor(t,e,r){let i=new Set,n=new Set([...e.children].map(a=>a.id)),o=[];Array.from(t.children).forEach(a=>{if(a.id&&(i.add(a.id),n.has(a.id))){let s=a.previousElementSibling&&a.previousElementSibling.id;o.push({elementId:a.id,previousElementId:s})}}),this.containerId=e.id,this.updateType=r,this.elementsToModify=o,this.elementIdsToAdd=[...n].filter(a=>!i.has(a))}perform(){let t=de.byId(this.containerId);this.elementsToModify.forEach(e=>{e.previousElementId?ya(document.getElementById(e.previousElementId),r=>{ya(document.getElementById(e.elementId),i=>{i.previousElementSibling&&i.previousElementSibling.id==r.id||r.insertAdjacentElement("afterend",i)})}):ya(document.getElementById(e.elementId),r=>{r.previousElementSibling==null||t.insertAdjacentElement("afterbegin",r)})}),this.updateType=="prepend"&&this.elementIdsToAdd.reverse().forEach(e=>{ya(document.getElementById(e),r=>t.insertAdjacentElement("afterbegin",r))})}},wk=11;function dz(t,e){var r=e.attributes,i,n,o,a,s;if(!(e.nodeType===wk||t.nodeType===wk)){for(var l=r.length-1;l>=0;l--)i=r[l],n=i.name,o=i.namespaceURI,a=i.value,o?(n=i.localName||n,s=t.getAttributeNS(o,n),s!==a&&(i.prefix==="xmlns"&&(n=i.name),t.setAttributeNS(o,n,a))):(s=t.getAttribute(n),s!==a&&t.setAttribute(n,a));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 Xd,pz="http://www.w3.org/1999/xhtml",yi=typeof document=="undefined"?void 0:document,mz=!!yi&&"content"in yi.createElement("template"),Oz=!!yi&&yi.createRange&&"createContextualFragment"in yi.createRange();function gz(t){var e=yi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function bz(t){Xd||(Xd=yi.createRange(),Xd.selectNode(yi.body));var e=Xd.createContextualFragment(t);return e.childNodes[0]}function yz(t){var e=yi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function vz(t){return t=t.trim(),mz?gz(t):Oz?bz(t):yz(t)}function Rd(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 xz(t,e){return!e||e===pz?yi.createElement(t):yi.createElementNS(e,t)}function wz(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function f1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var kk={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)}f1(t,e,"selected")},INPUT:function(t,e){f1(t,e,"checked"),f1(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,a;n;)if(a=n.nodeName&&n.nodeName.toUpperCase(),a==="OPTGROUP")o=n,n=o.firstChild;else{if(a==="OPTION"){if(n.hasAttribute("selected")){r=i;break}i++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=r}}},gu=1,Sk=11,Tk=3,Ek=8;function ga(){}function kz(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function Sz(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=yi.createElement("html"),i.innerHTML=o}else i=vz(i);else i.nodeType===Sk&&(i=i.firstElementChild);var a=n.getNodeKey||kz,s=n.onBeforeNodeAdded||ga,l=n.onNodeAdded||ga,c=n.onBeforeElUpdated||ga,u=n.onElUpdated||ga,f=n.onBeforeNodeDiscarded||ga,d=n.onNodeDiscarded||ga,p=n.onBeforeElChildrenUpdated||ga,O=n.skipFromChildren||ga,x=n.addChild||function(ae,pe){return ae.appendChild(pe)},k=n.childrenOnly===!0,w=Object.create(null),C=[];function Q(ae){C.push(ae)}function L(ae,pe){if(ae.nodeType===gu)for(var J=ae.firstChild;J;){var _=void 0;pe&&(_=a(J))?Q(_):(d(J),J.firstChild&&L(J,pe)),J=J.nextSibling}}function N(ae,pe,J){f(ae)!==!1&&(pe&&pe.removeChild(ae),d(ae),L(ae,J))}function I(ae){if(ae.nodeType===gu||ae.nodeType===Sk)for(var pe=ae.firstChild;pe;){var J=a(pe);J&&(w[J]=pe),I(pe),pe=pe.nextSibling}}I(r);function H(ae){l(ae);for(var pe=ae.firstChild;pe;){var J=pe.nextSibling,_=a(pe);if(_){var K=w[_];K&&Rd(pe,K)?(pe.parentNode.replaceChild(K,pe),Y(K,pe)):H(pe)}else H(pe);pe=J}}function j(ae,pe,J){for(;pe;){var _=pe.nextSibling;(J=a(pe))?Q(J):N(pe,ae,!0),pe=_}}function Y(ae,pe,J){var _=a(pe);_&&delete w[_],!(!J&&(c(ae,pe)===!1||(t(ae,pe),u(ae),p(ae,pe)===!1)))&&(ae.nodeName!=="TEXTAREA"?V(ae,pe):kk.TEXTAREA(ae,pe))}function V(ae,pe){var J=O(ae,pe),_=pe.firstChild,K=ae.firstChild,se,q,Je,st,at;e:for(;_;){for(st=_.nextSibling,se=a(_);!J&&K;){if(Je=K.nextSibling,_.isSameNode&&_.isSameNode(K)){_=st,K=Je;continue e}q=a(K);var Ce=K.nodeType,Ze=void 0;if(Ce===_.nodeType&&(Ce===gu?(se?se!==q&&((at=w[se])?Je===at?Ze=!1:(ae.insertBefore(at,K),q?Q(q):N(K,ae,!0),K=at,q=a(K)):Ze=!1):q&&(Ze=!1),Ze=Ze!==!1&&Rd(K,_),Ze&&Y(K,_)):(Ce===Tk||Ce==Ek)&&(Ze=!0,K.nodeValue!==_.nodeValue&&(K.nodeValue=_.nodeValue))),Ze){_=st,K=Je;continue e}q?Q(q):N(K,ae,!0),K=Je}if(se&&(at=w[se])&&Rd(at,_))J||x(ae,at),Y(at,_);else{var Rt=s(_);Rt!==!1&&(Rt&&(_=Rt),_.actualize&&(_=_.actualize(ae.ownerDocument||yi)),x(ae,_),H(_))}_=st,K=Je}j(ae,K,q);var ut=kk[ae.nodeName];ut&&ut(ae,pe)}var ne=r,ue=ne.nodeType,he=i.nodeType;if(!k){if(ue===gu)he===gu?Rd(r,i)||(d(r),ne=wz(r,xz(i.nodeName,i.namespaceURI))):ne=i;else if(ue===Tk||ue===Ek){if(he===ue)return ne.nodeValue!==i.nodeValue&&(ne.nodeValue=i.nodeValue),ne;ne=i}}if(ne===i)d(r);else{if(i.isSameNode&&i.isSameNode(ne))return;if(Y(ne,i,k),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.streamComponentRestore={},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(qd);de.all(this.container,`[${t}=append] > *, [${t}=prepend] > *`,e=>{e.setAttribute(ak,"")})}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 a=r.getActiveElement(),{selectionStart:s,selectionEnd:l}=a&&de.hasSelectionRange(a)?a:{},c=r.binding(qd),u=r.binding(Dd),f=r.binding(Nd),d=r.binding(O1),p=r.binding(d1),O=r.binding(p1),x=r.binding(BM),k=[],w=[],C=[],Q=[],L=null;function N(I,H){Ck(I,H,{childrenOnly:I.getAttribute(ko)===null,getNodeKey:j=>de.isPhxDestroyed(j)?null:t?j.id:j.id||j.getAttribute&&j.getAttribute(Rk),skipFromChildren:j=>j.getAttribute(c)===o1,addChild:(j,Y)=>{let{ref:V,streamAt:ne}=this.getStreamInsert(Y);if(V===void 0)return j.appendChild(Y);if(this.setStreamRef(Y,V),ne===0)j.insertAdjacentElement("afterbegin",Y);else if(ne===-1)j.appendChild(Y);else if(ne>0){let ue=Array.from(j.children)[ne];j.insertBefore(Y,ue)}},onBeforeNodeAdded:j=>{de.maybeAddPrivateHooks(j,p,O),de.isFeedbackContainer(j,u)&&w.push(j),this.trackBefore("added",j);let Y=j;return!t&&this.streamComponentRestore[j.id]&&(Y=this.streamComponentRestore[j.id],delete this.streamComponentRestore[j.id],N.bind(this)(Y,j)),Y},onNodeAdded:j=>{j.getAttribute&&this.maybeReOrderStream(j,!0),j instanceof HTMLImageElement&&j.srcset?j.srcset=j.srcset:j instanceof HTMLVideoElement&&j.autoplay&&j.play(),de.isNowTriggerFormExternal(j,x)&&(L=j),(de.isPhxChild(j)&&e.ownsElement(j)||de.isPhxSticky(j)&&e.ownsElement(j.parentNode))&&this.trackAfter("phxChildAdded",j),k.push(j)},onNodeDiscarded:j=>this.onNodeDiscarded(j),onBeforeNodeDiscarded:j=>j.getAttribute&&j.getAttribute(ak)!==null?!0:!(j.parentElement!==null&&j.id&&de.isPhxUpdate(j.parentElement,c,[o1,"append","prepend"])||this.maybePendingRemove(j)||this.skipCIDSibling(j)),onElUpdated:j=>{de.isNowTriggerFormExternal(j,x)&&(L=j),C.push(j),this.maybeReOrderStream(j,!1)},onBeforeElUpdated:(j,Y)=>{if(de.maybeAddPrivateHooks(Y,p,O),(de.isFeedbackContainer(j,u)||de.isFeedbackContainer(Y,u))&&(w.push(j),w.push(Y)),de.cleanChildNodes(Y,c),this.skipCIDSibling(Y))return this.maybeReOrderStream(j),!1;if(de.isPhxSticky(j))return!1;if(de.isIgnored(j,c)||j.form&&j.form.isSameNode(L))return this.trackBefore("updated",j,Y),de.mergeAttrs(j,Y,{isIgnored:!0}),C.push(j),de.applyStickyOperations(j),!1;if(j.type==="number"&&j.validity&&j.validity.badInput)return!1;if(!de.syncPendingRef(j,Y,d))return de.isUploadInput(j)&&(this.trackBefore("updated",j,Y),C.push(j)),de.applyStickyOperations(j),!1;if(de.isPhxChild(Y)){let ue=j.getAttribute(va);return de.mergeAttrs(j,Y,{exclude:[yu]}),ue!==""&&j.setAttribute(va,ue),j.setAttribute(Ll,this.rootID),de.applyStickyOperations(j),!1}de.copyPrivates(Y,j);let V=a&&j.isSameNode(a)&&de.isFormInput(j),ne=V&&this.isChangedSelect(j,Y);return V&&j.type!=="hidden"&&!ne?(this.trackBefore("updated",j,Y),de.mergeFocusedInput(j,Y),de.syncAttrsToProps(j),C.push(j),de.applyStickyOperations(j),!1):(ne&&j.blur(),de.isPhxUpdate(Y,c,["append","prepend"])&&Q.push(new hz(j,Y,Y.getAttribute(c))),de.syncAttrsToProps(Y),de.applyStickyOperations(Y),this.trackBefore("updated",j,Y),!0)}})}return this.trackBefore("added",i),this.trackBefore("updated",i,i),r.time("morphdom",()=>{this.streams.forEach(([I,H,j,Y])=>{H.forEach(([V,ne,ue])=>{this.streamInserts[V]={ref:I,streamAt:ne,limit:ue,reset:Y}}),Y!==void 0&&de.all(i,`[${a1}="${I}"]`,V=>{this.removeStreamChildElement(V)}),j.forEach(V=>{let ne=i.querySelector(`[id="${V}"]`);ne&&this.removeStreamChildElement(ne)})}),t&&de.all(this.container,`[${c}=${o1}]`,I=>{this.liveSocket.owner(I,H=>{H===this.view&&Array.from(I.children).forEach(j=>{this.removeStreamChildElement(j)})})}),N.bind(this)(o,n)}),r.isDebugEnabled()&&rz(),Q.length>0&&r.time("post-morph append/prepend restoration",()=>{Q.forEach(I=>I.perform())}),de.maybeHideFeedback(o,w,u,f),r.silenceEvents(()=>de.restoreFocus(a,s,l)),de.dispatchEvent(document,"phx:update"),k.forEach(I=>this.trackAfter("added",I)),C.forEach(I=>this.trackAfter("updated",I)),this.transitionPendingRemoves(),L&&(r.unload(),Object.getPrototypeOf(L).submit.call(L)),!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)||(this.streamInserts[t.id]?(this.streamComponentRestore[t.id]=t,t.remove()):(t.remove(),this.onNodeDiscarded(t)))}getStreamInsert(t){return(t.id?this.streamInserts[t.id]:{})||{}}setStreamRef(t,e){de.putSticky(t,a1,r=>r.setAttribute(a1,e))}maybeReOrderStream(t,e){let{ref:r,streamAt:i,reset:n}=this.getStreamInsert(t);if(i!==void 0&&(this.setStreamRef(t,r),!(!n&&!e))){if(i===0)t.parentElement.insertBefore(t,t.parentElement.firstElementChild);else if(i>0){let o=Array.from(t.parentElement.children),a=o.indexOf(t);if(i>=o.length-1)t.parentElement.appendChild(t);else{let s=o[i];a>i?t.parentElement.insertBefore(t,s):t.parentElement.insertBefore(t,s.nextElementSibling)}}this.maybeLimitStream(t)}}maybeLimitStream(t){let{limit:e}=this.getStreamInsert(t),r=e!==null&&Array.from(t.parentElement.children);e&&e<0&&r.length>e*-1?r.slice(0,r.length+e).forEach(i=>this.removeStreamChildElement(i)):e&&e>=0&&r.length>e&&r.slice(e).forEach(i=>this.removeStreamChildElement(i))}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)}))}isChangedSelect(t,e){if(!(t instanceof HTMLSelectElement)||t.multiple)return!1;if(t.options.length!==e.options.length)return!0;let r=t.selectedOptions[0],i=e.selectedOptions[0];return r&&r.hasAttribute("selected")&&i.setAttribute("selected",r.getAttribute("selected")),!t.isEqualNode(e)}isCIDPatch(){return this.cidPatch}skipCIDSibling(t){return t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute(Xk)}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)}},Ez=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Cz=new Set(["'",'"']),Pk=(t,e,r)=>{let i=0,n=!1,o,a,s,l,c,u,f=t.match(/^(\s*(?:\s*)*)<([^\s\/>]+)/);if(f===null)throw new Error(`malformed html ${t}`);for(i=f[0].length,o=f[1],s=f[2],l=i,i;i";i++)if(t.charAt(i)==="="){let O=t.slice(i-3,i)===" id";i++;let x=t.charAt(i);if(Cz.has(x)){let k=i;for(i++,i;i=o.length+s.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}}a=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}"`:"";Ez.has(s)?u=`<${s}${O}${p===""?"":" "}${p}/>`:u=`<${s}${O}${p===""?"":" "}${p}>`}else{let O=t.slice(l,d+1);u=`<${s}${p===""?"":" "}${p}${O}`}return[u,o,a]},_k=class{static extract(t){let{[mk]:e,[pk]:r,[Ok]:i}=t;return delete t[mk],delete t[pk],delete t[Ok],{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[oi],t,!0,{});return[e,r]}recursiveToString(t,e=t[oi],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[oi]||{}).map(e=>parseInt(e))}isComponentOnlyDiff(t){return t[oi]?Object.keys(t).length===1:!1}getComponent(t,e){return t[oi][e]}resetRender(t){this.rendered[oi][t]&&(this.rendered[oi][t].reset=!0)}mergeDiff(t){let e=t[oi],r={};if(delete t[oi],this.rendered=this.mutableMerge(this.rendered,t),this.rendered[oi]=this.rendered[oi]||{},e){let i=this.rendered[oi];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[oi]=e}}cachedFindComponent(t,e,r,i,n){if(n[t])return n[t];{let o,a,s=e[Bn];if(wo(s)){let l;s>0?l=this.cachedFindComponent(s,i[s],r,i,n):l=r[-s],a=l[Bn],o=this.cloneMerge(l,e,!0),o[Bn]=a}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];Ou(i)&&i[Bn]===void 0&&Ou(n)?this.doMutableMerge(n,i):t[r]=i}t[c1]&&(t.newRender=!0)}cloneMerge(t,e,r){let i=oe(oe({},t),e);for(let n in i){let o=e[n],a=t[n];Ou(o)&&o[Bn]===void 0&&Ou(a)&&(i[n]=this.cloneMerge(a,o,r))}return r?(delete i.magicId,delete i.newRender):t[c1]&&(i.newRender=!0),i}componentToString(t){let[e,r]=this.recursiveCIDToString(this.rendered[oi],t,null),[i,n,o]=Pk(e,{});return[i,r]}pruneCIDs(t){t.forEach(e=>delete this.rendered[oi][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[Qd])return this.comprehensionToBuffer(t,e,r);let{[Bn]:o}=t;o=this.templateStatic(o,e);let a=t[c1],s=r.buffer;a&&(r.buffer=""),i&&a&&!t.magicId&&(t.newRender=!0,t.magicId=this.nextMagicID()),r.buffer+=o[0];for(let l=1;l0||l.length>0||c)&&(delete t[gk],t[Qd]=[],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 Ou(t)?this.toOutputBuffer(t,e,r,i,{}):r.buffer+=t}recursiveCIDToString(t,e,r){let i=t[e]||Ii(`no component for CID ${e}`,t),n={[ko]:e},o=r&&!r.has(e);i.newRender=!o,i.magicId=`${this.parentViewId()}-c-${e}`;let a=!i.reset,[s,l]=this.recursiveToString(i,t,r,a,n);return delete i.reset,[s,l]}},Pz=1,bu=class{static makeID(){return Pz++}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))}},Ld=(t,e,r=[])=>{let c=e,{submitter:i}=c,n=Wr(c,["submitter"]),o;if(i&&i.name){let u=document.createElement("input");u.type="hidden";let f=i.getAttribute("form");f&&u.setAttribute("form",f),u.name=i.name,u.value=i.value,i.parentElement.insertBefore(u,i),o=u}let a=new FormData(t),s=[];a.forEach((u,f,d)=>{u instanceof File&&s.push(f)}),s.forEach(u=>a.delete(u));let l=new URLSearchParams;for(let[u,f]of a.entries())(r.length===0||r.indexOf(u)>=0)&&l.append(u,f);i&&o&&i.parentElement.removeChild(o);for(let u in n)l.append(u,n[u]);return l.toString()},Dk=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(b1)}connectParams(t){let e=this.liveSocket.params(this.el),r=de.all(document,`[${this.binding(NM)}]`).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(va)}getStatic(){let t=this.el.getAttribute(yu);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(lk,hu,Pd,ck,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(hu)}}execAll(t){de.all(this.el,`[${t}]`,e=>this.liveSocket.execJS(e,e.getAttribute(t)))}hideLoader(){clearTimeout(this.loaderTimer),this.setContainerClasses(lk),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?Ii(`no component found matching phx-target of ${t}`):e(this,parseInt(t));else{let r=Array.from(document.querySelectorAll(t));r.length===0&&Ii(`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,()=>["",zd(e)]);let{diff:i,reply:n,events:o,title:a}=_k.extract(e);r({diff:i,reply:n,events:o}),a&&window.requestAnimationFrame(()=>de.putTitle(a))}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,jn.dropLocal(this.liveSocket.localStorage,window.location.pathname,Ak),this.applyDiff("mount",e,({diff:i,events:n})=>{this.rendered=new _k(this.id,i);let[o,a]=this.renderContainer(null,"join");this.dropPendingRefs();let s=this.formsForRecovery(o);this.joinCount++,s.length>0?s.forEach(([l,c,u],f)=>{this.pushFormRecovery(l,u,d=>{f===s.length-1&&this.onJoinComplete(d,o,a,n)})}):this.onJoinComplete(t,o,a,n)})}dropPendingRefs(){de.all(document,`[${ba}="${this.id}"][${Ri}]`,t=>{t.removeAttribute(Ri),t.removeAttribute(ba)})}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 a=o.id&&this.el.querySelector(`[id="${o.id}"]`),s=a&&a.getAttribute(yu);return s&&o.setAttribute(yu,s),a&&a.setAttribute(Ll,this.root.id),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(Ll,this.root.id)}execNewMounted(){let t=this.binding(d1),e=this.binding(p1);de.all(this.el,`[${t}], [${e}]`,r=>{de.maybeAddPrivateHooks(r,t,e),this.maybeAddNewHook(r)}),de.all(this.el,`[${this.binding(du)}], [data-phx-${du}]`,r=>{this.maybeAddNewHook(r)}),de.all(this.el,`[${this.binding(hk)}]`,r=>this.maybeMounted(r))}applyJoinPatch(t,e,r,i){this.attachTrueDocEl();let n=new Id(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:a}=t;this.liveSocket.historyPatch(a,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(qd));if(r&&!t.isEqualNode(e)&&!(i&&nz(t.dataset,e.dataset)))return r.__beforeUpdate(),r}maybeMounted(t){let e=t.getAttribute(this.binding(hk)),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",a=>{this.liveSocket.triggerDOM("onNodeAdded",[a]);let s=this.binding(d1),l=this.binding(p1);de.maybeAddPrivateHooks(a,s,l),this.maybeAddNewHook(a),a.getAttribute&&this.maybeMounted(a)}),t.after("phxChildAdded",a=>{de.isPhxSticky(a)?this.liveSocket.joinRootViews():n=!0}),t.before("updated",(a,s)=>{this.triggerBeforeUpdateHook(a,s)&&o.add(a.id)}),t.after("updated",a=>{o.has(a.id)&&this.getHook(a).__updated()}),t.after("discarded",a=>{a.nodeType===Node.ELEMENT_NODE&&i.push(a)}),t.after("transitionsDiscarded",a=>this.afterElementsRemoved(a,e)),t.perform(r),this.afterElementsRemoved(i,e),n}afterElementsRemoved(t,e){let r=[];t.forEach(i=>{let n=de.all(i,`[${ko}]`),o=de.all(i,`[${this.binding(du)}]`);n.concat(i).forEach(a=>{let s=this.componentID(a);wo(s)&&r.indexOf(s)===-1&&r.push(s)}),o.concat(i).forEach(a=>{let s=this.getHook(a);s&&this.destroyHook(s)})}),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 Dk(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)})}):bk(t)||this.liveSocket.time("full patch complete",()=>{let[i,n]=this.renderContainer(t,"update"),o=new Id(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(bk(t))return!1;let[r,i]=this.rendered.componentToString(e),n=new Id(this,this.el,this.id,r,i,e);return this.performPatch(n,!0)}getHook(t){return this.viewHooks[bu.elementID(t)]}addHook(t){if(bu.elementID(t)||!t.getAttribute)return;let e=t.getAttribute(`data-phx-${du}`)||t.getAttribute(this.binding(du));if(e&&!this.ownsElement(t))return;let r=this.liveSocket.getHookCallbacks(e);if(r){t.id||Ii(`no DOM ID for hook "${e}". Hooks require a unique ID on each element.`,t);let i=new bu(this,t,r);return this.viewHooks[bu.elementID(i.el)]=i,i}else e!==null&&Ii(`unknown hook found for "${e}"`,t)}destroyHook(t){t.__destroyed(),t.__cleanup__(),delete this.viewHooks[bu.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([hu,Pd,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(HM)}}onError(t){this.onClose(t),this.liveSocket.isConnected()&&this.log("error",()=>["view crashed",t]),this.liveSocket.isUnloaded()||(this.liveSocket.isConnected()?this.displayError([hu,Pd,i1]):this.displayError([hu,Pd,ck]))}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],a]=t?t():[null,[],{}],s=function(){};return(a.page_loading||o&&o.getAttribute(this.binding(sk))!==null)&&(s=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,KM).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),s(),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,`[${ba}="${this.id}"][${Ri}="${t}"]`,e=>{let r=e.getAttribute($l),i=e.getAttribute(n1);e.removeAttribute(Ri),e.removeAttribute(ba),i!==null&&(e.readOnly=i==="true",e.removeAttribute(n1)),r!==null&&(e.disabled=r==="true",e.removeAttribute($l)),Qk.forEach(a=>de.removeClass(e,a));let n=e.getAttribute(_d);n!==null&&(e.innerText=n,e.removeAttribute(_d));let o=de.private(e,Ri);if(o){let a=this.triggerBeforeUpdateHook(e,o);Id.patchEl(e,o,this.liveSocket.getActiveElement()),a&&a.__updated(),de.deletePrivate(e,Ri)}})}putRef(t,e,r={}){let i=this.ref++,n=this.binding(O1);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(ba,this.el.id);let a=o.getAttribute(n);a!==null&&(o.getAttribute(_d)||o.setAttribute(_d,o.innerText),a!==""&&(o.innerText=a),o.setAttribute($l,o.getAttribute($l)||o.disabled),o.setAttribute("disabled",""))}),[i,t,r]}componentID(t){let e=t.getAttribute&&t.getAttribute(ko);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?ya(t.closest(`[${ko}]`),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,a,s]=this.putRef([t],"hook");return this.pushWithReply(()=>[o,a,s],"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={},a){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)},(s,l)=>a&&a(l))}pushFileProgress(t,e,r,i=function(){}){this.liveSocket.withinOwners(t.form,(n,o)=>{n.pushWithReply(null,"progress",{event:t.getAttribute(n.binding(ZM)),ref:t.getAttribute(So),entry_ref:e,progress:r,cid:n.targetComponentID(t.form,o)},i)})}pushInput(t,e,r,i,n,o){let a,s=wo(r)?r:this.targetComponentID(t.form,e,n),l=()=>this.putRef([t,t.form],"change",n),c,u=this.extractMeta(t.form);t instanceof HTMLButtonElement&&(u.submitter=t),t.getAttribute(this.binding("change"))?c=Ld(t.form,oe({_target:n._target},u),[t.name]):c=Ld(t.form,oe({_target:n._target},u)),de.isUploadInput(t)&&t.files&&t.files.length>0&&kr.trackFiles(t,Array.from(t.files)),a=kr.serializeUploads(t);let f={type:"form",event:i,value:c,uploads:a,cid:s};this.pushWithReply(l,"event",f,d=>{if(de.showError(t,this.liveSocket.binding(Dd),this.liveSocket.binding(Nd)),de.isUploadInput(t)&&de.isAutoUpload(t)){if(kr.filesAwaitingPreflight(t).length>0){let[p,O]=l();this.uploadFiles(t.form,e,p,s,x=>{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=>!(vu(u,`${this.binding(qd)}=ignore`,u.form)||vu(u,"data-phx-update=ignore",u.form)),i=u=>u.hasAttribute(this.binding(O1)),n=u=>u.tagName=="BUTTON",o=u=>["INPUT","TEXTAREA","SELECT"].includes(u.tagName),a=Array.from(t.elements),s=a.filter(i),l=a.filter(n).filter(r),c=a.filter(o).filter(r);return l.forEach(u=>{u.setAttribute($l,u.disabled),u.disabled=!0}),c.forEach(u=>{u.setAttribute(n1,u.readOnly),u.readOnly=!0,u.files&&(u.setAttribute($l,u.disabled),u.disabled=!0)}),t.setAttribute(this.binding(sk),""),this.putRef([t].concat(s).concat(l).concat(c),"submit",e)}pushFormSubmit(t,e,r,i,n,o){let a=()=>this.disableForm(t,n),s=this.targetComponentID(t,e);if(kr.hasUploadsInProgress(t)){let[l,c]=a(),u=()=>this.pushFormSubmit(t,e,r,i,n,o);return this.scheduleSubmit(t,l,n,u)}else if(kr.inputsAwaitingPreflight(t).length>0){let[l,c]=a(),u=()=>[l,c,n];this.uploadFiles(t,e,l,s,f=>{let d=this.extractMeta(t),p=Ld(t,oe({submitter:i},d));this.pushWithReply(u,"event",{type:"form",event:r,value:p,cid:s},o)})}else if(!(t.hasAttribute(Ri)&&t.classList.contains("phx-submit-loading"))){let l=this.extractMeta(t),c=Ld(t,oe({submitter:i},l));this.pushWithReply(a,"event",{type:"form",event:r,value:c,cid:s},o)}}uploadFiles(t,e,r,i,n){let o=this.joinCount,a=kr.activeFileInputs(t),s=a.length;a.forEach(l=>{let c=new kr(l,this,()=>{s--,s===0&&n()});this.uploaders[l]=c;let u=c.entries().map(d=>d.toPreflightPayload()),f={ref:l.getAttribute(So),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?Ii(`no live file inputs found matching the name "${e}"`):n.length>1?Ii(`duplicate live file inputs found matching the name "${e}"`):de.dispatchEvent(n[0],$k,{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"),a=Array.from(t.elements).filter(c=>de.isFormInput(c)&&c.name&&!c.hasAttribute(o));if(a.length===0)return;a.forEach(c=>c.hasAttribute(So)&&kr.clearFiles(c));let s=a.find(c=>c.type!=="hidden")||a[0],l=t.getAttribute(this.binding(fk))||t.getAttribute(this.binding("change"));Vr.exec("change",l,i,s,["push",{_target:s.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),a=t.startsWith("/")?`${location.protocol}//${location.host}${t}`:t,s=this.pushWithReply(n,"live_patch",{url:a},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))})});s?s.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(fk))!=="ignore").map(i=>{let n=CSS.escape(i.getAttribute(e)),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.concat(this.pruningCIDs).filter(r=>de.findComponentNodeList(this.el,r).length===0);this.pruningCIDs=e.concat([]),e.length>0&&(e.forEach(r=>this.rendered.resetRender(r)),this.pushWithReply(null,"cids_will_destroy",{cids:e},()=>{let r=e.filter(i=>de.findComponentNodeList(this.el,i).length===0);r.length>0&&this.pushWithReply(null,"cids_destroyed",{cids:r},i=>{this.pruningCIDs=this.pruningCIDs.filter(n=>i.cids.indexOf(n)===-1),this.rendered.pruneCIDs(i.cids)})}))}ownsElement(t){let e=t.closest(Ml);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),a=this.liveSocket.binding(Nd),s=Array.from(t.elements);s.forEach(l=>de.putPrivate(l,Ud,!0)),this.liveSocket.blurActiveElement(this),this.pushFormSubmit(t,e,r,i,n,()=>{s.forEach(l=>de.showError(l,o,a)),this.liveSocket.restorePreviouslyActiveFocus()})}binding(t){return this.liveSocket.binding(t)}},Nk=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||HM,this.opts=r,this.params=u1(r.params||{}),this.viewLogger=r.viewLogger,this.metadataCallbacks=r.metadata||{},this.defaults=Object.assign(zd(KM),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=zd(window.location),this.hooks=r.hooks||{},this.uploaders=r.uploaders||{},this.loaderTimeout=r.loaderTimeout||ZM,this.reloadWithJitterTimer=null,this.maxReloads=r.maxReloads||IM,this.reloadJitterMin=r.reloadJitterMin||LM,this.reloadJitterMax=r.reloadJitterMax||MM,this.failsafeJitter=r.failsafeJitter||zM,this.localStorage=r.localStorage||window.localStorage,this.sessionStorage=r.sessionStorage||window.sessionStorage,this.boundTopLevelEvents=!1,this.domCallbacks=Object.assign({onNodeAdded:u1(),onBeforeElUpdated:u1()},r.dom||{}),this.transitions=new Pz,window.addEventListener("pagehide",i=>{this.unloaded=!0}),this.socket.onOpen(()=>{this.isUnloaded()&&window.location.reload()})}isProfileEnabled(){return this.sessionStorage.getItem(s1)==="true"}isDebugEnabled(){return this.sessionStorage.getItem(Ad)==="true"}isDebugDisabled(){return this.sessionStorage.getItem(Ad)==="false"}enableDebug(){this.sessionStorage.setItem(Ad,"true")}enableProfiling(){this.sessionStorage.setItem(s1,"true")}disableDebug(){this.sessionStorage.setItem(Ad,"false")}disableProfiling(){this.sessionStorage.removeItem(s1)}enableLatencySim(t){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(l1,t)}disableLatencySim(){this.sessionStorage.removeItem(l1)}getLatencySim(){let t=this.sessionStorage.getItem(l1);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=>Vr.exec(r,e,i,t))}execJSHookPush(t,e,r,i){this.withinOwners(t,n=>{Vr.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();rz(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(a,s){this.receives.push([a,s])}};return setTimeout(()=>{t.isDestroyed()||o.receives.reduce((a,[s,l])=>a.receive(s,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=jn.updateLocal(this.localStorage,window.location.pathname,Ak,0,a=>a+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.")?uz[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,`${Ml}:not([${Rl}])`,e=>{if(!this.getRootById(e.id)){let r=this.newRootView(e);r.setHref(this.getHref()),r.join(),e.hasAttribute(b1)&&(this.main=r)}t=!0}),t}redirect(t,e){this.unload(),jn.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(null,!0),this.main.join((a,s)=>{a===1&&this.commitPendingLink(i)&&this.requestDOMUpdate(()=>{de.findPhxSticky(document).forEach(l=>o.appendChild(l)),this.outgoingMainEl.replaceWith(o),this.outgoingMainEl=null,r&&r(i),s()})})}transitionRemoves(t,e){let r=this.binding("remove");if(t=t||de.all(document,`[${r}]`),e){let i=de.findPhxSticky(document)||[];t=t.filter(n=>!de.isChildOfAny(n,i))}t.forEach(i=>{this.execJS(i,i.getAttribute(r),"remove")})}isPhxView(t){return t.getAttribute&&t.getAttribute(va)!==null}newRootView(t,e,r){let i=new Dk(t,this,null,e,r);return this.roots[i.id]=i,i}owner(t,e){let r=ya(t.closest(Ml),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(Ll);return ya(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(Ll));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,a)=>{let s=n.getAttribute(this.binding(VM)),l=e.key&&e.key.toLowerCase();if(s&&s.toLowerCase()!==l)return;let c=oe({key:e.key},this.eventMeta(r,e,n));Vr.exec(r,o,i,n,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,r,i,n,o,a)=>{if(!a){let s=oe({key:e.key},this.eventMeta(r,e,n));Vr.exec(r,o,i,n,["push",{data:s}])}}),this.bind({blur:"blur",focus:"focus"},(e,r,i,n,o,a)=>{if(a==="window"){let s=this.eventMeta(r,e,n);Vr.exec(r,o,i,n,["push",{data:s}])}}),window.addEventListener("dragover",e=>e.preventDefault()),window.addEventListener("drop",e=>{e.preventDefault();let r=ya(vu(e.target,this.binding(ok)),o=>o.getAttribute(this.binding(ok))),i=r&&document.getElementById(r),n=Array.from(e.dataTransfer.files||[]);!i||i.disabled||n.length===0||!(i.files instanceof FileList)||(kr.trackFiles(i,n,e.dataTransfer),i.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on($k,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);kr.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),a=this.binding(`window-${r}`),s=n.target.getAttribute&&n.target.getAttribute(o);s?this.debounce(n.target,n,i,()=>{this.withinOwners(n.target,l=>{e(n,r,l,n.target,s,null)})}):de.all(document,`[${a}]`,l=>{let c=l.getAttribute(a);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{n.detail===0&&(this.clickStartedAtTarget=n.target);let s=this.clickStartedAtTarget||n.target;o=vu(s,i),this.dispatchClickAway(n,s),this.clickStartedAtTarget=null}let a=o&&o.getAttribute(i);if(!a){!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,s=>{Vr.exec("click",a,s,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(i,n=>{let o=i.getAttribute(r);Vr.isVisible(i)&&Vr.isInViewport(i)&&Vr.exec("click",o,n,i,["push",{data:this.eventMeta("click",t,t.target)}])})})}bindNav(){if(!jn.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let t=null;window.addEventListener("scroll",e=>{clearTimeout(t),t=setTimeout(()=>{jn.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||{},a=window.location.href;de.dispatchEvent(window,"phx:navigate",{detail:{href:a,patch:r==="patch",pop:!0}}),this.requestDOMUpdate(()=>{this.main.isConnected()&&r==="patch"&&i===this.main.id?this.main.pushLinkPatch(a,null,()=>{this.maybeScroll(o)}):this.replaceMain(a,null,()=>{n&&this.replaceRootHistory(),this.maybeScroll(o)})})},!1),window.addEventListener("click",e=>{let r=vu(e.target,r1),i=r&&r.getAttribute(r1);if(!i||!this.isConnected()||!this.main||de.wantsNewTab(e))return;let n=r.href instanceof SVGAnimatedString?r.href.baseVal:r.href,o=r.getAttribute(NM);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 ${r1} to be "patch" or "redirect", got: ${i}`);let a=r.getAttribute(this.binding("click"));a&&this.requestDOMUpdate(()=>this.execJS(r,a,"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()||!this.main.isMain())return jn.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)&&(jn.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()||!this.main.isMain())return jn.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&&(jn.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(){jn.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=zd(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=>{Vr.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,a=o.getAttribute(n),s=o.form&&o.form.getAttribute(n),l=a||s;if(!l||o.type==="number"&&o.validity&&o.validity.badInput)return;let c=a?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,m1,!0),de.isTextualInput(o)||this.setActiveElement(o),Vr.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),this.binding(Nd));let n=Array.from(i.elements).find(o=>o.type==="reset");n&&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(jM),o=this.binding(WM),a=this.defaults.debounce.toString(),s=this.defaults.throttle.toString();this.withinOwners(t,l=>{let c=()=>!l.isDestroyed()&&document.body.contains(t);de.debounce(t,e,n,a,o,s,c,()=>{i()})})}silenceEvents(t){this.silenced=!0,t(),this.silenced=!1}on(t,e){window.addEventListener(t,r=>{this.silenced||e(r)})}},Pz=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 Uk="livebook:";function ks(t){try{let e=localStorage.getItem(Uk+t);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function zl(t,e){try{let r=JSON.stringify(e);localStorage.setItem(Uk+t,r)}catch(r){console.error(`Failed to write to local storage, reason: ${r.message}`)}}var qk="app_auth_token:";function Bk(t,e){zl(qk+t,e)}function jk(){let t=window.location.pathname;if(t.startsWith("/apps/")){let e=t.split("/")[2],r=ks(qk+e);if(r)return r}return null}var _z={mounted(){this.handleEvent("persist_app_auth",({slug:t,token:e})=>{Bk(t,e),this.pushEvent("app_auth_persisted")})}},Wk=_z;function $t(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[Az(i)]=JSON.parse(o)}return r}function Az(t){let[e,...r]=t.split("-");return[e,...r.map(i=>i.charAt(0).toUpperCase()+i.slice(1))].join("")}function Vk(t,e,r){let n=new ArrayBuffer(44+t.byteLength),o=new DataView(n),a=t.byteLength/4,s=4,l=e*s,c=r*l,u=a*l,f=0;function d(w){o.setUint32(f,w,!1),f+=4}function p(w){o.setUint32(f,w,!0),f+=4}function O(w){o.setUint16(f,w,!0),f+=2}function x(w){o.setFloat32(f,w,!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(s*8),d(1684108385),p(u);let k=new Float32Array(t);for(let w=0;w{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(...x1)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...x1)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...x1)}),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 $t(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=$z(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 Xz(t.data,this.props.endianness);if(this.props.format==="wav")return Vk(t.data,t.numChannels,t.samplingRate)}};function $z(t){let e=t.numberOfChannels,r=t.sampleRate,i=t.length,n=4*e*i,o=new ArrayBuffer(n),a=new Float32Array(o);for(let s=0;s=0;l--)i=r[l],n=i.name,o=i.namespaceURI,a=i.value,o?(n=i.localName||n,s=t.getAttributeNS(o,n),s!==a&&(i.prefix==="xmlns"&&(n=i.name),t.setAttributeNS(o,n,a))):(s=t.getAttribute(n),s!==a&&t.setAttribute(n,a));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 Bd,Lz="http://www.w3.org/1999/xhtml",vi=typeof document=="undefined"?void 0:document,Mz=!!vi&&"content"in vi.createElement("template"),zz=!!vi&&vi.createRange&&"createContextualFragment"in vi.createRange();function Dz(t){var e=vi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function Nz(t){Bd||(Bd=vi.createRange(),Bd.selectNode(vi.body));var e=Bd.createContextualFragment(t);return e.childNodes[0]}function Uz(t){var e=vi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function qz(t){return t=t.trim(),Mz?Dz(t):zz?Nz(t):Uz(t)}function jd(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 Bz(t,e){return!e||e===Lz?vi.createElement(t):vi.createElementNS(e,t)}function jz(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function w1(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)}w1(t,e,"selected")},INPUT:function(t,e){w1(t,e,"checked"),w1(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,a;n;)if(a=n.nodeName&&n.nodeName.toUpperCase(),a==="OPTGROUP")o=n,n=o.firstChild;else{if(a==="OPTION"){if(n.hasAttribute("selected")){r=i;break}i++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=r}}},wu=1,Kk=11,Jk=3,e6=8;function xa(){}function Wz(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function Vz(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=vi.createElement("html"),i.innerHTML=o}else i=qz(i);else i.nodeType===Kk&&(i=i.firstElementChild);var a=n.getNodeKey||Wz,s=n.onBeforeNodeAdded||xa,l=n.onNodeAdded||xa,c=n.onBeforeElUpdated||xa,u=n.onElUpdated||xa,f=n.onBeforeNodeDiscarded||xa,d=n.onNodeDiscarded||xa,p=n.onBeforeElChildrenUpdated||xa,O=n.skipFromChildren||xa,x=n.addChild||function(ae,pe){return ae.appendChild(pe)},k=n.childrenOnly===!0,w=Object.create(null),C=[];function Q(ae){C.push(ae)}function L(ae,pe){if(ae.nodeType===wu)for(var J=ae.firstChild;J;){var _=void 0;pe&&(_=a(J))?Q(_):(d(J),J.firstChild&&L(J,pe)),J=J.nextSibling}}function N(ae,pe,J){f(ae)!==!1&&(pe&&pe.removeChild(ae),d(ae),L(ae,J))}function I(ae){if(ae.nodeType===wu||ae.nodeType===Kk)for(var pe=ae.firstChild;pe;){var J=a(pe);J&&(w[J]=pe),I(pe),pe=pe.nextSibling}}I(r);function H(ae){l(ae);for(var pe=ae.firstChild;pe;){var J=pe.nextSibling,_=a(pe);if(_){var K=w[_];K&&jd(pe,K)?(pe.parentNode.replaceChild(K,pe),Y(K,pe)):H(pe)}else H(pe);pe=J}}function j(ae,pe,J){for(;pe;){var _=pe.nextSibling;(J=a(pe))?Q(J):N(pe,ae,!0),pe=_}}function Y(ae,pe,J){var _=a(pe);_&&delete w[_],!(!J&&(c(ae,pe)===!1||(t(ae,pe),u(ae),p(ae,pe)===!1)))&&(ae.nodeName!=="TEXTAREA"?V(ae,pe):Gk.TEXTAREA(ae,pe))}function V(ae,pe){var J=O(ae,pe),_=pe.firstChild,K=ae.firstChild,se,q,Je,st,at;e:for(;_;){for(st=_.nextSibling,se=a(_);!J&&K;){if(Je=K.nextSibling,_.isSameNode&&_.isSameNode(K)){_=st,K=Je;continue e}q=a(K);var Ce=K.nodeType,Ze=void 0;if(Ce===_.nodeType&&(Ce===wu?(se?se!==q&&((at=w[se])?Je===at?Ze=!1:(ae.insertBefore(at,K),q?Q(q):N(K,ae,!0),K=at,q=a(K)):Ze=!1):q&&(Ze=!1),Ze=Ze!==!1&&jd(K,_),Ze&&Y(K,_)):(Ce===Jk||Ce==e6)&&(Ze=!0,K.nodeValue!==_.nodeValue&&(K.nodeValue=_.nodeValue))),Ze){_=st,K=Je;continue e}q?Q(q):N(K,ae,!0),K=Je}if(se&&(at=w[se])&&jd(at,_))J||x(ae,at),Y(at,_);else{var Rt=s(_);Rt!==!1&&(Rt&&(_=Rt),_.actualize&&(_=_.actualize(ae.ownerDocument||vi)),x(ae,_),H(_))}_=st,K=Je}j(ae,K,q);var ut=Gk[ae.nodeName];ut&&ut(ae,pe)}var ne=r,ue=ne.nodeType,he=i.nodeType;if(!k){if(ue===wu)he===wu?jd(r,i)||(d(r),ne=jz(r,Bz(i.nodeName,i.namespaceURI))):ne=i;else if(ue===Jk||ue===e6){if(he===ue)return ne.nodeValue!==i.nodeValue&&(ne.nodeValue=i.nodeValue),ne;ne=i}}if(ne===i)d(r);else{if(i.isSameNode&&i.isSameNode(ne))return;if(Y(ne,i,k),C)for(var ge=0,ve=C.length;gea.length,l;s&&a.push(n);try{l=t.apply(this,a)}catch(c){let u=c;if(s&&r)throw u;return n(u)}s||(l instanceof Promise?l.then(o,n):l instanceof Error?n(l):o(l))}function n(a,...s){r||(r=!0,e(a,...s))}function o(a){n(null,a)}}function T1(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?h6(t.position):"start"in t||"end"in t?h6(t):"line"in t||"column"in t?S1(t):""}function S1(t){return d6(t&&t.line)+":"+d6(t&&t.column)}function h6(t){return S1(t&&t.start)+"-"+S1(t&&t.end)}function d6(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={},a=!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=oe({},r)),typeof e=="string"?n=e:!o.cause&&e&&(a=!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 s=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=s?s.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=s?s.line:void 0,this.name=T1(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=a&&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:Yz,dirname:Hz,extname:Gz,join:Kz,sep:"/"};function Yz(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');Su(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 a=-1,s=e.length-1;for(;n--;)if(t.codePointAt(n)===47){if(o){r=n+1;break}}else a<0&&(o=!0,a=n+1),s>-1&&(t.codePointAt(n)===e.codePointAt(s--)?s<0&&(i=n):(s=-1,i=a));return r===i?i=a:i<0&&(i=t.length),t.slice(r,i)}function Hz(t){if(Su(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 Gz(t){Su(t);let e=t.length,r=-1,i=0,n=-1,o=0,a;for(;e--;){let s=t.codePointAt(e);if(s===47){if(a){i=e+1;break}continue}r<0&&(a=!0,r=e+1),s===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 Kz(...t){let e=-1,r;for(;++e0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function eD(t,e){let r="",i=0,n=-1,o=0,a=-1,s,l;for(;++a<=t.length;){if(a2){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=a,o=0;continue}}else if(r.length>0){r="",i=0,n=a,o=0;continue}}e&&(r=r.length>0?r+"/..":"..",i=2)}else r.length>0?r+="/"+t.slice(n+1,a):r=t.slice(n+1,a),i=a-n-1;n=a,o=0}else s===46&&o>-1?o++:o=-1}return r}function Su(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var p6={cwd:tD};function tD(){return"/"}function Dl(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function m6(t){if(typeof t=="string")t=new URL(t);else if(!Dl(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 rD(t)}function rD(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,x=i[d][1];ku(x)&&ku(p)&&(p=(0,Fd.default)(!0,x,p)),i[d]=[c,p,...O]}}}},Zd=new $1().freeze();function _1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function A1(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 b6(t){if(!ku(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function y6(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function Vd(t){return oD(t)?t:new wa(t)}function oD(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function aD(t){return typeof t=="string"||sD(t)}function sD(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var lD={};function X1(t,e){let r=e||lD,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return x6(t,i,n)}function x6(t,e,r){if(cD(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 v6(t.children,e,r)}return Array.isArray(t)?v6(t,e,r):""}function v6(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)a=Array.from(i),a.unshift(e,r),t.splice(...a);else for(r&&t.splice(e,r);o0?(Xr(t,t.length,0,e),t):e}var w6={}.hasOwnProperty;function k6(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 To(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var hD=ka(new RegExp("\\p{P}","u")),Li=ka(/[A-Za-z]/),si=ka(/[\dA-Za-z]/),S6=ka(/[#-'*+\--9=?A-Z^-~]/);function Tu(t){return t!==null&&(t<32||t===127)}var Eu=ka(/\d/),T6=ka(/[\dA-Fa-f]/),R1=ka(/[!-/:-@[-`{-~]/);function ze(t){return t!==null&&t<-2}function ar(t){return t!==null&&(t<0||t===32)}function tt(t){return t===-2||t===-1||t===32}function E6(t){return R1(t)||hD(t)}var C6=ka(/\s/);function ka(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 a;function a(l){return tt(l)?(t.enter(r),s(l)):e(l)}function s(l){return tt(l)&&o++a))return;let H=e.events.length,j=H,Y,V;for(;j--;)if(e.events[j][0]==="exit"&&e.events[j][1].type==="chunkFlow"){if(Y){V=e.events[j][1].end;break}Y=!0}for(w(i),I=H;IQ;){let N=r[L];e.containerState=N[1],N[0].exit.call(e,t)}r.length=Q}function C(){n.write([null]),o=void 0,n=void 0,e.containerState._closeFlow=void 0}}function mD(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 I1(t){if(t===null||ar(t)||C6(t))return 1;if(E6(t))return 2}function Nl(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);Q6(f,-l),Q6(d,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[i][1].end)},s={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({},a.start),end:Object.assign({},s.end)},t[i][1].end=Object.assign({},a.start),t[r][1].start=Object.assign({},s.end),c=[],t[i][1].end.offset-t[i][1].start.offset&&(c=ai(c,[["enter",t[i][1],e],["exit",t[i][1],e]])),c=ai(c,[["enter",n,e],["enter",a,e],["exit",a,e],["enter",o,e]]),c=ai(c,Nl(e.parser.constructs.insideSpan.null,t.slice(i+1,r),e)),c=ai(c,[["exit",o,e],["enter",s,e],["exit",s,e],["exit",n,e]]),t[r][1].end.offset-t[r][1].start.offset?(u=2,c=ai(c,[["enter",t[r][1],e],["exit",t[r][1],e]])):u=0,Xr(t,i-1,r-i+3,c),r=i+c.length-u-2;break}}for(r=-1;++r0&&tt(I)?rt(t,C,"linePrefix",o+1)(I):C(I)}function C(I){return I===null||ze(I)?t.check($6,x,L)(I):(t.enter("codeFlowValue"),Q(I))}function Q(I){return I===null||ze(I)?(t.exit("codeFlowValue"),C(I)):(t.consume(I),Q)}function L(I){return t.exit("codeFenced"),e(I)}function N(I,H,j){let Y=0;return V;function V(ve){return I.enter("lineEnding"),I.consume(ve),I.exit("lineEnding"),ne}function ne(ve){return I.enter("codeFencedFence"),tt(ve)?rt(I,ue,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ve):ue(ve)}function ue(ve){return ve===s?(I.enter("codeFencedFenceSequence"),he(ve)):j(ve)}function he(ve){return ve===s?(Y++,I.consume(ve),he):Y>=a?(I.exit("codeFencedFenceSequence"),tt(ve)?rt(I,ge,"whitespace")(ve):ge(ve)):j(ve)}function ge(ve){return ve===null||ze(ve)?(I.exit("codeFencedFence"),H(ve)):j(ve)}}}function ED(t,e,r){let i=this;return n;function n(a){return a===null?r(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o)}function o(a){return i.parser.lazy[i.now().line]?r(a):e(a)}}var Pu={name:"codeIndented",tokenize:PD},CD={tokenize:_D,partial:!0};function PD(t,e,r){let i=this;return n;function n(c){return t.enter("codeIndented"),rt(t,o,"linePrefix",5)(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?a(c):r(c)}function a(c){return c===null?l(c):ze(c)?t.attempt(CD,a,l)(c):(t.enter("codeFlowValue"),s(c))}function s(c){return c===null||ze(c)?(t.exit("codeFlowValue"),a(c)):(t.consume(c),s)}function l(c){return t.exit("codeIndented"),e(c)}}function _D(t,e,r){let i=this;return n;function n(a){return i.parser.lazy[i.now().line]?r(a):ze(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),n):rt(t,o,"linePrefix",5)(a)}function o(a){let s=i.events[i.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?e(a):ze(a)?n(a):r(a)}}var M1={name:"codeText",tokenize:$D,resolve:AD,previous:QD};function AD(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(a):t.interrupt(i.parser.constructs.flow,r,e)(a)}}function t0(t,e,r,i,n,o,a,s,l){let c=l||Number.POSITIVE_INFINITY,u=0;return f;function f(w){return w===60?(t.enter(i),t.enter(n),t.enter(o),t.consume(w),t.exit(o),d):w===null||w===32||w===41||Tu(w)?r(w):(t.enter(i),t.enter(a),t.enter(s),t.enter("chunkString",{contentType:"string"}),x(w))}function d(w){return w===62?(t.enter(o),t.consume(w),t.exit(o),t.exit(n),t.exit(i),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===62?(t.exit("chunkString"),t.exit(s),d(w)):w===null||w===60||ze(w)?r(w):(t.consume(w),w===92?O:p)}function O(w){return w===60||w===62||w===92?(t.consume(w),p):p(w)}function x(w){return!u&&(w===null||w===41||ar(w))?(t.exit("chunkString"),t.exit(s),t.exit(a),t.exit(i),e(w)):u999||p===null||p===91||p===93&&!l||p===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?r(p):p===93?(t.exit(o),t.enter(n),t.consume(p),t.exit(n),t.exit(i),e):ze(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||ze(p)||s++>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),s++,f):f(p)}}function i0(t,e,r,i,n,o){let a;return s;function s(d){return d===34||d===39||d===40?(t.enter(i),t.enter(n),t.consume(d),t.exit(n),a=d===40?41:d,l):r(d)}function l(d){return d===a?(t.enter(n),t.consume(d),t.exit(n),t.exit(i),e):(t.enter(o),c(d))}function c(d){return d===a?(t.exit(o),l(a)):d===null?r(d):ze(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===a||d===null||ze(d)?(t.exit("chunkString"),c(d)):(t.consume(d),d===92?f:u)}function f(d){return d===a||d===92?(t.consume(d),u):u(d)}}function Ss(t,e){let r;return i;function i(n){return ze(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 D1={name:"definition",tokenize:DD},zD={tokenize:ND,partial:!0};function DD(t,e,r){let i=this,n;return o;function o(p){return t.enter("definition"),a(p)}function a(p){return r0.call(i,t,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return n=To(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 ar(p)?Ss(t,c)(p):c(p)}function c(p){return t0(t,u,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function u(p){return t.attempt(zD,f,f)(p)}function f(p){return tt(p)?rt(t,d,"whitespace")(p):d(p)}function d(p){return p===null||ze(p)?(t.exit("definition"),i.parser.defined.push(n),e(p)):r(p)}}function ND(t,e,r){return i;function i(s){return ar(s)?Ss(t,n)(s):r(s)}function n(s){return i0(t,o,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return tt(s)?rt(t,a,"whitespace")(s):a(s)}function a(s){return s===null||ze(s)?e(s):r(s)}}var N1={name:"hardBreakEscape",tokenize:UD};function UD(t,e,r){return i;function i(o){return t.enter("hardBreakEscape"),t.consume(o),n}function n(o){return ze(o)?(t.exit("hardBreakEscape"),e(o)):r(o)}}var U1={name:"headingAtx",tokenize:BD,resolve:qD};function qD(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"},Xr(t,i,r-i+1,[["enter",n,e],["enter",o,e],["exit",o,e],["exit",n,e]])),t}function BD(t,e,r){let i=0;return n;function n(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),a(u)}function a(u){return u===35&&i++<6?(t.consume(u),a):u===null||ar(u)?(t.exit("atxHeadingSequence"),s(u)):r(u)}function s(u){return u===35?(t.enter("atxHeadingSequence"),l(u)):u===null||ze(u)?(t.exit("atxHeading"),e(u)):tt(u)?rt(t,s,"whitespace")(u):(t.enter("atxHeadingText"),c(u))}function l(u){return u===35?(t.consume(u),l):(t.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||ar(u)?(t.exit("atxHeadingText"),s(u)):(t.consume(u),c)}}var X6=["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"],q1=["pre","script","style","textarea"];var B1={name:"htmlFlow",tokenize:FD,resolveTo:VD,concrete:!0},jD={tokenize:YD,partial:!0},WD={tokenize:ZD,partial:!0};function VD(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 FD(t,e,r){let i=this,n,o,a,s,l;return c;function c(q){return u(q)}function u(q){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(q),f}function f(q){return q===33?(t.consume(q),d):q===47?(t.consume(q),o=!0,x):q===63?(t.consume(q),n=3,i.interrupt?e:_):Li(q)?(t.consume(q),a=String.fromCharCode(q),k):r(q)}function d(q){return q===45?(t.consume(q),n=2,p):q===91?(t.consume(q),n=5,s=0,O):Li(q)?(t.consume(q),n=4,i.interrupt?e:_):r(q)}function p(q){return q===45?(t.consume(q),i.interrupt?e:_):r(q)}function O(q){let Je="CDATA[";return q===Je.charCodeAt(s++)?(t.consume(q),s===Je.length?i.interrupt?e:ue:O):r(q)}function x(q){return Li(q)?(t.consume(q),a=String.fromCharCode(q),k):r(q)}function k(q){if(q===null||q===47||q===62||ar(q)){let Je=q===47,st=a.toLowerCase();return!Je&&!o&&q1.includes(st)?(n=1,i.interrupt?e(q):ue(q)):X6.includes(a.toLowerCase())?(n=6,Je?(t.consume(q),w):i.interrupt?e(q):ue(q)):(n=7,i.interrupt&&!i.parser.lazy[i.now().line]?r(q):o?C(q):Q(q))}return q===45||si(q)?(t.consume(q),a+=String.fromCharCode(q),k):r(q)}function w(q){return q===62?(t.consume(q),i.interrupt?e:ue):r(q)}function C(q){return tt(q)?(t.consume(q),C):V(q)}function Q(q){return q===47?(t.consume(q),V):q===58||q===95||Li(q)?(t.consume(q),L):tt(q)?(t.consume(q),Q):V(q)}function L(q){return q===45||q===46||q===58||q===95||si(q)?(t.consume(q),L):N(q)}function N(q){return q===61?(t.consume(q),I):tt(q)?(t.consume(q),N):Q(q)}function I(q){return q===null||q===60||q===61||q===62||q===96?r(q):q===34||q===39?(t.consume(q),l=q,H):tt(q)?(t.consume(q),I):j(q)}function H(q){return q===l?(t.consume(q),l=null,Y):q===null||ze(q)?r(q):(t.consume(q),H)}function j(q){return q===null||q===34||q===39||q===47||q===60||q===61||q===62||q===96||ar(q)?N(q):(t.consume(q),j)}function Y(q){return q===47||q===62||tt(q)?Q(q):r(q)}function V(q){return q===62?(t.consume(q),ne):r(q)}function ne(q){return q===null||ze(q)?ue(q):tt(q)?(t.consume(q),ne):r(q)}function ue(q){return q===45&&n===2?(t.consume(q),_e):q===60&&n===1?(t.consume(q),ae):q===62&&n===4?(t.consume(q),K):q===63&&n===3?(t.consume(q),_):q===93&&n===5?(t.consume(q),J):ze(q)&&(n===6||n===7)?(t.exit("htmlFlowData"),t.check(jD,se,he)(q)):q===null||ze(q)?(t.exit("htmlFlowData"),he(q)):(t.consume(q),ue)}function he(q){return t.check(WD,ge,se)(q)}function ge(q){return t.enter("lineEnding"),t.consume(q),t.exit("lineEnding"),ve}function ve(q){return q===null||ze(q)?he(q):(t.enter("htmlFlowData"),ue(q))}function _e(q){return q===45?(t.consume(q),_):ue(q)}function ae(q){return q===47?(t.consume(q),a="",pe):ue(q)}function pe(q){if(q===62){let Je=a.toLowerCase();return q1.includes(Je)?(t.consume(q),K):ue(q)}return Li(q)&&a.length<8?(t.consume(q),a+=String.fromCharCode(q),pe):ue(q)}function J(q){return q===93?(t.consume(q),_):ue(q)}function _(q){return q===62?(t.consume(q),K):q===45&&n===2?(t.consume(q),_):ue(q)}function K(q){return q===null||ze(q)?(t.exit("htmlFlowData"),se(q)):(t.consume(q),K)}function se(q){return t.exit("htmlFlow"),e(q)}}function ZD(t,e,r){let i=this;return n;function n(a){return ze(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o):r(a)}function o(a){return i.parser.lazy[i.now().line]?r(a):e(a)}}function YD(t,e,r){return i;function i(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),t.attempt(Sa,e,r)}}var j1={name:"htmlText",tokenize:HD};function HD(t,e,r){let i=this,n,o,a;return s;function s(_){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(_),l}function l(_){return _===33?(t.consume(_),c):_===47?(t.consume(_),N):_===63?(t.consume(_),Q):Li(_)?(t.consume(_),j):r(_)}function c(_){return _===45?(t.consume(_),u):_===91?(t.consume(_),o=0,O):Li(_)?(t.consume(_),C):r(_)}function u(_){return _===45?(t.consume(_),p):r(_)}function f(_){return _===null?r(_):_===45?(t.consume(_),d):ze(_)?(a=f,ae(_)):(t.consume(_),f)}function d(_){return _===45?(t.consume(_),p):f(_)}function p(_){return _===62?_e(_):_===45?d(_):f(_)}function O(_){let K="CDATA[";return _===K.charCodeAt(o++)?(t.consume(_),o===K.length?x:O):r(_)}function x(_){return _===null?r(_):_===93?(t.consume(_),k):ze(_)?(a=x,ae(_)):(t.consume(_),x)}function k(_){return _===93?(t.consume(_),w):x(_)}function w(_){return _===62?_e(_):_===93?(t.consume(_),w):x(_)}function C(_){return _===null||_===62?_e(_):ze(_)?(a=C,ae(_)):(t.consume(_),C)}function Q(_){return _===null?r(_):_===63?(t.consume(_),L):ze(_)?(a=Q,ae(_)):(t.consume(_),Q)}function L(_){return _===62?_e(_):Q(_)}function N(_){return Li(_)?(t.consume(_),I):r(_)}function I(_){return _===45||si(_)?(t.consume(_),I):H(_)}function H(_){return ze(_)?(a=H,ae(_)):tt(_)?(t.consume(_),H):_e(_)}function j(_){return _===45||si(_)?(t.consume(_),j):_===47||_===62||ar(_)?Y(_):r(_)}function Y(_){return _===47?(t.consume(_),_e):_===58||_===95||Li(_)?(t.consume(_),V):ze(_)?(a=Y,ae(_)):tt(_)?(t.consume(_),Y):_e(_)}function V(_){return _===45||_===46||_===58||_===95||si(_)?(t.consume(_),V):ne(_)}function ne(_){return _===61?(t.consume(_),ue):ze(_)?(a=ne,ae(_)):tt(_)?(t.consume(_),ne):Y(_)}function ue(_){return _===null||_===60||_===61||_===62||_===96?r(_):_===34||_===39?(t.consume(_),n=_,he):ze(_)?(a=ue,ae(_)):tt(_)?(t.consume(_),ue):(t.consume(_),ge)}function he(_){return _===n?(t.consume(_),n=void 0,ve):_===null?r(_):ze(_)?(a=he,ae(_)):(t.consume(_),he)}function ge(_){return _===null||_===34||_===39||_===60||_===61||_===96?r(_):_===47||_===62||ar(_)?Y(_):(t.consume(_),ge)}function ve(_){return _===47||_===62||ar(_)?Y(_):r(_)}function _e(_){return _===62?(t.consume(_),t.exit("htmlTextData"),t.exit("htmlText"),e):r(_)}function ae(_){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(_),t.exit("lineEnding"),pe}function pe(_){return tt(_)?rt(t,J,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):J(_)}function J(_){return t.enter("htmlTextData"),a(_)}}var Ts={name:"labelEnd",tokenize:rN,resolveTo:tN,resolveAll:eN},GD={tokenize:iN},KD={tokenize:nN},JD={tokenize:oN};function eN(t){let e=-1;for(;++e=3&&(c===null||ze(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,s,"whitespace")(c):s(c))}}var Fr={name:"list",tokenize:hN,continuation:{tokenize:dN},exit:mN},uN={tokenize:ON,partial:!0},fN={tokenize:pN,partial:!0};function hN(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,a=0;return s;function s(p){let O=i.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(O==="listUnordered"?!i.containerState.marker||p===i.containerState.marker:Eu(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(Es,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 Eu(p)&&++a<10?(t.consume(p),l):(!i.interrupt||a<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(Sa,i.interrupt?r:u,t.attempt(uN,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 dN(t,e,r){let i=this;return i.containerState._closeFlow=void 0,t.check(Sa,n,o);function n(s){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,rt(t,e,"listItemIndent",i.containerState.size+1)(s)}function o(s){return i.containerState.furtherBlankLines||!tt(s)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,a(s)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(fN,e,a)(s))}function a(s){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)(s)}}function pN(t,e,r){let i=this;return rt(t,n,"listItemIndent",i.containerState.size+1);function n(o){let a=i.events[i.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===i.containerState.size?e(o):r(o)}}function mN(t){t.exit(this.containerState.type)}function ON(t,e,r){let i=this;return rt(t,n,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function n(o){let a=i.events[i.events.length-1];return!tt(o)&&a&&a[1].type==="listItemPrefixWhitespace"?e(o):r(o)}}var n0={name:"setextUnderline",tokenize:bN,resolveTo:gN};function gN(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 a={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",a,e]),t.splice(o+1,0,["exit",t[i][1],e]),t[i][1].end=Object.assign({},t[o][1].end)):t[i][1]=a,t.push(["exit",a,e]),t}function bN(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,a(c)):r(c)}function a(c){return t.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===n?(t.consume(c),s):(t.exit("setextHeadingLineSequence"),tt(c)?rt(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||ze(c)?(t.exit("setextHeadingLine"),e(c)):r(c)}}var R6={tokenize:yN};function yN(t){let e=this,r=t.attempt(Sa,i,t.attempt(this.parser.constructs.flowInitial,n,rt(t,t.attempt(this.parser.constructs.flow,n,t.attempt(z1,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 I6={resolveAll:D6()},L6=z6("string"),M6=z6("text");function z6(t){return{tokenize:e,resolveAll:D6(t==="text"?vN:void 0)};function e(r){let i=this,n=this.parser.constructs[t],o=r.attempt(n,a,s);return a;function a(u){return c(u)?o(u):s(u)}function s(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 s=a[0];typeof s=="string"?a[0]=s.slice(i):a.shift()}o>0&&a.push(t[n].slice(0,o))}return a}function wN(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(s1)==="true"}isDebugEnabled(){return this.sessionStorage.getItem(Ad)==="true"}isDebugDisabled(){return this.sessionStorage.getItem(Ad)==="false"}enableDebug(){this.sessionStorage.setItem(Ad,"true")}enableProfiling(){this.sessionStorage.setItem(s1,"true")}disableDebug(){this.sessionStorage.setItem(Ad,"false")}disableProfiling(){this.sessionStorage.removeItem(s1)}enableLatencySim(t){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(l1,t)}disableLatencySim(){this.sessionStorage.removeItem(l1)}getLatencySim(){let t=this.sessionStorage.getItem(l1);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=>Vr.exec(r,e,i,t))}execJSHookPush(t,e,r,i){this.withinOwners(t,n=>{Vr.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();iz(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(a,s){this.receives.push([a,s])}};return setTimeout(()=>{t.isDestroyed()||o.receives.reduce((a,[s,l])=>a.receive(s,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=jn.updateLocal(this.localStorage,window.location.pathname,Ak,0,a=>a+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.")?fz[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,`${Ml}:not([${Rl}])`,e=>{if(!this.getRootById(e.id)){let r=this.newRootView(e);r.setHref(this.getHref()),r.join(),e.hasAttribute(b1)&&(this.main=r)}t=!0}),t}redirect(t,e){this.unload(),jn.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(null,!0),this.main.join((a,s)=>{a===1&&this.commitPendingLink(i)&&this.requestDOMUpdate(()=>{de.findPhxSticky(document).forEach(l=>o.appendChild(l)),this.outgoingMainEl.replaceWith(o),this.outgoingMainEl=null,r&&r(i),s()})})}transitionRemoves(t,e){let r=this.binding("remove");if(t=t||de.all(document,`[${r}]`),e){let i=de.findPhxSticky(document)||[];t=t.filter(n=>!de.isChildOfAny(n,i))}t.forEach(i=>{this.execJS(i,i.getAttribute(r),"remove")})}isPhxView(t){return t.getAttribute&&t.getAttribute(va)!==null}newRootView(t,e,r){let i=new Dk(t,this,null,e,r);return this.roots[i.id]=i,i}owner(t,e){let r=ya(t.closest(Ml),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(Ll);return ya(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(Ll));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,a)=>{let s=n.getAttribute(this.binding(FM)),l=e.key&&e.key.toLowerCase();if(s&&s.toLowerCase()!==l)return;let c=oe({key:e.key},this.eventMeta(r,e,n));Vr.exec(r,o,i,n,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,r,i,n,o,a)=>{if(!a){let s=oe({key:e.key},this.eventMeta(r,e,n));Vr.exec(r,o,i,n,["push",{data:s}])}}),this.bind({blur:"blur",focus:"focus"},(e,r,i,n,o,a)=>{if(a==="window"){let s=this.eventMeta(r,e,n);Vr.exec(r,o,i,n,["push",{data:s}])}}),window.addEventListener("dragover",e=>e.preventDefault()),window.addEventListener("drop",e=>{e.preventDefault();let r=ya(vu(e.target,this.binding(ok)),o=>o.getAttribute(this.binding(ok))),i=r&&document.getElementById(r),n=Array.from(e.dataTransfer.files||[]);!i||i.disabled||n.length===0||!(i.files instanceof FileList)||(kr.trackFiles(i,n,e.dataTransfer),i.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on($k,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);kr.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),a=this.binding(`window-${r}`),s=n.target.getAttribute&&n.target.getAttribute(o);s?this.debounce(n.target,n,i,()=>{this.withinOwners(n.target,l=>{e(n,r,l,n.target,s,null)})}):de.all(document,`[${a}]`,l=>{let c=l.getAttribute(a);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{n.detail===0&&(this.clickStartedAtTarget=n.target);let s=this.clickStartedAtTarget||n.target;o=vu(s,i),this.dispatchClickAway(n,s),this.clickStartedAtTarget=null}let a=o&&o.getAttribute(i);if(!a){!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,s=>{Vr.exec("click",a,s,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(i,n=>{let o=i.getAttribute(r);Vr.isVisible(i)&&Vr.isInViewport(i)&&Vr.exec("click",o,n,i,["push",{data:this.eventMeta("click",t,t.target)}])})})}bindNav(){if(!jn.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let t=null;window.addEventListener("scroll",e=>{clearTimeout(t),t=setTimeout(()=>{jn.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||{},a=window.location.href;de.dispatchEvent(window,"phx:navigate",{detail:{href:a,patch:r==="patch",pop:!0}}),this.requestDOMUpdate(()=>{this.main.isConnected()&&r==="patch"&&i===this.main.id?this.main.pushLinkPatch(a,null,()=>{this.maybeScroll(o)}):this.replaceMain(a,null,()=>{n&&this.replaceRootHistory(),this.maybeScroll(o)})})},!1),window.addEventListener("click",e=>{let r=vu(e.target,r1),i=r&&r.getAttribute(r1);if(!i||!this.isConnected()||!this.main||de.wantsNewTab(e))return;let n=r.href instanceof SVGAnimatedString?r.href.baseVal:r.href,o=r.getAttribute(UM);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 ${r1} to be "patch" or "redirect", got: ${i}`);let a=r.getAttribute(this.binding("click"));a&&this.requestDOMUpdate(()=>this.execJS(r,a,"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()||!this.main.isMain())return jn.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)&&(jn.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()||!this.main.isMain())return jn.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&&(jn.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(){jn.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=zd(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=>{Vr.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,a=o.getAttribute(n),s=o.form&&o.form.getAttribute(n),l=a||s;if(!l||o.type==="number"&&o.validity&&o.validity.badInput)return;let c=a?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,m1,!0),de.isTextualInput(o)||this.setActiveElement(o),Vr.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),this.binding(Nd));let n=Array.from(i.elements).find(o=>o.type==="reset");n&&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(WM),o=this.binding(VM),a=this.defaults.debounce.toString(),s=this.defaults.throttle.toString();this.withinOwners(t,l=>{let c=()=>!l.isDestroyed()&&document.body.contains(t);de.debounce(t,e,n,a,o,s,c,()=>{i()})})}silenceEvents(t){this.silenced=!0,t(),this.silenced=!1}on(t,e){window.addEventListener(t,r=>{this.silenced||e(r)})}},_z=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 Uk="livebook:";function ks(t){try{let e=localStorage.getItem(Uk+t);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function zl(t,e){try{let r=JSON.stringify(e);localStorage.setItem(Uk+t,r)}catch(r){console.error(`Failed to write to local storage, reason: ${r.message}`)}}var qk="app_auth_token:";function Bk(t,e){zl(qk+t,e)}function jk(){let t=window.location.pathname;if(t.startsWith("/apps/")){let e=t.split("/")[2],r=ks(qk+e);if(r)return r}return null}var Az={mounted(){this.handleEvent("persist_app_auth",({slug:t,token:e})=>{Bk(t,e),this.pushEvent("app_auth_persisted")})}},Wk=Az;function $t(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[Qz(i)]=JSON.parse(o)}return r}function Qz(t){let[e,...r]=t.split("-");return[e,...r.map(i=>i.charAt(0).toUpperCase()+i.slice(1))].join("")}function Vk(t,e,r){let n=new ArrayBuffer(44+t.byteLength),o=new DataView(n),a=t.byteLength/4,s=4,l=e*s,c=r*l,u=a*l,f=0;function d(w){o.setUint32(f,w,!1),f+=4}function p(w){o.setUint32(f,w,!0),f+=4}function O(w){o.setUint16(f,w,!0),f+=2}function x(w){o.setFloat32(f,w,!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(s*8),d(1684108385),p(u);let k=new Float32Array(t);for(let w=0;w{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(...x1)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...x1)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...x1)}),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 $t(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=Xz(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 Rz(t.data,this.props.endianness);if(this.props.format==="wav")return Vk(t.data,t.numChannels,t.samplingRate)}};function Xz(t){let e=t.numberOfChannels,r=t.sampleRate,i=t.length,n=4*e*i,o=new ArrayBuffer(n),a=new Float32Array(o);for(let s=0;s=0;l--)i=r[l],n=i.name,o=i.namespaceURI,a=i.value,o?(n=i.localName||n,s=t.getAttributeNS(o,n),s!==a&&(i.prefix==="xmlns"&&(n=i.name),t.setAttributeNS(o,n,a))):(s=t.getAttribute(n),s!==a&&t.setAttribute(n,a));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 Bd,Mz="http://www.w3.org/1999/xhtml",vi=typeof document=="undefined"?void 0:document,zz=!!vi&&"content"in vi.createElement("template"),Dz=!!vi&&vi.createRange&&"createContextualFragment"in vi.createRange();function Nz(t){var e=vi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function Uz(t){Bd||(Bd=vi.createRange(),Bd.selectNode(vi.body));var e=Bd.createContextualFragment(t);return e.childNodes[0]}function qz(t){var e=vi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function Bz(t){return t=t.trim(),zz?Nz(t):Dz?Uz(t):qz(t)}function jd(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 jz(t,e){return!e||e===Mz?vi.createElement(t):vi.createElementNS(e,t)}function Wz(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function w1(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)}w1(t,e,"selected")},INPUT:function(t,e){w1(t,e,"checked"),w1(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,a;n;)if(a=n.nodeName&&n.nodeName.toUpperCase(),a==="OPTGROUP")o=n,n=o.firstChild;else{if(a==="OPTION"){if(n.hasAttribute("selected")){r=i;break}i++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=r}}},wu=1,Kk=11,Jk=3,e6=8;function xa(){}function Vz(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function Fz(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=vi.createElement("html"),i.innerHTML=o}else i=Bz(i);else i.nodeType===Kk&&(i=i.firstElementChild);var a=n.getNodeKey||Vz,s=n.onBeforeNodeAdded||xa,l=n.onNodeAdded||xa,c=n.onBeforeElUpdated||xa,u=n.onElUpdated||xa,f=n.onBeforeNodeDiscarded||xa,d=n.onNodeDiscarded||xa,p=n.onBeforeElChildrenUpdated||xa,O=n.skipFromChildren||xa,x=n.addChild||function(ae,pe){return ae.appendChild(pe)},k=n.childrenOnly===!0,w=Object.create(null),C=[];function Q(ae){C.push(ae)}function L(ae,pe){if(ae.nodeType===wu)for(var J=ae.firstChild;J;){var _=void 0;pe&&(_=a(J))?Q(_):(d(J),J.firstChild&&L(J,pe)),J=J.nextSibling}}function N(ae,pe,J){f(ae)!==!1&&(pe&&pe.removeChild(ae),d(ae),L(ae,J))}function I(ae){if(ae.nodeType===wu||ae.nodeType===Kk)for(var pe=ae.firstChild;pe;){var J=a(pe);J&&(w[J]=pe),I(pe),pe=pe.nextSibling}}I(r);function H(ae){l(ae);for(var pe=ae.firstChild;pe;){var J=pe.nextSibling,_=a(pe);if(_){var K=w[_];K&&jd(pe,K)?(pe.parentNode.replaceChild(K,pe),Y(K,pe)):H(pe)}else H(pe);pe=J}}function j(ae,pe,J){for(;pe;){var _=pe.nextSibling;(J=a(pe))?Q(J):N(pe,ae,!0),pe=_}}function Y(ae,pe,J){var _=a(pe);_&&delete w[_],!(!J&&(c(ae,pe)===!1||(t(ae,pe),u(ae),p(ae,pe)===!1)))&&(ae.nodeName!=="TEXTAREA"?V(ae,pe):Gk.TEXTAREA(ae,pe))}function V(ae,pe){var J=O(ae,pe),_=pe.firstChild,K=ae.firstChild,se,q,Je,st,at;e:for(;_;){for(st=_.nextSibling,se=a(_);!J&&K;){if(Je=K.nextSibling,_.isSameNode&&_.isSameNode(K)){_=st,K=Je;continue e}q=a(K);var Ce=K.nodeType,Ze=void 0;if(Ce===_.nodeType&&(Ce===wu?(se?se!==q&&((at=w[se])?Je===at?Ze=!1:(ae.insertBefore(at,K),q?Q(q):N(K,ae,!0),K=at,q=a(K)):Ze=!1):q&&(Ze=!1),Ze=Ze!==!1&&jd(K,_),Ze&&Y(K,_)):(Ce===Jk||Ce==e6)&&(Ze=!0,K.nodeValue!==_.nodeValue&&(K.nodeValue=_.nodeValue))),Ze){_=st,K=Je;continue e}q?Q(q):N(K,ae,!0),K=Je}if(se&&(at=w[se])&&jd(at,_))J||x(ae,at),Y(at,_);else{var Rt=s(_);Rt!==!1&&(Rt&&(_=Rt),_.actualize&&(_=_.actualize(ae.ownerDocument||vi)),x(ae,_),H(_))}_=st,K=Je}j(ae,K,q);var ut=Gk[ae.nodeName];ut&&ut(ae,pe)}var ne=r,ue=ne.nodeType,he=i.nodeType;if(!k){if(ue===wu)he===wu?jd(r,i)||(d(r),ne=Wz(r,jz(i.nodeName,i.namespaceURI))):ne=i;else if(ue===Jk||ue===e6){if(he===ue)return ne.nodeValue!==i.nodeValue&&(ne.nodeValue=i.nodeValue),ne;ne=i}}if(ne===i)d(r);else{if(i.isSameNode&&i.isSameNode(ne))return;if(Y(ne,i,k),C)for(var ge=0,ve=C.length;gea.length,l;s&&a.push(n);try{l=t.apply(this,a)}catch(c){let u=c;if(s&&r)throw u;return n(u)}s||(l instanceof Promise?l.then(o,n):l instanceof Error?n(l):o(l))}function n(a,...s){r||(r=!0,e(a,...s))}function o(a){n(null,a)}}function T1(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?h6(t.position):"start"in t||"end"in t?h6(t):"line"in t||"column"in t?S1(t):""}function S1(t){return d6(t&&t.line)+":"+d6(t&&t.column)}function h6(t){return S1(t&&t.start)+"-"+S1(t&&t.end)}function d6(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={},a=!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=oe({},r)),typeof e=="string"?n=e:!o.cause&&e&&(a=!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 s=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=s?s.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=s?s.line:void 0,this.name=T1(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=a&&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:Hz,dirname:Gz,extname:Kz,join:Jz,sep:"/"};function Hz(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');Su(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 a=-1,s=e.length-1;for(;n--;)if(t.codePointAt(n)===47){if(o){r=n+1;break}}else a<0&&(o=!0,a=n+1),s>-1&&(t.codePointAt(n)===e.codePointAt(s--)?s<0&&(i=n):(s=-1,i=a));return r===i?i=a:i<0&&(i=t.length),t.slice(r,i)}function Gz(t){if(Su(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 Kz(t){Su(t);let e=t.length,r=-1,i=0,n=-1,o=0,a;for(;e--;){let s=t.codePointAt(e);if(s===47){if(a){i=e+1;break}continue}r<0&&(a=!0,r=e+1),s===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 Jz(...t){let e=-1,r;for(;++e0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function tD(t,e){let r="",i=0,n=-1,o=0,a=-1,s,l;for(;++a<=t.length;){if(a2){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=a,o=0;continue}}else if(r.length>0){r="",i=0,n=a,o=0;continue}}e&&(r=r.length>0?r+"/..":"..",i=2)}else r.length>0?r+="/"+t.slice(n+1,a):r=t.slice(n+1,a),i=a-n-1;n=a,o=0}else s===46&&o>-1?o++:o=-1}return r}function Su(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var p6={cwd:rD};function rD(){return"/"}function Dl(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function m6(t){if(typeof t=="string")t=new URL(t);else if(!Dl(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 iD(t)}function iD(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,x=i[d][1];ku(x)&&ku(p)&&(p=(0,Fd.default)(!0,x,p)),i[d]=[c,p,...O]}}}},Zd=new $1().freeze();function _1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function A1(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 b6(t){if(!ku(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function y6(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function Vd(t){return aD(t)?t:new wa(t)}function aD(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function sD(t){return typeof t=="string"||lD(t)}function lD(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var cD={};function X1(t,e){let r=e||cD,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return x6(t,i,n)}function x6(t,e,r){if(uD(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 v6(t.children,e,r)}return Array.isArray(t)?v6(t,e,r):""}function v6(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)a=Array.from(i),a.unshift(e,r),t.splice(...a);else for(r&&t.splice(e,r);o0?(Xr(t,t.length,0,e),t):e}var w6={}.hasOwnProperty;function k6(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 To(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var dD=ka(new RegExp("\\p{P}","u")),Li=ka(/[A-Za-z]/),si=ka(/[\dA-Za-z]/),S6=ka(/[#-'*+\--9=?A-Z^-~]/);function Tu(t){return t!==null&&(t<32||t===127)}var Eu=ka(/\d/),T6=ka(/[\dA-Fa-f]/),R1=ka(/[!-/:-@[-`{-~]/);function ze(t){return t!==null&&t<-2}function ar(t){return t!==null&&(t<0||t===32)}function tt(t){return t===-2||t===-1||t===32}function E6(t){return R1(t)||dD(t)}var C6=ka(/\s/);function ka(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 a;function a(l){return tt(l)?(t.enter(r),s(l)):e(l)}function s(l){return tt(l)&&o++a))return;let H=e.events.length,j=H,Y,V;for(;j--;)if(e.events[j][0]==="exit"&&e.events[j][1].type==="chunkFlow"){if(Y){V=e.events[j][1].end;break}Y=!0}for(w(i),I=H;IQ;){let N=r[L];e.containerState=N[1],N[0].exit.call(e,t)}r.length=Q}function C(){n.write([null]),o=void 0,n=void 0,e.containerState._closeFlow=void 0}}function OD(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 I1(t){if(t===null||ar(t)||C6(t))return 1;if(E6(t))return 2}function Nl(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);Q6(f,-l),Q6(d,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[i][1].end)},s={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({},a.start),end:Object.assign({},s.end)},t[i][1].end=Object.assign({},a.start),t[r][1].start=Object.assign({},s.end),c=[],t[i][1].end.offset-t[i][1].start.offset&&(c=ai(c,[["enter",t[i][1],e],["exit",t[i][1],e]])),c=ai(c,[["enter",n,e],["enter",a,e],["exit",a,e],["enter",o,e]]),c=ai(c,Nl(e.parser.constructs.insideSpan.null,t.slice(i+1,r),e)),c=ai(c,[["exit",o,e],["enter",s,e],["exit",s,e],["exit",n,e]]),t[r][1].end.offset-t[r][1].start.offset?(u=2,c=ai(c,[["enter",t[r][1],e],["exit",t[r][1],e]])):u=0,Xr(t,i-1,r-i+3,c),r=i+c.length-u-2;break}}for(r=-1;++r0&&tt(I)?rt(t,C,"linePrefix",o+1)(I):C(I)}function C(I){return I===null||ze(I)?t.check($6,x,L)(I):(t.enter("codeFlowValue"),Q(I))}function Q(I){return I===null||ze(I)?(t.exit("codeFlowValue"),C(I)):(t.consume(I),Q)}function L(I){return t.exit("codeFenced"),e(I)}function N(I,H,j){let Y=0;return V;function V(ve){return I.enter("lineEnding"),I.consume(ve),I.exit("lineEnding"),ne}function ne(ve){return I.enter("codeFencedFence"),tt(ve)?rt(I,ue,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ve):ue(ve)}function ue(ve){return ve===s?(I.enter("codeFencedFenceSequence"),he(ve)):j(ve)}function he(ve){return ve===s?(Y++,I.consume(ve),he):Y>=a?(I.exit("codeFencedFenceSequence"),tt(ve)?rt(I,ge,"whitespace")(ve):ge(ve)):j(ve)}function ge(ve){return ve===null||ze(ve)?(I.exit("codeFencedFence"),H(ve)):j(ve)}}}function CD(t,e,r){let i=this;return n;function n(a){return a===null?r(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o)}function o(a){return i.parser.lazy[i.now().line]?r(a):e(a)}}var Pu={name:"codeIndented",tokenize:_D},PD={tokenize:AD,partial:!0};function _D(t,e,r){let i=this;return n;function n(c){return t.enter("codeIndented"),rt(t,o,"linePrefix",5)(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?a(c):r(c)}function a(c){return c===null?l(c):ze(c)?t.attempt(PD,a,l)(c):(t.enter("codeFlowValue"),s(c))}function s(c){return c===null||ze(c)?(t.exit("codeFlowValue"),a(c)):(t.consume(c),s)}function l(c){return t.exit("codeIndented"),e(c)}}function AD(t,e,r){let i=this;return n;function n(a){return i.parser.lazy[i.now().line]?r(a):ze(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),n):rt(t,o,"linePrefix",5)(a)}function o(a){let s=i.events[i.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?e(a):ze(a)?n(a):r(a)}}var M1={name:"codeText",tokenize:XD,resolve:QD,previous:$D};function QD(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(a):t.interrupt(i.parser.constructs.flow,r,e)(a)}}function t0(t,e,r,i,n,o,a,s,l){let c=l||Number.POSITIVE_INFINITY,u=0;return f;function f(w){return w===60?(t.enter(i),t.enter(n),t.enter(o),t.consume(w),t.exit(o),d):w===null||w===32||w===41||Tu(w)?r(w):(t.enter(i),t.enter(a),t.enter(s),t.enter("chunkString",{contentType:"string"}),x(w))}function d(w){return w===62?(t.enter(o),t.consume(w),t.exit(o),t.exit(n),t.exit(i),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===62?(t.exit("chunkString"),t.exit(s),d(w)):w===null||w===60||ze(w)?r(w):(t.consume(w),w===92?O:p)}function O(w){return w===60||w===62||w===92?(t.consume(w),p):p(w)}function x(w){return!u&&(w===null||w===41||ar(w))?(t.exit("chunkString"),t.exit(s),t.exit(a),t.exit(i),e(w)):u999||p===null||p===91||p===93&&!l||p===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?r(p):p===93?(t.exit(o),t.enter(n),t.consume(p),t.exit(n),t.exit(i),e):ze(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||ze(p)||s++>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),s++,f):f(p)}}function i0(t,e,r,i,n,o){let a;return s;function s(d){return d===34||d===39||d===40?(t.enter(i),t.enter(n),t.consume(d),t.exit(n),a=d===40?41:d,l):r(d)}function l(d){return d===a?(t.enter(n),t.consume(d),t.exit(n),t.exit(i),e):(t.enter(o),c(d))}function c(d){return d===a?(t.exit(o),l(a)):d===null?r(d):ze(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===a||d===null||ze(d)?(t.exit("chunkString"),c(d)):(t.consume(d),d===92?f:u)}function f(d){return d===a||d===92?(t.consume(d),u):u(d)}}function Ss(t,e){let r;return i;function i(n){return ze(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 D1={name:"definition",tokenize:ND},DD={tokenize:UD,partial:!0};function ND(t,e,r){let i=this,n;return o;function o(p){return t.enter("definition"),a(p)}function a(p){return r0.call(i,t,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return n=To(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 ar(p)?Ss(t,c)(p):c(p)}function c(p){return t0(t,u,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function u(p){return t.attempt(DD,f,f)(p)}function f(p){return tt(p)?rt(t,d,"whitespace")(p):d(p)}function d(p){return p===null||ze(p)?(t.exit("definition"),i.parser.defined.push(n),e(p)):r(p)}}function UD(t,e,r){return i;function i(s){return ar(s)?Ss(t,n)(s):r(s)}function n(s){return i0(t,o,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return tt(s)?rt(t,a,"whitespace")(s):a(s)}function a(s){return s===null||ze(s)?e(s):r(s)}}var N1={name:"hardBreakEscape",tokenize:qD};function qD(t,e,r){return i;function i(o){return t.enter("hardBreakEscape"),t.consume(o),n}function n(o){return ze(o)?(t.exit("hardBreakEscape"),e(o)):r(o)}}var U1={name:"headingAtx",tokenize:jD,resolve:BD};function BD(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"},Xr(t,i,r-i+1,[["enter",n,e],["enter",o,e],["exit",o,e],["exit",n,e]])),t}function jD(t,e,r){let i=0;return n;function n(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),a(u)}function a(u){return u===35&&i++<6?(t.consume(u),a):u===null||ar(u)?(t.exit("atxHeadingSequence"),s(u)):r(u)}function s(u){return u===35?(t.enter("atxHeadingSequence"),l(u)):u===null||ze(u)?(t.exit("atxHeading"),e(u)):tt(u)?rt(t,s,"whitespace")(u):(t.enter("atxHeadingText"),c(u))}function l(u){return u===35?(t.consume(u),l):(t.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||ar(u)?(t.exit("atxHeadingText"),s(u)):(t.consume(u),c)}}var X6=["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"],q1=["pre","script","style","textarea"];var B1={name:"htmlFlow",tokenize:ZD,resolveTo:FD,concrete:!0},WD={tokenize:HD,partial:!0},VD={tokenize:YD,partial:!0};function FD(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 ZD(t,e,r){let i=this,n,o,a,s,l;return c;function c(q){return u(q)}function u(q){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(q),f}function f(q){return q===33?(t.consume(q),d):q===47?(t.consume(q),o=!0,x):q===63?(t.consume(q),n=3,i.interrupt?e:_):Li(q)?(t.consume(q),a=String.fromCharCode(q),k):r(q)}function d(q){return q===45?(t.consume(q),n=2,p):q===91?(t.consume(q),n=5,s=0,O):Li(q)?(t.consume(q),n=4,i.interrupt?e:_):r(q)}function p(q){return q===45?(t.consume(q),i.interrupt?e:_):r(q)}function O(q){let Je="CDATA[";return q===Je.charCodeAt(s++)?(t.consume(q),s===Je.length?i.interrupt?e:ue:O):r(q)}function x(q){return Li(q)?(t.consume(q),a=String.fromCharCode(q),k):r(q)}function k(q){if(q===null||q===47||q===62||ar(q)){let Je=q===47,st=a.toLowerCase();return!Je&&!o&&q1.includes(st)?(n=1,i.interrupt?e(q):ue(q)):X6.includes(a.toLowerCase())?(n=6,Je?(t.consume(q),w):i.interrupt?e(q):ue(q)):(n=7,i.interrupt&&!i.parser.lazy[i.now().line]?r(q):o?C(q):Q(q))}return q===45||si(q)?(t.consume(q),a+=String.fromCharCode(q),k):r(q)}function w(q){return q===62?(t.consume(q),i.interrupt?e:ue):r(q)}function C(q){return tt(q)?(t.consume(q),C):V(q)}function Q(q){return q===47?(t.consume(q),V):q===58||q===95||Li(q)?(t.consume(q),L):tt(q)?(t.consume(q),Q):V(q)}function L(q){return q===45||q===46||q===58||q===95||si(q)?(t.consume(q),L):N(q)}function N(q){return q===61?(t.consume(q),I):tt(q)?(t.consume(q),N):Q(q)}function I(q){return q===null||q===60||q===61||q===62||q===96?r(q):q===34||q===39?(t.consume(q),l=q,H):tt(q)?(t.consume(q),I):j(q)}function H(q){return q===l?(t.consume(q),l=null,Y):q===null||ze(q)?r(q):(t.consume(q),H)}function j(q){return q===null||q===34||q===39||q===47||q===60||q===61||q===62||q===96||ar(q)?N(q):(t.consume(q),j)}function Y(q){return q===47||q===62||tt(q)?Q(q):r(q)}function V(q){return q===62?(t.consume(q),ne):r(q)}function ne(q){return q===null||ze(q)?ue(q):tt(q)?(t.consume(q),ne):r(q)}function ue(q){return q===45&&n===2?(t.consume(q),_e):q===60&&n===1?(t.consume(q),ae):q===62&&n===4?(t.consume(q),K):q===63&&n===3?(t.consume(q),_):q===93&&n===5?(t.consume(q),J):ze(q)&&(n===6||n===7)?(t.exit("htmlFlowData"),t.check(WD,se,he)(q)):q===null||ze(q)?(t.exit("htmlFlowData"),he(q)):(t.consume(q),ue)}function he(q){return t.check(VD,ge,se)(q)}function ge(q){return t.enter("lineEnding"),t.consume(q),t.exit("lineEnding"),ve}function ve(q){return q===null||ze(q)?he(q):(t.enter("htmlFlowData"),ue(q))}function _e(q){return q===45?(t.consume(q),_):ue(q)}function ae(q){return q===47?(t.consume(q),a="",pe):ue(q)}function pe(q){if(q===62){let Je=a.toLowerCase();return q1.includes(Je)?(t.consume(q),K):ue(q)}return Li(q)&&a.length<8?(t.consume(q),a+=String.fromCharCode(q),pe):ue(q)}function J(q){return q===93?(t.consume(q),_):ue(q)}function _(q){return q===62?(t.consume(q),K):q===45&&n===2?(t.consume(q),_):ue(q)}function K(q){return q===null||ze(q)?(t.exit("htmlFlowData"),se(q)):(t.consume(q),K)}function se(q){return t.exit("htmlFlow"),e(q)}}function YD(t,e,r){let i=this;return n;function n(a){return ze(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o):r(a)}function o(a){return i.parser.lazy[i.now().line]?r(a):e(a)}}function HD(t,e,r){return i;function i(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),t.attempt(Sa,e,r)}}var j1={name:"htmlText",tokenize:GD};function GD(t,e,r){let i=this,n,o,a;return s;function s(_){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(_),l}function l(_){return _===33?(t.consume(_),c):_===47?(t.consume(_),N):_===63?(t.consume(_),Q):Li(_)?(t.consume(_),j):r(_)}function c(_){return _===45?(t.consume(_),u):_===91?(t.consume(_),o=0,O):Li(_)?(t.consume(_),C):r(_)}function u(_){return _===45?(t.consume(_),p):r(_)}function f(_){return _===null?r(_):_===45?(t.consume(_),d):ze(_)?(a=f,ae(_)):(t.consume(_),f)}function d(_){return _===45?(t.consume(_),p):f(_)}function p(_){return _===62?_e(_):_===45?d(_):f(_)}function O(_){let K="CDATA[";return _===K.charCodeAt(o++)?(t.consume(_),o===K.length?x:O):r(_)}function x(_){return _===null?r(_):_===93?(t.consume(_),k):ze(_)?(a=x,ae(_)):(t.consume(_),x)}function k(_){return _===93?(t.consume(_),w):x(_)}function w(_){return _===62?_e(_):_===93?(t.consume(_),w):x(_)}function C(_){return _===null||_===62?_e(_):ze(_)?(a=C,ae(_)):(t.consume(_),C)}function Q(_){return _===null?r(_):_===63?(t.consume(_),L):ze(_)?(a=Q,ae(_)):(t.consume(_),Q)}function L(_){return _===62?_e(_):Q(_)}function N(_){return Li(_)?(t.consume(_),I):r(_)}function I(_){return _===45||si(_)?(t.consume(_),I):H(_)}function H(_){return ze(_)?(a=H,ae(_)):tt(_)?(t.consume(_),H):_e(_)}function j(_){return _===45||si(_)?(t.consume(_),j):_===47||_===62||ar(_)?Y(_):r(_)}function Y(_){return _===47?(t.consume(_),_e):_===58||_===95||Li(_)?(t.consume(_),V):ze(_)?(a=Y,ae(_)):tt(_)?(t.consume(_),Y):_e(_)}function V(_){return _===45||_===46||_===58||_===95||si(_)?(t.consume(_),V):ne(_)}function ne(_){return _===61?(t.consume(_),ue):ze(_)?(a=ne,ae(_)):tt(_)?(t.consume(_),ne):Y(_)}function ue(_){return _===null||_===60||_===61||_===62||_===96?r(_):_===34||_===39?(t.consume(_),n=_,he):ze(_)?(a=ue,ae(_)):tt(_)?(t.consume(_),ue):(t.consume(_),ge)}function he(_){return _===n?(t.consume(_),n=void 0,ve):_===null?r(_):ze(_)?(a=he,ae(_)):(t.consume(_),he)}function ge(_){return _===null||_===34||_===39||_===60||_===61||_===96?r(_):_===47||_===62||ar(_)?Y(_):(t.consume(_),ge)}function ve(_){return _===47||_===62||ar(_)?Y(_):r(_)}function _e(_){return _===62?(t.consume(_),t.exit("htmlTextData"),t.exit("htmlText"),e):r(_)}function ae(_){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(_),t.exit("lineEnding"),pe}function pe(_){return tt(_)?rt(t,J,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):J(_)}function J(_){return t.enter("htmlTextData"),a(_)}}var Ts={name:"labelEnd",tokenize:iN,resolveTo:rN,resolveAll:tN},KD={tokenize:nN},JD={tokenize:oN},eN={tokenize:aN};function tN(t){let e=-1;for(;++e=3&&(c===null||ze(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,s,"whitespace")(c):s(c))}}var Fr={name:"list",tokenize:dN,continuation:{tokenize:pN},exit:ON},fN={tokenize:gN,partial:!0},hN={tokenize:mN,partial:!0};function dN(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,a=0;return s;function s(p){let O=i.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(O==="listUnordered"?!i.containerState.marker||p===i.containerState.marker:Eu(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(Es,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 Eu(p)&&++a<10?(t.consume(p),l):(!i.interrupt||a<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(Sa,i.interrupt?r:u,t.attempt(fN,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 pN(t,e,r){let i=this;return i.containerState._closeFlow=void 0,t.check(Sa,n,o);function n(s){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,rt(t,e,"listItemIndent",i.containerState.size+1)(s)}function o(s){return i.containerState.furtherBlankLines||!tt(s)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,a(s)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(hN,e,a)(s))}function a(s){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)(s)}}function mN(t,e,r){let i=this;return rt(t,n,"listItemIndent",i.containerState.size+1);function n(o){let a=i.events[i.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===i.containerState.size?e(o):r(o)}}function ON(t){t.exit(this.containerState.type)}function gN(t,e,r){let i=this;return rt(t,n,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function n(o){let a=i.events[i.events.length-1];return!tt(o)&&a&&a[1].type==="listItemPrefixWhitespace"?e(o):r(o)}}var n0={name:"setextUnderline",tokenize:yN,resolveTo:bN};function bN(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 a={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",a,e]),t.splice(o+1,0,["exit",t[i][1],e]),t[i][1].end=Object.assign({},t[o][1].end)):t[i][1]=a,t.push(["exit",a,e]),t}function yN(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,a(c)):r(c)}function a(c){return t.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===n?(t.consume(c),s):(t.exit("setextHeadingLineSequence"),tt(c)?rt(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||ze(c)?(t.exit("setextHeadingLine"),e(c)):r(c)}}var R6={tokenize:vN};function vN(t){let e=this,r=t.attempt(Sa,i,t.attempt(this.parser.constructs.flowInitial,n,rt(t,t.attempt(this.parser.constructs.flow,n,t.attempt(z1,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 I6={resolveAll:D6()},L6=z6("string"),M6=z6("text");function z6(t){return{tokenize:e,resolveAll:D6(t==="text"?xN:void 0)};function e(r){let i=this,n=this.parser.constructs[t],o=r.attempt(n,a,s);return a;function a(u){return c(u)?o(u):s(u)}function s(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 s=a[0];typeof s=="string"?a[0]=s.slice(i):a.shift()}o>0&&a.push(t[n].slice(0,o))}return a}function kN(t,e){let r=-1,i=[],n;for(;++rAN,contentInitial:()=>SN,disable:()=>QN,document:()=>kN,flow:()=>EN,flowInitial:()=>TN,insideSpan:()=>_N,string:()=>CN,text:()=>PN});var kN={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:Hd},SN={91:D1},TN={[-2]:Pu,[-1]:Pu,32:Pu},EN={35:U1,42:Es,45:[n0,Es],60:B1,61:n0,95:Es,96:Jd,126:Jd},CN={38:Kd,92:Gd},PN={[-5]:_u,[-4]:_u,[-3]:_u,33:W1,38:Kd,42:Cu,60:[L1,j1],91:V1,92:[N1,Gd],93:Ts,95:Cu,96:M1},_N={null:[Cu,I6]},AN={null:[42,95]},QN={null:[]};function Z1(t){let r=k6([F1,...(t||{}).extensions||[]]),i={defined:[],lazy:{},constructs:r,content:n(P6),document:n(A6),flow:n(R6),string:n(L6),text:n(M6)};return i;function n(o){return a;function a(s){return N6(i,o,s)}}}function Y1(t){for(;!e0(t););return t}var U6=/[\0\t\n\r]/g;function H1(){let t=1,e="",r=!0,i;return n;function n(o,a,s){let l=[],c,u,f,d,p;for(o=e+(typeof o=="string"?o.toString():new TextDecoder(a||void 0).decode(o)),f=0,e="",r&&(o.charCodeAt(0)===65279&&f++,r=void 0);f0){let qr=Ye.tokenStack[Ye.tokenStack.length-1];(qr[1]||W6).call(Ye,void 0,qr[0])}for(Xe.position={start:Ta(be.length>0?be[0][1].start:{line:1,column:1,offset:0}),end:Ta(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 J1(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Wn=function(t){if(t==null)return UN;if(typeof t=="function")return a0(t);if(typeof t=="object")return Array.isArray(t)?zN(t):DN(t);if(typeof t=="string")return NN(t);throw new Error("Expected function, string, or object as test")};function zN(t){let e=[],r=-1;for(;++r":""))+")"})}return d;function d(){let p=H6,O,x,k;if((!e||o(l,c,u[u.length-1]||void 0))&&(p=BN(r(l,u)),p[0]===Cs))return p;if("children"in l&&l.children){let w=l;if(w.children&&p[0]!==Bl)for(x=(i?w.children.length:-1)+a,k=u.concat(w);x>-1&&x0?{type:"text",value:I}:void 0),I===!1?d.lastIndex=L+1:(O!==L&&C.push({type:"text",value:c.value.slice(O,L)}),Array.isArray(I)?C.push(...I):I&&C.push(I),O=L+Q[0].length,w=!0),!d.global)break;Q=d.exec(c.value)}return w?(O?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let r=e[0],i=r.indexOf(")"),n=ql(t,"("),o=ql(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 G6(t,e){let r=t.input.charCodeAt(t.index-1);return(t.index===0||Y6(r)||Z6(r))&&(!e||r!==47)}function ab(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}K6.peek=fU;function sb(){return{enter:{gfmFootnoteDefinition:iU,gfmFootnoteDefinitionLabelString:nU,gfmFootnoteCall:sU,gfmFootnoteCallString:lU},exit:{gfmFootnoteDefinition:aU,gfmFootnoteDefinitionLabelString:oU,gfmFootnoteCall:uU,gfmFootnoteCallString:cU}}}function lb(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:hU,footnoteReference:K6}}}function iU(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function nU(){this.buffer()}function oU(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=ab(this.sliceSerialize(t)).toLowerCase()}function aU(t){this.exit(t)}function sU(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function lU(){this.buffer()}function cU(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=ab(this.sliceSerialize(t)).toLowerCase()}function uU(t){this.exit(t)}function K6(t,e,r,i){let n=r.createTracker(i),o=n.move("[^"),a=r.enter("footnoteReference"),s=r.enter("reference");return o+=n.move(r.safe(r.associationId(t),Be(oe({},n.current()),{before:o,after:"]"}))),s(),a(),o+=n.move("]"),o}function fU(){return"["}function hU(t,e,r,i){let n=r.createTracker(i),o=n.move("[^"),a=r.enter("footnoteDefinition"),s=r.enter("label");return o+=n.move(r.safe(r.associationId(t),Be(oe({},n.current()),{before:o,after:"]"}))),s(),o+=n.move("]:"+(t.children&&t.children.length>0?" ":"")),n.shift(4),o+=n.move(r.indentLines(r.containerFlow(t,n.current()),dU)),a(),o}function dU(t,e,r){return e===0?t:(r?"":" ")+t}var pU=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];J6.peek=gU;function cb(){return{canContainEols:["delete"],enter:{strikethrough:mU},exit:{strikethrough:OU}}}function ub(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:pU}],handlers:{delete:J6}}}function mU(t){this.enter({type:"delete",children:[]},t)}function OU(t){this.exit(t)}function J6(t,e,r,i){let n=r.createTracker(i),o=r.enter("strikethrough"),a=n.move("~~");return a+=r.containerPhrasing(t,Be(oe({},n.current()),{before:a,after:"~"})),a+=n.move("~~"),o(),a}function gU(){return"~"}function tS(t,e={}){let r=(e.align||[]).concat(),i=e.stringLength||yU,n=[],o=[],a=[],s=[],l=0,c=-1;for(;++cl&&(l=t[c].length);++ks[k])&&(s[k]=C)}O.push(w)}o[c]=O,a[c]=x}let u=-1;if(typeof r=="object"&&"length"in r)for(;++us[u]&&(s[u]=w),d[u]=w),f[u]=C}o.splice(1,0,f),a.splice(1,0,d),c=-1;let p=[];for(;++c "),o.shift(2);let a=r.indentLines(r.containerFlow(t,o.current()),vU);return n(),a}function vU(t,e,r){return">"+(r?"":" ")+t}function oS(t,e){return nS(t,e.inConstruct,!0)&&!nS(t,e.notInConstruct,!1)}function nS(t,e,r){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return r;let i=-1;for(;++iQN,contentInitial:()=>TN,disable:()=>$N,document:()=>SN,flow:()=>CN,flowInitial:()=>EN,insideSpan:()=>AN,string:()=>PN,text:()=>_N});var SN={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:Hd},TN={91:D1},EN={[-2]:Pu,[-1]:Pu,32:Pu},CN={35:U1,42:Es,45:[n0,Es],60:B1,61:n0,95:Es,96:Jd,126:Jd},PN={38:Kd,92:Gd},_N={[-5]:_u,[-4]:_u,[-3]:_u,33:W1,38:Kd,42:Cu,60:[L1,j1],91:V1,92:[N1,Gd],93:Ts,95:Cu,96:M1},AN={null:[Cu,I6]},QN={null:[42,95]},$N={null:[]};function Z1(t){let r=k6([F1,...(t||{}).extensions||[]]),i={defined:[],lazy:{},constructs:r,content:n(P6),document:n(A6),flow:n(R6),string:n(L6),text:n(M6)};return i;function n(o){return a;function a(s){return N6(i,o,s)}}}function Y1(t){for(;!e0(t););return t}var U6=/[\0\t\n\r]/g;function H1(){let t=1,e="",r=!0,i;return n;function n(o,a,s){let l=[],c,u,f,d,p;for(o=e+(typeof o=="string"?o.toString():new TextDecoder(a||void 0).decode(o)),f=0,e="",r&&(o.charCodeAt(0)===65279&&f++,r=void 0);f0){let qr=Ye.tokenStack[Ye.tokenStack.length-1];(qr[1]||W6).call(Ye,void 0,qr[0])}for(Xe.position={start:Ta(be.length>0?be[0][1].start:{line:1,column:1,offset:0}),end:Ta(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 J1(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Wn=function(t){if(t==null)return qN;if(typeof t=="function")return a0(t);if(typeof t=="object")return Array.isArray(t)?DN(t):NN(t);if(typeof t=="string")return UN(t);throw new Error("Expected function, string, or object as test")};function DN(t){let e=[],r=-1;for(;++r":""))+")"})}return d;function d(){let p=H6,O,x,k;if((!e||o(l,c,u[u.length-1]||void 0))&&(p=jN(r(l,u)),p[0]===Cs))return p;if("children"in l&&l.children){let w=l;if(w.children&&p[0]!==Bl)for(x=(i?w.children.length:-1)+a,k=u.concat(w);x>-1&&x0?{type:"text",value:I}:void 0),I===!1?d.lastIndex=L+1:(O!==L&&C.push({type:"text",value:c.value.slice(O,L)}),Array.isArray(I)?C.push(...I):I&&C.push(I),O=L+Q[0].length,w=!0),!d.global)break;Q=d.exec(c.value)}return w?(O?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let r=e[0],i=r.indexOf(")"),n=ql(t,"("),o=ql(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 G6(t,e){let r=t.input.charCodeAt(t.index-1);return(t.index===0||Y6(r)||Z6(r))&&(!e||r!==47)}function ab(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}K6.peek=hU;function sb(){return{enter:{gfmFootnoteDefinition:nU,gfmFootnoteDefinitionLabelString:oU,gfmFootnoteCall:lU,gfmFootnoteCallString:cU},exit:{gfmFootnoteDefinition:sU,gfmFootnoteDefinitionLabelString:aU,gfmFootnoteCall:fU,gfmFootnoteCallString:uU}}}function lb(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:dU,footnoteReference:K6}}}function nU(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function oU(){this.buffer()}function aU(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=ab(this.sliceSerialize(t)).toLowerCase()}function sU(t){this.exit(t)}function lU(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function cU(){this.buffer()}function uU(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=ab(this.sliceSerialize(t)).toLowerCase()}function fU(t){this.exit(t)}function K6(t,e,r,i){let n=r.createTracker(i),o=n.move("[^"),a=r.enter("footnoteReference"),s=r.enter("reference");return o+=n.move(r.safe(r.associationId(t),Be(oe({},n.current()),{before:o,after:"]"}))),s(),a(),o+=n.move("]"),o}function hU(){return"["}function dU(t,e,r,i){let n=r.createTracker(i),o=n.move("[^"),a=r.enter("footnoteDefinition"),s=r.enter("label");return o+=n.move(r.safe(r.associationId(t),Be(oe({},n.current()),{before:o,after:"]"}))),s(),o+=n.move("]:"+(t.children&&t.children.length>0?" ":"")),n.shift(4),o+=n.move(r.indentLines(r.containerFlow(t,n.current()),pU)),a(),o}function pU(t,e,r){return e===0?t:(r?"":" ")+t}var mU=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];J6.peek=bU;function cb(){return{canContainEols:["delete"],enter:{strikethrough:OU},exit:{strikethrough:gU}}}function ub(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:mU}],handlers:{delete:J6}}}function OU(t){this.enter({type:"delete",children:[]},t)}function gU(t){this.exit(t)}function J6(t,e,r,i){let n=r.createTracker(i),o=r.enter("strikethrough"),a=n.move("~~");return a+=r.containerPhrasing(t,Be(oe({},n.current()),{before:a,after:"~"})),a+=n.move("~~"),o(),a}function bU(){return"~"}function tS(t,e={}){let r=(e.align||[]).concat(),i=e.stringLength||vU,n=[],o=[],a=[],s=[],l=0,c=-1;for(;++cl&&(l=t[c].length);++ks[k])&&(s[k]=C)}O.push(w)}o[c]=O,a[c]=x}let u=-1;if(typeof r=="object"&&"length"in r)for(;++us[u]&&(s[u]=w),d[u]=w),f[u]=C}o.splice(1,0,f),a.splice(1,0,d),c=-1;let p=[];for(;++c "),o.shift(2);let a=r.indentLines(r.containerFlow(t,o.current()),xU);return n(),a}function xU(t,e,r){return">"+(r?"":" ")+t}function oS(t,e){return nS(t,e.inConstruct,!0)&&!nS(t,e.notInConstruct,!1)}function nS(t,e,r){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return r;let i=-1;for(;++ia&&(a=o):o=1,n=i+e.length,i=r.indexOf(e,n);return a}function aS(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 sS(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 lS(t,e,r,i){let n=sS(r),o=t.value||"",a=n==="`"?"GraveAccent":"Tilde";if(aS(t,r)){let f=r.enter("codeIndented"),d=r.indentLines(o,xU);return f(),d}let s=r.createTracker(i),l=n.repeat(Math.max(l0(o,n)+1,3)),c=r.enter("codeFenced"),u=s.move(l);if(t.lang){let f=r.enter(`codeFencedLang${a}`);u+=s.move(r.safe(t.lang,oe({before:u,after:" ",encode:["`"]},s.current()))),f()}if(t.lang&&t.meta){let f=r.enter(`codeFencedMeta${a}`);u+=s.move(" "),u+=s.move(r.safe(t.meta,oe({before:u,after:` +`}function l0(t,e){let r=String(t),i=r.indexOf(e),n=i,o=0,a=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===n?++o>a&&(a=o):o=1,n=i+e.length,i=r.indexOf(e,n);return a}function aS(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 sS(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 lS(t,e,r,i){let n=sS(r),o=t.value||"",a=n==="`"?"GraveAccent":"Tilde";if(aS(t,r)){let f=r.enter("codeIndented"),d=r.indentLines(o,wU);return f(),d}let s=r.createTracker(i),l=n.repeat(Math.max(l0(o,n)+1,3)),c=r.enter("codeFenced"),u=s.move(l);if(t.lang){let f=r.enter(`codeFencedLang${a}`);u+=s.move(r.safe(t.lang,oe({before:u,after:" ",encode:["`"]},s.current()))),f()}if(t.lang&&t.meta){let f=r.enter(`codeFencedMeta${a}`);u+=s.move(" "),u+=s.move(r.safe(t.meta,oe({before:u,after:` `,encode:["`"]},s.current()))),f()}return u+=s.move(` `),o&&(u+=s.move(o+` -`)),u+=s.move(l),c(),u}function xU(t,e,r){return(r?"":" ")+t}function Wl(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 cS(t,e,r,i){let n=Wl(r),o=n==='"'?"Quote":"Apostrophe",a=r.enter("definition"),s=r.enter("label"),l=r.createTracker(i),c=l.move("[");return c+=l.move(r.safe(r.associationId(t),oe({before:c,after:"]"},l.current()))),c+=l.move("]: "),s(),!t.url||/[\0- \u007F]/.test(t.url)?(s=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(t.url,oe({before:c,after:">"},l.current()))),c+=l.move(">")):(s=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,oe({before:c,after:t.title?" ":` -`},l.current())))),s(),t.title&&(s=r.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(r.safe(t.title,oe({before:c,after:n},l.current()))),c+=l.move(n),s()),a(),c}function uS(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}hb.peek=wU;function hb(t,e,r,i){let n=uS(r),o=r.enter("emphasis"),a=r.createTracker(i),s=a.move(n);return s+=a.move(r.containerPhrasing(t,oe({before:s,after:n},a.current()))),s+=a.move(n),o(),s}function wU(t,e,r){return r.options.emphasis||"*"}function Zr(t,e,r,i){let n,o,a;typeof e=="function"&&typeof r!="function"?(o=void 0,a=e,n=r):(o=e,a=r,n=i),Ps(t,o,s,n);function s(l,c){let u=c[c.length-1],f=u?u.children.indexOf(l):void 0;return a(l,f,u)}}var kU={};function Au(t,e){let r=e||kU,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return hS(t,i,n)}function hS(t,e,r){if(SU(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 fS(t.children,e,r)}return Array.isArray(t)?fS(t,e,r):""}function fS(t,e,r){let i=[],n=-1;for(;++n"},l.current()))),c+=l.move(">")):(s=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,oe({before:c,after:t.title?" ":` +`},l.current())))),s(),t.title&&(s=r.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(r.safe(t.title,oe({before:c,after:n},l.current()))),c+=l.move(n),s()),a(),c}function uS(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}hb.peek=kU;function hb(t,e,r,i){let n=uS(r),o=r.enter("emphasis"),a=r.createTracker(i),s=a.move(n);return s+=a.move(r.containerPhrasing(t,oe({before:s,after:n},a.current()))),s+=a.move(n),o(),s}function kU(t,e,r){return r.options.emphasis||"*"}function Zr(t,e,r,i){let n,o,a;typeof e=="function"&&typeof r!="function"?(o=void 0,a=e,n=r):(o=e,a=r,n=i),Ps(t,o,s,n);function s(l,c){let u=c[c.length-1],f=u?u.children.indexOf(l):void 0;return a(l,f,u)}}var SU={};function Au(t,e){let r=e||SU,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return hS(t,i,n)}function hS(t,e,r){if(TU(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 fS(t.children,e,r)}return Array.isArray(t)?fS(t,e,r):""}function fS(t,e,r){let i=[],n=-1;for(;++n"},l.current()))),c+=l.move(">")):(s=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,oe({before:c,after:t.title?" ":")"},l.current())))),s(),t.title&&(s=r.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(r.safe(t.title,oe({before:c,after:n},l.current()))),c+=l.move(n),s()),c+=l.move(")"),a(),c}function EU(){return"!"}mb.peek=CU;function mb(t,e,r,i){let n=t.referenceType,o=r.enter("imageReference"),a=r.enter("label"),s=r.createTracker(i),l=s.move("!["),c=r.safe(t.alt,oe({before:l,after:"]"},s.current()));l+=s.move(c+"]["),a();let u=r.stack;r.stack=[],a=r.enter("reference");let f=r.safe(r.associationId(t),oe({before:l,after:"]"},s.current()));return a(),r.stack=u,o(),n==="full"||!c||c!==f?l+=s.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function CU(){return"!"}Ob.peek=PU;function Ob(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))}bb.peek=_U;function bb(t,e,r,i){let n=Wl(r),o=n==='"'?"Quote":"Apostrophe",a=r.createTracker(i),s,l;if(gb(t,r)){let u=r.stack;r.stack=[],s=r.enter("autolink");let f=a.move("<");return f+=a.move(r.containerPhrasing(t,oe({before:f,after:">"},a.current()))),f+=a.move(">"),s(),r.stack=u,f}s=r.enter("link"),l=r.enter("label");let c=a.move("[");return c+=a.move(r.containerPhrasing(t,oe({before:c,after:"]("},a.current()))),c+=a.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=r.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(r.safe(t.url,oe({before:c,after:">"},a.current()))),c+=a.move(">")):(l=r.enter("destinationRaw"),c+=a.move(r.safe(t.url,oe({before:c,after:t.title?" ":")"},a.current())))),l(),t.title&&(l=r.enter(`title${o}`),c+=a.move(" "+n),c+=a.move(r.safe(t.title,oe({before:c,after:n},a.current()))),c+=a.move(n),l()),c+=a.move(")"),s(),c}function _U(t,e,r){return gb(t,r)?"<":"["}yb.peek=AU;function yb(t,e,r,i){let n=t.referenceType,o=r.enter("linkReference"),a=r.enter("label"),s=r.createTracker(i),l=s.move("["),c=r.containerPhrasing(t,oe({before:l,after:"]"},s.current()));l+=s.move(c+"]["),a();let u=r.stack;r.stack=[],a=r.enter("reference");let f=r.safe(r.associationId(t),oe({before:l,after:"]"},s.current()));return a(),r.stack=u,o(),n==="full"||!c||c!==f?l+=s.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function AU(){return"["}function Vl(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 mS(t){let e=Vl(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 OS(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 c0(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 gS(t,e,r,i){let n=r.enter("list"),o=r.bulletCurrent,a=t.ordered?OS(r):Vl(r),s=t.ordered?a==="."?")":".":mS(r),l=e&&r.bulletLastUsed?a===r.bulletLastUsed:!1;if(!t.ordered){let u=t.children?t.children[0]:void 0;if((a==="*"||a==="-")&&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),c0(r)===a&&u){let f=-1;for(;++f-1?e.start:1)+(r.options.incrementListMarker===!1?0:e.children.indexOf(t))+o);let a=o.length+1;(n==="tab"||n==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(a=Math.ceil(a/4)*4);let s=r.createTracker(i);s.move(o+" ".repeat(a-o.length)),s.shift(a);let l=r.enter("listItem"),c=r.indentLines(r.containerFlow(t,s.current()),u);return l(),c;function u(f,d,p){return d?(p?"":" ".repeat(a))+f:(p?o:o+" ".repeat(a-o.length))+f}}function vS(t,e,r,i){let n=r.enter("paragraph"),o=r.enter("phrasing"),a=r.containerPhrasing(t,i);return o(),n(),a}var vb=Wn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function xS(t,e,r,i){return(t.children.some(function(a){return vb(a)})?r.containerPhrasing:r.containerFlow).call(r,t,i)}function wS(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}xb.peek=QU;function xb(t,e,r,i){let n=wS(r),o=r.enter("strong"),a=r.createTracker(i),s=a.move(n+n);return s+=a.move(r.containerPhrasing(t,oe({before:s,after:n},a.current()))),s+=a.move(n+n),o(),s}function QU(t,e,r){return r.options.strong||"*"}function kS(t,e,r,i){return r.safe(t.value,i)}function SS(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 TS(t,e,r){let i=(c0(r)+(r.options.ruleSpaces?" ":"")).repeat(SS(r));return r.options.ruleSpaces?i.slice(0,-1):i}var Qu={blockquote:iS,break:fb,code:lS,definition:cS,emphasis:hb,hardBreak:fb,heading:pS,html:db,image:pb,imageReference:mb,inlineCode:Ob,link:bb,linkReference:yb,list:gS,listItem:yS,paragraph:vS,root:xS,strong:xb,text:kS,thematicBreak:TS};function kb(){return{enter:{table:$U,tableData:ES,tableHeader:ES,tableRow:RU},exit:{codeText:IU,table:XU,tableData:wb,tableHeader:wb,tableRow:wb}}}function $U(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 XU(t){this.exit(t),this.data.inTable=void 0}function RU(t){this.enter({type:"tableRow",children:[]},t)}function wb(t){this.exit(t)}function ES(t){this.enter({type:"tableCell",children:[]},t)}function IU(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,LU));let r=this.stack[this.stack.length-1];r.type,r.value=e,this.exit(t)}function LU(t,e){return e==="|"?e:t}function Sb(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?a+" "+c:a,r.options.closeAtx&&(c+=" "+a),l(),s(),c}db.peek=EU;function db(t){return t.value||""}function EU(){return"<"}pb.peek=CU;function pb(t,e,r,i){let n=Wl(r),o=n==='"'?"Quote":"Apostrophe",a=r.enter("image"),s=r.enter("label"),l=r.createTracker(i),c=l.move("![");return c+=l.move(r.safe(t.alt,oe({before:c,after:"]"},l.current()))),c+=l.move("]("),s(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(s=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(t.url,oe({before:c,after:">"},l.current()))),c+=l.move(">")):(s=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,oe({before:c,after:t.title?" ":")"},l.current())))),s(),t.title&&(s=r.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(r.safe(t.title,oe({before:c,after:n},l.current()))),c+=l.move(n),s()),c+=l.move(")"),a(),c}function CU(){return"!"}mb.peek=PU;function mb(t,e,r,i){let n=t.referenceType,o=r.enter("imageReference"),a=r.enter("label"),s=r.createTracker(i),l=s.move("!["),c=r.safe(t.alt,oe({before:l,after:"]"},s.current()));l+=s.move(c+"]["),a();let u=r.stack;r.stack=[],a=r.enter("reference");let f=r.safe(r.associationId(t),oe({before:l,after:"]"},s.current()));return a(),r.stack=u,o(),n==="full"||!c||c!==f?l+=s.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function PU(){return"!"}Ob.peek=_U;function Ob(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))}bb.peek=AU;function bb(t,e,r,i){let n=Wl(r),o=n==='"'?"Quote":"Apostrophe",a=r.createTracker(i),s,l;if(gb(t,r)){let u=r.stack;r.stack=[],s=r.enter("autolink");let f=a.move("<");return f+=a.move(r.containerPhrasing(t,oe({before:f,after:">"},a.current()))),f+=a.move(">"),s(),r.stack=u,f}s=r.enter("link"),l=r.enter("label");let c=a.move("[");return c+=a.move(r.containerPhrasing(t,oe({before:c,after:"]("},a.current()))),c+=a.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=r.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(r.safe(t.url,oe({before:c,after:">"},a.current()))),c+=a.move(">")):(l=r.enter("destinationRaw"),c+=a.move(r.safe(t.url,oe({before:c,after:t.title?" ":")"},a.current())))),l(),t.title&&(l=r.enter(`title${o}`),c+=a.move(" "+n),c+=a.move(r.safe(t.title,oe({before:c,after:n},a.current()))),c+=a.move(n),l()),c+=a.move(")"),s(),c}function AU(t,e,r){return gb(t,r)?"<":"["}yb.peek=QU;function yb(t,e,r,i){let n=t.referenceType,o=r.enter("linkReference"),a=r.enter("label"),s=r.createTracker(i),l=s.move("["),c=r.containerPhrasing(t,oe({before:l,after:"]"},s.current()));l+=s.move(c+"]["),a();let u=r.stack;r.stack=[],a=r.enter("reference");let f=r.safe(r.associationId(t),oe({before:l,after:"]"},s.current()));return a(),r.stack=u,o(),n==="full"||!c||c!==f?l+=s.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function QU(){return"["}function Vl(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 mS(t){let e=Vl(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 OS(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 c0(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 gS(t,e,r,i){let n=r.enter("list"),o=r.bulletCurrent,a=t.ordered?OS(r):Vl(r),s=t.ordered?a==="."?")":".":mS(r),l=e&&r.bulletLastUsed?a===r.bulletLastUsed:!1;if(!t.ordered){let u=t.children?t.children[0]:void 0;if((a==="*"||a==="-")&&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),c0(r)===a&&u){let f=-1;for(;++f-1?e.start:1)+(r.options.incrementListMarker===!1?0:e.children.indexOf(t))+o);let a=o.length+1;(n==="tab"||n==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(a=Math.ceil(a/4)*4);let s=r.createTracker(i);s.move(o+" ".repeat(a-o.length)),s.shift(a);let l=r.enter("listItem"),c=r.indentLines(r.containerFlow(t,s.current()),u);return l(),c;function u(f,d,p){return d?(p?"":" ".repeat(a))+f:(p?o:o+" ".repeat(a-o.length))+f}}function vS(t,e,r,i){let n=r.enter("paragraph"),o=r.enter("phrasing"),a=r.containerPhrasing(t,i);return o(),n(),a}var vb=Wn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function xS(t,e,r,i){return(t.children.some(function(a){return vb(a)})?r.containerPhrasing:r.containerFlow).call(r,t,i)}function wS(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}xb.peek=$U;function xb(t,e,r,i){let n=wS(r),o=r.enter("strong"),a=r.createTracker(i),s=a.move(n+n);return s+=a.move(r.containerPhrasing(t,oe({before:s,after:n},a.current()))),s+=a.move(n+n),o(),s}function $U(t,e,r){return r.options.strong||"*"}function kS(t,e,r,i){return r.safe(t.value,i)}function SS(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 TS(t,e,r){let i=(c0(r)+(r.options.ruleSpaces?" ":"")).repeat(SS(r));return r.options.ruleSpaces?i.slice(0,-1):i}var Qu={blockquote:iS,break:fb,code:lS,definition:cS,emphasis:hb,hardBreak:fb,heading:pS,html:db,image:pb,imageReference:mb,inlineCode:Ob,link:bb,linkReference:yb,list:gS,listItem:yS,paragraph:vS,root:xS,strong:xb,text:kS,thematicBreak:TS};function kb(){return{enter:{table:XU,tableData:ES,tableHeader:ES,tableRow:IU},exit:{codeText:LU,table:RU,tableData:wb,tableHeader:wb,tableRow:wb}}}function XU(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 RU(t){this.exit(t),this.data.inTable=void 0}function IU(t){this.enter({type:"tableRow",children:[]},t)}function wb(t){this.exit(t)}function ES(t){this.enter({type:"tableCell",children:[]},t)}function LU(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,MU));let r=this.stack[this.stack.length-1];r.type,r.value=e,this.exit(t)}function MU(t,e){return e==="|"?e:t}function Sb(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:a,tableCell:l,tableRow:s}};function a(p,O,x,k){return c(u(p,x,k),p.align)}function s(p,O,x,k){let w=f(p,x,k),C=c([w]);return C.slice(0,C.indexOf(` -`))}function l(p,O,x,k){let w=x.enter("tableCell"),C=x.enter("phrasing"),Q=x.containerPhrasing(p,Be(oe({},k),{before:o,after:o}));return C(),w(),Q}function c(p,O){return tS(p,{align:O,alignDelimiters:i,padding:r,stringLength:n})}function u(p,O,x){let k=p.children,w=-1,C=[],Q=O.enter("table");for(;++wn?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)a=Array.from(i),a.unshift(e,r),t.splice(...a);else for(r&&t.splice(e,r);o-1&&t.test(String.fromCharCode(r))}}var BU={tokenize:ZU,partial:!0},$S={tokenize:YU,partial:!0},XS={tokenize:HU,partial:!0},RS={tokenize:GU,partial:!0},jU={tokenize:KU,partial:!0},IS={tokenize:VU,previous:MS},LS={tokenize:FU,previous:zS},Eo={tokenize:WU,previous:DS},Vn={};function Qb(){return{text:Vn}}var As=48;for(;As<123;)Vn[As]=Eo,As++,As===58?As=65:As===91&&(As=97);Vn[43]=Eo;Vn[45]=Eo;Vn[46]=Eo;Vn[95]=Eo;Vn[72]=[Eo,LS];Vn[104]=[Eo,LS];Vn[87]=[Eo,IS];Vn[119]=[Eo,IS];function WU(t,e,r){let i=this,n,o;return a;function a(f){return!Ab(f)||!DS.call(i,i.previous)||$b(i.events)?r(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),s(f))}function s(f){return Ab(f)?(t.consume(f),s):f===64?(t.consume(f),l):r(f)}function l(f){return f===46?t.check(jU,u,c)(f):f===45||f===95||u0(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&&Fl(i.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):r(f)}}function VU(t,e,r){let i=this;return n;function n(a){return a!==87&&a!==119||!MS.call(i,i.previous)||$b(i.events)?r(a):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(BU,t.attempt($S,t.attempt(XS,o),r),r)(a))}function o(a){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(a)}}function FU(t,e,r){let i=this,n="",o=!1;return a;function a(f){return(f===72||f===104)&&zS.call(i,i.previous)&&!$b(i.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),n+=String.fromCodePoint(f),t.consume(f),s):r(f)}function s(f){if(Fl(f)&&n.length<5)return n+=String.fromCodePoint(f),t.consume(f),s;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||QS(f)||_s(f)||Zl(f)||_b(f)?r(f):t.attempt($S,t.attempt(XS,u),r)(f)}function u(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function ZU(t,e,r){let i=0;return n;function n(a){return(a===87||a===119)&&i<3?(i++,t.consume(a),n):a===46&&i===3?(t.consume(a),o):r(a)}function o(a){return a===null?r(a):e(a)}}function YU(t,e,r){let i,n,o;return a;function a(c){return c===46||c===95?t.check(RS,l,s)(c):c===null||_s(c)||Zl(c)||c!==45&&_b(c)?l(c):(o=!0,t.consume(c),a)}function s(c){return c===95?i=!0:(n=i,i=void 0),t.consume(c),a}function l(c){return n||i||!o?r(c):e(c)}}function HU(t,e){let r=0,i=0;return n;function n(a){return a===40?(r++,t.consume(a),n):a===41&&i0&&!r&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}var cOe=Pa(new RegExp("\\p{P}","u")),uOe=Pa(/[A-Za-z]/),fOe=Pa(/[\dA-Za-z]/),hOe=Pa(/[#-'*+\--9=?A-Z^-~]/);var dOe=Pa(/\d/),pOe=Pa(/[\dA-Fa-f]/),mOe=Pa(/[!-/:-@[-`{-~]/);function NS(t){return t!==null&&t<-2}function $u(t){return t!==null&&(t<0||t===32)}function Xu(t){return t===-2||t===-1||t===32}var OOe=Pa(/\s/);function Pa(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Ru(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Xu(l)?(t.enter(r),s(l)):e(l)}function s(l){return Xu(l)&&o++999||f===93&&!a||f===null||f===91||$u(f))return r(f);if(f===93){t.exit("chunkString");let d=t.exit("gfmFootnoteCallString");return n.includes(f0(i.sliceSerialize(d)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):r(f)}return $u(f)||(a=!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 nq(t,e,r){let i=this,n=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o,a=0,s;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(a>999||O===93&&!s||O===null||O===91||$u(O))return r(O);if(O===93){t.exit("chunkString");let x=t.exit("gfmFootnoteDefinitionLabelString");return o=f0(i.sliceSerialize(x)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),d}return $u(O)||(s=!0),a++,t.consume(O),O===92?f:u}function f(O){return O===91||O===92||O===93?(t.consume(O),a++,u):u(O)}function d(O){return O===58?(t.enter("definitionMarker"),t.consume(O),t.exit("definitionMarker"),n.includes(o)||n.push(o),Ru(t,p,"gfmFootnoteDefinitionWhitespace")):r(O)}function p(O){return e(O)}}function oq(t,e,r){return t.check(Xb,e,t.attempt(eq,e,r))}function aq(t){t.exit("gfmFootnoteDefinition")}function sq(t,e,r){let i=this;return Ru(t,n,"gfmFootnoteDefinitionIndent",5);function n(o){let a=i.events[i.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?e(o):r(o)}}function h0(t,e,r,i){let n=t.length,o=0,a;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)a=Array.from(i),a.unshift(e,r),t.splice(...a);else for(r&&t.splice(e,r);o-1&&t.test(String.fromCharCode(r))}}function Ib(t){if(t===null||US(t)||BS(t))return 1;if(qS(t))return 2}function jS(t,e,r){let i=[],n=-1;for(;++n1?l(O):(a.consume(O),f++,p);if(f<2&&!r)return l(O);let k=a.exit("strikethroughSequenceTemporary"),w=Ib(O);return k._open=!w||w===2&&!!x,k._close=!x||x===2&&!!w,s(O)}}}var YOe=Aa(new RegExp("\\p{P}","u")),HOe=Aa(/[A-Za-z]/),GOe=Aa(/[\dA-Za-z]/),KOe=Aa(/[#-'*+\--9=?A-Z^-~]/);var JOe=Aa(/\d/),ege=Aa(/[\dA-Fa-f]/),tge=Aa(/[!-/:-@[-`{-~]/);function Iu(t){return t!==null&&t<-2}function Mb(t){return t!==null&&(t<0||t===32)}function Co(t){return t===-2||t===-1||t===32}var rge=Aa(/\s/);function Aa(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Yl(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Co(l)?(t.enter(r),s(l)):e(l)}function s(l){return Co(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 uq(t,e,r,i){let n=0;if(!(r===0&&i.length===0)){for(;n-1;){let ge=i.events[ne][1].type;if(ge==="lineEnding"||ge==="linePrefix")ne--;else break}let ue=ne>-1?i.events[ne][1].type:null,he=ue==="tableHead"||ue==="tableRow"?I:l;return he===I&&i.parser.lazy[i.now().line]?r(V):he(V)}function l(V){return t.enter("tableHead"),t.enter("tableRow"),c(V)}function c(V){return V===124||(a=!0,o+=1),u(V)}function u(V){return V===null?r(V):Iu(V)?o>1?(o=0,i.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(V),t.exit("lineEnding"),p):r(V):Co(V)?Yl(t,u,"whitespace")(V):(o+=1,a&&(a=!1,n+=1),V===124?(t.enter("tableCellDivider"),t.consume(V),t.exit("tableCellDivider"),a=!0,u):(t.enter("data"),f(V)))}function f(V){return V===null||V===124||Mb(V)?(t.exit("data"),u(V)):(t.consume(V),V===92?d:f)}function d(V){return V===92||V===124?(t.consume(V),f):f(V)}function p(V){return i.interrupt=!1,i.parser.lazy[i.now().line]?r(V):(t.enter("tableDelimiterRow"),a=!1,Co(V)?Yl(t,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(V):O(V))}function O(V){return V===45||V===58?k(V):V===124?(a=!0,t.enter("tableCellDivider"),t.consume(V),t.exit("tableCellDivider"),x):N(V)}function x(V){return Co(V)?Yl(t,k,"whitespace")(V):k(V)}function k(V){return V===58?(o+=1,a=!0,t.enter("tableDelimiterMarker"),t.consume(V),t.exit("tableDelimiterMarker"),w):V===45?(o+=1,w(V)):V===null||Iu(V)?L(V):N(V)}function w(V){return V===45?(t.enter("tableDelimiterFiller"),C(V)):N(V)}function C(V){return V===45?(t.consume(V),C):V===58?(a=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(V),t.exit("tableDelimiterMarker"),Q):(t.exit("tableDelimiterFiller"),Q(V))}function Q(V){return Co(V)?Yl(t,L,"whitespace")(V):L(V)}function L(V){return V===124?O(V):V===null||Iu(V)?!a||n!==o?N(V):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(V)):N(V)}function N(V){return r(V)}function I(V){return t.enter("tableRow"),H(V)}function H(V){return V===124?(t.enter("tableCellDivider"),t.consume(V),t.exit("tableCellDivider"),H):V===null||Iu(V)?(t.exit("tableRow"),e(V)):Co(V)?Yl(t,H,"whitespace")(V):(t.enter("data"),j(V))}function j(V){return V===null||V===124||Mb(V)?(t.exit("data"),H(V)):(t.consume(V),V===92?Y:j)}function Y(V){return V===92||V===124?(t.consume(V),j):j(V)}}function hq(t,e){let r=-1,i=!0,n=0,o=[0,0,0,0],a=[0,0,0,0],s=!1,l=0,c,u,f,d=new d0;for(;++rr[2]+1){let O=r[2]+1,x=r[3]-r[2]-1;t.add(O,x,[])}}t.add(r[3]+1,0,[["exit",f,e]])}return n!==void 0&&(o.end=Object.assign({},Hl(e.events,n)),t.add(n,0,[["exit",o,e]]),o=void 0),o}function VS(t,e,r,i,n){let o=[],a=Hl(e.events,r);n&&(n.end=Object.assign({},a),o.push(["exit",n,e])),i.end=Object.assign({},a),o.push(["exit",i,e]),t.add(r+1,0,o)}function Hl(t,e){let r=t[e],i=r[0]==="enter"?"start":"end";return r[1][i]}var mge=Qa(new RegExp("\\p{P}","u")),Oge=Qa(/[A-Za-z]/),gge=Qa(/[\dA-Za-z]/),bge=Qa(/[#-'*+\--9=?A-Z^-~]/);var yge=Qa(/\d/),vge=Qa(/[\dA-Fa-f]/),xge=Qa(/[!-/:-@[-`{-~]/);function FS(t){return t!==null&&t<-2}function ZS(t){return t!==null&&(t<0||t===32)}function Lu(t){return t===-2||t===-1||t===32}var wge=Qa(/\s/);function Qa(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function YS(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Lu(l)?(t.enter(r),s(l)):e(l)}function s(l){return Lu(l)&&o++n?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)a=Array.from(i),a.unshift(e,r),t.splice(...a);else for(r&&t.splice(e,r);o-1&&t.test(String.fromCharCode(r))}}var jU={tokenize:YU,partial:!0},$S={tokenize:HU,partial:!0},XS={tokenize:GU,partial:!0},RS={tokenize:KU,partial:!0},WU={tokenize:JU,partial:!0},IS={tokenize:FU,previous:MS},LS={tokenize:ZU,previous:zS},Eo={tokenize:VU,previous:DS},Vn={};function Qb(){return{text:Vn}}var As=48;for(;As<123;)Vn[As]=Eo,As++,As===58?As=65:As===91&&(As=97);Vn[43]=Eo;Vn[45]=Eo;Vn[46]=Eo;Vn[95]=Eo;Vn[72]=[Eo,LS];Vn[104]=[Eo,LS];Vn[87]=[Eo,IS];Vn[119]=[Eo,IS];function VU(t,e,r){let i=this,n,o;return a;function a(f){return!Ab(f)||!DS.call(i,i.previous)||$b(i.events)?r(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),s(f))}function s(f){return Ab(f)?(t.consume(f),s):f===64?(t.consume(f),l):r(f)}function l(f){return f===46?t.check(WU,u,c)(f):f===45||f===95||u0(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&&Fl(i.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):r(f)}}function FU(t,e,r){let i=this;return n;function n(a){return a!==87&&a!==119||!MS.call(i,i.previous)||$b(i.events)?r(a):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(jU,t.attempt($S,t.attempt(XS,o),r),r)(a))}function o(a){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(a)}}function ZU(t,e,r){let i=this,n="",o=!1;return a;function a(f){return(f===72||f===104)&&zS.call(i,i.previous)&&!$b(i.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),n+=String.fromCodePoint(f),t.consume(f),s):r(f)}function s(f){if(Fl(f)&&n.length<5)return n+=String.fromCodePoint(f),t.consume(f),s;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||QS(f)||_s(f)||Zl(f)||_b(f)?r(f):t.attempt($S,t.attempt(XS,u),r)(f)}function u(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function YU(t,e,r){let i=0;return n;function n(a){return(a===87||a===119)&&i<3?(i++,t.consume(a),n):a===46&&i===3?(t.consume(a),o):r(a)}function o(a){return a===null?r(a):e(a)}}function HU(t,e,r){let i,n,o;return a;function a(c){return c===46||c===95?t.check(RS,l,s)(c):c===null||_s(c)||Zl(c)||c!==45&&_b(c)?l(c):(o=!0,t.consume(c),a)}function s(c){return c===95?i=!0:(n=i,i=void 0),t.consume(c),a}function l(c){return n||i||!o?r(c):e(c)}}function GU(t,e){let r=0,i=0;return n;function n(a){return a===40?(r++,t.consume(a),n):a===41&&i0&&!r&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}var uOe=Pa(new RegExp("\\p{P}","u")),fOe=Pa(/[A-Za-z]/),hOe=Pa(/[\dA-Za-z]/),dOe=Pa(/[#-'*+\--9=?A-Z^-~]/);var pOe=Pa(/\d/),mOe=Pa(/[\dA-Fa-f]/),OOe=Pa(/[!-/:-@[-`{-~]/);function NS(t){return t!==null&&t<-2}function $u(t){return t!==null&&(t<0||t===32)}function Xu(t){return t===-2||t===-1||t===32}var gOe=Pa(/\s/);function Pa(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Ru(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Xu(l)?(t.enter(r),s(l)):e(l)}function s(l){return Xu(l)&&o++999||f===93&&!a||f===null||f===91||$u(f))return r(f);if(f===93){t.exit("chunkString");let d=t.exit("gfmFootnoteCallString");return n.includes(f0(i.sliceSerialize(d)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):r(f)}return $u(f)||(a=!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 oq(t,e,r){let i=this,n=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o,a=0,s;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(a>999||O===93&&!s||O===null||O===91||$u(O))return r(O);if(O===93){t.exit("chunkString");let x=t.exit("gfmFootnoteDefinitionLabelString");return o=f0(i.sliceSerialize(x)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),d}return $u(O)||(s=!0),a++,t.consume(O),O===92?f:u}function f(O){return O===91||O===92||O===93?(t.consume(O),a++,u):u(O)}function d(O){return O===58?(t.enter("definitionMarker"),t.consume(O),t.exit("definitionMarker"),n.includes(o)||n.push(o),Ru(t,p,"gfmFootnoteDefinitionWhitespace")):r(O)}function p(O){return e(O)}}function aq(t,e,r){return t.check(Xb,e,t.attempt(tq,e,r))}function sq(t){t.exit("gfmFootnoteDefinition")}function lq(t,e,r){let i=this;return Ru(t,n,"gfmFootnoteDefinitionIndent",5);function n(o){let a=i.events[i.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?e(o):r(o)}}function h0(t,e,r,i){let n=t.length,o=0,a;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)a=Array.from(i),a.unshift(e,r),t.splice(...a);else for(r&&t.splice(e,r);o-1&&t.test(String.fromCharCode(r))}}function Ib(t){if(t===null||US(t)||BS(t))return 1;if(qS(t))return 2}function jS(t,e,r){let i=[],n=-1;for(;++n1?l(O):(a.consume(O),f++,p);if(f<2&&!r)return l(O);let k=a.exit("strikethroughSequenceTemporary"),w=Ib(O);return k._open=!w||w===2&&!!x,k._close=!x||x===2&&!!w,s(O)}}}var HOe=Aa(new RegExp("\\p{P}","u")),GOe=Aa(/[A-Za-z]/),KOe=Aa(/[\dA-Za-z]/),JOe=Aa(/[#-'*+\--9=?A-Z^-~]/);var ege=Aa(/\d/),tge=Aa(/[\dA-Fa-f]/),rge=Aa(/[!-/:-@[-`{-~]/);function Iu(t){return t!==null&&t<-2}function Mb(t){return t!==null&&(t<0||t===32)}function Co(t){return t===-2||t===-1||t===32}var ige=Aa(/\s/);function Aa(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Yl(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Co(l)?(t.enter(r),s(l)):e(l)}function s(l){return Co(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 fq(t,e,r,i){let n=0;if(!(r===0&&i.length===0)){for(;n-1;){let ge=i.events[ne][1].type;if(ge==="lineEnding"||ge==="linePrefix")ne--;else break}let ue=ne>-1?i.events[ne][1].type:null,he=ue==="tableHead"||ue==="tableRow"?I:l;return he===I&&i.parser.lazy[i.now().line]?r(V):he(V)}function l(V){return t.enter("tableHead"),t.enter("tableRow"),c(V)}function c(V){return V===124||(a=!0,o+=1),u(V)}function u(V){return V===null?r(V):Iu(V)?o>1?(o=0,i.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(V),t.exit("lineEnding"),p):r(V):Co(V)?Yl(t,u,"whitespace")(V):(o+=1,a&&(a=!1,n+=1),V===124?(t.enter("tableCellDivider"),t.consume(V),t.exit("tableCellDivider"),a=!0,u):(t.enter("data"),f(V)))}function f(V){return V===null||V===124||Mb(V)?(t.exit("data"),u(V)):(t.consume(V),V===92?d:f)}function d(V){return V===92||V===124?(t.consume(V),f):f(V)}function p(V){return i.interrupt=!1,i.parser.lazy[i.now().line]?r(V):(t.enter("tableDelimiterRow"),a=!1,Co(V)?Yl(t,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(V):O(V))}function O(V){return V===45||V===58?k(V):V===124?(a=!0,t.enter("tableCellDivider"),t.consume(V),t.exit("tableCellDivider"),x):N(V)}function x(V){return Co(V)?Yl(t,k,"whitespace")(V):k(V)}function k(V){return V===58?(o+=1,a=!0,t.enter("tableDelimiterMarker"),t.consume(V),t.exit("tableDelimiterMarker"),w):V===45?(o+=1,w(V)):V===null||Iu(V)?L(V):N(V)}function w(V){return V===45?(t.enter("tableDelimiterFiller"),C(V)):N(V)}function C(V){return V===45?(t.consume(V),C):V===58?(a=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(V),t.exit("tableDelimiterMarker"),Q):(t.exit("tableDelimiterFiller"),Q(V))}function Q(V){return Co(V)?Yl(t,L,"whitespace")(V):L(V)}function L(V){return V===124?O(V):V===null||Iu(V)?!a||n!==o?N(V):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(V)):N(V)}function N(V){return r(V)}function I(V){return t.enter("tableRow"),H(V)}function H(V){return V===124?(t.enter("tableCellDivider"),t.consume(V),t.exit("tableCellDivider"),H):V===null||Iu(V)?(t.exit("tableRow"),e(V)):Co(V)?Yl(t,H,"whitespace")(V):(t.enter("data"),j(V))}function j(V){return V===null||V===124||Mb(V)?(t.exit("data"),H(V)):(t.consume(V),V===92?Y:j)}function Y(V){return V===92||V===124?(t.consume(V),j):j(V)}}function dq(t,e){let r=-1,i=!0,n=0,o=[0,0,0,0],a=[0,0,0,0],s=!1,l=0,c,u,f,d=new d0;for(;++rr[2]+1){let O=r[2]+1,x=r[3]-r[2]-1;t.add(O,x,[])}}t.add(r[3]+1,0,[["exit",f,e]])}return n!==void 0&&(o.end=Object.assign({},Hl(e.events,n)),t.add(n,0,[["exit",o,e]]),o=void 0),o}function VS(t,e,r,i,n){let o=[],a=Hl(e.events,r);n&&(n.end=Object.assign({},a),o.push(["exit",n,e])),i.end=Object.assign({},a),o.push(["exit",i,e]),t.add(r+1,0,o)}function Hl(t,e){let r=t[e],i=r[0]==="enter"?"start":"end";return r[1][i]}var Oge=Qa(new RegExp("\\p{P}","u")),gge=Qa(/[A-Za-z]/),bge=Qa(/[\dA-Za-z]/),yge=Qa(/[#-'*+\--9=?A-Z^-~]/);var vge=Qa(/\d/),xge=Qa(/[\dA-Fa-f]/),wge=Qa(/[!-/:-@[-`{-~]/);function FS(t){return t!==null&&t<-2}function ZS(t){return t!==null&&(t<0||t===32)}function Lu(t){return t===-2||t===-1||t===32}var kge=Qa(/\s/);function Qa(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function YS(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Lu(l)?(t.enter(r),s(l)):e(l)}function s(l){return Lu(l)&&o++-1&&t.test(String.fromCharCode(r))}}function Mu(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return qb(l)?(t.enter(r),s(l)):e(l)}function s(l){return qb(l)&&o++15?c="\u2026"+s.slice(n-15,n):c=s.slice(0,n);var u;o+15":">","<":"<",'"':""","'":"'"},Eq=/[&><"']/g;function Cq(t){return String(t).replace(Eq,e=>Tq[e])}var Q7=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},Pq=function(e){var r=Q7(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},_q=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},Aq=function(e){var r=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return r!=null?r[1]:"_relative"},Ke={contains:xq,deflt:wq,escape:Cq,hyphenate:Sq,getBaseElem:Q7,isCharacterBox:Pq,protocolFromUrl:Aq},C0={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 Qq(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 qu=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 C0)if(C0.hasOwnProperty(r)){var i=C0[r];this[r]=e[r]!==void 0?i.processor?i.processor(e[r]):e[r]:Qq(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}},Fn=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[$q[this.id]]}sub(){return Zn[Xq[this.id]]}fracNum(){return Zn[Rq[this.id]]}fracDen(){return Zn[Iq[this.id]]}cramp(){return Zn[Lq[this.id]]}text(){return Zn[Mq[this.id]]}isTight(){return this.size>=2}},p2=0,_0=1,Kl=2,Qo=3,Bu=4,Ki=5,Jl=6,li=7,Zn=[new Fn(p2,0,!1),new Fn(_0,0,!0),new Fn(Kl,1,!1),new Fn(Qo,1,!0),new Fn(Bu,2,!1),new Fn(Ki,2,!0),new Fn(Jl,3,!1),new Fn(li,3,!0)],$q=[Bu,Ki,Bu,Ki,Jl,li,Jl,li],Xq=[Ki,Ki,Ki,Ki,li,li,li,li],Rq=[Kl,Qo,Bu,Ki,Jl,li,Jl,li],Iq=[Qo,Qo,Ki,Ki,li,li,li,li],Lq=[_0,_0,Qo,Qo,Ki,Ki,li,li],Mq=[p2,_0,Kl,Qo,Kl,Qo,Kl,Qo],Fe={DISPLAY:Zn[p2],TEXT:Zn[Kl],SCRIPT:Zn[Bu],SCRIPTSCRIPT:Zn[Jl]},r2=[{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 zq(t){for(var e=0;e=n[0]&&t<=n[1])return r.name}return null}var P0=[];r2.forEach(t=>t.blocks.forEach(e=>P0.push(...e)));function $7(t){for(var e=0;e=P0[e]&&t<=P0[e+1])return!0;return!1}var Gl=80,Dq=function(e,r){return"M95,"+(622+e+r)+` +`)),p+=u.move(f),d(),p}function i(o,a,s){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 Mu(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return qb(l)?(t.enter(r),s(l)):e(l)}function s(l){return qb(l)&&o++15?c="\u2026"+s.slice(n-15,n):c=s.slice(0,n);var u;o+15":">","<":"<",'"':""","'":"'"},Cq=/[&><"']/g;function Pq(t){return String(t).replace(Cq,e=>Eq[e])}var Q7=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},_q=function(e){var r=Q7(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Aq=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},Qq=function(e){var r=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return r!=null?r[1]:"_relative"},Ke={contains:wq,deflt:kq,escape:Pq,hyphenate:Tq,getBaseElem:Q7,isCharacterBox:_q,protocolFromUrl:Qq},C0={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 $q(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 qu=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 C0)if(C0.hasOwnProperty(r)){var i=C0[r];this[r]=e[r]!==void 0?i.processor?i.processor(e[r]):e[r]:$q(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}},Fn=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[Xq[this.id]]}sub(){return Zn[Rq[this.id]]}fracNum(){return Zn[Iq[this.id]]}fracDen(){return Zn[Lq[this.id]]}cramp(){return Zn[Mq[this.id]]}text(){return Zn[zq[this.id]]}isTight(){return this.size>=2}},p2=0,_0=1,Kl=2,Qo=3,Bu=4,Ki=5,Jl=6,li=7,Zn=[new Fn(p2,0,!1),new Fn(_0,0,!0),new Fn(Kl,1,!1),new Fn(Qo,1,!0),new Fn(Bu,2,!1),new Fn(Ki,2,!0),new Fn(Jl,3,!1),new Fn(li,3,!0)],Xq=[Bu,Ki,Bu,Ki,Jl,li,Jl,li],Rq=[Ki,Ki,Ki,Ki,li,li,li,li],Iq=[Kl,Qo,Bu,Ki,Jl,li,Jl,li],Lq=[Qo,Qo,Ki,Ki,li,li,li,li],Mq=[_0,_0,Qo,Qo,Ki,Ki,li,li],zq=[p2,_0,Kl,Qo,Kl,Qo,Kl,Qo],Fe={DISPLAY:Zn[p2],TEXT:Zn[Kl],SCRIPT:Zn[Bu],SCRIPTSCRIPT:Zn[Jl]},r2=[{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 Dq(t){for(var e=0;e=n[0]&&t<=n[1])return r.name}return null}var P0=[];r2.forEach(t=>t.blocks.forEach(e=>P0.push(...e)));function $7(t){for(var e=0;e=P0[e]&&t<=P0[e+1])return!0;return!1}var Gl=80,Nq=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 +43,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"},Nq=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"},Uq=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 +53,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"},Uq=function(e,r){return"M983 "+(10+e+r)+` +M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},qq=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 +62,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"},qq=function(e,r){return"M424,"+(2398+e+r)+` +M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Bq=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 +72,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"},Bq=function(e,r){return"M473,"+(2713+e+r)+` +h400000v`+(40+e)+"h-400000z"},jq=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"},jq=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},Wq=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"},Wq=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},Vq=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"},Vq=function(e,r,i){r=1e3*r;var n="";switch(e){case"sqrtMain":n=Dq(r,Gl);break;case"sqrtSize1":n=Nq(r,Gl);break;case"sqrtSize2":n=Uq(r,Gl);break;case"sqrtSize3":n=qq(r,Gl);break;case"sqrtSize4":n=Bq(r,Gl);break;case"sqrtTall":n=Wq(r,Gl,i)}return n},Fq=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""}},e7={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},Fq=function(e,r,i){r=1e3*r;var n="";switch(e){case"sqrtMain":n=Nq(r,Gl);break;case"sqrtSize1":n=Uq(r,Gl);break;case"sqrtSize2":n=qq(r,Gl);break;case"sqrtSize3":n=Bq(r,Gl);break;case"sqrtSize4":n=jq(r,Gl);break;case"sqrtTall":n=Vq(r,Gl,i)}return n},Zq=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""}},e7={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 +258,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`},Zq=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`},Yq=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 +286,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.")}},Xs=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]}},O0={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]},t7={\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 Yq(t,e){Yn[t]=e}function m2(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 t7&&(i=t7[t[0]].charCodeAt(0),n=Yn[e][i]),!n&&r==="text"&&$7(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 Hq(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!jb[e]){var r=jb[e]={cssEmPerMu:O0.quad[e]/18};for(var i in O0)O0.hasOwnProperty(i)&&(r[i]=O0[i][e])}return jb[e]}var Gq=[[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]],r7=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],i7=function(e,r){return r.size<2?e:Gq[e-1][r.size-1]},A0=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=r7[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:i7(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:r7[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=i7(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=Hq(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};A0.BASESIZE=6;var i2={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},Kq={ex:!0,em:!0,mu:!0},X7=function(e){return typeof e!="string"&&(e=e.unit),e in i2||e in Kq||e==="ex"},Gt=function(e,r){var i;if(e.unit in i2)i=i2[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)},Qe=function(e){return+e.toFixed(4)+"em"},Ia=function(e){return e.filter(r=>r).join(" ")},R7=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)}},I7=function(e){var r=document.createElement(e);r.className=Ia(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},Rs=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,R7.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 I7.call(this,"span")}toMarkup(){return L7.call(this,"span")}},ju=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,R7.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 I7.call(this,"a")}toMarkup(){return L7.call(this,"a")}},n2=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=Qe(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Ia(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":""}},Wu=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 tB={bin:1,close:1,inner:1,open:1,punct:1,rel:1},rB={"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",xe="text",P="main",U="ams",Bt="accent-token",Me="bin",ci="close",ec="inner",Ve="mathord",fr="op-token",zi="open",M0="punct",B="rel",Io="spacing",G="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,M0,".","\\ldotp");v(S,P,M0,"\u22C5","\\cdotp");v(S,P,G,"#","\\#");v(xe,P,G,"#","\\#");v(S,P,G,"&","\\&");v(xe,P,G,"&","\\&");v(S,P,G,"\u2135","\\aleph",!0);v(S,P,G,"\u2200","\\forall",!0);v(S,P,G,"\u210F","\\hbar",!0);v(S,P,G,"\u2203","\\exists",!0);v(S,P,G,"\u2207","\\nabla",!0);v(S,P,G,"\u266D","\\flat",!0);v(S,P,G,"\u2113","\\ell",!0);v(S,P,G,"\u266E","\\natural",!0);v(S,P,G,"\u2663","\\clubsuit",!0);v(S,P,G,"\u2118","\\wp",!0);v(S,P,G,"\u266F","\\sharp",!0);v(S,P,G,"\u2662","\\diamondsuit",!0);v(S,P,G,"\u211C","\\Re",!0);v(S,P,G,"\u2661","\\heartsuit",!0);v(S,P,G,"\u2111","\\Im",!0);v(S,P,G,"\u2660","\\spadesuit",!0);v(S,P,G,"\xA7","\\S",!0);v(xe,P,G,"\xA7","\\S");v(S,P,G,"\xB6","\\P",!0);v(xe,P,G,"\xB6","\\P");v(S,P,G,"\u2020","\\dag");v(xe,P,G,"\u2020","\\dag");v(xe,P,G,"\u2020","\\textdagger");v(S,P,G,"\u2021","\\ddag");v(xe,P,G,"\u2021","\\ddag");v(xe,P,G,"\u2021","\\textdaggerdbl");v(S,P,ci,"\u23B1","\\rmoustache",!0);v(S,P,zi,"\u23B0","\\lmoustache",!0);v(S,P,ci,"\u27EF","\\rgroup",!0);v(S,P,zi,"\u27EE","\\lgroup",!0);v(S,P,Me,"\u2213","\\mp",!0);v(S,P,Me,"\u2296","\\ominus",!0);v(S,P,Me,"\u228E","\\uplus",!0);v(S,P,Me,"\u2293","\\sqcap",!0);v(S,P,Me,"\u2217","\\ast");v(S,P,Me,"\u2294","\\sqcup",!0);v(S,P,Me,"\u25EF","\\bigcirc",!0);v(S,P,Me,"\u2219","\\bullet",!0);v(S,P,Me,"\u2021","\\ddagger");v(S,P,Me,"\u2240","\\wr",!0);v(S,P,Me,"\u2A3F","\\amalg");v(S,P,Me,"&","\\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,U,B,"\u226E","\\nless",!0);v(S,U,B,"\uE010","\\@nleqslant");v(S,U,B,"\uE011","\\@nleqq");v(S,U,B,"\u2A87","\\lneq",!0);v(S,U,B,"\u2268","\\lneqq",!0);v(S,U,B,"\uE00C","\\@lvertneqq");v(S,U,B,"\u22E6","\\lnsim",!0);v(S,U,B,"\u2A89","\\lnapprox",!0);v(S,U,B,"\u2280","\\nprec",!0);v(S,U,B,"\u22E0","\\npreceq",!0);v(S,U,B,"\u22E8","\\precnsim",!0);v(S,U,B,"\u2AB9","\\precnapprox",!0);v(S,U,B,"\u2241","\\nsim",!0);v(S,U,B,"\uE006","\\@nshortmid");v(S,U,B,"\u2224","\\nmid",!0);v(S,U,B,"\u22AC","\\nvdash",!0);v(S,U,B,"\u22AD","\\nvDash",!0);v(S,U,B,"\u22EA","\\ntriangleleft");v(S,U,B,"\u22EC","\\ntrianglelefteq",!0);v(S,U,B,"\u228A","\\subsetneq",!0);v(S,U,B,"\uE01A","\\@varsubsetneq");v(S,U,B,"\u2ACB","\\subsetneqq",!0);v(S,U,B,"\uE017","\\@varsubsetneqq");v(S,U,B,"\u226F","\\ngtr",!0);v(S,U,B,"\uE00F","\\@ngeqslant");v(S,U,B,"\uE00E","\\@ngeqq");v(S,U,B,"\u2A88","\\gneq",!0);v(S,U,B,"\u2269","\\gneqq",!0);v(S,U,B,"\uE00D","\\@gvertneqq");v(S,U,B,"\u22E7","\\gnsim",!0);v(S,U,B,"\u2A8A","\\gnapprox",!0);v(S,U,B,"\u2281","\\nsucc",!0);v(S,U,B,"\u22E1","\\nsucceq",!0);v(S,U,B,"\u22E9","\\succnsim",!0);v(S,U,B,"\u2ABA","\\succnapprox",!0);v(S,U,B,"\u2246","\\ncong",!0);v(S,U,B,"\uE007","\\@nshortparallel");v(S,U,B,"\u2226","\\nparallel",!0);v(S,U,B,"\u22AF","\\nVDash",!0);v(S,U,B,"\u22EB","\\ntriangleright");v(S,U,B,"\u22ED","\\ntrianglerighteq",!0);v(S,U,B,"\uE018","\\@nsupseteqq");v(S,U,B,"\u228B","\\supsetneq",!0);v(S,U,B,"\uE01B","\\@varsupsetneq");v(S,U,B,"\u2ACC","\\supsetneqq",!0);v(S,U,B,"\uE019","\\@varsupsetneqq");v(S,U,B,"\u22AE","\\nVdash",!0);v(S,U,B,"\u2AB5","\\precneqq",!0);v(S,U,B,"\u2AB6","\\succneqq",!0);v(S,U,B,"\uE016","\\@nsubseteqq");v(S,U,Me,"\u22B4","\\unlhd");v(S,U,Me,"\u22B5","\\unrhd");v(S,U,B,"\u219A","\\nleftarrow",!0);v(S,U,B,"\u219B","\\nrightarrow",!0);v(S,U,B,"\u21CD","\\nLeftarrow",!0);v(S,U,B,"\u21CF","\\nRightarrow",!0);v(S,U,B,"\u21AE","\\nleftrightarrow",!0);v(S,U,B,"\u21CE","\\nLeftrightarrow",!0);v(S,U,B,"\u25B3","\\vartriangle");v(S,U,G,"\u210F","\\hslash");v(S,U,G,"\u25BD","\\triangledown");v(S,U,G,"\u25CA","\\lozenge");v(S,U,G,"\u24C8","\\circledS");v(S,U,G,"\xAE","\\circledR");v(xe,U,G,"\xAE","\\circledR");v(S,U,G,"\u2221","\\measuredangle",!0);v(S,U,G,"\u2204","\\nexists");v(S,U,G,"\u2127","\\mho");v(S,U,G,"\u2132","\\Finv",!0);v(S,U,G,"\u2141","\\Game",!0);v(S,U,G,"\u2035","\\backprime");v(S,U,G,"\u25B2","\\blacktriangle");v(S,U,G,"\u25BC","\\blacktriangledown");v(S,U,G,"\u25A0","\\blacksquare");v(S,U,G,"\u29EB","\\blacklozenge");v(S,U,G,"\u2605","\\bigstar");v(S,U,G,"\u2222","\\sphericalangle",!0);v(S,U,G,"\u2201","\\complement",!0);v(S,U,G,"\xF0","\\eth",!0);v(xe,P,G,"\xF0","\xF0");v(S,U,G,"\u2571","\\diagup");v(S,U,G,"\u2572","\\diagdown");v(S,U,G,"\u25A1","\\square");v(S,U,G,"\u25A1","\\Box");v(S,U,G,"\u25CA","\\Diamond");v(S,U,G,"\xA5","\\yen",!0);v(xe,U,G,"\xA5","\\yen",!0);v(S,U,G,"\u2713","\\checkmark",!0);v(xe,U,G,"\u2713","\\checkmark");v(S,U,G,"\u2136","\\beth",!0);v(S,U,G,"\u2138","\\daleth",!0);v(S,U,G,"\u2137","\\gimel",!0);v(S,U,G,"\u03DD","\\digamma",!0);v(S,U,G,"\u03F0","\\varkappa");v(S,U,zi,"\u250C","\\@ulcorner",!0);v(S,U,ci,"\u2510","\\@urcorner",!0);v(S,U,zi,"\u2514","\\@llcorner",!0);v(S,U,ci,"\u2518","\\@lrcorner",!0);v(S,U,B,"\u2266","\\leqq",!0);v(S,U,B,"\u2A7D","\\leqslant",!0);v(S,U,B,"\u2A95","\\eqslantless",!0);v(S,U,B,"\u2272","\\lesssim",!0);v(S,U,B,"\u2A85","\\lessapprox",!0);v(S,U,B,"\u224A","\\approxeq",!0);v(S,U,Me,"\u22D6","\\lessdot");v(S,U,B,"\u22D8","\\lll",!0);v(S,U,B,"\u2276","\\lessgtr",!0);v(S,U,B,"\u22DA","\\lesseqgtr",!0);v(S,U,B,"\u2A8B","\\lesseqqgtr",!0);v(S,U,B,"\u2251","\\doteqdot");v(S,U,B,"\u2253","\\risingdotseq",!0);v(S,U,B,"\u2252","\\fallingdotseq",!0);v(S,U,B,"\u223D","\\backsim",!0);v(S,U,B,"\u22CD","\\backsimeq",!0);v(S,U,B,"\u2AC5","\\subseteqq",!0);v(S,U,B,"\u22D0","\\Subset",!0);v(S,U,B,"\u228F","\\sqsubset",!0);v(S,U,B,"\u227C","\\preccurlyeq",!0);v(S,U,B,"\u22DE","\\curlyeqprec",!0);v(S,U,B,"\u227E","\\precsim",!0);v(S,U,B,"\u2AB7","\\precapprox",!0);v(S,U,B,"\u22B2","\\vartriangleleft");v(S,U,B,"\u22B4","\\trianglelefteq");v(S,U,B,"\u22A8","\\vDash",!0);v(S,U,B,"\u22AA","\\Vvdash",!0);v(S,U,B,"\u2323","\\smallsmile");v(S,U,B,"\u2322","\\smallfrown");v(S,U,B,"\u224F","\\bumpeq",!0);v(S,U,B,"\u224E","\\Bumpeq",!0);v(S,U,B,"\u2267","\\geqq",!0);v(S,U,B,"\u2A7E","\\geqslant",!0);v(S,U,B,"\u2A96","\\eqslantgtr",!0);v(S,U,B,"\u2273","\\gtrsim",!0);v(S,U,B,"\u2A86","\\gtrapprox",!0);v(S,U,Me,"\u22D7","\\gtrdot");v(S,U,B,"\u22D9","\\ggg",!0);v(S,U,B,"\u2277","\\gtrless",!0);v(S,U,B,"\u22DB","\\gtreqless",!0);v(S,U,B,"\u2A8C","\\gtreqqless",!0);v(S,U,B,"\u2256","\\eqcirc",!0);v(S,U,B,"\u2257","\\circeq",!0);v(S,U,B,"\u225C","\\triangleq",!0);v(S,U,B,"\u223C","\\thicksim");v(S,U,B,"\u2248","\\thickapprox");v(S,U,B,"\u2AC6","\\supseteqq",!0);v(S,U,B,"\u22D1","\\Supset",!0);v(S,U,B,"\u2290","\\sqsupset",!0);v(S,U,B,"\u227D","\\succcurlyeq",!0);v(S,U,B,"\u22DF","\\curlyeqsucc",!0);v(S,U,B,"\u227F","\\succsim",!0);v(S,U,B,"\u2AB8","\\succapprox",!0);v(S,U,B,"\u22B3","\\vartriangleright");v(S,U,B,"\u22B5","\\trianglerighteq");v(S,U,B,"\u22A9","\\Vdash",!0);v(S,U,B,"\u2223","\\shortmid");v(S,U,B,"\u2225","\\shortparallel");v(S,U,B,"\u226C","\\between",!0);v(S,U,B,"\u22D4","\\pitchfork",!0);v(S,U,B,"\u221D","\\varpropto");v(S,U,B,"\u25C0","\\blacktriangleleft");v(S,U,B,"\u2234","\\therefore",!0);v(S,U,B,"\u220D","\\backepsilon");v(S,U,B,"\u25B6","\\blacktriangleright");v(S,U,B,"\u2235","\\because",!0);v(S,U,B,"\u22D8","\\llless");v(S,U,B,"\u22D9","\\gggtr");v(S,U,Me,"\u22B2","\\lhd");v(S,U,Me,"\u22B3","\\rhd");v(S,U,B,"\u2242","\\eqsim",!0);v(S,P,B,"\u22C8","\\Join");v(S,U,B,"\u2251","\\Doteq",!0);v(S,U,Me,"\u2214","\\dotplus",!0);v(S,U,Me,"\u2216","\\smallsetminus");v(S,U,Me,"\u22D2","\\Cap",!0);v(S,U,Me,"\u22D3","\\Cup",!0);v(S,U,Me,"\u2A5E","\\doublebarwedge",!0);v(S,U,Me,"\u229F","\\boxminus",!0);v(S,U,Me,"\u229E","\\boxplus",!0);v(S,U,Me,"\u22C7","\\divideontimes",!0);v(S,U,Me,"\u22C9","\\ltimes",!0);v(S,U,Me,"\u22CA","\\rtimes",!0);v(S,U,Me,"\u22CB","\\leftthreetimes",!0);v(S,U,Me,"\u22CC","\\rightthreetimes",!0);v(S,U,Me,"\u22CF","\\curlywedge",!0);v(S,U,Me,"\u22CE","\\curlyvee",!0);v(S,U,Me,"\u229D","\\circleddash",!0);v(S,U,Me,"\u229B","\\circledast",!0);v(S,U,Me,"\u22C5","\\centerdot");v(S,U,Me,"\u22BA","\\intercal",!0);v(S,U,Me,"\u22D2","\\doublecap");v(S,U,Me,"\u22D3","\\doublecup");v(S,U,Me,"\u22A0","\\boxtimes",!0);v(S,U,B,"\u21E2","\\dashrightarrow",!0);v(S,U,B,"\u21E0","\\dashleftarrow",!0);v(S,U,B,"\u21C7","\\leftleftarrows",!0);v(S,U,B,"\u21C6","\\leftrightarrows",!0);v(S,U,B,"\u21DA","\\Lleftarrow",!0);v(S,U,B,"\u219E","\\twoheadleftarrow",!0);v(S,U,B,"\u21A2","\\leftarrowtail",!0);v(S,U,B,"\u21AB","\\looparrowleft",!0);v(S,U,B,"\u21CB","\\leftrightharpoons",!0);v(S,U,B,"\u21B6","\\curvearrowleft",!0);v(S,U,B,"\u21BA","\\circlearrowleft",!0);v(S,U,B,"\u21B0","\\Lsh",!0);v(S,U,B,"\u21C8","\\upuparrows",!0);v(S,U,B,"\u21BF","\\upharpoonleft",!0);v(S,U,B,"\u21C3","\\downharpoonleft",!0);v(S,P,B,"\u22B6","\\origof",!0);v(S,P,B,"\u22B7","\\imageof",!0);v(S,U,B,"\u22B8","\\multimap",!0);v(S,U,B,"\u21AD","\\leftrightsquigarrow",!0);v(S,U,B,"\u21C9","\\rightrightarrows",!0);v(S,U,B,"\u21C4","\\rightleftarrows",!0);v(S,U,B,"\u21A0","\\twoheadrightarrow",!0);v(S,U,B,"\u21A3","\\rightarrowtail",!0);v(S,U,B,"\u21AC","\\looparrowright",!0);v(S,U,B,"\u21B7","\\curvearrowright",!0);v(S,U,B,"\u21BB","\\circlearrowright",!0);v(S,U,B,"\u21B1","\\Rsh",!0);v(S,U,B,"\u21CA","\\downdownarrows",!0);v(S,U,B,"\u21BE","\\upharpoonright",!0);v(S,U,B,"\u21C2","\\downharpoonright",!0);v(S,U,B,"\u21DD","\\rightsquigarrow",!0);v(S,U,B,"\u21DD","\\leadsto");v(S,U,B,"\u21DB","\\Rrightarrow",!0);v(S,U,B,"\u21BE","\\restriction");v(S,P,G,"\u2018","`");v(S,P,G,"$","\\$");v(xe,P,G,"$","\\$");v(xe,P,G,"$","\\textdollar");v(S,P,G,"%","\\%");v(xe,P,G,"%","\\%");v(S,P,G,"_","\\_");v(xe,P,G,"_","\\_");v(xe,P,G,"_","\\textunderscore");v(S,P,G,"\u2220","\\angle",!0);v(S,P,G,"\u221E","\\infty",!0);v(S,P,G,"\u2032","\\prime");v(S,P,G,"\u25B3","\\triangle");v(S,P,G,"\u0393","\\Gamma",!0);v(S,P,G,"\u0394","\\Delta",!0);v(S,P,G,"\u0398","\\Theta",!0);v(S,P,G,"\u039B","\\Lambda",!0);v(S,P,G,"\u039E","\\Xi",!0);v(S,P,G,"\u03A0","\\Pi",!0);v(S,P,G,"\u03A3","\\Sigma",!0);v(S,P,G,"\u03A5","\\Upsilon",!0);v(S,P,G,"\u03A6","\\Phi",!0);v(S,P,G,"\u03A8","\\Psi",!0);v(S,P,G,"\u03A9","\\Omega",!0);v(S,P,G,"A","\u0391");v(S,P,G,"B","\u0392");v(S,P,G,"E","\u0395");v(S,P,G,"Z","\u0396");v(S,P,G,"H","\u0397");v(S,P,G,"I","\u0399");v(S,P,G,"K","\u039A");v(S,P,G,"M","\u039C");v(S,P,G,"N","\u039D");v(S,P,G,"O","\u039F");v(S,P,G,"P","\u03A1");v(S,P,G,"T","\u03A4");v(S,P,G,"X","\u03A7");v(S,P,G,"\xAC","\\neg",!0);v(S,P,G,"\xAC","\\lnot");v(S,P,G,"\u22A4","\\top");v(S,P,G,"\u22A5","\\bot");v(S,P,G,"\u2205","\\emptyset");v(S,U,G,"\u2205","\\varnothing");v(S,P,Ve,"\u03B1","\\alpha",!0);v(S,P,Ve,"\u03B2","\\beta",!0);v(S,P,Ve,"\u03B3","\\gamma",!0);v(S,P,Ve,"\u03B4","\\delta",!0);v(S,P,Ve,"\u03F5","\\epsilon",!0);v(S,P,Ve,"\u03B6","\\zeta",!0);v(S,P,Ve,"\u03B7","\\eta",!0);v(S,P,Ve,"\u03B8","\\theta",!0);v(S,P,Ve,"\u03B9","\\iota",!0);v(S,P,Ve,"\u03BA","\\kappa",!0);v(S,P,Ve,"\u03BB","\\lambda",!0);v(S,P,Ve,"\u03BC","\\mu",!0);v(S,P,Ve,"\u03BD","\\nu",!0);v(S,P,Ve,"\u03BE","\\xi",!0);v(S,P,Ve,"\u03BF","\\omicron",!0);v(S,P,Ve,"\u03C0","\\pi",!0);v(S,P,Ve,"\u03C1","\\rho",!0);v(S,P,Ve,"\u03C3","\\sigma",!0);v(S,P,Ve,"\u03C4","\\tau",!0);v(S,P,Ve,"\u03C5","\\upsilon",!0);v(S,P,Ve,"\u03D5","\\phi",!0);v(S,P,Ve,"\u03C7","\\chi",!0);v(S,P,Ve,"\u03C8","\\psi",!0);v(S,P,Ve,"\u03C9","\\omega",!0);v(S,P,Ve,"\u03B5","\\varepsilon",!0);v(S,P,Ve,"\u03D1","\\vartheta",!0);v(S,P,Ve,"\u03D6","\\varpi",!0);v(S,P,Ve,"\u03F1","\\varrho",!0);v(S,P,Ve,"\u03C2","\\varsigma",!0);v(S,P,Ve,"\u03C6","\\varphi",!0);v(S,P,Me,"\u2217","*",!0);v(S,P,Me,"+","+");v(S,P,Me,"\u2212","-",!0);v(S,P,Me,"\u22C5","\\cdot",!0);v(S,P,Me,"\u2218","\\circ",!0);v(S,P,Me,"\xF7","\\div",!0);v(S,P,Me,"\xB1","\\pm",!0);v(S,P,Me,"\xD7","\\times",!0);v(S,P,Me,"\u2229","\\cap",!0);v(S,P,Me,"\u222A","\\cup",!0);v(S,P,Me,"\u2216","\\setminus",!0);v(S,P,Me,"\u2227","\\land");v(S,P,Me,"\u2228","\\lor");v(S,P,Me,"\u2227","\\wedge",!0);v(S,P,Me,"\u2228","\\vee",!0);v(S,P,G,"\u221A","\\surd");v(S,P,zi,"\u27E8","\\langle",!0);v(S,P,zi,"\u2223","\\lvert");v(S,P,zi,"\u2225","\\lVert");v(S,P,ci,"?","?");v(S,P,ci,"!","!");v(S,P,ci,"\u27E9","\\rangle",!0);v(S,P,ci,"\u2223","\\rvert");v(S,P,ci,"\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,U,B,"\u2288","\\nsubseteq",!0);v(S,U,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,U,B,"\u2271","\\ngeq",!0);v(S,U,B,"\u2270","\\nleq",!0);v(S,P,Io,"\xA0","\\ ");v(S,P,Io,"\xA0","\\space");v(S,P,Io,"\xA0","\\nobreakspace");v(xe,P,Io,"\xA0","\\ ");v(xe,P,Io,"\xA0"," ");v(xe,P,Io,"\xA0","\\space");v(xe,P,Io,"\xA0","\\nobreakspace");v(S,P,Io,null,"\\nobreak");v(S,P,Io,null,"\\allowbreak");v(S,P,M0,",",",");v(S,P,M0,";",";");v(S,U,Me,"\u22BC","\\barwedge",!0);v(S,U,Me,"\u22BB","\\veebar",!0);v(S,P,Me,"\u2299","\\odot",!0);v(S,P,Me,"\u2295","\\oplus",!0);v(S,P,Me,"\u2297","\\otimes",!0);v(S,P,G,"\u2202","\\partial",!0);v(S,P,Me,"\u2298","\\oslash",!0);v(S,U,Me,"\u229A","\\circledcirc",!0);v(S,U,Me,"\u22A1","\\boxdot",!0);v(S,P,Me,"\u25B3","\\bigtriangleup");v(S,P,Me,"\u25BD","\\bigtriangledown");v(S,P,Me,"\u2020","\\dagger");v(S,P,Me,"\u22C4","\\diamond");v(S,P,Me,"\u22C6","\\star");v(S,P,Me,"\u25C3","\\triangleleft");v(S,P,Me,"\u25B9","\\triangleright");v(S,P,zi,"{","\\{");v(xe,P,G,"{","\\{");v(xe,P,G,"{","\\textbraceleft");v(S,P,ci,"}","\\}");v(xe,P,G,"}","\\}");v(xe,P,G,"}","\\textbraceright");v(S,P,zi,"{","\\lbrace");v(S,P,ci,"}","\\rbrace");v(S,P,zi,"[","\\lbrack",!0);v(xe,P,G,"[","\\lbrack",!0);v(S,P,ci,"]","\\rbrack",!0);v(xe,P,G,"]","\\rbrack",!0);v(S,P,zi,"(","\\lparen",!0);v(S,P,ci,")","\\rparen",!0);v(xe,P,G,"<","\\textless",!0);v(xe,P,G,">","\\textgreater",!0);v(S,P,zi,"\u230A","\\lfloor",!0);v(S,P,ci,"\u230B","\\rfloor",!0);v(S,P,zi,"\u2308","\\lceil",!0);v(S,P,ci,"\u2309","\\rceil",!0);v(S,P,G,"\\","\\backslash");v(S,P,G,"\u2223","|");v(S,P,G,"\u2223","\\vert");v(xe,P,G,"|","\\textbar",!0);v(S,P,G,"\u2225","\\|");v(S,P,G,"\u2225","\\Vert");v(xe,P,G,"\u2225","\\textbardbl");v(xe,P,G,"~","\\textasciitilde");v(xe,P,G,"\\","\\textbackslash");v(xe,P,G,"^","\\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(xe,P,ec,"\u2026","\\textellipsis");v(S,P,ec,"\u2026","\\mathellipsis");v(xe,P,ec,"\u2026","\\ldots",!0);v(S,P,ec,"\u2026","\\ldots",!0);v(S,P,ec,"\u22EF","\\@cdots",!0);v(S,P,ec,"\u22F1","\\ddots",!0);v(S,P,G,"\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,Ve,"\uE131","\\@imath");v(S,P,Ve,"\uE237","\\@jmath");v(S,P,G,"\u0131","\u0131");v(S,P,G,"\u0237","\u0237");v(xe,P,G,"\u0131","\\i",!0);v(xe,P,G,"\u0237","\\j",!0);v(xe,P,G,"\xDF","\\ss",!0);v(xe,P,G,"\xE6","\\ae",!0);v(xe,P,G,"\u0153","\\oe",!0);v(xe,P,G,"\xF8","\\o",!0);v(xe,P,G,"\xC6","\\AE",!0);v(xe,P,G,"\u0152","\\OE",!0);v(xe,P,G,"\xD8","\\O",!0);v(xe,P,Bt,"\u02CA","\\'");v(xe,P,Bt,"\u02CB","\\`");v(xe,P,Bt,"\u02C6","\\^");v(xe,P,Bt,"\u02DC","\\~");v(xe,P,Bt,"\u02C9","\\=");v(xe,P,Bt,"\u02D8","\\u");v(xe,P,Bt,"\u02D9","\\.");v(xe,P,Bt,"\xB8","\\c");v(xe,P,Bt,"\u02DA","\\r");v(xe,P,Bt,"\u02C7","\\v");v(xe,P,Bt,"\xA8",'\\"');v(xe,P,Bt,"\u02DD","\\H");v(xe,P,Bt,"\u25EF","\\textcircled");var M7={"--":!0,"---":!0,"``":!0,"''":!0};v(xe,P,G,"\u2013","--",!0);v(xe,P,G,"\u2013","\\textendash");v(xe,P,G,"\u2014","---",!0);v(xe,P,G,"\u2014","\\textemdash");v(xe,P,G,"\u2018","`",!0);v(xe,P,G,"\u2018","\\textquoteleft");v(xe,P,G,"\u2019","'",!0);v(xe,P,G,"\u2019","\\textquoteright");v(xe,P,G,"\u201C","``",!0);v(xe,P,G,"\u201C","\\textquotedblleft");v(xe,P,G,"\u201D","''",!0);v(xe,P,G,"\u201D","\\textquotedblright");v(S,P,G,"\xB0","\\degree",!0);v(xe,P,G,"\xB0","\\degree");v(xe,P,G,"\xB0","\\textdegree",!0);v(S,P,G,"\xA3","\\pounds");v(S,P,G,"\xA3","\\mathsterling",!0);v(xe,P,G,"\xA3","\\pounds");v(xe,P,G,"\xA3","\\textsterling",!0);v(S,U,G,"\u2720","\\maltese");v(xe,U,G,"\u2720","\\maltese");var o7='0123456789/@."';for(g0=0;g00)return yn(o,c,n,r,a.concat(u));if(l){var f,d;if(l==="boldsymbol"){var p=oB(o,n,r,a,i);f=p.fontName,d=[p.fontClass]}else s?(f=N7[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,a.concat(d));if(M7.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var O=[],x=0;x{if(Ia(t.classes)!==Ia(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},lB=t=>{for(var e=0;er&&(r=a.height),a.depth>i&&(i=a.depth),a.maxFontSize>n&&(n=a.maxFontSize)}e.height=r,e.depth=i,e.maxFontSize=n},xi=function(e,r,i,n){var o=new Rs(e,r,i,n);return O2(o),o},z7=(t,e,r,i)=>new Rs(t,e,r,i),cB=function(e,r,i){var n=xi([e],[],r);return n.height=Math.max(i||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=Qe(n.height),n.maxFontSize=1,n},uB=function(e,r,i,n){var o=new ju(e,r,i,n);return O2(o),o},D7=function(e){var r=new Xs(e);return O2(r),r},fB=function(e,r){return e instanceof Xs?xi([],[e],r):e},hB=function(e){if(e.positionType==="individualShift"){for(var r=e.children,i=[r[0]],n=-r[0].shift-r[0].elem.depth,o=n,a=1;a{var r=xi(["mspace"],[],e),i=Gt(t,e);return r.style.marginRight=Qe(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},N7={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"}},U7={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},mB=function(e,r){var[i,n,o]=U7[e],a=new Gn(i),s=new vn([a],{width:Qe(n),height:Qe(o),style:"width:"+Qe(n),viewBox:"0 0 "+1e3*n+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=z7(["overlay"],[s],r);return l.height=o,l.style.height=Qe(o),l.style.width=Qe(n),l},re={fontMap:N7,makeSymbol:yn,mathsym:nB,makeSpan:xi,makeSvgSpan:z7,makeLineSpan:cB,makeAnchor:uB,makeFragment:D7,wrapFragment:fB,makeVList:dB,makeOrd:aB,makeGlue:pB,staticSvg:mB,svgData:U7,tryCombineChars:lB},Ht={number:3,unit:"mu"},Qs={number:4,unit:"mu"},Ao={number:5,unit:"mu"},OB={mord:{mop:Ht,mbin:Qs,mrel:Ao,minner:Ht},mop:{mord:Ht,mop:Ht,mrel:Ao,minner:Ht},mbin:{mord:Qs,mop:Qs,mopen:Qs,minner:Qs},mrel:{mord:Ao,mop:Ao,mopen:Ao,minner:Ao},mopen:{},mclose:{mop:Ht,mbin:Qs,mrel:Ao,minner:Ht},mpunct:{mord:Ht,mop:Ht,mrel:Ao,mopen:Ht,mclose:Ht,mpunct:Ht,minner:Ht},minner:{mord:Ht,mop:Ht,mbin:Qs,mrel:Ao,mopen:Ht,mpunct:Ht,minner:Ht}},gB={mord:{mop:Ht},mop:{mord:Ht,mop:Ht},mbin:{},mrel:{},mopen:{},mclose:{mop:Ht},mpunct:{},minner:{mop:Ht}},q7={},$0={},X0={};function Ie(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder:a}=t,s={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 k=x.classes[0],w=O.classes[0];k==="mbin"&&Ke.contains(yB,w)?x.classes[0]="mord":w==="mbin"&&Ke.contains(bB,k)&&(O.classes[0]="mord")},{node:f},d,p),l7(o,(O,x)=>{var k=a2(x),w=a2(O),C=k&&w?O.hasClass("mtight")?gB[k][w]:OB[k][w]:null;if(C)return re.makeGlue(C,c)},{node:f},d,p),o},l7=function t(e,r,i,n,o){n&&e.push(n);for(var a=0;ad=>{e.splice(f+1,0,d),a++})(a)}n&&e.pop()},B7=function(e){return e instanceof Xs||e instanceof ju||e instanceof Rs&&e.hasClass("enclosing")?e:null},wB=function t(e,r){var i=B7(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},a2=function(e,r){return e?(r&&(e=wB(e,r)),xB[e.classes[0]]||null):null},Vu=function(e,r){var i=["nulldelimiter"].concat(e.baseSizingClasses());return Xo(r.concat(i))},wt=function(e,r,i){if(!e)return Xo();if($0[e.type]){var n=$0[e.type](e,r);if(i&&r.size!==i.size){n=Xo(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 k0(t,e){var r=Xo(["base"],t,e),i=Xo(["strut"]);return i.style.height=Qe(r.height+r.depth),r.depth&&(i.style.verticalAlign=Qe(-r.depth)),r.children.unshift(i),r}function s2(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=[],a=[],s=0;s0&&(o.push(k0(a,e)),a=[]),o.push(i[s]));a.length>0&&o.push(k0(a,e));var c;r?(c=k0(yr(r,e,!0)),c.classes=["tag"],o.push(c)):n&&o.push(n);var u=Xo(["katex-html"],o);if(u.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Qe(u.height+u.depth),u.depth&&(f.style.verticalAlign=Qe(-u.depth))}return u}function j7(t){return new Xs(t)}var wi=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=Ia(this.classes));for(var i=0;i0&&(e+=' class ="'+Ke.escape(Ia(this.classes))+'"'),e+=">";for(var i=0;i",e}toText(){return this.children.map(e=>e.toText()).join("")}},$s=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}},l2=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",Qe(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},ke={MathNode:wi,TextNode:$s,SpaceNode:l2,newDocumentFragment:j7},Ji=function(e,r,i){return Dt[r][e]&&Dt[r][e].replace&&e.charCodeAt(0)!==55349&&!(M7.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)},g2=function(e){return e.length===1?e[0]:new ke.MathNode("mrow",e)},b2=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 a=re.fontMap[i].fontName;return m2(o,a,n)?re.fontMap[i].variant:null},Si=function(e,r,i){if(e.length===1){var n=Mt(e[0],r);return i&&n instanceof wi&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o=[],a,s=0;s0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),a=l}return o},La=function(e,r,i){return g2(Si(e,r,i))},Mt=function(e,r){if(!e)return new ke.MathNode("mrow");if(X0[e.type]){var i=X0[e.type](e,r);return i}else throw new Pe("Got group of unknown type: '"+e.type+"'")};function c7(t,e,r,i,n){var o=Si(t,r),a;o.length===1&&o[0]instanceof wi&&Ke.contains(["mrow","mtable"],o[0].type)?a=o[0]:a=new ke.MathNode("mrow",o);var s=new ke.MathNode("annotation",[new ke.TextNode(e)]);s.setAttribute("encoding","application/x-tex");var l=new ke.MathNode("semantics",[a,s]),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 re.makeSpan([u],[c])}var W7=function(e){return new A0({style:e.displayMode?Fe.DISPLAY:Fe.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},V7=function(e,r){if(r.displayMode){var i=["katex-display"];r.leqno&&i.push("leqno"),r.fleqn&&i.push("fleqn"),e=re.makeSpan(i,[e])}return e},kB=function(e,r,i){var n=W7(i),o;if(i.output==="mathml")return c7(e,r,n,i.displayMode,!0);if(i.output==="html"){var a=s2(e,n);o=re.makeSpan(["katex"],[a])}else{var s=c7(e,r,n,i.displayMode,!1),l=s2(e,n);o=re.makeSpan(["katex"],[s,l])}return V7(o,i)},SB=function(e,r,i){var n=W7(i),o=s2(e,n),a=re.makeSpan(["katex"],[o]);return V7(a,i)},TB={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":"="},EB=function(e){var r=new ke.MathNode("mo",[new ke.TextNode(TB[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},CB={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]},PB=function(e){return e.type==="ordgroup"?e.body.length:1},_B=function(e,r){function i(){var s=4e5,l=e.label.slice(1);if(Ke.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=e,u=PB(c.base),f,d,p;if(u>5)l==="widehat"||l==="widecheck"?(f=420,s=2364,p=.42,d=l+"4"):(f=312,s=2340,p=.34,d="tilde4");else{var O=[1,1,2,2,3,3][u];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][O],f=[0,239,300,360,420][O],p=[0,.24,.3,.3,.36,.42][O],d=l+O):(s=[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 x=new Gn(d),k=new vn([x],{width:"100%",height:Qe(p),viewBox:"0 0 "+s+" "+f,preserveAspectRatio:"none"});return{span:re.makeSvgSpan([],[k],r),minWidth:0,height:p}}else{var w=[],C=CB[l],[Q,L,N]=C,I=N/1e3,H=Q.length,j,Y;if(H===1){var V=C[3];j=["hide-tail"],Y=[V]}else if(H===2)j=["halfarrow-left","halfarrow-right"],Y=["xMinYMin","xMaxYMin"];else if(H===3)j=["brace-left","brace-center","brace-right"],Y=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+H+" children.");for(var ne=0;ne0&&(n.style.minWidth=Qe(o)),n},AB=function(e,r,i,n,o){var a,s=e.height+e.depth+i+n;if(/fbox|color|angl/.test(r)){if(a=re.makeSpan(["stretchy",r],[],o),r==="fbox"){var l=o.color&&o.getColor();l&&(a.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(r)&&c.push(new Wu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new Wu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new vn(c,{width:"100%",height:Qe(s)});a=re.makeSvgSpan([],[u],o)}return a.height=s,a.style.height=Qe(s),a},Ro={encloseSpan:AB,mathMLnode:EB,svgSpan:_B};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 y2(t){var e=D0(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 D0(t){return t&&(t.type==="atom"||rB.hasOwnProperty(t.type))?t:null}var v2=(t,e)=>{var r,i,n;t&&t.type==="supsub"?(i=lt(t.base,"accent"),r=i.base,t.base=r,n=eB(wt(t,e)),t.base=i):(i=lt(t,"accent"),r=i.base);var o=wt(r,e.havingCrampedStyle()),a=i.isShifty&&Ke.isCharacterBox(r),s=0;if(a){var l=Ke.getBaseElem(r),c=wt(l,e.havingCrampedStyle());s=n7(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=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+Qe(2*s)+")",marginLeft:Qe(2*s)}:void 0}]},e);else{var p,O;i.label==="\\vec"?(p=re.staticSvg("vec",e),O=re.svgData.vec[1]):(p=re.makeOrd({mode:i.mode,text:i.label},e,"textord"),p=n7(p),p.italic=0,O=p.width,u&&(f+=p.depth)),d=re.makeSpan(["accent-body"],[p]);var x=i.label==="\\textcircled";x&&(d.classes.push("accent-full"),f=o.height);var k=s;x||(k-=O/2),d.style.left=Qe(k),i.label==="\\textcircled"&&(d.style.top=".2em"),d=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:d}]},e)}var w=re.makeSpan(["mord","accent"],[d],e);return n?(n.children[0]=w,n.height=Math.max(w.height,n.height),n.classes[0]="mord",n):w},F7=(t,e)=>{var r=t.isStretchy?Ro.mathMLnode(t.label):new ke.MathNode("mo",[Ji(t.label,t.mode)]),i=new ke.MathNode("mover",[Mt(t.base,e),r]);return i.setAttribute("accent","true"),i},QB=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=R0(e[0]),i=!QB.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:v2,mathmlBuilder:F7});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:v2,mathmlBuilder:F7});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=wt(t.base,e),i=Ro.svgSpan(t,e),n=t.label==="\\utilde"?.12:0,o=re.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},e);return re.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:(t,e)=>{var r=Ro.mathMLnode(t.label),i=new ke.MathNode("munder",[Mt(t.base,e),r]);return i.setAttribute("accentunder","true"),i}});var S0=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=re.wrapFragment(wt(t.body,i,e),e),o=t.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(o+"-arrow-pad");var a;t.below&&(i=e.havingStyle(r.sub()),a=re.wrapFragment(wt(t.below,i,e),e),a.classes.push(o+"-arrow-pad"));var s=Ro.svgSpan(t,e),l=-e.fontMetrics().axisHeight+.5*s.height,c=-e.fontMetrics().axisHeight-.5*s.height-.111;(n.depth>.25||t.label==="\\xleftequilibrium")&&(c-=n.depth);var u;if(a){var f=-e.fontMetrics().axisHeight+a.height+.5*s.height+.111;u=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:s,shift:l},{type:"elem",elem:a,shift:f}]},e)}else u=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:s,shift:l}]},e);return u.children[0].children[0].children[1].classes.push("svg-align"),re.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=S0(Mt(t.body,e));if(t.below){var o=S0(Mt(t.below,e));i=new ke.MathNode("munderover",[r,o,n])}else i=new ke.MathNode("mover",[r,n])}else if(t.below){var a=S0(Mt(t.below,e));i=new ke.MathNode("munder",[r,a])}else i=S0(),i=new ke.MathNode("mover",[r,i]);return i}});var $B=re.makeSpan;function Z7(t,e){var r=yr(t.body,e,!0);return $B([t.mclass],r,e)}function Y7(t,e){var r,i=Si(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:sr(n),isCharacterBox:Ke.isCharacterBox(n)}},htmlBuilder:Z7,mathmlBuilder:Y7});var N0=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:N0(e[0]),body:sr(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],a;i!=="\\stackrel"?a=N0(n):a="mrel";var s={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:i!=="\\stackrel",body:sr(n)},l={type:"supsub",mode:o.mode,base:s,sup:i==="\\underset"?null:o,sub:i==="\\underset"?o:null};return{type:"mclass",mode:r.mode,mclass:a,body:[l],isCharacterBox:Ke.isCharacterBox(l)}},htmlBuilder:Z7,mathmlBuilder:Y7});Ie({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:N0(e[0]),body:sr(e[0])}},htmlBuilder(t,e){var r=yr(t.body,e,!0),i=re.makeSpan([t.mclass],r,e);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(t,e){var r=Si(t.body,e),i=new ke.MathNode("mstyle",r);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});var XB={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},u7=()=>({type:"styling",body:[],mode:"math",style:"display"}),f7=t=>t.type==="textord"&&t.text==="@",RB=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function IB(t,e,r){var i=XB[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"},a=r.callFunction("\\Big",[o],[]),s=r.callFunction("\\\\cdright",[e[1]],[]),l={type:"ordgroup",mode:"math",body:[n,a,s]};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 LB(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 @',a[l]);var O=IB(c,u,t),x={type:"styling",body:[O],mode:"math",style:"display"};i.push(x),s=u7()}o%2===0?i.push(s):i.shift(),i=[],n.push(i)}t.gullet.endGroup(),t.gullet.endGroup();var k=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:k,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=re.wrapFragment(wt(t.label,r,e),e);return i.classes.push("cd-label-"+t.side),i.style.bottom=Qe(.8-i.depth),i.height=0,i.depth=0,i},mathmlBuilder(t,e){var r=new ke.MathNode("mrow",[Mt(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=re.wrapFragment(wt(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new ke.MathNode("mrow",[Mt(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="",a=0;a=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 H7=(t,e)=>{var r=yr(t.body,e.withColor(t.color),!1);return re.makeFragment(r)},G7=(t,e)=>{var r=Si(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:sr(n)}},htmlBuilder:H7,mathmlBuilder:G7});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:H7,mathmlBuilder:G7});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=re.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=Qe(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",Qe(Gt(t.size,e)))),r}});var c2={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},K7=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new Pe("Expected a control sequence",t);return e},MB=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},J7=(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(c2[i.text])return(r==="\\global"||r==="\\\\globallong")&&(i.text=c2[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,a,s=[[]];e.gullet.future().text!=="{";)if(i=e.gullet.popToken(),i.text==="#"){if(e.gullet.future().text==="{"){a=e.gullet.future(),s[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++,s.push([])}else{if(i.text==="EOF")throw new Pe("Expected a macro definition");s[o].push(i.text)}var{tokens:l}=e.gullet.consumeArg();return a&&l.unshift(a),(r==="\\edef"||r==="\\xdef")&&(l=e.gullet.expandTokens(l),l.reverse()),e.gullet.macros.set(n,{tokens:l,numArgs:o,delimiters:s},r===c2[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=K7(e.gullet.popToken());e.gullet.consumeSpaces();var n=MB(e);return J7(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=K7(e.gullet.popToken()),n=e.gullet.popToken(),o=e.gullet.popToken();return J7(e,i,o,r==="\\\\globalfuture"),e.gullet.pushToken(o),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var Nu=function(e,r,i){var n=Dt.math[e]&&Dt.math[e].replace,o=m2(n||e,r,i);if(!o)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return o},x2=function(e,r,i,n){var o=i.havingBaseStyle(r),a=re.makeSpan(n.concat(o.sizingClasses(i)),[e],i),s=o.sizeMultiplier/i.sizeMultiplier;return a.height*=s,a.depth*=s,a.maxFontSize=o.sizeMultiplier,a},eT=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=Qe(o),e.height-=o,e.depth+=o},zB=function(e,r,i,n,o,a){var s=re.makeSymbol(e,"Main-Regular",o,n),l=x2(s,r,n,a);return i&&eT(l,n,r),l},DB=function(e,r,i,n){return re.makeSymbol(e,"Size"+r+"-Regular",i,n)},tT=function(e,r,i,n,o,a){var s=DB(e,r,o,n),l=x2(re.makeSpan(["delimsizing","size"+r],[s],n),Fe.TEXT,n,a);return i&&eT(l,n,Fe.TEXT),l},Fb=function(e,r,i){var n;r==="Size1-Regular"?n="delim-size1":n="delim-size4";var o=re.makeSpan(["delimsizinginner",n],[re.makeSpan([],[re.makeSymbol(e,r,i)])]);return{type:"elem",elem:o}},Zb=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",Fq(e,Math.round(1e3*r))),a=new vn([o],{width:Qe(n),height:Qe(r),style:"width:"+Qe(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),s=re.makeSvgSpan([],[a],i);return s.height=r,s.style.height=Qe(r),s.style.width=Qe(n),{type:"elem",elem:s}},u2=.008,T0={type:"kern",size:-1*u2},NB=["|","\\lvert","\\rvert","\\vert"],UB=["\\|","\\lVert","\\rVert","\\Vert"],rT=function(e,r,i,n,o,a){var s,l,c,u,f="",d=0;s=c=u=e,l=null;var p="Size1-Regular";e==="\\uparrow"?c=u="\u23D0":e==="\\Uparrow"?c=u="\u2016":e==="\\downarrow"?s=c="\u23D0":e==="\\Downarrow"?s=c="\u2016":e==="\\updownarrow"?(s="\\uparrow",c="\u23D0",u="\\downarrow"):e==="\\Updownarrow"?(s="\\Uparrow",c="\u2016",u="\\Downarrow"):Ke.contains(NB,e)?(c="\u2223",f="vert",d=333):Ke.contains(UB,e)?(c="\u2225",f="doublevert",d=556):e==="["||e==="\\lbrack"?(s="\u23A1",c="\u23A2",u="\u23A3",p="Size4-Regular",f="lbrack",d=667):e==="]"||e==="\\rbrack"?(s="\u23A4",c="\u23A5",u="\u23A6",p="Size4-Regular",f="rbrack",d=667):e==="\\lfloor"||e==="\u230A"?(c=s="\u23A2",u="\u23A3",p="Size4-Regular",f="lfloor",d=667):e==="\\lceil"||e==="\u2308"?(s="\u23A1",c=u="\u23A2",p="Size4-Regular",f="lceil",d=667):e==="\\rfloor"||e==="\u230B"?(c=s="\u23A5",u="\u23A6",p="Size4-Regular",f="rfloor",d=667):e==="\\rceil"||e==="\u2309"?(s="\u23A4",c=u="\u23A5",p="Size4-Regular",f="rceil",d=667):e==="("||e==="\\lparen"?(s="\u239B",c="\u239C",u="\u239D",p="Size4-Regular",f="lparen",d=875):e===")"||e==="\\rparen"?(s="\u239E",c="\u239F",u="\u23A0",p="Size4-Regular",f="rparen",d=875):e==="\\{"||e==="\\lbrace"?(s="\u23A7",l="\u23A8",u="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(s="\u23AB",l="\u23AC",u="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(s="\u23A7",u="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(s="\u23AB",u="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(s="\u23A7",u="\u23AD",c="\u23AA",p="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(s="\u23AB",u="\u23A9",c="\u23AA",p="Size4-Regular");var O=Nu(s,p,o),x=O.height+O.depth,k=Nu(c,p,o),w=k.height+k.depth,C=Nu(u,p,o),Q=C.height+C.depth,L=0,N=1;if(l!==null){var I=Nu(l,p,o);L=I.height+I.depth,N=2}var H=x+Q+L,j=Math.max(0,Math.ceil((r-H)/(N*w))),Y=H+j*N*w,V=n.fontMetrics().axisHeight;i&&(V*=n.sizeMultiplier);var ne=Y/2-V,ue=[];if(f.length>0){var he=Y-x-Q,ge=Math.round(Y*1e3),ve=Zq(f,Math.round(he*1e3)),_e=new Gn(f,ve),ae=(d/1e3).toFixed(3)+"em",pe=(ge/1e3).toFixed(3)+"em",J=new vn([_e],{width:ae,height:pe,viewBox:"0 0 "+d+" "+ge}),_=re.makeSvgSpan([],[J],n);_.height=ge/1e3,_.style.width=ae,_.style.height=pe,ue.push({type:"elem",elem:_})}else{if(ue.push(Fb(u,p,o)),ue.push(T0),l===null){var K=Y-x-Q+2*u2;ue.push(Zb(c,K,n))}else{var se=(Y-x-Q-L)/2+2*u2;ue.push(Zb(c,se,n)),ue.push(T0),ue.push(Fb(l,p,o)),ue.push(T0),ue.push(Zb(c,se,n))}ue.push(T0),ue.push(Fb(s,p,o))}var q=n.havingBaseStyle(Fe.TEXT),Je=re.makeVList({positionType:"bottom",positionData:ne,children:ue},q);return x2(re.makeSpan(["delimsizing","mult"],[Je],q),Fe.TEXT,n,a)},Yb=80,Hb=.08,Gb=function(e,r,i,n,o){var a=Vq(e,n,i),s=new Gn(e,a),l=new vn([s],{width:"400em",height:Qe(r),viewBox:"0 0 400000 "+i,preserveAspectRatio:"xMinYMin slice"});return re.makeSvgSpan(["hide-tail"],[l],o)},qB=function(e,r){var i=r.havingBaseSizing(),n=aT("\\surd",e*i.sizeMultiplier,oT,i),o=i.sizeMultiplier,a=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),s,l=0,c=0,u=0,f;return n.type==="small"?(u=1e3+1e3*a+Yb,e<1?o=1:e<1.4&&(o=.7),l=(1+a+Hb)/o,c=(1+a)/o,s=Gb("sqrtMain",l,u,a,r),s.style.minWidth="0.853em",f=.833/o):n.type==="large"?(u=(1e3+Yb)*Uu[n.size],c=(Uu[n.size]+a)/o,l=(Uu[n.size]+a+Hb)/o,s=Gb("sqrtSize"+n.size,l,u,a,r),s.style.minWidth="1.02em",f=1/o):(l=e+a+Hb,c=e+a,u=Math.floor(1e3*e+a)+Yb,s=Gb("sqrtTall",l,u,a,r),s.style.minWidth="0.742em",f=1.056),s.height=c,s.style.height=Qe(l),{span:s,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+a)*o}},iT=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],BB=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],nT=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Uu=[0,1.2,1.8,2.4,3],jB=function(e,r,i,n,o){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),Ke.contains(iT,e)||Ke.contains(nT,e))return tT(e,r,!1,i,n,o);if(Ke.contains(BB,e))return rT(e,Uu[r],!1,i,n,o);throw new Pe("Illegal delimiter: '"+e+"'")},WB=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],VB=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"stack"}],oT=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],FB=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.")},aT=function(e,r,i,n){for(var o=Math.min(2,3-n.style.size),a=o;ar)return i[a]}return i[i.length-1]},sT=function(e,r,i,n,o,a){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var s;Ke.contains(nT,e)?s=WB:Ke.contains(iT,e)?s=oT:s=VB;var l=aT(e,r,s,n);return l.type==="small"?zB(e,l.style,i,n,o,a):l.type==="large"?tT(e,l.size,i,n,o,a):rT(e,r,i,n,o,a)},ZB=function(e,r,i,n,o,a){var s=n.fontMetrics().axisHeight*n.sizeMultiplier,l=901,c=5/n.fontMetrics().ptPerEm,u=Math.max(r-s,i+s),f=Math.max(u/500*l,2*u-c);return sT(e,f,!0,n,o,a)},$o={sqrtImage:qB,sizedDelim:jB,sizeToMaxHeight:Uu,customSizedDelim:sT,leftRightDelim:ZB},h7={"\\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}},YB=["(","\\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=D0(t);if(r&&Ke.contains(YB,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:h7[t.funcName].size,mclass:h7[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?re.makeSpan([t.mclass]):$o.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Ji(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=Qe($o.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",i),r.setAttribute("maxsize",i),r}});function d7(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)=>{d7(t);for(var r=yr(t.body,e,!0,["mopen","mclose"]),i=0,n=0,o=!1,a=0;a{d7(t);var r=Si(t.body,e);if(t.left!=="."){var i=new ke.MathNode("mo",[Ji(t.left,t.mode)]);i.setAttribute("fence","true"),r.unshift(i)}if(t.right!=="."){var n=new ke.MathNode("mo",[Ji(t.right,t.mode)]);n.setAttribute("fence","true"),t.rightColor&&n.setAttribute("mathcolor",t.rightColor),r.push(n)}return g2(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=Vu(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==="|"?Ji("|","text"):Ji(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 w2=(t,e)=>{var r=re.wrapFragment(wt(t.body,e),e),i=t.label.slice(1),n=e.sizeMultiplier,o,a=0,s=Ke.isCharacterBox(t.body);if(i==="sout")o=re.makeSpan(["stretchy","sout"]),o.height=e.fontMetrics().defaultRuleThickness/n,a=-.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=Qe(f/2+l);var d=Math.floor(1e3*f*n),p=jq(d),O=new vn([new Gn("phase",p)],{width:"400em",height:Qe(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});o=re.makeSvgSpan(["hide-tail"],[O],e),o.style.height=Qe(f),a=r.depth+l+c}else{/cancel/.test(i)?s||r.classes.push("cancel-pad"):i==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var x=0,k=0,w=0;/box/.test(i)?(w=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),x=e.fontMetrics().fboxsep+(i==="colorbox"?0:w),k=x):i==="angl"?(w=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),x=4*w,k=Math.max(0,.25-r.depth)):(x=s?.2:0,k=x),o=Ro.encloseSpan(r,i,x,k,e),/fbox|boxed|fcolorbox/.test(i)?(o.style.borderStyle="solid",o.style.borderWidth=Qe(w)):i==="angl"&&w!==.049&&(o.style.borderTopWidth=Qe(w),o.style.borderRightWidth=Qe(w)),a=r.depth+k,t.backgroundColor&&(o.style.backgroundColor=t.backgroundColor,t.borderColor&&(o.style.borderColor=t.borderColor))}var C;if(t.backgroundColor)C=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:a},{type:"elem",elem:r,shift:0}]},e);else{var Q=/cancel|phase/.test(i)?["svg-align"]:[];C=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:o,shift:a,wrapperClasses:Q}]},e)}return/cancel/.test(i)&&(C.height=r.height,C.depth=r.depth),/cancel/.test(i)&&!s?re.makeSpan(["mord","cancel-lap"],[C],e):re.makeSpan(["mord"],[C],e)},k2=(t,e)=>{var r=0,i=new ke.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Mt(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,a=e[1];return{type:"enclose",mode:i.mode,label:n,backgroundColor:o,body:a}},htmlBuilder:w2,mathmlBuilder:k2});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,a=lt(e[1],"color-token").color,s=e[2];return{type:"enclose",mode:i.mode,label:n,backgroundColor:a,borderColor:o,body:s}},htmlBuilder:w2,mathmlBuilder:k2});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:w2,mathmlBuilder:k2});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 lT={};function Kn(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder:a}=t,s={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 S2(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function Ma(t,e,r){var{hskipBeforeAndAfter:i,addJot:n,cols:o,arraystretch:a,colSeparationType:s,autoTag:l,singleRow:c,emptySingleRow:u,maxNumCols:f,leqno:d}=e;if(t.gullet.beginGroup(),c||t.gullet.macros.set("\\cr","\\\\\\relax"),!a){var p=t.gullet.expandMacroAsText("\\arraystretch");if(p==null)a=1;else if(a=parseFloat(p),!a||a<0)throw new Pe("Invalid \\arraystretch: "+p)}t.gullet.beginGroup();var O=[],x=[O],k=[],w=[],C=l!=null?[]:void 0;function Q(){l&&t.gullet.macros.set("\\@eqnsw","1",!0)}function L(){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(Q(),w.push(p7(t));;){var N=t.parseExpression(!1,c?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),N={type:"ordgroup",mode:t.mode,body:N},r&&(N={type:"styling",mode:t.mode,style:r,body:[N]}),O.push(N);var I=t.fetch().text;if(I==="&"){if(f&&O.length===f){if(c||s)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(I==="\\end"){L(),O.length===1&&N.type==="styling"&&N.body[0].body.length===0&&(x.length>1||!u)&&x.pop(),w.length0&&(Q+=.25),c.push({pos:Q,isDashed:bo[Mn]})}for(L(a[0]),i=0;i0&&(ne+=C,Hbo))for(i=0;i=s)){var Ce=void 0;(n>0||e.hskipBeforeAndAfter)&&(Ce=Ke.deflt(se.pregap,d),Ce!==0&&(ve=re.makeSpan(["arraycolsep"],[]),ve.style.width=Qe(Ce),ge.push(ve)));var Ze=[];for(i=0;i0){for(var Ar=re.makeLineSpan("hline",r,u),Ln=re.makeLineSpan("hdashline",r,u),pn=[{type:"elem",elem:l,shift:0}];c.length>0;){var Zt=c.pop(),ys=Zt.pos-ue;Zt.isDashed?pn.push({type:"elem",elem:Ln,shift:ys}):pn.push({type:"elem",elem:Ar,shift:ys})}l=re.makeVList({positionType:"individualShift",children:pn},r)}if(ae.length===0)return re.makeSpan(["mord"],[l],r);var Qr=re.makeVList({positionType:"individualShift",children:ae},r);return Qr=re.makeSpan(["tag"],[Qr],r),re.makeFragment([l,Qr])},HB={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"]),a=0;a0){var O=e.cols,x="",k=!1,w=0,C=O.length;O[0].type==="separator"&&(d+="top ",w=1),O[O.length-1].type==="separator"&&(d+="bottom ",C-=1);for(var Q=w;Q0?"left ":"",d+=j[j.length-1].length>0?"right ":"";for(var Y=1;Y-1?"alignat":"align",o=e.envName==="split",a=Ma(e.parser,{cols:i,addJot:!0,autoTag:o?void 0:S2(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),s,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var u="",f=0;f0&&p&&(k=1),i[O]={type:"align",align:x,pregap:k,postgap:0}}return a.colSeparationType=p?"align":"alignat",a};Kn({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=D0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(a){var s=y2(a),l=s.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,a)}),o={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Ma(t.parser,o,T2(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=Ma(t.parser,i,T2(t.envName)),a=Math.max(0,...o.body.map(s=>s.length));return o.cols=new Array(a).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=Ma(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=D0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(a){var s=y2(a),l=s.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Pe("Unknown column alignment: "+l,a)});if(n.length>1)throw new Pe("{subarray} can contain only one column");var o={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Ma(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=Ma(t.parser,e,T2(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:uT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){Ke.contains(["gather","gather*"],t.envName)&&q0(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:S2(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return Ma(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:uT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){q0(t);var e={autoTag:S2(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return Ma(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["CD"],props:{numArgs:0},handler(t){return q0(t),LB(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 m7=lT;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="",a=0;a{var r=t.font,i=e.withFont(r);return wt(t.body,i)},hT=(t,e)=>{var r=t.font,i=e.withFont(r);return Mt(t.body,i)},O7={"\\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=R0(e[0]),o=i;return o in O7&&(o=O7[o]),{type:"font",mode:r.mode,font:o.slice(1),body:n}},htmlBuilder:fT,mathmlBuilder:hT});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:N0(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,a=r.parseExpression(!0,n),s="math"+i.slice(1);return{type:"font",mode:o,font:s,body:{type:"ordgroup",mode:r.mode,body:a}}},htmlBuilder:fT,mathmlBuilder:hT});var dT=(t,e)=>{var r=e;return t==="display"?r=r.id>=Fe.SCRIPT.id?r.text():Fe.DISPLAY:t==="text"&&r.size===Fe.DISPLAY.size?r=Fe.TEXT:t==="script"?r=Fe.SCRIPT:t==="scriptscript"&&(r=Fe.SCRIPTSCRIPT),r},E2=(t,e)=>{var r=dT(t.size,e.style),i=r.fracNum(),n=r.fracDen(),o;o=e.havingStyle(i);var a=wt(t.numer,o,e);if(t.continued){var s=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;a.height=a.height0?O=3*d:O=7*d,x=e.fontMetrics().denom1):(f>0?(p=e.fontMetrics().num2,O=d):(p=e.fontMetrics().num3,O=3*d),x=e.fontMetrics().denom2);var k;if(u){var C=e.fontMetrics().axisHeight;p-a.depth-(C+.5*f){var r=new ke.MathNode("mfrac",[Mt(t.numer,e),Mt(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var i=Gt(t.barSize,e);r.setAttribute("linethickness",Qe(i))}var n=dT(t.size,e.style);if(n.size!==e.style.size){r=new ke.MathNode("mstyle",[r]);var o=n.size===Fe.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",o),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var a=[];if(t.leftDelim!=null){var s=new ke.MathNode("mo",[new ke.TextNode(t.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(r),t.rightDelim!=null){var l=new ke.MathNode("mo",[new ke.TextNode(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return g2(a)}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],a,s=null,l=null,c="auto";switch(i){case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,s="(",l=")";break;case"\\\\bracefrac":a=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":a=!1,s="[",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:a,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:E2,mathmlBuilder:C2});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 g7=["display","text","script","scriptscript"],b7=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=R0(e[0]),a=o.type==="atom"&&o.family==="open"?b7(o.text):null,s=R0(e[1]),l=s.type==="atom"&&s.family==="close"?b7(s.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=g7[Number(O.text)]}}else p=lt(p,"textord"),d=g7[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:i,denom:n,continued:!1,hasBarLine:u,barSize:f,leftDelim:a,rightDelim:l,size:d}},htmlBuilder:E2,mathmlBuilder:C2});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=_q(lt(e[1],"infix").size),a=e[2],s=o.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:s,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:E2,mathmlBuilder:C2});var pT=(t,e)=>{var r=e.style,i,n;t.type==="supsub"?(i=t.sup?wt(t.sup,e.havingStyle(r.sup()),e):wt(t.sub,e.havingStyle(r.sub()),e),n=lt(t.base,"horizBrace")):n=lt(t,"horizBrace");var o=wt(n.base,e.havingBaseStyle(Fe.DISPLAY)),a=Ro.svgSpan(n,e),s;if(n.isOver?(s=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]},e),s.children[0].children[0].children[1].classes.push("svg-align")):(s=re.makeVList({positionType:"bottom",positionData:o.depth+.1+a.height,children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]},e),s.children[0].children[0].children[0].classes.push("svg-align")),i){var l=re.makeSpan(["mord",n.isOver?"mover":"munder"],[s],e);n.isOver?s=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:i}]},e):s=re.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 re.makeSpan(["mord",n.isOver?"mover":"munder"],[s],e)},GB=(t,e)=>{var r=Ro.mathMLnode(t.label);return new ke.MathNode(t.isOver?"mover":"munder",[Mt(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:pT,mathmlBuilder:GB});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:sr(i)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=yr(t.body,e,!1);return re.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=La(t.body,e);return r instanceof wi||(r=new wi("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,a=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(i){case"\\htmlClass":l.class=o,s={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,s={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,s={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=re.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)=>La(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:sr(e[0]),mathml:sr(e[1])}},htmlBuilder:(t,e)=>{var r=yr(t.html,e,!1);return re.makeFragment(r)},mathmlBuilder:(t,e)=>La(t.mathml,e)});var Kb=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(!X7(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"},a={number:0,unit:"em"},s="";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:Qe(r+i)};n>0&&(o.width=Qe(n)),i>0&&(o.verticalAlign=Qe(-i));var a=new n2(t.src,t.alt,o);return a.height=r,a.depth=i,a},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",Qe(-n))),r.setAttribute("height",Qe(i+n)),t.width.number>0){var o=Gt(t.width,e);r.setAttribute("width",Qe(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",a=n.value.unit==="mu";o?(a||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")):a&&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 re.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=re.makeSpan([],[wt(t.body,e)]),r=re.makeSpan(["inner"],[r],e)):r=re.makeSpan(["inner"],[wt(t.body,e)]);var i=re.makeSpan(["fix"],[]),n=re.makeSpan([t.alignment],[r,i],e),o=re.makeSpan(["strut"]);return o.style.height=Qe(n.height+n.depth),n.depth&&(o.style.verticalAlign=Qe(-n.depth)),n.children.unshift(o),n=re.makeSpan(["thinbox"],[n],e),re.makeSpan(["mord","vbox"],[n],e)},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mpadded",[Mt(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==="\\("?"\\)":"$",a=i.parseExpression(!1,o);return i.expect(o),i.switchMode(n),{type:"styling",mode:i.mode,style:"text",body:a}}});Ie({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new Pe("Mismatched "+t.funcName)}});var y7=(t,e)=>{switch(e.style.size){case Fe.DISPLAY.size:return t.display;case Fe.TEXT.size:return t.text;case Fe.SCRIPT.size:return t.script;case Fe.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:sr(e[0]),text:sr(e[1]),script:sr(e[2]),scriptscript:sr(e[3])}},htmlBuilder:(t,e)=>{var r=y7(t,e),i=yr(r,e,!1);return re.makeFragment(i)},mathmlBuilder:(t,e)=>{var r=y7(t,e);return La(r,e)}});var mT=(t,e,r,i,n,o,a)=>{t=re.makeSpan([],[t]);var s=r&&Ke.isCharacterBox(r),l,c;if(e){var u=wt(e,i.havingStyle(n.sup()),i);c={elem:u,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-u.depth)}}if(r){var f=wt(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+a;d=re.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Qe(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Qe(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else if(l){var O=t.height-a;d=re.makeVList({positionType:"top",positionData:O,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Qe(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t}]},i)}else if(c){var x=t.depth+a;d=re.makeVList({positionType:"bottom",positionData:x,children:[{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Qe(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else return t;var k=[d];if(l&&o!==0&&!s){var w=re.makeSpan(["mspace"],[],i);w.style.marginRight=Qe(o),k.unshift(w)}return re.makeSpan(["mop","op-limits"],k,i)},OT=["\\smallint"],tc=(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 a=e.style,s=!1;a.size===Fe.DISPLAY.size&&o.symbol&&!Ke.contains(OT,o.name)&&(s=!0);var l;if(o.symbol){var c=s?"Size2-Regular":"Size1-Regular",u="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(u=o.name.slice(1),o.name=u==="oiint"?"\\iint":"\\iiint"),l=re.makeSymbol(o.name,c,"math",e,["mop","op-symbol",s?"large-op":"small-op"]),u.length>0){var f=l.italic,d=re.staticSvg(u+"Size"+(s?"2":"1"),e);l=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.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 ki?(l=p[0],l.classes[0]="mop"):l=re.makeSpan(["mop"],p,e)}else{for(var O=[],x=1;x{var r;if(t.symbol)r=new wi("mo",[Ji(t.name,t.mode)]),Ke.contains(OT,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new wi("mo",Si(t.body,e));else{r=new wi("mi",[new $s(t.name.slice(1))]);var i=new wi("mo",[Ji("\u2061","text")]);t.parentIsSupSub?r=new wi("mrow",[r,i]):r=j7([r,i])}return r},KB={"\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=KB[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:tc,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:sr(i)}},htmlBuilder:tc,mathmlBuilder:Fu});var JB={"\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:tc,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:tc,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=JB[i]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:tc,mathmlBuilder:Fu});var gT=(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 a;if(o.body.length>0){for(var s=o.body.map(f=>{var d=f.text;return typeof d=="string"?{type:"textord",mode:f.mode,text:d}:f}),l=yr(s,e.withFont("mathrm"),!0),c=0;c{for(var r=Si(t.body,e.withFont("mathrm")),i=!0,n=0;nu.toText()).join("");r=[new ke.TextNode(s)]}var l=new ke.MathNode("mi",r);l.setAttribute("mathvariant","normal");var c=new ke.MathNode("mo",[Ji("\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:sr(n),alwaysHandleSupSub:i==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:gT,mathmlBuilder:ej});X("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Is({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?re.makeFragment(yr(t.body,e,!1)):re.makeSpan(["mord"],yr(t.body,e,!0),e)},mathmlBuilder(t,e){return La(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=wt(t.body,e.havingCrampedStyle()),i=re.makeLineSpan("overline-line",e),n=e.fontMetrics().defaultRuleThickness,o=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:i},{type:"kern",size:n}]},e);return re.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",[Mt(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:sr(i)}},htmlBuilder:(t,e)=>{var r=yr(t.body,e.withPhantom(),!1);return re.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=Si(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=re.makeSpan([],[wt(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var i=0;i{var r=Si(sr(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=re.makeSpan(["inner"],[wt(t.body,e.withPhantom())]),i=re.makeSpan(["fix"],[]);return re.makeSpan(["mord","rlap"],[r,i],e)},mathmlBuilder:(t,e)=>{var r=Si(sr(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=wt(t.body,e),i=Gt(t.dy,e);return re.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new ke.MathNode("mpadded",[Mt(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"),a=lt(e[1],"size");return{type:"rule",mode:i.mode,shift:n&<(n,"size").value,width:o.value,height:a.value}},htmlBuilder(t,e){var r=re.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=Qe(i),r.style.borderTopWidth=Qe(n),r.style.bottom=Qe(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",a=new ke.MathNode("mspace");a.setAttribute("mathbackground",o),a.setAttribute("width",Qe(r)),a.setAttribute("height",Qe(i));var s=new ke.MathNode("mpadded",[a]);return n>=0?s.setAttribute("height",Qe(n)):(s.setAttribute("height",Qe(n)),s.setAttribute("depth",Qe(-n))),s.setAttribute("voffset",Qe(n)),s}});function bT(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 bT(t.body,r,e)};Ie({type:"sizing",names:v7,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:v7.indexOf(i)+1,body:o}},htmlBuilder:tj,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),i=Si(t.body,r),n=new ke.MathNode("mstyle",i);return n.setAttribute("mathsize",Qe(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,a=r[0]&<(r[0],"ordgroup");if(a)for(var s="",l=0;l{var r=re.makeSpan([],[wt(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",[Mt(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=wt(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=re.wrapFragment(r,e);var i=e.fontMetrics(),n=i.defaultRuleThickness,o=n;e.style.idr.height+r.depth+a&&(a=(a+f-r.height-r.depth)/2);var d=l.height-r.height-a-c;r.style.paddingLeft=Qe(u);var p=re.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(Fe.SCRIPTSCRIPT),x=wt(t.index,O,e),k=.6*(p.height-p.depth),w=re.makeVList({positionType:"shift",positionData:-k,children:[{type:"elem",elem:x}]},e),C=re.makeSpan(["root"],[w]);return re.makeSpan(["mord","sqrt"],[C,p],e)}else return re.makeSpan(["mord","sqrt"],[p],e)},mathmlBuilder(t,e){var{body:r,index:i}=t;return i?new ke.MathNode("mroot",[Mt(r,e),Mt(i,e)]):new ke.MathNode("msqrt",[Mt(r,e)])}});var x7={display:Fe.DISPLAY,text:Fe.TEXT,script:Fe.SCRIPT,scriptscript:Fe.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),a=i.slice(1,i.length-5);return{type:"styling",mode:n.mode,style:a,body:o}},htmlBuilder(t,e){var r=x7[t.style],i=e.havingStyle(r).withFont("");return bT(t.body,i,e)},mathmlBuilder(t,e){var r=x7[t.style],i=e.havingStyle(r),n=Si(t.body,i),o=new ke.MathNode("mstyle",n),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[t.style];return o.setAttribute("scriptlevel",s[0]),o.setAttribute("displaystyle",s[1]),o}});var rj=function(e,r){var i=e.base;if(i)if(i.type==="op"){var n=i.limits&&(r.style.size===Fe.DISPLAY.size||i.alwaysHandleSupSub);return n?tc:null}else if(i.type==="operatorname"){var o=i.alwaysHandleSupSub&&(r.style.size===Fe.DISPLAY.size||i.limits);return o?gT:null}else{if(i.type==="accent")return Ke.isCharacterBox(i.base)?v2:null;if(i.type==="horizBrace"){var a=!e.sub;return a===i.isOver?pT:null}else return null}else return null};Is({type:"supsub",htmlBuilder(t,e){var r=rj(t,e);if(r)return r(t,e);var{base:i,sup:n,sub:o}=t,a=wt(i,e),s,l,c=e.fontMetrics(),u=0,f=0,d=i&&Ke.isCharacterBox(i);if(n){var p=e.havingStyle(e.style.sup());s=wt(n,p,e),d||(u=a.height-p.fontMetrics().supDrop*p.sizeMultiplier/e.sizeMultiplier)}if(o){var O=e.havingStyle(e.style.sub());l=wt(o,O,e),d||(f=a.depth+O.fontMetrics().subDrop*O.sizeMultiplier/e.sizeMultiplier)}var x;e.style===Fe.DISPLAY?x=c.sup1:e.style.cramped?x=c.sup3:x=c.sup2;var k=e.sizeMultiplier,w=Qe(.5/c.ptPerEm/k),C=null;if(l){var Q=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(a instanceof ki||Q)&&(C=Qe(-a.italic))}var L;if(s&&l){u=Math.max(u,x,s.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var N=c.defaultRuleThickness,I=4*N;if(u-s.depth-(l.height-f)0&&(u+=H,f-=H)}var j=[{type:"elem",elem:l,shift:f,marginRight:w,marginLeft:C},{type:"elem",elem:s,shift:-u,marginRight:w}];L=re.makeVList({positionType:"individualShift",children:j},e)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var Y=[{type:"elem",elem:l,marginLeft:C,marginRight:w}];L=re.makeVList({positionType:"shift",positionData:f,children:Y},e)}else if(s)u=Math.max(u,x,s.depth+.25*c.xHeight),L=re.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:s,marginRight:w}]},e);else throw new Error("supsub must have either sup or sub.");var V=a2(a,"right")||"mord";return re.makeSpan([V],[a,re.makeSpan(["msupsub"],[L])],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=[Mt(t.base,e)];t.sub&&o.push(Mt(t.sub,e)),t.sup&&o.push(Mt(t.sup,e));var a;if(r)a=i?"mover":"munder";else if(t.sub)if(t.sup){var c=t.base;c&&c.type==="op"&&c.limits&&e.style===Fe.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(e.style===Fe.DISPLAY||c.limits)?a="munderover":a="msubsup"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===Fe.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===Fe.DISPLAY)?a="munder":a="msub"}else{var s=t.base;s&&s.type==="op"&&s.limits&&(e.style===Fe.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||e.style===Fe.DISPLAY)?a="mover":a="msup"}return new ke.MathNode(a,o)}});Is({type:"atom",htmlBuilder(t,e){return re.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[Ji(t.text,t.mode)]);if(t.family==="bin"){var i=b2(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 yT={mi:"italic",mn:"normal",mtext:"normal"};Is({type:"mathord",htmlBuilder(t,e){return re.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new ke.MathNode("mi",[Ji(t.text,t.mode,e)]),i=b2(t,e)||"italic";return i!==yT[r.type]&&r.setAttribute("mathvariant",i),r}});Is({type:"textord",htmlBuilder(t,e){return re.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=Ji(t.text,t.mode,e),i=b2(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!==yT[n.type]&&n.setAttribute("mathvariant",i),n}});var Jb={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},e2={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Is({type:"spacing",htmlBuilder(t,e){if(e2.hasOwnProperty(t.text)){var r=e2[t.text].className||"";if(t.mode==="text"){var i=re.makeOrd(t,e,"textord");return i.classes.push(r),i}else return re.makeSpan(["mspace",r],[re.mathsym(t.text,t.mode,e)],e)}else{if(Jb.hasOwnProperty(t.text))return re.makeSpan(["mspace",Jb[t.text]],[],e);throw new Pe('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(e2.hasOwnProperty(t.text))r=new ke.MathNode("mtext",[new ke.TextNode("\xA0")]);else{if(Jb.hasOwnProperty(t.text))return new ke.MathNode("mspace");throw new Pe('Unknown type of space "'+t.text+'"')}return r}});var w7=()=>{var t=new ke.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Is({type:"tag",mathmlBuilder(t,e){var r=new ke.MathNode("mtable",[new ke.MathNode("mtr",[w7(),new ke.MathNode("mtd",[La(t.body,e)]),w7(),new ke.MathNode("mtd",[La(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var k7={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},S7={"\\textbf":"textbf","\\textmd":"textmd"},ij={"\\textit":"textit","\\textup":"textup"},T7=(t,e)=>{var r=t.font;return r?k7[r]?e.withTextFontFamily(k7[r]):S7[r]?e.withTextFontWeight(S7[r]):e.withTextFontShape(ij[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:sr(n),font:i}},htmlBuilder(t,e){var r=T7(t,e),i=yr(t.body,r,!0);return re.makeSpan(["mord","text"],i,r)},mathmlBuilder(t,e){var r=T7(t,e);return La(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=wt(t.body,e),i=re.makeLineSpan("underline-line",e),n=e.fontMetrics().defaultRuleThickness,o=re.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 re.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",[Mt(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=wt(t.body,e),i=e.fontMetrics().axisHeight,n=.5*(r.height-i-(r.depth+i));return re.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new ke.MathNode("mpadded",[Mt(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=E7(t),i=[],n=e.havingStyle(e.style.text()),o=0;ot.body.replace(/ /g,t.star?"\u2423":"\xA0"),Ra=q7,vT=`[ \r - ]`,nj="\\\\[a-zA-Z@]+",oj="\\\\[^\uD800-\uDFFF]",aj="("+nj+")"+vT+"*",sj=`\\\\( +-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.")}},Xs=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]}},O0={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]},t7={\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 Hq(t,e){Yn[t]=e}function m2(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 t7&&(i=t7[t[0]].charCodeAt(0),n=Yn[e][i]),!n&&r==="text"&&$7(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 Gq(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!jb[e]){var r=jb[e]={cssEmPerMu:O0.quad[e]/18};for(var i in O0)O0.hasOwnProperty(i)&&(r[i]=O0[i][e])}return jb[e]}var Kq=[[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]],r7=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],i7=function(e,r){return r.size<2?e:Kq[e-1][r.size-1]},A0=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=r7[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:i7(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:r7[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=i7(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=Gq(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};A0.BASESIZE=6;var i2={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},Jq={ex:!0,em:!0,mu:!0},X7=function(e){return typeof e!="string"&&(e=e.unit),e in i2||e in Jq||e==="ex"},Gt=function(e,r){var i;if(e.unit in i2)i=i2[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)},Qe=function(e){return+e.toFixed(4)+"em"},Ia=function(e){return e.filter(r=>r).join(" ")},R7=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)}},I7=function(e){var r=document.createElement(e);r.className=Ia(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},Rs=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,R7.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 I7.call(this,"span")}toMarkup(){return L7.call(this,"span")}},ju=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,R7.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 I7.call(this,"a")}toMarkup(){return L7.call(this,"a")}},n2=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=Qe(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Ia(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":""}},Wu=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 rB={bin:1,close:1,inner:1,open:1,punct:1,rel:1},iB={"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",xe="text",P="main",U="ams",Bt="accent-token",Me="bin",ci="close",ec="inner",Ve="mathord",fr="op-token",zi="open",M0="punct",B="rel",Io="spacing",G="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,M0,".","\\ldotp");v(S,P,M0,"\u22C5","\\cdotp");v(S,P,G,"#","\\#");v(xe,P,G,"#","\\#");v(S,P,G,"&","\\&");v(xe,P,G,"&","\\&");v(S,P,G,"\u2135","\\aleph",!0);v(S,P,G,"\u2200","\\forall",!0);v(S,P,G,"\u210F","\\hbar",!0);v(S,P,G,"\u2203","\\exists",!0);v(S,P,G,"\u2207","\\nabla",!0);v(S,P,G,"\u266D","\\flat",!0);v(S,P,G,"\u2113","\\ell",!0);v(S,P,G,"\u266E","\\natural",!0);v(S,P,G,"\u2663","\\clubsuit",!0);v(S,P,G,"\u2118","\\wp",!0);v(S,P,G,"\u266F","\\sharp",!0);v(S,P,G,"\u2662","\\diamondsuit",!0);v(S,P,G,"\u211C","\\Re",!0);v(S,P,G,"\u2661","\\heartsuit",!0);v(S,P,G,"\u2111","\\Im",!0);v(S,P,G,"\u2660","\\spadesuit",!0);v(S,P,G,"\xA7","\\S",!0);v(xe,P,G,"\xA7","\\S");v(S,P,G,"\xB6","\\P",!0);v(xe,P,G,"\xB6","\\P");v(S,P,G,"\u2020","\\dag");v(xe,P,G,"\u2020","\\dag");v(xe,P,G,"\u2020","\\textdagger");v(S,P,G,"\u2021","\\ddag");v(xe,P,G,"\u2021","\\ddag");v(xe,P,G,"\u2021","\\textdaggerdbl");v(S,P,ci,"\u23B1","\\rmoustache",!0);v(S,P,zi,"\u23B0","\\lmoustache",!0);v(S,P,ci,"\u27EF","\\rgroup",!0);v(S,P,zi,"\u27EE","\\lgroup",!0);v(S,P,Me,"\u2213","\\mp",!0);v(S,P,Me,"\u2296","\\ominus",!0);v(S,P,Me,"\u228E","\\uplus",!0);v(S,P,Me,"\u2293","\\sqcap",!0);v(S,P,Me,"\u2217","\\ast");v(S,P,Me,"\u2294","\\sqcup",!0);v(S,P,Me,"\u25EF","\\bigcirc",!0);v(S,P,Me,"\u2219","\\bullet",!0);v(S,P,Me,"\u2021","\\ddagger");v(S,P,Me,"\u2240","\\wr",!0);v(S,P,Me,"\u2A3F","\\amalg");v(S,P,Me,"&","\\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,U,B,"\u226E","\\nless",!0);v(S,U,B,"\uE010","\\@nleqslant");v(S,U,B,"\uE011","\\@nleqq");v(S,U,B,"\u2A87","\\lneq",!0);v(S,U,B,"\u2268","\\lneqq",!0);v(S,U,B,"\uE00C","\\@lvertneqq");v(S,U,B,"\u22E6","\\lnsim",!0);v(S,U,B,"\u2A89","\\lnapprox",!0);v(S,U,B,"\u2280","\\nprec",!0);v(S,U,B,"\u22E0","\\npreceq",!0);v(S,U,B,"\u22E8","\\precnsim",!0);v(S,U,B,"\u2AB9","\\precnapprox",!0);v(S,U,B,"\u2241","\\nsim",!0);v(S,U,B,"\uE006","\\@nshortmid");v(S,U,B,"\u2224","\\nmid",!0);v(S,U,B,"\u22AC","\\nvdash",!0);v(S,U,B,"\u22AD","\\nvDash",!0);v(S,U,B,"\u22EA","\\ntriangleleft");v(S,U,B,"\u22EC","\\ntrianglelefteq",!0);v(S,U,B,"\u228A","\\subsetneq",!0);v(S,U,B,"\uE01A","\\@varsubsetneq");v(S,U,B,"\u2ACB","\\subsetneqq",!0);v(S,U,B,"\uE017","\\@varsubsetneqq");v(S,U,B,"\u226F","\\ngtr",!0);v(S,U,B,"\uE00F","\\@ngeqslant");v(S,U,B,"\uE00E","\\@ngeqq");v(S,U,B,"\u2A88","\\gneq",!0);v(S,U,B,"\u2269","\\gneqq",!0);v(S,U,B,"\uE00D","\\@gvertneqq");v(S,U,B,"\u22E7","\\gnsim",!0);v(S,U,B,"\u2A8A","\\gnapprox",!0);v(S,U,B,"\u2281","\\nsucc",!0);v(S,U,B,"\u22E1","\\nsucceq",!0);v(S,U,B,"\u22E9","\\succnsim",!0);v(S,U,B,"\u2ABA","\\succnapprox",!0);v(S,U,B,"\u2246","\\ncong",!0);v(S,U,B,"\uE007","\\@nshortparallel");v(S,U,B,"\u2226","\\nparallel",!0);v(S,U,B,"\u22AF","\\nVDash",!0);v(S,U,B,"\u22EB","\\ntriangleright");v(S,U,B,"\u22ED","\\ntrianglerighteq",!0);v(S,U,B,"\uE018","\\@nsupseteqq");v(S,U,B,"\u228B","\\supsetneq",!0);v(S,U,B,"\uE01B","\\@varsupsetneq");v(S,U,B,"\u2ACC","\\supsetneqq",!0);v(S,U,B,"\uE019","\\@varsupsetneqq");v(S,U,B,"\u22AE","\\nVdash",!0);v(S,U,B,"\u2AB5","\\precneqq",!0);v(S,U,B,"\u2AB6","\\succneqq",!0);v(S,U,B,"\uE016","\\@nsubseteqq");v(S,U,Me,"\u22B4","\\unlhd");v(S,U,Me,"\u22B5","\\unrhd");v(S,U,B,"\u219A","\\nleftarrow",!0);v(S,U,B,"\u219B","\\nrightarrow",!0);v(S,U,B,"\u21CD","\\nLeftarrow",!0);v(S,U,B,"\u21CF","\\nRightarrow",!0);v(S,U,B,"\u21AE","\\nleftrightarrow",!0);v(S,U,B,"\u21CE","\\nLeftrightarrow",!0);v(S,U,B,"\u25B3","\\vartriangle");v(S,U,G,"\u210F","\\hslash");v(S,U,G,"\u25BD","\\triangledown");v(S,U,G,"\u25CA","\\lozenge");v(S,U,G,"\u24C8","\\circledS");v(S,U,G,"\xAE","\\circledR");v(xe,U,G,"\xAE","\\circledR");v(S,U,G,"\u2221","\\measuredangle",!0);v(S,U,G,"\u2204","\\nexists");v(S,U,G,"\u2127","\\mho");v(S,U,G,"\u2132","\\Finv",!0);v(S,U,G,"\u2141","\\Game",!0);v(S,U,G,"\u2035","\\backprime");v(S,U,G,"\u25B2","\\blacktriangle");v(S,U,G,"\u25BC","\\blacktriangledown");v(S,U,G,"\u25A0","\\blacksquare");v(S,U,G,"\u29EB","\\blacklozenge");v(S,U,G,"\u2605","\\bigstar");v(S,U,G,"\u2222","\\sphericalangle",!0);v(S,U,G,"\u2201","\\complement",!0);v(S,U,G,"\xF0","\\eth",!0);v(xe,P,G,"\xF0","\xF0");v(S,U,G,"\u2571","\\diagup");v(S,U,G,"\u2572","\\diagdown");v(S,U,G,"\u25A1","\\square");v(S,U,G,"\u25A1","\\Box");v(S,U,G,"\u25CA","\\Diamond");v(S,U,G,"\xA5","\\yen",!0);v(xe,U,G,"\xA5","\\yen",!0);v(S,U,G,"\u2713","\\checkmark",!0);v(xe,U,G,"\u2713","\\checkmark");v(S,U,G,"\u2136","\\beth",!0);v(S,U,G,"\u2138","\\daleth",!0);v(S,U,G,"\u2137","\\gimel",!0);v(S,U,G,"\u03DD","\\digamma",!0);v(S,U,G,"\u03F0","\\varkappa");v(S,U,zi,"\u250C","\\@ulcorner",!0);v(S,U,ci,"\u2510","\\@urcorner",!0);v(S,U,zi,"\u2514","\\@llcorner",!0);v(S,U,ci,"\u2518","\\@lrcorner",!0);v(S,U,B,"\u2266","\\leqq",!0);v(S,U,B,"\u2A7D","\\leqslant",!0);v(S,U,B,"\u2A95","\\eqslantless",!0);v(S,U,B,"\u2272","\\lesssim",!0);v(S,U,B,"\u2A85","\\lessapprox",!0);v(S,U,B,"\u224A","\\approxeq",!0);v(S,U,Me,"\u22D6","\\lessdot");v(S,U,B,"\u22D8","\\lll",!0);v(S,U,B,"\u2276","\\lessgtr",!0);v(S,U,B,"\u22DA","\\lesseqgtr",!0);v(S,U,B,"\u2A8B","\\lesseqqgtr",!0);v(S,U,B,"\u2251","\\doteqdot");v(S,U,B,"\u2253","\\risingdotseq",!0);v(S,U,B,"\u2252","\\fallingdotseq",!0);v(S,U,B,"\u223D","\\backsim",!0);v(S,U,B,"\u22CD","\\backsimeq",!0);v(S,U,B,"\u2AC5","\\subseteqq",!0);v(S,U,B,"\u22D0","\\Subset",!0);v(S,U,B,"\u228F","\\sqsubset",!0);v(S,U,B,"\u227C","\\preccurlyeq",!0);v(S,U,B,"\u22DE","\\curlyeqprec",!0);v(S,U,B,"\u227E","\\precsim",!0);v(S,U,B,"\u2AB7","\\precapprox",!0);v(S,U,B,"\u22B2","\\vartriangleleft");v(S,U,B,"\u22B4","\\trianglelefteq");v(S,U,B,"\u22A8","\\vDash",!0);v(S,U,B,"\u22AA","\\Vvdash",!0);v(S,U,B,"\u2323","\\smallsmile");v(S,U,B,"\u2322","\\smallfrown");v(S,U,B,"\u224F","\\bumpeq",!0);v(S,U,B,"\u224E","\\Bumpeq",!0);v(S,U,B,"\u2267","\\geqq",!0);v(S,U,B,"\u2A7E","\\geqslant",!0);v(S,U,B,"\u2A96","\\eqslantgtr",!0);v(S,U,B,"\u2273","\\gtrsim",!0);v(S,U,B,"\u2A86","\\gtrapprox",!0);v(S,U,Me,"\u22D7","\\gtrdot");v(S,U,B,"\u22D9","\\ggg",!0);v(S,U,B,"\u2277","\\gtrless",!0);v(S,U,B,"\u22DB","\\gtreqless",!0);v(S,U,B,"\u2A8C","\\gtreqqless",!0);v(S,U,B,"\u2256","\\eqcirc",!0);v(S,U,B,"\u2257","\\circeq",!0);v(S,U,B,"\u225C","\\triangleq",!0);v(S,U,B,"\u223C","\\thicksim");v(S,U,B,"\u2248","\\thickapprox");v(S,U,B,"\u2AC6","\\supseteqq",!0);v(S,U,B,"\u22D1","\\Supset",!0);v(S,U,B,"\u2290","\\sqsupset",!0);v(S,U,B,"\u227D","\\succcurlyeq",!0);v(S,U,B,"\u22DF","\\curlyeqsucc",!0);v(S,U,B,"\u227F","\\succsim",!0);v(S,U,B,"\u2AB8","\\succapprox",!0);v(S,U,B,"\u22B3","\\vartriangleright");v(S,U,B,"\u22B5","\\trianglerighteq");v(S,U,B,"\u22A9","\\Vdash",!0);v(S,U,B,"\u2223","\\shortmid");v(S,U,B,"\u2225","\\shortparallel");v(S,U,B,"\u226C","\\between",!0);v(S,U,B,"\u22D4","\\pitchfork",!0);v(S,U,B,"\u221D","\\varpropto");v(S,U,B,"\u25C0","\\blacktriangleleft");v(S,U,B,"\u2234","\\therefore",!0);v(S,U,B,"\u220D","\\backepsilon");v(S,U,B,"\u25B6","\\blacktriangleright");v(S,U,B,"\u2235","\\because",!0);v(S,U,B,"\u22D8","\\llless");v(S,U,B,"\u22D9","\\gggtr");v(S,U,Me,"\u22B2","\\lhd");v(S,U,Me,"\u22B3","\\rhd");v(S,U,B,"\u2242","\\eqsim",!0);v(S,P,B,"\u22C8","\\Join");v(S,U,B,"\u2251","\\Doteq",!0);v(S,U,Me,"\u2214","\\dotplus",!0);v(S,U,Me,"\u2216","\\smallsetminus");v(S,U,Me,"\u22D2","\\Cap",!0);v(S,U,Me,"\u22D3","\\Cup",!0);v(S,U,Me,"\u2A5E","\\doublebarwedge",!0);v(S,U,Me,"\u229F","\\boxminus",!0);v(S,U,Me,"\u229E","\\boxplus",!0);v(S,U,Me,"\u22C7","\\divideontimes",!0);v(S,U,Me,"\u22C9","\\ltimes",!0);v(S,U,Me,"\u22CA","\\rtimes",!0);v(S,U,Me,"\u22CB","\\leftthreetimes",!0);v(S,U,Me,"\u22CC","\\rightthreetimes",!0);v(S,U,Me,"\u22CF","\\curlywedge",!0);v(S,U,Me,"\u22CE","\\curlyvee",!0);v(S,U,Me,"\u229D","\\circleddash",!0);v(S,U,Me,"\u229B","\\circledast",!0);v(S,U,Me,"\u22C5","\\centerdot");v(S,U,Me,"\u22BA","\\intercal",!0);v(S,U,Me,"\u22D2","\\doublecap");v(S,U,Me,"\u22D3","\\doublecup");v(S,U,Me,"\u22A0","\\boxtimes",!0);v(S,U,B,"\u21E2","\\dashrightarrow",!0);v(S,U,B,"\u21E0","\\dashleftarrow",!0);v(S,U,B,"\u21C7","\\leftleftarrows",!0);v(S,U,B,"\u21C6","\\leftrightarrows",!0);v(S,U,B,"\u21DA","\\Lleftarrow",!0);v(S,U,B,"\u219E","\\twoheadleftarrow",!0);v(S,U,B,"\u21A2","\\leftarrowtail",!0);v(S,U,B,"\u21AB","\\looparrowleft",!0);v(S,U,B,"\u21CB","\\leftrightharpoons",!0);v(S,U,B,"\u21B6","\\curvearrowleft",!0);v(S,U,B,"\u21BA","\\circlearrowleft",!0);v(S,U,B,"\u21B0","\\Lsh",!0);v(S,U,B,"\u21C8","\\upuparrows",!0);v(S,U,B,"\u21BF","\\upharpoonleft",!0);v(S,U,B,"\u21C3","\\downharpoonleft",!0);v(S,P,B,"\u22B6","\\origof",!0);v(S,P,B,"\u22B7","\\imageof",!0);v(S,U,B,"\u22B8","\\multimap",!0);v(S,U,B,"\u21AD","\\leftrightsquigarrow",!0);v(S,U,B,"\u21C9","\\rightrightarrows",!0);v(S,U,B,"\u21C4","\\rightleftarrows",!0);v(S,U,B,"\u21A0","\\twoheadrightarrow",!0);v(S,U,B,"\u21A3","\\rightarrowtail",!0);v(S,U,B,"\u21AC","\\looparrowright",!0);v(S,U,B,"\u21B7","\\curvearrowright",!0);v(S,U,B,"\u21BB","\\circlearrowright",!0);v(S,U,B,"\u21B1","\\Rsh",!0);v(S,U,B,"\u21CA","\\downdownarrows",!0);v(S,U,B,"\u21BE","\\upharpoonright",!0);v(S,U,B,"\u21C2","\\downharpoonright",!0);v(S,U,B,"\u21DD","\\rightsquigarrow",!0);v(S,U,B,"\u21DD","\\leadsto");v(S,U,B,"\u21DB","\\Rrightarrow",!0);v(S,U,B,"\u21BE","\\restriction");v(S,P,G,"\u2018","`");v(S,P,G,"$","\\$");v(xe,P,G,"$","\\$");v(xe,P,G,"$","\\textdollar");v(S,P,G,"%","\\%");v(xe,P,G,"%","\\%");v(S,P,G,"_","\\_");v(xe,P,G,"_","\\_");v(xe,P,G,"_","\\textunderscore");v(S,P,G,"\u2220","\\angle",!0);v(S,P,G,"\u221E","\\infty",!0);v(S,P,G,"\u2032","\\prime");v(S,P,G,"\u25B3","\\triangle");v(S,P,G,"\u0393","\\Gamma",!0);v(S,P,G,"\u0394","\\Delta",!0);v(S,P,G,"\u0398","\\Theta",!0);v(S,P,G,"\u039B","\\Lambda",!0);v(S,P,G,"\u039E","\\Xi",!0);v(S,P,G,"\u03A0","\\Pi",!0);v(S,P,G,"\u03A3","\\Sigma",!0);v(S,P,G,"\u03A5","\\Upsilon",!0);v(S,P,G,"\u03A6","\\Phi",!0);v(S,P,G,"\u03A8","\\Psi",!0);v(S,P,G,"\u03A9","\\Omega",!0);v(S,P,G,"A","\u0391");v(S,P,G,"B","\u0392");v(S,P,G,"E","\u0395");v(S,P,G,"Z","\u0396");v(S,P,G,"H","\u0397");v(S,P,G,"I","\u0399");v(S,P,G,"K","\u039A");v(S,P,G,"M","\u039C");v(S,P,G,"N","\u039D");v(S,P,G,"O","\u039F");v(S,P,G,"P","\u03A1");v(S,P,G,"T","\u03A4");v(S,P,G,"X","\u03A7");v(S,P,G,"\xAC","\\neg",!0);v(S,P,G,"\xAC","\\lnot");v(S,P,G,"\u22A4","\\top");v(S,P,G,"\u22A5","\\bot");v(S,P,G,"\u2205","\\emptyset");v(S,U,G,"\u2205","\\varnothing");v(S,P,Ve,"\u03B1","\\alpha",!0);v(S,P,Ve,"\u03B2","\\beta",!0);v(S,P,Ve,"\u03B3","\\gamma",!0);v(S,P,Ve,"\u03B4","\\delta",!0);v(S,P,Ve,"\u03F5","\\epsilon",!0);v(S,P,Ve,"\u03B6","\\zeta",!0);v(S,P,Ve,"\u03B7","\\eta",!0);v(S,P,Ve,"\u03B8","\\theta",!0);v(S,P,Ve,"\u03B9","\\iota",!0);v(S,P,Ve,"\u03BA","\\kappa",!0);v(S,P,Ve,"\u03BB","\\lambda",!0);v(S,P,Ve,"\u03BC","\\mu",!0);v(S,P,Ve,"\u03BD","\\nu",!0);v(S,P,Ve,"\u03BE","\\xi",!0);v(S,P,Ve,"\u03BF","\\omicron",!0);v(S,P,Ve,"\u03C0","\\pi",!0);v(S,P,Ve,"\u03C1","\\rho",!0);v(S,P,Ve,"\u03C3","\\sigma",!0);v(S,P,Ve,"\u03C4","\\tau",!0);v(S,P,Ve,"\u03C5","\\upsilon",!0);v(S,P,Ve,"\u03D5","\\phi",!0);v(S,P,Ve,"\u03C7","\\chi",!0);v(S,P,Ve,"\u03C8","\\psi",!0);v(S,P,Ve,"\u03C9","\\omega",!0);v(S,P,Ve,"\u03B5","\\varepsilon",!0);v(S,P,Ve,"\u03D1","\\vartheta",!0);v(S,P,Ve,"\u03D6","\\varpi",!0);v(S,P,Ve,"\u03F1","\\varrho",!0);v(S,P,Ve,"\u03C2","\\varsigma",!0);v(S,P,Ve,"\u03C6","\\varphi",!0);v(S,P,Me,"\u2217","*",!0);v(S,P,Me,"+","+");v(S,P,Me,"\u2212","-",!0);v(S,P,Me,"\u22C5","\\cdot",!0);v(S,P,Me,"\u2218","\\circ",!0);v(S,P,Me,"\xF7","\\div",!0);v(S,P,Me,"\xB1","\\pm",!0);v(S,P,Me,"\xD7","\\times",!0);v(S,P,Me,"\u2229","\\cap",!0);v(S,P,Me,"\u222A","\\cup",!0);v(S,P,Me,"\u2216","\\setminus",!0);v(S,P,Me,"\u2227","\\land");v(S,P,Me,"\u2228","\\lor");v(S,P,Me,"\u2227","\\wedge",!0);v(S,P,Me,"\u2228","\\vee",!0);v(S,P,G,"\u221A","\\surd");v(S,P,zi,"\u27E8","\\langle",!0);v(S,P,zi,"\u2223","\\lvert");v(S,P,zi,"\u2225","\\lVert");v(S,P,ci,"?","?");v(S,P,ci,"!","!");v(S,P,ci,"\u27E9","\\rangle",!0);v(S,P,ci,"\u2223","\\rvert");v(S,P,ci,"\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,U,B,"\u2288","\\nsubseteq",!0);v(S,U,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,U,B,"\u2271","\\ngeq",!0);v(S,U,B,"\u2270","\\nleq",!0);v(S,P,Io,"\xA0","\\ ");v(S,P,Io,"\xA0","\\space");v(S,P,Io,"\xA0","\\nobreakspace");v(xe,P,Io,"\xA0","\\ ");v(xe,P,Io,"\xA0"," ");v(xe,P,Io,"\xA0","\\space");v(xe,P,Io,"\xA0","\\nobreakspace");v(S,P,Io,null,"\\nobreak");v(S,P,Io,null,"\\allowbreak");v(S,P,M0,",",",");v(S,P,M0,";",";");v(S,U,Me,"\u22BC","\\barwedge",!0);v(S,U,Me,"\u22BB","\\veebar",!0);v(S,P,Me,"\u2299","\\odot",!0);v(S,P,Me,"\u2295","\\oplus",!0);v(S,P,Me,"\u2297","\\otimes",!0);v(S,P,G,"\u2202","\\partial",!0);v(S,P,Me,"\u2298","\\oslash",!0);v(S,U,Me,"\u229A","\\circledcirc",!0);v(S,U,Me,"\u22A1","\\boxdot",!0);v(S,P,Me,"\u25B3","\\bigtriangleup");v(S,P,Me,"\u25BD","\\bigtriangledown");v(S,P,Me,"\u2020","\\dagger");v(S,P,Me,"\u22C4","\\diamond");v(S,P,Me,"\u22C6","\\star");v(S,P,Me,"\u25C3","\\triangleleft");v(S,P,Me,"\u25B9","\\triangleright");v(S,P,zi,"{","\\{");v(xe,P,G,"{","\\{");v(xe,P,G,"{","\\textbraceleft");v(S,P,ci,"}","\\}");v(xe,P,G,"}","\\}");v(xe,P,G,"}","\\textbraceright");v(S,P,zi,"{","\\lbrace");v(S,P,ci,"}","\\rbrace");v(S,P,zi,"[","\\lbrack",!0);v(xe,P,G,"[","\\lbrack",!0);v(S,P,ci,"]","\\rbrack",!0);v(xe,P,G,"]","\\rbrack",!0);v(S,P,zi,"(","\\lparen",!0);v(S,P,ci,")","\\rparen",!0);v(xe,P,G,"<","\\textless",!0);v(xe,P,G,">","\\textgreater",!0);v(S,P,zi,"\u230A","\\lfloor",!0);v(S,P,ci,"\u230B","\\rfloor",!0);v(S,P,zi,"\u2308","\\lceil",!0);v(S,P,ci,"\u2309","\\rceil",!0);v(S,P,G,"\\","\\backslash");v(S,P,G,"\u2223","|");v(S,P,G,"\u2223","\\vert");v(xe,P,G,"|","\\textbar",!0);v(S,P,G,"\u2225","\\|");v(S,P,G,"\u2225","\\Vert");v(xe,P,G,"\u2225","\\textbardbl");v(xe,P,G,"~","\\textasciitilde");v(xe,P,G,"\\","\\textbackslash");v(xe,P,G,"^","\\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(xe,P,ec,"\u2026","\\textellipsis");v(S,P,ec,"\u2026","\\mathellipsis");v(xe,P,ec,"\u2026","\\ldots",!0);v(S,P,ec,"\u2026","\\ldots",!0);v(S,P,ec,"\u22EF","\\@cdots",!0);v(S,P,ec,"\u22F1","\\ddots",!0);v(S,P,G,"\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,Ve,"\uE131","\\@imath");v(S,P,Ve,"\uE237","\\@jmath");v(S,P,G,"\u0131","\u0131");v(S,P,G,"\u0237","\u0237");v(xe,P,G,"\u0131","\\i",!0);v(xe,P,G,"\u0237","\\j",!0);v(xe,P,G,"\xDF","\\ss",!0);v(xe,P,G,"\xE6","\\ae",!0);v(xe,P,G,"\u0153","\\oe",!0);v(xe,P,G,"\xF8","\\o",!0);v(xe,P,G,"\xC6","\\AE",!0);v(xe,P,G,"\u0152","\\OE",!0);v(xe,P,G,"\xD8","\\O",!0);v(xe,P,Bt,"\u02CA","\\'");v(xe,P,Bt,"\u02CB","\\`");v(xe,P,Bt,"\u02C6","\\^");v(xe,P,Bt,"\u02DC","\\~");v(xe,P,Bt,"\u02C9","\\=");v(xe,P,Bt,"\u02D8","\\u");v(xe,P,Bt,"\u02D9","\\.");v(xe,P,Bt,"\xB8","\\c");v(xe,P,Bt,"\u02DA","\\r");v(xe,P,Bt,"\u02C7","\\v");v(xe,P,Bt,"\xA8",'\\"');v(xe,P,Bt,"\u02DD","\\H");v(xe,P,Bt,"\u25EF","\\textcircled");var M7={"--":!0,"---":!0,"``":!0,"''":!0};v(xe,P,G,"\u2013","--",!0);v(xe,P,G,"\u2013","\\textendash");v(xe,P,G,"\u2014","---",!0);v(xe,P,G,"\u2014","\\textemdash");v(xe,P,G,"\u2018","`",!0);v(xe,P,G,"\u2018","\\textquoteleft");v(xe,P,G,"\u2019","'",!0);v(xe,P,G,"\u2019","\\textquoteright");v(xe,P,G,"\u201C","``",!0);v(xe,P,G,"\u201C","\\textquotedblleft");v(xe,P,G,"\u201D","''",!0);v(xe,P,G,"\u201D","\\textquotedblright");v(S,P,G,"\xB0","\\degree",!0);v(xe,P,G,"\xB0","\\degree");v(xe,P,G,"\xB0","\\textdegree",!0);v(S,P,G,"\xA3","\\pounds");v(S,P,G,"\xA3","\\mathsterling",!0);v(xe,P,G,"\xA3","\\pounds");v(xe,P,G,"\xA3","\\textsterling",!0);v(S,U,G,"\u2720","\\maltese");v(xe,U,G,"\u2720","\\maltese");var o7='0123456789/@."';for(g0=0;g00)return yn(o,c,n,r,a.concat(u));if(l){var f,d;if(l==="boldsymbol"){var p=aB(o,n,r,a,i);f=p.fontName,d=[p.fontClass]}else s?(f=N7[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,a.concat(d));if(M7.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var O=[],x=0;x{if(Ia(t.classes)!==Ia(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},cB=t=>{for(var e=0;er&&(r=a.height),a.depth>i&&(i=a.depth),a.maxFontSize>n&&(n=a.maxFontSize)}e.height=r,e.depth=i,e.maxFontSize=n},xi=function(e,r,i,n){var o=new Rs(e,r,i,n);return O2(o),o},z7=(t,e,r,i)=>new Rs(t,e,r,i),uB=function(e,r,i){var n=xi([e],[],r);return n.height=Math.max(i||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=Qe(n.height),n.maxFontSize=1,n},fB=function(e,r,i,n){var o=new ju(e,r,i,n);return O2(o),o},D7=function(e){var r=new Xs(e);return O2(r),r},hB=function(e,r){return e instanceof Xs?xi([],[e],r):e},dB=function(e){if(e.positionType==="individualShift"){for(var r=e.children,i=[r[0]],n=-r[0].shift-r[0].elem.depth,o=n,a=1;a{var r=xi(["mspace"],[],e),i=Gt(t,e);return r.style.marginRight=Qe(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},N7={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"}},U7={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},OB=function(e,r){var[i,n,o]=U7[e],a=new Gn(i),s=new vn([a],{width:Qe(n),height:Qe(o),style:"width:"+Qe(n),viewBox:"0 0 "+1e3*n+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=z7(["overlay"],[s],r);return l.height=o,l.style.height=Qe(o),l.style.width=Qe(n),l},re={fontMap:N7,makeSymbol:yn,mathsym:oB,makeSpan:xi,makeSvgSpan:z7,makeLineSpan:uB,makeAnchor:fB,makeFragment:D7,wrapFragment:hB,makeVList:pB,makeOrd:sB,makeGlue:mB,staticSvg:OB,svgData:U7,tryCombineChars:cB},Ht={number:3,unit:"mu"},Qs={number:4,unit:"mu"},Ao={number:5,unit:"mu"},gB={mord:{mop:Ht,mbin:Qs,mrel:Ao,minner:Ht},mop:{mord:Ht,mop:Ht,mrel:Ao,minner:Ht},mbin:{mord:Qs,mop:Qs,mopen:Qs,minner:Qs},mrel:{mord:Ao,mop:Ao,mopen:Ao,minner:Ao},mopen:{},mclose:{mop:Ht,mbin:Qs,mrel:Ao,minner:Ht},mpunct:{mord:Ht,mop:Ht,mrel:Ao,mopen:Ht,mclose:Ht,mpunct:Ht,minner:Ht},minner:{mord:Ht,mop:Ht,mbin:Qs,mrel:Ao,mopen:Ht,mpunct:Ht,minner:Ht}},bB={mord:{mop:Ht},mop:{mord:Ht,mop:Ht},mbin:{},mrel:{},mopen:{},mclose:{mop:Ht},mpunct:{},minner:{mop:Ht}},q7={},$0={},X0={};function Ie(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder:a}=t,s={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 k=x.classes[0],w=O.classes[0];k==="mbin"&&Ke.contains(vB,w)?x.classes[0]="mord":w==="mbin"&&Ke.contains(yB,k)&&(O.classes[0]="mord")},{node:f},d,p),l7(o,(O,x)=>{var k=a2(x),w=a2(O),C=k&&w?O.hasClass("mtight")?bB[k][w]:gB[k][w]:null;if(C)return re.makeGlue(C,c)},{node:f},d,p),o},l7=function t(e,r,i,n,o){n&&e.push(n);for(var a=0;ad=>{e.splice(f+1,0,d),a++})(a)}n&&e.pop()},B7=function(e){return e instanceof Xs||e instanceof ju||e instanceof Rs&&e.hasClass("enclosing")?e:null},kB=function t(e,r){var i=B7(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},a2=function(e,r){return e?(r&&(e=kB(e,r)),wB[e.classes[0]]||null):null},Vu=function(e,r){var i=["nulldelimiter"].concat(e.baseSizingClasses());return Xo(r.concat(i))},wt=function(e,r,i){if(!e)return Xo();if($0[e.type]){var n=$0[e.type](e,r);if(i&&r.size!==i.size){n=Xo(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 k0(t,e){var r=Xo(["base"],t,e),i=Xo(["strut"]);return i.style.height=Qe(r.height+r.depth),r.depth&&(i.style.verticalAlign=Qe(-r.depth)),r.children.unshift(i),r}function s2(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=[],a=[],s=0;s0&&(o.push(k0(a,e)),a=[]),o.push(i[s]));a.length>0&&o.push(k0(a,e));var c;r?(c=k0(yr(r,e,!0)),c.classes=["tag"],o.push(c)):n&&o.push(n);var u=Xo(["katex-html"],o);if(u.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Qe(u.height+u.depth),u.depth&&(f.style.verticalAlign=Qe(-u.depth))}return u}function j7(t){return new Xs(t)}var wi=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=Ia(this.classes));for(var i=0;i0&&(e+=' class ="'+Ke.escape(Ia(this.classes))+'"'),e+=">";for(var i=0;i",e}toText(){return this.children.map(e=>e.toText()).join("")}},$s=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}},l2=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",Qe(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},ke={MathNode:wi,TextNode:$s,SpaceNode:l2,newDocumentFragment:j7},Ji=function(e,r,i){return Dt[r][e]&&Dt[r][e].replace&&e.charCodeAt(0)!==55349&&!(M7.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)},g2=function(e){return e.length===1?e[0]:new ke.MathNode("mrow",e)},b2=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 a=re.fontMap[i].fontName;return m2(o,a,n)?re.fontMap[i].variant:null},Si=function(e,r,i){if(e.length===1){var n=Mt(e[0],r);return i&&n instanceof wi&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o=[],a,s=0;s0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),a=l}return o},La=function(e,r,i){return g2(Si(e,r,i))},Mt=function(e,r){if(!e)return new ke.MathNode("mrow");if(X0[e.type]){var i=X0[e.type](e,r);return i}else throw new Pe("Got group of unknown type: '"+e.type+"'")};function c7(t,e,r,i,n){var o=Si(t,r),a;o.length===1&&o[0]instanceof wi&&Ke.contains(["mrow","mtable"],o[0].type)?a=o[0]:a=new ke.MathNode("mrow",o);var s=new ke.MathNode("annotation",[new ke.TextNode(e)]);s.setAttribute("encoding","application/x-tex");var l=new ke.MathNode("semantics",[a,s]),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 re.makeSpan([u],[c])}var W7=function(e){return new A0({style:e.displayMode?Fe.DISPLAY:Fe.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},V7=function(e,r){if(r.displayMode){var i=["katex-display"];r.leqno&&i.push("leqno"),r.fleqn&&i.push("fleqn"),e=re.makeSpan(i,[e])}return e},SB=function(e,r,i){var n=W7(i),o;if(i.output==="mathml")return c7(e,r,n,i.displayMode,!0);if(i.output==="html"){var a=s2(e,n);o=re.makeSpan(["katex"],[a])}else{var s=c7(e,r,n,i.displayMode,!1),l=s2(e,n);o=re.makeSpan(["katex"],[s,l])}return V7(o,i)},TB=function(e,r,i){var n=W7(i),o=s2(e,n),a=re.makeSpan(["katex"],[o]);return V7(a,i)},EB={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":"="},CB=function(e){var r=new ke.MathNode("mo",[new ke.TextNode(EB[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},PB={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]},_B=function(e){return e.type==="ordgroup"?e.body.length:1},AB=function(e,r){function i(){var s=4e5,l=e.label.slice(1);if(Ke.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=e,u=_B(c.base),f,d,p;if(u>5)l==="widehat"||l==="widecheck"?(f=420,s=2364,p=.42,d=l+"4"):(f=312,s=2340,p=.34,d="tilde4");else{var O=[1,1,2,2,3,3][u];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][O],f=[0,239,300,360,420][O],p=[0,.24,.3,.3,.36,.42][O],d=l+O):(s=[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 x=new Gn(d),k=new vn([x],{width:"100%",height:Qe(p),viewBox:"0 0 "+s+" "+f,preserveAspectRatio:"none"});return{span:re.makeSvgSpan([],[k],r),minWidth:0,height:p}}else{var w=[],C=PB[l],[Q,L,N]=C,I=N/1e3,H=Q.length,j,Y;if(H===1){var V=C[3];j=["hide-tail"],Y=[V]}else if(H===2)j=["halfarrow-left","halfarrow-right"],Y=["xMinYMin","xMaxYMin"];else if(H===3)j=["brace-left","brace-center","brace-right"],Y=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+H+" children.");for(var ne=0;ne0&&(n.style.minWidth=Qe(o)),n},QB=function(e,r,i,n,o){var a,s=e.height+e.depth+i+n;if(/fbox|color|angl/.test(r)){if(a=re.makeSpan(["stretchy",r],[],o),r==="fbox"){var l=o.color&&o.getColor();l&&(a.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(r)&&c.push(new Wu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new Wu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new vn(c,{width:"100%",height:Qe(s)});a=re.makeSvgSpan([],[u],o)}return a.height=s,a.style.height=Qe(s),a},Ro={encloseSpan:QB,mathMLnode:CB,svgSpan:AB};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 y2(t){var e=D0(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 D0(t){return t&&(t.type==="atom"||iB.hasOwnProperty(t.type))?t:null}var v2=(t,e)=>{var r,i,n;t&&t.type==="supsub"?(i=lt(t.base,"accent"),r=i.base,t.base=r,n=tB(wt(t,e)),t.base=i):(i=lt(t,"accent"),r=i.base);var o=wt(r,e.havingCrampedStyle()),a=i.isShifty&&Ke.isCharacterBox(r),s=0;if(a){var l=Ke.getBaseElem(r),c=wt(l,e.havingCrampedStyle());s=n7(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=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+Qe(2*s)+")",marginLeft:Qe(2*s)}:void 0}]},e);else{var p,O;i.label==="\\vec"?(p=re.staticSvg("vec",e),O=re.svgData.vec[1]):(p=re.makeOrd({mode:i.mode,text:i.label},e,"textord"),p=n7(p),p.italic=0,O=p.width,u&&(f+=p.depth)),d=re.makeSpan(["accent-body"],[p]);var x=i.label==="\\textcircled";x&&(d.classes.push("accent-full"),f=o.height);var k=s;x||(k-=O/2),d.style.left=Qe(k),i.label==="\\textcircled"&&(d.style.top=".2em"),d=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:d}]},e)}var w=re.makeSpan(["mord","accent"],[d],e);return n?(n.children[0]=w,n.height=Math.max(w.height,n.height),n.classes[0]="mord",n):w},F7=(t,e)=>{var r=t.isStretchy?Ro.mathMLnode(t.label):new ke.MathNode("mo",[Ji(t.label,t.mode)]),i=new ke.MathNode("mover",[Mt(t.base,e),r]);return i.setAttribute("accent","true"),i},$B=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=R0(e[0]),i=!$B.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:v2,mathmlBuilder:F7});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:v2,mathmlBuilder:F7});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=wt(t.base,e),i=Ro.svgSpan(t,e),n=t.label==="\\utilde"?.12:0,o=re.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},e);return re.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:(t,e)=>{var r=Ro.mathMLnode(t.label),i=new ke.MathNode("munder",[Mt(t.base,e),r]);return i.setAttribute("accentunder","true"),i}});var S0=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=re.wrapFragment(wt(t.body,i,e),e),o=t.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(o+"-arrow-pad");var a;t.below&&(i=e.havingStyle(r.sub()),a=re.wrapFragment(wt(t.below,i,e),e),a.classes.push(o+"-arrow-pad"));var s=Ro.svgSpan(t,e),l=-e.fontMetrics().axisHeight+.5*s.height,c=-e.fontMetrics().axisHeight-.5*s.height-.111;(n.depth>.25||t.label==="\\xleftequilibrium")&&(c-=n.depth);var u;if(a){var f=-e.fontMetrics().axisHeight+a.height+.5*s.height+.111;u=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:s,shift:l},{type:"elem",elem:a,shift:f}]},e)}else u=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:s,shift:l}]},e);return u.children[0].children[0].children[1].classes.push("svg-align"),re.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=S0(Mt(t.body,e));if(t.below){var o=S0(Mt(t.below,e));i=new ke.MathNode("munderover",[r,o,n])}else i=new ke.MathNode("mover",[r,n])}else if(t.below){var a=S0(Mt(t.below,e));i=new ke.MathNode("munder",[r,a])}else i=S0(),i=new ke.MathNode("mover",[r,i]);return i}});var XB=re.makeSpan;function Z7(t,e){var r=yr(t.body,e,!0);return XB([t.mclass],r,e)}function Y7(t,e){var r,i=Si(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:sr(n),isCharacterBox:Ke.isCharacterBox(n)}},htmlBuilder:Z7,mathmlBuilder:Y7});var N0=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:N0(e[0]),body:sr(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],a;i!=="\\stackrel"?a=N0(n):a="mrel";var s={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:i!=="\\stackrel",body:sr(n)},l={type:"supsub",mode:o.mode,base:s,sup:i==="\\underset"?null:o,sub:i==="\\underset"?o:null};return{type:"mclass",mode:r.mode,mclass:a,body:[l],isCharacterBox:Ke.isCharacterBox(l)}},htmlBuilder:Z7,mathmlBuilder:Y7});Ie({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:N0(e[0]),body:sr(e[0])}},htmlBuilder(t,e){var r=yr(t.body,e,!0),i=re.makeSpan([t.mclass],r,e);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(t,e){var r=Si(t.body,e),i=new ke.MathNode("mstyle",r);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});var RB={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},u7=()=>({type:"styling",body:[],mode:"math",style:"display"}),f7=t=>t.type==="textord"&&t.text==="@",IB=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function LB(t,e,r){var i=RB[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"},a=r.callFunction("\\Big",[o],[]),s=r.callFunction("\\\\cdright",[e[1]],[]),l={type:"ordgroup",mode:"math",body:[n,a,s]};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 MB(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 @',a[l]);var O=LB(c,u,t),x={type:"styling",body:[O],mode:"math",style:"display"};i.push(x),s=u7()}o%2===0?i.push(s):i.shift(),i=[],n.push(i)}t.gullet.endGroup(),t.gullet.endGroup();var k=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:k,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=re.wrapFragment(wt(t.label,r,e),e);return i.classes.push("cd-label-"+t.side),i.style.bottom=Qe(.8-i.depth),i.height=0,i.depth=0,i},mathmlBuilder(t,e){var r=new ke.MathNode("mrow",[Mt(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=re.wrapFragment(wt(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new ke.MathNode("mrow",[Mt(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="",a=0;a=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 H7=(t,e)=>{var r=yr(t.body,e.withColor(t.color),!1);return re.makeFragment(r)},G7=(t,e)=>{var r=Si(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:sr(n)}},htmlBuilder:H7,mathmlBuilder:G7});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:H7,mathmlBuilder:G7});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=re.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=Qe(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",Qe(Gt(t.size,e)))),r}});var c2={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},K7=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new Pe("Expected a control sequence",t);return e},zB=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},J7=(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(c2[i.text])return(r==="\\global"||r==="\\\\globallong")&&(i.text=c2[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,a,s=[[]];e.gullet.future().text!=="{";)if(i=e.gullet.popToken(),i.text==="#"){if(e.gullet.future().text==="{"){a=e.gullet.future(),s[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++,s.push([])}else{if(i.text==="EOF")throw new Pe("Expected a macro definition");s[o].push(i.text)}var{tokens:l}=e.gullet.consumeArg();return a&&l.unshift(a),(r==="\\edef"||r==="\\xdef")&&(l=e.gullet.expandTokens(l),l.reverse()),e.gullet.macros.set(n,{tokens:l,numArgs:o,delimiters:s},r===c2[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=K7(e.gullet.popToken());e.gullet.consumeSpaces();var n=zB(e);return J7(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=K7(e.gullet.popToken()),n=e.gullet.popToken(),o=e.gullet.popToken();return J7(e,i,o,r==="\\\\globalfuture"),e.gullet.pushToken(o),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var Nu=function(e,r,i){var n=Dt.math[e]&&Dt.math[e].replace,o=m2(n||e,r,i);if(!o)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return o},x2=function(e,r,i,n){var o=i.havingBaseStyle(r),a=re.makeSpan(n.concat(o.sizingClasses(i)),[e],i),s=o.sizeMultiplier/i.sizeMultiplier;return a.height*=s,a.depth*=s,a.maxFontSize=o.sizeMultiplier,a},eT=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=Qe(o),e.height-=o,e.depth+=o},DB=function(e,r,i,n,o,a){var s=re.makeSymbol(e,"Main-Regular",o,n),l=x2(s,r,n,a);return i&&eT(l,n,r),l},NB=function(e,r,i,n){return re.makeSymbol(e,"Size"+r+"-Regular",i,n)},tT=function(e,r,i,n,o,a){var s=NB(e,r,o,n),l=x2(re.makeSpan(["delimsizing","size"+r],[s],n),Fe.TEXT,n,a);return i&&eT(l,n,Fe.TEXT),l},Fb=function(e,r,i){var n;r==="Size1-Regular"?n="delim-size1":n="delim-size4";var o=re.makeSpan(["delimsizinginner",n],[re.makeSpan([],[re.makeSymbol(e,r,i)])]);return{type:"elem",elem:o}},Zb=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",Zq(e,Math.round(1e3*r))),a=new vn([o],{width:Qe(n),height:Qe(r),style:"width:"+Qe(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),s=re.makeSvgSpan([],[a],i);return s.height=r,s.style.height=Qe(r),s.style.width=Qe(n),{type:"elem",elem:s}},u2=.008,T0={type:"kern",size:-1*u2},UB=["|","\\lvert","\\rvert","\\vert"],qB=["\\|","\\lVert","\\rVert","\\Vert"],rT=function(e,r,i,n,o,a){var s,l,c,u,f="",d=0;s=c=u=e,l=null;var p="Size1-Regular";e==="\\uparrow"?c=u="\u23D0":e==="\\Uparrow"?c=u="\u2016":e==="\\downarrow"?s=c="\u23D0":e==="\\Downarrow"?s=c="\u2016":e==="\\updownarrow"?(s="\\uparrow",c="\u23D0",u="\\downarrow"):e==="\\Updownarrow"?(s="\\Uparrow",c="\u2016",u="\\Downarrow"):Ke.contains(UB,e)?(c="\u2223",f="vert",d=333):Ke.contains(qB,e)?(c="\u2225",f="doublevert",d=556):e==="["||e==="\\lbrack"?(s="\u23A1",c="\u23A2",u="\u23A3",p="Size4-Regular",f="lbrack",d=667):e==="]"||e==="\\rbrack"?(s="\u23A4",c="\u23A5",u="\u23A6",p="Size4-Regular",f="rbrack",d=667):e==="\\lfloor"||e==="\u230A"?(c=s="\u23A2",u="\u23A3",p="Size4-Regular",f="lfloor",d=667):e==="\\lceil"||e==="\u2308"?(s="\u23A1",c=u="\u23A2",p="Size4-Regular",f="lceil",d=667):e==="\\rfloor"||e==="\u230B"?(c=s="\u23A5",u="\u23A6",p="Size4-Regular",f="rfloor",d=667):e==="\\rceil"||e==="\u2309"?(s="\u23A4",c=u="\u23A5",p="Size4-Regular",f="rceil",d=667):e==="("||e==="\\lparen"?(s="\u239B",c="\u239C",u="\u239D",p="Size4-Regular",f="lparen",d=875):e===")"||e==="\\rparen"?(s="\u239E",c="\u239F",u="\u23A0",p="Size4-Regular",f="rparen",d=875):e==="\\{"||e==="\\lbrace"?(s="\u23A7",l="\u23A8",u="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(s="\u23AB",l="\u23AC",u="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(s="\u23A7",u="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(s="\u23AB",u="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(s="\u23A7",u="\u23AD",c="\u23AA",p="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(s="\u23AB",u="\u23A9",c="\u23AA",p="Size4-Regular");var O=Nu(s,p,o),x=O.height+O.depth,k=Nu(c,p,o),w=k.height+k.depth,C=Nu(u,p,o),Q=C.height+C.depth,L=0,N=1;if(l!==null){var I=Nu(l,p,o);L=I.height+I.depth,N=2}var H=x+Q+L,j=Math.max(0,Math.ceil((r-H)/(N*w))),Y=H+j*N*w,V=n.fontMetrics().axisHeight;i&&(V*=n.sizeMultiplier);var ne=Y/2-V,ue=[];if(f.length>0){var he=Y-x-Q,ge=Math.round(Y*1e3),ve=Yq(f,Math.round(he*1e3)),_e=new Gn(f,ve),ae=(d/1e3).toFixed(3)+"em",pe=(ge/1e3).toFixed(3)+"em",J=new vn([_e],{width:ae,height:pe,viewBox:"0 0 "+d+" "+ge}),_=re.makeSvgSpan([],[J],n);_.height=ge/1e3,_.style.width=ae,_.style.height=pe,ue.push({type:"elem",elem:_})}else{if(ue.push(Fb(u,p,o)),ue.push(T0),l===null){var K=Y-x-Q+2*u2;ue.push(Zb(c,K,n))}else{var se=(Y-x-Q-L)/2+2*u2;ue.push(Zb(c,se,n)),ue.push(T0),ue.push(Fb(l,p,o)),ue.push(T0),ue.push(Zb(c,se,n))}ue.push(T0),ue.push(Fb(s,p,o))}var q=n.havingBaseStyle(Fe.TEXT),Je=re.makeVList({positionType:"bottom",positionData:ne,children:ue},q);return x2(re.makeSpan(["delimsizing","mult"],[Je],q),Fe.TEXT,n,a)},Yb=80,Hb=.08,Gb=function(e,r,i,n,o){var a=Fq(e,n,i),s=new Gn(e,a),l=new vn([s],{width:"400em",height:Qe(r),viewBox:"0 0 400000 "+i,preserveAspectRatio:"xMinYMin slice"});return re.makeSvgSpan(["hide-tail"],[l],o)},BB=function(e,r){var i=r.havingBaseSizing(),n=aT("\\surd",e*i.sizeMultiplier,oT,i),o=i.sizeMultiplier,a=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),s,l=0,c=0,u=0,f;return n.type==="small"?(u=1e3+1e3*a+Yb,e<1?o=1:e<1.4&&(o=.7),l=(1+a+Hb)/o,c=(1+a)/o,s=Gb("sqrtMain",l,u,a,r),s.style.minWidth="0.853em",f=.833/o):n.type==="large"?(u=(1e3+Yb)*Uu[n.size],c=(Uu[n.size]+a)/o,l=(Uu[n.size]+a+Hb)/o,s=Gb("sqrtSize"+n.size,l,u,a,r),s.style.minWidth="1.02em",f=1/o):(l=e+a+Hb,c=e+a,u=Math.floor(1e3*e+a)+Yb,s=Gb("sqrtTall",l,u,a,r),s.style.minWidth="0.742em",f=1.056),s.height=c,s.style.height=Qe(l),{span:s,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+a)*o}},iT=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],jB=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],nT=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Uu=[0,1.2,1.8,2.4,3],WB=function(e,r,i,n,o){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),Ke.contains(iT,e)||Ke.contains(nT,e))return tT(e,r,!1,i,n,o);if(Ke.contains(jB,e))return rT(e,Uu[r],!1,i,n,o);throw new Pe("Illegal delimiter: '"+e+"'")},VB=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],FB=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"stack"}],oT=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ZB=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.")},aT=function(e,r,i,n){for(var o=Math.min(2,3-n.style.size),a=o;ar)return i[a]}return i[i.length-1]},sT=function(e,r,i,n,o,a){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var s;Ke.contains(nT,e)?s=VB:Ke.contains(iT,e)?s=oT:s=FB;var l=aT(e,r,s,n);return l.type==="small"?DB(e,l.style,i,n,o,a):l.type==="large"?tT(e,l.size,i,n,o,a):rT(e,r,i,n,o,a)},YB=function(e,r,i,n,o,a){var s=n.fontMetrics().axisHeight*n.sizeMultiplier,l=901,c=5/n.fontMetrics().ptPerEm,u=Math.max(r-s,i+s),f=Math.max(u/500*l,2*u-c);return sT(e,f,!0,n,o,a)},$o={sqrtImage:BB,sizedDelim:WB,sizeToMaxHeight:Uu,customSizedDelim:sT,leftRightDelim:YB},h7={"\\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}},HB=["(","\\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=D0(t);if(r&&Ke.contains(HB,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:h7[t.funcName].size,mclass:h7[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?re.makeSpan([t.mclass]):$o.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Ji(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=Qe($o.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",i),r.setAttribute("maxsize",i),r}});function d7(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)=>{d7(t);for(var r=yr(t.body,e,!0,["mopen","mclose"]),i=0,n=0,o=!1,a=0;a{d7(t);var r=Si(t.body,e);if(t.left!=="."){var i=new ke.MathNode("mo",[Ji(t.left,t.mode)]);i.setAttribute("fence","true"),r.unshift(i)}if(t.right!=="."){var n=new ke.MathNode("mo",[Ji(t.right,t.mode)]);n.setAttribute("fence","true"),t.rightColor&&n.setAttribute("mathcolor",t.rightColor),r.push(n)}return g2(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=Vu(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==="|"?Ji("|","text"):Ji(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 w2=(t,e)=>{var r=re.wrapFragment(wt(t.body,e),e),i=t.label.slice(1),n=e.sizeMultiplier,o,a=0,s=Ke.isCharacterBox(t.body);if(i==="sout")o=re.makeSpan(["stretchy","sout"]),o.height=e.fontMetrics().defaultRuleThickness/n,a=-.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=Qe(f/2+l);var d=Math.floor(1e3*f*n),p=Wq(d),O=new vn([new Gn("phase",p)],{width:"400em",height:Qe(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});o=re.makeSvgSpan(["hide-tail"],[O],e),o.style.height=Qe(f),a=r.depth+l+c}else{/cancel/.test(i)?s||r.classes.push("cancel-pad"):i==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var x=0,k=0,w=0;/box/.test(i)?(w=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),x=e.fontMetrics().fboxsep+(i==="colorbox"?0:w),k=x):i==="angl"?(w=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),x=4*w,k=Math.max(0,.25-r.depth)):(x=s?.2:0,k=x),o=Ro.encloseSpan(r,i,x,k,e),/fbox|boxed|fcolorbox/.test(i)?(o.style.borderStyle="solid",o.style.borderWidth=Qe(w)):i==="angl"&&w!==.049&&(o.style.borderTopWidth=Qe(w),o.style.borderRightWidth=Qe(w)),a=r.depth+k,t.backgroundColor&&(o.style.backgroundColor=t.backgroundColor,t.borderColor&&(o.style.borderColor=t.borderColor))}var C;if(t.backgroundColor)C=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:a},{type:"elem",elem:r,shift:0}]},e);else{var Q=/cancel|phase/.test(i)?["svg-align"]:[];C=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:o,shift:a,wrapperClasses:Q}]},e)}return/cancel/.test(i)&&(C.height=r.height,C.depth=r.depth),/cancel/.test(i)&&!s?re.makeSpan(["mord","cancel-lap"],[C],e):re.makeSpan(["mord"],[C],e)},k2=(t,e)=>{var r=0,i=new ke.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Mt(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,a=e[1];return{type:"enclose",mode:i.mode,label:n,backgroundColor:o,body:a}},htmlBuilder:w2,mathmlBuilder:k2});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,a=lt(e[1],"color-token").color,s=e[2];return{type:"enclose",mode:i.mode,label:n,backgroundColor:a,borderColor:o,body:s}},htmlBuilder:w2,mathmlBuilder:k2});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:w2,mathmlBuilder:k2});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 lT={};function Kn(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder:a}=t,s={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 S2(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function Ma(t,e,r){var{hskipBeforeAndAfter:i,addJot:n,cols:o,arraystretch:a,colSeparationType:s,autoTag:l,singleRow:c,emptySingleRow:u,maxNumCols:f,leqno:d}=e;if(t.gullet.beginGroup(),c||t.gullet.macros.set("\\cr","\\\\\\relax"),!a){var p=t.gullet.expandMacroAsText("\\arraystretch");if(p==null)a=1;else if(a=parseFloat(p),!a||a<0)throw new Pe("Invalid \\arraystretch: "+p)}t.gullet.beginGroup();var O=[],x=[O],k=[],w=[],C=l!=null?[]:void 0;function Q(){l&&t.gullet.macros.set("\\@eqnsw","1",!0)}function L(){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(Q(),w.push(p7(t));;){var N=t.parseExpression(!1,c?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),N={type:"ordgroup",mode:t.mode,body:N},r&&(N={type:"styling",mode:t.mode,style:r,body:[N]}),O.push(N);var I=t.fetch().text;if(I==="&"){if(f&&O.length===f){if(c||s)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(I==="\\end"){L(),O.length===1&&N.type==="styling"&&N.body[0].body.length===0&&(x.length>1||!u)&&x.pop(),w.length0&&(Q+=.25),c.push({pos:Q,isDashed:bo[Mn]})}for(L(a[0]),i=0;i0&&(ne+=C,Hbo))for(i=0;i=s)){var Ce=void 0;(n>0||e.hskipBeforeAndAfter)&&(Ce=Ke.deflt(se.pregap,d),Ce!==0&&(ve=re.makeSpan(["arraycolsep"],[]),ve.style.width=Qe(Ce),ge.push(ve)));var Ze=[];for(i=0;i0){for(var Ar=re.makeLineSpan("hline",r,u),Ln=re.makeLineSpan("hdashline",r,u),pn=[{type:"elem",elem:l,shift:0}];c.length>0;){var Zt=c.pop(),ys=Zt.pos-ue;Zt.isDashed?pn.push({type:"elem",elem:Ln,shift:ys}):pn.push({type:"elem",elem:Ar,shift:ys})}l=re.makeVList({positionType:"individualShift",children:pn},r)}if(ae.length===0)return re.makeSpan(["mord"],[l],r);var Qr=re.makeVList({positionType:"individualShift",children:ae},r);return Qr=re.makeSpan(["tag"],[Qr],r),re.makeFragment([l,Qr])},GB={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"]),a=0;a0){var O=e.cols,x="",k=!1,w=0,C=O.length;O[0].type==="separator"&&(d+="top ",w=1),O[O.length-1].type==="separator"&&(d+="bottom ",C-=1);for(var Q=w;Q0?"left ":"",d+=j[j.length-1].length>0?"right ":"";for(var Y=1;Y-1?"alignat":"align",o=e.envName==="split",a=Ma(e.parser,{cols:i,addJot:!0,autoTag:o?void 0:S2(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),s,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var u="",f=0;f0&&p&&(k=1),i[O]={type:"align",align:x,pregap:k,postgap:0}}return a.colSeparationType=p?"align":"alignat",a};Kn({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=D0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(a){var s=y2(a),l=s.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,a)}),o={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Ma(t.parser,o,T2(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=Ma(t.parser,i,T2(t.envName)),a=Math.max(0,...o.body.map(s=>s.length));return o.cols=new Array(a).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=Ma(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=D0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(a){var s=y2(a),l=s.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Pe("Unknown column alignment: "+l,a)});if(n.length>1)throw new Pe("{subarray} can contain only one column");var o={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Ma(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=Ma(t.parser,e,T2(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:uT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){Ke.contains(["gather","gather*"],t.envName)&&q0(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:S2(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return Ma(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:uT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){q0(t);var e={autoTag:S2(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return Ma(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["CD"],props:{numArgs:0},handler(t){return q0(t),MB(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 m7=lT;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="",a=0;a{var r=t.font,i=e.withFont(r);return wt(t.body,i)},hT=(t,e)=>{var r=t.font,i=e.withFont(r);return Mt(t.body,i)},O7={"\\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=R0(e[0]),o=i;return o in O7&&(o=O7[o]),{type:"font",mode:r.mode,font:o.slice(1),body:n}},htmlBuilder:fT,mathmlBuilder:hT});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:N0(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,a=r.parseExpression(!0,n),s="math"+i.slice(1);return{type:"font",mode:o,font:s,body:{type:"ordgroup",mode:r.mode,body:a}}},htmlBuilder:fT,mathmlBuilder:hT});var dT=(t,e)=>{var r=e;return t==="display"?r=r.id>=Fe.SCRIPT.id?r.text():Fe.DISPLAY:t==="text"&&r.size===Fe.DISPLAY.size?r=Fe.TEXT:t==="script"?r=Fe.SCRIPT:t==="scriptscript"&&(r=Fe.SCRIPTSCRIPT),r},E2=(t,e)=>{var r=dT(t.size,e.style),i=r.fracNum(),n=r.fracDen(),o;o=e.havingStyle(i);var a=wt(t.numer,o,e);if(t.continued){var s=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;a.height=a.height0?O=3*d:O=7*d,x=e.fontMetrics().denom1):(f>0?(p=e.fontMetrics().num2,O=d):(p=e.fontMetrics().num3,O=3*d),x=e.fontMetrics().denom2);var k;if(u){var C=e.fontMetrics().axisHeight;p-a.depth-(C+.5*f){var r=new ke.MathNode("mfrac",[Mt(t.numer,e),Mt(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var i=Gt(t.barSize,e);r.setAttribute("linethickness",Qe(i))}var n=dT(t.size,e.style);if(n.size!==e.style.size){r=new ke.MathNode("mstyle",[r]);var o=n.size===Fe.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",o),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var a=[];if(t.leftDelim!=null){var s=new ke.MathNode("mo",[new ke.TextNode(t.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(r),t.rightDelim!=null){var l=new ke.MathNode("mo",[new ke.TextNode(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return g2(a)}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],a,s=null,l=null,c="auto";switch(i){case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,s="(",l=")";break;case"\\\\bracefrac":a=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":a=!1,s="[",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:a,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:E2,mathmlBuilder:C2});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 g7=["display","text","script","scriptscript"],b7=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=R0(e[0]),a=o.type==="atom"&&o.family==="open"?b7(o.text):null,s=R0(e[1]),l=s.type==="atom"&&s.family==="close"?b7(s.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=g7[Number(O.text)]}}else p=lt(p,"textord"),d=g7[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:i,denom:n,continued:!1,hasBarLine:u,barSize:f,leftDelim:a,rightDelim:l,size:d}},htmlBuilder:E2,mathmlBuilder:C2});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=Aq(lt(e[1],"infix").size),a=e[2],s=o.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:s,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:E2,mathmlBuilder:C2});var pT=(t,e)=>{var r=e.style,i,n;t.type==="supsub"?(i=t.sup?wt(t.sup,e.havingStyle(r.sup()),e):wt(t.sub,e.havingStyle(r.sub()),e),n=lt(t.base,"horizBrace")):n=lt(t,"horizBrace");var o=wt(n.base,e.havingBaseStyle(Fe.DISPLAY)),a=Ro.svgSpan(n,e),s;if(n.isOver?(s=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]},e),s.children[0].children[0].children[1].classes.push("svg-align")):(s=re.makeVList({positionType:"bottom",positionData:o.depth+.1+a.height,children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]},e),s.children[0].children[0].children[0].classes.push("svg-align")),i){var l=re.makeSpan(["mord",n.isOver?"mover":"munder"],[s],e);n.isOver?s=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:i}]},e):s=re.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 re.makeSpan(["mord",n.isOver?"mover":"munder"],[s],e)},KB=(t,e)=>{var r=Ro.mathMLnode(t.label);return new ke.MathNode(t.isOver?"mover":"munder",[Mt(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:pT,mathmlBuilder:KB});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:sr(i)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=yr(t.body,e,!1);return re.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=La(t.body,e);return r instanceof wi||(r=new wi("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,a=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(i){case"\\htmlClass":l.class=o,s={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,s={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,s={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=re.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)=>La(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:sr(e[0]),mathml:sr(e[1])}},htmlBuilder:(t,e)=>{var r=yr(t.html,e,!1);return re.makeFragment(r)},mathmlBuilder:(t,e)=>La(t.mathml,e)});var Kb=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(!X7(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"},a={number:0,unit:"em"},s="";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:Qe(r+i)};n>0&&(o.width=Qe(n)),i>0&&(o.verticalAlign=Qe(-i));var a=new n2(t.src,t.alt,o);return a.height=r,a.depth=i,a},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",Qe(-n))),r.setAttribute("height",Qe(i+n)),t.width.number>0){var o=Gt(t.width,e);r.setAttribute("width",Qe(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",a=n.value.unit==="mu";o?(a||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")):a&&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 re.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=re.makeSpan([],[wt(t.body,e)]),r=re.makeSpan(["inner"],[r],e)):r=re.makeSpan(["inner"],[wt(t.body,e)]);var i=re.makeSpan(["fix"],[]),n=re.makeSpan([t.alignment],[r,i],e),o=re.makeSpan(["strut"]);return o.style.height=Qe(n.height+n.depth),n.depth&&(o.style.verticalAlign=Qe(-n.depth)),n.children.unshift(o),n=re.makeSpan(["thinbox"],[n],e),re.makeSpan(["mord","vbox"],[n],e)},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mpadded",[Mt(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==="\\("?"\\)":"$",a=i.parseExpression(!1,o);return i.expect(o),i.switchMode(n),{type:"styling",mode:i.mode,style:"text",body:a}}});Ie({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new Pe("Mismatched "+t.funcName)}});var y7=(t,e)=>{switch(e.style.size){case Fe.DISPLAY.size:return t.display;case Fe.TEXT.size:return t.text;case Fe.SCRIPT.size:return t.script;case Fe.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:sr(e[0]),text:sr(e[1]),script:sr(e[2]),scriptscript:sr(e[3])}},htmlBuilder:(t,e)=>{var r=y7(t,e),i=yr(r,e,!1);return re.makeFragment(i)},mathmlBuilder:(t,e)=>{var r=y7(t,e);return La(r,e)}});var mT=(t,e,r,i,n,o,a)=>{t=re.makeSpan([],[t]);var s=r&&Ke.isCharacterBox(r),l,c;if(e){var u=wt(e,i.havingStyle(n.sup()),i);c={elem:u,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-u.depth)}}if(r){var f=wt(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+a;d=re.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Qe(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Qe(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else if(l){var O=t.height-a;d=re.makeVList({positionType:"top",positionData:O,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Qe(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t}]},i)}else if(c){var x=t.depth+a;d=re.makeVList({positionType:"bottom",positionData:x,children:[{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Qe(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else return t;var k=[d];if(l&&o!==0&&!s){var w=re.makeSpan(["mspace"],[],i);w.style.marginRight=Qe(o),k.unshift(w)}return re.makeSpan(["mop","op-limits"],k,i)},OT=["\\smallint"],tc=(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 a=e.style,s=!1;a.size===Fe.DISPLAY.size&&o.symbol&&!Ke.contains(OT,o.name)&&(s=!0);var l;if(o.symbol){var c=s?"Size2-Regular":"Size1-Regular",u="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(u=o.name.slice(1),o.name=u==="oiint"?"\\iint":"\\iiint"),l=re.makeSymbol(o.name,c,"math",e,["mop","op-symbol",s?"large-op":"small-op"]),u.length>0){var f=l.italic,d=re.staticSvg(u+"Size"+(s?"2":"1"),e);l=re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.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 ki?(l=p[0],l.classes[0]="mop"):l=re.makeSpan(["mop"],p,e)}else{for(var O=[],x=1;x{var r;if(t.symbol)r=new wi("mo",[Ji(t.name,t.mode)]),Ke.contains(OT,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new wi("mo",Si(t.body,e));else{r=new wi("mi",[new $s(t.name.slice(1))]);var i=new wi("mo",[Ji("\u2061","text")]);t.parentIsSupSub?r=new wi("mrow",[r,i]):r=j7([r,i])}return r},JB={"\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=JB[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:tc,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:sr(i)}},htmlBuilder:tc,mathmlBuilder:Fu});var ej={"\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:tc,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:tc,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=ej[i]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:tc,mathmlBuilder:Fu});var gT=(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 a;if(o.body.length>0){for(var s=o.body.map(f=>{var d=f.text;return typeof d=="string"?{type:"textord",mode:f.mode,text:d}:f}),l=yr(s,e.withFont("mathrm"),!0),c=0;c{for(var r=Si(t.body,e.withFont("mathrm")),i=!0,n=0;nu.toText()).join("");r=[new ke.TextNode(s)]}var l=new ke.MathNode("mi",r);l.setAttribute("mathvariant","normal");var c=new ke.MathNode("mo",[Ji("\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:sr(n),alwaysHandleSupSub:i==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:gT,mathmlBuilder:tj});X("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Is({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?re.makeFragment(yr(t.body,e,!1)):re.makeSpan(["mord"],yr(t.body,e,!0),e)},mathmlBuilder(t,e){return La(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=wt(t.body,e.havingCrampedStyle()),i=re.makeLineSpan("overline-line",e),n=e.fontMetrics().defaultRuleThickness,o=re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:i},{type:"kern",size:n}]},e);return re.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",[Mt(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:sr(i)}},htmlBuilder:(t,e)=>{var r=yr(t.body,e.withPhantom(),!1);return re.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=Si(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=re.makeSpan([],[wt(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var i=0;i{var r=Si(sr(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=re.makeSpan(["inner"],[wt(t.body,e.withPhantom())]),i=re.makeSpan(["fix"],[]);return re.makeSpan(["mord","rlap"],[r,i],e)},mathmlBuilder:(t,e)=>{var r=Si(sr(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=wt(t.body,e),i=Gt(t.dy,e);return re.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new ke.MathNode("mpadded",[Mt(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"),a=lt(e[1],"size");return{type:"rule",mode:i.mode,shift:n&<(n,"size").value,width:o.value,height:a.value}},htmlBuilder(t,e){var r=re.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=Qe(i),r.style.borderTopWidth=Qe(n),r.style.bottom=Qe(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",a=new ke.MathNode("mspace");a.setAttribute("mathbackground",o),a.setAttribute("width",Qe(r)),a.setAttribute("height",Qe(i));var s=new ke.MathNode("mpadded",[a]);return n>=0?s.setAttribute("height",Qe(n)):(s.setAttribute("height",Qe(n)),s.setAttribute("depth",Qe(-n))),s.setAttribute("voffset",Qe(n)),s}});function bT(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 bT(t.body,r,e)};Ie({type:"sizing",names:v7,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:v7.indexOf(i)+1,body:o}},htmlBuilder:rj,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),i=Si(t.body,r),n=new ke.MathNode("mstyle",i);return n.setAttribute("mathsize",Qe(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,a=r[0]&<(r[0],"ordgroup");if(a)for(var s="",l=0;l{var r=re.makeSpan([],[wt(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",[Mt(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=wt(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=re.wrapFragment(r,e);var i=e.fontMetrics(),n=i.defaultRuleThickness,o=n;e.style.idr.height+r.depth+a&&(a=(a+f-r.height-r.depth)/2);var d=l.height-r.height-a-c;r.style.paddingLeft=Qe(u);var p=re.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(Fe.SCRIPTSCRIPT),x=wt(t.index,O,e),k=.6*(p.height-p.depth),w=re.makeVList({positionType:"shift",positionData:-k,children:[{type:"elem",elem:x}]},e),C=re.makeSpan(["root"],[w]);return re.makeSpan(["mord","sqrt"],[C,p],e)}else return re.makeSpan(["mord","sqrt"],[p],e)},mathmlBuilder(t,e){var{body:r,index:i}=t;return i?new ke.MathNode("mroot",[Mt(r,e),Mt(i,e)]):new ke.MathNode("msqrt",[Mt(r,e)])}});var x7={display:Fe.DISPLAY,text:Fe.TEXT,script:Fe.SCRIPT,scriptscript:Fe.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),a=i.slice(1,i.length-5);return{type:"styling",mode:n.mode,style:a,body:o}},htmlBuilder(t,e){var r=x7[t.style],i=e.havingStyle(r).withFont("");return bT(t.body,i,e)},mathmlBuilder(t,e){var r=x7[t.style],i=e.havingStyle(r),n=Si(t.body,i),o=new ke.MathNode("mstyle",n),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[t.style];return o.setAttribute("scriptlevel",s[0]),o.setAttribute("displaystyle",s[1]),o}});var ij=function(e,r){var i=e.base;if(i)if(i.type==="op"){var n=i.limits&&(r.style.size===Fe.DISPLAY.size||i.alwaysHandleSupSub);return n?tc:null}else if(i.type==="operatorname"){var o=i.alwaysHandleSupSub&&(r.style.size===Fe.DISPLAY.size||i.limits);return o?gT:null}else{if(i.type==="accent")return Ke.isCharacterBox(i.base)?v2:null;if(i.type==="horizBrace"){var a=!e.sub;return a===i.isOver?pT:null}else return null}else return null};Is({type:"supsub",htmlBuilder(t,e){var r=ij(t,e);if(r)return r(t,e);var{base:i,sup:n,sub:o}=t,a=wt(i,e),s,l,c=e.fontMetrics(),u=0,f=0,d=i&&Ke.isCharacterBox(i);if(n){var p=e.havingStyle(e.style.sup());s=wt(n,p,e),d||(u=a.height-p.fontMetrics().supDrop*p.sizeMultiplier/e.sizeMultiplier)}if(o){var O=e.havingStyle(e.style.sub());l=wt(o,O,e),d||(f=a.depth+O.fontMetrics().subDrop*O.sizeMultiplier/e.sizeMultiplier)}var x;e.style===Fe.DISPLAY?x=c.sup1:e.style.cramped?x=c.sup3:x=c.sup2;var k=e.sizeMultiplier,w=Qe(.5/c.ptPerEm/k),C=null;if(l){var Q=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(a instanceof ki||Q)&&(C=Qe(-a.italic))}var L;if(s&&l){u=Math.max(u,x,s.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var N=c.defaultRuleThickness,I=4*N;if(u-s.depth-(l.height-f)0&&(u+=H,f-=H)}var j=[{type:"elem",elem:l,shift:f,marginRight:w,marginLeft:C},{type:"elem",elem:s,shift:-u,marginRight:w}];L=re.makeVList({positionType:"individualShift",children:j},e)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var Y=[{type:"elem",elem:l,marginLeft:C,marginRight:w}];L=re.makeVList({positionType:"shift",positionData:f,children:Y},e)}else if(s)u=Math.max(u,x,s.depth+.25*c.xHeight),L=re.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:s,marginRight:w}]},e);else throw new Error("supsub must have either sup or sub.");var V=a2(a,"right")||"mord";return re.makeSpan([V],[a,re.makeSpan(["msupsub"],[L])],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=[Mt(t.base,e)];t.sub&&o.push(Mt(t.sub,e)),t.sup&&o.push(Mt(t.sup,e));var a;if(r)a=i?"mover":"munder";else if(t.sub)if(t.sup){var c=t.base;c&&c.type==="op"&&c.limits&&e.style===Fe.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(e.style===Fe.DISPLAY||c.limits)?a="munderover":a="msubsup"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===Fe.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===Fe.DISPLAY)?a="munder":a="msub"}else{var s=t.base;s&&s.type==="op"&&s.limits&&(e.style===Fe.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||e.style===Fe.DISPLAY)?a="mover":a="msup"}return new ke.MathNode(a,o)}});Is({type:"atom",htmlBuilder(t,e){return re.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[Ji(t.text,t.mode)]);if(t.family==="bin"){var i=b2(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 yT={mi:"italic",mn:"normal",mtext:"normal"};Is({type:"mathord",htmlBuilder(t,e){return re.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new ke.MathNode("mi",[Ji(t.text,t.mode,e)]),i=b2(t,e)||"italic";return i!==yT[r.type]&&r.setAttribute("mathvariant",i),r}});Is({type:"textord",htmlBuilder(t,e){return re.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=Ji(t.text,t.mode,e),i=b2(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!==yT[n.type]&&n.setAttribute("mathvariant",i),n}});var Jb={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},e2={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Is({type:"spacing",htmlBuilder(t,e){if(e2.hasOwnProperty(t.text)){var r=e2[t.text].className||"";if(t.mode==="text"){var i=re.makeOrd(t,e,"textord");return i.classes.push(r),i}else return re.makeSpan(["mspace",r],[re.mathsym(t.text,t.mode,e)],e)}else{if(Jb.hasOwnProperty(t.text))return re.makeSpan(["mspace",Jb[t.text]],[],e);throw new Pe('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(e2.hasOwnProperty(t.text))r=new ke.MathNode("mtext",[new ke.TextNode("\xA0")]);else{if(Jb.hasOwnProperty(t.text))return new ke.MathNode("mspace");throw new Pe('Unknown type of space "'+t.text+'"')}return r}});var w7=()=>{var t=new ke.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Is({type:"tag",mathmlBuilder(t,e){var r=new ke.MathNode("mtable",[new ke.MathNode("mtr",[w7(),new ke.MathNode("mtd",[La(t.body,e)]),w7(),new ke.MathNode("mtd",[La(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var k7={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},S7={"\\textbf":"textbf","\\textmd":"textmd"},nj={"\\textit":"textit","\\textup":"textup"},T7=(t,e)=>{var r=t.font;return r?k7[r]?e.withTextFontFamily(k7[r]):S7[r]?e.withTextFontWeight(S7[r]):e.withTextFontShape(nj[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:sr(n),font:i}},htmlBuilder(t,e){var r=T7(t,e),i=yr(t.body,r,!0);return re.makeSpan(["mord","text"],i,r)},mathmlBuilder(t,e){var r=T7(t,e);return La(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=wt(t.body,e),i=re.makeLineSpan("underline-line",e),n=e.fontMetrics().defaultRuleThickness,o=re.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 re.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",[Mt(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=wt(t.body,e),i=e.fontMetrics().axisHeight,n=.5*(r.height-i-(r.depth+i));return re.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new ke.MathNode("mpadded",[Mt(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=E7(t),i=[],n=e.havingStyle(e.style.text()),o=0;ot.body.replace(/ /g,t.star?"\u2423":"\xA0"),Ra=q7,vT=`[ \r + ]`,oj="\\\\[a-zA-Z@]+",aj="\\\\[^\uD800-\uDFFF]",sj="("+oj+")"+vT+"*",lj=`\\\\( |[ \r ]+ -?)[ \r ]*`,f2="[\u0300-\u036F]",lj=new RegExp(f2+"+$"),cj="("+vT+"+)|"+(sj+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(f2+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(f2+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+aj)+("|"+oj+")"),I0=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(cj,"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 Mi(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 Mi(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 Mi(this,r,this.tokenRegex.lastIndex))}},h2=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}},uj=cT;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 C7={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=C7[e.text],i==null||i>=r)throw new Pe("Invalid base-"+r+" digit "+e.text);for(var n;(n=C7[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 a=0;if(i=t.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var s="",l=t.expandNextToken();l.text!=="]"&&l.text!=="EOF";)s+=l.text,l=t.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new Pe("Invalid number of arguments: "+s);a=parseInt(s),i=t.consumeArg().tokens}return t.macros.set(n,{tokens:i,numArgs:a}),""};X("\\newcommand",t=>P2(t,!1,!0));X("\\renewcommand",t=>P2(t,!0,!1));X("\\providecommand",t=>P2(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),Ra[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 P7={",":"\\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 P7?e=P7[r]:(r.slice(0,4)==="\\not"||r in Dt.math&&Ke.contains(["bin","rel"],Dt.math[r].group))&&(e="\\dotsb"),e});var _2={")":!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 _2?"\\ldots\\,":"\\ldots"});X("\\dotsc",function(t){var e=t.future().text;return e in _2&&e!==","?"\\ldots\\,":"\\ldots"});X("\\cdots",function(t){var e=t.future().text;return e in _2?"\\@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 xT=Qe(Yn["Main-Regular"][84][1]-.7*Yn["Main-Regular"][65][1]);X("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+xT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");X("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+xT+"}{\\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 wT=t=>e=>{var r=e.consumeArg().tokens,i=e.consumeArg().tokens,n=e.consumeArg().tokens,o=e.consumeArg().tokens,a=e.macros.get("|"),s=e.macros.get("\\|");e.macros.beginGroup();var l=f=>d=>{t&&(d.macros.set("|",a),n.length&&d.macros.set("\\|",s));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",wT(!1));X("\\bra@set",wT(!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 kT={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},d2=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 h2(uj,r.macros),this.mode=i,this.stack=[]}feed(e){this.lexer=new I0(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,a=0,s=0;do{if(o=this.popToken(),r.push(o),o.text==="{")++a;else if(o.text==="}"){if(--a,a===-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[s]:"}")+"'",o);if(e&&i)if((a===0||a===1&&e[s]==="{")&&o.text===e[s]){if(++s,s===e.length){r.splice(-s,s);break}}else s=0}while(a!==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,a=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){o=o.slice();for(var s=o.length-1;s>=0;--s){var l=o[s];if(l.text==="#"){if(s===0)throw new Pe("Incomplete placeholder at end of macro body",l);if(l=o[--s],l.text==="#")o.splice(s+1,1);else if(/^[1-9]$/.test(l.text))o.splice(s,2,...a[+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 a=n.replace(/##/g,"");a.indexOf("#"+(o+1))!==-1;)++o;for(var s=new I0(n,this.settings),l=[],c=s.lex();c.text!=="EOF";)l.push(c),c=s.lex();l.reverse();var u={tokens:l,numArgs:o};return u}return n}isDefined(e){return this.macros.has(e)||Ra.hasOwnProperty(e)||Dt.math.hasOwnProperty(e)||Dt.text.hasOwnProperty(e)||kT.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Ra.hasOwnProperty(e)&&!Ra[e].primitive}},_7=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,E0=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"}),t2={"\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"}},A7={\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"},L0=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 d2(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&&Ra[n.text]&&Ra[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 s=Dt[this.mode][r].group,l=Mi.range(e),c;if(tB.hasOwnProperty(s)){var u=s;c={type:"atom",mode:this.mode,family:u,loc:l,text:r}}else c={type:s,mode:this.mode,loc:l,text:r};a=c}else if(r.charCodeAt(0)>=128)this.settings.strict&&($7(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)),a={type:"textord",mode:"text",loc:Mi.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}},fj=cT;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 C7={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=C7[e.text],i==null||i>=r)throw new Pe("Invalid base-"+r+" digit "+e.text);for(var n;(n=C7[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 a=0;if(i=t.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var s="",l=t.expandNextToken();l.text!=="]"&&l.text!=="EOF";)s+=l.text,l=t.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new Pe("Invalid number of arguments: "+s);a=parseInt(s),i=t.consumeArg().tokens}return t.macros.set(n,{tokens:i,numArgs:a}),""};X("\\newcommand",t=>P2(t,!1,!0));X("\\renewcommand",t=>P2(t,!0,!1));X("\\providecommand",t=>P2(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),Ra[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 P7={",":"\\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 P7?e=P7[r]:(r.slice(0,4)==="\\not"||r in Dt.math&&Ke.contains(["bin","rel"],Dt.math[r].group))&&(e="\\dotsb"),e});var _2={")":!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 _2?"\\ldots\\,":"\\ldots"});X("\\dotsc",function(t){var e=t.future().text;return e in _2&&e!==","?"\\ldots\\,":"\\ldots"});X("\\cdots",function(t){var e=t.future().text;return e in _2?"\\@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 xT=Qe(Yn["Main-Regular"][84][1]-.7*Yn["Main-Regular"][65][1]);X("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+xT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");X("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+xT+"}{\\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 wT=t=>e=>{var r=e.consumeArg().tokens,i=e.consumeArg().tokens,n=e.consumeArg().tokens,o=e.consumeArg().tokens,a=e.macros.get("|"),s=e.macros.get("\\|");e.macros.beginGroup();var l=f=>d=>{t&&(d.macros.set("|",a),n.length&&d.macros.set("\\|",s));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",wT(!1));X("\\bra@set",wT(!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 kT={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},d2=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 h2(fj,r.macros),this.mode=i,this.stack=[]}feed(e){this.lexer=new I0(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,a=0,s=0;do{if(o=this.popToken(),r.push(o),o.text==="{")++a;else if(o.text==="}"){if(--a,a===-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[s]:"}")+"'",o);if(e&&i)if((a===0||a===1&&e[s]==="{")&&o.text===e[s]){if(++s,s===e.length){r.splice(-s,s);break}}else s=0}while(a!==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,a=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){o=o.slice();for(var s=o.length-1;s>=0;--s){var l=o[s];if(l.text==="#"){if(s===0)throw new Pe("Incomplete placeholder at end of macro body",l);if(l=o[--s],l.text==="#")o.splice(s+1,1);else if(/^[1-9]$/.test(l.text))o.splice(s,2,...a[+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 a=n.replace(/##/g,"");a.indexOf("#"+(o+1))!==-1;)++o;for(var s=new I0(n,this.settings),l=[],c=s.lex();c.text!=="EOF";)l.push(c),c=s.lex();l.reverse();var u={tokens:l,numArgs:o};return u}return n}isDefined(e){return this.macros.has(e)||Ra.hasOwnProperty(e)||Dt.math.hasOwnProperty(e)||Dt.text.hasOwnProperty(e)||kT.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Ra.hasOwnProperty(e)&&!Ra[e].primitive}},_7=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,E0=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"}),t2={"\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"}},A7={\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"},L0=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 d2(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&&Ra[n.text]&&Ra[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 s=Dt[this.mode][r].group,l=Mi.range(e),c;if(rB.hasOwnProperty(s)){var u=s;c={type:"atom",mode:this.mode,family:u,loc:l,text:r}}else c={type:s,mode:this.mode,loc:l,text:r};a=c}else if(r.charCodeAt(0)>=128)this.settings.strict&&($7(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)),a={type:"textord",mode:"text",loc:Mi.range(e),text:r};else return null;if(this.consume(),o)for(var f=0;f-1&&t.test(String.fromCharCode(r))}}function en(t){let e=[],r=-1,i=0,n=0;for(;++r55295&&o<57344){let s=t.charCodeAt(r+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),n=1):a="\uFFFD"}else a=String.fromCharCode(o);a&&(e.push(t.slice(i,r),encodeURIComponent(a)),i=r+n+1,a=""),n&&(r+=n,n=0)}return e.join("")+t.slice(i)}function QT(t,e){let r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=String(e.identifier).toUpperCase(),n=en(i.toLowerCase()),o=t.footnoteOrder.indexOf(i),a,s=t.footnoteCounts.get(i);s===void 0?(s=0,t.footnoteOrder.push(i),a=t.footnoteOrder.length):a=o+1,s+=1,t.footnoteCounts.set(i,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+n,id:r+"fnref-"+n+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};t.patch(e,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,c),t.applyData(e,c)}function $T(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 XT(t,e){if(t.options.allowDangerousHtml){let r={type:"raw",value:e.value};return t.patch(e,r),t.applyData(e,r)}}function j0(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 a=n[n.length-1];return a&&a.type==="text"?a.value+=i:n.push({type:"text",value:i}),n}function RT(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return j0(t,e);let n={src:en(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 IT(t,e){let r={src:en(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 LT(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 MT(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return j0(t,e);let n={href:en(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 zT(t,e){let r={href:en(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 DT(t,e,r){let i=t.all(e),n=r?mj(r):NT(e),o={},a=[];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 s=-1;for(;++s-1&&t.test(String.fromCharCode(r))}}function en(t){let e=[],r=-1,i=0,n=0;for(;++r55295&&o<57344){let s=t.charCodeAt(r+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),n=1):a="\uFFFD"}else a=String.fromCharCode(o);a&&(e.push(t.slice(i,r),encodeURIComponent(a)),i=r+n+1,a=""),n&&(r+=n,n=0)}return e.join("")+t.slice(i)}function QT(t,e){let r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=String(e.identifier).toUpperCase(),n=en(i.toLowerCase()),o=t.footnoteOrder.indexOf(i),a,s=t.footnoteCounts.get(i);s===void 0?(s=0,t.footnoteOrder.push(i),a=t.footnoteOrder.length):a=o+1,s+=1,t.footnoteCounts.set(i,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+n,id:r+"fnref-"+n+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};t.patch(e,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,c),t.applyData(e,c)}function $T(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 XT(t,e){if(t.options.allowDangerousHtml){let r={type:"raw",value:e.value};return t.patch(e,r),t.applyData(e,r)}}function j0(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 a=n[n.length-1];return a&&a.type==="text"?a.value+=i:n.push({type:"text",value:i}),n}function RT(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return j0(t,e);let n={src:en(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 IT(t,e){let r={src:en(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 LT(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 MT(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return j0(t,e);let n={href:en(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 zT(t,e){let r={href:en(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 DT(t,e,r){let i=t.all(e),n=r?Oj(r):NT(e),o={},a=[];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 s=-1;for(;++s1:e}function UT(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 Zu(t){let e=tn(t),r=Ls(t);if(e&&r)return{start:e,end:r}}function VT(t,e){let r=t.all(e),i=r.shift(),n=[];if(i){let a={type:"element",tagName:"thead",properties:{},children:t.wrap([i],!0)};t.patch(e.children[0],a),n.push(a)}if(r.length>0){let a={type:"element",tagName:"tbody",properties:{},children:t.wrap(r,!0)},s=tn(e.children[1]),l=Ls(e.children[e.children.length-1]);s&&l&&(a.position={start:s,end:l}),n.push(a)}let o={type:"element",tagName:"table",properties:{},children:t.wrap(n,!0)};return t.patch(e,o),t.applyData(e,o)}function FT(t,e,r){let i=r?r.children:void 0,o=(i?i.indexOf(e):1)===0?"th":"td",a=r&&r.type==="table"?r.align:void 0,s=a?a.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(YT(e.slice(n),n>0,!1)),o.join("")}function YT(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 GT(t,e){let r={type:"text",value:HT(String(e.value))};return t.patch(e,r),t.applyData(e,r)}function KT(t,e){let r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,r),t.applyData(e,r)}var JT={blockquote:ET,break:CT,code:PT,delete:_T,emphasis:AT,footnoteReference:QT,heading:$T,html:XT,imageReference:RT,image:IT,inlineCode:LT,linkReference:MT,link:zT,listItem:DT,list:UT,paragraph:qT,root:BT,strong:jT,table:VT,tableCell:ZT,tableRow:FT,text:GT,thematicBreak:KT,toml:W0,yaml:W0,definition:W0,footnoteDefinition:W0};function W0(){}var e8=typeof self=="object"?self:globalThis,Oj=(t,e)=>{let r=(n,o)=>(t.set(o,n),n),i=n=>{if(t.has(n))return t.get(n);let[o,a]=e[n];switch(o){case 0:case-1:return r(a,n);case 1:{let s=r([],n);for(let l of a)s.push(i(l));return s}case 2:{let s=r({},n);for(let[l,c]of a)s[i(l)]=i(c);return s}case 3:return r(new Date(a),n);case 4:{let{source:s,flags:l}=a;return r(new RegExp(s,l),n)}case 5:{let s=r(new Map,n);for(let[l,c]of a)s.set(i(l),i(c));return s}case 6:{let s=r(new Set,n);for(let l of a)s.add(i(l));return s}case 7:{let{name:s,message:l}=a;return r(new e8[s](l),n)}case 8:return r(BigInt(a),n);case"BigInt":return r(Object(BigInt(a)),n)}return r(new e8[o](a),n)};return i},M2=t=>Oj(new Map,t)(0);var rc="",{toString:gj}={},{keys:bj}=Object,Ku=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let r=gj.call(t).slice(8,-1);switch(r){case"Array":return[1,rc];case"Object":return[2,rc];case"Date":return[3,rc];case"RegExp":return[4,rc];case"Map":return[5,rc];case"Set":return[6,rc]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},H0=([t,e])=>t===0&&(e==="function"||e==="symbol"),yj=(t,e,r,i)=>{let n=(a,s)=>{let l=i.push(a)-1;return r.set(s,l),l},o=a=>{if(r.has(a))return r.get(a);let[s,l]=Ku(a);switch(s){case 0:{let u=a;switch(l){case"bigint":s=8,u=a.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return n([-1],a)}return n([s,u],a)}case 1:{if(l)return n([l,[...a]],a);let u=[],f=n([s,u],a);for(let d of a)u.push(o(d));return f}case 2:{if(l)switch(l){case"BigInt":return n([l,a.toString()],a);case"Boolean":case"Number":case"String":return n([l,a.valueOf()],a)}if(e&&"toJSON"in a)return o(a.toJSON());let u=[],f=n([s,u],a);for(let d of bj(a))(t||!H0(Ku(a[d])))&&u.push([o(d),o(a[d])]);return f}case 3:return n([s,a.toISOString()],a);case 4:{let{source:u,flags:f}=a;return n([s,{source:u,flags:f}],a)}case 5:{let u=[],f=n([s,u],a);for(let[d,p]of a)(t||!(H0(Ku(d))||H0(Ku(p))))&&u.push([o(d),o(p)]);return f}case 6:{let u=[],f=n([s,u],a);for(let d of a)(t||!H0(Ku(d)))&&u.push(o(d));return f}}let{message:c}=a;return n([s,{name:l,message:c}],a)};return o},z2=(t,{json:e,lossy:r}={})=>{let i=[];return yj(!(e||r),!!e,new Map,i)(t),i};var xn=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?M2(z2(t,e)):structuredClone(t):(t,e)=>M2(z2(t,e));function vj(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 xj(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function t8(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||vj,i=t.options.footnoteBackLabel||xj,n=t.options.footnoteLabel||"Footnotes",o=t.options.footnoteLabelTagName||"h2",a=t.options.footnoteLabelProperties||{className:["sr-only"]},s=[],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 k=u[u.length-1];if(k&&k.type==="element"&&k.tagName==="p"){let C=k.children[k.children.length-1];C&&C.type==="text"?C.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...O)}else u.push(...O);let w={type:"element",tagName:"li",properties:{id:e+"fn-"+d},children:t.wrap(u,!0)};t.patch(c,w),s.push(w)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:Be(oe({},xn(a)),{id:"footnote-label"}),children:[{type:"text",value:n}]},{type:"text",value:` +`});let c={type:"element",tagName:"li",properties:o,children:a};return t.patch(e,c),t.applyData(e,c)}function Oj(t){let e=!1;if(t.type==="list"){e=t.spread||!1;let r=t.children,i=-1;for(;!e&&++i1:e}function UT(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 Zu(t){let e=tn(t),r=Ls(t);if(e&&r)return{start:e,end:r}}function VT(t,e){let r=t.all(e),i=r.shift(),n=[];if(i){let a={type:"element",tagName:"thead",properties:{},children:t.wrap([i],!0)};t.patch(e.children[0],a),n.push(a)}if(r.length>0){let a={type:"element",tagName:"tbody",properties:{},children:t.wrap(r,!0)},s=tn(e.children[1]),l=Ls(e.children[e.children.length-1]);s&&l&&(a.position={start:s,end:l}),n.push(a)}let o={type:"element",tagName:"table",properties:{},children:t.wrap(n,!0)};return t.patch(e,o),t.applyData(e,o)}function FT(t,e,r){let i=r?r.children:void 0,o=(i?i.indexOf(e):1)===0?"th":"td",a=r&&r.type==="table"?r.align:void 0,s=a?a.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(YT(e.slice(n),n>0,!1)),o.join("")}function YT(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 GT(t,e){let r={type:"text",value:HT(String(e.value))};return t.patch(e,r),t.applyData(e,r)}function KT(t,e){let r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,r),t.applyData(e,r)}var JT={blockquote:ET,break:CT,code:PT,delete:_T,emphasis:AT,footnoteReference:QT,heading:$T,html:XT,imageReference:RT,image:IT,inlineCode:LT,linkReference:MT,link:zT,listItem:DT,list:UT,paragraph:qT,root:BT,strong:jT,table:VT,tableCell:ZT,tableRow:FT,text:GT,thematicBreak:KT,toml:W0,yaml:W0,definition:W0,footnoteDefinition:W0};function W0(){}var e8=typeof self=="object"?self:globalThis,gj=(t,e)=>{let r=(n,o)=>(t.set(o,n),n),i=n=>{if(t.has(n))return t.get(n);let[o,a]=e[n];switch(o){case 0:case-1:return r(a,n);case 1:{let s=r([],n);for(let l of a)s.push(i(l));return s}case 2:{let s=r({},n);for(let[l,c]of a)s[i(l)]=i(c);return s}case 3:return r(new Date(a),n);case 4:{let{source:s,flags:l}=a;return r(new RegExp(s,l),n)}case 5:{let s=r(new Map,n);for(let[l,c]of a)s.set(i(l),i(c));return s}case 6:{let s=r(new Set,n);for(let l of a)s.add(i(l));return s}case 7:{let{name:s,message:l}=a;return r(new e8[s](l),n)}case 8:return r(BigInt(a),n);case"BigInt":return r(Object(BigInt(a)),n)}return r(new e8[o](a),n)};return i},M2=t=>gj(new Map,t)(0);var rc="",{toString:bj}={},{keys:yj}=Object,Ku=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let r=bj.call(t).slice(8,-1);switch(r){case"Array":return[1,rc];case"Object":return[2,rc];case"Date":return[3,rc];case"RegExp":return[4,rc];case"Map":return[5,rc];case"Set":return[6,rc]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},H0=([t,e])=>t===0&&(e==="function"||e==="symbol"),vj=(t,e,r,i)=>{let n=(a,s)=>{let l=i.push(a)-1;return r.set(s,l),l},o=a=>{if(r.has(a))return r.get(a);let[s,l]=Ku(a);switch(s){case 0:{let u=a;switch(l){case"bigint":s=8,u=a.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return n([-1],a)}return n([s,u],a)}case 1:{if(l)return n([l,[...a]],a);let u=[],f=n([s,u],a);for(let d of a)u.push(o(d));return f}case 2:{if(l)switch(l){case"BigInt":return n([l,a.toString()],a);case"Boolean":case"Number":case"String":return n([l,a.valueOf()],a)}if(e&&"toJSON"in a)return o(a.toJSON());let u=[],f=n([s,u],a);for(let d of yj(a))(t||!H0(Ku(a[d])))&&u.push([o(d),o(a[d])]);return f}case 3:return n([s,a.toISOString()],a);case 4:{let{source:u,flags:f}=a;return n([s,{source:u,flags:f}],a)}case 5:{let u=[],f=n([s,u],a);for(let[d,p]of a)(t||!(H0(Ku(d))||H0(Ku(p))))&&u.push([o(d),o(p)]);return f}case 6:{let u=[],f=n([s,u],a);for(let d of a)(t||!H0(Ku(d)))&&u.push(o(d));return f}}let{message:c}=a;return n([s,{name:l,message:c}],a)};return o},z2=(t,{json:e,lossy:r}={})=>{let i=[];return vj(!(e||r),!!e,new Map,i)(t),i};var xn=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?M2(z2(t,e)):structuredClone(t):(t,e)=>M2(z2(t,e));function xj(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 wj(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function t8(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||xj,i=t.options.footnoteBackLabel||wj,n=t.options.footnoteLabel||"Footnotes",o=t.options.footnoteLabelTagName||"h2",a=t.options.footnoteLabelProperties||{className:["sr-only"]},s=[],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 k=u[u.length-1];if(k&&k.type==="element"&&k.tagName==="p"){let C=k.children[k.children.length-1];C&&C.type==="text"?C.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...O)}else u.push(...O);let w={type:"element",tagName:"li",properties:{id:e+"fn-"+d},children:t.wrap(u,!0)};t.patch(c,w),s.push(w)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:Be(oe({},xn(a)),{id:"footnote-label"}),children:[{type:"text",value:n}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:t.wrap(s,!0)},{type:"text",value:` -`}]}}var D2={}.hasOwnProperty,wj={};function i8(t,e){let r=e||wj,i=new Map,n=new Map,o=new Map,a=oe(oe({},JT),r.handlers),s={all:c,applyData:Sj,definitionById:i,footnoteById:n,footnoteCounts:o,footnoteOrder:[],handlers:a,one:l,options:r,patch:kj,wrap:Ej};return Zr(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)}}),s;function l(u,f){let d=u.type,p=s.handlers[d];if(D2.call(s.handlers,d)&&p)return p(s,u,f);if(s.options.passThrough&&s.options.passThrough.includes(d)){if("children"in u){let x=u,{children:k}=x,w=Wr(x,["children"]),C=xn(w);return C.children=s.all(u),C}return xn(u)}return(s.options.unknownHandler||Tj)(s,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 r8(t){let e=0,r=t.charCodeAt(e);for(;r===9||r===32;)e++,r=t.charCodeAt(e);return t.slice(e)}function G0(t,e){let r=i8(t,e),i=r.one(t,void 0),n=t8(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 K0(t,e){return t&&"run"in t?async function(r,i){let n=G0(r,oe({file:i},e));await t.run(n,i)}:function(r,i){return G0(r,oe({file:i},e||t))}}var Lo=class{constructor(e,r,i){this.property=e,this.normal=r,i&&(this.space=i)}};Lo.prototype.property={};Lo.prototype.normal={};Lo.prototype.space=null;function N2(t,e){let r={},i={},n=-1;for(;++nit,booleanish:()=>nr,commaOrSpaceSeparated:()=>Ti,commaSeparated:()=>Da,number:()=>Ee,overloadedBoolean:()=>U2,spaceSeparated:()=>_t});var Cj=0,it=Ms(),nr=Ms(),U2=Ms(),Ee=Ms(),_t=Ms(),Da=Ms(),Ti=Ms();function Ms(){return 2**++Cj}var q2=Object.keys(Ju),zs=class extends Hr{constructor(e,r,i,n){let o=-1;if(super(e,r),n8(this,"space",n),typeof i=="number")for(;++o4&&r.slice(0,4)==="data"&&_j.test(e)){if(e.charAt(4)==="-"){let o=e.slice(5).replace(s8,$j);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=e.slice(4);if(!s8.test(o)){let a=o.replace(Aj,Qj);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}n=zs}return new n(i,e)}function Qj(t){return"-"+t.toLowerCase()}function $j(t){return t.charAt(1).toUpperCase()}var Do=N2([j2,B2,W2,V2,o8],"html"),nn=N2([j2,B2,W2,V2,a8],"svg");function F2(t){let e=[],r=String(t||""),i=r.indexOf(","),n=0,o=!1;for(;!o;){i===-1&&(i=r.length,o=!0);let a=r.slice(n,i).trim();(a||!o)&&e.push(a),n=i+1,i=r.indexOf(",",n)}return e}function tp(t,e){let r=e||{};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}var l8=/[#.]/g;function Z2(t,e){let r=t||"",i={},n=0,o,a;for(;n-1&&oo)return{line:a+1,column:o-(a>0?r[a-1]:0)+1,offset:o}}}function n(o){let a=o&&o.line,s=o&&o.column;if(typeof a=="number"&&typeof s=="number"&&!Number.isNaN(a)&&!Number.isNaN(s)&&a-1 in r){let l=(r[a-2]||0)+s-1||0;if(l>-1&&l=55296&&t<=57343}function m8(t){return t>=56320&&t<=57343}function O8(t,e){return(t-55296)*1024+9216+e}function ap(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||Hj.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 Kj=65536,lp=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=Kj,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(m8(r))return this.pos++,this._addGap(),O8(e,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,R.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,R.EOF;let i=this.html.charCodeAt(r);return i===R.CARRIAGE_RETURN?R.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,R.EOF;let e=this.html.charCodeAt(this.pos);return e===R.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,R.LINE_FEED):e===R.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,op(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===R.LINE_FEED||e===R.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){ap(e)?this._err(le.controlCharacterInInputStream):sp(e)&&this._err(le.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.posdt,getTokenAttr:()=>nf});var dt;(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"})(dt=dt||(dt={}));function nf(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 g8=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(t=>t.charCodeAt(0)));var n4,Jj=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]]),o4=(n4=String.fromCodePoint)!==null&&n4!==void 0?n4: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 a4(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=Jj.get(t))!==null&&e!==void 0?e:t}var Tr;(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"})(Tr||(Tr={}));var eW=32,wn;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(wn||(wn={}));function s4(t){return t>=Tr.ZERO&&t<=Tr.NINE}function tW(t){return t>=Tr.UPPER_A&&t<=Tr.UPPER_F||t>=Tr.LOWER_A&&t<=Tr.LOWER_F}function rW(t){return t>=Tr.UPPER_A&&t<=Tr.UPPER_Z||t>=Tr.LOWER_A&&t<=Tr.LOWER_Z||s4(t)}function iW(t){return t===Tr.EQUALS||rW(t)}var Sr;(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"})(Sr||(Sr={}));var Ds;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Ds||(Ds={}));var l4=class{constructor(e,r,i){this.decodeTree=e,this.emitCodePoint=r,this.errors=i,this.state=Sr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ds.Strict}startEntity(e){this.decodeMode=e,this.state=Sr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case Sr.EntityStart:return e.charCodeAt(r)===Tr.NUM?(this.state=Sr.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=Sr.NamedEntity,this.stateNamedEntity(e,r));case Sr.NumericStart:return this.stateNumericStart(e,r);case Sr.NumericDecimal:return this.stateNumericDecimal(e,r);case Sr.NumericHex:return this.stateNumericHex(e,r);case Sr.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(e.charCodeAt(r)|eW)===Tr.LOWER_X?(this.state=Sr.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=Sr.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(a===Tr.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Ds.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]&wn.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]&~wn.VALUE_LENGTH:n[e+1],i),r===3&&this.emitCodePoint(n[e+2],i),i}end(){var e;switch(this.state){case Sr.NamedEntity:return this.result!==0&&(this.decodeMode!==Ds.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Sr.NumericDecimal:return this.emitNumericEntity(0,2);case Sr.NumericHex:return this.emitNumericEntity(0,3);case Sr.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Sr.EntityStart:return 0}}};function b8(t){let e="",r=new l4(t,i=>e+=o4(i));return function(n,o){let a=0,s=0;for(;(s=n.indexOf("&",s))>=0;){e+=n.slice(a,s),r.startEntity(o);let c=r.write(n,s+1);if(c<0){a=s+r.end();break}a=s+c,s=c===0?a+1:a}let l=e+n.slice(a);return e="",l}}function c4(t,e,r,i){let n=(e&wn.BRANCH_LENGTH)>>7,o=e&wn.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 a=r,s=a+n-1;for(;a<=s;){let l=a+s>>>1,c=t[l];if(ci)s=l-1;else return t[l+n]}return-1}var nye=b8(to),oye=b8(g8);var oc={};lu(oc,{ATTRS:()=>kn,DOCUMENT_MODE:()=>Rr,NS:()=>Oe,SPECIAL_ELEMENTS:()=>u4,TAG_ID:()=>g,TAG_NAMES:()=>ee,getTagID:()=>Na,hasUnescapedText:()=>y8,isNumberedHeader:()=>of});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 Rr;(function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"})(Rr=Rr||(Rr={}));var ee;(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"})(ee=ee||(ee={}));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 nW=new Map([[ee.A,g.A],[ee.ADDRESS,g.ADDRESS],[ee.ANNOTATION_XML,g.ANNOTATION_XML],[ee.APPLET,g.APPLET],[ee.AREA,g.AREA],[ee.ARTICLE,g.ARTICLE],[ee.ASIDE,g.ASIDE],[ee.B,g.B],[ee.BASE,g.BASE],[ee.BASEFONT,g.BASEFONT],[ee.BGSOUND,g.BGSOUND],[ee.BIG,g.BIG],[ee.BLOCKQUOTE,g.BLOCKQUOTE],[ee.BODY,g.BODY],[ee.BR,g.BR],[ee.BUTTON,g.BUTTON],[ee.CAPTION,g.CAPTION],[ee.CENTER,g.CENTER],[ee.CODE,g.CODE],[ee.COL,g.COL],[ee.COLGROUP,g.COLGROUP],[ee.DD,g.DD],[ee.DESC,g.DESC],[ee.DETAILS,g.DETAILS],[ee.DIALOG,g.DIALOG],[ee.DIR,g.DIR],[ee.DIV,g.DIV],[ee.DL,g.DL],[ee.DT,g.DT],[ee.EM,g.EM],[ee.EMBED,g.EMBED],[ee.FIELDSET,g.FIELDSET],[ee.FIGCAPTION,g.FIGCAPTION],[ee.FIGURE,g.FIGURE],[ee.FONT,g.FONT],[ee.FOOTER,g.FOOTER],[ee.FOREIGN_OBJECT,g.FOREIGN_OBJECT],[ee.FORM,g.FORM],[ee.FRAME,g.FRAME],[ee.FRAMESET,g.FRAMESET],[ee.H1,g.H1],[ee.H2,g.H2],[ee.H3,g.H3],[ee.H4,g.H4],[ee.H5,g.H5],[ee.H6,g.H6],[ee.HEAD,g.HEAD],[ee.HEADER,g.HEADER],[ee.HGROUP,g.HGROUP],[ee.HR,g.HR],[ee.HTML,g.HTML],[ee.I,g.I],[ee.IMG,g.IMG],[ee.IMAGE,g.IMAGE],[ee.INPUT,g.INPUT],[ee.IFRAME,g.IFRAME],[ee.KEYGEN,g.KEYGEN],[ee.LABEL,g.LABEL],[ee.LI,g.LI],[ee.LINK,g.LINK],[ee.LISTING,g.LISTING],[ee.MAIN,g.MAIN],[ee.MALIGNMARK,g.MALIGNMARK],[ee.MARQUEE,g.MARQUEE],[ee.MATH,g.MATH],[ee.MENU,g.MENU],[ee.META,g.META],[ee.MGLYPH,g.MGLYPH],[ee.MI,g.MI],[ee.MO,g.MO],[ee.MN,g.MN],[ee.MS,g.MS],[ee.MTEXT,g.MTEXT],[ee.NAV,g.NAV],[ee.NOBR,g.NOBR],[ee.NOFRAMES,g.NOFRAMES],[ee.NOEMBED,g.NOEMBED],[ee.NOSCRIPT,g.NOSCRIPT],[ee.OBJECT,g.OBJECT],[ee.OL,g.OL],[ee.OPTGROUP,g.OPTGROUP],[ee.OPTION,g.OPTION],[ee.P,g.P],[ee.PARAM,g.PARAM],[ee.PLAINTEXT,g.PLAINTEXT],[ee.PRE,g.PRE],[ee.RB,g.RB],[ee.RP,g.RP],[ee.RT,g.RT],[ee.RTC,g.RTC],[ee.RUBY,g.RUBY],[ee.S,g.S],[ee.SCRIPT,g.SCRIPT],[ee.SECTION,g.SECTION],[ee.SELECT,g.SELECT],[ee.SOURCE,g.SOURCE],[ee.SMALL,g.SMALL],[ee.SPAN,g.SPAN],[ee.STRIKE,g.STRIKE],[ee.STRONG,g.STRONG],[ee.STYLE,g.STYLE],[ee.SUB,g.SUB],[ee.SUMMARY,g.SUMMARY],[ee.SUP,g.SUP],[ee.TABLE,g.TABLE],[ee.TBODY,g.TBODY],[ee.TEMPLATE,g.TEMPLATE],[ee.TEXTAREA,g.TEXTAREA],[ee.TFOOT,g.TFOOT],[ee.TD,g.TD],[ee.TH,g.TH],[ee.THEAD,g.THEAD],[ee.TITLE,g.TITLE],[ee.TR,g.TR],[ee.TRACK,g.TRACK],[ee.TT,g.TT],[ee.U,g.U],[ee.UL,g.UL],[ee.SVG,g.SVG],[ee.VAR,g.VAR],[ee.WBR,g.WBR],[ee.XMP,g.XMP]]);function Na(t){var e;return(e=nW.get(t))!==null&&e!==void 0?e:g.UNKNOWN}var Se=g,u4={[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 of(t){return t===Se.H1||t===Se.H2||t===Se.H3||t===Se.H4||t===Se.H5||t===Se.H6}var oW=new Set([ee.STYLE,ee.SCRIPT,ee.XMP,ee.IFRAME,ee.NOEMBED,ee.NOFRAMES,ee.PLAINTEXT]);function y8(t,e){return oW.has(t)||e&&t===ee.NOSCRIPT}var aW=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]]),D;(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"})(D||(D={}));var jt={DATA:D.DATA,RCDATA:D.RCDATA,RAWTEXT:D.RAWTEXT,SCRIPT_DATA:D.SCRIPT_DATA,PLAINTEXT:D.PLAINTEXT,CDATA_SECTION:D.CDATA_SECTION};function sf(t){return t>=R.DIGIT_0&&t<=R.DIGIT_9}function af(t){return t>=R.LATIN_CAPITAL_A&&t<=R.LATIN_CAPITAL_Z}function sW(t){return t>=R.LATIN_SMALL_A&&t<=R.LATIN_SMALL_Z}function Ua(t){return sW(t)||af(t)}function f4(t){return Ua(t)||sf(t)}function x8(t){return t>=R.LATIN_CAPITAL_A&&t<=R.LATIN_CAPITAL_F}function w8(t){return t>=R.LATIN_SMALL_A&&t<=R.LATIN_SMALL_F}function lW(t){return sf(t)||x8(t)||w8(t)}function cp(t){return t+32}function k8(t){return t===R.SPACE||t===R.LINE_FEED||t===R.TABULATION||t===R.FORM_FEED}function cW(t){return t===R.EQUALS_SIGN||f4(t)}function v8(t){return k8(t)||t===R.SOLIDUS||t===R.GREATER_THAN_SIGN}var lf=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=D.DATA,this.returnState=D.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new lp(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 dt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case dt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case dt.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:dt.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=k8(e)?dt.WHITESPACE_CHARACTER:e===R.NULL?dt.NULL_CHARACTER:dt.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(dt.CHARACTER,e)}_matchNamedCharacterReference(e){let r=null,i=0,n=!1;for(let o=0,a=to[0];o>=0&&(o=c4(to,a,o+1,e),!(o<0));e=this._consume()){i+=1,a=to[o];let s=a&wn.VALUE_LENGTH;if(s){let l=(s>>14)-1;if(e!==R.SEMICOLON&&this._isCharacterReferenceInAttribute()&&cW(this.preprocessor.peek(1))?(r=[R.AMPERSAND],o+=l):(r=l===0?[to[o]&~wn.VALUE_LENGTH]:l===1?[to[++o]]:[to[++o],to[++o]],i=0,n=e!==R.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===D.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===D.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===D.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case D.DATA:{this._stateData(e);break}case D.RCDATA:{this._stateRcdata(e);break}case D.RAWTEXT:{this._stateRawtext(e);break}case D.SCRIPT_DATA:{this._stateScriptData(e);break}case D.PLAINTEXT:{this._statePlaintext(e);break}case D.TAG_OPEN:{this._stateTagOpen(e);break}case D.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case D.TAG_NAME:{this._stateTagName(e);break}case D.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case D.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case D.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case D.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case D.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case D.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case D.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case D.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case D.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case D.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case D.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case D.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case D.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case D.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case D.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case D.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case D.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case D.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case D.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case D.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case D.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case D.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case D.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case D.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case D.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case D.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case D.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case D.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case D.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case D.BOGUS_COMMENT:{this._stateBogusComment(e);break}case D.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case D.COMMENT_START:{this._stateCommentStart(e);break}case D.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case D.COMMENT:{this._stateComment(e);break}case D.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case D.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case D.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case D.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case D.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case D.COMMENT_END:{this._stateCommentEnd(e);break}case D.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case D.DOCTYPE:{this._stateDoctype(e);break}case D.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case D.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case D.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case D.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case D.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case D.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case D.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case D.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case D.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case D.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case D.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case D.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case D.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case D.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case D.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case D.CDATA_SECTION:{this._stateCdataSection(e);break}case D.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case D.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case D.CHARACTER_REFERENCE:{this._stateCharacterReference(e);break}case D.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(e);break}case D.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}case D.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(e);break}case D.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(e);break}case D.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(e);break}case D.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(e);break}case D.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case R.LESS_THAN_SIGN:{this.state=D.TAG_OPEN;break}case R.AMPERSAND:{this.returnState=D.DATA,this.state=D.CHARACTER_REFERENCE;break}case R.NULL:{this._err(le.unexpectedNullCharacter),this._emitCodePoint(e);break}case R.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case R.AMPERSAND:{this.returnState=D.RCDATA,this.state=D.CHARACTER_REFERENCE;break}case R.LESS_THAN_SIGN:{this.state=D.RCDATA_LESS_THAN_SIGN;break}case R.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case R.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case R.LESS_THAN_SIGN:{this.state=D.RAWTEXT_LESS_THAN_SIGN;break}case R.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case R.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case R.LESS_THAN_SIGN:{this.state=D.SCRIPT_DATA_LESS_THAN_SIGN;break}case R.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case R.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case R.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case R.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Ua(e))this._createStartTagToken(),this.state=D.TAG_NAME,this._stateTagName(e);else switch(e){case R.EXCLAMATION_MARK:{this.state=D.MARKUP_DECLARATION_OPEN;break}case R.SOLIDUS:{this.state=D.END_TAG_OPEN;break}case R.QUESTION_MARK:{this._err(le.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=D.BOGUS_COMMENT,this._stateBogusComment(e);break}case R.EOF:{this._err(le.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(le.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=D.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Ua(e))this._createEndTagToken(),this.state=D.TAG_NAME,this._stateTagName(e);else switch(e){case R.GREATER_THAN_SIGN:{this._err(le.missingEndTagName),this.state=D.DATA;break}case R.EOF:{this._err(le.eofBeforeTagName),this._emitChars("");break}case R.NULL:{this._err(le.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_ESCAPED,this._emitChars(Nt);break}case R.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===R.SOLIDUS?this.state=D.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ua(e)?(this._emitChars("<"),this.state=D.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=D.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Ua(e)?(this.state=D.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break}case R.NULL:{this._err(le.unexpectedNullCharacter),this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Nt);break}case R.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===R.SOLIDUS?(this.state=D.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=D.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(ui.SCRIPT,!1)&&v8(this.preprocessor.peek(ui.SCRIPT.length))){this._emitCodePoint(e);for(let r=0;r1114111)this._err(le.characterReferenceOutsideUnicodeRange),this.charRefCode=R.REPLACEMENT_CHARACTER;else if(op(this.charRefCode))this._err(le.surrogateCharacterReference),this.charRefCode=R.REPLACEMENT_CHARACTER;else if(sp(this.charRefCode))this._err(le.noncharacterCharacterReference);else if(ap(this.charRefCode)||this.charRefCode===R.CARRIAGE_RETURN){this._err(le.controlCharacterReference);let r=aW.get(this.charRefCode);r!==void 0&&(this.charRefCode=r)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}};var T8=new Set([g.DD,g.DT,g.LI,g.OPTGROUP,g.OPTION,g.P,g.RB,g.RP,g.RT,g.RTC]),S8=new Set([...T8,g.CAPTION,g.COLGROUP,g.TBODY,g.TD,g.TFOOT,g.TH,g.THEAD,g.TR]),up=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]]),uW=[g.H1,g.H2,g.H3,g.H4,g.H5,g.H6],fW=[g.TR,g.TEMPLATE,g.HTML],hW=[g.TBODY,g.TFOOT,g.THEAD,g.TEMPLATE,g.HTML],dW=[g.TABLE,g.TEMPLATE,g.HTML],pW=[g.TD,g.TH],fp=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(dW,Oe.HTML)}clearBackToTableBodyContext(){this.clearBackTo(hW,Oe.HTML)}clearBackToTableRowContext(){this.clearBackTo(fW,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(up.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(of(r)&&i===Oe.HTML)return!0;if(up.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||up.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||up.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(;T8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;S8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&S8.has(this.currentTagId);)this.pop()}};var on;(function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"})(on=on||(on={}));var E8={type:on.Marker},hp=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,r){let i=[],n=r.length,o=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let s=0;s[a.name,a.value])),o=0;for(let a=0;an.get(l.name)===l.value)&&(o+=1,o>=3&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(E8)}pushElement(e,r){this._ensureNoahArkCondition(e),this.entries.unshift({type:on.Element,element:e,token:r})}insertElementAfterBookmark(e,r){let i=this.entries.indexOf(this.bookmark);this.entries.splice(i,0,{type:on.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(E8);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let r=this.entries.find(i=>i.type===on.Marker||this.treeAdapter.getTagName(i.element)===e);return r&&r.type===on.Element?r:null}getElementEntry(e){return this.entries.find(r=>r.type===on.Element&&r.element===e)}};function C8(t){return{nodeName:"#text",value:t,parentNode:null}}var Uo={createDocument(){return{nodeName:"#document",mode:Rr.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};Uo.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(Uo.isTextNode(r)){r.value+=e;return}}Uo.appendChild(t,C8(e))},insertTextBefore(t,e,r){let i=t.childNodes[t.childNodes.indexOf(r)-1];i&&Uo.isTextNode(i)?i.value+=e:Uo.insertBefore(t,C8(e),r)},adoptAttributes(t,e){let r=new Set(t.attrs.map(i=>i.name));for(let i=0;it.startsWith(r))}function $8(t){return t.name===_8&&t.publicId===null&&(t.systemId===null||t.systemId===mW)}function X8(t){if(t.name!==_8)return Rr.QUIRKS;let{systemId:e}=t;if(e&&e.toLowerCase()===OW)return Rr.QUIRKS;let{publicId:r}=t;if(r!==null){if(r=r.toLowerCase(),bW.has(r))return Rr.QUIRKS;let i=e===null?gW:A8;if(P8(r,i))return Rr.QUIRKS;if(i=e===null?Q8:yW,P8(r,i))return Rr.LIMITED_QUIRKS}return Rr.NO_QUIRKS}var mp={};lu(mp,{SVG_TAG_NAMES_ADJUSTMENT_MAP:()=>I8,adjustTokenMathMLAttrs:()=>dp,adjustTokenSVGAttrs:()=>pp,adjustTokenSVGTagName:()=>d4,adjustTokenXMLAttrs:()=>cf,causesExit:()=>h4,isIntegrationPoint:()=>p4});var R8={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},xW="definitionurl",wW="definitionURL",kW=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])),SW=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}]]),I8=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])),TW=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 h4(t){let e=t.tagID;return e===g.FONT&&t.attrs.some(({name:i})=>i===kn.COLOR||i===kn.SIZE||i===kn.FACE)||TW.has(e)}function dp(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,a;this.openElements.stackTop===0&&this.fragmentContext?(o=this.fragmentContext,a=this.fragmentContextID):{current:o,currentTagId:a}=this.openElements,this._setContextModes(o,a)}}_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=W.TEXT}switchToPlaintextParsing(){this.insertionMode=W.TEXT,this.originalInsertionMode=W.IN_BODY,this.tokenizer.state=jt.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)===ee.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=jt.RCDATA;break}case g.STYLE:case g.XMP:case g.IFRAME:case g.NOEMBED:case g.NOFRAMES:case g.NOSCRIPT:{this.tokenizer.state=jt.RAWTEXT;break}case g.SCRIPT:{this.tokenizer.state=jt.SCRIPT_DATA;break}case g.PLAINTEXT:{this.tokenizer.state=jt.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 a=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));a&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}}_attachElementToTree(e,r){if(this.options.sourceCodeLocationInfo){let i=r&&Be(oe({},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(ee.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,a=n[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){let{endLine:l,endCol:c,endOffset:u}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:u})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,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===dt.END_TAG&&n===r.tagName?{endTag:oe({},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)===ee.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 dt.CHARACTER:{this.onCharacter(e);break}case dt.NULL_CHARACTER:{this.onNullCharacter(e);break}case dt.COMMENT:{this.onComment(e);break}case dt.DOCTYPE:{this.onDoctype(e);break}case dt.START_TAG:{this._processStartTag(e);break}case dt.END_TAG:{this.onEndTag(e);break}case dt.EOF:{this.onEof(e);break}case dt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,r,i){let n=this.treeAdapter.getNamespaceURI(r),o=this.treeAdapter.getAttrList(r);return p4(e,n,o,i)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let r=this.activeFormattingElements.entries.findIndex(n=>n.type===on.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=W.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=W.IN_ROW;return}case g.TBODY:case g.THEAD:case g.TFOOT:{this.insertionMode=W.IN_TABLE_BODY;return}case g.CAPTION:{this.insertionMode=W.IN_CAPTION;return}case g.COLGROUP:{this.insertionMode=W.IN_COLUMN_GROUP;return}case g.TABLE:{this.insertionMode=W.IN_TABLE;return}case g.BODY:{this.insertionMode=W.IN_BODY;return}case g.FRAMESET:{this.insertionMode=W.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?W.AFTER_HEAD:W.BEFORE_HEAD;return}case g.TD:case g.TH:{if(e>0){this.insertionMode=W.IN_CELL;return}break}case g.HEAD:{if(e>0){this.insertionMode=W.IN_HEAD;return}break}}this.insertionMode=W.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=W.IN_SELECT_IN_TABLE;return}}this.insertionMode=W.IN_SELECT}_isElementCausesFosterParenting(e){return D8.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 u4[i].has(r)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){sF(this,e);return}switch(this.insertionMode){case W.INITIAL:{uf(this,e);break}case W.BEFORE_HTML:{hf(this,e);break}case W.BEFORE_HEAD:{df(this,e);break}case W.IN_HEAD:{pf(this,e);break}case W.IN_HEAD_NO_SCRIPT:{mf(this,e);break}case W.AFTER_HEAD:{Of(this,e);break}case W.IN_BODY:case W.IN_CAPTION:case W.IN_CELL:case W.IN_TEMPLATE:{U8(this,e);break}case W.TEXT:case W.IN_SELECT:case W.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case W.IN_TABLE:case W.IN_TABLE_BODY:case W.IN_ROW:{m4(this,e);break}case W.IN_TABLE_TEXT:{F8(this,e);break}case W.IN_COLUMN_GROUP:{gp(this,e);break}case W.AFTER_BODY:{bp(this,e);break}case W.AFTER_AFTER_BODY:{Op(this,e);break}default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){aF(this,e);return}switch(this.insertionMode){case W.INITIAL:{uf(this,e);break}case W.BEFORE_HTML:{hf(this,e);break}case W.BEFORE_HEAD:{df(this,e);break}case W.IN_HEAD:{pf(this,e);break}case W.IN_HEAD_NO_SCRIPT:{mf(this,e);break}case W.AFTER_HEAD:{Of(this,e);break}case W.TEXT:{this._insertCharacters(e);break}case W.IN_TABLE:case W.IN_TABLE_BODY:case W.IN_ROW:{m4(this,e);break}case W.IN_COLUMN_GROUP:{gp(this,e);break}case W.AFTER_BODY:{bp(this,e);break}case W.AFTER_AFTER_BODY:{Op(this,e);break}default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){O4(this,e);return}switch(this.insertionMode){case W.INITIAL:case W.BEFORE_HTML:case W.BEFORE_HEAD:case W.IN_HEAD:case W.IN_HEAD_NO_SCRIPT:case W.AFTER_HEAD:case W.IN_BODY:case W.IN_TABLE:case W.IN_CAPTION:case W.IN_COLUMN_GROUP:case W.IN_TABLE_BODY:case W.IN_ROW:case W.IN_CELL:case W.IN_SELECT:case W.IN_SELECT_IN_TABLE:case W.IN_TEMPLATE:case W.IN_FRAMESET:case W.AFTER_FRAMESET:{O4(this,e);break}case W.IN_TABLE_TEXT:{ff(this,e);break}case W.AFTER_BODY:{zW(this,e);break}case W.AFTER_AFTER_BODY:case W.AFTER_AFTER_FRAMESET:{DW(this,e);break}default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case W.INITIAL:{NW(this,e);break}case W.BEFORE_HEAD:case W.IN_HEAD:case W.IN_HEAD_NO_SCRIPT:case W.AFTER_HEAD:{this._err(e,le.misplacedDoctype);break}case W.IN_TABLE_TEXT:{ff(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)?lF(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case W.INITIAL:{uf(this,e);break}case W.BEFORE_HTML:{UW(this,e);break}case W.BEFORE_HEAD:{BW(this,e);break}case W.IN_HEAD:{Sn(this,e);break}case W.IN_HEAD_NO_SCRIPT:{VW(this,e);break}case W.AFTER_HEAD:{ZW(this,e);break}case W.IN_BODY:{Gr(this,e);break}case W.IN_TABLE:{ac(this,e);break}case W.IN_TABLE_TEXT:{ff(this,e);break}case W.IN_CAPTION:{jV(this,e);break}case W.IN_COLUMN_GROUP:{v4(this,e);break}case W.IN_TABLE_BODY:{xp(this,e);break}case W.IN_ROW:{wp(this,e);break}case W.IN_CELL:{FV(this,e);break}case W.IN_SELECT:{H8(this,e);break}case W.IN_SELECT_IN_TABLE:{YV(this,e);break}case W.IN_TEMPLATE:{GV(this,e);break}case W.AFTER_BODY:{JV(this,e);break}case W.IN_FRAMESET:{eF(this,e);break}case W.AFTER_FRAMESET:{rF(this,e);break}case W.AFTER_AFTER_BODY:{nF(this,e);break}case W.AFTER_AFTER_FRAMESET:{oF(this,e);break}default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?cF(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case W.INITIAL:{uf(this,e);break}case W.BEFORE_HTML:{qW(this,e);break}case W.BEFORE_HEAD:{jW(this,e);break}case W.IN_HEAD:{WW(this,e);break}case W.IN_HEAD_NO_SCRIPT:{FW(this,e);break}case W.AFTER_HEAD:{YW(this,e);break}case W.IN_BODY:{vp(this,e);break}case W.TEXT:{RV(this,e);break}case W.IN_TABLE:{gf(this,e);break}case W.IN_TABLE_TEXT:{ff(this,e);break}case W.IN_CAPTION:{WV(this,e);break}case W.IN_COLUMN_GROUP:{VV(this,e);break}case W.IN_TABLE_BODY:{g4(this,e);break}case W.IN_ROW:{Y8(this,e);break}case W.IN_CELL:{ZV(this,e);break}case W.IN_SELECT:{G8(this,e);break}case W.IN_SELECT_IN_TABLE:{HV(this,e);break}case W.IN_TEMPLATE:{KV(this,e);break}case W.AFTER_BODY:{J8(this,e);break}case W.IN_FRAMESET:{tF(this,e);break}case W.AFTER_FRAMESET:{iF(this,e);break}case W.AFTER_AFTER_BODY:{Op(this,e);break}default:}}onEof(e){switch(this.insertionMode){case W.INITIAL:{uf(this,e);break}case W.BEFORE_HTML:{hf(this,e);break}case W.BEFORE_HEAD:{df(this,e);break}case W.IN_HEAD:{pf(this,e);break}case W.IN_HEAD_NO_SCRIPT:{mf(this,e);break}case W.AFTER_HEAD:{Of(this,e);break}case W.IN_BODY:case W.IN_TABLE:case W.IN_CAPTION:case W.IN_COLUMN_GROUP:case W.IN_TABLE_BODY:case W.IN_ROW:case W.IN_CELL:case W.IN_SELECT:case W.IN_SELECT_IN_TABLE:{W8(this,e);break}case W.TEXT:{IV(this,e);break}case W.IN_TABLE_TEXT:{ff(this,e);break}case W.IN_TEMPLATE:{K8(this,e);break}case W.AFTER_BODY:case W.IN_FRAMESET:case W.AFTER_FRAMESET:case W.AFTER_AFTER_BODY:case W.AFTER_AFTER_FRAMESET:{y4(this,e);break}default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===R.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 W.IN_HEAD:case W.IN_HEAD_NO_SCRIPT:case W.AFTER_HEAD:case W.TEXT:case W.IN_COLUMN_GROUP:case W.IN_SELECT:case W.IN_SELECT_IN_TABLE:case W.IN_FRAMESET:case W.AFTER_FRAMESET:{this._insertCharacters(e);break}case W.IN_BODY:case W.IN_CAPTION:case W.IN_CELL:case W.IN_TEMPLATE:case W.AFTER_BODY:case W.AFTER_AFTER_BODY:case W.AFTER_AFTER_FRAMESET:{N8(this,e);break}case W.IN_TABLE:case W.IN_TABLE_BODY:case W.IN_ROW:{m4(this,e);break}case W.IN_TABLE_TEXT:{V8(this,e);break}default:}}};function $W(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):j8(t,e),r}function XW(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 RW(t,e,r){let i=e,n=t.openElements.getCommonAncestor(e);for(let o=0,a=n;a!==r;o++,a=n){n=t.openElements.getCommonAncestor(a);let s=t.activeFormattingElements.getElementEntry(a),l=s&&o>=AW;!s||l?(l&&t.activeFormattingElements.removeEntry(s),t.openElements.remove(a)):(a=IW(t,s),i===e&&(t.activeFormattingElements.bookmark=s),t.treeAdapter.detachNode(i),t.treeAdapter.appendChild(a,i),i=a)}return i}function IW(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 LW(t,e,r){let i=t.treeAdapter.getTagName(e),n=Na(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 MW(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 b4(t,e){for(let r=0;r<_W;r++){let i=$W(t,e);if(!i)break;let n=XW(t,i);if(!n)break;t.activeFormattingElements.bookmark=i;let o=RW(t,n,i.element),a=t.openElements.getCommonAncestor(i.element);t.treeAdapter.detachNode(o),a&&LW(t,a,o),MW(t,n,i)}}function O4(t,e){t._appendCommentNode(e,t.openElements.currentTmplContentOrNode)}function zW(t,e){t._appendCommentNode(e,t.openElements.items[0])}function DW(t,e){t._appendCommentNode(e,t.document)}function y4(t,e){if(t.stopped=!0,e.location){let r=t.fragmentContext?0:2;for(let i=t.openElements.stackTop;i>=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],a=t.treeAdapter.getNodeSourceCodeLocation(o);a&&!a.endTag&&t._setEndLocation(o,e)}}}}function NW(t,e){t._setDocumentType(e);let r=e.forceQuirks?Rr.QUIRKS:X8(e);$8(e)||t._err(e,le.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,r),t.insertionMode=W.BEFORE_HTML}function uf(t,e){t._err(e,le.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,Rr.QUIRKS),t.insertionMode=W.BEFORE_HTML,t._processToken(e)}function UW(t,e){e.tagID===g.HTML?(t._insertElement(e,Oe.HTML),t.insertionMode=W.BEFORE_HEAD):hf(t,e)}function qW(t,e){let r=e.tagID;(r===g.HTML||r===g.HEAD||r===g.BODY||r===g.BR)&&hf(t,e)}function hf(t,e){t._insertFakeRootElement(),t.insertionMode=W.BEFORE_HEAD,t._processToken(e)}function BW(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.HEAD:{t._insertElement(e,Oe.HTML),t.headElement=t.openElements.current,t.insertionMode=W.IN_HEAD;break}default:df(t,e)}}function jW(t,e){let r=e.tagID;r===g.HEAD||r===g.BODY||r===g.HTML||r===g.BR?df(t,e):t._err(e,le.endTagWithoutMatchingOpenElement)}function df(t,e){t._insertFakeElement(ee.HEAD,g.HEAD),t.headElement=t.openElements.current,t.insertionMode=W.IN_HEAD,t._processToken(e)}function Sn(t,e){switch(e.tagID){case g.HTML:{Gr(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,jt.RCDATA);break}case g.NOSCRIPT:{t.options.scriptingEnabled?t._switchToTextParsing(e,jt.RAWTEXT):(t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_HEAD_NO_SCRIPT);break}case g.NOFRAMES:case g.STYLE:{t._switchToTextParsing(e,jt.RAWTEXT);break}case g.SCRIPT:{t._switchToTextParsing(e,jt.SCRIPT_DATA);break}case g.TEMPLATE:{t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=W.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(W.IN_TEMPLATE);break}case g.HEAD:{t._err(e,le.misplacedStartTagForHeadElement);break}default:pf(t,e)}}function WW(t,e){switch(e.tagID){case g.HEAD:{t.openElements.pop(),t.insertionMode=W.AFTER_HEAD;break}case g.BODY:case g.BR:case g.HTML:{pf(t,e);break}case g.TEMPLATE:{Ns(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function Ns(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 pf(t,e){t.openElements.pop(),t.insertionMode=W.AFTER_HEAD,t._processToken(e)}function VW(t,e){switch(e.tagID){case g.HTML:{Gr(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:mf(t,e)}}function FW(t,e){switch(e.tagID){case g.NOSCRIPT:{t.openElements.pop(),t.insertionMode=W.IN_HEAD;break}case g.BR:{mf(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function mf(t,e){let r=e.type===dt.EOF?le.openElementsLeftAfterEof:le.disallowedContentInNoscriptInHead;t._err(e,r),t.openElements.pop(),t.insertionMode=W.IN_HEAD,t._processToken(e)}function ZW(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.BODY:{t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=W.IN_BODY;break}case g.FRAMESET:{t._insertElement(e,Oe.HTML),t.insertionMode=W.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:Of(t,e)}}function YW(t,e){switch(e.tagID){case g.BODY:case g.HTML:case g.BR:{Of(t,e);break}case g.TEMPLATE:{Ns(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function Of(t,e){t._insertFakeElement(ee.BODY,g.BODY),t.insertionMode=W.IN_BODY,yp(t,e)}function yp(t,e){switch(e.type){case dt.CHARACTER:{U8(t,e);break}case dt.WHITESPACE_CHARACTER:{N8(t,e);break}case dt.COMMENT:{O4(t,e);break}case dt.START_TAG:{Gr(t,e);break}case dt.END_TAG:{vp(t,e);break}case dt.EOF:{W8(t,e);break}default:}}function N8(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function U8(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function HW(t,e){t.openElements.tmplCount===0&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}function GW(t,e){let r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t.openElements.tmplCount===0&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(r,e.attrs))}function KW(t,e){let r=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&r&&(t.treeAdapter.detachNode(r),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_FRAMESET)}function JW(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML)}function eV(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),of(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,Oe.HTML)}function tV(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}function rV(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 iV(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 nV(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.tokenizer.state=jt.PLAINTEXT}function oV(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 aV(t,e){let r=t.activeFormattingElements.getElementEntryInScopeWithTagName(ee.A);r&&(b4(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 sV(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function lV(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(g.NOBR)&&(b4(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function cV(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}function uV(t,e){t.treeAdapter.getDocumentMode(t.document)!==Rr.QUIRKS&&t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=W.IN_TABLE}function q8(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,Oe.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function B8(t){let e=nf(t,kn.TYPE);return e!=null&&e.toLowerCase()===PW}function fV(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,Oe.HTML),B8(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}function hV(t,e){t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0}function dV(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._appendElement(e,Oe.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function pV(t,e){e.tagName=ee.IMG,e.tagID=g.IMG,q8(t,e)}function mV(t,e){t._insertElement(e,Oe.HTML),t.skipNextNewLine=!0,t.tokenizer.state=jt.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=W.TEXT}function OV(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,jt.RAWTEXT)}function gV(t,e){t.framesetOk=!1,t._switchToTextParsing(e,jt.RAWTEXT)}function M8(t,e){t._switchToTextParsing(e,jt.RAWTEXT)}function bV(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===W.IN_TABLE||t.insertionMode===W.IN_CAPTION||t.insertionMode===W.IN_TABLE_BODY||t.insertionMode===W.IN_ROW||t.insertionMode===W.IN_CELL?W.IN_SELECT_IN_TABLE:W.IN_SELECT}function yV(t,e){t.openElements.currentTagId===g.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML)}function vV(t,e){t.openElements.hasInScope(g.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,Oe.HTML)}function xV(t,e){t.openElements.hasInScope(g.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(g.RTC),t._insertElement(e,Oe.HTML)}function wV(t,e){t._reconstructActiveFormattingElements(),dp(e),cf(e),e.selfClosing?t._appendElement(e,Oe.MATHML):t._insertElement(e,Oe.MATHML),e.ackSelfClosing=!0}function kV(t,e){t._reconstructActiveFormattingElements(),pp(e),cf(e),e.selfClosing?t._appendElement(e,Oe.SVG):t._insertElement(e,Oe.SVG),e.ackSelfClosing=!0}function z8(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML)}function Gr(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:{sV(t,e);break}case g.A:{aV(t,e);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{eV(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:{JW(t,e);break}case g.LI:case g.DD:case g.DT:{iV(t,e);break}case g.BR:case g.IMG:case g.WBR:case g.AREA:case g.EMBED:case g.KEYGEN:{q8(t,e);break}case g.HR:{dV(t,e);break}case g.RB:case g.RTC:{vV(t,e);break}case g.RT:case g.RP:{xV(t,e);break}case g.PRE:case g.LISTING:{tV(t,e);break}case g.XMP:{OV(t,e);break}case g.SVG:{kV(t,e);break}case g.HTML:{HW(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:{GW(t,e);break}case g.FORM:{rV(t,e);break}case g.NOBR:{lV(t,e);break}case g.MATH:{wV(t,e);break}case g.TABLE:{uV(t,e);break}case g.INPUT:{fV(t,e);break}case g.PARAM:case g.TRACK:case g.SOURCE:{hV(t,e);break}case g.IMAGE:{pV(t,e);break}case g.BUTTON:{oV(t,e);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{cV(t,e);break}case g.IFRAME:{gV(t,e);break}case g.SELECT:{bV(t,e);break}case g.OPTION:case g.OPTGROUP:{yV(t,e);break}case g.NOEMBED:{M8(t,e);break}case g.FRAMESET:{KW(t,e);break}case g.TEXTAREA:{mV(t,e);break}case g.NOSCRIPT:{t.options.scriptingEnabled?M8(t,e):z8(t,e);break}case g.PLAINTEXT:{nV(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:z8(t,e)}}function SV(t,e){if(t.openElements.hasInScope(g.BODY)&&(t.insertionMode=W.AFTER_BODY,t.options.sourceCodeLocationInfo)){let r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t._setEndLocation(r,e)}}function TV(t,e){t.openElements.hasInScope(g.BODY)&&(t.insertionMode=W.AFTER_BODY,J8(t,e))}function EV(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r))}function CV(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 PV(t){t.openElements.hasInButtonScope(g.P)||t._insertFakeElement(ee.P,g.P),t._closePElement()}function _V(t){t.openElements.hasInListItemScope(g.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(g.LI),t.openElements.popUntilTagNamePopped(g.LI))}function AV(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.popUntilTagNamePopped(r))}function QV(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}function $V(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r),t.activeFormattingElements.clearToLastMarker())}function XV(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(ee.BR,g.BR),t.openElements.pop(),t.framesetOk=!1}function j8(t,e){let r=e.tagName,i=e.tagID;for(let n=t.openElements.stackTop;n>0;n--){let o=t.openElements.items[n],a=t.openElements.tagIDs[n];if(i===a&&(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,a))break}}function vp(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:{b4(t,e);break}case g.P:{PV(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:{EV(t,e);break}case g.LI:{_V(t);break}case g.DD:case g.DT:{AV(t,e);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{QV(t);break}case g.BR:{XV(t);break}case g.BODY:{SV(t,e);break}case g.HTML:{TV(t,e);break}case g.FORM:{CV(t);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{$V(t,e);break}case g.TEMPLATE:{Ns(t,e);break}default:j8(t,e)}}function W8(t,e){t.tmplInsertionModeStack.length>0?K8(t,e):y4(t,e)}function RV(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 IV(t,e){t._err(e,le.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}function m4(t,e){if(D8.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=W.IN_TABLE_TEXT,e.type){case dt.CHARACTER:{F8(t,e);break}case dt.WHITESPACE_CHARACTER:{V8(t,e);break}}else bf(t,e)}function LV(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_CAPTION}function MV(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_COLUMN_GROUP}function zV(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(ee.COLGROUP,g.COLGROUP),t.insertionMode=W.IN_COLUMN_GROUP,v4(t,e)}function DV(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,Oe.HTML),t.insertionMode=W.IN_TABLE_BODY}function NV(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(ee.TBODY,g.TBODY),t.insertionMode=W.IN_TABLE_BODY,xp(t,e)}function UV(t,e){t.openElements.hasInTableScope(g.TABLE)&&(t.openElements.popUntilTagNamePopped(g.TABLE),t._resetInsertionMode(),t._processStartTag(e))}function qV(t,e){B8(e)?t._appendElement(e,Oe.HTML):bf(t,e),e.ackSelfClosing=!0}function BV(t,e){!t.formElement&&t.openElements.tmplCount===0&&(t._insertElement(e,Oe.HTML),t.formElement=t.openElements.current,t.openElements.pop())}function ac(t,e){switch(e.tagID){case g.TD:case g.TH:case g.TR:{NV(t,e);break}case g.STYLE:case g.SCRIPT:case g.TEMPLATE:{Sn(t,e);break}case g.COL:{zV(t,e);break}case g.FORM:{BV(t,e);break}case g.TABLE:{UV(t,e);break}case g.TBODY:case g.TFOOT:case g.THEAD:{DV(t,e);break}case g.INPUT:{qV(t,e);break}case g.CAPTION:{LV(t,e);break}case g.COLGROUP:{MV(t,e);break}default:bf(t,e)}}function gf(t,e){switch(e.tagID){case g.TABLE:{t.openElements.hasInTableScope(g.TABLE)&&(t.openElements.popUntilTagNamePopped(g.TABLE),t._resetInsertionMode());break}case g.TEMPLATE:{Ns(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:bf(t,e)}}function bf(t,e){let r=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,yp(t,e),t.fosterParentingEnabled=r}function V8(t,e){t.pendingCharacterTokens.push(e)}function F8(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function ff(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:{Ns(t,e);break}default:}}function YV(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)):H8(t,e)}function HV(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)):G8(t,e)}function GV(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]=W.IN_TABLE,t.insertionMode=W.IN_TABLE,ac(t,e);break}case g.COL:{t.tmplInsertionModeStack[0]=W.IN_COLUMN_GROUP,t.insertionMode=W.IN_COLUMN_GROUP,v4(t,e);break}case g.TR:{t.tmplInsertionModeStack[0]=W.IN_TABLE_BODY,t.insertionMode=W.IN_TABLE_BODY,xp(t,e);break}case g.TD:case g.TH:{t.tmplInsertionModeStack[0]=W.IN_ROW,t.insertionMode=W.IN_ROW,wp(t,e);break}default:t.tmplInsertionModeStack[0]=W.IN_BODY,t.insertionMode=W.IN_BODY,Gr(t,e)}}function KV(t,e){e.tagID===g.TEMPLATE&&Ns(t,e)}function K8(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(g.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):y4(t,e)}function JV(t,e){e.tagID===g.HTML?Gr(t,e):bp(t,e)}function J8(t,e){var r;if(e.tagID===g.HTML){if(t.fragmentContext||(t.insertionMode=W.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 bp(t,e)}function bp(t,e){t.insertionMode=W.IN_BODY,yp(t,e)}function eF(t,e){switch(e.tagID){case g.HTML:{Gr(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 tF(t,e){e.tagID===g.FRAMESET&&!t.openElements.isRootHtmlElementCurrent()&&(t.openElements.pop(),!t.fragmentContext&&t.openElements.currentTagId!==g.FRAMESET&&(t.insertionMode=W.AFTER_FRAMESET))}function rF(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.NOFRAMES:{Sn(t,e);break}default:}}function iF(t,e){e.tagID===g.HTML&&(t.insertionMode=W.AFTER_AFTER_FRAMESET)}function nF(t,e){e.tagID===g.HTML?Gr(t,e):Op(t,e)}function Op(t,e){t.insertionMode=W.IN_BODY,yp(t,e)}function oF(t,e){switch(e.tagID){case g.HTML:{Gr(t,e);break}case g.NOFRAMES:{Sn(t,e);break}default:}}function aF(t,e){e.chars=Nt,t._insertCharacters(e)}function sF(t,e){t._insertCharacters(e),t.framesetOk=!1}function eE(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==Oe.HTML&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}function lF(t,e){if(h4(e))eE(t),t._startTagOutsideForeignContent(e);else{let r=t._getAdjustedCurrentElement(),i=t.treeAdapter.getNamespaceURI(r);i===Oe.MATHML?dp(e):i===Oe.SVG&&(d4(e),pp(e)),cf(e),e.selfClosing?t._appendElement(e,i):t._insertElement(e,i),e.ackSelfClosing=!0}}function cF(t,e){if(e.tagID===g.P||e.tagID===g.BR){eE(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 uF=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),$ye=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 x4(t,e){return function(i){let n,o=0,a="";for(;n=t.exec(i);)o!==n.index&&(a+=i.substring(o,n.index)),a+=e.get(n[0].charCodeAt(0)),o=n.index+1;return a+i.substring(o)}}var Xye=x4(/[&<>'"]/g,uF),fF=x4(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),hF=x4(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var zye=new Set([ee.AREA,ee.BASE,ee.BASEFONT,ee.BGSOUND,ee.BR,ee.COL,ee.EMBED,ee.FRAME,ee.HR,ee.IMG,ee.INPUT,ee.KEYGEN,ee.LINK,ee.META,ee.PARAM,ee.SOURCE,ee.TRACK,ee.WBR]);function tE(t,e){return qo.parse(t,e)}function rE(t,e,r){typeof t=="string"&&(r=e,e=t,t=null);let i=qo.getFragmentParser(t,r);return i.tokenizer.write(e,!0),i.getFragment()}var dF=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),iE={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function kp(t,e){let r=kF(t),i=jl("type",{handlers:{root:pF,element:mF,text:OF,comment:oE,doctype:gF,raw:yF},unknown:vF}),n={parser:r?new qo(iE):qo.getFragmentParser(void 0,iE),handle(s){i(s,n)},stitches:!1,options:e||{}};i(t,n),sc(n,tn());let o=r?n.parser.document:n.parser.getFragment(),a=rf(o,{file:n.options.file});return n.stitches&&Zr(a,"comment",function(s,l,c){let u=s;if(u.value.stitch&&c&&l!==void 0){let f=c.children;return f[l]=u.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===t.type?a.children[0]:a}function nE(t,e){let r=-1;if(t)for(;++rl&&(l=c):c&&(l!==void 0&&l>-1&&s.push(` -`.repeat(l)||" "),l=-1,s.push(c))}return s.join("")}function OE(t,e,r){return t.type==="element"?zF(t,e,r):t.type==="text"?r.whitespace==="normal"?gE(t,r):DF(t):[]}function zF(t,e,r){let i=bE(t,r),n=t.children||[],o=-1,a=[];if(MF(t))return a;let s,l;for(S4(t)||pE(t)&&Tp(e,t,pE)?l=` -`:LF(t)?(s=2,l=2):mE(t)&&(s=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 `