From b91beac81b62716e7b0dd0c369857d4cc504d659 Mon Sep 17 00:00:00 2001 From: jonatanklosko Date: Thu, 1 Feb 2024 15:24:51 +0000 Subject: [PATCH] Update assets --- static/assets/app.js | 134 +++++++++++++++++++++---------------------- 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/static/assets/app.js b/static/assets/app.js index 3bd80eedc..4a2496a8d 100644 --- a/static/assets/app.js +++ b/static/assets/app.js @@ -1,22 +1,22 @@ -import{a as Ql}from"./chunk-BZUL2CAN.js";import{a as ne,b as je,c as ws,d as ek,e as Wr,f as pa,g as au,h as Al,i as Ut}from"./chunk-3V74GZ4F.js";var o6=pa((Hce,n6)=>{"use strict";var Bd=Object.prototype.hasOwnProperty,i6=Object.prototype.toString,Gk=Object.defineProperty,Kk=Object.getOwnPropertyDescriptor,Jk=function(e){return typeof Array.isArray=="function"?Array.isArray(e):i6.call(e)==="[object Array]"},e6=function(e){if(!e||i6.call(e)!=="[object Object]")return!1;var r=Bd.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&Bd.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!i)return!1;var n;for(n in e);return typeof n=="undefined"||Bd.call(e,n)},t6=function(e,r){Gk&&r.name==="__proto__"?Gk(e,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):e[r.name]=r.newValue},r6=function(e,r){if(r==="__proto__")if(Bd.call(e,r)){if(Kk)return Kk(e,r).value}else return;return e[r]};n6.exports=function t(){var e,r,i,n,o,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 wO=pa((xO,N$)=>{(function(t,e){typeof xO=="object"?N$.exports=xO=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(xO,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=D$()}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 $;return w.prototype=C,$=new w,w.prototype=null,$}}(),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,$=w.words,P=this.sigBytes,L=w.sigBytes;if(this.clamp(),P%4)for(var M=0;M>>2]>>>24-M%4*8&255;C[P+M>>>2]|=Z<<24-(P+M)%4*8}else for(var re=0;re>>2]=$[re>>>2];return this.sigBytes+=L,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=[],$=0;$>>2]>>>24-L%4*8&255;P.push((M>>>4).toString(16)),P.push((M&15).toString(16))}return P.join("")},parse:function(w){for(var C=w.length,$=[],P=0;P>>3]|=parseInt(w.substr(P,2),16)<<24-P%8*4;return new c.init($,C/2)}},d=u.Latin1={stringify:function(w){for(var C=w.words,$=w.sigBytes,P=[],L=0;L<$;L++){var M=C[L>>>2]>>>24-L%4*8&255;P.push(String.fromCharCode(M))}return P.join("")},parse:function(w){for(var C=w.length,$=[],P=0;P>>2]|=(w.charCodeAt(P)&255)<<24-P%4*8;return new c.init($,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,$=this._data,P=$.words,L=$.sigBytes,M=this.blockSize,Z=M*4,re=L/Z;w?re=e.ceil(re):re=e.max((re|0)-this._minBufferSize,0);var H=re*M,W=e.min(H*4,L);if(H){for(var oe=0;oe{(function(t,e){typeof kO=="object"?U$.exports=kO=e(wO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(kO,function(t){return function(e){var r=t,i=r.lib,n=i.WordArray,o=i.Hasher,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,$=p[O+0],P=p[O+1],L=p[O+2],M=p[O+3],Z=p[O+4],re=p[O+5],H=p[O+6],W=p[O+7],oe=p[O+8],pe=p[O+9],fe=p[O+10],ge=p[O+11],ve=p[O+12],_e=p[O+13],ae=p[O+14],he=p[O+15],K=C[0],A=C[1],G=C[2],se=C[3];K=c(K,A,G,se,$,7,s[0]),se=c(se,K,A,G,P,12,s[1]),G=c(G,se,K,A,L,17,s[2]),A=c(A,G,se,K,M,22,s[3]),K=c(K,A,G,se,Z,7,s[4]),se=c(se,K,A,G,re,12,s[5]),G=c(G,se,K,A,H,17,s[6]),A=c(A,G,se,K,W,22,s[7]),K=c(K,A,G,se,oe,7,s[8]),se=c(se,K,A,G,pe,12,s[9]),G=c(G,se,K,A,fe,17,s[10]),A=c(A,G,se,K,ge,22,s[11]),K=c(K,A,G,se,ve,7,s[12]),se=c(se,K,A,G,_e,12,s[13]),G=c(G,se,K,A,ae,17,s[14]),A=c(A,G,se,K,he,22,s[15]),K=u(K,A,G,se,P,5,s[16]),se=u(se,K,A,G,H,9,s[17]),G=u(G,se,K,A,ge,14,s[18]),A=u(A,G,se,K,$,20,s[19]),K=u(K,A,G,se,re,5,s[20]),se=u(se,K,A,G,fe,9,s[21]),G=u(G,se,K,A,he,14,s[22]),A=u(A,G,se,K,Z,20,s[23]),K=u(K,A,G,se,pe,5,s[24]),se=u(se,K,A,G,ae,9,s[25]),G=u(G,se,K,A,M,14,s[26]),A=u(A,G,se,K,oe,20,s[27]),K=u(K,A,G,se,_e,5,s[28]),se=u(se,K,A,G,L,9,s[29]),G=u(G,se,K,A,W,14,s[30]),A=u(A,G,se,K,ve,20,s[31]),K=f(K,A,G,se,re,4,s[32]),se=f(se,K,A,G,oe,11,s[33]),G=f(G,se,K,A,ge,16,s[34]),A=f(A,G,se,K,ae,23,s[35]),K=f(K,A,G,se,P,4,s[36]),se=f(se,K,A,G,Z,11,s[37]),G=f(G,se,K,A,W,16,s[38]),A=f(A,G,se,K,fe,23,s[39]),K=f(K,A,G,se,_e,4,s[40]),se=f(se,K,A,G,$,11,s[41]),G=f(G,se,K,A,M,16,s[42]),A=f(A,G,se,K,H,23,s[43]),K=f(K,A,G,se,pe,4,s[44]),se=f(se,K,A,G,ve,11,s[45]),G=f(G,se,K,A,he,16,s[46]),A=f(A,G,se,K,L,23,s[47]),K=d(K,A,G,se,$,6,s[48]),se=d(se,K,A,G,W,10,s[49]),G=d(G,se,K,A,ae,15,s[50]),A=d(A,G,se,K,re,21,s[51]),K=d(K,A,G,se,ve,6,s[52]),se=d(se,K,A,G,M,10,s[53]),G=d(G,se,K,A,fe,15,s[54]),A=d(A,G,se,K,P,21,s[55]),K=d(K,A,G,se,oe,6,s[56]),se=d(se,K,A,G,he,10,s[57]),G=d(G,se,K,A,H,15,s[58]),A=d(A,G,se,K,_e,21,s[59]),K=d(K,A,G,se,Z,6,s[60]),se=d(se,K,A,G,ge,10,s[61]),G=d(G,se,K,A,L,15,s[62]),A=d(A,G,se,K,pe,21,s[63]),C[0]=C[0]+K|0,C[1]=C[1]+A|0,C[2]=C[2]+G|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 $=this._hash,P=$.words,L=0;L<4;L++){var M=P[L];P[L]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}return $},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p}});function c(p,O,x,k,w,C,$){var P=p+(O&x|~O&k)+w+$;return(P<>>32-C)+O}function u(p,O,x,k,w,C,$){var P=p+(O&k|x&~k)+w+$;return(P<>>32-C)+O}function f(p,O,x,k,w,C,$){var P=p+(O^x^k)+w+$;return(P<>>32-C)+O}function d(p,O,x,k,w,C,$){var P=p+(x^(O|~k))+w+$;return(P<>>32-C)+O}r.MD5=o._createHelper(l),r.HmacMD5=o._createHmacHelper(l)}(Math),t.MD5})});var B$=pa((SO,j$)=>{(function(t,e){typeof SO=="object"?j$.exports=SO=e(wO()):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=[],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],$=p[5],P=p[6],L=p[7],M=0;M<64;M++){if(M<16)c[M]=f[d+M]|0;else{var Z=c[M-15],re=(Z<<25|Z>>>7)^(Z<<14|Z>>>18)^Z>>>3,H=c[M-2],W=(H<<15|H>>>17)^(H<<13|H>>>19)^H>>>10;c[M]=re+c[M-7]+W+c[M-16]}var oe=C&$^~C&P,pe=O&x^O&k^x&k,fe=(O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22),ge=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),ve=L+ge+oe+l[M]+c[M],_e=fe+pe;L=P,P=$,$=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]+$|0,p[6]=p[6]+P|0,p[7]=p[7]+L|0},_doFinalize:function(){var f=this._data,d=f.words,p=this._nDataBytes*8,O=f.sigBytes*8;return d[O>>>5]|=128<<24-O%32,d[(O+64>>>9<<4)+14]=e.floor(p/4294967296),d[(O+64>>>9<<4)+15]=p,f.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var f=o.clone.call(this);return f._hash=this._hash.clone(),f}});r.SHA256=o._createHelper(u),r.HmacSHA256=o._createHmacHelper(u)}(Math),t.SHA256})});var V$=pa((TO,W$)=>{(function(t,e){typeof TO=="object"?W$.exports=TO=e(wO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(TO,function(t){return function(){var e=t,r=e.lib,i=r.WordArray,n=e.enc,o=n.Base64={stringify:function(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 EL=pa((TL,ww)=>{(function(t){if(typeof TL=="object"&&typeof ww!="undefined")ww.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 Z=k._renderChunk();k._lastRepaint=P,Z!==!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,$=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],he=u(ae);if(ae&&typeof ae!="string"&&typeof ae!="number"){var K="Invalid optional `"+_e+"`, expected string or number";throw new Error(K)}else he&&(C[_e]=ae+"px")});var P=!!C.horizontal,L=C[P?"width":"height"];if(L){var M=u(L),Z=M?!1:L.slice(-1)==="%",re=M?L:parseInt(L.replace(/px|%/,""),10),H=window[P?"innerWidth":"innerHeight"];Z?this._containerSize=H*re/100:this._containerSize=u(L)?L:re}var W=C.scrollContainer,oe=C.itemHeight*C.total,pe=this._maxElementHeight;oe>pe&&console.warn(["HyperList: The maximum element height",pe+"px has","been exceeded; please reduce your item height."].join(" "));var fe={width:""+C.width,height:W?oe+"px":""+C.height,overflow:W?"none":"auto",position:"relative"};p.mergeStyle(x,fe),W&&p.mergeStyle(C.scrollContainer,{overflow:"auto"});var ge=(w={opacity:"0",position:"absolute"},s(w,P?"height":"width","1px"),s(w,P?"width":"height",oe+"px"),w);p.mergeStyle($,ge),this._scroller||x.appendChild($);var ve=this._computeScrollPadding();this._scrollPaddingBottom=ve.bottom,this._scrollPaddingTop=ve.top,this._scroller=$,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 $=this._itemPositions[x]+this._scrollPaddingTop;return p.mergeStyle(w,s({position:"absolute"},k.horizontal?"left":"top",$+"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(),$=k.total,P=k.reverse?this._getReverseFrom(C):this._getFrom(C)-1;if((P<0||P-this._screenItemsLen<0)&&(P=0),!x&&this._lastFrom===P)return!1;this._lastFrom=P;var L=P+this._cachedItemsLen;(L>$||L+this._cachedItemsLen>$)&&(L=$);var M=k.useFragment?document.createDocumentFragment():[],Z=this._scroller;M[k.useFragment?"appendChild":"push"](Z);for(var re=P;re0&&arguments[0]!==void 0?arguments[0]:1,k=this._config,w=k.total,C=k.reverse;x<1&&!C&&(x=1);for(var $=x;$0&&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},xM=typeof self!="undefined"?self:null,su=typeof window!="undefined"?window:null,cu=xM||su||cu,wM="2.0.0",Un={connecting:0,open:1,closing:2,closed:3},kM=1e4,SM=1e3,Ai={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},vo={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},e1={longpoll:"longpoll",websocket:"websocket"},TM={complete:4},xd=class{constructor(t,e,r,i){this.channel=t,this.event=e,this.payload=r||function(){return{}},this.receivedResp=null,this.timeout=i,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(t){this.timeout=t,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(t,e){return this.hasReceived(t)&&e(this.receivedResp.response),this.recHooks.push({status:t,callback:e}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:t,response:e,_ref:r}){this.recHooks.filter(i=>i.status===t).forEach(i=>i.callback(e))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,t=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=t,this.matchReceive(t)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}trigger(t,e){this.channel.trigger(this.refEvent,{status:t,response:e})}},tk=class{constructor(t,e){this.callback=t,this.timerCalc=e,this.timer=null,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},EM=class{constructor(t,e,r){this.state=Ai.closed,this.topic=t,this.params=lu(e||{}),this.socket=r,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new xd(this,vo.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new tk(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=Ai.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>i.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=Ai.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=Ai.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=Ai.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 xd(this,vo.leave,lu({}),this.timeout).send(),this.state=Ai.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(vo.reply,(i,n)=>{this.trigger(this.replyEventName(n),i)})}join(t=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=t,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(t){this.on(vo.close,t)}onError(t){return this.on(vo.error,e=>t(e))}on(t,e){let r=this.bindingRef++;return this.bindings.push({event:t,ref:r,callback:e}),r}off(t,e){this.bindings=this.bindings.filter(r=>!(r.event===t&&(typeof e=="undefined"||e===r.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(t,e,r=this.timeout){if(e=e||{},!this.joinedOnce)throw new Error(`tried to push '${t}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let i=new xd(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=Ai.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(vo.close,"leave")},r=new xd(this,vo.leave,lu({}),t);return r.receive("ok",()=>e()).receive("timeout",()=>e()),r.send(),this.canPush()||r.trigger("ok",{}),r}onMessage(t,e,r){return e}isMember(t,e,r,i){return this.topic!==t?!1:i&&i!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:t,event:e,payload:r,joinRef:i}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(t=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=Ai.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===TM.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)}`}},CM=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=CM(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=kd.request(t,this.endpointURL(),e,r,this.timeout,a,s=>{this.reqs.delete(o),this.isActive()&&n(s)}),this.reqs.add(o)}};var wd={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:vo.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}}},Sd=class{constructor(t,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||kM,this.transport=e.transport||cu.WebSocket||Jg,this.establishedConnections=0,this.defaultEncoder=wd.encode.bind(wd),this.defaultDecoder=wd.decode.bind(wd),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==Jg?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let r=null;su&&su.addEventListener&&(su.addEventListener("pagehide",i=>{this.conn&&(this.disconnect(),r=this.connectClock)}),su.addEventListener("pageshow",i=>{r===this.connectClock&&(r=null,this.connect())})),this.heartbeatIntervalMs=e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=i=>e.rejoinAfterMs?e.rejoinAfterMs(i):[1e3,2e3,5e3][i-1]||1e4,this.reconnectAfterMs=i=>e.reconnectAfterMs?e.reconnectAfterMs(i):[10,50,100,150,200,250,500,1e3,2e3][i-1]||5e3,this.logger=e.logger||null,this.longpollerTimeout=e.longpollerTimeout||2e4,this.params=lu(e.params||{}),this.endPoint=`${t}/${e1.websocket}`,this.vsn=e.vsn||wM,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new tk(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return Jg}replaceTransport(t){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=t}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let t=kd.appendParams(kd.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return t.charAt(0)!=="/"?t:t.charAt(1)==="/"?`${this.protocol()}:${t}`:`${this.protocol()}://${location.host}${t}`}disconnect(t,e,r){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(t,e,r)}connect(t){t&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=lu(t)),!this.conn&&(this.connectClock++,this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=e=>this.onConnError(e),this.conn.onmessage=e=>this.onConnMessage(e),this.conn.onclose=e=>this.onConnClose(e))}log(t,e,r){this.logger(t,e,r)}hasLogger(){return this.logger!==null}onOpen(t){let e=this.makeRef();return this.stateChangeCallbacks.open.push([e,t]),e}onClose(t){let e=this.makeRef();return this.stateChangeCallbacks.close.push([e,t]),e}onError(t){let e=this.makeRef();return this.stateChangeCallbacks.error.push([e,t]),e}onMessage(t){let e=this.makeRef();return this.stateChangeCallbacks.message.push([e,t]),e}ping(t){if(!this.isConnected())return!1;let e=this.makeRef(),r=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:e});let i=this.onMessage(n=>{n.ref===e&&(this.off([i]),t(Date.now()-r))});return!0}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,t])=>t())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),SM,"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(vo.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 EM(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 Ek="consecutive-reloads",PM=10,_M=5e3,AM=1e4,QM=3e4,Ck=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading"],wo="data-phx-component",t1="data-phx-link",$M="track-static",XM="data-phx-link-state",$i="data-phx-ref",Oa="data-phx-ref-src",Pk="track-uploads",ba="data-phx-upload-ref",O1="data-phx-preflighted-refs",RM="data-phx-done-refs",rk="drop-target",f1="data-phx-active-refs",Md="phx:live-file:updated",_k="data-phx-skip",Ak="data-phx-id",ik="data-phx-prune",nk="page-loading",ok="phx-connected",uu="phx-loading",r1="phx-no-feedback",Td="phx-error",ak="phx-client-error",i1="phx-server-error",$l="data-phx-parent-id",g1="data-phx-main",yu="data-phx-root-id",h1="viewport-top",d1="viewport-bottom",IM="trigger-action",Dd="feedback-for",p1="phx-has-focused",LM=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],Qk=["checkbox","radio"],Nd="phx-has-submitted",ya="data-phx-session",Rl=`[${ya}]`,sk="data-phx-sticky",gu="data-phx-static",n1="data-phx-readonly",Ed="data-phx-disabled",m1="disable-with",Cd="data-phx-disable-with-restore",fu="hook",MM="debounce",zM="throttle",Ud="update",Pd="stream",hu="data-phx-stream",DM="key",qn="phxPrivate",lk="auto-recover",_d="phx:live-socket:debug",o1="phx:live-socket:profiling",a1="phx:live-socket:latency-sim",NM="progress",ck="mounted",UM=1,qM=200,jM="phx-",BM=3e4,du="debounce-trigger",Ad="throttled",uk="debounce-prev-key",WM={debounce:300,throttle:300},Qd="d",jn="s",s1="r",Qi="c",fk="e",hk="r",dk="t",VM="p",pk="stream",FM=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 Xi("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))}},Xi=(t,e)=>console.error&&console.error(t,e),xo=t=>{let e=typeof t;return e==="number"||e==="string"&&/^(0|[1-9]\d*)$/.test(t)};function ZM(){let t=new Set,e=document.querySelectorAll("*[id]");for(let r=0,i=e.length;r{t.liveSocket.isDebugEnabled()&&console.log(`${t.id} ${e}: ${r} - `,i)},l1=t=>typeof t=="function"?t:function(){return t},zd=t=>JSON.parse(JSON.stringify(t)),bu=(t,e,r)=>{do{if(t.matches(`[${e}]`)&&!t.disabled)return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1&&!(r&&r.isSameNode(t)||t.matches(Rl)));return null},pu=t=>t!==null&&typeof t=="object"&&!(t instanceof Array),HM=(t,e)=>JSON.stringify(t)===JSON.stringify(e),mk=t=>{for(let e in t)return!1;return!0},ga=(t,e)=>t&&e(t),GM=function(t,e,r,i){t.forEach(n=>{new FM(n,r.config.chunk_size,i).upload()})},$k={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&&$k.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}"]`)}},Bn=$k,Yi={byId(t){return document.getElementById(t)||Xi(`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(ba)!==null},isAutoUpload(t){return t.hasAttribute("data-phx-auto-upload")},findUploadInputs(t){return this.all(t,`input[type="file"][${ba}]`)},findComponentNodeList(t,e){return this.filterWithinSameLiveView(this.all(t,`[${wo}="${e}"]`),t)},isPhxDestroyed(t){return!!(t.id&&Yi.private(t,"destroyed"))},wantsNewTab(t){let e=t.ctrlKey||t.shiftKey||t.metaKey||t.button&&t.button===1,r=t.target instanceof HTMLAnchorElement&&t.target.hasAttribute("download"),i=t.target.hasAttribute("target")&&t.target.getAttribute("target").toLowerCase()==="_blank";return e||i||r},isUnloadableFormSubmit(t){return t.target&&t.target.getAttribute("method")==="dialog"||t.submitter&&t.submitter.getAttribute("formmethod")==="dialog"?!1:!t.defaultPrevented&&!this.wantsNewTab(t)},isNewPageClick(t,e){let r=t.target instanceof HTMLAnchorElement?t.target.getAttribute("href"):null,i;if(t.defaultPrevented||r===null||this.wantsNewTab(t)||r.startsWith("mailto:")||r.startsWith("tel:")||t.target.isContentEditable)return!1;try{i=new URL(r)}catch(n){try{i=new URL(r,e)}catch(o){return!0}}return i.host===e.host&&i.protocol===e.protocol&&i.pathname===e.pathname&&i.search===e.search?i.hash===""&&!i.href.endsWith("#"):i.protocol.startsWith("http")},markPhxChildDestroyed(t){this.isPhxChild(t)&&t.setAttribute(ya,""),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,`[${sk}]`)},findPhxChildren(t,e){return this.all(t,`${Rl}[${$l}="${e}"]`)},findParentCIDs(t,e){let r=new Set(e),i=e.reduce((n,o)=>{let a=`[${wo}="${o}"] [${wo}]`;return this.filterWithinSameLiveView(this.all(t,a),t).map(s=>parseInt(s.getAttribute(wo))).forEach(s=>n.delete(s)),n},r);return i.size===0?new Set(e):i},filterWithinSameLiveView(t,e){return e.querySelector(Rl)?t.filter(r=>this.withinSameLiveView(r,e)):t},withinSameLiveView(t,e){for(;t=t.parentNode;){if(t.isSameNode(e))return!0;if(t.getAttribute(ya)!==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,Ad):s(),p=this.incCycle(t,du,d);if(isNaN(f))return Xi(`invalid throttle/debounce value: ${u}`);if(c){let x=!1;if(e.type==="keydown"){let k=this.private(t,uk);this.putPrivate(t,uk,e.key),x=k!==e.key}if(!x&&this.private(t,Ad))return!1;s(),this.putPrivate(t,Ad,!0),setTimeout(()=>{a()&&this.triggerCycle(t,du)},f)}else setTimeout(()=>{a()&&this.triggerCycle(t,du,p)},f);let O=t.form;O&&this.once(O,"bind-debounce")&&O.addEventListener("submit",()=>{Array.from(new FormData(O).entries(),([x])=>{let k=O.querySelector(`[name="${x}"]`);this.incCycle(k,du),this.deletePrivate(k,Ad)})}),this.once(t,"bind-debounce")&&t.addEventListener("blur",()=>this.triggerCycle(t,du))}},triggerCycle(t,e,r){let[i,n]=this.private(t,e);r||(r=i),r===i&&(this.incCycle(t,e),n())},once(t,e){return this.private(t,e)===!0?!1:(this.putPrivate(t,e,!0),!0)},incCycle(t,e,r=function(){}){let[i]=this.private(t,e)||[0,r];return i++,this.putPrivate(t,e,[i,r]),i},maybeAddPrivateHooks(t,e,r){t.hasAttribute&&(t.hasAttribute(e)||t.hasAttribute(r))&&t.setAttribute("data-phx-hook","Phoenix.InfiniteScroll")},maybeHideFeedback(t,e,r){let i=[];if(e.forEach(n=>{this.private(n,p1)||this.private(n,Nd)||(i.push(n.name),n.name.endsWith("[]")&&i.push(n.name.slice(0,-2)))}),i.length>0){let n=i.map(o=>`[${r}="${o}"]`).join(", ");Yi.all(t,n,o=>o.classList.add(r1))}},resetForm(t,e){Array.from(t.elements).forEach(r=>{let i=`[${e}="${r.id}"], +import{a as Ql}from"./chunk-BZUL2CAN.js";import{a as ne,b as je,c as ws,d as ek,e as Wr,f as pa,g as au,h as Al,i as Ut}from"./chunk-3V74GZ4F.js";var o6=pa((Hce,n6)=>{"use strict";var Wd=Object.prototype.hasOwnProperty,i6=Object.prototype.toString,Gk=Object.defineProperty,Kk=Object.getOwnPropertyDescriptor,Jk=function(e){return typeof Array.isArray=="function"?Array.isArray(e):i6.call(e)==="[object Array]"},e6=function(e){if(!e||i6.call(e)!=="[object Object]")return!1;var r=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)},t6=function(e,r){Gk&&r.name==="__proto__"?Gk(e,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):e[r.name]=r.newValue},r6=function(e,r){if(r==="__proto__")if(Wd.call(e,r)){if(Kk)return Kk(e,r).value}else return;return e[r]};n6.exports=function t(){var e,r,i,n,o,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=pa((wO,N$)=>{(function(t,e){typeof wO=="object"?N$.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=D$()}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 $;return w.prototype=C,$=new w,w.prototype=null,$}}(),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,$=w.words,P=this.sigBytes,L=w.sigBytes;if(this.clamp(),P%4)for(var M=0;M>>2]>>>24-M%4*8&255;C[P+M>>>2]|=Z<<24-(P+M)%4*8}else for(var re=0;re>>2]=$[re>>>2];return this.sigBytes+=L,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=[],$=0;$>>2]>>>24-L%4*8&255;P.push((M>>>4).toString(16)),P.push((M&15).toString(16))}return P.join("")},parse:function(w){for(var C=w.length,$=[],P=0;P>>3]|=parseInt(w.substr(P,2),16)<<24-P%8*4;return new c.init($,C/2)}},d=u.Latin1={stringify:function(w){for(var C=w.words,$=w.sigBytes,P=[],L=0;L<$;L++){var M=C[L>>>2]>>>24-L%4*8&255;P.push(String.fromCharCode(M))}return P.join("")},parse:function(w){for(var C=w.length,$=[],P=0;P>>2]|=(w.charCodeAt(P)&255)<<24-P%4*8;return new c.init($,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,$=this._data,P=$.words,L=$.sigBytes,M=this.blockSize,Z=M*4,re=L/Z;w?re=e.ceil(re):re=e.max((re|0)-this._minBufferSize,0);var H=re*M,W=e.min(H*4,L);if(H){for(var oe=0;oe{(function(t,e){typeof SO=="object"?U$.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,$=p[O+0],P=p[O+1],L=p[O+2],M=p[O+3],Z=p[O+4],re=p[O+5],H=p[O+6],W=p[O+7],oe=p[O+8],pe=p[O+9],fe=p[O+10],ge=p[O+11],ve=p[O+12],_e=p[O+13],ae=p[O+14],he=p[O+15],K=C[0],A=C[1],G=C[2],se=C[3];K=c(K,A,G,se,$,7,s[0]),se=c(se,K,A,G,P,12,s[1]),G=c(G,se,K,A,L,17,s[2]),A=c(A,G,se,K,M,22,s[3]),K=c(K,A,G,se,Z,7,s[4]),se=c(se,K,A,G,re,12,s[5]),G=c(G,se,K,A,H,17,s[6]),A=c(A,G,se,K,W,22,s[7]),K=c(K,A,G,se,oe,7,s[8]),se=c(se,K,A,G,pe,12,s[9]),G=c(G,se,K,A,fe,17,s[10]),A=c(A,G,se,K,ge,22,s[11]),K=c(K,A,G,se,ve,7,s[12]),se=c(se,K,A,G,_e,12,s[13]),G=c(G,se,K,A,ae,17,s[14]),A=c(A,G,se,K,he,22,s[15]),K=u(K,A,G,se,P,5,s[16]),se=u(se,K,A,G,H,9,s[17]),G=u(G,se,K,A,ge,14,s[18]),A=u(A,G,se,K,$,20,s[19]),K=u(K,A,G,se,re,5,s[20]),se=u(se,K,A,G,fe,9,s[21]),G=u(G,se,K,A,he,14,s[22]),A=u(A,G,se,K,Z,20,s[23]),K=u(K,A,G,se,pe,5,s[24]),se=u(se,K,A,G,ae,9,s[25]),G=u(G,se,K,A,M,14,s[26]),A=u(A,G,se,K,oe,20,s[27]),K=u(K,A,G,se,_e,5,s[28]),se=u(se,K,A,G,L,9,s[29]),G=u(G,se,K,A,W,14,s[30]),A=u(A,G,se,K,ve,20,s[31]),K=f(K,A,G,se,re,4,s[32]),se=f(se,K,A,G,oe,11,s[33]),G=f(G,se,K,A,ge,16,s[34]),A=f(A,G,se,K,ae,23,s[35]),K=f(K,A,G,se,P,4,s[36]),se=f(se,K,A,G,Z,11,s[37]),G=f(G,se,K,A,W,16,s[38]),A=f(A,G,se,K,fe,23,s[39]),K=f(K,A,G,se,_e,4,s[40]),se=f(se,K,A,G,$,11,s[41]),G=f(G,se,K,A,M,16,s[42]),A=f(A,G,se,K,H,23,s[43]),K=f(K,A,G,se,pe,4,s[44]),se=f(se,K,A,G,ve,11,s[45]),G=f(G,se,K,A,he,16,s[46]),A=f(A,G,se,K,L,23,s[47]),K=d(K,A,G,se,$,6,s[48]),se=d(se,K,A,G,W,10,s[49]),G=d(G,se,K,A,ae,15,s[50]),A=d(A,G,se,K,re,21,s[51]),K=d(K,A,G,se,ve,6,s[52]),se=d(se,K,A,G,M,10,s[53]),G=d(G,se,K,A,fe,15,s[54]),A=d(A,G,se,K,P,21,s[55]),K=d(K,A,G,se,oe,6,s[56]),se=d(se,K,A,G,he,10,s[57]),G=d(G,se,K,A,H,15,s[58]),A=d(A,G,se,K,_e,21,s[59]),K=d(K,A,G,se,Z,6,s[60]),se=d(se,K,A,G,ge,10,s[61]),G=d(G,se,K,A,L,15,s[62]),A=d(A,G,se,K,pe,21,s[63]),C[0]=C[0]+K|0,C[1]=C[1]+A|0,C[2]=C[2]+G|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 $=this._hash,P=$.words,L=0;L<4;L++){var M=P[L];P[L]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}return $},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p}});function c(p,O,x,k,w,C,$){var P=p+(O&x|~O&k)+w+$;return(P<>>32-C)+O}function u(p,O,x,k,w,C,$){var P=p+(O&k|x&~k)+w+$;return(P<>>32-C)+O}function f(p,O,x,k,w,C,$){var P=p+(O^x^k)+w+$;return(P<>>32-C)+O}function d(p,O,x,k,w,C,$){var P=p+(x^(O|~k))+w+$;return(P<>>32-C)+O}r.MD5=o._createHelper(l),r.HmacMD5=o._createHmacHelper(l)}(Math),t.MD5})});var B$=pa((TO,j$)=>{(function(t,e){typeof TO=="object"?j$.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],$=p[5],P=p[6],L=p[7],M=0;M<64;M++){if(M<16)c[M]=f[d+M]|0;else{var Z=c[M-15],re=(Z<<25|Z>>>7)^(Z<<14|Z>>>18)^Z>>>3,H=c[M-2],W=(H<<15|H>>>17)^(H<<13|H>>>19)^H>>>10;c[M]=re+c[M-7]+W+c[M-16]}var oe=C&$^~C&P,pe=O&x^O&k^x&k,fe=(O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22),ge=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),ve=L+ge+oe+l[M]+c[M],_e=fe+pe;L=P,P=$,$=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]+$|0,p[6]=p[6]+P|0,p[7]=p[7]+L|0},_doFinalize:function(){var f=this._data,d=f.words,p=this._nDataBytes*8,O=f.sigBytes*8;return d[O>>>5]|=128<<24-O%32,d[(O+64>>>9<<4)+14]=e.floor(p/4294967296),d[(O+64>>>9<<4)+15]=p,f.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var f=o.clone.call(this);return f._hash=this._hash.clone(),f}});r.SHA256=o._createHelper(u),r.HmacSHA256=o._createHmacHelper(u)}(Math),t.SHA256})});var V$=pa((EO,W$)=>{(function(t,e){typeof EO=="object"?W$.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 EL=pa((TL,ww)=>{(function(t){if(typeof TL=="object"&&typeof ww!="undefined")ww.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 Z=k._renderChunk();k._lastRepaint=P,Z!==!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,$=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],he=u(ae);if(ae&&typeof ae!="string"&&typeof ae!="number"){var K="Invalid optional `"+_e+"`, expected string or number";throw new Error(K)}else he&&(C[_e]=ae+"px")});var P=!!C.horizontal,L=C[P?"width":"height"];if(L){var M=u(L),Z=M?!1:L.slice(-1)==="%",re=M?L:parseInt(L.replace(/px|%/,""),10),H=window[P?"innerWidth":"innerHeight"];Z?this._containerSize=H*re/100:this._containerSize=u(L)?L:re}var W=C.scrollContainer,oe=C.itemHeight*C.total,pe=this._maxElementHeight;oe>pe&&console.warn(["HyperList: The maximum element height",pe+"px has","been exceeded; please reduce your item height."].join(" "));var fe={width:""+C.width,height:W?oe+"px":""+C.height,overflow:W?"none":"auto",position:"relative"};p.mergeStyle(x,fe),W&&p.mergeStyle(C.scrollContainer,{overflow:"auto"});var ge=(w={opacity:"0",position:"absolute"},s(w,P?"height":"width","1px"),s(w,P?"width":"height",oe+"px"),w);p.mergeStyle($,ge),this._scroller||x.appendChild($);var ve=this._computeScrollPadding();this._scrollPaddingBottom=ve.bottom,this._scrollPaddingTop=ve.top,this._scroller=$,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 $=this._itemPositions[x]+this._scrollPaddingTop;return p.mergeStyle(w,s({position:"absolute"},k.horizontal?"left":"top",$+"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(),$=k.total,P=k.reverse?this._getReverseFrom(C):this._getFrom(C)-1;if((P<0||P-this._screenItemsLen<0)&&(P=0),!x&&this._lastFrom===P)return!1;this._lastFrom=P;var L=P+this._cachedItemsLen;(L>$||L+this._cachedItemsLen>$)&&(L=$);var M=k.useFragment?document.createDocumentFragment():[],Z=this._scroller;M[k.useFragment?"appendChild":"push"](Z);for(var re=P;re0&&arguments[0]!==void 0?arguments[0]:1,k=this._config,w=k.total,C=k.reverse;x<1&&!C&&(x=1);for(var $=x;$0&&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},xM=typeof self!="undefined"?self:null,su=typeof window!="undefined"?window:null,cu=xM||su||cu,wM="2.0.0",Un={connecting:0,open:1,closing:2,closed:3},kM=1e4,SM=1e3,Ai={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},vo={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},e1={longpoll:"longpoll",websocket:"websocket"},TM={complete:4},wd=class{constructor(t,e,r,i){this.channel=t,this.event=e,this.payload=r||function(){return{}},this.receivedResp=null,this.timeout=i,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(t){this.timeout=t,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(t,e){return this.hasReceived(t)&&e(this.receivedResp.response),this.recHooks.push({status:t,callback:e}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:t,response:e,_ref:r}){this.recHooks.filter(i=>i.status===t).forEach(i=>i.callback(e))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,t=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=t,this.matchReceive(t)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}trigger(t,e){this.channel.trigger(this.refEvent,{status:t,response:e})}},tk=class{constructor(t,e){this.callback=t,this.timerCalc=e,this.timer=null,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},EM=class{constructor(t,e,r){this.state=Ai.closed,this.topic=t,this.params=lu(e||{}),this.socket=r,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new wd(this,vo.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new tk(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=Ai.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>i.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=Ai.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=Ai.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=Ai.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic} (${this.joinRef()})`,this.joinPush.timeout),new wd(this,vo.leave,lu({}),this.timeout).send(),this.state=Ai.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(vo.reply,(i,n)=>{this.trigger(this.replyEventName(n),i)})}join(t=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=t,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(t){this.on(vo.close,t)}onError(t){return this.on(vo.error,e=>t(e))}on(t,e){let r=this.bindingRef++;return this.bindings.push({event:t,ref:r,callback:e}),r}off(t,e){this.bindings=this.bindings.filter(r=>!(r.event===t&&(typeof e=="undefined"||e===r.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(t,e,r=this.timeout){if(e=e||{},!this.joinedOnce)throw new Error(`tried to push '${t}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let i=new wd(this,t,function(){return e},r);return this.canPush()?i.send():(i.startTimeout(),this.pushBuffer.push(i)),i}leave(t=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=Ai.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(vo.close,"leave")},r=new wd(this,vo.leave,lu({}),t);return r.receive("ok",()=>e()).receive("timeout",()=>e()),r.send(),this.canPush()||r.trigger("ok",{}),r}onMessage(t,e,r){return e}isMember(t,e,r,i){return this.topic!==t?!1:i&&i!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:t,event:e,payload:r,joinRef:i}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(t=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=Ai.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===TM.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)}`}},CM=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=CM(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=Sd.request(t,this.endpointURL(),e,r,this.timeout,a,s=>{this.reqs.delete(o),this.isActive()&&n(s)}),this.reqs.add(o)}};var kd={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:vo.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}}},Td=class{constructor(t,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||kM,this.transport=e.transport||cu.WebSocket||Jg,this.establishedConnections=0,this.defaultEncoder=kd.encode.bind(kd),this.defaultDecoder=kd.decode.bind(kd),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==Jg?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let r=null;su&&su.addEventListener&&(su.addEventListener("pagehide",i=>{this.conn&&(this.disconnect(),r=this.connectClock)}),su.addEventListener("pageshow",i=>{r===this.connectClock&&(r=null,this.connect())})),this.heartbeatIntervalMs=e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=i=>e.rejoinAfterMs?e.rejoinAfterMs(i):[1e3,2e3,5e3][i-1]||1e4,this.reconnectAfterMs=i=>e.reconnectAfterMs?e.reconnectAfterMs(i):[10,50,100,150,200,250,500,1e3,2e3][i-1]||5e3,this.logger=e.logger||null,this.longpollerTimeout=e.longpollerTimeout||2e4,this.params=lu(e.params||{}),this.endPoint=`${t}/${e1.websocket}`,this.vsn=e.vsn||wM,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new tk(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return Jg}replaceTransport(t){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=t}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let t=Sd.appendParams(Sd.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return t.charAt(0)!=="/"?t:t.charAt(1)==="/"?`${this.protocol()}:${t}`:`${this.protocol()}://${location.host}${t}`}disconnect(t,e,r){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(t,e,r)}connect(t){t&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=lu(t)),!this.conn&&(this.connectClock++,this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=e=>this.onConnError(e),this.conn.onmessage=e=>this.onConnMessage(e),this.conn.onclose=e=>this.onConnClose(e))}log(t,e,r){this.logger(t,e,r)}hasLogger(){return this.logger!==null}onOpen(t){let e=this.makeRef();return this.stateChangeCallbacks.open.push([e,t]),e}onClose(t){let e=this.makeRef();return this.stateChangeCallbacks.close.push([e,t]),e}onError(t){let e=this.makeRef();return this.stateChangeCallbacks.error.push([e,t]),e}onMessage(t){let e=this.makeRef();return this.stateChangeCallbacks.message.push([e,t]),e}ping(t){if(!this.isConnected())return!1;let e=this.makeRef(),r=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:e});let i=this.onMessage(n=>{n.ref===e&&(this.off([i]),t(Date.now()-r))});return!0}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,t])=>t())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),SM,"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(vo.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 EM(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 Ek="consecutive-reloads",PM=10,_M=5e3,AM=1e4,QM=3e4,Ck=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading"],wo="data-phx-component",t1="data-phx-link",$M="track-static",XM="data-phx-link-state",$i="data-phx-ref",Oa="data-phx-ref-src",Pk="track-uploads",ba="data-phx-upload-ref",O1="data-phx-preflighted-refs",RM="data-phx-done-refs",rk="drop-target",f1="data-phx-active-refs",zd="phx:live-file:updated",_k="data-phx-skip",Ak="data-phx-id",ik="data-phx-prune",nk="page-loading",ok="phx-connected",uu="phx-loading",r1="phx-no-feedback",Ed="phx-error",ak="phx-client-error",i1="phx-server-error",$l="data-phx-parent-id",g1="data-phx-main",yu="data-phx-root-id",h1="viewport-top",d1="viewport-bottom",IM="trigger-action",Nd="feedback-for",p1="phx-has-focused",LM=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],Qk=["checkbox","radio"],Ud="phx-has-submitted",ya="data-phx-session",Rl=`[${ya}]`,sk="data-phx-sticky",gu="data-phx-static",n1="data-phx-readonly",Cd="data-phx-disabled",m1="disable-with",Pd="data-phx-disable-with-restore",fu="hook",MM="debounce",zM="throttle",qd="update",_d="stream",hu="data-phx-stream",DM="key",qn="phxPrivate",lk="auto-recover",Ad="phx:live-socket:debug",o1="phx:live-socket:profiling",a1="phx:live-socket:latency-sim",NM="progress",ck="mounted",UM=1,qM=200,jM="phx-",BM=3e4,du="debounce-trigger",Qd="throttled",uk="debounce-prev-key",WM={debounce:300,throttle:300},$d="d",jn="s",s1="r",Qi="c",fk="e",hk="r",dk="t",VM="p",pk="stream",FM=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 Xi("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))}},Xi=(t,e)=>console.error&&console.error(t,e),xo=t=>{let e=typeof t;return e==="number"||e==="string"&&/^(0|[1-9]\d*)$/.test(t)};function ZM(){let t=new Set,e=document.querySelectorAll("*[id]");for(let r=0,i=e.length;r{t.liveSocket.isDebugEnabled()&&console.log(`${t.id} ${e}: ${r} - `,i)},l1=t=>typeof t=="function"?t:function(){return t},Dd=t=>JSON.parse(JSON.stringify(t)),bu=(t,e,r)=>{do{if(t.matches(`[${e}]`)&&!t.disabled)return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1&&!(r&&r.isSameNode(t)||t.matches(Rl)));return null},pu=t=>t!==null&&typeof t=="object"&&!(t instanceof Array),HM=(t,e)=>JSON.stringify(t)===JSON.stringify(e),mk=t=>{for(let e in t)return!1;return!0},ga=(t,e)=>t&&e(t),GM=function(t,e,r,i){t.forEach(n=>{new FM(n,r.config.chunk_size,i).upload()})},$k={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&&$k.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}"]`)}},Bn=$k,Yi={byId(t){return document.getElementById(t)||Xi(`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(ba)!==null},isAutoUpload(t){return t.hasAttribute("data-phx-auto-upload")},findUploadInputs(t){return this.all(t,`input[type="file"][${ba}]`)},findComponentNodeList(t,e){return this.filterWithinSameLiveView(this.all(t,`[${wo}="${e}"]`),t)},isPhxDestroyed(t){return!!(t.id&&Yi.private(t,"destroyed"))},wantsNewTab(t){let e=t.ctrlKey||t.shiftKey||t.metaKey||t.button&&t.button===1,r=t.target instanceof HTMLAnchorElement&&t.target.hasAttribute("download"),i=t.target.hasAttribute("target")&&t.target.getAttribute("target").toLowerCase()==="_blank";return e||i||r},isUnloadableFormSubmit(t){return t.target&&t.target.getAttribute("method")==="dialog"||t.submitter&&t.submitter.getAttribute("formmethod")==="dialog"?!1:!t.defaultPrevented&&!this.wantsNewTab(t)},isNewPageClick(t,e){let r=t.target instanceof HTMLAnchorElement?t.target.getAttribute("href"):null,i;if(t.defaultPrevented||r===null||this.wantsNewTab(t)||r.startsWith("mailto:")||r.startsWith("tel:")||t.target.isContentEditable)return!1;try{i=new URL(r)}catch(n){try{i=new URL(r,e)}catch(o){return!0}}return i.host===e.host&&i.protocol===e.protocol&&i.pathname===e.pathname&&i.search===e.search?i.hash===""&&!i.href.endsWith("#"):i.protocol.startsWith("http")},markPhxChildDestroyed(t){this.isPhxChild(t)&&t.setAttribute(ya,""),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,`[${sk}]`)},findPhxChildren(t,e){return this.all(t,`${Rl}[${$l}="${e}"]`)},findParentCIDs(t,e){let r=new Set(e),i=e.reduce((n,o)=>{let a=`[${wo}="${o}"] [${wo}]`;return this.filterWithinSameLiveView(this.all(t,a),t).map(s=>parseInt(s.getAttribute(wo))).forEach(s=>n.delete(s)),n},r);return i.size===0?new Set(e):i},filterWithinSameLiveView(t,e){return e.querySelector(Rl)?t.filter(r=>this.withinSameLiveView(r,e)):t},withinSameLiveView(t,e){for(;t=t.parentNode;){if(t.isSameNode(e))return!0;if(t.getAttribute(ya)!==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,Qd):s(),p=this.incCycle(t,du,d);if(isNaN(f))return Xi(`invalid throttle/debounce value: ${u}`);if(c){let x=!1;if(e.type==="keydown"){let k=this.private(t,uk);this.putPrivate(t,uk,e.key),x=k!==e.key}if(!x&&this.private(t,Qd))return!1;s(),this.putPrivate(t,Qd,!0),setTimeout(()=>{a()&&this.triggerCycle(t,du)},f)}else setTimeout(()=>{a()&&this.triggerCycle(t,du,p)},f);let O=t.form;O&&this.once(O,"bind-debounce")&&O.addEventListener("submit",()=>{Array.from(new FormData(O).entries(),([x])=>{let k=O.querySelector(`[name="${x}"]`);this.incCycle(k,du),this.deletePrivate(k,Qd)})}),this.once(t,"bind-debounce")&&t.addEventListener("blur",()=>this.triggerCycle(t,du))}},triggerCycle(t,e,r){let[i,n]=this.private(t,e);r||(r=i),r===i&&(this.incCycle(t,e),n())},once(t,e){return this.private(t,e)===!0?!1:(this.putPrivate(t,e,!0),!0)},incCycle(t,e,r=function(){}){let[i]=this.private(t,e)||[0,r];return i++,this.putPrivate(t,e,[i,r]),i},maybeAddPrivateHooks(t,e,r){t.hasAttribute&&(t.hasAttribute(e)||t.hasAttribute(r))&&t.setAttribute("data-phx-hook","Phoenix.InfiniteScroll")},maybeHideFeedback(t,e,r){let i=[];if(e.forEach(n=>{this.private(n,p1)||this.private(n,Ud)||(i.push(n.name),n.name.endsWith("[]")&&i.push(n.name.slice(0,-2)))}),i.length>0){let n=i.map(o=>`[${r}="${o}"]`).join(", ");Yi.all(t,n,o=>o.classList.add(r1))}},resetForm(t,e){Array.from(t.elements).forEach(r=>{let i=`[${e}="${r.id}"], [${e}="${r.name}"], - [${e}="${r.name.replace(/\[\]$/,"")}"]`;this.deletePrivate(r,p1),this.deletePrivate(r,Nd),this.all(document,i,n=>{n.classList.add(r1)})})},showError(t,e){(t.id||t.name)&&this.all(t.form,`[${e}="${t.id}"], [${e}="${t.name}"]`,r=>{this.removeClass(r,r1)})},isPhxChild(t){return t.getAttribute&&t.getAttribute($l)},isPhxSticky(t){return t.getAttribute&&t.getAttribute(sk)!==null},firstPhxChild(t){return this.isPhxChild(t)?t:this.all(t,`[${$l}]`)[0]},dispatchEvent(t,e,r={}){let n={bubbles:r.bubbles===void 0?!0:!!r.bubbles,cancelable:!0,detail:r.detail||{}},o=e==="click"?new MouseEvent("click",n):new CustomEvent(e,n);t.dispatchEvent(o)},cloneNode(t,e){if(typeof e=="undefined")return t.cloneNode(!0);{let r=t.cloneNode(!1);return r.innerHTML=e,r}},mergeAttrs(t,e,r={}){let i=r.exclude||[],n=r.isIgnored,o=e.attributes;for(let s=o.length-1;s>=0;s--){let l=o[s].name;i.indexOf(l)<0&&t.setAttribute(l,e.getAttribute(l))}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)&&![$i,Oa].includes(l)&&t.removeAttribute(l):e.hasAttribute(l)||t.removeAttribute(l)}},mergeFocusedInput(t,e){t instanceof HTMLSelectElement||Yi.mergeAttrs(t,e,{exclude:["value"]}),e.readOnly?t.setAttribute("readonly",!0):t.removeAttribute("readonly")},hasSelectionRange(t){return t.setSelectionRange&&(t.type==="text"||t.type==="textarea")},restoreFocus(t,e,r){if(!Yi.isTextualInput(t))return;let i=t.matches(":focus");t.readOnly&&t.blur(),i||t.focus(),this.hasSelectionRange(t)&&t.setSelectionRange(e,r)},isFormInput(t){return/^(?:input|select|textarea)$/i.test(t.tagName)&&t.type!=="button"},syncAttrsToProps(t){t instanceof HTMLInputElement&&Qk.indexOf(t.type.toLocaleLowerCase())>=0&&(t.checked=t.getAttribute("checked")!==null)},isTextualInput(t){return LM.indexOf(t.type)>=0},isNowTriggerFormExternal(t,e){return t.getAttribute&&t.getAttribute(e)!==null},syncPendingRef(t,e,r){let i=t.getAttribute($i);if(i===null)return!0;let n=t.getAttribute(Oa);return Yi.isFormInput(t)||t.getAttribute(r)!==null?(Yi.isUploadInput(t)&&Yi.mergeAttrs(t,e,{isIgnored:!0}),Yi.putPrivate(t,$i,e),!1):(Ck.forEach(o=>{t.classList.contains(o)&&e.classList.add(o)}),e.setAttribute($i,i),e.setAttribute(Oa,n),!0)},cleanChildNodes(t,e){if(Yi.isPhxUpdate(t,e,["append","prepend"])){let r=[];t.childNodes.forEach(i=>{i.id||(i.nodeType===Node.TEXT_NODE&&i.nodeValue.trim()===""||Xi(`only HTML element tags with an id are allowed inside containers with phx-update. + [${e}="${r.name.replace(/\[\]$/,"")}"]`;this.deletePrivate(r,p1),this.deletePrivate(r,Ud),this.all(document,i,n=>{n.classList.add(r1)})})},showError(t,e){(t.id||t.name)&&this.all(t.form,`[${e}="${t.id}"], [${e}="${t.name}"]`,r=>{this.removeClass(r,r1)})},isPhxChild(t){return t.getAttribute&&t.getAttribute($l)},isPhxSticky(t){return t.getAttribute&&t.getAttribute(sk)!==null},firstPhxChild(t){return this.isPhxChild(t)?t:this.all(t,`[${$l}]`)[0]},dispatchEvent(t,e,r={}){let n={bubbles:r.bubbles===void 0?!0:!!r.bubbles,cancelable:!0,detail:r.detail||{}},o=e==="click"?new MouseEvent("click",n):new CustomEvent(e,n);t.dispatchEvent(o)},cloneNode(t,e){if(typeof e=="undefined")return t.cloneNode(!0);{let r=t.cloneNode(!1);return r.innerHTML=e,r}},mergeAttrs(t,e,r={}){let i=r.exclude||[],n=r.isIgnored,o=e.attributes;for(let s=o.length-1;s>=0;s--){let l=o[s].name;i.indexOf(l)<0&&t.setAttribute(l,e.getAttribute(l))}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)&&![$i,Oa].includes(l)&&t.removeAttribute(l):e.hasAttribute(l)||t.removeAttribute(l)}},mergeFocusedInput(t,e){t instanceof HTMLSelectElement||Yi.mergeAttrs(t,e,{exclude:["value"]}),e.readOnly?t.setAttribute("readonly",!0):t.removeAttribute("readonly")},hasSelectionRange(t){return t.setSelectionRange&&(t.type==="text"||t.type==="textarea")},restoreFocus(t,e,r){if(!Yi.isTextualInput(t))return;let i=t.matches(":focus");t.readOnly&&t.blur(),i||t.focus(),this.hasSelectionRange(t)&&t.setSelectionRange(e,r)},isFormInput(t){return/^(?:input|select|textarea)$/i.test(t.tagName)&&t.type!=="button"},syncAttrsToProps(t){t instanceof HTMLInputElement&&Qk.indexOf(t.type.toLocaleLowerCase())>=0&&(t.checked=t.getAttribute("checked")!==null)},isTextualInput(t){return LM.indexOf(t.type)>=0},isNowTriggerFormExternal(t,e){return t.getAttribute&&t.getAttribute(e)!==null},syncPendingRef(t,e,r){let i=t.getAttribute($i);if(i===null)return!0;let n=t.getAttribute(Oa);return Yi.isFormInput(t)||t.getAttribute(r)!==null?(Yi.isUploadInput(t)&&Yi.mergeAttrs(t,e,{isIgnored:!0}),Yi.putPrivate(t,$i,e),!1):(Ck.forEach(o=>{t.classList.contains(o)&&e.classList.add(o)}),e.setAttribute($i,i),e.setAttribute(Oa,n),!0)},cleanChildNodes(t,e){if(Yi.isPhxUpdate(t,e,["append","prepend"])){let r=[];t.childNodes.forEach(i=>{i.id||(i.nodeType===Node.TEXT_NODE&&i.nodeValue.trim()===""||Xi(`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",ya,gu,g1,yu]);if(t.tagName.toLowerCase()===e.toLowerCase())return Array.from(t.attributes).filter(n=>!i.has(n.name.toLowerCase())).forEach(n=>t.removeAttribute(n.name)),Object.keys(r).filter(n=>!i.has(n.toLowerCase())).forEach(n=>t.setAttribute(n,r[n])),t;{let n=document.createElement(e);return Object.keys(r).forEach(o=>n.setAttribute(o,r[o])),i.forEach(o=>n.setAttribute(o,t.getAttribute(o))),n.innerHTML=t.innerHTML,t.replaceWith(n),n}},getSticky(t,e,r){let i=(Yi.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=Yi.private(t,"sticky");e&&e.forEach(([r,i,n])=>this.putSticky(t,r,i))}},de=Yi,c1=class{static isActive(t,e){let r=e._phxRef===void 0,n=t.getAttribute(f1).split(",").indexOf($r.genFileRef(e))>=0;return e.size>0&&(r||n)}static isPreflighted(t,e){return t.getAttribute(O1).split(",").indexOf($r.genFileRef(e))>=0&&this.isActive(t,e)}constructor(t,e,r){this.ref=$r.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,()=>{$r.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)||$r.clearFiles(this.fileEl)}onDone(t){this._onDone=()=>{this.fileEl.removeEventListener(Md,this._onElUpdated),t()}}onElUpdated(){this.fileEl.getAttribute(f1).split(",").indexOf(this.ref)===-1&&this.cancel()}toPreflightPayload(){return{last_modified:this.file.lastModified,name:this.file.name,relative_path:this.file.webkitRelativePath,size:this.file.size,type:this.file.type,ref:this.ref,meta:typeof this.file.meta=="function"?this.file.meta():void 0}}uploader(t){if(this.meta.uploader){let e=t[this.meta.uploader]||Xi(`no uploader configured for ${this.meta.uploader}`);return{name:this.meta.uploader,callback:e}}else return{name:"channel",callback:GM}}zipPostFlight(t){this.meta=t.entries[this.ref],this.meta||Xi(`no preflight upload response returned with ref ${this.ref}`,{input:this.fileEl,response:t})}},KM=0,$r=class{static genFileRef(t){let e=t._phxRef;return e!==void 0?e:(t._phxRef=(KM++).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(O1)!==r.getAttribute(RM)&&e++}),e>0}static serializeUploads(t){let e=this.activeFiles(t),r={};return e.forEach(i=>{let n={path:t.name},o=t.getAttribute(ba);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(ba),de.putPrivate(t,"files",[])}static untrackFile(t,e){de.putPrivate(t,"files",de.private(t,"files").filter(r=>!Object.is(r,e)))}static trackFiles(t,e,r){if(t.getAttribute("multiple")!==null){let i=e.filter(n=>!this.activeFiles(t).find(o=>Object.is(o,n)));de.putPrivate(t,"files",this.activeFiles(t).concat(i)),t.value=null}else r&&r.files.length>0&&(t.files=r.files),de.putPrivate(t,"files",e)}static activeFileInputs(t){let e=de.findUploadInputs(t);return Array.from(e).filter(r=>r.files&&this.activeFiles(r).length>0)}static activeFiles(t){return(de.private(t,"files")||[]).filter(e=>c1.isActive(t,e))}static inputsAwaitingPreflight(t){let e=de.findUploadInputs(t);return Array.from(e).filter(r=>this.filesAwaitingPreflight(r).length>0)}static filesAwaitingPreflight(t){return this.activeFiles(t).filter(e=>!c1.isPreflighted(t,e))}constructor(t,e,r){this.view=e,this.onComplete=r,this._entries=Array.from($r.filesAwaitingPreflight(t)||[]).map(i=>new c1(t,i,e)),this.numEntriesInProgress=this._entries.length}entries(){return this._entries}initAdapterUpload(t,e,r){this._entries=this._entries.map(n=>(n.zipPostFlight(t),n.onDone(()=>{this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()}),n));let i=this._entries.reduce((n,o)=>{if(!o.meta)return n;let{name: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)}}},JM={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}}},Xl=JM,Xk={LiveFileUpload:{activeRefs(){return this.el.getAttribute(f1)},preflightedRefs(){return this.el.getAttribute(O1)},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(ba)),$r.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",()=>Xl.focusLast(this.el)),this.focusEnd.addEventListener("focus",()=>Xl.focusFirst(this.el)),this.el.addEventListener("phx:show-end",()=>this.el.focus()),window.getComputedStyle(this.el).display!=="none"&&Xl.focusFirst(this.el)}}},Ok=()=>document.documentElement.scrollTop||document.body.scrollTop,b1=()=>window.innerHeight||document.documentElement.clientHeight,ez=t=>{let e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.top<=b1()},tz=t=>{let e=t.getBoundingClientRect();return e.right>=0&&e.left>=0&&e.bottom<=b1()},gk=t=>{let e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.top<=b1()};Xk.InfiniteScroll={mounted(){let t=Ok(),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,gk(l)||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,gk(l)||l.scrollIntoView({block:"end"})})});this.onScroll=s=>{let l=Ok();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&&ez(p)?o(u,p):f&&x&&tz(d)&&a(f,d),t=l},window.addEventListener("scroll",this.onScroll)},destroyed(){window.removeEventListener("scroll",this.onScroll)},throttle(t,e){let r=0,i;return(...n)=>{let o=Date.now(),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 rz=Xk,iz=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?ga(document.getElementById(e.previousElementId),r=>{ga(document.getElementById(e.elementId),i=>{i.previousElementSibling&&i.previousElementSibling.id==r.id||r.insertAdjacentElement("afterend",i)})}):ga(document.getElementById(e.elementId),r=>{r.previousElementSibling==null||t.insertAdjacentElement("afterbegin",r)})}),this.updateType=="prepend"&&this.elementIdsToAdd.reverse().forEach(e=>{ga(document.getElementById(e),r=>t.insertAdjacentElement("afterbegin",r))})}},bk=11;function nz(t,e){var r=e.attributes,i,n,o,a,s;if(!(e.nodeType===bk||t.nodeType===bk)){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 $d,oz="http://www.w3.org/1999/xhtml",gi=typeof document=="undefined"?void 0:document,az=!!gi&&"content"in gi.createElement("template"),sz=!!gi&&gi.createRange&&"createContextualFragment"in gi.createRange();function lz(t){var e=gi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function cz(t){$d||($d=gi.createRange(),$d.selectNode(gi.body));var e=$d.createContextualFragment(t);return e.childNodes[0]}function uz(t){var e=gi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function fz(t){return t=t.trim(),az?lz(t):sz?cz(t):uz(t)}function Xd(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 hz(t,e){return!e||e===oz?gi.createElement(t):gi.createElementNS(e,t)}function dz(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function u1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var yk={OPTION:function(t,e){var r=t.parentNode;if(r){var i=r.nodeName.toUpperCase();i==="OPTGROUP"&&(r=r.parentNode,i=r&&r.nodeName.toUpperCase()),i==="SELECT"&&!r.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),r.selectedIndex=-1)}u1(t,e,"selected")},INPUT:function(t,e){u1(t,e,"checked"),u1(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var r=e.value;t.value!==r&&(t.value=r);var i=t.firstChild;if(i){var n=i.nodeValue;if(n==r||!r&&n==t.placeholder)return;i.nodeValue=r}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var r=-1,i=0,n=t.firstChild,o,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}}},mu=1,vk=11,xk=3,wk=8;function ma(){}function pz(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function mz(t){return function(r,i,n){if(n||(n={}),typeof i=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"||r.nodeName==="BODY"){var o=i;i=gi.createElement("html"),i.innerHTML=o}else i=fz(i);else i.nodeType===vk&&(i=i.firstElementChild);var a=n.getNodeKey||pz,s=n.onBeforeNodeAdded||ma,l=n.onNodeAdded||ma,c=n.onBeforeElUpdated||ma,u=n.onElUpdated||ma,f=n.onBeforeNodeDiscarded||ma,d=n.onNodeDiscarded||ma,p=n.onBeforeElChildrenUpdated||ma,O=n.skipFromChildren||ma,x=n.addChild||function(ae,he){return ae.appendChild(he)},k=n.childrenOnly===!0,w=Object.create(null),C=[];function $(ae){C.push(ae)}function P(ae,he){if(ae.nodeType===mu)for(var K=ae.firstChild;K;){var A=void 0;he&&(A=a(K))?$(A):(d(K),K.firstChild&&P(K,he)),K=K.nextSibling}}function L(ae,he,K){f(ae)!==!1&&(he&&he.removeChild(ae),d(ae),P(ae,K))}function M(ae){if(ae.nodeType===mu||ae.nodeType===vk)for(var he=ae.firstChild;he;){var K=a(he);K&&(w[K]=he),M(he),he=he.nextSibling}}M(r);function Z(ae){l(ae);for(var he=ae.firstChild;he;){var K=he.nextSibling,A=a(he);if(A){var G=w[A];G&&Xd(he,G)?(he.parentNode.replaceChild(G,he),H(G,he)):Z(he)}else Z(he);he=K}}function re(ae,he,K){for(;he;){var A=he.nextSibling;(K=a(he))?$(K):L(he,ae,!0),he=A}}function H(ae,he,K){var A=a(he);A&&delete w[A],!(!K&&(c(ae,he)===!1||(t(ae,he),u(ae),p(ae,he)===!1)))&&(ae.nodeName!=="TEXTAREA"?W(ae,he):yk.TEXTAREA(ae,he))}function W(ae,he){var K=O(ae,he),A=he.firstChild,G=ae.firstChild,se,q,Je,st,at;e:for(;A;){for(st=A.nextSibling,se=a(A);!K&&G;){if(Je=G.nextSibling,A.isSameNode&&A.isSameNode(G)){A=st,G=Je;continue e}q=a(G);var Ce=G.nodeType,Ze=void 0;if(Ce===A.nodeType&&(Ce===mu?(se?se!==q&&((at=w[se])?Je===at?Ze=!1:(ae.insertBefore(at,G),q?$(q):L(G,ae,!0),G=at):Ze=!1):q&&(Ze=!1),Ze=Ze!==!1&&Xd(G,A),Ze&&H(G,A)):(Ce===xk||Ce==wk)&&(Ze=!0,G.nodeValue!==A.nodeValue&&(G.nodeValue=A.nodeValue))),Ze){A=st,G=Je;continue e}q?$(q):L(G,ae,!0),G=Je}if(se&&(at=w[se])&&Xd(at,A))K||x(ae,at),H(at,A);else{var Rt=s(A);Rt!==!1&&(Rt&&(A=Rt),A.actualize&&(A=A.actualize(ae.ownerDocument||gi)),x(ae,A),Z(A))}A=st,G=Je}re(ae,G,q);var ct=yk[ae.nodeName];ct&&ct(ae,he)}var oe=r,pe=oe.nodeType,fe=i.nodeType;if(!k){if(pe===mu)fe===mu?Xd(r,i)||(d(r),oe=dz(r,hz(i.nodeName,i.namespaceURI))):oe=i;else if(pe===xk||pe===wk){if(fe===pe)return oe.nodeValue!==i.nodeValue&&(oe.nodeValue=i.nodeValue),oe;oe=i}}if(oe===i)d(r);else{if(i.isSameNode&&i.isSameNode(oe))return;if(H(oe,i,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.targetCID=o,this.cidPatch=xo(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(Ud);de.all(this.container,`[${t}=${Pd}]`,e=>e.innerHTML=""),de.all(this.container,`[${t}=append] > *, [${t}=prepend] > *`,e=>{e.setAttribute(ik,"")})}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(Ud),u=r.binding(Dd),f=r.binding(m1),d=r.binding(h1),p=r.binding(d1),O=r.binding(IM),x=[],k=[],w=[],C=[],$=null;return this.trackBefore("added",i),this.trackBefore("updated",i,i),r.time("morphdom",()=>{this.streams.forEach(([P,L,M,Z])=>{Object.entries(L).forEach(([re,[H,W]])=>{this.streamInserts[re]={ref:P,streamAt:H,limit:W,resetKept:!1}}),Z!==void 0&&de.all(i,`[${hu}="${P}"]`,re=>{L[re.id]?this.streamInserts[re.id].resetKept=!0:this.removeStreamChildElement(re)}),M.forEach(re=>{let H=i.querySelector(`[id="${re}"]`);H&&this.removeStreamChildElement(H)})}),kk(o,n,{childrenOnly:o.getAttribute(wo)===null,getNodeKey:P=>de.isPhxDestroyed(P)?null:t?P.id:P.id||P.getAttribute&&P.getAttribute(Ak),skipFromChildren:P=>P.getAttribute(c)===Pd,addChild:(P,L)=>{let{ref:M,streamAt:Z,limit:re}=this.getStreamInsert(L);if(M===void 0)return P.appendChild(L);if(de.putSticky(L,hu,oe=>oe.setAttribute(hu,M)),Z===0)P.insertAdjacentElement("afterbegin",L);else if(Z===-1)P.appendChild(L);else if(Z>0){let oe=Array.from(P.children)[Z];P.insertBefore(L,oe)}let H=re!==null&&Array.from(P.children),W=[];re&&re<0&&H.length>re*-1?W=H.slice(0,H.length+re):re&&re>=0&&H.length>re&&(W=H.slice(re)),W.forEach(oe=>{this.streamInserts[oe.id]||this.removeStreamChildElement(oe)})},onBeforeNodeAdded:P=>(de.maybeAddPrivateHooks(P,d,p),this.trackBefore("added",P),P),onNodeAdded:P=>{P.getAttribute&&this.maybeReOrderStream(P),P instanceof HTMLImageElement&&P.srcset?P.srcset=P.srcset:P instanceof HTMLVideoElement&&P.autoplay&&P.play(),de.isNowTriggerFormExternal(P,O)&&($=P),P.getAttribute&&P.getAttribute("name")&&de.isFormInput(P)&&k.push(P),(de.isPhxChild(P)&&e.ownsElement(P)||de.isPhxSticky(P)&&e.ownsElement(P.parentNode))&&this.trackAfter("phxChildAdded",P),x.push(P)},onBeforeElChildrenUpdated:(P,L)=>{if(P.getAttribute(c)===Pd){let M=Array.from(L.children).map(Z=>Z.id);Array.from(P.children).filter(Z=>{let{resetKept:re}=this.getStreamInsert(Z);return re}).forEach(Z=>{this.streamInserts[Z.id].streamAt=M.indexOf(Z.id)})}},onNodeDiscarded:P=>this.onNodeDiscarded(P),onBeforeNodeDiscarded:P=>P.getAttribute&&P.getAttribute(ik)!==null?!0:!(P.parentElement!==null&&P.id&&de.isPhxUpdate(P.parentElement,c,[Pd,"append","prepend"])||this.maybePendingRemove(P)||this.skipCIDSibling(P)),onElUpdated:P=>{de.isNowTriggerFormExternal(P,O)&&($=P),w.push(P),this.maybeReOrderStream(P)},onBeforeElUpdated:(P,L)=>{if(de.maybeAddPrivateHooks(L,d,p),de.cleanChildNodes(L,c),this.skipCIDSibling(L)||de.isPhxSticky(P))return!1;if(de.isIgnored(P,c)||P.form&&P.form.isSameNode($))return this.trackBefore("updated",P,L),de.mergeAttrs(P,L,{isIgnored:!0}),w.push(P),de.applyStickyOperations(P),!1;if(P.type==="number"&&P.validity&&P.validity.badInput)return!1;if(!de.syncPendingRef(P,L,f))return de.isUploadInput(P)&&(this.trackBefore("updated",P,L),w.push(P)),de.applyStickyOperations(P),!1;if(de.isPhxChild(L)){let Z=P.getAttribute(ya);return de.mergeAttrs(P,L,{exclude:[gu]}),Z!==""&&P.setAttribute(ya,Z),P.setAttribute(yu,this.rootID),de.applyStickyOperations(P),!1}return de.copyPrivates(L,P),a&&P.isSameNode(a)&&de.isFormInput(P)&&P.type!=="hidden"?(this.trackBefore("updated",P,L),de.mergeFocusedInput(P,L),de.syncAttrsToProps(P),w.push(P),de.applyStickyOperations(P),k.push(P),!1):(de.isPhxUpdate(L,c,["append","prepend"])&&C.push(new iz(P,L,L.getAttribute(c))),de.syncAttrsToProps(L),de.applyStickyOperations(L),L.getAttribute("name")&&de.isFormInput(L)&&k.push(L),this.trackBefore("updated",P,L),!0)}})}),r.isDebugEnabled()&&ZM(),C.length>0&&r.time("post-morph append/prepend restoration",()=>{C.forEach(P=>P.perform())}),de.maybeHideFeedback(o,k,u),r.silenceEvents(()=>de.restoreFocus(a,s,l)),de.dispatchEvent(document,"phx:update"),x.forEach(P=>this.trackAfter("added",P)),w.forEach(P=>this.trackAfter("updated",P)),this.transitionPendingRemoves(),$&&(r.unload(),Object.getPrototypeOf($).submit.call($)),!0}onNodeDiscarded(t){(de.isPhxChild(t)||de.isPhxSticky(t))&&this.liveSocket.destroyViewByEl(t),this.trackAfter("discarded",t)}maybePendingRemove(t){return t.getAttribute&&t.getAttribute(this.phxRemove)!==null?(this.pendingRemoves.push(t),!0):!1}removeStreamChildElement(t){this.maybePendingRemove(t)||(t.remove(),this.onNodeDiscarded(t))}getStreamInsert(t){return(t.id?this.streamInserts[t.id]:{})||{}}maybeReOrderStream(t){let{ref:e,streamAt:r,limit:i}=this.getStreamInsert(t);if(r!==void 0){if(de.putSticky(t,hu,n=>n.setAttribute(hu,e)),r===0)t.parentElement.insertBefore(t,t.parentElement.firstElementChild);else if(r>0){let n=Array.from(t.parentElement.children),o=n.indexOf(t);if(r>=n.length-1)t.parentElement.appendChild(t);else{let a=n[r];o>r?t.parentElement.insertBefore(t,a):t.parentElement.insertBefore(t,a.nextElementSibling)}}}}transitionPendingRemoves(){let{pendingRemoves:t,liveSocket:e}=this;t.length>0&&(e.transitionRemoves(t),e.requestDOMUpdate(()=>{t.forEach(r=>{let i=de.firstPhxChild(r);i&&e.destroyViewByEl(i),r.remove()}),this.trackAfter("transitionsDiscarded",t)}))}isCIDPatch(){return this.cidPatch}skipCIDSibling(t){return t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute(_k)}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)}},gz=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),bz=new Set(["'",'"']),Sk=(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(bz.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}"`:"";gz.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]},Tk=class{static extract(t){let{[hk]:e,[fk]:r,[dk]:i}=t;return delete t[hk],delete t[fk],delete t[dk],{diff:t,title:i,reply:e||null,events:r||[]}}constructor(t,e){this.viewId=t,this.rendered={},this.magicId=0,this.mergeDiff(e)}parentViewId(){return this.viewId}toString(t){let[e,r]=this.recursiveToString(this.rendered,this.rendered[Qi],t,!0,{});return[e,r]}recursiveToString(t,e=t[Qi],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[Qi]||{}).map(e=>parseInt(e))}isComponentOnlyDiff(t){return t[Qi]?Object.keys(t).length===1:!1}getComponent(t,e){return t[Qi][e]}mergeDiff(t){let e=t[Qi],r={};if(delete t[Qi],this.rendered=this.mutableMerge(this.rendered,t),this.rendered[Qi]=this.rendered[Qi]||{},e){let i=this.rendered[Qi];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[Qi]=e}}cachedFindComponent(t,e,r,i,n){if(n[t])return n[t];{let o,a,s=e[jn];if(xo(s)){let l;s>0?l=this.cachedFindComponent(s,i[s],r,i,n):l=r[-s],a=l[jn],o=this.cloneMerge(l,e,!0),o[jn]=a}else o=e[jn]!==void 0||r[t]===void 0?e:this.cloneMerge(r[t],e,!1);return n[t]=o,o}}mutableMerge(t,e){return e[jn]!==void 0?e:(this.doMutableMerge(t,e),t)}doMutableMerge(t,e){for(let r in e){let i=e[r],n=t[r];pu(i)&&i[jn]===void 0&&pu(n)?this.doMutableMerge(n,i):t[r]=i}t[s1]&&(t.newRender=!0)}cloneMerge(t,e,r){let i=ne(ne({},t),e);for(let n in i){let o=e[n],a=t[n];pu(o)&&o[jn]===void 0&&pu(a)&&(i[n]=this.cloneMerge(a,o,r))}return r?(delete i.magicId,delete i.newRender):t[s1]&&(i.newRender=!0),i}componentToString(t){let[e,r]=this.recursiveCIDToString(this.rendered[Qi],t,null),[i,n,o]=Sk(e,{});return[i,r]}pruneCIDs(t){t.forEach(e=>delete this.rendered[Qi][e])}get(){return this.rendered}isNewFingerprint(t={}){return!!t[jn]}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{[jn]:o}=t;o=this.templateStatic(o,e);let a=t[s1],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=!t.newRender,c=ne({[Ak]:t.magicId},n)):c=n,l&&(c[_k]=!0);let[u,f,d]=Sk(r.buffer,c,l);t.newRender=!1,r.buffer=s+f+u+d}}comprehensionToBuffer(t,e,r){let{[Qd]:i,[jn]:n,[pk]:o}=t,[a,s,l,c]=o||[null,{},[],null];n=this.templateStatic(n,e);let u=e||t[VM];for(let f=0;f0||l.length>0||c)&&(delete t[pk],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 pu(t)?this.toOutputBuffer(t,e,r,i,{}):r.buffer+=t}recursiveCIDToString(t,e,r){let i=t[e]||Xi(`no component for CID ${e}`,t),n={[wo]:e},o=r&&!r.has(e);i.newRender=!o,i.magicId=`${this.parentViewId()}-c-${e}`;let a=!0,[s,l]=this.recursiveToString(i,t,r,a,n);return[s,l]}},yz=1,Ou=class{static makeID(){return yz++}static elementID(t){return t.phxHookId}constructor(t,e,r){this.__view=t,this.liveSocket=t.liveSocket,this.__callbacks=r,this.__listeners=new Set,this.__isDisconnected=!1,this.el=e,this.el.phxHookId=this.constructor.makeID();for(let i in this.__callbacks)this[i]=this.__callbacks[i]}__mounted(){this.mounted&&this.mounted()}__updated(){this.updated&&this.updated()}__beforeUpdate(){this.beforeUpdate&&this.beforeUpdate()}__destroyed(){this.destroyed&&this.destroyed()}__reconnected(){this.__isDisconnected&&(this.__isDisconnected=!1,this.reconnected&&this.reconnected())}__disconnected(){this.__isDisconnected=!0,this.disconnected&&this.disconnected()}pushEvent(t,e={},r=function(){}){return this.__view.pushHookEvent(this.el,null,t,e,r)}pushEventTo(t,e,r={},i=function(){}){return this.__view.withinTargets(t,(n,o)=>n.pushHookEvent(this.el,o,e,r,i))}handleEvent(t,e){let r=(i,n)=>n?t:e(i.detail);return window.addEventListener(`phx:${t}`,r),this.__listeners.add(r),r}removeHandleEvent(t){let e=t(null,!0);window.removeEventListener(`phx:${e}`,t),this.__listeners.delete(t)}upload(t,e){return this.__view.dispatchUploads(null,t,e)}uploadTo(t,e,r){return this.__view.withinTargets(t,(i,n)=>{i.dispatchUploads(n,e,r)})}__cleanup__(){this.__listeners.forEach(t=>this.removeHandleEvent(t))}},Id=null,vz={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();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)},exec_exec(t,e,r,i,n,[o,a]){(a?de.all(document,a):[i]).forEach(l=>{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:$,_target:P}=o;P=P||(de.isFormInput(i)?i.name:void 0),P&&(O._target=P),w.pushInput(i,C,$,a||e,O,p)}else if(t==="submit"){let{submitter:$}=o;w.submitForm(i,C,a||e,$,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(()=>Xl.attemptFocus(n))},exec_focus_first(t,e,r,i,n){window.requestAnimationFrame(()=>Xl.focusFirstInteractive(n)||Xl.focusFirst(n))},exec_push_focus(t,e,r,i,n){window.requestAnimationFrame(()=>Id=n||i)},exec_pop_focus(t,e,r,i,n){window.requestAnimationFrame(()=>{Id&&Id.focus(),Id=null})},exec_add_class(t,e,r,i,n,{names:o,transition: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_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){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"))})},addOrRemoveClasses(t,e,r,i,n,o){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"}},Hi=vz,Ld=(t,e,r=[])=>{let l=e,{submitter:i}=l,n=Wr(l,["submitter"]),o=new FormData(t);i&&i.hasAttribute("name")&&i.form&&i.form===t&&o.append(i.name,i.value);let a=[];o.forEach((c,u,f)=>{c instanceof File&&a.push(u)}),a.forEach(c=>o.delete(c));let s=new URLSearchParams;for(let[c,u]of o.entries())(r.length===0||r.indexOf(c)>=0)&&s.append(c,u);for(let c in n)s.append(c,n[c]);return s.toString()},Rk=class{constructor(t,e,r,i,n){this.isDead=!1,this.liveSocket=e,this.flash=i,this.parent=r,this.root=r?r.root:this,this.el=t,this.id=this.el.id,this.ref=0,this.childJoins=0,this.loaderTimer=null,this.pendingDiffs=[],this.pruningCIDs=[],this.redirect=!1,this.href=null,this.joinCount=this.parent?this.parent.joinCount-1:0,this.joinPending=!0,this.destroyed=!1,this.joinCallback=function(o){o&&o()},this.stopCallback=function(){},this.pendingJoinOps=this.parent?null:[],this.viewHooks={},this.uploaders={},this.formSubmits=[],this.children=this.parent?null:{},this.root.children[this.id]={},this.channel=this.liveSocket.channel(`lv:${this.id}`,()=>{let o=this.href&&this.expandURL(this.href);return{redirect:this.redirect?o:void 0,url:this.redirect?void 0:o||void 0,params:this.connectParams(n),session:this.getSession(),static:this.getStatic(),flash:this.flash}})}setHref(t){this.href=t}setRedirect(t){this.redirect=!0,this.href=t}isMain(){return this.el.hasAttribute(g1)}connectParams(t){let e=this.liveSocket.params(this.el),r=de.all(document,`[${this.binding($M)}]`).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(ya)}getStatic(){let t=this.el.getAttribute(gu);return t===""?null:t}destroy(t=function(){}){this.destroyAllChildren(),this.destroyed=!0,delete this.root.children[this.id],this.parent&&delete this.root.children[this.parent.id][this.id],clearTimeout(this.loaderTimer);let e=()=>{t();for(let r in this.viewHooks)this.destroyHook(this.viewHooks[r])};de.markPhxChildDestroyed(this.el),this.log("destroyed",()=>["the child has been removed from the parent"]),this.channel.leave().receive("ok",e).receive("error",e).receive("timeout",e)}setContainerClasses(...t){this.el.classList.remove(ok,uu,Td,ak,i1),this.el.classList.add(...t)}showLoader(t){if(clearTimeout(this.loaderTimer),t)this.loaderTimer=setTimeout(()=>this.showLoader(),t);else{for(let e in this.viewHooks)this.viewHooks[e].__disconnected();this.setContainerClasses(uu)}}execAll(t){de.all(this.el,`[${t}]`,e=>this.liveSocket.execJS(e,e.getAttribute(t)))}hideLoader(){clearTimeout(this.loaderTimer),this.setContainerClasses(ok),this.execAll(this.binding("connected"))}triggerReconnected(){for(let t in this.viewHooks)this.viewHooks[t].__reconnected()}log(t,e){this.liveSocket.log(this,t,e)}transition(t,e,r=function(){}){this.liveSocket.transition(t,e,r)}withinTargets(t,e){if(t instanceof HTMLElement||t instanceof SVGElement)return this.liveSocket.owner(t,r=>e(r,t));if(xo(t))de.findComponentNodeList(this.el,t).length===0?Xi(`no component found matching phx-target of ${t}`):e(this,parseInt(t));else{let r=Array.from(document.querySelectorAll(t));r.length===0&&Xi(`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}=Tk.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,Bn.dropLocal(this.liveSocket.localStorage,window.location.pathname,Ek),this.applyDiff("mount",e,({diff:i,events:n})=>{this.rendered=new Tk(this.id,i);let[o,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,`[${Oa}="${this.id}"][${$i}]`,t=>{t.removeAttribute($i),t.removeAttribute(Oa)})}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(gu);return s&&o.setAttribute(gu,s),this.joinChild(o)}).length===0?this.parent?(this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,r,i)]),this.parent.ackJoin(this)):(this.onAllChildJoinsComplete(),this.applyJoinPatch(t,e,r,i)):this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,r,i)])}attachTrueDocEl(){this.el=de.byId(this.id),this.el.setAttribute(yu,this.root.id)}execNewMounted(){let t=this.binding(h1),e=this.binding(d1);de.all(this.el,`[${t}], [${e}]`,r=>{de.maybeAddPrivateHooks(r,t,e),this.maybeAddNewHook(r)}),de.all(this.el,`[${this.binding(fu)}], [data-phx-${fu}]`,r=>{this.maybeAddNewHook(r)}),de.all(this.el,`[${this.binding(ck)}]`,r=>this.maybeMounted(r))}applyJoinPatch(t,e,r,i){this.attachTrueDocEl();let n=new Rd(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(Ud));if(r&&!t.isEqualNode(e)&&!(i&&HM(t.dataset,e.dataset)))return r.__beforeUpdate(),r}maybeMounted(t){let e=t.getAttribute(this.binding(ck)),r=e&&de.private(t,"mounted");e&&!r&&(this.liveSocket.execJS(t,e),de.putPrivate(t,"mounted",!0))}maybeAddNewHook(t,e){let r=this.addHook(t);r&&r.__mounted()}performPatch(t,e,r=!1){let i=[],n=!1,o=new Set;return t.after("added",a=>{this.liveSocket.triggerDOM("onNodeAdded",[a]);let s=this.binding(h1),l=this.binding(d1);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,`[${wo}]`),o=de.all(i,`[${this.binding(fu)}]`);n.concat(i).forEach(a=>{let s=this.componentID(a);xo(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($l)][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 Rk(t,this.liveSocket,this);return this.root.children[this.id][r.id]=r,r.join(),this.childJoins++,!0}}isJoinPending(){return this.joinPending}ackJoin(t){this.childJoins--,this.childJoins===0&&(this.parent?this.parent.ackJoin(this):this.onAllChildJoinsComplete())}onAllChildJoinsComplete(){this.joinCallback(()=>{this.pendingJoinOps.forEach(([t,e])=>{t.isDestroyed()||e()}),this.pendingJoinOps=[]})}update(t,e){if(this.isJoinPending()||this.liveSocket.hasPendingLink()&&this.root.isMain())return this.pendingDiffs.push({diff:t,events:e});this.rendered.mergeDiff(t);let r=!1;this.rendered.isComponentOnlyDiff(t)?this.liveSocket.time("component patch complete",()=>{de.findParentCIDs(this.el,this.rendered.componentCIDs(t)).forEach(n=>{this.componentPatch(this.rendered.getComponent(t,n),n)&&(r=!0)})}):mk(t)||this.liveSocket.time("full patch complete",()=>{let[i,n]=this.renderContainer(t,"update"),o=new Rd(this,this.el,this.id,i,n,null);r=this.performPatch(o,!0)}),this.liveSocket.dispatchEvents(e),r&&this.joinNewChildren()}renderContainer(t,e){return this.liveSocket.time(`toString diff (${e})`,()=>{let r=this.el.tagName,i=t?this.rendered.componentCIDs(t).concat(this.pruningCIDs):null,[n,o]=this.rendered.toString(i);return[`<${r}>${n}`,o]})}componentPatch(t,e){if(mk(t))return!1;let[r,i]=this.rendered.componentToString(e),n=new Rd(this,this.el,this.id,r,i,e);return this.performPatch(n,!0)}getHook(t){return this.viewHooks[Ou.elementID(t)]}addHook(t){if(Ou.elementID(t)||!t.getAttribute)return;let e=t.getAttribute(`data-phx-${fu}`)||t.getAttribute(this.binding(fu));if(e&&!this.ownsElement(t))return;let r=this.liveSocket.getHookCallbacks(e);if(r){t.id||Xi(`no DOM ID for hook "${e}". Hooks require a unique ID on each element.`,t);let i=new Ou(this,t,r);return this.viewHooks[Ou.elementID(i.el)]=i,i}else e!==null&&Xi(`unknown hook found for "${e}"`,t)}destroyHook(t){t.__destroyed(),t.__cleanup__(),delete this.viewHooks[Ou.elementID(t.el)]}applyPendingUpdates(){this.pendingDiffs.forEach(({diff:t,events:e})=>this.update(t,e)),this.pendingDiffs=[],this.eachChild(t=>t.applyPendingUpdates())}eachChild(t){let e=this.root.children[this.id]||{};for(let r in e)t(this.getChildById(r))}onChannel(t,e){this.liveSocket.onChannel(this.channel,t,r=>{this.isJoinPending()?this.root.pendingJoinOps.push([this,()=>e(r)]):this.liveSocket.requestDOMUpdate(()=>e(r))})}bindChannel(){this.liveSocket.onChannel(this.channel,"diff",t=>{this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",t,({diff:e,events:r})=>this.update(e,r))})}),this.onChannel("redirect",({to:t,flash:e})=>this.onRedirect({to:t,flash:e})),this.onChannel("live_patch",t=>this.onLivePatch(t)),this.onChannel("live_redirect",t=>this.onLiveRedirect(t)),this.channel.onError(t=>this.onError(t)),this.channel.onClose(t=>this.onClose(t))}destroyAllChildren(){this.eachChild(t=>t.destroy())}onLiveRedirect(t){let{to:e,kind:r,flash:i}=t,n=this.expandURL(e);this.liveSocket.historyRedirect(n,r,i)}onLivePatch(t){let{to:e,kind:r}=t;this.href=this.expandURL(e),this.liveSocket.historyPatch(e,r)}expandURL(t){return t.startsWith("/")?`${window.location.protocol}//${window.location.host}${t}`:t}onRedirect({to:t,flash:e}){this.liveSocket.redirect(t,e)}isDestroyed(){return this.destroyed}joinDead(){this.isDead=!0}join(t){this.showLoader(this.liveSocket.loaderTimeout),this.bindChannel(),this.isMain()&&(this.stopCallback=this.liveSocket.withPageLoading({to:this.href,kind:"initial"})),this.joinCallback=e=>{e=e||function(){},t?t(this.joinCount,e):e()},this.liveSocket.wrapPush(this,{timeout:!1},()=>this.channel.join().receive("ok",e=>{this.isDestroyed()||this.liveSocket.requestDOMUpdate(()=>this.onJoin(e))}).receive("error",e=>!this.isDestroyed()&&this.onJoinError(e)).receive("timeout",()=>!this.isDestroyed()&&this.onJoinError({reason:"timeout"})))}onJoinError(t){if(t.reason==="reload"){this.log("error",()=>[`failed mount with ${t.status}. Falling back to page request`,t]),this.isMain()&&this.onRedirect({to:this.href});return}else if(t.reason==="unauthorized"||t.reason==="stale"){this.log("error",()=>["unauthorized live_redirect. Falling back to page request",t]),this.isMain()&&this.onRedirect({to:this.href});return}if((t.redirect||t.live_redirect)&&(this.joinPending=!1,this.channel.leave()),t.redirect)return this.onRedirect(t.redirect);if(t.live_redirect)return this.onLiveRedirect(t.live_redirect);this.displayError([uu,Td,i1]),this.log("error",()=>["unable to join",t]),this.liveSocket.isConnected()&&this.liveSocket.reloadWithJitter(this)}onClose(t){if(!this.isDestroyed()){if(this.liveSocket.hasPendingLink()&&t!=="leave")return this.liveSocket.reloadWithJitter(this);this.destroyAllChildren(),this.liveSocket.dropActiveElement(this),document.activeElement&&document.activeElement.blur(),this.liveSocket.isUnloaded()&&this.showLoader(qM)}}onError(t){this.onClose(t),this.liveSocket.isConnected()&&this.log("error",()=>["view crashed",t]),this.liveSocket.isUnloaded()||(this.liveSocket.isConnected()?this.displayError([uu,Td,i1]):this.displayError([uu,Td,ak]))}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(nk))!==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,BM).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,`[${Oa}="${this.id}"][${$i}="${t}"]`,e=>{let r=e.getAttribute(Ed);e.removeAttribute($i),e.removeAttribute(Oa),e.getAttribute(n1)!==null&&(e.readOnly=!1,e.removeAttribute(n1)),r!==null&&(e.disabled=r==="true",e.removeAttribute(Ed)),Ck.forEach(o=>de.removeClass(e,o));let i=e.getAttribute(Cd);i!==null&&(e.innerText=i,e.removeAttribute(Cd));let n=de.private(e,$i);if(n){let o=this.triggerBeforeUpdateHook(e,n);Rd.patchEl(e,n,this.liveSocket.getActiveElement()),o&&o.__updated(),de.deletePrivate(e,$i)}})}putRef(t,e,r={}){let i=this.ref++,n=this.binding(m1);return r.loading&&(t=t.concat(de.all(document,r.loading))),t.forEach(o=>{o.classList.add(`phx-${e}-loading`),o.setAttribute($i,i),o.setAttribute(Oa,this.el.id);let a=o.getAttribute(n);a!==null&&(o.getAttribute(Cd)||o.setAttribute(Cd,o.innerText),a!==""&&(o.innerText=a),o.setAttribute("disabled",""))}),[i,t,r]}componentID(t){let e=t.getAttribute&&t.getAttribute(wo);return e?parseInt(e):null}targetComponentID(t,e,r={}){if(xo(e))return e;let i=r.target||t.getAttribute(this.binding("target"));return xo(i)?parseInt(i):e&&(i!==null||r.target)?this.closestComponentID(e):null}closestComponentID(t){return xo(t)?t:t?ga(t.closest(`[${wo}]`),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(NM)),ref:t.getAttribute(ba),entry_ref:e,progress:r,cid:n.targetComponentID(t.form,o)},i)})}pushInput(t,e,r,i,n,o){let a,s=xo(r)?r:this.targetComponentID(t.form,e,n),l=()=>this.putRef([t,t.form],"change",n),c,u=this.extractMeta(t.form);t.getAttribute(this.binding("change"))?c=Ld(t.form,ne({_target:n._target},u),[t.name]):c=Ld(t.form,ne({_target:n._target},u)),de.isUploadInput(t)&&t.files&&t.files.length>0&&$r.trackFiles(t,Array.from(t.files)),a=$r.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)),de.isUploadInput(t)&&de.isAutoUpload(t)){if($r.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=>!(bu(u,`${this.binding(Ud)}=ignore`,u.form)||bu(u,"data-phx-update=ignore",u.form)),i=u=>u.hasAttribute(this.binding(m1)),n=u=>u.tagName=="BUTTON",o=u=>["INPUT","TEXTAREA","SELECT"].includes(u.tagName),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(Ed,u.disabled),u.disabled=!0}),c.forEach(u=>{u.setAttribute(n1,u.readOnly),u.readOnly=!0,u.files&&(u.setAttribute(Ed,u.disabled),u.disabled=!0)}),t.setAttribute(this.binding(nk),""),this.putRef([t].concat(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($r.hasUploadsInProgress(t)){let[l,c]=a(),u=()=>this.pushFormSubmit(t,e,r,i,n,o);return this.scheduleSubmit(t,l,n,u)}else if($r.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,ne({submitter:i},d));this.pushWithReply(u,"event",{type:"form",event:r,value:p,cid:s},o)})}else if(!(t.hasAttribute($i)&&t.classList.contains("phx-submit-loading"))){let l=this.extractMeta(t),c=Ld(t,ne({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=$r.activeFileInputs(t),s=a.length;a.forEach(l=>{let c=new $r(l,this,()=>{s--,s===0&&n()});this.uploaders[l]=c;let u=c.entries().map(d=>d.toPreflightPayload()),f={ref:l.getAttribute(ba),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?Xi(`no live file inputs found matching the name "${e}"`):n.length>1?Xi(`duplicate live file inputs found matching the name "${e}"`):de.dispatchEvent(n[0],Pk,{detail:{files:r}})}targetCtxElement(t){if(xo(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(ba)&&$r.clearFiles(c));let s=a.find(c=>c.type!=="hidden")||a[0],l=t.getAttribute(this.binding(lk))||t.getAttribute(this.binding("change"));Hi.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(lk))!=="ignore").map(i=>{let n=i.getAttribute(e).replaceAll(/([\[\]"])/g,"\\$1"),o=r.content.querySelector(`form[id="${i.id}"][${e}="${n}"]`);return o?[i,o,this.targetComponentID(o)]:[i,i,this.targetComponentID(i)]}).filter(([i,n,o])=>n)}maybePushComponentsDestroyed(t){let e=t.filter(r=>de.findComponentNodeList(this.el,r).length===0);e.length>0&&(this.pruningCIDs.push(...e),this.pushWithReply(null,"cids_will_destroy",{cids:e},()=>{this.pruningCIDs=this.pruningCIDs.filter(i=>e.indexOf(i)!==-1);let r=e.filter(i=>de.findComponentNodeList(this.el,i).length===0);r.length>0&&this.pushWithReply(null,"cids_destroyed",{cids:r},i=>{this.rendered.pruneCIDs(i.cids)})}))}ownsElement(t){let e=t.closest(Rl);return t.getAttribute($l)===this.id||e&&e.id===this.id||!e&&this.isDead}submitForm(t,e,r,i,n={}){de.putPrivate(t,Nd,!0);let o=this.liveSocket.binding(Dd),a=Array.from(t.elements);a.forEach(s=>de.putPrivate(s,Nd,!0)),this.liveSocket.blurActiveElement(this),this.pushFormSubmit(t,e,r,i,n,()=>{a.forEach(s=>de.showError(s,o)),this.liveSocket.restorePreviouslyActiveFocus()})}binding(t){return this.liveSocket.binding(t)}},Ik=class{constructor(t,e,r={}){if(this.unloaded=!1,!e||e.constructor.name==="Object")throw new Error(` +`),r.push(i))}),r.forEach(i=>i.remove())}},replaceRootContainer(t,e,r){let i=new Set(["id",ya,gu,g1,yu]);if(t.tagName.toLowerCase()===e.toLowerCase())return Array.from(t.attributes).filter(n=>!i.has(n.name.toLowerCase())).forEach(n=>t.removeAttribute(n.name)),Object.keys(r).filter(n=>!i.has(n.toLowerCase())).forEach(n=>t.setAttribute(n,r[n])),t;{let n=document.createElement(e);return Object.keys(r).forEach(o=>n.setAttribute(o,r[o])),i.forEach(o=>n.setAttribute(o,t.getAttribute(o))),n.innerHTML=t.innerHTML,t.replaceWith(n),n}},getSticky(t,e,r){let i=(Yi.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=Yi.private(t,"sticky");e&&e.forEach(([r,i,n])=>this.putSticky(t,r,i))}},de=Yi,c1=class{static isActive(t,e){let r=e._phxRef===void 0,n=t.getAttribute(f1).split(",").indexOf($r.genFileRef(e))>=0;return e.size>0&&(r||n)}static isPreflighted(t,e){return t.getAttribute(O1).split(",").indexOf($r.genFileRef(e))>=0&&this.isActive(t,e)}constructor(t,e,r){this.ref=$r.genFileRef(e),this.fileEl=t,this.file=e,this.view=r,this.meta=null,this._isCancelled=!1,this._isDone=!1,this._progress=0,this._lastProgressSent=-1,this._onDone=function(){},this._onElUpdated=this.onElUpdated.bind(this),this.fileEl.addEventListener(zd,this._onElUpdated)}metadata(){return this.meta}progress(t){this._progress=Math.floor(t),this._progress>this._lastProgressSent&&(this._progress>=100?(this._progress=100,this._lastProgressSent=100,this._isDone=!0,this.view.pushFileProgress(this.fileEl,this.ref,100,()=>{$r.untrackFile(this.fileEl,this.file),this._onDone()})):(this._lastProgressSent=this._progress,this.view.pushFileProgress(this.fileEl,this.ref,this._progress)))}cancel(){this._isCancelled=!0,this._isDone=!0,this._onDone()}isDone(){return this._isDone}error(t="failed"){this.fileEl.removeEventListener(zd,this._onElUpdated),this.view.pushFileProgress(this.fileEl,this.ref,{error:t}),de.isAutoUpload(this.fileEl)||$r.clearFiles(this.fileEl)}onDone(t){this._onDone=()=>{this.fileEl.removeEventListener(zd,this._onElUpdated),t()}}onElUpdated(){this.fileEl.getAttribute(f1).split(",").indexOf(this.ref)===-1&&this.cancel()}toPreflightPayload(){return{last_modified:this.file.lastModified,name:this.file.name,relative_path:this.file.webkitRelativePath,size:this.file.size,type:this.file.type,ref:this.ref,meta:typeof this.file.meta=="function"?this.file.meta():void 0}}uploader(t){if(this.meta.uploader){let e=t[this.meta.uploader]||Xi(`no uploader configured for ${this.meta.uploader}`);return{name:this.meta.uploader,callback:e}}else return{name:"channel",callback:GM}}zipPostFlight(t){this.meta=t.entries[this.ref],this.meta||Xi(`no preflight upload response returned with ref ${this.ref}`,{input:this.fileEl,response:t})}},KM=0,$r=class{static genFileRef(t){let e=t._phxRef;return e!==void 0?e:(t._phxRef=(KM++).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(O1)!==r.getAttribute(RM)&&e++}),e>0}static serializeUploads(t){let e=this.activeFiles(t),r={};return e.forEach(i=>{let n={path:t.name},o=t.getAttribute(ba);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(ba),de.putPrivate(t,"files",[])}static untrackFile(t,e){de.putPrivate(t,"files",de.private(t,"files").filter(r=>!Object.is(r,e)))}static trackFiles(t,e,r){if(t.getAttribute("multiple")!==null){let i=e.filter(n=>!this.activeFiles(t).find(o=>Object.is(o,n)));de.putPrivate(t,"files",this.activeFiles(t).concat(i)),t.value=null}else r&&r.files.length>0&&(t.files=r.files),de.putPrivate(t,"files",e)}static activeFileInputs(t){let e=de.findUploadInputs(t);return Array.from(e).filter(r=>r.files&&this.activeFiles(r).length>0)}static activeFiles(t){return(de.private(t,"files")||[]).filter(e=>c1.isActive(t,e))}static inputsAwaitingPreflight(t){let e=de.findUploadInputs(t);return Array.from(e).filter(r=>this.filesAwaitingPreflight(r).length>0)}static filesAwaitingPreflight(t){return this.activeFiles(t).filter(e=>!c1.isPreflighted(t,e))}constructor(t,e,r){this.view=e,this.onComplete=r,this._entries=Array.from($r.filesAwaitingPreflight(t)||[]).map(i=>new c1(t,i,e)),this.numEntriesInProgress=this._entries.length}entries(){return this._entries}initAdapterUpload(t,e,r){this._entries=this._entries.map(n=>(n.zipPostFlight(t),n.onDone(()=>{this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()}),n));let i=this._entries.reduce((n,o)=>{if(!o.meta)return n;let{name: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)}}},JM={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}}},Xl=JM,Xk={LiveFileUpload:{activeRefs(){return this.el.getAttribute(f1)},preflightedRefs(){return this.el.getAttribute(O1)},mounted(){this.preflightedWas=this.preflightedRefs()},updated(){let t=this.preflightedRefs();this.preflightedWas!==t&&(this.preflightedWas=t,t===""&&this.__view.cancelSubmit(this.el.form)),this.activeRefs()===""&&(this.el.value=null),this.el.dispatchEvent(new CustomEvent(zd))}},LiveImgPreview:{mounted(){this.ref=this.el.getAttribute("data-phx-entry-ref"),this.inputEl=document.getElementById(this.el.getAttribute(ba)),$r.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",()=>Xl.focusLast(this.el)),this.focusEnd.addEventListener("focus",()=>Xl.focusFirst(this.el)),this.el.addEventListener("phx:show-end",()=>this.el.focus()),window.getComputedStyle(this.el).display!=="none"&&Xl.focusFirst(this.el)}}},Ok=()=>document.documentElement.scrollTop||document.body.scrollTop,b1=()=>window.innerHeight||document.documentElement.clientHeight,ez=t=>{let e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.top<=b1()},tz=t=>{let e=t.getBoundingClientRect();return e.right>=0&&e.left>=0&&e.bottom<=b1()},gk=t=>{let e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.top<=b1()};Xk.InfiniteScroll={mounted(){let t=Ok(),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,gk(l)||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,gk(l)||l.scrollIntoView({block:"end"})})});this.onScroll=s=>{let l=Ok();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&&ez(p)?o(u,p):f&&x&&tz(d)&&a(f,d),t=l},window.addEventListener("scroll",this.onScroll)},destroyed(){window.removeEventListener("scroll",this.onScroll)},throttle(t,e){let r=0,i;return(...n)=>{let o=Date.now(),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 rz=Xk,iz=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?ga(document.getElementById(e.previousElementId),r=>{ga(document.getElementById(e.elementId),i=>{i.previousElementSibling&&i.previousElementSibling.id==r.id||r.insertAdjacentElement("afterend",i)})}):ga(document.getElementById(e.elementId),r=>{r.previousElementSibling==null||t.insertAdjacentElement("afterbegin",r)})}),this.updateType=="prepend"&&this.elementIdsToAdd.reverse().forEach(e=>{ga(document.getElementById(e),r=>t.insertAdjacentElement("afterbegin",r))})}},bk=11;function nz(t,e){var r=e.attributes,i,n,o,a,s;if(!(e.nodeType===bk||t.nodeType===bk)){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,oz="http://www.w3.org/1999/xhtml",gi=typeof document=="undefined"?void 0:document,az=!!gi&&"content"in gi.createElement("template"),sz=!!gi&&gi.createRange&&"createContextualFragment"in gi.createRange();function lz(t){var e=gi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function cz(t){Xd||(Xd=gi.createRange(),Xd.selectNode(gi.body));var e=Xd.createContextualFragment(t);return e.childNodes[0]}function uz(t){var e=gi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function fz(t){return t=t.trim(),az?lz(t):sz?cz(t):uz(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 hz(t,e){return!e||e===oz?gi.createElement(t):gi.createElementNS(e,t)}function dz(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function u1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var yk={OPTION:function(t,e){var r=t.parentNode;if(r){var i=r.nodeName.toUpperCase();i==="OPTGROUP"&&(r=r.parentNode,i=r&&r.nodeName.toUpperCase()),i==="SELECT"&&!r.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),r.selectedIndex=-1)}u1(t,e,"selected")},INPUT:function(t,e){u1(t,e,"checked"),u1(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var r=e.value;t.value!==r&&(t.value=r);var i=t.firstChild;if(i){var n=i.nodeValue;if(n==r||!r&&n==t.placeholder)return;i.nodeValue=r}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var r=-1,i=0,n=t.firstChild,o,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}}},mu=1,vk=11,xk=3,wk=8;function ma(){}function pz(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function mz(t){return function(r,i,n){if(n||(n={}),typeof i=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"||r.nodeName==="BODY"){var o=i;i=gi.createElement("html"),i.innerHTML=o}else i=fz(i);else i.nodeType===vk&&(i=i.firstElementChild);var a=n.getNodeKey||pz,s=n.onBeforeNodeAdded||ma,l=n.onNodeAdded||ma,c=n.onBeforeElUpdated||ma,u=n.onElUpdated||ma,f=n.onBeforeNodeDiscarded||ma,d=n.onNodeDiscarded||ma,p=n.onBeforeElChildrenUpdated||ma,O=n.skipFromChildren||ma,x=n.addChild||function(ae,he){return ae.appendChild(he)},k=n.childrenOnly===!0,w=Object.create(null),C=[];function $(ae){C.push(ae)}function P(ae,he){if(ae.nodeType===mu)for(var K=ae.firstChild;K;){var A=void 0;he&&(A=a(K))?$(A):(d(K),K.firstChild&&P(K,he)),K=K.nextSibling}}function L(ae,he,K){f(ae)!==!1&&(he&&he.removeChild(ae),d(ae),P(ae,K))}function M(ae){if(ae.nodeType===mu||ae.nodeType===vk)for(var he=ae.firstChild;he;){var K=a(he);K&&(w[K]=he),M(he),he=he.nextSibling}}M(r);function Z(ae){l(ae);for(var he=ae.firstChild;he;){var K=he.nextSibling,A=a(he);if(A){var G=w[A];G&&Rd(he,G)?(he.parentNode.replaceChild(G,he),H(G,he)):Z(he)}else Z(he);he=K}}function re(ae,he,K){for(;he;){var A=he.nextSibling;(K=a(he))?$(K):L(he,ae,!0),he=A}}function H(ae,he,K){var A=a(he);A&&delete w[A],!(!K&&(c(ae,he)===!1||(t(ae,he),u(ae),p(ae,he)===!1)))&&(ae.nodeName!=="TEXTAREA"?W(ae,he):yk.TEXTAREA(ae,he))}function W(ae,he){var K=O(ae,he),A=he.firstChild,G=ae.firstChild,se,q,Je,st,at;e:for(;A;){for(st=A.nextSibling,se=a(A);!K&&G;){if(Je=G.nextSibling,A.isSameNode&&A.isSameNode(G)){A=st,G=Je;continue e}q=a(G);var Ce=G.nodeType,Ze=void 0;if(Ce===A.nodeType&&(Ce===mu?(se?se!==q&&((at=w[se])?Je===at?Ze=!1:(ae.insertBefore(at,G),q?$(q):L(G,ae,!0),G=at):Ze=!1):q&&(Ze=!1),Ze=Ze!==!1&&Rd(G,A),Ze&&H(G,A)):(Ce===xk||Ce==wk)&&(Ze=!0,G.nodeValue!==A.nodeValue&&(G.nodeValue=A.nodeValue))),Ze){A=st,G=Je;continue e}q?$(q):L(G,ae,!0),G=Je}if(se&&(at=w[se])&&Rd(at,A))K||x(ae,at),H(at,A);else{var Rt=s(A);Rt!==!1&&(Rt&&(A=Rt),A.actualize&&(A=A.actualize(ae.ownerDocument||gi)),x(ae,A),Z(A))}A=st,G=Je}re(ae,G,q);var ct=yk[ae.nodeName];ct&&ct(ae,he)}var oe=r,pe=oe.nodeType,fe=i.nodeType;if(!k){if(pe===mu)fe===mu?Rd(r,i)||(d(r),oe=dz(r,hz(i.nodeName,i.namespaceURI))):oe=i;else if(pe===xk||pe===wk){if(fe===pe)return oe.nodeValue!==i.nodeValue&&(oe.nodeValue=i.nodeValue),oe;oe=i}}if(oe===i)d(r);else{if(i.isSameNode&&i.isSameNode(oe))return;if(H(oe,i,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.targetCID=o,this.cidPatch=xo(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}=${_d}]`,e=>e.innerHTML=""),de.all(this.container,`[${t}=append] > *, [${t}=prepend] > *`,e=>{e.setAttribute(ik,"")})}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(Nd),f=r.binding(m1),d=r.binding(h1),p=r.binding(d1),O=r.binding(IM),x=[],k=[],w=[],C=[],$=null;return this.trackBefore("added",i),this.trackBefore("updated",i,i),r.time("morphdom",()=>{this.streams.forEach(([P,L,M,Z])=>{Object.entries(L).forEach(([re,[H,W]])=>{this.streamInserts[re]={ref:P,streamAt:H,limit:W,resetKept:!1}}),Z!==void 0&&de.all(i,`[${hu}="${P}"]`,re=>{L[re.id]?this.streamInserts[re.id].resetKept=!0:this.removeStreamChildElement(re)}),M.forEach(re=>{let H=i.querySelector(`[id="${re}"]`);H&&this.removeStreamChildElement(H)})}),kk(o,n,{childrenOnly:o.getAttribute(wo)===null,getNodeKey:P=>de.isPhxDestroyed(P)?null:t?P.id:P.id||P.getAttribute&&P.getAttribute(Ak),skipFromChildren:P=>P.getAttribute(c)===_d,addChild:(P,L)=>{let{ref:M,streamAt:Z,limit:re}=this.getStreamInsert(L);if(M===void 0)return P.appendChild(L);if(de.putSticky(L,hu,oe=>oe.setAttribute(hu,M)),Z===0)P.insertAdjacentElement("afterbegin",L);else if(Z===-1)P.appendChild(L);else if(Z>0){let oe=Array.from(P.children)[Z];P.insertBefore(L,oe)}let H=re!==null&&Array.from(P.children),W=[];re&&re<0&&H.length>re*-1?W=H.slice(0,H.length+re):re&&re>=0&&H.length>re&&(W=H.slice(re)),W.forEach(oe=>{this.streamInserts[oe.id]||this.removeStreamChildElement(oe)})},onBeforeNodeAdded:P=>(de.maybeAddPrivateHooks(P,d,p),this.trackBefore("added",P),P),onNodeAdded:P=>{P.getAttribute&&this.maybeReOrderStream(P),P instanceof HTMLImageElement&&P.srcset?P.srcset=P.srcset:P instanceof HTMLVideoElement&&P.autoplay&&P.play(),de.isNowTriggerFormExternal(P,O)&&($=P),P.getAttribute&&P.getAttribute("name")&&de.isFormInput(P)&&k.push(P),(de.isPhxChild(P)&&e.ownsElement(P)||de.isPhxSticky(P)&&e.ownsElement(P.parentNode))&&this.trackAfter("phxChildAdded",P),x.push(P)},onBeforeElChildrenUpdated:(P,L)=>{if(P.getAttribute(c)===_d){let M=Array.from(L.children).map(Z=>Z.id);Array.from(P.children).filter(Z=>{let{resetKept:re}=this.getStreamInsert(Z);return re}).forEach(Z=>{this.streamInserts[Z.id].streamAt=M.indexOf(Z.id)})}},onNodeDiscarded:P=>this.onNodeDiscarded(P),onBeforeNodeDiscarded:P=>P.getAttribute&&P.getAttribute(ik)!==null?!0:!(P.parentElement!==null&&P.id&&de.isPhxUpdate(P.parentElement,c,[_d,"append","prepend"])||this.maybePendingRemove(P)||this.skipCIDSibling(P)),onElUpdated:P=>{de.isNowTriggerFormExternal(P,O)&&($=P),w.push(P),this.maybeReOrderStream(P)},onBeforeElUpdated:(P,L)=>{if(de.maybeAddPrivateHooks(L,d,p),de.cleanChildNodes(L,c),this.skipCIDSibling(L)||de.isPhxSticky(P))return!1;if(de.isIgnored(P,c)||P.form&&P.form.isSameNode($))return this.trackBefore("updated",P,L),de.mergeAttrs(P,L,{isIgnored:!0}),w.push(P),de.applyStickyOperations(P),!1;if(P.type==="number"&&P.validity&&P.validity.badInput)return!1;if(!de.syncPendingRef(P,L,f))return de.isUploadInput(P)&&(this.trackBefore("updated",P,L),w.push(P)),de.applyStickyOperations(P),!1;if(de.isPhxChild(L)){let Z=P.getAttribute(ya);return de.mergeAttrs(P,L,{exclude:[gu]}),Z!==""&&P.setAttribute(ya,Z),P.setAttribute(yu,this.rootID),de.applyStickyOperations(P),!1}return de.copyPrivates(L,P),a&&P.isSameNode(a)&&de.isFormInput(P)&&P.type!=="hidden"?(this.trackBefore("updated",P,L),de.mergeFocusedInput(P,L),de.syncAttrsToProps(P),w.push(P),de.applyStickyOperations(P),k.push(P),!1):(de.isPhxUpdate(L,c,["append","prepend"])&&C.push(new iz(P,L,L.getAttribute(c))),de.syncAttrsToProps(L),de.applyStickyOperations(L),L.getAttribute("name")&&de.isFormInput(L)&&k.push(L),this.trackBefore("updated",P,L),!0)}})}),r.isDebugEnabled()&&ZM(),C.length>0&&r.time("post-morph append/prepend restoration",()=>{C.forEach(P=>P.perform())}),de.maybeHideFeedback(o,k,u),r.silenceEvents(()=>de.restoreFocus(a,s,l)),de.dispatchEvent(document,"phx:update"),x.forEach(P=>this.trackAfter("added",P)),w.forEach(P=>this.trackAfter("updated",P)),this.transitionPendingRemoves(),$&&(r.unload(),Object.getPrototypeOf($).submit.call($)),!0}onNodeDiscarded(t){(de.isPhxChild(t)||de.isPhxSticky(t))&&this.liveSocket.destroyViewByEl(t),this.trackAfter("discarded",t)}maybePendingRemove(t){return t.getAttribute&&t.getAttribute(this.phxRemove)!==null?(this.pendingRemoves.push(t),!0):!1}removeStreamChildElement(t){this.maybePendingRemove(t)||(t.remove(),this.onNodeDiscarded(t))}getStreamInsert(t){return(t.id?this.streamInserts[t.id]:{})||{}}maybeReOrderStream(t){let{ref:e,streamAt:r,limit:i}=this.getStreamInsert(t);if(r!==void 0){if(de.putSticky(t,hu,n=>n.setAttribute(hu,e)),r===0)t.parentElement.insertBefore(t,t.parentElement.firstElementChild);else if(r>0){let n=Array.from(t.parentElement.children),o=n.indexOf(t);if(r>=n.length-1)t.parentElement.appendChild(t);else{let a=n[r];o>r?t.parentElement.insertBefore(t,a):t.parentElement.insertBefore(t,a.nextElementSibling)}}}}transitionPendingRemoves(){let{pendingRemoves:t,liveSocket:e}=this;t.length>0&&(e.transitionRemoves(t),e.requestDOMUpdate(()=>{t.forEach(r=>{let i=de.firstPhxChild(r);i&&e.destroyViewByEl(i),r.remove()}),this.trackAfter("transitionsDiscarded",t)}))}isCIDPatch(){return this.cidPatch}skipCIDSibling(t){return t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute(_k)}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)}},gz=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),bz=new Set(["'",'"']),Sk=(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(bz.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}"`:"";gz.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]},Tk=class{static extract(t){let{[hk]:e,[fk]:r,[dk]:i}=t;return delete t[hk],delete t[fk],delete t[dk],{diff:t,title:i,reply:e||null,events:r||[]}}constructor(t,e){this.viewId=t,this.rendered={},this.magicId=0,this.mergeDiff(e)}parentViewId(){return this.viewId}toString(t){let[e,r]=this.recursiveToString(this.rendered,this.rendered[Qi],t,!0,{});return[e,r]}recursiveToString(t,e=t[Qi],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[Qi]||{}).map(e=>parseInt(e))}isComponentOnlyDiff(t){return t[Qi]?Object.keys(t).length===1:!1}getComponent(t,e){return t[Qi][e]}mergeDiff(t){let e=t[Qi],r={};if(delete t[Qi],this.rendered=this.mutableMerge(this.rendered,t),this.rendered[Qi]=this.rendered[Qi]||{},e){let i=this.rendered[Qi];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[Qi]=e}}cachedFindComponent(t,e,r,i,n){if(n[t])return n[t];{let o,a,s=e[jn];if(xo(s)){let l;s>0?l=this.cachedFindComponent(s,i[s],r,i,n):l=r[-s],a=l[jn],o=this.cloneMerge(l,e,!0),o[jn]=a}else o=e[jn]!==void 0||r[t]===void 0?e:this.cloneMerge(r[t],e,!1);return n[t]=o,o}}mutableMerge(t,e){return e[jn]!==void 0?e:(this.doMutableMerge(t,e),t)}doMutableMerge(t,e){for(let r in e){let i=e[r],n=t[r];pu(i)&&i[jn]===void 0&&pu(n)?this.doMutableMerge(n,i):t[r]=i}t[s1]&&(t.newRender=!0)}cloneMerge(t,e,r){let i=ne(ne({},t),e);for(let n in i){let o=e[n],a=t[n];pu(o)&&o[jn]===void 0&&pu(a)&&(i[n]=this.cloneMerge(a,o,r))}return r?(delete i.magicId,delete i.newRender):t[s1]&&(i.newRender=!0),i}componentToString(t){let[e,r]=this.recursiveCIDToString(this.rendered[Qi],t,null),[i,n,o]=Sk(e,{});return[i,r]}pruneCIDs(t){t.forEach(e=>delete this.rendered[Qi][e])}get(){return this.rendered}isNewFingerprint(t={}){return!!t[jn]}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[$d])return this.comprehensionToBuffer(t,e,r);let{[jn]:o}=t;o=this.templateStatic(o,e);let a=t[s1],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=!t.newRender,c=ne({[Ak]:t.magicId},n)):c=n,l&&(c[_k]=!0);let[u,f,d]=Sk(r.buffer,c,l);t.newRender=!1,r.buffer=s+f+u+d}}comprehensionToBuffer(t,e,r){let{[$d]:i,[jn]:n,[pk]:o}=t,[a,s,l,c]=o||[null,{},[],null];n=this.templateStatic(n,e);let u=e||t[VM];for(let f=0;f0||l.length>0||c)&&(delete t[pk],t[$d]=[],r.streams.add(o))}dynamicToBuffer(t,e,r,i){if(typeof t=="number"){let[n,o]=this.recursiveCIDToString(r.components,t,r.onlyCids);r.buffer+=n,r.streams=new Set([...r.streams,...o])}else pu(t)?this.toOutputBuffer(t,e,r,i,{}):r.buffer+=t}recursiveCIDToString(t,e,r){let i=t[e]||Xi(`no component for CID ${e}`,t),n={[wo]:e},o=r&&!r.has(e);i.newRender=!o,i.magicId=`${this.parentViewId()}-c-${e}`;let a=!0,[s,l]=this.recursiveToString(i,t,r,a,n);return[s,l]}},yz=1,Ou=class{static makeID(){return yz++}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=null,vz={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();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)},exec_exec(t,e,r,i,n,[o,a]){(a?de.all(document,a):[i]).forEach(l=>{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:$,_target:P}=o;P=P||(de.isFormInput(i)?i.name:void 0),P&&(O._target=P),w.pushInput(i,C,$,a||e,O,p)}else if(t==="submit"){let{submitter:$}=o;w.submitForm(i,C,a||e,$,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(()=>Xl.attemptFocus(n))},exec_focus_first(t,e,r,i,n){window.requestAnimationFrame(()=>Xl.focusFirstInteractive(n)||Xl.focusFirst(n))},exec_push_focus(t,e,r,i,n){window.requestAnimationFrame(()=>Ld=n||i)},exec_pop_focus(t,e,r,i,n){window.requestAnimationFrame(()=>{Ld&&Ld.focus(),Ld=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_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){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"))})},addOrRemoveClasses(t,e,r,i,n,o){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"}},Hi=vz,Md=(t,e,r=[])=>{let l=e,{submitter:i}=l,n=Wr(l,["submitter"]),o=new FormData(t);i&&i.hasAttribute("name")&&i.form&&i.form===t&&o.append(i.name,i.value);let a=[];o.forEach((c,u,f)=>{c instanceof File&&a.push(u)}),a.forEach(c=>o.delete(c));let s=new URLSearchParams;for(let[c,u]of o.entries())(r.length===0||r.indexOf(c)>=0)&&s.append(c,u);for(let c in n)s.append(c,n[c]);return s.toString()},Rk=class{constructor(t,e,r,i,n){this.isDead=!1,this.liveSocket=e,this.flash=i,this.parent=r,this.root=r?r.root:this,this.el=t,this.id=this.el.id,this.ref=0,this.childJoins=0,this.loaderTimer=null,this.pendingDiffs=[],this.pruningCIDs=[],this.redirect=!1,this.href=null,this.joinCount=this.parent?this.parent.joinCount-1:0,this.joinPending=!0,this.destroyed=!1,this.joinCallback=function(o){o&&o()},this.stopCallback=function(){},this.pendingJoinOps=this.parent?null:[],this.viewHooks={},this.uploaders={},this.formSubmits=[],this.children=this.parent?null:{},this.root.children[this.id]={},this.channel=this.liveSocket.channel(`lv:${this.id}`,()=>{let o=this.href&&this.expandURL(this.href);return{redirect:this.redirect?o:void 0,url:this.redirect?void 0:o||void 0,params:this.connectParams(n),session:this.getSession(),static:this.getStatic(),flash:this.flash}})}setHref(t){this.href=t}setRedirect(t){this.redirect=!0,this.href=t}isMain(){return this.el.hasAttribute(g1)}connectParams(t){let e=this.liveSocket.params(this.el),r=de.all(document,`[${this.binding($M)}]`).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(ya)}getStatic(){let t=this.el.getAttribute(gu);return t===""?null:t}destroy(t=function(){}){this.destroyAllChildren(),this.destroyed=!0,delete this.root.children[this.id],this.parent&&delete this.root.children[this.parent.id][this.id],clearTimeout(this.loaderTimer);let e=()=>{t();for(let r in this.viewHooks)this.destroyHook(this.viewHooks[r])};de.markPhxChildDestroyed(this.el),this.log("destroyed",()=>["the child has been removed from the parent"]),this.channel.leave().receive("ok",e).receive("error",e).receive("timeout",e)}setContainerClasses(...t){this.el.classList.remove(ok,uu,Ed,ak,i1),this.el.classList.add(...t)}showLoader(t){if(clearTimeout(this.loaderTimer),t)this.loaderTimer=setTimeout(()=>this.showLoader(),t);else{for(let e in this.viewHooks)this.viewHooks[e].__disconnected();this.setContainerClasses(uu)}}execAll(t){de.all(this.el,`[${t}]`,e=>this.liveSocket.execJS(e,e.getAttribute(t)))}hideLoader(){clearTimeout(this.loaderTimer),this.setContainerClasses(ok),this.execAll(this.binding("connected"))}triggerReconnected(){for(let t in this.viewHooks)this.viewHooks[t].__reconnected()}log(t,e){this.liveSocket.log(this,t,e)}transition(t,e,r=function(){}){this.liveSocket.transition(t,e,r)}withinTargets(t,e){if(t instanceof HTMLElement||t instanceof SVGElement)return this.liveSocket.owner(t,r=>e(r,t));if(xo(t))de.findComponentNodeList(this.el,t).length===0?Xi(`no component found matching phx-target of ${t}`):e(this,parseInt(t));else{let r=Array.from(document.querySelectorAll(t));r.length===0&&Xi(`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,()=>["",Dd(e)]);let{diff:i,reply:n,events:o,title:a}=Tk.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,Bn.dropLocal(this.liveSocket.localStorage,window.location.pathname,Ek),this.applyDiff("mount",e,({diff:i,events:n})=>{this.rendered=new Tk(this.id,i);let[o,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,`[${Oa}="${this.id}"][${$i}]`,t=>{t.removeAttribute($i),t.removeAttribute(Oa)})}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(gu);return s&&o.setAttribute(gu,s),this.joinChild(o)}).length===0?this.parent?(this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,r,i)]),this.parent.ackJoin(this)):(this.onAllChildJoinsComplete(),this.applyJoinPatch(t,e,r,i)):this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,r,i)])}attachTrueDocEl(){this.el=de.byId(this.id),this.el.setAttribute(yu,this.root.id)}execNewMounted(){let t=this.binding(h1),e=this.binding(d1);de.all(this.el,`[${t}], [${e}]`,r=>{de.maybeAddPrivateHooks(r,t,e),this.maybeAddNewHook(r)}),de.all(this.el,`[${this.binding(fu)}], [data-phx-${fu}]`,r=>{this.maybeAddNewHook(r)}),de.all(this.el,`[${this.binding(ck)}]`,r=>this.maybeMounted(r))}applyJoinPatch(t,e,r,i){this.attachTrueDocEl();let n=new 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&&HM(t.dataset,e.dataset)))return r.__beforeUpdate(),r}maybeMounted(t){let e=t.getAttribute(this.binding(ck)),r=e&&de.private(t,"mounted");e&&!r&&(this.liveSocket.execJS(t,e),de.putPrivate(t,"mounted",!0))}maybeAddNewHook(t,e){let r=this.addHook(t);r&&r.__mounted()}performPatch(t,e,r=!1){let i=[],n=!1,o=new Set;return t.after("added",a=>{this.liveSocket.triggerDOM("onNodeAdded",[a]);let s=this.binding(h1),l=this.binding(d1);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,`[${wo}]`),o=de.all(i,`[${this.binding(fu)}]`);n.concat(i).forEach(a=>{let s=this.componentID(a);xo(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($l)][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 Rk(t,this.liveSocket,this);return this.root.children[this.id][r.id]=r,r.join(),this.childJoins++,!0}}isJoinPending(){return this.joinPending}ackJoin(t){this.childJoins--,this.childJoins===0&&(this.parent?this.parent.ackJoin(this):this.onAllChildJoinsComplete())}onAllChildJoinsComplete(){this.joinCallback(()=>{this.pendingJoinOps.forEach(([t,e])=>{t.isDestroyed()||e()}),this.pendingJoinOps=[]})}update(t,e){if(this.isJoinPending()||this.liveSocket.hasPendingLink()&&this.root.isMain())return this.pendingDiffs.push({diff:t,events:e});this.rendered.mergeDiff(t);let r=!1;this.rendered.isComponentOnlyDiff(t)?this.liveSocket.time("component patch complete",()=>{de.findParentCIDs(this.el,this.rendered.componentCIDs(t)).forEach(n=>{this.componentPatch(this.rendered.getComponent(t,n),n)&&(r=!0)})}):mk(t)||this.liveSocket.time("full patch complete",()=>{let[i,n]=this.renderContainer(t,"update"),o=new 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(mk(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[Ou.elementID(t)]}addHook(t){if(Ou.elementID(t)||!t.getAttribute)return;let e=t.getAttribute(`data-phx-${fu}`)||t.getAttribute(this.binding(fu));if(e&&!this.ownsElement(t))return;let r=this.liveSocket.getHookCallbacks(e);if(r){t.id||Xi(`no DOM ID for hook "${e}". Hooks require a unique ID on each element.`,t);let i=new Ou(this,t,r);return this.viewHooks[Ou.elementID(i.el)]=i,i}else e!==null&&Xi(`unknown hook found for "${e}"`,t)}destroyHook(t){t.__destroyed(),t.__cleanup__(),delete this.viewHooks[Ou.elementID(t.el)]}applyPendingUpdates(){this.pendingDiffs.forEach(({diff:t,events:e})=>this.update(t,e)),this.pendingDiffs=[],this.eachChild(t=>t.applyPendingUpdates())}eachChild(t){let e=this.root.children[this.id]||{};for(let r in e)t(this.getChildById(r))}onChannel(t,e){this.liveSocket.onChannel(this.channel,t,r=>{this.isJoinPending()?this.root.pendingJoinOps.push([this,()=>e(r)]):this.liveSocket.requestDOMUpdate(()=>e(r))})}bindChannel(){this.liveSocket.onChannel(this.channel,"diff",t=>{this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",t,({diff:e,events:r})=>this.update(e,r))})}),this.onChannel("redirect",({to:t,flash:e})=>this.onRedirect({to:t,flash:e})),this.onChannel("live_patch",t=>this.onLivePatch(t)),this.onChannel("live_redirect",t=>this.onLiveRedirect(t)),this.channel.onError(t=>this.onError(t)),this.channel.onClose(t=>this.onClose(t))}destroyAllChildren(){this.eachChild(t=>t.destroy())}onLiveRedirect(t){let{to:e,kind:r,flash:i}=t,n=this.expandURL(e);this.liveSocket.historyRedirect(n,r,i)}onLivePatch(t){let{to:e,kind:r}=t;this.href=this.expandURL(e),this.liveSocket.historyPatch(e,r)}expandURL(t){return t.startsWith("/")?`${window.location.protocol}//${window.location.host}${t}`:t}onRedirect({to:t,flash:e}){this.liveSocket.redirect(t,e)}isDestroyed(){return this.destroyed}joinDead(){this.isDead=!0}join(t){this.showLoader(this.liveSocket.loaderTimeout),this.bindChannel(),this.isMain()&&(this.stopCallback=this.liveSocket.withPageLoading({to:this.href,kind:"initial"})),this.joinCallback=e=>{e=e||function(){},t?t(this.joinCount,e):e()},this.liveSocket.wrapPush(this,{timeout:!1},()=>this.channel.join().receive("ok",e=>{this.isDestroyed()||this.liveSocket.requestDOMUpdate(()=>this.onJoin(e))}).receive("error",e=>!this.isDestroyed()&&this.onJoinError(e)).receive("timeout",()=>!this.isDestroyed()&&this.onJoinError({reason:"timeout"})))}onJoinError(t){if(t.reason==="reload"){this.log("error",()=>[`failed mount with ${t.status}. Falling back to page request`,t]),this.isMain()&&this.onRedirect({to:this.href});return}else if(t.reason==="unauthorized"||t.reason==="stale"){this.log("error",()=>["unauthorized live_redirect. Falling back to page request",t]),this.isMain()&&this.onRedirect({to:this.href});return}if((t.redirect||t.live_redirect)&&(this.joinPending=!1,this.channel.leave()),t.redirect)return this.onRedirect(t.redirect);if(t.live_redirect)return this.onLiveRedirect(t.live_redirect);this.displayError([uu,Ed,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(qM)}}onError(t){this.onClose(t),this.liveSocket.isConnected()&&this.log("error",()=>["view crashed",t]),this.liveSocket.isUnloaded()||(this.liveSocket.isConnected()?this.displayError([uu,Ed,i1]):this.displayError([uu,Ed,ak]))}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(nk))!==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,BM).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,`[${Oa}="${this.id}"][${$i}="${t}"]`,e=>{let r=e.getAttribute(Cd);e.removeAttribute($i),e.removeAttribute(Oa),e.getAttribute(n1)!==null&&(e.readOnly=!1,e.removeAttribute(n1)),r!==null&&(e.disabled=r==="true",e.removeAttribute(Cd)),Ck.forEach(o=>de.removeClass(e,o));let i=e.getAttribute(Pd);i!==null&&(e.innerText=i,e.removeAttribute(Pd));let n=de.private(e,$i);if(n){let o=this.triggerBeforeUpdateHook(e,n);Id.patchEl(e,n,this.liveSocket.getActiveElement()),o&&o.__updated(),de.deletePrivate(e,$i)}})}putRef(t,e,r={}){let i=this.ref++,n=this.binding(m1);return r.loading&&(t=t.concat(de.all(document,r.loading))),t.forEach(o=>{o.classList.add(`phx-${e}-loading`),o.setAttribute($i,i),o.setAttribute(Oa,this.el.id);let a=o.getAttribute(n);a!==null&&(o.getAttribute(Pd)||o.setAttribute(Pd,o.innerText),a!==""&&(o.innerText=a),o.setAttribute("disabled",""))}),[i,t,r]}componentID(t){let e=t.getAttribute&&t.getAttribute(wo);return e?parseInt(e):null}targetComponentID(t,e,r={}){if(xo(e))return e;let i=r.target||t.getAttribute(this.binding("target"));return xo(i)?parseInt(i):e&&(i!==null||r.target)?this.closestComponentID(e):null}closestComponentID(t){return xo(t)?t:t?ga(t.closest(`[${wo}]`),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(NM)),ref:t.getAttribute(ba),entry_ref:e,progress:r,cid:n.targetComponentID(t.form,o)},i)})}pushInput(t,e,r,i,n,o){let a,s=xo(r)?r:this.targetComponentID(t.form,e,n),l=()=>this.putRef([t,t.form],"change",n),c,u=this.extractMeta(t.form);t.getAttribute(this.binding("change"))?c=Md(t.form,ne({_target:n._target},u),[t.name]):c=Md(t.form,ne({_target:n._target},u)),de.isUploadInput(t)&&t.files&&t.files.length>0&&$r.trackFiles(t,Array.from(t.files)),a=$r.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(Nd)),de.isUploadInput(t)&&de.isAutoUpload(t)){if($r.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=>!(bu(u,`${this.binding(qd)}=ignore`,u.form)||bu(u,"data-phx-update=ignore",u.form)),i=u=>u.hasAttribute(this.binding(m1)),n=u=>u.tagName=="BUTTON",o=u=>["INPUT","TEXTAREA","SELECT"].includes(u.tagName),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(Cd,u.disabled),u.disabled=!0}),c.forEach(u=>{u.setAttribute(n1,u.readOnly),u.readOnly=!0,u.files&&(u.setAttribute(Cd,u.disabled),u.disabled=!0)}),t.setAttribute(this.binding(nk),""),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($r.hasUploadsInProgress(t)){let[l,c]=a(),u=()=>this.pushFormSubmit(t,e,r,i,n,o);return this.scheduleSubmit(t,l,n,u)}else if($r.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=Md(t,ne({submitter:i},d));this.pushWithReply(u,"event",{type:"form",event:r,value:p,cid:s},o)})}else if(!(t.hasAttribute($i)&&t.classList.contains("phx-submit-loading"))){let l=this.extractMeta(t),c=Md(t,ne({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=$r.activeFileInputs(t),s=a.length;a.forEach(l=>{let c=new $r(l,this,()=>{s--,s===0&&n()});this.uploaders[l]=c;let u=c.entries().map(d=>d.toPreflightPayload()),f={ref:l.getAttribute(ba),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?Xi(`no live file inputs found matching the name "${e}"`):n.length>1?Xi(`duplicate live file inputs found matching the name "${e}"`):de.dispatchEvent(n[0],Pk,{detail:{files:r}})}targetCtxElement(t){if(xo(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(ba)&&$r.clearFiles(c));let s=a.find(c=>c.type!=="hidden")||a[0],l=t.getAttribute(this.binding(lk))||t.getAttribute(this.binding("change"));Hi.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(lk))!=="ignore").map(i=>{let n=i.getAttribute(e).replaceAll(/([\[\]"])/g,"\\$1"),o=r.content.querySelector(`form[id="${i.id}"][${e}="${n}"]`);return o?[i,o,this.targetComponentID(o)]:[i,i,this.targetComponentID(i)]}).filter(([i,n,o])=>n)}maybePushComponentsDestroyed(t){let e=t.filter(r=>de.findComponentNodeList(this.el,r).length===0);e.length>0&&(this.pruningCIDs.push(...e),this.pushWithReply(null,"cids_will_destroy",{cids:e},()=>{this.pruningCIDs=this.pruningCIDs.filter(i=>e.indexOf(i)!==-1);let r=e.filter(i=>de.findComponentNodeList(this.el,i).length===0);r.length>0&&this.pushWithReply(null,"cids_destroyed",{cids:r},i=>{this.rendered.pruneCIDs(i.cids)})}))}ownsElement(t){let e=t.closest(Rl);return t.getAttribute($l)===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(Nd),a=Array.from(t.elements);a.forEach(s=>de.putPrivate(s,Ud,!0)),this.liveSocket.blurActiveElement(this),this.pushFormSubmit(t,e,r,i,n,()=>{a.forEach(s=>de.showError(s,o)),this.liveSocket.restorePreviouslyActiveFocus()})}binding(t){return this.liveSocket.binding(t)}},Ik=class{constructor(t,e,r={}){if(this.unloaded=!1,!e||e.constructor.name==="Object")throw new Error(` a phoenix Socket must be provided as the second argument to the LiveSocket constructor. For example: import {Socket} from "phoenix" import {LiveSocket} from "phoenix_live_view" let liveSocket = new LiveSocket("/live", Socket, {...}) - `);this.socket=new e(t,r),this.bindingPrefix=r.bindingPrefix||jM,this.opts=r,this.params=l1(r.params||{}),this.viewLogger=r.viewLogger,this.metadataCallbacks=r.metadata||{},this.defaults=Object.assign(zd(WM),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||UM,this.reloadWithJitterTimer=null,this.maxReloads=r.maxReloads||PM,this.reloadJitterMin=r.reloadJitterMin||_M,this.reloadJitterMax=r.reloadJitterMax||AM,this.failsafeJitter=r.failsafeJitter||QM,this.localStorage=r.localStorage||window.localStorage,this.sessionStorage=r.sessionStorage||window.sessionStorage,this.boundTopLevelEvents=!1,this.domCallbacks=Object.assign({onNodeAdded:l1(),onBeforeElUpdated:l1()},r.dom||{}),this.transitions=new xz,window.addEventListener("pagehide",i=>{this.unloaded=!0}),this.socket.onOpen(()=>{this.isUnloaded()&&window.location.reload()})}isProfileEnabled(){return this.sessionStorage.getItem(o1)==="true"}isDebugEnabled(){return this.sessionStorage.getItem(_d)==="true"}isDebugDisabled(){return this.sessionStorage.getItem(_d)==="false"}enableDebug(){this.sessionStorage.setItem(_d,"true")}enableProfiling(){this.sessionStorage.setItem(o1,"true")}disableDebug(){this.sessionStorage.setItem(_d,"false")}disableProfiling(){this.sessionStorage.removeItem(o1)}enableLatencySim(t){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(a1,t)}disableLatencySim(){this.sessionStorage.removeItem(a1)}getLatencySim(){let t=this.sessionStorage.getItem(a1);return t?parseInt(t):null}getSocket(){return this.socket}connect(){window.location.hostname==="localhost"&&!this.isDebugDisabled()&&this.enableDebug();let t=()=>{this.joinRootViews()?(this.bindTopLevelEvents(),this.socket.connect()):this.main?this.socket.connect():this.bindTopLevelEvents({dead:!0}),this.joinDeadView()};["complete","loaded","interactive"].indexOf(document.readyState)>=0?t():document.addEventListener("DOMContentLoaded",()=>t())}disconnect(t){clearTimeout(this.reloadWithJitterTimer),this.socket.disconnect(t)}replaceTransport(t){clearTimeout(this.reloadWithJitterTimer),this.socket.replaceTransport(t),this.connect()}execJS(t,e,r=null){this.owner(t,i=>Hi.exec(r,e,i,t))}execJSHookPush(t,e,r,i){this.withinOwners(t,n=>{Hi.exec("hook",e,n,t,["push",{data:r,callback:i}])})}unload(){this.unloaded||(this.main&&this.isConnected()&&this.log(this.main,"socket",()=>["disconnect for page nav"]),this.unloaded=!0,this.destroyAllViews(),this.disconnect())}triggerDOM(t,e){this.domCallbacks[t](...e)}time(t,e){if(!this.isProfileEnabled()||!console.time)return e();console.time(t);let r=e();return console.timeEnd(t),r}log(t,e,r){if(this.viewLogger){let[i,n]=r();this.viewLogger(t,e,i,n)}else if(this.isDebugEnabled()){let[i,n]=r();YM(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=Bn.updateLocal(this.localStorage,window.location.pathname,Ek,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.")?rz[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,`${Rl}:not([${$l}])`,e=>{if(!this.getRootById(e.id)){let r=this.newRootView(e);r.setHref(this.getHref()),r.join(),e.hasAttribute(g1)&&(this.main=r)}t=!0}),t}redirect(t,e){this.unload(),Bn.redirect(t,e)}replaceMain(t,e,r=null,i=this.setPendingLink(t)){let n=this.currentLocation.href;this.outgoingMainEl=this.outgoingMainEl||this.main.el;let o=de.cloneNode(this.outgoingMainEl,"");this.main.showLoader(this.loaderTimeout),this.main.destroy(),this.main=this.newRootView(o,e,n),this.main.setRedirect(t),this.transitionRemoves(),this.main.join((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&&requestAnimationFrame(()=>r(i)),s()})})}transitionRemoves(t){let e=this.binding("remove");t=t||de.all(document,`[${e}]`),t.forEach(r=>{this.execJS(r,r.getAttribute(e),"remove")})}isPhxView(t){return t.getAttribute&&t.getAttribute(ya)!==null}newRootView(t,e,r){let i=new Rk(t,this,null,e,r);return this.roots[i.id]=i,i}owner(t,e){let r=ga(t.closest(Rl),i=>this.getViewByEl(i))||this.main;r&&e(r)}withinOwners(t,e){this.owner(t,r=>e(r,t))}getViewByEl(t){let e=t.getAttribute(yu);return ga(this.getRootById(e),r=>r.getDescendentByEl(t))}getRootById(t){return this.roots[t]}destroyAllViews(){for(let t in this.roots)this.roots[t].destroy(),delete this.roots[t];this.main=null}destroyViewByEl(t){let e=this.getRootById(t.getAttribute(yu));e&&e.id===t.id?(e.destroy(),delete this.roots[e.id]):e&&e.destroyDescendent(t.id)}setActiveElement(t){if(this.activeElement===t)return;this.activeElement=t;let e=()=>{t===this.activeElement&&(this.activeElement=null),t.removeEventListener("mouseup",this),t.removeEventListener("touchend",this)};t.addEventListener("mouseup",e),t.addEventListener("touchend",e)}getActiveElement(){return document.activeElement===document.body?this.activeElement||document.activeElement:document.activeElement||document.body}dropActiveElement(t){this.prevActive&&t.ownsElement(this.prevActive)&&(this.prevActive=null)}restorePreviouslyActiveFocus(){this.prevActive&&this.prevActive!==document.body&&this.prevActive.focus()}blurActiveElement(){this.prevActive=this.getActiveElement(),this.prevActive!==document.body&&this.prevActive.blur()}bindTopLevelEvents({dead:t}={}){this.boundTopLevelEvents||(this.boundTopLevelEvents=!0,this.socket.onClose(e=>{if(e&&e.code===1e3&&this.main)return this.reloadWithJitter(this.main)}),document.body.addEventListener("click",function(){}),window.addEventListener("pageshow",e=>{e.persisted&&(this.getSocket().disconnect(),this.withPageLoading({to:window.location.href,kind:"redirect"}),window.location.reload())},!0),t||this.bindNav(),this.bindClicks(),t||this.bindForms(),this.bind({keyup:"keyup",keydown:"keydown"},(e,r,i,n,o,a)=>{let s=n.getAttribute(this.binding(DM)),l=e.key&&e.key.toLowerCase();if(s&&s.toLowerCase()!==l)return;let c=ne({key:e.key},this.eventMeta(r,e,n));Hi.exec(r,o,i,n,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,r,i,n,o,a)=>{if(!a){let s=ne({key:e.key},this.eventMeta(r,e,n));Hi.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);Hi.exec(r,o,i,n,["push",{data:s}])}}),window.addEventListener("dragover",e=>e.preventDefault()),window.addEventListener("drop",e=>{e.preventDefault();let r=ga(bu(e.target,this.binding(rk)),o=>o.getAttribute(this.binding(rk))),i=r&&document.getElementById(r),n=Array.from(e.dataTransfer.files||[]);!i||i.disabled||n.length===0||!(i.files instanceof FileList)||($r.trackFiles(i,n,e.dataTransfer),i.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on(Pk,e=>{let r=e.target;if(!de.isUploadInput(r))return;let i=Array.from(e.detail.files||[]).filter(n=>n instanceof File||n instanceof Blob);$r.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{let s=this.clickStartedAtTarget||n.target;o=bu(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($i)&&this.debounce(o,n,"click",()=>{this.withinOwners(o,s=>{Hi.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(t.target,n=>{let o=i.getAttribute(r);Hi.isVisible(i)&&Hi.isInViewport(i)&&Hi.exec("click",o,n,i,["push",{data:this.eventMeta("click",t,t.target)}])})})}bindNav(){if(!Bn.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let t=null;window.addEventListener("scroll",e=>{clearTimeout(t),t=setTimeout(()=>{Bn.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=bu(e.target,t1),i=r&&r.getAttribute(t1);if(!i||!this.isConnected()||!this.main||de.wantsNewTab(e))return;let n=r.href instanceof SVGAnimatedString?r.href.baseVal:r.href,o=r.getAttribute(XM);e.preventDefault(),e.stopImmediatePropagation(),this.pendingLink!==n&&this.requestDOMUpdate(()=>{if(i==="patch")this.pushHistoryPatch(n,o,r);else if(i==="redirect")this.historyRedirect(n,o);else throw new Error(`expected ${t1} to be "patch" or "redirect", got: ${i}`);let 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())return Bn.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)&&(Bn.pushState(e,{type:"patch",id:this.main.id},t),de.dispatchEvent(window,"phx:navigate",{detail:{patch:!0,href:t,pop:!1}}),this.registerNewLocation(window.location))}historyRedirect(t,e,r){if(!this.isConnected())return Bn.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&&(Bn.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(){Bn.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=>{Hi.exec("submit",i,n,r.target,["push",{submitter:r.submitter}])})},!1);for(let r of["change","input"])this.on(r,i=>{let n=this.binding("change"),o=i.target,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,p1,!0),de.isTextualInput(o)||this.setActiveElement(o),Hi.exec("change",l,p,o,["push",{_target:i.target.name,dispatcher:c}])})}))},!1);this.on("reset",r=>{let i=r.target;de.resetForm(i,this.binding(Dd));let n=Array.from(i.elements).find(o=>o.type==="reset");window.requestAnimationFrame(()=>{n.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!1}))})})}debounce(t,e,r,i){if(r==="blur"||r==="focusout")return i();let n=this.binding(MM),o=this.binding(zM),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)})}},xz=class{constructor(){this.transitions=new Set,this.pendingOps=[]}reset(){this.transitions.forEach(t=>{clearTimeout(t),this.transitions.delete(t)}),this.flushPendingOps()}after(t){this.size()===0?t():this.pushPendingOp(t)}addTransition(t,e,r){e();let i=setTimeout(()=>{this.transitions.delete(i),r(),this.flushPendingOps()},t);this.transitions.add(i)}pushPendingOp(t){this.pendingOps.push(t)}size(){return this.transitions.size}flushPendingOps(){if(this.size()>0)return;let t=this.pendingOps.shift();t&&(t(),this.flushPendingOps())}};var Lk="livebook:";function ks(t){try{let e=localStorage.getItem(Lk+t);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function Il(t,e){try{let r=JSON.stringify(e);localStorage.setItem(Lk+t,r)}catch(r){console.error(`Failed to write to local storage, reason: ${r.message}`)}}var Mk="app_auth_token:";function zk(t,e){Il(Mk+t,e)}function Dk(){let t=window.location.pathname;if(t.startsWith("/apps/")){let e=t.split("/")[2],r=ks(Mk+e);if(r)return r}return null}var wz={mounted(){this.handleEvent("persist_app_auth",({slug:t,token:e})=>{zk(t,e),this.pushEvent("app_auth_persisted")})}},Nk=wz;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[kz(i)]=JSON.parse(o)}return r}function kz(t){let[e,...r]=t.split("-");return[e,...r.map(i=>i.charAt(0).toUpperCase()+i.slice(1))].join("")}function Uk(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(...y1)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...y1)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...y1)}),this.recordButton.addEventListener("click",t=>{this.startRecording()}),this.stopButton.addEventListener("click",t=>{this.stopRecording()}),this.cancelButton.addEventListener("click",t=>{this.stopRecording(!1)})},updated(){this.props=this.getProps(),this.audioEl.src=this.props.audioUrl},getProps(){return $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=Tz(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 Ez(t.data,this.props.endianness);if(this.props.format==="wav")return Uk(t.data,t.numChannels,t.samplingRate)}};function Tz(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 qd,_z="http://www.w3.org/1999/xhtml",bi=typeof document=="undefined"?void 0:document,Az=!!bi&&"content"in bi.createElement("template"),Qz=!!bi&&bi.createRange&&"createContextualFragment"in bi.createRange();function $z(t){var e=bi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function Xz(t){qd||(qd=bi.createRange(),qd.selectNode(bi.body));var e=qd.createContextualFragment(t);return e.childNodes[0]}function Rz(t){var e=bi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function Iz(t){return t=t.trim(),Az?$z(t):Qz?Xz(t):Rz(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 Lz(t,e){return!e||e===_z?bi.createElement(t):bi.createElementNS(e,t)}function Mz(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function v1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var Vk={OPTION:function(t,e){var r=t.parentNode;if(r){var i=r.nodeName.toUpperCase();i==="OPTGROUP"&&(r=r.parentNode,i=r&&r.nodeName.toUpperCase()),i==="SELECT"&&!r.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),r.selectedIndex=-1)}v1(t,e,"selected")},INPUT:function(t,e){v1(t,e,"checked"),v1(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var r=e.value;t.value!==r&&(t.value=r);var i=t.firstChild;if(i){var n=i.nodeValue;if(n==r||!r&&n==t.placeholder)return;i.nodeValue=r}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var r=-1,i=0,n=t.firstChild,o,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}}},xu=1,Fk=11,Zk=3,Yk=8;function va(){}function zz(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function Dz(t){return function(r,i,n){if(n||(n={}),typeof i=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"||r.nodeName==="BODY"){var o=i;i=bi.createElement("html"),i.innerHTML=o}else i=Iz(i);else i.nodeType===Fk&&(i=i.firstElementChild);var a=n.getNodeKey||zz,s=n.onBeforeNodeAdded||va,l=n.onNodeAdded||va,c=n.onBeforeElUpdated||va,u=n.onElUpdated||va,f=n.onBeforeNodeDiscarded||va,d=n.onNodeDiscarded||va,p=n.onBeforeElChildrenUpdated||va,O=n.skipFromChildren||va,x=n.addChild||function(ae,he){return ae.appendChild(he)},k=n.childrenOnly===!0,w=Object.create(null),C=[];function $(ae){C.push(ae)}function P(ae,he){if(ae.nodeType===xu)for(var K=ae.firstChild;K;){var A=void 0;he&&(A=a(K))?$(A):(d(K),K.firstChild&&P(K,he)),K=K.nextSibling}}function L(ae,he,K){f(ae)!==!1&&(he&&he.removeChild(ae),d(ae),P(ae,K))}function M(ae){if(ae.nodeType===xu||ae.nodeType===Fk)for(var he=ae.firstChild;he;){var K=a(he);K&&(w[K]=he),M(he),he=he.nextSibling}}M(r);function Z(ae){l(ae);for(var he=ae.firstChild;he;){var K=he.nextSibling,A=a(he);if(A){var G=w[A];G&&jd(he,G)?(he.parentNode.replaceChild(G,he),H(G,he)):Z(he)}else Z(he);he=K}}function re(ae,he,K){for(;he;){var A=he.nextSibling;(K=a(he))?$(K):L(he,ae,!0),he=A}}function H(ae,he,K){var A=a(he);A&&delete w[A],!(!K&&(c(ae,he)===!1||(t(ae,he),u(ae),p(ae,he)===!1)))&&(ae.nodeName!=="TEXTAREA"?W(ae,he):Vk.TEXTAREA(ae,he))}function W(ae,he){var K=O(ae,he),A=he.firstChild,G=ae.firstChild,se,q,Je,st,at;e:for(;A;){for(st=A.nextSibling,se=a(A);!K&&G;){if(Je=G.nextSibling,A.isSameNode&&A.isSameNode(G)){A=st,G=Je;continue e}q=a(G);var Ce=G.nodeType,Ze=void 0;if(Ce===A.nodeType&&(Ce===xu?(se?se!==q&&((at=w[se])?Je===at?Ze=!1:(ae.insertBefore(at,G),q?$(q):L(G,ae,!0),G=at,q=a(G)):Ze=!1):q&&(Ze=!1),Ze=Ze!==!1&&jd(G,A),Ze&&H(G,A)):(Ce===Zk||Ce==Yk)&&(Ze=!0,G.nodeValue!==A.nodeValue&&(G.nodeValue=A.nodeValue))),Ze){A=st,G=Je;continue e}q?$(q):L(G,ae,!0),G=Je}if(se&&(at=w[se])&&jd(at,A))K||x(ae,at),H(at,A);else{var Rt=s(A);Rt!==!1&&(Rt&&(A=Rt),A.actualize&&(A=A.actualize(ae.ownerDocument||bi)),x(ae,A),Z(A))}A=st,G=Je}re(ae,G,q);var ct=Vk[ae.nodeName];ct&&ct(ae,he)}var oe=r,pe=oe.nodeType,fe=i.nodeType;if(!k){if(pe===xu)fe===xu?jd(r,i)||(d(r),oe=Mz(r,Lz(i.nodeName,i.namespaceURI))):oe=i;else if(pe===Zk||pe===Yk){if(fe===pe)return oe.nodeValue!==i.nodeValue&&(oe.nodeValue=i.nodeValue),oe;oe=i}}if(oe===i)d(r);else{if(i.isSameNode&&i.isSameNode(oe))return;if(H(oe,i,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 k1(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?s6(t.position):"start"in t||"end"in t?s6(t):"line"in t||"column"in t?w1(t):""}function w1(t){return l6(t&&t.line)+":"+l6(t&&t.column)}function s6(t){return w1(t&&t.start)+"-"+w1(t&&t.end)}function l6(t){return t&&typeof t=="number"?t:1}var ur=class extends Error{constructor(e,r,i){super(),typeof r=="string"&&(i=r,r=void 0);let n="",o={},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=ne({},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=k1(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=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:qz,dirname:jz,extname:Bz,join:Wz,sep:"/"};function qz(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');ku(t);let r=0,i=-1,n=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;n--;)if(t.codePointAt(n)===47){if(o){r=n+1;break}}else i<0&&(o=!0,i=n+1);return i<0?"":t.slice(r,i)}if(e===t)return"";let 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 jz(t){if(ku(t),t.length===0)return".";let e=-1,r=t.length,i;for(;--r;)if(t.codePointAt(r)===47){if(i){e=r;break}}else i||(i=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function Bz(t){ku(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 Wz(...t){let e=-1,r;for(;++e0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function Fz(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 ku(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var c6={cwd:Zz};function Zz(){return"/"}function Ll(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function u6(t){if(typeof t=="string")t=new URL(t);else if(!Ll(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return Yz(t)}function Yz(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];wu(x)&&wu(p)&&(p=(0,Vd.default)(!0,x,p)),i[d]=[c,p,...O]}}}},Fd=new A1().freeze();function C1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function P1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function _1(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function d6(t){if(!wu(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function p6(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function Wd(t){return Kz(t)?t:new xa(t)}function Kz(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Jz(t){return typeof t=="string"||eD(t)}function eD(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var tD={};function Q1(t,e){let r=e||tD,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return O6(t,i,n)}function O6(t,e,r){if(rD(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return m6(t.children,e,r)}return Array.isArray(t)?m6(t,e,r):""}function m6(t,e,r){let i=[],n=-1;for(;++nn?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)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 g6={}.hasOwnProperty;function b6(t){let e={},r=-1;for(;++r13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCharCode(r)}function ko(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var oD=wa(new RegExp("\\p{P}","u")),Ri=wa(/[A-Za-z]/),oi=wa(/[\dA-Za-z]/),y6=wa(/[#-'*+\--9=?A-Z^-~]/);function Su(t){return t!==null&&(t<32||t===127)}var Tu=wa(/\d/),v6=wa(/[\dA-Fa-f]/),$1=wa(/[!-/:-@[-`{-~]/);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 x6(t){return $1(t)||oD(t)}var w6=wa(/\s/);function wa(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 Z=e.events.length,re=Z,H,W;for(;re--;)if(e.events[re][0]==="exit"&&e.events[re][1].type==="chunkFlow"){if(H){W=e.events[re][1].end;break}H=!0}for(w(i),M=Z;M$;){let L=r[P];e.containerState=L[1],L[0].exit.call(e,t)}r.length=$}function C(){n.write([null]),o=void 0,n=void 0,e.containerState._closeFlow=void 0}}function lD(t,e,r){return rt(t,t.attempt(this.parser.constructs.document,e,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function X1(t){if(t===null||ar(t)||w6(t))return 1;if(x6(t))return 2}function Ml(t,e,r){let i=[],n=-1;for(;++n1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;let f=Object.assign({},t[i][1].end),d=Object.assign({},t[r][1].start);E6(f,-l),E6(d,l),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=ni(c,[["enter",t[i][1],e],["exit",t[i][1],e]])),c=ni(c,[["enter",n,e],["enter",a,e],["exit",a,e],["enter",o,e]]),c=ni(c,Ml(e.parser.constructs.insideSpan.null,t.slice(i+1,r),e)),c=ni(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=ni(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(M)?rt(t,C,"linePrefix",o+1)(M):C(M)}function C(M){return M===null||ze(M)?t.check(C6,x,P)(M):(t.enter("codeFlowValue"),$(M))}function $(M){return M===null||ze(M)?(t.exit("codeFlowValue"),C(M)):(t.consume(M),$)}function P(M){return t.exit("codeFenced"),e(M)}function L(M,Z,re){let H=0;return W;function W(ve){return M.enter("lineEnding"),M.consume(ve),M.exit("lineEnding"),oe}function oe(ve){return M.enter("codeFencedFence"),tt(ve)?rt(M,pe,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ve):pe(ve)}function pe(ve){return ve===s?(M.enter("codeFencedFenceSequence"),fe(ve)):re(ve)}function fe(ve){return ve===s?(H++,M.consume(ve),fe):H>=a?(M.exit("codeFencedFenceSequence"),tt(ve)?rt(M,ge,"whitespace")(ve):ge(ve)):re(ve)}function ge(ve){return ve===null||ze(ve)?(M.exit("codeFencedFence"),Z(ve)):re(ve)}}}function yD(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 Cu={name:"codeIndented",tokenize:xD},vD={tokenize:wD,partial:!0};function xD(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(vD,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 wD(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 I1={name:"codeText",tokenize:TD,resolve:kD,previous:SD};function kD(t){let e=t.length-4,r=3,i,n;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(i=r;++i=4?e(a):t.interrupt(i.parser.constructs.flow,r,e)(a)}}function e0(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||Su(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 r0(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 M1={name:"definition",tokenize:$D},QD={tokenize:XD,partial:!0};function $D(t,e,r){let i=this,n;return o;function o(p){return t.enter("definition"),a(p)}function a(p){return t0.call(i,t,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return n=ko(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),l):r(p)}function l(p){return ar(p)?Ss(t,c)(p):c(p)}function c(p){return e0(t,u,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function u(p){return t.attempt(QD,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 XD(t,e,r){return i;function i(s){return ar(s)?Ss(t,n)(s):r(s)}function n(s){return r0(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 z1={name:"hardBreakEscape",tokenize:RD};function RD(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 D1={name:"headingAtx",tokenize:LD,resolve:ID};function ID(t,e){let r=t.length-2,i=3,n,o;return t[i][1].type==="whitespace"&&(i+=2),r-2>i&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(i===r-1||r-4>i&&t[r-2][1].type==="whitespace")&&(r-=i+1===r?2:4),r>i&&(n={type:"atxHeadingText",start:t[i][1].start,end:t[r][1].end},o={type:"chunkText",start:t[i][1].start,end:t[r][1].end,contentType:"text"},Xr(t,i,r-i+1,[["enter",n,e],["enter",o,e],["exit",o,e],["exit",n,e]])),t}function LD(t,e,r){let i=0;return n;function n(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),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 P6=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],N1=["pre","script","style","textarea"];var U1={name:"htmlFlow",tokenize:ND,resolveTo:DD,concrete:!0},MD={tokenize:qD,partial:!0},zD={tokenize:UD,partial:!0};function DD(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function ND(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:A):Ri(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):Ri(q)?(t.consume(q),n=4,i.interrupt?e:A):r(q)}function p(q){return q===45?(t.consume(q),i.interrupt?e:A):r(q)}function O(q){let Je="CDATA[";return q===Je.charCodeAt(s++)?(t.consume(q),s===Je.length?i.interrupt?e:pe:O):r(q)}function x(q){return Ri(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&&N1.includes(st)?(n=1,i.interrupt?e(q):pe(q)):P6.includes(a.toLowerCase())?(n=6,Je?(t.consume(q),w):i.interrupt?e(q):pe(q)):(n=7,i.interrupt&&!i.parser.lazy[i.now().line]?r(q):o?C(q):$(q))}return q===45||oi(q)?(t.consume(q),a+=String.fromCharCode(q),k):r(q)}function w(q){return q===62?(t.consume(q),i.interrupt?e:pe):r(q)}function C(q){return tt(q)?(t.consume(q),C):W(q)}function $(q){return q===47?(t.consume(q),W):q===58||q===95||Ri(q)?(t.consume(q),P):tt(q)?(t.consume(q),$):W(q)}function P(q){return q===45||q===46||q===58||q===95||oi(q)?(t.consume(q),P):L(q)}function L(q){return q===61?(t.consume(q),M):tt(q)?(t.consume(q),L):$(q)}function M(q){return q===null||q===60||q===61||q===62||q===96?r(q):q===34||q===39?(t.consume(q),l=q,Z):tt(q)?(t.consume(q),M):re(q)}function Z(q){return q===l?(t.consume(q),l=null,H):q===null||ze(q)?r(q):(t.consume(q),Z)}function re(q){return q===null||q===34||q===39||q===47||q===60||q===61||q===62||q===96||ar(q)?L(q):(t.consume(q),re)}function H(q){return q===47||q===62||tt(q)?$(q):r(q)}function W(q){return q===62?(t.consume(q),oe):r(q)}function oe(q){return q===null||ze(q)?pe(q):tt(q)?(t.consume(q),oe):r(q)}function pe(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),G):q===63&&n===3?(t.consume(q),A):q===93&&n===5?(t.consume(q),K):ze(q)&&(n===6||n===7)?(t.exit("htmlFlowData"),t.check(MD,se,fe)(q)):q===null||ze(q)?(t.exit("htmlFlowData"),fe(q)):(t.consume(q),pe)}function fe(q){return t.check(zD,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)?fe(q):(t.enter("htmlFlowData"),pe(q))}function _e(q){return q===45?(t.consume(q),A):pe(q)}function ae(q){return q===47?(t.consume(q),a="",he):pe(q)}function he(q){if(q===62){let Je=a.toLowerCase();return N1.includes(Je)?(t.consume(q),G):pe(q)}return Ri(q)&&a.length<8?(t.consume(q),a+=String.fromCharCode(q),he):pe(q)}function K(q){return q===93?(t.consume(q),A):pe(q)}function A(q){return q===62?(t.consume(q),G):q===45&&n===2?(t.consume(q),A):pe(q)}function G(q){return q===null||ze(q)?(t.exit("htmlFlowData"),se(q)):(t.consume(q),G)}function se(q){return t.exit("htmlFlow"),e(q)}}function UD(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 qD(t,e,r){return i;function i(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),t.attempt(ka,e,r)}}var q1={name:"htmlText",tokenize:jD};function jD(t,e,r){let i=this,n,o,a;return s;function s(A){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(A),l}function l(A){return A===33?(t.consume(A),c):A===47?(t.consume(A),L):A===63?(t.consume(A),$):Ri(A)?(t.consume(A),re):r(A)}function c(A){return A===45?(t.consume(A),u):A===91?(t.consume(A),o=0,O):Ri(A)?(t.consume(A),C):r(A)}function u(A){return A===45?(t.consume(A),p):r(A)}function f(A){return A===null?r(A):A===45?(t.consume(A),d):ze(A)?(a=f,ae(A)):(t.consume(A),f)}function d(A){return A===45?(t.consume(A),p):f(A)}function p(A){return A===62?_e(A):A===45?d(A):f(A)}function O(A){let G="CDATA[";return A===G.charCodeAt(o++)?(t.consume(A),o===G.length?x:O):r(A)}function x(A){return A===null?r(A):A===93?(t.consume(A),k):ze(A)?(a=x,ae(A)):(t.consume(A),x)}function k(A){return A===93?(t.consume(A),w):x(A)}function w(A){return A===62?_e(A):A===93?(t.consume(A),w):x(A)}function C(A){return A===null||A===62?_e(A):ze(A)?(a=C,ae(A)):(t.consume(A),C)}function $(A){return A===null?r(A):A===63?(t.consume(A),P):ze(A)?(a=$,ae(A)):(t.consume(A),$)}function P(A){return A===62?_e(A):$(A)}function L(A){return Ri(A)?(t.consume(A),M):r(A)}function M(A){return A===45||oi(A)?(t.consume(A),M):Z(A)}function Z(A){return ze(A)?(a=Z,ae(A)):tt(A)?(t.consume(A),Z):_e(A)}function re(A){return A===45||oi(A)?(t.consume(A),re):A===47||A===62||ar(A)?H(A):r(A)}function H(A){return A===47?(t.consume(A),_e):A===58||A===95||Ri(A)?(t.consume(A),W):ze(A)?(a=H,ae(A)):tt(A)?(t.consume(A),H):_e(A)}function W(A){return A===45||A===46||A===58||A===95||oi(A)?(t.consume(A),W):oe(A)}function oe(A){return A===61?(t.consume(A),pe):ze(A)?(a=oe,ae(A)):tt(A)?(t.consume(A),oe):H(A)}function pe(A){return A===null||A===60||A===61||A===62||A===96?r(A):A===34||A===39?(t.consume(A),n=A,fe):ze(A)?(a=pe,ae(A)):tt(A)?(t.consume(A),pe):(t.consume(A),ge)}function fe(A){return A===n?(t.consume(A),n=void 0,ve):A===null?r(A):ze(A)?(a=fe,ae(A)):(t.consume(A),fe)}function ge(A){return A===null||A===34||A===39||A===60||A===61||A===96?r(A):A===47||A===62||ar(A)?H(A):(t.consume(A),ge)}function ve(A){return A===47||A===62||ar(A)?H(A):r(A)}function _e(A){return A===62?(t.consume(A),t.exit("htmlTextData"),t.exit("htmlText"),e):r(A)}function ae(A){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(A),t.exit("lineEnding"),he}function he(A){return tt(A)?rt(t,K,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):K(A)}function K(A){return t.enter("htmlTextData"),a(A)}}var Ts={name:"labelEnd",tokenize:YD,resolveTo:ZD,resolveAll:FD},BD={tokenize:HD},WD={tokenize:GD},VD={tokenize:KD};function FD(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 Vr={name:"list",tokenize:oN,continuation:{tokenize:aN},exit:lN},iN={tokenize:cN,partial:!0},nN={tokenize:sN,partial:!0};function oN(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:Tu(p)){if(i.containerState.type||(i.containerState.type=O,t.enter(O,{_container:!0})),O==="listUnordered")return t.enter("listItemPrefix"),p===42||p===45?t.check(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 Tu(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(ka,i.interrupt?r:u,t.attempt(iN,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 aN(t,e,r){let i=this;return i.containerState._closeFlow=void 0,t.check(ka,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(nN,e,a)(s))}function a(s){return i.containerState._closeFlow=!0,i.interrupt=void 0,rt(t,t.attempt(Vr,e,r),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function sN(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 lN(t){t.exit(this.containerState.type)}function cN(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 i0={name:"setextUnderline",tokenize:fN,resolveTo:uN};function uN(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 fN(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 _6={tokenize:hN};function hN(t){let e=this,r=t.attempt(ka,i,t.attempt(this.parser.constructs.flowInitial,n,rt(t,t.attempt(this.parser.constructs.flow,n,t.attempt(L1,n)),"linePrefix")));return r;function i(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,r}function n(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,r}}var A6={resolveAll:R6()},Q6=X6("string"),$6=X6("text");function X6(t){return{tokenize:e,resolveAll:R6(t==="text"?dN: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 mN(t,e){let r=-1,i=[],n;for(;++r{this.unloaded=!0}),this.socket.onOpen(()=>{this.isUnloaded()&&window.location.reload()})}isProfileEnabled(){return this.sessionStorage.getItem(o1)==="true"}isDebugEnabled(){return this.sessionStorage.getItem(Ad)==="true"}isDebugDisabled(){return this.sessionStorage.getItem(Ad)==="false"}enableDebug(){this.sessionStorage.setItem(Ad,"true")}enableProfiling(){this.sessionStorage.setItem(o1,"true")}disableDebug(){this.sessionStorage.setItem(Ad,"false")}disableProfiling(){this.sessionStorage.removeItem(o1)}enableLatencySim(t){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(a1,t)}disableLatencySim(){this.sessionStorage.removeItem(a1)}getLatencySim(){let t=this.sessionStorage.getItem(a1);return t?parseInt(t):null}getSocket(){return this.socket}connect(){window.location.hostname==="localhost"&&!this.isDebugDisabled()&&this.enableDebug();let t=()=>{this.joinRootViews()?(this.bindTopLevelEvents(),this.socket.connect()):this.main?this.socket.connect():this.bindTopLevelEvents({dead:!0}),this.joinDeadView()};["complete","loaded","interactive"].indexOf(document.readyState)>=0?t():document.addEventListener("DOMContentLoaded",()=>t())}disconnect(t){clearTimeout(this.reloadWithJitterTimer),this.socket.disconnect(t)}replaceTransport(t){clearTimeout(this.reloadWithJitterTimer),this.socket.replaceTransport(t),this.connect()}execJS(t,e,r=null){this.owner(t,i=>Hi.exec(r,e,i,t))}execJSHookPush(t,e,r,i){this.withinOwners(t,n=>{Hi.exec("hook",e,n,t,["push",{data:r,callback:i}])})}unload(){this.unloaded||(this.main&&this.isConnected()&&this.log(this.main,"socket",()=>["disconnect for page nav"]),this.unloaded=!0,this.destroyAllViews(),this.disconnect())}triggerDOM(t,e){this.domCallbacks[t](...e)}time(t,e){if(!this.isProfileEnabled()||!console.time)return e();console.time(t);let r=e();return console.timeEnd(t),r}log(t,e,r){if(this.viewLogger){let[i,n]=r();this.viewLogger(t,e,i,n)}else if(this.isDebugEnabled()){let[i,n]=r();YM(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=Bn.updateLocal(this.localStorage,window.location.pathname,Ek,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.")?rz[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,`${Rl}:not([${$l}])`,e=>{if(!this.getRootById(e.id)){let r=this.newRootView(e);r.setHref(this.getHref()),r.join(),e.hasAttribute(g1)&&(this.main=r)}t=!0}),t}redirect(t,e){this.unload(),Bn.redirect(t,e)}replaceMain(t,e,r=null,i=this.setPendingLink(t)){let n=this.currentLocation.href;this.outgoingMainEl=this.outgoingMainEl||this.main.el;let o=de.cloneNode(this.outgoingMainEl,"");this.main.showLoader(this.loaderTimeout),this.main.destroy(),this.main=this.newRootView(o,e,n),this.main.setRedirect(t),this.transitionRemoves(),this.main.join((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&&requestAnimationFrame(()=>r(i)),s()})})}transitionRemoves(t){let e=this.binding("remove");t=t||de.all(document,`[${e}]`),t.forEach(r=>{this.execJS(r,r.getAttribute(e),"remove")})}isPhxView(t){return t.getAttribute&&t.getAttribute(ya)!==null}newRootView(t,e,r){let i=new Rk(t,this,null,e,r);return this.roots[i.id]=i,i}owner(t,e){let r=ga(t.closest(Rl),i=>this.getViewByEl(i))||this.main;r&&e(r)}withinOwners(t,e){this.owner(t,r=>e(r,t))}getViewByEl(t){let e=t.getAttribute(yu);return ga(this.getRootById(e),r=>r.getDescendentByEl(t))}getRootById(t){return this.roots[t]}destroyAllViews(){for(let t in this.roots)this.roots[t].destroy(),delete this.roots[t];this.main=null}destroyViewByEl(t){let e=this.getRootById(t.getAttribute(yu));e&&e.id===t.id?(e.destroy(),delete this.roots[e.id]):e&&e.destroyDescendent(t.id)}setActiveElement(t){if(this.activeElement===t)return;this.activeElement=t;let e=()=>{t===this.activeElement&&(this.activeElement=null),t.removeEventListener("mouseup",this),t.removeEventListener("touchend",this)};t.addEventListener("mouseup",e),t.addEventListener("touchend",e)}getActiveElement(){return document.activeElement===document.body?this.activeElement||document.activeElement:document.activeElement||document.body}dropActiveElement(t){this.prevActive&&t.ownsElement(this.prevActive)&&(this.prevActive=null)}restorePreviouslyActiveFocus(){this.prevActive&&this.prevActive!==document.body&&this.prevActive.focus()}blurActiveElement(){this.prevActive=this.getActiveElement(),this.prevActive!==document.body&&this.prevActive.blur()}bindTopLevelEvents({dead:t}={}){this.boundTopLevelEvents||(this.boundTopLevelEvents=!0,this.socket.onClose(e=>{if(e&&e.code===1e3&&this.main)return this.reloadWithJitter(this.main)}),document.body.addEventListener("click",function(){}),window.addEventListener("pageshow",e=>{e.persisted&&(this.getSocket().disconnect(),this.withPageLoading({to:window.location.href,kind:"redirect"}),window.location.reload())},!0),t||this.bindNav(),this.bindClicks(),t||this.bindForms(),this.bind({keyup:"keyup",keydown:"keydown"},(e,r,i,n,o,a)=>{let s=n.getAttribute(this.binding(DM)),l=e.key&&e.key.toLowerCase();if(s&&s.toLowerCase()!==l)return;let c=ne({key:e.key},this.eventMeta(r,e,n));Hi.exec(r,o,i,n,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,r,i,n,o,a)=>{if(!a){let s=ne({key:e.key},this.eventMeta(r,e,n));Hi.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);Hi.exec(r,o,i,n,["push",{data:s}])}}),window.addEventListener("dragover",e=>e.preventDefault()),window.addEventListener("drop",e=>{e.preventDefault();let r=ga(bu(e.target,this.binding(rk)),o=>o.getAttribute(this.binding(rk))),i=r&&document.getElementById(r),n=Array.from(e.dataTransfer.files||[]);!i||i.disabled||n.length===0||!(i.files instanceof FileList)||($r.trackFiles(i,n,e.dataTransfer),i.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on(Pk,e=>{let r=e.target;if(!de.isUploadInput(r))return;let i=Array.from(e.detail.files||[]).filter(n=>n instanceof File||n instanceof Blob);$r.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{let s=this.clickStartedAtTarget||n.target;o=bu(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($i)&&this.debounce(o,n,"click",()=>{this.withinOwners(o,s=>{Hi.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(t.target,n=>{let o=i.getAttribute(r);Hi.isVisible(i)&&Hi.isInViewport(i)&&Hi.exec("click",o,n,i,["push",{data:this.eventMeta("click",t,t.target)}])})})}bindNav(){if(!Bn.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let t=null;window.addEventListener("scroll",e=>{clearTimeout(t),t=setTimeout(()=>{Bn.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=bu(e.target,t1),i=r&&r.getAttribute(t1);if(!i||!this.isConnected()||!this.main||de.wantsNewTab(e))return;let n=r.href instanceof SVGAnimatedString?r.href.baseVal:r.href,o=r.getAttribute(XM);e.preventDefault(),e.stopImmediatePropagation(),this.pendingLink!==n&&this.requestDOMUpdate(()=>{if(i==="patch")this.pushHistoryPatch(n,o,r);else if(i==="redirect")this.historyRedirect(n,o);else throw new Error(`expected ${t1} to be "patch" or "redirect", got: ${i}`);let 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())return Bn.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)&&(Bn.pushState(e,{type:"patch",id:this.main.id},t),de.dispatchEvent(window,"phx:navigate",{detail:{patch:!0,href:t,pop:!1}}),this.registerNewLocation(window.location))}historyRedirect(t,e,r){if(!this.isConnected())return Bn.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&&(Bn.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(){Bn.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=Dd(t),!0)}bindForms(){let t=0,e=!1;this.on("submit",r=>{let i=r.target.getAttribute(this.binding("submit")),n=r.target.getAttribute(this.binding("change"));!e&&n&&!i&&(e=!0,r.preventDefault(),this.withinOwners(r.target,o=>{o.disableForm(r.target),window.requestAnimationFrame(()=>{de.isUnloadableFormSubmit(r)&&this.unload(),r.target.submit()})}))},!0),this.on("submit",r=>{let i=r.target.getAttribute(this.binding("submit"));if(!i){de.isUnloadableFormSubmit(r)&&this.unload();return}r.preventDefault(),r.target.disabled=!0,this.withinOwners(r.target,n=>{Hi.exec("submit",i,n,r.target,["push",{submitter:r.submitter}])})},!1);for(let r of["change","input"])this.on(r,i=>{let n=this.binding("change"),o=i.target,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,p1,!0),de.isTextualInput(o)||this.setActiveElement(o),Hi.exec("change",l,p,o,["push",{_target:i.target.name,dispatcher:c}])})}))},!1);this.on("reset",r=>{let i=r.target;de.resetForm(i,this.binding(Nd));let n=Array.from(i.elements).find(o=>o.type==="reset");window.requestAnimationFrame(()=>{n.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!1}))})})}debounce(t,e,r,i){if(r==="blur"||r==="focusout")return i();let n=this.binding(MM),o=this.binding(zM),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)})}},xz=class{constructor(){this.transitions=new Set,this.pendingOps=[]}reset(){this.transitions.forEach(t=>{clearTimeout(t),this.transitions.delete(t)}),this.flushPendingOps()}after(t){this.size()===0?t():this.pushPendingOp(t)}addTransition(t,e,r){e();let i=setTimeout(()=>{this.transitions.delete(i),r(),this.flushPendingOps()},t);this.transitions.add(i)}pushPendingOp(t){this.pendingOps.push(t)}size(){return this.transitions.size}flushPendingOps(){if(this.size()>0)return;let t=this.pendingOps.shift();t&&(t(),this.flushPendingOps())}};var Lk="livebook:";function ks(t){try{let e=localStorage.getItem(Lk+t);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function Il(t,e){try{let r=JSON.stringify(e);localStorage.setItem(Lk+t,r)}catch(r){console.error(`Failed to write to local storage, reason: ${r.message}`)}}var Mk="app_auth_token:";function zk(t,e){Il(Mk+t,e)}function Dk(){let t=window.location.pathname;if(t.startsWith("/apps/")){let e=t.split("/")[2],r=ks(Mk+e);if(r)return r}return null}var wz={mounted(){this.handleEvent("persist_app_auth",({slug:t,token:e})=>{zk(t,e),this.pushEvent("app_auth_persisted")})}},Nk=wz;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[kz(i)]=JSON.parse(o)}return r}function kz(t){let[e,...r]=t.split("-");return[e,...r.map(i=>i.charAt(0).toUpperCase()+i.slice(1))].join("")}function Uk(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(...y1)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...y1)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...y1)}),this.recordButton.addEventListener("click",t=>{this.startRecording()}),this.stopButton.addEventListener("click",t=>{this.stopRecording()}),this.cancelButton.addEventListener("click",t=>{this.stopRecording(!1)})},updated(){this.props=this.getProps(),this.audioEl.src=this.props.audioUrl},getProps(){return $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=Tz(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 Ez(t.data,this.props.endianness);if(this.props.format==="wav")return Uk(t.data,t.numChannels,t.samplingRate)}};function Tz(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 jd,_z="http://www.w3.org/1999/xhtml",bi=typeof document=="undefined"?void 0:document,Az=!!bi&&"content"in bi.createElement("template"),Qz=!!bi&&bi.createRange&&"createContextualFragment"in bi.createRange();function $z(t){var e=bi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function Xz(t){jd||(jd=bi.createRange(),jd.selectNode(bi.body));var e=jd.createContextualFragment(t);return e.childNodes[0]}function Rz(t){var e=bi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function Iz(t){return t=t.trim(),Az?$z(t):Qz?Xz(t):Rz(t)}function Bd(t,e){var r=t.nodeName,i=e.nodeName,n,o;return r===i?!0:(n=r.charCodeAt(0),o=i.charCodeAt(0),n<=90&&o>=97?r===i.toUpperCase():o<=90&&n>=97?i===r.toUpperCase():!1)}function Lz(t,e){return!e||e===_z?bi.createElement(t):bi.createElementNS(e,t)}function Mz(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function v1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var Vk={OPTION:function(t,e){var r=t.parentNode;if(r){var i=r.nodeName.toUpperCase();i==="OPTGROUP"&&(r=r.parentNode,i=r&&r.nodeName.toUpperCase()),i==="SELECT"&&!r.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),r.selectedIndex=-1)}v1(t,e,"selected")},INPUT:function(t,e){v1(t,e,"checked"),v1(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var r=e.value;t.value!==r&&(t.value=r);var i=t.firstChild;if(i){var n=i.nodeValue;if(n==r||!r&&n==t.placeholder)return;i.nodeValue=r}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var r=-1,i=0,n=t.firstChild,o,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}}},xu=1,Fk=11,Zk=3,Yk=8;function va(){}function zz(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function Dz(t){return function(r,i,n){if(n||(n={}),typeof i=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"||r.nodeName==="BODY"){var o=i;i=bi.createElement("html"),i.innerHTML=o}else i=Iz(i);else i.nodeType===Fk&&(i=i.firstElementChild);var a=n.getNodeKey||zz,s=n.onBeforeNodeAdded||va,l=n.onNodeAdded||va,c=n.onBeforeElUpdated||va,u=n.onElUpdated||va,f=n.onBeforeNodeDiscarded||va,d=n.onNodeDiscarded||va,p=n.onBeforeElChildrenUpdated||va,O=n.skipFromChildren||va,x=n.addChild||function(ae,he){return ae.appendChild(he)},k=n.childrenOnly===!0,w=Object.create(null),C=[];function $(ae){C.push(ae)}function P(ae,he){if(ae.nodeType===xu)for(var K=ae.firstChild;K;){var A=void 0;he&&(A=a(K))?$(A):(d(K),K.firstChild&&P(K,he)),K=K.nextSibling}}function L(ae,he,K){f(ae)!==!1&&(he&&he.removeChild(ae),d(ae),P(ae,K))}function M(ae){if(ae.nodeType===xu||ae.nodeType===Fk)for(var he=ae.firstChild;he;){var K=a(he);K&&(w[K]=he),M(he),he=he.nextSibling}}M(r);function Z(ae){l(ae);for(var he=ae.firstChild;he;){var K=he.nextSibling,A=a(he);if(A){var G=w[A];G&&Bd(he,G)?(he.parentNode.replaceChild(G,he),H(G,he)):Z(he)}else Z(he);he=K}}function re(ae,he,K){for(;he;){var A=he.nextSibling;(K=a(he))?$(K):L(he,ae,!0),he=A}}function H(ae,he,K){var A=a(he);A&&delete w[A],!(!K&&(c(ae,he)===!1||(t(ae,he),u(ae),p(ae,he)===!1)))&&(ae.nodeName!=="TEXTAREA"?W(ae,he):Vk.TEXTAREA(ae,he))}function W(ae,he){var K=O(ae,he),A=he.firstChild,G=ae.firstChild,se,q,Je,st,at;e:for(;A;){for(st=A.nextSibling,se=a(A);!K&&G;){if(Je=G.nextSibling,A.isSameNode&&A.isSameNode(G)){A=st,G=Je;continue e}q=a(G);var Ce=G.nodeType,Ze=void 0;if(Ce===A.nodeType&&(Ce===xu?(se?se!==q&&((at=w[se])?Je===at?Ze=!1:(ae.insertBefore(at,G),q?$(q):L(G,ae,!0),G=at,q=a(G)):Ze=!1):q&&(Ze=!1),Ze=Ze!==!1&&Bd(G,A),Ze&&H(G,A)):(Ce===Zk||Ce==Yk)&&(Ze=!0,G.nodeValue!==A.nodeValue&&(G.nodeValue=A.nodeValue))),Ze){A=st,G=Je;continue e}q?$(q):L(G,ae,!0),G=Je}if(se&&(at=w[se])&&Bd(at,A))K||x(ae,at),H(at,A);else{var Rt=s(A);Rt!==!1&&(Rt&&(A=Rt),A.actualize&&(A=A.actualize(ae.ownerDocument||bi)),x(ae,A),Z(A))}A=st,G=Je}re(ae,G,q);var ct=Vk[ae.nodeName];ct&&ct(ae,he)}var oe=r,pe=oe.nodeType,fe=i.nodeType;if(!k){if(pe===xu)fe===xu?Bd(r,i)||(d(r),oe=Mz(r,Lz(i.nodeName,i.namespaceURI))):oe=i;else if(pe===Zk||pe===Yk){if(fe===pe)return oe.nodeValue!==i.nodeValue&&(oe.nodeValue=i.nodeValue),oe;oe=i}}if(oe===i)d(r);else{if(i.isSameNode&&i.isSameNode(oe))return;if(H(oe,i,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 k1(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?s6(t.position):"start"in t||"end"in t?s6(t):"line"in t||"column"in t?w1(t):""}function w1(t){return l6(t&&t.line)+":"+l6(t&&t.column)}function s6(t){return w1(t&&t.start)+"-"+w1(t&&t.end)}function l6(t){return t&&typeof t=="number"?t:1}var ur=class extends Error{constructor(e,r,i){super(),typeof r=="string"&&(i=r,r=void 0);let n="",o={},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=ne({},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=k1(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=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:qz,dirname:jz,extname:Bz,join:Wz,sep:"/"};function qz(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');ku(t);let r=0,i=-1,n=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;n--;)if(t.codePointAt(n)===47){if(o){r=n+1;break}}else i<0&&(o=!0,i=n+1);return i<0?"":t.slice(r,i)}if(e===t)return"";let 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 jz(t){if(ku(t),t.length===0)return".";let e=-1,r=t.length,i;for(;--r;)if(t.codePointAt(r)===47){if(i){e=r;break}}else i||(i=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function Bz(t){ku(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 Wz(...t){let e=-1,r;for(;++e0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function Fz(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 ku(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var c6={cwd:Zz};function Zz(){return"/"}function Ll(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function u6(t){if(typeof t=="string")t=new URL(t);else if(!Ll(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return Yz(t)}function Yz(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];wu(x)&&wu(p)&&(p=(0,Fd.default)(!0,x,p)),i[d]=[c,p,...O]}}}},Zd=new A1().freeze();function C1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function P1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function _1(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function d6(t){if(!wu(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function p6(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function Vd(t){return Kz(t)?t:new xa(t)}function Kz(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Jz(t){return typeof t=="string"||eD(t)}function eD(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var tD={};function Q1(t,e){let r=e||tD,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return O6(t,i,n)}function O6(t,e,r){if(rD(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return m6(t.children,e,r)}return Array.isArray(t)?m6(t,e,r):""}function m6(t,e,r){let i=[],n=-1;for(;++nn?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)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 g6={}.hasOwnProperty;function b6(t){let e={},r=-1;for(;++r13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCharCode(r)}function ko(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var oD=wa(new RegExp("\\p{P}","u")),Ri=wa(/[A-Za-z]/),oi=wa(/[\dA-Za-z]/),y6=wa(/[#-'*+\--9=?A-Z^-~]/);function Su(t){return t!==null&&(t<32||t===127)}var Tu=wa(/\d/),v6=wa(/[\dA-Fa-f]/),$1=wa(/[!-/:-@[-`{-~]/);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 x6(t){return $1(t)||oD(t)}var w6=wa(/\s/);function wa(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 Z=e.events.length,re=Z,H,W;for(;re--;)if(e.events[re][0]==="exit"&&e.events[re][1].type==="chunkFlow"){if(H){W=e.events[re][1].end;break}H=!0}for(w(i),M=Z;M$;){let L=r[P];e.containerState=L[1],L[0].exit.call(e,t)}r.length=$}function C(){n.write([null]),o=void 0,n=void 0,e.containerState._closeFlow=void 0}}function lD(t,e,r){return rt(t,t.attempt(this.parser.constructs.document,e,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function X1(t){if(t===null||ar(t)||w6(t))return 1;if(x6(t))return 2}function Ml(t,e,r){let i=[],n=-1;for(;++n1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;let f=Object.assign({},t[i][1].end),d=Object.assign({},t[r][1].start);E6(f,-l),E6(d,l),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=ni(c,[["enter",t[i][1],e],["exit",t[i][1],e]])),c=ni(c,[["enter",n,e],["enter",a,e],["exit",a,e],["enter",o,e]]),c=ni(c,Ml(e.parser.constructs.insideSpan.null,t.slice(i+1,r),e)),c=ni(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=ni(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(M)?rt(t,C,"linePrefix",o+1)(M):C(M)}function C(M){return M===null||ze(M)?t.check(C6,x,P)(M):(t.enter("codeFlowValue"),$(M))}function $(M){return M===null||ze(M)?(t.exit("codeFlowValue"),C(M)):(t.consume(M),$)}function P(M){return t.exit("codeFenced"),e(M)}function L(M,Z,re){let H=0;return W;function W(ve){return M.enter("lineEnding"),M.consume(ve),M.exit("lineEnding"),oe}function oe(ve){return M.enter("codeFencedFence"),tt(ve)?rt(M,pe,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ve):pe(ve)}function pe(ve){return ve===s?(M.enter("codeFencedFenceSequence"),fe(ve)):re(ve)}function fe(ve){return ve===s?(H++,M.consume(ve),fe):H>=a?(M.exit("codeFencedFenceSequence"),tt(ve)?rt(M,ge,"whitespace")(ve):ge(ve)):re(ve)}function ge(ve){return ve===null||ze(ve)?(M.exit("codeFencedFence"),Z(ve)):re(ve)}}}function yD(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 Cu={name:"codeIndented",tokenize:xD},vD={tokenize:wD,partial:!0};function xD(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(vD,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 wD(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 I1={name:"codeText",tokenize:TD,resolve:kD,previous:SD};function kD(t){let e=t.length-4,r=3,i,n;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(i=r;++i=4?e(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||Su(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 M1={name:"definition",tokenize:$D},QD={tokenize:XD,partial:!0};function $D(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=ko(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),l):r(p)}function l(p){return 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(QD,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 XD(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 z1={name:"hardBreakEscape",tokenize:RD};function RD(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 D1={name:"headingAtx",tokenize:LD,resolve:ID};function ID(t,e){let r=t.length-2,i=3,n,o;return t[i][1].type==="whitespace"&&(i+=2),r-2>i&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(i===r-1||r-4>i&&t[r-2][1].type==="whitespace")&&(r-=i+1===r?2:4),r>i&&(n={type:"atxHeadingText",start:t[i][1].start,end:t[r][1].end},o={type:"chunkText",start:t[i][1].start,end:t[r][1].end,contentType:"text"},Xr(t,i,r-i+1,[["enter",n,e],["enter",o,e],["exit",o,e],["exit",n,e]])),t}function LD(t,e,r){let i=0;return n;function n(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),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 P6=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],N1=["pre","script","style","textarea"];var U1={name:"htmlFlow",tokenize:ND,resolveTo:DD,concrete:!0},MD={tokenize:qD,partial:!0},zD={tokenize:UD,partial:!0};function DD(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function ND(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:A):Ri(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):Ri(q)?(t.consume(q),n=4,i.interrupt?e:A):r(q)}function p(q){return q===45?(t.consume(q),i.interrupt?e:A):r(q)}function O(q){let Je="CDATA[";return q===Je.charCodeAt(s++)?(t.consume(q),s===Je.length?i.interrupt?e:pe:O):r(q)}function x(q){return Ri(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&&N1.includes(st)?(n=1,i.interrupt?e(q):pe(q)):P6.includes(a.toLowerCase())?(n=6,Je?(t.consume(q),w):i.interrupt?e(q):pe(q)):(n=7,i.interrupt&&!i.parser.lazy[i.now().line]?r(q):o?C(q):$(q))}return q===45||oi(q)?(t.consume(q),a+=String.fromCharCode(q),k):r(q)}function w(q){return q===62?(t.consume(q),i.interrupt?e:pe):r(q)}function C(q){return tt(q)?(t.consume(q),C):W(q)}function $(q){return q===47?(t.consume(q),W):q===58||q===95||Ri(q)?(t.consume(q),P):tt(q)?(t.consume(q),$):W(q)}function P(q){return q===45||q===46||q===58||q===95||oi(q)?(t.consume(q),P):L(q)}function L(q){return q===61?(t.consume(q),M):tt(q)?(t.consume(q),L):$(q)}function M(q){return q===null||q===60||q===61||q===62||q===96?r(q):q===34||q===39?(t.consume(q),l=q,Z):tt(q)?(t.consume(q),M):re(q)}function Z(q){return q===l?(t.consume(q),l=null,H):q===null||ze(q)?r(q):(t.consume(q),Z)}function re(q){return q===null||q===34||q===39||q===47||q===60||q===61||q===62||q===96||ar(q)?L(q):(t.consume(q),re)}function H(q){return q===47||q===62||tt(q)?$(q):r(q)}function W(q){return q===62?(t.consume(q),oe):r(q)}function oe(q){return q===null||ze(q)?pe(q):tt(q)?(t.consume(q),oe):r(q)}function pe(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),G):q===63&&n===3?(t.consume(q),A):q===93&&n===5?(t.consume(q),K):ze(q)&&(n===6||n===7)?(t.exit("htmlFlowData"),t.check(MD,se,fe)(q)):q===null||ze(q)?(t.exit("htmlFlowData"),fe(q)):(t.consume(q),pe)}function fe(q){return t.check(zD,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)?fe(q):(t.enter("htmlFlowData"),pe(q))}function _e(q){return q===45?(t.consume(q),A):pe(q)}function ae(q){return q===47?(t.consume(q),a="",he):pe(q)}function he(q){if(q===62){let Je=a.toLowerCase();return N1.includes(Je)?(t.consume(q),G):pe(q)}return Ri(q)&&a.length<8?(t.consume(q),a+=String.fromCharCode(q),he):pe(q)}function K(q){return q===93?(t.consume(q),A):pe(q)}function A(q){return q===62?(t.consume(q),G):q===45&&n===2?(t.consume(q),A):pe(q)}function G(q){return q===null||ze(q)?(t.exit("htmlFlowData"),se(q)):(t.consume(q),G)}function se(q){return t.exit("htmlFlow"),e(q)}}function UD(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 qD(t,e,r){return i;function i(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),t.attempt(ka,e,r)}}var q1={name:"htmlText",tokenize:jD};function jD(t,e,r){let i=this,n,o,a;return s;function s(A){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(A),l}function l(A){return A===33?(t.consume(A),c):A===47?(t.consume(A),L):A===63?(t.consume(A),$):Ri(A)?(t.consume(A),re):r(A)}function c(A){return A===45?(t.consume(A),u):A===91?(t.consume(A),o=0,O):Ri(A)?(t.consume(A),C):r(A)}function u(A){return A===45?(t.consume(A),p):r(A)}function f(A){return A===null?r(A):A===45?(t.consume(A),d):ze(A)?(a=f,ae(A)):(t.consume(A),f)}function d(A){return A===45?(t.consume(A),p):f(A)}function p(A){return A===62?_e(A):A===45?d(A):f(A)}function O(A){let G="CDATA[";return A===G.charCodeAt(o++)?(t.consume(A),o===G.length?x:O):r(A)}function x(A){return A===null?r(A):A===93?(t.consume(A),k):ze(A)?(a=x,ae(A)):(t.consume(A),x)}function k(A){return A===93?(t.consume(A),w):x(A)}function w(A){return A===62?_e(A):A===93?(t.consume(A),w):x(A)}function C(A){return A===null||A===62?_e(A):ze(A)?(a=C,ae(A)):(t.consume(A),C)}function $(A){return A===null?r(A):A===63?(t.consume(A),P):ze(A)?(a=$,ae(A)):(t.consume(A),$)}function P(A){return A===62?_e(A):$(A)}function L(A){return Ri(A)?(t.consume(A),M):r(A)}function M(A){return A===45||oi(A)?(t.consume(A),M):Z(A)}function Z(A){return ze(A)?(a=Z,ae(A)):tt(A)?(t.consume(A),Z):_e(A)}function re(A){return A===45||oi(A)?(t.consume(A),re):A===47||A===62||ar(A)?H(A):r(A)}function H(A){return A===47?(t.consume(A),_e):A===58||A===95||Ri(A)?(t.consume(A),W):ze(A)?(a=H,ae(A)):tt(A)?(t.consume(A),H):_e(A)}function W(A){return A===45||A===46||A===58||A===95||oi(A)?(t.consume(A),W):oe(A)}function oe(A){return A===61?(t.consume(A),pe):ze(A)?(a=oe,ae(A)):tt(A)?(t.consume(A),oe):H(A)}function pe(A){return A===null||A===60||A===61||A===62||A===96?r(A):A===34||A===39?(t.consume(A),n=A,fe):ze(A)?(a=pe,ae(A)):tt(A)?(t.consume(A),pe):(t.consume(A),ge)}function fe(A){return A===n?(t.consume(A),n=void 0,ve):A===null?r(A):ze(A)?(a=fe,ae(A)):(t.consume(A),fe)}function ge(A){return A===null||A===34||A===39||A===60||A===61||A===96?r(A):A===47||A===62||ar(A)?H(A):(t.consume(A),ge)}function ve(A){return A===47||A===62||ar(A)?H(A):r(A)}function _e(A){return A===62?(t.consume(A),t.exit("htmlTextData"),t.exit("htmlText"),e):r(A)}function ae(A){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(A),t.exit("lineEnding"),he}function he(A){return tt(A)?rt(t,K,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):K(A)}function K(A){return t.enter("htmlTextData"),a(A)}}var Ts={name:"labelEnd",tokenize:YD,resolveTo:ZD,resolveAll:FD},BD={tokenize:HD},WD={tokenize:GD},VD={tokenize:KD};function FD(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 Vr={name:"list",tokenize:oN,continuation:{tokenize:aN},exit:lN},iN={tokenize:cN,partial:!0},nN={tokenize:sN,partial:!0};function oN(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:Tu(p)){if(i.containerState.type||(i.containerState.type=O,t.enter(O,{_container:!0})),O==="listUnordered")return t.enter("listItemPrefix"),p===42||p===45?t.check(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 Tu(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(ka,i.interrupt?r:u,t.attempt(iN,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 aN(t,e,r){let i=this;return i.containerState._closeFlow=void 0,t.check(ka,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(nN,e,a)(s))}function a(s){return i.containerState._closeFlow=!0,i.interrupt=void 0,rt(t,t.attempt(Vr,e,r),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function sN(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 lN(t){t.exit(this.containerState.type)}function cN(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:fN,resolveTo:uN};function uN(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 fN(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 _6={tokenize:hN};function hN(t){let e=this,r=t.attempt(ka,i,t.attempt(this.parser.constructs.flowInitial,n,rt(t,t.attempt(this.parser.constructs.flow,n,t.attempt(L1,n)),"linePrefix")));return r;function i(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,r}function n(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,r}}var A6={resolveAll:R6()},Q6=X6("string"),$6=X6("text");function X6(t){return{tokenize:e,resolveAll:R6(t==="text"?dN: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 mN(t,e){let r=-1,i=[],n;for(;++rkN,contentInitial:()=>gN,disable:()=>SN,document:()=>ON,flow:()=>yN,flowInitial:()=>bN,insideSpan:()=>wN,string:()=>vN,text:()=>xN});var ON={42:Vr,43:Vr,45:Vr,48:Vr,49:Vr,50:Vr,51:Vr,52:Vr,53:Vr,54:Vr,55:Vr,56:Vr,57:Vr,62:Yd},gN={91:M1},bN={[-2]:Cu,[-1]:Cu,32:Cu},yN={35:D1,42:Es,45:[i0,Es],60:U1,61:i0,95:Es,96:Kd,126:Kd},vN={38:Gd,92:Hd},xN={[-5]:Pu,[-4]:Pu,[-3]:Pu,33:j1,38:Gd,42:Eu,60:[R1,q1],91:B1,92:[z1,Hd],93:Ts,95:Eu,96:I1},wN={null:[Eu,A6]},kN={null:[42,95]},SN={null:[]};function V1(t){let r=b6([W1,...(t||{}).extensions||[]]),i={defined:[],lazy:{},constructs:r,content:n(k6),document:n(T6),flow:n(_6),string:n(Q6),text:n($6)};return i;function n(o){return a;function a(s){return I6(i,o,s)}}}function F1(t){for(;!Jd(t););return t}var L6=/[\0\t\n\r]/g;function Z1(){let t=1,e="",r=!0,i;return n;function n(o,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]||N6).call(Ye,void 0,qr[0])}for(Xe.position={start:Sa(be.length>0?be[0][1].start:{line:1,column:1,offset:0}),end:Sa(be.length>0?be[be.length-2][1].end:{line:1,column:1,offset:0})},et=-1;++et-1&&t.test(String.fromCharCode(r))}}function G1(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Wn=function(t){if(t==null)return RN;if(typeof t=="function")return o0(t);if(typeof t=="object")return Array.isArray(t)?QN(t):$N(t);if(typeof t=="string")return XN(t);throw new Error("Expected function, string, or object as test")};function QN(t){let e=[],r=-1;for(;++r":""))+")"})}return d;function d(){let p=W6,O,x,k;if((!e||o(l,c,u[u.length-1]||void 0))&&(p=LN(r(l,u)),p[0]===Cs))return p;if("children"in l&&l.children){let w=l;if(w.children&&p[0]!==Nl)for(x=(i?w.children.length:-1)+a,k=u.concat(w);x>-1&&x0?{type:"text",value:M}:void 0),M===!1?d.lastIndex=P+1:(O!==P&&C.push({type:"text",value:c.value.slice(O,P)}),Array.isArray(M)?C.push(...M):M&&C.push(M),O=P+$[0].length,w=!0),!d.global)break;$=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=Dl(t,"("),o=Dl(t,")");for(;i!==-1&&n>o;)t+=r.slice(0,i+1),r=r.slice(i+1),i=r.indexOf(")"),o++;return[t,r]}function V6(t,e){let r=t.input.charCodeAt(t.index-1);return(t.index===0||B6(r)||j6(r))&&(!e||r!==47)}function nb(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}F6.peek=nU;function ob(){return{enter:{gfmFootnoteDefinition:HN,gfmFootnoteDefinitionLabelString:GN,gfmFootnoteCall:eU,gfmFootnoteCallString:tU},exit:{gfmFootnoteDefinition:JN,gfmFootnoteDefinitionLabelString:KN,gfmFootnoteCall:iU,gfmFootnoteCallString:rU}}}function ab(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:oU,footnoteReference:F6}}}function HN(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function GN(){this.buffer()}function KN(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=nb(this.sliceSerialize(t)).toLowerCase()}function JN(t){this.exit(t)}function eU(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function tU(){this.buffer()}function rU(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=nb(this.sliceSerialize(t)).toLowerCase()}function iU(t){this.exit(t)}function F6(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),je(ne({},n.current()),{before:o,after:"]"}))),s(),a(),o+=n.move("]"),o}function nU(){return"["}function oU(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),je(ne({},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()),aU)),a(),o}function aU(t,e,r){return e===0?t:(r?"":" ")+t}var sU=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Z6.peek=uU;function sb(){return{canContainEols:["delete"],enter:{strikethrough:lU},exit:{strikethrough:cU}}}function lb(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:sU}],handlers:{delete:Z6}}}function lU(t){this.enter({type:"delete",children:[]},t)}function cU(t){this.exit(t)}function Z6(t,e,r,i){let n=r.createTracker(i),o=r.enter("strikethrough"),a=n.move("~~");return a+=r.containerPhrasing(t,je(ne({},n.current()),{before:a,after:"~"})),a+=n.move("~~"),o(),a}function uU(){return"~"}function H6(t,e={}){let r=(e.align||[]).concat(),i=e.stringLength||hU,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(;++ckN,contentInitial:()=>gN,disable:()=>SN,document:()=>ON,flow:()=>yN,flowInitial:()=>bN,insideSpan:()=>wN,string:()=>vN,text:()=>xN});var ON={42:Vr,43:Vr,45:Vr,48:Vr,49:Vr,50:Vr,51:Vr,52:Vr,53:Vr,54:Vr,55:Vr,56:Vr,57:Vr,62:Hd},gN={91:M1},bN={[-2]:Cu,[-1]:Cu,32:Cu},yN={35:D1,42:Es,45:[n0,Es],60:U1,61:n0,95:Es,96:Jd,126:Jd},vN={38:Kd,92:Gd},xN={[-5]:Pu,[-4]:Pu,[-3]:Pu,33:j1,38:Kd,42:Eu,60:[R1,q1],91:B1,92:[z1,Gd],93:Ts,95:Eu,96:I1},wN={null:[Eu,A6]},kN={null:[42,95]},SN={null:[]};function V1(t){let r=b6([W1,...(t||{}).extensions||[]]),i={defined:[],lazy:{},constructs:r,content:n(k6),document:n(T6),flow:n(_6),string:n(Q6),text:n($6)};return i;function n(o){return a;function a(s){return I6(i,o,s)}}}function F1(t){for(;!e0(t););return t}var L6=/[\0\t\n\r]/g;function Z1(){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]||N6).call(Ye,void 0,qr[0])}for(Xe.position={start:Sa(be.length>0?be[0][1].start:{line:1,column:1,offset:0}),end:Sa(be.length>0?be[be.length-2][1].end:{line:1,column:1,offset:0})},et=-1;++et-1&&t.test(String.fromCharCode(r))}}function G1(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Wn=function(t){if(t==null)return RN;if(typeof t=="function")return a0(t);if(typeof t=="object")return Array.isArray(t)?QN(t):$N(t);if(typeof t=="string")return XN(t);throw new Error("Expected function, string, or object as test")};function QN(t){let e=[],r=-1;for(;++r":""))+")"})}return d;function d(){let p=W6,O,x,k;if((!e||o(l,c,u[u.length-1]||void 0))&&(p=LN(r(l,u)),p[0]===Cs))return p;if("children"in l&&l.children){let w=l;if(w.children&&p[0]!==Nl)for(x=(i?w.children.length:-1)+a,k=u.concat(w);x>-1&&x0?{type:"text",value:M}:void 0),M===!1?d.lastIndex=P+1:(O!==P&&C.push({type:"text",value:c.value.slice(O,P)}),Array.isArray(M)?C.push(...M):M&&C.push(M),O=P+$[0].length,w=!0),!d.global)break;$=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=Dl(t,"("),o=Dl(t,")");for(;i!==-1&&n>o;)t+=r.slice(0,i+1),r=r.slice(i+1),i=r.indexOf(")"),o++;return[t,r]}function V6(t,e){let r=t.input.charCodeAt(t.index-1);return(t.index===0||B6(r)||j6(r))&&(!e||r!==47)}function nb(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}F6.peek=nU;function ob(){return{enter:{gfmFootnoteDefinition:HN,gfmFootnoteDefinitionLabelString:GN,gfmFootnoteCall:eU,gfmFootnoteCallString:tU},exit:{gfmFootnoteDefinition:JN,gfmFootnoteDefinitionLabelString:KN,gfmFootnoteCall:iU,gfmFootnoteCallString:rU}}}function ab(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:oU,footnoteReference:F6}}}function HN(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function GN(){this.buffer()}function KN(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=nb(this.sliceSerialize(t)).toLowerCase()}function JN(t){this.exit(t)}function eU(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function tU(){this.buffer()}function rU(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=nb(this.sliceSerialize(t)).toLowerCase()}function iU(t){this.exit(t)}function F6(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),je(ne({},n.current()),{before:o,after:"]"}))),s(),a(),o+=n.move("]"),o}function nU(){return"["}function oU(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),je(ne({},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()),aU)),a(),o}function aU(t,e,r){return e===0?t:(r?"":" ")+t}var sU=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Z6.peek=uU;function sb(){return{canContainEols:["delete"],enter:{strikethrough:lU},exit:{strikethrough:cU}}}function lb(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:sU}],handlers:{delete:Z6}}}function lU(t){this.enter({type:"delete",children:[]},t)}function cU(t){this.exit(t)}function Z6(t,e,r,i){let n=r.createTracker(i),o=r.enter("strikethrough"),a=n.move("~~");return a+=r.containerPhrasing(t,je(ne({},n.current()),{before:a,after:"~"})),a+=n.move("~~"),o(),a}function uU(){return"~"}function H6(t,e={}){let r=(e.align||[]).concat(),i=e.stringLength||hU,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()),dU);return n(),a}function dU(t,e,r){return">"+(r?"":" ")+t}function eS(t,e){return J6(t,e.inConstruct,!0)&&!J6(t,e.notInConstruct,!1)}function J6(t,e,r){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return r;let i=-1;for(;++ia&&(a=o):o=1,n=i+e.length,i=r.indexOf(e,n);return a}function tS(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function rS(t){let e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function iS(t,e,r,i){let n=rS(r),o=t.value||"",a=n==="`"?"GraveAccent":"Tilde";if(tS(t,r)){let f=r.enter("codeIndented"),d=r.indentLines(o,pU);return f(),d}let s=r.createTracker(i),l=n.repeat(Math.max(s0(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,ne({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,ne({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 tS(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function rS(t){let e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function iS(t,e,r,i){let n=rS(r),o=t.value||"",a=n==="`"?"GraveAccent":"Tilde";if(tS(t,r)){let f=r.enter("codeIndented"),d=r.indentLines(o,pU);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,ne({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,ne({before:u,after:` `,encode:["`"]},s.current()))),f()}return u+=s.move(` `),o&&(u+=s.move(o+` `)),u+=s.move(l),c(),u}function pU(t,e,r){return(r?"":" ")+t}function ql(t){let e=t.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function nS(t,e,r,i){let n=ql(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),ne({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,ne({before:c,after:">"},l.current()))),c+=l.move(">")):(s=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,ne({before:c,after:t.title?" ":` @@ -25,13 +25,13 @@ removing illegal node: "${(i.outerHTML||i.nodeValue).trim()}" `}));return f(),u(),d+` `+(n===1?"=":"-").repeat(d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf(` `))+1))}let a="#".repeat(n),s=r.enter("headingAtx"),l=r.enter("phrasing");o.move(a+" ");let c=r.containerPhrasing(t,ne({before:"# ",after:` -`},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}fb.peek=bU;function fb(t){return t.value||""}function bU(){return"<"}hb.peek=yU;function hb(t,e,r,i){let n=ql(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,ne({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,ne({before:c,after:">"},l.current()))),c+=l.move(">")):(s=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,ne({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,ne({before:c,after:n},l.current()))),c+=l.move(n),s()),c+=l.move(")"),a(),c}function yU(){return"!"}db.peek=vU;function db(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,ne({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),ne({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 vU(){return"!"}pb.peek=xU;function pb(t,e,r){let i=t.value||"",n="`",o=-1;for(;new RegExp("(^|[^`])"+n+"([^`]|$)").test(i);)n+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++o\u007F]/.test(t.url))}Ob.peek=wU;function Ob(t,e,r,i){let n=ql(r),o=n==='"'?"Quote":"Apostrophe",a=r.createTracker(i),s,l;if(mb(t,r)){let u=r.stack;r.stack=[],s=r.enter("autolink");let f=a.move("<");return f+=a.move(r.containerPhrasing(t,ne({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,ne({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,ne({before:c,after:">"},a.current()))),c+=a.move(">")):(l=r.enter("destinationRaw"),c+=a.move(r.safe(t.url,ne({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,ne({before:c,after:n},a.current()))),c+=a.move(n),l()),c+=a.move(")"),s(),c}function wU(t,e,r){return mb(t,r)?"<":"["}gb.peek=kU;function gb(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,ne({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),ne({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 kU(){return"["}function jl(t){let e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function uS(t){let e=jl(t),r=t.options.bulletOther;if(!r)return e==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+r+"`) to be different");return r}function fS(t){let e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function l0(t){let e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function hS(t,e,r,i){let n=r.enter("list"),o=r.bulletCurrent,a=t.ordered?fS(r):jl(r),s=t.ordered?a==="."?")":".":uS(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),l0(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 mS(t,e,r,i){let n=r.enter("paragraph"),o=r.enter("phrasing"),a=r.containerPhrasing(t,i);return o(),n(),a}var bb=Wn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function OS(t,e,r,i){return(t.children.some(function(a){return bb(a)})?r.containerPhrasing:r.containerFlow).call(r,t,i)}function gS(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}yb.peek=SU;function yb(t,e,r,i){let n=gS(r),o=r.enter("strong"),a=r.createTracker(i),s=a.move(n+n);return s+=a.move(r.containerPhrasing(t,ne({before:s,after:n},a.current()))),s+=a.move(n+n),o(),s}function SU(t,e,r){return r.options.strong||"*"}function bS(t,e,r,i){return r.safe(t.value,i)}function yS(t){let e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function vS(t,e,r){let i=(l0(r)+(r.options.ruleSpaces?" ":"")).repeat(yS(r));return r.options.ruleSpaces?i.slice(0,-1):i}var Au={blockquote:K6,break:cb,code:iS,definition:nS,emphasis:ub,hardBreak:cb,heading:cS,html:fb,image:hb,imageReference:db,inlineCode:pb,link:Ob,linkReference:gb,list:hS,listItem:pS,paragraph:mS,root:OS,strong:yb,text:bS,thematicBreak:vS};function xb(){return{enter:{table:TU,tableData:xS,tableHeader:xS,tableRow:CU},exit:{codeText:PU,table:EU,tableData:vb,tableHeader:vb,tableRow:vb}}}function TU(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 EU(t){this.exit(t),this.data.inTable=void 0}function CU(t){this.enter({type:"tableRow",children:[]},t)}function vb(t){this.exit(t)}function xS(t){this.enter({type:"tableCell",children:[]},t)}function PU(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,_U));let r=this.stack[this.stack.length-1];r.type,r.value=e,this.exit(t)}function _U(t,e){return e==="|"?e:t}function wb(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}fb.peek=bU;function fb(t){return t.value||""}function bU(){return"<"}hb.peek=yU;function hb(t,e,r,i){let n=ql(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,ne({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,ne({before:c,after:">"},l.current()))),c+=l.move(">")):(s=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,ne({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,ne({before:c,after:n},l.current()))),c+=l.move(n),s()),c+=l.move(")"),a(),c}function yU(){return"!"}db.peek=vU;function db(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,ne({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),ne({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 vU(){return"!"}pb.peek=xU;function pb(t,e,r){let i=t.value||"",n="`",o=-1;for(;new RegExp("(^|[^`])"+n+"([^`]|$)").test(i);)n+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++o\u007F]/.test(t.url))}Ob.peek=wU;function Ob(t,e,r,i){let n=ql(r),o=n==='"'?"Quote":"Apostrophe",a=r.createTracker(i),s,l;if(mb(t,r)){let u=r.stack;r.stack=[],s=r.enter("autolink");let f=a.move("<");return f+=a.move(r.containerPhrasing(t,ne({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,ne({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,ne({before:c,after:">"},a.current()))),c+=a.move(">")):(l=r.enter("destinationRaw"),c+=a.move(r.safe(t.url,ne({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,ne({before:c,after:n},a.current()))),c+=a.move(n),l()),c+=a.move(")"),s(),c}function wU(t,e,r){return mb(t,r)?"<":"["}gb.peek=kU;function gb(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,ne({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),ne({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 kU(){return"["}function jl(t){let e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function uS(t){let e=jl(t),r=t.options.bulletOther;if(!r)return e==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+r+"`) to be different");return r}function fS(t){let e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function 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 hS(t,e,r,i){let n=r.enter("list"),o=r.bulletCurrent,a=t.ordered?fS(r):jl(r),s=t.ordered?a==="."?")":".":uS(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 mS(t,e,r,i){let n=r.enter("paragraph"),o=r.enter("phrasing"),a=r.containerPhrasing(t,i);return o(),n(),a}var bb=Wn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function OS(t,e,r,i){return(t.children.some(function(a){return bb(a)})?r.containerPhrasing:r.containerFlow).call(r,t,i)}function gS(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}yb.peek=SU;function yb(t,e,r,i){let n=gS(r),o=r.enter("strong"),a=r.createTracker(i),s=a.move(n+n);return s+=a.move(r.containerPhrasing(t,ne({before:s,after:n},a.current()))),s+=a.move(n+n),o(),s}function SU(t,e,r){return r.options.strong||"*"}function bS(t,e,r,i){return r.safe(t.value,i)}function yS(t){let e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function vS(t,e,r){let i=(c0(r)+(r.options.ruleSpaces?" ":"")).repeat(yS(r));return r.options.ruleSpaces?i.slice(0,-1):i}var Au={blockquote:K6,break:cb,code:iS,definition:nS,emphasis:ub,hardBreak:cb,heading:cS,html:fb,image:hb,imageReference:db,inlineCode:pb,link:Ob,linkReference:gb,list:hS,listItem:pS,paragraph:mS,root:OS,strong:yb,text:bS,thematicBreak:vS};function xb(){return{enter:{table:TU,tableData:xS,tableHeader:xS,tableRow:CU},exit:{codeText:PU,table:EU,tableData:vb,tableHeader:vb,tableRow:vb}}}function TU(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 EU(t){this.exit(t),this.data.inTable=void 0}function CU(t){this.enter({type:"tableRow",children:[]},t)}function vb(t){this.exit(t)}function xS(t){this.enter({type:"tableCell",children:[]},t)}function PU(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,_U));let r=this.stack[this.stack.length-1];r.type,r.value=e,this.exit(t)}function _U(t,e){return e==="|"?e:t}function wb(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"),$=x.containerPhrasing(p,je(ne({},k),{before:o,after:o}));return C(),w(),$}function c(p,O){return H6(p,{align:O,alignDelimiters:i,padding:r,stringLength:n})}function u(p,O,x){let k=p.children,w=-1,C=[],$=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 LU={tokenize:UU,partial:!0},CS={tokenize:qU,partial:!0},PS={tokenize:jU,partial:!0},_S={tokenize:BU,partial:!0},MU={tokenize:WU,partial:!0},AS={tokenize:DU,previous:$S},QS={tokenize:NU,previous:XS},So={tokenize:zU,previous:RS},Vn={};function _b(){return{text:Vn}}var As=48;for(;As<123;)Vn[As]=So,As++,As===58?As=65:As===91&&(As=97);Vn[43]=So;Vn[45]=So;Vn[46]=So;Vn[95]=So;Vn[72]=[So,QS];Vn[104]=[So,QS];Vn[87]=[So,AS];Vn[119]=[So,AS];function zU(t,e,r){let i=this,n,o;return a;function a(f){return!Pb(f)||!RS.call(i,i.previous)||Ab(i.events)?r(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),s(f))}function s(f){return Pb(f)?(t.consume(f),s):f===64?(t.consume(f),l):r(f)}function l(f){return f===46?t.check(MU,u,c)(f):f===45||f===95||c0(f)?(o=!0,t.consume(f),l):u(f)}function c(f){return t.consume(f),n=!0,l}function u(f){return o&&n&&Bl(i.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):r(f)}}function DU(t,e,r){let i=this;return n;function n(a){return a!==87&&a!==119||!$S.call(i,i.previous)||Ab(i.events)?r(a):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(LU,t.attempt(CS,t.attempt(PS,o),r),r)(a))}function o(a){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(a)}}function NU(t,e,r){let i=this,n="",o=!1;return a;function a(f){return(f===72||f===104)&&XS.call(i,i.previous)&&!Ab(i.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),n+=String.fromCodePoint(f),t.consume(f),s):r(f)}function s(f){if(Bl(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||ES(f)||_s(f)||Wl(f)||Cb(f)?r(f):t.attempt(CS,t.attempt(PS,u),r)(f)}function u(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function UU(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 qU(t,e,r){let i,n,o;return a;function a(c){return c===46||c===95?t.check(_S,l,s)(c):c===null||_s(c)||Wl(c)||c!==45&&Cb(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 jU(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 tOe=Ca(new RegExp("\\p{P}","u")),rOe=Ca(/[A-Za-z]/),iOe=Ca(/[\dA-Za-z]/),nOe=Ca(/[#-'*+\--9=?A-Z^-~]/);var oOe=Ca(/\d/),aOe=Ca(/[\dA-Fa-f]/),sOe=Ca(/[!-/:-@[-`{-~]/);function IS(t){return t!==null&&t<-2}function Qu(t){return t!==null&&(t<0||t===32)}function $u(t){return t===-2||t===-1||t===32}var lOe=Ca(/\s/);function Ca(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Xu(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return $u(l)?(t.enter(r),s(l)):e(l)}function s(l){return $u(l)&&o++999||f===93&&!a||f===null||f===91||Qu(f))return r(f);if(f===93){t.exit("chunkString");let d=t.exit("gfmFootnoteCallString");return n.includes(u0(i.sliceSerialize(d)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):r(f)}return Qu(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 GU(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||Qu(O))return r(O);if(O===93){t.exit("chunkString");let x=t.exit("gfmFootnoteDefinitionLabelString");return o=u0(i.sliceSerialize(x)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),d}return Qu(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),Xu(t,p,"gfmFootnoteDefinitionWhitespace")):r(O)}function p(O){return e(O)}}function KU(t,e,r){return t.check(Qb,e,t.attempt(FU,e,r))}function JU(t){t.exit("gfmFootnoteDefinition")}function eq(t,e,r){let i=this;return Xu(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 f0(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 Xb(t){if(t===null||LS(t)||zS(t))return 1;if(MS(t))return 2}function DS(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=Xb(O);return k._open=!w||w===2&&!!x,k._close=!x||x===2&&!!w,s(O)}}}var UOe=_a(new RegExp("\\p{P}","u")),qOe=_a(/[A-Za-z]/),jOe=_a(/[\dA-Za-z]/),BOe=_a(/[#-'*+\--9=?A-Z^-~]/);var WOe=_a(/\d/),VOe=_a(/[\dA-Fa-f]/),FOe=_a(/[!-/:-@[-`{-~]/);function Ru(t){return t!==null&&t<-2}function Ib(t){return t!==null&&(t<0||t===32)}function To(t){return t===-2||t===-1||t===32}var ZOe=_a(/\s/);function _a(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Vl(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return To(l)?(t.enter(r),s(l)):e(l)}function s(l){return To(l)&&o++0;)r-=1,i.push(e.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),e.length=this.map[r][0];i.push([...e]),e.length=0;let n=i.pop();for(;n;)e.push(...n),n=i.pop();this.map.length=0}};function iq(t,e,r,i){let n=0;if(!(r===0&&i.length===0)){for(;n-1;){let ge=i.events[oe][1].type;if(ge==="lineEnding"||ge==="linePrefix")oe--;else break}let pe=oe>-1?i.events[oe][1].type:null,fe=pe==="tableHead"||pe==="tableRow"?M:l;return fe===M&&i.parser.lazy[i.now().line]?r(W):fe(W)}function l(W){return t.enter("tableHead"),t.enter("tableRow"),c(W)}function c(W){return W===124||(a=!0,o+=1),u(W)}function u(W){return W===null?r(W):Ru(W)?o>1?(o=0,i.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(W),t.exit("lineEnding"),p):r(W):To(W)?Vl(t,u,"whitespace")(W):(o+=1,a&&(a=!1,n+=1),W===124?(t.enter("tableCellDivider"),t.consume(W),t.exit("tableCellDivider"),a=!0,u):(t.enter("data"),f(W)))}function f(W){return W===null||W===124||Ib(W)?(t.exit("data"),u(W)):(t.consume(W),W===92?d:f)}function d(W){return W===92||W===124?(t.consume(W),f):f(W)}function p(W){return i.interrupt=!1,i.parser.lazy[i.now().line]?r(W):(t.enter("tableDelimiterRow"),a=!1,To(W)?Vl(t,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W):O(W))}function O(W){return W===45||W===58?k(W):W===124?(a=!0,t.enter("tableCellDivider"),t.consume(W),t.exit("tableCellDivider"),x):L(W)}function x(W){return To(W)?Vl(t,k,"whitespace")(W):k(W)}function k(W){return W===58?(o+=1,a=!0,t.enter("tableDelimiterMarker"),t.consume(W),t.exit("tableDelimiterMarker"),w):W===45?(o+=1,w(W)):W===null||Ru(W)?P(W):L(W)}function w(W){return W===45?(t.enter("tableDelimiterFiller"),C(W)):L(W)}function C(W){return W===45?(t.consume(W),C):W===58?(a=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(W),t.exit("tableDelimiterMarker"),$):(t.exit("tableDelimiterFiller"),$(W))}function $(W){return To(W)?Vl(t,P,"whitespace")(W):P(W)}function P(W){return W===124?O(W):W===null||Ru(W)?!a||n!==o?L(W):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(W)):L(W)}function L(W){return r(W)}function M(W){return t.enter("tableRow"),Z(W)}function Z(W){return W===124?(t.enter("tableCellDivider"),t.consume(W),t.exit("tableCellDivider"),Z):W===null||Ru(W)?(t.exit("tableRow"),e(W)):To(W)?Vl(t,Z,"whitespace")(W):(t.enter("data"),re(W))}function re(W){return W===null||W===124||Ib(W)?(t.exit("data"),Z(W)):(t.consume(W),W===92?H:re)}function H(W){return W===92||W===124?(t.consume(W),re):re(W)}}function oq(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 h0;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({},Fl(e.events,n)),t.add(n,0,[["exit",o,e]]),o=void 0),o}function US(t,e,r,i,n){let o=[],a=Fl(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 Fl(t,e){let r=t[e],i=r[0]==="enter"?"start":"end";return r[1][i]}var sge=Aa(new RegExp("\\p{P}","u")),lge=Aa(/[A-Za-z]/),cge=Aa(/[\dA-Za-z]/),uge=Aa(/[#-'*+\--9=?A-Z^-~]/);var fge=Aa(/\d/),hge=Aa(/[\dA-Fa-f]/),dge=Aa(/[!-/:-@[-`{-~]/);function qS(t){return t!==null&&t<-2}function jS(t){return t!==null&&(t<0||t===32)}function Iu(t){return t===-2||t===-1||t===32}var pge=Aa(/\s/);function Aa(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function BS(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Iu(l)?(t.enter(r),s(l)):e(l)}function s(l){return Iu(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 LU={tokenize:UU,partial:!0},CS={tokenize:qU,partial:!0},PS={tokenize:jU,partial:!0},_S={tokenize:BU,partial:!0},MU={tokenize:WU,partial:!0},AS={tokenize:DU,previous:$S},QS={tokenize:NU,previous:XS},So={tokenize:zU,previous:RS},Vn={};function _b(){return{text:Vn}}var As=48;for(;As<123;)Vn[As]=So,As++,As===58?As=65:As===91&&(As=97);Vn[43]=So;Vn[45]=So;Vn[46]=So;Vn[95]=So;Vn[72]=[So,QS];Vn[104]=[So,QS];Vn[87]=[So,AS];Vn[119]=[So,AS];function zU(t,e,r){let i=this,n,o;return a;function a(f){return!Pb(f)||!RS.call(i,i.previous)||Ab(i.events)?r(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),s(f))}function s(f){return Pb(f)?(t.consume(f),s):f===64?(t.consume(f),l):r(f)}function l(f){return f===46?t.check(MU,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&&Bl(i.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):r(f)}}function DU(t,e,r){let i=this;return n;function n(a){return a!==87&&a!==119||!$S.call(i,i.previous)||Ab(i.events)?r(a):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(LU,t.attempt(CS,t.attempt(PS,o),r),r)(a))}function o(a){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(a)}}function NU(t,e,r){let i=this,n="",o=!1;return a;function a(f){return(f===72||f===104)&&XS.call(i,i.previous)&&!Ab(i.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),n+=String.fromCodePoint(f),t.consume(f),s):r(f)}function s(f){if(Bl(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||ES(f)||_s(f)||Wl(f)||Cb(f)?r(f):t.attempt(CS,t.attempt(PS,u),r)(f)}function u(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function UU(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 qU(t,e,r){let i,n,o;return a;function a(c){return c===46||c===95?t.check(_S,l,s)(c):c===null||_s(c)||Wl(c)||c!==45&&Cb(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 jU(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 tOe=Ca(new RegExp("\\p{P}","u")),rOe=Ca(/[A-Za-z]/),iOe=Ca(/[\dA-Za-z]/),nOe=Ca(/[#-'*+\--9=?A-Z^-~]/);var oOe=Ca(/\d/),aOe=Ca(/[\dA-Fa-f]/),sOe=Ca(/[!-/:-@[-`{-~]/);function IS(t){return t!==null&&t<-2}function Qu(t){return t!==null&&(t<0||t===32)}function $u(t){return t===-2||t===-1||t===32}var lOe=Ca(/\s/);function Ca(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Xu(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return $u(l)?(t.enter(r),s(l)):e(l)}function s(l){return $u(l)&&o++999||f===93&&!a||f===null||f===91||Qu(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 Qu(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 GU(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||Qu(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 Qu(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),Xu(t,p,"gfmFootnoteDefinitionWhitespace")):r(O)}function p(O){return e(O)}}function KU(t,e,r){return t.check(Qb,e,t.attempt(FU,e,r))}function JU(t){t.exit("gfmFootnoteDefinition")}function eq(t,e,r){let i=this;return Xu(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 Xb(t){if(t===null||LS(t)||zS(t))return 1;if(MS(t))return 2}function DS(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=Xb(O);return k._open=!w||w===2&&!!x,k._close=!x||x===2&&!!w,s(O)}}}var UOe=_a(new RegExp("\\p{P}","u")),qOe=_a(/[A-Za-z]/),jOe=_a(/[\dA-Za-z]/),BOe=_a(/[#-'*+\--9=?A-Z^-~]/);var WOe=_a(/\d/),VOe=_a(/[\dA-Fa-f]/),FOe=_a(/[!-/:-@[-`{-~]/);function Ru(t){return t!==null&&t<-2}function Ib(t){return t!==null&&(t<0||t===32)}function To(t){return t===-2||t===-1||t===32}var ZOe=_a(/\s/);function _a(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Vl(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return To(l)?(t.enter(r),s(l)):e(l)}function s(l){return To(l)&&o++0;)r-=1,i.push(e.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),e.length=this.map[r][0];i.push([...e]),e.length=0;let n=i.pop();for(;n;)e.push(...n),n=i.pop();this.map.length=0}};function iq(t,e,r,i){let n=0;if(!(r===0&&i.length===0)){for(;n-1;){let ge=i.events[oe][1].type;if(ge==="lineEnding"||ge==="linePrefix")oe--;else break}let pe=oe>-1?i.events[oe][1].type:null,fe=pe==="tableHead"||pe==="tableRow"?M:l;return fe===M&&i.parser.lazy[i.now().line]?r(W):fe(W)}function l(W){return t.enter("tableHead"),t.enter("tableRow"),c(W)}function c(W){return W===124||(a=!0,o+=1),u(W)}function u(W){return W===null?r(W):Ru(W)?o>1?(o=0,i.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(W),t.exit("lineEnding"),p):r(W):To(W)?Vl(t,u,"whitespace")(W):(o+=1,a&&(a=!1,n+=1),W===124?(t.enter("tableCellDivider"),t.consume(W),t.exit("tableCellDivider"),a=!0,u):(t.enter("data"),f(W)))}function f(W){return W===null||W===124||Ib(W)?(t.exit("data"),u(W)):(t.consume(W),W===92?d:f)}function d(W){return W===92||W===124?(t.consume(W),f):f(W)}function p(W){return i.interrupt=!1,i.parser.lazy[i.now().line]?r(W):(t.enter("tableDelimiterRow"),a=!1,To(W)?Vl(t,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W):O(W))}function O(W){return W===45||W===58?k(W):W===124?(a=!0,t.enter("tableCellDivider"),t.consume(W),t.exit("tableCellDivider"),x):L(W)}function x(W){return To(W)?Vl(t,k,"whitespace")(W):k(W)}function k(W){return W===58?(o+=1,a=!0,t.enter("tableDelimiterMarker"),t.consume(W),t.exit("tableDelimiterMarker"),w):W===45?(o+=1,w(W)):W===null||Ru(W)?P(W):L(W)}function w(W){return W===45?(t.enter("tableDelimiterFiller"),C(W)):L(W)}function C(W){return W===45?(t.consume(W),C):W===58?(a=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(W),t.exit("tableDelimiterMarker"),$):(t.exit("tableDelimiterFiller"),$(W))}function $(W){return To(W)?Vl(t,P,"whitespace")(W):P(W)}function P(W){return W===124?O(W):W===null||Ru(W)?!a||n!==o?L(W):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(W)):L(W)}function L(W){return r(W)}function M(W){return t.enter("tableRow"),Z(W)}function Z(W){return W===124?(t.enter("tableCellDivider"),t.consume(W),t.exit("tableCellDivider"),Z):W===null||Ru(W)?(t.exit("tableRow"),e(W)):To(W)?Vl(t,Z,"whitespace")(W):(t.enter("data"),re(W))}function re(W){return W===null||W===124||Ib(W)?(t.exit("data"),Z(W)):(t.consume(W),W===92?H:re)}function H(W){return W===92||W===124?(t.consume(W),re):re(W)}}function oq(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({},Fl(e.events,n)),t.add(n,0,[["exit",o,e]]),o=void 0),o}function US(t,e,r,i,n){let o=[],a=Fl(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 Fl(t,e){let r=t[e],i=r[0]==="enter"?"start":"end";return r[1][i]}var sge=Aa(new RegExp("\\p{P}","u")),lge=Aa(/[A-Za-z]/),cge=Aa(/[\dA-Za-z]/),uge=Aa(/[#-'*+\--9=?A-Z^-~]/);var fge=Aa(/\d/),hge=Aa(/[\dA-Fa-f]/),dge=Aa(/[!-/:-@[-`{-~]/);function qS(t){return t!==null&&t<-2}function jS(t){return t!==null&&(t<0||t===32)}function Iu(t){return t===-2||t===-1||t===32}var pge=Aa(/\s/);function Aa(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function BS(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Iu(l)?(t.enter(r),s(l)):e(l)}function s(l){return Iu(l)&&o++-1&&t.test(String.fromCharCode(r))}}function Lu(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Nb(l)?(t.enter(r),s(l)):e(l)}function s(l){return Nb(l)&&o++15?c="\u2026"+s.slice(n-15,n):c=s.slice(0,n);var u;o+15":">","<":"<",'"':""","'":"'"},yq=/[&><"']/g;function vq(t){return String(t).replace(yq,e=>bq[e])}var E7=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},xq=function(e){var r=E7(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},wq=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},kq=function(e){var r=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return r!=null?r[1]:"_relative"},Ke={contains:pq,deflt:mq,escape:vq,hyphenate:gq,getBaseElem:E7,isCharacterBox:xq,protocolFromUrl:kq},E0={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:t=>"#"+t},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:t=>Math.max(0,t),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:t=>Math.max(0,t),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:t=>Math.max(0,t),cli:"-e, --max-expand ",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function Sq(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 Uu=class{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r in E0)if(E0.hasOwnProperty(r)){var i=E0[r];this[r]=e[r]!==void 0?i.processor?i.processor(e[r]):e[r]:Sq(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[Tq[this.id]]}sub(){return Zn[Eq[this.id]]}fracNum(){return Zn[Cq[this.id]]}fracDen(){return Zn[Pq[this.id]]}cramp(){return Zn[_q[this.id]]}text(){return Zn[Aq[this.id]]}isTight(){return this.size>=2}},h2=0,P0=1,Yl=2,_o=3,qu=4,Gi=5,Hl=6,ai=7,Zn=[new Fn(h2,0,!1),new Fn(P0,0,!0),new Fn(Yl,1,!1),new Fn(_o,1,!0),new Fn(qu,2,!1),new Fn(Gi,2,!0),new Fn(Hl,3,!1),new Fn(ai,3,!0)],Tq=[qu,Gi,qu,Gi,Hl,ai,Hl,ai],Eq=[Gi,Gi,Gi,Gi,ai,ai,ai,ai],Cq=[Yl,_o,qu,Gi,Hl,ai,Hl,ai],Pq=[_o,_o,Gi,Gi,ai,ai,ai,ai],_q=[P0,P0,_o,_o,Gi,Gi,ai,ai],Aq=[h2,P0,Yl,_o,Yl,_o,Yl,_o],Fe={DISPLAY:Zn[h2],TEXT:Zn[Yl],SCRIPT:Zn[qu],SCRIPTSCRIPT:Zn[Hl]},e2=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Qq(t){for(var e=0;e=n[0]&&t<=n[1])return r.name}return null}var C0=[];e2.forEach(t=>t.blocks.forEach(e=>C0.push(...e)));function C7(t){for(var e=0;e=C0[e]&&t<=C0[e+1])return!0;return!1}var Zl=80,$q=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 Lu(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Nb(l)?(t.enter(r),s(l)):e(l)}function s(l){return Nb(l)&&o++15?c="\u2026"+s.slice(n-15,n):c=s.slice(0,n);var u;o+15":">","<":"<",'"':""","'":"'"},yq=/[&><"']/g;function vq(t){return String(t).replace(yq,e=>bq[e])}var E7=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},xq=function(e){var r=E7(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},wq=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},kq=function(e){var r=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return r!=null?r[1]:"_relative"},Ke={contains:pq,deflt:mq,escape:vq,hyphenate:gq,getBaseElem:E7,isCharacterBox:xq,protocolFromUrl:kq},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 Sq(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 Uu=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]:Sq(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[Tq[this.id]]}sub(){return Zn[Eq[this.id]]}fracNum(){return Zn[Cq[this.id]]}fracDen(){return Zn[Pq[this.id]]}cramp(){return Zn[_q[this.id]]}text(){return Zn[Aq[this.id]]}isTight(){return this.size>=2}},h2=0,_0=1,Yl=2,_o=3,qu=4,Gi=5,Hl=6,ai=7,Zn=[new Fn(h2,0,!1),new Fn(_0,0,!0),new Fn(Yl,1,!1),new Fn(_o,1,!0),new Fn(qu,2,!1),new Fn(Gi,2,!0),new Fn(Hl,3,!1),new Fn(ai,3,!0)],Tq=[qu,Gi,qu,Gi,Hl,ai,Hl,ai],Eq=[Gi,Gi,Gi,Gi,ai,ai,ai,ai],Cq=[Yl,_o,qu,Gi,Hl,ai,Hl,ai],Pq=[_o,_o,Gi,Gi,ai,ai,ai,ai],_q=[_0,_0,_o,_o,Gi,Gi,ai,ai],Aq=[h2,_0,Yl,_o,Yl,_o,Yl,_o],Fe={DISPLAY:Zn[h2],TEXT:Zn[Yl],SCRIPT:Zn[qu],SCRIPTSCRIPT:Zn[Hl]},e2=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Qq(t){for(var e=0;e=n[0]&&t<=n[1])return r.name}return null}var P0=[];e2.forEach(t=>t.blocks.forEach(e=>P0.push(...e)));function C7(t){for(var e=0;e=P0[e]&&t<=P0[e+1])return!0;return!1}var Zl=80,$q=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 @@ -285,25 +285,25 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},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]}},m0={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},HS={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function qq(t,e){Yn[t]=e}function d2(t,e,r){if(!Yn[e])throw new Error("Font metrics not found for font: "+e+".");var i=t.charCodeAt(0),n=Yn[e][i];if(!n&&t[0]in HS&&(i=HS[t[0]].charCodeAt(0),n=Yn[e][i]),!n&&r==="text"&&C7(i)&&(n=Yn[e][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var qb={};function jq(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!qb[e]){var r=qb[e]={cssEmPerMu:m0.quad[e]/18};for(var i in m0)m0.hasOwnProperty(i)&&(r[i]=m0[i][e])}return qb[e]}var Bq=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],GS=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],KS=function(e,r){return r.size<2?e:Bq[e-1][r.size-1]},_0=class t{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||t.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=GS[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var i in e)e.hasOwnProperty(i)&&(r[i]=e[i]);return new t(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:KS(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:GS[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=KS(t.BASESIZE,e);return this.size===r&&this.textSize===t.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==t.BASESIZE?["sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=jq(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};_0.BASESIZE=6;var t2={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Wq={ex:!0,em:!0,mu:!0},P7=function(e){return typeof e!="string"&&(e=e.unit),e in t2||e in Wq||e==="ex"},Gt=function(e,r){var i;if(e.unit in t2)i=t2[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")i=r.fontMetrics().cssEmPerMu;else{var n;if(r.style.isTight()?n=r.havingStyle(r.style.text()):n=r,e.unit==="ex")i=n.fontMetrics().xHeight;else if(e.unit==="em")i=n.fontMetrics().quad;else throw new Pe("Invalid unit: '"+e.unit+"'");n!==r&&(i*=n.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*i,r.maxSize)},Qe=function(e){return+e.toFixed(4)+"em"},Ra=function(e){return e.filter(r=>r).join(" ")},_7=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)}},A7=function(e){var r=document.createElement(e);r.className=Ra(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,_7.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 A7.call(this,"span")}toMarkup(){return Q7.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,_7.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 A7.call(this,"a")}toMarkup(){return Q7.call(this,"a")}},r2=class{constructor(e,r,i){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=e,this.classes=["mord"],this.style=i}hasClass(e){return Ke.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e=""+this.alt+"0&&(r=document.createElement("span"),r.style.marginRight=Qe(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Ra(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":""}},Bu=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 Zq={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Yq={"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",_="main",U="ams",jt="accent-token",Me="bin",si="close",Gl="inner",Ve="mathord",fr="op-token",Li="open",L0="punct",j="rel",Xo="spacing",Y="textord";v(S,_,j,"\u2261","\\equiv",!0);v(S,_,j,"\u227A","\\prec",!0);v(S,_,j,"\u227B","\\succ",!0);v(S,_,j,"\u223C","\\sim",!0);v(S,_,j,"\u22A5","\\perp");v(S,_,j,"\u2AAF","\\preceq",!0);v(S,_,j,"\u2AB0","\\succeq",!0);v(S,_,j,"\u2243","\\simeq",!0);v(S,_,j,"\u2223","\\mid",!0);v(S,_,j,"\u226A","\\ll",!0);v(S,_,j,"\u226B","\\gg",!0);v(S,_,j,"\u224D","\\asymp",!0);v(S,_,j,"\u2225","\\parallel");v(S,_,j,"\u22C8","\\bowtie",!0);v(S,_,j,"\u2323","\\smile",!0);v(S,_,j,"\u2291","\\sqsubseteq",!0);v(S,_,j,"\u2292","\\sqsupseteq",!0);v(S,_,j,"\u2250","\\doteq",!0);v(S,_,j,"\u2322","\\frown",!0);v(S,_,j,"\u220B","\\ni",!0);v(S,_,j,"\u221D","\\propto",!0);v(S,_,j,"\u22A2","\\vdash",!0);v(S,_,j,"\u22A3","\\dashv",!0);v(S,_,j,"\u220B","\\owns");v(S,_,L0,".","\\ldotp");v(S,_,L0,"\u22C5","\\cdotp");v(S,_,Y,"#","\\#");v(xe,_,Y,"#","\\#");v(S,_,Y,"&","\\&");v(xe,_,Y,"&","\\&");v(S,_,Y,"\u2135","\\aleph",!0);v(S,_,Y,"\u2200","\\forall",!0);v(S,_,Y,"\u210F","\\hbar",!0);v(S,_,Y,"\u2203","\\exists",!0);v(S,_,Y,"\u2207","\\nabla",!0);v(S,_,Y,"\u266D","\\flat",!0);v(S,_,Y,"\u2113","\\ell",!0);v(S,_,Y,"\u266E","\\natural",!0);v(S,_,Y,"\u2663","\\clubsuit",!0);v(S,_,Y,"\u2118","\\wp",!0);v(S,_,Y,"\u266F","\\sharp",!0);v(S,_,Y,"\u2662","\\diamondsuit",!0);v(S,_,Y,"\u211C","\\Re",!0);v(S,_,Y,"\u2661","\\heartsuit",!0);v(S,_,Y,"\u2111","\\Im",!0);v(S,_,Y,"\u2660","\\spadesuit",!0);v(S,_,Y,"\xA7","\\S",!0);v(xe,_,Y,"\xA7","\\S");v(S,_,Y,"\xB6","\\P",!0);v(xe,_,Y,"\xB6","\\P");v(S,_,Y,"\u2020","\\dag");v(xe,_,Y,"\u2020","\\dag");v(xe,_,Y,"\u2020","\\textdagger");v(S,_,Y,"\u2021","\\ddag");v(xe,_,Y,"\u2021","\\ddag");v(xe,_,Y,"\u2021","\\textdaggerdbl");v(S,_,si,"\u23B1","\\rmoustache",!0);v(S,_,Li,"\u23B0","\\lmoustache",!0);v(S,_,si,"\u27EF","\\rgroup",!0);v(S,_,Li,"\u27EE","\\lgroup",!0);v(S,_,Me,"\u2213","\\mp",!0);v(S,_,Me,"\u2296","\\ominus",!0);v(S,_,Me,"\u228E","\\uplus",!0);v(S,_,Me,"\u2293","\\sqcap",!0);v(S,_,Me,"\u2217","\\ast");v(S,_,Me,"\u2294","\\sqcup",!0);v(S,_,Me,"\u25EF","\\bigcirc",!0);v(S,_,Me,"\u2219","\\bullet",!0);v(S,_,Me,"\u2021","\\ddagger");v(S,_,Me,"\u2240","\\wr",!0);v(S,_,Me,"\u2A3F","\\amalg");v(S,_,Me,"&","\\And");v(S,_,j,"\u27F5","\\longleftarrow",!0);v(S,_,j,"\u21D0","\\Leftarrow",!0);v(S,_,j,"\u27F8","\\Longleftarrow",!0);v(S,_,j,"\u27F6","\\longrightarrow",!0);v(S,_,j,"\u21D2","\\Rightarrow",!0);v(S,_,j,"\u27F9","\\Longrightarrow",!0);v(S,_,j,"\u2194","\\leftrightarrow",!0);v(S,_,j,"\u27F7","\\longleftrightarrow",!0);v(S,_,j,"\u21D4","\\Leftrightarrow",!0);v(S,_,j,"\u27FA","\\Longleftrightarrow",!0);v(S,_,j,"\u21A6","\\mapsto",!0);v(S,_,j,"\u27FC","\\longmapsto",!0);v(S,_,j,"\u2197","\\nearrow",!0);v(S,_,j,"\u21A9","\\hookleftarrow",!0);v(S,_,j,"\u21AA","\\hookrightarrow",!0);v(S,_,j,"\u2198","\\searrow",!0);v(S,_,j,"\u21BC","\\leftharpoonup",!0);v(S,_,j,"\u21C0","\\rightharpoonup",!0);v(S,_,j,"\u2199","\\swarrow",!0);v(S,_,j,"\u21BD","\\leftharpoondown",!0);v(S,_,j,"\u21C1","\\rightharpoondown",!0);v(S,_,j,"\u2196","\\nwarrow",!0);v(S,_,j,"\u21CC","\\rightleftharpoons",!0);v(S,U,j,"\u226E","\\nless",!0);v(S,U,j,"\uE010","\\@nleqslant");v(S,U,j,"\uE011","\\@nleqq");v(S,U,j,"\u2A87","\\lneq",!0);v(S,U,j,"\u2268","\\lneqq",!0);v(S,U,j,"\uE00C","\\@lvertneqq");v(S,U,j,"\u22E6","\\lnsim",!0);v(S,U,j,"\u2A89","\\lnapprox",!0);v(S,U,j,"\u2280","\\nprec",!0);v(S,U,j,"\u22E0","\\npreceq",!0);v(S,U,j,"\u22E8","\\precnsim",!0);v(S,U,j,"\u2AB9","\\precnapprox",!0);v(S,U,j,"\u2241","\\nsim",!0);v(S,U,j,"\uE006","\\@nshortmid");v(S,U,j,"\u2224","\\nmid",!0);v(S,U,j,"\u22AC","\\nvdash",!0);v(S,U,j,"\u22AD","\\nvDash",!0);v(S,U,j,"\u22EA","\\ntriangleleft");v(S,U,j,"\u22EC","\\ntrianglelefteq",!0);v(S,U,j,"\u228A","\\subsetneq",!0);v(S,U,j,"\uE01A","\\@varsubsetneq");v(S,U,j,"\u2ACB","\\subsetneqq",!0);v(S,U,j,"\uE017","\\@varsubsetneqq");v(S,U,j,"\u226F","\\ngtr",!0);v(S,U,j,"\uE00F","\\@ngeqslant");v(S,U,j,"\uE00E","\\@ngeqq");v(S,U,j,"\u2A88","\\gneq",!0);v(S,U,j,"\u2269","\\gneqq",!0);v(S,U,j,"\uE00D","\\@gvertneqq");v(S,U,j,"\u22E7","\\gnsim",!0);v(S,U,j,"\u2A8A","\\gnapprox",!0);v(S,U,j,"\u2281","\\nsucc",!0);v(S,U,j,"\u22E1","\\nsucceq",!0);v(S,U,j,"\u22E9","\\succnsim",!0);v(S,U,j,"\u2ABA","\\succnapprox",!0);v(S,U,j,"\u2246","\\ncong",!0);v(S,U,j,"\uE007","\\@nshortparallel");v(S,U,j,"\u2226","\\nparallel",!0);v(S,U,j,"\u22AF","\\nVDash",!0);v(S,U,j,"\u22EB","\\ntriangleright");v(S,U,j,"\u22ED","\\ntrianglerighteq",!0);v(S,U,j,"\uE018","\\@nsupseteqq");v(S,U,j,"\u228B","\\supsetneq",!0);v(S,U,j,"\uE01B","\\@varsupsetneq");v(S,U,j,"\u2ACC","\\supsetneqq",!0);v(S,U,j,"\uE019","\\@varsupsetneqq");v(S,U,j,"\u22AE","\\nVdash",!0);v(S,U,j,"\u2AB5","\\precneqq",!0);v(S,U,j,"\u2AB6","\\succneqq",!0);v(S,U,j,"\uE016","\\@nsubseteqq");v(S,U,Me,"\u22B4","\\unlhd");v(S,U,Me,"\u22B5","\\unrhd");v(S,U,j,"\u219A","\\nleftarrow",!0);v(S,U,j,"\u219B","\\nrightarrow",!0);v(S,U,j,"\u21CD","\\nLeftarrow",!0);v(S,U,j,"\u21CF","\\nRightarrow",!0);v(S,U,j,"\u21AE","\\nleftrightarrow",!0);v(S,U,j,"\u21CE","\\nLeftrightarrow",!0);v(S,U,j,"\u25B3","\\vartriangle");v(S,U,Y,"\u210F","\\hslash");v(S,U,Y,"\u25BD","\\triangledown");v(S,U,Y,"\u25CA","\\lozenge");v(S,U,Y,"\u24C8","\\circledS");v(S,U,Y,"\xAE","\\circledR");v(xe,U,Y,"\xAE","\\circledR");v(S,U,Y,"\u2221","\\measuredangle",!0);v(S,U,Y,"\u2204","\\nexists");v(S,U,Y,"\u2127","\\mho");v(S,U,Y,"\u2132","\\Finv",!0);v(S,U,Y,"\u2141","\\Game",!0);v(S,U,Y,"\u2035","\\backprime");v(S,U,Y,"\u25B2","\\blacktriangle");v(S,U,Y,"\u25BC","\\blacktriangledown");v(S,U,Y,"\u25A0","\\blacksquare");v(S,U,Y,"\u29EB","\\blacklozenge");v(S,U,Y,"\u2605","\\bigstar");v(S,U,Y,"\u2222","\\sphericalangle",!0);v(S,U,Y,"\u2201","\\complement",!0);v(S,U,Y,"\xF0","\\eth",!0);v(xe,_,Y,"\xF0","\xF0");v(S,U,Y,"\u2571","\\diagup");v(S,U,Y,"\u2572","\\diagdown");v(S,U,Y,"\u25A1","\\square");v(S,U,Y,"\u25A1","\\Box");v(S,U,Y,"\u25CA","\\Diamond");v(S,U,Y,"\xA5","\\yen",!0);v(xe,U,Y,"\xA5","\\yen",!0);v(S,U,Y,"\u2713","\\checkmark",!0);v(xe,U,Y,"\u2713","\\checkmark");v(S,U,Y,"\u2136","\\beth",!0);v(S,U,Y,"\u2138","\\daleth",!0);v(S,U,Y,"\u2137","\\gimel",!0);v(S,U,Y,"\u03DD","\\digamma",!0);v(S,U,Y,"\u03F0","\\varkappa");v(S,U,Li,"\u250C","\\@ulcorner",!0);v(S,U,si,"\u2510","\\@urcorner",!0);v(S,U,Li,"\u2514","\\@llcorner",!0);v(S,U,si,"\u2518","\\@lrcorner",!0);v(S,U,j,"\u2266","\\leqq",!0);v(S,U,j,"\u2A7D","\\leqslant",!0);v(S,U,j,"\u2A95","\\eqslantless",!0);v(S,U,j,"\u2272","\\lesssim",!0);v(S,U,j,"\u2A85","\\lessapprox",!0);v(S,U,j,"\u224A","\\approxeq",!0);v(S,U,Me,"\u22D6","\\lessdot");v(S,U,j,"\u22D8","\\lll",!0);v(S,U,j,"\u2276","\\lessgtr",!0);v(S,U,j,"\u22DA","\\lesseqgtr",!0);v(S,U,j,"\u2A8B","\\lesseqqgtr",!0);v(S,U,j,"\u2251","\\doteqdot");v(S,U,j,"\u2253","\\risingdotseq",!0);v(S,U,j,"\u2252","\\fallingdotseq",!0);v(S,U,j,"\u223D","\\backsim",!0);v(S,U,j,"\u22CD","\\backsimeq",!0);v(S,U,j,"\u2AC5","\\subseteqq",!0);v(S,U,j,"\u22D0","\\Subset",!0);v(S,U,j,"\u228F","\\sqsubset",!0);v(S,U,j,"\u227C","\\preccurlyeq",!0);v(S,U,j,"\u22DE","\\curlyeqprec",!0);v(S,U,j,"\u227E","\\precsim",!0);v(S,U,j,"\u2AB7","\\precapprox",!0);v(S,U,j,"\u22B2","\\vartriangleleft");v(S,U,j,"\u22B4","\\trianglelefteq");v(S,U,j,"\u22A8","\\vDash",!0);v(S,U,j,"\u22AA","\\Vvdash",!0);v(S,U,j,"\u2323","\\smallsmile");v(S,U,j,"\u2322","\\smallfrown");v(S,U,j,"\u224F","\\bumpeq",!0);v(S,U,j,"\u224E","\\Bumpeq",!0);v(S,U,j,"\u2267","\\geqq",!0);v(S,U,j,"\u2A7E","\\geqslant",!0);v(S,U,j,"\u2A96","\\eqslantgtr",!0);v(S,U,j,"\u2273","\\gtrsim",!0);v(S,U,j,"\u2A86","\\gtrapprox",!0);v(S,U,Me,"\u22D7","\\gtrdot");v(S,U,j,"\u22D9","\\ggg",!0);v(S,U,j,"\u2277","\\gtrless",!0);v(S,U,j,"\u22DB","\\gtreqless",!0);v(S,U,j,"\u2A8C","\\gtreqqless",!0);v(S,U,j,"\u2256","\\eqcirc",!0);v(S,U,j,"\u2257","\\circeq",!0);v(S,U,j,"\u225C","\\triangleq",!0);v(S,U,j,"\u223C","\\thicksim");v(S,U,j,"\u2248","\\thickapprox");v(S,U,j,"\u2AC6","\\supseteqq",!0);v(S,U,j,"\u22D1","\\Supset",!0);v(S,U,j,"\u2290","\\sqsupset",!0);v(S,U,j,"\u227D","\\succcurlyeq",!0);v(S,U,j,"\u22DF","\\curlyeqsucc",!0);v(S,U,j,"\u227F","\\succsim",!0);v(S,U,j,"\u2AB8","\\succapprox",!0);v(S,U,j,"\u22B3","\\vartriangleright");v(S,U,j,"\u22B5","\\trianglerighteq");v(S,U,j,"\u22A9","\\Vdash",!0);v(S,U,j,"\u2223","\\shortmid");v(S,U,j,"\u2225","\\shortparallel");v(S,U,j,"\u226C","\\between",!0);v(S,U,j,"\u22D4","\\pitchfork",!0);v(S,U,j,"\u221D","\\varpropto");v(S,U,j,"\u25C0","\\blacktriangleleft");v(S,U,j,"\u2234","\\therefore",!0);v(S,U,j,"\u220D","\\backepsilon");v(S,U,j,"\u25B6","\\blacktriangleright");v(S,U,j,"\u2235","\\because",!0);v(S,U,j,"\u22D8","\\llless");v(S,U,j,"\u22D9","\\gggtr");v(S,U,Me,"\u22B2","\\lhd");v(S,U,Me,"\u22B3","\\rhd");v(S,U,j,"\u2242","\\eqsim",!0);v(S,_,j,"\u22C8","\\Join");v(S,U,j,"\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,j,"\u21E2","\\dashrightarrow",!0);v(S,U,j,"\u21E0","\\dashleftarrow",!0);v(S,U,j,"\u21C7","\\leftleftarrows",!0);v(S,U,j,"\u21C6","\\leftrightarrows",!0);v(S,U,j,"\u21DA","\\Lleftarrow",!0);v(S,U,j,"\u219E","\\twoheadleftarrow",!0);v(S,U,j,"\u21A2","\\leftarrowtail",!0);v(S,U,j,"\u21AB","\\looparrowleft",!0);v(S,U,j,"\u21CB","\\leftrightharpoons",!0);v(S,U,j,"\u21B6","\\curvearrowleft",!0);v(S,U,j,"\u21BA","\\circlearrowleft",!0);v(S,U,j,"\u21B0","\\Lsh",!0);v(S,U,j,"\u21C8","\\upuparrows",!0);v(S,U,j,"\u21BF","\\upharpoonleft",!0);v(S,U,j,"\u21C3","\\downharpoonleft",!0);v(S,_,j,"\u22B6","\\origof",!0);v(S,_,j,"\u22B7","\\imageof",!0);v(S,U,j,"\u22B8","\\multimap",!0);v(S,U,j,"\u21AD","\\leftrightsquigarrow",!0);v(S,U,j,"\u21C9","\\rightrightarrows",!0);v(S,U,j,"\u21C4","\\rightleftarrows",!0);v(S,U,j,"\u21A0","\\twoheadrightarrow",!0);v(S,U,j,"\u21A3","\\rightarrowtail",!0);v(S,U,j,"\u21AC","\\looparrowright",!0);v(S,U,j,"\u21B7","\\curvearrowright",!0);v(S,U,j,"\u21BB","\\circlearrowright",!0);v(S,U,j,"\u21B1","\\Rsh",!0);v(S,U,j,"\u21CA","\\downdownarrows",!0);v(S,U,j,"\u21BE","\\upharpoonright",!0);v(S,U,j,"\u21C2","\\downharpoonright",!0);v(S,U,j,"\u21DD","\\rightsquigarrow",!0);v(S,U,j,"\u21DD","\\leadsto");v(S,U,j,"\u21DB","\\Rrightarrow",!0);v(S,U,j,"\u21BE","\\restriction");v(S,_,Y,"\u2018","`");v(S,_,Y,"$","\\$");v(xe,_,Y,"$","\\$");v(xe,_,Y,"$","\\textdollar");v(S,_,Y,"%","\\%");v(xe,_,Y,"%","\\%");v(S,_,Y,"_","\\_");v(xe,_,Y,"_","\\_");v(xe,_,Y,"_","\\textunderscore");v(S,_,Y,"\u2220","\\angle",!0);v(S,_,Y,"\u221E","\\infty",!0);v(S,_,Y,"\u2032","\\prime");v(S,_,Y,"\u25B3","\\triangle");v(S,_,Y,"\u0393","\\Gamma",!0);v(S,_,Y,"\u0394","\\Delta",!0);v(S,_,Y,"\u0398","\\Theta",!0);v(S,_,Y,"\u039B","\\Lambda",!0);v(S,_,Y,"\u039E","\\Xi",!0);v(S,_,Y,"\u03A0","\\Pi",!0);v(S,_,Y,"\u03A3","\\Sigma",!0);v(S,_,Y,"\u03A5","\\Upsilon",!0);v(S,_,Y,"\u03A6","\\Phi",!0);v(S,_,Y,"\u03A8","\\Psi",!0);v(S,_,Y,"\u03A9","\\Omega",!0);v(S,_,Y,"A","\u0391");v(S,_,Y,"B","\u0392");v(S,_,Y,"E","\u0395");v(S,_,Y,"Z","\u0396");v(S,_,Y,"H","\u0397");v(S,_,Y,"I","\u0399");v(S,_,Y,"K","\u039A");v(S,_,Y,"M","\u039C");v(S,_,Y,"N","\u039D");v(S,_,Y,"O","\u039F");v(S,_,Y,"P","\u03A1");v(S,_,Y,"T","\u03A4");v(S,_,Y,"X","\u03A7");v(S,_,Y,"\xAC","\\neg",!0);v(S,_,Y,"\xAC","\\lnot");v(S,_,Y,"\u22A4","\\top");v(S,_,Y,"\u22A5","\\bot");v(S,_,Y,"\u2205","\\emptyset");v(S,U,Y,"\u2205","\\varnothing");v(S,_,Ve,"\u03B1","\\alpha",!0);v(S,_,Ve,"\u03B2","\\beta",!0);v(S,_,Ve,"\u03B3","\\gamma",!0);v(S,_,Ve,"\u03B4","\\delta",!0);v(S,_,Ve,"\u03F5","\\epsilon",!0);v(S,_,Ve,"\u03B6","\\zeta",!0);v(S,_,Ve,"\u03B7","\\eta",!0);v(S,_,Ve,"\u03B8","\\theta",!0);v(S,_,Ve,"\u03B9","\\iota",!0);v(S,_,Ve,"\u03BA","\\kappa",!0);v(S,_,Ve,"\u03BB","\\lambda",!0);v(S,_,Ve,"\u03BC","\\mu",!0);v(S,_,Ve,"\u03BD","\\nu",!0);v(S,_,Ve,"\u03BE","\\xi",!0);v(S,_,Ve,"\u03BF","\\omicron",!0);v(S,_,Ve,"\u03C0","\\pi",!0);v(S,_,Ve,"\u03C1","\\rho",!0);v(S,_,Ve,"\u03C3","\\sigma",!0);v(S,_,Ve,"\u03C4","\\tau",!0);v(S,_,Ve,"\u03C5","\\upsilon",!0);v(S,_,Ve,"\u03D5","\\phi",!0);v(S,_,Ve,"\u03C7","\\chi",!0);v(S,_,Ve,"\u03C8","\\psi",!0);v(S,_,Ve,"\u03C9","\\omega",!0);v(S,_,Ve,"\u03B5","\\varepsilon",!0);v(S,_,Ve,"\u03D1","\\vartheta",!0);v(S,_,Ve,"\u03D6","\\varpi",!0);v(S,_,Ve,"\u03F1","\\varrho",!0);v(S,_,Ve,"\u03C2","\\varsigma",!0);v(S,_,Ve,"\u03C6","\\varphi",!0);v(S,_,Me,"\u2217","*",!0);v(S,_,Me,"+","+");v(S,_,Me,"\u2212","-",!0);v(S,_,Me,"\u22C5","\\cdot",!0);v(S,_,Me,"\u2218","\\circ",!0);v(S,_,Me,"\xF7","\\div",!0);v(S,_,Me,"\xB1","\\pm",!0);v(S,_,Me,"\xD7","\\times",!0);v(S,_,Me,"\u2229","\\cap",!0);v(S,_,Me,"\u222A","\\cup",!0);v(S,_,Me,"\u2216","\\setminus",!0);v(S,_,Me,"\u2227","\\land");v(S,_,Me,"\u2228","\\lor");v(S,_,Me,"\u2227","\\wedge",!0);v(S,_,Me,"\u2228","\\vee",!0);v(S,_,Y,"\u221A","\\surd");v(S,_,Li,"\u27E8","\\langle",!0);v(S,_,Li,"\u2223","\\lvert");v(S,_,Li,"\u2225","\\lVert");v(S,_,si,"?","?");v(S,_,si,"!","!");v(S,_,si,"\u27E9","\\rangle",!0);v(S,_,si,"\u2223","\\rvert");v(S,_,si,"\u2225","\\rVert");v(S,_,j,"=","=");v(S,_,j,":",":");v(S,_,j,"\u2248","\\approx",!0);v(S,_,j,"\u2245","\\cong",!0);v(S,_,j,"\u2265","\\ge");v(S,_,j,"\u2265","\\geq",!0);v(S,_,j,"\u2190","\\gets");v(S,_,j,">","\\gt",!0);v(S,_,j,"\u2208","\\in",!0);v(S,_,j,"\uE020","\\@not");v(S,_,j,"\u2282","\\subset",!0);v(S,_,j,"\u2283","\\supset",!0);v(S,_,j,"\u2286","\\subseteq",!0);v(S,_,j,"\u2287","\\supseteq",!0);v(S,U,j,"\u2288","\\nsubseteq",!0);v(S,U,j,"\u2289","\\nsupseteq",!0);v(S,_,j,"\u22A8","\\models");v(S,_,j,"\u2190","\\leftarrow",!0);v(S,_,j,"\u2264","\\le");v(S,_,j,"\u2264","\\leq",!0);v(S,_,j,"<","\\lt",!0);v(S,_,j,"\u2192","\\rightarrow",!0);v(S,_,j,"\u2192","\\to");v(S,U,j,"\u2271","\\ngeq",!0);v(S,U,j,"\u2270","\\nleq",!0);v(S,_,Xo,"\xA0","\\ ");v(S,_,Xo,"\xA0","\\space");v(S,_,Xo,"\xA0","\\nobreakspace");v(xe,_,Xo,"\xA0","\\ ");v(xe,_,Xo,"\xA0"," ");v(xe,_,Xo,"\xA0","\\space");v(xe,_,Xo,"\xA0","\\nobreakspace");v(S,_,Xo,null,"\\nobreak");v(S,_,Xo,null,"\\allowbreak");v(S,_,L0,",",",");v(S,_,L0,";",";");v(S,U,Me,"\u22BC","\\barwedge",!0);v(S,U,Me,"\u22BB","\\veebar",!0);v(S,_,Me,"\u2299","\\odot",!0);v(S,_,Me,"\u2295","\\oplus",!0);v(S,_,Me,"\u2297","\\otimes",!0);v(S,_,Y,"\u2202","\\partial",!0);v(S,_,Me,"\u2298","\\oslash",!0);v(S,U,Me,"\u229A","\\circledcirc",!0);v(S,U,Me,"\u22A1","\\boxdot",!0);v(S,_,Me,"\u25B3","\\bigtriangleup");v(S,_,Me,"\u25BD","\\bigtriangledown");v(S,_,Me,"\u2020","\\dagger");v(S,_,Me,"\u22C4","\\diamond");v(S,_,Me,"\u22C6","\\star");v(S,_,Me,"\u25C3","\\triangleleft");v(S,_,Me,"\u25B9","\\triangleright");v(S,_,Li,"{","\\{");v(xe,_,Y,"{","\\{");v(xe,_,Y,"{","\\textbraceleft");v(S,_,si,"}","\\}");v(xe,_,Y,"}","\\}");v(xe,_,Y,"}","\\textbraceright");v(S,_,Li,"{","\\lbrace");v(S,_,si,"}","\\rbrace");v(S,_,Li,"[","\\lbrack",!0);v(xe,_,Y,"[","\\lbrack",!0);v(S,_,si,"]","\\rbrack",!0);v(xe,_,Y,"]","\\rbrack",!0);v(S,_,Li,"(","\\lparen",!0);v(S,_,si,")","\\rparen",!0);v(xe,_,Y,"<","\\textless",!0);v(xe,_,Y,">","\\textgreater",!0);v(S,_,Li,"\u230A","\\lfloor",!0);v(S,_,si,"\u230B","\\rfloor",!0);v(S,_,Li,"\u2308","\\lceil",!0);v(S,_,si,"\u2309","\\rceil",!0);v(S,_,Y,"\\","\\backslash");v(S,_,Y,"\u2223","|");v(S,_,Y,"\u2223","\\vert");v(xe,_,Y,"|","\\textbar",!0);v(S,_,Y,"\u2225","\\|");v(S,_,Y,"\u2225","\\Vert");v(xe,_,Y,"\u2225","\\textbardbl");v(xe,_,Y,"~","\\textasciitilde");v(xe,_,Y,"\\","\\textbackslash");v(xe,_,Y,"^","\\textasciicircum");v(S,_,j,"\u2191","\\uparrow",!0);v(S,_,j,"\u21D1","\\Uparrow",!0);v(S,_,j,"\u2193","\\downarrow",!0);v(S,_,j,"\u21D3","\\Downarrow",!0);v(S,_,j,"\u2195","\\updownarrow",!0);v(S,_,j,"\u21D5","\\Updownarrow",!0);v(S,_,fr,"\u2210","\\coprod");v(S,_,fr,"\u22C1","\\bigvee");v(S,_,fr,"\u22C0","\\bigwedge");v(S,_,fr,"\u2A04","\\biguplus");v(S,_,fr,"\u22C2","\\bigcap");v(S,_,fr,"\u22C3","\\bigcup");v(S,_,fr,"\u222B","\\int");v(S,_,fr,"\u222B","\\intop");v(S,_,fr,"\u222C","\\iint");v(S,_,fr,"\u222D","\\iiint");v(S,_,fr,"\u220F","\\prod");v(S,_,fr,"\u2211","\\sum");v(S,_,fr,"\u2A02","\\bigotimes");v(S,_,fr,"\u2A01","\\bigoplus");v(S,_,fr,"\u2A00","\\bigodot");v(S,_,fr,"\u222E","\\oint");v(S,_,fr,"\u222F","\\oiint");v(S,_,fr,"\u2230","\\oiiint");v(S,_,fr,"\u2A06","\\bigsqcup");v(S,_,fr,"\u222B","\\smallint");v(xe,_,Gl,"\u2026","\\textellipsis");v(S,_,Gl,"\u2026","\\mathellipsis");v(xe,_,Gl,"\u2026","\\ldots",!0);v(S,_,Gl,"\u2026","\\ldots",!0);v(S,_,Gl,"\u22EF","\\@cdots",!0);v(S,_,Gl,"\u22F1","\\ddots",!0);v(S,_,Y,"\u22EE","\\varvdots");v(S,_,jt,"\u02CA","\\acute");v(S,_,jt,"\u02CB","\\grave");v(S,_,jt,"\xA8","\\ddot");v(S,_,jt,"~","\\tilde");v(S,_,jt,"\u02C9","\\bar");v(S,_,jt,"\u02D8","\\breve");v(S,_,jt,"\u02C7","\\check");v(S,_,jt,"^","\\hat");v(S,_,jt,"\u20D7","\\vec");v(S,_,jt,"\u02D9","\\dot");v(S,_,jt,"\u02DA","\\mathring");v(S,_,Ve,"\uE131","\\@imath");v(S,_,Ve,"\uE237","\\@jmath");v(S,_,Y,"\u0131","\u0131");v(S,_,Y,"\u0237","\u0237");v(xe,_,Y,"\u0131","\\i",!0);v(xe,_,Y,"\u0237","\\j",!0);v(xe,_,Y,"\xDF","\\ss",!0);v(xe,_,Y,"\xE6","\\ae",!0);v(xe,_,Y,"\u0153","\\oe",!0);v(xe,_,Y,"\xF8","\\o",!0);v(xe,_,Y,"\xC6","\\AE",!0);v(xe,_,Y,"\u0152","\\OE",!0);v(xe,_,Y,"\xD8","\\O",!0);v(xe,_,jt,"\u02CA","\\'");v(xe,_,jt,"\u02CB","\\`");v(xe,_,jt,"\u02C6","\\^");v(xe,_,jt,"\u02DC","\\~");v(xe,_,jt,"\u02C9","\\=");v(xe,_,jt,"\u02D8","\\u");v(xe,_,jt,"\u02D9","\\.");v(xe,_,jt,"\xB8","\\c");v(xe,_,jt,"\u02DA","\\r");v(xe,_,jt,"\u02C7","\\v");v(xe,_,jt,"\xA8",'\\"');v(xe,_,jt,"\u02DD","\\H");v(xe,_,jt,"\u25EF","\\textcircled");var $7={"--":!0,"---":!0,"``":!0,"''":!0};v(xe,_,Y,"\u2013","--",!0);v(xe,_,Y,"\u2013","\\textendash");v(xe,_,Y,"\u2014","---",!0);v(xe,_,Y,"\u2014","\\textemdash");v(xe,_,Y,"\u2018","`",!0);v(xe,_,Y,"\u2018","\\textquoteleft");v(xe,_,Y,"\u2019","'",!0);v(xe,_,Y,"\u2019","\\textquoteright");v(xe,_,Y,"\u201C","``",!0);v(xe,_,Y,"\u201C","\\textquotedblleft");v(xe,_,Y,"\u201D","''",!0);v(xe,_,Y,"\u201D","\\textquotedblright");v(S,_,Y,"\xB0","\\degree",!0);v(xe,_,Y,"\xB0","\\degree");v(xe,_,Y,"\xB0","\\textdegree",!0);v(S,_,Y,"\xA3","\\pounds");v(S,_,Y,"\xA3","\\mathsterling",!0);v(xe,_,Y,"\xA3","\\pounds");v(xe,_,Y,"\xA3","\\textsterling",!0);v(S,U,Y,"\u2720","\\maltese");v(xe,U,Y,"\u2720","\\maltese");var e7='0123456789/@."';for(O0=0;O00)return yn(o,c,n,r,a.concat(u));if(l){var f,d;if(l==="boldsymbol"){var p=Kq(o,n,r,a,i);f=p.fontName,d=[p.fontClass]}else s?(f=I7[l].fontName,d=[l]):(f=x0(l,r.fontWeight,r.fontShape),d=[l,r.fontWeight,r.fontShape]);if(M0(o,f,n).metrics)return yn(o,f,n,r,a.concat(d));if($7.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var O=[],x=0;x{if(Ra(t.classes)!==Ra(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},tj=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},yi=function(e,r,i,n){var o=new Rs(e,r,i,n);return p2(o),o},X7=(t,e,r,i)=>new Rs(t,e,r,i),rj=function(e,r,i){var n=yi([e],[],r);return n.height=Math.max(i||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=Qe(n.height),n.maxFontSize=1,n},ij=function(e,r,i,n){var o=new ju(e,r,i,n);return p2(o),o},R7=function(e){var r=new Xs(e);return p2(r),r},nj=function(e,r){return e instanceof Xs?yi([],[e],r):e},oj=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=yi(["mspace"],[],e),i=Gt(t,e);return r.style.marginRight=Qe(i),r},x0=function(e,r,i){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}var o;return r==="textbf"&&i==="textit"?o="BoldItalic":r==="textbf"?o="Bold":r==="textit"?o="Italic":o="Regular",n+"-"+o},I7={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},L7={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},lj=function(e,r){var[i,n,o]=L7[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=X7(["overlay"],[s],r);return l.height=o,l.style.height=Qe(o),l.style.width=Qe(n),l},te={fontMap:I7,makeSymbol:yn,mathsym:Gq,makeSpan:yi,makeSvgSpan:X7,makeLineSpan:rj,makeAnchor:ij,makeFragment:R7,wrapFragment:nj,makeVList:aj,makeOrd:Jq,makeGlue:sj,staticSvg:lj,svgData:L7,tryCombineChars:tj},Ht={number:3,unit:"mu"},Qs={number:4,unit:"mu"},Po={number:5,unit:"mu"},cj={mord:{mop:Ht,mbin:Qs,mrel:Po,minner:Ht},mop:{mord:Ht,mop:Ht,mrel:Po,minner:Ht},mbin:{mord:Qs,mop:Qs,mopen:Qs,minner:Qs},mrel:{mord:Po,mop:Po,mopen:Po,minner:Po},mopen:{},mclose:{mop:Ht,mbin:Qs,mrel:Po,minner:Ht},mpunct:{mord:Ht,mop:Ht,mrel:Po,mopen:Ht,mclose:Ht,mpunct:Ht,minner:Ht},minner:{mord:Ht,mop:Ht,mbin:Qs,mrel:Po,mopen:Ht,mpunct:Ht,minner:Ht}},uj={mord:{mop:Ht},mop:{mord:Ht,mop:Ht},mbin:{},mrel:{},mopen:{},mclose:{mop:Ht},mpunct:{},minner:{mop:Ht}},M7={},Q0={},$0={};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(hj,w)?x.classes[0]="mord":w==="mbin"&&Ke.contains(fj,k)&&(O.classes[0]="mord")},{node:f},d,p),i7(o,(O,x)=>{var k=n2(x),w=n2(O),C=k&&w?O.hasClass("mtight")?uj[k][w]:cj[k][w]:null;if(C)return te.makeGlue(C,c)},{node:f},d,p),o},i7=function t(e,r,i,n,o){n&&e.push(n);for(var a=0;ad=>{e.splice(f+1,0,d),a++})(a)}n&&e.pop()},z7=function(e){return e instanceof Xs||e instanceof ju||e instanceof Rs&&e.hasClass("enclosing")?e:null},mj=function t(e,r){var i=z7(e);if(i){var n=i.children;if(n.length){if(r==="right")return t(n[n.length-1],"right");if(r==="left")return t(n[0],"left")}}return e},n2=function(e,r){return e?(r&&(e=mj(e,r)),pj[e.classes[0]]||null):null},Wu=function(e,r){var i=["nulldelimiter"].concat(e.baseSizingClasses());return Qo(r.concat(i))},wt=function(e,r,i){if(!e)return Qo();if(Q0[e.type]){var n=Q0[e.type](e,r);if(i&&r.size!==i.size){n=Qo(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 w0(t,e){var r=Qo(["base"],t,e),i=Qo(["strut"]);return i.style.height=Qe(r.height+r.depth),r.depth&&(i.style.verticalAlign=Qe(-r.depth)),r.children.unshift(i),r}function o2(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var i=yr(t,e,"root"),n;i.length===2&&i[1].hasClass("tag")&&(n=i.pop());for(var o=[],a=[],s=0;s0&&(o.push(w0(a,e)),a=[]),o.push(i[s]));a.length>0&&o.push(w0(a,e));var c;r?(c=w0(yr(r,e,!0)),c.classes=["tag"],o.push(c)):n&&o.push(n);var u=Qo(["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 D7(t){return new Xs(t)}var vi=class{constructor(e,r,i){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=i||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=Ra(this.classes));for(var i=0;i0&&(e+=' class ="'+Ke.escape(Ra(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}},a2=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:vi,TextNode:$s,SpaceNode:a2,newDocumentFragment:D7},Ki=function(e,r,i){return Dt[r][e]&&Dt[r][e].replace&&e.charCodeAt(0)!==55349&&!($7.hasOwnProperty(e)&&i&&(i.fontFamily&&i.fontFamily.slice(4,6)==="tt"||i.font&&i.font.slice(4,6)==="tt"))&&(e=Dt[r][e].replace),new ke.TextNode(e)},m2=function(e){return e.length===1?e[0]:new ke.MathNode("mrow",e)},O2=function(e,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var i=r.font;if(!i||i==="mathnormal")return null;var n=e.mode;if(i==="mathit")return"italic";if(i==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(i==="mathbf")return"bold";if(i==="mathbb")return"double-struck";if(i==="mathfrak")return"fraktur";if(i==="mathscr"||i==="mathcal")return"script";if(i==="mathsf")return"sans-serif";if(i==="mathtt")return"monospace";var o=e.text;if(Ke.contains(["\\imath","\\jmath"],o))return null;Dt[n][o]&&Dt[n][o].replace&&(o=Dt[n][o].replace);var a=te.fontMap[i].fontName;return d2(o,a,n)?te.fontMap[i].variant:null},wi=function(e,r,i){if(e.length===1){var n=Mt(e[0],r);return i&&n instanceof vi&&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},Ia=function(e,r,i){return m2(wi(e,r,i))},Mt=function(e,r){if(!e)return new ke.MathNode("mrow");if($0[e.type]){var i=$0[e.type](e,r);return i}else throw new Pe("Got group of unknown type: '"+e.type+"'")};function n7(t,e,r,i,n){var o=wi(t,r),a;o.length===1&&o[0]instanceof vi&&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 te.makeSpan([u],[c])}var N7=function(e){return new _0({style:e.displayMode?Fe.DISPLAY:Fe.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},U7=function(e,r){if(r.displayMode){var i=["katex-display"];r.leqno&&i.push("leqno"),r.fleqn&&i.push("fleqn"),e=te.makeSpan(i,[e])}return e},Oj=function(e,r,i){var n=N7(i),o;if(i.output==="mathml")return n7(e,r,n,i.displayMode,!0);if(i.output==="html"){var a=o2(e,n);o=te.makeSpan(["katex"],[a])}else{var s=n7(e,r,n,i.displayMode,!1),l=o2(e,n);o=te.makeSpan(["katex"],[s,l])}return U7(o,i)},gj=function(e,r,i){var n=N7(i),o=o2(e,n),a=te.makeSpan(["katex"],[o]);return U7(a,i)},bj={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":"="},yj=function(e){var r=new ke.MathNode("mo",[new ke.TextNode(bj[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},vj={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]},xj=function(e){return e.type==="ordgroup"?e.body.length:1},wj=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=xj(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:te.makeSvgSpan([],[k],r),minWidth:0,height:p}}else{var w=[],C=vj[l],[$,P,L]=C,M=L/1e3,Z=$.length,re,H;if(Z===1){var W=C[3];re=["hide-tail"],H=[W]}else if(Z===2)re=["halfarrow-left","halfarrow-right"],H=["xMinYMin","xMaxYMin"];else if(Z===3)re=["brace-left","brace-center","brace-right"],H=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+Z+" children.");for(var oe=0;oe0&&(n.style.minWidth=Qe(o)),n},kj=function(e,r,i,n,o){var a,s=e.height+e.depth+i+n;if(/fbox|color|angl/.test(r)){if(a=te.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 Bu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new Bu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new vn(c,{width:"100%",height:Qe(s)});a=te.makeSvgSpan([],[u],o)}return a.height=s,a.style.height=Qe(s),a},$o={encloseSpan:kj,mathMLnode:yj,svgSpan:wj};function lt(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function g2(t){var e=z0(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 z0(t){return t&&(t.type==="atom"||Yq.hasOwnProperty(t.type))?t:null}var b2=(t,e)=>{var r,i,n;t&&t.type==="supsub"?(i=lt(t.base,"accent"),r=i.base,t.base=r,n=Fq(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=JS(c).skew}var u=i.label==="\\c",f=u?o.height+o.depth:Math.min(o.height,e.fontMetrics().xHeight),d;if(i.isStretchy)d=$o.svgSpan(i,e),d=te.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=te.staticSvg("vec",e),O=te.svgData.vec[1]):(p=te.makeOrd({mode:i.mode,text:i.label},e,"textord"),p=JS(p),p.italic=0,O=p.width,u&&(f+=p.depth)),d=te.makeSpan(["accent-body"],[p]);var 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=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:d}]},e)}var w=te.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},q7=(t,e)=>{var r=t.isStretchy?$o.mathMLnode(t.label):new ke.MathNode("mo",[Ki(t.label,t.mode)]),i=new ke.MathNode("mover",[Mt(t.base,e),r]);return i.setAttribute("accent","true"),i},Sj=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=X0(e[0]),i=!Sj.test(t.funcName),n=!i||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:i,isShifty:n,base:r}},htmlBuilder:b2,mathmlBuilder:q7});Ie({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var r=e[0],i=t.parser.mode;return i==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),i="text"),{type:"accent",mode:i,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:b2,mathmlBuilder:q7});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=$o.svgSpan(t,e),n=t.label==="\\utilde"?.12:0,o=te.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},e);return te.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:(t,e)=>{var r=$o.mathMLnode(t.label),i=new ke.MathNode("munder",[Mt(t.base,e),r]);return i.setAttribute("accentunder","true"),i}});var k0=t=>{var e=new ke.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};Ie({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:i,funcName:n}=t;return{type:"xArrow",mode:i.mode,label:n,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,i=e.havingStyle(r.sup()),n=te.wrapFragment(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=te.wrapFragment(wt(t.below,i,e),e),a.classes.push(o+"-arrow-pad"));var s=$o.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=te.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=te.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"),te.makeSpan(["mrel","x-arrow"],[u],e)},mathmlBuilder(t,e){var r=$o.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var i;if(t.body){var n=k0(Mt(t.body,e));if(t.below){var o=k0(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=k0(Mt(t.below,e));i=new ke.MathNode("munder",[r,a])}else i=k0(),i=new ke.MathNode("mover",[r,i]);return i}});var Tj=te.makeSpan;function j7(t,e){var r=yr(t.body,e,!0);return Tj([t.mclass],r,e)}function B7(t,e){var r,i=wi(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:j7,mathmlBuilder:B7});var D0=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};Ie({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:D0(e[0]),body: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=D0(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:j7,mathmlBuilder:B7});Ie({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:D0(e[0]),body:sr(e[0])}},htmlBuilder(t,e){var r=yr(t.body,e,!0),i=te.makeSpan([t.mclass],r,e);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(t,e){var r=wi(t.body,e),i=new ke.MathNode("mstyle",r);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});var Ej={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},o7=()=>({type:"styling",body:[],mode:"math",style:"display"}),a7=t=>t.type==="textord"&&t.text==="@",Cj=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function Pj(t,e,r){var i=Ej[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 _j(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=Pj(c,u,t),x={type:"styling",body:[O],mode:"math",style:"display"};i.push(x),s=o7()}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=te.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=te.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 W7=(t,e)=>{var r=yr(t.body,e.withColor(t.color),!1);return te.makeFragment(r)},V7=(t,e)=>{var r=wi(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:W7,mathmlBuilder:V7});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:W7,mathmlBuilder:V7});Ie({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:i}=t,n=i.gullet.future().text==="["?i.parseSizeGroup(!0):null,o=!i.settings.displayMode||!i.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:i.mode,newLine:o,size:n&<(n,"size").value}},htmlBuilder(t,e){var r=te.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=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 s2={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},F7=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new Pe("Expected a control sequence",t);return e},Aj=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},Z7=(t,e,r,i)=>{var n=t.gullet.macros.get(r.text);n==null&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,n,i)};Ie({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var i=e.fetch();if(s2[i.text])return(r==="\\global"||r==="\\\\globallong")&&(i.text=s2[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===s2[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=F7(e.gullet.popToken());e.gullet.consumeSpaces();var n=Aj(e);return Z7(e,i,n,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});Ie({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=F7(e.gullet.popToken()),n=e.gullet.popToken(),o=e.gullet.popToken();return Z7(e,i,o,r==="\\\\globalfuture"),e.gullet.pushToken(o),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var Du=function(e,r,i){var n=Dt.math[e]&&Dt.math[e].replace,o=d2(n||e,r,i);if(!o)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return o},y2=function(e,r,i,n){var o=i.havingBaseStyle(r),a=te.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},Y7=function(e,r,i){var n=r.havingBaseStyle(i),o=(1-r.sizeMultiplier/n.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Qe(o),e.height-=o,e.depth+=o},Qj=function(e,r,i,n,o,a){var s=te.makeSymbol(e,"Main-Regular",o,n),l=y2(s,r,n,a);return i&&Y7(l,n,r),l},$j=function(e,r,i,n){return te.makeSymbol(e,"Size"+r+"-Regular",i,n)},H7=function(e,r,i,n,o,a){var s=$j(e,r,o,n),l=y2(te.makeSpan(["delimsizing","size"+r],[s],n),Fe.TEXT,n,a);return i&&Y7(l,n,Fe.TEXT),l},Wb=function(e,r,i){var n;r==="Size1-Regular"?n="delim-size1":n="delim-size4";var o=te.makeSpan(["delimsizinginner",n],[te.makeSpan([],[te.makeSymbol(e,r,i)])]);return{type:"elem",elem:o}},Vb=function(e,r,i){var n=Yn["Size4-Regular"][e.charCodeAt(0)]?Yn["Size4-Regular"][e.charCodeAt(0)][4]:Yn["Size1-Regular"][e.charCodeAt(0)][4],o=new Gn("inner",Nq(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=te.makeSvgSpan([],[a],i);return s.height=r,s.style.height=Qe(r),s.style.width=Qe(n),{type:"elem",elem:s}},l2=.008,S0={type:"kern",size:-1*l2},Xj=["|","\\lvert","\\rvert","\\vert"],Rj=["\\|","\\lVert","\\rVert","\\Vert"],G7=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(Xj,e)?(c="\u2223",f="vert",d=333):Ke.contains(Rj,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=Du(s,p,o),x=O.height+O.depth,k=Du(c,p,o),w=k.height+k.depth,C=Du(u,p,o),$=C.height+C.depth,P=0,L=1;if(l!==null){var M=Du(l,p,o);P=M.height+M.depth,L=2}var Z=x+$+P,re=Math.max(0,Math.ceil((r-Z)/(L*w))),H=Z+re*L*w,W=n.fontMetrics().axisHeight;i&&(W*=n.sizeMultiplier);var oe=H/2-W,pe=[];if(f.length>0){var fe=H-x-$,ge=Math.round(H*1e3),ve=Uq(f,Math.round(fe*1e3)),_e=new Gn(f,ve),ae=(d/1e3).toFixed(3)+"em",he=(ge/1e3).toFixed(3)+"em",K=new vn([_e],{width:ae,height:he,viewBox:"0 0 "+d+" "+ge}),A=te.makeSvgSpan([],[K],n);A.height=ge/1e3,A.style.width=ae,A.style.height=he,pe.push({type:"elem",elem:A})}else{if(pe.push(Wb(u,p,o)),pe.push(S0),l===null){var G=H-x-$+2*l2;pe.push(Vb(c,G,n))}else{var se=(H-x-$-P)/2+2*l2;pe.push(Vb(c,se,n)),pe.push(S0),pe.push(Wb(l,p,o)),pe.push(S0),pe.push(Vb(c,se,n))}pe.push(S0),pe.push(Wb(s,p,o))}var q=n.havingBaseStyle(Fe.TEXT),Je=te.makeVList({positionType:"bottom",positionData:oe,children:pe},q);return y2(te.makeSpan(["delimsizing","mult"],[Je],q),Fe.TEXT,n,a)},Fb=80,Zb=.08,Yb=function(e,r,i,n,o){var a=Dq(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 te.makeSvgSpan(["hide-tail"],[l],o)},Ij=function(e,r){var i=r.havingBaseSizing(),n=tT("\\surd",e*i.sizeMultiplier,eT,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+Fb,e<1?o=1:e<1.4&&(o=.7),l=(1+a+Zb)/o,c=(1+a)/o,s=Yb("sqrtMain",l,u,a,r),s.style.minWidth="0.853em",f=.833/o):n.type==="large"?(u=(1e3+Fb)*Nu[n.size],c=(Nu[n.size]+a)/o,l=(Nu[n.size]+a+Zb)/o,s=Yb("sqrtSize"+n.size,l,u,a,r),s.style.minWidth="1.02em",f=1/o):(l=e+a+Zb,c=e+a,u=Math.floor(1e3*e+a)+Fb,s=Yb("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}},K7=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Lj=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],J7=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Nu=[0,1.2,1.8,2.4,3],Mj=function(e,r,i,n,o){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),Ke.contains(K7,e)||Ke.contains(J7,e))return H7(e,r,!1,i,n,o);if(Ke.contains(Lj,e))return G7(e,Nu[r],!1,i,n,o);throw new Pe("Illegal delimiter: '"+e+"'")},zj=[{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}],Dj=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"stack"}],eT=[{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"}],Nj=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},tT=function(e,r,i,n){for(var o=Math.min(2,3-n.style.size),a=o;ar)return i[a]}return i[i.length-1]},rT=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(J7,e)?s=zj:Ke.contains(K7,e)?s=eT:s=Dj;var l=tT(e,r,s,n);return l.type==="small"?Qj(e,l.style,i,n,o,a):l.type==="large"?H7(e,l.size,i,n,o,a):G7(e,r,i,n,o,a)},Uj=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 rT(e,f,!0,n,o,a)},Ao={sqrtImage:Ij,sizedDelim:Mj,sizeToMaxHeight:Nu,customSizedDelim:rT,leftRightDelim:Uj},s7={"\\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}},qj=["(","\\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 N0(t,e){var r=z0(t);if(r&&Ke.contains(qj,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=N0(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:s7[t.funcName].size,mclass:s7[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?te.makeSpan([t.mclass]):Ao.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Ki(t.delim,t.mode));var r=new ke.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var i=Qe(Ao.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",i),r.setAttribute("maxsize",i),r}});function l7(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ie({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new Pe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:N0(e[0],t).text,color:r}}});Ie({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=N0(e[0],t),i=t.parser;++i.leftrightDepth;var n=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var o=lt(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:n,left:r.text,right:o.delim,rightColor:o.color}},htmlBuilder:(t,e)=>{l7(t);for(var r=yr(t.body,e,!0,["mopen","mclose"]),i=0,n=0,o=!1,a=0;a{l7(t);var r=wi(t.body,e);if(t.left!=="."){var i=new ke.MathNode("mo",[Ki(t.left,t.mode)]);i.setAttribute("fence","true"),r.unshift(i)}if(t.right!=="."){var n=new ke.MathNode("mo",[Ki(t.right,t.mode)]);n.setAttribute("fence","true"),t.rightColor&&n.setAttribute("mathcolor",t.rightColor),r.push(n)}return m2(r)}});Ie({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=N0(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=Wu(e,[]);else{r=Ao.sizedDelim(t.delim,1,e,t.mode,[]);var i={delim:t.delim,options:e};r.isMiddle=i}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?Ki("|","text"):Ki(t.delim,t.mode),i=new ke.MathNode("mo",[r]);return i.setAttribute("fence","true"),i.setAttribute("lspace","0.05em"),i.setAttribute("rspace","0.05em"),i}});var v2=(t,e)=>{var r=te.wrapFragment(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=te.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=Mq(d),O=new vn([new Gn("phase",p)],{width:"400em",height:Qe(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});o=te.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=$o.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=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:a},{type:"elem",elem:r,shift:0}]},e);else{var $=/cancel|phase/.test(i)?["svg-align"]:[];C=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:o,shift:a,wrapperClasses:$}]},e)}return/cancel/.test(i)&&(C.height=r.height,C.depth=r.depth),/cancel/.test(i)&&!s?te.makeSpan(["mord","cancel-lap"],[C],e):te.makeSpan(["mord"],[C],e)},x2=(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:v2,mathmlBuilder:x2});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:v2,mathmlBuilder:x2});Ie({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});Ie({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"enclose",mode:r.mode,label:i,body:n}},htmlBuilder:v2,mathmlBuilder:x2});Ie({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var iT={};function Kn(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder: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 w2(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function La(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 $(){l&&t.gullet.macros.set("\\@eqnsw","1",!0)}function P(){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($(),w.push(c7(t));;){var L=t.parseExpression(!1,c?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),L={type:"ordgroup",mode:t.mode,body:L},r&&(L={type:"styling",mode:t.mode,style:r,body:[L]}),O.push(L);var M=t.fetch().text;if(M==="&"){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(M==="\\end"){P(),O.length===1&&L.type==="styling"&&L.body[0].body.length===0&&(x.length>1||!u)&&x.pop(),w.length0&&($+=.25),c.push({pos:$,isDashed:go[Mn]})}for(P(a[0]),i=0;i0&&(oe+=C,Zgo))for(i=0;i=s)){var Ce=void 0;(n>0||e.hskipBeforeAndAfter)&&(Ce=Ke.deflt(se.pregap,d),Ce!==0&&(ve=te.makeSpan(["arraycolsep"],[]),ve.style.width=Qe(Ce),ge.push(ve)));var Ze=[];for(i=0;i0){for(var _r=te.makeLineSpan("hline",r,u),Ln=te.makeLineSpan("hdashline",r,u),pn=[{type:"elem",elem:l,shift:0}];c.length>0;){var Zt=c.pop(),ys=Zt.pos-pe;Zt.isDashed?pn.push({type:"elem",elem:Ln,shift:ys}):pn.push({type:"elem",elem:_r,shift:ys})}l=te.makeVList({positionType:"individualShift",children:pn},r)}if(ae.length===0)return te.makeSpan(["mord"],[l],r);var Ar=te.makeVList({positionType:"individualShift",children:ae},r);return Ar=te.makeSpan(["tag"],[Ar],r),te.makeFragment([l,Ar])},jj={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 $=w;$0?"left ":"",d+=re[re.length-1].length>0?"right ":"";for(var H=1;H-1?"alignat":"align",o=e.envName==="split",a=La(e.parser,{cols:i,addJot:!0,autoTag:o?void 0:w2(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=z0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(a){var s=g2(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 La(t.parser,o,k2(t.envName))},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var n=t.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,"lcr".indexOf(r)===-1)throw new Pe("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),i.cols=[{type:"align",align:r}]}}var o=La(t.parser,i,k2(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=La(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=z0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(a){var s=g2(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=La(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=La(t.parser,e,k2(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:oT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){Ke.contains(["gather","gather*"],t.envName)&&U0(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:w2(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return La(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:oT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){U0(t);var e={autoTag:w2(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return La(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["CD"],props:{numArgs:0},handler(t){return U0(t),_j(t.parser)},htmlBuilder:Jn,mathmlBuilder:eo});R("\\nonumber","\\gdef\\@eqnsw{0}");R("\\notag","\\nonumber");Ie({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new Pe(t.funcName+" valid only within array environment")}});var u7=iT;Ie({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];if(n.type!=="ordgroup")throw new Pe("Invalid environment name",n);for(var o="",a=0;a{var r=t.font,i=e.withFont(r);return wt(t.body,i)},sT=(t,e)=>{var r=t.font,i=e.withFont(r);return Mt(t.body,i)},f7={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ie({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=X0(e[0]),o=i;return o in f7&&(o=f7[o]),{type:"font",mode:r.mode,font:o.slice(1),body:n}},htmlBuilder:aT,mathmlBuilder:sT});Ie({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,i=e[0],n=Ke.isCharacterBox(i);return{type:"mclass",mode:r.mode,mclass:D0(i),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:i}],isCharacterBox:n}}});Ie({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i,breakOnTokenText:n}=t,{mode:o}=r,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:aT,mathmlBuilder:sT});var lT=(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},S2=(t,e)=>{var r=lT(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=lT(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 m2(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:S2,mathmlBuilder:T2});Ie({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Ie({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:i}=t,n;switch(r){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:n,token:i}}});var h7=["display","text","script","scriptscript"],d7=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};Ie({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,i=e[4],n=e[5],o=X0(e[0]),a=o.type==="atom"&&o.family==="open"?d7(o.text):null,s=X0(e[1]),l=s.type==="atom"&&s.family==="close"?d7(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=h7[Number(O.text)]}}else p=lt(p,"textord"),d=h7[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:i,denom:n,continued:!1,hasBarLine:u,barSize:f,leftDelim:a,rightDelim:l,size:d}},htmlBuilder:S2,mathmlBuilder:T2});Ie({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:i,token:n}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:lt(e[0],"size").value,token:n}}});Ie({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=wq(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:S2,mathmlBuilder:T2});var cT=(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=$o.svgSpan(n,e),s;if(n.isOver?(s=te.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=te.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=te.makeSpan(["mord",n.isOver?"mover":"munder"],[s],e);n.isOver?s=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:i}]},e):s=te.makeVList({positionType:"bottom",positionData:l.depth+.2+i.height+i.depth,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return te.makeSpan(["mord",n.isOver?"mover":"munder"],[s],e)},Bj=(t,e)=>{var r=$o.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:cT,mathmlBuilder:Bj});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 te.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=Ia(t.body,e);return r instanceof vi||(r=new vi("mrow",[r])),r.setAttribute("href",t.href),r}});Ie({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=lt(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:i}))return r.formatUnsupportedCmd("\\url");for(var n=[],o=0;o{var{parser:r,funcName:i,token:n}=t,o=lt(e[0],"raw").string,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=te.makeSpan(i,r,e);for(var o in t.attributes)o!=="class"&&t.attributes.hasOwnProperty(o)&&n.setAttribute(o,t.attributes[o]);return n},mathmlBuilder:(t,e)=>Ia(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 te.makeFragment(r)},mathmlBuilder:(t,e)=>Ia(t.mathml,e)});var Hb=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new Pe("Invalid size: '"+e+"' in \\includegraphics");var i={number:+(r[1]+r[2]),unit:r[3]};if(!P7(i))throw new Pe("Invalid unit: '"+i.unit+"' in \\includegraphics.");return i};Ie({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:i}=t,n={number:0,unit:"em"},o={number:.9,unit:"em"},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 r2(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 te.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=Gt(t.dimension,e);return new ke.SpaceNode(r)}});Ie({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"lap",mode:r.mode,alignment:i.slice(5),body:n}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=te.makeSpan([],[wt(t.body,e)]),r=te.makeSpan(["inner"],[r],e)):r=te.makeSpan(["inner"],[wt(t.body,e)]);var i=te.makeSpan(["fix"],[]),n=te.makeSpan([t.alignment],[r,i],e),o=te.makeSpan(["strut"]);return o.style.height=Qe(n.height+n.depth),n.depth&&(o.style.verticalAlign=Qe(-n.depth)),n.children.unshift(o),n=te.makeSpan(["thinbox"],[n],e),te.makeSpan(["mord","vbox"],[n],e)},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mpadded",[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 p7=(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=p7(t,e),i=yr(r,e,!1);return te.makeFragment(i)},mathmlBuilder:(t,e)=>{var r=p7(t,e);return Ia(r,e)}});var uT=(t,e,r,i,n,o,a)=>{t=te.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=te.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=te.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=te.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=te.makeSpan(["mspace"],[],i);w.style.marginRight=Qe(o),k.unshift(w)}return te.makeSpan(["mop","op-limits"],k,i)},fT=["\\smallint"],Kl=(t,e)=>{var r,i,n=!1,o;t.type==="supsub"?(r=t.sup,i=t.sub,o=lt(t.base,"op"),n=!0):o=lt(t,"op");var a=e.style,s=!1;a.size===Fe.DISPLAY.size&&o.symbol&&!Ke.contains(fT,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=te.makeSymbol(o.name,c,"math",e,["mop","op-symbol",s?"large-op":"small-op"]),u.length>0){var f=l.italic,d=te.staticSvg(u+"Size"+(s?"2":"1"),e);l=te.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 xi?(l=p[0],l.classes[0]="mop"):l=te.makeSpan(["mop"],p,e)}else{for(var O=[],x=1;x{var r;if(t.symbol)r=new vi("mo",[Ki(t.name,t.mode)]),Ke.contains(fT,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new vi("mo",wi(t.body,e));else{r=new vi("mi",[new $s(t.name.slice(1))]);var i=new vi("mo",[Ki("\u2061","text")]);t.parentIsSupSub?r=new vi("mrow",[r,i]):r=D7([r,i])}return r},Wj={"\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=Wj[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Kl,mathmlBuilder:Vu});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:Kl,mathmlBuilder:Vu});var Vj={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ie({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kl,mathmlBuilder:Vu});Ie({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kl,mathmlBuilder:Vu});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=Vj[i]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Kl,mathmlBuilder:Vu});var hT=(t,e)=>{var r,i,n=!1,o;t.type==="supsub"?(r=t.sup,i=t.sub,o=lt(t.base,"operatorname"),n=!0):o=lt(t,"operatorname");var 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=wi(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",[Ki("\u2061","text")]);return t.parentIsSupSub?new ke.MathNode("mrow",[l,c]):ke.newDocumentFragment([l,c])};Ie({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"operatorname",mode:r.mode,body:sr(n),alwaysHandleSupSub:i==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:hT,mathmlBuilder:Fj});R("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Is({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?te.makeFragment(yr(t.body,e,!1)):te.makeSpan(["mord"],yr(t.body,e,!0),e)},mathmlBuilder(t,e){return Ia(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=te.makeLineSpan("overline-line",e),n=e.fontMetrics().defaultRuleThickness,o=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:i},{type:"kern",size:n}]},e);return te.makeSpan(["mord","overline"],[o],e)},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[new ke.TextNode("\u203E")]);r.setAttribute("stretchy","true");var i=new ke.MathNode("mover",[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 te.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=wi(t.body,e);return new ke.MathNode("mphantom",r)}});Ie({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"hphantom",mode:r.mode,body:i}},htmlBuilder:(t,e)=>{var r=te.makeSpan([],[wt(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var i=0;i{var r=wi(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=te.makeSpan(["inner"],[wt(t.body,e.withPhantom())]),i=te.makeSpan(["fix"],[]);return te.makeSpan(["mord","rlap"],[r,i],e)},mathmlBuilder:(t,e)=>{var r=wi(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 te.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=te.makeSpan(["mord","rule"],[],e),i=Gt(t.width,e),n=Gt(t.height,e),o=t.shift?Gt(t.shift,e):0;return r.style.borderRightWidth=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 dT(t,e,r){for(var i=yr(t,e,!1),n=e.sizeMultiplier/r.sizeMultiplier,o=0;o{var r=e.havingSize(t.size);return dT(t.body,r,e)};Ie({type:"sizing",names:m7,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:i,parser:n}=t,o=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:m7.indexOf(i)+1,body:o}},htmlBuilder:Zj,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),i=wi(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=te.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=te.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=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:l},{type:"kern",size:c}]},e);if(t.index){var O=e.havingStyle(Fe.SCRIPTSCRIPT),x=wt(t.index,O,e),k=.6*(p.height-p.depth),w=te.makeVList({positionType:"shift",positionData:-k,children:[{type:"elem",elem:x}]},e),C=te.makeSpan(["root"],[w]);return te.makeSpan(["mord","sqrt"],[C,p],e)}else return te.makeSpan(["mord","sqrt"],[p],e)},mathmlBuilder(t,e){var{body:r,index:i}=t;return i?new ke.MathNode("mroot",[Mt(r,e),Mt(i,e)]):new ke.MathNode("msqrt",[Mt(r,e)])}});var O7={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=O7[t.style],i=e.havingStyle(r).withFont("");return dT(t.body,i,e)},mathmlBuilder(t,e){var r=O7[t.style],i=e.havingStyle(r),n=wi(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 Yj=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?Kl:null}else if(i.type==="operatorname"){var o=i.alwaysHandleSupSub&&(r.style.size===Fe.DISPLAY.size||i.limits);return o?hT:null}else{if(i.type==="accent")return Ke.isCharacterBox(i.base)?b2:null;if(i.type==="horizBrace"){var a=!e.sub;return a===i.isOver?cT:null}else return null}else return null};Is({type:"supsub",htmlBuilder(t,e){var r=Yj(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 $=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(a instanceof xi||$)&&(C=Qe(-a.italic))}var P;if(s&&l){u=Math.max(u,x,s.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var L=c.defaultRuleThickness,M=4*L;if(u-s.depth-(l.height-f)0&&(u+=Z,f-=Z)}var re=[{type:"elem",elem:l,shift:f,marginRight:w,marginLeft:C},{type:"elem",elem:s,shift:-u,marginRight:w}];P=te.makeVList({positionType:"individualShift",children:re},e)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var H=[{type:"elem",elem:l,marginLeft:C,marginRight:w}];P=te.makeVList({positionType:"shift",positionData:f,children:H},e)}else if(s)u=Math.max(u,x,s.depth+.25*c.xHeight),P=te.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 W=n2(a,"right")||"mord";return te.makeSpan([W],[a,te.makeSpan(["msupsub"],[P])],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 te.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[Ki(t.text,t.mode)]);if(t.family==="bin"){var i=O2(t,e);i==="bold-italic"&&r.setAttribute("mathvariant",i)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var pT={mi:"italic",mn:"normal",mtext:"normal"};Is({type:"mathord",htmlBuilder(t,e){return te.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new ke.MathNode("mi",[Ki(t.text,t.mode,e)]),i=O2(t,e)||"italic";return i!==pT[r.type]&&r.setAttribute("mathvariant",i),r}});Is({type:"textord",htmlBuilder(t,e){return te.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=Ki(t.text,t.mode,e),i=O2(t,e)||"normal",n;return t.mode==="text"?n=new ke.MathNode("mtext",[r]):/[0-9]/.test(t.text)?n=new ke.MathNode("mn",[r]):t.text==="\\prime"?n=new ke.MathNode("mo",[r]):n=new ke.MathNode("mi",[r]),i!==pT[n.type]&&n.setAttribute("mathvariant",i),n}});var Gb={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Kb={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Is({type:"spacing",htmlBuilder(t,e){if(Kb.hasOwnProperty(t.text)){var r=Kb[t.text].className||"";if(t.mode==="text"){var i=te.makeOrd(t,e,"textord");return i.classes.push(r),i}else return te.makeSpan(["mspace",r],[te.mathsym(t.text,t.mode,e)],e)}else{if(Gb.hasOwnProperty(t.text))return te.makeSpan(["mspace",Gb[t.text]],[],e);throw new Pe('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(Kb.hasOwnProperty(t.text))r=new ke.MathNode("mtext",[new ke.TextNode("\xA0")]);else{if(Gb.hasOwnProperty(t.text))return new ke.MathNode("mspace");throw new Pe('Unknown type of space "'+t.text+'"')}return r}});var g7=()=>{var t=new ke.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Is({type:"tag",mathmlBuilder(t,e){var r=new ke.MathNode("mtable",[new ke.MathNode("mtr",[g7(),new ke.MathNode("mtd",[Ia(t.body,e)]),g7(),new ke.MathNode("mtd",[Ia(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var b7={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},y7={"\\textbf":"textbf","\\textmd":"textmd"},Hj={"\\textit":"textit","\\textup":"textup"},v7=(t,e)=>{var r=t.font;return r?b7[r]?e.withTextFontFamily(b7[r]):y7[r]?e.withTextFontWeight(y7[r]):e.withTextFontShape(Hj[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=v7(t,e),i=yr(t.body,r,!0);return te.makeSpan(["mord","text"],i,r)},mathmlBuilder(t,e){var r=v7(t,e);return Ia(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=te.makeLineSpan("underline-line",e),n=e.fontMetrics().defaultRuleThickness,o=te.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:i},{type:"kern",size:3*n},{type:"elem",elem:r}]},e);return te.makeSpan(["mord","underline"],[o],e)},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[new ke.TextNode("\u203E")]);r.setAttribute("stretchy","true");var i=new ke.MathNode("munder",[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 te.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=x7(t),i=[],n=e.havingStyle(e.style.text()),o=0;ot.body.replace(/ /g,t.star?"\u2423":"\xA0"),Xa=M7,mT=`[ \r +-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]},HS={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function qq(t,e){Yn[t]=e}function d2(t,e,r){if(!Yn[e])throw new Error("Font metrics not found for font: "+e+".");var i=t.charCodeAt(0),n=Yn[e][i];if(!n&&t[0]in HS&&(i=HS[t[0]].charCodeAt(0),n=Yn[e][i]),!n&&r==="text"&&C7(i)&&(n=Yn[e][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var qb={};function jq(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!qb[e]){var r=qb[e]={cssEmPerMu:O0.quad[e]/18};for(var i in O0)O0.hasOwnProperty(i)&&(r[i]=O0[i][e])}return qb[e]}var Bq=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],GS=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],KS=function(e,r){return r.size<2?e:Bq[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=GS[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var i in e)e.hasOwnProperty(i)&&(r[i]=e[i]);return new t(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:KS(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:GS[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=KS(t.BASESIZE,e);return this.size===r&&this.textSize===t.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==t.BASESIZE?["sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=jq(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};A0.BASESIZE=6;var t2={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Wq={ex:!0,em:!0,mu:!0},P7=function(e){return typeof e!="string"&&(e=e.unit),e in t2||e in Wq||e==="ex"},Gt=function(e,r){var i;if(e.unit in t2)i=t2[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")i=r.fontMetrics().cssEmPerMu;else{var n;if(r.style.isTight()?n=r.havingStyle(r.style.text()):n=r,e.unit==="ex")i=n.fontMetrics().xHeight;else if(e.unit==="em")i=n.fontMetrics().quad;else throw new Pe("Invalid unit: '"+e.unit+"'");n!==r&&(i*=n.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*i,r.maxSize)},Qe=function(e){return+e.toFixed(4)+"em"},Ra=function(e){return e.filter(r=>r).join(" ")},_7=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)}},A7=function(e){var r=document.createElement(e);r.className=Ra(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,_7.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 A7.call(this,"span")}toMarkup(){return Q7.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,_7.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 A7.call(this,"a")}toMarkup(){return Q7.call(this,"a")}},r2=class{constructor(e,r,i){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=e,this.classes=["mord"],this.style=i}hasClass(e){return Ke.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e=""+this.alt+"0&&(r=document.createElement("span"),r.style.marginRight=Qe(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Ra(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":""}},Bu=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 Zq={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Yq={"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",_="main",U="ams",jt="accent-token",Me="bin",si="close",Gl="inner",Ve="mathord",fr="op-token",Li="open",M0="punct",j="rel",Xo="spacing",Y="textord";v(S,_,j,"\u2261","\\equiv",!0);v(S,_,j,"\u227A","\\prec",!0);v(S,_,j,"\u227B","\\succ",!0);v(S,_,j,"\u223C","\\sim",!0);v(S,_,j,"\u22A5","\\perp");v(S,_,j,"\u2AAF","\\preceq",!0);v(S,_,j,"\u2AB0","\\succeq",!0);v(S,_,j,"\u2243","\\simeq",!0);v(S,_,j,"\u2223","\\mid",!0);v(S,_,j,"\u226A","\\ll",!0);v(S,_,j,"\u226B","\\gg",!0);v(S,_,j,"\u224D","\\asymp",!0);v(S,_,j,"\u2225","\\parallel");v(S,_,j,"\u22C8","\\bowtie",!0);v(S,_,j,"\u2323","\\smile",!0);v(S,_,j,"\u2291","\\sqsubseteq",!0);v(S,_,j,"\u2292","\\sqsupseteq",!0);v(S,_,j,"\u2250","\\doteq",!0);v(S,_,j,"\u2322","\\frown",!0);v(S,_,j,"\u220B","\\ni",!0);v(S,_,j,"\u221D","\\propto",!0);v(S,_,j,"\u22A2","\\vdash",!0);v(S,_,j,"\u22A3","\\dashv",!0);v(S,_,j,"\u220B","\\owns");v(S,_,M0,".","\\ldotp");v(S,_,M0,"\u22C5","\\cdotp");v(S,_,Y,"#","\\#");v(xe,_,Y,"#","\\#");v(S,_,Y,"&","\\&");v(xe,_,Y,"&","\\&");v(S,_,Y,"\u2135","\\aleph",!0);v(S,_,Y,"\u2200","\\forall",!0);v(S,_,Y,"\u210F","\\hbar",!0);v(S,_,Y,"\u2203","\\exists",!0);v(S,_,Y,"\u2207","\\nabla",!0);v(S,_,Y,"\u266D","\\flat",!0);v(S,_,Y,"\u2113","\\ell",!0);v(S,_,Y,"\u266E","\\natural",!0);v(S,_,Y,"\u2663","\\clubsuit",!0);v(S,_,Y,"\u2118","\\wp",!0);v(S,_,Y,"\u266F","\\sharp",!0);v(S,_,Y,"\u2662","\\diamondsuit",!0);v(S,_,Y,"\u211C","\\Re",!0);v(S,_,Y,"\u2661","\\heartsuit",!0);v(S,_,Y,"\u2111","\\Im",!0);v(S,_,Y,"\u2660","\\spadesuit",!0);v(S,_,Y,"\xA7","\\S",!0);v(xe,_,Y,"\xA7","\\S");v(S,_,Y,"\xB6","\\P",!0);v(xe,_,Y,"\xB6","\\P");v(S,_,Y,"\u2020","\\dag");v(xe,_,Y,"\u2020","\\dag");v(xe,_,Y,"\u2020","\\textdagger");v(S,_,Y,"\u2021","\\ddag");v(xe,_,Y,"\u2021","\\ddag");v(xe,_,Y,"\u2021","\\textdaggerdbl");v(S,_,si,"\u23B1","\\rmoustache",!0);v(S,_,Li,"\u23B0","\\lmoustache",!0);v(S,_,si,"\u27EF","\\rgroup",!0);v(S,_,Li,"\u27EE","\\lgroup",!0);v(S,_,Me,"\u2213","\\mp",!0);v(S,_,Me,"\u2296","\\ominus",!0);v(S,_,Me,"\u228E","\\uplus",!0);v(S,_,Me,"\u2293","\\sqcap",!0);v(S,_,Me,"\u2217","\\ast");v(S,_,Me,"\u2294","\\sqcup",!0);v(S,_,Me,"\u25EF","\\bigcirc",!0);v(S,_,Me,"\u2219","\\bullet",!0);v(S,_,Me,"\u2021","\\ddagger");v(S,_,Me,"\u2240","\\wr",!0);v(S,_,Me,"\u2A3F","\\amalg");v(S,_,Me,"&","\\And");v(S,_,j,"\u27F5","\\longleftarrow",!0);v(S,_,j,"\u21D0","\\Leftarrow",!0);v(S,_,j,"\u27F8","\\Longleftarrow",!0);v(S,_,j,"\u27F6","\\longrightarrow",!0);v(S,_,j,"\u21D2","\\Rightarrow",!0);v(S,_,j,"\u27F9","\\Longrightarrow",!0);v(S,_,j,"\u2194","\\leftrightarrow",!0);v(S,_,j,"\u27F7","\\longleftrightarrow",!0);v(S,_,j,"\u21D4","\\Leftrightarrow",!0);v(S,_,j,"\u27FA","\\Longleftrightarrow",!0);v(S,_,j,"\u21A6","\\mapsto",!0);v(S,_,j,"\u27FC","\\longmapsto",!0);v(S,_,j,"\u2197","\\nearrow",!0);v(S,_,j,"\u21A9","\\hookleftarrow",!0);v(S,_,j,"\u21AA","\\hookrightarrow",!0);v(S,_,j,"\u2198","\\searrow",!0);v(S,_,j,"\u21BC","\\leftharpoonup",!0);v(S,_,j,"\u21C0","\\rightharpoonup",!0);v(S,_,j,"\u2199","\\swarrow",!0);v(S,_,j,"\u21BD","\\leftharpoondown",!0);v(S,_,j,"\u21C1","\\rightharpoondown",!0);v(S,_,j,"\u2196","\\nwarrow",!0);v(S,_,j,"\u21CC","\\rightleftharpoons",!0);v(S,U,j,"\u226E","\\nless",!0);v(S,U,j,"\uE010","\\@nleqslant");v(S,U,j,"\uE011","\\@nleqq");v(S,U,j,"\u2A87","\\lneq",!0);v(S,U,j,"\u2268","\\lneqq",!0);v(S,U,j,"\uE00C","\\@lvertneqq");v(S,U,j,"\u22E6","\\lnsim",!0);v(S,U,j,"\u2A89","\\lnapprox",!0);v(S,U,j,"\u2280","\\nprec",!0);v(S,U,j,"\u22E0","\\npreceq",!0);v(S,U,j,"\u22E8","\\precnsim",!0);v(S,U,j,"\u2AB9","\\precnapprox",!0);v(S,U,j,"\u2241","\\nsim",!0);v(S,U,j,"\uE006","\\@nshortmid");v(S,U,j,"\u2224","\\nmid",!0);v(S,U,j,"\u22AC","\\nvdash",!0);v(S,U,j,"\u22AD","\\nvDash",!0);v(S,U,j,"\u22EA","\\ntriangleleft");v(S,U,j,"\u22EC","\\ntrianglelefteq",!0);v(S,U,j,"\u228A","\\subsetneq",!0);v(S,U,j,"\uE01A","\\@varsubsetneq");v(S,U,j,"\u2ACB","\\subsetneqq",!0);v(S,U,j,"\uE017","\\@varsubsetneqq");v(S,U,j,"\u226F","\\ngtr",!0);v(S,U,j,"\uE00F","\\@ngeqslant");v(S,U,j,"\uE00E","\\@ngeqq");v(S,U,j,"\u2A88","\\gneq",!0);v(S,U,j,"\u2269","\\gneqq",!0);v(S,U,j,"\uE00D","\\@gvertneqq");v(S,U,j,"\u22E7","\\gnsim",!0);v(S,U,j,"\u2A8A","\\gnapprox",!0);v(S,U,j,"\u2281","\\nsucc",!0);v(S,U,j,"\u22E1","\\nsucceq",!0);v(S,U,j,"\u22E9","\\succnsim",!0);v(S,U,j,"\u2ABA","\\succnapprox",!0);v(S,U,j,"\u2246","\\ncong",!0);v(S,U,j,"\uE007","\\@nshortparallel");v(S,U,j,"\u2226","\\nparallel",!0);v(S,U,j,"\u22AF","\\nVDash",!0);v(S,U,j,"\u22EB","\\ntriangleright");v(S,U,j,"\u22ED","\\ntrianglerighteq",!0);v(S,U,j,"\uE018","\\@nsupseteqq");v(S,U,j,"\u228B","\\supsetneq",!0);v(S,U,j,"\uE01B","\\@varsupsetneq");v(S,U,j,"\u2ACC","\\supsetneqq",!0);v(S,U,j,"\uE019","\\@varsupsetneqq");v(S,U,j,"\u22AE","\\nVdash",!0);v(S,U,j,"\u2AB5","\\precneqq",!0);v(S,U,j,"\u2AB6","\\succneqq",!0);v(S,U,j,"\uE016","\\@nsubseteqq");v(S,U,Me,"\u22B4","\\unlhd");v(S,U,Me,"\u22B5","\\unrhd");v(S,U,j,"\u219A","\\nleftarrow",!0);v(S,U,j,"\u219B","\\nrightarrow",!0);v(S,U,j,"\u21CD","\\nLeftarrow",!0);v(S,U,j,"\u21CF","\\nRightarrow",!0);v(S,U,j,"\u21AE","\\nleftrightarrow",!0);v(S,U,j,"\u21CE","\\nLeftrightarrow",!0);v(S,U,j,"\u25B3","\\vartriangle");v(S,U,Y,"\u210F","\\hslash");v(S,U,Y,"\u25BD","\\triangledown");v(S,U,Y,"\u25CA","\\lozenge");v(S,U,Y,"\u24C8","\\circledS");v(S,U,Y,"\xAE","\\circledR");v(xe,U,Y,"\xAE","\\circledR");v(S,U,Y,"\u2221","\\measuredangle",!0);v(S,U,Y,"\u2204","\\nexists");v(S,U,Y,"\u2127","\\mho");v(S,U,Y,"\u2132","\\Finv",!0);v(S,U,Y,"\u2141","\\Game",!0);v(S,U,Y,"\u2035","\\backprime");v(S,U,Y,"\u25B2","\\blacktriangle");v(S,U,Y,"\u25BC","\\blacktriangledown");v(S,U,Y,"\u25A0","\\blacksquare");v(S,U,Y,"\u29EB","\\blacklozenge");v(S,U,Y,"\u2605","\\bigstar");v(S,U,Y,"\u2222","\\sphericalangle",!0);v(S,U,Y,"\u2201","\\complement",!0);v(S,U,Y,"\xF0","\\eth",!0);v(xe,_,Y,"\xF0","\xF0");v(S,U,Y,"\u2571","\\diagup");v(S,U,Y,"\u2572","\\diagdown");v(S,U,Y,"\u25A1","\\square");v(S,U,Y,"\u25A1","\\Box");v(S,U,Y,"\u25CA","\\Diamond");v(S,U,Y,"\xA5","\\yen",!0);v(xe,U,Y,"\xA5","\\yen",!0);v(S,U,Y,"\u2713","\\checkmark",!0);v(xe,U,Y,"\u2713","\\checkmark");v(S,U,Y,"\u2136","\\beth",!0);v(S,U,Y,"\u2138","\\daleth",!0);v(S,U,Y,"\u2137","\\gimel",!0);v(S,U,Y,"\u03DD","\\digamma",!0);v(S,U,Y,"\u03F0","\\varkappa");v(S,U,Li,"\u250C","\\@ulcorner",!0);v(S,U,si,"\u2510","\\@urcorner",!0);v(S,U,Li,"\u2514","\\@llcorner",!0);v(S,U,si,"\u2518","\\@lrcorner",!0);v(S,U,j,"\u2266","\\leqq",!0);v(S,U,j,"\u2A7D","\\leqslant",!0);v(S,U,j,"\u2A95","\\eqslantless",!0);v(S,U,j,"\u2272","\\lesssim",!0);v(S,U,j,"\u2A85","\\lessapprox",!0);v(S,U,j,"\u224A","\\approxeq",!0);v(S,U,Me,"\u22D6","\\lessdot");v(S,U,j,"\u22D8","\\lll",!0);v(S,U,j,"\u2276","\\lessgtr",!0);v(S,U,j,"\u22DA","\\lesseqgtr",!0);v(S,U,j,"\u2A8B","\\lesseqqgtr",!0);v(S,U,j,"\u2251","\\doteqdot");v(S,U,j,"\u2253","\\risingdotseq",!0);v(S,U,j,"\u2252","\\fallingdotseq",!0);v(S,U,j,"\u223D","\\backsim",!0);v(S,U,j,"\u22CD","\\backsimeq",!0);v(S,U,j,"\u2AC5","\\subseteqq",!0);v(S,U,j,"\u22D0","\\Subset",!0);v(S,U,j,"\u228F","\\sqsubset",!0);v(S,U,j,"\u227C","\\preccurlyeq",!0);v(S,U,j,"\u22DE","\\curlyeqprec",!0);v(S,U,j,"\u227E","\\precsim",!0);v(S,U,j,"\u2AB7","\\precapprox",!0);v(S,U,j,"\u22B2","\\vartriangleleft");v(S,U,j,"\u22B4","\\trianglelefteq");v(S,U,j,"\u22A8","\\vDash",!0);v(S,U,j,"\u22AA","\\Vvdash",!0);v(S,U,j,"\u2323","\\smallsmile");v(S,U,j,"\u2322","\\smallfrown");v(S,U,j,"\u224F","\\bumpeq",!0);v(S,U,j,"\u224E","\\Bumpeq",!0);v(S,U,j,"\u2267","\\geqq",!0);v(S,U,j,"\u2A7E","\\geqslant",!0);v(S,U,j,"\u2A96","\\eqslantgtr",!0);v(S,U,j,"\u2273","\\gtrsim",!0);v(S,U,j,"\u2A86","\\gtrapprox",!0);v(S,U,Me,"\u22D7","\\gtrdot");v(S,U,j,"\u22D9","\\ggg",!0);v(S,U,j,"\u2277","\\gtrless",!0);v(S,U,j,"\u22DB","\\gtreqless",!0);v(S,U,j,"\u2A8C","\\gtreqqless",!0);v(S,U,j,"\u2256","\\eqcirc",!0);v(S,U,j,"\u2257","\\circeq",!0);v(S,U,j,"\u225C","\\triangleq",!0);v(S,U,j,"\u223C","\\thicksim");v(S,U,j,"\u2248","\\thickapprox");v(S,U,j,"\u2AC6","\\supseteqq",!0);v(S,U,j,"\u22D1","\\Supset",!0);v(S,U,j,"\u2290","\\sqsupset",!0);v(S,U,j,"\u227D","\\succcurlyeq",!0);v(S,U,j,"\u22DF","\\curlyeqsucc",!0);v(S,U,j,"\u227F","\\succsim",!0);v(S,U,j,"\u2AB8","\\succapprox",!0);v(S,U,j,"\u22B3","\\vartriangleright");v(S,U,j,"\u22B5","\\trianglerighteq");v(S,U,j,"\u22A9","\\Vdash",!0);v(S,U,j,"\u2223","\\shortmid");v(S,U,j,"\u2225","\\shortparallel");v(S,U,j,"\u226C","\\between",!0);v(S,U,j,"\u22D4","\\pitchfork",!0);v(S,U,j,"\u221D","\\varpropto");v(S,U,j,"\u25C0","\\blacktriangleleft");v(S,U,j,"\u2234","\\therefore",!0);v(S,U,j,"\u220D","\\backepsilon");v(S,U,j,"\u25B6","\\blacktriangleright");v(S,U,j,"\u2235","\\because",!0);v(S,U,j,"\u22D8","\\llless");v(S,U,j,"\u22D9","\\gggtr");v(S,U,Me,"\u22B2","\\lhd");v(S,U,Me,"\u22B3","\\rhd");v(S,U,j,"\u2242","\\eqsim",!0);v(S,_,j,"\u22C8","\\Join");v(S,U,j,"\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,j,"\u21E2","\\dashrightarrow",!0);v(S,U,j,"\u21E0","\\dashleftarrow",!0);v(S,U,j,"\u21C7","\\leftleftarrows",!0);v(S,U,j,"\u21C6","\\leftrightarrows",!0);v(S,U,j,"\u21DA","\\Lleftarrow",!0);v(S,U,j,"\u219E","\\twoheadleftarrow",!0);v(S,U,j,"\u21A2","\\leftarrowtail",!0);v(S,U,j,"\u21AB","\\looparrowleft",!0);v(S,U,j,"\u21CB","\\leftrightharpoons",!0);v(S,U,j,"\u21B6","\\curvearrowleft",!0);v(S,U,j,"\u21BA","\\circlearrowleft",!0);v(S,U,j,"\u21B0","\\Lsh",!0);v(S,U,j,"\u21C8","\\upuparrows",!0);v(S,U,j,"\u21BF","\\upharpoonleft",!0);v(S,U,j,"\u21C3","\\downharpoonleft",!0);v(S,_,j,"\u22B6","\\origof",!0);v(S,_,j,"\u22B7","\\imageof",!0);v(S,U,j,"\u22B8","\\multimap",!0);v(S,U,j,"\u21AD","\\leftrightsquigarrow",!0);v(S,U,j,"\u21C9","\\rightrightarrows",!0);v(S,U,j,"\u21C4","\\rightleftarrows",!0);v(S,U,j,"\u21A0","\\twoheadrightarrow",!0);v(S,U,j,"\u21A3","\\rightarrowtail",!0);v(S,U,j,"\u21AC","\\looparrowright",!0);v(S,U,j,"\u21B7","\\curvearrowright",!0);v(S,U,j,"\u21BB","\\circlearrowright",!0);v(S,U,j,"\u21B1","\\Rsh",!0);v(S,U,j,"\u21CA","\\downdownarrows",!0);v(S,U,j,"\u21BE","\\upharpoonright",!0);v(S,U,j,"\u21C2","\\downharpoonright",!0);v(S,U,j,"\u21DD","\\rightsquigarrow",!0);v(S,U,j,"\u21DD","\\leadsto");v(S,U,j,"\u21DB","\\Rrightarrow",!0);v(S,U,j,"\u21BE","\\restriction");v(S,_,Y,"\u2018","`");v(S,_,Y,"$","\\$");v(xe,_,Y,"$","\\$");v(xe,_,Y,"$","\\textdollar");v(S,_,Y,"%","\\%");v(xe,_,Y,"%","\\%");v(S,_,Y,"_","\\_");v(xe,_,Y,"_","\\_");v(xe,_,Y,"_","\\textunderscore");v(S,_,Y,"\u2220","\\angle",!0);v(S,_,Y,"\u221E","\\infty",!0);v(S,_,Y,"\u2032","\\prime");v(S,_,Y,"\u25B3","\\triangle");v(S,_,Y,"\u0393","\\Gamma",!0);v(S,_,Y,"\u0394","\\Delta",!0);v(S,_,Y,"\u0398","\\Theta",!0);v(S,_,Y,"\u039B","\\Lambda",!0);v(S,_,Y,"\u039E","\\Xi",!0);v(S,_,Y,"\u03A0","\\Pi",!0);v(S,_,Y,"\u03A3","\\Sigma",!0);v(S,_,Y,"\u03A5","\\Upsilon",!0);v(S,_,Y,"\u03A6","\\Phi",!0);v(S,_,Y,"\u03A8","\\Psi",!0);v(S,_,Y,"\u03A9","\\Omega",!0);v(S,_,Y,"A","\u0391");v(S,_,Y,"B","\u0392");v(S,_,Y,"E","\u0395");v(S,_,Y,"Z","\u0396");v(S,_,Y,"H","\u0397");v(S,_,Y,"I","\u0399");v(S,_,Y,"K","\u039A");v(S,_,Y,"M","\u039C");v(S,_,Y,"N","\u039D");v(S,_,Y,"O","\u039F");v(S,_,Y,"P","\u03A1");v(S,_,Y,"T","\u03A4");v(S,_,Y,"X","\u03A7");v(S,_,Y,"\xAC","\\neg",!0);v(S,_,Y,"\xAC","\\lnot");v(S,_,Y,"\u22A4","\\top");v(S,_,Y,"\u22A5","\\bot");v(S,_,Y,"\u2205","\\emptyset");v(S,U,Y,"\u2205","\\varnothing");v(S,_,Ve,"\u03B1","\\alpha",!0);v(S,_,Ve,"\u03B2","\\beta",!0);v(S,_,Ve,"\u03B3","\\gamma",!0);v(S,_,Ve,"\u03B4","\\delta",!0);v(S,_,Ve,"\u03F5","\\epsilon",!0);v(S,_,Ve,"\u03B6","\\zeta",!0);v(S,_,Ve,"\u03B7","\\eta",!0);v(S,_,Ve,"\u03B8","\\theta",!0);v(S,_,Ve,"\u03B9","\\iota",!0);v(S,_,Ve,"\u03BA","\\kappa",!0);v(S,_,Ve,"\u03BB","\\lambda",!0);v(S,_,Ve,"\u03BC","\\mu",!0);v(S,_,Ve,"\u03BD","\\nu",!0);v(S,_,Ve,"\u03BE","\\xi",!0);v(S,_,Ve,"\u03BF","\\omicron",!0);v(S,_,Ve,"\u03C0","\\pi",!0);v(S,_,Ve,"\u03C1","\\rho",!0);v(S,_,Ve,"\u03C3","\\sigma",!0);v(S,_,Ve,"\u03C4","\\tau",!0);v(S,_,Ve,"\u03C5","\\upsilon",!0);v(S,_,Ve,"\u03D5","\\phi",!0);v(S,_,Ve,"\u03C7","\\chi",!0);v(S,_,Ve,"\u03C8","\\psi",!0);v(S,_,Ve,"\u03C9","\\omega",!0);v(S,_,Ve,"\u03B5","\\varepsilon",!0);v(S,_,Ve,"\u03D1","\\vartheta",!0);v(S,_,Ve,"\u03D6","\\varpi",!0);v(S,_,Ve,"\u03F1","\\varrho",!0);v(S,_,Ve,"\u03C2","\\varsigma",!0);v(S,_,Ve,"\u03C6","\\varphi",!0);v(S,_,Me,"\u2217","*",!0);v(S,_,Me,"+","+");v(S,_,Me,"\u2212","-",!0);v(S,_,Me,"\u22C5","\\cdot",!0);v(S,_,Me,"\u2218","\\circ",!0);v(S,_,Me,"\xF7","\\div",!0);v(S,_,Me,"\xB1","\\pm",!0);v(S,_,Me,"\xD7","\\times",!0);v(S,_,Me,"\u2229","\\cap",!0);v(S,_,Me,"\u222A","\\cup",!0);v(S,_,Me,"\u2216","\\setminus",!0);v(S,_,Me,"\u2227","\\land");v(S,_,Me,"\u2228","\\lor");v(S,_,Me,"\u2227","\\wedge",!0);v(S,_,Me,"\u2228","\\vee",!0);v(S,_,Y,"\u221A","\\surd");v(S,_,Li,"\u27E8","\\langle",!0);v(S,_,Li,"\u2223","\\lvert");v(S,_,Li,"\u2225","\\lVert");v(S,_,si,"?","?");v(S,_,si,"!","!");v(S,_,si,"\u27E9","\\rangle",!0);v(S,_,si,"\u2223","\\rvert");v(S,_,si,"\u2225","\\rVert");v(S,_,j,"=","=");v(S,_,j,":",":");v(S,_,j,"\u2248","\\approx",!0);v(S,_,j,"\u2245","\\cong",!0);v(S,_,j,"\u2265","\\ge");v(S,_,j,"\u2265","\\geq",!0);v(S,_,j,"\u2190","\\gets");v(S,_,j,">","\\gt",!0);v(S,_,j,"\u2208","\\in",!0);v(S,_,j,"\uE020","\\@not");v(S,_,j,"\u2282","\\subset",!0);v(S,_,j,"\u2283","\\supset",!0);v(S,_,j,"\u2286","\\subseteq",!0);v(S,_,j,"\u2287","\\supseteq",!0);v(S,U,j,"\u2288","\\nsubseteq",!0);v(S,U,j,"\u2289","\\nsupseteq",!0);v(S,_,j,"\u22A8","\\models");v(S,_,j,"\u2190","\\leftarrow",!0);v(S,_,j,"\u2264","\\le");v(S,_,j,"\u2264","\\leq",!0);v(S,_,j,"<","\\lt",!0);v(S,_,j,"\u2192","\\rightarrow",!0);v(S,_,j,"\u2192","\\to");v(S,U,j,"\u2271","\\ngeq",!0);v(S,U,j,"\u2270","\\nleq",!0);v(S,_,Xo,"\xA0","\\ ");v(S,_,Xo,"\xA0","\\space");v(S,_,Xo,"\xA0","\\nobreakspace");v(xe,_,Xo,"\xA0","\\ ");v(xe,_,Xo,"\xA0"," ");v(xe,_,Xo,"\xA0","\\space");v(xe,_,Xo,"\xA0","\\nobreakspace");v(S,_,Xo,null,"\\nobreak");v(S,_,Xo,null,"\\allowbreak");v(S,_,M0,",",",");v(S,_,M0,";",";");v(S,U,Me,"\u22BC","\\barwedge",!0);v(S,U,Me,"\u22BB","\\veebar",!0);v(S,_,Me,"\u2299","\\odot",!0);v(S,_,Me,"\u2295","\\oplus",!0);v(S,_,Me,"\u2297","\\otimes",!0);v(S,_,Y,"\u2202","\\partial",!0);v(S,_,Me,"\u2298","\\oslash",!0);v(S,U,Me,"\u229A","\\circledcirc",!0);v(S,U,Me,"\u22A1","\\boxdot",!0);v(S,_,Me,"\u25B3","\\bigtriangleup");v(S,_,Me,"\u25BD","\\bigtriangledown");v(S,_,Me,"\u2020","\\dagger");v(S,_,Me,"\u22C4","\\diamond");v(S,_,Me,"\u22C6","\\star");v(S,_,Me,"\u25C3","\\triangleleft");v(S,_,Me,"\u25B9","\\triangleright");v(S,_,Li,"{","\\{");v(xe,_,Y,"{","\\{");v(xe,_,Y,"{","\\textbraceleft");v(S,_,si,"}","\\}");v(xe,_,Y,"}","\\}");v(xe,_,Y,"}","\\textbraceright");v(S,_,Li,"{","\\lbrace");v(S,_,si,"}","\\rbrace");v(S,_,Li,"[","\\lbrack",!0);v(xe,_,Y,"[","\\lbrack",!0);v(S,_,si,"]","\\rbrack",!0);v(xe,_,Y,"]","\\rbrack",!0);v(S,_,Li,"(","\\lparen",!0);v(S,_,si,")","\\rparen",!0);v(xe,_,Y,"<","\\textless",!0);v(xe,_,Y,">","\\textgreater",!0);v(S,_,Li,"\u230A","\\lfloor",!0);v(S,_,si,"\u230B","\\rfloor",!0);v(S,_,Li,"\u2308","\\lceil",!0);v(S,_,si,"\u2309","\\rceil",!0);v(S,_,Y,"\\","\\backslash");v(S,_,Y,"\u2223","|");v(S,_,Y,"\u2223","\\vert");v(xe,_,Y,"|","\\textbar",!0);v(S,_,Y,"\u2225","\\|");v(S,_,Y,"\u2225","\\Vert");v(xe,_,Y,"\u2225","\\textbardbl");v(xe,_,Y,"~","\\textasciitilde");v(xe,_,Y,"\\","\\textbackslash");v(xe,_,Y,"^","\\textasciicircum");v(S,_,j,"\u2191","\\uparrow",!0);v(S,_,j,"\u21D1","\\Uparrow",!0);v(S,_,j,"\u2193","\\downarrow",!0);v(S,_,j,"\u21D3","\\Downarrow",!0);v(S,_,j,"\u2195","\\updownarrow",!0);v(S,_,j,"\u21D5","\\Updownarrow",!0);v(S,_,fr,"\u2210","\\coprod");v(S,_,fr,"\u22C1","\\bigvee");v(S,_,fr,"\u22C0","\\bigwedge");v(S,_,fr,"\u2A04","\\biguplus");v(S,_,fr,"\u22C2","\\bigcap");v(S,_,fr,"\u22C3","\\bigcup");v(S,_,fr,"\u222B","\\int");v(S,_,fr,"\u222B","\\intop");v(S,_,fr,"\u222C","\\iint");v(S,_,fr,"\u222D","\\iiint");v(S,_,fr,"\u220F","\\prod");v(S,_,fr,"\u2211","\\sum");v(S,_,fr,"\u2A02","\\bigotimes");v(S,_,fr,"\u2A01","\\bigoplus");v(S,_,fr,"\u2A00","\\bigodot");v(S,_,fr,"\u222E","\\oint");v(S,_,fr,"\u222F","\\oiint");v(S,_,fr,"\u2230","\\oiiint");v(S,_,fr,"\u2A06","\\bigsqcup");v(S,_,fr,"\u222B","\\smallint");v(xe,_,Gl,"\u2026","\\textellipsis");v(S,_,Gl,"\u2026","\\mathellipsis");v(xe,_,Gl,"\u2026","\\ldots",!0);v(S,_,Gl,"\u2026","\\ldots",!0);v(S,_,Gl,"\u22EF","\\@cdots",!0);v(S,_,Gl,"\u22F1","\\ddots",!0);v(S,_,Y,"\u22EE","\\varvdots");v(S,_,jt,"\u02CA","\\acute");v(S,_,jt,"\u02CB","\\grave");v(S,_,jt,"\xA8","\\ddot");v(S,_,jt,"~","\\tilde");v(S,_,jt,"\u02C9","\\bar");v(S,_,jt,"\u02D8","\\breve");v(S,_,jt,"\u02C7","\\check");v(S,_,jt,"^","\\hat");v(S,_,jt,"\u20D7","\\vec");v(S,_,jt,"\u02D9","\\dot");v(S,_,jt,"\u02DA","\\mathring");v(S,_,Ve,"\uE131","\\@imath");v(S,_,Ve,"\uE237","\\@jmath");v(S,_,Y,"\u0131","\u0131");v(S,_,Y,"\u0237","\u0237");v(xe,_,Y,"\u0131","\\i",!0);v(xe,_,Y,"\u0237","\\j",!0);v(xe,_,Y,"\xDF","\\ss",!0);v(xe,_,Y,"\xE6","\\ae",!0);v(xe,_,Y,"\u0153","\\oe",!0);v(xe,_,Y,"\xF8","\\o",!0);v(xe,_,Y,"\xC6","\\AE",!0);v(xe,_,Y,"\u0152","\\OE",!0);v(xe,_,Y,"\xD8","\\O",!0);v(xe,_,jt,"\u02CA","\\'");v(xe,_,jt,"\u02CB","\\`");v(xe,_,jt,"\u02C6","\\^");v(xe,_,jt,"\u02DC","\\~");v(xe,_,jt,"\u02C9","\\=");v(xe,_,jt,"\u02D8","\\u");v(xe,_,jt,"\u02D9","\\.");v(xe,_,jt,"\xB8","\\c");v(xe,_,jt,"\u02DA","\\r");v(xe,_,jt,"\u02C7","\\v");v(xe,_,jt,"\xA8",'\\"');v(xe,_,jt,"\u02DD","\\H");v(xe,_,jt,"\u25EF","\\textcircled");var $7={"--":!0,"---":!0,"``":!0,"''":!0};v(xe,_,Y,"\u2013","--",!0);v(xe,_,Y,"\u2013","\\textendash");v(xe,_,Y,"\u2014","---",!0);v(xe,_,Y,"\u2014","\\textemdash");v(xe,_,Y,"\u2018","`",!0);v(xe,_,Y,"\u2018","\\textquoteleft");v(xe,_,Y,"\u2019","'",!0);v(xe,_,Y,"\u2019","\\textquoteright");v(xe,_,Y,"\u201C","``",!0);v(xe,_,Y,"\u201C","\\textquotedblleft");v(xe,_,Y,"\u201D","''",!0);v(xe,_,Y,"\u201D","\\textquotedblright");v(S,_,Y,"\xB0","\\degree",!0);v(xe,_,Y,"\xB0","\\degree");v(xe,_,Y,"\xB0","\\textdegree",!0);v(S,_,Y,"\xA3","\\pounds");v(S,_,Y,"\xA3","\\mathsterling",!0);v(xe,_,Y,"\xA3","\\pounds");v(xe,_,Y,"\xA3","\\textsterling",!0);v(S,U,Y,"\u2720","\\maltese");v(xe,U,Y,"\u2720","\\maltese");var e7='0123456789/@."';for(g0=0;g00)return yn(o,c,n,r,a.concat(u));if(l){var f,d;if(l==="boldsymbol"){var p=Kq(o,n,r,a,i);f=p.fontName,d=[p.fontClass]}else s?(f=I7[l].fontName,d=[l]):(f=w0(l,r.fontWeight,r.fontShape),d=[l,r.fontWeight,r.fontShape]);if(z0(o,f,n).metrics)return yn(o,f,n,r,a.concat(d));if($7.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var O=[],x=0;x{if(Ra(t.classes)!==Ra(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},tj=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},yi=function(e,r,i,n){var o=new Rs(e,r,i,n);return p2(o),o},X7=(t,e,r,i)=>new Rs(t,e,r,i),rj=function(e,r,i){var n=yi([e],[],r);return n.height=Math.max(i||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=Qe(n.height),n.maxFontSize=1,n},ij=function(e,r,i,n){var o=new ju(e,r,i,n);return p2(o),o},R7=function(e){var r=new Xs(e);return p2(r),r},nj=function(e,r){return e instanceof Xs?yi([],[e],r):e},oj=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=yi(["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},I7={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},L7={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},lj=function(e,r){var[i,n,o]=L7[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=X7(["overlay"],[s],r);return l.height=o,l.style.height=Qe(o),l.style.width=Qe(n),l},te={fontMap:I7,makeSymbol:yn,mathsym:Gq,makeSpan:yi,makeSvgSpan:X7,makeLineSpan:rj,makeAnchor:ij,makeFragment:R7,wrapFragment:nj,makeVList:aj,makeOrd:Jq,makeGlue:sj,staticSvg:lj,svgData:L7,tryCombineChars:tj},Ht={number:3,unit:"mu"},Qs={number:4,unit:"mu"},Po={number:5,unit:"mu"},cj={mord:{mop:Ht,mbin:Qs,mrel:Po,minner:Ht},mop:{mord:Ht,mop:Ht,mrel:Po,minner:Ht},mbin:{mord:Qs,mop:Qs,mopen:Qs,minner:Qs},mrel:{mord:Po,mop:Po,mopen:Po,minner:Po},mopen:{},mclose:{mop:Ht,mbin:Qs,mrel:Po,minner:Ht},mpunct:{mord:Ht,mop:Ht,mrel:Po,mopen:Ht,mclose:Ht,mpunct:Ht,minner:Ht},minner:{mord:Ht,mop:Ht,mbin:Qs,mrel:Po,mopen:Ht,mpunct:Ht,minner:Ht}},uj={mord:{mop:Ht},mop:{mord:Ht,mop:Ht},mbin:{},mrel:{},mopen:{},mclose:{mop:Ht},mpunct:{},minner:{mop:Ht}},M7={},$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(hj,w)?x.classes[0]="mord":w==="mbin"&&Ke.contains(fj,k)&&(O.classes[0]="mord")},{node:f},d,p),i7(o,(O,x)=>{var k=n2(x),w=n2(O),C=k&&w?O.hasClass("mtight")?uj[k][w]:cj[k][w]:null;if(C)return te.makeGlue(C,c)},{node:f},d,p),o},i7=function t(e,r,i,n,o){n&&e.push(n);for(var a=0;ad=>{e.splice(f+1,0,d),a++})(a)}n&&e.pop()},z7=function(e){return e instanceof Xs||e instanceof ju||e instanceof Rs&&e.hasClass("enclosing")?e:null},mj=function t(e,r){var i=z7(e);if(i){var n=i.children;if(n.length){if(r==="right")return t(n[n.length-1],"right");if(r==="left")return t(n[0],"left")}}return e},n2=function(e,r){return e?(r&&(e=mj(e,r)),pj[e.classes[0]]||null):null},Wu=function(e,r){var i=["nulldelimiter"].concat(e.baseSizingClasses());return Qo(r.concat(i))},wt=function(e,r,i){if(!e)return Qo();if($0[e.type]){var n=$0[e.type](e,r);if(i&&r.size!==i.size){n=Qo(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=Qo(["base"],t,e),i=Qo(["strut"]);return i.style.height=Qe(r.height+r.depth),r.depth&&(i.style.verticalAlign=Qe(-r.depth)),r.children.unshift(i),r}function o2(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var i=yr(t,e,"root"),n;i.length===2&&i[1].hasClass("tag")&&(n=i.pop());for(var o=[],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=Qo(["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 D7(t){return new Xs(t)}var vi=class{constructor(e,r,i){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=i||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=Ra(this.classes));for(var i=0;i0&&(e+=' class ="'+Ke.escape(Ra(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}},a2=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:vi,TextNode:$s,SpaceNode:a2,newDocumentFragment:D7},Ki=function(e,r,i){return Dt[r][e]&&Dt[r][e].replace&&e.charCodeAt(0)!==55349&&!($7.hasOwnProperty(e)&&i&&(i.fontFamily&&i.fontFamily.slice(4,6)==="tt"||i.font&&i.font.slice(4,6)==="tt"))&&(e=Dt[r][e].replace),new ke.TextNode(e)},m2=function(e){return e.length===1?e[0]:new ke.MathNode("mrow",e)},O2=function(e,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var i=r.font;if(!i||i==="mathnormal")return null;var n=e.mode;if(i==="mathit")return"italic";if(i==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(i==="mathbf")return"bold";if(i==="mathbb")return"double-struck";if(i==="mathfrak")return"fraktur";if(i==="mathscr"||i==="mathcal")return"script";if(i==="mathsf")return"sans-serif";if(i==="mathtt")return"monospace";var o=e.text;if(Ke.contains(["\\imath","\\jmath"],o))return null;Dt[n][o]&&Dt[n][o].replace&&(o=Dt[n][o].replace);var a=te.fontMap[i].fontName;return d2(o,a,n)?te.fontMap[i].variant:null},wi=function(e,r,i){if(e.length===1){var n=Mt(e[0],r);return i&&n instanceof vi&&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},Ia=function(e,r,i){return m2(wi(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 n7(t,e,r,i,n){var o=wi(t,r),a;o.length===1&&o[0]instanceof vi&&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 te.makeSpan([u],[c])}var N7=function(e){return new A0({style:e.displayMode?Fe.DISPLAY:Fe.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},U7=function(e,r){if(r.displayMode){var i=["katex-display"];r.leqno&&i.push("leqno"),r.fleqn&&i.push("fleqn"),e=te.makeSpan(i,[e])}return e},Oj=function(e,r,i){var n=N7(i),o;if(i.output==="mathml")return n7(e,r,n,i.displayMode,!0);if(i.output==="html"){var a=o2(e,n);o=te.makeSpan(["katex"],[a])}else{var s=n7(e,r,n,i.displayMode,!1),l=o2(e,n);o=te.makeSpan(["katex"],[s,l])}return U7(o,i)},gj=function(e,r,i){var n=N7(i),o=o2(e,n),a=te.makeSpan(["katex"],[o]);return U7(a,i)},bj={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":"="},yj=function(e){var r=new ke.MathNode("mo",[new ke.TextNode(bj[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},vj={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]},xj=function(e){return e.type==="ordgroup"?e.body.length:1},wj=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=xj(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:te.makeSvgSpan([],[k],r),minWidth:0,height:p}}else{var w=[],C=vj[l],[$,P,L]=C,M=L/1e3,Z=$.length,re,H;if(Z===1){var W=C[3];re=["hide-tail"],H=[W]}else if(Z===2)re=["halfarrow-left","halfarrow-right"],H=["xMinYMin","xMaxYMin"];else if(Z===3)re=["brace-left","brace-center","brace-right"],H=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+Z+" children.");for(var oe=0;oe0&&(n.style.minWidth=Qe(o)),n},kj=function(e,r,i,n,o){var a,s=e.height+e.depth+i+n;if(/fbox|color|angl/.test(r)){if(a=te.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 Bu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new Bu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new vn(c,{width:"100%",height:Qe(s)});a=te.makeSvgSpan([],[u],o)}return a.height=s,a.style.height=Qe(s),a},$o={encloseSpan:kj,mathMLnode:yj,svgSpan:wj};function lt(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function g2(t){var e=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"||Yq.hasOwnProperty(t.type))?t:null}var b2=(t,e)=>{var r,i,n;t&&t.type==="supsub"?(i=lt(t.base,"accent"),r=i.base,t.base=r,n=Fq(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=JS(c).skew}var u=i.label==="\\c",f=u?o.height+o.depth:Math.min(o.height,e.fontMetrics().xHeight),d;if(i.isStretchy)d=$o.svgSpan(i,e),d=te.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=te.staticSvg("vec",e),O=te.svgData.vec[1]):(p=te.makeOrd({mode:i.mode,text:i.label},e,"textord"),p=JS(p),p.italic=0,O=p.width,u&&(f+=p.depth)),d=te.makeSpan(["accent-body"],[p]);var 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=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:d}]},e)}var w=te.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},q7=(t,e)=>{var r=t.isStretchy?$o.mathMLnode(t.label):new ke.MathNode("mo",[Ki(t.label,t.mode)]),i=new ke.MathNode("mover",[Mt(t.base,e),r]);return i.setAttribute("accent","true"),i},Sj=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=!Sj.test(t.funcName),n=!i||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:i,isShifty:n,base:r}},htmlBuilder:b2,mathmlBuilder:q7});Ie({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var r=e[0],i=t.parser.mode;return i==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),i="text"),{type:"accent",mode:i,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:b2,mathmlBuilder:q7});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=$o.svgSpan(t,e),n=t.label==="\\utilde"?.12:0,o=te.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},e);return te.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:(t,e)=>{var r=$o.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=te.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=te.wrapFragment(wt(t.below,i,e),e),a.classes.push(o+"-arrow-pad"));var s=$o.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=te.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=te.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"),te.makeSpan(["mrel","x-arrow"],[u],e)},mathmlBuilder(t,e){var r=$o.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 Tj=te.makeSpan;function j7(t,e){var r=yr(t.body,e,!0);return Tj([t.mclass],r,e)}function B7(t,e){var r,i=wi(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:j7,mathmlBuilder:B7});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:j7,mathmlBuilder:B7});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=te.makeSpan([t.mclass],r,e);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(t,e){var r=wi(t.body,e),i=new ke.MathNode("mstyle",r);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});var Ej={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},o7=()=>({type:"styling",body:[],mode:"math",style:"display"}),a7=t=>t.type==="textord"&&t.text==="@",Cj=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function Pj(t,e,r){var i=Ej[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 _j(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=Pj(c,u,t),x={type:"styling",body:[O],mode:"math",style:"display"};i.push(x),s=o7()}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=te.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=te.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 W7=(t,e)=>{var r=yr(t.body,e.withColor(t.color),!1);return te.makeFragment(r)},V7=(t,e)=>{var r=wi(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:W7,mathmlBuilder:V7});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:W7,mathmlBuilder:V7});Ie({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:i}=t,n=i.gullet.future().text==="["?i.parseSizeGroup(!0):null,o=!i.settings.displayMode||!i.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:i.mode,newLine:o,size:n&<(n,"size").value}},htmlBuilder(t,e){var r=te.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=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 s2={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},F7=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new Pe("Expected a control sequence",t);return e},Aj=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},Z7=(t,e,r,i)=>{var n=t.gullet.macros.get(r.text);n==null&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,n,i)};Ie({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var i=e.fetch();if(s2[i.text])return(r==="\\global"||r==="\\\\globallong")&&(i.text=s2[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===s2[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=F7(e.gullet.popToken());e.gullet.consumeSpaces();var n=Aj(e);return Z7(e,i,n,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});Ie({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=F7(e.gullet.popToken()),n=e.gullet.popToken(),o=e.gullet.popToken();return Z7(e,i,o,r==="\\\\globalfuture"),e.gullet.pushToken(o),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var Du=function(e,r,i){var n=Dt.math[e]&&Dt.math[e].replace,o=d2(n||e,r,i);if(!o)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return o},y2=function(e,r,i,n){var o=i.havingBaseStyle(r),a=te.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},Y7=function(e,r,i){var n=r.havingBaseStyle(i),o=(1-r.sizeMultiplier/n.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Qe(o),e.height-=o,e.depth+=o},Qj=function(e,r,i,n,o,a){var s=te.makeSymbol(e,"Main-Regular",o,n),l=y2(s,r,n,a);return i&&Y7(l,n,r),l},$j=function(e,r,i,n){return te.makeSymbol(e,"Size"+r+"-Regular",i,n)},H7=function(e,r,i,n,o,a){var s=$j(e,r,o,n),l=y2(te.makeSpan(["delimsizing","size"+r],[s],n),Fe.TEXT,n,a);return i&&Y7(l,n,Fe.TEXT),l},Wb=function(e,r,i){var n;r==="Size1-Regular"?n="delim-size1":n="delim-size4";var o=te.makeSpan(["delimsizinginner",n],[te.makeSpan([],[te.makeSymbol(e,r,i)])]);return{type:"elem",elem:o}},Vb=function(e,r,i){var n=Yn["Size4-Regular"][e.charCodeAt(0)]?Yn["Size4-Regular"][e.charCodeAt(0)][4]:Yn["Size1-Regular"][e.charCodeAt(0)][4],o=new Gn("inner",Nq(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=te.makeSvgSpan([],[a],i);return s.height=r,s.style.height=Qe(r),s.style.width=Qe(n),{type:"elem",elem:s}},l2=.008,T0={type:"kern",size:-1*l2},Xj=["|","\\lvert","\\rvert","\\vert"],Rj=["\\|","\\lVert","\\rVert","\\Vert"],G7=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(Xj,e)?(c="\u2223",f="vert",d=333):Ke.contains(Rj,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=Du(s,p,o),x=O.height+O.depth,k=Du(c,p,o),w=k.height+k.depth,C=Du(u,p,o),$=C.height+C.depth,P=0,L=1;if(l!==null){var M=Du(l,p,o);P=M.height+M.depth,L=2}var Z=x+$+P,re=Math.max(0,Math.ceil((r-Z)/(L*w))),H=Z+re*L*w,W=n.fontMetrics().axisHeight;i&&(W*=n.sizeMultiplier);var oe=H/2-W,pe=[];if(f.length>0){var fe=H-x-$,ge=Math.round(H*1e3),ve=Uq(f,Math.round(fe*1e3)),_e=new Gn(f,ve),ae=(d/1e3).toFixed(3)+"em",he=(ge/1e3).toFixed(3)+"em",K=new vn([_e],{width:ae,height:he,viewBox:"0 0 "+d+" "+ge}),A=te.makeSvgSpan([],[K],n);A.height=ge/1e3,A.style.width=ae,A.style.height=he,pe.push({type:"elem",elem:A})}else{if(pe.push(Wb(u,p,o)),pe.push(T0),l===null){var G=H-x-$+2*l2;pe.push(Vb(c,G,n))}else{var se=(H-x-$-P)/2+2*l2;pe.push(Vb(c,se,n)),pe.push(T0),pe.push(Wb(l,p,o)),pe.push(T0),pe.push(Vb(c,se,n))}pe.push(T0),pe.push(Wb(s,p,o))}var q=n.havingBaseStyle(Fe.TEXT),Je=te.makeVList({positionType:"bottom",positionData:oe,children:pe},q);return y2(te.makeSpan(["delimsizing","mult"],[Je],q),Fe.TEXT,n,a)},Fb=80,Zb=.08,Yb=function(e,r,i,n,o){var a=Dq(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 te.makeSvgSpan(["hide-tail"],[l],o)},Ij=function(e,r){var i=r.havingBaseSizing(),n=tT("\\surd",e*i.sizeMultiplier,eT,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+Fb,e<1?o=1:e<1.4&&(o=.7),l=(1+a+Zb)/o,c=(1+a)/o,s=Yb("sqrtMain",l,u,a,r),s.style.minWidth="0.853em",f=.833/o):n.type==="large"?(u=(1e3+Fb)*Nu[n.size],c=(Nu[n.size]+a)/o,l=(Nu[n.size]+a+Zb)/o,s=Yb("sqrtSize"+n.size,l,u,a,r),s.style.minWidth="1.02em",f=1/o):(l=e+a+Zb,c=e+a,u=Math.floor(1e3*e+a)+Fb,s=Yb("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}},K7=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Lj=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],J7=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Nu=[0,1.2,1.8,2.4,3],Mj=function(e,r,i,n,o){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),Ke.contains(K7,e)||Ke.contains(J7,e))return H7(e,r,!1,i,n,o);if(Ke.contains(Lj,e))return G7(e,Nu[r],!1,i,n,o);throw new Pe("Illegal delimiter: '"+e+"'")},zj=[{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}],Dj=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"stack"}],eT=[{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"}],Nj=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},tT=function(e,r,i,n){for(var o=Math.min(2,3-n.style.size),a=o;ar)return i[a]}return i[i.length-1]},rT=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(J7,e)?s=zj:Ke.contains(K7,e)?s=eT:s=Dj;var l=tT(e,r,s,n);return l.type==="small"?Qj(e,l.style,i,n,o,a):l.type==="large"?H7(e,l.size,i,n,o,a):G7(e,r,i,n,o,a)},Uj=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 rT(e,f,!0,n,o,a)},Ao={sqrtImage:Ij,sizedDelim:Mj,sizeToMaxHeight:Nu,customSizedDelim:rT,leftRightDelim:Uj},s7={"\\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}},qj=["(","\\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(qj,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:s7[t.funcName].size,mclass:s7[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?te.makeSpan([t.mclass]):Ao.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Ki(t.delim,t.mode));var r=new ke.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var i=Qe(Ao.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",i),r.setAttribute("maxsize",i),r}});function l7(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ie({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new Pe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:U0(e[0],t).text,color:r}}});Ie({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=U0(e[0],t),i=t.parser;++i.leftrightDepth;var n=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var o=lt(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:n,left:r.text,right:o.delim,rightColor:o.color}},htmlBuilder:(t,e)=>{l7(t);for(var r=yr(t.body,e,!0,["mopen","mclose"]),i=0,n=0,o=!1,a=0;a{l7(t);var r=wi(t.body,e);if(t.left!=="."){var i=new ke.MathNode("mo",[Ki(t.left,t.mode)]);i.setAttribute("fence","true"),r.unshift(i)}if(t.right!=="."){var n=new ke.MathNode("mo",[Ki(t.right,t.mode)]);n.setAttribute("fence","true"),t.rightColor&&n.setAttribute("mathcolor",t.rightColor),r.push(n)}return m2(r)}});Ie({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=U0(e[0],t);if(!t.parser.leftrightDepth)throw new Pe("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;if(t.delim===".")r=Wu(e,[]);else{r=Ao.sizedDelim(t.delim,1,e,t.mode,[]);var i={delim:t.delim,options:e};r.isMiddle=i}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?Ki("|","text"):Ki(t.delim,t.mode),i=new ke.MathNode("mo",[r]);return i.setAttribute("fence","true"),i.setAttribute("lspace","0.05em"),i.setAttribute("rspace","0.05em"),i}});var v2=(t,e)=>{var r=te.wrapFragment(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=te.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=Mq(d),O=new vn([new Gn("phase",p)],{width:"400em",height:Qe(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});o=te.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=$o.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=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:a},{type:"elem",elem:r,shift:0}]},e);else{var $=/cancel|phase/.test(i)?["svg-align"]:[];C=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:o,shift:a,wrapperClasses:$}]},e)}return/cancel/.test(i)&&(C.height=r.height,C.depth=r.depth),/cancel/.test(i)&&!s?te.makeSpan(["mord","cancel-lap"],[C],e):te.makeSpan(["mord"],[C],e)},x2=(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:v2,mathmlBuilder:x2});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:v2,mathmlBuilder:x2});Ie({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});Ie({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"enclose",mode:r.mode,label:i,body:n}},htmlBuilder:v2,mathmlBuilder:x2});Ie({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var iT={};function Kn(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder: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 w2(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function La(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 $(){l&&t.gullet.macros.set("\\@eqnsw","1",!0)}function P(){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($(),w.push(c7(t));;){var L=t.parseExpression(!1,c?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),L={type:"ordgroup",mode:t.mode,body:L},r&&(L={type:"styling",mode:t.mode,style:r,body:[L]}),O.push(L);var M=t.fetch().text;if(M==="&"){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(M==="\\end"){P(),O.length===1&&L.type==="styling"&&L.body[0].body.length===0&&(x.length>1||!u)&&x.pop(),w.length0&&($+=.25),c.push({pos:$,isDashed:go[Mn]})}for(P(a[0]),i=0;i0&&(oe+=C,Zgo))for(i=0;i=s)){var Ce=void 0;(n>0||e.hskipBeforeAndAfter)&&(Ce=Ke.deflt(se.pregap,d),Ce!==0&&(ve=te.makeSpan(["arraycolsep"],[]),ve.style.width=Qe(Ce),ge.push(ve)));var Ze=[];for(i=0;i0){for(var _r=te.makeLineSpan("hline",r,u),Ln=te.makeLineSpan("hdashline",r,u),pn=[{type:"elem",elem:l,shift:0}];c.length>0;){var Zt=c.pop(),ys=Zt.pos-pe;Zt.isDashed?pn.push({type:"elem",elem:Ln,shift:ys}):pn.push({type:"elem",elem:_r,shift:ys})}l=te.makeVList({positionType:"individualShift",children:pn},r)}if(ae.length===0)return te.makeSpan(["mord"],[l],r);var Ar=te.makeVList({positionType:"individualShift",children:ae},r);return Ar=te.makeSpan(["tag"],[Ar],r),te.makeFragment([l,Ar])},jj={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 $=w;$0?"left ":"",d+=re[re.length-1].length>0?"right ":"";for(var H=1;H-1?"alignat":"align",o=e.envName==="split",a=La(e.parser,{cols:i,addJot:!0,autoTag:o?void 0:w2(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=g2(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 La(t.parser,o,k2(t.envName))},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var n=t.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,"lcr".indexOf(r)===-1)throw new Pe("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),i.cols=[{type:"align",align:r}]}}var o=La(t.parser,i,k2(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=La(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=g2(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=La(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=La(t.parser,e,k2(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:oT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){Ke.contains(["gather","gather*"],t.envName)&&q0(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:w2(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return La(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:oT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){q0(t);var e={autoTag:w2(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return La(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["CD"],props:{numArgs:0},handler(t){return q0(t),_j(t.parser)},htmlBuilder:Jn,mathmlBuilder:eo});R("\\nonumber","\\gdef\\@eqnsw{0}");R("\\notag","\\nonumber");Ie({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new Pe(t.funcName+" valid only within array environment")}});var u7=iT;Ie({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];if(n.type!=="ordgroup")throw new Pe("Invalid environment name",n);for(var o="",a=0;a{var r=t.font,i=e.withFont(r);return wt(t.body,i)},sT=(t,e)=>{var r=t.font,i=e.withFont(r);return Mt(t.body,i)},f7={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ie({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=R0(e[0]),o=i;return o in f7&&(o=f7[o]),{type:"font",mode:r.mode,font:o.slice(1),body:n}},htmlBuilder:aT,mathmlBuilder:sT});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:aT,mathmlBuilder:sT});var lT=(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},S2=(t,e)=>{var r=lT(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=lT(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 m2(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:S2,mathmlBuilder:T2});Ie({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Ie({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:i}=t,n;switch(r){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:n,token:i}}});var h7=["display","text","script","scriptscript"],d7=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};Ie({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,i=e[4],n=e[5],o=R0(e[0]),a=o.type==="atom"&&o.family==="open"?d7(o.text):null,s=R0(e[1]),l=s.type==="atom"&&s.family==="close"?d7(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=h7[Number(O.text)]}}else p=lt(p,"textord"),d=h7[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:i,denom:n,continued:!1,hasBarLine:u,barSize:f,leftDelim:a,rightDelim:l,size:d}},htmlBuilder:S2,mathmlBuilder:T2});Ie({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:i,token:n}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:lt(e[0],"size").value,token:n}}});Ie({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=wq(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:S2,mathmlBuilder:T2});var cT=(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=$o.svgSpan(n,e),s;if(n.isOver?(s=te.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=te.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=te.makeSpan(["mord",n.isOver?"mover":"munder"],[s],e);n.isOver?s=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:i}]},e):s=te.makeVList({positionType:"bottom",positionData:l.depth+.2+i.height+i.depth,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return te.makeSpan(["mord",n.isOver?"mover":"munder"],[s],e)},Bj=(t,e)=>{var r=$o.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:cT,mathmlBuilder:Bj});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 te.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=Ia(t.body,e);return r instanceof vi||(r=new vi("mrow",[r])),r.setAttribute("href",t.href),r}});Ie({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=lt(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:i}))return r.formatUnsupportedCmd("\\url");for(var n=[],o=0;o{var{parser:r,funcName:i,token:n}=t,o=lt(e[0],"raw").string,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=te.makeSpan(i,r,e);for(var o in t.attributes)o!=="class"&&t.attributes.hasOwnProperty(o)&&n.setAttribute(o,t.attributes[o]);return n},mathmlBuilder:(t,e)=>Ia(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 te.makeFragment(r)},mathmlBuilder:(t,e)=>Ia(t.mathml,e)});var Hb=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new Pe("Invalid size: '"+e+"' in \\includegraphics");var i={number:+(r[1]+r[2]),unit:r[3]};if(!P7(i))throw new Pe("Invalid unit: '"+i.unit+"' in \\includegraphics.");return i};Ie({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:i}=t,n={number:0,unit:"em"},o={number:.9,unit:"em"},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 r2(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 te.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=Gt(t.dimension,e);return new ke.SpaceNode(r)}});Ie({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"lap",mode:r.mode,alignment:i.slice(5),body:n}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=te.makeSpan([],[wt(t.body,e)]),r=te.makeSpan(["inner"],[r],e)):r=te.makeSpan(["inner"],[wt(t.body,e)]);var i=te.makeSpan(["fix"],[]),n=te.makeSpan([t.alignment],[r,i],e),o=te.makeSpan(["strut"]);return o.style.height=Qe(n.height+n.depth),n.depth&&(o.style.verticalAlign=Qe(-n.depth)),n.children.unshift(o),n=te.makeSpan(["thinbox"],[n],e),te.makeSpan(["mord","vbox"],[n],e)},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mpadded",[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 p7=(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=p7(t,e),i=yr(r,e,!1);return te.makeFragment(i)},mathmlBuilder:(t,e)=>{var r=p7(t,e);return Ia(r,e)}});var uT=(t,e,r,i,n,o,a)=>{t=te.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=te.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=te.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=te.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=te.makeSpan(["mspace"],[],i);w.style.marginRight=Qe(o),k.unshift(w)}return te.makeSpan(["mop","op-limits"],k,i)},fT=["\\smallint"],Kl=(t,e)=>{var r,i,n=!1,o;t.type==="supsub"?(r=t.sup,i=t.sub,o=lt(t.base,"op"),n=!0):o=lt(t,"op");var a=e.style,s=!1;a.size===Fe.DISPLAY.size&&o.symbol&&!Ke.contains(fT,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=te.makeSymbol(o.name,c,"math",e,["mop","op-symbol",s?"large-op":"small-op"]),u.length>0){var f=l.italic,d=te.staticSvg(u+"Size"+(s?"2":"1"),e);l=te.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 xi?(l=p[0],l.classes[0]="mop"):l=te.makeSpan(["mop"],p,e)}else{for(var O=[],x=1;x{var r;if(t.symbol)r=new vi("mo",[Ki(t.name,t.mode)]),Ke.contains(fT,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new vi("mo",wi(t.body,e));else{r=new vi("mi",[new $s(t.name.slice(1))]);var i=new vi("mo",[Ki("\u2061","text")]);t.parentIsSupSub?r=new vi("mrow",[r,i]):r=D7([r,i])}return r},Wj={"\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=Wj[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Kl,mathmlBuilder:Vu});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:Kl,mathmlBuilder:Vu});var Vj={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ie({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kl,mathmlBuilder:Vu});Ie({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kl,mathmlBuilder:Vu});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=Vj[i]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Kl,mathmlBuilder:Vu});var hT=(t,e)=>{var r,i,n=!1,o;t.type==="supsub"?(r=t.sup,i=t.sub,o=lt(t.base,"operatorname"),n=!0):o=lt(t,"operatorname");var 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=wi(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",[Ki("\u2061","text")]);return t.parentIsSupSub?new ke.MathNode("mrow",[l,c]):ke.newDocumentFragment([l,c])};Ie({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"operatorname",mode:r.mode,body:sr(n),alwaysHandleSupSub:i==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:hT,mathmlBuilder:Fj});R("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Is({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?te.makeFragment(yr(t.body,e,!1)):te.makeSpan(["mord"],yr(t.body,e,!0),e)},mathmlBuilder(t,e){return Ia(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=te.makeLineSpan("overline-line",e),n=e.fontMetrics().defaultRuleThickness,o=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:i},{type:"kern",size:n}]},e);return te.makeSpan(["mord","overline"],[o],e)},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[new ke.TextNode("\u203E")]);r.setAttribute("stretchy","true");var i=new ke.MathNode("mover",[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 te.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=wi(t.body,e);return new ke.MathNode("mphantom",r)}});Ie({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"hphantom",mode:r.mode,body:i}},htmlBuilder:(t,e)=>{var r=te.makeSpan([],[wt(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var i=0;i{var r=wi(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=te.makeSpan(["inner"],[wt(t.body,e.withPhantom())]),i=te.makeSpan(["fix"],[]);return te.makeSpan(["mord","rlap"],[r,i],e)},mathmlBuilder:(t,e)=>{var r=wi(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 te.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=te.makeSpan(["mord","rule"],[],e),i=Gt(t.width,e),n=Gt(t.height,e),o=t.shift?Gt(t.shift,e):0;return r.style.borderRightWidth=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 dT(t,e,r){for(var i=yr(t,e,!1),n=e.sizeMultiplier/r.sizeMultiplier,o=0;o{var r=e.havingSize(t.size);return dT(t.body,r,e)};Ie({type:"sizing",names:m7,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:i,parser:n}=t,o=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:m7.indexOf(i)+1,body:o}},htmlBuilder:Zj,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),i=wi(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=te.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=te.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=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:l},{type:"kern",size:c}]},e);if(t.index){var O=e.havingStyle(Fe.SCRIPTSCRIPT),x=wt(t.index,O,e),k=.6*(p.height-p.depth),w=te.makeVList({positionType:"shift",positionData:-k,children:[{type:"elem",elem:x}]},e),C=te.makeSpan(["root"],[w]);return te.makeSpan(["mord","sqrt"],[C,p],e)}else return te.makeSpan(["mord","sqrt"],[p],e)},mathmlBuilder(t,e){var{body:r,index:i}=t;return i?new ke.MathNode("mroot",[Mt(r,e),Mt(i,e)]):new ke.MathNode("msqrt",[Mt(r,e)])}});var O7={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=O7[t.style],i=e.havingStyle(r).withFont("");return dT(t.body,i,e)},mathmlBuilder(t,e){var r=O7[t.style],i=e.havingStyle(r),n=wi(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 Yj=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?Kl:null}else if(i.type==="operatorname"){var o=i.alwaysHandleSupSub&&(r.style.size===Fe.DISPLAY.size||i.limits);return o?hT:null}else{if(i.type==="accent")return Ke.isCharacterBox(i.base)?b2:null;if(i.type==="horizBrace"){var a=!e.sub;return a===i.isOver?cT:null}else return null}else return null};Is({type:"supsub",htmlBuilder(t,e){var r=Yj(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 $=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(a instanceof xi||$)&&(C=Qe(-a.italic))}var P;if(s&&l){u=Math.max(u,x,s.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var L=c.defaultRuleThickness,M=4*L;if(u-s.depth-(l.height-f)0&&(u+=Z,f-=Z)}var re=[{type:"elem",elem:l,shift:f,marginRight:w,marginLeft:C},{type:"elem",elem:s,shift:-u,marginRight:w}];P=te.makeVList({positionType:"individualShift",children:re},e)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var H=[{type:"elem",elem:l,marginLeft:C,marginRight:w}];P=te.makeVList({positionType:"shift",positionData:f,children:H},e)}else if(s)u=Math.max(u,x,s.depth+.25*c.xHeight),P=te.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 W=n2(a,"right")||"mord";return te.makeSpan([W],[a,te.makeSpan(["msupsub"],[P])],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 te.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[Ki(t.text,t.mode)]);if(t.family==="bin"){var i=O2(t,e);i==="bold-italic"&&r.setAttribute("mathvariant",i)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var pT={mi:"italic",mn:"normal",mtext:"normal"};Is({type:"mathord",htmlBuilder(t,e){return te.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new ke.MathNode("mi",[Ki(t.text,t.mode,e)]),i=O2(t,e)||"italic";return i!==pT[r.type]&&r.setAttribute("mathvariant",i),r}});Is({type:"textord",htmlBuilder(t,e){return te.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=Ki(t.text,t.mode,e),i=O2(t,e)||"normal",n;return t.mode==="text"?n=new ke.MathNode("mtext",[r]):/[0-9]/.test(t.text)?n=new ke.MathNode("mn",[r]):t.text==="\\prime"?n=new ke.MathNode("mo",[r]):n=new ke.MathNode("mi",[r]),i!==pT[n.type]&&n.setAttribute("mathvariant",i),n}});var Gb={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Kb={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Is({type:"spacing",htmlBuilder(t,e){if(Kb.hasOwnProperty(t.text)){var r=Kb[t.text].className||"";if(t.mode==="text"){var i=te.makeOrd(t,e,"textord");return i.classes.push(r),i}else return te.makeSpan(["mspace",r],[te.mathsym(t.text,t.mode,e)],e)}else{if(Gb.hasOwnProperty(t.text))return te.makeSpan(["mspace",Gb[t.text]],[],e);throw new Pe('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(Kb.hasOwnProperty(t.text))r=new ke.MathNode("mtext",[new ke.TextNode("\xA0")]);else{if(Gb.hasOwnProperty(t.text))return new ke.MathNode("mspace");throw new Pe('Unknown type of space "'+t.text+'"')}return r}});var g7=()=>{var t=new ke.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Is({type:"tag",mathmlBuilder(t,e){var r=new ke.MathNode("mtable",[new ke.MathNode("mtr",[g7(),new ke.MathNode("mtd",[Ia(t.body,e)]),g7(),new ke.MathNode("mtd",[Ia(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var b7={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},y7={"\\textbf":"textbf","\\textmd":"textmd"},Hj={"\\textit":"textit","\\textup":"textup"},v7=(t,e)=>{var r=t.font;return r?b7[r]?e.withTextFontFamily(b7[r]):y7[r]?e.withTextFontWeight(y7[r]):e.withTextFontShape(Hj[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=v7(t,e),i=yr(t.body,r,!0);return te.makeSpan(["mord","text"],i,r)},mathmlBuilder(t,e){var r=v7(t,e);return Ia(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=te.makeLineSpan("underline-line",e),n=e.fontMetrics().defaultRuleThickness,o=te.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:i},{type:"kern",size:3*n},{type:"elem",elem:r}]},e);return te.makeSpan(["mord","underline"],[o],e)},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[new ke.TextNode("\u203E")]);r.setAttribute("stretchy","true");var i=new ke.MathNode("munder",[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 te.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=x7(t),i=[],n=e.havingStyle(e.style.text()),o=0;ot.body.replace(/ /g,t.star?"\u2423":"\xA0"),Xa=M7,mT=`[ \r ]`,Gj="\\\\[a-zA-Z@]+",Kj="\\\\[^\uD800-\uDFFF]",Jj="("+Gj+")"+mT+"*",eB=`\\\\( |[ \r ]+ -?)[ \r ]*`,c2="[\u0300-\u036F]",tB=new RegExp(c2+"+$"),rB="("+mT+"+)|"+(eB+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(c2+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(c2+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Jj)+("|"+Kj+")"),R0=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(rB,"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 Ii(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 Ii(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 Ii(this,r,this.tokenRegex.lastIndex))}},u2=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}},iB=nT;R("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});R("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});R("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});R("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});R("\\@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}});R("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");R("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var w7={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};R("\\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=w7[e.text],i==null||i>=r)throw new Pe("Invalid base-"+r+" digit "+e.text);for(var n;(n=w7[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}),""};R("\\newcommand",t=>E2(t,!1,!0));R("\\renewcommand",t=>E2(t,!0,!1));R("\\providecommand",t=>E2(t,!0,!0));R("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});R("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});R("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),Xa[r],Dt.math[r],Dt.text[r]),""});R("\\bgroup","{");R("\\egroup","}");R("~","\\nobreakspace");R("\\lq","`");R("\\rq","'");R("\\aa","\\r a");R("\\AA","\\r A");R("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");R("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");R("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");R("\u212C","\\mathscr{B}");R("\u2130","\\mathscr{E}");R("\u2131","\\mathscr{F}");R("\u210B","\\mathscr{H}");R("\u2110","\\mathscr{I}");R("\u2112","\\mathscr{L}");R("\u2133","\\mathscr{M}");R("\u211B","\\mathscr{R}");R("\u212D","\\mathfrak{C}");R("\u210C","\\mathfrak{H}");R("\u2128","\\mathfrak{Z}");R("\\Bbbk","\\Bbb{k}");R("\xB7","\\cdotp");R("\\llap","\\mathllap{\\textrm{#1}}");R("\\rlap","\\mathrlap{\\textrm{#1}}");R("\\clap","\\mathclap{\\textrm{#1}}");R("\\mathstrut","\\vphantom{(}");R("\\underbar","\\underline{\\text{#1}}");R("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');R("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");R("\\ne","\\neq");R("\u2260","\\neq");R("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");R("\u2209","\\notin");R("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");R("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");R("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");R("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");R("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");R("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");R("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");R("\u27C2","\\perp");R("\u203C","\\mathclose{!\\mkern-0.8mu!}");R("\u220C","\\notni");R("\u231C","\\ulcorner");R("\u231D","\\urcorner");R("\u231E","\\llcorner");R("\u231F","\\lrcorner");R("\xA9","\\copyright");R("\xAE","\\textregistered");R("\uFE0F","\\textregistered");R("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');R("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');R("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');R("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');R("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");R("\u22EE","\\vdots");R("\\varGamma","\\mathit{\\Gamma}");R("\\varDelta","\\mathit{\\Delta}");R("\\varTheta","\\mathit{\\Theta}");R("\\varLambda","\\mathit{\\Lambda}");R("\\varXi","\\mathit{\\Xi}");R("\\varPi","\\mathit{\\Pi}");R("\\varSigma","\\mathit{\\Sigma}");R("\\varUpsilon","\\mathit{\\Upsilon}");R("\\varPhi","\\mathit{\\Phi}");R("\\varPsi","\\mathit{\\Psi}");R("\\varOmega","\\mathit{\\Omega}");R("\\substack","\\begin{subarray}{c}#1\\end{subarray}");R("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");R("\\boxed","\\fbox{$\\displaystyle{#1}$}");R("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");R("\\implies","\\DOTSB\\;\\Longrightarrow\\;");R("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var k7={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};R("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in k7?e=k7[r]:(r.slice(0,4)==="\\not"||r in Dt.math&&Ke.contains(["bin","rel"],Dt.math[r].group))&&(e="\\dotsb"),e});var C2={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};R("\\dotso",function(t){var e=t.future().text;return e in C2?"\\ldots\\,":"\\ldots"});R("\\dotsc",function(t){var e=t.future().text;return e in C2&&e!==","?"\\ldots\\,":"\\ldots"});R("\\cdots",function(t){var e=t.future().text;return e in C2?"\\@cdots\\,":"\\@cdots"});R("\\dotsb","\\cdots");R("\\dotsm","\\cdots");R("\\dotsi","\\!\\cdots");R("\\dotsx","\\ldots\\,");R("\\DOTSI","\\relax");R("\\DOTSB","\\relax");R("\\DOTSX","\\relax");R("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");R("\\,","\\tmspace+{3mu}{.1667em}");R("\\thinspace","\\,");R("\\>","\\mskip{4mu}");R("\\:","\\tmspace+{4mu}{.2222em}");R("\\medspace","\\:");R("\\;","\\tmspace+{5mu}{.2777em}");R("\\thickspace","\\;");R("\\!","\\tmspace-{3mu}{.1667em}");R("\\negthinspace","\\!");R("\\negmedspace","\\tmspace-{4mu}{.2222em}");R("\\negthickspace","\\tmspace-{5mu}{.277em}");R("\\enspace","\\kern.5em ");R("\\enskip","\\hskip.5em\\relax");R("\\quad","\\hskip1em\\relax");R("\\qquad","\\hskip2em\\relax");R("\\tag","\\@ifstar\\tag@literal\\tag@paren");R("\\tag@paren","\\tag@literal{({#1})}");R("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new Pe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});R("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");R("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");R("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");R("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");R("\\newline","\\\\\\relax");R("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var OT=Qe(Yn["Main-Regular"][84][1]-.7*Yn["Main-Regular"][65][1]);R("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+OT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");R("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+OT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");R("\\hspace","\\@ifstar\\@hspacer\\@hspace");R("\\@hspace","\\hskip #1\\relax");R("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");R("\\ordinarycolon",":");R("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");R("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');R("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');R("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');R("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');R("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');R("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');R("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');R("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');R("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');R("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');R("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');R("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');R("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');R("\u2237","\\dblcolon");R("\u2239","\\eqcolon");R("\u2254","\\coloneqq");R("\u2255","\\eqqcolon");R("\u2A74","\\Coloneqq");R("\\ratio","\\vcentcolon");R("\\coloncolon","\\dblcolon");R("\\colonequals","\\coloneqq");R("\\coloncolonequals","\\Coloneqq");R("\\equalscolon","\\eqqcolon");R("\\equalscoloncolon","\\Eqqcolon");R("\\colonminus","\\coloneq");R("\\coloncolonminus","\\Coloneq");R("\\minuscolon","\\eqcolon");R("\\minuscoloncolon","\\Eqcolon");R("\\coloncolonapprox","\\Colonapprox");R("\\coloncolonsim","\\Colonsim");R("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");R("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");R("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");R("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");R("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");R("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");R("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");R("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");R("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");R("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");R("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");R("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");R("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");R("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");R("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");R("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");R("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");R("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");R("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");R("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");R("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");R("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");R("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");R("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");R("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");R("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");R("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");R("\\imath","\\html@mathml{\\@imath}{\u0131}");R("\\jmath","\\html@mathml{\\@jmath}{\u0237}");R("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");R("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");R("\u27E6","\\llbracket");R("\u27E7","\\rrbracket");R("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");R("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");R("\u2983","\\lBrace");R("\u2984","\\rBrace");R("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");R("\u29B5","\\minuso");R("\\darr","\\downarrow");R("\\dArr","\\Downarrow");R("\\Darr","\\Downarrow");R("\\lang","\\langle");R("\\rang","\\rangle");R("\\uarr","\\uparrow");R("\\uArr","\\Uparrow");R("\\Uarr","\\Uparrow");R("\\N","\\mathbb{N}");R("\\R","\\mathbb{R}");R("\\Z","\\mathbb{Z}");R("\\alef","\\aleph");R("\\alefsym","\\aleph");R("\\Alpha","\\mathrm{A}");R("\\Beta","\\mathrm{B}");R("\\bull","\\bullet");R("\\Chi","\\mathrm{X}");R("\\clubs","\\clubsuit");R("\\cnums","\\mathbb{C}");R("\\Complex","\\mathbb{C}");R("\\Dagger","\\ddagger");R("\\diamonds","\\diamondsuit");R("\\empty","\\emptyset");R("\\Epsilon","\\mathrm{E}");R("\\Eta","\\mathrm{H}");R("\\exist","\\exists");R("\\harr","\\leftrightarrow");R("\\hArr","\\Leftrightarrow");R("\\Harr","\\Leftrightarrow");R("\\hearts","\\heartsuit");R("\\image","\\Im");R("\\infin","\\infty");R("\\Iota","\\mathrm{I}");R("\\isin","\\in");R("\\Kappa","\\mathrm{K}");R("\\larr","\\leftarrow");R("\\lArr","\\Leftarrow");R("\\Larr","\\Leftarrow");R("\\lrarr","\\leftrightarrow");R("\\lrArr","\\Leftrightarrow");R("\\Lrarr","\\Leftrightarrow");R("\\Mu","\\mathrm{M}");R("\\natnums","\\mathbb{N}");R("\\Nu","\\mathrm{N}");R("\\Omicron","\\mathrm{O}");R("\\plusmn","\\pm");R("\\rarr","\\rightarrow");R("\\rArr","\\Rightarrow");R("\\Rarr","\\Rightarrow");R("\\real","\\Re");R("\\reals","\\mathbb{R}");R("\\Reals","\\mathbb{R}");R("\\Rho","\\mathrm{P}");R("\\sdot","\\cdot");R("\\sect","\\S");R("\\spades","\\spadesuit");R("\\sub","\\subset");R("\\sube","\\subseteq");R("\\supe","\\supseteq");R("\\Tau","\\mathrm{T}");R("\\thetasym","\\vartheta");R("\\weierp","\\wp");R("\\Zeta","\\mathrm{Z}");R("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");R("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");R("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");R("\\bra","\\mathinner{\\langle{#1}|}");R("\\ket","\\mathinner{|{#1}\\rangle}");R("\\braket","\\mathinner{\\langle{#1}\\rangle}");R("\\Bra","\\left\\langle#1\\right|");R("\\Ket","\\left|#1\\right\\rangle");var gT=t=>e=>{var r=e.consumeArg().tokens,i=e.consumeArg().tokens,n=e.consumeArg().tokens,o=e.consumeArg().tokens,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}};R("\\bra@ket",gT(!1));R("\\bra@set",gT(!0));R("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");R("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");R("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");R("\\angln","{\\angl n}");R("\\blue","\\textcolor{##6495ed}{#1}");R("\\orange","\\textcolor{##ffa500}{#1}");R("\\pink","\\textcolor{##ff00af}{#1}");R("\\red","\\textcolor{##df0030}{#1}");R("\\green","\\textcolor{##28ae7b}{#1}");R("\\gray","\\textcolor{gray}{#1}");R("\\purple","\\textcolor{##9d38bd}{#1}");R("\\blueA","\\textcolor{##ccfaff}{#1}");R("\\blueB","\\textcolor{##80f6ff}{#1}");R("\\blueC","\\textcolor{##63d9ea}{#1}");R("\\blueD","\\textcolor{##11accd}{#1}");R("\\blueE","\\textcolor{##0c7f99}{#1}");R("\\tealA","\\textcolor{##94fff5}{#1}");R("\\tealB","\\textcolor{##26edd5}{#1}");R("\\tealC","\\textcolor{##01d1c1}{#1}");R("\\tealD","\\textcolor{##01a995}{#1}");R("\\tealE","\\textcolor{##208170}{#1}");R("\\greenA","\\textcolor{##b6ffb0}{#1}");R("\\greenB","\\textcolor{##8af281}{#1}");R("\\greenC","\\textcolor{##74cf70}{#1}");R("\\greenD","\\textcolor{##1fab54}{#1}");R("\\greenE","\\textcolor{##0d923f}{#1}");R("\\goldA","\\textcolor{##ffd0a9}{#1}");R("\\goldB","\\textcolor{##ffbb71}{#1}");R("\\goldC","\\textcolor{##ff9c39}{#1}");R("\\goldD","\\textcolor{##e07d10}{#1}");R("\\goldE","\\textcolor{##a75a05}{#1}");R("\\redA","\\textcolor{##fca9a9}{#1}");R("\\redB","\\textcolor{##ff8482}{#1}");R("\\redC","\\textcolor{##f9685d}{#1}");R("\\redD","\\textcolor{##e84d39}{#1}");R("\\redE","\\textcolor{##bc2612}{#1}");R("\\maroonA","\\textcolor{##ffbde0}{#1}");R("\\maroonB","\\textcolor{##ff92c6}{#1}");R("\\maroonC","\\textcolor{##ed5fa6}{#1}");R("\\maroonD","\\textcolor{##ca337c}{#1}");R("\\maroonE","\\textcolor{##9e034e}{#1}");R("\\purpleA","\\textcolor{##ddd7ff}{#1}");R("\\purpleB","\\textcolor{##c6b9fc}{#1}");R("\\purpleC","\\textcolor{##aa87ff}{#1}");R("\\purpleD","\\textcolor{##7854ab}{#1}");R("\\purpleE","\\textcolor{##543b78}{#1}");R("\\mintA","\\textcolor{##f5f9e8}{#1}");R("\\mintB","\\textcolor{##edf2df}{#1}");R("\\mintC","\\textcolor{##e0e5cc}{#1}");R("\\grayA","\\textcolor{##f6f7f7}{#1}");R("\\grayB","\\textcolor{##f0f1f2}{#1}");R("\\grayC","\\textcolor{##e3e5e6}{#1}");R("\\grayD","\\textcolor{##d6d8da}{#1}");R("\\grayE","\\textcolor{##babec2}{#1}");R("\\grayF","\\textcolor{##888d93}{#1}");R("\\grayG","\\textcolor{##626569}{#1}");R("\\grayH","\\textcolor{##3b3e40}{#1}");R("\\grayI","\\textcolor{##21242c}{#1}");R("\\kaBlue","\\textcolor{##314453}{#1}");R("\\kaGreen","\\textcolor{##71B307}{#1}");var bT={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},f2=class{constructor(e,r,i){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(e),this.macros=new u2(iB,r.macros),this.mode=i,this.stack=[]}feed(e){this.lexer=new R0(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 R0(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)||Xa.hasOwnProperty(e)||Dt.math.hasOwnProperty(e)||Dt.text.hasOwnProperty(e)||bT.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Xa.hasOwnProperty(e)&&!Xa[e].primitive}},S7=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,T0=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),Jb={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},T7={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},I0=class t{constructor(e,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new f2(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new Pe("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Hn("}")),this.gullet.pushTokens(e);var i=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,i}parseExpression(e,r){for(var i=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(t.endOfExpression.indexOf(n.text)!==-1||r&&n.text===r||e&&Xa[n.text]&&Xa[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=Ii.range(e),c;if(Zq.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&&(C7(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),a={type:"textord",mode:"text",loc:Ii.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}},iB=nT;R("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});R("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});R("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});R("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});R("\\@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}});R("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");R("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var w7={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};R("\\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=w7[e.text],i==null||i>=r)throw new Pe("Invalid base-"+r+" digit "+e.text);for(var n;(n=w7[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}),""};R("\\newcommand",t=>E2(t,!1,!0));R("\\renewcommand",t=>E2(t,!0,!1));R("\\providecommand",t=>E2(t,!0,!0));R("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});R("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});R("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),Xa[r],Dt.math[r],Dt.text[r]),""});R("\\bgroup","{");R("\\egroup","}");R("~","\\nobreakspace");R("\\lq","`");R("\\rq","'");R("\\aa","\\r a");R("\\AA","\\r A");R("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");R("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");R("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");R("\u212C","\\mathscr{B}");R("\u2130","\\mathscr{E}");R("\u2131","\\mathscr{F}");R("\u210B","\\mathscr{H}");R("\u2110","\\mathscr{I}");R("\u2112","\\mathscr{L}");R("\u2133","\\mathscr{M}");R("\u211B","\\mathscr{R}");R("\u212D","\\mathfrak{C}");R("\u210C","\\mathfrak{H}");R("\u2128","\\mathfrak{Z}");R("\\Bbbk","\\Bbb{k}");R("\xB7","\\cdotp");R("\\llap","\\mathllap{\\textrm{#1}}");R("\\rlap","\\mathrlap{\\textrm{#1}}");R("\\clap","\\mathclap{\\textrm{#1}}");R("\\mathstrut","\\vphantom{(}");R("\\underbar","\\underline{\\text{#1}}");R("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');R("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");R("\\ne","\\neq");R("\u2260","\\neq");R("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");R("\u2209","\\notin");R("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");R("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");R("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");R("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");R("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");R("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");R("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");R("\u27C2","\\perp");R("\u203C","\\mathclose{!\\mkern-0.8mu!}");R("\u220C","\\notni");R("\u231C","\\ulcorner");R("\u231D","\\urcorner");R("\u231E","\\llcorner");R("\u231F","\\lrcorner");R("\xA9","\\copyright");R("\xAE","\\textregistered");R("\uFE0F","\\textregistered");R("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');R("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');R("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');R("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');R("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");R("\u22EE","\\vdots");R("\\varGamma","\\mathit{\\Gamma}");R("\\varDelta","\\mathit{\\Delta}");R("\\varTheta","\\mathit{\\Theta}");R("\\varLambda","\\mathit{\\Lambda}");R("\\varXi","\\mathit{\\Xi}");R("\\varPi","\\mathit{\\Pi}");R("\\varSigma","\\mathit{\\Sigma}");R("\\varUpsilon","\\mathit{\\Upsilon}");R("\\varPhi","\\mathit{\\Phi}");R("\\varPsi","\\mathit{\\Psi}");R("\\varOmega","\\mathit{\\Omega}");R("\\substack","\\begin{subarray}{c}#1\\end{subarray}");R("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");R("\\boxed","\\fbox{$\\displaystyle{#1}$}");R("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");R("\\implies","\\DOTSB\\;\\Longrightarrow\\;");R("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var k7={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};R("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in k7?e=k7[r]:(r.slice(0,4)==="\\not"||r in Dt.math&&Ke.contains(["bin","rel"],Dt.math[r].group))&&(e="\\dotsb"),e});var C2={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};R("\\dotso",function(t){var e=t.future().text;return e in C2?"\\ldots\\,":"\\ldots"});R("\\dotsc",function(t){var e=t.future().text;return e in C2&&e!==","?"\\ldots\\,":"\\ldots"});R("\\cdots",function(t){var e=t.future().text;return e in C2?"\\@cdots\\,":"\\@cdots"});R("\\dotsb","\\cdots");R("\\dotsm","\\cdots");R("\\dotsi","\\!\\cdots");R("\\dotsx","\\ldots\\,");R("\\DOTSI","\\relax");R("\\DOTSB","\\relax");R("\\DOTSX","\\relax");R("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");R("\\,","\\tmspace+{3mu}{.1667em}");R("\\thinspace","\\,");R("\\>","\\mskip{4mu}");R("\\:","\\tmspace+{4mu}{.2222em}");R("\\medspace","\\:");R("\\;","\\tmspace+{5mu}{.2777em}");R("\\thickspace","\\;");R("\\!","\\tmspace-{3mu}{.1667em}");R("\\negthinspace","\\!");R("\\negmedspace","\\tmspace-{4mu}{.2222em}");R("\\negthickspace","\\tmspace-{5mu}{.277em}");R("\\enspace","\\kern.5em ");R("\\enskip","\\hskip.5em\\relax");R("\\quad","\\hskip1em\\relax");R("\\qquad","\\hskip2em\\relax");R("\\tag","\\@ifstar\\tag@literal\\tag@paren");R("\\tag@paren","\\tag@literal{({#1})}");R("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new Pe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});R("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");R("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");R("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");R("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");R("\\newline","\\\\\\relax");R("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var OT=Qe(Yn["Main-Regular"][84][1]-.7*Yn["Main-Regular"][65][1]);R("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+OT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");R("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+OT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");R("\\hspace","\\@ifstar\\@hspacer\\@hspace");R("\\@hspace","\\hskip #1\\relax");R("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");R("\\ordinarycolon",":");R("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");R("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');R("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');R("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');R("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');R("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');R("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');R("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');R("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');R("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');R("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');R("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');R("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');R("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');R("\u2237","\\dblcolon");R("\u2239","\\eqcolon");R("\u2254","\\coloneqq");R("\u2255","\\eqqcolon");R("\u2A74","\\Coloneqq");R("\\ratio","\\vcentcolon");R("\\coloncolon","\\dblcolon");R("\\colonequals","\\coloneqq");R("\\coloncolonequals","\\Coloneqq");R("\\equalscolon","\\eqqcolon");R("\\equalscoloncolon","\\Eqqcolon");R("\\colonminus","\\coloneq");R("\\coloncolonminus","\\Coloneq");R("\\minuscolon","\\eqcolon");R("\\minuscoloncolon","\\Eqcolon");R("\\coloncolonapprox","\\Colonapprox");R("\\coloncolonsim","\\Colonsim");R("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");R("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");R("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");R("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");R("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");R("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");R("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");R("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");R("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");R("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");R("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");R("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");R("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");R("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");R("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");R("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");R("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");R("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");R("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");R("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");R("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");R("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");R("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");R("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");R("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");R("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");R("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");R("\\imath","\\html@mathml{\\@imath}{\u0131}");R("\\jmath","\\html@mathml{\\@jmath}{\u0237}");R("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");R("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");R("\u27E6","\\llbracket");R("\u27E7","\\rrbracket");R("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");R("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");R("\u2983","\\lBrace");R("\u2984","\\rBrace");R("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");R("\u29B5","\\minuso");R("\\darr","\\downarrow");R("\\dArr","\\Downarrow");R("\\Darr","\\Downarrow");R("\\lang","\\langle");R("\\rang","\\rangle");R("\\uarr","\\uparrow");R("\\uArr","\\Uparrow");R("\\Uarr","\\Uparrow");R("\\N","\\mathbb{N}");R("\\R","\\mathbb{R}");R("\\Z","\\mathbb{Z}");R("\\alef","\\aleph");R("\\alefsym","\\aleph");R("\\Alpha","\\mathrm{A}");R("\\Beta","\\mathrm{B}");R("\\bull","\\bullet");R("\\Chi","\\mathrm{X}");R("\\clubs","\\clubsuit");R("\\cnums","\\mathbb{C}");R("\\Complex","\\mathbb{C}");R("\\Dagger","\\ddagger");R("\\diamonds","\\diamondsuit");R("\\empty","\\emptyset");R("\\Epsilon","\\mathrm{E}");R("\\Eta","\\mathrm{H}");R("\\exist","\\exists");R("\\harr","\\leftrightarrow");R("\\hArr","\\Leftrightarrow");R("\\Harr","\\Leftrightarrow");R("\\hearts","\\heartsuit");R("\\image","\\Im");R("\\infin","\\infty");R("\\Iota","\\mathrm{I}");R("\\isin","\\in");R("\\Kappa","\\mathrm{K}");R("\\larr","\\leftarrow");R("\\lArr","\\Leftarrow");R("\\Larr","\\Leftarrow");R("\\lrarr","\\leftrightarrow");R("\\lrArr","\\Leftrightarrow");R("\\Lrarr","\\Leftrightarrow");R("\\Mu","\\mathrm{M}");R("\\natnums","\\mathbb{N}");R("\\Nu","\\mathrm{N}");R("\\Omicron","\\mathrm{O}");R("\\plusmn","\\pm");R("\\rarr","\\rightarrow");R("\\rArr","\\Rightarrow");R("\\Rarr","\\Rightarrow");R("\\real","\\Re");R("\\reals","\\mathbb{R}");R("\\Reals","\\mathbb{R}");R("\\Rho","\\mathrm{P}");R("\\sdot","\\cdot");R("\\sect","\\S");R("\\spades","\\spadesuit");R("\\sub","\\subset");R("\\sube","\\subseteq");R("\\supe","\\supseteq");R("\\Tau","\\mathrm{T}");R("\\thetasym","\\vartheta");R("\\weierp","\\wp");R("\\Zeta","\\mathrm{Z}");R("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");R("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");R("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");R("\\bra","\\mathinner{\\langle{#1}|}");R("\\ket","\\mathinner{|{#1}\\rangle}");R("\\braket","\\mathinner{\\langle{#1}\\rangle}");R("\\Bra","\\left\\langle#1\\right|");R("\\Ket","\\left|#1\\right\\rangle");var gT=t=>e=>{var r=e.consumeArg().tokens,i=e.consumeArg().tokens,n=e.consumeArg().tokens,o=e.consumeArg().tokens,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}};R("\\bra@ket",gT(!1));R("\\bra@set",gT(!0));R("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");R("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");R("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");R("\\angln","{\\angl n}");R("\\blue","\\textcolor{##6495ed}{#1}");R("\\orange","\\textcolor{##ffa500}{#1}");R("\\pink","\\textcolor{##ff00af}{#1}");R("\\red","\\textcolor{##df0030}{#1}");R("\\green","\\textcolor{##28ae7b}{#1}");R("\\gray","\\textcolor{gray}{#1}");R("\\purple","\\textcolor{##9d38bd}{#1}");R("\\blueA","\\textcolor{##ccfaff}{#1}");R("\\blueB","\\textcolor{##80f6ff}{#1}");R("\\blueC","\\textcolor{##63d9ea}{#1}");R("\\blueD","\\textcolor{##11accd}{#1}");R("\\blueE","\\textcolor{##0c7f99}{#1}");R("\\tealA","\\textcolor{##94fff5}{#1}");R("\\tealB","\\textcolor{##26edd5}{#1}");R("\\tealC","\\textcolor{##01d1c1}{#1}");R("\\tealD","\\textcolor{##01a995}{#1}");R("\\tealE","\\textcolor{##208170}{#1}");R("\\greenA","\\textcolor{##b6ffb0}{#1}");R("\\greenB","\\textcolor{##8af281}{#1}");R("\\greenC","\\textcolor{##74cf70}{#1}");R("\\greenD","\\textcolor{##1fab54}{#1}");R("\\greenE","\\textcolor{##0d923f}{#1}");R("\\goldA","\\textcolor{##ffd0a9}{#1}");R("\\goldB","\\textcolor{##ffbb71}{#1}");R("\\goldC","\\textcolor{##ff9c39}{#1}");R("\\goldD","\\textcolor{##e07d10}{#1}");R("\\goldE","\\textcolor{##a75a05}{#1}");R("\\redA","\\textcolor{##fca9a9}{#1}");R("\\redB","\\textcolor{##ff8482}{#1}");R("\\redC","\\textcolor{##f9685d}{#1}");R("\\redD","\\textcolor{##e84d39}{#1}");R("\\redE","\\textcolor{##bc2612}{#1}");R("\\maroonA","\\textcolor{##ffbde0}{#1}");R("\\maroonB","\\textcolor{##ff92c6}{#1}");R("\\maroonC","\\textcolor{##ed5fa6}{#1}");R("\\maroonD","\\textcolor{##ca337c}{#1}");R("\\maroonE","\\textcolor{##9e034e}{#1}");R("\\purpleA","\\textcolor{##ddd7ff}{#1}");R("\\purpleB","\\textcolor{##c6b9fc}{#1}");R("\\purpleC","\\textcolor{##aa87ff}{#1}");R("\\purpleD","\\textcolor{##7854ab}{#1}");R("\\purpleE","\\textcolor{##543b78}{#1}");R("\\mintA","\\textcolor{##f5f9e8}{#1}");R("\\mintB","\\textcolor{##edf2df}{#1}");R("\\mintC","\\textcolor{##e0e5cc}{#1}");R("\\grayA","\\textcolor{##f6f7f7}{#1}");R("\\grayB","\\textcolor{##f0f1f2}{#1}");R("\\grayC","\\textcolor{##e3e5e6}{#1}");R("\\grayD","\\textcolor{##d6d8da}{#1}");R("\\grayE","\\textcolor{##babec2}{#1}");R("\\grayF","\\textcolor{##888d93}{#1}");R("\\grayG","\\textcolor{##626569}{#1}");R("\\grayH","\\textcolor{##3b3e40}{#1}");R("\\grayI","\\textcolor{##21242c}{#1}");R("\\kaBlue","\\textcolor{##314453}{#1}");R("\\kaGreen","\\textcolor{##71B307}{#1}");var bT={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},f2=class{constructor(e,r,i){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(e),this.macros=new u2(iB,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)||Xa.hasOwnProperty(e)||Dt.math.hasOwnProperty(e)||Dt.text.hasOwnProperty(e)||bT.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Xa.hasOwnProperty(e)&&!Xa[e].primitive}},S7=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,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"}),Jb={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},T7={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},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 f2(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new Pe("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Hn("}")),this.gullet.pushTokens(e);var i=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,i}parseExpression(e,r){for(var i=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(t.endOfExpression.indexOf(n.text)!==-1||r&&n.text===r||e&&Xa[n.text]&&Xa[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=Ii.range(e),c;if(Zq.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&&(C7(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),a={type:"textord",mode:"text",loc:Ii.range(e),text:r};else return null;if(this.consume(),o)for(var f=0;f-1&&t.test(String.fromCharCode(r))}}function Ji(t){let e=[],r=-1,i=0,n=0;for(;++r55295&&o<57344){let 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 ET(t,e){let r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=String(e.identifier).toUpperCase(),n=Ji(i.toLowerCase()),o=t.footnoteOrder.indexOf(i),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 CT(t,e){let r={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function PT(t,e){if(t.options.allowDangerousHtml){let r={type:"raw",value:e.value};return t.patch(e,r),t.applyData(e,r)}}function 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 _T(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return j0(t,e);let n={src:Ji(i.url||""),alt:e.alt};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,o),t.applyData(e,o)}function AT(t,e){let r={src:Ji(e.url)};e.alt!==null&&e.alt!==void 0&&(r.alt=e.alt),e.title!==null&&e.title!==void 0&&(r.title=e.title);let i={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,i),t.applyData(e,i)}function QT(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 $T(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return j0(t,e);let n={href:Ji(i.url||"")};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)}function XT(t,e){let r={href:Ji(e.url)};e.title!==null&&e.title!==void 0&&(r.title=e.title);let i={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function RT(t,e,r){let i=t.all(e),n=r?lB(r):IT(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 Ji(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 ET(t,e){let r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=String(e.identifier).toUpperCase(),n=Ji(i.toLowerCase()),o=t.footnoteOrder.indexOf(i),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 CT(t,e){let r={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function PT(t,e){if(t.options.allowDangerousHtml){let r={type:"raw",value:e.value};return t.patch(e,r),t.applyData(e,r)}}function B0(t,e){let r=e.referenceType,i="]";if(r==="collapsed"?i+="[]":r==="full"&&(i+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+i}];let n=t.all(e),o=n[0];o&&o.type==="text"?o.value="["+o.value:n.unshift({type:"text",value:"["});let a=n[n.length-1];return a&&a.type==="text"?a.value+=i:n.push({type:"text",value:i}),n}function _T(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return B0(t,e);let n={src:Ji(i.url||""),alt:e.alt};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,o),t.applyData(e,o)}function AT(t,e){let r={src:Ji(e.url)};e.alt!==null&&e.alt!==void 0&&(r.alt=e.alt),e.title!==null&&e.title!==void 0&&(r.title=e.title);let i={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,i),t.applyData(e,i)}function QT(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 $T(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return B0(t,e);let n={href:Ji(i.url||"")};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)}function XT(t,e){let r={href:Ji(e.url)};e.title!==null&&e.title!==void 0&&(r.title=e.title);let i={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function RT(t,e,r){let i=t.all(e),n=r?lB(r):IT(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 LT(t,e){let r={},i=t.all(e),n=-1;for(typeof e.start=="number"&&e.start!==1&&(r.start=e.start);++n0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function Fu(t){let e=en(t),r=Ls(t);if(e&&r)return{start:e,end:r}}function UT(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=en(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 qT(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(BT(e.slice(n),n>0,!1)),o.join("")}function BT(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 VT(t,e){let r={type:"text",value:WT(String(e.value))};return t.patch(e,r),t.applyData(e,r)}function FT(t,e){let r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,r),t.applyData(e,r)}var ZT={blockquote:xT,break:wT,code:kT,delete:ST,emphasis:TT,footnoteReference:ET,heading:CT,html:PT,imageReference:_T,image:AT,inlineCode:QT,linkReference:$T,link:XT,listItem:RT,list:LT,paragraph:MT,root:zT,strong:DT,table:UT,tableCell:jT,tableRow:qT,text:VT,thematicBreak:FT,toml:B0,yaml:B0,definition:B0,footnoteDefinition:B0};function B0(){}var YT=typeof self=="object"?self:globalThis,cB=(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 YT[s](l),n)}case 8:return r(BigInt(a),n);case"BigInt":return r(Object(BigInt(a)),n)}return r(new YT[o](a),n)};return i},I2=t=>cB(new Map,t)(0);var Jl="",{toString:uB}={},{keys:fB}=Object,Gu=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let r=uB.call(t).slice(8,-1);switch(r){case"Array":return[1,Jl];case"Object":return[2,Jl];case"Date":return[3,Jl];case"RegExp":return[4,Jl];case"Map":return[5,Jl];case"Set":return[6,Jl]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},Y0=([t,e])=>t===0&&(e==="function"||e==="symbol"),hB=(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]=Gu(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 fB(a))(t||!Y0(Gu(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||!(Y0(Gu(d))||Y0(Gu(p))))&&u.push([o(d),o(p)]);return f}case 6:{let u=[],f=n([s,u],a);for(let d of a)(t||!Y0(Gu(d)))&&u.push(o(d));return f}}let{message:c}=a;return n([s,{name:l,message:c}],a)};return o},L2=(t,{json:e,lossy:r}={})=>{let i=[];return hB(!(e||r),!!e,new Map,i)(t),i};var xn=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?I2(L2(t,e)):structuredClone(t):(t,e)=>I2(L2(t,e));function dB(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 pB(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function HT(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||dB,i=t.options.footnoteBackLabel||pB,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:je(ne({},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 lB(t){let e=!1;if(t.type==="list"){e=t.spread||!1;let r=t.children,i=-1;for(;!e&&++i1:e}function LT(t,e){let r={},i=t.all(e),n=-1;for(typeof e.start=="number"&&e.start!==1&&(r.start=e.start);++n0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function Fu(t){let e=en(t),r=Ls(t);if(e&&r)return{start:e,end:r}}function UT(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=en(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 qT(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(BT(e.slice(n),n>0,!1)),o.join("")}function BT(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 VT(t,e){let r={type:"text",value:WT(String(e.value))};return t.patch(e,r),t.applyData(e,r)}function FT(t,e){let r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,r),t.applyData(e,r)}var ZT={blockquote:xT,break:wT,code:kT,delete:ST,emphasis:TT,footnoteReference:ET,heading:CT,html:PT,imageReference:_T,image:AT,inlineCode:QT,linkReference:$T,link:XT,listItem:RT,list:LT,paragraph:MT,root:zT,strong:DT,table:UT,tableCell:jT,tableRow:qT,text:VT,thematicBreak:FT,toml:W0,yaml:W0,definition:W0,footnoteDefinition:W0};function W0(){}var YT=typeof self=="object"?self:globalThis,cB=(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 YT[s](l),n)}case 8:return r(BigInt(a),n);case"BigInt":return r(Object(BigInt(a)),n)}return r(new YT[o](a),n)};return i},I2=t=>cB(new Map,t)(0);var Jl="",{toString:uB}={},{keys:fB}=Object,Gu=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let r=uB.call(t).slice(8,-1);switch(r){case"Array":return[1,Jl];case"Object":return[2,Jl];case"Date":return[3,Jl];case"RegExp":return[4,Jl];case"Map":return[5,Jl];case"Set":return[6,Jl]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},H0=([t,e])=>t===0&&(e==="function"||e==="symbol"),hB=(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]=Gu(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 fB(a))(t||!H0(Gu(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(Gu(d))||H0(Gu(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(Gu(d)))&&u.push(o(d));return f}}let{message:c}=a;return n([s,{name:l,message:c}],a)};return o},L2=(t,{json:e,lossy:r}={})=>{let i=[];return hB(!(e||r),!!e,new Map,i)(t),i};var xn=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?I2(L2(t,e)):structuredClone(t):(t,e)=>I2(L2(t,e));function dB(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 pB(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function HT(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||dB,i=t.options.footnoteBackLabel||pB,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:je(ne({},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 M2={}.hasOwnProperty,mB={};function KT(t,e){let r=e||mB,i=new Map,n=new Map,o=new Map,a=ne(ne({},ZT),r.handlers),s={all:c,applyData:gB,definitionById:i,footnoteById:n,footnoteCounts:o,footnoteOrder:[],handlers:a,one:l,options:r,patch:OB,wrap:yB};return Fr(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(M2.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||bB)(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 GT(t){let e=0,r=t.charCodeAt(e);for(;r===9||r===32;)e++,r=t.charCodeAt(e);return t.slice(e)}function H0(t,e){let r=KT(t,e),i=r.one(t,void 0),n=HT(r),o=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return n&&("children"in o,o.children.push({type:"text",value:` -`},n)),o}function G0(t,e){return t&&"run"in t?async function(r,i){let n=H0(r,ne({file:i},e));await t.run(n,i)}:function(r,i){return H0(r,ne({file:i},e||t))}}var Ro=class{constructor(e,r,i){this.property=e,this.normal=r,i&&(this.space=i)}};Ro.prototype.property={};Ro.prototype.normal={};Ro.prototype.space=null;function z2(t,e){let r={},i={},n=-1;for(;++nit,booleanish:()=>nr,commaOrSpaceSeparated:()=>ki,commaSeparated:()=>za,number:()=>Ee,overloadedBoolean:()=>D2,spaceSeparated:()=>_t});var vB=0,it=Ms(),nr=Ms(),D2=Ms(),Ee=Ms(),_t=Ms(),za=Ms(),ki=Ms();function Ms(){return 2**++vB}var N2=Object.keys(Ku),zs=class extends Yr{constructor(e,r,i,n){let o=-1;if(super(e,r),JT(this,"space",n),typeof i=="number")for(;++o4&&r.slice(0,4)==="data"&&wB.test(e)){if(e.charAt(4)==="-"){let o=e.slice(5).replace(r8,TB);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=e.slice(4);if(!r8.test(o)){let a=o.replace(kB,SB);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}n=zs}return new n(i,e)}function SB(t){return"-"+t.toLowerCase()}function TB(t){return t.charAt(1).toUpperCase()}var Mo=z2([q2,U2,j2,B2,e8],"html"),rn=z2([q2,U2,j2,B2,t8],"svg");function W2(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 ep(t,e){let r=e||{};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}var i8=/[#.]/g;function V2(t,e){let r=t||"",i={},n=0,o,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 u8(t){return t>=56320&&t<=57343}function f8(t,e){return(t-55296)*1024+9216+e}function op(t){return t!==32&&t!==10&&t!==13&&t!==9&&t!==12&&t>=1&&t<=31||t>=127&&t<=159}function ap(t){return t>=64976&&t<=65007||jB.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 WB=65536,sp=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=WB,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:r,col:i,offset:n}=this;return{code:e,startLine:r,endLine:r,startCol:i,endCol:i,startOffset:n,endOffset:n}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let r=this.html.charCodeAt(this.pos+1);if(u8(r))return this.pos++,this._addGap(),f8(e,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,I.EOF;return this._err(le.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,r){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,r){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(e,this.pos);for(let i=0;i=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,I.EOF;let i=this.html.charCodeAt(r);return i===I.CARRIAGE_RETURN?I.LINE_FEED:i}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,I.EOF;let e=this.html.charCodeAt(this.pos);return e===I.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,I.LINE_FEED):e===I.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,np(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===I.LINE_FEED||e===I.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){op(e)?this._err(le.controlCharacterInInputStream):ap(e)&&this._err(le.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.posht,getTokenAttr:()=>rf});var ht;(function(t){t[t.CHARACTER=0]="CHARACTER",t[t.NULL_CHARACTER=1]="NULL_CHARACTER",t[t.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",t[t.START_TAG=3]="START_TAG",t[t.END_TAG=4]="END_TAG",t[t.COMMENT=5]="COMMENT",t[t.DOCTYPE=6]="DOCTYPE",t[t.EOF=7]="EOF",t[t.HIBERNATION=8]="HIBERNATION"})(ht=ht||(ht={}));function rf(t,e){for(let r=t.attrs.length-1;r>=0;r--)if(t.attrs[r].name===e)return t.attrs[r].value;return null}var to=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(t=>t.charCodeAt(0)));var h8=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(t=>t.charCodeAt(0)));var r4,VB=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]]),i4=(r4=String.fromCodePoint)!==null&&r4!==void 0?r4: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 n4(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=VB.get(t))!==null&&e!==void 0?e:t}var Sr;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Sr||(Sr={}));var FB=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 o4(t){return t>=Sr.ZERO&&t<=Sr.NINE}function ZB(t){return t>=Sr.UPPER_A&&t<=Sr.UPPER_F||t>=Sr.LOWER_A&&t<=Sr.LOWER_F}function YB(t){return t>=Sr.UPPER_A&&t<=Sr.UPPER_Z||t>=Sr.LOWER_A&&t<=Sr.LOWER_Z||o4(t)}function HB(t){return t===Sr.EQUALS||YB(t)}var kr;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(kr||(kr={}));var Ds;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Ds||(Ds={}));var a4=class{constructor(e,r,i){this.decodeTree=e,this.emitCodePoint=r,this.errors=i,this.state=kr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ds.Strict}startEntity(e){this.decodeMode=e,this.state=kr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case kr.EntityStart:return e.charCodeAt(r)===Sr.NUM?(this.state=kr.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=kr.NamedEntity,this.stateNamedEntity(e,r));case kr.NumericStart:return this.stateNumericStart(e,r);case kr.NumericDecimal:return this.stateNumericDecimal(e,r);case kr.NumericHex:return this.stateNumericHex(e,r);case kr.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(e.charCodeAt(r)|FB)===Sr.LOWER_X?(this.state=kr.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=kr.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,i,n){if(r!==i){let o=i-r;this.result=this.result*Math.pow(n,o)+parseInt(e.substr(r,o),n),this.consumed+=o}}stateNumericHex(e,r){let i=r;for(;r>14;for(;r>14,o!==0){if(a===Sr.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 kr.NamedEntity:return this.result!==0&&(this.decodeMode!==Ds.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case kr.NumericDecimal:return this.emitNumericEntity(0,2);case kr.NumericHex:return this.emitNumericEntity(0,3);case kr.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case kr.EntityStart:return 0}}};function d8(t){let e="",r=new a4(t,i=>e+=i4(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 s4(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 H4e=d8(to),G4e=d8(h8);var rc={};au(rc,{ATTRS:()=>kn,DOCUMENT_MODE:()=>Rr,NS:()=>Oe,SPECIAL_ELEMENTS:()=>l4,TAG_ID:()=>g,TAG_NAMES:()=>J,getTagID:()=>Da,hasUnescapedText:()=>p8,isNumberedHeader:()=>nf});var Oe;(function(t){t.HTML="http://www.w3.org/1999/xhtml",t.MATHML="http://www.w3.org/1998/Math/MathML",t.SVG="http://www.w3.org/2000/svg",t.XLINK="http://www.w3.org/1999/xlink",t.XML="http://www.w3.org/XML/1998/namespace",t.XMLNS="http://www.w3.org/2000/xmlns/"})(Oe=Oe||(Oe={}));var kn;(function(t){t.TYPE="type",t.ACTION="action",t.ENCODING="encoding",t.PROMPT="prompt",t.NAME="name",t.COLOR="color",t.FACE="face",t.SIZE="size"})(kn=kn||(kn={}));var Rr;(function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"})(Rr=Rr||(Rr={}));var J;(function(t){t.A="a",t.ADDRESS="address",t.ANNOTATION_XML="annotation-xml",t.APPLET="applet",t.AREA="area",t.ARTICLE="article",t.ASIDE="aside",t.B="b",t.BASE="base",t.BASEFONT="basefont",t.BGSOUND="bgsound",t.BIG="big",t.BLOCKQUOTE="blockquote",t.BODY="body",t.BR="br",t.BUTTON="button",t.CAPTION="caption",t.CENTER="center",t.CODE="code",t.COL="col",t.COLGROUP="colgroup",t.DD="dd",t.DESC="desc",t.DETAILS="details",t.DIALOG="dialog",t.DIR="dir",t.DIV="div",t.DL="dl",t.DT="dt",t.EM="em",t.EMBED="embed",t.FIELDSET="fieldset",t.FIGCAPTION="figcaption",t.FIGURE="figure",t.FONT="font",t.FOOTER="footer",t.FOREIGN_OBJECT="foreignObject",t.FORM="form",t.FRAME="frame",t.FRAMESET="frameset",t.H1="h1",t.H2="h2",t.H3="h3",t.H4="h4",t.H5="h5",t.H6="h6",t.HEAD="head",t.HEADER="header",t.HGROUP="hgroup",t.HR="hr",t.HTML="html",t.I="i",t.IMG="img",t.IMAGE="image",t.INPUT="input",t.IFRAME="iframe",t.KEYGEN="keygen",t.LABEL="label",t.LI="li",t.LINK="link",t.LISTING="listing",t.MAIN="main",t.MALIGNMARK="malignmark",t.MARQUEE="marquee",t.MATH="math",t.MENU="menu",t.META="meta",t.MGLYPH="mglyph",t.MI="mi",t.MO="mo",t.MN="mn",t.MS="ms",t.MTEXT="mtext",t.NAV="nav",t.NOBR="nobr",t.NOFRAMES="noframes",t.NOEMBED="noembed",t.NOSCRIPT="noscript",t.OBJECT="object",t.OL="ol",t.OPTGROUP="optgroup",t.OPTION="option",t.P="p",t.PARAM="param",t.PLAINTEXT="plaintext",t.PRE="pre",t.RB="rb",t.RP="rp",t.RT="rt",t.RTC="rtc",t.RUBY="ruby",t.S="s",t.SCRIPT="script",t.SECTION="section",t.SELECT="select",t.SOURCE="source",t.SMALL="small",t.SPAN="span",t.STRIKE="strike",t.STRONG="strong",t.STYLE="style",t.SUB="sub",t.SUMMARY="summary",t.SUP="sup",t.TABLE="table",t.TBODY="tbody",t.TEMPLATE="template",t.TEXTAREA="textarea",t.TFOOT="tfoot",t.TD="td",t.TH="th",t.THEAD="thead",t.TITLE="title",t.TR="tr",t.TRACK="track",t.TT="tt",t.U="u",t.UL="ul",t.SVG="svg",t.VAR="var",t.WBR="wbr",t.XMP="xmp"})(J=J||(J={}));var g;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.A=1]="A",t[t.ADDRESS=2]="ADDRESS",t[t.ANNOTATION_XML=3]="ANNOTATION_XML",t[t.APPLET=4]="APPLET",t[t.AREA=5]="AREA",t[t.ARTICLE=6]="ARTICLE",t[t.ASIDE=7]="ASIDE",t[t.B=8]="B",t[t.BASE=9]="BASE",t[t.BASEFONT=10]="BASEFONT",t[t.BGSOUND=11]="BGSOUND",t[t.BIG=12]="BIG",t[t.BLOCKQUOTE=13]="BLOCKQUOTE",t[t.BODY=14]="BODY",t[t.BR=15]="BR",t[t.BUTTON=16]="BUTTON",t[t.CAPTION=17]="CAPTION",t[t.CENTER=18]="CENTER",t[t.CODE=19]="CODE",t[t.COL=20]="COL",t[t.COLGROUP=21]="COLGROUP",t[t.DD=22]="DD",t[t.DESC=23]="DESC",t[t.DETAILS=24]="DETAILS",t[t.DIALOG=25]="DIALOG",t[t.DIR=26]="DIR",t[t.DIV=27]="DIV",t[t.DL=28]="DL",t[t.DT=29]="DT",t[t.EM=30]="EM",t[t.EMBED=31]="EMBED",t[t.FIELDSET=32]="FIELDSET",t[t.FIGCAPTION=33]="FIGCAPTION",t[t.FIGURE=34]="FIGURE",t[t.FONT=35]="FONT",t[t.FOOTER=36]="FOOTER",t[t.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",t[t.FORM=38]="FORM",t[t.FRAME=39]="FRAME",t[t.FRAMESET=40]="FRAMESET",t[t.H1=41]="H1",t[t.H2=42]="H2",t[t.H3=43]="H3",t[t.H4=44]="H4",t[t.H5=45]="H5",t[t.H6=46]="H6",t[t.HEAD=47]="HEAD",t[t.HEADER=48]="HEADER",t[t.HGROUP=49]="HGROUP",t[t.HR=50]="HR",t[t.HTML=51]="HTML",t[t.I=52]="I",t[t.IMG=53]="IMG",t[t.IMAGE=54]="IMAGE",t[t.INPUT=55]="INPUT",t[t.IFRAME=56]="IFRAME",t[t.KEYGEN=57]="KEYGEN",t[t.LABEL=58]="LABEL",t[t.LI=59]="LI",t[t.LINK=60]="LINK",t[t.LISTING=61]="LISTING",t[t.MAIN=62]="MAIN",t[t.MALIGNMARK=63]="MALIGNMARK",t[t.MARQUEE=64]="MARQUEE",t[t.MATH=65]="MATH",t[t.MENU=66]="MENU",t[t.META=67]="META",t[t.MGLYPH=68]="MGLYPH",t[t.MI=69]="MI",t[t.MO=70]="MO",t[t.MN=71]="MN",t[t.MS=72]="MS",t[t.MTEXT=73]="MTEXT",t[t.NAV=74]="NAV",t[t.NOBR=75]="NOBR",t[t.NOFRAMES=76]="NOFRAMES",t[t.NOEMBED=77]="NOEMBED",t[t.NOSCRIPT=78]="NOSCRIPT",t[t.OBJECT=79]="OBJECT",t[t.OL=80]="OL",t[t.OPTGROUP=81]="OPTGROUP",t[t.OPTION=82]="OPTION",t[t.P=83]="P",t[t.PARAM=84]="PARAM",t[t.PLAINTEXT=85]="PLAINTEXT",t[t.PRE=86]="PRE",t[t.RB=87]="RB",t[t.RP=88]="RP",t[t.RT=89]="RT",t[t.RTC=90]="RTC",t[t.RUBY=91]="RUBY",t[t.S=92]="S",t[t.SCRIPT=93]="SCRIPT",t[t.SECTION=94]="SECTION",t[t.SELECT=95]="SELECT",t[t.SOURCE=96]="SOURCE",t[t.SMALL=97]="SMALL",t[t.SPAN=98]="SPAN",t[t.STRIKE=99]="STRIKE",t[t.STRONG=100]="STRONG",t[t.STYLE=101]="STYLE",t[t.SUB=102]="SUB",t[t.SUMMARY=103]="SUMMARY",t[t.SUP=104]="SUP",t[t.TABLE=105]="TABLE",t[t.TBODY=106]="TBODY",t[t.TEMPLATE=107]="TEMPLATE",t[t.TEXTAREA=108]="TEXTAREA",t[t.TFOOT=109]="TFOOT",t[t.TD=110]="TD",t[t.TH=111]="TH",t[t.THEAD=112]="THEAD",t[t.TITLE=113]="TITLE",t[t.TR=114]="TR",t[t.TRACK=115]="TRACK",t[t.TT=116]="TT",t[t.U=117]="U",t[t.UL=118]="UL",t[t.SVG=119]="SVG",t[t.VAR=120]="VAR",t[t.WBR=121]="WBR",t[t.XMP=122]="XMP"})(g=g||(g={}));var GB=new Map([[J.A,g.A],[J.ADDRESS,g.ADDRESS],[J.ANNOTATION_XML,g.ANNOTATION_XML],[J.APPLET,g.APPLET],[J.AREA,g.AREA],[J.ARTICLE,g.ARTICLE],[J.ASIDE,g.ASIDE],[J.B,g.B],[J.BASE,g.BASE],[J.BASEFONT,g.BASEFONT],[J.BGSOUND,g.BGSOUND],[J.BIG,g.BIG],[J.BLOCKQUOTE,g.BLOCKQUOTE],[J.BODY,g.BODY],[J.BR,g.BR],[J.BUTTON,g.BUTTON],[J.CAPTION,g.CAPTION],[J.CENTER,g.CENTER],[J.CODE,g.CODE],[J.COL,g.COL],[J.COLGROUP,g.COLGROUP],[J.DD,g.DD],[J.DESC,g.DESC],[J.DETAILS,g.DETAILS],[J.DIALOG,g.DIALOG],[J.DIR,g.DIR],[J.DIV,g.DIV],[J.DL,g.DL],[J.DT,g.DT],[J.EM,g.EM],[J.EMBED,g.EMBED],[J.FIELDSET,g.FIELDSET],[J.FIGCAPTION,g.FIGCAPTION],[J.FIGURE,g.FIGURE],[J.FONT,g.FONT],[J.FOOTER,g.FOOTER],[J.FOREIGN_OBJECT,g.FOREIGN_OBJECT],[J.FORM,g.FORM],[J.FRAME,g.FRAME],[J.FRAMESET,g.FRAMESET],[J.H1,g.H1],[J.H2,g.H2],[J.H3,g.H3],[J.H4,g.H4],[J.H5,g.H5],[J.H6,g.H6],[J.HEAD,g.HEAD],[J.HEADER,g.HEADER],[J.HGROUP,g.HGROUP],[J.HR,g.HR],[J.HTML,g.HTML],[J.I,g.I],[J.IMG,g.IMG],[J.IMAGE,g.IMAGE],[J.INPUT,g.INPUT],[J.IFRAME,g.IFRAME],[J.KEYGEN,g.KEYGEN],[J.LABEL,g.LABEL],[J.LI,g.LI],[J.LINK,g.LINK],[J.LISTING,g.LISTING],[J.MAIN,g.MAIN],[J.MALIGNMARK,g.MALIGNMARK],[J.MARQUEE,g.MARQUEE],[J.MATH,g.MATH],[J.MENU,g.MENU],[J.META,g.META],[J.MGLYPH,g.MGLYPH],[J.MI,g.MI],[J.MO,g.MO],[J.MN,g.MN],[J.MS,g.MS],[J.MTEXT,g.MTEXT],[J.NAV,g.NAV],[J.NOBR,g.NOBR],[J.NOFRAMES,g.NOFRAMES],[J.NOEMBED,g.NOEMBED],[J.NOSCRIPT,g.NOSCRIPT],[J.OBJECT,g.OBJECT],[J.OL,g.OL],[J.OPTGROUP,g.OPTGROUP],[J.OPTION,g.OPTION],[J.P,g.P],[J.PARAM,g.PARAM],[J.PLAINTEXT,g.PLAINTEXT],[J.PRE,g.PRE],[J.RB,g.RB],[J.RP,g.RP],[J.RT,g.RT],[J.RTC,g.RTC],[J.RUBY,g.RUBY],[J.S,g.S],[J.SCRIPT,g.SCRIPT],[J.SECTION,g.SECTION],[J.SELECT,g.SELECT],[J.SOURCE,g.SOURCE],[J.SMALL,g.SMALL],[J.SPAN,g.SPAN],[J.STRIKE,g.STRIKE],[J.STRONG,g.STRONG],[J.STYLE,g.STYLE],[J.SUB,g.SUB],[J.SUMMARY,g.SUMMARY],[J.SUP,g.SUP],[J.TABLE,g.TABLE],[J.TBODY,g.TBODY],[J.TEMPLATE,g.TEMPLATE],[J.TEXTAREA,g.TEXTAREA],[J.TFOOT,g.TFOOT],[J.TD,g.TD],[J.TH,g.TH],[J.THEAD,g.THEAD],[J.TITLE,g.TITLE],[J.TR,g.TR],[J.TRACK,g.TRACK],[J.TT,g.TT],[J.U,g.U],[J.UL,g.UL],[J.SVG,g.SVG],[J.VAR,g.VAR],[J.WBR,g.WBR],[J.XMP,g.XMP]]);function Da(t){var e;return(e=GB.get(t))!==null&&e!==void 0?e:g.UNKNOWN}var Se=g,l4={[Oe.HTML]:new Set([Se.ADDRESS,Se.APPLET,Se.AREA,Se.ARTICLE,Se.ASIDE,Se.BASE,Se.BASEFONT,Se.BGSOUND,Se.BLOCKQUOTE,Se.BODY,Se.BR,Se.BUTTON,Se.CAPTION,Se.CENTER,Se.COL,Se.COLGROUP,Se.DD,Se.DETAILS,Se.DIR,Se.DIV,Se.DL,Se.DT,Se.EMBED,Se.FIELDSET,Se.FIGCAPTION,Se.FIGURE,Se.FOOTER,Se.FORM,Se.FRAME,Se.FRAMESET,Se.H1,Se.H2,Se.H3,Se.H4,Se.H5,Se.H6,Se.HEAD,Se.HEADER,Se.HGROUP,Se.HR,Se.HTML,Se.IFRAME,Se.IMG,Se.INPUT,Se.LI,Se.LINK,Se.LISTING,Se.MAIN,Se.MARQUEE,Se.MENU,Se.META,Se.NAV,Se.NOEMBED,Se.NOFRAMES,Se.NOSCRIPT,Se.OBJECT,Se.OL,Se.P,Se.PARAM,Se.PLAINTEXT,Se.PRE,Se.SCRIPT,Se.SECTION,Se.SELECT,Se.SOURCE,Se.STYLE,Se.SUMMARY,Se.TABLE,Se.TBODY,Se.TD,Se.TEMPLATE,Se.TEXTAREA,Se.TFOOT,Se.TH,Se.THEAD,Se.TITLE,Se.TR,Se.TRACK,Se.UL,Se.WBR,Se.XMP]),[Oe.MATHML]:new Set([Se.MI,Se.MO,Se.MN,Se.MS,Se.MTEXT,Se.ANNOTATION_XML]),[Oe.SVG]:new Set([Se.TITLE,Se.FOREIGN_OBJECT,Se.DESC]),[Oe.XLINK]:new Set,[Oe.XML]:new Set,[Oe.XMLNS]:new Set};function nf(t){return t===Se.H1||t===Se.H2||t===Se.H3||t===Se.H4||t===Se.H5||t===Se.H6}var KB=new Set([J.STYLE,J.SCRIPT,J.XMP,J.IFRAME,J.NOEMBED,J.NOFRAMES,J.PLAINTEXT]);function p8(t,e){return KB.has(t)||e&&t===J.NOSCRIPT}var JB=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]]),N;(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"})(N||(N={}));var Bt={DATA:N.DATA,RCDATA:N.RCDATA,RAWTEXT:N.RAWTEXT,SCRIPT_DATA:N.SCRIPT_DATA,PLAINTEXT:N.PLAINTEXT,CDATA_SECTION:N.CDATA_SECTION};function af(t){return t>=I.DIGIT_0&&t<=I.DIGIT_9}function of(t){return t>=I.LATIN_CAPITAL_A&&t<=I.LATIN_CAPITAL_Z}function eW(t){return t>=I.LATIN_SMALL_A&&t<=I.LATIN_SMALL_Z}function Na(t){return eW(t)||of(t)}function c4(t){return Na(t)||af(t)}function O8(t){return t>=I.LATIN_CAPITAL_A&&t<=I.LATIN_CAPITAL_F}function g8(t){return t>=I.LATIN_SMALL_A&&t<=I.LATIN_SMALL_F}function tW(t){return af(t)||O8(t)||g8(t)}function lp(t){return t+32}function b8(t){return t===I.SPACE||t===I.LINE_FEED||t===I.TABULATION||t===I.FORM_FEED}function rW(t){return t===I.EQUALS_SIGN||c4(t)}function m8(t){return b8(t)||t===I.SOLIDUS||t===I.GREATER_THAN_SIGN}var sf=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=N.DATA,this.returnState=N.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new sp(r),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,r,i){this.active=!0,this.preprocessor.write(e,r),this._runParsingLoop(),this.paused||i==null||i()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,r){this.state=e,this._callState(r)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let r=0;r0&&this._err(le.endTagWithAttributes),e.selfClosing&&this._err(le.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case ht.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ht.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ht.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:ht.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=r;return}this._createCharacterToken(e,r)}_emitCodePoint(e){let r=b8(e)?ht.WHITESPACE_CHARACTER:e===I.NULL?ht.NULL_CHARACTER:ht.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(ht.CHARACTER,e)}_matchNamedCharacterReference(e){let r=null,i=0,n=!1;for(let o=0,a=to[0];o>=0&&(o=s4(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!==I.SEMICOLON&&this._isCharacterReferenceInAttribute()&&rW(this.preprocessor.peek(1))?(r=[I.AMPERSAND],o+=l):(r=l===0?[to[o]&~wn.VALUE_LENGTH]:l===1?[to[++o]]:[to[++o],to[++o]],i=0,n=e!==I.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(i),n&&!this.preprocessor.endOfChunkHit&&this._err(le.missingSemicolonAfterCharacterReference),this._unconsume(1),r}_isCharacterReferenceInAttribute(){return this.returnState===N.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===N.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===N.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case N.DATA:{this._stateData(e);break}case N.RCDATA:{this._stateRcdata(e);break}case N.RAWTEXT:{this._stateRawtext(e);break}case N.SCRIPT_DATA:{this._stateScriptData(e);break}case N.PLAINTEXT:{this._statePlaintext(e);break}case N.TAG_OPEN:{this._stateTagOpen(e);break}case N.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case N.TAG_NAME:{this._stateTagName(e);break}case N.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case N.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case N.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case N.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case N.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case N.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case N.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case N.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case N.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case N.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case N.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case N.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case N.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case N.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case N.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case N.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case N.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case N.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case N.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case N.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case N.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case N.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case N.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case N.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case N.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case N.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case N.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case N.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case N.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case N.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case N.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case N.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case N.BOGUS_COMMENT:{this._stateBogusComment(e);break}case N.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case N.COMMENT_START:{this._stateCommentStart(e);break}case N.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case N.COMMENT:{this._stateComment(e);break}case N.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case N.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case N.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case N.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case N.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case N.COMMENT_END:{this._stateCommentEnd(e);break}case N.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case N.DOCTYPE:{this._stateDoctype(e);break}case N.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case N.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case N.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case N.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case N.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case N.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case N.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case N.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case N.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case N.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case N.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case N.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case N.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case N.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case N.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case N.CDATA_SECTION:{this._stateCdataSection(e);break}case N.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case N.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case N.CHARACTER_REFERENCE:{this._stateCharacterReference(e);break}case N.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(e);break}case N.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}case N.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(e);break}case N.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(e);break}case N.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(e);break}case N.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(e);break}case N.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case I.LESS_THAN_SIGN:{this.state=N.TAG_OPEN;break}case I.AMPERSAND:{this.returnState=N.DATA,this.state=N.CHARACTER_REFERENCE;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitCodePoint(e);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case I.AMPERSAND:{this.returnState=N.RCDATA,this.state=N.CHARACTER_REFERENCE;break}case I.LESS_THAN_SIGN:{this.state=N.RCDATA_LESS_THAN_SIGN;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case I.LESS_THAN_SIGN:{this.state=N.RAWTEXT_LESS_THAN_SIGN;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case I.LESS_THAN_SIGN:{this.state=N.SCRIPT_DATA_LESS_THAN_SIGN;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Nt);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Na(e))this._createStartTagToken(),this.state=N.TAG_NAME,this._stateTagName(e);else switch(e){case I.EXCLAMATION_MARK:{this.state=N.MARKUP_DECLARATION_OPEN;break}case I.SOLIDUS:{this.state=N.END_TAG_OPEN;break}case I.QUESTION_MARK:{this._err(le.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=N.BOGUS_COMMENT,this._stateBogusComment(e);break}case I.EOF:{this._err(le.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(le.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=N.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Na(e))this._createEndTagToken(),this.state=N.TAG_NAME,this._stateTagName(e);else switch(e){case I.GREATER_THAN_SIGN:{this._err(le.missingEndTagName),this.state=N.DATA;break}case I.EOF:{this._err(le.eofBeforeTagName),this._emitChars("");break}case I.NULL:{this._err(le.unexpectedNullCharacter),this.state=N.SCRIPT_DATA_ESCAPED,this._emitChars(Nt);break}case I.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=N.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===I.SOLIDUS?this.state=N.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Na(e)?(this._emitChars("<"),this.state=N.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=N.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Na(e)?(this.state=N.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break}case I.NULL:{this._err(le.unexpectedNullCharacter),this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Nt);break}case I.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===I.SOLIDUS?(this.state=N.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(li.SCRIPT,!1)&&m8(this.preprocessor.peek(li.SCRIPT.length))){this._emitCodePoint(e);for(let r=0;r1114111)this._err(le.characterReferenceOutsideUnicodeRange),this.charRefCode=I.REPLACEMENT_CHARACTER;else if(np(this.charRefCode))this._err(le.surrogateCharacterReference),this.charRefCode=I.REPLACEMENT_CHARACTER;else if(ap(this.charRefCode))this._err(le.noncharacterCharacterReference);else if(op(this.charRefCode)||this.charRefCode===I.CARRIAGE_RETURN){this._err(le.controlCharacterReference);let r=JB.get(this.charRefCode);r!==void 0&&(this.charRefCode=r)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}};var v8=new Set([g.DD,g.DT,g.LI,g.OPTGROUP,g.OPTION,g.P,g.RB,g.RP,g.RT,g.RTC]),y8=new Set([...v8,g.CAPTION,g.COLGROUP,g.TBODY,g.TD,g.TFOOT,g.TH,g.THEAD,g.TR]),cp=new Map([[g.APPLET,Oe.HTML],[g.CAPTION,Oe.HTML],[g.HTML,Oe.HTML],[g.MARQUEE,Oe.HTML],[g.OBJECT,Oe.HTML],[g.TABLE,Oe.HTML],[g.TD,Oe.HTML],[g.TEMPLATE,Oe.HTML],[g.TH,Oe.HTML],[g.ANNOTATION_XML,Oe.MATHML],[g.MI,Oe.MATHML],[g.MN,Oe.MATHML],[g.MO,Oe.MATHML],[g.MS,Oe.MATHML],[g.MTEXT,Oe.MATHML],[g.DESC,Oe.SVG],[g.FOREIGN_OBJECT,Oe.SVG],[g.TITLE,Oe.SVG]]),iW=[g.H1,g.H2,g.H3,g.H4,g.H5,g.H6],nW=[g.TR,g.TEMPLATE,g.HTML],oW=[g.TBODY,g.TFOOT,g.THEAD,g.TEMPLATE,g.HTML],aW=[g.TABLE,g.TEMPLATE,g.HTML],sW=[g.TD,g.TH],up=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,r,i){this.treeAdapter=r,this.handler=i,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=g.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===g.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Oe.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,r){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,r,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,r){let i=this._indexOf(e);this.items[i]=r,i===this.stackTop&&(this.current=r)}insertAfter(e,r,i){let n=this._indexOf(e)+1;this.items.splice(n,0,r),this.tagIDs.splice(n,0,i),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(e,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==Oe.HTML);this.shortenToLength(r<0?0:r)}shortenToLength(e){for(;this.stackTop>=e;){let r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop=0;i--)if(e.includes(this.tagIDs[i])&&this.treeAdapter.getNamespaceURI(this.items[i])===r)return i;return-1}clearBackTo(e,r){let i=this._indexOfTagNames(e,r);this.shortenToLength(i+1)}clearBackToTableContext(){this.clearBackTo(aW,Oe.HTML)}clearBackToTableBodyContext(){this.clearBackTo(oW,Oe.HTML)}clearBackToTableRowContext(){this.clearBackTo(nW,Oe.HTML)}remove(e){let r=this._indexOf(e);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===g.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let r=this._indexOf(e)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===g.HTML}hasInScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r],n=this.treeAdapter.getNamespaceURI(this.items[r]);if(i===e&&n===Oe.HTML)return!0;if(cp.get(i)===n)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let r=this.tagIDs[e],i=this.treeAdapter.getNamespaceURI(this.items[e]);if(nf(r)&&i===Oe.HTML)return!0;if(cp.get(r)===i)return!1}return!0}hasInListItemScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r],n=this.treeAdapter.getNamespaceURI(this.items[r]);if(i===e&&n===Oe.HTML)return!0;if((i===g.UL||i===g.OL)&&n===Oe.HTML||cp.get(i)===n)return!1}return!0}hasInButtonScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r],n=this.treeAdapter.getNamespaceURI(this.items[r]);if(i===e&&n===Oe.HTML)return!0;if(i===g.BUTTON&&n===Oe.HTML||cp.get(i)===n)return!1}return!0}hasInTableScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r];if(this.treeAdapter.getNamespaceURI(this.items[r])===Oe.HTML){if(i===e)return!0;if(i===g.TABLE||i===g.TEMPLATE||i===g.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let r=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===Oe.HTML){if(r===g.TBODY||r===g.THEAD||r===g.TFOOT)return!0;if(r===g.TABLE||r===g.HTML)return!1}}return!0}hasInSelectScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r];if(this.treeAdapter.getNamespaceURI(this.items[r])===Oe.HTML){if(i===e)return!0;if(i!==g.OPTION&&i!==g.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;v8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;y8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&y8.has(this.currentTagId);)this.pop()}};var nn;(function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"})(nn=nn||(nn={}));var x8={type:nn.Marker},fp=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,r){let i=[],n=r.length,o=this.treeAdapter.getTagName(e),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(x8)}pushElement(e,r){this._ensureNoahArkCondition(e),this.entries.unshift({type:nn.Element,element:e,token:r})}insertElementAfterBookmark(e,r){let i=this.entries.indexOf(this.bookmark);this.entries.splice(i,0,{type:nn.Element,element:e,token:r})}removeEntry(e){let r=this.entries.indexOf(e);r>=0&&this.entries.splice(r,1)}clearToLastMarker(){let e=this.entries.indexOf(x8);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let r=this.entries.find(i=>i.type===nn.Marker||this.treeAdapter.getTagName(i.element)===e);return r&&r.type===nn.Element?r:null}getElementEntry(e){return this.entries.find(r=>r.type===nn.Element&&r.element===e)}};function w8(t){return{nodeName:"#text",value:t,parentNode:null}}var Do={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};Do.appendChild(t,o)}},setDocumentMode(t,e){t.mode=e},getDocumentMode(t){return t.mode},detachNode(t){if(t.parentNode){let e=t.parentNode.childNodes.indexOf(t);t.parentNode.childNodes.splice(e,1),t.parentNode=null}},insertText(t,e){if(t.childNodes.length>0){let r=t.childNodes[t.childNodes.length-1];if(Do.isTextNode(r)){r.value+=e;return}}Do.appendChild(t,w8(e))},insertTextBefore(t,e,r){let i=t.childNodes[t.childNodes.indexOf(r)-1];i&&Do.isTextNode(i)?i.value+=e:Do.insertBefore(t,w8(e),r)},adoptAttributes(t,e){let r=new Set(t.attrs.map(i=>i.name));for(let i=0;it.startsWith(r))}function C8(t){return t.name===S8&&t.publicId===null&&(t.systemId===null||t.systemId===lW)}function P8(t){if(t.name!==S8)return Rr.QUIRKS;let{systemId:e}=t;if(e&&e.toLowerCase()===cW)return Rr.QUIRKS;let{publicId:r}=t;if(r!==null){if(r=r.toLowerCase(),fW.has(r))return Rr.QUIRKS;let i=e===null?uW:T8;if(k8(r,i))return Rr.QUIRKS;if(i=e===null?E8:hW,k8(r,i))return Rr.LIMITED_QUIRKS}return Rr.NO_QUIRKS}var pp={};au(pp,{SVG_TAG_NAMES_ADJUSTMENT_MAP:()=>A8,adjustTokenMathMLAttrs:()=>hp,adjustTokenSVGAttrs:()=>dp,adjustTokenSVGTagName:()=>f4,adjustTokenXMLAttrs:()=>lf,causesExit:()=>u4,isIntegrationPoint:()=>h4});var _8={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},pW="definitionurl",mW="definitionURL",OW=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])),gW=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}]]),A8=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])),bW=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 u4(t){let e=t.tagID;return e===g.FONT&&t.attrs.some(({name:i})=>i===kn.COLOR||i===kn.SIZE||i===kn.FACE)||bW.has(e)}function hp(t){for(let e=0;e0&&this._setContextModes(e,r)}onItemPop(e,r){var i,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(n=(i=this.treeAdapter).onItemPop)===null||n===void 0||n.call(i,e,this.openElements.current),r){let o,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=B.TEXT}switchToPlaintextParsing(){this.insertionMode=B.TEXT,this.originalInsertionMode=B.IN_BODY,this.tokenizer.state=Bt.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===J.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Oe.HTML))switch(this.fragmentContextID){case g.TITLE:case g.TEXTAREA:{this.tokenizer.state=Bt.RCDATA;break}case g.STYLE:case g.XMP:case g.IFRAME:case g.NOEMBED:case g.NOFRAMES:case g.NOSCRIPT:{this.tokenizer.state=Bt.RAWTEXT;break}case g.SCRIPT:{this.tokenizer.state=Bt.SCRIPT_DATA;break}case g.PLAINTEXT:{this.tokenizer.state=Bt.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&&je(ne({},r),{startTag:r});this.treeAdapter.setNodeSourceCodeLocation(e,i)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let i=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(i,e)}}_appendElement(e,r){let i=this.treeAdapter.createElement(e.tagName,r,e.attrs);this._attachElementToTree(i,e.location)}_insertElement(e,r){let i=this.treeAdapter.createElement(e.tagName,r,e.attrs);this._attachElementToTree(i,e.location),this.openElements.push(i,e.tagID)}_insertFakeElement(e,r){let i=this.treeAdapter.createElement(e,Oe.HTML,[]);this._attachElementToTree(i,null),this.openElements.push(i,r)}_insertTemplate(e){let r=this.treeAdapter.createElement(e.tagName,Oe.HTML,e.attrs),i=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,i),this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(J.HTML,Oe.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,g.HTML)}_appendCommentNode(e,r){let i=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(r,i),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_insertCharacters(e){let r,i;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:i}=this._findFosterParentingLocation(),i?this.treeAdapter.insertTextBefore(r,e.chars,i):this.treeAdapter.insertText(r,e.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,e.chars)),!e.location)return;let n=this.treeAdapter.getChildNodes(r),o=i?n.lastIndexOf(i):n.length,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===ht.END_TAG&&n===r.tagName?{endTag:ne({},i),endLine:i.endLine,endCol:i.endCol,endOffset:i.endOffset}:{endLine:i.startLine,endCol:i.startCol,endOffset:i.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let r,i;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,i=this.fragmentContextID):{current:r,currentTagId:i}=this.openElements,e.tagID===g.SVG&&this.treeAdapter.getTagName(r)===J.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===Oe.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===g.MGLYPH||e.tagID===g.MALIGNMARK)&&!this._isIntegrationPoint(i,r,Oe.HTML)}_processToken(e){switch(e.type){case ht.CHARACTER:{this.onCharacter(e);break}case ht.NULL_CHARACTER:{this.onNullCharacter(e);break}case ht.COMMENT:{this.onComment(e);break}case ht.DOCTYPE:{this.onDoctype(e);break}case ht.START_TAG:{this._processStartTag(e);break}case ht.END_TAG:{this.onEndTag(e);break}case ht.EOF:{this.onEof(e);break}case ht.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,r,i){let n=this.treeAdapter.getNamespaceURI(r),o=this.treeAdapter.getAttrList(r);return h4(e,n,o,i)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let r=this.activeFormattingElements.entries.findIndex(n=>n.type===nn.Marker||this.openElements.contains(n.element)),i=r<0?e-1:r-1;for(let n=i;n>=0;n--){let o=this.activeFormattingElements.entries[n];this._insertElement(o.token,this.treeAdapter.getNamespaceURI(o.element)),o.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=B.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=B.IN_ROW;return}case g.TBODY:case g.THEAD:case g.TFOOT:{this.insertionMode=B.IN_TABLE_BODY;return}case g.CAPTION:{this.insertionMode=B.IN_CAPTION;return}case g.COLGROUP:{this.insertionMode=B.IN_COLUMN_GROUP;return}case g.TABLE:{this.insertionMode=B.IN_TABLE;return}case g.BODY:{this.insertionMode=B.IN_BODY;return}case g.FRAMESET:{this.insertionMode=B.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?B.AFTER_HEAD:B.BEFORE_HEAD;return}case g.TD:case g.TH:{if(e>0){this.insertionMode=B.IN_CELL;return}break}case g.HEAD:{if(e>0){this.insertionMode=B.IN_HEAD;return}break}}this.insertionMode=B.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=B.IN_SELECT_IN_TABLE;return}}this.insertionMode=B.IN_SELECT}_isElementCausesFosterParenting(e){return R8.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 l4[i].has(r)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){eF(this,e);return}switch(this.insertionMode){case B.INITIAL:{cf(this,e);break}case B.BEFORE_HTML:{ff(this,e);break}case B.BEFORE_HEAD:{hf(this,e);break}case B.IN_HEAD:{df(this,e);break}case B.IN_HEAD_NO_SCRIPT:{pf(this,e);break}case B.AFTER_HEAD:{mf(this,e);break}case B.IN_BODY:case B.IN_CAPTION:case B.IN_CELL:case B.IN_TEMPLATE:{L8(this,e);break}case B.TEXT:case B.IN_SELECT:case B.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case B.IN_TABLE:case B.IN_TABLE_BODY:case B.IN_ROW:{d4(this,e);break}case B.IN_TABLE_TEXT:{q8(this,e);break}case B.IN_COLUMN_GROUP:{Op(this,e);break}case B.AFTER_BODY:{gp(this,e);break}case B.AFTER_AFTER_BODY:{mp(this,e);break}default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){JV(this,e);return}switch(this.insertionMode){case B.INITIAL:{cf(this,e);break}case B.BEFORE_HTML:{ff(this,e);break}case B.BEFORE_HEAD:{hf(this,e);break}case B.IN_HEAD:{df(this,e);break}case B.IN_HEAD_NO_SCRIPT:{pf(this,e);break}case B.AFTER_HEAD:{mf(this,e);break}case B.TEXT:{this._insertCharacters(e);break}case B.IN_TABLE:case B.IN_TABLE_BODY:case B.IN_ROW:{d4(this,e);break}case B.IN_COLUMN_GROUP:{Op(this,e);break}case B.AFTER_BODY:{gp(this,e);break}case B.AFTER_AFTER_BODY:{mp(this,e);break}default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){p4(this,e);return}switch(this.insertionMode){case B.INITIAL:case B.BEFORE_HTML:case B.BEFORE_HEAD:case B.IN_HEAD:case B.IN_HEAD_NO_SCRIPT:case B.AFTER_HEAD:case B.IN_BODY:case B.IN_TABLE:case B.IN_CAPTION:case B.IN_COLUMN_GROUP:case B.IN_TABLE_BODY:case B.IN_ROW:case B.IN_CELL:case B.IN_SELECT:case B.IN_SELECT_IN_TABLE:case B.IN_TEMPLATE:case B.IN_FRAMESET:case B.AFTER_FRAMESET:{p4(this,e);break}case B.IN_TABLE_TEXT:{uf(this,e);break}case B.AFTER_BODY:{QW(this,e);break}case B.AFTER_AFTER_BODY:case B.AFTER_AFTER_FRAMESET:{$W(this,e);break}default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case B.INITIAL:{XW(this,e);break}case B.BEFORE_HEAD:case B.IN_HEAD:case B.IN_HEAD_NO_SCRIPT:case B.AFTER_HEAD:{this._err(e,le.misplacedDoctype);break}case B.IN_TABLE_TEXT:{uf(this,e);break}default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,le.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?tF(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case B.INITIAL:{cf(this,e);break}case B.BEFORE_HTML:{RW(this,e);break}case B.BEFORE_HEAD:{LW(this,e);break}case B.IN_HEAD:{Sn(this,e);break}case B.IN_HEAD_NO_SCRIPT:{DW(this,e);break}case B.AFTER_HEAD:{UW(this,e);break}case B.IN_BODY:{Hr(this,e);break}case B.IN_TABLE:{ic(this,e);break}case B.IN_TABLE_TEXT:{uf(this,e);break}case B.IN_CAPTION:{MV(this,e);break}case B.IN_COLUMN_GROUP:{b4(this,e);break}case B.IN_TABLE_BODY:{vp(this,e);break}case B.IN_ROW:{xp(this,e);break}case B.IN_CELL:{NV(this,e);break}case B.IN_SELECT:{W8(this,e);break}case B.IN_SELECT_IN_TABLE:{qV(this,e);break}case B.IN_TEMPLATE:{BV(this,e);break}case B.AFTER_BODY:{VV(this,e);break}case B.IN_FRAMESET:{FV(this,e);break}case B.AFTER_FRAMESET:{YV(this,e);break}case B.AFTER_AFTER_BODY:{GV(this,e);break}case B.AFTER_AFTER_FRAMESET:{KV(this,e);break}default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?rF(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case B.INITIAL:{cf(this,e);break}case B.BEFORE_HTML:{IW(this,e);break}case B.BEFORE_HEAD:{MW(this,e);break}case B.IN_HEAD:{zW(this,e);break}case B.IN_HEAD_NO_SCRIPT:{NW(this,e);break}case B.AFTER_HEAD:{qW(this,e);break}case B.IN_BODY:{yp(this,e);break}case B.TEXT:{CV(this,e);break}case B.IN_TABLE:{Of(this,e);break}case B.IN_TABLE_TEXT:{uf(this,e);break}case B.IN_CAPTION:{zV(this,e);break}case B.IN_COLUMN_GROUP:{DV(this,e);break}case B.IN_TABLE_BODY:{m4(this,e);break}case B.IN_ROW:{B8(this,e);break}case B.IN_CELL:{UV(this,e);break}case B.IN_SELECT:{V8(this,e);break}case B.IN_SELECT_IN_TABLE:{jV(this,e);break}case B.IN_TEMPLATE:{WV(this,e);break}case B.AFTER_BODY:{Z8(this,e);break}case B.IN_FRAMESET:{ZV(this,e);break}case B.AFTER_FRAMESET:{HV(this,e);break}case B.AFTER_AFTER_BODY:{mp(this,e);break}default:}}onEof(e){switch(this.insertionMode){case B.INITIAL:{cf(this,e);break}case B.BEFORE_HTML:{ff(this,e);break}case B.BEFORE_HEAD:{hf(this,e);break}case B.IN_HEAD:{df(this,e);break}case B.IN_HEAD_NO_SCRIPT:{pf(this,e);break}case B.AFTER_HEAD:{mf(this,e);break}case B.IN_BODY:case B.IN_TABLE:case B.IN_CAPTION:case B.IN_COLUMN_GROUP:case B.IN_TABLE_BODY:case B.IN_ROW:case B.IN_CELL:case B.IN_SELECT:case B.IN_SELECT_IN_TABLE:{N8(this,e);break}case B.TEXT:{PV(this,e);break}case B.IN_TABLE_TEXT:{uf(this,e);break}case B.IN_TEMPLATE:{F8(this,e);break}case B.AFTER_BODY:case B.IN_FRAMESET:case B.AFTER_FRAMESET:case B.AFTER_AFTER_BODY:case B.AFTER_AFTER_FRAMESET:{g4(this,e);break}default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===I.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case B.IN_HEAD:case B.IN_HEAD_NO_SCRIPT:case B.AFTER_HEAD:case B.TEXT:case B.IN_COLUMN_GROUP:case B.IN_SELECT:case B.IN_SELECT_IN_TABLE:case B.IN_FRAMESET:case B.AFTER_FRAMESET:{this._insertCharacters(e);break}case B.IN_BODY:case B.IN_CAPTION:case B.IN_CELL:case B.IN_TEMPLATE:case B.AFTER_BODY:case B.AFTER_AFTER_BODY:case B.AFTER_AFTER_FRAMESET:{I8(this,e);break}case B.IN_TABLE:case B.IN_TABLE_BODY:case B.IN_ROW:{d4(this,e);break}case B.IN_TABLE_TEXT:{U8(this,e);break}default:}}};function TW(t,e){let r=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return r?t.openElements.contains(r.element)?t.openElements.hasInScope(e.tagID)||(r=null):(t.activeFormattingElements.removeEntry(r),r=null):D8(t,e),r}function EW(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 CW(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>=kW;!s||l?(l&&t.activeFormattingElements.removeEntry(s),t.openElements.remove(a)):(a=PW(t,s),i===e&&(t.activeFormattingElements.bookmark=s),t.treeAdapter.detachNode(i),t.treeAdapter.appendChild(a,i),i=a)}return i}function PW(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 _W(t,e,r){let i=t.treeAdapter.getTagName(e),n=Da(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 AW(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 O4(t,e){for(let r=0;r=r;i--)t._setEndLocation(t.openElements.items[i],e);if(!t.fragmentContext&&t.openElements.stackTop>=0){let i=t.openElements.items[0],n=t.treeAdapter.getNodeSourceCodeLocation(i);if(n&&!n.endTag&&(t._setEndLocation(i,e),t.openElements.stackTop>=1)){let o=t.openElements.items[1],a=t.treeAdapter.getNodeSourceCodeLocation(o);a&&!a.endTag&&t._setEndLocation(o,e)}}}}function XW(t,e){t._setDocumentType(e);let r=e.forceQuirks?Rr.QUIRKS:P8(e);C8(e)||t._err(e,le.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,r),t.insertionMode=B.BEFORE_HTML}function cf(t,e){t._err(e,le.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,Rr.QUIRKS),t.insertionMode=B.BEFORE_HTML,t._processToken(e)}function RW(t,e){e.tagID===g.HTML?(t._insertElement(e,Oe.HTML),t.insertionMode=B.BEFORE_HEAD):ff(t,e)}function IW(t,e){let r=e.tagID;(r===g.HTML||r===g.HEAD||r===g.BODY||r===g.BR)&&ff(t,e)}function ff(t,e){t._insertFakeRootElement(),t.insertionMode=B.BEFORE_HEAD,t._processToken(e)}function LW(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.HEAD:{t._insertElement(e,Oe.HTML),t.headElement=t.openElements.current,t.insertionMode=B.IN_HEAD;break}default:hf(t,e)}}function MW(t,e){let r=e.tagID;r===g.HEAD||r===g.BODY||r===g.HTML||r===g.BR?hf(t,e):t._err(e,le.endTagWithoutMatchingOpenElement)}function hf(t,e){t._insertFakeElement(J.HEAD,g.HEAD),t.headElement=t.openElements.current,t.insertionMode=B.IN_HEAD,t._processToken(e)}function Sn(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:{t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0;break}case g.TITLE:{t._switchToTextParsing(e,Bt.RCDATA);break}case g.NOSCRIPT:{t.options.scriptingEnabled?t._switchToTextParsing(e,Bt.RAWTEXT):(t._insertElement(e,Oe.HTML),t.insertionMode=B.IN_HEAD_NO_SCRIPT);break}case g.NOFRAMES:case g.STYLE:{t._switchToTextParsing(e,Bt.RAWTEXT);break}case g.SCRIPT:{t._switchToTextParsing(e,Bt.SCRIPT_DATA);break}case g.TEMPLATE:{t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=B.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(B.IN_TEMPLATE);break}case g.HEAD:{t._err(e,le.misplacedStartTagForHeadElement);break}default:df(t,e)}}function zW(t,e){switch(e.tagID){case g.HEAD:{t.openElements.pop(),t.insertionMode=B.AFTER_HEAD;break}case g.BODY:case g.BR:case g.HTML:{df(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 df(t,e){t.openElements.pop(),t.insertionMode=B.AFTER_HEAD,t._processToken(e)}function DW(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.BASEFONT:case g.BGSOUND:case g.HEAD:case g.LINK:case g.META:case g.NOFRAMES:case g.STYLE:{Sn(t,e);break}case g.NOSCRIPT:{t._err(e,le.nestedNoscriptInHead);break}default:pf(t,e)}}function NW(t,e){switch(e.tagID){case g.NOSCRIPT:{t.openElements.pop(),t.insertionMode=B.IN_HEAD;break}case g.BR:{pf(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function pf(t,e){let r=e.type===ht.EOF?le.openElementsLeftAfterEof:le.disallowedContentInNoscriptInHead;t._err(e,r),t.openElements.pop(),t.insertionMode=B.IN_HEAD,t._processToken(e)}function UW(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.BODY:{t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=B.IN_BODY;break}case g.FRAMESET:{t._insertElement(e,Oe.HTML),t.insertionMode=B.IN_FRAMESET;break}case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:case g.NOFRAMES:case g.SCRIPT:case g.STYLE:case g.TEMPLATE:case g.TITLE:{t._err(e,le.abandonedHeadElementChild),t.openElements.push(t.headElement,g.HEAD),Sn(t,e),t.openElements.remove(t.headElement);break}case g.HEAD:{t._err(e,le.misplacedStartTagForHeadElement);break}default:mf(t,e)}}function qW(t,e){switch(e.tagID){case g.BODY:case g.HTML:case g.BR:{mf(t,e);break}case g.TEMPLATE:{Ns(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function mf(t,e){t._insertFakeElement(J.BODY,g.BODY),t.insertionMode=B.IN_BODY,bp(t,e)}function bp(t,e){switch(e.type){case ht.CHARACTER:{L8(t,e);break}case ht.WHITESPACE_CHARACTER:{I8(t,e);break}case ht.COMMENT:{p4(t,e);break}case ht.START_TAG:{Hr(t,e);break}case ht.END_TAG:{yp(t,e);break}case ht.EOF:{N8(t,e);break}default:}}function I8(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function L8(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function jW(t,e){t.openElements.tmplCount===0&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}function BW(t,e){let r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t.openElements.tmplCount===0&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(r,e.attrs))}function WW(t,e){let r=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&r&&(t.treeAdapter.detachNode(r),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,Oe.HTML),t.insertionMode=B.IN_FRAMESET)}function VW(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML)}function FW(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),nf(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,Oe.HTML)}function ZW(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}function YW(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 HW(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 GW(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.tokenizer.state=Bt.PLAINTEXT}function KW(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 JW(t,e){let r=t.activeFormattingElements.getElementEntryInScopeWithTagName(J.A);r&&(O4(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 eV(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function tV(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(g.NOBR)&&(O4(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function rV(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}function iV(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=B.IN_TABLE}function M8(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,Oe.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function z8(t){let e=rf(t,kn.TYPE);return e!=null&&e.toLowerCase()===xW}function nV(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,Oe.HTML),z8(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}function oV(t,e){t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0}function aV(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._appendElement(e,Oe.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function sV(t,e){e.tagName=J.IMG,e.tagID=g.IMG,M8(t,e)}function lV(t,e){t._insertElement(e,Oe.HTML),t.skipNextNewLine=!0,t.tokenizer.state=Bt.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=B.TEXT}function cV(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,Bt.RAWTEXT)}function uV(t,e){t.framesetOk=!1,t._switchToTextParsing(e,Bt.RAWTEXT)}function $8(t,e){t._switchToTextParsing(e,Bt.RAWTEXT)}function fV(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===B.IN_TABLE||t.insertionMode===B.IN_CAPTION||t.insertionMode===B.IN_TABLE_BODY||t.insertionMode===B.IN_ROW||t.insertionMode===B.IN_CELL?B.IN_SELECT_IN_TABLE:B.IN_SELECT}function hV(t,e){t.openElements.currentTagId===g.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML)}function dV(t,e){t.openElements.hasInScope(g.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,Oe.HTML)}function pV(t,e){t.openElements.hasInScope(g.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(g.RTC),t._insertElement(e,Oe.HTML)}function mV(t,e){t._reconstructActiveFormattingElements(),hp(e),lf(e),e.selfClosing?t._appendElement(e,Oe.MATHML):t._insertElement(e,Oe.MATHML),e.ackSelfClosing=!0}function OV(t,e){t._reconstructActiveFormattingElements(),dp(e),lf(e),e.selfClosing?t._appendElement(e,Oe.SVG):t._insertElement(e,Oe.SVG),e.ackSelfClosing=!0}function X8(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML)}function Hr(t,e){switch(e.tagID){case g.I:case g.S:case g.B:case g.U:case g.EM:case g.TT:case g.BIG:case g.CODE:case g.FONT:case g.SMALL:case g.STRIKE:case g.STRONG:{eV(t,e);break}case g.A:{JW(t,e);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{FW(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:{VW(t,e);break}case g.LI:case g.DD:case g.DT:{HW(t,e);break}case g.BR:case g.IMG:case g.WBR:case g.AREA:case g.EMBED:case g.KEYGEN:{M8(t,e);break}case g.HR:{aV(t,e);break}case g.RB:case g.RTC:{dV(t,e);break}case g.RT:case g.RP:{pV(t,e);break}case g.PRE:case g.LISTING:{ZW(t,e);break}case g.XMP:{cV(t,e);break}case g.SVG:{OV(t,e);break}case g.HTML:{jW(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:{BW(t,e);break}case g.FORM:{YW(t,e);break}case g.NOBR:{tV(t,e);break}case g.MATH:{mV(t,e);break}case g.TABLE:{iV(t,e);break}case g.INPUT:{nV(t,e);break}case g.PARAM:case g.TRACK:case g.SOURCE:{oV(t,e);break}case g.IMAGE:{sV(t,e);break}case g.BUTTON:{KW(t,e);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{rV(t,e);break}case g.IFRAME:{uV(t,e);break}case g.SELECT:{fV(t,e);break}case g.OPTION:case g.OPTGROUP:{hV(t,e);break}case g.NOEMBED:{$8(t,e);break}case g.FRAMESET:{WW(t,e);break}case g.TEXTAREA:{lV(t,e);break}case g.NOSCRIPT:{t.options.scriptingEnabled?$8(t,e):X8(t,e);break}case g.PLAINTEXT:{GW(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:X8(t,e)}}function gV(t,e){if(t.openElements.hasInScope(g.BODY)&&(t.insertionMode=B.AFTER_BODY,t.options.sourceCodeLocationInfo)){let r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t._setEndLocation(r,e)}}function bV(t,e){t.openElements.hasInScope(g.BODY)&&(t.insertionMode=B.AFTER_BODY,Z8(t,e))}function yV(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r))}function vV(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 xV(t){t.openElements.hasInButtonScope(g.P)||t._insertFakeElement(J.P,g.P),t._closePElement()}function wV(t){t.openElements.hasInListItemScope(g.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(g.LI),t.openElements.popUntilTagNamePopped(g.LI))}function kV(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.popUntilTagNamePopped(r))}function SV(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}function TV(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r),t.activeFormattingElements.clearToLastMarker())}function EV(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(J.BR,g.BR),t.openElements.pop(),t.framesetOk=!1}function D8(t,e){let r=e.tagName,i=e.tagID;for(let n=t.openElements.stackTop;n>0;n--){let o=t.openElements.items[n],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 yp(t,e){switch(e.tagID){case g.A:case g.B:case g.I:case g.S:case g.U:case g.EM:case g.TT:case g.BIG:case g.CODE:case g.FONT:case g.NOBR:case g.SMALL:case g.STRIKE:case g.STRONG:{O4(t,e);break}case g.P:{xV(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:{yV(t,e);break}case g.LI:{wV(t);break}case g.DD:case g.DT:{kV(t,e);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{SV(t);break}case g.BR:{EV(t);break}case g.BODY:{gV(t,e);break}case g.HTML:{bV(t,e);break}case g.FORM:{vV(t);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{TV(t,e);break}case g.TEMPLATE:{Ns(t,e);break}default:D8(t,e)}}function N8(t,e){t.tmplInsertionModeStack.length>0?F8(t,e):g4(t,e)}function CV(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 PV(t,e){t._err(e,le.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}function d4(t,e){if(R8.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=B.IN_TABLE_TEXT,e.type){case ht.CHARACTER:{q8(t,e);break}case ht.WHITESPACE_CHARACTER:{U8(t,e);break}}else gf(t,e)}function _V(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,Oe.HTML),t.insertionMode=B.IN_CAPTION}function AV(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,Oe.HTML),t.insertionMode=B.IN_COLUMN_GROUP}function QV(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(J.COLGROUP,g.COLGROUP),t.insertionMode=B.IN_COLUMN_GROUP,b4(t,e)}function $V(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,Oe.HTML),t.insertionMode=B.IN_TABLE_BODY}function XV(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(J.TBODY,g.TBODY),t.insertionMode=B.IN_TABLE_BODY,vp(t,e)}function RV(t,e){t.openElements.hasInTableScope(g.TABLE)&&(t.openElements.popUntilTagNamePopped(g.TABLE),t._resetInsertionMode(),t._processStartTag(e))}function IV(t,e){z8(e)?t._appendElement(e,Oe.HTML):gf(t,e),e.ackSelfClosing=!0}function LV(t,e){!t.formElement&&t.openElements.tmplCount===0&&(t._insertElement(e,Oe.HTML),t.formElement=t.openElements.current,t.openElements.pop())}function ic(t,e){switch(e.tagID){case g.TD:case g.TH:case g.TR:{XV(t,e);break}case g.STYLE:case g.SCRIPT:case g.TEMPLATE:{Sn(t,e);break}case g.COL:{QV(t,e);break}case g.FORM:{LV(t,e);break}case g.TABLE:{RV(t,e);break}case g.TBODY:case g.TFOOT:case g.THEAD:{$V(t,e);break}case g.INPUT:{IV(t,e);break}case g.CAPTION:{_V(t,e);break}case g.COLGROUP:{AV(t,e);break}default:gf(t,e)}}function Of(t,e){switch(e.tagID){case g.TABLE:{t.openElements.hasInTableScope(g.TABLE)&&(t.openElements.popUntilTagNamePopped(g.TABLE),t._resetInsertionMode());break}case g.TEMPLATE:{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:gf(t,e)}}function gf(t,e){let r=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,bp(t,e),t.fosterParentingEnabled=r}function U8(t,e){t.pendingCharacterTokens.push(e)}function q8(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function uf(t,e){let r=0;if(t.hasNonWhitespacePendingCharacterToken)for(;r0&&t.openElements.currentTagId===g.OPTION&&t.openElements.tagIDs[t.openElements.stackTop-1]===g.OPTGROUP&&t.openElements.pop(),t.openElements.currentTagId===g.OPTGROUP&&t.openElements.pop();break}case g.OPTION:{t.openElements.currentTagId===g.OPTION&&t.openElements.pop();break}case g.SELECT:{t.openElements.hasInSelectScope(g.SELECT)&&(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode());break}case g.TEMPLATE:{Ns(t,e);break}default:}}function qV(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)):W8(t,e)}function jV(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)):V8(t,e)}function BV(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]=B.IN_TABLE,t.insertionMode=B.IN_TABLE,ic(t,e);break}case g.COL:{t.tmplInsertionModeStack[0]=B.IN_COLUMN_GROUP,t.insertionMode=B.IN_COLUMN_GROUP,b4(t,e);break}case g.TR:{t.tmplInsertionModeStack[0]=B.IN_TABLE_BODY,t.insertionMode=B.IN_TABLE_BODY,vp(t,e);break}case g.TD:case g.TH:{t.tmplInsertionModeStack[0]=B.IN_ROW,t.insertionMode=B.IN_ROW,xp(t,e);break}default:t.tmplInsertionModeStack[0]=B.IN_BODY,t.insertionMode=B.IN_BODY,Hr(t,e)}}function WV(t,e){e.tagID===g.TEMPLATE&&Ns(t,e)}function F8(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(g.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):g4(t,e)}function VV(t,e){e.tagID===g.HTML?Hr(t,e):gp(t,e)}function Z8(t,e){var r;if(e.tagID===g.HTML){if(t.fragmentContext||(t.insertionMode=B.AFTER_AFTER_BODY),t.options.sourceCodeLocationInfo&&t.openElements.tagIDs[0]===g.HTML){t._setEndLocation(t.openElements.items[0],e);let i=t.openElements.items[1];i&&!(!((r=t.treeAdapter.getNodeSourceCodeLocation(i))===null||r===void 0)&&r.endTag)&&t._setEndLocation(i,e)}}else gp(t,e)}function gp(t,e){t.insertionMode=B.IN_BODY,bp(t,e)}function FV(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.FRAMESET:{t._insertElement(e,Oe.HTML);break}case g.FRAME:{t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0;break}case g.NOFRAMES:{Sn(t,e);break}default:}}function ZV(t,e){e.tagID===g.FRAMESET&&!t.openElements.isRootHtmlElementCurrent()&&(t.openElements.pop(),!t.fragmentContext&&t.openElements.currentTagId!==g.FRAMESET&&(t.insertionMode=B.AFTER_FRAMESET))}function YV(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.NOFRAMES:{Sn(t,e);break}default:}}function HV(t,e){e.tagID===g.HTML&&(t.insertionMode=B.AFTER_AFTER_FRAMESET)}function GV(t,e){e.tagID===g.HTML?Hr(t,e):mp(t,e)}function mp(t,e){t.insertionMode=B.IN_BODY,bp(t,e)}function KV(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.NOFRAMES:{Sn(t,e);break}default:}}function JV(t,e){e.chars=Nt,t._insertCharacters(e)}function eF(t,e){t._insertCharacters(e),t.framesetOk=!1}function Y8(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==Oe.HTML&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}function tF(t,e){if(u4(e))Y8(t),t._startTagOutsideForeignContent(e);else{let r=t._getAdjustedCurrentElement(),i=t.treeAdapter.getNamespaceURI(r);i===Oe.MATHML?hp(e):i===Oe.SVG&&(f4(e),dp(e)),lf(e),e.selfClosing?t._appendElement(e,i):t._insertElement(e,i),e.ackSelfClosing=!0}}function rF(t,e){if(e.tagID===g.P||e.tagID===g.BR){Y8(t),t._endTagOutsideForeignContent(e);return}for(let r=t.openElements.stackTop;r>0;r--){let i=t.openElements.items[r];if(t.treeAdapter.getNamespaceURI(i)===Oe.HTML){t._endTagOutsideForeignContent(e);break}let n=t.treeAdapter.getTagName(i);if(n.toLowerCase()===e.tagName){e.tagName=n,t.openElements.shortenToLength(r);break}}}var iF=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Sye=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 y4(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 Tye=y4(/[&<>'"]/g,iF),nF=y4(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),oF=y4(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var Aye=new Set([J.AREA,J.BASE,J.BASEFONT,J.BGSOUND,J.BR,J.COL,J.EMBED,J.FRAME,J.HR,J.IMG,J.INPUT,J.KEYGEN,J.LINK,J.META,J.PARAM,J.SOURCE,J.TRACK,J.WBR]);function H8(t,e){return No.parse(t,e)}function G8(t,e,r){typeof t=="string"&&(r=e,e=t,t=null);let i=No.getFragmentParser(t,r);return i.tokenizer.write(e,!0),i.getFragment()}var aF=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),K8={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function wp(t,e){let r=OF(t),i=Ul("type",{handlers:{root:sF,element:lF,text:cF,comment:eE,doctype:uF,raw:hF},unknown:dF}),n={parser:r?new No(K8):No.getFragmentParser(void 0,K8),handle(s){i(s,n)},stitches:!1,options:e||{}};i(t,n),nc(n,en());let o=r?n.parser.document:n.parser.getFragment(),a=tf(o,{file:n.options.file});return n.stitches&&Fr(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 J8(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 fE(t,e,r){return t.type==="element"?QF(t,e,r):t.type==="text"?r.whitespace==="normal"?hE(t,r):$F(t):[]}function QF(t,e,r){let i=dE(t,r),n=t.children||[],o=-1,a=[];if(AF(t))return a;let s,l;for(w4(t)||cE(t)&&Sp(e,t,cE)?l=` -`:_F(t)?(s=2,l=2):uE(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 `