livebook/static/assets/app.js
2024-01-25 09:06:30 +00:00

592 lines
1.8 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{a as Al}from"./chunk-BZUL2CAN.js";import{a as ne,b as Be,c as wa,d as Kx,e as qr,f as ps,g as su,h as _l,i as Nt}from"./chunk-3V74GZ4F.js";var o6=ps((Yce,n6)=>{"use strict";var Vd=Object.prototype.hasOwnProperty,i6=Object.prototype.toString,Gk=Object.defineProperty,Kk=Object.getOwnPropertyDescriptor,Jk=function(e){return typeof Array.isArray=="function"?Array.isArray(e):i6.call(e)==="[object Array]"},e6=function(e){if(!e||i6.call(e)!=="[object Object]")return!1;var r=Vd.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&Vd.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!i)return!1;var n;for(n in e);return typeof n=="undefined"||Vd.call(e,n)},t6=function(e,r){Gk&&r.name==="__proto__"?Gk(e,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):e[r.name]=r.newValue},r6=function(e,r){if(r==="__proto__")if(Vd.call(e,r)){if(Kk)return Kk(e,r).value}else return;return e[r]};n6.exports=function t(){var e,r,i,n,o,s,a=arguments[0],l=1,c=arguments.length,u=!1;for(typeof a=="boolean"&&(u=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l<c;++l)if(e=arguments[l],e!=null)for(r in e)i=r6(a,r),n=r6(e,r),a!==n&&(u&&n&&(e6(n)||(o=Jk(n)))?(o?(o=!1,s=i&&Jk(i)?i:[]):s=i&&e6(i)?i:{},t6(a,{name:r,newValue:t(u,s,n)})):typeof n!="undefined"&&t6(a,{name:r,newValue:n}));return a}});var MR=ps(()=>{});var xO=ps((wO,DR)=>{(function(t,e){typeof wO=="object"?DR.exports=wO=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(wO,function(){var t=t||function(e,r){var i;if(typeof window!="undefined"&&window.crypto&&(i=window.crypto),typeof self!="undefined"&&self.crypto&&(i=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window!="undefined"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof global!="undefined"&&global.crypto&&(i=global.crypto),!i&&typeof wa=="function")try{i=MR()}catch(k){}var n=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch(k){}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch(k){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function k(){}return function(C){var R;return k.prototype=C,R=new k,k.prototype=null,R}}(),s={},a=s.lib={},l=a.Base=function(){return{extend:function(k){var C=o(this);return k&&C.mixIn(k),(!C.hasOwnProperty("init")||this.init===C.init)&&(C.init=function(){C.$super.init.apply(this,arguments)}),C.init.prototype=C,C.$super=this,C},create:function(){var k=this.extend();return k.init.apply(k,arguments),k},init:function(){},mixIn:function(k){for(var C in k)k.hasOwnProperty(C)&&(this[C]=k[C]);k.hasOwnProperty("toString")&&(this.toString=k.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=a.WordArray=l.extend({init:function(k,C){k=this.words=k||[],C!=r?this.sigBytes=C:this.sigBytes=k.length*4},toString:function(k){return(k||f).stringify(this)},concat:function(k){var C=this.words,R=k.words,Q=this.sigBytes,z=k.sigBytes;if(this.clamp(),Q%4)for(var L=0;L<z;L++){var Z=R[L>>>2]>>>24-L%4*8&255;C[Q+L>>>2]|=Z<<24-(Q+L)%4*8}else for(var re=0;re<z;re+=4)C[Q+re>>>2]=R[re>>>2];return this.sigBytes+=z,this},clamp:function(){var k=this.words,C=this.sigBytes;k[C>>>2]&=4294967295<<32-C%4*8,k.length=e.ceil(C/4)},clone:function(){var k=l.clone.call(this);return k.words=this.words.slice(0),k},random:function(k){for(var C=[],R=0;R<k;R+=4)C.push(n());return new c.init(C,k)}}),u=s.enc={},f=u.Hex={stringify:function(k){for(var C=k.words,R=k.sigBytes,Q=[],z=0;z<R;z++){var L=C[z>>>2]>>>24-z%4*8&255;Q.push((L>>>4).toString(16)),Q.push((L&15).toString(16))}return Q.join("")},parse:function(k){for(var C=k.length,R=[],Q=0;Q<C;Q+=2)R[Q>>>3]|=parseInt(k.substr(Q,2),16)<<24-Q%8*4;return new c.init(R,C/2)}},d=u.Latin1={stringify:function(k){for(var C=k.words,R=k.sigBytes,Q=[],z=0;z<R;z++){var L=C[z>>>2]>>>24-z%4*8&255;Q.push(String.fromCharCode(L))}return Q.join("")},parse:function(k){for(var C=k.length,R=[],Q=0;Q<C;Q++)R[Q>>>2]|=(k.charCodeAt(Q)&255)<<24-Q%4*8;return new c.init(R,C)}},p=u.Utf8={stringify:function(k){try{return decodeURIComponent(escape(d.stringify(k)))}catch(C){throw new Error("Malformed UTF-8 data")}},parse:function(k){return d.parse(unescape(encodeURIComponent(k)))}},O=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(k){typeof k=="string"&&(k=p.parse(k)),this._data.concat(k),this._nDataBytes+=k.sigBytes},_process:function(k){var C,R=this._data,Q=R.words,z=R.sigBytes,L=this.blockSize,Z=L*4,re=z/Z;k?re=e.ceil(re):re=e.max((re|0)-this._minBufferSize,0);var H=re*L,q=e.min(H*4,z);if(H){for(var oe=0;oe<H;oe+=L)this._doProcessBlock(Q,oe);C=Q.splice(0,H),R.sigBytes-=q}return new c.init(C,q)},clone:function(){var k=l.clone.call(this);return k._data=this._data.clone(),k},_minBufferSize:0}),w=a.Hasher=O.extend({cfg:l.extend(),init:function(k){this.cfg=this.cfg.extend(k),this.reset()},reset:function(){O.reset.call(this),this._doReset()},update:function(k){return this._append(k),this._process(),this},finalize:function(k){k&&this._append(k);var C=this._doFinalize();return C},blockSize:512/32,_createHelper:function(k){return function(C,R){return new k.init(R).finalize(C)}},_createHmacHelper:function(k){return function(C,R){return new x.HMAC.init(k,R).finalize(C)}}}),x=s.algo={};return s}(Math);return t})});var NR=ps((kO,UR)=>{(function(t,e){typeof kO=="object"?UR.exports=kO=e(xO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(kO,function(t){return function(e){var r=t,i=r.lib,n=i.WordArray,o=i.Hasher,s=r.algo,a=[];(function(){for(var p=0;p<64;p++)a[p]=e.abs(e.sin(p+1))*4294967296|0})();var l=s.MD5=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,O){for(var w=0;w<16;w++){var x=O+w,k=p[x];p[x]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}var C=this._hash.words,R=p[O+0],Q=p[O+1],z=p[O+2],L=p[O+3],Z=p[O+4],re=p[O+5],H=p[O+6],q=p[O+7],oe=p[O+8],pe=p[O+9],fe=p[O+10],ge=p[O+11],ve=p[O+12],Qe=p[O+13],se=p[O+14],he=p[O+15],K=C[0],_=C[1],G=C[2],ae=C[3];K=c(K,_,G,ae,R,7,a[0]),ae=c(ae,K,_,G,Q,12,a[1]),G=c(G,ae,K,_,z,17,a[2]),_=c(_,G,ae,K,L,22,a[3]),K=c(K,_,G,ae,Z,7,a[4]),ae=c(ae,K,_,G,re,12,a[5]),G=c(G,ae,K,_,H,17,a[6]),_=c(_,G,ae,K,q,22,a[7]),K=c(K,_,G,ae,oe,7,a[8]),ae=c(ae,K,_,G,pe,12,a[9]),G=c(G,ae,K,_,fe,17,a[10]),_=c(_,G,ae,K,ge,22,a[11]),K=c(K,_,G,ae,ve,7,a[12]),ae=c(ae,K,_,G,Qe,12,a[13]),G=c(G,ae,K,_,se,17,a[14]),_=c(_,G,ae,K,he,22,a[15]),K=u(K,_,G,ae,Q,5,a[16]),ae=u(ae,K,_,G,H,9,a[17]),G=u(G,ae,K,_,ge,14,a[18]),_=u(_,G,ae,K,R,20,a[19]),K=u(K,_,G,ae,re,5,a[20]),ae=u(ae,K,_,G,fe,9,a[21]),G=u(G,ae,K,_,he,14,a[22]),_=u(_,G,ae,K,Z,20,a[23]),K=u(K,_,G,ae,pe,5,a[24]),ae=u(ae,K,_,G,se,9,a[25]),G=u(G,ae,K,_,L,14,a[26]),_=u(_,G,ae,K,oe,20,a[27]),K=u(K,_,G,ae,Qe,5,a[28]),ae=u(ae,K,_,G,z,9,a[29]),G=u(G,ae,K,_,q,14,a[30]),_=u(_,G,ae,K,ve,20,a[31]),K=f(K,_,G,ae,re,4,a[32]),ae=f(ae,K,_,G,oe,11,a[33]),G=f(G,ae,K,_,ge,16,a[34]),_=f(_,G,ae,K,se,23,a[35]),K=f(K,_,G,ae,Q,4,a[36]),ae=f(ae,K,_,G,Z,11,a[37]),G=f(G,ae,K,_,q,16,a[38]),_=f(_,G,ae,K,fe,23,a[39]),K=f(K,_,G,ae,Qe,4,a[40]),ae=f(ae,K,_,G,R,11,a[41]),G=f(G,ae,K,_,L,16,a[42]),_=f(_,G,ae,K,H,23,a[43]),K=f(K,_,G,ae,pe,4,a[44]),ae=f(ae,K,_,G,ve,11,a[45]),G=f(G,ae,K,_,he,16,a[46]),_=f(_,G,ae,K,z,23,a[47]),K=d(K,_,G,ae,R,6,a[48]),ae=d(ae,K,_,G,q,10,a[49]),G=d(G,ae,K,_,se,15,a[50]),_=d(_,G,ae,K,re,21,a[51]),K=d(K,_,G,ae,ve,6,a[52]),ae=d(ae,K,_,G,L,10,a[53]),G=d(G,ae,K,_,fe,15,a[54]),_=d(_,G,ae,K,Q,21,a[55]),K=d(K,_,G,ae,oe,6,a[56]),ae=d(ae,K,_,G,he,10,a[57]),G=d(G,ae,K,_,H,15,a[58]),_=d(_,G,ae,K,Qe,21,a[59]),K=d(K,_,G,ae,Z,6,a[60]),ae=d(ae,K,_,G,ge,10,a[61]),G=d(G,ae,K,_,z,15,a[62]),_=d(_,G,ae,K,pe,21,a[63]),C[0]=C[0]+K|0,C[1]=C[1]+_|0,C[2]=C[2]+G|0,C[3]=C[3]+ae|0},_doFinalize:function(){var p=this._data,O=p.words,w=this._nDataBytes*8,x=p.sigBytes*8;O[x>>>5]|=128<<24-x%32;var k=e.floor(w/4294967296),C=w;O[(x+64>>>9<<4)+15]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,O[(x+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,p.sigBytes=(O.length+1)*4,this._process();for(var R=this._hash,Q=R.words,z=0;z<4;z++){var L=Q[z];Q[z]=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360}return R},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p}});function c(p,O,w,x,k,C,R){var Q=p+(O&w|~O&x)+k+R;return(Q<<C|Q>>>32-C)+O}function u(p,O,w,x,k,C,R){var Q=p+(O&x|w&~x)+k+R;return(Q<<C|Q>>>32-C)+O}function f(p,O,w,x,k,C,R){var Q=p+(O^w^x)+k+R;return(Q<<C|Q>>>32-C)+O}function d(p,O,w,x,k,C,R){var Q=p+(w^(O|~x))+k+R;return(Q<<C|Q>>>32-C)+O}r.MD5=o._createHelper(l),r.HmacMD5=o._createHmacHelper(l)}(Math),t.MD5})});var BR=ps((SO,jR)=>{(function(t,e){typeof SO=="object"?jR.exports=SO=e(xO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(SO,function(t){return function(e){var r=t,i=r.lib,n=i.WordArray,o=i.Hasher,s=r.algo,a=[],l=[];(function(){function f(w){for(var x=e.sqrt(w),k=2;k<=x;k++)if(!(w%k))return!1;return!0}function d(w){return(w-(w|0))*4294967296|0}for(var p=2,O=0;O<64;)f(p)&&(O<8&&(a[O]=d(e.pow(p,1/2))),l[O]=d(e.pow(p,1/3)),O++),p++})();var c=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new n.init(a.slice(0))},_doProcessBlock:function(f,d){for(var p=this._hash.words,O=p[0],w=p[1],x=p[2],k=p[3],C=p[4],R=p[5],Q=p[6],z=p[7],L=0;L<64;L++){if(L<16)c[L]=f[d+L]|0;else{var Z=c[L-15],re=(Z<<25|Z>>>7)^(Z<<14|Z>>>18)^Z>>>3,H=c[L-2],q=(H<<15|H>>>17)^(H<<13|H>>>19)^H>>>10;c[L]=re+c[L-7]+q+c[L-16]}var oe=C&R^~C&Q,pe=O&w^O&x^w&x,fe=(O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22),ge=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),ve=z+ge+oe+l[L]+c[L],Qe=fe+pe;z=Q,Q=R,R=C,C=k+ve|0,k=x,x=w,w=O,O=ve+Qe|0}p[0]=p[0]+O|0,p[1]=p[1]+w|0,p[2]=p[2]+x|0,p[3]=p[3]+k|0,p[4]=p[4]+C|0,p[5]=p[5]+R|0,p[6]=p[6]+Q|0,p[7]=p[7]+z|0},_doFinalize:function(){var f=this._data,d=f.words,p=this._nDataBytes*8,O=f.sigBytes*8;return d[O>>>5]|=128<<24-O%32,d[(O+64>>>9<<4)+14]=e.floor(p/4294967296),d[(O+64>>>9<<4)+15]=p,f.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var f=o.clone.call(this);return f._hash=this._hash.clone(),f}});r.SHA256=o._createHelper(u),r.HmacSHA256=o._createHmacHelper(u)}(Math),t.SHA256})});var qR=ps((TO,VR)=>{(function(t,e){typeof TO=="object"?VR.exports=TO=e(xO()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(TO,function(t){return function(){var e=t,r=e.lib,i=r.WordArray,n=e.enc,o=n.Base64={stringify:function(a){var l=a.words,c=a.sigBytes,u=this._map;a.clamp();for(var f=[],d=0;d<c;d+=3)for(var p=l[d>>>2]>>>24-d%4*8&255,O=l[d+1>>>2]>>>24-(d+1)%4*8&255,w=l[d+2>>>2]>>>24-(d+2)%4*8&255,x=p<<16|O<<8|w,k=0;k<4&&d+k*.75<c;k++)f.push(u.charAt(x>>>6*(3-k)&63));var C=u.charAt(64);if(C)for(;f.length%4;)f.push(C);return f.join("")},parse:function(a){var l=a.length,c=this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var f=0;f<c.length;f++)u[c.charCodeAt(f)]=f}var d=c.charAt(64);if(d){var p=a.indexOf(d);p!==-1&&(l=p)}return s(a,l,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(a,l,c){for(var u=[],f=0,d=0;d<l;d++)if(d%4){var p=c[a.charCodeAt(d-1)]<<d%4*2,O=c[a.charCodeAt(d)]>>>6-d%4*2,w=p|O;u[f>>>2]|=w<<24-f%4*8,f++}return i.create(u,f)}}(),t.enc.Base64})});var TL=ps((SL,vx)=>{(function(t){if(typeof SL=="object"&&typeof vx!="undefined")vx.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else{var e;typeof window!="undefined"?e=window:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e=this,e.HyperList=t()}})(function(){var t,e,r;return function(){function i(n,o,s){function a(u,f){if(!o[u]){if(!n[u]){var d=typeof wa=="function"&&wa;if(!f&&d)return d(u,!0);if(l)return l(u,!0);var p=new Error("Cannot find module '"+u+"'");throw p.code="MODULE_NOT_FOUND",p}var O=o[u]={exports:{}};n[u][0].call(O.exports,function(w){var x=n[u][1][w];return a(x||w)},O,O.exports,i,n,o,s)}return o[u].exports}for(var l=typeof wa=="function"&&wa,c=0;c<s.length;c++)a(s[c]);return a}return i}()({1:[function(i,n,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var s=function(){function p(O,w){for(var x=0;x<w.length;x++){var k=w[x];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(O,k.key,k)}}return function(O,w,x){return w&&p(O.prototype,w),x&&p(O,x),O}}();function a(p,O,w){return O in p?Object.defineProperty(p,O,{value:w,enumerable:!0,configurable:!0,writable:!0}):p[O]=w,p}function l(p,O){if(!(p instanceof O))throw new TypeError("Cannot call a class as a function")}var c={width:"100%",height:"100%"},u=function(O){return Number(O)===Number(O)},f="classList"in document.documentElement?function(p,O){p.classList.add(O)}:function(p,O){var w=p.getAttribute("class")||"";p.setAttribute("class",w+" "+O)},d=function(){s(p,null,[{key:"create",value:function(w,x){return new p(w,x)}},{key:"mergeStyle",value:function(w,x){for(var k in x)w.style[k]!==x[k]&&(w.style[k]=x[k])}},{key:"getMaxBrowserHeight",value:function(){var w=document.createElement("div"),x=document.createElement("div");p.mergeStyle(w,{position:"absolute",height:"1px",opacity:0}),p.mergeStyle(x,{height:"1e7px"}),w.appendChild(x),document.body.appendChild(w);var k=x.offsetHeight;return document.body.removeChild(w),k}}]);function p(O,w){var x=this;l(this,p),this._config={},this._lastRepaint=null,this._maxElementHeight=p.getMaxBrowserHeight(),this.refresh(O,w);var k=this._config,C=function R(){var Q=x._getScrollPosition(),z=x._lastRepaint;if(x._renderAnimationFrame=window.requestAnimationFrame(R),Q!==z){var L=z?Q-z:0;if(!z||L<0||L>x._averageHeight){var Z=x._renderChunk();x._lastRepaint=Q,Z!==!1&&typeof k.afterRender=="function"&&k.afterRender()}}};C()}return s(p,[{key:"destroy",value:function(){window.cancelAnimationFrame(this._renderAnimationFrame)}},{key:"refresh",value:function(w,x){var k;if(Object.assign(this._config,c,x),!w||w.nodeType!==1)throw new Error("HyperList requires a valid DOM Node container");this._element=w;var C=this._config,R=this._scroller||C.scroller||document.createElement(C.scrollerTagName||"tr");if(typeof C.useFragment!="boolean"&&(this._config.useFragment=!0),!C.generate)throw new Error("Missing required `generate` function");if(!u(C.total))throw new Error("Invalid required `total` value, expected number");if(!Array.isArray(C.itemHeight)&&!u(C.itemHeight))throw new Error("\n Invalid required `itemHeight` value, expected number or array\n ".trim());u(C.itemHeight)?this._itemHeights=Array(C.total).fill(C.itemHeight):this._itemHeights=C.itemHeight,Object.keys(c).filter(function(Qe){return Qe in C}).forEach(function(Qe){var se=C[Qe],he=u(se);if(se&&typeof se!="string"&&typeof se!="number"){var K="Invalid optional `"+Qe+"`, expected string or number";throw new Error(K)}else he&&(C[Qe]=se+"px")});var Q=!!C.horizontal,z=C[Q?"width":"height"];if(z){var L=u(z),Z=L?!1:z.slice(-1)==="%",re=L?z:parseInt(z.replace(/px|%/,""),10),H=window[Q?"innerWidth":"innerHeight"];Z?this._containerSize=H*re/100:this._containerSize=u(z)?z:re}var q=C.scrollContainer,oe=C.itemHeight*C.total,pe=this._maxElementHeight;oe>pe&&console.warn(["HyperList: The maximum element height",pe+"px has","been exceeded; please reduce your item height."].join(" "));var fe={width:""+C.width,height:q?oe+"px":""+C.height,overflow:q?"none":"auto",position:"relative"};p.mergeStyle(w,fe),q&&p.mergeStyle(C.scrollContainer,{overflow:"auto"});var ge=(k={opacity:"0",position:"absolute"},a(k,Q?"height":"width","1px"),a(k,Q?"width":"height",oe+"px"),k);p.mergeStyle(R,ge),this._scroller||w.appendChild(R);var ve=this._computeScrollPadding();this._scrollPaddingBottom=ve.bottom,this._scrollPaddingTop=ve.top,this._scroller=R,this._scrollHeight=this._computeScrollHeight(),this._itemPositions=this._itemPositions||Array(C.total).fill(0),this._computePositions(0),this._renderChunk(this._lastRepaint!==null),typeof C.afterRender=="function"&&C.afterRender()}},{key:"_getRow",value:function(w){var x=this._config,k=x.generate(w),C=k.height;if(C!==void 0&&u(C)?(k=k.element,C!==this._itemHeights[w]&&(this._itemHeights[w]=C,this._computePositions(w),this._scrollHeight=this._computeScrollHeight(w))):C=this._itemHeights[w],!k||k.nodeType!==1)throw new Error("Generator did not return a DOM Node for index: "+w);f(k,x.rowClassName||"vrow");var R=this._itemPositions[w]+this._scrollPaddingTop;return p.mergeStyle(k,a({position:"absolute"},x.horizontal?"left":"top",R+"px")),k}},{key:"_getScrollPosition",value:function(){var w=this._config;return typeof w.overrideScrollPosition=="function"?w.overrideScrollPosition():this._element[w.horizontal?"scrollLeft":"scrollTop"]}},{key:"_renderChunk",value:function(w){var x=this._config,k=this._element,C=this._getScrollPosition(),R=x.total,Q=x.reverse?this._getReverseFrom(C):this._getFrom(C)-1;if((Q<0||Q-this._screenItemsLen<0)&&(Q=0),!w&&this._lastFrom===Q)return!1;this._lastFrom=Q;var z=Q+this._cachedItemsLen;(z>R||z+this._cachedItemsLen>R)&&(z=R);var L=x.useFragment?document.createDocumentFragment():[],Z=this._scroller;L[x.useFragment?"appendChild":"push"](Z);for(var re=Q;re<z;re++){var H=this._getRow(re);L[x.useFragment?"appendChild":"push"](H)}if(x.applyPatch)return x.applyPatch(k,L);k.innerHTML="",k.appendChild(L)}},{key:"_computePositions",value:function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,x=this._config,k=x.total,C=x.reverse;w<1&&!C&&(w=1);for(var R=w;R<k;R++)C?R===0?this._itemPositions[0]=this._scrollHeight-this._itemHeights[0]:this._itemPositions[R]=this._itemPositions[R-1]-this._itemHeights[R]:this._itemPositions[R]=this._itemHeights[R-1]+this._itemPositions[R-1]}},{key:"_computeScrollHeight",value:function(){var w,x=this,k=this._config,C=!!k.horizontal,R=k.total,Q=this._itemHeights.reduce(function(oe,pe){return oe+pe},0)+this._scrollPaddingBottom+this._scrollPaddingTop;p.mergeStyle(this._scroller,(w={opacity:0,position:"absolute",top:"0px"},a(w,C?"height":"width","1px"),a(w,C?"width":"height",Q+"px"),w));var z=this._itemHeights.slice(0).sort(function(oe,pe){return oe-pe}),L=Math.floor(R/2),Z=R%2===0?(z[L]+z[L-1])/2:z[L],re=C?"clientWidth":"clientHeight",H=k.scrollContainer?k.scrollContainer:this._element,q=H[re]?H[re]:this._containerSize;return this._screenItemsLen=Math.ceil(q/Z),this._containerSize=q,this._cachedItemsLen=Math.max(this._cachedItemsLen||0,this._screenItemsLen*3),this._averageHeight=Z,k.reverse&&window.requestAnimationFrame(function(){C?x._element.scrollLeft=Q:x._element.scrollTop=Q}),Q}},{key:"_computeScrollPadding",value:function(){var w=this._config,x=!!w.horizontal,k=w.reverse,C=window.getComputedStyle(this._element),R=function(z){var L=C.getPropertyValue("padding-"+z);return parseInt(L,10)||0};return x&&k?{bottom:R("left"),top:R("right")}:x?{bottom:R("right"),top:R("left")}:k?{bottom:R("top"),top:R("bottom")}:{bottom:R("bottom"),top:R("top")}}},{key:"_getFrom",value:function(w){for(var x=0;this._itemPositions[x]<w;)x++;return x}},{key:"_getReverseFrom",value:function(w){for(var x=this._config.total-1;x>0&&this._itemPositions[x]<w+this._containerSize;)x--;return x}}]),p}();o.default=d,n.exports=o.default},{}]},{},[1])(1)})});var RL=ps((AL,Ng)=>{(function(t,e){"use strict";function r(){i.width=t.innerWidth,i.height=5*c.barThickness;var f=i.getContext("2d");f.shadowBlur=c.shadowBlur,f.shadowColor=c.shadowColor;var d,p=f.createLinearGradient(0,0,i.width,0);for(d in c.barColors)p.addColorStop(d,c.barColors[d]);f.lineWidth=c.barThickness,f.beginPath(),f.moveTo(0,c.barThickness/2),f.lineTo(Math.ceil(n*i.width),c.barThickness/2),f.strokeStyle=p,f.stroke()}var i,n,o,s=null,a=null,l=null,c={autoRun:!0,barThickness:3,barColors:{0:"rgba(26, 188, 156, .9)",".25":"rgba(52, 152, 219, .9)",".50":"rgba(241, 196, 15, .9)",".75":"rgba(230, 126, 34, .9)","1.0":"rgba(211, 84, 0, .9)"},shadowBlur:10,shadowColor:"rgba(0, 0, 0, .6)",className:null},u={config:function(f){for(var d in f)c.hasOwnProperty(d)&&(c[d]=f[d])},show:function(f){var d,p;o||(f?l=l||setTimeout(()=>u.show(),f):(o=!0,a!==null&&t.cancelAnimationFrame(a),i||((p=(i=e.createElement("canvas")).style).position="fixed",p.top=p.left=p.right=p.margin=p.padding=0,p.zIndex=100001,p.display="none",c.className&&i.classList.add(c.className),e.body.appendChild(i),d="resize",f=r,(p=t).addEventListener?p.addEventListener(d,f,!1):p.attachEvent?p.attachEvent("on"+d,f):p["on"+d]=f),i.style.opacity=1,i.style.display="block",u.progress(0),c.autoRun&&function O(){s=t.requestAnimationFrame(O),u.progress("+"+.05*Math.pow(1-Math.sqrt(n),2))}()))},progress:function(f){return f===void 0||(typeof f=="string"&&(f=(0<=f.indexOf("+")||0<=f.indexOf("-")?n:0)+parseFloat(f)),n=1<f?1:f,r()),n},hide:function(){clearTimeout(l),l=null,o&&(o=!1,s!=null&&(t.cancelAnimationFrame(s),s=null),function f(){return 1<=u.progress("+.1")&&(i.style.opacity-=.05,i.style.opacity<=.05)?(i.style.display="none",void(a=null)):void(a=t.requestAnimationFrame(f))}())}};typeof Ng=="object"&&typeof Ng.exports=="object"?Ng.exports=u:typeof define=="function"&&define.amd?define(function(){return u}):this.topbar=u}).call(AL,window,document)});(function(){var t=e();function e(){if(typeof window.CustomEvent=="function")return window.CustomEvent;function n(o,s){s=s||{bubbles:!1,cancelable:!1,detail:void 0};var a=document.createEvent("CustomEvent");return a.initCustomEvent(o,s.bubbles,s.cancelable,s.detail),a}return n.prototype=window.Event.prototype,n}function r(n,o){var s=document.createElement("input");return s.type="hidden",s.name=n,s.value=o,s}function i(n,o){var s=n.getAttribute("data-to"),a=r("_method",n.getAttribute("data-method")),l=r("_csrf_token",n.getAttribute("data-csrf")),c=document.createElement("form"),u=document.createElement("input"),f=n.getAttribute("target");c.method=n.getAttribute("data-method")==="get"?"get":"post",c.action=s,c.style.display="none",f?c.target=f:o&&(c.target="_blank"),c.appendChild(l),c.appendChild(a),document.body.appendChild(c),u.type="submit",c.appendChild(u),u.click()}window.addEventListener("click",function(n){var o=n.target;if(!n.defaultPrevented)for(;o&&o.getAttribute;){var s=new t("phoenix.link.click",{bubbles:!0,cancelable:!0});if(!o.dispatchEvent(s))return n.preventDefault(),n.stopImmediatePropagation(),!1;if(o.getAttribute("data-method"))return i(o,n.metaKey||n.shiftKey),n.preventDefault(),!1;o=o.parentNode}},!1),window.addEventListener("phoenix.link.click",function(n){var o=n.target.getAttribute("data-confirm");o&&!window.confirm(o)&&n.preventDefault()},!1)})();var lu=t=>typeof t=="function"?t:function(){return t},vz=typeof self!="undefined"?self:null,au=typeof window!="undefined"?window:null,cu=vz||au||cu,wz="2.0.0",Nn={connecting:0,open:1,closing:2,closed:3},xz=1e4,kz=1e3,_i={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},vo={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},e1={longpoll:"longpoll",websocket:"websocket"},Sz={complete:4},wd=class{constructor(t,e,r,i){this.channel=t,this.event=e,this.payload=r||function(){return{}},this.receivedResp=null,this.timeout=i,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(t){this.timeout=t,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(t,e){return this.hasReceived(t)&&e(this.receivedResp.response),this.recHooks.push({status:t,callback:e}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:t,response:e,_ref:r}){this.recHooks.filter(i=>i.status===t).forEach(i=>i.callback(e))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,t=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=t,this.matchReceive(t)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}trigger(t,e){this.channel.trigger(this.refEvent,{status:t,response:e})}},Jx=class{constructor(t,e){this.callback=t,this.timerCalc=e,this.timer=null,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},Tz=class{constructor(t,e,r){this.state=_i.closed,this.topic=t,this.params=lu(e||{}),this.socket=r,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new wd(this,vo.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new Jx(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=_i.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>i.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=_i.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic} ${this.joinRef()}`),this.state=_i.closed,this.socket.remove(this)}),this.onError(i=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,i),this.isJoining()&&this.joinPush.reset(),this.state=_i.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic} (${this.joinRef()})`,this.joinPush.timeout),new wd(this,vo.leave,lu({}),this.timeout).send(),this.state=_i.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(vo.reply,(i,n)=>{this.trigger(this.replyEventName(n),i)})}join(t=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=t,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(t){this.on(vo.close,t)}onError(t){return this.on(vo.error,e=>t(e))}on(t,e){let r=this.bindingRef++;return this.bindings.push({event:t,ref:r,callback:e}),r}off(t,e){this.bindings=this.bindings.filter(r=>!(r.event===t&&(typeof e=="undefined"||e===r.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(t,e,r=this.timeout){if(e=e||{},!this.joinedOnce)throw new Error(`tried to push '${t}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let i=new wd(this,t,function(){return e},r);return this.canPush()?i.send():(i.startTimeout(),this.pushBuffer.push(i)),i}leave(t=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=_i.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(vo.close,"leave")},r=new wd(this,vo.leave,lu({}),t);return r.receive("ok",()=>e()).receive("timeout",()=>e()),r.send(),this.canPush()||r.trigger("ok",{}),r}onMessage(t,e,r){return e}isMember(t,e,r,i){return this.topic!==t?!1:i&&i!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:t,event:e,payload:r,joinRef:i}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(t=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=_i.joining,this.joinPush.resend(t))}trigger(t,e,r,i){let n=this.onMessage(t,e,r,i);if(e&&!n)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let o=this.bindings.filter(s=>s.event===t);for(let s=0;s<o.length;s++)o[s].callback(n,r,i||this.joinRef())}replyEventName(t){return`chan_reply_${t}`}isClosed(){return this.state===_i.closed}isErrored(){return this.state===_i.errored}isJoined(){return this.state===_i.joined}isJoining(){return this.state===_i.joining}isLeaving(){return this.state===_i.leaving}},kd=class{static request(t,e,r,i,n,o,s){if(cu.XDomainRequest){let a=new cu.XDomainRequest;return this.xdomainRequest(a,t,e,i,n,o,s)}else{let a=new cu.XMLHttpRequest;return this.xhrRequest(a,t,e,r,i,n,o,s)}}static xdomainRequest(t,e,r,i,n,o,s){return t.timeout=n,t.open(e,r),t.onload=()=>{let a=this.parseJSON(t.responseText);s&&s(a)},o&&(t.ontimeout=o),t.onprogress=()=>{},t.send(i),t}static xhrRequest(t,e,r,i,n,o,s,a){return t.open(e,r,!0),t.timeout=o,t.setRequestHeader("Content-Type",i),t.onerror=()=>a&&a(null),t.onreadystatechange=()=>{if(t.readyState===Sz.complete&&a){let l=this.parseJSON(t.responseText);a(l)}},s&&(t.ontimeout=s),t.send(n),t}static parseJSON(t){if(!t||t==="")return null;try{return JSON.parse(t)}catch(e){return console&&console.log("failed to parse JSON response",t),null}}static serialize(t,e){let r=[];for(var i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;let n=e?`${e}[${i}]`:i,o=t[i];typeof o=="object"?r.push(this.serialize(o,n)):r.push(encodeURIComponent(n)+"="+encodeURIComponent(o))}return r.join("&")}static appendParams(t,e){if(Object.keys(e).length===0)return t;let r=t.match(/\?/)?"&":"?";return`${t}${r}${this.serialize(e)}`}},Ez=t=>{let e="",r=new Uint8Array(t),i=r.byteLength;for(let n=0;n<i;n++)e+=String.fromCharCode(r[n]);return btoa(e)},Jg=class{constructor(t){this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(t),this.readyState=Nn.connecting,this.poll()}normalizeEndpoint(t){return t.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+e1.websocket),"$1/"+e1.longpoll)}endpointURL(){return kd.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(t,e,r){this.close(t,e,r),this.readyState=Nn.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===Nn.open||this.readyState===Nn.connecting}poll(){this.ajax("GET","application/json",null,()=>this.ontimeout(),t=>{if(t){var{status:e,token:r,messages:i}=t;this.token=r}else e=0;switch(e){case 200:i.forEach(n=>{setTimeout(()=>this.onmessage({data:n}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=Nn.open,this.onopen({}),this.poll();break;case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${e}`)}})}send(t){typeof t!="string"&&(t=Ez(t)),this.currentBatch?this.currentBatch.push(t):this.awaitingBatchAck?this.batchBuffer.push(t):(this.currentBatch=[t],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(t){this.awaitingBatchAck=!0,this.ajax("POST","application/x-ndjson",t.join(`
`),()=>this.onerror("timeout"),e=>{this.awaitingBatchAck=!1,!e||e.status!==200?(this.onerror(e&&e.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(t,e,r){for(let n of this.reqs)n.abort();this.readyState=Nn.closed;let i=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:t,reason:e,wasClean:r});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent!="undefined"?this.onclose(new CloseEvent("close",i)):this.onclose(i)}ajax(t,e,r,i,n){let o,s=()=>{this.reqs.delete(o),i()};o=kd.request(t,this.endpointURL(),e,r,this.timeout,s,a=>{this.reqs.delete(o),this.isActive()&&n(a)}),this.reqs.add(o)}};var xd={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(t,e){if(t.payload.constructor===ArrayBuffer)return e(this.binaryEncode(t));{let r=[t.join_ref,t.ref,t.topic,t.event,t.payload];return e(JSON.stringify(r))}},decode(t,e){if(t.constructor===ArrayBuffer)return e(this.binaryDecode(t));{let[r,i,n,o,s]=JSON.parse(t);return e({join_ref:r,ref:i,topic:n,event:o,payload:s})}},binaryEncode(t){let{join_ref:e,ref:r,event:i,topic:n,payload:o}=t,s=this.META_LENGTH+e.length+r.length+n.length+i.length,a=new ArrayBuffer(this.HEADER_LENGTH+s),l=new DataView(a),c=0;l.setUint8(c++,this.KINDS.push),l.setUint8(c++,e.length),l.setUint8(c++,r.length),l.setUint8(c++,n.length),l.setUint8(c++,i.length),Array.from(e,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(r,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(n,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(i,f=>l.setUint8(c++,f.charCodeAt(0)));var u=new Uint8Array(a.byteLength+o.byteLength);return u.set(new Uint8Array(a),0),u.set(new Uint8Array(o),a.byteLength),u.buffer},binaryDecode(t){let e=new DataView(t),r=e.getUint8(0),i=new TextDecoder;switch(r){case this.KINDS.push:return this.decodePush(t,e,i);case this.KINDS.reply:return this.decodeReply(t,e,i);case this.KINDS.broadcast:return this.decodeBroadcast(t,e,i)}},decodePush(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=e.getUint8(3),s=this.HEADER_LENGTH+this.META_LENGTH-1,a=r.decode(t.slice(s,s+i));s=s+i;let l=r.decode(t.slice(s,s+n));s=s+n;let c=r.decode(t.slice(s,s+o));s=s+o;let u=t.slice(s,t.byteLength);return{join_ref:a,ref:null,topic:l,event:c,payload:u}},decodeReply(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=e.getUint8(3),s=e.getUint8(4),a=this.HEADER_LENGTH+this.META_LENGTH,l=r.decode(t.slice(a,a+i));a=a+i;let c=r.decode(t.slice(a,a+n));a=a+n;let u=r.decode(t.slice(a,a+o));a=a+o;let f=r.decode(t.slice(a,a+s));a=a+s;let d=t.slice(a,t.byteLength),p={status:f,response:d};return{join_ref:l,ref:c,topic:u,event:vo.reply,payload:p}},decodeBroadcast(t,e,r){let i=e.getUint8(1),n=e.getUint8(2),o=this.HEADER_LENGTH+2,s=r.decode(t.slice(o,o+i));o=o+i;let a=r.decode(t.slice(o,o+n));o=o+n;let l=t.slice(o,t.byteLength);return{join_ref:null,ref:null,topic:s,event:a,payload:l}}},Sd=class{constructor(t,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||xz,this.transport=e.transport||cu.WebSocket||Jg,this.establishedConnections=0,this.defaultEncoder=xd.encode.bind(xd),this.defaultDecoder=xd.decode.bind(xd),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==Jg?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let r=null;au&&au.addEventListener&&(au.addEventListener("pagehide",i=>{this.conn&&(this.disconnect(),r=this.connectClock)}),au.addEventListener("pageshow",i=>{r===this.connectClock&&(r=null,this.connect())})),this.heartbeatIntervalMs=e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=i=>e.rejoinAfterMs?e.rejoinAfterMs(i):[1e3,2e3,5e3][i-1]||1e4,this.reconnectAfterMs=i=>e.reconnectAfterMs?e.reconnectAfterMs(i):[10,50,100,150,200,250,500,1e3,2e3][i-1]||5e3,this.logger=e.logger||null,this.longpollerTimeout=e.longpollerTimeout||2e4,this.params=lu(e.params||{}),this.endPoint=`${t}/${e1.websocket}`,this.vsn=e.vsn||wz,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new Jx(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return Jg}replaceTransport(t){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=t}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let t=kd.appendParams(kd.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return t.charAt(0)!=="/"?t:t.charAt(1)==="/"?`${this.protocol()}:${t}`:`${this.protocol()}://${location.host}${t}`}disconnect(t,e,r){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(t,e,r)}connect(t){t&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=lu(t)),!this.conn&&(this.connectClock++,this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=e=>this.onConnError(e),this.conn.onmessage=e=>this.onConnMessage(e),this.conn.onclose=e=>this.onConnClose(e))}log(t,e,r){this.logger(t,e,r)}hasLogger(){return this.logger!==null}onOpen(t){let e=this.makeRef();return this.stateChangeCallbacks.open.push([e,t]),e}onClose(t){let e=this.makeRef();return this.stateChangeCallbacks.close.push([e,t]),e}onError(t){let e=this.makeRef();return this.stateChangeCallbacks.error.push([e,t]),e}onMessage(t){let e=this.makeRef();return this.stateChangeCallbacks.message.push([e,t]),e}ping(t){if(!this.isConnected())return!1;let e=this.makeRef(),r=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:e});let i=this.onMessage(n=>{n.ref===e&&(this.off([i]),t(Date.now()-r))});return!0}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,t])=>t())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),kz,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(t,e,r){if(!this.conn)return t&&t();this.waitForBufferDone(()=>{this.conn&&(e?this.conn.close(e,r||""):this.conn.close()),this.waitForSocketClosed(()=>{this.conn&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),t&&t()})})}waitForBufferDone(t,e=1){if(e===5||!this.conn||!this.conn.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(t,e+1)},150*e)}waitForSocketClosed(t,e=1){if(e===5||!this.conn||this.conn.readyState===Nn.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(t,e+1)},150*e)}onConnClose(t){let e=t&&t.code;this.hasLogger()&&this.log("transport","close",t),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&e!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,r])=>r(t))}onConnError(t){this.hasLogger()&&this.log("transport",t);let e=this.transport,r=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,i])=>{i(t,e,r)}),(e===this.transport||r>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(vo.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Nn.connecting:return"connecting";case Nn.open:return"open";case Nn.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(t){this.off(t.stateChangeRefs),this.channels=this.channels.filter(e=>e.joinRef()!==t.joinRef())}off(t){for(let e in this.stateChangeCallbacks)this.stateChangeCallbacks[e]=this.stateChangeCallbacks[e].filter(([r])=>t.indexOf(r)===-1)}channel(t,e={}){let r=new Tz(t,e,this);return this.channels.push(r),r}push(t){if(this.hasLogger()){let{topic:e,event:r,payload:i,ref:n,join_ref:o}=t;this.log("push",`${e} ${r} (${o}, ${n})`,i)}this.isConnected()?this.encode(t,e=>this.conn.send(e)):this.sendBuffer.push(()=>this.encode(t,e=>this.conn.send(e)))}makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}sendHeartbeat(){this.pendingHeartbeatRef&&!this.isConnected()||(this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs))}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}onConnMessage(t){this.decode(t.data,e=>{let{topic:r,event:i,payload:n,ref:o,join_ref:s}=e;o&&o===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${n.status||""} ${r} ${i} ${o&&"("+o+")"||""}`,n);for(let a=0;a<this.channels.length;a++){let l=this.channels[a];l.isMember(r,i,n,s)&&l.trigger(i,n,o,s)}for(let a=0;a<this.stateChangeCallbacks.message.length;a++){let[,l]=this.stateChangeCallbacks.message[a];l(e)}})}leaveOpenTopic(t){let e=this.channels.find(r=>r.topic===t&&(r.isJoined()||r.isJoining()));e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${t}"`),e.leave())}};var Sk="consecutive-reloads",Cz=10,Pz=5e3,Qz=1e4,_z=3e4,Tk=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading"],xo="data-phx-component",t1="data-phx-link",Az="track-static",Rz="data-phx-link-state",Hi="data-phx-ref",xa="data-phx-ref-src",Ek="track-uploads",gs="data-phx-upload-ref",p1="data-phx-preflighted-refs",$z="data-phx-done-refs",ek="drop-target",f1="data-phx-active-refs",zd="phx:live-file:updated",Ck="data-phx-skip",Pk="data-phx-id",tk="data-phx-prune",rk="page-loading",ik="phx-connected",uu="phx-loading",r1="phx-no-feedback",Td="phx-error",nk="phx-client-error",i1="phx-server-error",Rl="data-phx-parent-id",m1="data-phx-main",yu="data-phx-root-id",Qk="viewport-top",_k="viewport-bottom",Xz="trigger-action",Dd="feedback-for",h1="phx-has-focused",Iz=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],Ak=["checkbox","radio"],Ud="phx-has-submitted",bs="data-phx-session",Xl=`[${bs}]`,ok="data-phx-sticky",gu="data-phx-static",n1="data-phx-readonly",Ed="data-phx-disabled",d1="disable-with",Cd="data-phx-disable-with-restore",fu="hook",Lz="debounce",zz="throttle",Nd="update",Pd="stream",hu="data-phx-stream",Mz="key",jn="phxPrivate",sk="auto-recover",Qd="phx:live-socket:debug",o1="phx:live-socket:profiling",s1="phx:live-socket:latency-sim",Dz="progress",ak="mounted",Uz=1,Nz=200,jz="phx-",Bz=3e4,du="debounce-trigger",_d="throttled",lk="debounce-prev-key",Vz={debounce:300,throttle:300},Ad="d",Bn="s",a1="r",Ai="c",ck="e",uk="r",fk="t",qz="p",hk="stream",Fz=class{constructor(t,e,r){this.liveSocket=r,this.entry=t,this.offset=0,this.chunkSize=e,this.chunkTimer=null,this.errored=!1,this.uploadChannel=r.channel(`lvu:${t.ref}`,{token:t.metadata()})}error(t){this.errored||(this.uploadChannel.leave(),this.errored=!0,clearTimeout(this.chunkTimer),this.entry.error(t))}upload(){this.uploadChannel.onError(t=>this.error(t)),this.uploadChannel.join().receive("ok",t=>this.readNextChunk()).receive("error",t=>this.error(t))}isDone(){return this.offset>=this.entry.file.size}readNextChunk(){let t=new window.FileReader,e=this.entry.file.slice(this.offset,this.chunkSize+this.offset);t.onload=r=>{if(r.target.error===null)this.offset+=r.target.result.byteLength,this.pushChunk(r.target.result);else return Ri("Read error: "+r.target.error)},t.readAsArrayBuffer(e)}pushChunk(t){this.uploadChannel.isJoined()&&this.uploadChannel.push("chunk",t).receive("ok",()=>{this.entry.progress(this.offset/this.entry.file.size*100),this.isDone()||(this.chunkTimer=setTimeout(()=>this.readNextChunk(),this.liveSocket.getLatencySim()||0))}).receive("error",({reason:e})=>this.error(e))}},Ri=(t,e)=>console.error&&console.error(t,e),wo=t=>{let e=typeof t;return e==="number"||e==="string"&&/^(0|[1-9]\d*)$/.test(t)};function Wz(){let t=new Set,e=document.querySelectorAll("*[id]");for(let r=0,i=e.length;r<i;r++)t.has(e[r].id)?console.error(`Multiple IDs detected: ${e[r].id}. Ensure unique element ids.`):t.add(e[r].id)}var Zz=(t,e,r,i)=>{t.liveSocket.isDebugEnabled()&&console.log(`${t.id} ${e}: ${r} - `,i)},l1=t=>typeof t=="function"?t:function(){return t},Md=t=>JSON.parse(JSON.stringify(t)),bu=(t,e,r)=>{do{if(t.matches(`[${e}]`)&&!t.disabled)return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1&&!(r&&r.isSameNode(t)||t.matches(Xl)));return null},pu=t=>t!==null&&typeof t=="object"&&!(t instanceof Array),Yz=(t,e)=>JSON.stringify(t)===JSON.stringify(e),dk=t=>{for(let e in t)return!1;return!0},Os=(t,e)=>t&&e(t),Hz=function(t,e,r,i){t.forEach(n=>{new Fz(n,r.config.chunk_size,i).upload()})},Rk={canPushState(){return typeof history.pushState!="undefined"},dropLocal(t,e,r){return t.removeItem(this.localKey(e,r))},updateLocal(t,e,r,i,n){let o=this.getLocal(t,e,r),s=this.localKey(e,r),a=o===null?i:n(o);return t.setItem(s,JSON.stringify(a)),a},getLocal(t,e,r){return JSON.parse(t.getItem(this.localKey(e,r)))},updateCurrentState(t){this.canPushState()&&history.replaceState(t(history.state||{}),"",window.location.href)},pushState(t,e,r){if(this.canPushState()){if(r!==window.location.href){if(e.type=="redirect"&&e.scroll){let n=history.state||{};n.scroll=e.scroll,history.replaceState(n,"",window.location.href)}delete e.scroll,history[t+"State"](e,"",r||null);let i=this.getHashTargetEl(window.location.hash);i?i.scrollIntoView():e.type==="redirect"&&window.scroll(0,0)}}else this.redirect(r)},setCookie(t,e){document.cookie=`${t}=${e}`},getCookie(t){return document.cookie.replace(new RegExp(`(?:(?:^|.*;s*)${t}s*=s*([^;]*).*$)|^.*$`),"$1")},redirect(t,e){e&&Rk.setCookie("__phoenix_flash__",e+"; max-age=60000; path=/"),window.location=t},localKey(t,e){return`${t}-${e}`},getHashTargetEl(t){let e=t.toString().substring(1);if(e!=="")return document.getElementById(e)||document.querySelector(`a[name="${e}"]`)}},Vn=Rk,Zi={byId(t){return document.getElementById(t)||Ri(`no id found for ${t}`)},removeClass(t,e){t.classList.remove(e),t.classList.length===0&&t.removeAttribute("class")},all(t,e,r){if(!t)return[];let i=Array.from(t.querySelectorAll(e));return r?i.forEach(r):i},childNodeLength(t){let e=document.createElement("template");return e.innerHTML=t,e.content.childElementCount},isUploadInput(t){return t.type==="file"&&t.getAttribute(gs)!==null},isAutoUpload(t){return t.hasAttribute("data-phx-auto-upload")},findUploadInputs(t){return this.all(t,`input[type="file"][${gs}]`)},findComponentNodeList(t,e){return this.filterWithinSameLiveView(this.all(t,`[${xo}="${e}"]`),t)},isPhxDestroyed(t){return!!(t.id&&Zi.private(t,"destroyed"))},wantsNewTab(t){let e=t.ctrlKey||t.shiftKey||t.metaKey||t.button&&t.button===1,r=t.target instanceof HTMLAnchorElement&&t.target.hasAttribute("download"),i=t.target.hasAttribute("target")&&t.target.getAttribute("target").toLowerCase()==="_blank";return e||i||r},isUnloadableFormSubmit(t){return t.target&&t.target.getAttribute("method")==="dialog"||t.submitter&&t.submitter.getAttribute("formmethod")==="dialog"?!1:!t.defaultPrevented&&!this.wantsNewTab(t)},isNewPageClick(t,e){let r=t.target instanceof HTMLAnchorElement?t.target.getAttribute("href"):null,i;if(t.defaultPrevented||r===null||this.wantsNewTab(t)||r.startsWith("mailto:")||r.startsWith("tel:")||t.target.isContentEditable)return!1;try{i=new URL(r)}catch(n){try{i=new URL(r,e)}catch(o){return!0}}return i.host===e.host&&i.protocol===e.protocol&&i.pathname===e.pathname&&i.search===e.search?i.hash===""&&!i.href.endsWith("#"):i.protocol.startsWith("http")},markPhxChildDestroyed(t){this.isPhxChild(t)&&t.setAttribute(bs,""),this.putPrivate(t,"destroyed",!0)},findPhxChildrenInFragment(t,e){let r=document.createElement("template");return r.innerHTML=t,this.findPhxChildren(r.content,e)},isIgnored(t,e){return(t.getAttribute(e)||t.getAttribute("data-phx-update"))==="ignore"},isPhxUpdate(t,e,r){return t.getAttribute&&r.indexOf(t.getAttribute(e))>=0},findPhxSticky(t){return this.all(t,`[${ok}]`)},findPhxChildren(t,e){return this.all(t,`${Xl}[${Rl}="${e}"]`)},findParentCIDs(t,e){let r=new Set(e),i=e.reduce((n,o)=>{let s=`[${xo}="${o}"] [${xo}]`;return this.filterWithinSameLiveView(this.all(t,s),t).map(a=>parseInt(a.getAttribute(xo))).forEach(a=>n.delete(a)),n},r);return i.size===0?new Set(e):i},filterWithinSameLiveView(t,e){return e.querySelector(Xl)?t.filter(r=>this.withinSameLiveView(r,e)):t},withinSameLiveView(t,e){for(;t=t.parentNode;){if(t.isSameNode(e))return!0;if(t.getAttribute(bs)!==null)return!1}},private(t,e){return t[jn]&&t[jn][e]},deletePrivate(t,e){t[jn]&&delete t[jn][e]},putPrivate(t,e,r){t[jn]||(t[jn]={}),t[jn][e]=r},updatePrivate(t,e,r,i){let n=this.private(t,e);n===void 0?this.putPrivate(t,e,i(r)):this.putPrivate(t,e,i(n))},copyPrivates(t,e){e[jn]&&(t[jn]=e[jn])},putTitle(t){let e=document.querySelector("title");if(e){let{prefix:r,suffix:i}=e.dataset;document.title=`${r||""}${t}${i||""}`}else document.title=t},debounce(t,e,r,i,n,o,s,a){let l=t.getAttribute(r),c=t.getAttribute(n);l===""&&(l=i),c===""&&(c=o);let u=l||c;switch(u){case null:return a();case"blur":this.once(t,"debounce-blur")&&t.addEventListener("blur",()=>a());return;default:let f=parseInt(u),d=()=>c?this.deletePrivate(t,_d):a(),p=this.incCycle(t,du,d);if(isNaN(f))return Ri(`invalid throttle/debounce value: ${u}`);if(c){let w=!1;if(e.type==="keydown"){let x=this.private(t,lk);this.putPrivate(t,lk,e.key),w=x!==e.key}if(!w&&this.private(t,_d))return!1;a(),this.putPrivate(t,_d,!0),setTimeout(()=>{s()&&this.triggerCycle(t,du)},f)}else setTimeout(()=>{s()&&this.triggerCycle(t,du,p)},f);let O=t.form;O&&this.once(O,"bind-debounce")&&O.addEventListener("submit",()=>{Array.from(new FormData(O).entries(),([w])=>{let x=O.querySelector(`[name="${w}"]`);this.incCycle(x,du),this.deletePrivate(x,_d)})}),this.once(t,"bind-debounce")&&t.addEventListener("blur",()=>this.triggerCycle(t,du))}},triggerCycle(t,e,r){let[i,n]=this.private(t,e);r||(r=i),r===i&&(this.incCycle(t,e),n())},once(t,e){return this.private(t,e)===!0?!1:(this.putPrivate(t,e,!0),!0)},incCycle(t,e,r=function(){}){let[i]=this.private(t,e)||[0,r];return i++,this.putPrivate(t,e,[i,r]),i},maybeAddPrivateHooks(t,e,r){t.hasAttribute&&(t.hasAttribute(e)||t.hasAttribute(r))&&t.setAttribute("data-phx-hook","Phoenix.InfiniteScroll")},maybeHideFeedback(t,e,r){let i=[];if(e.forEach(n=>{this.private(n,h1)||this.private(n,Ud)||(i.push(n.name),n.name.endsWith("[]")&&i.push(n.name.slice(0,-2)))}),i.length>0){let n=i.map(o=>`[${r}="${o}"]`).join(", ");Zi.all(t,n,o=>o.classList.add(r1))}},resetForm(t,e){Array.from(t.elements).forEach(r=>{let i=`[${e}="${r.id}"],
[${e}="${r.name}"],
[${e}="${r.name.replace(/\[\]$/,"")}"]`;this.deletePrivate(r,h1),this.deletePrivate(r,Ud),this.all(document,i,n=>{n.classList.add(r1)})})},showError(t,e){(t.id||t.name)&&this.all(t.form,`[${e}="${t.id}"], [${e}="${t.name}"]`,r=>{this.removeClass(r,r1)})},isPhxChild(t){return t.getAttribute&&t.getAttribute(Rl)},isPhxSticky(t){return t.getAttribute&&t.getAttribute(ok)!==null},firstPhxChild(t){return this.isPhxChild(t)?t:this.all(t,`[${Rl}]`)[0]},dispatchEvent(t,e,r={}){let n={bubbles:r.bubbles===void 0?!0:!!r.bubbles,cancelable:!0,detail:r.detail||{}},o=e==="click"?new MouseEvent("click",n):new CustomEvent(e,n);t.dispatchEvent(o)},cloneNode(t,e){if(typeof e=="undefined")return t.cloneNode(!0);{let r=t.cloneNode(!1);return r.innerHTML=e,r}},mergeAttrs(t,e,r={}){let i=r.exclude||[],n=r.isIgnored,o=e.attributes;for(let a=o.length-1;a>=0;a--){let l=o[a].name;i.indexOf(l)<0&&t.setAttribute(l,e.getAttribute(l))}let s=t.attributes;for(let a=s.length-1;a>=0;a--){let l=s[a].name;n?l.startsWith("data-")&&!e.hasAttribute(l)&&t.removeAttribute(l):e.hasAttribute(l)||t.removeAttribute(l)}},mergeFocusedInput(t,e){t instanceof HTMLSelectElement||Zi.mergeAttrs(t,e,{exclude:["value"]}),e.readOnly?t.setAttribute("readonly",!0):t.removeAttribute("readonly")},hasSelectionRange(t){return t.setSelectionRange&&(t.type==="text"||t.type==="textarea")},restoreFocus(t,e,r){if(!Zi.isTextualInput(t))return;let i=t.matches(":focus");t.readOnly&&t.blur(),i||t.focus(),this.hasSelectionRange(t)&&t.setSelectionRange(e,r)},isFormInput(t){return/^(?:input|select|textarea)$/i.test(t.tagName)&&t.type!=="button"},syncAttrsToProps(t){t instanceof HTMLInputElement&&Ak.indexOf(t.type.toLocaleLowerCase())>=0&&(t.checked=t.getAttribute("checked")!==null)},isTextualInput(t){return Iz.indexOf(t.type)>=0},isNowTriggerFormExternal(t,e){return t.getAttribute&&t.getAttribute(e)!==null},syncPendingRef(t,e,r){let i=t.getAttribute(Hi);if(i===null)return!0;let n=t.getAttribute(xa);return Zi.isFormInput(t)||t.getAttribute(r)!==null?(Zi.isUploadInput(t)&&Zi.mergeAttrs(t,e,{isIgnored:!0}),Zi.putPrivate(t,Hi,e),!1):(Tk.forEach(o=>{t.classList.contains(o)&&e.classList.add(o)}),e.setAttribute(Hi,i),e.setAttribute(xa,n),!0)},cleanChildNodes(t,e){if(Zi.isPhxUpdate(t,e,["append","prepend"])){let r=[];t.childNodes.forEach(i=>{i.id||(i.nodeType===Node.TEXT_NODE&&i.nodeValue.trim()===""||Ri(`only HTML element tags with an id are allowed inside containers with phx-update.
removing illegal node: "${(i.outerHTML||i.nodeValue).trim()}"
`),r.push(i))}),r.forEach(i=>i.remove())}},replaceRootContainer(t,e,r){let i=new Set(["id",bs,gu,m1,yu]);if(t.tagName.toLowerCase()===e.toLowerCase())return Array.from(t.attributes).filter(n=>!i.has(n.name.toLowerCase())).forEach(n=>t.removeAttribute(n.name)),Object.keys(r).filter(n=>!i.has(n.toLowerCase())).forEach(n=>t.setAttribute(n,r[n])),t;{let n=document.createElement(e);return Object.keys(r).forEach(o=>n.setAttribute(o,r[o])),i.forEach(o=>n.setAttribute(o,t.getAttribute(o))),n.innerHTML=t.innerHTML,t.replaceWith(n),n}},getSticky(t,e,r){let i=(Zi.private(t,"sticky")||[]).find(([n])=>e===n);if(i){let[n,o,s]=i;return s}else return typeof r=="function"?r():r},deleteSticky(t,e){this.updatePrivate(t,"sticky",[],r=>r.filter(([i,n])=>i!==e))},putSticky(t,e,r){let i=r(t);this.updatePrivate(t,"sticky",[],n=>{let o=n.findIndex(([s])=>e===s);return o>=0?n[o]=[e,r,i]:n.push([e,r,i]),n})},applyStickyOperations(t){let e=Zi.private(t,"sticky");e&&e.forEach(([r,i,n])=>this.putSticky(t,r,i))}},de=Zi,c1=class{static isActive(t,e){let r=e._phxRef===void 0,n=t.getAttribute(f1).split(",").indexOf(Rr.genFileRef(e))>=0;return e.size>0&&(r||n)}static isPreflighted(t,e){return t.getAttribute(p1).split(",").indexOf(Rr.genFileRef(e))>=0&&this.isActive(t,e)}constructor(t,e,r){this.ref=Rr.genFileRef(e),this.fileEl=t,this.file=e,this.view=r,this.meta=null,this._isCancelled=!1,this._isDone=!1,this._progress=0,this._lastProgressSent=-1,this._onDone=function(){},this._onElUpdated=this.onElUpdated.bind(this),this.fileEl.addEventListener(zd,this._onElUpdated)}metadata(){return this.meta}progress(t){this._progress=Math.floor(t),this._progress>this._lastProgressSent&&(this._progress>=100?(this._progress=100,this._lastProgressSent=100,this._isDone=!0,this.view.pushFileProgress(this.fileEl,this.ref,100,()=>{Rr.untrackFile(this.fileEl,this.file),this._onDone()})):(this._lastProgressSent=this._progress,this.view.pushFileProgress(this.fileEl,this.ref,this._progress)))}cancel(){this._isCancelled=!0,this._isDone=!0,this._onDone()}isDone(){return this._isDone}error(t="failed"){this.fileEl.removeEventListener(zd,this._onElUpdated),this.view.pushFileProgress(this.fileEl,this.ref,{error:t}),de.isAutoUpload(this.fileEl)||Rr.clearFiles(this.fileEl)}onDone(t){this._onDone=()=>{this.fileEl.removeEventListener(zd,this._onElUpdated),t()}}onElUpdated(){this.fileEl.getAttribute(f1).split(",").indexOf(this.ref)===-1&&this.cancel()}toPreflightPayload(){return{last_modified:this.file.lastModified,name:this.file.name,relative_path:this.file.webkitRelativePath,size:this.file.size,type:this.file.type,ref:this.ref,meta:typeof this.file.meta=="function"?this.file.meta():void 0}}uploader(t){if(this.meta.uploader){let e=t[this.meta.uploader]||Ri(`no uploader configured for ${this.meta.uploader}`);return{name:this.meta.uploader,callback:e}}else return{name:"channel",callback:Hz}}zipPostFlight(t){this.meta=t.entries[this.ref],this.meta||Ri(`no preflight upload response returned with ref ${this.ref}`,{input:this.fileEl,response:t})}},Gz=0,Rr=class{static genFileRef(t){let e=t._phxRef;return e!==void 0?e:(t._phxRef=(Gz++).toString(),t._phxRef)}static getEntryDataURL(t,e,r){let i=this.activeFiles(t).find(n=>this.genFileRef(n)===e);r(URL.createObjectURL(i))}static hasUploadsInProgress(t){let e=0;return de.findUploadInputs(t).forEach(r=>{r.getAttribute(p1)!==r.getAttribute($z)&&e++}),e>0}static serializeUploads(t){let e=this.activeFiles(t),r={};return e.forEach(i=>{let n={path:t.name},o=t.getAttribute(gs);r[o]=r[o]||[],n.ref=this.genFileRef(i),n.last_modified=i.lastModified,n.name=i.name||n.ref,n.relative_path=i.webkitRelativePath,n.type=i.type,n.size=i.size,typeof i.meta=="function"&&(n.meta=i.meta()),r[o].push(n)}),r}static clearFiles(t){t.value=null,t.removeAttribute(gs),de.putPrivate(t,"files",[])}static untrackFile(t,e){de.putPrivate(t,"files",de.private(t,"files").filter(r=>!Object.is(r,e)))}static trackFiles(t,e,r){if(t.getAttribute("multiple")!==null){let i=e.filter(n=>!this.activeFiles(t).find(o=>Object.is(o,n)));de.putPrivate(t,"files",this.activeFiles(t).concat(i)),t.value=null}else r&&r.files.length>0&&(t.files=r.files),de.putPrivate(t,"files",e)}static activeFileInputs(t){let e=de.findUploadInputs(t);return Array.from(e).filter(r=>r.files&&this.activeFiles(r).length>0)}static activeFiles(t){return(de.private(t,"files")||[]).filter(e=>c1.isActive(t,e))}static inputsAwaitingPreflight(t){let e=de.findUploadInputs(t);return Array.from(e).filter(r=>this.filesAwaitingPreflight(r).length>0)}static filesAwaitingPreflight(t){return this.activeFiles(t).filter(e=>!c1.isPreflighted(t,e))}constructor(t,e,r){this.view=e,this.onComplete=r,this._entries=Array.from(Rr.filesAwaitingPreflight(t)||[]).map(i=>new c1(t,i,e)),this.numEntriesInProgress=this._entries.length}entries(){return this._entries}initAdapterUpload(t,e,r){this._entries=this._entries.map(n=>(n.zipPostFlight(t),n.onDone(()=>{this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()}),n));let i=this._entries.reduce((n,o)=>{if(!o.meta)return n;let{name:s,callback:a}=o.uploader(r.uploaders);return n[s]=n[s]||{callback:a,entries:[]},n[s].entries.push(o),n},{});for(let n in i){let{callback:o,entries:s}=i[n];o(s,e,t,r)}}},Kz={focusMain(){let t=document.querySelector("main h1, main, h1");if(t){let e=t.tabIndex;t.tabIndex=-1,t.focus(),t.tabIndex=e}},anyOf(t,e){return e.find(r=>t instanceof r)},isFocusable(t,e){return t instanceof HTMLAnchorElement&&t.rel!=="ignore"||t instanceof HTMLAreaElement&&t.href!==void 0||!t.disabled&&this.anyOf(t,[HTMLInputElement,HTMLSelectElement,HTMLTextAreaElement,HTMLButtonElement])||t instanceof HTMLIFrameElement||t.tabIndex>0||!e&&t.getAttribute("tabindex")!==null&&t.getAttribute("aria-hidden")!=="true"},attemptFocus(t,e){if(this.isFocusable(t,e))try{t.focus()}catch(r){}return!!document.activeElement&&document.activeElement.isSameNode(t)},focusFirstInteractive(t){let e=t.firstElementChild;for(;e;){if(this.attemptFocus(e,!0)||this.focusFirstInteractive(e,!0))return!0;e=e.nextElementSibling}},focusFirst(t){let e=t.firstElementChild;for(;e;){if(this.attemptFocus(e)||this.focusFirst(e))return!0;e=e.nextElementSibling}},focusLast(t){let e=t.lastElementChild;for(;e;){if(this.attemptFocus(e)||this.focusLast(e))return!0;e=e.previousElementSibling}}},$l=Kz,$k={LiveFileUpload:{activeRefs(){return this.el.getAttribute(f1)},preflightedRefs(){return this.el.getAttribute(p1)},mounted(){this.preflightedWas=this.preflightedRefs()},updated(){let t=this.preflightedRefs();this.preflightedWas!==t&&(this.preflightedWas=t,t===""&&this.__view.cancelSubmit(this.el.form)),this.activeRefs()===""&&(this.el.value=null),this.el.dispatchEvent(new CustomEvent(zd))}},LiveImgPreview:{mounted(){this.ref=this.el.getAttribute("data-phx-entry-ref"),this.inputEl=document.getElementById(this.el.getAttribute(gs)),Rr.getEntryDataURL(this.inputEl,this.ref,t=>{this.url=t,this.el.src=t})},destroyed(){URL.revokeObjectURL(this.url)}},FocusWrap:{mounted(){this.focusStart=this.el.firstElementChild,this.focusEnd=this.el.lastElementChild,this.focusStart.addEventListener("focus",()=>$l.focusLast(this.el)),this.focusEnd.addEventListener("focus",()=>$l.focusFirst(this.el)),this.el.addEventListener("phx:show-end",()=>this.el.focus()),window.getComputedStyle(this.el).display!=="none"&&$l.focusFirst(this.el)}}},pk=()=>document.documentElement.scrollTop||document.body.scrollTop,O1=()=>window.innerHeight||document.documentElement.clientHeight,Jz=t=>{let e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.top<=O1()},eM=t=>{let e=t.getBoundingClientRect();return e.right>=0&&e.left>=0&&e.bottom<=O1()},mk=t=>{let e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.top<=O1()};$k.InfiniteScroll={mounted(){let t=pk(),e=!1,r=500,i=null,n=this.throttle(r,(a,l)=>{i=()=>!0,this.liveSocket.execJSHookPush(this.el,a,{id:l.id,_overran:!0},()=>{i=null})}),o=this.throttle(r,(a,l)=>{i=()=>l.scrollIntoView({block:"start"}),this.liveSocket.execJSHookPush(this.el,a,{id:l.id},()=>{i=null,mk(l)||l.scrollIntoView({block:"start"})})}),s=this.throttle(r,(a,l)=>{i=()=>l.scrollIntoView({block:"end"}),this.liveSocket.execJSHookPush(this.el,a,{id:l.id},()=>{i=null,mk(l)||l.scrollIntoView({block:"end"})})});this.onScroll=a=>{let l=pk();if(i)return t=l,i();let c=this.el.getBoundingClientRect(),u=this.el.getAttribute(this.liveSocket.binding("viewport-top")),f=this.el.getAttribute(this.liveSocket.binding("viewport-bottom")),d=this.el.lastElementChild,p=this.el.firstElementChild,O=l<t,w=l>t;O&&u&&!e&&c.top>=0?(e=!0,n(u,p)):w&&e&&c.top<=0&&(e=!1),u&&O&&Jz(p)?o(u,p):f&&w&&eM(d)&&s(f,d),t=l},window.addEventListener("scroll",this.onScroll)},destroyed(){window.removeEventListener("scroll",this.onScroll)},throttle(t,e){let r=0,i;return(...n)=>{let o=Date.now(),s=t-(o-r);s<=0||s>t?(i&&(clearTimeout(i),i=null),r=o,e(...n)):i||(i=setTimeout(()=>{r=Date.now(),i=null,e(...n)},s))}}};var tM=$k,rM=class{constructor(t,e,r){let i=new Set,n=new Set([...e.children].map(s=>s.id)),o=[];Array.from(t.children).forEach(s=>{if(s.id&&(i.add(s.id),n.has(s.id))){let a=s.previousElementSibling&&s.previousElementSibling.id;o.push({elementId:s.id,previousElementId:a})}}),this.containerId=e.id,this.updateType=r,this.elementsToModify=o,this.elementIdsToAdd=[...n].filter(s=>!i.has(s))}perform(){let t=de.byId(this.containerId);this.elementsToModify.forEach(e=>{e.previousElementId?Os(document.getElementById(e.previousElementId),r=>{Os(document.getElementById(e.elementId),i=>{i.previousElementSibling&&i.previousElementSibling.id==r.id||r.insertAdjacentElement("afterend",i)})}):Os(document.getElementById(e.elementId),r=>{r.previousElementSibling==null||t.insertAdjacentElement("afterbegin",r)})}),this.updateType=="prepend"&&this.elementIdsToAdd.reverse().forEach(e=>{Os(document.getElementById(e),r=>t.insertAdjacentElement("afterbegin",r))})}},Ok=11;function iM(t,e){var r=e.attributes,i,n,o,s,a;if(!(e.nodeType===Ok||t.nodeType===Ok)){for(var l=r.length-1;l>=0;l--)i=r[l],n=i.name,o=i.namespaceURI,s=i.value,o?(n=i.localName||n,a=t.getAttributeNS(o,n),a!==s&&(i.prefix==="xmlns"&&(n=i.name),t.setAttributeNS(o,n,s))):(a=t.getAttribute(n),a!==s&&t.setAttribute(n,s));for(var c=t.attributes,u=c.length-1;u>=0;u--)i=c[u],n=i.name,o=i.namespaceURI,o?(n=i.localName||n,e.hasAttributeNS(o,n)||t.removeAttributeNS(o,n)):e.hasAttribute(n)||t.removeAttribute(n)}}var Rd,nM="http://www.w3.org/1999/xhtml",gi=typeof document=="undefined"?void 0:document,oM=!!gi&&"content"in gi.createElement("template"),sM=!!gi&&gi.createRange&&"createContextualFragment"in gi.createRange();function aM(t){var e=gi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function lM(t){Rd||(Rd=gi.createRange(),Rd.selectNode(gi.body));var e=Rd.createContextualFragment(t);return e.childNodes[0]}function cM(t){var e=gi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function uM(t){return t=t.trim(),oM?aM(t):sM?lM(t):cM(t)}function $d(t,e){var r=t.nodeName,i=e.nodeName,n,o;return r===i?!0:(n=r.charCodeAt(0),o=i.charCodeAt(0),n<=90&&o>=97?r===i.toUpperCase():o<=90&&n>=97?i===r.toUpperCase():!1)}function fM(t,e){return!e||e===nM?gi.createElement(t):gi.createElementNS(e,t)}function hM(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function u1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var gk={OPTION:function(t,e){var r=t.parentNode;if(r){var i=r.nodeName.toUpperCase();i==="OPTGROUP"&&(r=r.parentNode,i=r&&r.nodeName.toUpperCase()),i==="SELECT"&&!r.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),r.selectedIndex=-1)}u1(t,e,"selected")},INPUT:function(t,e){u1(t,e,"checked"),u1(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var r=e.value;t.value!==r&&(t.value=r);var i=t.firstChild;if(i){var n=i.nodeValue;if(n==r||!r&&n==t.placeholder)return;i.nodeValue=r}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var r=-1,i=0,n=t.firstChild,o,s;n;)if(s=n.nodeName&&n.nodeName.toUpperCase(),s==="OPTGROUP")o=n,n=o.firstChild;else{if(s==="OPTION"){if(n.hasAttribute("selected")){r=i;break}i++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=r}}},mu=1,bk=11,yk=3,vk=8;function ms(){}function dM(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function pM(t){return function(r,i,n){if(n||(n={}),typeof i=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"||r.nodeName==="BODY"){var o=i;i=gi.createElement("html"),i.innerHTML=o}else i=uM(i);else i.nodeType===bk&&(i=i.firstElementChild);var s=n.getNodeKey||dM,a=n.onBeforeNodeAdded||ms,l=n.onNodeAdded||ms,c=n.onBeforeElUpdated||ms,u=n.onElUpdated||ms,f=n.onBeforeNodeDiscarded||ms,d=n.onNodeDiscarded||ms,p=n.onBeforeElChildrenUpdated||ms,O=n.skipFromChildren||ms,w=n.addChild||function(se,he){return se.appendChild(he)},x=n.childrenOnly===!0,k=Object.create(null),C=[];function R(se){C.push(se)}function Q(se,he){if(se.nodeType===mu)for(var K=se.firstChild;K;){var _=void 0;he&&(_=s(K))?R(_):(d(K),K.firstChild&&Q(K,he)),K=K.nextSibling}}function z(se,he,K){f(se)!==!1&&(he&&he.removeChild(se),d(se),Q(se,K))}function L(se){if(se.nodeType===mu||se.nodeType===bk)for(var he=se.firstChild;he;){var K=s(he);K&&(k[K]=he),L(he),he=he.nextSibling}}L(r);function Z(se){l(se);for(var he=se.firstChild;he;){var K=he.nextSibling,_=s(he);if(_){var G=k[_];G&&$d(he,G)?(he.parentNode.replaceChild(G,he),H(G,he)):Z(he)}else Z(he);he=K}}function re(se,he,K){for(;he;){var _=he.nextSibling;(K=s(he))?R(K):z(he,se,!0),he=_}}function H(se,he,K){var _=s(he);_&&delete k[_],!(!K&&(c(se,he)===!1||(t(se,he),u(se),p(se,he)===!1)))&&(se.nodeName!=="TEXTAREA"?q(se,he):gk.TEXTAREA(se,he))}function q(se,he){var K=O(se,he),_=he.firstChild,G=se.firstChild,ae,j,Je,at,st;e:for(;_;){for(at=_.nextSibling,ae=s(_);!K&&G;){if(Je=G.nextSibling,_.isSameNode&&_.isSameNode(G)){_=at,G=Je;continue e}j=s(G);var Ce=G.nodeType,Ze=void 0;if(Ce===_.nodeType&&(Ce===mu?(ae?ae!==j&&((st=k[ae])?Je===st?Ze=!1:(se.insertBefore(st,G),j?R(j):z(G,se,!0),G=st):Ze=!1):j&&(Ze=!1),Ze=Ze!==!1&&$d(G,_),Ze&&H(G,_)):(Ce===yk||Ce==vk)&&(Ze=!0,G.nodeValue!==_.nodeValue&&(G.nodeValue=_.nodeValue))),Ze){_=at,G=Je;continue e}j?R(j):z(G,se,!0),G=Je}if(ae&&(st=k[ae])&&$d(st,_))K||w(se,st),H(st,_);else{var Xt=a(_);Xt!==!1&&(Xt&&(_=Xt),_.actualize&&(_=_.actualize(se.ownerDocument||gi)),w(se,_),Z(_))}_=at,G=Je}re(se,G,j);var ct=gk[se.nodeName];ct&&ct(se,he)}var oe=r,pe=oe.nodeType,fe=i.nodeType;if(!x){if(pe===mu)fe===mu?$d(r,i)||(d(r),oe=hM(r,fM(i.nodeName,i.namespaceURI))):oe=i;else if(pe===yk||pe===vk){if(fe===pe)return oe.nodeValue!==i.nodeValue&&(oe.nodeValue=i.nodeValue),oe;oe=i}}if(oe===i)d(r);else{if(i.isSameNode&&i.isSameNode(oe))return;if(H(oe,i,x),C)for(var ge=0,ve=C.length;ge<ve;ge++){var Qe=k[C[ge]];Qe&&z(Qe,Qe.parentNode,!1)}}return!x&&oe!==r&&r.parentNode&&(oe.actualize&&(oe=oe.actualize(r.ownerDocument||gi)),r.parentNode.replaceChild(oe,r)),oe}}var mM=pM(iM),wk=mM,Xd=class{static patchEl(t,e,r){wk(t,e,{childrenOnly:!1,onBeforeElUpdated:(i,n)=>{if(r&&r.isSameNode(i)&&de.isFormInput(i))return de.mergeFocusedInput(i,n),!1}})}constructor(t,e,r,i,n,o){this.view=t,this.liveSocket=t.liveSocket,this.container=e,this.id=r,this.rootID=t.root.id,this.html=i,this.streams=n,this.streamInserts={},this.targetCID=o,this.cidPatch=wo(this.targetCID),this.pendingRemoves=[],this.phxRemove=this.liveSocket.binding("remove"),this.callbacks={beforeadded:[],beforeupdated:[],beforephxChildAdded:[],afteradded:[],afterupdated:[],afterdiscarded:[],afterphxChildAdded:[],aftertransitionsDiscarded:[]}}before(t,e){this.callbacks[`before${t}`].push(e)}after(t,e){this.callbacks[`after${t}`].push(e)}trackBefore(t,...e){this.callbacks[`before${t}`].forEach(r=>r(...e))}trackAfter(t,...e){this.callbacks[`after${t}`].forEach(r=>r(...e))}markPrunableContentForRemoval(){let t=this.liveSocket.binding(Nd);de.all(this.container,`[${t}=${Pd}]`,e=>e.innerHTML=""),de.all(this.container,`[${t}=append] > *, [${t}=prepend] > *`,e=>{e.setAttribute(tk,"")})}perform(t){let{view:e,liveSocket:r,container:i,html:n}=this,o=this.isCIDPatch()?this.targetCIDContainer(n):i;if(this.isCIDPatch()&&!o)return;let s=r.getActiveElement(),{selectionStart:a,selectionEnd:l}=s&&de.hasSelectionRange(s)?s:{},c=r.binding(Nd),u=r.binding(Dd),f=r.binding(d1),d=r.binding(Qk),p=r.binding(_k),O=r.binding(Xz),w=[],x=[],k=[],C=[],R=null;return this.trackBefore("added",i),this.trackBefore("updated",i,i),r.time("morphdom",()=>{this.streams.forEach(([Q,z,L,Z])=>{Object.entries(z).forEach(([re,[H,q]])=>{this.streamInserts[re]={ref:Q,streamAt:H,limit:q,resetKept:!1}}),Z!==void 0&&de.all(i,`[${hu}="${Q}"]`,re=>{z[re.id]?this.streamInserts[re.id].resetKept=!0:this.removeStreamChildElement(re)}),L.forEach(re=>{let H=i.querySelector(`[id="${re}"]`);H&&this.removeStreamChildElement(H)})}),wk(o,n,{childrenOnly:o.getAttribute(xo)===null,getNodeKey:Q=>de.isPhxDestroyed(Q)?null:t?Q.id:Q.id||Q.getAttribute&&Q.getAttribute(Pk),skipFromChildren:Q=>Q.getAttribute(c)===Pd,addChild:(Q,z)=>{let{ref:L,streamAt:Z,limit:re}=this.getStreamInsert(z);if(L===void 0)return Q.appendChild(z);if(de.putSticky(z,hu,oe=>oe.setAttribute(hu,L)),Z===0)Q.insertAdjacentElement("afterbegin",z);else if(Z===-1)Q.appendChild(z);else if(Z>0){let oe=Array.from(Q.children)[Z];Q.insertBefore(z,oe)}let H=re!==null&&Array.from(Q.children),q=[];re&&re<0&&H.length>re*-1?q=H.slice(0,H.length+re):re&&re>=0&&H.length>re&&(q=H.slice(re)),q.forEach(oe=>{this.streamInserts[oe.id]||this.removeStreamChildElement(oe)})},onBeforeNodeAdded:Q=>(de.maybeAddPrivateHooks(Q,d,p),this.trackBefore("added",Q),Q),onNodeAdded:Q=>{Q.getAttribute&&this.maybeReOrderStream(Q),Q instanceof HTMLImageElement&&Q.srcset?Q.srcset=Q.srcset:Q instanceof HTMLVideoElement&&Q.autoplay&&Q.play(),de.isNowTriggerFormExternal(Q,O)&&(R=Q),Q.getAttribute&&Q.getAttribute("name")&&de.isFormInput(Q)&&x.push(Q),(de.isPhxChild(Q)&&e.ownsElement(Q)||de.isPhxSticky(Q)&&e.ownsElement(Q.parentNode))&&this.trackAfter("phxChildAdded",Q),w.push(Q)},onBeforeElChildrenUpdated:(Q,z)=>{if(Q.getAttribute(c)===Pd){let L=Array.from(z.children).map(Z=>Z.id);Array.from(Q.children).filter(Z=>{let{resetKept:re}=this.getStreamInsert(Z);return re}).sort((Z,re)=>{let H=L.indexOf(Z.id),q=L.indexOf(re.id);return H===q?0:H<q?-1:1}).forEach(Z=>Q.appendChild(Z))}},onNodeDiscarded:Q=>this.onNodeDiscarded(Q),onBeforeNodeDiscarded:Q=>Q.getAttribute&&Q.getAttribute(tk)!==null?!0:!(Q.parentElement!==null&&Q.id&&de.isPhxUpdate(Q.parentElement,c,[Pd,"append","prepend"])||this.maybePendingRemove(Q)||this.skipCIDSibling(Q)),onElUpdated:Q=>{de.isNowTriggerFormExternal(Q,O)&&(R=Q),k.push(Q),this.maybeReOrderStream(Q)},onBeforeElUpdated:(Q,z)=>{if(de.maybeAddPrivateHooks(z,d,p),de.cleanChildNodes(z,c),this.skipCIDSibling(z)||de.isPhxSticky(Q))return!1;if(de.isIgnored(Q,c)||Q.form&&Q.form.isSameNode(R))return this.trackBefore("updated",Q,z),de.mergeAttrs(Q,z,{isIgnored:!0}),k.push(Q),de.applyStickyOperations(Q),!1;if(Q.type==="number"&&Q.validity&&Q.validity.badInput)return!1;if(!de.syncPendingRef(Q,z,f))return de.isUploadInput(Q)&&(this.trackBefore("updated",Q,z),k.push(Q)),de.applyStickyOperations(Q),!1;if(de.isPhxChild(z)){let Z=Q.getAttribute(bs);return de.mergeAttrs(Q,z,{exclude:[gu]}),Z!==""&&Q.setAttribute(bs,Z),Q.setAttribute(yu,this.rootID),de.applyStickyOperations(Q),!1}return de.copyPrivates(z,Q),s&&Q.isSameNode(s)&&de.isFormInput(Q)&&Q.type!=="hidden"?(this.trackBefore("updated",Q,z),de.mergeFocusedInput(Q,z),de.syncAttrsToProps(Q),k.push(Q),de.applyStickyOperations(Q),x.push(Q),!1):(de.isPhxUpdate(z,c,["append","prepend"])&&C.push(new rM(Q,z,z.getAttribute(c))),de.syncAttrsToProps(z),de.applyStickyOperations(z),z.getAttribute("name")&&de.isFormInput(z)&&x.push(z),this.trackBefore("updated",Q,z),!0)}})}),r.isDebugEnabled()&&Wz(),C.length>0&&r.time("post-morph append/prepend restoration",()=>{C.forEach(Q=>Q.perform())}),de.maybeHideFeedback(o,x,u),r.silenceEvents(()=>de.restoreFocus(s,a,l)),de.dispatchEvent(document,"phx:update"),w.forEach(Q=>this.trackAfter("added",Q)),k.forEach(Q=>this.trackAfter("updated",Q)),this.transitionPendingRemoves(),R&&(r.unload(),Object.getPrototypeOf(R).submit.call(R)),!0}onNodeDiscarded(t){(de.isPhxChild(t)||de.isPhxSticky(t))&&this.liveSocket.destroyViewByEl(t),this.trackAfter("discarded",t)}maybePendingRemove(t){return t.getAttribute&&t.getAttribute(this.phxRemove)!==null?(this.pendingRemoves.push(t),!0):!1}removeStreamChildElement(t){this.maybePendingRemove(t)||(t.remove(),this.onNodeDiscarded(t))}getStreamInsert(t){return(t.id?this.streamInserts[t.id]:{})||{}}maybeReOrderStream(t){let{ref:e,streamAt:r,limit:i}=this.getStreamInsert(t);if(r!==void 0){if(de.putSticky(t,hu,n=>n.setAttribute(hu,e)),r===0)t.parentElement.insertBefore(t,t.parentElement.firstElementChild);else if(r>0){let n=Array.from(t.parentElement.children),o=n.indexOf(t);if(r>=n.length-1)t.parentElement.appendChild(t);else{let s=n[r];o>r?t.parentElement.insertBefore(t,s):t.parentElement.insertBefore(t,s.nextElementSibling)}}}}transitionPendingRemoves(){let{pendingRemoves:t,liveSocket:e}=this;t.length>0&&(e.transitionRemoves(t),e.requestDOMUpdate(()=>{t.forEach(r=>{let i=de.firstPhxChild(r);i&&e.destroyViewByEl(i),r.remove()}),this.trackAfter("transitionsDiscarded",t)}))}isCIDPatch(){return this.cidPatch}skipCIDSibling(t){return t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute(Ck)}targetCIDContainer(t){if(!this.isCIDPatch())return;let[e,...r]=de.findComponentNodeList(this.container,this.targetCID);return r.length===0&&de.childNodeLength(t)===1?e:e&&e.parentNode}indexOf(t,e){return Array.from(t.children).indexOf(e)}},OM=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),gM=new Set([">","/"," ",`
`," ","\r"]),bM=new Set(["'",'"']),xk=(t,e,r)=>{let i=0,n=!1,o,s,a,l,c,u;for(;i<t.length;){let p=t.charAt(i);if(n)p==="-"&&t.slice(i,i+3)==="-->"?(n=!1,i+=3):i++;else if(p==="<"&&t.slice(i,i+4)==="<!--")n=!0,i+=4;else if(p==="<"){o=t.slice(0,i);let O=i;for(i++,i;i<t.length&&!gM.has(t.charAt(i));i++);for(l=i,a=t.slice(O+1,l),i;i<t.length&&t.charAt(i)!==">";i++)if(t.charAt(i)==="="){let w=t.slice(i-3,i)===" id";i++;let x=t.charAt(i);if(bM.has(x)){let k=i;for(i++,i;i<t.length&&t.charAt(i)!==x;i++);if(w){c=t.slice(k+1,i);break}}}break}else i++}if(!a)throw new Error(`malformed html ${t}`);let f=t.length-1;for(n=!1;f>=o.length+a.length;){let p=t.charAt(f);if(n)p==="-"&&t.slice(f-3,f)==="<!-"?(n=!1,f-=4):f-=1;else if(p===">"&&t.slice(f-2,f)==="--")n=!0,f-=3;else{if(p===">")break;f-=1}}s=t.slice(f+1,t.length);let d=Object.keys(e).map(p=>e[p]===!0?p:`${p}="${e[p]}"`).join(" ");if(r){let p=c?` id="${c}"`:"";OM.has(a)?u=`<${a}${p}${d===""?"":" "}${d}/>`:u=`<${a}${p}${d===""?"":" "}${d}></${a}>`}else{let p=t.slice(l,f+1);u=`<${a}${d===""?"":" "}${d}${p}`}return[u,o,s]},kk=class{static extract(t){let{[uk]:e,[ck]:r,[fk]:i}=t;return delete t[uk],delete t[ck],delete t[fk],{diff:t,title:i,reply:e||null,events:r||[]}}constructor(t,e){this.viewId=t,this.rendered={},this.magicId=0,this.mergeDiff(e)}parentViewId(){return this.viewId}toString(t){let[e,r]=this.recursiveToString(this.rendered,this.rendered[Ai],t,!0,{});return[e,r]}recursiveToString(t,e=t[Ai],r,i,n){r=r?new Set(r):null;let o={buffer:"",components:e,onlyCids:r,streams:new Set};return this.toOutputBuffer(t,null,o,i,n),[o.buffer,o.streams]}componentCIDs(t){return Object.keys(t[Ai]||{}).map(e=>parseInt(e))}isComponentOnlyDiff(t){return t[Ai]?Object.keys(t).length===1:!1}getComponent(t,e){return t[Ai][e]}mergeDiff(t){let e=t[Ai],r={};if(delete t[Ai],this.rendered=this.mutableMerge(this.rendered,t),this.rendered[Ai]=this.rendered[Ai]||{},e){let i=this.rendered[Ai];for(let n in e)e[n]=this.cachedFindComponent(n,e[n],i,e,r);for(let n in e)i[n]=e[n];t[Ai]=e}}cachedFindComponent(t,e,r,i,n){if(n[t])return n[t];{let o,s,a=e[Bn];if(wo(a)){let l;a>0?l=this.cachedFindComponent(a,i[a],r,i,n):l=r[-a],s=l[Bn],o=this.cloneMerge(l,e,!0),o[Bn]=s}else o=e[Bn]!==void 0||r[t]===void 0?e:this.cloneMerge(r[t],e,!1);return n[t]=o,o}}mutableMerge(t,e){return e[Bn]!==void 0?e:(this.doMutableMerge(t,e),t)}doMutableMerge(t,e){for(let r in e){let i=e[r],n=t[r];pu(i)&&i[Bn]===void 0&&pu(n)?this.doMutableMerge(n,i):t[r]=i}t[a1]&&(t.newRender=!0)}cloneMerge(t,e,r){let i=ne(ne({},t),e);for(let n in i){let o=e[n],s=t[n];pu(o)&&o[Bn]===void 0&&pu(s)&&(i[n]=this.cloneMerge(s,o,r))}return r?(delete i.magicId,delete i.newRender):t[a1]&&(i.newRender=!0),i}componentToString(t){let[e,r]=this.recursiveCIDToString(this.rendered[Ai],t,null),[i,n,o]=xk(e,{});return[i,r]}pruneCIDs(t){t.forEach(e=>delete this.rendered[Ai][e])}get(){return this.rendered}isNewFingerprint(t={}){return!!t[Bn]}templateStatic(t,e){return typeof t=="number"?e[t]:t}nextMagicID(){return this.magicId++,`${this.parentViewId()}-${this.magicId}`}toOutputBuffer(t,e,r,i,n={}){if(t[Ad])return this.comprehensionToBuffer(t,e,r);let{[Bn]:o}=t;o=this.templateStatic(o,e);let s=t[a1],a=r.buffer;s&&(r.buffer=""),i&&s&&!t.magicId&&(t.newRender=!0,t.magicId=this.nextMagicID()),r.buffer+=o[0];for(let l=1;l<o.length;l++)this.dynamicToBuffer(t[l-1],e,r,i),r.buffer+=o[l];if(s){let l=!1,c;i||Object.keys(n).length>0?(l=!t.newRender,c=ne({[Pk]:t.magicId},n)):c=n,l&&(c[Ck]=!0);let[u,f,d]=xk(r.buffer,c,l);t.newRender=!1,r.buffer=a+f+u+d}}comprehensionToBuffer(t,e,r){let{[Ad]:i,[Bn]:n,[hk]:o}=t,[s,a,l,c]=o||[null,{},[],null];n=this.templateStatic(n,e);let u=e||t[qz];for(let f=0;f<i.length;f++){let d=i[f];r.buffer+=n[0];for(let p=1;p<n.length;p++){let O=!1;this.dynamicToBuffer(d[p-1],u,r,O),r.buffer+=n[p]}}o!==void 0&&(t[Ad].length>0||l.length>0||c)&&(delete t[hk],t[Ad]=[],r.streams.add(o))}dynamicToBuffer(t,e,r,i){if(typeof t=="number"){let[n,o]=this.recursiveCIDToString(r.components,t,r.onlyCids);r.buffer+=n,r.streams=new Set([...r.streams,...o])}else pu(t)?this.toOutputBuffer(t,e,r,i,{}):r.buffer+=t}recursiveCIDToString(t,e,r){let i=t[e]||Ri(`no component for CID ${e}`,t),n={[xo]:e},o=r&&!r.has(e);i.newRender=!o,i.magicId=`${this.parentViewId()}-c-${e}`;let s=!0,[a,l]=this.recursiveToString(i,t,r,s,n);return[a,l]}},yM=1,Ou=class{static makeID(){return yM++}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,vM={exec(t,e,r,i,n){let[o,s]=n||[null,{callback:n&&n.callback}];(e.charAt(0)==="["?JSON.parse(e):[[o,s]]).forEach(([l,c])=>{l===o&&s.data&&(c.data=Object.assign(c.data||{},s.data),c.callback=c.callback||s.callback),this.filterToEls(i,c).forEach(u=>{this[`exec_${l}`](t,e,r,i,u,c)})})},isVisible(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length>0)},isInViewport(t){let e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)},exec_exec(t,e,r,i,n,[o,s]){(s?de.all(document,s):[i]).forEach(l=>{let c=l.getAttribute(o);if(!c)throw new Error(`expected ${o} to contain JS command on "${s}"`);r.liveSocket.execJS(l,c,t)})},exec_dispatch(t,e,r,i,n,{to:o,event:s,detail:a,bubbles:l}){a=a||{},a.dispatcher=i,de.dispatchEvent(n,s,{detail:a,bubbles:l})},exec_push(t,e,r,i,n,o){if(!r.isConnected())return;let{event:s,data:a,target:l,page_loading:c,loading:u,value:f,dispatcher:d,callback:p}=o,O={loading:u,value:f,target:l,page_loading:!!c},w=t==="change"&&d?d:i,x=l||w.getAttribute(r.binding("target"))||w;r.withinTargets(x,(k,C)=>{if(t==="change"){let{newCid:R,_target:Q}=o;Q=Q||(de.isFormInput(i)?i.name:void 0),Q&&(O._target=Q),k.pushInput(i,C,R,s||e,O,p)}else if(t==="submit"){let{submitter:R}=o;k.submitForm(i,C,s||e,R,O,p)}else k.pushEvent(t,i,C,s||e,a,O,p)})},exec_navigate(t,e,r,i,n,{href:o,replace:s}){r.liveSocket.historyRedirect(o,s?"replace":"push")},exec_patch(t,e,r,i,n,{href:o,replace:s}){r.liveSocket.pushHistoryPatch(o,s?"replace":"push",i)},exec_focus(t,e,r,i,n){window.requestAnimationFrame(()=>$l.attemptFocus(n))},exec_focus_first(t,e,r,i,n){window.requestAnimationFrame(()=>$l.focusFirstInteractive(n)||$l.focusFirst(n))},exec_push_focus(t,e,r,i,n){window.requestAnimationFrame(()=>Id=n||i)},exec_pop_focus(t,e,r,i,n){window.requestAnimationFrame(()=>{Id&&Id.focus(),Id=null})},exec_add_class(t,e,r,i,n,{names:o,transition:s,time:a}){this.addOrRemoveClasses(n,o,[],s,a,r)},exec_remove_class(t,e,r,i,n,{names:o,transition:s,time:a}){this.addOrRemoveClasses(n,[],o,s,a,r)},exec_transition(t,e,r,i,n,{time:o,transition:s}){this.addOrRemoveClasses(n,[],[],s,o,r)},exec_toggle(t,e,r,i,n,{display:o,ins:s,outs:a,time:l}){this.toggle(t,r,n,o,s,a,l)},exec_show(t,e,r,i,n,{display:o,transition:s,time:a}){this.show(t,r,n,o,s,a)},exec_hide(t,e,r,i,n,{display:o,transition:s,time:a}){this.hide(t,r,n,o,s,a)},exec_set_attr(t,e,r,i,n,{attr:[o,s]}){this.setOrRemoveAttrs(n,[[o,s]],[])},exec_remove_attr(t,e,r,i,n,{attr:o}){this.setOrRemoveAttrs(n,[],[o])},show(t,e,r,i,n,o){this.isVisible(r)||this.toggle(t,e,r,i,n,null,o)},hide(t,e,r,i,n,o){this.isVisible(r)&&this.toggle(t,e,r,i,null,n,o)},toggle(t,e,r,i,n,o,s){let[a,l,c]=n||[[],[],[]],[u,f,d]=o||[[],[],[]];if(a.length>0||u.length>0)if(this.isVisible(r)){let p=()=>{this.addOrRemoveClasses(r,f,a.concat(l).concat(c)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(r,u,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(r,d,f))})};r.dispatchEvent(new Event("phx:hide-start")),e.transition(s,p,()=>{this.addOrRemoveClasses(r,[],u.concat(d)),de.putSticky(r,"toggle",O=>O.style.display="none"),r.dispatchEvent(new Event("phx:hide-end"))})}else{if(t==="remove")return;let p=()=>{this.addOrRemoveClasses(r,l,u.concat(f).concat(d));let O=i||this.defaultDisplay(r);de.putSticky(r,"toggle",w=>w.style.display=O),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(r,a,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(r,c,l))})};r.dispatchEvent(new Event("phx:show-start")),e.transition(s,p,()=>{this.addOrRemoveClasses(r,[],a.concat(c)),r.dispatchEvent(new Event("phx:show-end"))})}else this.isVisible(r)?window.requestAnimationFrame(()=>{r.dispatchEvent(new Event("phx:hide-start")),de.putSticky(r,"toggle",p=>p.style.display="none"),r.dispatchEvent(new Event("phx:hide-end"))}):window.requestAnimationFrame(()=>{r.dispatchEvent(new Event("phx:show-start"));let p=i||this.defaultDisplay(r);de.putSticky(r,"toggle",O=>O.style.display=p),r.dispatchEvent(new Event("phx:show-end"))})},addOrRemoveClasses(t,e,r,i,n,o){let[s,a,l]=i||[[],[],[]];if(s.length>0){let c=()=>{this.addOrRemoveClasses(t,a,[].concat(s).concat(l)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(t,s,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(t,l,a))})},u=()=>this.addOrRemoveClasses(t,e.concat(l),r.concat(s).concat(a));return o.transition(n,c,u)}window.requestAnimationFrame(()=>{let[c,u]=de.getSticky(t,"classes",[[],[]]),f=e.filter(w=>c.indexOf(w)<0&&!t.classList.contains(w)),d=r.filter(w=>u.indexOf(w)<0&&t.classList.contains(w)),p=c.filter(w=>r.indexOf(w)<0).concat(f),O=u.filter(w=>e.indexOf(w)<0).concat(d);de.putSticky(t,"classes",w=>(w.classList.remove(...O),w.classList.add(...p),[p,O]))})},setOrRemoveAttrs(t,e,r){let[i,n]=de.getSticky(t,"attrs",[[],[]]),o=e.map(([l,c])=>l).concat(r),s=i.filter(([l,c])=>!o.includes(l)).concat(e),a=n.filter(l=>!o.includes(l)).concat(r);de.putSticky(t,"attrs",l=>(a.forEach(c=>l.removeAttribute(c)),s.forEach(([c,u])=>l.setAttribute(c,u)),[s,a]))},hasAllClasses(t,e){return e.every(r=>t.classList.contains(r))},isToggledOut(t,e){return!this.isVisible(t)||this.hasAllClasses(t,e)},filterToEls(t,{to:e}){return e?de.all(document,e):[t]},defaultDisplay(t){return{tr:"table-row",td:"table-cell"}[t.tagName.toLowerCase()]||"block"}},Yi=vM,Ld=(t,e,r=[])=>{let l=e,{submitter:i}=l,n=qr(l,["submitter"]),o=new FormData(t);i&&i.hasAttribute("name")&&i.form&&i.form===t&&o.append(i.name,i.value);let s=[];o.forEach((c,u,f)=>{c instanceof File&&s.push(u)}),s.forEach(c=>o.delete(c));let a=new URLSearchParams;for(let[c,u]of o.entries())(r.length===0||r.indexOf(c)>=0)&&a.append(c,u);for(let c in n)a.append(c,n[c]);return a.toString()},Xk=class{constructor(t,e,r,i,n){this.isDead=!1,this.liveSocket=e,this.flash=i,this.parent=r,this.root=r?r.root:this,this.el=t,this.id=this.el.id,this.ref=0,this.childJoins=0,this.loaderTimer=null,this.pendingDiffs=[],this.pruningCIDs=[],this.redirect=!1,this.href=null,this.joinCount=this.parent?this.parent.joinCount-1:0,this.joinPending=!0,this.destroyed=!1,this.joinCallback=function(o){o&&o()},this.stopCallback=function(){},this.pendingJoinOps=this.parent?null:[],this.viewHooks={},this.uploaders={},this.formSubmits=[],this.children=this.parent?null:{},this.root.children[this.id]={},this.channel=this.liveSocket.channel(`lv:${this.id}`,()=>{let o=this.href&&this.expandURL(this.href);return{redirect:this.redirect?o:void 0,url:this.redirect?void 0:o||void 0,params:this.connectParams(n),session:this.getSession(),static:this.getStatic(),flash:this.flash}})}setHref(t){this.href=t}setRedirect(t){this.redirect=!0,this.href=t}isMain(){return this.el.hasAttribute(m1)}connectParams(t){let e=this.liveSocket.params(this.el),r=de.all(document,`[${this.binding(Az)}]`).map(i=>i.src||i.href).filter(i=>typeof i=="string");return r.length>0&&(e._track_static=r),e._mounts=this.joinCount,e._live_referer=t,e}isConnected(){return this.channel.canPush()}getSession(){return this.el.getAttribute(bs)}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(ik,uu,Td,nk,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(ik),this.execAll(this.binding("connected"))}triggerReconnected(){for(let t in this.viewHooks)this.viewHooks[t].__reconnected()}log(t,e){this.liveSocket.log(this,t,e)}transition(t,e,r=function(){}){this.liveSocket.transition(t,e,r)}withinTargets(t,e){if(t instanceof HTMLElement||t instanceof SVGElement)return this.liveSocket.owner(t,r=>e(r,t));if(wo(t))de.findComponentNodeList(this.el,t).length===0?Ri(`no component found matching phx-target of ${t}`):e(this,parseInt(t));else{let r=Array.from(document.querySelectorAll(t));r.length===0&&Ri(`nothing found matching the phx-target selector "${t}"`),r.forEach(i=>this.liveSocket.owner(i,n=>e(n,i)))}}applyDiff(t,e,r){this.log(t,()=>["",Md(e)]);let{diff:i,reply:n,events:o,title:s}=kk.extract(e);r({diff:i,reply:n,events:o}),s&&window.requestAnimationFrame(()=>de.putTitle(s))}onJoin(t){let{rendered:e,container:r}=t;if(r){let[i,n]=r;this.el=de.replaceRootContainer(this.el,i,n)}this.childJoins=0,this.joinPending=!0,this.flash=null,Vn.dropLocal(this.liveSocket.localStorage,window.location.pathname,Sk),this.applyDiff("mount",e,({diff:i,events:n})=>{this.rendered=new kk(this.id,i);let[o,s]=this.renderContainer(null,"join");this.dropPendingRefs();let a=this.formsForRecovery(o);this.joinCount++,a.length>0?a.forEach(([l,c,u],f)=>{this.pushFormRecovery(l,u,d=>{f===a.length-1&&this.onJoinComplete(d,o,s,n)})}):this.onJoinComplete(t,o,s,n)})}dropPendingRefs(){de.all(document,`[${xa}="${this.id}"][${Hi}]`,t=>{t.removeAttribute(Hi),t.removeAttribute(xa)})}onJoinComplete({live_patch:t},e,r,i){if(this.joinCount>1||this.parent&&!this.parent.isJoinPending())return this.applyJoinPatch(t,e,r,i);de.findPhxChildrenInFragment(e,this.id).filter(o=>{let s=o.id&&this.el.querySelector(`[id="${o.id}"]`),a=s&&s.getAttribute(gu);return a&&o.setAttribute(gu,a),this.joinChild(o)}).length===0?this.parent?(this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,r,i)]),this.parent.ackJoin(this)):(this.onAllChildJoinsComplete(),this.applyJoinPatch(t,e,r,i)):this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(t,e,r,i)])}attachTrueDocEl(){this.el=de.byId(this.id),this.el.setAttribute(yu,this.root.id)}execNewMounted(){let t=this.binding(Qk),e=this.binding(_k);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(ak)}]`,r=>this.maybeMounted(r))}applyJoinPatch(t,e,r,i){this.attachTrueDocEl();let n=new Xd(this,this.el,this.id,e,r,null);if(n.markPrunableContentForRemoval(),this.performPatch(n,!1,!0),this.joinNewChildren(),this.execNewMounted(),this.joinPending=!1,this.liveSocket.dispatchEvents(i),this.applyPendingUpdates(),t){let{kind:o,to:s}=t;this.liveSocket.historyPatch(s,o)}this.hideLoader(),this.joinCount>1&&this.triggerReconnected(),this.stopCallback()}triggerBeforeUpdateHook(t,e){this.liveSocket.triggerDOM("onBeforeElUpdated",[t,e]);let r=this.getHook(t),i=r&&de.isIgnored(t,this.binding(Nd));if(r&&!t.isEqualNode(e)&&!(i&&Yz(t.dataset,e.dataset)))return r.__beforeUpdate(),r}maybeMounted(t){let e=t.getAttribute(this.binding(ak)),r=e&&de.private(t,"mounted");e&&!r&&(this.liveSocket.execJS(t,e),de.putPrivate(t,"mounted",!0))}maybeAddNewHook(t,e){let r=this.addHook(t);r&&r.__mounted()}performPatch(t,e,r=!1){let i=[],n=!1,o=new Set;return t.after("added",s=>{this.liveSocket.triggerDOM("onNodeAdded",[s]),this.maybeAddNewHook(s),s.getAttribute&&this.maybeMounted(s)}),t.after("phxChildAdded",s=>{de.isPhxSticky(s)?this.liveSocket.joinRootViews():n=!0}),t.before("updated",(s,a)=>{this.triggerBeforeUpdateHook(s,a)&&o.add(s.id)}),t.after("updated",s=>{o.has(s.id)&&this.getHook(s).__updated()}),t.after("discarded",s=>{s.nodeType===Node.ELEMENT_NODE&&i.push(s)}),t.after("transitionsDiscarded",s=>this.afterElementsRemoved(s,e)),t.perform(r),this.afterElementsRemoved(i,e),n}afterElementsRemoved(t,e){let r=[];t.forEach(i=>{let n=de.all(i,`[${xo}]`),o=de.all(i,`[${this.binding(fu)}]`);n.concat(i).forEach(s=>{let a=this.componentID(s);wo(a)&&r.indexOf(a)===-1&&r.push(a)}),o.concat(i).forEach(s=>{let a=this.getHook(s);a&&this.destroyHook(a)})}),e&&this.maybePushComponentsDestroyed(r)}joinNewChildren(){de.findPhxChildren(this.el,this.id).forEach(t=>this.joinChild(t))}getChildById(t){return this.root.children[this.id][t]}getDescendentByEl(t){return t.id===this.id?this:this.children[t.getAttribute(Rl)][t.id]}destroyDescendent(t){for(let e in this.root.children)for(let r in this.root.children[e])if(r===t)return this.root.children[e][r].destroy()}joinChild(t){if(!this.getChildById(t.id)){let r=new Xk(t,this.liveSocket,this);return this.root.children[this.id][r.id]=r,r.join(),this.childJoins++,!0}}isJoinPending(){return this.joinPending}ackJoin(t){this.childJoins--,this.childJoins===0&&(this.parent?this.parent.ackJoin(this):this.onAllChildJoinsComplete())}onAllChildJoinsComplete(){this.joinCallback(()=>{this.pendingJoinOps.forEach(([t,e])=>{t.isDestroyed()||e()}),this.pendingJoinOps=[]})}update(t,e){if(this.isJoinPending()||this.liveSocket.hasPendingLink()&&this.root.isMain())return this.pendingDiffs.push({diff:t,events:e});this.rendered.mergeDiff(t);let r=!1;this.rendered.isComponentOnlyDiff(t)?this.liveSocket.time("component patch complete",()=>{de.findParentCIDs(this.el,this.rendered.componentCIDs(t)).forEach(n=>{this.componentPatch(this.rendered.getComponent(t,n),n)&&(r=!0)})}):dk(t)||this.liveSocket.time("full patch complete",()=>{let[i,n]=this.renderContainer(t,"update"),o=new Xd(this,this.el,this.id,i,n,null);r=this.performPatch(o,!0)}),this.liveSocket.dispatchEvents(e),r&&this.joinNewChildren()}renderContainer(t,e){return this.liveSocket.time(`toString diff (${e})`,()=>{let r=this.el.tagName,i=t?this.rendered.componentCIDs(t).concat(this.pruningCIDs):null,[n,o]=this.rendered.toString(i);return[`<${r}>${n}</${r}>`,o]})}componentPatch(t,e){if(dk(t))return!1;let[r,i]=this.rendered.componentToString(e),n=new Xd(this,this.el,this.id,r,i,e);return this.performPatch(n,!0)}getHook(t){return this.viewHooks[Ou.elementID(t)]}addHook(t){if(Ou.elementID(t)||!t.getAttribute)return;let e=t.getAttribute(`data-phx-${fu}`)||t.getAttribute(this.binding(fu));if(e&&!this.ownsElement(t))return;let r=this.liveSocket.getHookCallbacks(e);if(r){t.id||Ri(`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&&Ri(`unknown hook found for "${e}"`,t)}destroyHook(t){t.__destroyed(),t.__cleanup__(),delete this.viewHooks[Ou.elementID(t.el)]}applyPendingUpdates(){this.pendingDiffs.forEach(({diff:t,events:e})=>this.update(t,e)),this.pendingDiffs=[],this.eachChild(t=>t.applyPendingUpdates())}eachChild(t){let e=this.root.children[this.id]||{};for(let r in e)t(this.getChildById(r))}onChannel(t,e){this.liveSocket.onChannel(this.channel,t,r=>{this.isJoinPending()?this.root.pendingJoinOps.push([this,()=>e(r)]):this.liveSocket.requestDOMUpdate(()=>e(r))})}bindChannel(){this.liveSocket.onChannel(this.channel,"diff",t=>{this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",t,({diff:e,events:r})=>this.update(e,r))})}),this.onChannel("redirect",({to:t,flash:e})=>this.onRedirect({to:t,flash:e})),this.onChannel("live_patch",t=>this.onLivePatch(t)),this.onChannel("live_redirect",t=>this.onLiveRedirect(t)),this.channel.onError(t=>this.onError(t)),this.channel.onClose(t=>this.onClose(t))}destroyAllChildren(){this.eachChild(t=>t.destroy())}onLiveRedirect(t){let{to:e,kind:r,flash:i}=t,n=this.expandURL(e);this.liveSocket.historyRedirect(n,r,i)}onLivePatch(t){let{to:e,kind:r}=t;this.href=this.expandURL(e),this.liveSocket.historyPatch(e,r)}expandURL(t){return t.startsWith("/")?`${window.location.protocol}//${window.location.host}${t}`:t}onRedirect({to:t,flash:e}){this.liveSocket.redirect(t,e)}isDestroyed(){return this.destroyed}joinDead(){this.isDead=!0}join(t){this.showLoader(this.liveSocket.loaderTimeout),this.bindChannel(),this.isMain()&&(this.stopCallback=this.liveSocket.withPageLoading({to:this.href,kind:"initial"})),this.joinCallback=e=>{e=e||function(){},t?t(this.joinCount,e):e()},this.liveSocket.wrapPush(this,{timeout:!1},()=>this.channel.join().receive("ok",e=>{this.isDestroyed()||this.liveSocket.requestDOMUpdate(()=>this.onJoin(e))}).receive("error",e=>!this.isDestroyed()&&this.onJoinError(e)).receive("timeout",()=>!this.isDestroyed()&&this.onJoinError({reason:"timeout"})))}onJoinError(t){if(t.reason==="reload"){this.log("error",()=>[`failed mount with ${t.status}. Falling back to page request`,t]),this.isMain()&&this.onRedirect({to:this.href});return}else if(t.reason==="unauthorized"||t.reason==="stale"){this.log("error",()=>["unauthorized live_redirect. Falling back to page request",t]),this.isMain()&&this.onRedirect({to:this.href});return}if((t.redirect||t.live_redirect)&&(this.joinPending=!1,this.channel.leave()),t.redirect)return this.onRedirect(t.redirect);if(t.live_redirect)return this.onLiveRedirect(t.live_redirect);this.displayError([uu,Td,i1]),this.log("error",()=>["unable to join",t]),this.liveSocket.isConnected()&&this.liveSocket.reloadWithJitter(this)}onClose(t){if(!this.isDestroyed()){if(this.liveSocket.hasPendingLink()&&t!=="leave")return this.liveSocket.reloadWithJitter(this);this.destroyAllChildren(),this.liveSocket.dropActiveElement(this),document.activeElement&&document.activeElement.blur(),this.liveSocket.isUnloaded()&&this.showLoader(Nz)}}onError(t){this.onClose(t),this.liveSocket.isConnected()&&this.log("error",()=>["view crashed",t]),this.liveSocket.isUnloaded()||(this.liveSocket.isConnected()?this.displayError([uu,Td,i1]):this.displayError([uu,Td,nk]))}displayError(t){this.isMain()&&de.dispatchEvent(window,"phx:page-loading-start",{detail:{to:this.href,kind:"error"}}),this.showLoader(),this.setContainerClasses(...t),this.execAll(this.binding("disconnected"))}pushWithReply(t,e,r,i=function(){}){if(!this.isConnected())return;let[n,[o],s]=t?t():[null,[],{}],a=function(){};return(s.page_loading||o&&o.getAttribute(this.binding(rk))!==null)&&(a=this.liveSocket.withPageLoading({kind:"element",target:o})),typeof r.cid!="number"&&delete r.cid,this.liveSocket.wrapPush(this,{timeout:!0},()=>this.channel.push(e,r,Bz).receive("ok",l=>{let c=u=>{l.redirect&&this.onRedirect(l.redirect),l.live_patch&&this.onLivePatch(l.live_patch),l.live_redirect&&this.onLiveRedirect(l.live_redirect),a(),i(l,u)};l.diff?this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",l.diff,({diff:u,reply:f,events:d})=>{n!==null&&this.undoRefs(n),this.update(u,d),c(f)})}):(n!==null&&this.undoRefs(n),c(null))}))}undoRefs(t){this.isConnected()&&de.all(document,`[${xa}="${this.id}"][${Hi}="${t}"]`,e=>{let r=e.getAttribute(Ed);e.removeAttribute(Hi),e.removeAttribute(xa),e.getAttribute(n1)!==null&&(e.readOnly=!1,e.removeAttribute(n1)),r!==null&&(e.disabled=r==="true",e.removeAttribute(Ed)),Tk.forEach(o=>de.removeClass(e,o));let i=e.getAttribute(Cd);i!==null&&(e.innerText=i,e.removeAttribute(Cd));let n=de.private(e,Hi);if(n){let o=this.triggerBeforeUpdateHook(e,n);Xd.patchEl(e,n,this.liveSocket.getActiveElement()),o&&o.__updated(),de.deletePrivate(e,Hi)}})}putRef(t,e,r={}){let i=this.ref++,n=this.binding(d1);return r.loading&&(t=t.concat(de.all(document,r.loading))),t.forEach(o=>{o.classList.add(`phx-${e}-loading`),o.setAttribute(Hi,i),o.setAttribute(xa,this.el.id);let s=o.getAttribute(n);s!==null&&(o.getAttribute(Cd)||o.setAttribute(Cd,o.innerText),s!==""&&(o.innerText=s),o.setAttribute("disabled",""))}),[i,t,r]}componentID(t){let e=t.getAttribute&&t.getAttribute(xo);return e?parseInt(e):null}targetComponentID(t,e,r={}){if(wo(e))return e;let i=r.target||t.getAttribute(this.binding("target"));return wo(i)?parseInt(i):e&&(i!==null||r.target)?this.closestComponentID(e):null}closestComponentID(t){return wo(t)?t:t?Os(t.closest(`[${xo}]`),e=>this.ownsElement(e)&&this.componentID(e)):null}pushHookEvent(t,e,r,i,n){if(!this.isConnected())return this.log("hook",()=>["unable to push hook event. LiveView not connected",r,i]),!1;let[o,s,a]=this.putRef([t],"hook");return this.pushWithReply(()=>[o,s,a],"event",{type:"hook",event:r,value:i,cid:this.closestComponentID(e)},(l,c)=>n(c,o)),o}extractMeta(t,e,r){let i=this.binding("value-");for(let n=0;n<t.attributes.length;n++){e||(e={});let o=t.attributes[n].name;o.startsWith(i)&&(e[o.replace(i,"")]=t.getAttribute(o))}if(t.value!==void 0&&!(t instanceof HTMLFormElement)&&(e||(e={}),e.value=t.value,t.tagName==="INPUT"&&Ak.indexOf(t.type)>=0&&!t.checked&&delete e.value),r){e||(e={});for(let n in r)e[n]=r[n]}return e}pushEvent(t,e,r,i,n,o={},s){this.pushWithReply(()=>this.putRef([e],t,o),"event",{type:t,event:i,value:this.extractMeta(e,n,o.value),cid:this.targetComponentID(e,r,o)},(a,l)=>s&&s(l))}pushFileProgress(t,e,r,i=function(){}){this.liveSocket.withinOwners(t.form,(n,o)=>{n.pushWithReply(null,"progress",{event:t.getAttribute(n.binding(Dz)),ref:t.getAttribute(gs),entry_ref:e,progress:r,cid:n.targetComponentID(t.form,o)},i)})}pushInput(t,e,r,i,n,o){let s,a=wo(r)?r:this.targetComponentID(t.form,e,n),l=()=>this.putRef([t,t.form],"change",n),c,u=this.extractMeta(t.form);t.getAttribute(this.binding("change"))?c=Ld(t.form,ne({_target:n._target},u),[t.name]):c=Ld(t.form,ne({_target:n._target},u)),de.isUploadInput(t)&&t.files&&t.files.length>0&&Rr.trackFiles(t,Array.from(t.files)),s=Rr.serializeUploads(t);let f={type:"form",event:i,value:c,uploads:s,cid:a};this.pushWithReply(l,"event",f,d=>{if(de.showError(t,this.liveSocket.binding(Dd)),de.isUploadInput(t)&&de.isAutoUpload(t)){if(Rr.filesAwaitingPreflight(t).length>0){let[p,O]=l();this.uploadFiles(t.form,e,p,a,w=>{o&&o(d),this.triggerAwaitingSubmit(t.form)})}}else o&&o(d)})}triggerAwaitingSubmit(t){let e=this.getScheduledSubmit(t);if(e){let[r,i,n,o]=e;this.cancelSubmit(t),o()}}getScheduledSubmit(t){return this.formSubmits.find(([e,r,i,n])=>e.isSameNode(t))}scheduleSubmit(t,e,r,i){if(this.getScheduledSubmit(t))return!0;this.formSubmits.push([t,e,r,i])}cancelSubmit(t){this.formSubmits=this.formSubmits.filter(([e,r,i])=>e.isSameNode(t)?(this.undoRefs(r),!1):!0)}disableForm(t,e={}){let r=u=>!(bu(u,`${this.binding(Nd)}=ignore`,u.form)||bu(u,"data-phx-update=ignore",u.form)),i=u=>u.hasAttribute(this.binding(d1)),n=u=>u.tagName=="BUTTON",o=u=>["INPUT","TEXTAREA","SELECT"].includes(u.tagName),s=Array.from(t.elements),a=s.filter(i),l=s.filter(n).filter(r),c=s.filter(o).filter(r);return l.forEach(u=>{u.setAttribute(Ed,u.disabled),u.disabled=!0}),c.forEach(u=>{u.setAttribute(n1,u.readOnly),u.readOnly=!0,u.files&&(u.setAttribute(Ed,u.disabled),u.disabled=!0)}),t.setAttribute(this.binding(rk),""),this.putRef([t].concat(a).concat(l).concat(c),"submit",e)}pushFormSubmit(t,e,r,i,n,o){let s=()=>this.disableForm(t,n),a=this.targetComponentID(t,e);if(Rr.hasUploadsInProgress(t)){let[l,c]=s(),u=()=>this.pushFormSubmit(t,e,r,i,n,o);return this.scheduleSubmit(t,l,n,u)}else if(Rr.inputsAwaitingPreflight(t).length>0){let[l,c]=s(),u=()=>[l,c,n];this.uploadFiles(t,e,l,a,f=>{let d=this.extractMeta(t),p=Ld(t,ne({submitter:i},d));this.pushWithReply(u,"event",{type:"form",event:r,value:p,cid:a},o)})}else if(!(t.hasAttribute(Hi)&&t.classList.contains("phx-submit-loading"))){let l=this.extractMeta(t),c=Ld(t,ne({submitter:i},l));this.pushWithReply(s,"event",{type:"form",event:r,value:c,cid:a},o)}}uploadFiles(t,e,r,i,n){let o=this.joinCount,s=Rr.activeFileInputs(t),a=s.length;s.forEach(l=>{let c=new Rr(l,this,()=>{a--,a===0&&n()});this.uploaders[l]=c;let u=c.entries().map(d=>d.toPreflightPayload()),f={ref:l.getAttribute(gs),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?Ri(`no live file inputs found matching the name "${e}"`):n.length>1?Ri(`duplicate live file inputs found matching the name "${e}"`):de.dispatchEvent(n[0],Ek,{detail:{files:r}})}targetCtxElement(t){if(wo(t)){let[e]=de.findComponentNodeList(this.el,t);return e}else return t||null}pushFormRecovery(t,e,r){this.liveSocket.withinOwners(t,(i,n)=>{let o=this.binding("change"),s=Array.from(t.elements).filter(c=>de.isFormInput(c)&&c.name&&!c.hasAttribute(o));if(s.length===0)return;s.forEach(c=>c.hasAttribute(gs)&&Rr.clearFiles(c));let a=s.find(c=>c.type!=="hidden")||s[0],l=t.getAttribute(this.binding(sk))||t.getAttribute(this.binding("change"));Yi.exec("change",l,i,a,["push",{_target:a.name,newCid:e,callback:r}])})}pushLinkPatch(t,e,r){let i=this.liveSocket.setPendingLink(t),n=e?()=>this.putRef([e],"click"):null,o=()=>this.liveSocket.redirect(window.location.href),s=t.startsWith("/")?`${location.protocol}//${location.host}${t}`:t,a=this.pushWithReply(n,"live_patch",{url:s},l=>{this.liveSocket.requestDOMUpdate(()=>{l.link_redirect?this.liveSocket.replaceMain(t,null,r,i):(this.liveSocket.commitPendingLink(i)&&(this.href=t),this.applyPendingUpdates(),r&&r(i))})});a?a.receive("timeout",o):o()}formsForRecovery(t){if(this.joinCount===0)return[];let e=this.binding("change"),r=document.createElement("template");return r.innerHTML=t,de.all(this.el,`form[${e}]`).filter(i=>i.id&&this.ownsElement(i)).filter(i=>i.elements.length>0).filter(i=>i.getAttribute(this.binding(sk))!=="ignore").map(i=>{let n=i.getAttribute(e).replaceAll(/([\[\]"])/g,"\\$1"),o=r.content.querySelector(`form[id="${i.id}"][${e}="${n}"]`);return o?[i,o,this.targetComponentID(o)]:[i,i,this.targetComponentID(i)]}).filter(([i,n,o])=>n)}maybePushComponentsDestroyed(t){let e=t.filter(r=>de.findComponentNodeList(this.el,r).length===0);e.length>0&&(this.pruningCIDs.push(...e),this.pushWithReply(null,"cids_will_destroy",{cids:e},()=>{this.pruningCIDs=this.pruningCIDs.filter(i=>e.indexOf(i)!==-1);let r=e.filter(i=>de.findComponentNodeList(this.el,i).length===0);r.length>0&&this.pushWithReply(null,"cids_destroyed",{cids:r},i=>{this.rendered.pruneCIDs(i.cids)})}))}ownsElement(t){let e=t.closest(Xl);return t.getAttribute(Rl)===this.id||e&&e.id===this.id||!e&&this.isDead}submitForm(t,e,r,i,n={}){de.putPrivate(t,Ud,!0);let o=this.liveSocket.binding(Dd),s=Array.from(t.elements);s.forEach(a=>de.putPrivate(a,Ud,!0)),this.liveSocket.blurActiveElement(this),this.pushFormSubmit(t,e,r,i,n,()=>{s.forEach(a=>de.showError(a,o)),this.liveSocket.restorePreviouslyActiveFocus()})}binding(t){return this.liveSocket.binding(t)}},Ik=class{constructor(t,e,r={}){if(this.unloaded=!1,!e||e.constructor.name==="Object")throw new Error(`
a phoenix Socket must be provided as the second argument to the LiveSocket constructor. For example:
import {Socket} from "phoenix"
import {LiveSocket} from "phoenix_live_view"
let liveSocket = new LiveSocket("/live", Socket, {...})
`);this.socket=new e(t,r),this.bindingPrefix=r.bindingPrefix||jz,this.opts=r,this.params=l1(r.params||{}),this.viewLogger=r.viewLogger,this.metadataCallbacks=r.metadata||{},this.defaults=Object.assign(Md(Vz),r.defaults||{}),this.activeElement=null,this.prevActive=null,this.silenced=!1,this.main=null,this.outgoingMainEl=null,this.clickStartedAtTarget=null,this.linkRef=1,this.roots={},this.href=window.location.href,this.pendingLink=null,this.currentLocation=Md(window.location),this.hooks=r.hooks||{},this.uploaders=r.uploaders||{},this.loaderTimeout=r.loaderTimeout||Uz,this.reloadWithJitterTimer=null,this.maxReloads=r.maxReloads||Cz,this.reloadJitterMin=r.reloadJitterMin||Pz,this.reloadJitterMax=r.reloadJitterMax||Qz,this.failsafeJitter=r.failsafeJitter||_z,this.localStorage=r.localStorage||window.localStorage,this.sessionStorage=r.sessionStorage||window.sessionStorage,this.boundTopLevelEvents=!1,this.domCallbacks=Object.assign({onNodeAdded:l1(),onBeforeElUpdated:l1()},r.dom||{}),this.transitions=new wM,window.addEventListener("pagehide",i=>{this.unloaded=!0}),this.socket.onOpen(()=>{this.isUnloaded()&&window.location.reload()})}isProfileEnabled(){return this.sessionStorage.getItem(o1)==="true"}isDebugEnabled(){return this.sessionStorage.getItem(Qd)==="true"}isDebugDisabled(){return this.sessionStorage.getItem(Qd)==="false"}enableDebug(){this.sessionStorage.setItem(Qd,"true")}enableProfiling(){this.sessionStorage.setItem(o1,"true")}disableDebug(){this.sessionStorage.setItem(Qd,"false")}disableProfiling(){this.sessionStorage.removeItem(o1)}enableLatencySim(t){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(s1,t)}disableLatencySim(){this.sessionStorage.removeItem(s1)}getLatencySim(){let t=this.sessionStorage.getItem(s1);return t?parseInt(t):null}getSocket(){return this.socket}connect(){window.location.hostname==="localhost"&&!this.isDebugDisabled()&&this.enableDebug();let t=()=>{this.joinRootViews()?(this.bindTopLevelEvents(),this.socket.connect()):this.main?this.socket.connect():this.bindTopLevelEvents({dead:!0}),this.joinDeadView()};["complete","loaded","interactive"].indexOf(document.readyState)>=0?t():document.addEventListener("DOMContentLoaded",()=>t())}disconnect(t){clearTimeout(this.reloadWithJitterTimer),this.socket.disconnect(t)}replaceTransport(t){clearTimeout(this.reloadWithJitterTimer),this.socket.replaceTransport(t),this.connect()}execJS(t,e,r=null){this.owner(t,i=>Yi.exec(r,e,i,t))}execJSHookPush(t,e,r,i){this.withinOwners(t,n=>{Yi.exec("hook",e,n,t,["push",{data:r,callback:i}])})}unload(){this.unloaded||(this.main&&this.isConnected()&&this.log(this.main,"socket",()=>["disconnect for page nav"]),this.unloaded=!0,this.destroyAllViews(),this.disconnect())}triggerDOM(t,e){this.domCallbacks[t](...e)}time(t,e){if(!this.isProfileEnabled()||!console.time)return e();console.time(t);let r=e();return console.timeEnd(t),r}log(t,e,r){if(this.viewLogger){let[i,n]=r();this.viewLogger(t,e,i,n)}else if(this.isDebugEnabled()){let[i,n]=r();Zz(t,e,i,n)}}requestDOMUpdate(t){this.transitions.after(t)}transition(t,e,r=function(){}){this.transitions.addTransition(t,e,r)}onChannel(t,e,r){t.on(e,i=>{let n=this.getLatencySim();n?setTimeout(()=>r(i),n):r(i)})}wrapPush(t,e,r){let i=this.getLatencySim(),n=t.joinCount;if(!i)return this.isConnected()&&e.timeout?r().receive("timeout",()=>{t.joinCount===n&&!t.isDestroyed()&&this.reloadWithJitter(t,()=>{this.log(t,"timeout",()=>["received timeout while communicating with server. Falling back to hard refresh for recovery"])})}):r();let o={receives:[],receive(s,a){this.receives.push([s,a])}};return setTimeout(()=>{t.isDestroyed()||o.receives.reduce((s,[a,l])=>s.receive(a,l),r())},i),o}reloadWithJitter(t,e){clearTimeout(this.reloadWithJitterTimer),this.disconnect();let r=this.reloadJitterMin,i=this.reloadJitterMax,n=Math.floor(Math.random()*(i-r+1))+r,o=Vn.updateLocal(this.localStorage,window.location.pathname,Sk,0,s=>s+1);o>this.maxReloads&&(n=this.failsafeJitter),this.reloadWithJitterTimer=setTimeout(()=>{t.isDestroyed()||t.isConnected()||(t.destroy(),e?e():this.log(t,"join",()=>[`encountered ${o} consecutive reloads`]),o>this.maxReloads&&this.log(t,"join",()=>[`exceeded ${this.maxReloads} consecutive reloads. Entering failsafe mode`]),this.hasPendingLink()?window.location=this.pendingLink:window.location.reload())},n)}getHookCallbacks(t){return t&&t.startsWith("Phoenix.")?tM[t.split(".")[1]]:this.hooks[t]}isUnloaded(){return this.unloaded}isConnected(){return this.socket.isConnected()}getBindingPrefix(){return this.bindingPrefix}binding(t){return`${this.getBindingPrefix()}${t}`}channel(t,e){return this.socket.channel(t,e)}joinDeadView(){let t=document.body;if(t&&!this.isPhxView(t)&&!this.isPhxView(document.firstElementChild)){let e=this.newRootView(t);e.setHref(this.getHref()),e.joinDead(),this.main||(this.main=e),window.requestAnimationFrame(()=>e.execNewMounted())}}joinRootViews(){let t=!1;return de.all(document,`${Xl}:not([${Rl}])`,e=>{if(!this.getRootById(e.id)){let r=this.newRootView(e);r.setHref(this.getHref()),r.join(),e.hasAttribute(m1)&&(this.main=r)}t=!0}),t}redirect(t,e){this.unload(),Vn.redirect(t,e)}replaceMain(t,e,r=null,i=this.setPendingLink(t)){let n=this.currentLocation.href;this.outgoingMainEl=this.outgoingMainEl||this.main.el;let o=de.cloneNode(this.outgoingMainEl,"");this.main.showLoader(this.loaderTimeout),this.main.destroy(),this.main=this.newRootView(o,e,n),this.main.setRedirect(t),this.transitionRemoves(),this.main.join((s,a)=>{s===1&&this.commitPendingLink(i)&&this.requestDOMUpdate(()=>{de.findPhxSticky(document).forEach(l=>o.appendChild(l)),this.outgoingMainEl.replaceWith(o),this.outgoingMainEl=null,r&&requestAnimationFrame(()=>r(i)),a()})})}transitionRemoves(t){let e=this.binding("remove");t=t||de.all(document,`[${e}]`),t.forEach(r=>{this.execJS(r,r.getAttribute(e),"remove")})}isPhxView(t){return t.getAttribute&&t.getAttribute(bs)!==null}newRootView(t,e,r){let i=new Xk(t,this,null,e,r);return this.roots[i.id]=i,i}owner(t,e){let r=Os(t.closest(Xl),i=>this.getViewByEl(i))||this.main;r&&e(r)}withinOwners(t,e){this.owner(t,r=>e(r,t))}getViewByEl(t){let e=t.getAttribute(yu);return Os(this.getRootById(e),r=>r.getDescendentByEl(t))}getRootById(t){return this.roots[t]}destroyAllViews(){for(let t in this.roots)this.roots[t].destroy(),delete this.roots[t];this.main=null}destroyViewByEl(t){let e=this.getRootById(t.getAttribute(yu));e&&e.id===t.id?(e.destroy(),delete this.roots[e.id]):e&&e.destroyDescendent(t.id)}setActiveElement(t){if(this.activeElement===t)return;this.activeElement=t;let e=()=>{t===this.activeElement&&(this.activeElement=null),t.removeEventListener("mouseup",this),t.removeEventListener("touchend",this)};t.addEventListener("mouseup",e),t.addEventListener("touchend",e)}getActiveElement(){return document.activeElement===document.body?this.activeElement||document.activeElement:document.activeElement||document.body}dropActiveElement(t){this.prevActive&&t.ownsElement(this.prevActive)&&(this.prevActive=null)}restorePreviouslyActiveFocus(){this.prevActive&&this.prevActive!==document.body&&this.prevActive.focus()}blurActiveElement(){this.prevActive=this.getActiveElement(),this.prevActive!==document.body&&this.prevActive.blur()}bindTopLevelEvents({dead:t}={}){this.boundTopLevelEvents||(this.boundTopLevelEvents=!0,this.socket.onClose(e=>{if(e&&e.code===1e3&&this.main)return this.reloadWithJitter(this.main)}),document.body.addEventListener("click",function(){}),window.addEventListener("pageshow",e=>{e.persisted&&(this.getSocket().disconnect(),this.withPageLoading({to:window.location.href,kind:"redirect"}),window.location.reload())},!0),t||this.bindNav(),this.bindClicks(),t||this.bindForms(),this.bind({keyup:"keyup",keydown:"keydown"},(e,r,i,n,o,s)=>{let a=n.getAttribute(this.binding(Mz)),l=e.key&&e.key.toLowerCase();if(a&&a.toLowerCase()!==l)return;let c=ne({key:e.key},this.eventMeta(r,e,n));Yi.exec(r,o,i,n,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,r,i,n,o,s)=>{if(!s){let a=ne({key:e.key},this.eventMeta(r,e,n));Yi.exec(r,o,i,n,["push",{data:a}])}}),this.bind({blur:"blur",focus:"focus"},(e,r,i,n,o,s)=>{if(s==="window"){let a=this.eventMeta(r,e,n);Yi.exec(r,o,i,n,["push",{data:a}])}}),window.addEventListener("dragover",e=>e.preventDefault()),window.addEventListener("drop",e=>{e.preventDefault();let r=Os(bu(e.target,this.binding(ek)),o=>o.getAttribute(this.binding(ek))),i=r&&document.getElementById(r),n=Array.from(e.dataTransfer.files||[]);!i||i.disabled||n.length===0||!(i.files instanceof FileList)||(Rr.trackFiles(i,n,e.dataTransfer),i.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on(Ek,e=>{let r=e.target;if(!de.isUploadInput(r))return;let i=Array.from(e.detail.files||[]).filter(n=>n instanceof File||n instanceof Blob);Rr.trackFiles(r,i),r.dispatchEvent(new Event("input",{bubbles:!0}))}))}eventMeta(t,e,r){let i=this.metadataCallbacks[t];return i?i(e,r):{}}setPendingLink(t){return this.linkRef++,this.pendingLink=t,this.linkRef}commitPendingLink(t){return this.linkRef!==t?!1:(this.href=this.pendingLink,this.pendingLink=null,!0)}getHref(){return this.href}hasPendingLink(){return!!this.pendingLink}bind(t,e){for(let r in t){let i=t[r];this.on(i,n=>{let o=this.binding(r),s=this.binding(`window-${r}`),a=n.target.getAttribute&&n.target.getAttribute(o);a?this.debounce(n.target,n,i,()=>{this.withinOwners(n.target,l=>{e(n,r,l,n.target,a,null)})}):de.all(document,`[${s}]`,l=>{let c=l.getAttribute(s);this.debounce(l,n,i,()=>{this.withinOwners(l,u=>{e(n,r,u,l,c,"window")})})})})}}bindClicks(){window.addEventListener("mousedown",t=>this.clickStartedAtTarget=t.target),this.bindClick("click","click",!1),this.bindClick("mousedown","capture-click",!0)}bindClick(t,e,r){let i=this.binding(e);window.addEventListener(t,n=>{let o=null;if(r)o=n.target.matches(`[${i}]`)?n.target:n.target.querySelector(`[${i}]`);else{let a=this.clickStartedAtTarget||n.target;o=bu(a,i),this.dispatchClickAway(n,a),this.clickStartedAtTarget=null}let s=o&&o.getAttribute(i);if(!s){!r&&de.isNewPageClick(n,window.location)&&this.unload();return}o.getAttribute("href")==="#"&&n.preventDefault(),!o.hasAttribute(Hi)&&this.debounce(o,n,"click",()=>{this.withinOwners(o,a=>{Yi.exec("click",s,a,o,["push",{data:this.eventMeta("click",n,o)}])})})},r)}dispatchClickAway(t,e){let r=this.binding("click-away");de.all(document,`[${r}]`,i=>{i.isSameNode(e)||i.contains(e)||this.withinOwners(t.target,n=>{let o=i.getAttribute(r);Yi.isVisible(i)&&Yi.isInViewport(i)&&Yi.exec("click",o,n,i,["push",{data:this.eventMeta("click",t,t.target)}])})})}bindNav(){if(!Vn.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let t=null;window.addEventListener("scroll",e=>{clearTimeout(t),t=setTimeout(()=>{Vn.updateCurrentState(r=>Object.assign(r,{scroll:window.scrollY}))},100)}),window.addEventListener("popstate",e=>{if(!this.registerNewLocation(window.location))return;let{type:r,id:i,root:n,scroll:o}=e.state||{},s=window.location.href;de.dispatchEvent(window,"phx:navigate",{detail:{href:s,patch:r==="patch",pop:!0}}),this.requestDOMUpdate(()=>{this.main.isConnected()&&r==="patch"&&i===this.main.id?this.main.pushLinkPatch(s,null,()=>{this.maybeScroll(o)}):this.replaceMain(s,null,()=>{n&&this.replaceRootHistory(),this.maybeScroll(o)})})},!1),window.addEventListener("click",e=>{let r=bu(e.target,t1),i=r&&r.getAttribute(t1);if(!i||!this.isConnected()||!this.main||de.wantsNewTab(e))return;let n=r.href instanceof SVGAnimatedString?r.href.baseVal:r.href,o=r.getAttribute(Rz);e.preventDefault(),e.stopImmediatePropagation(),this.pendingLink!==n&&this.requestDOMUpdate(()=>{if(i==="patch")this.pushHistoryPatch(n,o,r);else if(i==="redirect")this.historyRedirect(n,o);else throw new Error(`expected ${t1} to be "patch" or "redirect", got: ${i}`);let s=r.getAttribute(this.binding("click"));s&&this.requestDOMUpdate(()=>this.execJS(r,s,"click"))})},!1)}maybeScroll(t){typeof t=="number"&&requestAnimationFrame(()=>{window.scrollTo(0,t)})}dispatchEvent(t,e={}){de.dispatchEvent(window,`phx:${t}`,{detail:e})}dispatchEvents(t){t.forEach(([e,r])=>this.dispatchEvent(e,r))}withPageLoading(t,e){de.dispatchEvent(window,"phx:page-loading-start",{detail:t});let r=()=>de.dispatchEvent(window,"phx:page-loading-stop",{detail:t});return e?e(r):r}pushHistoryPatch(t,e,r){if(!this.isConnected())return Vn.redirect(t);this.withPageLoading({to:t,kind:"patch"},i=>{this.main.pushLinkPatch(t,r,n=>{this.historyPatch(t,e,n),i()})})}historyPatch(t,e,r=this.setPendingLink(t)){this.commitPendingLink(r)&&(Vn.pushState(e,{type:"patch",id:this.main.id},t),de.dispatchEvent(window,"phx:navigate",{detail:{patch:!0,href:t,pop:!1}}),this.registerNewLocation(window.location))}historyRedirect(t,e,r){if(!this.isConnected())return Vn.redirect(t,r);if(/^\/$|^\/[^\/]+.*$/.test(t)){let{protocol:n,host:o}=window.location;t=`${n}//${o}${t}`}let i=window.scrollY;this.withPageLoading({to:t,kind:"redirect"},n=>{this.replaceMain(t,r,o=>{o===this.linkRef&&(Vn.pushState(e,{type:"redirect",id:this.main.id,scroll:i},t),de.dispatchEvent(window,"phx:navigate",{detail:{href:t,patch:!1,pop:!1}}),this.registerNewLocation(window.location)),n()})})}replaceRootHistory(){Vn.pushState("replace",{root:!0,type:"patch",id:this.main.id})}registerNewLocation(t){let{pathname:e,search:r}=this.currentLocation;return e+r===t.pathname+t.search?!1:(this.currentLocation=Md(t),!0)}bindForms(){let t=0,e=!1;this.on("submit",r=>{let i=r.target.getAttribute(this.binding("submit")),n=r.target.getAttribute(this.binding("change"));!e&&n&&!i&&(e=!0,r.preventDefault(),this.withinOwners(r.target,o=>{o.disableForm(r.target),window.requestAnimationFrame(()=>{de.isUnloadableFormSubmit(r)&&this.unload(),r.target.submit()})}))},!0),this.on("submit",r=>{let i=r.target.getAttribute(this.binding("submit"));if(!i){de.isUnloadableFormSubmit(r)&&this.unload();return}r.preventDefault(),r.target.disabled=!0,this.withinOwners(r.target,n=>{Yi.exec("submit",i,n,r.target,["push",{submitter:r.submitter}])})},!1);for(let r of["change","input"])this.on(r,i=>{let n=this.binding("change"),o=i.target,s=o.getAttribute(n),a=o.form&&o.form.getAttribute(n),l=s||a;if(!l||o.type==="number"&&o.validity&&o.validity.badInput)return;let c=s?o:o.form,u=t;t++;let{at:f,type:d}=de.private(o,"prev-iteration")||{};f===u-1&&r==="change"&&d==="input"||(de.putPrivate(o,"prev-iteration",{at:u,type:r}),this.debounce(o,i,r,()=>{this.withinOwners(c,p=>{de.putPrivate(o,h1,!0),de.isTextualInput(o)||this.setActiveElement(o),Yi.exec("change",l,p,o,["push",{_target:i.target.name,dispatcher:c}])})}))},!1);this.on("reset",r=>{let i=r.target;de.resetForm(i,this.binding(Dd));let n=Array.from(i.elements).find(o=>o.type==="reset");window.requestAnimationFrame(()=>{n.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!1}))})})}debounce(t,e,r,i){if(r==="blur"||r==="focusout")return i();let n=this.binding(Lz),o=this.binding(zz),s=this.defaults.debounce.toString(),a=this.defaults.throttle.toString();this.withinOwners(t,l=>{let c=()=>!l.isDestroyed()&&document.body.contains(t);de.debounce(t,e,n,s,o,a,c,()=>{i()})})}silenceEvents(t){this.silenced=!0,t(),this.silenced=!1}on(t,e){window.addEventListener(t,r=>{this.silenced||e(r)})}},wM=class{constructor(){this.transitions=new Set,this.pendingOps=[]}reset(){this.transitions.forEach(t=>{clearTimeout(t),this.transitions.delete(t)}),this.flushPendingOps()}after(t){this.size()===0?t():this.pushPendingOp(t)}addTransition(t,e,r){e();let i=setTimeout(()=>{this.transitions.delete(i),r(),this.flushPendingOps()},t);this.transitions.add(i)}pushPendingOp(t){this.pendingOps.push(t)}size(){return this.transitions.size}flushPendingOps(){if(this.size()>0)return;let t=this.pendingOps.shift();t&&(t(),this.flushPendingOps())}};var Lk="livebook:";function ka(t){try{let e=localStorage.getItem(Lk+t);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function Il(t,e){try{let r=JSON.stringify(e);localStorage.setItem(Lk+t,r)}catch(r){console.error(`Failed to write to local storage, reason: ${r.message}`)}}var zk="app_auth_token:";function Mk(t,e){Il(zk+t,e)}function Dk(){let t=window.location.pathname;if(t.startsWith("/apps/")){let e=t.split("/")[2],r=ka(zk+e);if(r)return r}return null}var xM={mounted(){this.handleEvent("persist_app_auth",({slug:t,token:e})=>{Mk(t,e),this.pushEvent("app_auth_persisted")})}},Uk=xM;function Rt(t,e){let r={};for(let i of e){let n=`data-p-${i}`;if(!t.hasAttribute(n))throw new Error(`Missing attribute "${n}" on element <${t.tagName}:${t.id}>`);let o=t.getAttribute(n);r[kM(i)]=JSON.parse(o)}return r}function kM(t){let[e,...r]=t.split("-");return[e,...r.map(i=>i.charAt(0).toUpperCase()+i.slice(1))].join("")}function Nk(t,e,r){let n=new ArrayBuffer(44+t.byteLength),o=new DataView(n),s=t.byteLength/4,a=4,l=e*a,c=r*l,u=s*l,f=0;function d(k){o.setUint32(f,k,!1),f+=4}function p(k){o.setUint32(f,k,!0),f+=4}function O(k){o.setUint16(f,k,!0),f+=2}function w(k){o.setFloat32(f,k,!0),f+=4}d(1380533830),p(36+u),d(1463899717),d(1718449184),p(16),O(3),O(e),p(r),p(c),O(l),O(a*8),d(1684108385),p(u);let x=new Float32Array(t);for(let k=0;k<x.length;k++)w(x[k]);return n}var vu=4;function jk(t,e){let i=new TextEncoder().encode(JSON.stringify(t)),n=new ArrayBuffer(vu+i.byteLength+e.byteLength);return new DataView(n).setUint32(0,i.byteLength),new Uint8Array(n,vu,i.byteLength).set(i),new Uint8Array(n,vu+i.byteLength).set(new Uint8Array(e)),n}function Bk(t){let r=new DataView(t).getUint32(0),i=new Uint8Array(t,vu,r),n=t.slice(vu+r),o=new TextDecoder;return[JSON.parse(o.decode(i)),n]}var g1=["bg-yellow-100","border-yellow-300"],SM={mounted(){this.props=this.getProps(),this.inputEl=this.el.querySelector("[data-input]"),this.audioEl=this.el.querySelector("[data-preview]"),this.uploadButton=this.el.querySelector("[data-btn-upload]"),this.recordButton=this.el.querySelector("[data-btn-record]"),this.stopButton=this.el.querySelector("[data-btn-stop]"),this.cancelButton=this.el.querySelector("[data-btn-cancel]"),this.mediaRecorder=null,this.audioEl.src=this.props.audioUrl,this.uploadButton.addEventListener("click",t=>{this.inputEl.click()}),this.inputEl.addEventListener("change",t=>{let[e]=t.target.files;e&&this.loadFile(e)}),this.el.addEventListener("dragover",t=>{t.stopPropagation(),t.preventDefault(),t.dataTransfer.dropEffect="copy"}),this.el.addEventListener("drop",t=>{t.stopPropagation(),t.preventDefault();let[e]=t.dataTransfer.files;e&&!this.isRecording()&&this.loadFile(e)}),this.el.addEventListener("dragenter",t=>{this.el.classList.add(...g1)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...g1)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...g1)}),this.recordButton.addEventListener("click",t=>{this.startRecording()}),this.stopButton.addEventListener("click",t=>{this.stopRecording()}),this.cancelButton.addEventListener("click",t=>{this.stopRecording(!1)})},updated(){this.props=this.getProps(),this.audioEl.src=this.props.audioUrl},getProps(){return Rt(this.el,["id","phx-target","sampling-rate","endianness","format","audio-url"])},startRecording(){this.audioEl.classList.add("hidden"),this.uploadButton.classList.add("hidden"),this.recordButton.classList.add("hidden"),this.stopButton.classList.remove("hidden"),this.cancelButton.classList.remove("hidden"),this.audioChunks=[],navigator.mediaDevices.getUserMedia({audio:!0}).then(t=>{this.mediaRecorder=new MediaRecorder(t),this.mediaRecorder.addEventListener("dataavailable",e=>{this.audioChunks.push(e.data)}),this.mediaRecorder.start()})},stopRecording(t=!0){this.audioEl.classList.remove("hidden"),this.uploadButton.classList.remove("hidden"),this.recordButton.classList.remove("hidden"),this.stopButton.classList.add("hidden"),this.cancelButton.classList.add("hidden"),t&&this.mediaRecorder.addEventListener("stop",e=>{new Blob(this.audioChunks).arrayBuffer().then(i=>{this.loadEncodedAudio(i)})}),this.mediaRecorder.stop()},isRecording(){return this.mediaRecorder&&this.mediaRecorder.state==="recording"},loadFile(t){let e=new FileReader;e.onload=r=>{this.loadEncodedAudio(r.target.result)},e.readAsArrayBuffer(t)},loadEncodedAudio(t){this.pushEventTo(this.props.phxTarget,"decoding",{}),new AudioContext({sampleRate:this.props.samplingRate}).decodeAudioData(t,r=>{let i=TM(r);this.pushAudio(i)})},pushAudio(t){let e={num_channels:t.numChannels,sampling_rate:t.samplingRate},r=this.encodeAudio(t),i=new Blob([r]);i.meta=()=>e,this.uploadTo(this.props.phxTarget,"file",[i])},encodeAudio(t){if(this.props.format==="pcm_f32")return EM(t.data,this.props.endianness);if(this.props.format==="wav")return Nk(t.data,t.numChannels,t.samplingRate)}};function TM(t){let e=t.numberOfChannels,r=t.sampleRate,i=t.length,n=4*e*i,o=new ArrayBuffer(n),s=new Float32Array(o);for(let a=0;a<e;a++){let l=t.getChannelData(a);for(let c=0;c<l.length;c++)s[e*c+a]=l[c]}return{data:s.buffer,numChannels:e,samplingRate:r}}function EM(t,e){if(CM()===e)return t;for(let r=0;r<t.byteLength/4;r++){let i=t[r],n=t[r+1],o=t[r+2],s=t[r+3];t[r]=s,t[r+1]=o,t[r+2]=n,t[r+3]=i}return t}function CM(){let t=new ArrayBuffer(2),e=new Uint16Array(t),r=new Uint8Array(t);return e[0]=1,r[0]===1?"little":"big"}var Vk=SM;var qk=11;function PM(t,e){var r=e.attributes,i,n,o,s,a;if(!(e.nodeType===qk||t.nodeType===qk)){for(var l=r.length-1;l>=0;l--)i=r[l],n=i.name,o=i.namespaceURI,s=i.value,o?(n=i.localName||n,a=t.getAttributeNS(o,n),a!==s&&(i.prefix==="xmlns"&&(n=i.name),t.setAttributeNS(o,n,s))):(a=t.getAttribute(n),a!==s&&t.setAttribute(n,s));for(var c=t.attributes,u=c.length-1;u>=0;u--)i=c[u],n=i.name,o=i.namespaceURI,o?(n=i.localName||n,e.hasAttributeNS(o,n)||t.removeAttributeNS(o,n)):e.hasAttribute(n)||t.removeAttribute(n)}}var jd,QM="http://www.w3.org/1999/xhtml",bi=typeof document=="undefined"?void 0:document,_M=!!bi&&"content"in bi.createElement("template"),AM=!!bi&&bi.createRange&&"createContextualFragment"in bi.createRange();function RM(t){var e=bi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function $M(t){jd||(jd=bi.createRange(),jd.selectNode(bi.body));var e=jd.createContextualFragment(t);return e.childNodes[0]}function XM(t){var e=bi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function IM(t){return t=t.trim(),_M?RM(t):AM?$M(t):XM(t)}function Bd(t,e){var r=t.nodeName,i=e.nodeName,n,o;return r===i?!0:(n=r.charCodeAt(0),o=i.charCodeAt(0),n<=90&&o>=97?r===i.toUpperCase():o<=90&&n>=97?i===r.toUpperCase():!1)}function LM(t,e){return!e||e===QM?bi.createElement(t):bi.createElementNS(e,t)}function zM(t,e){for(var r=t.firstChild;r;){var i=r.nextSibling;e.appendChild(r),r=i}return e}function b1(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var Fk={OPTION:function(t,e){var r=t.parentNode;if(r){var i=r.nodeName.toUpperCase();i==="OPTGROUP"&&(r=r.parentNode,i=r&&r.nodeName.toUpperCase()),i==="SELECT"&&!r.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),r.selectedIndex=-1)}b1(t,e,"selected")},INPUT:function(t,e){b1(t,e,"checked"),b1(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var r=e.value;t.value!==r&&(t.value=r);var i=t.firstChild;if(i){var n=i.nodeValue;if(n==r||!r&&n==t.placeholder)return;i.nodeValue=r}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var r=-1,i=0,n=t.firstChild,o,s;n;)if(s=n.nodeName&&n.nodeName.toUpperCase(),s==="OPTGROUP")o=n,n=o.firstChild;else{if(s==="OPTION"){if(n.hasAttribute("selected")){r=i;break}i++}n=n.nextSibling,!n&&o&&(n=o.nextSibling,o=null)}t.selectedIndex=r}}},wu=1,Wk=11,Zk=3,Yk=8;function ys(){}function MM(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function DM(t){return function(r,i,n){if(n||(n={}),typeof i=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"||r.nodeName==="BODY"){var o=i;i=bi.createElement("html"),i.innerHTML=o}else i=IM(i);else i.nodeType===Wk&&(i=i.firstElementChild);var s=n.getNodeKey||MM,a=n.onBeforeNodeAdded||ys,l=n.onNodeAdded||ys,c=n.onBeforeElUpdated||ys,u=n.onElUpdated||ys,f=n.onBeforeNodeDiscarded||ys,d=n.onNodeDiscarded||ys,p=n.onBeforeElChildrenUpdated||ys,O=n.skipFromChildren||ys,w=n.addChild||function(se,he){return se.appendChild(he)},x=n.childrenOnly===!0,k=Object.create(null),C=[];function R(se){C.push(se)}function Q(se,he){if(se.nodeType===wu)for(var K=se.firstChild;K;){var _=void 0;he&&(_=s(K))?R(_):(d(K),K.firstChild&&Q(K,he)),K=K.nextSibling}}function z(se,he,K){f(se)!==!1&&(he&&he.removeChild(se),d(se),Q(se,K))}function L(se){if(se.nodeType===wu||se.nodeType===Wk)for(var he=se.firstChild;he;){var K=s(he);K&&(k[K]=he),L(he),he=he.nextSibling}}L(r);function Z(se){l(se);for(var he=se.firstChild;he;){var K=he.nextSibling,_=s(he);if(_){var G=k[_];G&&Bd(he,G)?(he.parentNode.replaceChild(G,he),H(G,he)):Z(he)}else Z(he);he=K}}function re(se,he,K){for(;he;){var _=he.nextSibling;(K=s(he))?R(K):z(he,se,!0),he=_}}function H(se,he,K){var _=s(he);_&&delete k[_],!(!K&&(c(se,he)===!1||(t(se,he),u(se),p(se,he)===!1)))&&(se.nodeName!=="TEXTAREA"?q(se,he):Fk.TEXTAREA(se,he))}function q(se,he){var K=O(se,he),_=he.firstChild,G=se.firstChild,ae,j,Je,at,st;e:for(;_;){for(at=_.nextSibling,ae=s(_);!K&&G;){if(Je=G.nextSibling,_.isSameNode&&_.isSameNode(G)){_=at,G=Je;continue e}j=s(G);var Ce=G.nodeType,Ze=void 0;if(Ce===_.nodeType&&(Ce===wu?(ae?ae!==j&&((st=k[ae])?Je===st?Ze=!1:(se.insertBefore(st,G),j?R(j):z(G,se,!0),G=st):Ze=!1):j&&(Ze=!1),Ze=Ze!==!1&&Bd(G,_),Ze&&H(G,_)):(Ce===Zk||Ce==Yk)&&(Ze=!0,G.nodeValue!==_.nodeValue&&(G.nodeValue=_.nodeValue))),Ze){_=at,G=Je;continue e}j?R(j):z(G,se,!0),G=Je}if(ae&&(st=k[ae])&&Bd(st,_))K||w(se,st),H(st,_);else{var Xt=a(_);Xt!==!1&&(Xt&&(_=Xt),_.actualize&&(_=_.actualize(se.ownerDocument||bi)),w(se,_),Z(_))}_=at,G=Je}re(se,G,j);var ct=Fk[se.nodeName];ct&&ct(se,he)}var oe=r,pe=oe.nodeType,fe=i.nodeType;if(!x){if(pe===wu)fe===wu?Bd(r,i)||(d(r),oe=zM(r,LM(i.nodeName,i.namespaceURI))):oe=i;else if(pe===Zk||pe===Yk){if(fe===pe)return oe.nodeValue!==i.nodeValue&&(oe.nodeValue=i.nodeValue),oe;oe=i}}if(oe===i)d(r);else{if(i.isSameNode&&i.isSameNode(oe))return;if(H(oe,i,x),C)for(var ge=0,ve=C.length;ge<ve;ge++){var Qe=k[C[ge]];Qe&&z(Qe,Qe.parentNode,!1)}}return!x&&oe!==r&&r.parentNode&&(oe.actualize&&(oe=oe.actualize(r.ownerDocument||bi)),r.parentNode.replaceChild(oe,r)),oe}}var UM=DM(PM),Hk=UM;function y1(t){if(t)throw t}var Fd=_l(o6(),1);function xu(t){if(typeof t!="object"||t===null)return!1;let e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function s6(){let t=[],e={run:r,use:i};return e;function r(...n){let o=-1,s=n.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);a(null,...n);function a(l,...c){let u=t[++o],f=-1;if(l){s(l);return}for(;++f<n.length;)(c[f]===null||c[f]===void 0)&&(c[f]=n[f]);n=c,u?NM(u,a)(...c):s(null,...c)}}function i(n){if(typeof n!="function")throw new TypeError("Expected `middelware` to be a function, not "+n);return t.push(n),e}}function NM(t,e){let r;return i;function i(...s){let a=t.length>s.length,l;a&&s.push(n);try{l=t.apply(this,s)}catch(c){let u=c;if(a&&r)throw u;return n(u)}a||(l instanceof Promise?l.then(o,n):l instanceof Error?n(l):o(l))}function n(s,...a){r||(r=!0,e(s,...a))}function o(s){n(null,s)}}function w1(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?a6(t.position):"start"in t||"end"in t?a6(t):"line"in t||"column"in t?v1(t):""}function v1(t){return l6(t&&t.line)+":"+l6(t&&t.column)}function a6(t){return v1(t&&t.start)+"-"+v1(t&&t.end)}function l6(t){return t&&typeof t=="number"?t:1}var ur=class extends Error{constructor(e,r,i){super(),typeof r=="string"&&(i=r,r=void 0);let n="",o={},s=!1;if(r&&("line"in r&&"column"in r?o={place:r}:"start"in r&&"end"in r?o={place:r}:"type"in r?o={ancestors:[r],place:r.position}:o=ne({},r)),typeof e=="string"?n=e:!o.cause&&e&&(s=!0,n=e.message,o.cause=e),!o.ruleId&&!o.source&&typeof i=="string"){let l=i.indexOf(":");l===-1?o.ruleId=i:(o.source=i.slice(0,l),o.ruleId=i.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=a?a.line:void 0,this.name=w1(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}};ur.prototype.file="";ur.prototype.name="";ur.prototype.reason="";ur.prototype.message="";ur.prototype.stack="";ur.prototype.column=void 0;ur.prototype.line=void 0;ur.prototype.ancestors=void 0;ur.prototype.cause=void 0;ur.prototype.fatal=void 0;ur.prototype.place=void 0;ur.prototype.ruleId=void 0;ur.prototype.source=void 0;var bn={basename:jM,dirname:BM,extname:VM,join:qM,sep:"/"};function jM(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');ku(t);let r=0,i=-1,n=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;n--;)if(t.codePointAt(n)===47){if(o){r=n+1;break}}else i<0&&(o=!0,i=n+1);return i<0?"":t.slice(r,i)}if(e===t)return"";let s=-1,a=e.length-1;for(;n--;)if(t.codePointAt(n)===47){if(o){r=n+1;break}}else s<0&&(o=!0,s=n+1),a>-1&&(t.codePointAt(n)===e.codePointAt(a--)?a<0&&(i=n):(a=-1,i=s));return r===i?i=s:i<0&&(i=t.length),t.slice(r,i)}function BM(t){if(ku(t),t.length===0)return".";let e=-1,r=t.length,i;for(;--r;)if(t.codePointAt(r)===47){if(i){e=r;break}}else i||(i=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function VM(t){ku(t);let e=t.length,r=-1,i=0,n=-1,o=0,s;for(;e--;){let a=t.codePointAt(e);if(a===47){if(s){i=e+1;break}continue}r<0&&(s=!0,r=e+1),a===46?n<0?n=e:o!==1&&(o=1):n>-1&&(o=-1)}return n<0||r<0||o===0||o===1&&n===r-1&&n===i+1?"":t.slice(n,r)}function qM(...t){let e=-1,r;for(;++e<t.length;)ku(t[e]),t[e]&&(r=r===void 0?t[e]:r+"/"+t[e]);return r===void 0?".":FM(r)}function FM(t){ku(t);let e=t.codePointAt(0)===47,r=WM(t,!e);return r.length===0&&!e&&(r="."),r.length>0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function WM(t,e){let r="",i=0,n=-1,o=0,s=-1,a,l;for(;++s<=t.length;){if(s<t.length)a=t.codePointAt(s);else{if(a===47)break;a=47}if(a===47){if(!(n===s-1||o===1))if(n!==s-1&&o===2){if(r.length<2||i!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",i=0):(r=r.slice(0,l),i=r.length-1-r.lastIndexOf("/")),n=s,o=0;continue}}else if(r.length>0){r="",i=0,n=s,o=0;continue}}e&&(r=r.length>0?r+"/..":"..",i=2)}else r.length>0?r+="/"+t.slice(n+1,s):r=t.slice(n+1,s),i=s-n-1;n=s,o=0}else a===46&&o>-1?o++:o=-1}return r}function ku(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var c6={cwd:ZM};function ZM(){return"/"}function Ll(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function u6(t){if(typeof t=="string")t=new URL(t);else if(!Ll(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return YM(t)}function YM(t){if(t.hostname!==""){let i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}let e=t.pathname,r=-1;for(;++r<e.length;)if(e.codePointAt(r)===37&&e.codePointAt(r+1)===50){let i=e.codePointAt(r+2);if(i===70||i===102){let n=new TypeError("File URL path must not include encoded / characters");throw n.code="ERR_INVALID_FILE_URL_PATH",n}}return decodeURIComponent(e)}var x1=["history","path","basename","stem","extname","dirname"],vs=class{constructor(e){let r;e?Ll(e)?r={path:e}:typeof e=="string"||HM(e)?r={value:e}:r=e:r={},this.cwd=c6.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i=-1;for(;++i<x1.length;){let o=x1[i];o in r&&r[o]!==void 0&&r[o]!==null&&(this[o]=o==="history"?[...r[o]]:r[o])}let n;for(n in r)x1.includes(n)||(this[n]=r[n])}get basename(){return typeof this.path=="string"?bn.basename(this.path):void 0}set basename(e){S1(e,"basename"),k1(e,"basename"),this.path=bn.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?bn.dirname(this.path):void 0}set dirname(e){f6(this.basename,"dirname"),this.path=bn.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?bn.extname(this.path):void 0}set extname(e){if(k1(e,"extname"),f6(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=bn.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Ll(e)&&(e=u6(e)),S1(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?bn.basename(this.path,this.extname):void 0}set stem(e){S1(e,"stem"),k1(e,"stem"),this.path=bn.join(this.dirname||"",e+(this.extname||""))}fail(e,r,i){let n=this.message(e,r,i);throw n.fatal=!0,n}info(e,r,i){let n=this.message(e,r,i);return n.fatal=void 0,n}message(e,r,i){let n=new ur(e,r,i);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}};function k1(t,e){if(t&&t.includes(bn.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+bn.sep+"`")}function S1(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function f6(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function HM(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var h6=function(t){let i=this.constructor.prototype,n=i[t],o=function(){return n.apply(o,arguments)};Object.setPrototypeOf(o,i);let s=Object.getOwnPropertyNames(n);for(let a of s){let l=Object.getOwnPropertyDescriptor(n,a);l&&Object.defineProperty(o,a,l)}return o};var GM={}.hasOwnProperty,P1=class t extends h6{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=s6()}copy(){let e=new t,r=-1;for(;++r<this.attachers.length;){let i=this.attachers[r];e.use(...i)}return e.data((0,Fd.default)(!0,{},this.namespace)),e}data(e,r){return typeof e=="string"?arguments.length===2?(C1("data",this.frozen),this.namespace[e]=r,this):GM.call(this.namespace,e)&&this.namespace[e]||void 0:e?(C1("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[r,...i]=this.attachers[this.freezeIndex];if(i[0]===!1)continue;i[0]===!0&&(i[0]=void 0);let n=r.call(e,...i);typeof n=="function"&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let r=qd(e),i=this.parser||this.Parser;return T1("parse",i),i(String(r),r)}process(e,r){let i=this;return this.freeze(),T1("process",this.parser||this.Parser),E1("process",this.compiler||this.Compiler),r?n(void 0,r):new Promise(n);function n(o,s){let a=qd(e),l=i.parse(a);i.run(l,a,function(u,f,d){if(u||!f||!d)return c(u);let p=f,O=i.stringify(p,d);JM(O)?d.value=O:d.result=O,c(u,d)});function c(u,f){u||!f?s(u):o?o(f):r(void 0,f)}}}processSync(e){let r=!1,i;return this.freeze(),T1("processSync",this.parser||this.Parser),E1("processSync",this.compiler||this.Compiler),this.process(e,n),p6("processSync","process",r),i;function n(o,s){r=!0,y1(o),i=s}}run(e,r,i){d6(e),this.freeze();let n=this.transformers;return!i&&typeof r=="function"&&(i=r,r=void 0),i?o(void 0,i):new Promise(o);function o(s,a){let l=qd(r);n.run(e,l,c);function c(u,f,d){let p=f||e;u?a(u):s?s(p):i(void 0,p,d)}}}runSync(e,r){let i=!1,n;return this.run(e,r,o),p6("runSync","run",i),n;function o(s,a){y1(s),n=a,i=!0}}stringify(e,r){this.freeze();let i=qd(r),n=this.compiler||this.Compiler;return E1("stringify",n),d6(e),n(e,i)}use(e,...r){let i=this.attachers,n=this.namespace;if(C1("use",this.frozen),e!=null)if(typeof e=="function")l(e,r);else if(typeof e=="object")Array.isArray(e)?a(e):s(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function o(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){let[u,...f]=c;l(u,f)}else s(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function s(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(c.plugins),c.settings&&(n.settings=(0,Fd.default)(!0,n.settings,c.settings))}function a(c){let u=-1;if(c!=null)if(Array.isArray(c))for(;++u<c.length;){let f=c[u];o(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,u){let f=-1,d=-1;for(;++f<i.length;)if(i[f][0]===c){d=f;break}if(d===-1)i.push([c,...u]);else if(u.length>0){let[p,...O]=u,w=i[d][1];xu(w)&&xu(p)&&(p=(0,Fd.default)(!0,w,p)),i[d]=[c,p,...O]}}}},Wd=new P1().freeze();function T1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function E1(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function C1(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function d6(t){if(!xu(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function p6(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function qd(t){return KM(t)?t:new vs(t)}function KM(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function JM(t){return typeof t=="string"||eD(t)}function eD(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var tD={};function Q1(t,e){let r=e||tD,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return O6(t,i,n)}function O6(t,e,r){if(rD(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return m6(t.children,e,r)}return Array.isArray(t)?m6(t,e,r):""}function m6(t,e,r){let i=[],n=-1;for(;++n<t.length;)i[n]=O6(t[n],e,r);return i.join("")}function rD(t){return!!(t&&typeof t=="object")}function $r(t,e,r,i){let n=t.length,o=0,s;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)s=Array.from(i),s.unshift(e,r),t.splice(...s);else for(r&&t.splice(e,r);o<i.length;)s=i.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}function ni(t,e){return t.length>0?($r(t,t.length,0,e),t):e}var g6={}.hasOwnProperty;function b6(t){let e={},r=-1;for(;++r<t.length;)iD(e,t[r]);return e}function iD(t,e){let r;for(r in e){let n=(g6.call(t,r)?t[r]:void 0)||(t[r]={}),o=e[r],s;if(o)for(s in o){g6.call(n,s)||(n[s]=[]);let a=o[s];nD(n[s],Array.isArray(a)?a:a?[a]:[])}}}function nD(t,e){let r=-1,i=[];for(;++r<e.length;)(e[r].add==="after"?t:i).push(e[r]);$r(t,0,0,i)}function Zd(t,e){let r=Number.parseInt(t,e);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCharCode(r)}function ko(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var oD=ws(new RegExp("\\p{P}","u")),$i=ws(/[A-Za-z]/),oi=ws(/[\dA-Za-z]/),y6=ws(/[#-'*+\--9=?A-Z^-~]/);function Su(t){return t!==null&&(t<32||t===127)}var Tu=ws(/\d/),v6=ws(/[\dA-Fa-f]/),_1=ws(/[!-/:-@[-`{-~]/);function Me(t){return t!==null&&t<-2}function sr(t){return t!==null&&(t<0||t===32)}function tt(t){return t===-2||t===-1||t===32}function w6(t){return _1(t)||oD(t)}var x6=ws(/\s/);function ws(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function rt(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return tt(l)?(t.enter(r),a(l)):e(l)}function a(l){return tt(l)&&o++<n?(t.consume(l),a):(t.exit(r),e(l))}}var k6={tokenize:sD};function sD(t){let e=t.attempt(this.parser.constructs.contentInitial,i,n),r;return e;function i(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),rt(t,e,"linePrefix")}function n(a){return t.enter("paragraph"),o(a)}function o(a){let l=t.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,s(a)}function s(a){if(a===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(a);return}return Me(a)?(t.consume(a),t.exit("chunkText"),o):(t.consume(a),s)}}var T6={tokenize:aD},S6={tokenize:lD};function aD(t){let e=this,r=[],i=0,n,o,s;return a;function a(R){if(i<r.length){let Q=r[i];return e.containerState=Q[1],t.attempt(Q[0].continuation,l,c)(R)}return c(R)}function l(R){if(i++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,n&&C();let Q=e.events.length,z=Q,L;for(;z--;)if(e.events[z][0]==="exit"&&e.events[z][1].type==="chunkFlow"){L=e.events[z][1].end;break}k(i);let Z=Q;for(;Z<e.events.length;)e.events[Z][1].end=Object.assign({},L),Z++;return $r(e.events,z+1,0,e.events.slice(Q)),e.events.length=Z,c(R)}return a(R)}function c(R){if(i===r.length){if(!n)return d(R);if(n.currentConstruct&&n.currentConstruct.concrete)return O(R);e.interrupt=!!(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(S6,u,f)(R)}function u(R){return n&&C(),k(i),d(R)}function f(R){return e.parser.lazy[e.now().line]=i!==r.length,s=e.now().offset,O(R)}function d(R){return e.containerState={},t.attempt(S6,p,O)(R)}function p(R){return i++,r.push([e.currentConstruct,e.containerState]),d(R)}function O(R){if(R===null){n&&C(),k(0),t.consume(R);return}return n=n||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:n}),w(R)}function w(R){if(R===null){x(t.exit("chunkFlow"),!0),k(0),t.consume(R);return}return Me(R)?(t.consume(R),x(t.exit("chunkFlow")),i=0,e.interrupt=void 0,a):(t.consume(R),w)}function x(R,Q){let z=e.sliceStream(R);if(Q&&z.push(null),R.previous=o,o&&(o.next=R),o=R,n.defineSkip(R.start),n.write(z),e.parser.lazy[R.start.line]){let L=n.events.length;for(;L--;)if(n.events[L][1].start.offset<s&&(!n.events[L][1].end||n.events[L][1].end.offset>s))return;let Z=e.events.length,re=Z,H,q;for(;re--;)if(e.events[re][0]==="exit"&&e.events[re][1].type==="chunkFlow"){if(H){q=e.events[re][1].end;break}H=!0}for(k(i),L=Z;L<e.events.length;)e.events[L][1].end=Object.assign({},q),L++;$r(e.events,re+1,0,e.events.slice(Z)),e.events.length=L}}function k(R){let Q=r.length;for(;Q-- >R;){let z=r[Q];e.containerState=z[1],z[0].exit.call(e,t)}r.length=R}function C(){n.write([null]),o=void 0,n=void 0,e.containerState._closeFlow=void 0}}function lD(t,e,r){return rt(t,t.attempt(this.parser.constructs.document,e,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function A1(t){if(t===null||sr(t)||x6(t))return 1;if(w6(t))return 2}function zl(t,e,r){let i=[],n=-1;for(;++n<t.length;){let o=t[n].resolveAll;o&&!i.includes(o)&&(e=o(e,r),i.push(o))}return e}var Eu={name:"attention",tokenize:uD,resolveAll:cD};function cD(t,e){let r=-1,i,n,o,s,a,l,c,u;for(;++r<t.length;)if(t[r][0]==="enter"&&t[r][1].type==="attentionSequence"&&t[r][1]._close){for(i=r;i--;)if(t[i][0]==="exit"&&t[i][1].type==="attentionSequence"&&t[i][1]._open&&e.sliceSerialize(t[i][1]).charCodeAt(0)===e.sliceSerialize(t[r][1]).charCodeAt(0)){if((t[i][1]._close||t[r][1]._open)&&(t[r][1].end.offset-t[r][1].start.offset)%3&&!((t[i][1].end.offset-t[i][1].start.offset+t[r][1].end.offset-t[r][1].start.offset)%3))continue;l=t[i][1].end.offset-t[i][1].start.offset>1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;let f=Object.assign({},t[i][1].end),d=Object.assign({},t[r][1].start);E6(f,-l),E6(d,l),s={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[i][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[r][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},t[i][1].end),end:Object.assign({},t[r][1].start)},n={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},a.end)},t[i][1].end=Object.assign({},s.start),t[r][1].start=Object.assign({},a.end),c=[],t[i][1].end.offset-t[i][1].start.offset&&(c=ni(c,[["enter",t[i][1],e],["exit",t[i][1],e]])),c=ni(c,[["enter",n,e],["enter",s,e],["exit",s,e],["enter",o,e]]),c=ni(c,zl(e.parser.constructs.insideSpan.null,t.slice(i+1,r),e)),c=ni(c,[["exit",o,e],["enter",a,e],["exit",a,e],["exit",n,e]]),t[r][1].end.offset-t[r][1].start.offset?(u=2,c=ni(c,[["enter",t[r][1],e],["exit",t[r][1],e]])):u=0,$r(t,i-1,r-i+3,c),r=i+c.length-u-2;break}}for(r=-1;++r<t.length;)t[r][1].type==="attentionSequence"&&(t[r][1].type="data");return t}function uD(t,e){let r=this.parser.constructs.attentionMarkers.null,i=this.previous,n=A1(i),o;return s;function s(l){return o=l,t.enter("attentionSequence"),a(l)}function a(l){if(l===o)return t.consume(l),a;let c=t.exit("attentionSequence"),u=A1(l),f=!u||u===2&&n||r.includes(l),d=!n||n===2&&u||r.includes(i);return c._open=!!(o===42?f:f&&(n||!d)),c._close=!!(o===42?d:d&&(u||!f)),e(l)}}function E6(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}var R1={name:"autolink",tokenize:fD};function fD(t,e,r){let i=0;return n;function n(p){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),o}function o(p){return $i(p)?(t.consume(p),s):c(p)}function s(p){return p===43||p===45||p===46||oi(p)?(i=1,a(p)):c(p)}function a(p){return p===58?(t.consume(p),i=0,l):(p===43||p===45||p===46||oi(p))&&i++<32?(t.consume(p),a):(i=0,c(p))}function l(p){return p===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.exit("autolink"),e):p===null||p===32||p===60||Su(p)?r(p):(t.consume(p),l)}function c(p){return p===64?(t.consume(p),u):y6(p)?(t.consume(p),c):r(p)}function u(p){return oi(p)?f(p):r(p)}function f(p){return p===46?(t.consume(p),i=0,u):p===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.exit("autolink"),e):d(p)}function d(p){if((p===45||oi(p))&&i++<63){let O=p===45?d:f;return t.consume(p),O}return r(p)}}var xs={tokenize:hD,partial:!0};function hD(t,e,r){return i;function i(o){return tt(o)?rt(t,n,"linePrefix")(o):n(o)}function n(o){return o===null||Me(o)?e(o):r(o)}}var Yd={name:"blockQuote",tokenize:dD,continuation:{tokenize:pD},exit:mD};function dD(t,e,r){let i=this;return n;function n(s){if(s===62){let a=i.containerState;return a.open||(t.enter("blockQuote",{_container:!0}),a.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(s),t.exit("blockQuoteMarker"),o}return r(s)}function o(s){return tt(s)?(t.enter("blockQuotePrefixWhitespace"),t.consume(s),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(s))}}function pD(t,e,r){let i=this;return n;function n(s){return tt(s)?rt(t,o,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):o(s)}function o(s){return t.attempt(Yd,e,r)(s)}}function mD(t){t.exit("blockQuote")}var Hd={name:"characterEscape",tokenize:OD};function OD(t,e,r){return i;function i(o){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(o),t.exit("escapeMarker"),n}function n(o){return _1(o)?(t.enter("characterEscapeValue"),t.consume(o),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):r(o)}}var Gd={name:"characterReference",tokenize:gD};function gD(t,e,r){let i=this,n=0,o,s;return a;function a(f){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),l}function l(f){return f===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(f),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),o=31,s=oi,u(f))}function c(f){return f===88||f===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(f),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),o=6,s=v6,u):(t.enter("characterReferenceValue"),o=7,s=Tu,u(f))}function u(f){if(f===59&&n){let d=t.exit("characterReferenceValue");return s===oi&&!Al(i.sliceSerialize(d))?r(f):(t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return s(f)&&n++<o?(t.consume(f),u):r(f)}}var C6={tokenize:yD,partial:!0},Kd={name:"codeFenced",tokenize:bD,concrete:!0};function bD(t,e,r){let i=this,n={tokenize:z,partial:!0},o=0,s=0,a;return l;function l(L){return c(L)}function c(L){let Z=i.events[i.events.length-1];return o=Z&&Z[1].type==="linePrefix"?Z[2].sliceSerialize(Z[1],!0).length:0,a=L,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),u(L)}function u(L){return L===a?(s++,t.consume(L),u):s<3?r(L):(t.exit("codeFencedFenceSequence"),tt(L)?rt(t,f,"whitespace")(L):f(L))}function f(L){return L===null||Me(L)?(t.exit("codeFencedFence"),i.interrupt?e(L):t.check(C6,w,Q)(L)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),d(L))}function d(L){return L===null||Me(L)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),f(L)):tt(L)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),rt(t,p,"whitespace")(L)):L===96&&L===a?r(L):(t.consume(L),d)}function p(L){return L===null||Me(L)?f(L):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),O(L))}function O(L){return L===null||Me(L)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),f(L)):L===96&&L===a?r(L):(t.consume(L),O)}function w(L){return t.attempt(n,Q,x)(L)}function x(L){return t.enter("lineEnding"),t.consume(L),t.exit("lineEnding"),k}function k(L){return o>0&&tt(L)?rt(t,C,"linePrefix",o+1)(L):C(L)}function C(L){return L===null||Me(L)?t.check(C6,w,Q)(L):(t.enter("codeFlowValue"),R(L))}function R(L){return L===null||Me(L)?(t.exit("codeFlowValue"),C(L)):(t.consume(L),R)}function Q(L){return t.exit("codeFenced"),e(L)}function z(L,Z,re){let H=0;return q;function q(ve){return L.enter("lineEnding"),L.consume(ve),L.exit("lineEnding"),oe}function oe(ve){return L.enter("codeFencedFence"),tt(ve)?rt(L,pe,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ve):pe(ve)}function pe(ve){return ve===a?(L.enter("codeFencedFenceSequence"),fe(ve)):re(ve)}function fe(ve){return ve===a?(H++,L.consume(ve),fe):H>=s?(L.exit("codeFencedFenceSequence"),tt(ve)?rt(L,ge,"whitespace")(ve):ge(ve)):re(ve)}function ge(ve){return ve===null||Me(ve)?(L.exit("codeFencedFence"),Z(ve)):re(ve)}}}function yD(t,e,r){let i=this;return n;function n(s){return s===null?r(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o)}function o(s){return i.parser.lazy[i.now().line]?r(s):e(s)}}var Cu={name:"codeIndented",tokenize:wD},vD={tokenize:xD,partial:!0};function wD(t,e,r){let i=this;return n;function n(c){return t.enter("codeIndented"),rt(t,o,"linePrefix",4+1)(c)}function o(c){let u=i.events[i.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?s(c):r(c)}function s(c){return c===null?l(c):Me(c)?t.attempt(vD,s,l)(c):(t.enter("codeFlowValue"),a(c))}function a(c){return c===null||Me(c)?(t.exit("codeFlowValue"),s(c)):(t.consume(c),a)}function l(c){return t.exit("codeIndented"),e(c)}}function xD(t,e,r){let i=this;return n;function n(s){return i.parser.lazy[i.now().line]?r(s):Me(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),n):rt(t,o,"linePrefix",4+1)(s)}function o(s){let a=i.events[i.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):Me(s)?n(s):r(s)}}var $1={name:"codeText",tokenize:TD,resolve:kD,previous:SD};function kD(t){let e=t.length-4,r=3,i,n;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(i=r;++i<e;)if(t[i][1].type==="codeTextData"){t[r][1].type="codeTextPadding",t[e][1].type="codeTextPadding",r+=2,e-=2;break}}for(i=r-1,e++;++i<=e;)n===void 0?i!==e&&t[i][1].type!=="lineEnding"&&(n=i):(i===e||t[i][1].type==="lineEnding")&&(t[n][1].type="codeTextData",i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),e-=i-n-2,i=n+2),n=void 0);return t}function SD(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function TD(t,e,r){let i=this,n=0,o,s;return a;function a(d){return t.enter("codeText"),t.enter("codeTextSequence"),l(d)}function l(d){return d===96?(t.consume(d),n++,l):(t.exit("codeTextSequence"),c(d))}function c(d){return d===null?r(d):d===32?(t.enter("space"),t.consume(d),t.exit("space"),c):d===96?(s=t.enter("codeTextSequence"),o=0,f(d)):Me(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),c):(t.enter("codeTextData"),u(d))}function u(d){return d===null||d===32||d===96||Me(d)?(t.exit("codeTextData"),c(d)):(t.consume(d),u)}function f(d){return d===96?(t.consume(d),o++,f):o===n?(t.exit("codeTextSequence"),t.exit("codeText"),e(d)):(s.type="codeTextData",u(d))}}function Jd(t){let e={},r=-1,i,n,o,s,a,l,c;for(;++r<t.length;){for(;r in e;)r=e[r];if(i=t[r],r&&i[1].type==="chunkFlow"&&t[r-1][1].type==="listItemPrefix"&&(l=i[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(i[0]==="enter")i[1].contentType&&(Object.assign(e,ED(t,r)),r=e[r],c=!0);else if(i[1]._container){for(o=r,n=void 0;o--&&(s=t[o],s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(n&&(t[n][1].type="lineEndingBlank"),s[1].type="lineEnding",n=o);n&&(i[1].end=Object.assign({},t[n][1].start),a=t.slice(n,r),a.unshift(i),$r(t,n,r-n+1,a))}}return!c}function ED(t,e){let r=t[e][1],i=t[e][2],n=e-1,o=[],s=r._tokenizer||i.parser[r.contentType](r.start),a=s.events,l=[],c={},u,f,d=-1,p=r,O=0,w=0,x=[w];for(;p;){for(;t[++n][1]!==p;);o.push(n),p._tokenizer||(u=i.sliceStream(p),p.next||u.push(null),f&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=r;++d<a.length;)a[d][0]==="exit"&&a[d-1][0]==="enter"&&a[d][1].type===a[d-1][1].type&&a[d][1].start.line!==a[d][1].end.line&&(w=d+1,x.push(w),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):x.pop(),d=x.length;d--;){let k=a.slice(x[d],x[d+1]),C=o.pop();l.unshift([C,C+k.length-1]),$r(t,C,2,k)}for(d=-1;++d<l.length;)c[O+l[d][0]]=O+l[d][1],O+=l[d][1]-l[d][0]-1;return c}var X1={tokenize:QD,resolve:PD},CD={tokenize:_D,partial:!0};function PD(t){return Jd(t),t}function QD(t,e){let r;return i;function i(a){return t.enter("content"),r=t.enter("chunkContent",{contentType:"content"}),n(a)}function n(a){return a===null?o(a):Me(a)?t.check(CD,s,o)(a):(t.consume(a),n)}function o(a){return t.exit("chunkContent"),t.exit("content"),e(a)}function s(a){return t.consume(a),t.exit("chunkContent"),r.next=t.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}}function _D(t,e,r){let i=this;return n;function n(s){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),rt(t,o,"linePrefix")}function o(s){if(s===null||Me(s))return r(s);let a=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):t.interrupt(i.parser.constructs.flow,r,e)(s)}}function e0(t,e,r,i,n,o,s,a,l){let c=l||Number.POSITIVE_INFINITY,u=0;return f;function f(k){return k===60?(t.enter(i),t.enter(n),t.enter(o),t.consume(k),t.exit(o),d):k===null||k===32||k===41||Su(k)?r(k):(t.enter(i),t.enter(s),t.enter(a),t.enter("chunkString",{contentType:"string"}),w(k))}function d(k){return k===62?(t.enter(o),t.consume(k),t.exit(o),t.exit(n),t.exit(i),e):(t.enter(a),t.enter("chunkString",{contentType:"string"}),p(k))}function p(k){return k===62?(t.exit("chunkString"),t.exit(a),d(k)):k===null||k===60||Me(k)?r(k):(t.consume(k),k===92?O:p)}function O(k){return k===60||k===62||k===92?(t.consume(k),p):p(k)}function w(k){return!u&&(k===null||k===41||sr(k))?(t.exit("chunkString"),t.exit(a),t.exit(s),t.exit(i),e(k)):u<c&&k===40?(t.consume(k),u++,w):k===41?(t.consume(k),u--,w):k===null||k===32||k===40||Su(k)?r(k):(t.consume(k),k===92?x:w)}function x(k){return k===40||k===41||k===92?(t.consume(k),w):w(k)}}function t0(t,e,r,i,n,o){let s=this,a=0,l;return c;function c(p){return t.enter(i),t.enter(n),t.consume(p),t.exit(n),t.enter(o),u}function u(p){return a>999||p===null||p===91||p===93&&!l||p===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?r(p):p===93?(t.exit(o),t.enter(n),t.consume(p),t.exit(n),t.exit(i),e):Me(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||Me(p)||a++>999?(t.exit("chunkString"),u(p)):(t.consume(p),l||(l=!tt(p)),p===92?d:f)}function d(p){return p===91||p===92||p===93?(t.consume(p),a++,f):f(p)}}function r0(t,e,r,i,n,o){let s;return a;function a(d){return d===34||d===39||d===40?(t.enter(i),t.enter(n),t.consume(d),t.exit(n),s=d===40?41:d,l):r(d)}function l(d){return d===s?(t.enter(n),t.consume(d),t.exit(n),t.exit(i),e):(t.enter(o),c(d))}function c(d){return d===s?(t.exit(o),l(s)):d===null?r(d):Me(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),rt(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(d))}function u(d){return d===s||d===null||Me(d)?(t.exit("chunkString"),c(d)):(t.consume(d),d===92?f:u)}function f(d){return d===s||d===92?(t.consume(d),u):u(d)}}function Sa(t,e){let r;return i;function i(n){return Me(n)?(t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),r=!0,i):tt(n)?rt(t,i,r?"linePrefix":"lineSuffix")(n):e(n)}}var I1={name:"definition",tokenize:RD},AD={tokenize:$D,partial:!0};function RD(t,e,r){let i=this,n;return o;function o(p){return t.enter("definition"),s(p)}function s(p){return t0.call(i,t,a,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return n=ko(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),l):r(p)}function l(p){return sr(p)?Sa(t,c)(p):c(p)}function c(p){return e0(t,u,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function u(p){return t.attempt(AD,f,f)(p)}function f(p){return tt(p)?rt(t,d,"whitespace")(p):d(p)}function d(p){return p===null||Me(p)?(t.exit("definition"),i.parser.defined.push(n),e(p)):r(p)}}function $D(t,e,r){return i;function i(a){return sr(a)?Sa(t,n)(a):r(a)}function n(a){return r0(t,o,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return tt(a)?rt(t,s,"whitespace")(a):s(a)}function s(a){return a===null||Me(a)?e(a):r(a)}}var L1={name:"hardBreakEscape",tokenize:XD};function XD(t,e,r){return i;function i(o){return t.enter("hardBreakEscape"),t.consume(o),n}function n(o){return Me(o)?(t.exit("hardBreakEscape"),e(o)):r(o)}}var z1={name:"headingAtx",tokenize:LD,resolve:ID};function ID(t,e){let r=t.length-2,i=3,n,o;return t[i][1].type==="whitespace"&&(i+=2),r-2>i&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(i===r-1||r-4>i&&t[r-2][1].type==="whitespace")&&(r-=i+1===r?2:4),r>i&&(n={type:"atxHeadingText",start:t[i][1].start,end:t[r][1].end},o={type:"chunkText",start:t[i][1].start,end:t[r][1].end,contentType:"text"},$r(t,i,r-i+1,[["enter",n,e],["enter",o,e],["exit",o,e],["exit",n,e]])),t}function LD(t,e,r){let i=0;return n;function n(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),s(u)}function s(u){return u===35&&i++<6?(t.consume(u),s):u===null||sr(u)?(t.exit("atxHeadingSequence"),a(u)):r(u)}function a(u){return u===35?(t.enter("atxHeadingSequence"),l(u)):u===null||Me(u)?(t.exit("atxHeading"),e(u)):tt(u)?rt(t,a,"whitespace")(u):(t.enter("atxHeadingText"),c(u))}function l(u){return u===35?(t.consume(u),l):(t.exit("atxHeadingSequence"),a(u))}function c(u){return u===null||u===35||sr(u)?(t.exit("atxHeadingText"),a(u)):(t.consume(u),c)}}var P6=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],M1=["pre","script","style","textarea"];var D1={name:"htmlFlow",tokenize:UD,resolveTo:DD,concrete:!0},zD={tokenize:jD,partial:!0},MD={tokenize:ND,partial:!0};function DD(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function UD(t,e,r){let i=this,n,o,s,a,l;return c;function c(j){return u(j)}function u(j){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(j),f}function f(j){return j===33?(t.consume(j),d):j===47?(t.consume(j),o=!0,w):j===63?(t.consume(j),n=3,i.interrupt?e:_):$i(j)?(t.consume(j),s=String.fromCharCode(j),x):r(j)}function d(j){return j===45?(t.consume(j),n=2,p):j===91?(t.consume(j),n=5,a=0,O):$i(j)?(t.consume(j),n=4,i.interrupt?e:_):r(j)}function p(j){return j===45?(t.consume(j),i.interrupt?e:_):r(j)}function O(j){let Je="CDATA[";return j===Je.charCodeAt(a++)?(t.consume(j),a===Je.length?i.interrupt?e:pe:O):r(j)}function w(j){return $i(j)?(t.consume(j),s=String.fromCharCode(j),x):r(j)}function x(j){if(j===null||j===47||j===62||sr(j)){let Je=j===47,at=s.toLowerCase();return!Je&&!o&&M1.includes(at)?(n=1,i.interrupt?e(j):pe(j)):P6.includes(s.toLowerCase())?(n=6,Je?(t.consume(j),k):i.interrupt?e(j):pe(j)):(n=7,i.interrupt&&!i.parser.lazy[i.now().line]?r(j):o?C(j):R(j))}return j===45||oi(j)?(t.consume(j),s+=String.fromCharCode(j),x):r(j)}function k(j){return j===62?(t.consume(j),i.interrupt?e:pe):r(j)}function C(j){return tt(j)?(t.consume(j),C):q(j)}function R(j){return j===47?(t.consume(j),q):j===58||j===95||$i(j)?(t.consume(j),Q):tt(j)?(t.consume(j),R):q(j)}function Q(j){return j===45||j===46||j===58||j===95||oi(j)?(t.consume(j),Q):z(j)}function z(j){return j===61?(t.consume(j),L):tt(j)?(t.consume(j),z):R(j)}function L(j){return j===null||j===60||j===61||j===62||j===96?r(j):j===34||j===39?(t.consume(j),l=j,Z):tt(j)?(t.consume(j),L):re(j)}function Z(j){return j===l?(t.consume(j),l=null,H):j===null||Me(j)?r(j):(t.consume(j),Z)}function re(j){return j===null||j===34||j===39||j===47||j===60||j===61||j===62||j===96||sr(j)?z(j):(t.consume(j),re)}function H(j){return j===47||j===62||tt(j)?R(j):r(j)}function q(j){return j===62?(t.consume(j),oe):r(j)}function oe(j){return j===null||Me(j)?pe(j):tt(j)?(t.consume(j),oe):r(j)}function pe(j){return j===45&&n===2?(t.consume(j),Qe):j===60&&n===1?(t.consume(j),se):j===62&&n===4?(t.consume(j),G):j===63&&n===3?(t.consume(j),_):j===93&&n===5?(t.consume(j),K):Me(j)&&(n===6||n===7)?(t.exit("htmlFlowData"),t.check(zD,ae,fe)(j)):j===null||Me(j)?(t.exit("htmlFlowData"),fe(j)):(t.consume(j),pe)}function fe(j){return t.check(MD,ge,ae)(j)}function ge(j){return t.enter("lineEnding"),t.consume(j),t.exit("lineEnding"),ve}function ve(j){return j===null||Me(j)?fe(j):(t.enter("htmlFlowData"),pe(j))}function Qe(j){return j===45?(t.consume(j),_):pe(j)}function se(j){return j===47?(t.consume(j),s="",he):pe(j)}function he(j){if(j===62){let Je=s.toLowerCase();return M1.includes(Je)?(t.consume(j),G):pe(j)}return $i(j)&&s.length<8?(t.consume(j),s+=String.fromCharCode(j),he):pe(j)}function K(j){return j===93?(t.consume(j),_):pe(j)}function _(j){return j===62?(t.consume(j),G):j===45&&n===2?(t.consume(j),_):pe(j)}function G(j){return j===null||Me(j)?(t.exit("htmlFlowData"),ae(j)):(t.consume(j),G)}function ae(j){return t.exit("htmlFlow"),e(j)}}function ND(t,e,r){let i=this;return n;function n(s){return Me(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o):r(s)}function o(s){return i.parser.lazy[i.now().line]?r(s):e(s)}}function jD(t,e,r){return i;function i(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),t.attempt(xs,e,r)}}var U1={name:"htmlText",tokenize:BD};function BD(t,e,r){let i=this,n,o,s;return a;function a(_){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(_),l}function l(_){return _===33?(t.consume(_),c):_===47?(t.consume(_),z):_===63?(t.consume(_),R):$i(_)?(t.consume(_),re):r(_)}function c(_){return _===45?(t.consume(_),u):_===91?(t.consume(_),o=0,O):$i(_)?(t.consume(_),C):r(_)}function u(_){return _===45?(t.consume(_),p):r(_)}function f(_){return _===null?r(_):_===45?(t.consume(_),d):Me(_)?(s=f,se(_)):(t.consume(_),f)}function d(_){return _===45?(t.consume(_),p):f(_)}function p(_){return _===62?Qe(_):_===45?d(_):f(_)}function O(_){let G="CDATA[";return _===G.charCodeAt(o++)?(t.consume(_),o===G.length?w:O):r(_)}function w(_){return _===null?r(_):_===93?(t.consume(_),x):Me(_)?(s=w,se(_)):(t.consume(_),w)}function x(_){return _===93?(t.consume(_),k):w(_)}function k(_){return _===62?Qe(_):_===93?(t.consume(_),k):w(_)}function C(_){return _===null||_===62?Qe(_):Me(_)?(s=C,se(_)):(t.consume(_),C)}function R(_){return _===null?r(_):_===63?(t.consume(_),Q):Me(_)?(s=R,se(_)):(t.consume(_),R)}function Q(_){return _===62?Qe(_):R(_)}function z(_){return $i(_)?(t.consume(_),L):r(_)}function L(_){return _===45||oi(_)?(t.consume(_),L):Z(_)}function Z(_){return Me(_)?(s=Z,se(_)):tt(_)?(t.consume(_),Z):Qe(_)}function re(_){return _===45||oi(_)?(t.consume(_),re):_===47||_===62||sr(_)?H(_):r(_)}function H(_){return _===47?(t.consume(_),Qe):_===58||_===95||$i(_)?(t.consume(_),q):Me(_)?(s=H,se(_)):tt(_)?(t.consume(_),H):Qe(_)}function q(_){return _===45||_===46||_===58||_===95||oi(_)?(t.consume(_),q):oe(_)}function oe(_){return _===61?(t.consume(_),pe):Me(_)?(s=oe,se(_)):tt(_)?(t.consume(_),oe):H(_)}function pe(_){return _===null||_===60||_===61||_===62||_===96?r(_):_===34||_===39?(t.consume(_),n=_,fe):Me(_)?(s=pe,se(_)):tt(_)?(t.consume(_),pe):(t.consume(_),ge)}function fe(_){return _===n?(t.consume(_),n=void 0,ve):_===null?r(_):Me(_)?(s=fe,se(_)):(t.consume(_),fe)}function ge(_){return _===null||_===34||_===39||_===60||_===61||_===96?r(_):_===47||_===62||sr(_)?H(_):(t.consume(_),ge)}function ve(_){return _===47||_===62||sr(_)?H(_):r(_)}function Qe(_){return _===62?(t.consume(_),t.exit("htmlTextData"),t.exit("htmlText"),e):r(_)}function se(_){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(_),t.exit("lineEnding"),he}function he(_){return tt(_)?rt(t,K,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):K(_)}function K(_){return t.enter("htmlTextData"),s(_)}}var Ta={name:"labelEnd",tokenize:YD,resolveTo:ZD,resolveAll:WD},VD={tokenize:HD},qD={tokenize:GD},FD={tokenize:KD};function WD(t){let e=-1;for(;++e<t.length;){let r=t[e][1];(r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd")&&(t.splice(e+1,r.type==="labelImage"?4:2),r.type="data",e++)}return t}function ZD(t,e){let r=t.length,i=0,n,o,s,a;for(;r--;)if(n=t[r][1],o){if(n.type==="link"||n.type==="labelLink"&&n._inactive)break;t[r][0]==="enter"&&n.type==="labelLink"&&(n._inactive=!0)}else if(s){if(t[r][0]==="enter"&&(n.type==="labelImage"||n.type==="labelLink")&&!n._balanced&&(o=r,n.type!=="labelLink")){i=2;break}}else n.type==="labelEnd"&&(s=r);let l={type:t[o][1].type==="labelLink"?"link":"image",start:Object.assign({},t[o][1].start),end:Object.assign({},t[t.length-1][1].end)},c={type:"label",start:Object.assign({},t[o][1].start),end:Object.assign({},t[s][1].end)},u={type:"labelText",start:Object.assign({},t[o+i+2][1].end),end:Object.assign({},t[s-2][1].start)};return a=[["enter",l,e],["enter",c,e]],a=ni(a,t.slice(o+1,o+i+3)),a=ni(a,[["enter",u,e]]),a=ni(a,zl(e.parser.constructs.insideSpan.null,t.slice(o+i+4,s-3),e)),a=ni(a,[["exit",u,e],t[s-2],t[s-1],["exit",c,e]]),a=ni(a,t.slice(s+1)),a=ni(a,[["exit",l,e]]),$r(t,o,t.length,a),t}function YD(t,e,r){let i=this,n=i.events.length,o,s;for(;n--;)if((i.events[n][1].type==="labelImage"||i.events[n][1].type==="labelLink")&&!i.events[n][1]._balanced){o=i.events[n][1];break}return a;function a(d){return o?o._inactive?f(d):(s=i.parser.defined.includes(ko(i.sliceSerialize({start:o.end,end:i.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(d),t.exit("labelMarker"),t.exit("labelEnd"),l):r(d)}function l(d){return d===40?t.attempt(VD,u,s?u:f)(d):d===91?t.attempt(qD,u,s?c:f)(d):s?u(d):f(d)}function c(d){return t.attempt(FD,u,f)(d)}function u(d){return e(d)}function f(d){return o._balanced=!0,r(d)}}function HD(t,e,r){return i;function i(f){return t.enter("resource"),t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),n}function n(f){return sr(f)?Sa(t,o)(f):o(f)}function o(f){return f===41?u(f):e0(t,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return sr(f)?Sa(t,l)(f):u(f)}function a(f){return r(f)}function l(f){return f===34||f===39||f===40?r0(t,c,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):u(f)}function c(f){return sr(f)?Sa(t,u)(f):u(f)}function u(f){return f===41?(t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),t.exit("resource"),e):r(f)}}function GD(t,e,r){let i=this;return n;function n(a){return t0.call(i,t,o,s,"reference","referenceMarker","referenceString")(a)}function o(a){return i.parser.defined.includes(ko(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?e(a):r(a)}function s(a){return r(a)}}function KD(t,e,r){return i;function i(o){return t.enter("reference"),t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),n}function n(o){return o===93?(t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),t.exit("reference"),e):r(o)}}var N1={name:"labelStartImage",tokenize:JD,resolveAll:Ta.resolveAll};function JD(t,e,r){let i=this;return n;function n(a){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(a),t.exit("labelImageMarker"),o}function o(a){return a===91?(t.enter("labelMarker"),t.consume(a),t.exit("labelMarker"),t.exit("labelImage"),s):r(a)}function s(a){return a===94&&"_hiddenFootnoteSupport"in i.parser.constructs?r(a):e(a)}}var j1={name:"labelStartLink",tokenize:eU,resolveAll:Ta.resolveAll};function eU(t,e,r){let i=this;return n;function n(s){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(s),t.exit("labelMarker"),t.exit("labelLink"),o}function o(s){return s===94&&"_hiddenFootnoteSupport"in i.parser.constructs?r(s):e(s)}}var Pu={name:"lineEnding",tokenize:tU};function tU(t,e){return r;function r(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),rt(t,e,"linePrefix")}}var Ea={name:"thematicBreak",tokenize:rU};function rU(t,e,r){let i=0,n;return o;function o(c){return t.enter("thematicBreak"),s(c)}function s(c){return n=c,a(c)}function a(c){return c===n?(t.enter("thematicBreakSequence"),l(c)):i>=3&&(c===null||Me(c))?(t.exit("thematicBreak"),e(c)):r(c)}function l(c){return c===n?(t.consume(c),i++,l):(t.exit("thematicBreakSequence"),tt(c)?rt(t,a,"whitespace")(c):a(c))}}var Fr={name:"list",tokenize:oU,continuation:{tokenize:sU},exit:lU},iU={tokenize:cU,partial:!0},nU={tokenize:aU,partial:!0};function oU(t,e,r){let i=this,n=i.events[i.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,s=0;return a;function a(p){let O=i.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(O==="listUnordered"?!i.containerState.marker||p===i.containerState.marker:Tu(p)){if(i.containerState.type||(i.containerState.type=O,t.enter(O,{_container:!0})),O==="listUnordered")return t.enter("listItemPrefix"),p===42||p===45?t.check(Ea,r,c)(p):c(p);if(!i.interrupt||p===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(p)}return r(p)}function l(p){return Tu(p)&&++s<10?(t.consume(p),l):(!i.interrupt||s<2)&&(i.containerState.marker?p===i.containerState.marker:p===41||p===46)?(t.exit("listItemValue"),c(p)):r(p)}function c(p){return t.enter("listItemMarker"),t.consume(p),t.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||p,t.check(xs,i.interrupt?r:u,t.attempt(iU,d,f))}function u(p){return i.containerState.initialBlankLine=!0,o++,d(p)}function f(p){return tt(p)?(t.enter("listItemPrefixWhitespace"),t.consume(p),t.exit("listItemPrefixWhitespace"),d):r(p)}function d(p){return i.containerState.size=o+i.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(p)}}function sU(t,e,r){let i=this;return i.containerState._closeFlow=void 0,t.check(xs,n,o);function n(a){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,rt(t,e,"listItemIndent",i.containerState.size+1)(a)}function o(a){return i.containerState.furtherBlankLines||!tt(a)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,s(a)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(nU,e,s)(a))}function s(a){return i.containerState._closeFlow=!0,i.interrupt=void 0,rt(t,t.attempt(Fr,e,r),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function aU(t,e,r){let i=this;return rt(t,n,"listItemIndent",i.containerState.size+1);function n(o){let s=i.events[i.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===i.containerState.size?e(o):r(o)}}function lU(t){t.exit(this.containerState.type)}function cU(t,e,r){let i=this;return rt(t,n,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function n(o){let s=i.events[i.events.length-1];return!tt(o)&&s&&s[1].type==="listItemPrefixWhitespace"?e(o):r(o)}}var i0={name:"setextUnderline",tokenize:fU,resolveTo:uU};function uU(t,e){let r=t.length,i,n,o;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){i=r;break}t[r][1].type==="paragraph"&&(n=r)}else t[r][1].type==="content"&&t.splice(r,1),!o&&t[r][1].type==="definition"&&(o=r);let s={type:"setextHeading",start:Object.assign({},t[n][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[n][1].type="setextHeadingText",o?(t.splice(n,0,["enter",s,e]),t.splice(o+1,0,["exit",t[i][1],e]),t[i][1].end=Object.assign({},t[o][1].end)):t[i][1]=s,t.push(["exit",s,e]),t}function fU(t,e,r){let i=this,n;return o;function o(c){let u=i.events.length,f;for(;u--;)if(i.events[u][1].type!=="lineEnding"&&i.events[u][1].type!=="linePrefix"&&i.events[u][1].type!=="content"){f=i.events[u][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||f)?(t.enter("setextHeadingLine"),n=c,s(c)):r(c)}function s(c){return t.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===n?(t.consume(c),a):(t.exit("setextHeadingLineSequence"),tt(c)?rt(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Me(c)?(t.exit("setextHeadingLine"),e(c)):r(c)}}var Q6={tokenize:hU};function hU(t){let e=this,r=t.attempt(xs,i,t.attempt(this.parser.constructs.flowInitial,n,rt(t,t.attempt(this.parser.constructs.flow,n,t.attempt(X1,n)),"linePrefix")));return r;function i(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,r}function n(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,r}}var _6={resolveAll:X6()},A6=$6("string"),R6=$6("text");function $6(t){return{tokenize:e,resolveAll:X6(t==="text"?dU:void 0)};function e(r){let i=this,n=this.parser.constructs[t],o=r.attempt(n,s,a);return s;function s(u){return c(u)?o(u):a(u)}function a(u){if(u===null){r.consume(u);return}return r.enter("data"),r.consume(u),l}function l(u){return c(u)?(r.exit("data"),o(u)):(r.consume(u),l)}function c(u){if(u===null)return!0;let f=n[u],d=-1;if(f)for(;++d<f.length;){let p=f[d];if(!p.previous||p.previous.call(i,i.previous))return!0}return!1}}}function X6(t){return e;function e(r,i){let n=-1,o;for(;++n<=r.length;)o===void 0?r[n]&&r[n][1].type==="data"&&(o=n,n++):(!r[n]||r[n][1].type!=="data")&&(n!==o+2&&(r[o][1].end=r[n-1][1].end,r.splice(o+2,n-o-2),n=o+2),o=void 0);return t?t(r,i):r}}function dU(t,e){let r=0;for(;++r<=t.length;)if((r===t.length||t[r][1].type==="lineEnding")&&t[r-1][1].type==="data"){let i=t[r-1][1],n=e.sliceStream(i),o=n.length,s=-1,a=0,l;for(;o--;){let c=n[o];if(typeof c=="string"){for(s=c.length;c.charCodeAt(s-1)===32;)a++,s--;if(s)break;s=-1}else if(c===-2)l=!0,a++;else if(c!==-1){o++;break}}if(a){let c={type:r===t.length||l||a<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-a,offset:i.end.offset-a,_index:i.start._index+o,_bufferIndex:o?s:i.start._bufferIndex+s},end:Object.assign({},i.end)};i.end=Object.assign({},c.start),i.start.offset===i.end.offset?Object.assign(i,c):(t.splice(r,0,["enter",c,e],["exit",c,e]),r+=2)}r++}return t}function I6(t,e,r){let i=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),n={},o=[],s=[],a=[],l=!0,c={consume:Q,enter:z,exit:L,attempt:H(Z),check:H(re),interrupt:H(re,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:w,sliceSerialize:O,now:x,defineSkip:k,write:p},f=e.tokenize.call(u,c),d;return e.resolveAll&&o.push(e),u;function p(fe){return s=ni(s,fe),C(),s[s.length-1]!==null?[]:(q(e,0),u.events=zl(o,u.events,u),u.events)}function O(fe,ge){return mU(w(fe),ge)}function w(fe){return pU(s,fe)}function x(){let{line:fe,column:ge,offset:ve,_index:Qe,_bufferIndex:se}=i;return{line:fe,column:ge,offset:ve,_index:Qe,_bufferIndex:se}}function k(fe){n[fe.line]=fe.column,pe()}function C(){let fe;for(;i._index<s.length;){let ge=s[i._index];if(typeof ge=="string")for(fe=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===fe&&i._bufferIndex<ge.length;)R(ge.charCodeAt(i._bufferIndex));else R(ge)}}function R(fe){l=void 0,d=fe,f=f(fe)}function Q(fe){Me(fe)?(i.line++,i.column=1,i.offset+=fe===-3?2:1,pe()):fe!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===s[i._index].length&&(i._bufferIndex=-1,i._index++)),u.previous=fe,l=!0}function z(fe,ge){let ve=ge||{};return ve.type=fe,ve.start=x(),u.events.push(["enter",ve,u]),a.push(ve),ve}function L(fe){let ge=a.pop();return ge.end=x(),u.events.push(["exit",ge,u]),ge}function Z(fe,ge){q(fe,ge.from)}function re(fe,ge){ge.restore()}function H(fe,ge){return ve;function ve(Qe,se,he){let K,_,G,ae;return Array.isArray(Qe)?Je(Qe):"tokenize"in Qe?Je([Qe]):j(Qe);function j(Ze){return Xt;function Xt(ct){let Nr=ct!==null&&Ze[ct],Qr=ct!==null&&Ze.null,Ln=[...Array.isArray(Nr)?Nr:Nr?[Nr]:[],...Array.isArray(Qr)?Qr:Qr?[Qr]:[]];return Je(Ln)(ct)}}function Je(Ze){return K=Ze,_=0,Ze.length===0?he:at(Ze[_])}function at(Ze){return Xt;function Xt(ct){return ae=oe(),G=Ze,Ze.partial||(u.currentConstruct=Ze),Ze.name&&u.parser.constructs.disable.null.includes(Ze.name)?Ce(ct):Ze.tokenize.call(ge?Object.assign(Object.create(u),ge):u,c,st,Ce)(ct)}}function st(Ze){return l=!0,fe(G,ae),se}function Ce(Ze){return l=!0,ae.restore(),++_<K.length?at(K[_]):he}}}function q(fe,ge){fe.resolveAll&&!o.includes(fe)&&o.push(fe),fe.resolve&&$r(u.events,ge,u.events.length-ge,fe.resolve(u.events.slice(ge),u)),fe.resolveTo&&(u.events=fe.resolveTo(u.events,u))}function oe(){let fe=x(),ge=u.previous,ve=u.currentConstruct,Qe=u.events.length,se=Array.from(a);return{restore:he,from:Qe};function he(){i=fe,u.previous=ge,u.currentConstruct=ve,u.events.length=Qe,a=se,pe()}}function pe(){i.line in n&&i.column<2&&(i.column=n[i.line],i.offset+=n[i.line]-1)}}function pU(t,e){let r=e.start._index,i=e.start._bufferIndex,n=e.end._index,o=e.end._bufferIndex,s;if(r===n)s=[t[r].slice(i,o)];else{if(s=t.slice(r,n),i>-1){let a=s[0];typeof a=="string"?s[0]=a.slice(i):s.shift()}o>0&&s.push(t[n].slice(0,o))}return s}function mU(t,e){let r=-1,i=[],n;for(;++r<t.length;){let o=t[r],s;if(typeof o=="string")s=o;else switch(o){case-5:{s="\r";break}case-4:{s=`
`;break}case-3:{s=`\r
`;break}case-2:{s=e?" ":" ";break}case-1:{if(!e&&n)continue;s=" ";break}default:s=String.fromCharCode(o)}n=o===-2,i.push(s)}return i.join("")}var B1={};su(B1,{attentionMarkers:()=>kU,contentInitial:()=>gU,disable:()=>SU,document:()=>OU,flow:()=>yU,flowInitial:()=>bU,insideSpan:()=>xU,string:()=>vU,text:()=>wU});var OU={42:Fr,43:Fr,45:Fr,48:Fr,49:Fr,50:Fr,51:Fr,52:Fr,53:Fr,54:Fr,55:Fr,56:Fr,57:Fr,62:Yd},gU={91:I1},bU={[-2]:Cu,[-1]:Cu,32:Cu},yU={35:z1,42:Ea,45:[i0,Ea],60:D1,61:i0,95:Ea,96:Kd,126:Kd},vU={38:Gd,92:Hd},wU={[-5]:Pu,[-4]:Pu,[-3]:Pu,33:N1,38:Gd,42:Eu,60:[R1,U1],91:j1,92:[L1,Hd],93:Ta,95:Eu,96:$1},xU={null:[Eu,_6]},kU={null:[42,95]},SU={null:[]};function V1(t){let r=b6([B1,...(t||{}).extensions||[]]),i={defined:[],lazy:{},constructs:r,content:n(k6),document:n(T6),flow:n(Q6),string:n(A6),text:n(R6)};return i;function n(o){return s;function s(a){return I6(i,o,a)}}}function q1(t){for(;!Jd(t););return t}var L6=/[\0\t\n\r]/g;function F1(){let t=1,e="",r=!0,i;return n;function n(o,s,a){let l=[],c,u,f,d,p;for(o=e+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o)),f=0,e="",r&&(o.charCodeAt(0)===65279&&f++,r=void 0);f<o.length;){if(L6.lastIndex=f,c=L6.exec(o),d=c&&c.index!==void 0?c.index:o.length,p=o.charCodeAt(d),!c){e=o.slice(f);break}if(p===10&&f===d&&i)l.push(-3),i=void 0;else switch(i&&(l.push(-5),i=void 0),f<d&&(l.push(o.slice(f,d)),t+=d-f),p){case 0:{l.push(65533),t++;break}case 9:{for(u=Math.ceil(t/4)*4,l.push(-2);t++<u;)l.push(-1);break}case 10:{l.push(-4),t=1;break}default:i=!0,t=1}f=d+1}return a&&(i&&l.push(-5),e&&l.push(e),l.push(null)),l}}var TU=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function z6(t){return t.replace(TU,EU)}function EU(t,e,r){if(e)return e;if(r.charCodeAt(0)===35){let n=r.charCodeAt(1),o=n===120||n===88;return Zd(r.slice(o?2:1),o?16:10)}return Al(r)||t}function Ml(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?M6(t.position):"start"in t||"end"in t?M6(t):"line"in t||"column"in t?W1(t):""}function W1(t){return D6(t&&t.line)+":"+D6(t&&t.column)}function M6(t){return W1(t&&t.start)+"-"+W1(t&&t.end)}function D6(t){return t&&typeof t=="number"?t:1}var N6={}.hasOwnProperty;function Z1(t,e,r){return typeof e!="string"&&(r=e,e=void 0),CU(r)(q1(V1(r).document().write(F1()(t,e,!0))))}function CU(t){let e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(go),autolinkProtocol:H,autolinkEmail:H,atxHeading:o(pn),blockQuote:o(Xt),characterEscape:H,characterReference:H,codeFenced:o(ct),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(ct,s),codeText:o(Nr,s),codeTextData:H,data:H,codeFlowValue:H,definition:o(Qr),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(Ln),hardBreakEscape:o(Zt),hardBreakTrailing:o(Zt),htmlFlow:o(ba,s),htmlFlowData:H,htmlText:o(ba,s),htmlTextData:H,image:o(_r),label:s,link:o(go),listItem:o(nu),listItemValue:d,listOrdered:o(zn,f),listUnordered:o(zn),paragraph:o(bo),reference:j,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(pn),strong:o(mn),thematicBreak:o(gd)},exit:{atxHeading:l(),atxHeadingSequence:z,autolink:l(),autolinkEmail:Ze,autolinkProtocol:Ce,blockQuote:l(),characterEscapeValue:q,characterReferenceMarkerHexadecimal:at,characterReferenceMarkerNumeric:at,characterReferenceValue:st,codeFenced:l(x),codeFencedFence:w,codeFencedFenceInfo:p,codeFencedFenceMeta:O,codeFlowValue:q,codeIndented:l(k),codeText:l(ve),codeTextData:q,data:q,definition:l(),definitionDestinationString:Q,definitionLabelString:C,definitionTitleString:R,emphasis:l(),hardBreakEscape:l(pe),hardBreakTrailing:l(pe),htmlFlow:l(fe),htmlFlowData:q,htmlText:l(ge),htmlTextData:q,image:l(se),label:K,labelText:he,lineEnding:oe,link:l(Qe),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Je,resourceDestinationString:_,resourceTitleString:G,resource:ae,setextHeading:l(re),setextHeadingLineSequence:Z,setextHeadingText:L,strong:l(),thematicBreak:l()}};j6(e,(t||{}).mdastExtensions||[]);let r={};return i;function i(be){let $e={type:"root",children:[]},Ye={stack:[$e],tokenStack:[],config:e,enter:a,exit:c,buffer:s,resume:u,data:r},ft=[],et=-1;for(;++et<be.length;)if(be[et][1].type==="listOrdered"||be[et][1].type==="listUnordered")if(be[et][0]==="enter")ft.push(et);else{let jr=ft.pop();et=n(be,jr,et)}for(et=-1;++et<be.length;){let jr=e[be[et][0]];N6.call(jr,be[et][1].type)&&jr[be[et][1].type].call(Object.assign({sliceSerialize:be[et][2].sliceSerialize},Ye),be[et][1])}if(Ye.tokenStack.length>0){let jr=Ye.tokenStack[Ye.tokenStack.length-1];(jr[1]||U6).call(Ye,void 0,jr[0])}for($e.position={start:ks(be.length>0?be[0][1].start:{line:1,column:1,offset:0}),end:ks(be.length>0?be[be.length-2][1].end:{line:1,column:1,offset:0})},et=-1;++et<e.transforms.length;)$e=e.transforms[et]($e)||$e;return $e}function n(be,$e,Ye){let ft=$e-1,et=-1,jr=!1,It,On,ya,va;for(;++ft<=Ye;){let Br=be[ft];switch(Br[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Br[0]==="enter"?et++:et--,va=void 0;break}case"lineEndingBlank":{Br[0]==="enter"&&(It&&!va&&!et&&!ya&&(ya=ft),va=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:va=void 0}if(!et&&Br[0]==="enter"&&Br[1].type==="listItemPrefix"||et===-1&&Br[0]==="exit"&&(Br[1].type==="listUnordered"||Br[1].type==="listOrdered")){if(It){let vt=ft;for(On=void 0;vt--;){let tr=be[vt];if(tr[1].type==="lineEnding"||tr[1].type==="lineEndingBlank"){if(tr[0]==="exit")continue;On&&(be[On][1].type="lineEndingBlank",jr=!0),tr[1].type="lineEnding",On=vt}else if(!(tr[1].type==="linePrefix"||tr[1].type==="blockQuotePrefix"||tr[1].type==="blockQuotePrefixWhitespace"||tr[1].type==="blockQuoteMarker"||tr[1].type==="listItemIndent"))break}ya&&(!On||ya<On)&&(It._spread=!0),It.end=Object.assign({},On?be[On][1].start:Br[1].end),be.splice(On||ft,0,["exit",It,Br[2]]),ft++,Ye++}if(Br[1].type==="listItemPrefix"){let vt={type:"listItem",_spread:!1,start:Object.assign({},Br[1].start),end:void 0};It=vt,be.splice(ft,0,["enter",vt,Br[2]]),ft++,Ye++,ya=void 0,va=!0}}}return be[$e][1]._spread=jr,Ye}function o(be,$e){return Ye;function Ye(ft){a.call(this,be(ft),ft),$e&&$e.call(this,ft)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(be,$e,Ye){this.stack[this.stack.length-1].children.push(be),this.stack.push(be),this.tokenStack.push([$e,Ye]),be.position={start:ks($e.start),end:void 0}}function l(be){return $e;function $e(Ye){be&&be.call(this,Ye),c.call(this,Ye)}}function c(be,$e){let Ye=this.stack.pop(),ft=this.tokenStack.pop();if(ft)ft[0].type!==be.type&&($e?$e.call(this,be,ft[0]):(ft[1]||U6).call(this,be,ft[0]));else throw new Error("Cannot close `"+be.type+"` ("+Ml({start:be.start,end:be.end})+"): it\u2019s not open");Ye.position.end=ks(be.end)}function u(){return Q1(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(be){if(this.data.expectingFirstListItemValue){let $e=this.stack[this.stack.length-2];$e.start=Number.parseInt(this.sliceSerialize(be),10),this.data.expectingFirstListItemValue=void 0}}function p(){let be=this.resume(),$e=this.stack[this.stack.length-1];$e.lang=be}function O(){let be=this.resume(),$e=this.stack[this.stack.length-1];$e.meta=be}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function x(){let be=this.resume(),$e=this.stack[this.stack.length-1];$e.value=be.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){let be=this.resume(),$e=this.stack[this.stack.length-1];$e.value=be.replace(/(\r?\n|\r)$/g,"")}function C(be){let $e=this.resume(),Ye=this.stack[this.stack.length-1];Ye.label=$e,Ye.identifier=ko(this.sliceSerialize(be)).toLowerCase()}function R(){let be=this.resume(),$e=this.stack[this.stack.length-1];$e.title=be}function Q(){let be=this.resume(),$e=this.stack[this.stack.length-1];$e.url=be}function z(be){let $e=this.stack[this.stack.length-1];if(!$e.depth){let Ye=this.sliceSerialize(be).length;$e.depth=Ye}}function L(){this.data.setextHeadingSlurpLineEnding=!0}function Z(be){let $e=this.stack[this.stack.length-1];$e.depth=this.sliceSerialize(be).codePointAt(0)===61?1:2}function re(){this.data.setextHeadingSlurpLineEnding=void 0}function H(be){let Ye=this.stack[this.stack.length-1].children,ft=Ye[Ye.length-1];(!ft||ft.type!=="text")&&(ft=Bg(),ft.position={start:ks(be.start),end:void 0},Ye.push(ft)),this.stack.push(ft)}function q(be){let $e=this.stack.pop();$e.value+=this.sliceSerialize(be),$e.position.end=ks(be.end)}function oe(be){let $e=this.stack[this.stack.length-1];if(this.data.atHardBreak){let Ye=$e.children[$e.children.length-1];Ye.position.end=ks(be.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes($e.type)&&(H.call(this,be),q.call(this,be))}function pe(){this.data.atHardBreak=!0}function fe(){let be=this.resume(),$e=this.stack[this.stack.length-1];$e.value=be}function ge(){let be=this.resume(),$e=this.stack[this.stack.length-1];$e.value=be}function ve(){let be=this.resume(),$e=this.stack[this.stack.length-1];$e.value=be}function Qe(){let be=this.stack[this.stack.length-1];if(this.data.inReference){let $e=this.data.referenceType||"shortcut";be.type+="Reference",be.referenceType=$e,delete be.url,delete be.title}else delete be.identifier,delete be.label;this.data.referenceType=void 0}function se(){let be=this.stack[this.stack.length-1];if(this.data.inReference){let $e=this.data.referenceType||"shortcut";be.type+="Reference",be.referenceType=$e,delete be.url,delete be.title}else delete be.identifier,delete be.label;this.data.referenceType=void 0}function he(be){let $e=this.sliceSerialize(be),Ye=this.stack[this.stack.length-2];Ye.label=z6($e),Ye.identifier=ko($e).toLowerCase()}function K(){let be=this.stack[this.stack.length-1],$e=this.resume(),Ye=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ye.type==="link"){let ft=be.children;Ye.children=ft}else Ye.alt=$e}function _(){let be=this.resume(),$e=this.stack[this.stack.length-1];$e.url=be}function G(){let be=this.resume(),$e=this.stack[this.stack.length-1];$e.title=be}function ae(){this.data.inReference=void 0}function j(){this.data.referenceType="collapsed"}function Je(be){let $e=this.resume(),Ye=this.stack[this.stack.length-1];Ye.label=$e,Ye.identifier=ko(this.sliceSerialize(be)).toLowerCase(),this.data.referenceType="full"}function at(be){this.data.characterReferenceType=be.type}function st(be){let $e=this.sliceSerialize(be),Ye=this.data.characterReferenceType,ft;Ye?(ft=Zd($e,Ye==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ft=Al($e);let et=this.stack.pop();et.value+=ft,et.position.end=ks(be.end)}function Ce(be){q.call(this,be);let $e=this.stack[this.stack.length-1];$e.url=this.sliceSerialize(be)}function Ze(be){q.call(this,be);let $e=this.stack[this.stack.length-1];$e.url="mailto:"+this.sliceSerialize(be)}function Xt(){return{type:"blockquote",children:[]}}function ct(){return{type:"code",lang:null,meta:null,value:""}}function Nr(){return{type:"inlineCode",value:""}}function Qr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ln(){return{type:"emphasis",children:[]}}function pn(){return{type:"heading",depth:0,children:[]}}function Zt(){return{type:"break"}}function ba(){return{type:"html",value:""}}function _r(){return{type:"image",title:null,url:"",alt:null}}function go(){return{type:"link",title:null,url:"",children:[]}}function zn(be){return{type:"list",ordered:be.type==="listOrdered",start:null,spread:be._spread,children:[]}}function nu(be){return{type:"listItem",spread:be._spread,checked:null,children:[]}}function bo(){return{type:"paragraph",children:[]}}function mn(){return{type:"strong",children:[]}}function Bg(){return{type:"text",value:""}}function gd(){return{type:"thematicBreak"}}}function ks(t){return{line:t.line,column:t.column,offset:t.offset}}function j6(t,e){let r=-1;for(;++r<e.length;){let i=e[r];Array.isArray(i)?j6(t,i):PU(t,i)}}function PU(t,e){let r;for(r in e)if(N6.call(e,r))switch(r){case"canContainEols":{let i=e[r];i&&t[r].push(...i);break}case"transforms":{let i=e[r];i&&t[r].push(...i);break}case"enter":case"exit":{let i=e[r];i&&Object.assign(t[r],i);break}}}function U6(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+Ml({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+Ml({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+Ml({start:e.start,end:e.end})+") is still open")}function n0(t){let e=this;e.parser=r;function r(i){return Z1(i,Be(ne(ne({},e.data("settings")),t),{extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]}))}}function Dl(t,e){let r=String(t);if(typeof e!="string")throw new TypeError("Expected character");let i=0,n=r.indexOf(e);for(;n!==-1;)i++,n=r.indexOf(e,n+e.length);return i}var QU=Ss(new RegExp("\\p{P}","u")),Fde=Ss(/[A-Za-z]/),Wde=Ss(/[\dA-Za-z]/),Zde=Ss(/[#-'*+\--9=?A-Z^-~]/);var Yde=Ss(/\d/),Hde=Ss(/[\dA-Fa-f]/),_U=Ss(/[!-/:-@[-`{-~]/);function B6(t){return _U(t)||QU(t)}var V6=Ss(/\s/);function Ss(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Y1(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var qn=function(t){if(t==null)return XU;if(typeof t=="function")return o0(t);if(typeof t=="object")return Array.isArray(t)?AU(t):RU(t);if(typeof t=="string")return $U(t);throw new Error("Expected function, string, or object as test")};function AU(t){let e=[],r=-1;for(;++r<t.length;)e[r]=qn(t[r]);return o0(i);function i(...n){let o=-1;for(;++o<e.length;)if(e[o].apply(this,n))return!0;return!1}}function RU(t){let e=t;return o0(r);function r(i){let n=i,o;for(o in t)if(n[o]!==e[o])return!1;return!0}}function $U(t){return o0(e);function e(r){return r&&r.type===t}}function o0(t){return e;function e(r,i,n){return!!(IU(r)&&t.call(this,r,typeof i=="number"?i:void 0,n||void 0))}}function XU(){return!0}function IU(t){return t!==null&&typeof t=="object"&&"type"in t}var q6=[],s0=!0,Ca=!1,Ul="skip";function Pa(t,e,r,i){let n;typeof e=="function"&&typeof r!="function"?(i=r,r=e):n=e;let o=qn(n),s=i?-1:1;a(t,void 0,[])();function a(l,c,u){let f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){let p=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return d;function d(){let p=q6,O,w,x;if((!e||o(l,c,u[u.length-1]||void 0))&&(p=LU(r(l,u)),p[0]===Ca))return p;if("children"in l&&l.children){let k=l;if(k.children&&p[0]!==Ul)for(w=(i?k.children.length:-1)+s,x=u.concat(k);w>-1&&w<k.children.length;){let C=k.children[w];if(O=a(C,w,x)(),O[0]===Ca)return O;w=typeof O[1]=="number"?O[1]:w+s}}return p}}}function LU(t){return Array.isArray(t)?t:typeof t=="number"?[s0,t]:t==null?q6:[t]}function H1(t,e,r){let n=qn((r||{}).ignore||[]),o=zU(e),s=-1;for(;++s<o.length;)Pa(t,"text",a);function a(c,u){let f=-1,d;for(;++f<u.length;){let p=u[f],O=d?d.children:void 0;if(n(p,O?O.indexOf(p):void 0,d))return;d=p}if(d)return l(c,u)}function l(c,u){let f=u[u.length-1],d=o[s][0],p=o[s][1],O=0,x=f.children.indexOf(c),k=!1,C=[];d.lastIndex=0;let R=d.exec(c.value);for(;R;){let Q=R.index,z={index:R.index,input:R.input,stack:[...u,c]},L=p(...R,z);if(typeof L=="string"&&(L=L.length>0?{type:"text",value:L}:void 0),L===!1?d.lastIndex=Q+1:(O!==Q&&C.push({type:"text",value:c.value.slice(O,Q)}),Array.isArray(L)?C.push(...L):L&&C.push(L),O=Q+R[0].length,k=!0),!d.global)break;R=d.exec(c.value)}return k?(O<c.value.length&&C.push({type:"text",value:c.value.slice(O)}),f.children.splice(x,1,...C)):C=[c],x+C.length}}function zU(t){let e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");let r=!t[0]||Array.isArray(t[0])?t:[t],i=-1;for(;++i<r.length;){let n=r[i];e.push([MU(n[0]),DU(n[1])])}return e}function MU(t){return typeof t=="string"?new RegExp(Y1(t),"g"):t}function DU(t){return typeof t=="function"?t:function(){return t}}var G1="phrasing",K1=["autolink","link","image","label"];function eb(){return{transforms:[qU],enter:{literalAutolink:UU,literalAutolinkEmail:J1,literalAutolinkHttp:J1,literalAutolinkWww:J1},exit:{literalAutolink:VU,literalAutolinkEmail:BU,literalAutolinkHttp:NU,literalAutolinkWww:jU}}}function tb(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:G1,notInConstruct:K1},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:G1,notInConstruct:K1},{character:":",before:"[ps]",after:"\\/",inConstruct:G1,notInConstruct:K1}]}}function UU(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function J1(t){this.config.enter.autolinkProtocol.call(this,t)}function NU(t){this.config.exit.autolinkProtocol.call(this,t)}function jU(t){this.config.exit.data.call(this,t);let e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function BU(t){this.config.exit.autolinkEmail.call(this,t)}function VU(t){this.exit(t)}function qU(t){H1(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,FU],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,WU]],{ignore:["link","linkReference"]})}function FU(t,e,r,i,n){let o="";if(!F6(n)||(/^w/i.test(e)&&(r=e+r,e="",o="http://"),!ZU(r)))return!1;let s=YU(r+i);if(!s[0])return!1;let a={type:"link",title:null,url:o+e+s[0],children:[{type:"text",value:e+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function WU(t,e,r,i){return!F6(i,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+r,children:[{type:"text",value:e+"@"+r}]}}function ZU(t){let e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function YU(t){let e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let r=e[0],i=r.indexOf(")"),n=Dl(t,"("),o=Dl(t,")");for(;i!==-1&&n>o;)t+=r.slice(0,i+1),r=r.slice(i+1),i=r.indexOf(")"),o++;return[t,r]}function F6(t,e){let r=t.input.charCodeAt(t.index-1);return(t.index===0||V6(r)||B6(r))&&(!e||r!==47)}function rb(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}W6.peek=nN;function ib(){return{enter:{gfmFootnoteDefinition:HU,gfmFootnoteDefinitionLabelString:GU,gfmFootnoteCall:eN,gfmFootnoteCallString:tN},exit:{gfmFootnoteDefinition:JU,gfmFootnoteDefinitionLabelString:KU,gfmFootnoteCall:iN,gfmFootnoteCallString:rN}}}function nb(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:oN,footnoteReference:W6}}}function HU(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function GU(){this.buffer()}function KU(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=rb(this.sliceSerialize(t)).toLowerCase()}function JU(t){this.exit(t)}function eN(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function tN(){this.buffer()}function rN(t){let e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.label=e,r.identifier=rb(this.sliceSerialize(t)).toLowerCase()}function iN(t){this.exit(t)}function W6(t,e,r,i){let n=r.createTracker(i),o=n.move("[^"),s=r.enter("footnoteReference"),a=r.enter("reference");return o+=n.move(r.safe(r.associationId(t),Be(ne({},n.current()),{before:o,after:"]"}))),a(),s(),o+=n.move("]"),o}function nN(){return"["}function oN(t,e,r,i){let n=r.createTracker(i),o=n.move("[^"),s=r.enter("footnoteDefinition"),a=r.enter("label");return o+=n.move(r.safe(r.associationId(t),Be(ne({},n.current()),{before:o,after:"]"}))),a(),o+=n.move("]:"+(t.children&&t.children.length>0?" ":"")),n.shift(4),o+=n.move(r.indentLines(r.containerFlow(t,n.current()),sN)),s(),o}function sN(t,e,r){return e===0?t:(r?"":" ")+t}var aN=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Z6.peek=uN;function ob(){return{canContainEols:["delete"],enter:{strikethrough:lN},exit:{strikethrough:cN}}}function sb(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:aN}],handlers:{delete:Z6}}}function lN(t){this.enter({type:"delete",children:[]},t)}function cN(t){this.exit(t)}function Z6(t,e,r,i){let n=r.createTracker(i),o=r.enter("strikethrough"),s=n.move("~~");return s+=r.containerPhrasing(t,Be(ne({},n.current()),{before:s,after:"~"})),s+=n.move("~~"),o(),s}function uN(){return"~"}function H6(t,e={}){let r=(e.align||[]).concat(),i=e.stringLength||hN,n=[],o=[],s=[],a=[],l=0,c=-1;for(;++c<t.length;){let O=[],w=[],x=-1;for(t[c].length>l&&(l=t[c].length);++x<t[c].length;){let k=fN(t[c][x]);if(e.alignDelimiters!==!1){let C=i(k);w[x]=C,(a[x]===void 0||C>a[x])&&(a[x]=C)}O.push(k)}o[c]=O,s[c]=w}let u=-1;if(typeof r=="object"&&"length"in r)for(;++u<l;)n[u]=Y6(r[u]);else{let O=Y6(r);for(;++u<l;)n[u]=O}u=-1;let f=[],d=[];for(;++u<l;){let O=n[u],w="",x="";O===99?(w=":",x=":"):O===108?w=":":O===114&&(x=":");let k=e.alignDelimiters===!1?1:Math.max(1,a[u]-w.length-x.length),C=w+"-".repeat(k)+x;e.alignDelimiters!==!1&&(k=w.length+k+x.length,k>a[u]&&(a[u]=k),d[u]=k),f[u]=C}o.splice(1,0,f),s.splice(1,0,d),c=-1;let p=[];for(;++c<o.length;){let O=o[c],w=s[c];u=-1;let x=[];for(;++u<l;){let k=O[u]||"",C="",R="";if(e.alignDelimiters!==!1){let Q=a[u]-(w[u]||0),z=n[u];z===114?C=" ".repeat(Q):z===99?Q%2?(C=" ".repeat(Q/2+.5),R=" ".repeat(Q/2-.5)):(C=" ".repeat(Q/2),R=C):R=" ".repeat(Q)}e.delimiterStart!==!1&&!u&&x.push("|"),e.padding!==!1&&!(e.alignDelimiters===!1&&k==="")&&(e.delimiterStart!==!1||u)&&x.push(" "),e.alignDelimiters!==!1&&x.push(C),x.push(k),e.alignDelimiters!==!1&&x.push(R),e.padding!==!1&&x.push(" "),(e.delimiterEnd!==!1||u!==l-1)&&x.push("|")}p.push(e.delimiterEnd===!1?x.join("").replace(/ +$/,""):x.join(""))}return p.join(`
`)}function fN(t){return t==null?"":String(t)}function hN(t){return t.length}function Y6(t){let e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}var G6={}.hasOwnProperty;function Nl(t,e){let r=e||{};function i(n,...o){let s=i.invalid,a=i.handlers;if(n&&G6.call(n,t)){let l=String(n[t]);s=G6.call(a,l)?a[l]:i.unknown}if(s)return s.call(this,n,...o)}return i.handlers=r.handlers||{},i.invalid=r.invalid,i.unknown=r.unknown,i}function K6(t,e,r,i){let n=r.enter("blockquote"),o=r.createTracker(i);o.move("> "),o.shift(2);let s=r.indentLines(r.containerFlow(t,o.current()),dN);return n(),s}function dN(t,e,r){return">"+(r?"":" ")+t}function eS(t,e){return J6(t,e.inConstruct,!0)&&!J6(t,e.notInConstruct,!1)}function J6(t,e,r){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return r;let i=-1;for(;++i<e.length;)if(t.includes(e[i]))return!0;return!1}function ab(t,e,r,i){let n=-1;for(;++n<r.unsafe.length;)if(r.unsafe[n].character===`
`&&eS(r.stack,r.unsafe[n]))return/[ \t]/.test(i.before)?"":" ";return`\\
`}function a0(t,e){let r=String(t),i=r.indexOf(e),n=i,o=0,s=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===n?++o>s&&(s=o):o=1,n=i+e.length,i=r.indexOf(e,n);return s}function tS(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function rS(t){let e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function iS(t,e,r,i){let n=rS(r),o=t.value||"",s=n==="`"?"GraveAccent":"Tilde";if(tS(t,r)){let f=r.enter("codeIndented"),d=r.indentLines(o,pN);return f(),d}let a=r.createTracker(i),l=n.repeat(Math.max(a0(o,n)+1,3)),c=r.enter("codeFenced"),u=a.move(l);if(t.lang){let f=r.enter(`codeFencedLang${s}`);u+=a.move(r.safe(t.lang,ne({before:u,after:" ",encode:["`"]},a.current()))),f()}if(t.lang&&t.meta){let f=r.enter(`codeFencedMeta${s}`);u+=a.move(" "),u+=a.move(r.safe(t.meta,ne({before:u,after:`
`,encode:["`"]},a.current()))),f()}return u+=a.move(`
`),o&&(u+=a.move(o+`
`)),u+=a.move(l),c(),u}function pN(t,e,r){return(r?"":" ")+t}function jl(t){let e=t.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function nS(t,e,r,i){let n=jl(r),o=n==='"'?"Quote":"Apostrophe",s=r.enter("definition"),a=r.enter("label"),l=r.createTracker(i),c=l.move("[");return c+=l.move(r.safe(r.associationId(t),ne({before:c,after:"]"},l.current()))),c+=l.move("]: "),a(),!t.url||/[\0- \u007F]/.test(t.url)?(a=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(t.url,ne({before:c,after:">"},l.current()))),c+=l.move(">")):(a=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,ne({before:c,after:t.title?" ":`
`},l.current())))),a(),t.title&&(a=r.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(r.safe(t.title,ne({before:c,after:n},l.current()))),c+=l.move(n),a()),s(),c}function oS(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}lb.peek=mN;function lb(t,e,r,i){let n=oS(r),o=r.enter("emphasis"),s=r.createTracker(i),a=s.move(n);return a+=s.move(r.containerPhrasing(t,ne({before:a,after:n},s.current()))),a+=s.move(n),o(),a}function mN(t,e,r){return r.options.emphasis||"*"}function Wr(t,e,r,i){let n,o,s;typeof e=="function"&&typeof r!="function"?(o=void 0,s=e,n=r):(o=e,s=r,n=i),Pa(t,o,a,n);function a(l,c){let u=c[c.length-1],f=u?u.children.indexOf(l):void 0;return s(l,f,u)}}var ON={};function Qu(t,e){let r=e||ON,i=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,n=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return aS(t,i,n)}function aS(t,e,r){if(gN(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return sS(t.children,e,r)}return Array.isArray(t)?sS(t,e,r):""}function sS(t,e,r){let i=[],n=-1;for(;++n<t.length;)i[n]=aS(t[n],e,r);return i.join("")}function gN(t){return!!(t&&typeof t=="object")}function lS(t,e){let r=!1;return Wr(t,function(i){if("value"in i&&/\r?\n|\r/.test(i.value)||i.type==="break")return r=!0,Ca}),!!((!t.depth||t.depth<3)&&Qu(t)&&(e.options.setext||r))}function cS(t,e,r,i){let n=Math.max(Math.min(6,t.depth||1),1),o=r.createTracker(i);if(lS(t,r)){let u=r.enter("headingSetext"),f=r.enter("phrasing"),d=r.containerPhrasing(t,Be(ne({},o.current()),{before:`
`,after:`
`}));return f(),u(),d+`
`+(n===1?"=":"-").repeat(d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf(`
`))+1))}let s="#".repeat(n),a=r.enter("headingAtx"),l=r.enter("phrasing");o.move(s+" ");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?s+" "+c:s,r.options.closeAtx&&(c+=" "+s),l(),a(),c}cb.peek=bN;function cb(t){return t.value||""}function bN(){return"<"}ub.peek=yN;function ub(t,e,r,i){let n=jl(r),o=n==='"'?"Quote":"Apostrophe",s=r.enter("image"),a=r.enter("label"),l=r.createTracker(i),c=l.move("![");return c+=l.move(r.safe(t.alt,ne({before:c,after:"]"},l.current()))),c+=l.move("]("),a(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(a=r.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(r.safe(t.url,ne({before:c,after:">"},l.current()))),c+=l.move(">")):(a=r.enter("destinationRaw"),c+=l.move(r.safe(t.url,ne({before:c,after:t.title?" ":")"},l.current())))),a(),t.title&&(a=r.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(r.safe(t.title,ne({before:c,after:n},l.current()))),c+=l.move(n),a()),c+=l.move(")"),s(),c}function yN(){return"!"}fb.peek=vN;function fb(t,e,r,i){let n=t.referenceType,o=r.enter("imageReference"),s=r.enter("label"),a=r.createTracker(i),l=a.move("!["),c=r.safe(t.alt,ne({before:l,after:"]"},a.current()));l+=a.move(c+"]["),s();let u=r.stack;r.stack=[],s=r.enter("reference");let f=r.safe(r.associationId(t),ne({before:l,after:"]"},a.current()));return s(),r.stack=u,o(),n==="full"||!c||c!==f?l+=a.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function vN(){return"!"}hb.peek=wN;function hb(t,e,r){let i=t.value||"",n="`",o=-1;for(;new RegExp("(^|[^`])"+n+"([^`]|$)").test(i);)n+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++o<r.unsafe.length;){let s=r.unsafe[o],a=r.compilePattern(s),l;if(s.atBreak)for(;l=a.exec(i);){let c=l.index;i.charCodeAt(c)===10&&i.charCodeAt(c-1)===13&&c--,i=i.slice(0,c)+" "+i.slice(l.index+1)}}return n+i+n}function wN(){return"`"}function db(t,e){let r=Qu(t);return!!(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(r===t.url||"mailto:"+r===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}pb.peek=xN;function pb(t,e,r,i){let n=jl(r),o=n==='"'?"Quote":"Apostrophe",s=r.createTracker(i),a,l;if(db(t,r)){let u=r.stack;r.stack=[],a=r.enter("autolink");let f=s.move("<");return f+=s.move(r.containerPhrasing(t,ne({before:f,after:">"},s.current()))),f+=s.move(">"),a(),r.stack=u,f}a=r.enter("link"),l=r.enter("label");let c=s.move("[");return c+=s.move(r.containerPhrasing(t,ne({before:c,after:"]("},s.current()))),c+=s.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=r.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(r.safe(t.url,ne({before:c,after:">"},s.current()))),c+=s.move(">")):(l=r.enter("destinationRaw"),c+=s.move(r.safe(t.url,ne({before:c,after:t.title?" ":")"},s.current())))),l(),t.title&&(l=r.enter(`title${o}`),c+=s.move(" "+n),c+=s.move(r.safe(t.title,ne({before:c,after:n},s.current()))),c+=s.move(n),l()),c+=s.move(")"),a(),c}function xN(t,e,r){return db(t,r)?"<":"["}mb.peek=kN;function mb(t,e,r,i){let n=t.referenceType,o=r.enter("linkReference"),s=r.enter("label"),a=r.createTracker(i),l=a.move("["),c=r.containerPhrasing(t,ne({before:l,after:"]"},a.current()));l+=a.move(c+"]["),s();let u=r.stack;r.stack=[],s=r.enter("reference");let f=r.safe(r.associationId(t),ne({before:l,after:"]"},a.current()));return s(),r.stack=u,o(),n==="full"||!c||c!==f?l+=a.move(f+"]"):n==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function kN(){return"["}function Bl(t){let e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function uS(t){let e=Bl(t),r=t.options.bulletOther;if(!r)return e==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+r+"`) to be different");return r}function fS(t){let e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function l0(t){let e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function hS(t,e,r,i){let n=r.enter("list"),o=r.bulletCurrent,s=t.ordered?fS(r):Bl(r),a=t.ordered?s==="."?")":".":uS(r),l=e&&r.bulletLastUsed?s===r.bulletLastUsed:!1;if(!t.ordered){let u=t.children?t.children[0]:void 0;if((s==="*"||s==="-")&&u&&(!u.children||!u.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(l=!0),l0(r)===s&&u){let f=-1;for(;++f<t.children.length;){let d=t.children[f];if(d&&d.type==="listItem"&&d.children&&d.children[0]&&d.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=a),r.bulletCurrent=s;let c=r.containerFlow(t,i);return r.bulletLastUsed=s,r.bulletCurrent=o,n(),c}function dS(t){let e=t.options.listItemIndent||"one";if(e!=="tab"&&e!=="one"&&e!=="mixed")throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}function pS(t,e,r,i){let n=dS(r),o=r.bulletCurrent||Bl(r);e&&e.type==="list"&&e.ordered&&(o=(typeof e.start=="number"&&e.start>-1?e.start:1)+(r.options.incrementListMarker===!1?0:e.children.indexOf(t))+o);let s=o.length+1;(n==="tab"||n==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(s=Math.ceil(s/4)*4);let a=r.createTracker(i);a.move(o+" ".repeat(s-o.length)),a.shift(s);let l=r.enter("listItem"),c=r.indentLines(r.containerFlow(t,a.current()),u);return l(),c;function u(f,d,p){return d?(p?"":" ".repeat(s))+f:(p?o:o+" ".repeat(s-o.length))+f}}function mS(t,e,r,i){let n=r.enter("paragraph"),o=r.enter("phrasing"),s=r.containerPhrasing(t,i);return o(),n(),s}var Ob=qn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function OS(t,e,r,i){return(t.children.some(function(s){return Ob(s)})?r.containerPhrasing:r.containerFlow).call(r,t,i)}function gS(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}gb.peek=SN;function gb(t,e,r,i){let n=gS(r),o=r.enter("strong"),s=r.createTracker(i),a=s.move(n+n);return a+=s.move(r.containerPhrasing(t,ne({before:a,after:n},s.current()))),a+=s.move(n+n),o(),a}function SN(t,e,r){return r.options.strong||"*"}function bS(t,e,r,i){return r.safe(t.value,i)}function yS(t){let e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function vS(t,e,r){let i=(l0(r)+(r.options.ruleSpaces?" ":"")).repeat(yS(r));return r.options.ruleSpaces?i.slice(0,-1):i}var _u={blockquote:K6,break:ab,code:iS,definition:nS,emphasis:lb,hardBreak:ab,heading:cS,html:cb,image:ub,imageReference:fb,inlineCode:hb,link:pb,linkReference:mb,list:hS,listItem:pS,paragraph:mS,root:OS,strong:gb,text:bS,thematicBreak:vS};function yb(){return{enter:{table:TN,tableData:wS,tableHeader:wS,tableRow:CN},exit:{codeText:PN,table:EN,tableData:bb,tableHeader:bb,tableRow:bb}}}function TN(t){let e=t._align;this.enter({type:"table",align:e.map(function(r){return r==="none"?null:r}),children:[]},t),this.data.inTable=!0}function EN(t){this.exit(t),this.data.inTable=void 0}function CN(t){this.enter({type:"tableRow",children:[]},t)}function bb(t){this.exit(t)}function wS(t){this.enter({type:"tableCell",children:[]},t)}function PN(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,QN));let r=this.stack[this.stack.length-1];r.type,r.value=e,this.exit(t)}function QN(t,e){return e==="|"?e:t}function vb(t){let e=t||{},r=e.tableCellPadding,i=e.tablePipeAlign,n=e.stringLength,o=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:s,tableCell:l,tableRow:a}};function s(p,O,w,x){return c(u(p,w,x),p.align)}function a(p,O,w,x){let k=f(p,w,x),C=c([k]);return C.slice(0,C.indexOf(`
`))}function l(p,O,w,x){let k=w.enter("tableCell"),C=w.enter("phrasing"),R=w.containerPhrasing(p,Be(ne({},x),{before:o,after:o}));return C(),k(),R}function c(p,O){return H6(p,{align:O,alignDelimiters:i,padding:r,stringLength:n})}function u(p,O,w){let x=p.children,k=-1,C=[],R=O.enter("table");for(;++k<x.length;)C[k]=f(x[k],O,w);return R(),C}function f(p,O,w){let x=p.children,k=-1,C=[],R=O.enter("tableRow");for(;++k<x.length;)C[k]=l(x[k],p,O,w);return R(),C}function d(p,O,w){let x=_u.inlineCode(p,O,w);return w.stack.includes("tableCell")&&(x=x.replace(/\|/g,"\\$&")),x}}function wb(){return{exit:{taskListCheckValueChecked:xS,taskListCheckValueUnchecked:xS,paragraph:_N}}}function xb(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:AN}}}function xS(t){let e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function _N(t){let e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){let r=this.stack[this.stack.length-1];r.type;let i=r.children[0];if(i&&i.type==="text"){let n=e.children,o=-1,s;for(;++o<n.length;){let a=n[o];if(a.type==="paragraph"){s=a;break}}s===r&&(i.value=i.value.slice(1),i.value.length===0?r.children.shift():r.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,r.position.start=Object.assign({},i.position.start)))}}this.exit(t)}function AN(t,e,r,i){let n=t.children[0],o=typeof t.checked=="boolean"&&n&&n.type==="paragraph",s="["+(t.checked?"x":" ")+"] ",a=r.createTracker(i);o&&a.move(s);let l=_u.listItem(t,e,r,ne(ne({},i),a.current()));return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+s}}function kb(){return[eb(),ib(),ob(),yb(),wb()]}function Sb(t){return{extensions:[tb(),nb(),sb(),vb(t),xb()]}}function kS(t,e,r,i){let n=t.length,o=0,s;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)s=Array.from(i),s.unshift(e,r),t.splice(...s);else for(r&&t.splice(e,r);o<i.length;)s=i.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}var SS={}.hasOwnProperty;function TS(t){let e={},r=-1;for(;++r<t.length;)RN(e,t[r]);return e}function RN(t,e){let r;for(r in e){let n=(SS.call(t,r)?t[r]:void 0)||(t[r]={}),o=e[r],s;if(o)for(s in o){SS.call(n,s)||(n[s]=[]);let a=o[s];$N(n[s],Array.isArray(a)?a:a?[a]:[])}}}function $N(t,e){let r=-1,i=[];for(;++r<e.length;)(e[r].add==="after"?t:i).push(e[r]);kS(t,0,0,i)}var XN=Ts(new RegExp("\\p{P}","u")),Vl=Ts(/[A-Za-z]/),c0=Ts(/[\dA-Za-z]/),Fme=Ts(/[#-'*+\--9=?A-Z^-~]/);function ES(t){return t!==null&&(t<32||t===127)}var Wme=Ts(/\d/),Zme=Ts(/[\dA-Fa-f]/),IN=Ts(/[!-/:-@[-`{-~]/);function Qa(t){return t!==null&&(t<0||t===32)}function Tb(t){return IN(t)||XN(t)}var ql=Ts(/\s/);function Ts(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}var LN={tokenize:NN,partial:!0},CS={tokenize:jN,partial:!0},PS={tokenize:BN,partial:!0},QS={tokenize:VN,partial:!0},zN={tokenize:qN,partial:!0},_S={tokenize:DN,previous:RS},AS={tokenize:UN,previous:$S},So={tokenize:MN,previous:XS},Fn={};function Cb(){return{text:Fn}}var _a=48;for(;_a<123;)Fn[_a]=So,_a++,_a===58?_a=65:_a===91&&(_a=97);Fn[43]=So;Fn[45]=So;Fn[46]=So;Fn[95]=So;Fn[72]=[So,AS];Fn[104]=[So,AS];Fn[87]=[So,_S];Fn[119]=[So,_S];function MN(t,e,r){let i=this,n,o;return s;function s(f){return!Eb(f)||!XS.call(i,i.previous)||Pb(i.events)?r(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),a(f))}function a(f){return Eb(f)?(t.consume(f),a):f===64?(t.consume(f),l):r(f)}function l(f){return f===46?t.check(zN,u,c)(f):f===45||f===95||c0(f)?(o=!0,t.consume(f),l):u(f)}function c(f){return t.consume(f),n=!0,l}function u(f){return o&&n&&Vl(i.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):r(f)}}function DN(t,e,r){let i=this;return n;function n(s){return s!==87&&s!==119||!RS.call(i,i.previous)||Pb(i.events)?r(s):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(LN,t.attempt(CS,t.attempt(PS,o),r),r)(s))}function o(s){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(s)}}function UN(t,e,r){let i=this,n="",o=!1;return s;function s(f){return(f===72||f===104)&&$S.call(i,i.previous)&&!Pb(i.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),n+=String.fromCodePoint(f),t.consume(f),a):r(f)}function a(f){if(Vl(f)&&n.length<5)return n+=String.fromCodePoint(f),t.consume(f),a;if(f===58){let d=n.toLowerCase();if(d==="http"||d==="https")return t.consume(f),l}return r(f)}function l(f){return f===47?(t.consume(f),o?c:(o=!0,l)):r(f)}function c(f){return f===null||ES(f)||Qa(f)||ql(f)||Tb(f)?r(f):t.attempt(CS,t.attempt(PS,u),r)(f)}function u(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function NN(t,e,r){let i=0;return n;function n(s){return(s===87||s===119)&&i<3?(i++,t.consume(s),n):s===46&&i===3?(t.consume(s),o):r(s)}function o(s){return s===null?r(s):e(s)}}function jN(t,e,r){let i,n,o;return s;function s(c){return c===46||c===95?t.check(QS,l,a)(c):c===null||Qa(c)||ql(c)||c!==45&&Tb(c)?l(c):(o=!0,t.consume(c),s)}function a(c){return c===95?i=!0:(n=i,i=void 0),t.consume(c),s}function l(c){return n||i||!o?r(c):e(c)}}function BN(t,e){let r=0,i=0;return n;function n(s){return s===40?(r++,t.consume(s),n):s===41&&i<r?o(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?t.check(QS,e,o)(s):s===null||Qa(s)||ql(s)?e(s):(t.consume(s),n)}function o(s){return s===41&&i++,t.consume(s),n}}function VN(t,e,r){return i;function i(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(t.consume(a),i):a===38?(t.consume(a),o):a===93?(t.consume(a),n):a===60||a===null||Qa(a)||ql(a)?e(a):r(a)}function n(a){return a===null||a===40||a===91||Qa(a)||ql(a)?e(a):i(a)}function o(a){return Vl(a)?s(a):r(a)}function s(a){return a===59?(t.consume(a),i):Vl(a)?(t.consume(a),s):r(a)}}function qN(t,e,r){return i;function i(o){return t.consume(o),n}function n(o){return c0(o)?r(o):e(o)}}function RS(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Qa(t)}function $S(t){return!Vl(t)}function XS(t){return!(t===47||Eb(t))}function Eb(t){return t===43||t===45||t===46||t===95||c0(t)}function Pb(t){let e=t.length,r=!1;for(;e--;){let i=t[e][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){r=!0;break}if(i._gfmAutolinkLiteralWalkedInto){r=!1;break}}return t.length>0&&!r&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}var eOe=Es(new RegExp("\\p{P}","u")),tOe=Es(/[A-Za-z]/),rOe=Es(/[\dA-Za-z]/),iOe=Es(/[#-'*+\--9=?A-Z^-~]/);var nOe=Es(/\d/),oOe=Es(/[\dA-Fa-f]/),sOe=Es(/[!-/:-@[-`{-~]/);function IS(t){return t!==null&&t<-2}function Au(t){return t!==null&&(t<0||t===32)}function Ru(t){return t===-2||t===-1||t===32}var aOe=Es(/\s/);function Es(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function $u(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Ru(l)?(t.enter(r),a(l)):e(l)}function a(l){return Ru(l)&&o++<n?(t.consume(l),a):(t.exit(r),e(l))}}var Qb={tokenize:FN,partial:!0};function FN(t,e,r){return i;function i(o){return Ru(o)?$u(t,n,"linePrefix")(o):n(o)}function n(o){return o===null||IS(o)?e(o):r(o)}}function u0(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var WN={tokenize:ej,partial:!0};function _b(){return{document:{91:{tokenize:GN,continuation:{tokenize:KN},exit:JN}},text:{91:{tokenize:HN},93:{add:"after",tokenize:ZN,resolveTo:YN}}}}function ZN(t,e,r){let i=this,n=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s;for(;n--;){let l=i.events[n][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return a;function a(l){if(!s||!s._balanced)return r(l);let c=u0(i.sliceSerialize({start:s.end,end:i.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?r(l):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(l),t.exit("gfmFootnoteCallLabelMarker"),e(l))}}function YN(t,e){let r=t.length,i;for(;r--;)if(t[r][1].type==="labelImage"&&t[r][0]==="enter"){i=t[r][1];break}t[r+1][1].type="data",t[r+3][1].type="gfmFootnoteCallLabelMarker";let n={type:"gfmFootnoteCall",start:Object.assign({},t[r+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[r+3][1].end),end:Object.assign({},t[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},l=[t[r+1],t[r+2],["enter",n,e],t[r+3],t[r+4],["enter",o,e],["exit",o,e],["enter",s,e],["enter",a,e],["exit",a,e],["exit",s,e],t[t.length-2],t[t.length-1],["exit",n,e]];return t.splice(r,t.length-r+1,...l),t}function HN(t,e,r){let i=this,n=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o=0,s;return a;function a(f){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?r(f):(t.enter("gfmFootnoteCallMarker"),t.consume(f),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(f){if(o>999||f===93&&!s||f===null||f===91||Au(f))return r(f);if(f===93){t.exit("chunkString");let d=t.exit("gfmFootnoteCallString");return n.includes(u0(i.sliceSerialize(d)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):r(f)}return Au(f)||(s=!0),o++,t.consume(f),f===92?u:c}function u(f){return f===91||f===92||f===93?(t.consume(f),o++,c):c(f)}}function GN(t,e,r){let i=this,n=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o,s=0,a;return l;function l(O){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(O){return O===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",u):r(O)}function u(O){if(s>999||O===93&&!a||O===null||O===91||Au(O))return r(O);if(O===93){t.exit("chunkString");let w=t.exit("gfmFootnoteDefinitionLabelString");return o=u0(i.sliceSerialize(w)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(O),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),d}return Au(O)||(a=!0),s++,t.consume(O),O===92?f:u}function f(O){return O===91||O===92||O===93?(t.consume(O),s++,u):u(O)}function d(O){return O===58?(t.enter("definitionMarker"),t.consume(O),t.exit("definitionMarker"),n.includes(o)||n.push(o),$u(t,p,"gfmFootnoteDefinitionWhitespace")):r(O)}function p(O){return e(O)}}function KN(t,e,r){return t.check(Qb,e,t.attempt(WN,e,r))}function JN(t){t.exit("gfmFootnoteDefinition")}function ej(t,e,r){let i=this;return $u(t,n,"gfmFootnoteDefinitionIndent",4+1);function n(o){let s=i.events[i.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):r(o)}}function f0(t,e,r,i){let n=t.length,o=0,s;if(e<0?e=-e>n?0:n+e:e=e>n?n:e,r=r>0?r:0,i.length<1e4)s=Array.from(i),s.unshift(e,r),t.splice(...s);else for(r&&t.splice(e,r);o<i.length;)s=i.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}var tj=Cs(new RegExp("\\p{P}","u")),TOe=Cs(/[A-Za-z]/),EOe=Cs(/[\dA-Za-z]/),COe=Cs(/[#-'*+\--9=?A-Z^-~]/);var POe=Cs(/\d/),QOe=Cs(/[\dA-Fa-f]/),rj=Cs(/[!-/:-@[-`{-~]/);function LS(t){return t!==null&&(t<0||t===32)}function zS(t){return rj(t)||tj(t)}var MS=Cs(/\s/);function Cs(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Ab(t){if(t===null||LS(t)||MS(t))return 1;if(zS(t))return 2}function DS(t,e,r){let i=[],n=-1;for(;++n<t.length;){let o=t[n].resolveAll;o&&!i.includes(o)&&(e=o(e,r),i.push(o))}return e}function Rb(t){let r=(t||{}).singleTilde,i={tokenize:o,resolveAll:n};return r==null&&(r=!0),{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function n(s,a){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let c=l;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[l][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";let u={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[l][1].end)},f={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[l][1].start)},d=[["enter",u,a],["enter",s[c][1],a],["exit",s[c][1],a],["enter",f,a]],p=a.parser.constructs.insideSpan.null;p&&f0(d,d.length,0,DS(p,s.slice(c+1,l),a)),f0(d,d.length,0,[["exit",f,a],["enter",s[l][1],a],["exit",s[l][1],a],["exit",u,a]]),f0(s,c-1,l-c+3,d),l=c+d.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function o(s,a,l){let c=this.previous,u=this.events,f=0;return d;function d(O){return c===126&&u[u.length-1][1].type!=="characterEscape"?l(O):(s.enter("strikethroughSequenceTemporary"),p(O))}function p(O){let w=Ab(c);if(O===126)return f>1?l(O):(s.consume(O),f++,p);if(f<2&&!r)return l(O);let x=s.exit("strikethroughSequenceTemporary"),k=Ab(O);return x._open=!k||k===2&&!!w,x._close=!w||w===2&&!!k,a(O)}}}var UOe=Ps(new RegExp("\\p{P}","u")),NOe=Ps(/[A-Za-z]/),jOe=Ps(/[\dA-Za-z]/),BOe=Ps(/[#-'*+\--9=?A-Z^-~]/);var VOe=Ps(/\d/),qOe=Ps(/[\dA-Fa-f]/),FOe=Ps(/[!-/:-@[-`{-~]/);function Xu(t){return t!==null&&t<-2}function $b(t){return t!==null&&(t<0||t===32)}function To(t){return t===-2||t===-1||t===32}var WOe=Ps(/\s/);function Ps(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Fl(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return To(l)?(t.enter(r),a(l)):e(l)}function a(l){return To(l)&&o++<n?(t.consume(l),a):(t.exit(r),e(l))}}var h0=class{constructor(){this.map=[]}add(e,r,i){ij(this,e,r,i)}consume(e){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let r=this.map.length,i=[];for(;r>0;)r-=1,i.push(e.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),e.length=this.map[r][0];i.push([...e]),e.length=0;let n=i.pop();for(;n;)e.push(...n),n=i.pop();this.map.length=0}};function ij(t,e,r,i){let n=0;if(!(r===0&&i.length===0)){for(;n<t.map.length;){if(t.map[n][0]===e){t.map[n][1]+=r,t.map[n][2].push(...i);return}n+=1}t.map.push([e,r,i])}}function US(t,e){let r=!1,i=[];for(;e<t.length;){let n=t[e];if(r){if(n[0]==="enter")n[1].type==="tableContent"&&i.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(n[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){let o=i.length-1;i[o]=i[o]==="left"?"center":"right"}}else if(n[1].type==="tableDelimiterRow")break}else n[0]==="enter"&&n[1].type==="tableDelimiterRow"&&(r=!0);e+=1}return i}function Xb(){return{flow:{null:{tokenize:nj,resolveAll:oj}}}}function nj(t,e,r){let i=this,n=0,o=0,s;return a;function a(q){let oe=i.events.length-1;for(;oe>-1;){let ge=i.events[oe][1].type;if(ge==="lineEnding"||ge==="linePrefix")oe--;else break}let pe=oe>-1?i.events[oe][1].type:null,fe=pe==="tableHead"||pe==="tableRow"?L:l;return fe===L&&i.parser.lazy[i.now().line]?r(q):fe(q)}function l(q){return t.enter("tableHead"),t.enter("tableRow"),c(q)}function c(q){return q===124||(s=!0,o+=1),u(q)}function u(q){return q===null?r(q):Xu(q)?o>1?(o=0,i.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(q),t.exit("lineEnding"),p):r(q):To(q)?Fl(t,u,"whitespace")(q):(o+=1,s&&(s=!1,n+=1),q===124?(t.enter("tableCellDivider"),t.consume(q),t.exit("tableCellDivider"),s=!0,u):(t.enter("data"),f(q)))}function f(q){return q===null||q===124||$b(q)?(t.exit("data"),u(q)):(t.consume(q),q===92?d:f)}function d(q){return q===92||q===124?(t.consume(q),f):f(q)}function p(q){return i.interrupt=!1,i.parser.lazy[i.now().line]?r(q):(t.enter("tableDelimiterRow"),s=!1,To(q)?Fl(t,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(q):O(q))}function O(q){return q===45||q===58?x(q):q===124?(s=!0,t.enter("tableCellDivider"),t.consume(q),t.exit("tableCellDivider"),w):z(q)}function w(q){return To(q)?Fl(t,x,"whitespace")(q):x(q)}function x(q){return q===58?(o+=1,s=!0,t.enter("tableDelimiterMarker"),t.consume(q),t.exit("tableDelimiterMarker"),k):q===45?(o+=1,k(q)):q===null||Xu(q)?Q(q):z(q)}function k(q){return q===45?(t.enter("tableDelimiterFiller"),C(q)):z(q)}function C(q){return q===45?(t.consume(q),C):q===58?(s=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(q),t.exit("tableDelimiterMarker"),R):(t.exit("tableDelimiterFiller"),R(q))}function R(q){return To(q)?Fl(t,Q,"whitespace")(q):Q(q)}function Q(q){return q===124?O(q):q===null||Xu(q)?!s||n!==o?z(q):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(q)):z(q)}function z(q){return r(q)}function L(q){return t.enter("tableRow"),Z(q)}function Z(q){return q===124?(t.enter("tableCellDivider"),t.consume(q),t.exit("tableCellDivider"),Z):q===null||Xu(q)?(t.exit("tableRow"),e(q)):To(q)?Fl(t,Z,"whitespace")(q):(t.enter("data"),re(q))}function re(q){return q===null||q===124||$b(q)?(t.exit("data"),Z(q)):(t.consume(q),q===92?H:re)}function H(q){return q===92||q===124?(t.consume(q),re):re(q)}}function oj(t,e){let r=-1,i=!0,n=0,o=[0,0,0,0],s=[0,0,0,0],a=!1,l=0,c,u,f,d=new h0;for(;++r<t.length;){let p=t[r],O=p[1];p[0]==="enter"?O.type==="tableHead"?(a=!1,l!==0&&(NS(d,e,l,c,u),u=void 0,l=0),c={type:"table",start:Object.assign({},O.start),end:Object.assign({},O.end)},d.add(r,0,[["enter",c,e]])):O.type==="tableRow"||O.type==="tableDelimiterRow"?(i=!0,f=void 0,o=[0,0,0,0],s=[0,r+1,0,0],a&&(a=!1,u={type:"tableBody",start:Object.assign({},O.start),end:Object.assign({},O.end)},d.add(r,0,[["enter",u,e]])),n=O.type==="tableDelimiterRow"?2:u?3:1):n&&(O.type==="data"||O.type==="tableDelimiterMarker"||O.type==="tableDelimiterFiller")?(i=!1,s[2]===0&&(o[1]!==0&&(s[0]=s[1],f=d0(d,e,o,n,void 0,f),o=[0,0,0,0]),s[2]=r)):O.type==="tableCellDivider"&&(i?i=!1:(o[1]!==0&&(s[0]=s[1],f=d0(d,e,o,n,void 0,f)),o=s,s=[o[1],r,0,0])):O.type==="tableHead"?(a=!0,l=r):O.type==="tableRow"||O.type==="tableDelimiterRow"?(l=r,o[1]!==0?(s[0]=s[1],f=d0(d,e,o,n,r,f)):s[1]!==0&&(f=d0(d,e,s,n,r,f)),n=0):n&&(O.type==="data"||O.type==="tableDelimiterMarker"||O.type==="tableDelimiterFiller")&&(s[3]=r)}for(l!==0&&NS(d,e,l,c,u),d.consume(e.events),r=-1;++r<e.events.length;){let p=e.events[r];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=US(e.events,r))}return t}function d0(t,e,r,i,n,o){let s=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",a="tableContent";r[0]!==0&&(o.end=Object.assign({},Wl(e.events,r[0])),t.add(r[0],0,[["exit",o,e]]));let l=Wl(e.events,r[1]);if(o={type:s,start:Object.assign({},l),end:Object.assign({},l)},t.add(r[1],0,[["enter",o,e]]),r[2]!==0){let c=Wl(e.events,r[2]),u=Wl(e.events,r[3]),f={type:a,start:Object.assign({},c),end:Object.assign({},u)};if(t.add(r[2],0,[["enter",f,e]]),i!==2){let d=e.events[r[2]],p=e.events[r[3]];if(d[1].end=Object.assign({},p[1].end),d[1].type="chunkText",d[1].contentType="text",r[3]>r[2]+1){let O=r[2]+1,w=r[3]-r[2]-1;t.add(O,w,[])}}t.add(r[3]+1,0,[["exit",f,e]])}return n!==void 0&&(o.end=Object.assign({},Wl(e.events,n)),t.add(n,0,[["exit",o,e]]),o=void 0),o}function NS(t,e,r,i,n){let o=[],s=Wl(e.events,r);n&&(n.end=Object.assign({},s),o.push(["exit",n,e])),i.end=Object.assign({},s),o.push(["exit",i,e]),t.add(r+1,0,o)}function Wl(t,e){let r=t[e],i=r[0]==="enter"?"start":"end";return r[1][i]}var sge=Qs(new RegExp("\\p{P}","u")),age=Qs(/[A-Za-z]/),lge=Qs(/[\dA-Za-z]/),cge=Qs(/[#-'*+\--9=?A-Z^-~]/);var uge=Qs(/\d/),fge=Qs(/[\dA-Fa-f]/),hge=Qs(/[!-/:-@[-`{-~]/);function jS(t){return t!==null&&t<-2}function BS(t){return t!==null&&(t<0||t===32)}function Iu(t){return t===-2||t===-1||t===32}var dge=Qs(/\s/);function Qs(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function VS(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Iu(l)?(t.enter(r),a(l)):e(l)}function a(l){return Iu(l)&&o++<n?(t.consume(l),a):(t.exit(r),e(l))}}var sj={tokenize:aj};function Ib(){return{text:{91:sj}}}function aj(t,e,r){let i=this;return n;function n(l){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?r(l):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),o)}function o(l){return BS(l)?(t.enter("taskListCheckValueUnchecked"),t.consume(l),t.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(t.enter("taskListCheckValueChecked"),t.consume(l),t.exit("taskListCheckValueChecked"),s):r(l)}function s(l){return l===93?(t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),a):r(l)}function a(l){return jS(l)?e(l):Iu(l)?t.check({tokenize:lj},e,r)(l):r(l)}}function lj(t,e,r){return VS(t,i,"whitespace");function i(n){return n===null?r(n):e(n)}}function qS(t){return TS([Cb(),_b(),Rb(t),Xb(),Ib()])}var cj={};function p0(t){let e=this,r=t||cj,i=e.data(),n=i.micromarkExtensions||(i.micromarkExtensions=[]),o=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),s=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);n.push(qS(r)),o.push(kb()),s.push(Sb(r))}function Lb(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:o},exit:{mathFlow:n,mathFlowFence:i,mathFlowFenceMeta:r,mathFlowValue:a,mathText:s,mathTextData:a}};function t(l){let c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function e(){this.buffer()}function r(){let l=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=l}function i(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function n(l){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),u=this.stack[this.stack.length-1];u.type,this.exit(l),u.value=c;let f=u.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function o(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function s(l){let c=this.resume(),u=this.stack[this.stack.length-1];u.type,this.exit(l),u.value=c,u.data.hChildren.push({type:"text",value:c})}function a(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function zb(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),i.peek=n,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
`,inConstruct:"mathFlowMeta"},{character:"$",after:e?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:i}};function r(o,s,a,l){let c=o.value||"",u=a.createTracker(l),f="$".repeat(Math.max(a0(c,"$")+1,2)),d=a.enter("mathFlow"),p=u.move(f);if(o.meta){let O=a.enter("mathFlowMeta");p+=u.move(a.safe(o.meta,ne({after:`
`,before:p,encode:["$"]},u.current()))),O()}return p+=u.move(`
`),c&&(p+=u.move(c+`
`)),p+=u.move(f),d(),p}function i(o,s,a){let l=o.value||"",c=1;for(e||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;let u="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let f=-1;for(;++f<a.unsafe.length;){let d=a.unsafe[f];if(!d.atBreak)continue;let p=a.compilePattern(d),O;for(;O=p.exec(l);){let w=O.index;l.codePointAt(w)===10&&l.codePointAt(w-1)===13&&w--,l=l.slice(0,w)+" "+l.slice(O.index+1)}}return u+l+u}function n(){return"$"}}var qge=_s(new RegExp("\\p{P}","u")),Fge=_s(/[A-Za-z]/),Wge=_s(/[\dA-Za-z]/),Zge=_s(/[#-'*+\--9=?A-Z^-~]/);var Yge=_s(/\d/),Hge=_s(/[\dA-Fa-f]/),Gge=_s(/[!-/:-@[-`{-~]/);function Eo(t){return t!==null&&t<-2}function Mb(t){return t===-2||t===-1||t===32}var Kge=_s(/\s/);function _s(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Lu(t,e,r,i){let n=i?i-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Mb(l)?(t.enter(r),a(l)):e(l)}function a(l){return Mb(l)&&o++<n?(t.consume(l),a):(t.exit(r),e(l))}}var WS={tokenize:uj,concrete:!0},FS={tokenize:fj,partial:!0};function uj(t,e,r){let i=this,n=i.events[i.events.length-1],o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,s=0;return a;function a(C){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),l(C)}function l(C){return C===36?(t.consume(C),s++,l):s<2?r(C):(t.exit("mathFlowFenceSequence"),Lu(t,c,"whitespace")(C))}function c(C){return C===null||Eo(C)?f(C):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),u(C))}function u(C){return C===null||Eo(C)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),f(C)):C===36?r(C):(t.consume(C),u)}function f(C){return t.exit("mathFlowFence"),i.interrupt?e(C):t.attempt(FS,d,x)(C)}function d(C){return t.attempt({tokenize:k,partial:!0},x,p)(C)}function p(C){return(o?Lu(t,O,"linePrefix",o+1):O)(C)}function O(C){return C===null?x(C):Eo(C)?t.attempt(FS,d,x)(C):(t.enter("mathFlowValue"),w(C))}function w(C){return C===null||Eo(C)?(t.exit("mathFlowValue"),O(C)):(t.consume(C),w)}function x(C){return t.exit("mathFlow"),e(C)}function k(C,R,Q){let z=0;return Lu(C,L,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function L(H){return C.enter("mathFlowFence"),C.enter("mathFlowFenceSequence"),Z(H)}function Z(H){return H===36?(z++,C.consume(H),Z):z<s?Q(H):(C.exit("mathFlowFenceSequence"),Lu(C,re,"whitespace")(H))}function re(H){return H===null||Eo(H)?(C.exit("mathFlowFence"),R(H)):Q(H)}}}function fj(t,e,r){let i=this;return n;function n(s){return s===null?e(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o)}function o(s){return i.parser.lazy[i.now().line]?r(s):e(s)}}function ZS(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:i,resolve:hj,previous:dj};function i(n,o,s){let a=this,l=0,c,u;return f;function f(x){return n.enter("mathText"),n.enter("mathTextSequence"),d(x)}function d(x){return x===36?(n.consume(x),l++,d):l<2&&!r?s(x):(n.exit("mathTextSequence"),p(x))}function p(x){return x===null?s(x):x===36?(u=n.enter("mathTextSequence"),c=0,w(x)):x===32?(n.enter("space"),n.consume(x),n.exit("space"),p):Eo(x)?(n.enter("lineEnding"),n.consume(x),n.exit("lineEnding"),p):(n.enter("mathTextData"),O(x))}function O(x){return x===null||x===32||x===36||Eo(x)?(n.exit("mathTextData"),p(x)):(n.consume(x),O)}function w(x){return x===36?(n.consume(x),c++,w):c===l?(n.exit("mathTextSequence"),n.exit("mathText"),o(x)):(u.type="mathTextData",O(x))}}}function hj(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<e;)if(t[i][1].type==="mathTextData"){t[e][1].type="mathTextPadding",t[r][1].type="mathTextPadding",r+=2,e-=2;break}}for(i=r-1,e++;++i<=e;)n===void 0?i!==e&&t[i][1].type!=="lineEnding"&&(n=i):(i===e||t[i][1].type==="lineEnding")&&(t[n][1].type="mathTextData",i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),e-=i-n-2,i=n+2),n=void 0);return t}function dj(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Db(t){return{flow:{36:WS},text:{36:ZS(t)}}}var Xi=class t{constructor(e,r,i){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=i}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new t(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}},Hn=class t{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new t(r,Xi.range(this,e))}},Pe=class t{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var i="KaTeX parse error: "+e,n,o,s=r&&r.loc;if(s&&s.start<=s.end){var a=s.lexer.input;n=s.start,o=s.end,n===a.length?i+=" at end of input: ":i+=" at position "+(n+1)+": ";var l=a.slice(n,o).replace(/[^]/g,"$&\u0332"),c;n>15?c="\u2026"+a.slice(n-15,n):c=a.slice(0,n);var u;o+15<a.length?u=a.slice(o,o+15)+"\u2026":u=a.slice(o),i+=c+l+u}var f=new Error(i);return f.name="ParseError",f.__proto__=t.prototype,f.position=n,n!=null&&o!=null&&(f.length=o-n),f.rawMessage=e,f}};Pe.prototype.__proto__=Error.prototype;var pj=function(e,r){return e.indexOf(r)!==-1},mj=function(e,r){return e===void 0?r:e},Oj=/([A-Z])/g,gj=function(e){return e.replace(Oj,"-$1").toLowerCase()},bj={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},yj=/[&><"']/g;function vj(t){return String(t).replace(yj,e=>bj[e])}var E7=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},wj=function(e){var r=E7(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},xj=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},kj=function(e){var r=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(e);return r!=null?r[1]:"_relative"},Ke={contains:pj,deflt:mj,escape:vj,hyphenate:gj,getBaseElem:E7,isCharacterBox:wj,protocolFromUrl:kj},E0={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},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 <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 <def>",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 <size>",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 <n>",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 <n>",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function Sj(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var Nu=class{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r in E0)if(E0.hasOwnProperty(r)){var i=E0[r];this[r]=e[r]!==void 0?i.processor?i.processor(e[r]):e[r]:Sj(i)}}reportNonstrict(e,r,i){var n=this.strict;if(typeof n=="function"&&(n=n(e,r,i)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new Pe("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),i);n==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,i){var n=this.strict;if(typeof n=="function")try{n=n(e,r,i)}catch(o){n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+e+"]")),!1)}isTrusted(e){e.url&&!e.protocol&&(e.protocol=Ke.protocolFromUrl(e.url));var r=typeof this.trust=="function"?this.trust(e):this.trust;return!!r}},Wn=class{constructor(e,r,i){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=i}sup(){return Zn[Tj[this.id]]}sub(){return Zn[Ej[this.id]]}fracNum(){return Zn[Cj[this.id]]}fracDen(){return Zn[Pj[this.id]]}cramp(){return Zn[Qj[this.id]]}text(){return Zn[_j[this.id]]}isTight(){return this.size>=2}},u2=0,P0=1,Yl=2,Qo=3,ju=4,Gi=5,Hl=6,si=7,Zn=[new Wn(u2,0,!1),new Wn(P0,0,!0),new Wn(Yl,1,!1),new Wn(Qo,1,!0),new Wn(ju,2,!1),new Wn(Gi,2,!0),new Wn(Hl,3,!1),new Wn(si,3,!0)],Tj=[ju,Gi,ju,Gi,Hl,si,Hl,si],Ej=[Gi,Gi,Gi,Gi,si,si,si,si],Cj=[Yl,Qo,ju,Gi,Hl,si,Hl,si],Pj=[Qo,Qo,Gi,Gi,si,si,si,si],Qj=[P0,P0,Qo,Qo,Gi,Gi,si,si],_j=[u2,P0,Yl,Qo,Yl,Qo,Yl,Qo],We={DISPLAY:Zn[u2],TEXT:Zn[Yl],SCRIPT:Zn[ju],SCRIPTSCRIPT:Zn[Hl]},Kb=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Aj(t){for(var e=0;e<Kb.length;e++)for(var r=Kb[e],i=0;i<r.blocks.length;i++){var n=r.blocks[i];if(t>=n[0]&&t<=n[1])return r.name}return null}var C0=[];Kb.forEach(t=>t.blocks.forEach(e=>C0.push(...e)));function C7(t){for(var e=0;e<C0.length;e+=2)if(t>=C0[e]&&t<=C0[e+1])return!0;return!1}var Zl=80,Rj=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
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+e/2.075+" -"+e+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+e)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},$j=function(e,r){return"M263,"+(601+e+r)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+e/2.084+" -"+e+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+e)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Xj=function(e,r){return"M983 "+(10+e+r)+`
l`+e/3.13+" -"+e+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Ij=function(e,r){return"M424,"+(2398+e+r)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+e)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+r+`
h400000v`+(40+e)+"h-400000z"},Lj=function(e,r){return"M473,"+(2713+e+r)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},zj=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},Mj=function(e,r,i){var n=i-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+`
H742v`+n+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},Dj=function(e,r,i){r=1e3*r;var n="";switch(e){case"sqrtMain":n=Rj(r,Zl);break;case"sqrtSize1":n=$j(r,Zl);break;case"sqrtSize2":n=Xj(r,Zl);break;case"sqrtSize3":n=Ij(r,Zl);break;case"sqrtSize4":n=Lj(r,Zl);break;case"sqrtTall":n=Mj(r,Zl,i)}return n},Uj=function(e,r){switch(e){case"\u239C":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"\u2223":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"\u2225":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"\u239F":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"\u23A2":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"\u23A5":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"\u23AA":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"\u23D0":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"\u2016":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},YS={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Nj=function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
-36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
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,11
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},$a=class{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return Ke.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){for(var e="",r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e}toText(){var e=r=>r.toText();return this.children.map(e).join("")}},Yn={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},m0={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},HS={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function jj(t,e){Yn[t]=e}function f2(t,e,r){if(!Yn[e])throw new Error("Font metrics not found for font: "+e+".");var i=t.charCodeAt(0),n=Yn[e][i];if(!n&&t[0]in HS&&(i=HS[t[0]].charCodeAt(0),n=Yn[e][i]),!n&&r==="text"&&C7(i)&&(n=Yn[e][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var Ub={};function Bj(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!Ub[e]){var r=Ub[e]={cssEmPerMu:m0.quad[e]/18};for(var i in m0)m0.hasOwnProperty(i)&&(r[i]=m0[i][e])}return Ub[e]}var Vj=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],GS=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],KS=function(e,r){return r.size<2?e:Vj[e-1][r.size-1]},Q0=class t{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||t.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=GS[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var i in e)e.hasOwnProperty(i)&&(r[i]=e[i]);return new t(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:KS(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:GS[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=KS(t.BASESIZE,e);return this.size===r&&this.textSize===t.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==t.BASESIZE?["sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Bj(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};Q0.BASESIZE=6;var Jb={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},qj={ex:!0,em:!0,mu:!0},P7=function(e){return typeof e!="string"&&(e=e.unit),e in Jb||e in qj||e==="ex"},Gt=function(e,r){var i;if(e.unit in Jb)i=Jb[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")i=r.fontMetrics().cssEmPerMu;else{var n;if(r.style.isTight()?n=r.havingStyle(r.style.text()):n=r,e.unit==="ex")i=n.fontMetrics().xHeight;else if(e.unit==="em")i=n.fontMetrics().quad;else throw new Pe("Invalid unit: '"+e.unit+"'");n!==r&&(i*=n.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*i,r.maxSize)},Ae=function(e){return+e.toFixed(4)+"em"},$s=function(e){return e.filter(r=>r).join(" ")},Q7=function(e,r,i){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=i||{},r){r.style.isTight()&&this.classes.push("mtight");var n=r.getColor();n&&(this.style.color=n)}},_7=function(e){var r=document.createElement(e);r.className=$s(this.classes);for(var i in this.style)this.style.hasOwnProperty(i)&&(r.style[i]=this.style[i]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&r.setAttribute(n,this.attributes[n]);for(var o=0;o<this.children.length;o++)r.appendChild(this.children[o].toNode());return r},A7=function(e){var r="<"+e;this.classes.length&&(r+=' class="'+Ke.escape($s(this.classes))+'"');var i="";for(var n in this.style)this.style.hasOwnProperty(n)&&(i+=Ke.hyphenate(n)+":"+this.style[n]+";");i&&(r+=' style="'+Ke.escape(i)+'"');for(var o in this.attributes)this.attributes.hasOwnProperty(o)&&(r+=" "+o+'="'+Ke.escape(this.attributes[o])+'"');r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+e+">",r},Xa=class{constructor(e,r,i,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Q7.call(this,e,i,n),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Ke.contains(this.classes,e)}toNode(){return _7.call(this,"span")}toMarkup(){return A7.call(this,"span")}},Bu=class{constructor(e,r,i,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Q7.call(this,r,n),this.children=i||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Ke.contains(this.classes,e)}toNode(){return _7.call(this,"a")}toMarkup(){return A7.call(this,"a")}},e2=class{constructor(e,r,i){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=e,this.classes=["mord"],this.style=i}hasClass(e){return Ke.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e="<img src='"+this.src+" 'alt='"+this.alt+"' ",r="";for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=Ke.hyphenate(i)+":"+this.style[i]+";");return r&&(e+=' style="'+Ke.escape(r)+'"'),e+="'/>",e}},Fj={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},wi=class{constructor(e,r,i,n,o,s,a,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=r||0,this.depth=i||0,this.italic=n||0,this.skew=o||0,this.width=s||0,this.classes=a||[],this.style=l||{},this.maxFontSize=0;var c=Aj(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Fj[this.text])}hasClass(e){return Ke.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=Ae(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=$s(this.classes));for(var i in this.style)this.style.hasOwnProperty(i)&&(r=r||document.createElement("span"),r.style[i]=this.style[i]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="<span";this.classes.length&&(e=!0,r+=' class="',r+=Ke.escape($s(this.classes)),r+='"');var i="";this.italic>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+="</span>",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<this.children.length;n++)r.appendChild(this.children[n].toNode());return r}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+"='"+this.attributes[r]+"'");e+=">";for(var i=0;i<this.children.length;i++)e+=this.children[i].toMarkup();return e+="</svg>",e}},Gn=class{constructor(e,r){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=r}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",YS[this.pathName]),r}toMarkup(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+YS[this.pathName]+"'/>"}},Vu=class{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var i in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,i)&&r.setAttribute(i,this.attributes[i]);return r}toMarkup(){var e="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+"='"+this.attributes[r]+"'");return e+="/>",e}};function JS(t){if(t instanceof wi)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function Wj(t){if(t instanceof Xa)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}var Zj={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Yj={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Dt={math:{},text:{}};function v(t,e,r,i,n,o){Dt[t][n]={font:e,group:r,replace:i},o&&i&&(Dt[t][i]=Dt[t][n])}var S="math",we="text",P="main",N="ams",Bt="accent-token",ze="bin",ai="close",Gl="inner",Fe="mathord",fr="op-token",Ii="open",L0="punct",B="rel",$o="spacing",Y="textord";v(S,P,B,"\u2261","\\equiv",!0);v(S,P,B,"\u227A","\\prec",!0);v(S,P,B,"\u227B","\\succ",!0);v(S,P,B,"\u223C","\\sim",!0);v(S,P,B,"\u22A5","\\perp");v(S,P,B,"\u2AAF","\\preceq",!0);v(S,P,B,"\u2AB0","\\succeq",!0);v(S,P,B,"\u2243","\\simeq",!0);v(S,P,B,"\u2223","\\mid",!0);v(S,P,B,"\u226A","\\ll",!0);v(S,P,B,"\u226B","\\gg",!0);v(S,P,B,"\u224D","\\asymp",!0);v(S,P,B,"\u2225","\\parallel");v(S,P,B,"\u22C8","\\bowtie",!0);v(S,P,B,"\u2323","\\smile",!0);v(S,P,B,"\u2291","\\sqsubseteq",!0);v(S,P,B,"\u2292","\\sqsupseteq",!0);v(S,P,B,"\u2250","\\doteq",!0);v(S,P,B,"\u2322","\\frown",!0);v(S,P,B,"\u220B","\\ni",!0);v(S,P,B,"\u221D","\\propto",!0);v(S,P,B,"\u22A2","\\vdash",!0);v(S,P,B,"\u22A3","\\dashv",!0);v(S,P,B,"\u220B","\\owns");v(S,P,L0,".","\\ldotp");v(S,P,L0,"\u22C5","\\cdotp");v(S,P,Y,"#","\\#");v(we,P,Y,"#","\\#");v(S,P,Y,"&","\\&");v(we,P,Y,"&","\\&");v(S,P,Y,"\u2135","\\aleph",!0);v(S,P,Y,"\u2200","\\forall",!0);v(S,P,Y,"\u210F","\\hbar",!0);v(S,P,Y,"\u2203","\\exists",!0);v(S,P,Y,"\u2207","\\nabla",!0);v(S,P,Y,"\u266D","\\flat",!0);v(S,P,Y,"\u2113","\\ell",!0);v(S,P,Y,"\u266E","\\natural",!0);v(S,P,Y,"\u2663","\\clubsuit",!0);v(S,P,Y,"\u2118","\\wp",!0);v(S,P,Y,"\u266F","\\sharp",!0);v(S,P,Y,"\u2662","\\diamondsuit",!0);v(S,P,Y,"\u211C","\\Re",!0);v(S,P,Y,"\u2661","\\heartsuit",!0);v(S,P,Y,"\u2111","\\Im",!0);v(S,P,Y,"\u2660","\\spadesuit",!0);v(S,P,Y,"\xA7","\\S",!0);v(we,P,Y,"\xA7","\\S");v(S,P,Y,"\xB6","\\P",!0);v(we,P,Y,"\xB6","\\P");v(S,P,Y,"\u2020","\\dag");v(we,P,Y,"\u2020","\\dag");v(we,P,Y,"\u2020","\\textdagger");v(S,P,Y,"\u2021","\\ddag");v(we,P,Y,"\u2021","\\ddag");v(we,P,Y,"\u2021","\\textdaggerdbl");v(S,P,ai,"\u23B1","\\rmoustache",!0);v(S,P,Ii,"\u23B0","\\lmoustache",!0);v(S,P,ai,"\u27EF","\\rgroup",!0);v(S,P,Ii,"\u27EE","\\lgroup",!0);v(S,P,ze,"\u2213","\\mp",!0);v(S,P,ze,"\u2296","\\ominus",!0);v(S,P,ze,"\u228E","\\uplus",!0);v(S,P,ze,"\u2293","\\sqcap",!0);v(S,P,ze,"\u2217","\\ast");v(S,P,ze,"\u2294","\\sqcup",!0);v(S,P,ze,"\u25EF","\\bigcirc",!0);v(S,P,ze,"\u2219","\\bullet",!0);v(S,P,ze,"\u2021","\\ddagger");v(S,P,ze,"\u2240","\\wr",!0);v(S,P,ze,"\u2A3F","\\amalg");v(S,P,ze,"&","\\And");v(S,P,B,"\u27F5","\\longleftarrow",!0);v(S,P,B,"\u21D0","\\Leftarrow",!0);v(S,P,B,"\u27F8","\\Longleftarrow",!0);v(S,P,B,"\u27F6","\\longrightarrow",!0);v(S,P,B,"\u21D2","\\Rightarrow",!0);v(S,P,B,"\u27F9","\\Longrightarrow",!0);v(S,P,B,"\u2194","\\leftrightarrow",!0);v(S,P,B,"\u27F7","\\longleftrightarrow",!0);v(S,P,B,"\u21D4","\\Leftrightarrow",!0);v(S,P,B,"\u27FA","\\Longleftrightarrow",!0);v(S,P,B,"\u21A6","\\mapsto",!0);v(S,P,B,"\u27FC","\\longmapsto",!0);v(S,P,B,"\u2197","\\nearrow",!0);v(S,P,B,"\u21A9","\\hookleftarrow",!0);v(S,P,B,"\u21AA","\\hookrightarrow",!0);v(S,P,B,"\u2198","\\searrow",!0);v(S,P,B,"\u21BC","\\leftharpoonup",!0);v(S,P,B,"\u21C0","\\rightharpoonup",!0);v(S,P,B,"\u2199","\\swarrow",!0);v(S,P,B,"\u21BD","\\leftharpoondown",!0);v(S,P,B,"\u21C1","\\rightharpoondown",!0);v(S,P,B,"\u2196","\\nwarrow",!0);v(S,P,B,"\u21CC","\\rightleftharpoons",!0);v(S,N,B,"\u226E","\\nless",!0);v(S,N,B,"\uE010","\\@nleqslant");v(S,N,B,"\uE011","\\@nleqq");v(S,N,B,"\u2A87","\\lneq",!0);v(S,N,B,"\u2268","\\lneqq",!0);v(S,N,B,"\uE00C","\\@lvertneqq");v(S,N,B,"\u22E6","\\lnsim",!0);v(S,N,B,"\u2A89","\\lnapprox",!0);v(S,N,B,"\u2280","\\nprec",!0);v(S,N,B,"\u22E0","\\npreceq",!0);v(S,N,B,"\u22E8","\\precnsim",!0);v(S,N,B,"\u2AB9","\\precnapprox",!0);v(S,N,B,"\u2241","\\nsim",!0);v(S,N,B,"\uE006","\\@nshortmid");v(S,N,B,"\u2224","\\nmid",!0);v(S,N,B,"\u22AC","\\nvdash",!0);v(S,N,B,"\u22AD","\\nvDash",!0);v(S,N,B,"\u22EA","\\ntriangleleft");v(S,N,B,"\u22EC","\\ntrianglelefteq",!0);v(S,N,B,"\u228A","\\subsetneq",!0);v(S,N,B,"\uE01A","\\@varsubsetneq");v(S,N,B,"\u2ACB","\\subsetneqq",!0);v(S,N,B,"\uE017","\\@varsubsetneqq");v(S,N,B,"\u226F","\\ngtr",!0);v(S,N,B,"\uE00F","\\@ngeqslant");v(S,N,B,"\uE00E","\\@ngeqq");v(S,N,B,"\u2A88","\\gneq",!0);v(S,N,B,"\u2269","\\gneqq",!0);v(S,N,B,"\uE00D","\\@gvertneqq");v(S,N,B,"\u22E7","\\gnsim",!0);v(S,N,B,"\u2A8A","\\gnapprox",!0);v(S,N,B,"\u2281","\\nsucc",!0);v(S,N,B,"\u22E1","\\nsucceq",!0);v(S,N,B,"\u22E9","\\succnsim",!0);v(S,N,B,"\u2ABA","\\succnapprox",!0);v(S,N,B,"\u2246","\\ncong",!0);v(S,N,B,"\uE007","\\@nshortparallel");v(S,N,B,"\u2226","\\nparallel",!0);v(S,N,B,"\u22AF","\\nVDash",!0);v(S,N,B,"\u22EB","\\ntriangleright");v(S,N,B,"\u22ED","\\ntrianglerighteq",!0);v(S,N,B,"\uE018","\\@nsupseteqq");v(S,N,B,"\u228B","\\supsetneq",!0);v(S,N,B,"\uE01B","\\@varsupsetneq");v(S,N,B,"\u2ACC","\\supsetneqq",!0);v(S,N,B,"\uE019","\\@varsupsetneqq");v(S,N,B,"\u22AE","\\nVdash",!0);v(S,N,B,"\u2AB5","\\precneqq",!0);v(S,N,B,"\u2AB6","\\succneqq",!0);v(S,N,B,"\uE016","\\@nsubseteqq");v(S,N,ze,"\u22B4","\\unlhd");v(S,N,ze,"\u22B5","\\unrhd");v(S,N,B,"\u219A","\\nleftarrow",!0);v(S,N,B,"\u219B","\\nrightarrow",!0);v(S,N,B,"\u21CD","\\nLeftarrow",!0);v(S,N,B,"\u21CF","\\nRightarrow",!0);v(S,N,B,"\u21AE","\\nleftrightarrow",!0);v(S,N,B,"\u21CE","\\nLeftrightarrow",!0);v(S,N,B,"\u25B3","\\vartriangle");v(S,N,Y,"\u210F","\\hslash");v(S,N,Y,"\u25BD","\\triangledown");v(S,N,Y,"\u25CA","\\lozenge");v(S,N,Y,"\u24C8","\\circledS");v(S,N,Y,"\xAE","\\circledR");v(we,N,Y,"\xAE","\\circledR");v(S,N,Y,"\u2221","\\measuredangle",!0);v(S,N,Y,"\u2204","\\nexists");v(S,N,Y,"\u2127","\\mho");v(S,N,Y,"\u2132","\\Finv",!0);v(S,N,Y,"\u2141","\\Game",!0);v(S,N,Y,"\u2035","\\backprime");v(S,N,Y,"\u25B2","\\blacktriangle");v(S,N,Y,"\u25BC","\\blacktriangledown");v(S,N,Y,"\u25A0","\\blacksquare");v(S,N,Y,"\u29EB","\\blacklozenge");v(S,N,Y,"\u2605","\\bigstar");v(S,N,Y,"\u2222","\\sphericalangle",!0);v(S,N,Y,"\u2201","\\complement",!0);v(S,N,Y,"\xF0","\\eth",!0);v(we,P,Y,"\xF0","\xF0");v(S,N,Y,"\u2571","\\diagup");v(S,N,Y,"\u2572","\\diagdown");v(S,N,Y,"\u25A1","\\square");v(S,N,Y,"\u25A1","\\Box");v(S,N,Y,"\u25CA","\\Diamond");v(S,N,Y,"\xA5","\\yen",!0);v(we,N,Y,"\xA5","\\yen",!0);v(S,N,Y,"\u2713","\\checkmark",!0);v(we,N,Y,"\u2713","\\checkmark");v(S,N,Y,"\u2136","\\beth",!0);v(S,N,Y,"\u2138","\\daleth",!0);v(S,N,Y,"\u2137","\\gimel",!0);v(S,N,Y,"\u03DD","\\digamma",!0);v(S,N,Y,"\u03F0","\\varkappa");v(S,N,Ii,"\u250C","\\@ulcorner",!0);v(S,N,ai,"\u2510","\\@urcorner",!0);v(S,N,Ii,"\u2514","\\@llcorner",!0);v(S,N,ai,"\u2518","\\@lrcorner",!0);v(S,N,B,"\u2266","\\leqq",!0);v(S,N,B,"\u2A7D","\\leqslant",!0);v(S,N,B,"\u2A95","\\eqslantless",!0);v(S,N,B,"\u2272","\\lesssim",!0);v(S,N,B,"\u2A85","\\lessapprox",!0);v(S,N,B,"\u224A","\\approxeq",!0);v(S,N,ze,"\u22D6","\\lessdot");v(S,N,B,"\u22D8","\\lll",!0);v(S,N,B,"\u2276","\\lessgtr",!0);v(S,N,B,"\u22DA","\\lesseqgtr",!0);v(S,N,B,"\u2A8B","\\lesseqqgtr",!0);v(S,N,B,"\u2251","\\doteqdot");v(S,N,B,"\u2253","\\risingdotseq",!0);v(S,N,B,"\u2252","\\fallingdotseq",!0);v(S,N,B,"\u223D","\\backsim",!0);v(S,N,B,"\u22CD","\\backsimeq",!0);v(S,N,B,"\u2AC5","\\subseteqq",!0);v(S,N,B,"\u22D0","\\Subset",!0);v(S,N,B,"\u228F","\\sqsubset",!0);v(S,N,B,"\u227C","\\preccurlyeq",!0);v(S,N,B,"\u22DE","\\curlyeqprec",!0);v(S,N,B,"\u227E","\\precsim",!0);v(S,N,B,"\u2AB7","\\precapprox",!0);v(S,N,B,"\u22B2","\\vartriangleleft");v(S,N,B,"\u22B4","\\trianglelefteq");v(S,N,B,"\u22A8","\\vDash",!0);v(S,N,B,"\u22AA","\\Vvdash",!0);v(S,N,B,"\u2323","\\smallsmile");v(S,N,B,"\u2322","\\smallfrown");v(S,N,B,"\u224F","\\bumpeq",!0);v(S,N,B,"\u224E","\\Bumpeq",!0);v(S,N,B,"\u2267","\\geqq",!0);v(S,N,B,"\u2A7E","\\geqslant",!0);v(S,N,B,"\u2A96","\\eqslantgtr",!0);v(S,N,B,"\u2273","\\gtrsim",!0);v(S,N,B,"\u2A86","\\gtrapprox",!0);v(S,N,ze,"\u22D7","\\gtrdot");v(S,N,B,"\u22D9","\\ggg",!0);v(S,N,B,"\u2277","\\gtrless",!0);v(S,N,B,"\u22DB","\\gtreqless",!0);v(S,N,B,"\u2A8C","\\gtreqqless",!0);v(S,N,B,"\u2256","\\eqcirc",!0);v(S,N,B,"\u2257","\\circeq",!0);v(S,N,B,"\u225C","\\triangleq",!0);v(S,N,B,"\u223C","\\thicksim");v(S,N,B,"\u2248","\\thickapprox");v(S,N,B,"\u2AC6","\\supseteqq",!0);v(S,N,B,"\u22D1","\\Supset",!0);v(S,N,B,"\u2290","\\sqsupset",!0);v(S,N,B,"\u227D","\\succcurlyeq",!0);v(S,N,B,"\u22DF","\\curlyeqsucc",!0);v(S,N,B,"\u227F","\\succsim",!0);v(S,N,B,"\u2AB8","\\succapprox",!0);v(S,N,B,"\u22B3","\\vartriangleright");v(S,N,B,"\u22B5","\\trianglerighteq");v(S,N,B,"\u22A9","\\Vdash",!0);v(S,N,B,"\u2223","\\shortmid");v(S,N,B,"\u2225","\\shortparallel");v(S,N,B,"\u226C","\\between",!0);v(S,N,B,"\u22D4","\\pitchfork",!0);v(S,N,B,"\u221D","\\varpropto");v(S,N,B,"\u25C0","\\blacktriangleleft");v(S,N,B,"\u2234","\\therefore",!0);v(S,N,B,"\u220D","\\backepsilon");v(S,N,B,"\u25B6","\\blacktriangleright");v(S,N,B,"\u2235","\\because",!0);v(S,N,B,"\u22D8","\\llless");v(S,N,B,"\u22D9","\\gggtr");v(S,N,ze,"\u22B2","\\lhd");v(S,N,ze,"\u22B3","\\rhd");v(S,N,B,"\u2242","\\eqsim",!0);v(S,P,B,"\u22C8","\\Join");v(S,N,B,"\u2251","\\Doteq",!0);v(S,N,ze,"\u2214","\\dotplus",!0);v(S,N,ze,"\u2216","\\smallsetminus");v(S,N,ze,"\u22D2","\\Cap",!0);v(S,N,ze,"\u22D3","\\Cup",!0);v(S,N,ze,"\u2A5E","\\doublebarwedge",!0);v(S,N,ze,"\u229F","\\boxminus",!0);v(S,N,ze,"\u229E","\\boxplus",!0);v(S,N,ze,"\u22C7","\\divideontimes",!0);v(S,N,ze,"\u22C9","\\ltimes",!0);v(S,N,ze,"\u22CA","\\rtimes",!0);v(S,N,ze,"\u22CB","\\leftthreetimes",!0);v(S,N,ze,"\u22CC","\\rightthreetimes",!0);v(S,N,ze,"\u22CF","\\curlywedge",!0);v(S,N,ze,"\u22CE","\\curlyvee",!0);v(S,N,ze,"\u229D","\\circleddash",!0);v(S,N,ze,"\u229B","\\circledast",!0);v(S,N,ze,"\u22C5","\\centerdot");v(S,N,ze,"\u22BA","\\intercal",!0);v(S,N,ze,"\u22D2","\\doublecap");v(S,N,ze,"\u22D3","\\doublecup");v(S,N,ze,"\u22A0","\\boxtimes",!0);v(S,N,B,"\u21E2","\\dashrightarrow",!0);v(S,N,B,"\u21E0","\\dashleftarrow",!0);v(S,N,B,"\u21C7","\\leftleftarrows",!0);v(S,N,B,"\u21C6","\\leftrightarrows",!0);v(S,N,B,"\u21DA","\\Lleftarrow",!0);v(S,N,B,"\u219E","\\twoheadleftarrow",!0);v(S,N,B,"\u21A2","\\leftarrowtail",!0);v(S,N,B,"\u21AB","\\looparrowleft",!0);v(S,N,B,"\u21CB","\\leftrightharpoons",!0);v(S,N,B,"\u21B6","\\curvearrowleft",!0);v(S,N,B,"\u21BA","\\circlearrowleft",!0);v(S,N,B,"\u21B0","\\Lsh",!0);v(S,N,B,"\u21C8","\\upuparrows",!0);v(S,N,B,"\u21BF","\\upharpoonleft",!0);v(S,N,B,"\u21C3","\\downharpoonleft",!0);v(S,P,B,"\u22B6","\\origof",!0);v(S,P,B,"\u22B7","\\imageof",!0);v(S,N,B,"\u22B8","\\multimap",!0);v(S,N,B,"\u21AD","\\leftrightsquigarrow",!0);v(S,N,B,"\u21C9","\\rightrightarrows",!0);v(S,N,B,"\u21C4","\\rightleftarrows",!0);v(S,N,B,"\u21A0","\\twoheadrightarrow",!0);v(S,N,B,"\u21A3","\\rightarrowtail",!0);v(S,N,B,"\u21AC","\\looparrowright",!0);v(S,N,B,"\u21B7","\\curvearrowright",!0);v(S,N,B,"\u21BB","\\circlearrowright",!0);v(S,N,B,"\u21B1","\\Rsh",!0);v(S,N,B,"\u21CA","\\downdownarrows",!0);v(S,N,B,"\u21BE","\\upharpoonright",!0);v(S,N,B,"\u21C2","\\downharpoonright",!0);v(S,N,B,"\u21DD","\\rightsquigarrow",!0);v(S,N,B,"\u21DD","\\leadsto");v(S,N,B,"\u21DB","\\Rrightarrow",!0);v(S,N,B,"\u21BE","\\restriction");v(S,P,Y,"\u2018","`");v(S,P,Y,"$","\\$");v(we,P,Y,"$","\\$");v(we,P,Y,"$","\\textdollar");v(S,P,Y,"%","\\%");v(we,P,Y,"%","\\%");v(S,P,Y,"_","\\_");v(we,P,Y,"_","\\_");v(we,P,Y,"_","\\textunderscore");v(S,P,Y,"\u2220","\\angle",!0);v(S,P,Y,"\u221E","\\infty",!0);v(S,P,Y,"\u2032","\\prime");v(S,P,Y,"\u25B3","\\triangle");v(S,P,Y,"\u0393","\\Gamma",!0);v(S,P,Y,"\u0394","\\Delta",!0);v(S,P,Y,"\u0398","\\Theta",!0);v(S,P,Y,"\u039B","\\Lambda",!0);v(S,P,Y,"\u039E","\\Xi",!0);v(S,P,Y,"\u03A0","\\Pi",!0);v(S,P,Y,"\u03A3","\\Sigma",!0);v(S,P,Y,"\u03A5","\\Upsilon",!0);v(S,P,Y,"\u03A6","\\Phi",!0);v(S,P,Y,"\u03A8","\\Psi",!0);v(S,P,Y,"\u03A9","\\Omega",!0);v(S,P,Y,"A","\u0391");v(S,P,Y,"B","\u0392");v(S,P,Y,"E","\u0395");v(S,P,Y,"Z","\u0396");v(S,P,Y,"H","\u0397");v(S,P,Y,"I","\u0399");v(S,P,Y,"K","\u039A");v(S,P,Y,"M","\u039C");v(S,P,Y,"N","\u039D");v(S,P,Y,"O","\u039F");v(S,P,Y,"P","\u03A1");v(S,P,Y,"T","\u03A4");v(S,P,Y,"X","\u03A7");v(S,P,Y,"\xAC","\\neg",!0);v(S,P,Y,"\xAC","\\lnot");v(S,P,Y,"\u22A4","\\top");v(S,P,Y,"\u22A5","\\bot");v(S,P,Y,"\u2205","\\emptyset");v(S,N,Y,"\u2205","\\varnothing");v(S,P,Fe,"\u03B1","\\alpha",!0);v(S,P,Fe,"\u03B2","\\beta",!0);v(S,P,Fe,"\u03B3","\\gamma",!0);v(S,P,Fe,"\u03B4","\\delta",!0);v(S,P,Fe,"\u03F5","\\epsilon",!0);v(S,P,Fe,"\u03B6","\\zeta",!0);v(S,P,Fe,"\u03B7","\\eta",!0);v(S,P,Fe,"\u03B8","\\theta",!0);v(S,P,Fe,"\u03B9","\\iota",!0);v(S,P,Fe,"\u03BA","\\kappa",!0);v(S,P,Fe,"\u03BB","\\lambda",!0);v(S,P,Fe,"\u03BC","\\mu",!0);v(S,P,Fe,"\u03BD","\\nu",!0);v(S,P,Fe,"\u03BE","\\xi",!0);v(S,P,Fe,"\u03BF","\\omicron",!0);v(S,P,Fe,"\u03C0","\\pi",!0);v(S,P,Fe,"\u03C1","\\rho",!0);v(S,P,Fe,"\u03C3","\\sigma",!0);v(S,P,Fe,"\u03C4","\\tau",!0);v(S,P,Fe,"\u03C5","\\upsilon",!0);v(S,P,Fe,"\u03D5","\\phi",!0);v(S,P,Fe,"\u03C7","\\chi",!0);v(S,P,Fe,"\u03C8","\\psi",!0);v(S,P,Fe,"\u03C9","\\omega",!0);v(S,P,Fe,"\u03B5","\\varepsilon",!0);v(S,P,Fe,"\u03D1","\\vartheta",!0);v(S,P,Fe,"\u03D6","\\varpi",!0);v(S,P,Fe,"\u03F1","\\varrho",!0);v(S,P,Fe,"\u03C2","\\varsigma",!0);v(S,P,Fe,"\u03C6","\\varphi",!0);v(S,P,ze,"\u2217","*",!0);v(S,P,ze,"+","+");v(S,P,ze,"\u2212","-",!0);v(S,P,ze,"\u22C5","\\cdot",!0);v(S,P,ze,"\u2218","\\circ",!0);v(S,P,ze,"\xF7","\\div",!0);v(S,P,ze,"\xB1","\\pm",!0);v(S,P,ze,"\xD7","\\times",!0);v(S,P,ze,"\u2229","\\cap",!0);v(S,P,ze,"\u222A","\\cup",!0);v(S,P,ze,"\u2216","\\setminus",!0);v(S,P,ze,"\u2227","\\land");v(S,P,ze,"\u2228","\\lor");v(S,P,ze,"\u2227","\\wedge",!0);v(S,P,ze,"\u2228","\\vee",!0);v(S,P,Y,"\u221A","\\surd");v(S,P,Ii,"\u27E8","\\langle",!0);v(S,P,Ii,"\u2223","\\lvert");v(S,P,Ii,"\u2225","\\lVert");v(S,P,ai,"?","?");v(S,P,ai,"!","!");v(S,P,ai,"\u27E9","\\rangle",!0);v(S,P,ai,"\u2223","\\rvert");v(S,P,ai,"\u2225","\\rVert");v(S,P,B,"=","=");v(S,P,B,":",":");v(S,P,B,"\u2248","\\approx",!0);v(S,P,B,"\u2245","\\cong",!0);v(S,P,B,"\u2265","\\ge");v(S,P,B,"\u2265","\\geq",!0);v(S,P,B,"\u2190","\\gets");v(S,P,B,">","\\gt",!0);v(S,P,B,"\u2208","\\in",!0);v(S,P,B,"\uE020","\\@not");v(S,P,B,"\u2282","\\subset",!0);v(S,P,B,"\u2283","\\supset",!0);v(S,P,B,"\u2286","\\subseteq",!0);v(S,P,B,"\u2287","\\supseteq",!0);v(S,N,B,"\u2288","\\nsubseteq",!0);v(S,N,B,"\u2289","\\nsupseteq",!0);v(S,P,B,"\u22A8","\\models");v(S,P,B,"\u2190","\\leftarrow",!0);v(S,P,B,"\u2264","\\le");v(S,P,B,"\u2264","\\leq",!0);v(S,P,B,"<","\\lt",!0);v(S,P,B,"\u2192","\\rightarrow",!0);v(S,P,B,"\u2192","\\to");v(S,N,B,"\u2271","\\ngeq",!0);v(S,N,B,"\u2270","\\nleq",!0);v(S,P,$o,"\xA0","\\ ");v(S,P,$o,"\xA0","\\space");v(S,P,$o,"\xA0","\\nobreakspace");v(we,P,$o,"\xA0","\\ ");v(we,P,$o,"\xA0"," ");v(we,P,$o,"\xA0","\\space");v(we,P,$o,"\xA0","\\nobreakspace");v(S,P,$o,null,"\\nobreak");v(S,P,$o,null,"\\allowbreak");v(S,P,L0,",",",");v(S,P,L0,";",";");v(S,N,ze,"\u22BC","\\barwedge",!0);v(S,N,ze,"\u22BB","\\veebar",!0);v(S,P,ze,"\u2299","\\odot",!0);v(S,P,ze,"\u2295","\\oplus",!0);v(S,P,ze,"\u2297","\\otimes",!0);v(S,P,Y,"\u2202","\\partial",!0);v(S,P,ze,"\u2298","\\oslash",!0);v(S,N,ze,"\u229A","\\circledcirc",!0);v(S,N,ze,"\u22A1","\\boxdot",!0);v(S,P,ze,"\u25B3","\\bigtriangleup");v(S,P,ze,"\u25BD","\\bigtriangledown");v(S,P,ze,"\u2020","\\dagger");v(S,P,ze,"\u22C4","\\diamond");v(S,P,ze,"\u22C6","\\star");v(S,P,ze,"\u25C3","\\triangleleft");v(S,P,ze,"\u25B9","\\triangleright");v(S,P,Ii,"{","\\{");v(we,P,Y,"{","\\{");v(we,P,Y,"{","\\textbraceleft");v(S,P,ai,"}","\\}");v(we,P,Y,"}","\\}");v(we,P,Y,"}","\\textbraceright");v(S,P,Ii,"{","\\lbrace");v(S,P,ai,"}","\\rbrace");v(S,P,Ii,"[","\\lbrack",!0);v(we,P,Y,"[","\\lbrack",!0);v(S,P,ai,"]","\\rbrack",!0);v(we,P,Y,"]","\\rbrack",!0);v(S,P,Ii,"(","\\lparen",!0);v(S,P,ai,")","\\rparen",!0);v(we,P,Y,"<","\\textless",!0);v(we,P,Y,">","\\textgreater",!0);v(S,P,Ii,"\u230A","\\lfloor",!0);v(S,P,ai,"\u230B","\\rfloor",!0);v(S,P,Ii,"\u2308","\\lceil",!0);v(S,P,ai,"\u2309","\\rceil",!0);v(S,P,Y,"\\","\\backslash");v(S,P,Y,"\u2223","|");v(S,P,Y,"\u2223","\\vert");v(we,P,Y,"|","\\textbar",!0);v(S,P,Y,"\u2225","\\|");v(S,P,Y,"\u2225","\\Vert");v(we,P,Y,"\u2225","\\textbardbl");v(we,P,Y,"~","\\textasciitilde");v(we,P,Y,"\\","\\textbackslash");v(we,P,Y,"^","\\textasciicircum");v(S,P,B,"\u2191","\\uparrow",!0);v(S,P,B,"\u21D1","\\Uparrow",!0);v(S,P,B,"\u2193","\\downarrow",!0);v(S,P,B,"\u21D3","\\Downarrow",!0);v(S,P,B,"\u2195","\\updownarrow",!0);v(S,P,B,"\u21D5","\\Updownarrow",!0);v(S,P,fr,"\u2210","\\coprod");v(S,P,fr,"\u22C1","\\bigvee");v(S,P,fr,"\u22C0","\\bigwedge");v(S,P,fr,"\u2A04","\\biguplus");v(S,P,fr,"\u22C2","\\bigcap");v(S,P,fr,"\u22C3","\\bigcup");v(S,P,fr,"\u222B","\\int");v(S,P,fr,"\u222B","\\intop");v(S,P,fr,"\u222C","\\iint");v(S,P,fr,"\u222D","\\iiint");v(S,P,fr,"\u220F","\\prod");v(S,P,fr,"\u2211","\\sum");v(S,P,fr,"\u2A02","\\bigotimes");v(S,P,fr,"\u2A01","\\bigoplus");v(S,P,fr,"\u2A00","\\bigodot");v(S,P,fr,"\u222E","\\oint");v(S,P,fr,"\u222F","\\oiint");v(S,P,fr,"\u2230","\\oiiint");v(S,P,fr,"\u2A06","\\bigsqcup");v(S,P,fr,"\u222B","\\smallint");v(we,P,Gl,"\u2026","\\textellipsis");v(S,P,Gl,"\u2026","\\mathellipsis");v(we,P,Gl,"\u2026","\\ldots",!0);v(S,P,Gl,"\u2026","\\ldots",!0);v(S,P,Gl,"\u22EF","\\@cdots",!0);v(S,P,Gl,"\u22F1","\\ddots",!0);v(S,P,Y,"\u22EE","\\varvdots");v(S,P,Bt,"\u02CA","\\acute");v(S,P,Bt,"\u02CB","\\grave");v(S,P,Bt,"\xA8","\\ddot");v(S,P,Bt,"~","\\tilde");v(S,P,Bt,"\u02C9","\\bar");v(S,P,Bt,"\u02D8","\\breve");v(S,P,Bt,"\u02C7","\\check");v(S,P,Bt,"^","\\hat");v(S,P,Bt,"\u20D7","\\vec");v(S,P,Bt,"\u02D9","\\dot");v(S,P,Bt,"\u02DA","\\mathring");v(S,P,Fe,"\uE131","\\@imath");v(S,P,Fe,"\uE237","\\@jmath");v(S,P,Y,"\u0131","\u0131");v(S,P,Y,"\u0237","\u0237");v(we,P,Y,"\u0131","\\i",!0);v(we,P,Y,"\u0237","\\j",!0);v(we,P,Y,"\xDF","\\ss",!0);v(we,P,Y,"\xE6","\\ae",!0);v(we,P,Y,"\u0153","\\oe",!0);v(we,P,Y,"\xF8","\\o",!0);v(we,P,Y,"\xC6","\\AE",!0);v(we,P,Y,"\u0152","\\OE",!0);v(we,P,Y,"\xD8","\\O",!0);v(we,P,Bt,"\u02CA","\\'");v(we,P,Bt,"\u02CB","\\`");v(we,P,Bt,"\u02C6","\\^");v(we,P,Bt,"\u02DC","\\~");v(we,P,Bt,"\u02C9","\\=");v(we,P,Bt,"\u02D8","\\u");v(we,P,Bt,"\u02D9","\\.");v(we,P,Bt,"\xB8","\\c");v(we,P,Bt,"\u02DA","\\r");v(we,P,Bt,"\u02C7","\\v");v(we,P,Bt,"\xA8",'\\"');v(we,P,Bt,"\u02DD","\\H");v(we,P,Bt,"\u25EF","\\textcircled");var R7={"--":!0,"---":!0,"``":!0,"''":!0};v(we,P,Y,"\u2013","--",!0);v(we,P,Y,"\u2013","\\textendash");v(we,P,Y,"\u2014","---",!0);v(we,P,Y,"\u2014","\\textemdash");v(we,P,Y,"\u2018","`",!0);v(we,P,Y,"\u2018","\\textquoteleft");v(we,P,Y,"\u2019","'",!0);v(we,P,Y,"\u2019","\\textquoteright");v(we,P,Y,"\u201C","``",!0);v(we,P,Y,"\u201C","\\textquotedblleft");v(we,P,Y,"\u201D","''",!0);v(we,P,Y,"\u201D","\\textquotedblright");v(S,P,Y,"\xB0","\\degree",!0);v(we,P,Y,"\xB0","\\degree");v(we,P,Y,"\xB0","\\textdegree",!0);v(S,P,Y,"\xA3","\\pounds");v(S,P,Y,"\xA3","\\mathsterling",!0);v(we,P,Y,"\xA3","\\pounds");v(we,P,Y,"\xA3","\\textsterling",!0);v(S,N,Y,"\u2720","\\maltese");v(we,N,Y,"\u2720","\\maltese");var e7='0123456789/@."';for(O0=0;O0<e7.length;O0++)Nb=e7.charAt(O0),v(S,P,Y,Nb,Nb);var Nb,O0,t7='0123456789!@*()-=+";:?/.,';for(g0=0;g0<t7.length;g0++)jb=t7.charAt(g0),v(we,P,Y,jb,jb);var jb,g0,_0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(b0=0;b0<_0.length;b0++)zu=_0.charAt(b0),v(S,P,Fe,zu,zu),v(we,P,Y,zu,zu);var zu,b0;v(S,N,Y,"C","\u2102");v(we,N,Y,"C","\u2102");v(S,N,Y,"H","\u210D");v(we,N,Y,"H","\u210D");v(S,N,Y,"N","\u2115");v(we,N,Y,"N","\u2115");v(S,N,Y,"P","\u2119");v(we,N,Y,"P","\u2119");v(S,N,Y,"Q","\u211A");v(we,N,Y,"Q","\u211A");v(S,N,Y,"R","\u211D");v(we,N,Y,"R","\u211D");v(S,N,Y,"Z","\u2124");v(we,N,Y,"Z","\u2124");v(S,P,Fe,"h","\u210E");v(we,P,Fe,"h","\u210E");var Ge="";for(Zr=0;Zr<_0.length;Zr++)Yt=_0.charAt(Zr),Ge=String.fromCharCode(55349,56320+Zr),v(S,P,Fe,Yt,Ge),v(we,P,Y,Yt,Ge),Ge=String.fromCharCode(55349,56372+Zr),v(S,P,Fe,Yt,Ge),v(we,P,Y,Yt,Ge),Ge=String.fromCharCode(55349,56424+Zr),v(S,P,Fe,Yt,Ge),v(we,P,Y,Yt,Ge),Ge=String.fromCharCode(55349,56580+Zr),v(S,P,Fe,Yt,Ge),v(we,P,Y,Yt,Ge),Ge=String.fromCharCode(55349,56684+Zr),v(S,P,Fe,Yt,Ge),v(we,P,Y,Yt,Ge),Ge=String.fromCharCode(55349,56736+Zr),v(S,P,Fe,Yt,Ge),v(we,P,Y,Yt,Ge),Ge=String.fromCharCode(55349,56788+Zr),v(S,P,Fe,Yt,Ge),v(we,P,Y,Yt,Ge),Ge=String.fromCharCode(55349,56840+Zr),v(S,P,Fe,Yt,Ge),v(we,P,Y,Yt,Ge),Ge=String.fromCharCode(55349,56944+Zr),v(S,P,Fe,Yt,Ge),v(we,P,Y,Yt,Ge),Zr<26&&(Ge=String.fromCharCode(55349,56632+Zr),v(S,P,Fe,Yt,Ge),v(we,P,Y,Yt,Ge),Ge=String.fromCharCode(55349,56476+Zr),v(S,P,Fe,Yt,Ge),v(we,P,Y,Yt,Ge));var Yt,Zr;Ge=String.fromCharCode(55349,56668);v(S,P,Fe,"k",Ge);v(we,P,Y,"k",Ge);for(As=0;As<10;As++)Co=As.toString(),Ge=String.fromCharCode(55349,57294+As),v(S,P,Fe,Co,Ge),v(we,P,Y,Co,Ge),Ge=String.fromCharCode(55349,57314+As),v(S,P,Fe,Co,Ge),v(we,P,Y,Co,Ge),Ge=String.fromCharCode(55349,57324+As),v(S,P,Fe,Co,Ge),v(we,P,Y,Co,Ge),Ge=String.fromCharCode(55349,57334+As),v(S,P,Fe,Co,Ge),v(we,P,Y,Co,Ge);var Co,As,t2="\xD0\xDE\xFE";for(y0=0;y0<t2.length;y0++)Mu=t2.charAt(y0),v(S,P,Fe,Mu,Mu),v(we,P,Y,Mu,Mu);var Mu,y0,v0=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],r7=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Hj=function(e,r){var i=e.charCodeAt(0),n=e.charCodeAt(1),o=(i-55296)*1024+(n-56320)+65536,s=r==="math"?0:1;if(119808<=o&&o<120484){var a=Math.floor((o-119808)/26);return[v0[a][2],v0[a][s]]}else if(120782<=o&&o<=120831){var l=Math.floor((o-120782)/10);return[r7[l][2],r7[l][s]]}else{if(o===120485||o===120486)return[v0[0][2],v0[0][s]];if(120486<o&&o<120782)return["",""];throw new Pe("Unsupported character: "+e)}},z0=function(e,r,i){return Dt[i][e]&&Dt[i][e].replace&&(e=Dt[i][e].replace),{value:e,metrics:f2(e,r,i)}},yn=function(e,r,i,n,o){var s=z0(e,r,i),a=s.metrics;e=s.value;var l;if(a){var c=a.italic;(i==="text"||n&&n.font==="mathit")&&(c=0),l=new wi(e,a.height,a.depth,c,a.skew,a.width,o)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+e+"' in style '"+r+"' and mode '"+i+"'")),l=new wi(e,0,0,0,0,0,o);if(n){l.maxFontSize=n.sizeMultiplier,n.style.isTight()&&l.classes.push("mtight");var u=n.getColor();u&&(l.style.color=u)}return l},Gj=function(e,r,i,n){return n===void 0&&(n=[]),i.font==="boldsymbol"&&z0(e,"Main-Bold",r).metrics?yn(e,"Main-Bold",r,i,n.concat(["mathbf"])):e==="\\"||Dt[r][e].font==="main"?yn(e,"Main-Regular",r,i,n):yn(e,"AMS-Regular",r,i,n.concat(["amsrm"]))},Kj=function(e,r,i,n,o){return o!=="textord"&&z0(e,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Jj=function(e,r,i){var n=e.mode,o=e.text,s=["mord"],a=n==="math"||n==="text"&&r.font,l=a?r.font:r.fontFamily,c="",u="";if(o.charCodeAt(0)===55349&&([c,u]=Hj(o,n)),c.length>0)return yn(o,c,n,r,s.concat(u));if(l){var f,d;if(l==="boldsymbol"){var p=Kj(o,n,r,s,i);f=p.fontName,d=[p.fontClass]}else a?(f=I7[l].fontName,d=[l]):(f=w0(l,r.fontWeight,r.fontShape),d=[l,r.fontWeight,r.fontShape]);if(z0(o,f,n).metrics)return yn(o,f,n,r,s.concat(d));if(R7.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var O=[],w=0;w<o.length;w++)O.push(yn(o[w],f,n,r,s.concat(d)));return X7(O)}}if(i==="mathord")return yn(o,"Math-Italic",n,r,s.concat(["mathnormal"]));if(i==="textord"){var x=Dt[n][o]&&Dt[n][o].font;if(x==="ams"){var k=w0("amsrm",r.fontWeight,r.fontShape);return yn(o,k,n,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(x==="main"||!x){var C=w0("textrm",r.fontWeight,r.fontShape);return yn(o,C,n,r,s.concat(r.fontWeight,r.fontShape))}else{var R=w0(x,r.fontWeight,r.fontShape);return yn(o,R,n,r,s.concat(R,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+i+" in makeOrd")},eB=(t,e)=>{if($s(t.classes)!==$s(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var i in t.style)if(t.style.hasOwnProperty(i)&&t.style[i]!==e.style[i])return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return!1;return!0},tB=t=>{for(var e=0;e<t.length-1;e++){var r=t[e],i=t[e+1];r instanceof wi&&i instanceof wi&&eB(r,i)&&(r.text+=i.text,r.height=Math.max(r.height,i.height),r.depth=Math.max(r.depth,i.depth),r.italic=i.italic,t.splice(e+1,1),e--)}return t},h2=function(e){for(var r=0,i=0,n=0,o=0;o<e.children.length;o++){var s=e.children[o];s.height>r&&(r=s.height),s.depth>i&&(i=s.depth),s.maxFontSize>n&&(n=s.maxFontSize)}e.height=r,e.depth=i,e.maxFontSize=n},yi=function(e,r,i,n){var o=new Xa(e,r,i,n);return h2(o),o},$7=(t,e,r,i)=>new Xa(t,e,r,i),rB=function(e,r,i){var n=yi([e],[],r);return n.height=Math.max(i||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=Ae(n.height),n.maxFontSize=1,n},iB=function(e,r,i,n){var o=new Bu(e,r,i,n);return h2(o),o},X7=function(e){var r=new $a(e);return h2(r),r},nB=function(e,r){return e instanceof $a?yi([],[e],r):e},oB=function(e){if(e.positionType==="individualShift"){for(var r=e.children,i=[r[0]],n=-r[0].shift-r[0].elem.depth,o=n,s=1;s<r.length;s++){var a=-r[s].shift-o-r[s].elem.depth,l=a-(r[s-1].elem.height+r[s-1].elem.depth);o=o+a,i.push({type:"kern",size:l}),i.push(r[s])}return{children:i,depth:n}}var c;if(e.positionType==="top"){for(var u=e.positionData,f=0;f<e.children.length;f++){var d=e.children[f];u-=d.type==="kern"?d.size:d.elem.height+d.elem.depth}c=u}else if(e.positionType==="bottom")c=-e.positionData;else{var p=e.children[0];if(p.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")c=-p.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")c=-p.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:c}},sB=function(e,r){for(var{children:i,depth:n}=oB(e),o=0,s=0;s<i.length;s++){var a=i[s];if(a.type==="elem"){var l=a.elem;o=Math.max(o,l.maxFontSize,l.height)}}o+=2;var c=yi(["pstrut"],[]);c.style.height=Ae(o);for(var u=[],f=n,d=n,p=n,O=0;O<i.length;O++){var w=i[O];if(w.type==="kern")p+=w.size;else{var x=w.elem,k=w.wrapperClasses||[],C=w.wrapperStyle||{},R=yi(k,[c,x],void 0,C);R.style.top=Ae(-o-p-x.depth),w.marginLeft&&(R.style.marginLeft=w.marginLeft),w.marginRight&&(R.style.marginRight=w.marginRight),u.push(R),p+=x.height+x.depth}f=Math.min(f,p),d=Math.max(d,p)}var Q=yi(["vlist"],u);Q.style.height=Ae(d);var z;if(f<0){var L=yi([],[]),Z=yi(["vlist"],[L]);Z.style.height=Ae(-f);var re=yi(["vlist-s"],[new wi("\u200B")]);z=[yi(["vlist-r"],[Q,re]),yi(["vlist-r"],[Z])]}else z=[yi(["vlist-r"],[Q])];var H=yi(["vlist-t"],z);return z.length===2&&H.classes.push("vlist-t2"),H.height=d,H.depth=-f,H},aB=(t,e)=>{var r=yi(["mspace"],[],e),i=Gt(t,e);return r.style.marginRight=Ae(i),r},w0=function(e,r,i){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}var o;return r==="textbf"&&i==="textit"?o="BoldItalic":r==="textbf"?o="Bold":r==="textit"?o="Italic":o="Regular",n+"-"+o},I7={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},L7={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},lB=function(e,r){var[i,n,o]=L7[e],s=new Gn(i),a=new vn([s],{width:Ae(n),height:Ae(o),style:"width:"+Ae(n),viewBox:"0 0 "+1e3*n+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=$7(["overlay"],[a],r);return l.height=o,l.style.height=Ae(o),l.style.width=Ae(n),l},te={fontMap:I7,makeSymbol:yn,mathsym:Gj,makeSpan:yi,makeSvgSpan:$7,makeLineSpan:rB,makeAnchor:iB,makeFragment:X7,wrapFragment:nB,makeVList:sB,makeOrd:Jj,makeGlue:aB,staticSvg:lB,svgData:L7,tryCombineChars:tB},Ht={number:3,unit:"mu"},Aa={number:4,unit:"mu"},Po={number:5,unit:"mu"},cB={mord:{mop:Ht,mbin:Aa,mrel:Po,minner:Ht},mop:{mord:Ht,mop:Ht,mrel:Po,minner:Ht},mbin:{mord:Aa,mop:Aa,mopen:Aa,minner:Aa},mrel:{mord:Po,mop:Po,mopen:Po,minner:Po},mopen:{},mclose:{mop:Ht,mbin:Aa,mrel:Po,minner:Ht},mpunct:{mord:Ht,mop:Ht,mrel:Po,mopen:Ht,mclose:Ht,mpunct:Ht,minner:Ht},minner:{mord:Ht,mop:Ht,mbin:Aa,mrel:Po,mopen:Ht,mpunct:Ht,minner:Ht}},uB={mord:{mop:Ht},mop:{mord:Ht,mop:Ht},mbin:{},mrel:{},mopen:{},mclose:{mop:Ht},mpunct:{},minner:{mop:Ht}},z7={},A0={},R0={};function Ie(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder:s}=t,a={type:e,numArgs:i.numArgs,argTypes:i.argTypes,allowedInArgument:!!i.allowedInArgument,allowedInText:!!i.allowedInText,allowedInMath:i.allowedInMath===void 0?!0:i.allowedInMath,numOptionalArgs:i.numOptionalArgs||0,infix:!!i.infix,primitive:!!i.primitive,handler:n},l=0;l<r.length;++l)z7[r[l]]=a;e&&(o&&(A0[e]=o),s&&(R0[e]=s))}function Ia(t){var{type:e,htmlBuilder:r,mathmlBuilder:i}=t;Ie({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:i})}var $0=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},ar=function(e){return e.type==="ordgroup"?e.body:[e]},Ao=te.makeSpan,fB=["leftmost","mbin","mopen","mrel","mop","mpunct"],hB=["rightmost","mrel","mclose","mpunct"],dB={display:We.DISPLAY,text:We.TEXT,script:We.SCRIPT,scriptscript:We.SCRIPTSCRIPT},pB={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},yr=function(e,r,i,n){n===void 0&&(n=[null,null]);for(var o=[],s=0;s<e.length;s++){var a=xt(e[s],r);if(a instanceof $a){var l=a.children;o.push(...l)}else o.push(a)}if(te.tryCombineChars(o),!i)return o;var c=r;if(e.length===1){var u=e[0];u.type==="sizing"?c=r.havingSize(u.size):u.type==="styling"&&(c=r.havingStyle(dB[u.style]))}var f=Ao([n[0]||"leftmost"],[],r),d=Ao([n[1]||"rightmost"],[],r),p=i==="root";return i7(o,(O,w)=>{var x=w.classes[0],k=O.classes[0];x==="mbin"&&Ke.contains(hB,k)?w.classes[0]="mord":k==="mbin"&&Ke.contains(fB,x)&&(O.classes[0]="mord")},{node:f},d,p),i7(o,(O,w)=>{var x=r2(w),k=r2(O),C=x&&k?O.hasClass("mtight")?uB[x][k]:cB[x][k]:null;if(C)return te.makeGlue(C,c)},{node:f},d,p),o},i7=function t(e,r,i,n,o){n&&e.push(n);for(var s=0;s<e.length;s++){var a=e[s],l=M7(a);if(l){t(l.children,r,i,null,o);continue}var c=!a.hasClass("mspace");if(c){var u=r(a,i.node);u&&(i.insertAfter?i.insertAfter(u):(e.unshift(u),s++))}c?i.node=a:o&&a.hasClass("newline")&&(i.node=Ao(["leftmost"])),i.insertAfter=(f=>d=>{e.splice(f+1,0,d),s++})(s)}n&&e.pop()},M7=function(e){return e instanceof $a||e instanceof Bu||e instanceof Xa&&e.hasClass("enclosing")?e:null},mB=function t(e,r){var i=M7(e);if(i){var n=i.children;if(n.length){if(r==="right")return t(n[n.length-1],"right");if(r==="left")return t(n[0],"left")}}return e},r2=function(e,r){return e?(r&&(e=mB(e,r)),pB[e.classes[0]]||null):null},qu=function(e,r){var i=["nulldelimiter"].concat(e.baseSizingClasses());return Ao(r.concat(i))},xt=function(e,r,i){if(!e)return Ao();if(A0[e.type]){var n=A0[e.type](e,r);if(i&&r.size!==i.size){n=Ao(r.sizingClasses(i),[n],r);var o=r.sizeMultiplier/i.sizeMultiplier;n.height*=o,n.depth*=o}return n}else throw new Pe("Got group of unknown type: '"+e.type+"'")};function x0(t,e){var r=Ao(["base"],t,e),i=Ao(["strut"]);return i.style.height=Ae(r.height+r.depth),r.depth&&(i.style.verticalAlign=Ae(-r.depth)),r.children.unshift(i),r}function i2(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var i=yr(t,e,"root"),n;i.length===2&&i[1].hasClass("tag")&&(n=i.pop());for(var o=[],s=[],a=0;a<i.length;a++)if(s.push(i[a]),i[a].hasClass("mbin")||i[a].hasClass("mrel")||i[a].hasClass("allowbreak")){for(var l=!1;a<i.length-1&&i[a+1].hasClass("mspace")&&!i[a+1].hasClass("newline");)a++,s.push(i[a]),i[a].hasClass("nobreak")&&(l=!0);l||(o.push(x0(s,e)),s=[])}else i[a].hasClass("newline")&&(s.pop(),s.length>0&&(o.push(x0(s,e)),s=[]),o.push(i[a]));s.length>0&&o.push(x0(s,e));var c;r?(c=x0(yr(r,e,!0)),c.classes=["tag"],o.push(c)):n&&o.push(n);var u=Ao(["katex-html"],o);if(u.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Ae(u.height+u.depth),u.depth&&(f.style.verticalAlign=Ae(-u.depth))}return u}function D7(t){return new $a(t)}var vi=class{constructor(e,r,i){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=i||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=$s(this.classes));for(var i=0;i<this.children.length;i++)e.appendChild(this.children[i].toNode());return e}toMarkup(){var e="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="',e+=Ke.escape(this.attributes[r]),e+='"');this.classes.length>0&&(e+=' class ="'+Ke.escape($s(this.classes))+'"'),e+=">";for(var i=0;i<this.children.length;i++)e+=this.children[i].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}},Ra=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ke.escape(this.toText())}toText(){return this.text}},n2=class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",Ae(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Ae(this.width)+'"/>'}toText(){return this.character?this.character:" "}},ke={MathNode:vi,TextNode:Ra,SpaceNode:n2,newDocumentFragment:D7},Ki=function(e,r,i){return Dt[r][e]&&Dt[r][e].replace&&e.charCodeAt(0)!==55349&&!(R7.hasOwnProperty(e)&&i&&(i.fontFamily&&i.fontFamily.slice(4,6)==="tt"||i.font&&i.font.slice(4,6)==="tt"))&&(e=Dt[r][e].replace),new ke.TextNode(e)},d2=function(e){return e.length===1?e[0]:new ke.MathNode("mrow",e)},p2=function(e,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var i=r.font;if(!i||i==="mathnormal")return null;var n=e.mode;if(i==="mathit")return"italic";if(i==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(i==="mathbf")return"bold";if(i==="mathbb")return"double-struck";if(i==="mathfrak")return"fraktur";if(i==="mathscr"||i==="mathcal")return"script";if(i==="mathsf")return"sans-serif";if(i==="mathtt")return"monospace";var o=e.text;if(Ke.contains(["\\imath","\\jmath"],o))return null;Dt[n][o]&&Dt[n][o].replace&&(o=Dt[n][o].replace);var s=te.fontMap[i].fontName;return f2(o,s,n)?te.fontMap[i].variant:null},xi=function(e,r,i){if(e.length===1){var n=zt(e[0],r);return i&&n instanceof vi&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o=[],s,a=0;a<e.length;a++){var l=zt(e[a],r);if(l instanceof vi&&s instanceof vi){if(l.type==="mtext"&&s.type==="mtext"&&l.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...l.children);continue}else if(l.type==="mn"&&s.type==="mn"){s.children.push(...l.children);continue}else if(l.type==="mi"&&l.children.length===1&&s.type==="mn"){var c=l.children[0];if(c instanceof Ra&&c.text==="."){s.children.push(...l.children);continue}}else if(s.type==="mi"&&s.children.length===1){var u=s.children[0];if(u instanceof Ra&&u.text==="\u0338"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var f=l.children[0];f instanceof Ra&&f.text.length>0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),s=l}return o},Xs=function(e,r,i){return d2(xi(e,r,i))},zt=function(e,r){if(!e)return new ke.MathNode("mrow");if(R0[e.type]){var i=R0[e.type](e,r);return i}else throw new Pe("Got group of unknown type: '"+e.type+"'")};function n7(t,e,r,i,n){var o=xi(t,r),s;o.length===1&&o[0]instanceof vi&&Ke.contains(["mrow","mtable"],o[0].type)?s=o[0]:s=new ke.MathNode("mrow",o);var a=new ke.MathNode("annotation",[new ke.TextNode(e)]);a.setAttribute("encoding","application/x-tex");var l=new ke.MathNode("semantics",[s,a]),c=new ke.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),i&&c.setAttribute("display","block");var u=n?"katex":"katex-mathml";return te.makeSpan([u],[c])}var U7=function(e){return new Q0({style:e.displayMode?We.DISPLAY:We.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},N7=function(e,r){if(r.displayMode){var i=["katex-display"];r.leqno&&i.push("leqno"),r.fleqn&&i.push("fleqn"),e=te.makeSpan(i,[e])}return e},OB=function(e,r,i){var n=U7(i),o;if(i.output==="mathml")return n7(e,r,n,i.displayMode,!0);if(i.output==="html"){var s=i2(e,n);o=te.makeSpan(["katex"],[s])}else{var a=n7(e,r,n,i.displayMode,!1),l=i2(e,n);o=te.makeSpan(["katex"],[a,l])}return N7(o,i)},gB=function(e,r,i){var n=U7(i),o=i2(e,n),s=te.makeSpan(["katex"],[o]);return N7(s,i)},bB={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},yB=function(e){var r=new ke.MathNode("mo",[new ke.TextNode(bB[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},vB={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},wB=function(e){return e.type==="ordgroup"?e.body.length:1},xB=function(e,r){function i(){var a=4e5,l=e.label.slice(1);if(Ke.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=e,u=wB(c.base),f,d,p;if(u>5)l==="widehat"||l==="widecheck"?(f=420,a=2364,p=.42,d=l+"4"):(f=312,a=2340,p=.34,d="tilde4");else{var O=[1,1,2,2,3,3][u];l==="widehat"||l==="widecheck"?(a=[0,1062,2364,2364,2364][O],f=[0,239,300,360,420][O],p=[0,.24,.3,.3,.36,.42][O],d=l+O):(a=[0,600,1033,2339,2340][O],f=[0,260,286,306,312][O],p=[0,.26,.286,.3,.306,.34][O],d="tilde"+O)}var w=new Gn(d),x=new vn([w],{width:"100%",height:Ae(p),viewBox:"0 0 "+a+" "+f,preserveAspectRatio:"none"});return{span:te.makeSvgSpan([],[x],r),minWidth:0,height:p}}else{var k=[],C=vB[l],[R,Q,z]=C,L=z/1e3,Z=R.length,re,H;if(Z===1){var q=C[3];re=["hide-tail"],H=[q]}else if(Z===2)re=["halfarrow-left","halfarrow-right"],H=["xMinYMin","xMaxYMin"];else if(Z===3)re=["brace-left","brace-center","brace-right"],H=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Z+" children.");for(var oe=0;oe<Z;oe++){var pe=new Gn(R[oe]),fe=new vn([pe],{width:"400em",height:Ae(L),viewBox:"0 0 "+a+" "+z,preserveAspectRatio:H[oe]+" slice"}),ge=te.makeSvgSpan([re[oe]],[fe],r);if(Z===1)return{span:ge,minWidth:Q,height:L};ge.style.height=Ae(L),k.push(ge)}return{span:te.makeSpan(["stretchy"],k,r),minWidth:Q,height:L}}}var{span:n,minWidth:o,height:s}=i();return n.height=s,n.style.height=Ae(s),o>0&&(n.style.minWidth=Ae(o)),n},kB=function(e,r,i,n,o){var s,a=e.height+e.depth+i+n;if(/fbox|color|angl/.test(r)){if(s=te.makeSpan(["stretchy",r],[],o),r==="fbox"){var l=o.color&&o.getColor();l&&(s.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(r)&&c.push(new Vu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new Vu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new vn(c,{width:"100%",height:Ae(a)});s=te.makeSvgSpan([],[u],o)}return s.height=a,s.style.height=Ae(a),s},Ro={encloseSpan:kB,mathMLnode:yB,svgSpan:xB};function lt(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function m2(t){var e=M0(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function M0(t){return t&&(t.type==="atom"||Yj.hasOwnProperty(t.type))?t:null}var O2=(t,e)=>{var r,i,n;t&&t.type==="supsub"?(i=lt(t.base,"accent"),r=i.base,t.base=r,n=Wj(xt(t,e)),t.base=i):(i=lt(t,"accent"),r=i.base);var o=xt(r,e.havingCrampedStyle()),s=i.isShifty&&Ke.isCharacterBox(r),a=0;if(s){var l=Ke.getBaseElem(r),c=xt(l,e.havingCrampedStyle());a=JS(c).skew}var u=i.label==="\\c",f=u?o.height+o.depth:Math.min(o.height,e.fontMetrics().xHeight),d;if(i.isStretchy)d=Ro.svgSpan(i,e),d=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+Ae(2*a)+")",marginLeft:Ae(2*a)}:void 0}]},e);else{var p,O;i.label==="\\vec"?(p=te.staticSvg("vec",e),O=te.svgData.vec[1]):(p=te.makeOrd({mode:i.mode,text:i.label},e,"textord"),p=JS(p),p.italic=0,O=p.width,u&&(f+=p.depth)),d=te.makeSpan(["accent-body"],[p]);var w=i.label==="\\textcircled";w&&(d.classes.push("accent-full"),f=o.height);var x=a;w||(x-=O/2),d.style.left=Ae(x),i.label==="\\textcircled"&&(d.style.top=".2em"),d=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:d}]},e)}var k=te.makeSpan(["mord","accent"],[d],e);return n?(n.children[0]=k,n.height=Math.max(k.height,n.height),n.classes[0]="mord",n):k},j7=(t,e)=>{var r=t.isStretchy?Ro.mathMLnode(t.label):new ke.MathNode("mo",[Ki(t.label,t.mode)]),i=new ke.MathNode("mover",[zt(t.base,e),r]);return i.setAttribute("accent","true"),i},SB=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));Ie({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(t,e)=>{var r=$0(e[0]),i=!SB.test(t.funcName),n=!i||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:i,isShifty:n,base:r}},htmlBuilder:O2,mathmlBuilder:j7});Ie({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var r=e[0],i=t.parser.mode;return i==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),i="text"),{type:"accent",mode:i,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:O2,mathmlBuilder:j7});Ie({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"accentUnder",mode:r.mode,label:i,base:n}},htmlBuilder:(t,e)=>{var r=xt(t.base,e),i=Ro.svgSpan(t,e),n=t.label==="\\utilde"?.12:0,o=te.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},e);return te.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:(t,e)=>{var r=Ro.mathMLnode(t.label),i=new ke.MathNode("munder",[zt(t.base,e),r]);return i.setAttribute("accentunder","true"),i}});var k0=t=>{var e=new ke.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};Ie({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:i,funcName:n}=t;return{type:"xArrow",mode:i.mode,label:n,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,i=e.havingStyle(r.sup()),n=te.wrapFragment(xt(t.body,i,e),e),o=t.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(o+"-arrow-pad");var s;t.below&&(i=e.havingStyle(r.sub()),s=te.wrapFragment(xt(t.below,i,e),e),s.classes.push(o+"-arrow-pad"));var a=Ro.svgSpan(t,e),l=-e.fontMetrics().axisHeight+.5*a.height,c=-e.fontMetrics().axisHeight-.5*a.height-.111;(n.depth>.25||t.label==="\\xleftequilibrium")&&(c-=n.depth);var u;if(s){var f=-e.fontMetrics().axisHeight+s.height+.5*a.height+.111;u=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:a,shift:l},{type:"elem",elem:s,shift:f}]},e)}else u=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:c},{type:"elem",elem:a,shift:l}]},e);return u.children[0].children[0].children[1].classes.push("svg-align"),te.makeSpan(["mrel","x-arrow"],[u],e)},mathmlBuilder(t,e){var r=Ro.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var i;if(t.body){var n=k0(zt(t.body,e));if(t.below){var o=k0(zt(t.below,e));i=new ke.MathNode("munderover",[r,o,n])}else i=new ke.MathNode("mover",[r,n])}else if(t.below){var s=k0(zt(t.below,e));i=new ke.MathNode("munder",[r,s])}else i=k0(),i=new ke.MathNode("mover",[r,i]);return i}});var TB=te.makeSpan;function B7(t,e){var r=yr(t.body,e,!0);return TB([t.mclass],r,e)}function V7(t,e){var r,i=xi(t.body,e);return t.mclass==="minner"?r=new ke.MathNode("mpadded",i):t.mclass==="mord"?t.isCharacterBox?(r=i[0],r.type="mi"):r=new ke.MathNode("mi",i):(t.isCharacterBox?(r=i[0],r.type="mo"):r=new ke.MathNode("mo",i),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}Ie({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+i.slice(5),body:ar(n),isCharacterBox:Ke.isCharacterBox(n)}},htmlBuilder:B7,mathmlBuilder:V7});var D0=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};Ie({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:D0(e[0]),body:ar(e[1]),isCharacterBox:Ke.isCharacterBox(e[1])}}});Ie({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:i}=t,n=e[1],o=e[0],s;i!=="\\stackrel"?s=D0(n):s="mrel";var a={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:i!=="\\stackrel",body:ar(n)},l={type:"supsub",mode:o.mode,base:a,sup:i==="\\underset"?null:o,sub:i==="\\underset"?o:null};return{type:"mclass",mode:r.mode,mclass:s,body:[l],isCharacterBox:Ke.isCharacterBox(l)}},htmlBuilder:B7,mathmlBuilder:V7});Ie({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:D0(e[0]),body:ar(e[0])}},htmlBuilder(t,e){var r=yr(t.body,e,!0),i=te.makeSpan([t.mclass],r,e);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(t,e){var r=xi(t.body,e),i=new ke.MathNode("mstyle",r);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});var EB={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},o7=()=>({type:"styling",body:[],mode:"math",style:"display"}),s7=t=>t.type==="textord"&&t.text==="@",CB=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function PB(t,e,r){var i=EB[t];switch(i){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(i,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var n=r.callFunction("\\\\cdleft",[e[0]],[]),o={type:"atom",text:i,mode:"math",family:"rel"},s=r.callFunction("\\Big",[o],[]),a=r.callFunction("\\\\cdright",[e[1]],[]),l={type:"ordgroup",mode:"math",body:[n,s,a]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function QB(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r==="&"||r==="\\\\")t.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new Pe("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var i=[],n=[i],o=0;o<e.length;o++){for(var s=e[o],a=o7(),l=0;l<s.length;l++)if(!s7(s[l]))a.body.push(s[l]);else{i.push(a),l+=1;var c=m2(s[l]).text,u=new Array(2);if(u[0]={type:"ordgroup",mode:"math",body:[]},u[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(c)>-1))if("<>AV".indexOf(c)>-1)for(var f=0;f<2;f++){for(var d=!0,p=l+1;p<s.length;p++){if(CB(s[p],c)){d=!1,l=p;break}if(s7(s[p]))throw new Pe("Missing a "+c+" character to complete a CD arrow.",s[p]);u[f].body.push(s[p])}if(d)throw new Pe("Missing a "+c+" character to complete a CD arrow.",s[l])}else throw new Pe('Expected one of "<>AV=|." after @',s[l]);var O=PB(c,u,t),w={type:"styling",body:[O],mode:"math",style:"display"};i.push(w),a=o7()}o%2===0?i.push(a):i.shift(),i=[],n.push(i)}t.gullet.endGroup(),t.gullet.endGroup();var x=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:x,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}Ie({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t;return{type:"cdlabel",mode:r.mode,side:i.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),i=te.wrapFragment(xt(t.label,r,e),e);return i.classes.push("cd-label-"+t.side),i.style.bottom=Ae(.8-i.depth),i.height=0,i.depth=0,i},mathmlBuilder(t,e){var r=new ke.MathNode("mrow",[zt(t.label,e)]);return r=new ke.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new ke.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});Ie({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=te.wrapFragment(xt(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new ke.MathNode("mrow",[zt(t.fragment,e)])}});Ie({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,i=lt(e[0],"ordgroup"),n=i.body,o="",s=0;s<n.length;s++){var a=lt(n[s],"textord");o+=a.text}var l=parseInt(o),c;if(isNaN(l))throw new Pe("\\@char has non-numeric argument "+o);if(l<0||l>=1114111)throw new Pe("\\@char with invalid code point "+o);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:c}}});var q7=(t,e)=>{var r=yr(t.body,e.withColor(t.color),!1);return te.makeFragment(r)},F7=(t,e)=>{var r=xi(t.body,e.withColor(t.color)),i=new ke.MathNode("mstyle",r);return i.setAttribute("mathcolor",t.color),i};Ie({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,i=lt(e[0],"color-token").color,n=e[1];return{type:"color",mode:r.mode,color:i,body:ar(n)}},htmlBuilder:q7,mathmlBuilder:F7});Ie({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:i}=t,n=lt(e[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var o=r.parseExpression(!0,i);return{type:"color",mode:r.mode,color:n,body:o}},htmlBuilder:q7,mathmlBuilder:F7});Ie({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:i}=t,n=i.gullet.future().text==="["?i.parseSizeGroup(!0):null,o=!i.settings.displayMode||!i.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:i.mode,newLine:o,size:n&&lt(n,"size").value}},htmlBuilder(t,e){var r=te.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=Ae(Gt(t.size,e)))),r},mathmlBuilder(t,e){var r=new ke.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",Ae(Gt(t.size,e)))),r}});var o2={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},W7=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new Pe("Expected a control sequence",t);return e},_B=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},Z7=(t,e,r,i)=>{var n=t.gullet.macros.get(r.text);n==null&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,n,i)};Ie({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var i=e.fetch();if(o2[i.text])return(r==="\\global"||r==="\\\\globallong")&&(i.text=o2[i.text]),lt(e.parseFunction(),"internal");throw new Pe("Invalid token after macro prefix",i)}});Ie({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=e.gullet.popToken(),n=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new Pe("Expected a control sequence",i);for(var o=0,s,a=[[]];e.gullet.future().text!=="{";)if(i=e.gullet.popToken(),i.text==="#"){if(e.gullet.future().text==="{"){s=e.gullet.future(),a[o].push("{");break}if(i=e.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new Pe('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==o+1)throw new Pe('Argument number "'+i.text+'" out of order');o++,a.push([])}else{if(i.text==="EOF")throw new Pe("Expected a macro definition");a[o].push(i.text)}var{tokens:l}=e.gullet.consumeArg();return s&&l.unshift(s),(r==="\\edef"||r==="\\xdef")&&(l=e.gullet.expandTokens(l),l.reverse()),e.gullet.macros.set(n,{tokens:l,numArgs:o,delimiters:a},r===o2[r]),{type:"internal",mode:e.mode}}});Ie({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=W7(e.gullet.popToken());e.gullet.consumeSpaces();var n=_B(e);return Z7(e,i,n,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});Ie({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,i=W7(e.gullet.popToken()),n=e.gullet.popToken(),o=e.gullet.popToken();return Z7(e,i,o,r==="\\\\globalfuture"),e.gullet.pushToken(o),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var Du=function(e,r,i){var n=Dt.math[e]&&Dt.math[e].replace,o=f2(n||e,r,i);if(!o)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return o},g2=function(e,r,i,n){var o=i.havingBaseStyle(r),s=te.makeSpan(n.concat(o.sizingClasses(i)),[e],i),a=o.sizeMultiplier/i.sizeMultiplier;return s.height*=a,s.depth*=a,s.maxFontSize=o.sizeMultiplier,s},Y7=function(e,r,i){var n=r.havingBaseStyle(i),o=(1-r.sizeMultiplier/n.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Ae(o),e.height-=o,e.depth+=o},AB=function(e,r,i,n,o,s){var a=te.makeSymbol(e,"Main-Regular",o,n),l=g2(a,r,n,s);return i&&Y7(l,n,r),l},RB=function(e,r,i,n){return te.makeSymbol(e,"Size"+r+"-Regular",i,n)},H7=function(e,r,i,n,o,s){var a=RB(e,r,o,n),l=g2(te.makeSpan(["delimsizing","size"+r],[a],n),We.TEXT,n,s);return i&&Y7(l,n,We.TEXT),l},Bb=function(e,r,i){var n;r==="Size1-Regular"?n="delim-size1":n="delim-size4";var o=te.makeSpan(["delimsizinginner",n],[te.makeSpan([],[te.makeSymbol(e,r,i)])]);return{type:"elem",elem:o}},Vb=function(e,r,i){var n=Yn["Size4-Regular"][e.charCodeAt(0)]?Yn["Size4-Regular"][e.charCodeAt(0)][4]:Yn["Size1-Regular"][e.charCodeAt(0)][4],o=new Gn("inner",Uj(e,Math.round(1e3*r))),s=new vn([o],{width:Ae(n),height:Ae(r),style:"width:"+Ae(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),a=te.makeSvgSpan([],[s],i);return a.height=r,a.style.height=Ae(r),a.style.width=Ae(n),{type:"elem",elem:a}},s2=.008,S0={type:"kern",size:-1*s2},$B=["|","\\lvert","\\rvert","\\vert"],XB=["\\|","\\lVert","\\rVert","\\Vert"],G7=function(e,r,i,n,o,s){var a,l,c,u,f="",d=0;a=c=u=e,l=null;var p="Size1-Regular";e==="\\uparrow"?c=u="\u23D0":e==="\\Uparrow"?c=u="\u2016":e==="\\downarrow"?a=c="\u23D0":e==="\\Downarrow"?a=c="\u2016":e==="\\updownarrow"?(a="\\uparrow",c="\u23D0",u="\\downarrow"):e==="\\Updownarrow"?(a="\\Uparrow",c="\u2016",u="\\Downarrow"):Ke.contains($B,e)?(c="\u2223",f="vert",d=333):Ke.contains(XB,e)?(c="\u2225",f="doublevert",d=556):e==="["||e==="\\lbrack"?(a="\u23A1",c="\u23A2",u="\u23A3",p="Size4-Regular",f="lbrack",d=667):e==="]"||e==="\\rbrack"?(a="\u23A4",c="\u23A5",u="\u23A6",p="Size4-Regular",f="rbrack",d=667):e==="\\lfloor"||e==="\u230A"?(c=a="\u23A2",u="\u23A3",p="Size4-Regular",f="lfloor",d=667):e==="\\lceil"||e==="\u2308"?(a="\u23A1",c=u="\u23A2",p="Size4-Regular",f="lceil",d=667):e==="\\rfloor"||e==="\u230B"?(c=a="\u23A5",u="\u23A6",p="Size4-Regular",f="rfloor",d=667):e==="\\rceil"||e==="\u2309"?(a="\u23A4",c=u="\u23A5",p="Size4-Regular",f="rceil",d=667):e==="("||e==="\\lparen"?(a="\u239B",c="\u239C",u="\u239D",p="Size4-Regular",f="lparen",d=875):e===")"||e==="\\rparen"?(a="\u239E",c="\u239F",u="\u23A0",p="Size4-Regular",f="rparen",d=875):e==="\\{"||e==="\\lbrace"?(a="\u23A7",l="\u23A8",u="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(a="\u23AB",l="\u23AC",u="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(a="\u23A7",u="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(a="\u23AB",u="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(a="\u23A7",u="\u23AD",c="\u23AA",p="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(a="\u23AB",u="\u23A9",c="\u23AA",p="Size4-Regular");var O=Du(a,p,o),w=O.height+O.depth,x=Du(c,p,o),k=x.height+x.depth,C=Du(u,p,o),R=C.height+C.depth,Q=0,z=1;if(l!==null){var L=Du(l,p,o);Q=L.height+L.depth,z=2}var Z=w+R+Q,re=Math.max(0,Math.ceil((r-Z)/(z*k))),H=Z+re*z*k,q=n.fontMetrics().axisHeight;i&&(q*=n.sizeMultiplier);var oe=H/2-q,pe=[];if(f.length>0){var fe=H-w-R,ge=Math.round(H*1e3),ve=Nj(f,Math.round(fe*1e3)),Qe=new Gn(f,ve),se=(d/1e3).toFixed(3)+"em",he=(ge/1e3).toFixed(3)+"em",K=new vn([Qe],{width:se,height:he,viewBox:"0 0 "+d+" "+ge}),_=te.makeSvgSpan([],[K],n);_.height=ge/1e3,_.style.width=se,_.style.height=he,pe.push({type:"elem",elem:_})}else{if(pe.push(Bb(u,p,o)),pe.push(S0),l===null){var G=H-w-R+2*s2;pe.push(Vb(c,G,n))}else{var ae=(H-w-R-Q)/2+2*s2;pe.push(Vb(c,ae,n)),pe.push(S0),pe.push(Bb(l,p,o)),pe.push(S0),pe.push(Vb(c,ae,n))}pe.push(S0),pe.push(Bb(a,p,o))}var j=n.havingBaseStyle(We.TEXT),Je=te.makeVList({positionType:"bottom",positionData:oe,children:pe},j);return g2(te.makeSpan(["delimsizing","mult"],[Je],j),We.TEXT,n,s)},qb=80,Fb=.08,Wb=function(e,r,i,n,o){var s=Dj(e,n,i),a=new Gn(e,s),l=new vn([a],{width:"400em",height:Ae(r),viewBox:"0 0 400000 "+i,preserveAspectRatio:"xMinYMin slice"});return te.makeSvgSpan(["hide-tail"],[l],o)},IB=function(e,r){var i=r.havingBaseSizing(),n=tT("\\surd",e*i.sizeMultiplier,eT,i),o=i.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),a,l=0,c=0,u=0,f;return n.type==="small"?(u=1e3+1e3*s+qb,e<1?o=1:e<1.4&&(o=.7),l=(1+s+Fb)/o,c=(1+s)/o,a=Wb("sqrtMain",l,u,s,r),a.style.minWidth="0.853em",f=.833/o):n.type==="large"?(u=(1e3+qb)*Uu[n.size],c=(Uu[n.size]+s)/o,l=(Uu[n.size]+s+Fb)/o,a=Wb("sqrtSize"+n.size,l,u,s,r),a.style.minWidth="1.02em",f=1/o):(l=e+s+Fb,c=e+s,u=Math.floor(1e3*e+s)+qb,a=Wb("sqrtTall",l,u,s,r),a.style.minWidth="0.742em",f=1.056),a.height=c,a.style.height=Ae(l),{span:a,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*o}},K7=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],LB=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],J7=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Uu=[0,1.2,1.8,2.4,3],zB=function(e,r,i,n,o){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),Ke.contains(K7,e)||Ke.contains(J7,e))return H7(e,r,!1,i,n,o);if(Ke.contains(LB,e))return G7(e,Uu[r],!1,i,n,o);throw new Pe("Illegal delimiter: '"+e+"'")},MB=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],DB=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"stack"}],eT=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],UB=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},tT=function(e,r,i,n){for(var o=Math.min(2,3-n.style.size),s=o;s<i.length&&i[s].type!=="stack";s++){var a=Du(e,UB(i[s]),"math"),l=a.height+a.depth;if(i[s].type==="small"){var c=n.havingBaseStyle(i[s].style);l*=c.sizeMultiplier}if(l>r)return i[s]}return i[i.length-1]},rT=function(e,r,i,n,o,s){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var a;Ke.contains(J7,e)?a=MB:Ke.contains(K7,e)?a=eT:a=DB;var l=tT(e,r,a,n);return l.type==="small"?AB(e,l.style,i,n,o,s):l.type==="large"?H7(e,l.size,i,n,o,s):G7(e,r,i,n,o,s)},NB=function(e,r,i,n,o,s){var a=n.fontMetrics().axisHeight*n.sizeMultiplier,l=901,c=5/n.fontMetrics().ptPerEm,u=Math.max(r-a,i+a),f=Math.max(u/500*l,2*u-c);return rT(e,f,!0,n,o,s)},_o={sqrtImage:IB,sizedDelim:zB,sizeToMaxHeight:Uu,customSizedDelim:rT,leftRightDelim:NB},a7={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},jB=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function U0(t,e){var r=M0(t);if(r&&Ke.contains(jB,r.text))return r;throw r?new Pe("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new Pe("Invalid delimiter type '"+t.type+"'",t)}Ie({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(t,e)=>{var r=U0(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:a7[t.funcName].size,mclass:a7[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?te.makeSpan([t.mclass]):_o.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Ki(t.delim,t.mode));var r=new ke.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var i=Ae(_o.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",i),r.setAttribute("maxsize",i),r}});function l7(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ie({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new Pe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:U0(e[0],t).text,color:r}}});Ie({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=U0(e[0],t),i=t.parser;++i.leftrightDepth;var n=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var o=lt(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:n,left:r.text,right:o.delim,rightColor:o.color}},htmlBuilder:(t,e)=>{l7(t);for(var r=yr(t.body,e,!0,["mopen","mclose"]),i=0,n=0,o=!1,s=0;s<r.length;s++)r[s].isMiddle?o=!0:(i=Math.max(r[s].height,i),n=Math.max(r[s].depth,n));i*=e.sizeMultiplier,n*=e.sizeMultiplier;var a;if(t.left==="."?a=qu(e,["mopen"]):a=_o.leftRightDelim(t.left,i,n,e,t.mode,["mopen"]),r.unshift(a),o)for(var l=1;l<r.length;l++){var c=r[l],u=c.isMiddle;u&&(r[l]=_o.leftRightDelim(u.delim,i,n,u.options,t.mode,[]))}var f;if(t.right===".")f=qu(e,["mclose"]);else{var d=t.rightColor?e.withColor(t.rightColor):e;f=_o.leftRightDelim(t.right,i,n,d,t.mode,["mclose"])}return r.push(f),te.makeSpan(["minner"],r,e)},mathmlBuilder:(t,e)=>{l7(t);var r=xi(t.body,e);if(t.left!=="."){var i=new ke.MathNode("mo",[Ki(t.left,t.mode)]);i.setAttribute("fence","true"),r.unshift(i)}if(t.right!=="."){var n=new ke.MathNode("mo",[Ki(t.right,t.mode)]);n.setAttribute("fence","true"),t.rightColor&&n.setAttribute("mathcolor",t.rightColor),r.push(n)}return d2(r)}});Ie({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=U0(e[0],t);if(!t.parser.leftrightDepth)throw new Pe("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;if(t.delim===".")r=qu(e,[]);else{r=_o.sizedDelim(t.delim,1,e,t.mode,[]);var i={delim:t.delim,options:e};r.isMiddle=i}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?Ki("|","text"):Ki(t.delim,t.mode),i=new ke.MathNode("mo",[r]);return i.setAttribute("fence","true"),i.setAttribute("lspace","0.05em"),i.setAttribute("rspace","0.05em"),i}});var b2=(t,e)=>{var r=te.wrapFragment(xt(t.body,e),e),i=t.label.slice(1),n=e.sizeMultiplier,o,s=0,a=Ke.isCharacterBox(t.body);if(i==="sout")o=te.makeSpan(["stretchy","sout"]),o.height=e.fontMetrics().defaultRuleThickness/n,s=-.5*e.fontMetrics().xHeight;else if(i==="phase"){var l=Gt({number:.6,unit:"pt"},e),c=Gt({number:.35,unit:"ex"},e),u=e.havingBaseSizing();n=n/u.sizeMultiplier;var f=r.height+r.depth+l+c;r.style.paddingLeft=Ae(f/2+l);var d=Math.floor(1e3*f*n),p=zj(d),O=new vn([new Gn("phase",p)],{width:"400em",height:Ae(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});o=te.makeSvgSpan(["hide-tail"],[O],e),o.style.height=Ae(f),s=r.depth+l+c}else{/cancel/.test(i)?a||r.classes.push("cancel-pad"):i==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var w=0,x=0,k=0;/box/.test(i)?(k=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),w=e.fontMetrics().fboxsep+(i==="colorbox"?0:k),x=w):i==="angl"?(k=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),w=4*k,x=Math.max(0,.25-r.depth)):(w=a?.2:0,x=w),o=Ro.encloseSpan(r,i,w,x,e),/fbox|boxed|fcolorbox/.test(i)?(o.style.borderStyle="solid",o.style.borderWidth=Ae(k)):i==="angl"&&k!==.049&&(o.style.borderTopWidth=Ae(k),o.style.borderRightWidth=Ae(k)),s=r.depth+x,t.backgroundColor&&(o.style.backgroundColor=t.backgroundColor,t.borderColor&&(o.style.borderColor=t.borderColor))}var C;if(t.backgroundColor)C=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:s},{type:"elem",elem:r,shift:0}]},e);else{var R=/cancel|phase/.test(i)?["svg-align"]:[];C=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:o,shift:s,wrapperClasses:R}]},e)}return/cancel/.test(i)&&(C.height=r.height,C.depth=r.depth),/cancel/.test(i)&&!a?te.makeSpan(["mord","cancel-lap"],[C],e):te.makeSpan(["mord"],[C],e)},y2=(t,e)=>{var r=0,i=new ke.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[zt(t.body,e)]);switch(t.label){case"\\cancel":i.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":i.setAttribute("notation","downdiagonalstrike");break;case"\\phase":i.setAttribute("notation","phasorangle");break;case"\\sout":i.setAttribute("notation","horizontalstrike");break;case"\\fbox":i.setAttribute("notation","box");break;case"\\angl":i.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,i.setAttribute("width","+"+2*r+"pt"),i.setAttribute("height","+"+2*r+"pt"),i.setAttribute("lspace",r+"pt"),i.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var n=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);i.setAttribute("style","border: "+n+"em solid "+String(t.borderColor))}break;case"\\xcancel":i.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&i.setAttribute("mathbackground",t.backgroundColor),i};Ie({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:i,funcName:n}=t,o=lt(e[0],"color-token").color,s=e[1];return{type:"enclose",mode:i.mode,label:n,backgroundColor:o,body:s}},htmlBuilder:b2,mathmlBuilder:y2});Ie({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:i,funcName:n}=t,o=lt(e[0],"color-token").color,s=lt(e[1],"color-token").color,a=e[2];return{type:"enclose",mode:i.mode,label:n,backgroundColor:s,borderColor:o,body:a}},htmlBuilder:b2,mathmlBuilder:y2});Ie({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});Ie({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"enclose",mode:r.mode,label:i,body:n}},htmlBuilder:b2,mathmlBuilder:y2});Ie({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var iT={};function Kn(t){for(var{type:e,names:r,props:i,handler:n,htmlBuilder:o,mathmlBuilder:s}=t,a={type:e,numArgs:i.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l<r.length;++l)iT[r[l]]=a;o&&(A0[e]=o),s&&(R0[e]=s)}var nT={};function X(t,e){nT[t]=e}function c7(t){var e=[];t.consumeSpaces();var r=t.fetch().text;for(r==="\\relax"&&(t.consume(),t.consumeSpaces(),r=t.fetch().text);r==="\\hline"||r==="\\hdashline";)t.consume(),e.push(r==="\\hdashline"),t.consumeSpaces(),r=t.fetch().text;return e}var N0=t=>{var e=t.parser.settings;if(!e.displayMode)throw new Pe("{"+t.envName+"} can be used only in display mode.")};function v2(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function Is(t,e,r){var{hskipBeforeAndAfter:i,addJot:n,cols:o,arraystretch:s,colSeparationType:a,autoTag:l,singleRow:c,emptySingleRow:u,maxNumCols:f,leqno:d}=e;if(t.gullet.beginGroup(),c||t.gullet.macros.set("\\cr","\\\\\\relax"),!s){var p=t.gullet.expandMacroAsText("\\arraystretch");if(p==null)s=1;else if(s=parseFloat(p),!s||s<0)throw new Pe("Invalid \\arraystretch: "+p)}t.gullet.beginGroup();var O=[],w=[O],x=[],k=[],C=l!=null?[]:void 0;function R(){l&&t.gullet.macros.set("\\@eqnsw","1",!0)}function Q(){C&&(t.gullet.macros.get("\\df@tag")?(C.push(t.subparse([new Hn("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):C.push(!!l&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),k.push(c7(t));;){var z=t.parseExpression(!1,c?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),z={type:"ordgroup",mode:t.mode,body:z},r&&(z={type:"styling",mode:t.mode,style:r,body:[z]}),O.push(z);var L=t.fetch().text;if(L==="&"){if(f&&O.length===f){if(c||a)throw new Pe("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(L==="\\end"){Q(),O.length===1&&z.type==="styling"&&z.body[0].body.length===0&&(w.length>1||!u)&&w.pop(),k.length<w.length+1&&k.push([]);break}else if(L==="\\\\"){t.consume();var Z=void 0;t.gullet.future().text!==" "&&(Z=t.parseSizeGroup(!0)),x.push(Z?Z.value:null),Q(),k.push(c7(t)),O=[],w.push(O),R()}else throw new Pe("Expected & or \\\\ or \\cr or \\end",t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:n,arraystretch:s,body:w,cols:o,rowGaps:x,hskipBeforeAndAfter:i,hLinesBeforeRow:k,colSeparationType:a,tags:C,leqno:d}}function w2(t){return t.slice(0,1)==="d"?"display":"text"}var Jn=function(e,r){var i,n,o=e.body.length,s=e.hLinesBeforeRow,a=0,l=new Array(o),c=[],u=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),f=1/r.fontMetrics().ptPerEm,d=5*f;if(e.colSeparationType&&e.colSeparationType==="small"){var p=r.havingStyle(We.SCRIPT).sizeMultiplier;d=.2778*(p/r.sizeMultiplier)}var O=e.colSeparationType==="CD"?Gt({number:3,unit:"ex"},r):12*f,w=3*f,x=e.arraystretch*O,k=.7*x,C=.3*x,R=0;function Q(go){for(var zn=0;zn<go.length;++zn)zn>0&&(R+=.25),c.push({pos:R,isDashed:go[zn]})}for(Q(s[0]),i=0;i<e.body.length;++i){var z=e.body[i],L=k,Z=C;a<z.length&&(a=z.length);var re=new Array(z.length);for(n=0;n<z.length;++n){var H=xt(z[n],r);Z<H.depth&&(Z=H.depth),L<H.height&&(L=H.height),re[n]=H}var q=e.rowGaps[i],oe=0;q&&(oe=Gt(q,r),oe>0&&(oe+=C,Z<oe&&(Z=oe),oe=0)),e.addJot&&(Z+=w),re.height=L,re.depth=Z,R+=L,re.pos=R,R+=Z+oe,l[i]=re,Q(s[i+1])}var pe=R/2+r.fontMetrics().axisHeight,fe=e.cols||[],ge=[],ve,Qe,se=[];if(e.tags&&e.tags.some(go=>go))for(i=0;i<o;++i){var he=l[i],K=he.pos-pe,_=e.tags[i],G=void 0;_===!0?G=te.makeSpan(["eqn-num"],[],r):_===!1?G=te.makeSpan([],[],r):G=te.makeSpan([],yr(_,r,!0),r),G.depth=he.depth,G.height=he.height,se.push({type:"elem",elem:G,shift:K})}for(n=0,Qe=0;n<a||Qe<fe.length;++n,++Qe){for(var ae=fe[Qe]||{},j=!0;ae.type==="separator";){if(j||(ve=te.makeSpan(["arraycolsep"],[]),ve.style.width=Ae(r.fontMetrics().doubleRuleSep),ge.push(ve)),ae.separator==="|"||ae.separator===":"){var Je=ae.separator==="|"?"solid":"dashed",at=te.makeSpan(["vertical-separator"],[],r);at.style.height=Ae(R),at.style.borderRightWidth=Ae(u),at.style.borderRightStyle=Je,at.style.margin="0 "+Ae(-u/2);var st=R-pe;st&&(at.style.verticalAlign=Ae(-st)),ge.push(at)}else throw new Pe("Invalid separator type: "+ae.separator);Qe++,ae=fe[Qe]||{},j=!1}if(!(n>=a)){var Ce=void 0;(n>0||e.hskipBeforeAndAfter)&&(Ce=Ke.deflt(ae.pregap,d),Ce!==0&&(ve=te.makeSpan(["arraycolsep"],[]),ve.style.width=Ae(Ce),ge.push(ve)));var Ze=[];for(i=0;i<o;++i){var Xt=l[i],ct=Xt[n];if(ct){var Nr=Xt.pos-pe;ct.depth=Xt.depth,ct.height=Xt.height,Ze.push({type:"elem",elem:ct,shift:Nr})}}Ze=te.makeVList({positionType:"individualShift",children:Ze},r),Ze=te.makeSpan(["col-align-"+(ae.align||"c")],[Ze]),ge.push(Ze),(n<a-1||e.hskipBeforeAndAfter)&&(Ce=Ke.deflt(ae.postgap,d),Ce!==0&&(ve=te.makeSpan(["arraycolsep"],[]),ve.style.width=Ae(Ce),ge.push(ve)))}}if(l=te.makeSpan(["mtable"],ge),c.length>0){for(var Qr=te.makeLineSpan("hline",r,u),Ln=te.makeLineSpan("hdashline",r,u),pn=[{type:"elem",elem:l,shift:0}];c.length>0;){var Zt=c.pop(),ba=Zt.pos-pe;Zt.isDashed?pn.push({type:"elem",elem:Ln,shift:ba}):pn.push({type:"elem",elem:Qr,shift:ba})}l=te.makeVList({positionType:"individualShift",children:pn},r)}if(se.length===0)return te.makeSpan(["mord"],[l],r);var _r=te.makeVList({positionType:"individualShift",children:se},r);return _r=te.makeSpan(["tag"],[_r],r),te.makeFragment([l,_r])},BB={c:"center ",l:"left ",r:"right "},eo=function(e,r){for(var i=[],n=new ke.MathNode("mtd",[],["mtr-glue"]),o=new ke.MathNode("mtd",[],["mml-eqn-num"]),s=0;s<e.body.length;s++){for(var a=e.body[s],l=[],c=0;c<a.length;c++)l.push(new ke.MathNode("mtd",[zt(a[c],r)]));e.tags&&e.tags[s]&&(l.unshift(n),l.push(n),e.leqno?l.unshift(o):l.push(o)),i.push(new ke.MathNode("mtr",l))}var u=new ke.MathNode("mtable",i),f=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);u.setAttribute("rowspacing",Ae(f));var d="",p="";if(e.cols&&e.cols.length>0){var O=e.cols,w="",x=!1,k=0,C=O.length;O[0].type==="separator"&&(d+="top ",k=1),O[O.length-1].type==="separator"&&(d+="bottom ",C-=1);for(var R=k;R<C;R++)O[R].type==="align"?(p+=BB[O[R].align],x&&(w+="none "),x=!0):O[R].type==="separator"&&x&&(w+=O[R].separator==="|"?"solid ":"dashed ",x=!1);u.setAttribute("columnalign",p.trim()),/[sd]/.test(w)&&u.setAttribute("columnlines",w.trim())}if(e.colSeparationType==="align"){for(var Q=e.cols||[],z="",L=1;L<Q.length;L++)z+=L%2?"0em ":"1em ";u.setAttribute("columnspacing",z.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?u.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?u.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?u.setAttribute("columnspacing","0.5em"):u.setAttribute("columnspacing","1em");var Z="",re=e.hLinesBeforeRow;d+=re[0].length>0?"left ":"",d+=re[re.length-1].length>0?"right ":"";for(var H=1;H<re.length-1;H++)Z+=re[H].length===0?"none ":re[H][0]?"dashed ":"solid ";return/[sd]/.test(Z)&&u.setAttribute("rowlines",Z.trim()),d!==""&&(u=new ke.MathNode("menclose",[u]),u.setAttribute("notation",d.trim())),e.arraystretch&&e.arraystretch<1&&(u=new ke.MathNode("mstyle",[u]),u.setAttribute("scriptlevel","1")),u},oT=function(e,r){e.envName.indexOf("ed")===-1&&N0(e);var i=[],n=e.envName.indexOf("at")>-1?"alignat":"align",o=e.envName==="split",s=Is(e.parser,{cols:i,addJot:!0,autoTag:o?void 0:v2(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),a,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var u="",f=0;f<r[0].body.length;f++){var d=lt(r[0].body[f],"textord");u+=d.text}a=Number(u),l=a*2}var p=!l;s.body.forEach(function(k){for(var C=1;C<k.length;C+=2){var R=lt(k[C],"styling"),Q=lt(R.body[0],"ordgroup");Q.body.unshift(c)}if(p)l<k.length&&(l=k.length);else{var z=k.length/2;if(a<z)throw new Pe("Too many math in a row: "+("expected "+a+", but got "+z),k[0])}});for(var O=0;O<l;++O){var w="r",x=0;O%2===1?w="l":O>0&&p&&(x=1),i[O]={type:"align",align:w,pregap:x,postgap:0}}return s.colSeparationType=p?"align":"alignat",s};Kn({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=M0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(s){var a=m2(s),l=a.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new Pe("Unknown column alignment: "+l,s)}),o={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Is(t.parser,o,w2(t.envName))},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var n=t.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,"lcr".indexOf(r)===-1)throw new Pe("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),i.cols=[{type:"align",align:r}]}}var o=Is(t.parser,i,w2(t.envName)),s=Math.max(0,...o.body.map(a=>a.length));return o.cols=new Array(s).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[o],left:e[0],right:e[1],rightColor:void 0}:o},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=Is(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=M0(e[0]),i=r?[e[0]]:lt(e[0],"ordgroup").body,n=i.map(function(s){var a=m2(s),l=a.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Pe("Unknown column alignment: "+l,s)});if(n.length>1)throw new Pe("{subarray} can contain only one column");var o={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Is(t.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new Pe("{subarray} can contain only one column");return o},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=Is(t.parser,e,w2(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:oT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){Ke.contains(["gather","gather*"],t.envName)&&N0(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:v2(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return Is(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:oT,htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){N0(t);var e={autoTag:v2(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return Is(t.parser,e,"display")},htmlBuilder:Jn,mathmlBuilder:eo});Kn({type:"array",names:["CD"],props:{numArgs:0},handler(t){return N0(t),QB(t.parser)},htmlBuilder:Jn,mathmlBuilder:eo});X("\\nonumber","\\gdef\\@eqnsw{0}");X("\\notag","\\nonumber");Ie({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new Pe(t.funcName+" valid only within array environment")}});var u7=iT;Ie({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];if(n.type!=="ordgroup")throw new Pe("Invalid environment name",n);for(var o="",s=0;s<n.body.length;++s)o+=lt(n.body[s],"textord").text;if(i==="\\begin"){if(!u7.hasOwnProperty(o))throw new Pe("No such environment: "+o,n);var a=u7[o],{args:l,optArgs:c}=r.parseArguments("\\begin{"+o+"}",a),u={mode:r.mode,envName:o,parser:r},f=a.handler(u,l,c);r.expect("\\end",!1);var d=r.nextToken,p=lt(r.parseFunction(),"environment");if(p.name!==o)throw new Pe("Mismatch: \\begin{"+o+"} matched by \\end{"+p.name+"}",d);return f}return{type:"environment",mode:r.mode,name:o,nameGroup:n}}});var sT=(t,e)=>{var r=t.font,i=e.withFont(r);return xt(t.body,i)},aT=(t,e)=>{var r=t.font,i=e.withFont(r);return zt(t.body,i)},f7={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ie({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=$0(e[0]),o=i;return o in f7&&(o=f7[o]),{type:"font",mode:r.mode,font:o.slice(1),body:n}},htmlBuilder:sT,mathmlBuilder:aT});Ie({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,i=e[0],n=Ke.isCharacterBox(i);return{type:"mclass",mode:r.mode,mclass:D0(i),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:i}],isCharacterBox:n}}});Ie({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i,breakOnTokenText:n}=t,{mode:o}=r,s=r.parseExpression(!0,n),a="math"+i.slice(1);return{type:"font",mode:o,font:a,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:sT,mathmlBuilder:aT});var lT=(t,e)=>{var r=e;return t==="display"?r=r.id>=We.SCRIPT.id?r.text():We.DISPLAY:t==="text"&&r.size===We.DISPLAY.size?r=We.TEXT:t==="script"?r=We.SCRIPT:t==="scriptscript"&&(r=We.SCRIPTSCRIPT),r},x2=(t,e)=>{var r=lT(t.size,e.style),i=r.fracNum(),n=r.fracDen(),o;o=e.havingStyle(i);var s=xt(t.numer,o,e);if(t.continued){var a=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;s.height=s.height<a?a:s.height,s.depth=s.depth<l?l:s.depth}o=e.havingStyle(n);var c=xt(t.denom,o,e),u,f,d;t.hasBarLine?(t.barSize?(f=Gt(t.barSize,e),u=te.makeLineSpan("frac-line",e,f)):u=te.makeLineSpan("frac-line",e),f=u.height,d=u.height):(u=null,f=0,d=e.fontMetrics().defaultRuleThickness);var p,O,w;r.size===We.DISPLAY.size||t.size==="display"?(p=e.fontMetrics().num1,f>0?O=3*d:O=7*d,w=e.fontMetrics().denom1):(f>0?(p=e.fontMetrics().num2,O=d):(p=e.fontMetrics().num3,O=3*d),w=e.fontMetrics().denom2);var x;if(u){var C=e.fontMetrics().axisHeight;p-s.depth-(C+.5*f)<O&&(p+=O-(p-s.depth-(C+.5*f))),C-.5*f-(c.height-w)<O&&(w+=O-(C-.5*f-(c.height-w)));var R=-(C-.5*f);x=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:w},{type:"elem",elem:u,shift:R},{type:"elem",elem:s,shift:-p}]},e)}else{var k=p-s.depth-(c.height-w);k<O&&(p+=.5*(O-k),w+=.5*(O-k)),x=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:w},{type:"elem",elem:s,shift:-p}]},e)}o=e.havingStyle(r),x.height*=o.sizeMultiplier/e.sizeMultiplier,x.depth*=o.sizeMultiplier/e.sizeMultiplier;var Q;r.size===We.DISPLAY.size?Q=e.fontMetrics().delim1:r.size===We.SCRIPTSCRIPT.size?Q=e.havingStyle(We.SCRIPT).fontMetrics().delim2:Q=e.fontMetrics().delim2;var z,L;return t.leftDelim==null?z=qu(e,["mopen"]):z=_o.customSizedDelim(t.leftDelim,Q,!0,e.havingStyle(r),t.mode,["mopen"]),t.continued?L=te.makeSpan([]):t.rightDelim==null?L=qu(e,["mclose"]):L=_o.customSizedDelim(t.rightDelim,Q,!0,e.havingStyle(r),t.mode,["mclose"]),te.makeSpan(["mord"].concat(o.sizingClasses(e)),[z,te.makeSpan(["mfrac"],[x]),L],e)},k2=(t,e)=>{var r=new ke.MathNode("mfrac",[zt(t.numer,e),zt(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var i=Gt(t.barSize,e);r.setAttribute("linethickness",Ae(i))}var n=lT(t.size,e.style);if(n.size!==e.style.size){r=new ke.MathNode("mstyle",[r]);var o=n.size===We.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",o),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var s=[];if(t.leftDelim!=null){var a=new ke.MathNode("mo",[new ke.TextNode(t.leftDelim.replace("\\",""))]);a.setAttribute("fence","true"),s.push(a)}if(s.push(r),t.rightDelim!=null){var l=new ke.MathNode("mo",[new ke.TextNode(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return d2(s)}return r};Ie({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=e[1],s,a=null,l=null,c="auto";switch(i){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,a="(",l=")";break;case"\\\\bracefrac":s=!1,a="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,a="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(i){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:n,denom:o,hasBarLine:s,leftDelim:a,rightDelim:l,size:c,barSize:null}},htmlBuilder:x2,mathmlBuilder:k2});Ie({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Ie({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:i}=t,n;switch(r){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:n,token:i}}});var h7=["display","text","script","scriptscript"],d7=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};Ie({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,i=e[4],n=e[5],o=$0(e[0]),s=o.type==="atom"&&o.family==="open"?d7(o.text):null,a=$0(e[1]),l=a.type==="atom"&&a.family==="close"?d7(a.text):null,c=lt(e[2],"size"),u,f=null;c.isBlank?u=!0:(f=c.value,u=f.number>0);var d="auto",p=e[3];if(p.type==="ordgroup"){if(p.body.length>0){var O=lt(p.body[0],"textord");d=h7[Number(O.text)]}}else p=lt(p,"textord"),d=h7[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:i,denom:n,continued:!1,hasBarLine:u,barSize:f,leftDelim:s,rightDelim:l,size:d}},htmlBuilder:x2,mathmlBuilder:k2});Ie({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:i,token:n}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:lt(e[0],"size").value,token:n}}});Ie({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0],o=xj(lt(e[1],"infix").size),s=e[2],a=o.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:s,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:x2,mathmlBuilder:k2});var cT=(t,e)=>{var r=e.style,i,n;t.type==="supsub"?(i=t.sup?xt(t.sup,e.havingStyle(r.sup()),e):xt(t.sub,e.havingStyle(r.sub()),e),n=lt(t.base,"horizBrace")):n=lt(t,"horizBrace");var o=xt(n.base,e.havingBaseStyle(We.DISPLAY)),s=Ro.svgSpan(n,e),a;if(n.isOver?(a=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},e),a.children[0].children[0].children[1].classes.push("svg-align")):(a=te.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},e),a.children[0].children[0].children[0].classes.push("svg-align")),i){var l=te.makeSpan(["mord",n.isOver?"mover":"munder"],[a],e);n.isOver?a=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:i}]},e):a=te.makeVList({positionType:"bottom",positionData:l.depth+.2+i.height+i.depth,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return te.makeSpan(["mord",n.isOver?"mover":"munder"],[a],e)},VB=(t,e)=>{var r=Ro.mathMLnode(t.label);return new ke.MathNode(t.isOver?"mover":"munder",[zt(t.base,e),r])};Ie({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:i}=t;return{type:"horizBrace",mode:r.mode,label:i,isOver:/^\\over/.test(i),base:e[0]}},htmlBuilder:cT,mathmlBuilder:VB});Ie({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[1],n=lt(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:ar(i)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=yr(t.body,e,!1);return te.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=Xs(t.body,e);return r instanceof vi||(r=new vi("mrow",[r])),r.setAttribute("href",t.href),r}});Ie({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=lt(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:i}))return r.formatUnsupportedCmd("\\url");for(var n=[],o=0;o<i.length;o++){var s=i[o];s==="~"&&(s="\\textasciitilde"),n.push({type:"textord",mode:"text",text:s})}var a={type:"text",mode:r.mode,font:"\\texttt",body:n};return{type:"href",mode:r.mode,href:i,body:ar(a)}}});Ie({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(t,e){var{parser:r}=t;return{type:"hbox",mode:r.mode,body:ar(e[0])}},htmlBuilder(t,e){var r=yr(t.body,e,!1);return te.makeFragment(r)},mathmlBuilder(t,e){return new ke.MathNode("mrow",xi(t.body,e))}});Ie({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i,token:n}=t,o=lt(e[0],"raw").string,s=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var a,l={};switch(i){case"\\htmlClass":l.class=o,a={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,a={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,a={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),u=0;u<c.length;u++){var f=c[u].split("=");if(f.length!==2)throw new Pe("Error parsing key-value for \\htmlData");l["data-"+f[0].trim()]=f[1].trim()}a={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(a)?{type:"html",mode:r.mode,attributes:l,body:ar(s)}:r.formatUnsupportedCmd(i)},htmlBuilder:(t,e)=>{var r=yr(t.body,e,!1),i=["enclosing"];t.attributes.class&&i.push(...t.attributes.class.trim().split(/\s+/));var n=te.makeSpan(i,r,e);for(var o in t.attributes)o!=="class"&&t.attributes.hasOwnProperty(o)&&n.setAttribute(o,t.attributes[o]);return n},mathmlBuilder:(t,e)=>Xs(t.body,e)});Ie({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:ar(e[0]),mathml:ar(e[1])}},htmlBuilder:(t,e)=>{var r=yr(t.html,e,!1);return te.makeFragment(r)},mathmlBuilder:(t,e)=>Xs(t.mathml,e)});var Zb=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new Pe("Invalid size: '"+e+"' in \\includegraphics");var i={number:+(r[1]+r[2]),unit:r[3]};if(!P7(i))throw new Pe("Invalid unit: '"+i.unit+"' in \\includegraphics.");return i};Ie({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:i}=t,n={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},a="";if(r[0])for(var l=lt(r[0],"raw").string,c=l.split(","),u=0;u<c.length;u++){var f=c[u].split("=");if(f.length===2){var d=f[1].trim();switch(f[0].trim()){case"alt":a=d;break;case"width":n=Zb(d);break;case"height":o=Zb(d);break;case"totalheight":s=Zb(d);break;default:throw new Pe("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var p=lt(e[0],"url").url;return a===""&&(a=p,a=a.replace(/^.*[\\/]/,""),a=a.substring(0,a.lastIndexOf("."))),i.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:i.mode,alt:a,width:n,height:o,totalheight:s,src:p}:i.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(t,e)=>{var r=Gt(t.height,e),i=0;t.totalheight.number>0&&(i=Gt(t.totalheight,e)-r);var n=0;t.width.number>0&&(n=Gt(t.width,e));var o={height:Ae(r+i)};n>0&&(o.width=Ae(n)),i>0&&(o.verticalAlign=Ae(-i));var s=new e2(t.src,t.alt,o);return s.height=r,s.depth=i,s},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var i=Gt(t.height,e),n=0;if(t.totalheight.number>0&&(n=Gt(t.totalheight,e)-i,r.setAttribute("valign",Ae(-n))),r.setAttribute("height",Ae(i+n)),t.width.number>0){var o=Gt(t.width,e);r.setAttribute("width",Ae(o))}return r.setAttribute("src",t.src),r}});Ie({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:i}=t,n=lt(e[0],"size");if(r.settings.strict){var o=i[1]==="m",s=n.value.unit==="mu";o?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" supports only mu units, "+("not "+n.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder(t,e){return te.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=Gt(t.dimension,e);return new ke.SpaceNode(r)}});Ie({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"lap",mode:r.mode,alignment:i.slice(5),body:n}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=te.makeSpan([],[xt(t.body,e)]),r=te.makeSpan(["inner"],[r],e)):r=te.makeSpan(["inner"],[xt(t.body,e)]);var i=te.makeSpan(["fix"],[]),n=te.makeSpan([t.alignment],[r,i],e),o=te.makeSpan(["strut"]);return o.style.height=Ae(n.height+n.depth),n.depth&&(o.style.verticalAlign=Ae(-n.depth)),n.children.unshift(o),n=te.makeSpan(["thinbox"],[n],e),te.makeSpan(["mord","vbox"],[n],e)},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mpadded",[zt(t.body,e)]);if(t.alignment!=="rlap"){var i=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",i+"width")}return r.setAttribute("width","0px"),r}});Ie({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:i}=t,n=i.mode;i.switchMode("math");var o=r==="\\("?"\\)":"$",s=i.parseExpression(!1,o);return i.expect(o),i.switchMode(n),{type:"styling",mode:i.mode,style:"text",body:s}}});Ie({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new Pe("Mismatched "+t.funcName)}});var p7=(t,e)=>{switch(e.style.size){case We.DISPLAY.size:return t.display;case We.TEXT.size:return t.text;case We.SCRIPT.size:return t.script;case We.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};Ie({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:ar(e[0]),text:ar(e[1]),script:ar(e[2]),scriptscript:ar(e[3])}},htmlBuilder:(t,e)=>{var r=p7(t,e),i=yr(r,e,!1);return te.makeFragment(i)},mathmlBuilder:(t,e)=>{var r=p7(t,e);return Xs(r,e)}});var uT=(t,e,r,i,n,o,s)=>{t=te.makeSpan([],[t]);var a=r&&Ke.isCharacterBox(r),l,c;if(e){var u=xt(e,i.havingStyle(n.sup()),i);c={elem:u,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-u.depth)}}if(r){var f=xt(r,i.havingStyle(n.sub()),i);l={elem:f,kern:Math.max(i.fontMetrics().bigOpSpacing2,i.fontMetrics().bigOpSpacing4-f.height)}}var d;if(c&&l){var p=i.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+t.depth+s;d=te.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Ae(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Ae(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else if(l){var O=t.height-s;d=te.makeVList({positionType:"top",positionData:O,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Ae(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t}]},i)}else if(c){var w=t.depth+s;d=te.makeVList({positionType:"bottom",positionData:w,children:[{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Ae(o)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]},i)}else return t;var x=[d];if(l&&o!==0&&!a){var k=te.makeSpan(["mspace"],[],i);k.style.marginRight=Ae(o),x.unshift(k)}return te.makeSpan(["mop","op-limits"],x,i)},fT=["\\smallint"],Kl=(t,e)=>{var r,i,n=!1,o;t.type==="supsub"?(r=t.sup,i=t.sub,o=lt(t.base,"op"),n=!0):o=lt(t,"op");var s=e.style,a=!1;s.size===We.DISPLAY.size&&o.symbol&&!Ke.contains(fT,o.name)&&(a=!0);var l;if(o.symbol){var c=a?"Size2-Regular":"Size1-Regular",u="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(u=o.name.slice(1),o.name=u==="oiint"?"\\iint":"\\iiint"),l=te.makeSymbol(o.name,c,"math",e,["mop","op-symbol",a?"large-op":"small-op"]),u.length>0){var f=l.italic,d=te.staticSvg(u+"Size"+(a?"2":"1"),e);l=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:a?.08:0}]},e),o.name="\\"+u,l.classes.unshift("mop"),l.italic=f}}else if(o.body){var p=yr(o.body,e,!0);p.length===1&&p[0]instanceof wi?(l=p[0],l.classes[0]="mop"):l=te.makeSpan(["mop"],p,e)}else{for(var O=[],w=1;w<o.name.length;w++)O.push(te.mathsym(o.name[w],o.mode,e));l=te.makeSpan(["mop"],O,e)}var x=0,k=0;return(l instanceof wi||o.name==="\\oiint"||o.name==="\\oiiint")&&!o.suppressBaseShift&&(x=(l.height-l.depth)/2-e.fontMetrics().axisHeight,k=l.italic),n?uT(l,r,i,e,s,k,x):(x&&(l.style.position="relative",l.style.top=Ae(x)),l)},Fu=(t,e)=>{var r;if(t.symbol)r=new vi("mo",[Ki(t.name,t.mode)]),Ke.contains(fT,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new vi("mo",xi(t.body,e));else{r=new vi("mi",[new Ra(t.name.slice(1))]);var i=new vi("mo",[Ki("\u2061","text")]);t.parentIsSupSub?r=new vi("mrow",[r,i]):r=D7([r,i])}return r},qB={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Ie({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=i;return n.length===1&&(n=qB[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Kl,mathmlBuilder:Fu});Ie({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ar(i)}},htmlBuilder:Kl,mathmlBuilder:Fu});var FB={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ie({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kl,mathmlBuilder:Fu});Ie({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kl,mathmlBuilder:Fu});Ie({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,i=r;return i.length===1&&(i=FB[i]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Kl,mathmlBuilder:Fu});var hT=(t,e)=>{var r,i,n=!1,o;t.type==="supsub"?(r=t.sup,i=t.sub,o=lt(t.base,"operatorname"),n=!0):o=lt(t,"operatorname");var s;if(o.body.length>0){for(var a=o.body.map(f=>{var d=f.text;return typeof d=="string"?{type:"textord",mode:f.mode,text:d}:f}),l=yr(a,e.withFont("mathrm"),!0),c=0;c<l.length;c++){var u=l[c];u instanceof wi&&(u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=te.makeSpan(["mop"],l,e)}else s=te.makeSpan(["mop"],[],e);return n?uT(s,r,i,e,e.style,0,0):s},WB=(t,e)=>{for(var r=xi(t.body,e.withFont("mathrm")),i=!0,n=0;n<r.length;n++){var o=r[n];if(!(o instanceof ke.SpaceNode))if(o instanceof ke.MathNode)switch(o.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var s=o.children[0];o.children.length===1&&s instanceof ke.TextNode?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):i=!1;break}default:i=!1}else i=!1}if(i){var a=r.map(u=>u.toText()).join("");r=[new ke.TextNode(a)]}var l=new ke.MathNode("mi",r);l.setAttribute("mathvariant","normal");var c=new ke.MathNode("mo",[Ki("\u2061","text")]);return t.parentIsSupSub?new ke.MathNode("mrow",[l,c]):ke.newDocumentFragment([l,c])};Ie({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:i}=t,n=e[0];return{type:"operatorname",mode:r.mode,body:ar(n),alwaysHandleSupSub:i==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:hT,mathmlBuilder:WB});X("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Ia({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?te.makeFragment(yr(t.body,e,!1)):te.makeSpan(["mord"],yr(t.body,e,!0),e)},mathmlBuilder(t,e){return Xs(t.body,e,!0)}});Ie({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,i=e[0];return{type:"overline",mode:r.mode,body:i}},htmlBuilder(t,e){var r=xt(t.body,e.havingCrampedStyle()),i=te.makeLineSpan("overline-line",e),n=e.fontMetrics().defaultRuleThickness,o=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:i},{type:"kern",size:n}]},e);return te.makeSpan(["mord","overline"],[o],e)},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[new ke.TextNode("\u203E")]);r.setAttribute("stretchy","true");var i=new ke.MathNode("mover",[zt(t.body,e),r]);return i.setAttribute("accent","true"),i}});Ie({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"phantom",mode:r.mode,body:ar(i)}},htmlBuilder:(t,e)=>{var r=yr(t.body,e.withPhantom(),!1);return te.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=xi(t.body,e);return new ke.MathNode("mphantom",r)}});Ie({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"hphantom",mode:r.mode,body:i}},htmlBuilder:(t,e)=>{var r=te.makeSpan([],[xt(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var i=0;i<r.children.length;i++)r.children[i].height=0,r.children[i].depth=0;return r=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e),te.makeSpan(["mord"],[r],e)},mathmlBuilder:(t,e)=>{var r=xi(ar(t.body),e),i=new ke.MathNode("mphantom",r),n=new ke.MathNode("mpadded",[i]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}});Ie({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,i=e[0];return{type:"vphantom",mode:r.mode,body:i}},htmlBuilder:(t,e)=>{var r=te.makeSpan(["inner"],[xt(t.body,e.withPhantom())]),i=te.makeSpan(["fix"],[]);return te.makeSpan(["mord","rlap"],[r,i],e)},mathmlBuilder:(t,e)=>{var r=xi(ar(t.body),e),i=new ke.MathNode("mphantom",r),n=new ke.MathNode("mpadded",[i]);return n.setAttribute("width","0px"),n}});Ie({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,i=lt(e[0],"size").value,n=e[1];return{type:"raisebox",mode:r.mode,dy:i,body:n}},htmlBuilder(t,e){var r=xt(t.body,e),i=Gt(t.dy,e);return te.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new ke.MathNode("mpadded",[zt(t.body,e)]),i=t.dy.number+t.dy.unit;return r.setAttribute("voffset",i),r}});Ie({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});Ie({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,e,r){var{parser:i}=t,n=r[0],o=lt(e[0],"size"),s=lt(e[1],"size");return{type:"rule",mode:i.mode,shift:n&&lt(n,"size").value,width:o.value,height:s.value}},htmlBuilder(t,e){var r=te.makeSpan(["mord","rule"],[],e),i=Gt(t.width,e),n=Gt(t.height,e),o=t.shift?Gt(t.shift,e):0;return r.style.borderRightWidth=Ae(i),r.style.borderTopWidth=Ae(n),r.style.bottom=Ae(o),r.width=i,r.height=n+o,r.depth=-o,r.maxFontSize=n*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=Gt(t.width,e),i=Gt(t.height,e),n=t.shift?Gt(t.shift,e):0,o=e.color&&e.getColor()||"black",s=new ke.MathNode("mspace");s.setAttribute("mathbackground",o),s.setAttribute("width",Ae(r)),s.setAttribute("height",Ae(i));var a=new ke.MathNode("mpadded",[s]);return n>=0?a.setAttribute("height",Ae(n)):(a.setAttribute("height",Ae(n)),a.setAttribute("depth",Ae(-n))),a.setAttribute("voffset",Ae(n)),a}});function dT(t,e,r){for(var i=yr(t,e,!1),n=e.sizeMultiplier/r.sizeMultiplier,o=0;o<i.length;o++){var s=i[o].classes.indexOf("sizing");s<0?Array.prototype.push.apply(i[o].classes,e.sizingClasses(r)):i[o].classes[s+1]==="reset-size"+e.size&&(i[o].classes[s+1]="reset-size"+r.size),i[o].height*=n,i[o].depth*=n}return te.makeFragment(i)}var m7=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],ZB=(t,e)=>{var r=e.havingSize(t.size);return dT(t.body,r,e)};Ie({type:"sizing",names:m7,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:i,parser:n}=t,o=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:m7.indexOf(i)+1,body:o}},htmlBuilder:ZB,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),i=xi(t.body,r),n=new ke.MathNode("mstyle",i);return n.setAttribute("mathsize",Ae(r.sizeMultiplier)),n}});Ie({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{var{parser:i}=t,n=!1,o=!1,s=r[0]&&lt(r[0],"ordgroup");if(s)for(var a="",l=0;l<s.body.length;++l){var c=s.body[l];if(a=c.text,a==="t")n=!0;else if(a==="b")o=!0;else{n=!1,o=!1;break}}else n=!0,o=!0;var u=e[0];return{type:"smash",mode:i.mode,body:u,smashHeight:n,smashDepth:o}},htmlBuilder:(t,e)=>{var r=te.makeSpan([],[xt(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].height=0;if(t.smashDepth&&(r.depth=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].depth=0;var o=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e);return te.makeSpan(["mord"],[o],e)},mathmlBuilder:(t,e)=>{var r=new ke.MathNode("mpadded",[zt(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}});Ie({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:i}=t,n=r[0],o=e[0];return{type:"sqrt",mode:i.mode,body:o,index:n}},htmlBuilder(t,e){var r=xt(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=te.wrapFragment(r,e);var i=e.fontMetrics(),n=i.defaultRuleThickness,o=n;e.style.id<We.TEXT.id&&(o=e.fontMetrics().xHeight);var s=n+o/4,a=r.height+r.depth+s+n,{span:l,ruleWidth:c,advanceWidth:u}=_o.sqrtImage(a,e),f=l.height-c;f>r.height+r.depth+s&&(s=(s+f-r.height-r.depth)/2);var d=l.height-r.height-s-c;r.style.paddingLeft=Ae(u);var p=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:l},{type:"kern",size:c}]},e);if(t.index){var O=e.havingStyle(We.SCRIPTSCRIPT),w=xt(t.index,O,e),x=.6*(p.height-p.depth),k=te.makeVList({positionType:"shift",positionData:-x,children:[{type:"elem",elem:w}]},e),C=te.makeSpan(["root"],[k]);return te.makeSpan(["mord","sqrt"],[C,p],e)}else return te.makeSpan(["mord","sqrt"],[p],e)},mathmlBuilder(t,e){var{body:r,index:i}=t;return i?new ke.MathNode("mroot",[zt(r,e),zt(i,e)]):new ke.MathNode("msqrt",[zt(r,e)])}});var O7={display:We.DISPLAY,text:We.TEXT,script:We.SCRIPT,scriptscript:We.SCRIPTSCRIPT};Ie({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:i,parser:n}=t,o=n.parseExpression(!0,r),s=i.slice(1,i.length-5);return{type:"styling",mode:n.mode,style:s,body:o}},htmlBuilder(t,e){var r=O7[t.style],i=e.havingStyle(r).withFont("");return dT(t.body,i,e)},mathmlBuilder(t,e){var r=O7[t.style],i=e.havingStyle(r),n=xi(t.body,i),o=new ke.MathNode("mstyle",n),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},a=s[t.style];return o.setAttribute("scriptlevel",a[0]),o.setAttribute("displaystyle",a[1]),o}});var YB=function(e,r){var i=e.base;if(i)if(i.type==="op"){var n=i.limits&&(r.style.size===We.DISPLAY.size||i.alwaysHandleSupSub);return n?Kl:null}else if(i.type==="operatorname"){var o=i.alwaysHandleSupSub&&(r.style.size===We.DISPLAY.size||i.limits);return o?hT:null}else{if(i.type==="accent")return Ke.isCharacterBox(i.base)?O2:null;if(i.type==="horizBrace"){var s=!e.sub;return s===i.isOver?cT:null}else return null}else return null};Ia({type:"supsub",htmlBuilder(t,e){var r=YB(t,e);if(r)return r(t,e);var{base:i,sup:n,sub:o}=t,s=xt(i,e),a,l,c=e.fontMetrics(),u=0,f=0,d=i&&Ke.isCharacterBox(i);if(n){var p=e.havingStyle(e.style.sup());a=xt(n,p,e),d||(u=s.height-p.fontMetrics().supDrop*p.sizeMultiplier/e.sizeMultiplier)}if(o){var O=e.havingStyle(e.style.sub());l=xt(o,O,e),d||(f=s.depth+O.fontMetrics().subDrop*O.sizeMultiplier/e.sizeMultiplier)}var w;e.style===We.DISPLAY?w=c.sup1:e.style.cramped?w=c.sup3:w=c.sup2;var x=e.sizeMultiplier,k=Ae(.5/c.ptPerEm/x),C=null;if(l){var R=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(s instanceof wi||R)&&(C=Ae(-s.italic))}var Q;if(a&&l){u=Math.max(u,w,a.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var z=c.defaultRuleThickness,L=4*z;if(u-a.depth-(l.height-f)<L){f=L-(u-a.depth)+l.height;var Z=.8*c.xHeight-(u-a.depth);Z>0&&(u+=Z,f-=Z)}var re=[{type:"elem",elem:l,shift:f,marginRight:k,marginLeft:C},{type:"elem",elem:a,shift:-u,marginRight:k}];Q=te.makeVList({positionType:"individualShift",children:re},e)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var H=[{type:"elem",elem:l,marginLeft:C,marginRight:k}];Q=te.makeVList({positionType:"shift",positionData:f,children:H},e)}else if(a)u=Math.max(u,w,a.depth+.25*c.xHeight),Q=te.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:a,marginRight:k}]},e);else throw new Error("supsub must have either sup or sub.");var q=r2(s,"right")||"mord";return te.makeSpan([q],[s,te.makeSpan(["msupsub"],[Q])],e)},mathmlBuilder(t,e){var r=!1,i,n;t.base&&t.base.type==="horizBrace"&&(n=!!t.sup,n===t.base.isOver&&(r=!0,i=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var o=[zt(t.base,e)];t.sub&&o.push(zt(t.sub,e)),t.sup&&o.push(zt(t.sup,e));var s;if(r)s=i?"mover":"munder";else if(t.sub)if(t.sup){var c=t.base;c&&c.type==="op"&&c.limits&&e.style===We.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(e.style===We.DISPLAY||c.limits)?s="munderover":s="msubsup"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===We.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===We.DISPLAY)?s="munder":s="msub"}else{var a=t.base;a&&a.type==="op"&&a.limits&&(e.style===We.DISPLAY||a.alwaysHandleSupSub)||a&&a.type==="operatorname"&&a.alwaysHandleSupSub&&(a.limits||e.style===We.DISPLAY)?s="mover":s="msup"}return new ke.MathNode(s,o)}});Ia({type:"atom",htmlBuilder(t,e){return te.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[Ki(t.text,t.mode)]);if(t.family==="bin"){var i=p2(t,e);i==="bold-italic"&&r.setAttribute("mathvariant",i)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var pT={mi:"italic",mn:"normal",mtext:"normal"};Ia({type:"mathord",htmlBuilder(t,e){return te.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new ke.MathNode("mi",[Ki(t.text,t.mode,e)]),i=p2(t,e)||"italic";return i!==pT[r.type]&&r.setAttribute("mathvariant",i),r}});Ia({type:"textord",htmlBuilder(t,e){return te.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=Ki(t.text,t.mode,e),i=p2(t,e)||"normal",n;return t.mode==="text"?n=new ke.MathNode("mtext",[r]):/[0-9]/.test(t.text)?n=new ke.MathNode("mn",[r]):t.text==="\\prime"?n=new ke.MathNode("mo",[r]):n=new ke.MathNode("mi",[r]),i!==pT[n.type]&&n.setAttribute("mathvariant",i),n}});var Yb={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Hb={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ia({type:"spacing",htmlBuilder(t,e){if(Hb.hasOwnProperty(t.text)){var r=Hb[t.text].className||"";if(t.mode==="text"){var i=te.makeOrd(t,e,"textord");return i.classes.push(r),i}else return te.makeSpan(["mspace",r],[te.mathsym(t.text,t.mode,e)],e)}else{if(Yb.hasOwnProperty(t.text))return te.makeSpan(["mspace",Yb[t.text]],[],e);throw new Pe('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(Hb.hasOwnProperty(t.text))r=new ke.MathNode("mtext",[new ke.TextNode("\xA0")]);else{if(Yb.hasOwnProperty(t.text))return new ke.MathNode("mspace");throw new Pe('Unknown type of space "'+t.text+'"')}return r}});var g7=()=>{var t=new ke.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Ia({type:"tag",mathmlBuilder(t,e){var r=new ke.MathNode("mtable",[new ke.MathNode("mtr",[g7(),new ke.MathNode("mtd",[Xs(t.body,e)]),g7(),new ke.MathNode("mtd",[Xs(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var b7={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},y7={"\\textbf":"textbf","\\textmd":"textmd"},HB={"\\textit":"textit","\\textup":"textup"},v7=(t,e)=>{var r=t.font;return r?b7[r]?e.withTextFontFamily(b7[r]):y7[r]?e.withTextFontWeight(y7[r]):e.withTextFontShape(HB[r]):e};Ie({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:i}=t,n=e[0];return{type:"text",mode:r.mode,body:ar(n),font:i}},htmlBuilder(t,e){var r=v7(t,e),i=yr(t.body,r,!0);return te.makeSpan(["mord","text"],i,r)},mathmlBuilder(t,e){var r=v7(t,e);return Xs(t.body,r)}});Ie({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=xt(t.body,e),i=te.makeLineSpan("underline-line",e),n=e.fontMetrics().defaultRuleThickness,o=te.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:i},{type:"kern",size:3*n},{type:"elem",elem:r}]},e);return te.makeSpan(["mord","underline"],[o],e)},mathmlBuilder(t,e){var r=new ke.MathNode("mo",[new ke.TextNode("\u203E")]);r.setAttribute("stretchy","true");var i=new ke.MathNode("munder",[zt(t.body,e),r]);return i.setAttribute("accentunder","true"),i}});Ie({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=xt(t.body,e),i=e.fontMetrics().axisHeight,n=.5*(r.height-i-(r.depth+i));return te.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new ke.MathNode("mpadded",[zt(t.body,e)],["vcenter"])}});Ie({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new Pe("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=w7(t),i=[],n=e.havingStyle(e.style.text()),o=0;o<r.length;o++){var s=r[o];s==="~"&&(s="\\textasciitilde"),i.push(te.makeSymbol(s,"Typewriter-Regular",t.mode,n,["mord","texttt"]))}return te.makeSpan(["mord","text"].concat(n.sizingClasses(e)),te.tryCombineChars(i),n)},mathmlBuilder(t,e){var r=new ke.TextNode(w7(t)),i=new ke.MathNode("mtext",[r]);return i.setAttribute("mathvariant","monospace"),i}});var w7=t=>t.body.replace(/ /g,t.star?"\u2423":"\xA0"),Rs=z7,mT=`[ \r
]`,GB="\\\\[a-zA-Z@]+",KB="\\\\[^\uD800-\uDFFF]",JB="("+GB+")"+mT+"*",eV=`\\\\(
|[ \r ]+
?)[ \r ]*`,a2="[\u0300-\u036F]",tV=new RegExp(a2+"+$"),rV="("+mT+"+)|"+(eV+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(a2+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(a2+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+JB)+("|"+KB+")"),X0=class{constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(rV,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,r){this.catcodes[e]=r}lex(){var e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new Hn("EOF",new Xi(this,r,r));var i=this.tokenRegex.exec(e);if(i===null||i.index!==r)throw new Pe("Unexpected character: '"+e[r]+"'",new Hn(e[r],new Xi(this,r,r+1)));var n=i[6]||i[3]||(i[2]?"\\ ":" ");if(this.catcodes[n]===14){var o=e.indexOf(`
`,this.tokenRegex.lastIndex);return o===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new Hn(n,new Xi(this,r,this.tokenRegex.lastIndex))}},l2=class{constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Pe("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,r,i){if(i===void 0&&(i=!1),i){for(var n=0;n<this.undefStack.length;n++)delete this.undefStack[n][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}},iV=nT;X("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});X("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});X("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});X("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});X("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});X("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");X("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var x7={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};X("\\char",function(t){var e=t.popToken(),r,i="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")i=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new Pe("\\char` missing argument");i=e.text.charCodeAt(0)}else r=10;if(r){if(i=x7[e.text],i==null||i>=r)throw new Pe("Invalid base-"+r+" digit "+e.text);for(var n;(n=x7[t.future().text])!=null&&n<r;)i*=r,i+=n,t.popToken()}return"\\@char{"+i+"}"});var S2=(t,e,r)=>{var i=t.consumeArg().tokens;if(i.length!==1)throw new Pe("\\newcommand's first argument must be a macro name");var n=i[0].text,o=t.isDefined(n);if(o&&!e)throw new Pe("\\newcommand{"+n+"} attempting to redefine "+(n+"; use \\renewcommand"));if(!o&&!r)throw new Pe("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var s=0;if(i=t.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var a="",l=t.expandNextToken();l.text!=="]"&&l.text!=="EOF";)a+=l.text,l=t.expandNextToken();if(!a.match(/^\s*[0-9]+\s*$/))throw new Pe("Invalid number of arguments: "+a);s=parseInt(a),i=t.consumeArg().tokens}return t.macros.set(n,{tokens:i,numArgs:s}),""};X("\\newcommand",t=>S2(t,!1,!0));X("\\renewcommand",t=>S2(t,!0,!1));X("\\providecommand",t=>S2(t,!0,!0));X("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});X("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});X("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),Rs[r],Dt.math[r],Dt.text[r]),""});X("\\bgroup","{");X("\\egroup","}");X("~","\\nobreakspace");X("\\lq","`");X("\\rq","'");X("\\aa","\\r a");X("\\AA","\\r A");X("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");X("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");X("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");X("\u212C","\\mathscr{B}");X("\u2130","\\mathscr{E}");X("\u2131","\\mathscr{F}");X("\u210B","\\mathscr{H}");X("\u2110","\\mathscr{I}");X("\u2112","\\mathscr{L}");X("\u2133","\\mathscr{M}");X("\u211B","\\mathscr{R}");X("\u212D","\\mathfrak{C}");X("\u210C","\\mathfrak{H}");X("\u2128","\\mathfrak{Z}");X("\\Bbbk","\\Bbb{k}");X("\xB7","\\cdotp");X("\\llap","\\mathllap{\\textrm{#1}}");X("\\rlap","\\mathrlap{\\textrm{#1}}");X("\\clap","\\mathclap{\\textrm{#1}}");X("\\mathstrut","\\vphantom{(}");X("\\underbar","\\underline{\\text{#1}}");X("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');X("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");X("\\ne","\\neq");X("\u2260","\\neq");X("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");X("\u2209","\\notin");X("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");X("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");X("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");X("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");X("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");X("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");X("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");X("\u27C2","\\perp");X("\u203C","\\mathclose{!\\mkern-0.8mu!}");X("\u220C","\\notni");X("\u231C","\\ulcorner");X("\u231D","\\urcorner");X("\u231E","\\llcorner");X("\u231F","\\lrcorner");X("\xA9","\\copyright");X("\xAE","\\textregistered");X("\uFE0F","\\textregistered");X("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');X("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');X("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');X("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');X("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");X("\u22EE","\\vdots");X("\\varGamma","\\mathit{\\Gamma}");X("\\varDelta","\\mathit{\\Delta}");X("\\varTheta","\\mathit{\\Theta}");X("\\varLambda","\\mathit{\\Lambda}");X("\\varXi","\\mathit{\\Xi}");X("\\varPi","\\mathit{\\Pi}");X("\\varSigma","\\mathit{\\Sigma}");X("\\varUpsilon","\\mathit{\\Upsilon}");X("\\varPhi","\\mathit{\\Phi}");X("\\varPsi","\\mathit{\\Psi}");X("\\varOmega","\\mathit{\\Omega}");X("\\substack","\\begin{subarray}{c}#1\\end{subarray}");X("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");X("\\boxed","\\fbox{$\\displaystyle{#1}$}");X("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");X("\\implies","\\DOTSB\\;\\Longrightarrow\\;");X("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var k7={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};X("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in k7?e=k7[r]:(r.slice(0,4)==="\\not"||r in Dt.math&&Ke.contains(["bin","rel"],Dt.math[r].group))&&(e="\\dotsb"),e});var T2={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};X("\\dotso",function(t){var e=t.future().text;return e in T2?"\\ldots\\,":"\\ldots"});X("\\dotsc",function(t){var e=t.future().text;return e in T2&&e!==","?"\\ldots\\,":"\\ldots"});X("\\cdots",function(t){var e=t.future().text;return e in T2?"\\@cdots\\,":"\\@cdots"});X("\\dotsb","\\cdots");X("\\dotsm","\\cdots");X("\\dotsi","\\!\\cdots");X("\\dotsx","\\ldots\\,");X("\\DOTSI","\\relax");X("\\DOTSB","\\relax");X("\\DOTSX","\\relax");X("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");X("\\,","\\tmspace+{3mu}{.1667em}");X("\\thinspace","\\,");X("\\>","\\mskip{4mu}");X("\\:","\\tmspace+{4mu}{.2222em}");X("\\medspace","\\:");X("\\;","\\tmspace+{5mu}{.2777em}");X("\\thickspace","\\;");X("\\!","\\tmspace-{3mu}{.1667em}");X("\\negthinspace","\\!");X("\\negmedspace","\\tmspace-{4mu}{.2222em}");X("\\negthickspace","\\tmspace-{5mu}{.277em}");X("\\enspace","\\kern.5em ");X("\\enskip","\\hskip.5em\\relax");X("\\quad","\\hskip1em\\relax");X("\\qquad","\\hskip2em\\relax");X("\\tag","\\@ifstar\\tag@literal\\tag@paren");X("\\tag@paren","\\tag@literal{({#1})}");X("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new Pe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});X("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");X("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");X("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");X("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");X("\\newline","\\\\\\relax");X("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var OT=Ae(Yn["Main-Regular"]["T".charCodeAt(0)][1]-.7*Yn["Main-Regular"]["A".charCodeAt(0)][1]);X("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+OT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");X("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+OT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");X("\\hspace","\\@ifstar\\@hspacer\\@hspace");X("\\@hspace","\\hskip #1\\relax");X("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");X("\\ordinarycolon",":");X("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");X("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');X("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');X("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');X("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');X("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');X("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');X("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');X("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');X("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');X("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');X("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');X("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');X("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');X("\u2237","\\dblcolon");X("\u2239","\\eqcolon");X("\u2254","\\coloneqq");X("\u2255","\\eqqcolon");X("\u2A74","\\Coloneqq");X("\\ratio","\\vcentcolon");X("\\coloncolon","\\dblcolon");X("\\colonequals","\\coloneqq");X("\\coloncolonequals","\\Coloneqq");X("\\equalscolon","\\eqqcolon");X("\\equalscoloncolon","\\Eqqcolon");X("\\colonminus","\\coloneq");X("\\coloncolonminus","\\Coloneq");X("\\minuscolon","\\eqcolon");X("\\minuscoloncolon","\\Eqcolon");X("\\coloncolonapprox","\\Colonapprox");X("\\coloncolonsim","\\Colonsim");X("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");X("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");X("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");X("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");X("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");X("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");X("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");X("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");X("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");X("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");X("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");X("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");X("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");X("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");X("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");X("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");X("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");X("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");X("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");X("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");X("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");X("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");X("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");X("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");X("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");X("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");X("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");X("\\imath","\\html@mathml{\\@imath}{\u0131}");X("\\jmath","\\html@mathml{\\@jmath}{\u0237}");X("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");X("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");X("\u27E6","\\llbracket");X("\u27E7","\\rrbracket");X("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");X("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");X("\u2983","\\lBrace");X("\u2984","\\rBrace");X("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");X("\u29B5","\\minuso");X("\\darr","\\downarrow");X("\\dArr","\\Downarrow");X("\\Darr","\\Downarrow");X("\\lang","\\langle");X("\\rang","\\rangle");X("\\uarr","\\uparrow");X("\\uArr","\\Uparrow");X("\\Uarr","\\Uparrow");X("\\N","\\mathbb{N}");X("\\R","\\mathbb{R}");X("\\Z","\\mathbb{Z}");X("\\alef","\\aleph");X("\\alefsym","\\aleph");X("\\Alpha","\\mathrm{A}");X("\\Beta","\\mathrm{B}");X("\\bull","\\bullet");X("\\Chi","\\mathrm{X}");X("\\clubs","\\clubsuit");X("\\cnums","\\mathbb{C}");X("\\Complex","\\mathbb{C}");X("\\Dagger","\\ddagger");X("\\diamonds","\\diamondsuit");X("\\empty","\\emptyset");X("\\Epsilon","\\mathrm{E}");X("\\Eta","\\mathrm{H}");X("\\exist","\\exists");X("\\harr","\\leftrightarrow");X("\\hArr","\\Leftrightarrow");X("\\Harr","\\Leftrightarrow");X("\\hearts","\\heartsuit");X("\\image","\\Im");X("\\infin","\\infty");X("\\Iota","\\mathrm{I}");X("\\isin","\\in");X("\\Kappa","\\mathrm{K}");X("\\larr","\\leftarrow");X("\\lArr","\\Leftarrow");X("\\Larr","\\Leftarrow");X("\\lrarr","\\leftrightarrow");X("\\lrArr","\\Leftrightarrow");X("\\Lrarr","\\Leftrightarrow");X("\\Mu","\\mathrm{M}");X("\\natnums","\\mathbb{N}");X("\\Nu","\\mathrm{N}");X("\\Omicron","\\mathrm{O}");X("\\plusmn","\\pm");X("\\rarr","\\rightarrow");X("\\rArr","\\Rightarrow");X("\\Rarr","\\Rightarrow");X("\\real","\\Re");X("\\reals","\\mathbb{R}");X("\\Reals","\\mathbb{R}");X("\\Rho","\\mathrm{P}");X("\\sdot","\\cdot");X("\\sect","\\S");X("\\spades","\\spadesuit");X("\\sub","\\subset");X("\\sube","\\subseteq");X("\\supe","\\supseteq");X("\\Tau","\\mathrm{T}");X("\\thetasym","\\vartheta");X("\\weierp","\\wp");X("\\Zeta","\\mathrm{Z}");X("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");X("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");X("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");X("\\bra","\\mathinner{\\langle{#1}|}");X("\\ket","\\mathinner{|{#1}\\rangle}");X("\\braket","\\mathinner{\\langle{#1}\\rangle}");X("\\Bra","\\left\\langle#1\\right|");X("\\Ket","\\left|#1\\right\\rangle");var gT=t=>e=>{var r=e.consumeArg().tokens,i=e.consumeArg().tokens,n=e.consumeArg().tokens,o=e.consumeArg().tokens,s=e.macros.get("|"),a=e.macros.get("\\|");e.macros.beginGroup();var l=f=>d=>{t&&(d.macros.set("|",s),n.length&&d.macros.set("\\|",a));var p=f;if(!f&&n.length){var O=d.future();O.text==="|"&&(d.popToken(),p=!0)}return{tokens:p?n:i,numArgs:0}};e.macros.set("|",l(!1)),n.length&&e.macros.set("\\|",l(!0));var c=e.consumeArg().tokens,u=e.expandTokens([...o,...c,...r]);return e.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};X("\\bra@ket",gT(!1));X("\\bra@set",gT(!0));X("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");X("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");X("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");X("\\angln","{\\angl n}");X("\\blue","\\textcolor{##6495ed}{#1}");X("\\orange","\\textcolor{##ffa500}{#1}");X("\\pink","\\textcolor{##ff00af}{#1}");X("\\red","\\textcolor{##df0030}{#1}");X("\\green","\\textcolor{##28ae7b}{#1}");X("\\gray","\\textcolor{gray}{#1}");X("\\purple","\\textcolor{##9d38bd}{#1}");X("\\blueA","\\textcolor{##ccfaff}{#1}");X("\\blueB","\\textcolor{##80f6ff}{#1}");X("\\blueC","\\textcolor{##63d9ea}{#1}");X("\\blueD","\\textcolor{##11accd}{#1}");X("\\blueE","\\textcolor{##0c7f99}{#1}");X("\\tealA","\\textcolor{##94fff5}{#1}");X("\\tealB","\\textcolor{##26edd5}{#1}");X("\\tealC","\\textcolor{##01d1c1}{#1}");X("\\tealD","\\textcolor{##01a995}{#1}");X("\\tealE","\\textcolor{##208170}{#1}");X("\\greenA","\\textcolor{##b6ffb0}{#1}");X("\\greenB","\\textcolor{##8af281}{#1}");X("\\greenC","\\textcolor{##74cf70}{#1}");X("\\greenD","\\textcolor{##1fab54}{#1}");X("\\greenE","\\textcolor{##0d923f}{#1}");X("\\goldA","\\textcolor{##ffd0a9}{#1}");X("\\goldB","\\textcolor{##ffbb71}{#1}");X("\\goldC","\\textcolor{##ff9c39}{#1}");X("\\goldD","\\textcolor{##e07d10}{#1}");X("\\goldE","\\textcolor{##a75a05}{#1}");X("\\redA","\\textcolor{##fca9a9}{#1}");X("\\redB","\\textcolor{##ff8482}{#1}");X("\\redC","\\textcolor{##f9685d}{#1}");X("\\redD","\\textcolor{##e84d39}{#1}");X("\\redE","\\textcolor{##bc2612}{#1}");X("\\maroonA","\\textcolor{##ffbde0}{#1}");X("\\maroonB","\\textcolor{##ff92c6}{#1}");X("\\maroonC","\\textcolor{##ed5fa6}{#1}");X("\\maroonD","\\textcolor{##ca337c}{#1}");X("\\maroonE","\\textcolor{##9e034e}{#1}");X("\\purpleA","\\textcolor{##ddd7ff}{#1}");X("\\purpleB","\\textcolor{##c6b9fc}{#1}");X("\\purpleC","\\textcolor{##aa87ff}{#1}");X("\\purpleD","\\textcolor{##7854ab}{#1}");X("\\purpleE","\\textcolor{##543b78}{#1}");X("\\mintA","\\textcolor{##f5f9e8}{#1}");X("\\mintB","\\textcolor{##edf2df}{#1}");X("\\mintC","\\textcolor{##e0e5cc}{#1}");X("\\grayA","\\textcolor{##f6f7f7}{#1}");X("\\grayB","\\textcolor{##f0f1f2}{#1}");X("\\grayC","\\textcolor{##e3e5e6}{#1}");X("\\grayD","\\textcolor{##d6d8da}{#1}");X("\\grayE","\\textcolor{##babec2}{#1}");X("\\grayF","\\textcolor{##888d93}{#1}");X("\\grayG","\\textcolor{##626569}{#1}");X("\\grayH","\\textcolor{##3b3e40}{#1}");X("\\grayI","\\textcolor{##21242c}{#1}");X("\\kaBlue","\\textcolor{##314453}{#1}");X("\\kaGreen","\\textcolor{##71B307}{#1}");var bT={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},c2=class{constructor(e,r,i){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(e),this.macros=new l2(iV,r.macros),this.mode=i,this.stack=[]}feed(e){this.lexer=new X0(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var r,i,n;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:n,end:i}=this.consumeArg(["]"])}else({tokens:n,start:r,end:i}=this.consumeArg());return this.pushToken(new Hn("EOF",i.loc)),this.pushTokens(n),r.range(i,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],i=e&&e.length>0;i||this.consumeSpaces();var n=this.future(),o,s=0,a=0;do{if(o=this.popToken(),r.push(o),o.text==="{")++s;else if(o.text==="}"){if(--s,s===-1)throw new Pe("Extra }",o)}else if(o.text==="EOF")throw new Pe("Unexpected end of input in a macro argument, expected '"+(e&&i?e[a]:"}")+"'",o);if(e&&i)if((s===0||s===1&&e[a]==="{")&&o.text===e[a]){if(++a,a===e.length){r.splice(-a,a);break}}else a=0}while(s!==0||i);return n.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:o}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new Pe("The length of delimiters doesn't match the number of args!");for(var i=r[0],n=0;n<i.length;n++){var o=this.popToken();if(i[n]!==o.text)throw new Pe("Use of the macro doesn't match its definition",o)}}for(var s=[],a=0;a<e;a++)s.push(this.consumeArg(r&&r[a+1]).tokens);return s}expandOnce(e){var r=this.popToken(),i=r.text,n=r.noexpand?null:this._getExpansion(i);if(n==null||e&&n.unexpandable){if(e&&n==null&&i[0]==="\\"&&!this.isDefined(i))throw new Pe("Undefined control sequence: "+i);return this.pushToken(r),!1}if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new Pe("Too many expansions: infinite loop or need to increase maxExpand setting");var o=n.tokens,s=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){o=o.slice();for(var a=o.length-1;a>=0;--a){var l=o[a];if(l.text==="#"){if(a===0)throw new Pe("Incomplete placeholder at end of macro body",l);if(l=o[--a],l.text==="#")o.splice(a+1,1);else if(/^[1-9]$/.test(l.text))o.splice(a,2,...s[+l.text-1]);else throw new Pe("Not a valid argument number",l)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Hn(e)]):void 0}expandTokens(e){var r=[],i=this.stack.length;for(this.pushTokens(e);this.stack.length>i;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),r.push(n)}return r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(i=>i.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var i=this.lexer.catcodes[e];if(i!=null&&i!==13)return}var n=typeof r=="function"?r(this):r;if(typeof n=="string"){var o=0;if(n.indexOf("#")!==-1)for(var s=n.replace(/##/g,"");s.indexOf("#"+(o+1))!==-1;)++o;for(var a=new X0(n,this.settings),l=[],c=a.lex();c.text!=="EOF";)l.push(c),c=a.lex();l.reverse();var u={tokens:l,numArgs:o};return u}return n}isDefined(e){return this.macros.has(e)||Rs.hasOwnProperty(e)||Dt.math.hasOwnProperty(e)||Dt.text.hasOwnProperty(e)||bT.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Rs.hasOwnProperty(e)&&!Rs[e].primitive}},S7=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,T0=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),Gb={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},T7={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},I0=class t{constructor(e,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new c2(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new Pe("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Hn("}")),this.gullet.pushTokens(e);var i=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,i}parseExpression(e,r){for(var i=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(t.endOfExpression.indexOf(n.text)!==-1||r&&n.text===r||e&&Rs[n.text]&&Rs[n.text].infix)break;var o=this.parseAtom(r);if(o){if(o.type==="internal")continue}else break;i.push(o)}return this.mode==="text"&&this.formLigatures(i),this.handleInfixNodes(i)}handleInfixNodes(e){for(var r=-1,i,n=0;n<e.length;n++)if(e[n].type==="infix"){if(r!==-1)throw new Pe("only one infix operator per group",e[n].token);r=n,i=e[n].replaceWith}if(r!==-1&&i){var o,s,a=e.slice(0,r),l=e.slice(r+1);a.length===1&&a[0].type==="ordgroup"?o=a[0]:o={type:"ordgroup",mode:this.mode,body:a},l.length===1&&l[0].type==="ordgroup"?s=l[0]:s={type:"ordgroup",mode:this.mode,body:l};var c;return i==="\\\\abovefrac"?c=this.callFunction(i,[o,e[r],s],[]):c=this.callFunction(i,[o,s],[]),[c]}else return e}handleSupSubscript(e){var r=this.fetch(),i=r.text;this.consume(),this.consumeSpaces();var n=this.parseGroup(e);if(!n)throw new Pe("Expected group after '"+i+"'",r);return n}formatUnsupportedCmd(e){for(var r=[],i=0;i<e.length;i++)r.push({type:"textord",mode:"text",text:e[i]});var n={type:"text",mode:this.mode,body:r},o={type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]};return o}parseAtom(e){var r=this.parseGroup("atom",e);if(this.mode==="text")return r;for(var i,n;;){this.consumeSpaces();var o=this.fetch();if(o.text==="\\limits"||o.text==="\\nolimits"){if(r&&r.type==="op"){var s=o.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=o.text==="\\limits");else throw new Pe("Limit controls must follow a math operator",o);this.consume()}else if(o.text==="^"){if(i)throw new Pe("Double superscript",o);i=this.handleSupSubscript("superscript")}else if(o.text==="_"){if(n)throw new Pe("Double subscript",o);n=this.handleSupSubscript("subscript")}else if(o.text==="'"){if(i)throw new Pe("Double superscript",o);var a={type:"textord",mode:this.mode,text:"\\prime"},l=[a];for(this.consume();this.fetch().text==="'";)l.push(a),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),i={type:"ordgroup",mode:this.mode,body:l}}else if(T0[o.text]){var c=T0[o.text],u=S7.test(o.text);for(this.consume();;){var f=this.fetch().text;if(!T0[f]||S7.test(f)!==u)break;this.consume(),c+=T0[f]}var d=new t(c,this.settings).parse();u?n={type:"ordgroup",mode:"math",body:d}:i={type:"ordgroup",mode:"math",body:d}}else break}return i||n?{type:"supsub",mode:this.mode,base:r,sup:i,sub:n}:r}parseFunction(e,r){var i=this.fetch(),n=i.text,o=Rs[n];if(!o)return null;if(this.consume(),r&&r!=="atom"&&!o.allowedInArgument)throw new Pe("Got function '"+n+"' with no arguments"+(r?" as "+r:""),i);if(this.mode==="text"&&!o.allowedInText)throw new Pe("Can't use function '"+n+"' in text mode",i);if(this.mode==="math"&&o.allowedInMath===!1)throw new Pe("Can't use function '"+n+"' in math mode",i);var{args:s,optArgs:a}=this.parseArguments(n,o);return this.callFunction(n,s,a,i,e)}callFunction(e,r,i,n,o){var s={funcName:e,parser:this,token:n,breakOnTokenText:o},a=Rs[e];if(a&&a.handler)return a.handler(s,r,i);throw new Pe("No function handler for "+e)}parseArguments(e,r){var i=r.numArgs+r.numOptionalArgs;if(i===0)return{args:[],optArgs:[]};for(var n=[],o=[],s=0;s<i;s++){var a=r.argTypes&&r.argTypes[s],l=s<r.numOptionalArgs;(r.primitive&&a==null||r.type==="sqrt"&&s===1&&o[0]==null)&&(a="primitive");var c=this.parseGroupOfType("argument to '"+e+"'",a,l);if(l)o.push(c);else if(c!=null)n.push(c);else throw new Pe("Null argument, please report this as a bug")}return{args:n,optArgs:o}}parseGroupOfType(e,r,i){switch(r){case"color":return this.parseColorGroup(i);case"size":return this.parseSizeGroup(i);case"url":return this.parseUrlGroup(i);case"math":case"text":return this.parseArgumentGroup(i,r);case"hbox":{var n=this.parseArgumentGroup(i,"text");return n!=null?{type:"styling",mode:n.mode,body:[n],style:"text"}:null}case"raw":{var o=this.parseStringGroup("raw",i);return o!=null?{type:"raw",mode:"text",string:o.text}:null}case"primitive":{if(i)throw new Pe("A primitive argument cannot be optional");var s=this.parseGroup(e);if(s==null)throw new Pe("Expected group as "+e,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(i);default:throw new Pe("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,r){var i=this.gullet.scanArgument(r);if(i==null)return null;for(var n="",o;(o=this.fetch()).text!=="EOF";)n+=o.text,this.consume();return this.consume(),i.text=n,i}parseRegexGroup(e,r){for(var i=this.fetch(),n=i,o="",s;(s=this.fetch()).text!=="EOF"&&e.test(o+s.text);)n=s,o+=n.text,this.consume();if(o==="")throw new Pe("Invalid "+r+": '"+i.text+"'",i);return i.range(n,o)}parseColorGroup(e){var r=this.parseStringGroup("color",e);if(r==null)return null;var i=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!i)throw new Pe("Invalid color: '"+r.text+"'",r);var n=i[0];return/^[0-9a-f]{6}$/i.test(n)&&(n="#"+n),{type:"color-token",mode:this.mode,color:n}}parseSizeGroup(e){var r,i=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",e),!r)return null;!e&&r.text.length===0&&(r.text="0pt",i=!0);var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!n)throw new Pe("Invalid size: '"+r.text+"'",r);var o={number:+(n[1]+n[2]),unit:n[3]};if(!P7(o))throw new Pe("Invalid unit: '"+o.unit+"'",r);return{type:"size",mode:this.mode,value:o,isBlank:i}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var i=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:i}}parseArgumentGroup(e,r){var i=this.gullet.scanArgument(e);if(i==null)return null;var n=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var o=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:i.loc,body:o};return r&&this.switchMode(n),s}parseGroup(e,r){var i=this.fetch(),n=i.text,o;if(n==="{"||n==="\\begingroup"){this.consume();var s=n==="{"?"}":"\\endgroup";this.gullet.beginGroup();var a=this.parseExpression(!1,s),l=this.fetch();this.expect(s),this.gullet.endGroup(),o={type:"ordgroup",mode:this.mode,loc:Xi.range(i,l),body:a,semisimple:n==="\\begingroup"||void 0}}else if(o=this.parseFunction(r,e)||this.parseSymbol(),o==null&&n[0]==="\\"&&!bT.hasOwnProperty(n)){if(this.settings.throwOnError)throw new Pe("Undefined control sequence: "+n,i);o=this.formatUnsupportedCmd(n),this.consume()}return o}formLigatures(e){for(var r=e.length-1,i=0;i<r;++i){var n=e[i],o=n.text;o==="-"&&e[i+1].text==="-"&&(i+1<r&&e[i+2].text==="-"?(e.splice(i,3,{type:"textord",mode:"text",loc:Xi.range(n,e[i+2]),text:"---"}),r-=2):(e.splice(i,2,{type:"textord",mode:"text",loc:Xi.range(n,e[i+1]),text:"--"}),r-=1)),(o==="'"||o==="`")&&e[i+1].text===o&&(e.splice(i,2,{type:"textord",mode:"text",loc:Xi.range(n,e[i+1]),text:o+o}),r-=1)}}parseSymbol(){var e=this.fetch(),r=e.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var i=r.slice(5),n=i.charAt(0)==="*";if(n&&(i=i.slice(1)),i.length<2||i.charAt(0)!==i.slice(-1))throw new Pe(`\\verb assertion failed --
please report what input caused this bug`);return i=i.slice(1,-1),{type:"verb",mode:"text",body:i,star:n}}T7.hasOwnProperty(r[0])&&!Dt[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',e),r=T7[r[0]]+r.slice(1));var o=tV.exec(r);o&&(r=r.substring(0,o.index),r==="i"?r="\u0131":r==="j"&&(r="\u0237"));var s;if(Dt[this.mode][r]){this.settings.strict&&this.mode==="math"&&t2.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var a=Dt[this.mode][r].group,l=Xi.range(e),c;if(Zj.hasOwnProperty(a)){var u=a;c={type:"atom",mode:this.mode,family:u,loc:l,text:r}}else c={type:a,mode:this.mode,loc:l,text:r};s=c}else if(r.charCodeAt(0)>=128)this.settings.strict&&(C7(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),s={type:"textord",mode:"text",loc:Xi.range(e),text:r};else return null;if(this.consume(),o)for(var f=0;f<o[0].length;f++){var d=o[0][f];if(!Gb[d])throw new Pe("Unknown accent ' "+d+"'",e);var p=Gb[d][this.mode]||Gb[d].text;if(!p)throw new Pe("Accent "+d+" unsupported in "+this.mode+" mode",e);s={type:"accent",mode:this.mode,loc:Xi.range(e),label:p,isStretchy:!1,isShifty:!0,base:s}}return s}};I0.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var E2=function(e,r){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var i=new I0(e,r);delete i.gullet.macros.current["\\df@tag"];var n=i.parse();if(delete i.gullet.macros.current["\\current@color"],delete i.gullet.macros.current["\\color"],i.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new Pe("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:i.subparse([new Hn("\\df@tag")])}]}return n},yT=function(e,r,i){r.textContent="";var n=C2(e,i).toNode();r.appendChild(n)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),yT=function(){throw new Pe("KaTeX doesn't work in quirks mode.")});var nV=function(e,r){var i=C2(e,r).toMarkup();return i},oV=function(e,r){var i=new Nu(r);return E2(e,i)},vT=function(e,r,i){if(i.throwOnError||!(e instanceof Pe))throw e;var n=te.makeSpan(["katex-error"],[new wi(r)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+i.errorColor),n},C2=function(e,r){var i=new Nu(r);try{var n=E2(e,i);return OB(n,e,i)}catch(o){return vT(o,e,i)}},sV=function(e,r){var i=new Nu(r);try{var n=E2(e,i);return gB(n,e,i)}catch(o){return vT(o,e,i)}},P2={version:"0.16.9",render:yT,renderToString:nV,ParseError:Pe,SETTINGS_SCHEMA:E0,__parse:oV,__renderToDomTree:C2,__renderToHTMLTree:sV,__setFontMetrics:jj,__defineSymbol:v,__defineFunction:Ie,__defineMacro:X,__domTree:{Span:Xa,Anchor:Bu,SymbolNode:wi,SvgNode:vn,PathNode:Gn,LineNode:Vu}};var aV={};function j0(t){let e=this,r=t||aV,i=e.data(),n=i.micromarkExtensions||(i.micromarkExtensions=[]),o=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),s=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);n.push(Db(r)),o.push(Lb()),s.push(zb(r))}function wT(t,e){let r={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,r),t.applyData(e,r)}function xT(t,e){let r={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,r),[t.applyData(e,r),{type:"text",value:`
`}]}function kT(t,e){let r=e.value?e.value+`
`:"",i={};e.lang&&(i.className=["language-"+e.lang]);let n={type:"element",tagName:"code",properties:i,children:[{type:"text",value:r}]};return e.meta&&(n.data={meta:e.meta}),t.patch(e,n),n=t.applyData(e,n),n={type:"element",tagName:"pre",properties:{},children:[n]},t.patch(e,n),n}function ST(t,e){let r={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function TT(t,e){let r={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}var k1e=Ls(new RegExp("\\p{P}","u")),S1e=Ls(/[A-Za-z]/),Q2=Ls(/[\dA-Za-z]/),T1e=Ls(/[#-'*+\--9=?A-Z^-~]/);var E1e=Ls(/\d/),C1e=Ls(/[\dA-Fa-f]/),P1e=Ls(/[!-/:-@[-`{-~]/);var Q1e=Ls(/\s/);function Ls(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function Ji(t){let e=[],r=-1,i=0,n=0;for(;++r<t.length;){let o=t.charCodeAt(r),s="";if(o===37&&Q2(t.charCodeAt(r+1))&&Q2(t.charCodeAt(r+2)))n=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){let a=t.charCodeAt(r+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),n=1):s="\uFFFD"}else s=String.fromCharCode(o);s&&(e.push(t.slice(i,r),encodeURIComponent(s)),i=r+n+1,s=""),n&&(r+=n,n=0)}return e.join("")+t.slice(i)}function ET(t,e){let r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=String(e.identifier).toUpperCase(),n=Ji(i.toLowerCase()),o=t.footnoteOrder.indexOf(i),s,a=t.footnoteCounts.get(i);a===void 0?(a=0,t.footnoteOrder.push(i),s=t.footnoteOrder.length):s=o+1,a+=1,t.footnoteCounts.set(i,a);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+n,id:r+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};t.patch(e,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,c),t.applyData(e,c)}function CT(t,e){let r={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function PT(t,e){if(t.options.allowDangerousHtml){let r={type:"raw",value:e.value};return t.patch(e,r),t.applyData(e,r)}}function B0(t,e){let r=e.referenceType,i="]";if(r==="collapsed"?i+="[]":r==="full"&&(i+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+i}];let n=t.all(e),o=n[0];o&&o.type==="text"?o.value="["+o.value:n.unshift({type:"text",value:"["});let s=n[n.length-1];return s&&s.type==="text"?s.value+=i:n.push({type:"text",value:i}),n}function QT(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return B0(t,e);let n={src:Ji(i.url||""),alt:e.alt};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,o),t.applyData(e,o)}function _T(t,e){let r={src:Ji(e.url)};e.alt!==null&&e.alt!==void 0&&(r.alt=e.alt),e.title!==null&&e.title!==void 0&&(r.title=e.title);let i={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,i),t.applyData(e,i)}function AT(t,e){let r={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,r);let i={type:"element",tagName:"code",properties:{},children:[r]};return t.patch(e,i),t.applyData(e,i)}function RT(t,e){let r=String(e.identifier).toUpperCase(),i=t.definitionById.get(r);if(!i)return B0(t,e);let n={href:Ji(i.url||"")};i.title!==null&&i.title!==void 0&&(n.title=i.title);let o={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)}function $T(t,e){let r={href:Ji(e.url)};e.title!==null&&e.title!==void 0&&(r.title=e.title);let i={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function XT(t,e,r){let i=t.all(e),n=r?lV(r):IT(e),o={},s=[];if(typeof e.checked=="boolean"){let u=i[0],f;u&&u.type==="element"&&u.tagName==="p"?f=u:(f={type:"element",tagName:"p",properties:{},children:[]},i.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<i.length;){let u=i[a];(n||a!==0||u.type!=="element"||u.tagName!=="p")&&s.push({type:"text",value:`
`}),u.type==="element"&&u.tagName==="p"&&!n?s.push(...u.children):s.push(u)}let l=i[i.length-1];l&&(n||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
`});let c={type:"element",tagName:"li",properties:o,children:s};return t.patch(e,c),t.applyData(e,c)}function lV(t){let e=!1;if(t.type==="list"){e=t.spread||!1;let r=t.children,i=-1;for(;!e&&++i<r.length;)e=IT(r[i])}return e}function IT(t){let e=t.spread;return e==null?t.children.length>1: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);++n<i.length;){let s=i[n];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}let o={type:"element",tagName:e.ordered?"ol":"ul",properties:r,children:t.wrap(i,!0)};return t.patch(e,o),t.applyData(e,o)}function zT(t,e){let r={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function MT(t,e){let r={type:"root",children:t.wrap(t.all(e))};return t.patch(e,r),t.applyData(e,r)}function DT(t,e){let r={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}var La=UT("end"),en=UT("start");function UT(t){return e;function e(r){let i=r&&r.position&&r.position[t]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function Wu(t){let e=en(t),r=La(t);if(e&&r)return{start:e,end:r}}function NT(t,e){let r=t.all(e),i=r.shift(),n=[];if(i){let s={type:"element",tagName:"thead",properties:{},children:t.wrap([i],!0)};t.patch(e.children[0],s),n.push(s)}if(r.length>0){let s={type:"element",tagName:"tbody",properties:{},children:t.wrap(r,!0)},a=en(e.children[1]),l=La(e.children[e.children.length-1]);a&&l&&(s.position={start:a,end:l}),n.push(s)}let o={type:"element",tagName:"table",properties:{},children:t.wrap(n,!0)};return t.patch(e,o),t.applyData(e,o)}function jT(t,e,r){let i=r?r.children:void 0,o=(i?i.indexOf(e):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,a=s?s.length:e.children.length,l=-1,c=[];for(;++l<a;){let f=e.children[l],d={},p=s?s[l]:void 0;p&&(d.align=p);let O={type:"element",tagName:o,properties:d,children:[]};f&&(O.children=t.all(f),t.patch(f,O),O=t.applyData(f,O)),c.push(O)}let u={type:"element",tagName:"tr",properties:{},children:t.wrap(c,!0)};return t.patch(e,u),t.applyData(e,u)}function BT(t,e){let r={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function qT(t){let e=String(t),r=/\r?\n|\r/g,i=r.exec(e),n=0,o=[];for(;i;)o.push(VT(e.slice(n,i.index),n>0,!0),i[0]),n=i.index+i[0].length,i=r.exec(e);return o.push(VT(e.slice(n),n>0,!1)),o.join("")}function VT(t,e,r){let i=0,n=t.length;if(e){let o=t.codePointAt(i);for(;o===9||o===32;)i++,o=t.codePointAt(i)}if(r){let o=t.codePointAt(n-1);for(;o===9||o===32;)n--,o=t.codePointAt(n-1)}return n>i?t.slice(i,n):""}function FT(t,e){let r={type:"text",value:qT(String(e.value))};return t.patch(e,r),t.applyData(e,r)}function WT(t,e){let r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,r),t.applyData(e,r)}var ZT={blockquote:wT,break:xT,code:kT,delete:ST,emphasis:TT,footnoteReference:ET,heading:CT,html:PT,imageReference:QT,image:_T,inlineCode:AT,linkReference:RT,link:$T,listItem:XT,list:LT,paragraph:zT,root:MT,strong:DT,table:NT,tableCell:BT,tableRow:jT,text:FT,thematicBreak:WT,toml:V0,yaml:V0,definition:V0,footnoteDefinition:V0};function V0(){}var YT=typeof self=="object"?self:globalThis,cV=(t,e)=>{let r=(n,o)=>(t.set(o,n),n),i=n=>{if(t.has(n))return t.get(n);let[o,s]=e[n];switch(o){case 0:case-1:return r(s,n);case 1:{let a=r([],n);for(let l of s)a.push(i(l));return a}case 2:{let a=r({},n);for(let[l,c]of s)a[i(l)]=i(c);return a}case 3:return r(new Date(s),n);case 4:{let{source:a,flags:l}=s;return r(new RegExp(a,l),n)}case 5:{let a=r(new Map,n);for(let[l,c]of s)a.set(i(l),i(c));return a}case 6:{let a=r(new Set,n);for(let l of s)a.add(i(l));return a}case 7:{let{name:a,message:l}=s;return r(new YT[a](l),n)}case 8:return r(BigInt(s),n);case"BigInt":return r(Object(BigInt(s)),n)}return r(new YT[o](s),n)};return i},$2=t=>cV(new Map,t)(0);var Jl="",{toString:uV}={},{keys:fV}=Object,Gu=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let r=uV.call(t).slice(8,-1);switch(r){case"Array":return[1,Jl];case"Object":return[2,Jl];case"Date":return[3,Jl];case"RegExp":return[4,Jl];case"Map":return[5,Jl];case"Set":return[6,Jl]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},Y0=([t,e])=>t===0&&(e==="function"||e==="symbol"),hV=(t,e,r,i)=>{let n=(s,a)=>{let l=i.push(s)-1;return r.set(a,l),l},o=s=>{if(r.has(s))return r.get(s);let[a,l]=Gu(s);switch(a){case 0:{let u=s;switch(l){case"bigint":a=8,u=s.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return n([-1],s)}return n([a,u],s)}case 1:{if(l)return n([l,[...s]],s);let u=[],f=n([a,u],s);for(let d of s)u.push(o(d));return f}case 2:{if(l)switch(l){case"BigInt":return n([l,s.toString()],s);case"Boolean":case"Number":case"String":return n([l,s.valueOf()],s)}if(e&&"toJSON"in s)return o(s.toJSON());let u=[],f=n([a,u],s);for(let d of fV(s))(t||!Y0(Gu(s[d])))&&u.push([o(d),o(s[d])]);return f}case 3:return n([a,s.toISOString()],s);case 4:{let{source:u,flags:f}=s;return n([a,{source:u,flags:f}],s)}case 5:{let u=[],f=n([a,u],s);for(let[d,p]of s)(t||!(Y0(Gu(d))||Y0(Gu(p))))&&u.push([o(d),o(p)]);return f}case 6:{let u=[],f=n([a,u],s);for(let d of s)(t||!Y0(Gu(d)))&&u.push(o(d));return f}}let{message:c}=s;return n([a,{name:l,message:c}],s)};return o},X2=(t,{json:e,lossy:r}={})=>{let i=[];return hV(!(e||r),!!e,new Map,i)(t),i};var wn=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?$2(X2(t,e)):structuredClone(t):(t,e)=>$2(X2(t,e));function dV(t,e){let r=[{type:"text",value:"\u21A9"}];return e>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),r}function pV(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function HT(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||dV,i=t.options.footnoteBackLabel||pV,n=t.options.footnoteLabel||"Footnotes",o=t.options.footnoteLabelTagName||"h2",s=t.options.footnoteLabelProperties||{className:["sr-only"]},a=[],l=-1;for(;++l<t.footnoteOrder.length;){let c=t.footnoteById.get(t.footnoteOrder[l]);if(!c)continue;let u=t.all(c),f=String(c.identifier).toUpperCase(),d=Ji(f.toLowerCase()),p=0,O=[],w=t.footnoteCounts.get(f);for(;w!==void 0&&++p<=w;){O.length>0&&O.push({type:"text",value:" "});let C=typeof r=="string"?r:r(l,p);typeof C=="string"&&(C={type:"text",value:C}),O.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+d+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof i=="string"?i:i(l,p),className:["data-footnote-backref"]},children:Array.isArray(C)?C:[C]})}let x=u[u.length-1];if(x&&x.type==="element"&&x.tagName==="p"){let C=x.children[x.children.length-1];C&&C.type==="text"?C.value+=" ":x.children.push({type:"text",value:" "}),x.children.push(...O)}else u.push(...O);let k={type:"element",tagName:"li",properties:{id:e+"fn-"+d},children:t.wrap(u,!0)};t.patch(c,k),a.push(k)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:Be(ne({},wn(s)),{id:"footnote-label"}),children:[{type:"text",value:n}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:t.wrap(a,!0)},{type:"text",value:`
`}]}}var I2={}.hasOwnProperty,mV={};function KT(t,e){let r=e||mV,i=new Map,n=new Map,o=new Map,s=ne(ne({},ZT),r.handlers),a={all:c,applyData:gV,definitionById:i,footnoteById:n,footnoteCounts:o,footnoteOrder:[],handlers:s,one:l,options:r,patch:OV,wrap:yV};return Wr(t,function(u){if(u.type==="definition"||u.type==="footnoteDefinition"){let f=u.type==="definition"?i:n,d=String(u.identifier).toUpperCase();f.has(d)||f.set(d,u)}}),a;function l(u,f){let d=u.type,p=a.handlers[d];if(I2.call(a.handlers,d)&&p)return p(a,u,f);if(a.options.passThrough&&a.options.passThrough.includes(d)){if("children"in u){let w=u,{children:x}=w,k=qr(w,["children"]),C=wn(k);return C.children=a.all(u),C}return wn(u)}return(a.options.unknownHandler||bV)(a,u,f)}function c(u){let f=[];if("children"in u){let d=u.children,p=-1;for(;++p<d.length;){let O=a.one(d[p],u);if(O){if(p&&d[p-1].type==="break"&&(!Array.isArray(O)&&O.type==="text"&&(O.value=GT(O.value)),!Array.isArray(O)&&O.type==="element")){let w=O.children[0];w&&w.type==="text"&&(w.value=GT(w.value))}Array.isArray(O)?f.push(...O):f.push(O)}}}return f}}function OV(t,e){t.position&&(e.position=Wu(t))}function gV(t,e){let r=e;if(t&&t.data){let i=t.data.hName,n=t.data.hChildren,o=t.data.hProperties;if(typeof i=="string")if(r.type==="element")r.tagName=i;else{let s="children"in r?r.children:[r];r={type:"element",tagName:i,properties:{},children:s}}r.type==="element"&&o&&Object.assign(r.properties,wn(o)),"children"in r&&r.children&&n!==null&&n!==void 0&&(r.children=n)}return r}function bV(t,e){let r=e.data||{},i="value"in e&&!(I2.call(r,"hProperties")||I2.call(r,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function yV(t,e){let r=[],i=-1;for(e&&r.push({type:"text",value:`
`});++i<t.length;)i&&r.push({type:"text",value:`
`}),r.push(t[i]);return e&&t.length>0&&r.push({type:"text",value:`
`}),r}function GT(t){let e=0,r=t.charCodeAt(e);for(;r===9||r===32;)e++,r=t.charCodeAt(e);return t.slice(e)}function H0(t,e){let r=KT(t,e),i=r.one(t,void 0),n=HT(r),o=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return n&&("children"in o,o.children.push({type:"text",value:`
`},n)),o}function G0(t,e){return t&&"run"in t?async function(r,i){let n=H0(r,e);await t.run(n,i)}:function(r){return H0(r,e||t)}}var Xo=class{constructor(e,r,i){this.property=e,this.normal=r,i&&(this.space=i)}};Xo.prototype.property={};Xo.prototype.normal={};Xo.prototype.space=null;function L2(t,e){let r={},i={},n=-1;for(;++n<t.length;)Object.assign(r,t[n].property),Object.assign(i,t[n].normal);return new Xo(r,i,e)}function Io(t){return t.toLowerCase()}var Yr=class{constructor(e,r){this.property=e,this.attribute=r}};Yr.prototype.space=null;Yr.prototype.boolean=!1;Yr.prototype.booleanish=!1;Yr.prototype.overloadedBoolean=!1;Yr.prototype.number=!1;Yr.prototype.commaSeparated=!1;Yr.prototype.spaceSeparated=!1;Yr.prototype.commaOrSpaceSeparated=!1;Yr.prototype.mustUseProperty=!1;Yr.prototype.defined=!1;var Ku={};su(Ku,{boolean:()=>it,booleanish:()=>nr,commaOrSpaceSeparated:()=>ki,commaSeparated:()=>zs,number:()=>Ee,overloadedBoolean:()=>z2,spaceSeparated:()=>Qt});var vV=0,it=za(),nr=za(),z2=za(),Ee=za(),Qt=za(),zs=za(),ki=za();function za(){return 2**++vV}var M2=Object.keys(Ku),Ma=class extends Yr{constructor(e,r,i,n){let o=-1;if(super(e,r),JT(this,"space",n),typeof i=="number")for(;++o<M2.length;){let s=M2[o];JT(this,M2[o],(i&Ku[s])===Ku[s])}}};Ma.prototype.defined=!0;function JT(t,e,r){r&&(t[e]=r)}var wV={}.hasOwnProperty;function tn(t){let e={},r={},i;for(i in t.properties)if(wV.call(t.properties,i)){let n=t.properties[i],o=new Ma(i,t.transform(t.attributes||{},i),n,t.space);t.mustUseProperty&&t.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),e[i]=o,r[Io(i)]=i,r[Io(o.attribute)]=i}return new Xo(e,r,t.space)}var D2=tn({space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});var U2=tn({space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function K0(t,e){return e in t?t[e]:e}function J0(t,e){return K0(t,e.toLowerCase())}var N2=tn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:J0,properties:{xmlns:null,xmlnsXLink:null}});var j2=tn({transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:nr,ariaAutoComplete:null,ariaBusy:nr,ariaChecked:nr,ariaColCount:Ee,ariaColIndex:Ee,ariaColSpan:Ee,ariaControls:Qt,ariaCurrent:null,ariaDescribedBy:Qt,ariaDetails:null,ariaDisabled:nr,ariaDropEffect:Qt,ariaErrorMessage:null,ariaExpanded:nr,ariaFlowTo:Qt,ariaGrabbed:nr,ariaHasPopup:null,ariaHidden:nr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Qt,ariaLevel:Ee,ariaLive:null,ariaModal:nr,ariaMultiLine:nr,ariaMultiSelectable:nr,ariaOrientation:null,ariaOwns:Qt,ariaPlaceholder:null,ariaPosInSet:Ee,ariaPressed:nr,ariaReadOnly:nr,ariaRelevant:null,ariaRequired:nr,ariaRoleDescription:Qt,ariaRowCount:Ee,ariaRowIndex:Ee,ariaRowSpan:Ee,ariaSelected:nr,ariaSetSize:Ee,ariaSort:null,ariaValueMax:Ee,ariaValueMin:Ee,ariaValueNow:Ee,ariaValueText:null,role:null}});var e8=tn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:J0,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:zs,acceptCharset:Qt,accessKey:Qt,action:null,allow:null,allowFullScreen:it,allowPaymentRequest:it,allowUserMedia:it,alt:null,as:null,async:it,autoCapitalize:null,autoComplete:Qt,autoFocus:it,autoPlay:it,blocking:Qt,capture:it,charSet:null,checked:it,cite:null,className:Qt,cols:Ee,colSpan:null,content:null,contentEditable:nr,controls:it,controlsList:Qt,coords:Ee|zs,crossOrigin:null,data:null,dateTime:null,decoding:null,default:it,defer:it,dir:null,dirName:null,disabled:it,download:z2,draggable:nr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:it,formTarget:null,headers:Qt,height:Ee,hidden:it,high:Ee,href:null,hrefLang:null,htmlFor:Qt,httpEquiv:Qt,id:null,imageSizes:null,imageSrcSet:null,inert:it,inputMode:null,integrity:null,is:null,isMap:it,itemId:null,itemProp:Qt,itemRef:Qt,itemScope:it,itemType:Qt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:it,low:Ee,manifest:null,max:null,maxLength:Ee,media:null,method:null,min:null,minLength:Ee,multiple:it,muted:it,name:null,nonce:null,noModule:it,noValidate:it,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:it,optimum:Ee,pattern:null,ping:Qt,placeholder:null,playsInline:it,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:it,referrerPolicy:null,rel:Qt,required:it,reversed:it,rows:Ee,rowSpan:Ee,sandbox:Qt,scope:null,scoped:it,seamless:it,selected:it,shape:null,size:Ee,sizes:null,slot:null,span:Ee,spellCheck:nr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ee,step:null,style:null,tabIndex:Ee,target:null,title:null,translate:null,type:null,typeMustMatch:it,useMap:null,value:nr,width:Ee,wrap:null,align:null,aLink:null,archive:Qt,axis:null,background:null,bgColor:null,border:Ee,borderColor:null,bottomMargin:Ee,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:it,declare:it,event:null,face:null,frame:null,frameBorder:null,hSpace:Ee,leftMargin:Ee,link:null,longDesc:null,lowSrc:null,marginHeight:Ee,marginWidth:Ee,noResize:it,noHref:it,noShade:it,noWrap:it,object:null,profile:null,prompt:null,rev:null,rightMargin:Ee,rules:null,scheme:null,scrolling:nr,standby:null,summary:null,text:null,topMargin:Ee,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ee,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:it,disableRemotePlayback:it,prefix:null,property:null,results:Ee,security:null,unselectable:null}});var t8=tn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:K0,properties:{about:ki,accentHeight:Ee,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ee,amplitude:Ee,arabicForm:null,ascent:Ee,attributeName:null,attributeType:null,azimuth:Ee,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ee,by:null,calcMode:null,capHeight:Ee,className:Qt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ee,diffuseConstant:Ee,direction:null,display:null,dur:null,divisor:Ee,dominantBaseline:null,download:it,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ee,enableBackground:null,end:null,event:null,exponent:Ee,externalResourcesRequired:null,fill:null,fillOpacity:Ee,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:zs,g2:zs,glyphName:zs,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ee,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ee,horizOriginX:Ee,horizOriginY:Ee,id:null,ideographic:Ee,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ee,k:Ee,k1:Ee,k2:Ee,k3:Ee,k4:Ee,kernelMatrix:ki,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ee,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ee,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ee,overlineThickness:Ee,paintOrder:null,panose1:null,path:null,pathLength:Ee,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Qt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ee,pointsAtY:Ee,pointsAtZ:Ee,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ki,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ki,rev:ki,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ki,requiredFeatures:ki,requiredFonts:ki,requiredFormats:ki,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Ee,specularExponent:Ee,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ee,strikethroughThickness:Ee,string:null,stroke:null,strokeDashArray:ki,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ee,strokeOpacity:Ee,strokeWidth:null,style:null,surfaceScale:Ee,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ki,tabIndex:Ee,tableValues:null,target:null,targetX:Ee,targetY:Ee,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ki,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ee,underlineThickness:Ee,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ee,values:null,vAlphabetic:Ee,vMathematical:Ee,vectorEffect:null,vHanging:Ee,vIdeographic:Ee,version:null,vertAdvY:Ee,vertOriginX:Ee,vertOriginY:Ee,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ee,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});var xV=/^data[-\w.:]+$/i,r8=/-[a-z]/g,kV=/[A-Z]/g;function Lo(t,e){let r=Io(e),i=e,n=Yr;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&xV.test(e)){if(e.charAt(4)==="-"){let o=e.slice(5).replace(r8,TV);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=e.slice(4);if(!r8.test(o)){let s=o.replace(kV,SV);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}n=Ma}return new n(i,e)}function SV(t){return"-"+t.toLowerCase()}function TV(t){return t.charAt(1).toUpperCase()}var zo=L2([U2,D2,N2,j2,e8],"html"),rn=L2([U2,D2,N2,j2,t8],"svg");function B2(t){let e=[],r=String(t||""),i=r.indexOf(","),n=0,o=!1;for(;!o;){i===-1&&(i=r.length,o=!0);let s=r.slice(n,i).trim();(s||!o)&&e.push(s),n=i+1,i=r.indexOf(",",n)}return e}function ep(t,e){let r=e||{};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}var i8=/[#.]/g;function V2(t,e){let r=t||"",i={},n=0,o,s;for(;n<r.length;){i8.lastIndex=n;let a=i8.exec(r),l=r.slice(n,a?a.index:r.length);l&&(o?o==="#"?i.id=l:Array.isArray(i.className)?i.className.push(l):i.className=[l]:s=l,n+=l.length),a&&(o=a[0],n++)}return{type:"element",tagName:s||e||"div",properties:i,children:[]}}function q2(t){let e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function tp(t){return t.join(" ").trim()}var EV=new Set(["button","menu","reset","submit"]),F2={}.hasOwnProperty;function Z2(t,e,r){let i=r&&_V(r);function n(o,s,...a){let l=-1,c;if(o==null){c={type:"root",children:[]};let u=s;a.unshift(u)}else if(c=V2(o,e),c.tagName=c.tagName.toLowerCase(),i&&F2.call(i,c.tagName)&&(c.tagName=i[c.tagName]),CV(s,c.tagName)){let u;for(u in s)F2.call(s,u)&&PV(t,c.properties,u,s[u])}else a.unshift(s);for(;++l<a.length;)W2(c.children,a[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return n}function CV(t,e){return t==null||typeof t!="object"||Array.isArray(t)?!1:e==="input"||!t.type||typeof t.type!="string"?!0:"children"in t&&Array.isArray(t.children)?!1:e==="button"?EV.has(t.type.toLowerCase()):!("value"in t)}function PV(t,e,r,i){let n=Lo(t,r),o=-1,s;if(i!=null){if(typeof i=="number"){if(Number.isNaN(i))return;s=i}else typeof i=="boolean"?s=i:typeof i=="string"?n.spaceSeparated?s=q2(i):n.commaSeparated?s=B2(i):n.commaOrSpaceSeparated?s=q2(B2(i).join(" ")):s=n8(n,n.property,i):Array.isArray(i)?s=i.concat():s=n.property==="style"?QV(i):String(i);if(Array.isArray(s)){let a=[];for(;++o<s.length;){let l=n8(n,n.property,s[o]);a[o]=l}s=a}if(n.property==="className"&&Array.isArray(e.className)){let a=s;s=e.className.concat(a)}e[n.property]=s}}function W2(t,e){let r=-1;if(e!=null)if(typeof e=="string"||typeof e=="number")t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(;++r<e.length;)W2(t,e[r]);else if(typeof e=="object"&&"type"in e)e.type==="root"?W2(t,e.children):t.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function n8(t,e,r){if(typeof r=="string"){if(t.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((t.boolean||t.overloadedBoolean)&&(r===""||Io(r)===Io(e)))return!0}return r}function QV(t){let e=[],r;for(r in t)F2.call(t,r)&&e.push([r,t[r]].join(": "));return e.join("; ")}function _V(t){let e={},r=-1;for(;++r<t.length;)e[t[r].toLowerCase()]=t[r];return e}var o8=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"];var Ju=Z2(zo,"div"),ef=Z2(rn,"g",o8);var Y2=/\r?\n|\r/g;function H2(t){let e=String(t),r=[];for(Y2.lastIndex=0;Y2.test(e);)r.push(Y2.lastIndex);return r.push(e.length+1),{toPoint:i,toOffset:n};function i(o){let s=-1;if(typeof o=="number"&&o>-1&&o<r[r.length-1]){for(;++s<r.length;)if(r[s]>o)return{line:s+1,column:o-(s>0?r[s-1]:0)+1,offset:o}}}function n(o){let s=o&&o.line,a=o&&o.column;if(typeof s=="number"&&typeof a=="number"&&!Number.isNaN(s)&&!Number.isNaN(a)&&s-1 in r){let l=(r[s-2]||0)+a-1||0;if(l>-1&&l<r[r.length-1])return l}}}var Si={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};var a8={}.hasOwnProperty,AV=Object.prototype;function tf(t,e){let r=e||{};return G2({file:r.file||void 0,location:!1,schema:r.space==="svg"?rn:zo,verbose:r.verbose||!1},t)}function G2(t,e){let r;switch(e.nodeName){case"#comment":{let i=e;return r={type:"comment",value:i.data},rp(t,i,r),r}case"#document":case"#document-fragment":{let i=e,n="mode"in i?i.mode==="quirks"||i.mode==="limited-quirks":!1;if(r={type:"root",children:l8(t,e.childNodes),data:{quirksMode:n}},t.file&&t.location){let o=String(t.file),s=H2(o),a=s.toPoint(0),l=s.toPoint(o.length);r.position={start:a,end:l}}return r}case"#documentType":{let i=e;return r={type:"doctype"},rp(t,i,r),r}case"#text":{let i=e;return r={type:"text",value:i.value},rp(t,i,r),r}default:return r=RV(t,e),r}}function l8(t,e){let r=-1,i=[];for(;++r<e.length;){let n=G2(t,e[r]);i.push(n)}return i}function RV(t,e){let r=t.schema;t.schema=e.namespaceURI===Si.svg?rn:zo;let i=-1,n={};for(;++i<e.attrs.length;){let a=e.attrs[i],l=(a.prefix?a.prefix+":":"")+a.name;a8.call(AV,l)||(n[l]=a.value)}let s=(t.schema.space==="svg"?ef:Ju)(e.tagName,n,l8(t,e.childNodes));if(rp(t,e,s),s.tagName==="template"){let a=e,l=a.sourceCodeLocation,c=l&&l.startTag&&ec(l.startTag),u=l&&l.endTag&&ec(l.endTag),f=G2(t,a.content);c&&u&&t.file&&(f.position={start:c.end,end:u.start}),s.content=f}return t.schema=r,s}function rp(t,e,r){if("sourceCodeLocation"in e&&e.sourceCodeLocation&&t.file){let i=$V(t,r,e.sourceCodeLocation);i&&(t.location=!0,r.position=i)}}function $V(t,e,r){let i=ec(r);if(e.type==="element"){let n=e.children[e.children.length-1];if(i&&!r.endTag&&n&&n.position&&n.position.end&&(i.end=Object.assign({},n.position.end)),t.verbose){let o={},s;if(r.attrs)for(s in r.attrs)a8.call(r.attrs,s)&&(o[Lo(t.schema,s).property]=ec(r.attrs[s]));r.startTag;let a=ec(r.startTag),l=r.endTag?ec(r.endTag):void 0,c={opening:a};l&&(c.closing=l),c.properties=o,e.data={position:c}}}return i}function ec(t){let e=s8({line:t.startLine,column:t.startCol,offset:t.startOffset}),r=s8({line:t.endLine,column:t.endCol,offset:t.endOffset});return e||r?{start:e,end:r}:void 0}function s8(t){return t.line&&t.column?t:void 0}var XV={},IV={}.hasOwnProperty,c8=Nl("type",{handlers:{root:LV,element:NV,text:DV,comment:UV,doctype:MV}});function K2(t,e){let i=(e||XV).space;return c8(t,i==="svg"?rn:zo)}function LV(t,e){let r={nodeName:"#document",mode:(t.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=J2(t.children,r,e),tc(t,r),r}function zV(t,e){let r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=J2(t.children,r,e),tc(t,r),r}function MV(t){let e={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return tc(t,e),e}function DV(t){let e={nodeName:"#text",value:t.value,parentNode:null};return tc(t,e),e}function UV(t){let e={nodeName:"#comment",data:t.value,parentNode:null};return tc(t,e),e}function NV(t,e){let r=e,i=r;t.type==="element"&&t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=rn);let n=[],o;if(t.properties){for(o in t.properties)if(o!=="children"&&IV.call(t.properties,o)){let l=jV(i,o,t.properties[o]);l&&n.push(l)}}let s=i.space;let a={nodeName:t.tagName,tagName:t.tagName,attrs:n,namespaceURI:Si[s],childNodes:[],parentNode:null};return a.childNodes=J2(t.children,a,i),tc(t,a),t.tagName==="template"&&t.content&&(a.content=zV(t.content,i)),a}function jV(t,e,r){let i=Lo(t,e);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&i.boolean)return;Array.isArray(r)&&(r=i.commaSeparated?ep(r):tp(r));let n={name:i.attribute,value:r===!0?"":String(r)};if(i.space&&i.space!=="html"&&i.space!=="svg"){let o=n.name.indexOf(":");o<0?n.prefix="":(n.name=n.name.slice(o+1),n.prefix=i.attribute.slice(0,o)),n.namespace=Si[i.space]}return n}function J2(t,e,r){let i=-1,n=[];if(t)for(;++i<t.length;){let o=c8(t[i],r);o.parentNode=e,n.push(o)}return n}function tc(t,e){let r=t.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,e.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}var ip=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var BV=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Ut="\uFFFD",I;(function(t){t[t.EOF=-1]="EOF",t[t.NULL=0]="NULL",t[t.TABULATION=9]="TABULATION",t[t.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",t[t.LINE_FEED=10]="LINE_FEED",t[t.FORM_FEED=12]="FORM_FEED",t[t.SPACE=32]="SPACE",t[t.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",t[t.QUOTATION_MARK=34]="QUOTATION_MARK",t[t.NUMBER_SIGN=35]="NUMBER_SIGN",t[t.AMPERSAND=38]="AMPERSAND",t[t.APOSTROPHE=39]="APOSTROPHE",t[t.HYPHEN_MINUS=45]="HYPHEN_MINUS",t[t.SOLIDUS=47]="SOLIDUS",t[t.DIGIT_0=48]="DIGIT_0",t[t.DIGIT_9=57]="DIGIT_9",t[t.SEMICOLON=59]="SEMICOLON",t[t.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",t[t.EQUALS_SIGN=61]="EQUALS_SIGN",t[t.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",t[t.QUESTION_MARK=63]="QUESTION_MARK",t[t.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",t[t.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",t[t.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",t[t.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",t[t.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",t[t.GRAVE_ACCENT=96]="GRAVE_ACCENT",t[t.LATIN_SMALL_A=97]="LATIN_SMALL_A",t[t.LATIN_SMALL_F=102]="LATIN_SMALL_F",t[t.LATIN_SMALL_X=120]="LATIN_SMALL_X",t[t.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",t[t.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"})(I=I||(I={}));var li={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function np(t){return t>=55296&&t<=57343}function u8(t){return t>=56320&&t<=57343}function f8(t,e){return(t-55296)*1024+9216+e}function op(t){return t!==32&&t!==10&&t!==13&&t!==9&&t!==12&&t>=1&&t<=31||t>=127&&t<=159}function sp(t){return t>=64976&&t<=65007||BV.has(t)}var le;(function(t){t.controlCharacterInInputStream="control-character-in-input-stream",t.noncharacterInInputStream="noncharacter-in-input-stream",t.surrogateInInputStream="surrogate-in-input-stream",t.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",t.endTagWithAttributes="end-tag-with-attributes",t.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",t.unexpectedSolidusInTag="unexpected-solidus-in-tag",t.unexpectedNullCharacter="unexpected-null-character",t.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",t.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",t.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",t.missingEndTagName="missing-end-tag-name",t.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",t.unknownNamedCharacterReference="unknown-named-character-reference",t.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",t.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",t.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",t.eofBeforeTagName="eof-before-tag-name",t.eofInTag="eof-in-tag",t.missingAttributeValue="missing-attribute-value",t.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",t.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",t.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",t.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",t.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",t.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",t.missingDoctypePublicIdentifier="missing-doctype-public-identifier",t.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",t.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",t.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",t.cdataInHtmlContent="cdata-in-html-content",t.incorrectlyOpenedComment="incorrectly-opened-comment",t.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",t.eofInDoctype="eof-in-doctype",t.nestedComment="nested-comment",t.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",t.eofInComment="eof-in-comment",t.incorrectlyClosedComment="incorrectly-closed-comment",t.eofInCdata="eof-in-cdata",t.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",t.nullCharacterReference="null-character-reference",t.surrogateCharacterReference="surrogate-character-reference",t.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",t.controlCharacterReference="control-character-reference",t.noncharacterCharacterReference="noncharacter-character-reference",t.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",t.missingDoctypeName="missing-doctype-name",t.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",t.duplicateAttribute="duplicate-attribute",t.nonConformingDoctype="non-conforming-doctype",t.missingDoctype="missing-doctype",t.misplacedDoctype="misplaced-doctype",t.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",t.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",t.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",t.openElementsLeftAfterEof="open-elements-left-after-eof",t.abandonedHeadElementChild="abandoned-head-element-child",t.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",t.nestedNoscriptInHead="nested-noscript-in-head",t.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(le=le||(le={}));var qV=65536,ap=class{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=qV,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:r,col:i,offset:n}=this;return{code:e,startLine:r,endLine:r,startCol:i,endCol:i,startOffset:n,endOffset:n}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let r=this.html.charCodeAt(this.pos+1);if(u8(r))return this.pos++,this._addGap(),f8(e,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,I.EOF;return this._err(le.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,r){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,r){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(e,this.pos);for(let i=0;i<e.length;i++)if((this.html.charCodeAt(this.pos+i)|32)!==e.charCodeAt(i))return!1;return!0}peek(e){let r=this.pos+e;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,I.EOF;let i=this.html.charCodeAt(r);return i===I.CARRIAGE_RETURN?I.LINE_FEED:i}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,I.EOF;let e=this.html.charCodeAt(this.pos);return e===I.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,I.LINE_FEED):e===I.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,np(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===I.LINE_FEED||e===I.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){op(e)?this._err(le.controlCharacterInInputStream):sp(e)&&this._err(le.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}};var Mo={};su(Mo,{TokenType:()=>ht,getTokenAttr:()=>rf});var ht;(function(t){t[t.CHARACTER=0]="CHARACTER",t[t.NULL_CHARACTER=1]="NULL_CHARACTER",t[t.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",t[t.START_TAG=3]="START_TAG",t[t.END_TAG=4]="END_TAG",t[t.COMMENT=5]="COMMENT",t[t.DOCTYPE=6]="DOCTYPE",t[t.EOF=7]="EOF",t[t.HIBERNATION=8]="HIBERNATION"})(ht=ht||(ht={}));function rf(t,e){for(let r=t.attrs.length-1;r>=0;r--)if(t.attrs[r].name===e)return t.attrs[r].value;return null}var to=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(t=>t.charCodeAt(0)));var h8=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(t=>t.charCodeAt(0)));var ey,FV=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ty=(ey=String.fromCodePoint)!==null&&ey!==void 0?ey:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function ry(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=FV.get(t))!==null&&e!==void 0?e:t}var Sr;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Sr||(Sr={}));var WV=32,xn;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(xn||(xn={}));function iy(t){return t>=Sr.ZERO&&t<=Sr.NINE}function ZV(t){return t>=Sr.UPPER_A&&t<=Sr.UPPER_F||t>=Sr.LOWER_A&&t<=Sr.LOWER_F}function YV(t){return t>=Sr.UPPER_A&&t<=Sr.UPPER_Z||t>=Sr.LOWER_A&&t<=Sr.LOWER_Z||iy(t)}function HV(t){return t===Sr.EQUALS||YV(t)}var kr;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(kr||(kr={}));var Da;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Da||(Da={}));var ny=class{constructor(e,r,i){this.decodeTree=e,this.emitCodePoint=r,this.errors=i,this.state=kr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Da.Strict}startEntity(e){this.decodeMode=e,this.state=kr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case kr.EntityStart:return e.charCodeAt(r)===Sr.NUM?(this.state=kr.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=kr.NamedEntity,this.stateNamedEntity(e,r));case kr.NumericStart:return this.stateNumericStart(e,r);case kr.NumericDecimal:return this.stateNumericDecimal(e,r);case kr.NumericHex:return this.stateNumericHex(e,r);case kr.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(e.charCodeAt(r)|WV)===Sr.LOWER_X?(this.state=kr.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=kr.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,i,n){if(r!==i){let o=i-r;this.result=this.result*Math.pow(n,o)+parseInt(e.substr(r,o),n),this.consumed+=o}}stateNumericHex(e,r){let i=r;for(;r<e.length;){let n=e.charCodeAt(r);if(iy(n)||ZV(n))r+=1;else return this.addToNumericResult(e,i,r,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(e,i,r,16),-1}stateNumericDecimal(e,r){let i=r;for(;r<e.length;){let n=e.charCodeAt(r);if(iy(n))r+=1;else return this.addToNumericResult(e,i,r,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(e,i,r,10),-1}emitNumericEntity(e,r){var i;if(this.consumed<=r)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Sr.SEMI)this.consumed+=1;else if(this.decodeMode===Da.Strict)return 0;return this.emitCodePoint(ry(this.result),this.consumed),this.errors&&(e!==Sr.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,r){let{decodeTree:i}=this,n=i[this.treeIndex],o=(n&xn.VALUE_LENGTH)>>14;for(;r<e.length;r++,this.excess++){let s=e.charCodeAt(r);if(this.treeIndex=oy(i,n,this.treeIndex+Math.max(1,o),s),this.treeIndex<0)return this.result===0||this.decodeMode===Da.Attribute&&(o===0||HV(s))?0:this.emitNotTerminatedNamedEntity();if(n=i[this.treeIndex],o=(n&xn.VALUE_LENGTH)>>14,o!==0){if(s===Sr.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Da.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:r,decodeTree:i}=this,n=(i[r]&xn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,i){let{decodeTree:n}=this;return this.emitCodePoint(r===1?n[e]&~xn.VALUE_LENGTH:n[e+1],i),r===3&&this.emitCodePoint(n[e+2],i),i}end(){var e;switch(this.state){case kr.NamedEntity:return this.result!==0&&(this.decodeMode!==Da.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case kr.NumericDecimal:return this.emitNumericEntity(0,2);case kr.NumericHex:return this.emitNumericEntity(0,3);case kr.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case kr.EntityStart:return 0}}};function d8(t){let e="",r=new ny(t,i=>e+=ty(i));return function(n,o){let s=0,a=0;for(;(a=n.indexOf("&",a))>=0;){e+=n.slice(s,a),r.startEntity(o);let c=r.write(n,a+1);if(c<0){s=a+r.end();break}s=a+c,a=c===0?s+1:s}let l=e+n.slice(s);return e="",l}}function oy(t,e,r,i){let n=(e&xn.BRANCH_LENGTH)>>7,o=e&xn.JUMP_TABLE;if(n===0)return o!==0&&i===o?r:-1;if(o){let l=i-o;return l<0||l>=n?-1:t[r+l]-1}let s=r,a=s+n-1;for(;s<=a;){let l=s+a>>>1,c=t[l];if(c<i)s=l+1;else if(c>i)a=l-1;else return t[l+n]}return-1}var Zye=d8(to),Yye=d8(h8);var rc={};su(rc,{ATTRS:()=>kn,DOCUMENT_MODE:()=>Xr,NS:()=>Oe,SPECIAL_ELEMENTS:()=>sy,TAG_ID:()=>g,TAG_NAMES:()=>J,getTagID:()=>Ms,hasUnescapedText:()=>p8,isNumberedHeader:()=>nf});var Oe;(function(t){t.HTML="http://www.w3.org/1999/xhtml",t.MATHML="http://www.w3.org/1998/Math/MathML",t.SVG="http://www.w3.org/2000/svg",t.XLINK="http://www.w3.org/1999/xlink",t.XML="http://www.w3.org/XML/1998/namespace",t.XMLNS="http://www.w3.org/2000/xmlns/"})(Oe=Oe||(Oe={}));var kn;(function(t){t.TYPE="type",t.ACTION="action",t.ENCODING="encoding",t.PROMPT="prompt",t.NAME="name",t.COLOR="color",t.FACE="face",t.SIZE="size"})(kn=kn||(kn={}));var Xr;(function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"})(Xr=Xr||(Xr={}));var J;(function(t){t.A="a",t.ADDRESS="address",t.ANNOTATION_XML="annotation-xml",t.APPLET="applet",t.AREA="area",t.ARTICLE="article",t.ASIDE="aside",t.B="b",t.BASE="base",t.BASEFONT="basefont",t.BGSOUND="bgsound",t.BIG="big",t.BLOCKQUOTE="blockquote",t.BODY="body",t.BR="br",t.BUTTON="button",t.CAPTION="caption",t.CENTER="center",t.CODE="code",t.COL="col",t.COLGROUP="colgroup",t.DD="dd",t.DESC="desc",t.DETAILS="details",t.DIALOG="dialog",t.DIR="dir",t.DIV="div",t.DL="dl",t.DT="dt",t.EM="em",t.EMBED="embed",t.FIELDSET="fieldset",t.FIGCAPTION="figcaption",t.FIGURE="figure",t.FONT="font",t.FOOTER="footer",t.FOREIGN_OBJECT="foreignObject",t.FORM="form",t.FRAME="frame",t.FRAMESET="frameset",t.H1="h1",t.H2="h2",t.H3="h3",t.H4="h4",t.H5="h5",t.H6="h6",t.HEAD="head",t.HEADER="header",t.HGROUP="hgroup",t.HR="hr",t.HTML="html",t.I="i",t.IMG="img",t.IMAGE="image",t.INPUT="input",t.IFRAME="iframe",t.KEYGEN="keygen",t.LABEL="label",t.LI="li",t.LINK="link",t.LISTING="listing",t.MAIN="main",t.MALIGNMARK="malignmark",t.MARQUEE="marquee",t.MATH="math",t.MENU="menu",t.META="meta",t.MGLYPH="mglyph",t.MI="mi",t.MO="mo",t.MN="mn",t.MS="ms",t.MTEXT="mtext",t.NAV="nav",t.NOBR="nobr",t.NOFRAMES="noframes",t.NOEMBED="noembed",t.NOSCRIPT="noscript",t.OBJECT="object",t.OL="ol",t.OPTGROUP="optgroup",t.OPTION="option",t.P="p",t.PARAM="param",t.PLAINTEXT="plaintext",t.PRE="pre",t.RB="rb",t.RP="rp",t.RT="rt",t.RTC="rtc",t.RUBY="ruby",t.S="s",t.SCRIPT="script",t.SECTION="section",t.SELECT="select",t.SOURCE="source",t.SMALL="small",t.SPAN="span",t.STRIKE="strike",t.STRONG="strong",t.STYLE="style",t.SUB="sub",t.SUMMARY="summary",t.SUP="sup",t.TABLE="table",t.TBODY="tbody",t.TEMPLATE="template",t.TEXTAREA="textarea",t.TFOOT="tfoot",t.TD="td",t.TH="th",t.THEAD="thead",t.TITLE="title",t.TR="tr",t.TRACK="track",t.TT="tt",t.U="u",t.UL="ul",t.SVG="svg",t.VAR="var",t.WBR="wbr",t.XMP="xmp"})(J=J||(J={}));var g;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.A=1]="A",t[t.ADDRESS=2]="ADDRESS",t[t.ANNOTATION_XML=3]="ANNOTATION_XML",t[t.APPLET=4]="APPLET",t[t.AREA=5]="AREA",t[t.ARTICLE=6]="ARTICLE",t[t.ASIDE=7]="ASIDE",t[t.B=8]="B",t[t.BASE=9]="BASE",t[t.BASEFONT=10]="BASEFONT",t[t.BGSOUND=11]="BGSOUND",t[t.BIG=12]="BIG",t[t.BLOCKQUOTE=13]="BLOCKQUOTE",t[t.BODY=14]="BODY",t[t.BR=15]="BR",t[t.BUTTON=16]="BUTTON",t[t.CAPTION=17]="CAPTION",t[t.CENTER=18]="CENTER",t[t.CODE=19]="CODE",t[t.COL=20]="COL",t[t.COLGROUP=21]="COLGROUP",t[t.DD=22]="DD",t[t.DESC=23]="DESC",t[t.DETAILS=24]="DETAILS",t[t.DIALOG=25]="DIALOG",t[t.DIR=26]="DIR",t[t.DIV=27]="DIV",t[t.DL=28]="DL",t[t.DT=29]="DT",t[t.EM=30]="EM",t[t.EMBED=31]="EMBED",t[t.FIELDSET=32]="FIELDSET",t[t.FIGCAPTION=33]="FIGCAPTION",t[t.FIGURE=34]="FIGURE",t[t.FONT=35]="FONT",t[t.FOOTER=36]="FOOTER",t[t.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",t[t.FORM=38]="FORM",t[t.FRAME=39]="FRAME",t[t.FRAMESET=40]="FRAMESET",t[t.H1=41]="H1",t[t.H2=42]="H2",t[t.H3=43]="H3",t[t.H4=44]="H4",t[t.H5=45]="H5",t[t.H6=46]="H6",t[t.HEAD=47]="HEAD",t[t.HEADER=48]="HEADER",t[t.HGROUP=49]="HGROUP",t[t.HR=50]="HR",t[t.HTML=51]="HTML",t[t.I=52]="I",t[t.IMG=53]="IMG",t[t.IMAGE=54]="IMAGE",t[t.INPUT=55]="INPUT",t[t.IFRAME=56]="IFRAME",t[t.KEYGEN=57]="KEYGEN",t[t.LABEL=58]="LABEL",t[t.LI=59]="LI",t[t.LINK=60]="LINK",t[t.LISTING=61]="LISTING",t[t.MAIN=62]="MAIN",t[t.MALIGNMARK=63]="MALIGNMARK",t[t.MARQUEE=64]="MARQUEE",t[t.MATH=65]="MATH",t[t.MENU=66]="MENU",t[t.META=67]="META",t[t.MGLYPH=68]="MGLYPH",t[t.MI=69]="MI",t[t.MO=70]="MO",t[t.MN=71]="MN",t[t.MS=72]="MS",t[t.MTEXT=73]="MTEXT",t[t.NAV=74]="NAV",t[t.NOBR=75]="NOBR",t[t.NOFRAMES=76]="NOFRAMES",t[t.NOEMBED=77]="NOEMBED",t[t.NOSCRIPT=78]="NOSCRIPT",t[t.OBJECT=79]="OBJECT",t[t.OL=80]="OL",t[t.OPTGROUP=81]="OPTGROUP",t[t.OPTION=82]="OPTION",t[t.P=83]="P",t[t.PARAM=84]="PARAM",t[t.PLAINTEXT=85]="PLAINTEXT",t[t.PRE=86]="PRE",t[t.RB=87]="RB",t[t.RP=88]="RP",t[t.RT=89]="RT",t[t.RTC=90]="RTC",t[t.RUBY=91]="RUBY",t[t.S=92]="S",t[t.SCRIPT=93]="SCRIPT",t[t.SECTION=94]="SECTION",t[t.SELECT=95]="SELECT",t[t.SOURCE=96]="SOURCE",t[t.SMALL=97]="SMALL",t[t.SPAN=98]="SPAN",t[t.STRIKE=99]="STRIKE",t[t.STRONG=100]="STRONG",t[t.STYLE=101]="STYLE",t[t.SUB=102]="SUB",t[t.SUMMARY=103]="SUMMARY",t[t.SUP=104]="SUP",t[t.TABLE=105]="TABLE",t[t.TBODY=106]="TBODY",t[t.TEMPLATE=107]="TEMPLATE",t[t.TEXTAREA=108]="TEXTAREA",t[t.TFOOT=109]="TFOOT",t[t.TD=110]="TD",t[t.TH=111]="TH",t[t.THEAD=112]="THEAD",t[t.TITLE=113]="TITLE",t[t.TR=114]="TR",t[t.TRACK=115]="TRACK",t[t.TT=116]="TT",t[t.U=117]="U",t[t.UL=118]="UL",t[t.SVG=119]="SVG",t[t.VAR=120]="VAR",t[t.WBR=121]="WBR",t[t.XMP=122]="XMP"})(g=g||(g={}));var GV=new Map([[J.A,g.A],[J.ADDRESS,g.ADDRESS],[J.ANNOTATION_XML,g.ANNOTATION_XML],[J.APPLET,g.APPLET],[J.AREA,g.AREA],[J.ARTICLE,g.ARTICLE],[J.ASIDE,g.ASIDE],[J.B,g.B],[J.BASE,g.BASE],[J.BASEFONT,g.BASEFONT],[J.BGSOUND,g.BGSOUND],[J.BIG,g.BIG],[J.BLOCKQUOTE,g.BLOCKQUOTE],[J.BODY,g.BODY],[J.BR,g.BR],[J.BUTTON,g.BUTTON],[J.CAPTION,g.CAPTION],[J.CENTER,g.CENTER],[J.CODE,g.CODE],[J.COL,g.COL],[J.COLGROUP,g.COLGROUP],[J.DD,g.DD],[J.DESC,g.DESC],[J.DETAILS,g.DETAILS],[J.DIALOG,g.DIALOG],[J.DIR,g.DIR],[J.DIV,g.DIV],[J.DL,g.DL],[J.DT,g.DT],[J.EM,g.EM],[J.EMBED,g.EMBED],[J.FIELDSET,g.FIELDSET],[J.FIGCAPTION,g.FIGCAPTION],[J.FIGURE,g.FIGURE],[J.FONT,g.FONT],[J.FOOTER,g.FOOTER],[J.FOREIGN_OBJECT,g.FOREIGN_OBJECT],[J.FORM,g.FORM],[J.FRAME,g.FRAME],[J.FRAMESET,g.FRAMESET],[J.H1,g.H1],[J.H2,g.H2],[J.H3,g.H3],[J.H4,g.H4],[J.H5,g.H5],[J.H6,g.H6],[J.HEAD,g.HEAD],[J.HEADER,g.HEADER],[J.HGROUP,g.HGROUP],[J.HR,g.HR],[J.HTML,g.HTML],[J.I,g.I],[J.IMG,g.IMG],[J.IMAGE,g.IMAGE],[J.INPUT,g.INPUT],[J.IFRAME,g.IFRAME],[J.KEYGEN,g.KEYGEN],[J.LABEL,g.LABEL],[J.LI,g.LI],[J.LINK,g.LINK],[J.LISTING,g.LISTING],[J.MAIN,g.MAIN],[J.MALIGNMARK,g.MALIGNMARK],[J.MARQUEE,g.MARQUEE],[J.MATH,g.MATH],[J.MENU,g.MENU],[J.META,g.META],[J.MGLYPH,g.MGLYPH],[J.MI,g.MI],[J.MO,g.MO],[J.MN,g.MN],[J.MS,g.MS],[J.MTEXT,g.MTEXT],[J.NAV,g.NAV],[J.NOBR,g.NOBR],[J.NOFRAMES,g.NOFRAMES],[J.NOEMBED,g.NOEMBED],[J.NOSCRIPT,g.NOSCRIPT],[J.OBJECT,g.OBJECT],[J.OL,g.OL],[J.OPTGROUP,g.OPTGROUP],[J.OPTION,g.OPTION],[J.P,g.P],[J.PARAM,g.PARAM],[J.PLAINTEXT,g.PLAINTEXT],[J.PRE,g.PRE],[J.RB,g.RB],[J.RP,g.RP],[J.RT,g.RT],[J.RTC,g.RTC],[J.RUBY,g.RUBY],[J.S,g.S],[J.SCRIPT,g.SCRIPT],[J.SECTION,g.SECTION],[J.SELECT,g.SELECT],[J.SOURCE,g.SOURCE],[J.SMALL,g.SMALL],[J.SPAN,g.SPAN],[J.STRIKE,g.STRIKE],[J.STRONG,g.STRONG],[J.STYLE,g.STYLE],[J.SUB,g.SUB],[J.SUMMARY,g.SUMMARY],[J.SUP,g.SUP],[J.TABLE,g.TABLE],[J.TBODY,g.TBODY],[J.TEMPLATE,g.TEMPLATE],[J.TEXTAREA,g.TEXTAREA],[J.TFOOT,g.TFOOT],[J.TD,g.TD],[J.TH,g.TH],[J.THEAD,g.THEAD],[J.TITLE,g.TITLE],[J.TR,g.TR],[J.TRACK,g.TRACK],[J.TT,g.TT],[J.U,g.U],[J.UL,g.UL],[J.SVG,g.SVG],[J.VAR,g.VAR],[J.WBR,g.WBR],[J.XMP,g.XMP]]);function Ms(t){var e;return(e=GV.get(t))!==null&&e!==void 0?e:g.UNKNOWN}var Se=g,sy={[Oe.HTML]:new Set([Se.ADDRESS,Se.APPLET,Se.AREA,Se.ARTICLE,Se.ASIDE,Se.BASE,Se.BASEFONT,Se.BGSOUND,Se.BLOCKQUOTE,Se.BODY,Se.BR,Se.BUTTON,Se.CAPTION,Se.CENTER,Se.COL,Se.COLGROUP,Se.DD,Se.DETAILS,Se.DIR,Se.DIV,Se.DL,Se.DT,Se.EMBED,Se.FIELDSET,Se.FIGCAPTION,Se.FIGURE,Se.FOOTER,Se.FORM,Se.FRAME,Se.FRAMESET,Se.H1,Se.H2,Se.H3,Se.H4,Se.H5,Se.H6,Se.HEAD,Se.HEADER,Se.HGROUP,Se.HR,Se.HTML,Se.IFRAME,Se.IMG,Se.INPUT,Se.LI,Se.LINK,Se.LISTING,Se.MAIN,Se.MARQUEE,Se.MENU,Se.META,Se.NAV,Se.NOEMBED,Se.NOFRAMES,Se.NOSCRIPT,Se.OBJECT,Se.OL,Se.P,Se.PARAM,Se.PLAINTEXT,Se.PRE,Se.SCRIPT,Se.SECTION,Se.SELECT,Se.SOURCE,Se.STYLE,Se.SUMMARY,Se.TABLE,Se.TBODY,Se.TD,Se.TEMPLATE,Se.TEXTAREA,Se.TFOOT,Se.TH,Se.THEAD,Se.TITLE,Se.TR,Se.TRACK,Se.UL,Se.WBR,Se.XMP]),[Oe.MATHML]:new Set([Se.MI,Se.MO,Se.MN,Se.MS,Se.MTEXT,Se.ANNOTATION_XML]),[Oe.SVG]:new Set([Se.TITLE,Se.FOREIGN_OBJECT,Se.DESC]),[Oe.XLINK]:new Set,[Oe.XML]:new Set,[Oe.XMLNS]:new Set};function nf(t){return t===Se.H1||t===Se.H2||t===Se.H3||t===Se.H4||t===Se.H5||t===Se.H6}var KV=new Set([J.STYLE,J.SCRIPT,J.XMP,J.IFRAME,J.NOEMBED,J.NOFRAMES,J.PLAINTEXT]);function p8(t,e){return KV.has(t)||e&&t===J.NOSCRIPT}var JV=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),U;(function(t){t[t.DATA=0]="DATA",t[t.RCDATA=1]="RCDATA",t[t.RAWTEXT=2]="RAWTEXT",t[t.SCRIPT_DATA=3]="SCRIPT_DATA",t[t.PLAINTEXT=4]="PLAINTEXT",t[t.TAG_OPEN=5]="TAG_OPEN",t[t.END_TAG_OPEN=6]="END_TAG_OPEN",t[t.TAG_NAME=7]="TAG_NAME",t[t.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",t[t.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",t[t.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",t[t.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",t[t.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",t[t.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",t[t.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",t[t.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",t[t.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",t[t.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",t[t.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",t[t.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",t[t.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",t[t.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",t[t.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",t[t.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",t[t.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",t[t.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",t[t.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",t[t.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",t[t.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",t[t.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",t[t.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",t[t.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",t[t.BOGUS_COMMENT=40]="BOGUS_COMMENT",t[t.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",t[t.COMMENT_START=42]="COMMENT_START",t[t.COMMENT_START_DASH=43]="COMMENT_START_DASH",t[t.COMMENT=44]="COMMENT",t[t.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",t[t.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",t[t.COMMENT_END_DASH=49]="COMMENT_END_DASH",t[t.COMMENT_END=50]="COMMENT_END",t[t.COMMENT_END_BANG=51]="COMMENT_END_BANG",t[t.DOCTYPE=52]="DOCTYPE",t[t.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",t[t.DOCTYPE_NAME=54]="DOCTYPE_NAME",t[t.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",t[t.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",t[t.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",t[t.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",t[t.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",t[t.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",t[t.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",t[t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",t[t.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",t[t.CDATA_SECTION=68]="CDATA_SECTION",t[t.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",t[t.CDATA_SECTION_END=70]="CDATA_SECTION_END",t[t.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",t[t.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",t[t.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",t[t.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",t[t.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",t[t.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",t[t.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",t[t.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(U||(U={}));var Vt={DATA:U.DATA,RCDATA:U.RCDATA,RAWTEXT:U.RAWTEXT,SCRIPT_DATA:U.SCRIPT_DATA,PLAINTEXT:U.PLAINTEXT,CDATA_SECTION:U.CDATA_SECTION};function sf(t){return t>=I.DIGIT_0&&t<=I.DIGIT_9}function of(t){return t>=I.LATIN_CAPITAL_A&&t<=I.LATIN_CAPITAL_Z}function eq(t){return t>=I.LATIN_SMALL_A&&t<=I.LATIN_SMALL_Z}function Ds(t){return eq(t)||of(t)}function ay(t){return Ds(t)||sf(t)}function O8(t){return t>=I.LATIN_CAPITAL_A&&t<=I.LATIN_CAPITAL_F}function g8(t){return t>=I.LATIN_SMALL_A&&t<=I.LATIN_SMALL_F}function tq(t){return sf(t)||O8(t)||g8(t)}function lp(t){return t+32}function b8(t){return t===I.SPACE||t===I.LINE_FEED||t===I.TABULATION||t===I.FORM_FEED}function rq(t){return t===I.EQUALS_SIGN||ay(t)}function m8(t){return b8(t)||t===I.SOLIDUS||t===I.GREATER_THAN_SIGN}var af=class{constructor(e,r){this.options=e,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=U.DATA,this.returnState=U.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new ap(r),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,r,i){this.active=!0,this.preprocessor.write(e,r),this._runParsingLoop(),this.paused||i==null||i()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,r){this.state=e,this._callState(r)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let r=0;r<e;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,r){return this.preprocessor.startsWith(e,r)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ht.START_TAG,tagName:"",tagID:g.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ht.END_TAG,tagName:"",tagID:g.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:ht.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:ht.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,r){this.currentCharacterToken={type:e,chars:r,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,r;let i=this.currentToken;if(rf(i,this.currentAttr.name)===null){if(i.attrs.push(this.currentAttr),i.location&&this.currentLocation){let n=(e=(r=i.location).attrs)!==null&&e!==void 0?e:r.attrs=Object.create(null);n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(le.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=Ms(e.tagName),e.type===ht.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(le.endTagWithAttributes),e.selfClosing&&this._err(le.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case ht.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ht.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ht.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:ht.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=r;return}this._createCharacterToken(e,r)}_emitCodePoint(e){let r=b8(e)?ht.WHITESPACE_CHARACTER:e===I.NULL?ht.NULL_CHARACTER:ht.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(ht.CHARACTER,e)}_matchNamedCharacterReference(e){let r=null,i=0,n=!1;for(let o=0,s=to[0];o>=0&&(o=oy(to,s,o+1,e),!(o<0));e=this._consume()){i+=1,s=to[o];let a=s&xn.VALUE_LENGTH;if(a){let l=(a>>14)-1;if(e!==I.SEMICOLON&&this._isCharacterReferenceInAttribute()&&rq(this.preprocessor.peek(1))?(r=[I.AMPERSAND],o+=l):(r=l===0?[to[o]&~xn.VALUE_LENGTH]:l===1?[to[++o]]:[to[++o],to[++o]],i=0,n=e!==I.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(i),n&&!this.preprocessor.endOfChunkHit&&this._err(le.missingSemicolonAfterCharacterReference),this._unconsume(1),r}_isCharacterReferenceInAttribute(){return this.returnState===U.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===U.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===U.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case U.DATA:{this._stateData(e);break}case U.RCDATA:{this._stateRcdata(e);break}case U.RAWTEXT:{this._stateRawtext(e);break}case U.SCRIPT_DATA:{this._stateScriptData(e);break}case U.PLAINTEXT:{this._statePlaintext(e);break}case U.TAG_OPEN:{this._stateTagOpen(e);break}case U.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case U.TAG_NAME:{this._stateTagName(e);break}case U.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case U.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case U.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case U.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case U.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case U.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case U.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case U.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case U.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case U.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case U.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case U.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case U.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case U.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case U.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case U.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case U.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case U.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case U.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case U.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case U.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case U.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case U.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case U.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case U.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case U.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case U.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case U.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case U.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case U.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case U.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case U.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case U.BOGUS_COMMENT:{this._stateBogusComment(e);break}case U.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case U.COMMENT_START:{this._stateCommentStart(e);break}case U.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case U.COMMENT:{this._stateComment(e);break}case U.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case U.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case U.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case U.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case U.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case U.COMMENT_END:{this._stateCommentEnd(e);break}case U.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case U.DOCTYPE:{this._stateDoctype(e);break}case U.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case U.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case U.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case U.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case U.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case U.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case U.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case U.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case U.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case U.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case U.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case U.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case U.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case U.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case U.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case U.CDATA_SECTION:{this._stateCdataSection(e);break}case U.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case U.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case U.CHARACTER_REFERENCE:{this._stateCharacterReference(e);break}case U.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(e);break}case U.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}case U.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(e);break}case U.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(e);break}case U.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(e);break}case U.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(e);break}case U.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case I.LESS_THAN_SIGN:{this.state=U.TAG_OPEN;break}case I.AMPERSAND:{this.returnState=U.DATA,this.state=U.CHARACTER_REFERENCE;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitCodePoint(e);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case I.AMPERSAND:{this.returnState=U.RCDATA,this.state=U.CHARACTER_REFERENCE;break}case I.LESS_THAN_SIGN:{this.state=U.RCDATA_LESS_THAN_SIGN;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Ut);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case I.LESS_THAN_SIGN:{this.state=U.RAWTEXT_LESS_THAN_SIGN;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Ut);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case I.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_LESS_THAN_SIGN;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Ut);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Ut);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Ds(e))this._createStartTagToken(),this.state=U.TAG_NAME,this._stateTagName(e);else switch(e){case I.EXCLAMATION_MARK:{this.state=U.MARKUP_DECLARATION_OPEN;break}case I.SOLIDUS:{this.state=U.END_TAG_OPEN;break}case I.QUESTION_MARK:{this._err(le.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=U.BOGUS_COMMENT,this._stateBogusComment(e);break}case I.EOF:{this._err(le.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(le.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=U.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Ds(e))this._createEndTagToken(),this.state=U.TAG_NAME,this._stateTagName(e);else switch(e){case I.GREATER_THAN_SIGN:{this._err(le.missingEndTagName),this.state=U.DATA;break}case I.EOF:{this._err(le.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(le.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=U.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let r=this.currentToken;switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this.state=U.BEFORE_ATTRIBUTE_NAME;break}case I.SOLIDUS:{this.state=U.SELF_CLOSING_START_TAG;break}case I.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentTagToken();break}case I.NULL:{this._err(le.unexpectedNullCharacter),r.tagName+=Ut;break}case I.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(of(e)?lp(e):e)}}_stateRcdataLessThanSign(e){e===I.SOLIDUS?this.state=U.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=U.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){Ds(e)?(this.state=U.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=U.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=U.BEFORE_ATTRIBUTE_NAME,!1;case I.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=U.SELF_CLOSING_START_TAG,!1;case I.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=U.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=U.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===I.SOLIDUS?this.state=U.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=U.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){Ds(e)?(this.state=U.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=U.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=U.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case I.SOLIDUS:{this.state=U.SCRIPT_DATA_END_TAG_OPEN;break}case I.EXCLAMATION_MARK:{this.state=U.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=U.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){Ds(e)?(this.state=U.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=U.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=U.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===I.HYPHEN_MINUS?(this.state=U.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=U.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===I.HYPHEN_MINUS?(this.state=U.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=U.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case I.HYPHEN_MINUS:{this.state=U.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case I.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Ut);break}case I.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case I.HYPHEN_MINUS:{this.state=U.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case I.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this.state=U.SCRIPT_DATA_ESCAPED,this._emitChars(Ut);break}case I.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=U.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case I.HYPHEN_MINUS:{this._emitChars("-");break}case I.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case I.GREATER_THAN_SIGN:{this.state=U.SCRIPT_DATA,this._emitChars(">");break}case I.NULL:{this._err(le.unexpectedNullCharacter),this.state=U.SCRIPT_DATA_ESCAPED,this._emitChars(Ut);break}case I.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=U.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===I.SOLIDUS?this.state=U.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ds(e)?(this._emitChars("<"),this.state=U.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=U.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Ds(e)?(this.state=U.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=U.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=U.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(li.SCRIPT,!1)&&m8(this.preprocessor.peek(li.SCRIPT.length))){this._emitCodePoint(e);for(let r=0;r<li.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=U.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case I.HYPHEN_MINUS:{this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case I.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case I.NULL:{this._err(le.unexpectedNullCharacter),this._emitChars(Ut);break}case I.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case I.HYPHEN_MINUS:{this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case I.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case I.NULL:{this._err(le.unexpectedNullCharacter),this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ut);break}case I.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case I.HYPHEN_MINUS:{this._emitChars("-");break}case I.LESS_THAN_SIGN:{this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case I.GREATER_THAN_SIGN:{this.state=U.SCRIPT_DATA,this._emitChars(">");break}case I.NULL:{this._err(le.unexpectedNullCharacter),this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ut);break}case I.EOF:{this._err(le.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===I.SOLIDUS?(this.state=U.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(li.SCRIPT,!1)&&m8(this.preprocessor.peek(li.SCRIPT.length))){this._emitCodePoint(e);for(let r=0;r<li.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=U.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=U.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.SOLIDUS:case I.GREATER_THAN_SIGN:case I.EOF:{this.state=U.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case I.EQUALS_SIGN:{this._err(le.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=U.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=U.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:case I.SOLIDUS:case I.GREATER_THAN_SIGN:case I.EOF:{this._leaveAttrName(),this.state=U.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case I.EQUALS_SIGN:{this._leaveAttrName(),this.state=U.BEFORE_ATTRIBUTE_VALUE;break}case I.QUOTATION_MARK:case I.APOSTROPHE:case I.LESS_THAN_SIGN:{this._err(le.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case I.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.name+=Ut;break}default:this.currentAttr.name+=String.fromCodePoint(of(e)?lp(e):e)}}_stateAfterAttributeName(e){switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.SOLIDUS:{this.state=U.SELF_CLOSING_START_TAG;break}case I.EQUALS_SIGN:{this.state=U.BEFORE_ATTRIBUTE_VALUE;break}case I.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentTagToken();break}case I.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=U.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.QUOTATION_MARK:{this.state=U.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case I.APOSTROPHE:{this.state=U.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case I.GREATER_THAN_SIGN:{this._err(le.missingAttributeValue),this.state=U.DATA,this.emitCurrentTagToken();break}default:this.state=U.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case I.QUOTATION_MARK:{this.state=U.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case I.AMPERSAND:{this.returnState=U.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=U.CHARACTER_REFERENCE;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.value+=Ut;break}case I.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case I.APOSTROPHE:{this.state=U.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case I.AMPERSAND:{this.returnState=U.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=U.CHARACTER_REFERENCE;break}case I.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.value+=Ut;break}case I.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this._leaveAttrValue(),this.state=U.BEFORE_ATTRIBUTE_NAME;break}case I.AMPERSAND:{this.returnState=U.ATTRIBUTE_VALUE_UNQUOTED,this.state=U.CHARACTER_REFERENCE;break}case I.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=U.DATA,this.emitCurrentTagToken();break}case I.NULL:{this._err(le.unexpectedNullCharacter),this.currentAttr.value+=Ut;break}case I.QUOTATION_MARK:case I.APOSTROPHE:case I.LESS_THAN_SIGN:case I.EQUALS_SIGN:case I.GRAVE_ACCENT:{this._err(le.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case I.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this._leaveAttrValue(),this.state=U.BEFORE_ATTRIBUTE_NAME;break}case I.SOLIDUS:{this._leaveAttrValue(),this.state=U.SELF_CLOSING_START_TAG;break}case I.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=U.DATA,this.emitCurrentTagToken();break}case I.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this._err(le.missingWhitespaceBetweenAttributes),this.state=U.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case I.GREATER_THAN_SIGN:{let r=this.currentToken;r.selfClosing=!0,this.state=U.DATA,this.emitCurrentTagToken();break}case I.EOF:{this._err(le.eofInTag),this._emitEOFToken();break}default:this._err(le.unexpectedSolidusInTag),this.state=U.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let r=this.currentToken;switch(e){case I.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentComment(r);break}case I.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case I.NULL:{this._err(le.unexpectedNullCharacter),r.data+=Ut;break}default:r.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(li.DASH_DASH,!0)?(this._createCommentToken(li.DASH_DASH.length+1),this.state=U.COMMENT_START):this._consumeSequenceIfMatch(li.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(li.DOCTYPE.length+1),this.state=U.DOCTYPE):this._consumeSequenceIfMatch(li.CDATA_START,!0)?this.inForeignNode?this.state=U.CDATA_SECTION:(this._err(le.cdataInHtmlContent),this._createCommentToken(li.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=U.BOGUS_COMMENT):this._ensureHibernation()||(this._err(le.incorrectlyOpenedComment),this._createCommentToken(2),this.state=U.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case I.HYPHEN_MINUS:{this.state=U.COMMENT_START_DASH;break}case I.GREATER_THAN_SIGN:{this._err(le.abruptClosingOfEmptyComment),this.state=U.DATA;let r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=U.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let r=this.currentToken;switch(e){case I.HYPHEN_MINUS:{this.state=U.COMMENT_END;break}case I.GREATER_THAN_SIGN:{this._err(le.abruptClosingOfEmptyComment),this.state=U.DATA,this.emitCurrentComment(r);break}case I.EOF:{this._err(le.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=U.COMMENT,this._stateComment(e)}}_stateComment(e){let r=this.currentToken;switch(e){case I.HYPHEN_MINUS:{this.state=U.COMMENT_END_DASH;break}case I.LESS_THAN_SIGN:{r.data+="<",this.state=U.COMMENT_LESS_THAN_SIGN;break}case I.NULL:{this._err(le.unexpectedNullCharacter),r.data+=Ut;break}case I.EOF:{this._err(le.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let r=this.currentToken;switch(e){case I.EXCLAMATION_MARK:{r.data+="!",this.state=U.COMMENT_LESS_THAN_SIGN_BANG;break}case I.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=U.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===I.HYPHEN_MINUS?this.state=U.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=U.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===I.HYPHEN_MINUS?this.state=U.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=U.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==I.GREATER_THAN_SIGN&&e!==I.EOF&&this._err(le.nestedComment),this.state=U.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let r=this.currentToken;switch(e){case I.HYPHEN_MINUS:{this.state=U.COMMENT_END;break}case I.EOF:{this._err(le.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=U.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let r=this.currentToken;switch(e){case I.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentComment(r);break}case I.EXCLAMATION_MARK:{this.state=U.COMMENT_END_BANG;break}case I.HYPHEN_MINUS:{r.data+="-";break}case I.EOF:{this._err(le.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=U.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let r=this.currentToken;switch(e){case I.HYPHEN_MINUS:{r.data+="--!",this.state=U.COMMENT_END_DASH;break}case I.GREATER_THAN_SIGN:{this._err(le.incorrectlyClosedComment),this.state=U.DATA,this.emitCurrentComment(r);break}case I.EOF:{this._err(le.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=U.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this.state=U.BEFORE_DOCTYPE_NAME;break}case I.GREATER_THAN_SIGN:{this.state=U.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case I.EOF:{this._err(le.eofInDoctype),this._createDoctypeToken(null);let r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingWhitespaceBeforeDoctypeName),this.state=U.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(of(e))this._createDoctypeToken(String.fromCharCode(lp(e))),this.state=U.DOCTYPE_NAME;else switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.NULL:{this._err(le.unexpectedNullCharacter),this._createDoctypeToken(Ut),this.state=U.DOCTYPE_NAME;break}case I.GREATER_THAN_SIGN:{this._err(le.missingDoctypeName),this._createDoctypeToken(null);let r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=U.DATA;break}case I.EOF:{this._err(le.eofInDoctype),this._createDoctypeToken(null);let r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=U.DOCTYPE_NAME}}_stateDoctypeName(e){let r=this.currentToken;switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this.state=U.AFTER_DOCTYPE_NAME;break}case I.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentDoctype(r);break}case I.NULL:{this._err(le.unexpectedNullCharacter),r.name+=Ut;break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(of(e)?lp(e):e)}}_stateAfterDoctypeName(e){let r=this.currentToken;switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentDoctype(r);break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(li.PUBLIC,!1)?this.state=U.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(li.SYSTEM,!1)?this.state=U.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(le.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let r=this.currentToken;switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this.state=U.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case I.QUOTATION_MARK:{this._err(le.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=U.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case I.APOSTROPHE:{this._err(le.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=U.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case I.GREATER_THAN_SIGN:{this._err(le.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=U.DATA,this.emitCurrentDoctype(r);break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let r=this.currentToken;switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.QUOTATION_MARK:{r.publicId="",this.state=U.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case I.APOSTROPHE:{r.publicId="",this.state=U.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case I.GREATER_THAN_SIGN:{this._err(le.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=U.DATA,this.emitCurrentDoctype(r);break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let r=this.currentToken;switch(e){case I.QUOTATION_MARK:{this.state=U.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case I.NULL:{this._err(le.unexpectedNullCharacter),r.publicId+=Ut;break}case I.GREATER_THAN_SIGN:{this._err(le.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=U.DATA;break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let r=this.currentToken;switch(e){case I.APOSTROPHE:{this.state=U.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case I.NULL:{this._err(le.unexpectedNullCharacter),r.publicId+=Ut;break}case I.GREATER_THAN_SIGN:{this._err(le.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=U.DATA;break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let r=this.currentToken;switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this.state=U.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case I.GREATER_THAN_SIGN:{this.state=U.DATA,this.emitCurrentDoctype(r);break}case I.QUOTATION_MARK:{this._err(le.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case I.APOSTROPHE:{this._err(le.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let r=this.currentToken;switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=U.DATA;break}case I.QUOTATION_MARK:{r.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case I.APOSTROPHE:{r.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let r=this.currentToken;switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this.state=U.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case I.QUOTATION_MARK:{this._err(le.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case I.APOSTROPHE:{this._err(le.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case I.GREATER_THAN_SIGN:{this._err(le.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=U.DATA,this.emitCurrentDoctype(r);break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let r=this.currentToken;switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.QUOTATION_MARK:{r.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case I.APOSTROPHE:{r.systemId="",this.state=U.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case I.GREATER_THAN_SIGN:{this._err(le.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=U.DATA,this.emitCurrentDoctype(r);break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let r=this.currentToken;switch(e){case I.QUOTATION_MARK:{this.state=U.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case I.NULL:{this._err(le.unexpectedNullCharacter),r.systemId+=Ut;break}case I.GREATER_THAN_SIGN:{this._err(le.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=U.DATA;break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let r=this.currentToken;switch(e){case I.APOSTROPHE:{this.state=U.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case I.NULL:{this._err(le.unexpectedNullCharacter),r.systemId+=Ut;break}case I.GREATER_THAN_SIGN:{this._err(le.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=U.DATA;break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let r=this.currentToken;switch(e){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=U.DATA;break}case I.EOF:{this._err(le.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(le.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=U.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let r=this.currentToken;switch(e){case I.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=U.DATA;break}case I.NULL:{this._err(le.unexpectedNullCharacter);break}case I.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}default:}}_stateCdataSection(e){switch(e){case I.RIGHT_SQUARE_BRACKET:{this.state=U.CDATA_SECTION_BRACKET;break}case I.EOF:{this._err(le.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===I.RIGHT_SQUARE_BRACKET?this.state=U.CDATA_SECTION_END:(this._emitChars("]"),this.state=U.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case I.GREATER_THAN_SIGN:{this.state=U.DATA;break}case I.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=U.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===I.NUMBER_SIGN?this.state=U.NUMERIC_CHARACTER_REFERENCE:ay(e)?(this.state=U.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(I.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){let r=this._matchNamedCharacterReference(e);if(!this._ensureHibernation())if(r){for(let i=0;i<r.length;i++)this._flushCodePointConsumedAsCharacterReference(r[i]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(I.AMPERSAND),this.state=U.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){ay(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===I.SEMICOLON&&this._err(le.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){this.charRefCode=0,e===I.LATIN_SMALL_X||e===I.LATIN_CAPITAL_X?this.state=U.HEXADEMICAL_CHARACTER_REFERENCE_START:sf(e)?(this.state=U.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(e)):(this._err(le.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(I.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(I.NUMBER_SIGN),this._reconsumeInState(this.returnState,e))}_stateHexademicalCharacterReferenceStart(e){tq(e)?(this.state=U.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(e)):(this._err(le.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(I.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(I.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(e){O8(e)?this.charRefCode=this.charRefCode*16+e-55:g8(e)?this.charRefCode=this.charRefCode*16+e-87:sf(e)?this.charRefCode=this.charRefCode*16+e-48:e===I.SEMICOLON?this.state=U.NUMERIC_CHARACTER_REFERENCE_END:(this._err(le.missingSemicolonAfterCharacterReference),this.state=U.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){sf(e)?this.charRefCode=this.charRefCode*10+e-48:e===I.SEMICOLON?this.state=U.NUMERIC_CHARACTER_REFERENCE_END:(this._err(le.missingSemicolonAfterCharacterReference),this.state=U.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===I.NULL)this._err(le.nullCharacterReference),this.charRefCode=I.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(le.characterReferenceOutsideUnicodeRange),this.charRefCode=I.REPLACEMENT_CHARACTER;else if(np(this.charRefCode))this._err(le.surrogateCharacterReference),this.charRefCode=I.REPLACEMENT_CHARACTER;else if(sp(this.charRefCode))this._err(le.noncharacterCharacterReference);else if(op(this.charRefCode)||this.charRefCode===I.CARRIAGE_RETURN){this._err(le.controlCharacterReference);let r=JV.get(this.charRefCode);r!==void 0&&(this.charRefCode=r)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}};var v8=new Set([g.DD,g.DT,g.LI,g.OPTGROUP,g.OPTION,g.P,g.RB,g.RP,g.RT,g.RTC]),y8=new Set([...v8,g.CAPTION,g.COLGROUP,g.TBODY,g.TD,g.TFOOT,g.TH,g.THEAD,g.TR]),cp=new Map([[g.APPLET,Oe.HTML],[g.CAPTION,Oe.HTML],[g.HTML,Oe.HTML],[g.MARQUEE,Oe.HTML],[g.OBJECT,Oe.HTML],[g.TABLE,Oe.HTML],[g.TD,Oe.HTML],[g.TEMPLATE,Oe.HTML],[g.TH,Oe.HTML],[g.ANNOTATION_XML,Oe.MATHML],[g.MI,Oe.MATHML],[g.MN,Oe.MATHML],[g.MO,Oe.MATHML],[g.MS,Oe.MATHML],[g.MTEXT,Oe.MATHML],[g.DESC,Oe.SVG],[g.FOREIGN_OBJECT,Oe.SVG],[g.TITLE,Oe.SVG]]),iq=[g.H1,g.H2,g.H3,g.H4,g.H5,g.H6],nq=[g.TR,g.TEMPLATE,g.HTML],oq=[g.TBODY,g.TFOOT,g.THEAD,g.TEMPLATE,g.HTML],sq=[g.TABLE,g.TEMPLATE,g.HTML],aq=[g.TD,g.TH],up=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,r,i){this.treeAdapter=r,this.handler=i,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=g.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===g.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Oe.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,r){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,r,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,r){let i=this._indexOf(e);this.items[i]=r,i===this.stackTop&&(this.current=r)}insertAfter(e,r,i){let n=this._indexOf(e)+1;this.items.splice(n,0,r),this.tagIDs.splice(n,0,i),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(e,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==Oe.HTML);this.shortenToLength(r<0?0:r)}shortenToLength(e){for(;this.stackTop>=e;){let r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<e)}}popUntilElementPopped(e){let r=this._indexOf(e);this.shortenToLength(r<0?0:r)}popUntilPopped(e,r){let i=this._indexOfTagNames(e,r);this.shortenToLength(i<0?0:i)}popUntilNumberedHeaderPopped(){this.popUntilPopped(iq,Oe.HTML)}popUntilTableCellPopped(){this.popUntilPopped(aq,Oe.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,r){for(let i=this.stackTop;i>=0;i--)if(e.includes(this.tagIDs[i])&&this.treeAdapter.getNamespaceURI(this.items[i])===r)return i;return-1}clearBackTo(e,r){let i=this._indexOfTagNames(e,r);this.shortenToLength(i+1)}clearBackToTableContext(){this.clearBackTo(sq,Oe.HTML)}clearBackToTableBodyContext(){this.clearBackTo(oq,Oe.HTML)}clearBackToTableRowContext(){this.clearBackTo(nq,Oe.HTML)}remove(e){let r=this._indexOf(e);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===g.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let r=this._indexOf(e)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===g.HTML}hasInScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r],n=this.treeAdapter.getNamespaceURI(this.items[r]);if(i===e&&n===Oe.HTML)return!0;if(cp.get(i)===n)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let r=this.tagIDs[e],i=this.treeAdapter.getNamespaceURI(this.items[e]);if(nf(r)&&i===Oe.HTML)return!0;if(cp.get(r)===i)return!1}return!0}hasInListItemScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r],n=this.treeAdapter.getNamespaceURI(this.items[r]);if(i===e&&n===Oe.HTML)return!0;if((i===g.UL||i===g.OL)&&n===Oe.HTML||cp.get(i)===n)return!1}return!0}hasInButtonScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r],n=this.treeAdapter.getNamespaceURI(this.items[r]);if(i===e&&n===Oe.HTML)return!0;if(i===g.BUTTON&&n===Oe.HTML||cp.get(i)===n)return!1}return!0}hasInTableScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r];if(this.treeAdapter.getNamespaceURI(this.items[r])===Oe.HTML){if(i===e)return!0;if(i===g.TABLE||i===g.TEMPLATE||i===g.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let r=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===Oe.HTML){if(r===g.TBODY||r===g.THEAD||r===g.TFOOT)return!0;if(r===g.TABLE||r===g.HTML)return!1}}return!0}hasInSelectScope(e){for(let r=this.stackTop;r>=0;r--){let i=this.tagIDs[r];if(this.treeAdapter.getNamespaceURI(this.items[r])===Oe.HTML){if(i===e)return!0;if(i!==g.OPTION&&i!==g.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;v8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;y8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&y8.has(this.currentTagId);)this.pop()}};var nn;(function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"})(nn=nn||(nn={}));var w8={type:nn.Marker},fp=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,r){let i=[],n=r.length,o=this.treeAdapter.getTagName(e),s=this.treeAdapter.getNamespaceURI(e);for(let a=0;a<this.entries.length;a++){let l=this.entries[a];if(l.type===nn.Marker)break;let{element:c}=l;if(this.treeAdapter.getTagName(c)===o&&this.treeAdapter.getNamespaceURI(c)===s){let u=this.treeAdapter.getAttrList(c);u.length===n&&i.push({idx:a,attrs:u})}}return i}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let r=this.treeAdapter.getAttrList(e),i=this._getNoahArkConditionCandidates(e,r);if(i.length<3)return;let n=new Map(r.map(s=>[s.name,s.value])),o=0;for(let s=0;s<i.length;s++){let a=i[s];a.attrs.every(l=>n.get(l.name)===l.value)&&(o+=1,o>=3&&this.entries.splice(a.idx,1))}}insertMarker(){this.entries.unshift(w8)}pushElement(e,r){this._ensureNoahArkCondition(e),this.entries.unshift({type:nn.Element,element:e,token:r})}insertElementAfterBookmark(e,r){let i=this.entries.indexOf(this.bookmark);this.entries.splice(i,0,{type:nn.Element,element:e,token:r})}removeEntry(e){let r=this.entries.indexOf(e);r>=0&&this.entries.splice(r,1)}clearToLastMarker(){let e=this.entries.indexOf(w8);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let r=this.entries.find(i=>i.type===nn.Marker||this.treeAdapter.getTagName(i.element)===e);return r&&r.type===nn.Element?r:null}getElementEntry(e){return this.entries.find(r=>r.type===nn.Element&&r.element===e)}};function x8(t){return{nodeName:"#text",value:t,parentNode:null}}var Do={createDocument(){return{nodeName:"#document",mode:Xr.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(t,e,r){return{nodeName:t,tagName:t,attrs:r,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(t){return{nodeName:"#comment",data:t,parentNode:null}},appendChild(t,e){t.childNodes.push(e),e.parentNode=t},insertBefore(t,e,r){let i=t.childNodes.indexOf(r);t.childNodes.splice(i,0,e),e.parentNode=t},setTemplateContent(t,e){t.content=e},getTemplateContent(t){return t.content},setDocumentType(t,e,r,i){let n=t.childNodes.find(o=>o.nodeName==="#documentType");if(n)n.name=e,n.publicId=r,n.systemId=i;else{let o={nodeName:"#documentType",name:e,publicId:r,systemId:i,parentNode:null};Do.appendChild(t,o)}},setDocumentMode(t,e){t.mode=e},getDocumentMode(t){return t.mode},detachNode(t){if(t.parentNode){let e=t.parentNode.childNodes.indexOf(t);t.parentNode.childNodes.splice(e,1),t.parentNode=null}},insertText(t,e){if(t.childNodes.length>0){let r=t.childNodes[t.childNodes.length-1];if(Do.isTextNode(r)){r.value+=e;return}}Do.appendChild(t,x8(e))},insertTextBefore(t,e,r){let i=t.childNodes[t.childNodes.indexOf(r)-1];i&&Do.isTextNode(i)?i.value+=e:Do.insertBefore(t,x8(e),r)},adoptAttributes(t,e){let r=new Set(t.attrs.map(i=>i.name));for(let i=0;i<e.length;i++)r.has(e[i].name)||t.attrs.push(e[i])},getFirstChild(t){return t.childNodes[0]},getChildNodes(t){return t.childNodes},getParentNode(t){return t.parentNode},getAttrList(t){return t.attrs},getTagName(t){return t.tagName},getNamespaceURI(t){return t.namespaceURI},getTextNodeContent(t){return t.value},getCommentNodeContent(t){return t.data},getDocumentTypeNodeName(t){return t.name},getDocumentTypeNodePublicId(t){return t.publicId},getDocumentTypeNodeSystemId(t){return t.systemId},isTextNode(t){return t.nodeName==="#text"},isCommentNode(t){return t.nodeName==="#comment"},isDocumentTypeNode(t){return t.nodeName==="#documentType"},isElementNode(t){return Object.prototype.hasOwnProperty.call(t,"tagName")},setNodeSourceCodeLocation(t,e){t.sourceCodeLocation=e},getNodeSourceCodeLocation(t){return t.sourceCodeLocation},updateNodeSourceCodeLocation(t,e){t.sourceCodeLocation=ne(ne({},t.sourceCodeLocation),e)}};var S8="html",lq="about:legacy-compat",cq="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",T8=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],uq=[...T8,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],fq=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),E8=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],hq=[...E8,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function k8(t,e){return e.some(r=>t.startsWith(r))}function C8(t){return t.name===S8&&t.publicId===null&&(t.systemId===null||t.systemId===lq)}function P8(t){if(t.name!==S8)return Xr.QUIRKS;let{systemId:e}=t;if(e&&e.toLowerCase()===cq)return Xr.QUIRKS;let{publicId:r}=t;if(r!==null){if(r=r.toLowerCase(),fq.has(r))return Xr.QUIRKS;let i=e===null?uq:T8;if(k8(r,i))return Xr.QUIRKS;if(i=e===null?E8:hq,k8(r,i))return Xr.LIMITED_QUIRKS}return Xr.NO_QUIRKS}var pp={};su(pp,{SVG_TAG_NAMES_ADJUSTMENT_MAP:()=>_8,adjustTokenMathMLAttrs:()=>hp,adjustTokenSVGAttrs:()=>dp,adjustTokenSVGTagName:()=>cy,adjustTokenXMLAttrs:()=>lf,causesExit:()=>ly,isIntegrationPoint:()=>uy});var Q8={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},pq="definitionurl",mq="definitionURL",Oq=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(t=>[t.toLowerCase(),t])),gq=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Oe.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Oe.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Oe.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Oe.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Oe.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Oe.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Oe.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:Oe.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:Oe.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Oe.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Oe.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Oe.XMLNS}]]),_8=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(t=>[t.toLowerCase(),t])),bq=new Set([g.B,g.BIG,g.BLOCKQUOTE,g.BODY,g.BR,g.CENTER,g.CODE,g.DD,g.DIV,g.DL,g.DT,g.EM,g.EMBED,g.H1,g.H2,g.H3,g.H4,g.H5,g.H6,g.HEAD,g.HR,g.I,g.IMG,g.LI,g.LISTING,g.MENU,g.META,g.NOBR,g.OL,g.P,g.PRE,g.RUBY,g.S,g.SMALL,g.SPAN,g.STRONG,g.STRIKE,g.SUB,g.SUP,g.TABLE,g.TT,g.U,g.UL,g.VAR]);function ly(t){let e=t.tagID;return e===g.FONT&&t.attrs.some(({name:i})=>i===kn.COLOR||i===kn.SIZE||i===kn.FACE)||bq.has(e)}function hp(t){for(let e=0;e<t.attrs.length;e++)if(t.attrs[e].name===pq){t.attrs[e].name=mq;break}}function dp(t){for(let e=0;e<t.attrs.length;e++){let r=Oq.get(t.attrs[e].name);r!=null&&(t.attrs[e].name=r)}}function lf(t){for(let e=0;e<t.attrs.length;e++){let r=gq.get(t.attrs[e].name);r&&(t.attrs[e].prefix=r.prefix,t.attrs[e].name=r.name,t.attrs[e].namespace=r.namespace)}}function cy(t){let e=_8.get(t.tagName);e!=null&&(t.tagName=e,t.tagID=Ms(t.tagName))}function yq(t,e){return e===Oe.MATHML&&(t===g.MI||t===g.MO||t===g.MN||t===g.MS||t===g.MTEXT)}function vq(t,e,r){if(e===Oe.MATHML&&t===g.ANNOTATION_XML){for(let i=0;i<r.length;i++)if(r[i].name===kn.ENCODING){let n=r[i].value.toLowerCase();return n===Q8.TEXT_HTML||n===Q8.APPLICATION_XML}}return e===Oe.SVG&&(t===g.FOREIGN_OBJECT||t===g.DESC||t===g.TITLE)}function uy(t,e,r,i){return(!i||i===Oe.HTML)&&vq(t,e,r)||(!i||i===Oe.MATHML)&&yq(t,e)}var wq="hidden",xq=8,kq=3,V;(function(t){t[t.INITIAL=0]="INITIAL",t[t.BEFORE_HTML=1]="BEFORE_HTML",t[t.BEFORE_HEAD=2]="BEFORE_HEAD",t[t.IN_HEAD=3]="IN_HEAD",t[t.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",t[t.AFTER_HEAD=5]="AFTER_HEAD",t[t.IN_BODY=6]="IN_BODY",t[t.TEXT=7]="TEXT",t[t.IN_TABLE=8]="IN_TABLE",t[t.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",t[t.IN_CAPTION=10]="IN_CAPTION",t[t.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",t[t.IN_TABLE_BODY=12]="IN_TABLE_BODY",t[t.IN_ROW=13]="IN_ROW",t[t.IN_CELL=14]="IN_CELL",t[t.IN_SELECT=15]="IN_SELECT",t[t.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",t[t.IN_TEMPLATE=17]="IN_TEMPLATE",t[t.AFTER_BODY=18]="AFTER_BODY",t[t.IN_FRAMESET=19]="IN_FRAMESET",t[t.AFTER_FRAMESET=20]="AFTER_FRAMESET",t[t.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",t[t.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(V||(V={}));var Sq={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},X8=new Set([g.TABLE,g.TBODY,g.TFOOT,g.THEAD,g.TR]),A8={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Do,onParseError:null},Uo=class{constructor(e,r,i=null,n=null){this.fragmentContext=i,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=V.INITIAL,this.originalInsertionMode=V.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=ne(ne({},A8),e),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r!=null?r:this.treeAdapter.createDocument(),this.tokenizer=new af(this.options,this),this.activeFormattingElements=new fp(this.treeAdapter),this.fragmentContextID=i?Ms(this.treeAdapter.getTagName(i)):g.UNKNOWN,this._setContextModes(i!=null?i:this.document,this.fragmentContextID),this.openElements=new up(this.document,this.treeAdapter,this)}static parse(e,r){let i=new this(r);return i.tokenizer.write(e,!0),i.document}static getFragmentParser(e,r){let i=ne(ne({},A8),r);e!=null||(e=i.treeAdapter.createElement(J.TEMPLATE,Oe.HTML,[]));let n=i.treeAdapter.createElement("documentmock",Oe.HTML,[]),o=new this(i,n,e);return o.fragmentContextID===g.TEMPLATE&&o.tmplInsertionModeStack.unshift(V.IN_TEMPLATE),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),o}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,r),r}_err(e,r,i){var n;if(!this.onParseError)return;let o=(n=e.location)!==null&&n!==void 0?n:Sq,s={code:r,startLine:o.startLine,startCol:o.startCol,startOffset:o.startOffset,endLine:i?o.startLine:o.endLine,endCol:i?o.startCol:o.endCol,endOffset:i?o.startOffset:o.endOffset};this.onParseError(s)}onItemPush(e,r,i){var n,o;(o=(n=this.treeAdapter).onItemPush)===null||o===void 0||o.call(n,e),i&&this.openElements.stackTop>0&&this._setContextModes(e,r)}onItemPop(e,r){var i,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(n=(i=this.treeAdapter).onItemPop)===null||n===void 0||n.call(i,e,this.openElements.current),r){let o,s;this.openElements.stackTop===0&&this.fragmentContext?(o=this.fragmentContext,s=this.fragmentContextID):{current:o,currentTagId:s}=this.openElements,this._setContextModes(o,s)}}_setContextModes(e,r){let i=e===this.document||this.treeAdapter.getNamespaceURI(e)===Oe.HTML;this.currentNotInHTML=!i,this.tokenizer.inForeignNode=!i&&!this._isIntegrationPoint(r,e)}_switchToTextParsing(e,r){this._insertElement(e,Oe.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=V.TEXT}switchToPlaintextParsing(){this.insertionMode=V.TEXT,this.originalInsertionMode=V.IN_BODY,this.tokenizer.state=Vt.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===J.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Oe.HTML))switch(this.fragmentContextID){case g.TITLE:case g.TEXTAREA:{this.tokenizer.state=Vt.RCDATA;break}case g.STYLE:case g.XMP:case g.IFRAME:case g.NOEMBED:case g.NOFRAMES:case g.NOSCRIPT:{this.tokenizer.state=Vt.RAWTEXT;break}case g.SCRIPT:{this.tokenizer.state=Vt.SCRIPT_DATA;break}case g.PLAINTEXT:{this.tokenizer.state=Vt.PLAINTEXT;break}default:}}_setDocumentType(e){let r=e.name||"",i=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,i,n),e.location){let s=this.treeAdapter.getChildNodes(this.document).find(a=>this.treeAdapter.isDocumentTypeNode(a));s&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}}_attachElementToTree(e,r){if(this.options.sourceCodeLocationInfo){let i=r&&Be(ne({},r),{startTag:r});this.treeAdapter.setNodeSourceCodeLocation(e,i)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let i=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(i,e)}}_appendElement(e,r){let i=this.treeAdapter.createElement(e.tagName,r,e.attrs);this._attachElementToTree(i,e.location)}_insertElement(e,r){let i=this.treeAdapter.createElement(e.tagName,r,e.attrs);this._attachElementToTree(i,e.location),this.openElements.push(i,e.tagID)}_insertFakeElement(e,r){let i=this.treeAdapter.createElement(e,Oe.HTML,[]);this._attachElementToTree(i,null),this.openElements.push(i,r)}_insertTemplate(e){let r=this.treeAdapter.createElement(e.tagName,Oe.HTML,e.attrs),i=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,i),this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(J.HTML,Oe.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,g.HTML)}_appendCommentNode(e,r){let i=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(r,i),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_insertCharacters(e){let r,i;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:i}=this._findFosterParentingLocation(),i?this.treeAdapter.insertTextBefore(r,e.chars,i):this.treeAdapter.insertText(r,e.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,e.chars)),!e.location)return;let n=this.treeAdapter.getChildNodes(r),o=i?n.lastIndexOf(i):n.length,s=n[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){let{endLine:l,endCol:c,endOffset:u}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:l,endCol:c,endOffset:u})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}_adoptNodes(e,r){for(let i=this.treeAdapter.getFirstChild(e);i;i=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(i),this.treeAdapter.appendChild(r,i)}_setEndLocation(e,r){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&r.location){let i=r.location,n=this.treeAdapter.getTagName(e),o=r.type===ht.END_TAG&&n===r.tagName?{endTag:ne({},i),endLine:i.endLine,endCol:i.endCol,endOffset:i.endOffset}:{endLine:i.startLine,endCol:i.startCol,endOffset:i.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let r,i;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,i=this.fragmentContextID):{current:r,currentTagId:i}=this.openElements,e.tagID===g.SVG&&this.treeAdapter.getTagName(r)===J.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===Oe.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===g.MGLYPH||e.tagID===g.MALIGNMARK)&&!this._isIntegrationPoint(i,r,Oe.HTML)}_processToken(e){switch(e.type){case ht.CHARACTER:{this.onCharacter(e);break}case ht.NULL_CHARACTER:{this.onNullCharacter(e);break}case ht.COMMENT:{this.onComment(e);break}case ht.DOCTYPE:{this.onDoctype(e);break}case ht.START_TAG:{this._processStartTag(e);break}case ht.END_TAG:{this.onEndTag(e);break}case ht.EOF:{this.onEof(e);break}case ht.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,r,i){let n=this.treeAdapter.getNamespaceURI(r),o=this.treeAdapter.getAttrList(r);return uy(e,n,o,i)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let r=this.activeFormattingElements.entries.findIndex(n=>n.type===nn.Marker||this.openElements.contains(n.element)),i=r<0?e-1:r-1;for(let n=i;n>=0;n--){let o=this.activeFormattingElements.entries[n];this._insertElement(o.token,this.treeAdapter.getNamespaceURI(o.element)),o.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=V.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(g.P),this.openElements.popUntilTagNamePopped(g.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case g.TR:{this.insertionMode=V.IN_ROW;return}case g.TBODY:case g.THEAD:case g.TFOOT:{this.insertionMode=V.IN_TABLE_BODY;return}case g.CAPTION:{this.insertionMode=V.IN_CAPTION;return}case g.COLGROUP:{this.insertionMode=V.IN_COLUMN_GROUP;return}case g.TABLE:{this.insertionMode=V.IN_TABLE;return}case g.BODY:{this.insertionMode=V.IN_BODY;return}case g.FRAMESET:{this.insertionMode=V.IN_FRAMESET;return}case g.SELECT:{this._resetInsertionModeForSelect(e);return}case g.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case g.HTML:{this.insertionMode=this.headElement?V.AFTER_HEAD:V.BEFORE_HEAD;return}case g.TD:case g.TH:{if(e>0){this.insertionMode=V.IN_CELL;return}break}case g.HEAD:{if(e>0){this.insertionMode=V.IN_HEAD;return}break}}this.insertionMode=V.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let r=e-1;r>0;r--){let i=this.openElements.tagIDs[r];if(i===g.TEMPLATE)break;if(i===g.TABLE){this.insertionMode=V.IN_SELECT_IN_TABLE;return}}this.insertionMode=V.IN_SELECT}_isElementCausesFosterParenting(e){return X8.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let r=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case g.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===Oe.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case g.TABLE:{let i=this.treeAdapter.getParentNode(r);return i?{parent:i,beforeElement:r}:{parent:this.openElements.items[e-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,e,r.beforeElement):this.treeAdapter.appendChild(r.parent,e)}_isSpecialElement(e,r){let i=this.treeAdapter.getNamespaceURI(e);return sy[i].has(r)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){eW(this,e);return}switch(this.insertionMode){case V.INITIAL:{cf(this,e);break}case V.BEFORE_HTML:{ff(this,e);break}case V.BEFORE_HEAD:{hf(this,e);break}case V.IN_HEAD:{df(this,e);break}case V.IN_HEAD_NO_SCRIPT:{pf(this,e);break}case V.AFTER_HEAD:{mf(this,e);break}case V.IN_BODY:case V.IN_CAPTION:case V.IN_CELL:case V.IN_TEMPLATE:{L8(this,e);break}case V.TEXT:case V.IN_SELECT:case V.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case V.IN_TABLE:case V.IN_TABLE_BODY:case V.IN_ROW:{fy(this,e);break}case V.IN_TABLE_TEXT:{j8(this,e);break}case V.IN_COLUMN_GROUP:{Op(this,e);break}case V.AFTER_BODY:{gp(this,e);break}case V.AFTER_AFTER_BODY:{mp(this,e);break}default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){JF(this,e);return}switch(this.insertionMode){case V.INITIAL:{cf(this,e);break}case V.BEFORE_HTML:{ff(this,e);break}case V.BEFORE_HEAD:{hf(this,e);break}case V.IN_HEAD:{df(this,e);break}case V.IN_HEAD_NO_SCRIPT:{pf(this,e);break}case V.AFTER_HEAD:{mf(this,e);break}case V.TEXT:{this._insertCharacters(e);break}case V.IN_TABLE:case V.IN_TABLE_BODY:case V.IN_ROW:{fy(this,e);break}case V.IN_COLUMN_GROUP:{Op(this,e);break}case V.AFTER_BODY:{gp(this,e);break}case V.AFTER_AFTER_BODY:{mp(this,e);break}default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){hy(this,e);return}switch(this.insertionMode){case V.INITIAL:case V.BEFORE_HTML:case V.BEFORE_HEAD:case V.IN_HEAD:case V.IN_HEAD_NO_SCRIPT:case V.AFTER_HEAD:case V.IN_BODY:case V.IN_TABLE:case V.IN_CAPTION:case V.IN_COLUMN_GROUP:case V.IN_TABLE_BODY:case V.IN_ROW:case V.IN_CELL:case V.IN_SELECT:case V.IN_SELECT_IN_TABLE:case V.IN_TEMPLATE:case V.IN_FRAMESET:case V.AFTER_FRAMESET:{hy(this,e);break}case V.IN_TABLE_TEXT:{uf(this,e);break}case V.AFTER_BODY:{Aq(this,e);break}case V.AFTER_AFTER_BODY:case V.AFTER_AFTER_FRAMESET:{Rq(this,e);break}default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case V.INITIAL:{$q(this,e);break}case V.BEFORE_HEAD:case V.IN_HEAD:case V.IN_HEAD_NO_SCRIPT:case V.AFTER_HEAD:{this._err(e,le.misplacedDoctype);break}case V.IN_TABLE_TEXT:{uf(this,e);break}default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,le.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?tW(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case V.INITIAL:{cf(this,e);break}case V.BEFORE_HTML:{Xq(this,e);break}case V.BEFORE_HEAD:{Lq(this,e);break}case V.IN_HEAD:{Sn(this,e);break}case V.IN_HEAD_NO_SCRIPT:{Dq(this,e);break}case V.AFTER_HEAD:{Nq(this,e);break}case V.IN_BODY:{Hr(this,e);break}case V.IN_TABLE:{ic(this,e);break}case V.IN_TABLE_TEXT:{uf(this,e);break}case V.IN_CAPTION:{zF(this,e);break}case V.IN_COLUMN_GROUP:{Oy(this,e);break}case V.IN_TABLE_BODY:{vp(this,e);break}case V.IN_ROW:{wp(this,e);break}case V.IN_CELL:{UF(this,e);break}case V.IN_SELECT:{q8(this,e);break}case V.IN_SELECT_IN_TABLE:{jF(this,e);break}case V.IN_TEMPLATE:{VF(this,e);break}case V.AFTER_BODY:{FF(this,e);break}case V.IN_FRAMESET:{WF(this,e);break}case V.AFTER_FRAMESET:{YF(this,e);break}case V.AFTER_AFTER_BODY:{GF(this,e);break}case V.AFTER_AFTER_FRAMESET:{KF(this,e);break}default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?rW(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case V.INITIAL:{cf(this,e);break}case V.BEFORE_HTML:{Iq(this,e);break}case V.BEFORE_HEAD:{zq(this,e);break}case V.IN_HEAD:{Mq(this,e);break}case V.IN_HEAD_NO_SCRIPT:{Uq(this,e);break}case V.AFTER_HEAD:{jq(this,e);break}case V.IN_BODY:{yp(this,e);break}case V.TEXT:{CF(this,e);break}case V.IN_TABLE:{Of(this,e);break}case V.IN_TABLE_TEXT:{uf(this,e);break}case V.IN_CAPTION:{MF(this,e);break}case V.IN_COLUMN_GROUP:{DF(this,e);break}case V.IN_TABLE_BODY:{dy(this,e);break}case V.IN_ROW:{V8(this,e);break}case V.IN_CELL:{NF(this,e);break}case V.IN_SELECT:{F8(this,e);break}case V.IN_SELECT_IN_TABLE:{BF(this,e);break}case V.IN_TEMPLATE:{qF(this,e);break}case V.AFTER_BODY:{Z8(this,e);break}case V.IN_FRAMESET:{ZF(this,e);break}case V.AFTER_FRAMESET:{HF(this,e);break}case V.AFTER_AFTER_BODY:{mp(this,e);break}default:}}onEof(e){switch(this.insertionMode){case V.INITIAL:{cf(this,e);break}case V.BEFORE_HTML:{ff(this,e);break}case V.BEFORE_HEAD:{hf(this,e);break}case V.IN_HEAD:{df(this,e);break}case V.IN_HEAD_NO_SCRIPT:{pf(this,e);break}case V.AFTER_HEAD:{mf(this,e);break}case V.IN_BODY:case V.IN_TABLE:case V.IN_CAPTION:case V.IN_COLUMN_GROUP:case V.IN_TABLE_BODY:case V.IN_ROW:case V.IN_CELL:case V.IN_SELECT:case V.IN_SELECT_IN_TABLE:{U8(this,e);break}case V.TEXT:{PF(this,e);break}case V.IN_TABLE_TEXT:{uf(this,e);break}case V.IN_TEMPLATE:{W8(this,e);break}case V.AFTER_BODY:case V.IN_FRAMESET:case V.AFTER_FRAMESET:case V.AFTER_AFTER_BODY:case V.AFTER_AFTER_FRAMESET:{my(this,e);break}default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===I.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case V.IN_HEAD:case V.IN_HEAD_NO_SCRIPT:case V.AFTER_HEAD:case V.TEXT:case V.IN_COLUMN_GROUP:case V.IN_SELECT:case V.IN_SELECT_IN_TABLE:case V.IN_FRAMESET:case V.AFTER_FRAMESET:{this._insertCharacters(e);break}case V.IN_BODY:case V.IN_CAPTION:case V.IN_CELL:case V.IN_TEMPLATE:case V.AFTER_BODY:case V.AFTER_AFTER_BODY:case V.AFTER_AFTER_FRAMESET:{I8(this,e);break}case V.IN_TABLE:case V.IN_TABLE_BODY:case V.IN_ROW:{fy(this,e);break}case V.IN_TABLE_TEXT:{N8(this,e);break}default:}}};function Tq(t,e){let r=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return r?t.openElements.contains(r.element)?t.openElements.hasInScope(e.tagID)||(r=null):(t.activeFormattingElements.removeEntry(r),r=null):D8(t,e),r}function Eq(t,e){let r=null,i=t.openElements.stackTop;for(;i>=0;i--){let n=t.openElements.items[i];if(n===e.element)break;t._isSpecialElement(n,t.openElements.tagIDs[i])&&(r=n)}return r||(t.openElements.shortenToLength(i<0?0:i),t.activeFormattingElements.removeEntry(e)),r}function Cq(t,e,r){let i=e,n=t.openElements.getCommonAncestor(e);for(let o=0,s=n;s!==r;o++,s=n){n=t.openElements.getCommonAncestor(s);let a=t.activeFormattingElements.getElementEntry(s),l=a&&o>=kq;!a||l?(l&&t.activeFormattingElements.removeEntry(a),t.openElements.remove(s)):(s=Pq(t,a),i===e&&(t.activeFormattingElements.bookmark=a),t.treeAdapter.detachNode(i),t.treeAdapter.appendChild(s,i),i=s)}return i}function Pq(t,e){let r=t.treeAdapter.getNamespaceURI(e.element),i=t.treeAdapter.createElement(e.token.tagName,r,e.token.attrs);return t.openElements.replace(e.element,i),e.element=i,i}function Qq(t,e,r){let i=t.treeAdapter.getTagName(e),n=Ms(i);if(t._isElementCausesFosterParenting(n))t._fosterParentElement(r);else{let o=t.treeAdapter.getNamespaceURI(e);n===g.TEMPLATE&&o===Oe.HTML&&(e=t.treeAdapter.getTemplateContent(e)),t.treeAdapter.appendChild(e,r)}}function _q(t,e,r){let i=t.treeAdapter.getNamespaceURI(r.element),{token:n}=r,o=t.treeAdapter.createElement(n.tagName,i,n.attrs);t._adoptNodes(e,o),t.treeAdapter.appendChild(e,o),t.activeFormattingElements.insertElementAfterBookmark(o,n),t.activeFormattingElements.removeEntry(r),t.openElements.remove(r.element),t.openElements.insertAfter(e,o,n.tagID)}function py(t,e){for(let r=0;r<xq;r++){let i=Tq(t,e);if(!i)break;let n=Eq(t,i);if(!n)break;t.activeFormattingElements.bookmark=i;let o=Cq(t,n,i.element),s=t.openElements.getCommonAncestor(i.element);t.treeAdapter.detachNode(o),s&&Qq(t,s,o),_q(t,n,i)}}function hy(t,e){t._appendCommentNode(e,t.openElements.currentTmplContentOrNode)}function Aq(t,e){t._appendCommentNode(e,t.openElements.items[0])}function Rq(t,e){t._appendCommentNode(e,t.document)}function my(t,e){if(t.stopped=!0,e.location){let r=t.fragmentContext?0:2;for(let i=t.openElements.stackTop;i>=r;i--)t._setEndLocation(t.openElements.items[i],e);if(!t.fragmentContext&&t.openElements.stackTop>=0){let i=t.openElements.items[0],n=t.treeAdapter.getNodeSourceCodeLocation(i);if(n&&!n.endTag&&(t._setEndLocation(i,e),t.openElements.stackTop>=1)){let o=t.openElements.items[1],s=t.treeAdapter.getNodeSourceCodeLocation(o);s&&!s.endTag&&t._setEndLocation(o,e)}}}}function $q(t,e){t._setDocumentType(e);let r=e.forceQuirks?Xr.QUIRKS:P8(e);C8(e)||t._err(e,le.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,r),t.insertionMode=V.BEFORE_HTML}function cf(t,e){t._err(e,le.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,Xr.QUIRKS),t.insertionMode=V.BEFORE_HTML,t._processToken(e)}function Xq(t,e){e.tagID===g.HTML?(t._insertElement(e,Oe.HTML),t.insertionMode=V.BEFORE_HEAD):ff(t,e)}function Iq(t,e){let r=e.tagID;(r===g.HTML||r===g.HEAD||r===g.BODY||r===g.BR)&&ff(t,e)}function ff(t,e){t._insertFakeRootElement(),t.insertionMode=V.BEFORE_HEAD,t._processToken(e)}function Lq(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.HEAD:{t._insertElement(e,Oe.HTML),t.headElement=t.openElements.current,t.insertionMode=V.IN_HEAD;break}default:hf(t,e)}}function zq(t,e){let r=e.tagID;r===g.HEAD||r===g.BODY||r===g.HTML||r===g.BR?hf(t,e):t._err(e,le.endTagWithoutMatchingOpenElement)}function hf(t,e){t._insertFakeElement(J.HEAD,g.HEAD),t.headElement=t.openElements.current,t.insertionMode=V.IN_HEAD,t._processToken(e)}function Sn(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:{t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0;break}case g.TITLE:{t._switchToTextParsing(e,Vt.RCDATA);break}case g.NOSCRIPT:{t.options.scriptingEnabled?t._switchToTextParsing(e,Vt.RAWTEXT):(t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_HEAD_NO_SCRIPT);break}case g.NOFRAMES:case g.STYLE:{t._switchToTextParsing(e,Vt.RAWTEXT);break}case g.SCRIPT:{t._switchToTextParsing(e,Vt.SCRIPT_DATA);break}case g.TEMPLATE:{t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=V.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(V.IN_TEMPLATE);break}case g.HEAD:{t._err(e,le.misplacedStartTagForHeadElement);break}default:df(t,e)}}function Mq(t,e){switch(e.tagID){case g.HEAD:{t.openElements.pop(),t.insertionMode=V.AFTER_HEAD;break}case g.BODY:case g.BR:case g.HTML:{df(t,e);break}case g.TEMPLATE:{Ua(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function Ua(t,e){t.openElements.tmplCount>0?(t.openElements.generateImpliedEndTagsThoroughly(),t.openElements.currentTagId!==g.TEMPLATE&&t._err(e,le.closingOfElementWithOpenChildElements),t.openElements.popUntilTagNamePopped(g.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode()):t._err(e,le.endTagWithoutMatchingOpenElement)}function df(t,e){t.openElements.pop(),t.insertionMode=V.AFTER_HEAD,t._processToken(e)}function Dq(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.BASEFONT:case g.BGSOUND:case g.HEAD:case g.LINK:case g.META:case g.NOFRAMES:case g.STYLE:{Sn(t,e);break}case g.NOSCRIPT:{t._err(e,le.nestedNoscriptInHead);break}default:pf(t,e)}}function Uq(t,e){switch(e.tagID){case g.NOSCRIPT:{t.openElements.pop(),t.insertionMode=V.IN_HEAD;break}case g.BR:{pf(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function pf(t,e){let r=e.type===ht.EOF?le.openElementsLeftAfterEof:le.disallowedContentInNoscriptInHead;t._err(e,r),t.openElements.pop(),t.insertionMode=V.IN_HEAD,t._processToken(e)}function Nq(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.BODY:{t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=V.IN_BODY;break}case g.FRAMESET:{t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_FRAMESET;break}case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:case g.NOFRAMES:case g.SCRIPT:case g.STYLE:case g.TEMPLATE:case g.TITLE:{t._err(e,le.abandonedHeadElementChild),t.openElements.push(t.headElement,g.HEAD),Sn(t,e),t.openElements.remove(t.headElement);break}case g.HEAD:{t._err(e,le.misplacedStartTagForHeadElement);break}default:mf(t,e)}}function jq(t,e){switch(e.tagID){case g.BODY:case g.HTML:case g.BR:{mf(t,e);break}case g.TEMPLATE:{Ua(t,e);break}default:t._err(e,le.endTagWithoutMatchingOpenElement)}}function mf(t,e){t._insertFakeElement(J.BODY,g.BODY),t.insertionMode=V.IN_BODY,bp(t,e)}function bp(t,e){switch(e.type){case ht.CHARACTER:{L8(t,e);break}case ht.WHITESPACE_CHARACTER:{I8(t,e);break}case ht.COMMENT:{hy(t,e);break}case ht.START_TAG:{Hr(t,e);break}case ht.END_TAG:{yp(t,e);break}case ht.EOF:{U8(t,e);break}default:}}function I8(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function L8(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function Bq(t,e){t.openElements.tmplCount===0&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}function Vq(t,e){let r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t.openElements.tmplCount===0&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(r,e.attrs))}function qq(t,e){let r=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&r&&(t.treeAdapter.detachNode(r),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_FRAMESET)}function Fq(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML)}function Wq(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),nf(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,Oe.HTML)}function Zq(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}function Yq(t,e){let r=t.openElements.tmplCount>0;(!t.formElement||r)&&(t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),r||(t.formElement=t.openElements.current))}function Hq(t,e){t.framesetOk=!1;let r=e.tagID;for(let i=t.openElements.stackTop;i>=0;i--){let n=t.openElements.tagIDs[i];if(r===g.LI&&n===g.LI||(r===g.DD||r===g.DT)&&(n===g.DD||n===g.DT)){t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.popUntilTagNamePopped(n);break}if(n!==g.ADDRESS&&n!==g.DIV&&n!==g.P&&t._isSpecialElement(t.openElements.items[i],n))break}t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML)}function Gq(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.tokenizer.state=Vt.PLAINTEXT}function Kq(t,e){t.openElements.hasInScope(g.BUTTON)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(g.BUTTON)),t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.framesetOk=!1}function Jq(t,e){let r=t.activeFormattingElements.getElementEntryInScopeWithTagName(J.A);r&&(py(t,e),t.openElements.remove(r.element),t.activeFormattingElements.removeEntry(r)),t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function eF(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function tF(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(g.NOBR)&&(py(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,Oe.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function rF(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}function iF(t,e){t.treeAdapter.getDocumentMode(t.document)!==Xr.QUIRKS&&t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=V.IN_TABLE}function z8(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,Oe.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function M8(t){let e=rf(t,kn.TYPE);return e!=null&&e.toLowerCase()===wq}function nF(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,Oe.HTML),M8(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}function oF(t,e){t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0}function sF(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._appendElement(e,Oe.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function aF(t,e){e.tagName=J.IMG,e.tagID=g.IMG,z8(t,e)}function lF(t,e){t._insertElement(e,Oe.HTML),t.skipNextNewLine=!0,t.tokenizer.state=Vt.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=V.TEXT}function cF(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,Vt.RAWTEXT)}function uF(t,e){t.framesetOk=!1,t._switchToTextParsing(e,Vt.RAWTEXT)}function R8(t,e){t._switchToTextParsing(e,Vt.RAWTEXT)}function fF(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===V.IN_TABLE||t.insertionMode===V.IN_CAPTION||t.insertionMode===V.IN_TABLE_BODY||t.insertionMode===V.IN_ROW||t.insertionMode===V.IN_CELL?V.IN_SELECT_IN_TABLE:V.IN_SELECT}function hF(t,e){t.openElements.currentTagId===g.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML)}function dF(t,e){t.openElements.hasInScope(g.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,Oe.HTML)}function pF(t,e){t.openElements.hasInScope(g.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(g.RTC),t._insertElement(e,Oe.HTML)}function mF(t,e){t._reconstructActiveFormattingElements(),hp(e),lf(e),e.selfClosing?t._appendElement(e,Oe.MATHML):t._insertElement(e,Oe.MATHML),e.ackSelfClosing=!0}function OF(t,e){t._reconstructActiveFormattingElements(),dp(e),lf(e),e.selfClosing?t._appendElement(e,Oe.SVG):t._insertElement(e,Oe.SVG),e.ackSelfClosing=!0}function $8(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,Oe.HTML)}function Hr(t,e){switch(e.tagID){case g.I:case g.S:case g.B:case g.U:case g.EM:case g.TT:case g.BIG:case g.CODE:case g.FONT:case g.SMALL:case g.STRIKE:case g.STRONG:{eF(t,e);break}case g.A:{Jq(t,e);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{Wq(t,e);break}case g.P:case g.DL:case g.OL:case g.UL:case g.DIV:case g.DIR:case g.NAV:case g.MAIN:case g.MENU:case g.ASIDE:case g.CENTER:case g.FIGURE:case g.FOOTER:case g.HEADER:case g.HGROUP:case g.DIALOG:case g.DETAILS:case g.ADDRESS:case g.ARTICLE:case g.SECTION:case g.SUMMARY:case g.FIELDSET:case g.BLOCKQUOTE:case g.FIGCAPTION:{Fq(t,e);break}case g.LI:case g.DD:case g.DT:{Hq(t,e);break}case g.BR:case g.IMG:case g.WBR:case g.AREA:case g.EMBED:case g.KEYGEN:{z8(t,e);break}case g.HR:{sF(t,e);break}case g.RB:case g.RTC:{dF(t,e);break}case g.RT:case g.RP:{pF(t,e);break}case g.PRE:case g.LISTING:{Zq(t,e);break}case g.XMP:{cF(t,e);break}case g.SVG:{OF(t,e);break}case g.HTML:{Bq(t,e);break}case g.BASE:case g.LINK:case g.META:case g.STYLE:case g.TITLE:case g.SCRIPT:case g.BGSOUND:case g.BASEFONT:case g.TEMPLATE:{Sn(t,e);break}case g.BODY:{Vq(t,e);break}case g.FORM:{Yq(t,e);break}case g.NOBR:{tF(t,e);break}case g.MATH:{mF(t,e);break}case g.TABLE:{iF(t,e);break}case g.INPUT:{nF(t,e);break}case g.PARAM:case g.TRACK:case g.SOURCE:{oF(t,e);break}case g.IMAGE:{aF(t,e);break}case g.BUTTON:{Kq(t,e);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{rF(t,e);break}case g.IFRAME:{uF(t,e);break}case g.SELECT:{fF(t,e);break}case g.OPTION:case g.OPTGROUP:{hF(t,e);break}case g.NOEMBED:{R8(t,e);break}case g.FRAMESET:{qq(t,e);break}case g.TEXTAREA:{lF(t,e);break}case g.NOSCRIPT:{t.options.scriptingEnabled?R8(t,e):$8(t,e);break}case g.PLAINTEXT:{Gq(t,e);break}case g.COL:case g.TH:case g.TD:case g.TR:case g.HEAD:case g.FRAME:case g.TBODY:case g.TFOOT:case g.THEAD:case g.CAPTION:case g.COLGROUP:break;default:$8(t,e)}}function gF(t,e){if(t.openElements.hasInScope(g.BODY)&&(t.insertionMode=V.AFTER_BODY,t.options.sourceCodeLocationInfo)){let r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t._setEndLocation(r,e)}}function bF(t,e){t.openElements.hasInScope(g.BODY)&&(t.insertionMode=V.AFTER_BODY,Z8(t,e))}function yF(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r))}function vF(t){let e=t.openElements.tmplCount>0,{formElement:r}=t;e||(t.formElement=null),(r||e)&&t.openElements.hasInScope(g.FORM)&&(t.openElements.generateImpliedEndTags(),e?t.openElements.popUntilTagNamePopped(g.FORM):r&&t.openElements.remove(r))}function wF(t){t.openElements.hasInButtonScope(g.P)||t._insertFakeElement(J.P,g.P),t._closePElement()}function xF(t){t.openElements.hasInListItemScope(g.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(g.LI),t.openElements.popUntilTagNamePopped(g.LI))}function kF(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.popUntilTagNamePopped(r))}function SF(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}function TF(t,e){let r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r),t.activeFormattingElements.clearToLastMarker())}function EF(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(J.BR,g.BR),t.openElements.pop(),t.framesetOk=!1}function D8(t,e){let r=e.tagName,i=e.tagID;for(let n=t.openElements.stackTop;n>0;n--){let o=t.openElements.items[n],s=t.openElements.tagIDs[n];if(i===s&&(i!==g.UNKNOWN||t.treeAdapter.getTagName(o)===r)){t.openElements.generateImpliedEndTagsWithExclusion(i),t.openElements.stackTop>=n&&t.openElements.shortenToLength(n);break}if(t._isSpecialElement(o,s))break}}function yp(t,e){switch(e.tagID){case g.A:case g.B:case g.I:case g.S:case g.U:case g.EM:case g.TT:case g.BIG:case g.CODE:case g.FONT:case g.NOBR:case g.SMALL:case g.STRIKE:case g.STRONG:{py(t,e);break}case g.P:{wF(t);break}case g.DL:case g.UL:case g.OL:case g.DIR:case g.DIV:case g.NAV:case g.PRE:case g.MAIN:case g.MENU:case g.ASIDE:case g.BUTTON:case g.CENTER:case g.FIGURE:case g.FOOTER:case g.HEADER:case g.HGROUP:case g.DIALOG:case g.ADDRESS:case g.ARTICLE:case g.DETAILS:case g.SECTION:case g.SUMMARY:case g.LISTING:case g.FIELDSET:case g.BLOCKQUOTE:case g.FIGCAPTION:{yF(t,e);break}case g.LI:{xF(t);break}case g.DD:case g.DT:{kF(t,e);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{SF(t);break}case g.BR:{EF(t);break}case g.BODY:{gF(t,e);break}case g.HTML:{bF(t,e);break}case g.FORM:{vF(t);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{TF(t,e);break}case g.TEMPLATE:{Ua(t,e);break}default:D8(t,e)}}function U8(t,e){t.tmplInsertionModeStack.length>0?W8(t,e):my(t,e)}function CF(t,e){var r;e.tagID===g.SCRIPT&&((r=t.scriptHandler)===null||r===void 0||r.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode}function PF(t,e){t._err(e,le.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}function fy(t,e){if(X8.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=V.IN_TABLE_TEXT,e.type){case ht.CHARACTER:{j8(t,e);break}case ht.WHITESPACE_CHARACTER:{N8(t,e);break}}else gf(t,e)}function QF(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_CAPTION}function _F(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_COLUMN_GROUP}function AF(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(J.COLGROUP,g.COLGROUP),t.insertionMode=V.IN_COLUMN_GROUP,Oy(t,e)}function RF(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_TABLE_BODY}function $F(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(J.TBODY,g.TBODY),t.insertionMode=V.IN_TABLE_BODY,vp(t,e)}function XF(t,e){t.openElements.hasInTableScope(g.TABLE)&&(t.openElements.popUntilTagNamePopped(g.TABLE),t._resetInsertionMode(),t._processStartTag(e))}function IF(t,e){M8(e)?t._appendElement(e,Oe.HTML):gf(t,e),e.ackSelfClosing=!0}function LF(t,e){!t.formElement&&t.openElements.tmplCount===0&&(t._insertElement(e,Oe.HTML),t.formElement=t.openElements.current,t.openElements.pop())}function ic(t,e){switch(e.tagID){case g.TD:case g.TH:case g.TR:{$F(t,e);break}case g.STYLE:case g.SCRIPT:case g.TEMPLATE:{Sn(t,e);break}case g.COL:{AF(t,e);break}case g.FORM:{LF(t,e);break}case g.TABLE:{XF(t,e);break}case g.TBODY:case g.TFOOT:case g.THEAD:{RF(t,e);break}case g.INPUT:{IF(t,e);break}case g.CAPTION:{QF(t,e);break}case g.COLGROUP:{_F(t,e);break}default:gf(t,e)}}function Of(t,e){switch(e.tagID){case g.TABLE:{t.openElements.hasInTableScope(g.TABLE)&&(t.openElements.popUntilTagNamePopped(g.TABLE),t._resetInsertionMode());break}case g.TEMPLATE:{Ua(t,e);break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:case g.TBODY:case g.TD:case g.TFOOT:case g.TH:case g.THEAD:case g.TR:break;default:gf(t,e)}}function gf(t,e){let r=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,bp(t,e),t.fosterParentingEnabled=r}function N8(t,e){t.pendingCharacterTokens.push(e)}function j8(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function uf(t,e){let r=0;if(t.hasNonWhitespacePendingCharacterToken)for(;r<t.pendingCharacterTokens.length;r++)gf(t,t.pendingCharacterTokens[r]);else for(;r<t.pendingCharacterTokens.length;r++)t._insertCharacters(t.pendingCharacterTokens[r]);t.insertionMode=t.originalInsertionMode,t._processToken(e)}var B8=new Set([g.CAPTION,g.COL,g.COLGROUP,g.TBODY,g.TD,g.TFOOT,g.TH,g.THEAD,g.TR]);function zF(t,e){let r=e.tagID;B8.has(r)?t.openElements.hasInTableScope(g.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(g.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=V.IN_TABLE,ic(t,e)):Hr(t,e)}function MF(t,e){let r=e.tagID;switch(r){case g.CAPTION:case g.TABLE:{t.openElements.hasInTableScope(g.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(g.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=V.IN_TABLE,r===g.TABLE&&Of(t,e));break}case g.BODY: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:yp(t,e)}}function Oy(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.COL:{t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0;break}case g.TEMPLATE:{Sn(t,e);break}default:Op(t,e)}}function DF(t,e){switch(e.tagID){case g.COLGROUP:{t.openElements.currentTagId===g.COLGROUP&&(t.openElements.pop(),t.insertionMode=V.IN_TABLE);break}case g.TEMPLATE:{Ua(t,e);break}case g.COL:break;default:Op(t,e)}}function Op(t,e){t.openElements.currentTagId===g.COLGROUP&&(t.openElements.pop(),t.insertionMode=V.IN_TABLE,t._processToken(e))}function vp(t,e){switch(e.tagID){case g.TR:{t.openElements.clearBackToTableBodyContext(),t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_ROW;break}case g.TH:case g.TD:{t.openElements.clearBackToTableBodyContext(),t._insertFakeElement(J.TR,g.TR),t.insertionMode=V.IN_ROW,wp(t,e);break}case g.CAPTION:case g.COL:case g.COLGROUP:case g.TBODY:case g.TFOOT:case g.THEAD:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=V.IN_TABLE,ic(t,e));break}default:ic(t,e)}}function dy(t,e){let r=e.tagID;switch(e.tagID){case g.TBODY:case g.TFOOT:case g.THEAD:{t.openElements.hasInTableScope(r)&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=V.IN_TABLE);break}case g.TABLE:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=V.IN_TABLE,Of(t,e));break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:case g.TD:case g.TH:case g.TR:break;default:Of(t,e)}}function wp(t,e){switch(e.tagID){case g.TH:case g.TD:{t.openElements.clearBackToTableRowContext(),t._insertElement(e,Oe.HTML),t.insertionMode=V.IN_CELL,t.activeFormattingElements.insertMarker();break}case g.CAPTION:case g.COL:case g.COLGROUP:case g.TBODY:case g.TFOOT:case g.THEAD:case g.TR:{t.openElements.hasInTableScope(g.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=V.IN_TABLE_BODY,vp(t,e));break}default:ic(t,e)}}function V8(t,e){switch(e.tagID){case g.TR:{t.openElements.hasInTableScope(g.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=V.IN_TABLE_BODY);break}case g.TABLE:{t.openElements.hasInTableScope(g.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=V.IN_TABLE_BODY,dy(t,e));break}case g.TBODY:case g.TFOOT:case g.THEAD:{(t.openElements.hasInTableScope(e.tagID)||t.openElements.hasInTableScope(g.TR))&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=V.IN_TABLE_BODY,dy(t,e));break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:case g.TD:case g.TH:break;default:Of(t,e)}}function UF(t,e){let r=e.tagID;B8.has(r)?(t.openElements.hasInTableScope(g.TD)||t.openElements.hasInTableScope(g.TH))&&(t._closeTableCell(),wp(t,e)):Hr(t,e)}function NF(t,e){let r=e.tagID;switch(r){case g.TD:case g.TH:{t.openElements.hasInTableScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=V.IN_ROW);break}case g.TABLE:case g.TBODY:case g.TFOOT:case g.THEAD:case g.TR:{t.openElements.hasInTableScope(r)&&(t._closeTableCell(),V8(t,e));break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:break;default:yp(t,e)}}function q8(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.OPTION:{t.openElements.currentTagId===g.OPTION&&t.openElements.pop(),t._insertElement(e,Oe.HTML);break}case g.OPTGROUP:{t.openElements.currentTagId===g.OPTION&&t.openElements.pop(),t.openElements.currentTagId===g.OPTGROUP&&t.openElements.pop(),t._insertElement(e,Oe.HTML);break}case g.INPUT:case g.KEYGEN:case g.TEXTAREA:case g.SELECT:{t.openElements.hasInSelectScope(g.SELECT)&&(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode(),e.tagID!==g.SELECT&&t._processStartTag(e));break}case g.SCRIPT:case g.TEMPLATE:{Sn(t,e);break}default:}}function F8(t,e){switch(e.tagID){case g.OPTGROUP:{t.openElements.stackTop>0&&t.openElements.currentTagId===g.OPTION&&t.openElements.tagIDs[t.openElements.stackTop-1]===g.OPTGROUP&&t.openElements.pop(),t.openElements.currentTagId===g.OPTGROUP&&t.openElements.pop();break}case g.OPTION:{t.openElements.currentTagId===g.OPTION&&t.openElements.pop();break}case g.SELECT:{t.openElements.hasInSelectScope(g.SELECT)&&(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode());break}case g.TEMPLATE:{Ua(t,e);break}default:}}function jF(t,e){let r=e.tagID;r===g.CAPTION||r===g.TABLE||r===g.TBODY||r===g.TFOOT||r===g.THEAD||r===g.TR||r===g.TD||r===g.TH?(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode(),t._processStartTag(e)):q8(t,e)}function BF(t,e){let r=e.tagID;r===g.CAPTION||r===g.TABLE||r===g.TBODY||r===g.TFOOT||r===g.THEAD||r===g.TR||r===g.TD||r===g.TH?t.openElements.hasInTableScope(r)&&(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode(),t.onEndTag(e)):F8(t,e)}function VF(t,e){switch(e.tagID){case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:case g.NOFRAMES:case g.SCRIPT:case g.STYLE:case g.TEMPLATE:case g.TITLE:{Sn(t,e);break}case g.CAPTION:case g.COLGROUP:case g.TBODY:case g.TFOOT:case g.THEAD:{t.tmplInsertionModeStack[0]=V.IN_TABLE,t.insertionMode=V.IN_TABLE,ic(t,e);break}case g.COL:{t.tmplInsertionModeStack[0]=V.IN_COLUMN_GROUP,t.insertionMode=V.IN_COLUMN_GROUP,Oy(t,e);break}case g.TR:{t.tmplInsertionModeStack[0]=V.IN_TABLE_BODY,t.insertionMode=V.IN_TABLE_BODY,vp(t,e);break}case g.TD:case g.TH:{t.tmplInsertionModeStack[0]=V.IN_ROW,t.insertionMode=V.IN_ROW,wp(t,e);break}default:t.tmplInsertionModeStack[0]=V.IN_BODY,t.insertionMode=V.IN_BODY,Hr(t,e)}}function qF(t,e){e.tagID===g.TEMPLATE&&Ua(t,e)}function W8(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(g.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):my(t,e)}function FF(t,e){e.tagID===g.HTML?Hr(t,e):gp(t,e)}function Z8(t,e){var r;if(e.tagID===g.HTML){if(t.fragmentContext||(t.insertionMode=V.AFTER_AFTER_BODY),t.options.sourceCodeLocationInfo&&t.openElements.tagIDs[0]===g.HTML){t._setEndLocation(t.openElements.items[0],e);let i=t.openElements.items[1];i&&!(!((r=t.treeAdapter.getNodeSourceCodeLocation(i))===null||r===void 0)&&r.endTag)&&t._setEndLocation(i,e)}}else gp(t,e)}function gp(t,e){t.insertionMode=V.IN_BODY,bp(t,e)}function WF(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.FRAMESET:{t._insertElement(e,Oe.HTML);break}case g.FRAME:{t._appendElement(e,Oe.HTML),e.ackSelfClosing=!0;break}case g.NOFRAMES:{Sn(t,e);break}default:}}function ZF(t,e){e.tagID===g.FRAMESET&&!t.openElements.isRootHtmlElementCurrent()&&(t.openElements.pop(),!t.fragmentContext&&t.openElements.currentTagId!==g.FRAMESET&&(t.insertionMode=V.AFTER_FRAMESET))}function YF(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.NOFRAMES:{Sn(t,e);break}default:}}function HF(t,e){e.tagID===g.HTML&&(t.insertionMode=V.AFTER_AFTER_FRAMESET)}function GF(t,e){e.tagID===g.HTML?Hr(t,e):mp(t,e)}function mp(t,e){t.insertionMode=V.IN_BODY,bp(t,e)}function KF(t,e){switch(e.tagID){case g.HTML:{Hr(t,e);break}case g.NOFRAMES:{Sn(t,e);break}default:}}function JF(t,e){e.chars=Ut,t._insertCharacters(e)}function eW(t,e){t._insertCharacters(e),t.framesetOk=!1}function Y8(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==Oe.HTML&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}function tW(t,e){if(ly(e))Y8(t),t._startTagOutsideForeignContent(e);else{let r=t._getAdjustedCurrentElement(),i=t.treeAdapter.getNamespaceURI(r);i===Oe.MATHML?hp(e):i===Oe.SVG&&(cy(e),dp(e)),lf(e),e.selfClosing?t._appendElement(e,i):t._insertElement(e,i),e.ackSelfClosing=!0}}function rW(t,e){if(e.tagID===g.P||e.tagID===g.BR){Y8(t),t._endTagOutsideForeignContent(e);return}for(let r=t.openElements.stackTop;r>0;r--){let i=t.openElements.items[r];if(t.treeAdapter.getNamespaceURI(i)===Oe.HTML){t._endTagOutsideForeignContent(e);break}let n=t.treeAdapter.getTagName(i);if(n.toLowerCase()===e.tagName){e.tagName=n,t.openElements.shortenToLength(r);break}}}var iW=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),xve=String.prototype.codePointAt!=null?(t,e)=>t.codePointAt(e):(t,e)=>(t.charCodeAt(e)&64512)===55296?(t.charCodeAt(e)-55296)*1024+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e);function gy(t,e){return function(i){let n,o=0,s="";for(;n=t.exec(i);)o!==n.index&&(s+=i.substring(o,n.index)),s+=e.get(n[0].charCodeAt(0)),o=n.index+1;return s+i.substring(o)}}var kve=gy(/[&<>'"]/g,iW),nW=gy(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),oW=gy(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var Pve=new Set([J.AREA,J.BASE,J.BASEFONT,J.BGSOUND,J.BR,J.COL,J.EMBED,J.FRAME,J.HR,J.IMG,J.INPUT,J.KEYGEN,J.LINK,J.META,J.PARAM,J.SOURCE,J.TRACK,J.WBR]);function H8(t,e){return Uo.parse(t,e)}function G8(t,e,r){typeof t=="string"&&(r=e,e=t,t=null);let i=Uo.getFragmentParser(t,r);return i.tokenizer.write(e,!0),i.getFragment()}var sW=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),K8={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function xp(t,e){let r=OW(t),i=Nl("type",{handlers:{root:aW,element:lW,text:cW,comment:eE,doctype:uW,raw:hW},unknown:dW}),n={parser:r?new Uo(K8):Uo.getFragmentParser(void 0,K8),handle(a){i(a,n)},stitches:!1,options:e||{}};i(t,n),nc(n,en());let o=r?n.parser.document:n.parser.getFragment(),s=tf(o,{file:n.options.file});return n.stitches&&Wr(s,"comment",function(a,l,c){let u=a;if(u.value.stitch&&c&&l!==void 0){let f=c.children;return f[l]=u.value.stitch,l}}),s.type==="root"&&s.children.length===1&&s.children[0].type===t.type?s.children[0]:s}function J8(t,e){let r=-1;if(t)for(;++r<t.length;)e.handle(t[r])}function aW(t,e){J8(t.children,e)}function lW(t,e){pW(t,e),J8(t.children,e),mW(t,e)}function cW(t,e){let r={type:Mo.TokenType.CHARACTER,chars:t.value,location:bf(t)};nc(e,en(t)),e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)}function uW(t,e){let r={type:Mo.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:bf(t)};nc(e,en(t)),e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)}function fW(t,e){e.stitches=!0;let r=gW(t);if("children"in t&&"children"in r){let i=xp({type:"root",children:t.children},e.options);r.children=i.children}eE({type:"comment",value:{stitch:r}},e)}function eE(t,e){let r=t.value,i={type:Mo.TokenType.COMMENT,data:r,location:bf(t)};nc(e,en(t)),e.parser.currentToken=i,e.parser._processToken(e.parser.currentToken)}function hW(t,e){if(e.parser.tokenizer.preprocessor.html="",e.parser.tokenizer.preprocessor.pos=-1,e.parser.tokenizer.preprocessor.lastGapPos=-2,e.parser.tokenizer.preprocessor.gapStack=[],e.parser.tokenizer.preprocessor.skipNextNewLine=!1,e.parser.tokenizer.preprocessor.lastChunkWritten=!1,e.parser.tokenizer.preprocessor.endOfChunkHit=!1,e.parser.tokenizer.preprocessor.isEol=!1,tE(e,en(t)),e.parser.tokenizer.write(t.value,!1),e.parser.tokenizer._runParsingLoop(),e.parser.tokenizer.state===72||e.parser.tokenizer.state===78){e.parser.tokenizer.preprocessor.lastChunkWritten=!0;let r=e.parser.tokenizer._consume();e.parser.tokenizer._callState(r)}}function dW(t,e){let r=t;if(e.options.passThrough&&e.options.passThrough.includes(r.type))fW(r,e);else{let i="";throw sW.has(r.type)&&(i=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+i)}}function nc(t,e){tE(t,e);let r=t.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=t.parser.tokenizer.preprocessor.line,r.location.endCol=t.parser.tokenizer.preprocessor.col+1,r.location.endOffset=t.parser.tokenizer.preprocessor.offset+1,t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)),t.parser.tokenizer.paused=!1,t.parser.tokenizer.inLoop=!1,t.parser.tokenizer.active=!1,t.parser.tokenizer.returnState=Vt.DATA,t.parser.tokenizer.charRefCode=-1,t.parser.tokenizer.consumedAfterSnapshot=-1,t.parser.tokenizer.currentLocation=null,t.parser.tokenizer.currentCharacterToken=null,t.parser.tokenizer.currentToken=null,t.parser.tokenizer.currentAttr={name:"",value:""}}function tE(t,e){if(e&&e.offset!==void 0){let r={startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:-1,endCol:-1,endOffset:-1};t.parser.tokenizer.preprocessor.lineStartPos=-e.column+1,t.parser.tokenizer.preprocessor.droppedBufferSize=e.offset,t.parser.tokenizer.preprocessor.line=e.line,t.parser.tokenizer.currentLocation=r}}function pW(t,e){if(e.parser.tokenizer.state===Vt.PLAINTEXT)return;nc(e,en(t));let r=e.parser.openElements.current,i="namespaceURI"in r?r.namespaceURI:Si.html;i===Si.html&&t.tagName==="svg"&&(i=Si.svg);let n=K2(Be(ne({},t),{children:[]}),{space:i===Si.svg?"svg":"html"}),o="attrs"in n?n.attrs:[],s={type:Mo.TokenType.START_TAG,tagName:t.tagName,tagID:rc.getTagID(t.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:o,location:bf(t)};e.parser.currentToken=s,e.parser._processToken(e.parser.currentToken),e.parser.tokenizer.lastStartTagName=t.tagName}function mW(t,e){if(!e.parser.tokenizer.inForeignNode&&ip.includes(t.tagName)||e.parser.tokenizer.state===Vt.PLAINTEXT)return;nc(e,La(t));let r={type:Mo.TokenType.END_TAG,tagName:t.tagName,tagID:rc.getTagID(t.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:bf(t)};e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken),r.tagName===e.parser.tokenizer.lastStartTagName&&(e.parser.tokenizer.state===Vt.RCDATA||e.parser.tokenizer.state===Vt.RAWTEXT||e.parser.tokenizer.state===Vt.SCRIPT_DATA)&&(e.parser.tokenizer.state=Vt.DATA)}function OW(t){let e=t.type==="root"?t.children[0]:t;return!!(e&&(e.type==="doctype"||e.type==="element"&&e.tagName==="html"))}function bf(t){let e=en(t)||{line:void 0,column:void 0,offset:void 0},r=La(t)||{line:void 0,column:void 0,offset:void 0};return{startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function gW(t){return"children"in t?wn(Be(ne({},t),{children:[]})):wn(t)}function kp(t){return function(e,r){return xp(e,Be(ne({},t),{file:r}))}}function by(t,e){return iE(t,e||{})||{type:"root",children:[]}}function iE(t,e){let r=bW(t,e);return r&&e.afterTransform&&e.afterTransform(t,r),r}function bW(t,e){switch(t.nodeType){case 1:return xW(t,e);case 3:return vW(t);case 8:return wW(t);case 9:return rE(t,e);case 10:return yW();case 11:return rE(t,e);default:return}}function rE(t,e){return{type:"root",children:nE(t,e)}}function yW(){return{type:"doctype"}}function vW(t){return{type:"text",value:t.nodeValue||""}}function wW(t){return{type:"comment",value:t.nodeValue||""}}function xW(t,e){let r=t.namespaceURI,i=r===Si.svg?ef:Ju,n=r===Si.html?t.tagName.toLowerCase():t.tagName,o=r===Si.html&&n==="template"?t.content:t,s=t.getAttributeNames(),a={},l=-1;for(;++l<s.length;)a[s[l]]=t.getAttribute(s[l])||"";return i(n,a,nE(o,e))}function nE(t,e){let r=t.childNodes,i=[],n=-1;for(;++n<r.length;){let o=iE(r[n],e);o!==void 0&&i.push(o)}return i}var kW=new DOMParser;function oE(t,e){let r=e!=null&&e.fragment?SW(t):kW.parseFromString(t,"text/html");return by(r)}function SW(t){let e=document.createElement("template");return e.innerHTML=t,e.content}var Sp=function(t,e,r){let i=qn(r);if(!t||!t.type||!t.children)throw new Error("Expected parent node");if(typeof e=="number"){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(e=t.children.indexOf(e),e<0)throw new Error("Expected child node or index");for(;++e<t.children.length;)if(i(t.children[e],e,t))return t.children[e]};var No=function(t){if(t==null)return CW;if(typeof t=="string")return EW(t);if(typeof t=="object")return TW(t);if(typeof t=="function")return yy(t);throw new Error("Expected function, string, or array as `test`")};function TW(t){let e=[],r=-1;for(;++r<t.length;)e[r]=No(t[r]);return yy(i);function i(...n){let o=-1;for(;++o<e.length;)if(e[o].apply(this,n))return!0;return!1}}function EW(t){return yy(e);function e(r){return r.tagName===t}}function yy(t){return e;function e(r,i,n){return!!(PW(r)&&t.call(this,r,typeof i=="number"?i:void 0,n||void 0))}}function CW(t){return!!(t&&typeof t=="object"&&"type"in t&&t.type==="element"&&"tagName"in t&&typeof t.tagName=="string")}function PW(t){return t!==null&&typeof t=="object"&&"type"in t&&"tagName"in t}var sE=/\n/g,aE=/[\t ]+/g,vy=No("br"),lE=No(IW),QW=No("p"),cE=No("tr"),_W=No(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",XW,LW]),uE=No(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function yf(t,e={}){let r="children"in t?t.children:[],i=uE(t),n=dE(t,{whitespace:e.whitespace||"normal",breakBefore:!1,breakAfter:!1}),o=[];(t.type==="text"||t.type==="comment")&&o.push(...hE(t,{whitespace:n,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(...fE(r[s],t,{whitespace:n,breakBefore:s?void 0:i,breakAfter:s<r.length-1?vy(r[s+1]):i}));let a=[],l;for(s=-1;++s<o.length;){let c=o[s];typeof c=="number"?l!==void 0&&c>l&&(l=c):c&&(l!==void 0&&l>-1&&a.push(`
`.repeat(l)||" "),l=-1,a.push(c))}return a.join("")}function fE(t,e,r){return t.type==="element"?AW(t,e,r):t.type==="text"?r.whitespace==="normal"?hE(t,r):RW(t):[]}function AW(t,e,r){let i=dE(t,r),n=t.children||[],o=-1,s=[];if(_W(t))return s;let a,l;for(vy(t)||cE(t)&&Sp(e,t,cE)?l=`
`:QW(t)?(a=2,l=2):uE(t)&&(a=1,l=1);++o<n.length;)s=s.concat(fE(n[o],t,{whitespace:i,breakBefore:o?void 0:a,breakAfter:o<n.length-1?vy(n[o+1]):l}));return lE(t)&&Sp(e,t,lE)&&s.push(" "),a&&s.unshift(a),l&&s.push(l),s}function hE(t,e){let r=String(t.value),i=[],n=[],o=0;for(;o<=r.length;){sE.lastIndex=o;let l=sE.exec(r),c=l&&"index"in l?l.index:r.length;i.push($W(r.slice(o,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),o===0?e.breakBefore:!0,c===r.length?e.breakAfter:!0)),o=c+1}let s=-1,a;for(;++s<i.length;)i[s].charCodeAt(i[s].length-1)===8203||s<i.length-1&&i[s+1].charCodeAt(0)===8203?(n.push(i[s]),a=void 0):i[s]?(typeof a=="number"&&n.push(a),n.push(i[s]),a=0):(s===0||s===i.length-1)&&n.push(0);return n}function RW(t){return[String(t.value)]}function $W(t,e,r){let i=[],n=0,o;for(;n<t.length;){aE.lastIndex=n;let s=aE.exec(t);o=s?s.index:t.length,!n&&!o&&s&&!e&&i.push(""),n!==o&&i.push(t.slice(n,o)),n=s?o+s[0].length:o}return n!==o&&!r&&i.push(""),i.join(" ")}function dE(t,e){if(t.type==="element"){let r=t.properties||{};switch(t.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap";default:}}return e.whitespace}function XW(t){return!!(t.properties||{}).hidden}function IW(t){return t.tagName==="td"||t.tagName==="th"}function LW(t){return t.tagName==="dialog"&&!(t.properties||{}).open}var zW={},MW=[];function Tp(t){let e=t||zW;return function(r,i){Pa(r,"element",function(n,o){let s=Array.isArray(n.properties.className)?n.properties.className:MW,a=s.includes("language-math"),l=s.includes("math-display"),c=s.includes("math-inline"),u=l;if(!a&&!l&&!c)return;let f=o[o.length-1],d=n;if(n.tagName==="code"&&a&&f&&f.type==="element"&&f.tagName==="pre"&&(d=f,f=o[o.length-2],u=!0),!f)return;let p=yf(d,{whitespace:"pre"}),O;try{O=P2.renderToString(p,Be(ne({},e),{displayMode:u,throwOnError:!0}))}catch(x){let k=x,C=k.name.toLowerCase();i.message("Could not render math with KaTeX",{ancestors:[...o,n],cause:k,place:n.position,ruleId:C,source:"rehype-katex"}),C==="parseerror"?O=P2.renderToString(p,Be(ne({},e),{displayMode:u,strict:"ignore",throwOnError:!1})):O=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(x)},children:[{type:"text",value:p}]}]}typeof O=="string"&&(O=oE(O,{fragment:!0}).children);let w=f.children.indexOf(d);return f.children.splice(w,1,...O),Ul})}}var pE={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",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 `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}};var DW="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",UW=/-[a-z]/g,NW=/%c(?:([-+])(\d+))?/g,jW=/%x/g,BW={2:!0,1:!1,0:null},VW={};function wy(t,e){let r=e||VW,i=r.onerror,n=t instanceof vs?t:new vs(t),o=r.fragment?G8:H8,s=String(n),a=o(s,{sourceCodeLocationInfo:!0,onParseError:r.onerror?l:null,scriptingEnabled:!1});return tf(a,{file:n,space:r.space,verbose:r.verbose});function l(c){let u=c.code,f=qW(u),d=r[f],p=d==null?!0:d,O=typeof p=="number"?p:p?1:0;if(O){let x=pE[f];let k=new ur(w(x.reason),{place:{start:{line:c.startLine,column:c.startCol,offset:c.startOffset},end:{line:c.endLine,column:c.endCol,offset:c.endOffset}},ruleId:u,source:"hast-util-from-html"});n.path&&(k.file=n.path,k.name=n.path+":"+k.name),k.fatal=BW[O],k.note=w(x.description),k.url=x.url===!1?void 0:DW+u,i(k)}function w(x){return x.replace(NW,k).replace(jW,C);function k(R,Q,z){let L=(z?Number.parseInt(z,10):0)*(Q==="-"?-1:1),Z=s.charAt(c.startOffset+L);return WW(Z)}function C(){return ZW(s.charCodeAt(c.startOffset))}}}}function qW(t){return t.replace(UW,FW)}function FW(t){return t.charAt(1).toUpperCase()}function WW(t){return t==="`"?"` ` `":t}function ZW(t){return"0x"+t.toString(16).toUpperCase()}function Ep(t){let e=this,o=ne(ne({},e.data("settings")),t),{emitParseErrors:r}=o,i=qr(o,["emitParseErrors"]);e.parser=n;function n(s,a){return wy(s,Be(ne({},i),{onerror:r?function(l){a.path&&(l.name=a.path+":"+l.name,l.file=a.path),a.messages.push(l)}:void 0}))}}var Na=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],Tn={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Na,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Na],h2:[["id","footnote-label"],["className","sr-only"]],img:[...Na,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Na,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Na],table:[...Na],ul:[...Na,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","disabled","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]};var Us={}.hasOwnProperty;function xy(t,e){let r={type:"root",children:[]},i={schema:e?ne(ne({},Tn),e):Tn,stack:[]},n=OE(i,t);return n&&(Array.isArray(n)?n.length===1?r=n[0]:r.children=n:r=n),r}function OE(t,e){if(e&&typeof e=="object"){let r=e;switch(typeof r.type=="string"?r.type:""){case"comment":return YW(t,r);case"doctype":return HW(t,r);case"element":return GW(t,r);case"root":return KW(t,r);case"text":return JW(t,r);default:}}}function YW(t,e){if(t.schema.allowComments){let r=typeof e.value=="string"?e.value:"",i=r.indexOf("-->"),o={type:"comment",value:i<0?r:r.slice(0,i)};return vf(o,e),o}}function HW(t,e){if(t.schema.allowDoctypes){let r={type:"doctype"};return vf(r,e),r}}function GW(t,e){let r=typeof e.tagName=="string"?e.tagName:"";t.stack.push(r);let i=gE(t,e.children),n=eZ(t,e.properties);t.stack.pop();let o=!1;if(r.length>0&&r!=="*"&&(!t.schema.tagNames||t.schema.tagNames.includes(r))&&(o=!0,t.schema.ancestors&&Us.call(t.schema.ancestors,r))){let a=t.schema.ancestors[r],l=-1;for(o=!1;++l<a.length;)t.stack.includes(a[l])&&(o=!0)}if(!o)return t.schema.strip&&!t.schema.strip.includes(r)?i:void 0;let s={type:"element",tagName:r,properties:n,children:i};return vf(s,e),s}function KW(t,e){let i={type:"root",children:gE(t,e.children)};return vf(i,e),i}function JW(t,e){let i={type:"text",value:typeof e.value=="string"?e.value:""};return vf(i,e),i}function gE(t,e){let r=[];if(Array.isArray(e)){let i=e,n=-1;for(;++n<i.length;){let o=OE(t,i[n]);o&&(Array.isArray(o)?r.push(...o):r.push(o))}}return r}function eZ(t,e){let r=t.stack[t.stack.length-1],i=t.schema.attributes,n=t.schema.required,o=i&&Us.call(i,r)?i[r]:void 0,s=i&&Us.call(i,"*")?i["*"]:void 0,a=e&&typeof e=="object"?e:{},l={},c;for(c in a)if(Us.call(a,c)){let u;if(o&&(u=mE(o,c)),!u&&s&&(u=mE(s,c)),u){let f=a[c],d=Array.isArray(f)?tZ(t,u,c,f):bE(t,u,c,f);d!=null&&(l[c]=d)}}if(n&&Us.call(n,r)){let u=n[r];for(c in u)Us.call(u,c)&&!Us.call(l,c)&&(l[c]=u[c])}return l}function tZ(t,e,r,i){let n=-1,o=[];for(;++n<i.length;){let s=bE(t,e,r,i[n]);(typeof s=="number"||typeof s=="string")&&o.push(s)}return o}function bE(t,e,r,i){if(!(typeof i!="boolean"&&typeof i!="number"&&typeof i!="string")&&rZ(t,r,i)){if(typeof e=="object"&&e.length>1){let n=!1,o=0;for(;++o<e.length;){let s=e[o];if(s&&typeof s=="object"&&"flags"in s){if(s.test(String(i))){n=!0;break}}else if(s===i){n=!0;break}}if(!n)return}return t.schema.clobber&&t.schema.clobberPrefix&&t.schema.clobber.includes(r)?t.schema.clobberPrefix+i:i}}function rZ(t,e,r){let i=t.schema.protocols&&Us.call(t.schema.protocols,e)?t.schema.protocols[e]:void 0;if(!i||i.length===0)return!0;let n=String(r),o=n.indexOf(":"),s=n.indexOf("?"),a=n.indexOf("#"),l=n.indexOf("/");if(o<0||l>-1&&o>l||s>-1&&o>s||a>-1&&o>a)return!0;let c=-1;for(;++c<i.length;){let u=i[c];if(o===u.length&&n.slice(0,u.length)===u)return!0}return!1}function vf(t,e){let r=Wu(e);e.data&&(t.data=wn(e.data)),r&&(t.position=r)}function mE(t,e){let r,i=-1;for(;++i<t.length;){let n=t[i],o=typeof n=="string"?n:n[0];if(o===e)return n;o==="data*"&&(r=n)}if(e.length>4&&e.slice(0,4).toLowerCase()==="data")return r}function Cp(t){return function(e){return xy(e,t)}}function yE(t,e){if(t=t.replace(e.subset?iZ(e.subset):/["&'<>`]/g,i),e.subset||e.escapeOnly)return t;return t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,r).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,i);function r(n,o,s){return e.format((n.charCodeAt(0)-55296)*1024+n.charCodeAt(1)-56320+65536,s.charCodeAt(o+2),e)}function i(n,o,s){return e.format(n.charCodeAt(0),s.charCodeAt(o+1),e)}}function iZ(t){let e=[],r=-1;for(;++r<t.length;)e.push(t[r].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}function vE(t,e,r){let i="&#x"+t.toString(16).toUpperCase();return r&&e&&!/[\dA-Fa-f]/.test(String.fromCharCode(e))?i:i+";"}function wE(t,e,r){let i="&#"+String(t);return r&&e&&!/\d/.test(String.fromCharCode(e))?i:i+";"}var xE=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"];var Pp={nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203E",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"};var kE=["cent","copy","divide","gt","lt","not","para","times"];var SE={}.hasOwnProperty,ky={},Qp;for(Qp in Pp)SE.call(Pp,Qp)&&(ky[Pp[Qp]]=Qp);function TE(t,e,r,i){let n=String.fromCharCode(t);if(SE.call(ky,n)){let o=ky[n],s="&"+o;return r&&xE.includes(o)&&!kE.includes(o)&&(!i||e&&e!==61&&/[^\da-z]/i.test(String.fromCharCode(e)))?s:s+";"}return""}function EE(t,e,r){let i=vE(t,e,r.omitOptionalSemicolons),n;if((r.useNamedReferences||r.useShortestReferences)&&(n=TE(t,e,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!n)&&r.useShortestReferences){let o=wE(t,e,r.omitOptionalSemicolons);o.length<i.length&&(i=o)}return n&&(!r.useShortestReferences||n.length<i.length)?n:i}function jo(t,e){return yE(t,Object.assign({format:EE},e))}function CE(t,e,r,i){return i.settings.bogusComments?"<?"+jo(t.value,Object.assign({},i.settings.characterReferences,{subset:[">"]}))+">":"<!--"+t.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,n)+"-->";function n(o){return jo(o,Object.assign({},i.settings.characterReferences,{subset:["<",">"]}))}}function PE(t,e,r,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"}var nZ=/[ \t\n\f\r]/g;function ja(t){return typeof t=="object"?t.type==="text"?QE(t.value):!1:QE(t)}function QE(t){return t.replace(nZ,"")===""}var lr=_E(1),Sy=_E(-1),oZ=[];function _E(t){return e;function e(r,i,n){let o=r?r.children:oZ,s=(i||0)+t,a=o[s];if(!n)for(;a&&ja(a);)s+=t,a=o[s];return a}}var sZ={}.hasOwnProperty;function _p(t){return e;function e(r,i,n){return sZ.call(t,r.tagName)&&t[r.tagName](r,i,n)}}var wf=_p({body:lZ,caption:Ty,colgroup:Ty,dd:hZ,dt:fZ,head:Ty,html:aZ,li:uZ,optgroup:dZ,option:pZ,p:cZ,rp:AE,rt:AE,tbody:OZ,td:RE,tfoot:gZ,th:RE,thead:mZ,tr:bZ});function Ty(t,e,r){let i=lr(r,e,!0);return!i||i.type!=="comment"&&!(i.type==="text"&&ja(i.value.charAt(0)))}function aZ(t,e,r){let i=lr(r,e);return!i||i.type!=="comment"}function lZ(t,e,r){let i=lr(r,e);return!i||i.type!=="comment"}function cZ(t,e,r){let i=lr(r,e);return i?i.type==="element"&&(i.tagName==="address"||i.tagName==="article"||i.tagName==="aside"||i.tagName==="blockquote"||i.tagName==="details"||i.tagName==="div"||i.tagName==="dl"||i.tagName==="fieldset"||i.tagName==="figcaption"||i.tagName==="figure"||i.tagName==="footer"||i.tagName==="form"||i.tagName==="h1"||i.tagName==="h2"||i.tagName==="h3"||i.tagName==="h4"||i.tagName==="h5"||i.tagName==="h6"||i.tagName==="header"||i.tagName==="hgroup"||i.tagName==="hr"||i.tagName==="main"||i.tagName==="menu"||i.tagName==="nav"||i.tagName==="ol"||i.tagName==="p"||i.tagName==="pre"||i.tagName==="section"||i.tagName==="table"||i.tagName==="ul"):!r||!(r.type==="element"&&(r.tagName==="a"||r.tagName==="audio"||r.tagName==="del"||r.tagName==="ins"||r.tagName==="map"||r.tagName==="noscript"||r.tagName==="video"))}function uZ(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&i.tagName==="li"}function fZ(t,e,r){let i=lr(r,e);return!!(i&&i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd"))}function hZ(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&(i.tagName==="dt"||i.tagName==="dd")}function AE(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&(i.tagName==="rp"||i.tagName==="rt")}function dZ(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&i.tagName==="optgroup"}function pZ(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&(i.tagName==="option"||i.tagName==="optgroup")}function mZ(t,e,r){let i=lr(r,e);return!!(i&&i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot"))}function OZ(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&(i.tagName==="tbody"||i.tagName==="tfoot")}function gZ(t,e,r){return!lr(r,e)}function bZ(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&i.tagName==="tr"}function RE(t,e,r){let i=lr(r,e);return!i||i.type==="element"&&(i.tagName==="td"||i.tagName==="th")}var $E=_p({body:wZ,colgroup:xZ,head:vZ,html:yZ,tbody:kZ});function yZ(t){let e=lr(t,-1);return!e||e.type!=="comment"}function vZ(t){let e=t.children,r=[],i=-1;for(;++i<e.length;){let n=e[i];if(n.type==="element"&&(n.tagName==="title"||n.tagName==="base")){if(r.includes(n.tagName))return!1;r.push(n.tagName)}}return e.length>0}function wZ(t){let e=lr(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&ja(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function xZ(t,e,r){let i=Sy(r,e),n=lr(t,-1,!0);return r&&i&&i.type==="element"&&i.tagName==="colgroup"&&wf(i,r.children.indexOf(i),r)?!1:!!(n&&n.type==="element"&&n.tagName==="col")}function kZ(t,e,r){let i=Sy(r,e),n=lr(t,-1);return r&&i&&i.type==="element"&&(i.tagName==="thead"||i.tagName==="tbody")&&wf(i,r.children.indexOf(i),r)?!1:!!(n&&n.type==="element"&&n.tagName==="tr")}var Ap={name:[[`
\f\r &/=>`.split(""),`
\f\r "&'/=>\``.split("")],[`\0
\f\r "&'/<=>`.split(""),`\0
\f\r "&'/<=>\``.split("")]],unquoted:[[`
\f\r &>`.split(""),`\0
\f\r "&'<=>\``.split("")],[`\0
\f\r "&'<=>\``.split(""),`\0
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function XE(t,e,r,i){let n=i.schema,o=n.space==="svg"?!1:i.settings.omitOptionalTags,s=n.space==="svg"?i.settings.closeEmptyElements:i.settings.voids.includes(t.tagName.toLowerCase()),a=[],l;n.space==="html"&&t.tagName==="svg"&&(i.schema=rn);let c=SZ(i,t.properties),u=i.all(n.space==="html"&&t.tagName==="template"?t.content:t);return i.schema=n,u&&(s=!1),(c||!o||!$E(t,e,r))&&(a.push("<",t.tagName,c?" "+c:""),s&&(n.space==="svg"||i.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!i.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!s&&(!o||!wf(t,e,r))&&a.push("</"+t.tagName+">"),a.join("")}function SZ(t,e){let r=[],i=-1,n;if(e){for(n in e)if(e[n]!==null&&e[n]!==void 0){let o=TZ(t,n,e[n]);o&&r.push(o)}}for(;++i<r.length;){let o=t.settings.tightAttributes?r[i].charAt(r[i].length-1):void 0;i!==r.length-1&&o!=='"'&&o!=="'"&&(r[i]+=" ")}return r.join("")}function TZ(t,e,r){let i=Lo(t.schema,e),n=t.settings.allowParseErrors&&t.schema.space==="html"?0:1,o=t.settings.allowDangerousCharacters?0:1,s=t.quote,a;if(i.overloadedBoolean&&(r===i.attribute||r==="")?r=!0:(i.boolean||i.overloadedBoolean&&typeof r!="string")&&(r=!!r),r==null||r===!1||typeof r=="number"&&Number.isNaN(r))return"";let l=jo(i.attribute,Object.assign({},t.settings.characterReferences,{subset:Ap.name[n][o]}));return r===!0||(r=Array.isArray(r)?(i.commaSeparated?ep:tp)(r,{padLeft:!t.settings.tightCommaSeparatedLists}):String(r),t.settings.collapseEmptyAttributes&&!r)?l:(t.settings.preferUnquoted&&(a=jo(r,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:Ap.unquoted[n][o]}))),a!==r&&(t.settings.quoteSmart&&Dl(r,s)>Dl(r,t.alternative)&&(s=t.alternative),a=s+jo(r,Object.assign({},t.settings.characterReferences,{subset:(s==="'"?Ap.single:Ap.double)[n][o],attribute:!0}))+s),l+(a&&"="+a))}function Rp(t,e,r,i){return r&&r.type==="element"&&(r.tagName==="script"||r.tagName==="style")?t.value:jo(t.value,Object.assign({},i.settings.characterReferences,{subset:["<","&"]}))}function IE(t,e,r,i){return i.settings.allowDangerousHtml?t.value:Rp(t,e,r,i)}function LE(t,e,r,i){return i.all(t)}var zE=Nl("type",{invalid:EZ,unknown:CZ,handlers:{comment:CE,doctype:PE,element:XE,raw:IE,root:LE,text:Rp}});function EZ(t){throw new Error("Expected node, not `"+t+"`")}function CZ(t){let e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")}var PZ={},QZ={},_Z=[];function Ey(t,e){let r=e||PZ,i=r.quote||'"',n=i==='"'?"'":'"';if(i!=='"'&&i!=="'")throw new Error("Invalid quote `"+i+"`, expected `'` or `\"`");return{one:AZ,all:RZ,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||ip,characterReferences:r.characterReferences||QZ,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?rn:zo,quote:i,alternative:n}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}function AZ(t,e,r){return zE(t,e,r,this)}function RZ(t){let e=[],r=t&&t.children||_Z,i=-1;for(;++i<r.length;)e[i]=this.one(r[i],i,t);return e.join("")}function $p(t){let e=this,r=ne(ne({},e.data("settings")),t);e.compiler=i;function i(n){return Ey(n,r)}}var $Z={inline:["$","$"],display:["$$","$$"]};function XZ(t,e){e===void 0&&(e=$Z);for(var r=t.querySelectorAll(".katex-mathml + .katex-html"),i=0;i<r.length;i++){var n=r[i];n.remove?n.remove():n.parentNode&&n.parentNode.removeChild(n)}for(var o=t.querySelectorAll(".katex-mathml"),s=0;s<o.length;s++){var a=o[s],l=a.querySelector("annotation");l&&(a.replaceWith?a.replaceWith(l):a.parentNode&&a.parentNode.replaceChild(l,a),l.innerHTML=e.inline[0]+l.innerHTML+e.inline[1])}for(var c=t.querySelectorAll(".katex-display annotation"),u=0;u<c.length;u++){var f=c[u];f.innerHTML=e.display[0]+f.innerHTML.substr(e.inline[0].length,f.innerHTML.length-e.inline[0].length-e.inline[1].length)+e.display[1]}return t}function ME(t){var e=t instanceof Element?t:t.parentElement;return e&&e.closest(".katex")}document.addEventListener("copy",function(t){var e=window.getSelection();if(!(e.isCollapsed||!t.clipboardData)){var r=t.clipboardData,i=e.getRangeAt(0),n=ME(i.startContainer);n&&i.setStartBefore(n);var o=ME(i.endContainer);o&&i.setEndAfter(o);var s=i.cloneContents();if(s.querySelector(".katex-mathml")){var a=Array.prototype.map.call(s.childNodes,l=>l instanceof Text?l.textContent:l.outerHTML).join("");r.setData("text/html",a),r.setData("text/plain",XZ(s).textContent),t.preventDefault()}}});function Cy(t,e){let i=(e||{}).force||!1;Wr(t,n);function n(o){i?delete o.position:o.position=void 0}}var IZ=0,Ti=class{constructor(e,r){this.from=e,this.to=r}},qe=class{constructor(e={}){this.id=IZ++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Kt.match(e)),r=>{let i=e(r);return i===void 0?null:[this,i]}}};qe.closedBy=new qe({deserialize:t=>t.split(" ")});qe.openedBy=new qe({deserialize:t=>t.split(" ")});qe.group=new qe({deserialize:t=>t.split(" ")});qe.isolate=new qe({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});qe.contextHash=new qe({perNode:!0});qe.lookAhead=new qe({perNode:!0});qe.mounted=new qe({perNode:!0});var Ba=class{constructor(e,r,i){this.tree=e,this.overlay=r,this.parser=i}static get(e){return e&&e.props&&e.props[qe.mounted.id]}},LZ=Object.create(null),Kt=class t{constructor(e,r,i,n=0){this.name=e,this.props=r,this.id=i,this.flags=n}static define(e){let r=e.props&&e.props.length?Object.create(null):LZ,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),n=new t(e.name||"",r,e.id,i);if(e.props){for(let o of e.props)if(Array.isArray(o)||(o=o(n)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");r[o[0].id]=o[1]}}return n}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let r=this.prop(qe.group);return r?r.indexOf(e)>-1:!1}return this.id==e}static match(e){let r=Object.create(null);for(let i in e)for(let n of i.split(" "))r[n]=e[i];return i=>{for(let n=i.prop(qe.group),o=-1;o<(n?n.length:0);o++){let s=r[o<0?i.name:n[o]];if(s)return s}}}};Kt.none=new Kt("",Object.create(null),0,8);var Bo=class t{constructor(e){this.types=e;for(let r=0;r<e.length;r++)if(e[r].id!=r)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let r=[];for(let i of this.types){let n=null;for(let o of e){let s=o(i);s&&(n||(n=Object.assign({},i.props)),n[s[0].id]=s[1])}r.push(n?new Kt(i.name,n,i.id,i.flags):i)}return new t(r)}},Xp=new WeakMap,DE=new WeakMap,Pt;(function(t){t[t.ExcludeBuffers=1]="ExcludeBuffers",t[t.IncludeAnonymous=2]="IncludeAnonymous",t[t.IgnoreMounts=4]="IgnoreMounts",t[t.IgnoreOverlays=8]="IgnoreOverlays"})(Pt||(Pt={}));var ut=class t{constructor(e,r,i,n,o){if(this.type=e,this.children=r,this.positions=i,this.length=n,this.props=null,o&&o.length){this.props=Object.create(null);for(let[s,a]of o)this.props[typeof s=="number"?s:s.id]=a}}toString(){let e=Ba.get(this);if(e&&!e.overlay)return e.tree.toString();let r="";for(let i of this.children){let n=i.toString();n&&(r&&(r+=","),r+=n)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(r.length?"("+r+")":""):r}cursor(e=0){return new oc(this.topNode,e)}cursorAt(e,r=0,i=0){let n=Xp.get(this)||this.topNode,o=new oc(n);return o.moveTo(e,r),Xp.set(this,o._tree),o}get topNode(){return new Ei(this,0,0,null)}resolve(e,r=0){let i=xf(Xp.get(this)||this.topNode,e,r,!1);return Xp.set(this,i),i}resolveInner(e,r=0){let i=xf(DE.get(this)||this.topNode,e,r,!0);return DE.set(this,i),i}resolveStack(e,r=0){return zZ(this,e,r)}iterate(e){let{enter:r,leave:i,from:n=0,to:o=this.length}=e,s=e.mode||0,a=(s&Pt.IncludeAnonymous)>0;for(let l=this.cursor(s|Pt.IncludeAnonymous);;){let c=!1;if(l.from<=o&&l.to>=n&&(!a&&l.type.isAnonymous||r(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&i&&(a||!l.type.isAnonymous)&&i(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let r in this.props)e.push([+r,this.props[r]]);return e}balance(e={}){return this.children.length<=8?this:My(Kt.none,this.children,this.positions,0,this.children.length,0,this.length,(r,i,n)=>new t(this.type,r,i,n,this.propValues),e.makeTree||((r,i,n)=>new t(Kt.none,r,i,n)))}static build(e){return MZ(e)}};ut.empty=new ut(Kt.none,[],[],0);var Py=class t{constructor(e,r){this.buffer=e,this.index=r}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new t(this.buffer,this.index)}},Ns=class t{constructor(e,r,i){this.buffer=e,this.length=r,this.set=i}get type(){return Kt.none}toString(){let e=[];for(let r=0;r<this.buffer.length;)e.push(this.childString(r)),r=this.buffer[r+3];return e.join(",")}childString(e){let r=this.buffer[e],i=this.buffer[e+3],n=this.set.types[r],o=n.name;if(/\W/.test(o)&&!n.isError&&(o=JSON.stringify(o)),e+=4,i==e)return o;let s=[];for(;e<i;)s.push(this.childString(e)),e=this.buffer[e+3];return o+"("+s.join(",")+")"}findChild(e,r,i,n,o){let{buffer:s}=this,a=-1;for(let l=e;l!=r&&!(FE(o,n,s[l+1],s[l+2])&&(a=l,i>0));l=s[l+3]);return a}slice(e,r,i){let n=this.buffer,o=new Uint16Array(r-e),s=0;for(let a=e,l=0;a<r;){o[l++]=n[a++],o[l++]=n[a++]-i;let c=o[l++]=n[a++]-i;o[l++]=n[a++]-e,s=Math.max(s,c)}return new t(o,s,this.set)}};function FE(t,e,r,i){switch(t){case-2:return r<e;case-1:return i>=e&&r<e;case 0:return r<e&&i>e;case 1:return r<=e&&i>e;case 2:return i>e;case 4:return!0}}function xf(t,e,r,i){for(var n;t.from==t.to||(r<1?t.from>=e:t.from>e)||(r>-1?t.to<=e:t.to<e);){let s=!i&&t instanceof Ei&&t.index<0?null:t.parent;if(!s)return t;t=s}let o=i?0:Pt.IgnoreOverlays;if(i)for(let s=t,a=s.parent;a;s=a,a=s.parent)s instanceof Ei&&s.index<0&&((n=a.enter(e,r,o))===null||n===void 0?void 0:n.from)!=s.from&&(t=a);for(;;){let s=t.enter(e,r,o);if(!s)return t;t=s}}var Lp=class{cursor(e=0){return new oc(this,e)}getChild(e,r=null,i=null){let n=UE(this,e,r,i);return n.length?n[0]:null}getChildren(e,r=null,i=null){return UE(this,e,r,i)}resolve(e,r=0){return xf(this,e,r,!1)}resolveInner(e,r=0){return xf(this,e,r,!0)}matchContext(e){return Qy(this,e)}enterUnfinishedNodesBefore(e){let r=this.childBefore(e),i=this;for(;r;){let n=r.lastChild;if(!n||n.to!=r.to)break;n.type.isError&&n.from==n.to?(i=r,r=n.prevSibling):r=n}return i}get node(){return this}get next(){return this.parent}},Ei=class t extends Lp{constructor(e,r,i,n){super(),this._tree=e,this.from=r,this.index=i,this._parent=n}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,r,i,n,o=0){for(let s=this;;){for(let{children:a,positions:l}=s._tree,c=r>0?a.length:-1;e!=c;e+=r){let u=a[e],f=l[e]+s.from;if(FE(n,i,f,f+u.length)){if(u instanceof Ns){if(o&Pt.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,r,i-f,n);if(d>-1)return new Va(new _y(s,u,e,f),null,d)}else if(o&Pt.IncludeAnonymous||!u.type.isAnonymous||zy(u)){let d;if(!(o&Pt.IgnoreMounts)&&(d=Ba.get(u))&&!d.overlay)return new t(d.tree,f,e,s);let p=new t(u,f,e,s);return o&Pt.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(r<0?u.children.length-1:0,r,i,n)}}}if(o&Pt.IncludeAnonymous||!s.type.isAnonymous||(s.index>=0?e=s.index+r:e=r<0?-1:s._parent._tree.children.length,s=s._parent,!s))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,r,i=0){let n;if(!(i&Pt.IgnoreOverlays)&&(n=Ba.get(this._tree))&&n.overlay){let o=e-this.from;for(let{from:s,to:a}of n.overlay)if((r>0?s<=o:s<o)&&(r<0?a>=o:a>o))return new t(n.tree,n.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,r,i)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}};function UE(t,e,r,i){let n=t.cursor(),o=[];if(!n.firstChild())return o;if(r!=null){for(;!n.type.is(r);)if(!n.nextSibling())return o}for(;;){if(i!=null&&n.type.is(i))return o;if(n.type.is(e)&&o.push(n.node),!n.nextSibling())return i==null?o:[]}}function Qy(t,e,r=e.length-1){for(let i=t.parent;r>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(e[r]&&e[r]!=i.name)return!1;r--}}return!0}var _y=class{constructor(e,r,i,n){this.parent=e,this.buffer=r,this.index=i,this.start=n}},Va=class t extends Lp{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,r,i){super(),this.context=e,this._parent=r,this.index=i,this.type=e.buffer.set.types[e.buffer.buffer[i]]}child(e,r,i){let{buffer:n}=this.context,o=n.findChild(this.index+4,n.buffer[this.index+3],e,r-this.context.start,i);return o<0?null:new t(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,r,i=0){if(i&Pt.ExcludeBuffers)return null;let{buffer:n}=this.context,o=n.findChild(this.index+4,n.buffer[this.index+3],r>0?1:-1,e-this.context.start,r);return o<0?null:new t(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,r=e.buffer[this.index+3];return r<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new t(this.context,this._parent,r):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,r=this._parent?this._parent.index+4:0;return this.index==r?this.externalSibling(-1):new t(this.context,this._parent,e.findChild(r,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],r=[],{buffer:i}=this.context,n=this.index+4,o=i.buffer[this.index+3];if(o>n){let s=i.buffer[this.index+1];e.push(i.slice(n,o,s)),r.push(0)}return new ut(this.type,e,r,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}};function WE(t){if(!t.length)return null;let e=0,r=t[0];for(let o=1;o<t.length;o++){let s=t[o];(s.from>r.from||s.to<r.to)&&(r=s,e=o)}let i=r instanceof Ei&&r.index<0?null:r.parent,n=t.slice();return i?n[e]=i:n.splice(e,1),new Ay(n,r)}var Ay=class{constructor(e,r){this.heads=e,this.node=r}get next(){return WE(this.heads)}};function zZ(t,e,r){let i=t.resolveInner(e,r),n=null;for(let o=i instanceof Ei?i:i.context.parent;o;o=o.parent)if(o.index<0){let s=o.parent;(n||(n=[i])).push(s.resolve(e,r)),o=s}else{let s=Ba.get(o.tree);if(s&&s.overlay&&s.overlay[0].from<=e&&s.overlay[s.overlay.length-1].to>=e){let a=new Ei(s.tree,s.overlay[0].from+o.from,-1,o);(n||(n=[i])).push(xf(a,e,r,!1))}}return n?WE(n):i}var oc=class{get name(){return this.type.name}constructor(e,r=0){if(this.mode=r,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Ei)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let i=e._parent;i;i=i._parent)this.stack.unshift(i.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,r){this.index=e;let{start:i,buffer:n}=this.buffer;return this.type=r||n.set.types[n.buffer[e]],this.from=i+n.buffer[e+1],this.to=i+n.buffer[e+2],!0}yield(e){return e?e instanceof Ei?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,r,i){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,r,i,this.mode));let{buffer:n}=this.buffer,o=n.findChild(this.index+4,n.buffer[this.index+3],e,r-this.buffer.start,i);return o<0?!1:(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,r,i=this.mode){return this.buffer?i&Pt.ExcludeBuffers?!1:this.enterChild(1,e,r):this.yield(this._tree.enter(e,r,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Pt.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Pt.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:r}=this.buffer,i=this.stack.length-1;if(e<0){let n=i<0?0:this.stack[i]+4;if(this.index!=n)return this.yieldBuf(r.findChild(n,this.index,-1,0,4))}else{let n=r.buffer[this.index+3];if(n<(i<0?r.buffer.length:r.buffer[this.stack[i]+3]))return this.yieldBuf(n)}return i<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let r,i,{buffer:n}=this;if(n){if(e>0){if(this.index<n.buffer.buffer.length)return!1}else for(let o=0;o<this.index;o++)if(n.buffer.buffer[o+3]<this.index)return!1;({index:r,parent:i}=n)}else({index:r,_parent:i}=this._tree);for(;i;{index:r,_parent:i}=i)if(r>-1)for(let o=r+e,s=e<0?-1:i._tree.children.length;o!=s;o+=e){let a=i._tree.children[o];if(this.mode&Pt.IncludeAnonymous||a instanceof Ns||!a.type.isAnonymous||zy(a))return!1}return!0}move(e,r){if(r&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,r=0){for(;(this.from==this.to||(r<1?this.from>=e:this.from>e)||(r>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,r););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,r=null,i=0;if(e&&e.context==this.buffer)e:for(let n=this.index,o=this.stack.length;o>=0;){for(let s=e;s;s=s._parent)if(s.index==n){if(n==this.index)return s;r=s,i=o+1;break e}n=this.stack[--o]}for(let n=i;n<this.stack.length;n++)r=new Va(this.buffer,r,this.stack[n]);return this.bufferNode=new Va(this.buffer,r,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,r){for(let i=0;;){let n=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){i++;continue}this.type.isAnonymous||(n=!0)}for(;n&&r&&r(this),n=this.type.isAnonymous,!this.nextSibling();){if(!i)return;this.parent(),i--,n=!0}}}matchContext(e){if(!this.buffer)return Qy(this.node,e);let{buffer:r}=this.buffer,{types:i}=r.set;for(let n=e.length-1,o=this.stack.length-1;n>=0;o--){if(o<0)return Qy(this.node,e,n);let s=i[r.buffer[this.stack[o]]];if(!s.isAnonymous){if(e[n]&&e[n]!=s.name)return!1;n--}}return!0}};function zy(t){return t.children.some(e=>e instanceof Ns||!e.type.isAnonymous||zy(e))}function MZ(t){var e;let{buffer:r,nodeSet:i,maxBufferLength:n=1024,reused:o=[],minRepeatType:s=i.types.length}=t,a=Array.isArray(r)?new Py(r,r.length):r,l=i.types,c=0,u=0;function f(z,L,Z,re,H,q){let{id:oe,start:pe,end:fe,size:ge}=a,ve=u;for(;ge<0;)if(a.next(),ge==-1){let _=o[oe];Z.push(_),re.push(pe-z);return}else if(ge==-3){c=oe;return}else if(ge==-4){u=oe;return}else throw new RangeError(`Unrecognized record size: ${ge}`);let Qe=l[oe],se,he,K=pe-z;if(fe-pe<=n&&(he=x(a.pos-L,H))){let _=new Uint16Array(he.size-he.skip),G=a.pos-he.size,ae=_.length;for(;a.pos>G;)ae=k(he.start,_,ae);se=new Ns(_,fe-he.start,i),K=he.start-z}else{let _=a.pos-ge;a.next();let G=[],ae=[],j=oe>=s?oe:-1,Je=0,at=fe;for(;a.pos>_;)j>=0&&a.id==j&&a.size>=0?(a.end<=at-n&&(O(G,ae,pe,Je,a.end,at,j,ve),Je=G.length,at=a.end),a.next()):q>2500?d(pe,_,G,ae):f(pe,_,G,ae,j,q+1);if(j>=0&&Je>0&&Je<G.length&&O(G,ae,pe,Je,pe,at,j,ve),G.reverse(),ae.reverse(),j>-1&&Je>0){let st=p(Qe);se=My(Qe,G,ae,0,G.length,0,fe-pe,st,st)}else se=w(Qe,G,ae,fe-pe,ve-fe)}Z.push(se),re.push(K)}function d(z,L,Z,re){let H=[],q=0,oe=-1;for(;a.pos>L;){let{id:pe,start:fe,end:ge,size:ve}=a;if(ve>4)a.next();else{if(oe>-1&&fe<oe)break;oe<0&&(oe=ge-n),H.push(pe,fe,ge),q++,a.next()}}if(q){let pe=new Uint16Array(q*4),fe=H[H.length-2];for(let ge=H.length-3,ve=0;ge>=0;ge-=3)pe[ve++]=H[ge],pe[ve++]=H[ge+1]-fe,pe[ve++]=H[ge+2]-fe,pe[ve++]=ve;Z.push(new Ns(pe,H[2]-fe,i)),re.push(fe-z)}}function p(z){return(L,Z,re)=>{let H=0,q=L.length-1,oe,pe;if(q>=0&&(oe=L[q])instanceof ut){if(!q&&oe.type==z&&oe.length==re)return oe;(pe=oe.prop(qe.lookAhead))&&(H=Z[q]+oe.length+pe)}return w(z,L,Z,re,H)}}function O(z,L,Z,re,H,q,oe,pe){let fe=[],ge=[];for(;z.length>re;)fe.push(z.pop()),ge.push(L.pop()+Z-H);z.push(w(i.types[oe],fe,ge,q-H,pe-q)),L.push(H-Z)}function w(z,L,Z,re,H=0,q){if(c){let oe=[qe.contextHash,c];q=q?[oe].concat(q):[oe]}if(H>25){let oe=[qe.lookAhead,H];q=q?[oe].concat(q):[oe]}return new ut(z,L,Z,re,q)}function x(z,L){let Z=a.fork(),re=0,H=0,q=0,oe=Z.end-n,pe={size:0,start:0,skip:0};e:for(let fe=Z.pos-z;Z.pos>fe;){let ge=Z.size;if(Z.id==L&&ge>=0){pe.size=re,pe.start=H,pe.skip=q,q+=4,re+=4,Z.next();continue}let ve=Z.pos-ge;if(ge<0||ve<fe||Z.start<oe)break;let Qe=Z.id>=s?4:0,se=Z.start;for(Z.next();Z.pos>ve;){if(Z.size<0)if(Z.size==-3)Qe+=4;else break e;else Z.id>=s&&(Qe+=4);Z.next()}H=se,re+=ge,q+=Qe}return(L<0||re==z)&&(pe.size=re,pe.start=H,pe.skip=q),pe.size>4?pe:void 0}function k(z,L,Z){let{id:re,start:H,end:q,size:oe}=a;if(a.next(),oe>=0&&re<s){let pe=Z;if(oe>4){let fe=a.pos-(oe-4);for(;a.pos>fe;)Z=k(z,L,Z)}L[--Z]=pe,L[--Z]=q-z,L[--Z]=H-z,L[--Z]=re}else oe==-3?c=re:oe==-4&&(u=re);return Z}let C=[],R=[];for(;a.pos>0;)f(t.start||0,t.bufferStart||0,C,R,-1,0);let Q=(e=t.length)!==null&&e!==void 0?e:C.length?R[0]+C[0].length:0;return new ut(l[t.topID],C.reverse(),R.reverse(),Q)}var NE=new WeakMap;function Ip(t,e){if(!t.isAnonymous||e instanceof Ns||e.type!=t)return 1;let r=NE.get(e);if(r==null){r=1;for(let i of e.children){if(i.type!=t||!(i instanceof ut)){r=1;break}r+=Ip(t,i)}NE.set(e,r)}return r}function My(t,e,r,i,n,o,s,a,l){let c=0;for(let O=i;O<n;O++)c+=Ip(t,e[O]);let u=Math.ceil(c*1.5/8),f=[],d=[];function p(O,w,x,k,C){for(let R=x;R<k;){let Q=R,z=w[R],L=Ip(t,O[R]);for(R++;R<k;R++){let Z=Ip(t,O[R]);if(L+Z>=u)break;L+=Z}if(R==Q+1){if(L>u){let Z=O[Q];p(Z.children,Z.positions,0,Z.children.length,w[Q]+C);continue}f.push(O[Q])}else{let Z=w[R-1]+O[R-1].length-z;f.push(My(t,O,w,Q,R,z,Z,null,l))}d.push(z+C-o)}}return p(e,r,i,n,0),(a||l)(f,d,s)}var sc=class{constructor(){this.map=new WeakMap}setBuffer(e,r,i){let n=this.map.get(e);n||this.map.set(e,n=new Map),n.set(r,i)}getBuffer(e,r){let i=this.map.get(e);return i&&i.get(r)}set(e,r){e instanceof Va?this.setBuffer(e.context.buffer,e.index,r):e instanceof Ei&&this.map.set(e.tree,r)}get(e){return e instanceof Va?this.getBuffer(e.context.buffer,e.index):e instanceof Ei?this.map.get(e.tree):void 0}cursorSet(e,r){e.buffer?this.setBuffer(e.buffer.buffer,e.index,r):this.map.set(e.tree,r)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},Vo=class t{constructor(e,r,i,n,o=!1,s=!1){this.from=e,this.to=r,this.tree=i,this.offset=n,this.open=(o?1:0)|(s?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,r=[],i=!1){let n=[new t(0,e.length,e,0,!1,i)];for(let o of r)o.to>e.length&&n.push(o);return n}static applyChanges(e,r,i=128){if(!r.length)return e;let n=[],o=1,s=e.length?e[0]:null;for(let a=0,l=0,c=0;;a++){let u=a<r.length?r[a]:null,f=u?u.fromA:1e9;if(f-l>=i)for(;s&&s.from<f;){let d=s;if(l>=d.from||f<=d.to||c){let p=Math.max(d.from,l)-c,O=Math.min(d.to,f)-c;d=p>=O?null:new t(p,O,d.tree,d.offset+c,a>0,!!u)}if(d&&n.push(d),s.to>f)break;s=o<e.length?e[o++]:null}if(!u)break;l=u.toA,c=u.toA-u.toB}return n}},qo=class{startParse(e,r,i){return typeof e=="string"&&(e=new Ry(e)),i=i?i.length?i.map(n=>new Ti(n.from,n.to)):[new Ti(0,0)]:[new Ti(0,e.length)],this.createParse(e,r||[],i)}parse(e,r,i){let n=this.startParse(e,r,i);for(;;){let o=n.advance();if(o)return o}}},Ry=class{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,r){return this.string.slice(e,r)}};function Dp(t){return(e,r,i,n)=>new Iy(e,t,r,i,n)}var zp=class{constructor(e,r,i,n,o){this.parser=e,this.parse=r,this.overlay=i,this.target=n,this.from=o}};function jE(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}var $y=class{constructor(e,r,i,n,o,s,a){this.parser=e,this.predicate=r,this.mounts=i,this.index=n,this.start=o,this.target=s,this.prev=a,this.depth=0,this.ranges=[]}},Xy=new qe({perNode:!0}),Iy=class{constructor(e,r,i,n,o){this.nest=r,this.input=i,this.fragments=n,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let i=this.baseParse.advance();if(!i)return null;if(this.baseParse=null,this.baseTree=i,this.startInner(),this.stoppedAt!=null)for(let n of this.inner)n.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let i=this.baseTree;return this.stoppedAt!=null&&(i=new ut(i.type,i.children,i.positions,i.length,i.propValues.concat([[Xy,this.stoppedAt]]))),i}let e=this.inner[this.innerDone],r=e.parse.advance();if(r){this.innerDone++;let i=Object.assign(Object.create(null),e.target.props);i[qe.mounted.id]=new Ba(r,e.overlay,e.parser),e.target.props=i}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let r=this.innerDone;r<this.inner.length;r++)this.inner[r].from<e&&(e=Math.min(e,this.inner[r].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let r=this.innerDone;r<this.inner.length;r++)this.inner[r].parse.stopAt(e)}startInner(){let e=new Ly(this.fragments),r=null,i=null,n=new oc(new Ei(this.baseTree,this.ranges[0].from,0,null),Pt.IncludeAnonymous|Pt.IgnoreMounts);e:for(let o,s;;){let a=!0,l;if(this.stoppedAt!=null&&n.from>=this.stoppedAt)a=!1;else if(e.hasNode(n)){if(r){let c=r.mounts.find(u=>u.frag.from<=n.from&&u.frag.to>=n.to&&u.mount.overlay);if(c)for(let u of c.mount.overlay){let f=u.from+c.pos,d=u.to+c.pos;f>=n.from&&d<=n.to&&!r.ranges.some(p=>p.from<d&&p.to>f)&&r.ranges.push({from:f,to:d})}}a=!1}else if(i&&(s=DZ(i.ranges,n.from,n.to)))a=s!=2;else if(!n.type.isAnonymous&&(o=this.nest(n,this.input))&&(n.from<n.to||!o.overlay)){n.tree||UZ(n);let c=e.findMounts(n.from,o.parser);if(typeof o.overlay=="function")r=new $y(o.parser,o.overlay,c,this.inner.length,n.from,n.tree,r);else{let u=VE(this.ranges,o.overlay||(n.from<n.to?[new Ti(n.from,n.to)]:[]));u.length&&jE(u),(u.length||!o.overlay)&&this.inner.push(new zp(o.parser,u.length?o.parser.startParse(this.input,qE(c,u),u):o.parser.startParse(""),o.overlay?o.overlay.map(f=>new Ti(f.from-n.from,f.to-n.from)):null,n.tree,u.length?u[0].from:n.from)),o.overlay?u.length&&(i={ranges:u,depth:0,prev:i}):a=!1}}else r&&(l=r.predicate(n))&&(l===!0&&(l=new Ti(n.from,n.to)),l.from<l.to&&r.ranges.push(l));if(a&&n.firstChild())r&&r.depth++,i&&i.depth++;else for(;!n.nextSibling();){if(!n.parent())break e;if(r&&!--r.depth){let c=VE(this.ranges,r.ranges);c.length&&(jE(c),this.inner.splice(r.index,0,new zp(r.parser,r.parser.startParse(this.input,qE(r.mounts,c),c),r.ranges.map(u=>new Ti(u.from-r.start,u.to-r.start)),r.target,c[0].from))),r=r.prev}i&&!--i.depth&&(i=i.prev)}}}};function DZ(t,e,r){for(let i of t){if(i.from>=r)break;if(i.to>e)return i.from<=e&&i.to>=r?2:1}return 0}function BE(t,e,r,i,n,o){if(e<r){let s=t.buffer[e+1];i.push(t.slice(e,r,s)),n.push(s-o)}}function UZ(t){let{node:e}=t,r=[],i=e.context.buffer;do r.push(t.index),t.parent();while(!t.tree);let n=t.tree,o=n.children.indexOf(i),s=n.children[o],a=s.buffer,l=[o];function c(u,f,d,p,O,w){let x=r[w],k=[],C=[];BE(s,u,x,k,C,p);let R=a[x+1],Q=a[x+2];l.push(k.length);let z=w?c(x+4,a[x+3],s.set.types[a[x]],R,Q-R,w-1):e.toTree();return k.push(z),C.push(R-p),BE(s,a[x+3],f,k,C,p),new ut(d,k,C,O)}n.children[o]=c(0,a.length,Kt.none,0,s.length,r.length-1);for(let u of l){let f=t.tree.children[u],d=t.tree.positions[u];t.yield(new Ei(f,d+t.from,u,t._tree))}}var Mp=class{constructor(e,r){this.offset=r,this.done=!1,this.cursor=e.cursor(Pt.IncludeAnonymous|Pt.IgnoreMounts)}moveTo(e){let{cursor:r}=this,i=e-this.offset;for(;!this.done&&r.from<i;)r.to>=e&&r.enter(i,1,Pt.IgnoreOverlays|Pt.ExcludeBuffers)||r.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let r=this.cursor.tree;;){if(r==e.tree)return!0;if(r.children.length&&r.positions[0]==0&&r.children[0]instanceof ut)r=r.children[0];else break}return!1}},Ly=class{constructor(e){var r;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let i=this.curFrag=e[0];this.curTo=(r=i.tree.prop(Xy))!==null&&r!==void 0?r:i.to,this.inner=new Mp(i.tree,-i.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let r=this.curFrag=this.fragments[this.fragI];this.curTo=(e=r.tree.prop(Xy))!==null&&e!==void 0?e:r.to,this.inner=new Mp(r.tree,-r.offset)}}findMounts(e,r){var i;let n=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let o=this.inner.cursor.node;o;o=o.parent){let s=(i=o.tree)===null||i===void 0?void 0:i.prop(qe.mounted);if(s&&s.parser==r)for(let a=this.fragI;a<this.fragments.length;a++){let l=this.fragments[a];if(l.from>=o.to)break;l.tree==this.curFrag.tree&&n.push({frag:l,pos:o.from-l.offset,mount:s})}}}return n}};function VE(t,e){let r=null,i=e;for(let n=1,o=0;n<t.length;n++){let s=t[n-1].to,a=t[n].from;for(;o<i.length;o++){let l=i[o];if(l.from>=a)break;l.to<=s||(r||(i=r=e.slice()),l.from<s?(r[o]=new Ti(l.from,s),l.to>a&&r.splice(o+1,0,new Ti(a,l.to))):l.to>a?r[o--]=new Ti(a,l.to):r.splice(o--,1))}}return i}function NZ(t,e,r,i){let n=0,o=0,s=!1,a=!1,l=-1e9,c=[];for(;;){let u=n==t.length?1e9:s?t[n].to:t[n].from,f=o==e.length?1e9:a?e[o].to:e[o].from;if(s!=a){let d=Math.max(l,r),p=Math.min(u,f,i);d<p&&c.push(new Ti(d,p))}if(l=Math.min(u,f),l==1e9)break;u==l&&(s?(s=!1,n++):s=!0),f==l&&(a?(a=!1,o++):a=!0)}return c}function qE(t,e){let r=[];for(let{pos:i,mount:n,frag:o}of t){let s=i+(n.overlay?n.overlay[0].from:0),a=s+n.tree.length,l=Math.max(o.from,s),c=Math.min(o.to,a);if(n.overlay){let u=n.overlay.map(d=>new Ti(d.from+i,d.to+i)),f=NZ(e,u,l,c);for(let d=0,p=l;;d++){let O=d==f.length,w=O?c:f[d].from;if(w>p&&r.push(new Vo(p,w,n.tree,-s,o.from>=p||o.openStart,o.to<=w||o.openEnd)),O)break;p=f[d].to}}else r.push(new Vo(l,c,n.tree,-s,o.from>=s||o.openStart,o.to<=a||o.openEnd))}return r}var gt=class t{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,r,i){[e,r]=hc(this,e,r);let n=[];return this.decompose(0,e,n,2),i.length&&i.decompose(0,i.length,n,3),this.decompose(r,this.length,n,1),lc.from(n,this.length-(r-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,r=this.length){[e,r]=hc(this,e,r);let i=[];return this.decompose(e,r,i,0),lc.from(i,r-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let r=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),n=new Wa(this),o=new Wa(e);for(let s=r,a=r;;){if(n.next(s),o.next(s),s=0,n.lineBreak!=o.lineBreak||n.done!=o.done||n.value!=o.value)return!1;if(a+=n.value.length,n.done||a>=i)return!0}}iter(e=1){return new Wa(this,e)}iterRange(e,r=this.length){return new Bp(this,e,r)}iterLines(e,r){let i;if(e==null)i=this.iter();else{r==null&&(r=this.lines+1);let n=this.line(e).from;i=this.iterRange(n,Math.max(n,r==this.lines+1?this.length:r<=1?0:this.line(r-1).to))}return new Vp(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?t.empty:e.length<=32?new Li(e):lc.from(Li.split(e,[]))}},Li=class t extends gt{constructor(e,r=jZ(e)){super(),this.text=e,this.length=r}get lines(){return this.text.length}get children(){return null}lineInner(e,r,i,n){for(let o=0;;o++){let s=this.text[o],a=n+s.length;if((r?i:a)>=e)return new Uy(n,a,i,s);n=a+1,i++}}decompose(e,r,i,n){let o=e<=0&&r>=this.length?this:new t(ZE(this.text,e,r),Math.min(r,this.length)-Math.max(0,e));if(n&1){let s=i.pop(),a=jp(o.text,s.text.slice(),0,o.length);if(a.length<=32)i.push(new t(a,s.length+o.length));else{let l=a.length>>1;i.push(new t(a.slice(0,l)),new t(a.slice(l)))}}else i.push(o)}replace(e,r,i){if(!(i instanceof t))return super.replace(e,r,i);[e,r]=hc(this,e,r);let n=jp(this.text,jp(i.text,ZE(this.text,0,e)),r),o=this.length+i.length-(r-e);return n.length<=32?new t(n,o):lc.from(t.split(n,[]),o)}sliceString(e,r=this.length,i=`
`){[e,r]=hc(this,e,r);let n="";for(let o=0,s=0;o<=r&&s<this.text.length;s++){let a=this.text[s],l=o+a.length;o>e&&s&&(n+=i),e<l&&r>o&&(n+=a.slice(Math.max(0,e-o),r-o)),o=l+1}return n}flatten(e){for(let r of this.text)e.push(r)}scanIdentical(){return 0}static split(e,r){let i=[],n=-1;for(let o of e)i.push(o),n+=o.length+1,i.length==32&&(r.push(new t(i,n)),i=[],n=-1);return n>-1&&r.push(new t(i,n)),r}},lc=class t extends gt{constructor(e,r){super(),this.children=e,this.length=r,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,r,i,n){for(let o=0;;o++){let s=this.children[o],a=n+s.length,l=i+s.lines-1;if((r?l:a)>=e)return s.lineInner(e,r,i,n);n=a+1,i=l+1}}decompose(e,r,i,n){for(let o=0,s=0;s<=r&&o<this.children.length;o++){let a=this.children[o],l=s+a.length;if(e<=l&&r>=s){let c=n&((s<=e?1:0)|(l>=r?2:0));s>=e&&l<=r&&!c?i.push(a):a.decompose(e-s,r-s,i,c)}s=l+1}}replace(e,r,i){if([e,r]=hc(this,e,r),i.lines<this.lines)for(let n=0,o=0;n<this.children.length;n++){let s=this.children[n],a=o+s.length;if(e>=o&&r<=a){let l=s.replace(e-o,r-o,i),c=this.lines-s.lines+l.lines;if(l.lines<c>>5-1&&l.lines>c>>5+1){let u=this.children.slice();return u[n]=l,new t(u,this.length-(r-e)+i.length)}return super.replace(o,a,l)}o=a+1}return super.replace(e,r,i)}sliceString(e,r=this.length,i=`
`){[e,r]=hc(this,e,r);let n="";for(let o=0,s=0;o<this.children.length&&s<=r;o++){let a=this.children[o],l=s+a.length;s>e&&o&&(n+=i),e<l&&r>s&&(n+=a.sliceString(e-s,r-s,i)),s=l+1}return n}flatten(e){for(let r of this.children)r.flatten(e)}scanIdentical(e,r){if(!(e instanceof t))return 0;let i=0,[n,o,s,a]=r>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;n+=r,o+=r){if(n==s||o==a)return i;let l=this.children[n],c=e.children[o];if(l!=c)return i+l.scanIdentical(c,r);i+=l.length+1}}static from(e,r=e.reduce((i,n)=>i+n.length+1,-1)){let i=0;for(let p of e)i+=p.lines;if(i<32){let p=[];for(let O of e)O.flatten(p);return new Li(p,r)}let n=Math.max(32,i>>5),o=n<<1,s=n>>1,a=[],l=0,c=-1,u=[];function f(p){let O;if(p.lines>o&&p instanceof t)for(let w of p.children)f(w);else p.lines>s&&(l>s||!l)?(d(),a.push(p)):p instanceof Li&&l&&(O=u[u.length-1])instanceof Li&&p.lines+O.lines<=32?(l+=p.lines,c+=p.length+1,u[u.length-1]=new Li(O.text.concat(p.text),O.length+1+p.length)):(l+p.lines>n&&d(),l+=p.lines,c+=p.length+1,u.push(p))}function d(){l!=0&&(a.push(u.length==1?u[0]:t.from(u,c)),c=-1,l=u.length=0)}for(let p of e)f(p);return d(),a.length==1?a[0]:new t(a,r)}};gt.empty=new Li([""],0);function jZ(t){let e=-1;for(let r of t)e+=r.length+1;return e}function jp(t,e,r=0,i=1e9){for(let n=0,o=0,s=!0;o<t.length&&n<=i;o++){let a=t[o],l=n+a.length;l>=r&&(l>i&&(a=a.slice(0,i-n)),n<r&&(a=a.slice(r-n)),s?(e[e.length-1]+=a,s=!1):e.push(a)),n=l+1}return e}function ZE(t,e,r){return jp(t,[""],e,r)}var Wa=class{constructor(e,r=1){this.dir=r,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[r>0?1:(e instanceof Li?e.text.length:e.children.length)<<1]}nextInner(e,r){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,n=this.nodes[i],o=this.offsets[i],s=o>>1,a=n instanceof Li?n.text.length:n.children.length;if(s==(r>0?a:0)){if(i==0)return this.done=!0,this.value="",this;r>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((o&1)==(r>0?0:1)){if(this.offsets[i]+=r,e==0)return this.lineBreak=!0,this.value=`
`,this;e--}else if(n instanceof Li){let l=n.text[s+(r<0?-1:0)];if(this.offsets[i]+=r,l.length>Math.max(0,e))return this.value=e==0?l:r>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=n.children[s+(r<0?-1:0)];e>l.length?(e-=l.length,this.offsets[i]+=r):(r<0&&this.offsets[i]--,this.nodes.push(l),this.offsets.push(r>0?1:(l instanceof Li?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}},Bp=class{constructor(e,r,i){this.value="",this.done=!1,this.cursor=new Wa(e,r>i?-1:1),this.pos=r>i?e.length:0,this.from=Math.min(r,i),this.to=Math.max(r,i)}nextInner(e,r){if(r<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,r<0?this.pos-this.to:this.from-this.pos);let i=r<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:n}=this.cursor.next(e);return this.pos+=(n.length+e)*r,this.value=n.length<=i?n:r<0?n.slice(n.length-i):n.slice(0,i),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}},Vp=class{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:r,lineBreak:i,value:n}=this.inner.next(e);return r&&this.afterBreak?(this.value="",this.afterBreak=!1):r?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=n,this.afterBreak=!1),this}get lineBreak(){return!1}};typeof Symbol!="undefined"&&(gt.prototype[Symbol.iterator]=function(){return this.iter()},Wa.prototype[Symbol.iterator]=Bp.prototype[Symbol.iterator]=Vp.prototype[Symbol.iterator]=function(){return this});var Uy=class{constructor(e,r,i,n){this.from=e,this.to=r,this.number=i,this.text=n}get length(){return this.to-this.from}};function hc(t,e,r){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,r))]}var cc="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7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,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;t<cc.length;t++)cc[t]+=cc[t-1];function BZ(t){for(let e=1;e<cc.length;e+=2)if(cc[e]>t)return cc[e-1]<=t;return!1}function YE(t){return t>=127462&&t<=127487}var HE=8205;function dr(t,e,r=!0,i=!0){return(r?r9:VZ)(t,e,i)}function r9(t,e,r){if(e==t.length)return e;e&&i9(t.charCodeAt(e))&&n9(t.charCodeAt(e-1))&&e--;let i=hr(t,e);for(e+=ci(i);e<t.length;){let n=hr(t,e);if(i==HE||n==HE||r&&BZ(n))e+=ci(n),i=n;else if(YE(n)){let o=0,s=e-2;for(;s>=0&&YE(hr(t,s));)o++,s-=2;if(o%2==0)break;e+=2}else break}return e}function VZ(t,e,r){for(;e>0;){let i=r9(t,e-2,r);if(i<e)return i;e--}return 0}function i9(t){return t>=56320&&t<57344}function n9(t){return t>=55296&&t<56320}function hr(t,e){let r=t.charCodeAt(e);if(!n9(r)||e+1==t.length)return r;let i=t.charCodeAt(e+1);return i9(i)?(r-55296<<10)+(i-56320)+65536:r}function Pf(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function ci(t){return t<65536?1:2}var Ny=/\r\n?|\n/,qt=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(qt||(qt={})),Fo=class t{constructor(e){this.sections=e}get length(){let e=0;for(let r=0;r<this.sections.length;r+=2)e+=this.sections[r];return e}get newLength(){let e=0;for(let r=0;r<this.sections.length;r+=2){let i=this.sections[r+1];e+=i<0?this.sections[r]:i}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let r=0,i=0,n=0;r<this.sections.length;){let o=this.sections[r++],s=this.sections[r++];s<0?(e(i,n,o),n+=o):n+=s,i+=o}}iterChangedRanges(e,r=!1){jy(this,e,r)}get invertedDesc(){let e=[];for(let r=0;r<this.sections.length;){let i=this.sections[r++],n=this.sections[r++];n<0?e.push(i,n):e.push(n,i)}return new t(e)}composeDesc(e){return this.empty?e:e.empty?this:o9(this,e)}mapDesc(e,r=!1){return e.empty?this:By(this,e,r)}mapPos(e,r=-1,i=qt.Simple){let n=0,o=0;for(let s=0;s<this.sections.length;){let a=this.sections[s++],l=this.sections[s++],c=n+a;if(l<0){if(c>e)return o+(e-n);o+=a}else{if(i!=qt.Simple&&c>=e&&(i==qt.TrackDel&&n<e&&c>e||i==qt.TrackBefore&&n<e||i==qt.TrackAfter&&c>e))return null;if(c>e||c==e&&r<0&&!a)return e==n||r<0?o:o+l;o+=l}n=c}if(e>n)throw new RangeError(`Position ${e} is out of range for changeset of length ${n}`);return o}touchesRange(e,r=e){for(let i=0,n=0;i<this.sections.length&&n<=r;){let o=this.sections[i++],s=this.sections[i++],a=n+o;if(s>=0&&n<=r&&a>=e)return n<e&&a>r?"cover":!0;n=a}return!1}toString(){let e="";for(let r=0;r<this.sections.length;){let i=this.sections[r++],n=this.sections[r++];e+=(e?" ":"")+i+(n>=0?":"+n:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(r=>typeof r!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new t(e)}static create(e){return new t(e)}},ui=class t extends Fo{constructor(e,r){super(e),this.inserted=r}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return jy(this,(r,i,n,o,s)=>e=e.replace(n,n+(i-r),s),!1),e}mapDesc(e,r=!1){return By(this,e,r,!0)}invert(e){let r=this.sections.slice(),i=[];for(let n=0,o=0;n<r.length;n+=2){let s=r[n],a=r[n+1];if(a>=0){r[n]=a,r[n+1]=s;let l=n>>1;for(;i.length<l;)i.push(gt.empty);i.push(s?e.slice(o,o+s):gt.empty)}o+=s}return new t(r,i)}compose(e){return this.empty?e:e.empty?this:o9(this,e,!0)}map(e,r=!1){return e.empty?this:By(this,e,r,!0)}iterChanges(e,r=!1){jy(this,e,r)}get desc(){return Fo.create(this.sections)}filter(e){let r=[],i=[],n=[],o=new Za(this);e:for(let s=0,a=0;;){let l=s==e.length?1e9:e[s++];for(;a<l||a==l&&o.len==0;){if(o.done)break e;let u=Math.min(o.len,l-a);Gr(n,u,-1);let f=o.ins==-1?-1:o.off==0?o.ins:0;Gr(r,u,f),f>0&&js(i,r,o.text),o.forward(u),a+=u}let c=e[s++];for(;a<c;){if(o.done)break e;let u=Math.min(o.len,c-a);Gr(r,u,-1),Gr(n,u,o.ins==-1?-1:o.off==0?o.ins:0),o.forward(u),a+=u}}return{changes:new t(r,i),filtered:Fo.create(n)}}toJSON(){let e=[];for(let r=0;r<this.sections.length;r+=2){let i=this.sections[r],n=this.sections[r+1];n<0?e.push(i):n==0?e.push([i]):e.push([i].concat(this.inserted[r>>1].toJSON()))}return e}static of(e,r,i){let n=[],o=[],s=0,a=null;function l(u=!1){if(!u&&!n.length)return;s<r&&Gr(n,r-s,-1);let f=new t(n,o);a=a?a.compose(f.map(a)):f,n=[],o=[],s=0}function c(u){if(Array.isArray(u))for(let f of u)c(f);else if(u instanceof t){if(u.length!=r)throw new RangeError(`Mismatched change set length (got ${u.length}, expected ${r})`);l(),a=a?a.compose(u.map(a)):u}else{let{from:f,to:d=f,insert:p}=u;if(f>d||f<0||d>r)throw new RangeError(`Invalid change range ${f} to ${d} (in doc of length ${r})`);let O=p?typeof p=="string"?gt.of(p.split(i||Ny)):p:gt.empty,w=O.length;if(f==d&&w==0)return;f<s&&l(),f>s&&Gr(n,f-s,-1),Gr(n,d-f,w),js(o,n,O),s=d}}return c(e),l(!a),a}static empty(e){return new t(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let r=[],i=[];for(let n=0;n<e.length;n++){let o=e[n];if(typeof o=="number")r.push(o,-1);else{if(!Array.isArray(o)||typeof o[0]!="number"||o.some((s,a)=>a&&typeof s!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(o.length==1)r.push(o[0],0);else{for(;i.length<n;)i.push(gt.empty);i[n]=gt.of(o.slice(1)),r.push(o[0],i[n].length)}}}return new t(r,i)}static createSet(e,r){return new t(e,r)}};function Gr(t,e,r,i=!1){if(e==0&&r<=0)return;let n=t.length-2;n>=0&&r<=0&&r==t[n+1]?t[n]+=e:e==0&&t[n]==0?t[n+1]+=r:i?(t[n]+=e,t[n+1]+=r):t.push(e,r)}function js(t,e,r){if(r.length==0)return;let i=e.length-2>>1;if(i<t.length)t[t.length-1]=t[t.length-1].append(r);else{for(;t.length<i;)t.push(gt.empty);t.push(r)}}function jy(t,e,r){let i=t.inserted;for(let n=0,o=0,s=0;s<t.sections.length;){let a=t.sections[s++],l=t.sections[s++];if(l<0)n+=a,o+=a;else{let c=n,u=o,f=gt.empty;for(;c+=a,u+=l,l&&i&&(f=f.append(i[s-2>>1])),!(r||s==t.sections.length||t.sections[s+1]<0);)a=t.sections[s++],l=t.sections[s++];e(n,c,o,u,f),n=c,o=u}}}function By(t,e,r,i=!1){let n=[],o=i?[]:null,s=new Za(t),a=new Za(e);for(let l=-1;;)if(s.ins==-1&&a.ins==-1){let c=Math.min(s.len,a.len);Gr(n,c,-1),s.forward(c),a.forward(c)}else if(a.ins>=0&&(s.ins<0||l==s.i||s.off==0&&(a.len<s.len||a.len==s.len&&!r))){let c=a.len;for(Gr(n,a.ins,-1);c;){let u=Math.min(s.len,c);s.ins>=0&&l<s.i&&s.len<=u&&(Gr(n,0,s.ins),o&&js(o,n,s.text),l=s.i),s.forward(u),c-=u}a.next()}else if(s.ins>=0){let c=0,u=s.len;for(;u;)if(a.ins==-1){let f=Math.min(u,a.len);c+=f,u-=f,a.forward(f)}else if(a.ins==0&&a.len<u)u-=a.len,a.next();else break;Gr(n,c,l<s.i?s.ins:0),o&&l<s.i&&js(o,n,s.text),l=s.i,s.forward(s.len-u)}else{if(s.done&&a.done)return o?ui.createSet(n,o):Fo.create(n);throw new Error("Mismatched change set lengths")}}function o9(t,e,r=!1){let i=[],n=r?[]:null,o=new Za(t),s=new Za(e);for(let a=!1;;){if(o.done&&s.done)return n?ui.createSet(i,n):Fo.create(i);if(o.ins==0)Gr(i,o.len,0,a),o.next();else if(s.len==0&&!s.done)Gr(i,0,s.ins,a),n&&js(n,i,s.text),s.next();else{if(o.done||s.done)throw new Error("Mismatched change set lengths");{let l=Math.min(o.len2,s.len),c=i.length;if(o.ins==-1){let u=s.ins==-1?-1:s.off?0:s.ins;Gr(i,l,u,a),n&&u&&js(n,i,s.text)}else s.ins==-1?(Gr(i,o.off?0:o.len,l,a),n&&js(n,i,o.textBit(l))):(Gr(i,o.off?0:o.len,s.off?0:s.ins,a),n&&!s.off&&js(n,i,s.text));a=(o.ins>l||s.ins>=0&&s.len>l)&&(a||i.length>c),o.forward2(l),s.forward(l)}}}}var Za=class{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,r=this.i-2>>1;return r>=e.length?gt.empty:e[r]}textBit(e){let{inserted:r}=this.set,i=this.i-2>>1;return i>=r.length&&!e?gt.empty:r[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}},ac=class t{constructor(e,r,i){this.from=e,this.to=r,this.flags=i}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,r=-1){let i,n;return this.empty?i=n=e.mapPos(this.from,r):(i=e.mapPos(this.from,1),n=e.mapPos(this.to,-1)),i==this.from&&n==this.to?this:new t(i,n,this.flags)}extend(e,r=e){if(e<=this.anchor&&r>=this.anchor)return ce.range(e,r);let i=Math.abs(e-this.anchor)>Math.abs(r-this.anchor)?e:r;return ce.range(this.anchor,i)}eq(e,r=!1){return this.anchor==e.anchor&&this.head==e.head&&(!r||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return ce.range(e.anchor,e.head)}static create(e,r,i){return new t(e,r,i)}},ce=class t{constructor(e,r){this.ranges=e,this.mainIndex=r}map(e,r=-1){return e.empty?this:t.create(this.ranges.map(i=>i.map(e,r)),this.mainIndex)}eq(e,r=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let i=0;i<this.ranges.length;i++)if(!this.ranges[i].eq(e.ranges[i],r))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new t([this.main],0)}addRange(e,r=!0){return t.create([e].concat(this.ranges),r?0:this.mainIndex+1)}replaceRange(e,r=this.mainIndex){let i=this.ranges.slice();return i[r]=e,t.create(i,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new t(e.ranges.map(r=>ac.fromJSON(r)),e.main)}static single(e,r=e){return new t([t.range(e,r)],0)}static create(e,r=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,n=0;n<e.length;n++){let o=e[n];if(o.empty?o.from<=i:o.from<i)return t.normalized(e.slice(),r);i=o.to}return new t(e,r)}static cursor(e,r=0,i,n){return ac.create(e,e,(r==0?0:r<0?8:16)|(i==null?7:Math.min(6,i))|(n!=null?n:16777215)<<6)}static range(e,r,i,n){let o=(i!=null?i:16777215)<<6|(n==null?7:Math.min(6,n));return r<e?ac.create(r,e,48|o):ac.create(e,r,(r>e?8:0)|o)}static normalized(e,r=0){let i=e[r];e.sort((n,o)=>n.from-o.from),r=e.indexOf(i);for(let n=1;n<e.length;n++){let o=e[n],s=e[n-1];if(o.empty?o.from<=s.to:o.from<s.to){let a=s.from,l=Math.max(o.to,s.to);n<=r&&r--,e.splice(--n,2,o.anchor>o.head?t.range(l,a):t.range(a,l))}}return new t(e,r)}};function s9(t,e){for(let r of t.ranges)if(r.to>e)throw new RangeError("Selection points outside of document")}var Jy=0,Re=class t{constructor(e,r,i,n,o){this.combine=e,this.compareInput=r,this.compare=i,this.isStatic=n,this.id=Jy++,this.default=e([]),this.extensions=typeof o=="function"?o(this):o}get reader(){return this}static define(e={}){return new t(e.combine||(r=>r),e.compareInput||((r,i)=>r===i),e.compare||(e.combine?(r,i)=>r===i:ev),!!e.static,e.enables)}of(e){return new uc([],this,0,e)}compute(e,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new uc(e,this,1,r)}computeN(e,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new uc(e,this,2,r)}from(e,r){return r||(r=i=>i),this.compute([e],i=>r(i.field(e)))}};function ev(t,e){return t==e||t.length==e.length&&t.every((r,i)=>r===e[i])}var uc=class{constructor(e,r,i,n){this.dependencies=e,this.facet=r,this.type=i,this.value=n,this.id=Jy++}dynamicSlot(e){var r;let i=this.value,n=this.facet.compareInput,o=this.id,s=e[o]>>1,a=this.type==2,l=!1,c=!1,u=[];for(let f of this.dependencies)f=="doc"?l=!0:f=="selection"?c=!0:((r=e[f.id])!==null&&r!==void 0?r:1)&1||u.push(e[f.id]);return{create(f){return f.values[s]=i(f),1},update(f,d){if(l&&d.docChanged||c&&(d.docChanged||d.selection)||Vy(f,u)){let p=i(f);if(a?!GE(p,f.values[s],n):!n(p,f.values[s]))return f.values[s]=p,1}return 0},reconfigure:(f,d)=>{let p,O=d.config.address[o];if(O!=null){let w=Zp(d,O);if(this.dependencies.every(x=>x instanceof Re?d.facet(x)===f.facet(x):x instanceof Ot?d.field(x,!1)==f.field(x,!1):!0)||(a?GE(p=i(f),w,n):n(p=i(f),w)))return f.values[s]=w,0}else p=i(f);return f.values[s]=p,1}}}};function GE(t,e,r){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(!r(t[i],e[i]))return!1;return!0}function Vy(t,e){let r=!1;for(let i of e)Sf(t,i)&1&&(r=!0);return r}function qZ(t,e,r){let i=r.map(l=>t[l.id]),n=r.map(l=>l.type),o=i.filter(l=>!(l&1)),s=t[e.id]>>1;function a(l){let c=[];for(let u=0;u<i.length;u++){let f=Zp(l,i[u]);if(n[u]==2)for(let d of f)c.push(d);else c.push(f)}return e.combine(c)}return{create(l){for(let c of i)Sf(l,c);return l.values[s]=a(l),1},update(l,c){if(!Vy(l,o))return 0;let u=a(l);return e.compare(u,l.values[s])?0:(l.values[s]=u,1)},reconfigure(l,c){let u=Vy(l,i),f=c.config.facets[e.id],d=c.facet(e);if(f&&!u&&ev(r,f))return l.values[s]=d,0;let p=a(l);return e.compare(p,d)?(l.values[s]=d,0):(l.values[s]=p,1)}}}var KE=Re.define({static:!0}),Ot=class t{constructor(e,r,i,n,o){this.id=e,this.createF=r,this.updateF=i,this.compareF=n,this.spec=o,this.provides=void 0}static define(e){let r=new t(Jy++,e.create,e.update,e.compare||((i,n)=>i===n),e);return e.provide&&(r.provides=e.provide(r)),r}create(e){let r=e.facet(KE).find(i=>i.field==this);return((r==null?void 0:r.create)||this.createF)(e)}slot(e){let r=e[this.id]>>1;return{create:i=>(i.values[r]=this.create(i),1),update:(i,n)=>{let o=i.values[r],s=this.updateF(o,n);return this.compareF(o,s)?0:(i.values[r]=s,1)},reconfigure:(i,n)=>n.config.address[this.id]!=null?(i.values[r]=n.field(this),0):(i.values[r]=this.create(i),1)}}init(e){return[this,KE.of({field:this,create:e})]}get extension(){return this}},qa={lowest:4,low:3,default:2,high:1,highest:0};function kf(t){return e=>new qp(e,t)}var cr={highest:kf(qa.highest),high:kf(qa.high),default:kf(qa.default),low:kf(qa.low),lowest:kf(qa.lowest)},qp=class{constructor(e,r){this.inner=e,this.prec=r}},Fp=class t{of(e){return new Tf(this,e)}reconfigure(e){return t.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}},Tf=class{constructor(e,r){this.compartment=e,this.inner=r}},Wp=class t{constructor(e,r,i,n,o,s){for(this.base=e,this.compartments=r,this.dynamicSlots=i,this.address=n,this.staticValues=o,this.facets=s,this.statusTemplate=[];this.statusTemplate.length<i.length;)this.statusTemplate.push(0)}staticFacet(e){let r=this.address[e.id];return r==null?e.default:this.staticValues[r>>1]}static resolve(e,r,i){let n=[],o=Object.create(null),s=new Map;for(let d of FZ(e,r,s))d instanceof Ot?n.push(d):(o[d.facet.id]||(o[d.facet.id]=[])).push(d);let a=Object.create(null),l=[],c=[];for(let d of n)a[d.id]=c.length<<1,c.push(p=>d.slot(p));let u=i==null?void 0:i.config.facets;for(let d in o){let p=o[d],O=p[0].facet,w=u&&u[d]||[];if(p.every(x=>x.type==0))if(a[O.id]=l.length<<1|1,ev(w,p))l.push(i.facet(O));else{let x=O.combine(p.map(k=>k.value));l.push(i&&O.compare(x,i.facet(O))?i.facet(O):x)}else{for(let x of p)x.type==0?(a[x.id]=l.length<<1|1,l.push(x.value)):(a[x.id]=c.length<<1,c.push(k=>x.dynamicSlot(k)));a[O.id]=c.length<<1,c.push(x=>qZ(x,O,p))}}let f=c.map(d=>d(a));return new t(e,s,f,a,l,o)}};function FZ(t,e,r){let i=[[],[],[],[],[]],n=new Map;function o(s,a){let l=n.get(s);if(l!=null){if(l<=a)return;let c=i[l].indexOf(s);c>-1&&i[l].splice(c,1),s instanceof Tf&&r.delete(s.compartment)}if(n.set(s,a),Array.isArray(s))for(let c of s)o(c,a);else if(s instanceof Tf){if(r.has(s.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(s.compartment)||s.inner;r.set(s.compartment,c),o(c,a)}else if(s instanceof qp)o(s.inner,s.prec);else if(s instanceof Ot)i[a].push(s),s.provides&&o(s.provides,a);else if(s instanceof uc)i[a].push(s),s.facet.extensions&&o(s.facet.extensions,qa.default);else{let c=s.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${s}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);o(c,a)}}return o(t,qa.default),i.reduce((s,a)=>s.concat(a))}function Sf(t,e){if(e&1)return 2;let r=e>>1,i=t.status[r];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;t.status[r]=4;let n=t.computeSlot(t,t.config.dynamicSlots[r]);return t.status[r]=2|n}function Zp(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}var a9=Re.define(),qy=Re.define({combine:t=>t.some(e=>e),static:!0}),l9=Re.define({combine:t=>t.length?t[0]:void 0,static:!0}),c9=Re.define(),u9=Re.define(),f9=Re.define(),h9=Re.define({combine:t=>t.length?t[0]:!1}),Kr=class{constructor(e,r){this.type=e,this.value=r}static define(){return new Fy}},Fy=class{of(e){return new Kr(this,e)}},Wy=class{constructor(e){this.map=e}of(e){return new De(this,e)}},De=class t{constructor(e,r){this.type=e,this.value=r}map(e){let r=this.type.map(this.value,e);return r===void 0?void 0:r==this.value?this:new t(this.type,r)}is(e){return this.type==e}static define(e={}){return new Wy(e.map||(r=>r))}static mapEffects(e,r){if(!e.length)return e;let i=[];for(let n of e){let o=n.map(r);o&&i.push(o)}return i}};De.reconfigure=De.define();De.appendConfig=De.define();var Jt=class t{constructor(e,r,i,n,o,s){this.startState=e,this.changes=r,this.selection=i,this.effects=n,this.annotations=o,this.scrollIntoView=s,this._doc=null,this._state=null,i&&s9(i,r.newLength),o.some(a=>a.type==t.time)||(this.annotations=o.concat(t.time.of(Date.now())))}static create(e,r,i,n,o,s){return new t(e,r,i,n,o,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let r of this.annotations)if(r.type==e)return r.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let r=this.annotation(t.userEvent);return!!(r&&(r==e||r.length>e.length&&r.slice(0,e.length)==e&&r[e.length]=="."))}};Jt.time=Kr.define();Jt.userEvent=Kr.define();Jt.addToHistory=Kr.define();Jt.remote=Kr.define();function WZ(t,e){let r=[];for(let i=0,n=0;;){let o,s;if(i<t.length&&(n==e.length||e[n]>=t[i]))o=t[i++],s=t[i++];else if(n<e.length)o=e[n++],s=e[n++];else return r;!r.length||r[r.length-1]<o?r.push(o,s):r[r.length-1]<s&&(r[r.length-1]=s)}}function d9(t,e,r){var i;let n,o,s;return r?(n=e.changes,o=ui.empty(e.changes.length),s=t.changes.compose(e.changes)):(n=e.changes.map(t.changes),o=t.changes.mapDesc(e.changes,!0),s=t.changes.compose(n)),{changes:s,selection:e.selection?e.selection.map(o):(i=t.selection)===null||i===void 0?void 0:i.map(n),effects:De.mapEffects(t.effects,n).concat(De.mapEffects(e.effects,o)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function Zy(t,e,r){let i=e.selection,n=fc(e.annotations);return e.userEvent&&(n=n.concat(Jt.userEvent.of(e.userEvent))),{changes:e.changes instanceof ui?e.changes:ui.of(e.changes||[],r,t.facet(l9)),selection:i&&(i instanceof ce?i:ce.single(i.anchor,i.head)),effects:fc(e.effects),annotations:n,scrollIntoView:!!e.scrollIntoView}}function p9(t,e,r){let i=Zy(t,e.length?e[0]:{},t.doc.length);e.length&&e[0].filter===!1&&(r=!1);for(let o=1;o<e.length;o++){e[o].filter===!1&&(r=!1);let s=!!e[o].sequential;i=d9(i,Zy(t,e[o],s?i.changes.newLength:t.doc.length),s)}let n=Jt.create(t,i.changes,i.selection,i.effects,i.annotations,i.scrollIntoView);return YZ(r?ZZ(n):n)}function ZZ(t){let e=t.startState,r=!0;for(let n of e.facet(c9)){let o=n(t);if(o===!1){r=!1;break}Array.isArray(o)&&(r=r===!0?o:WZ(r,o))}if(r!==!0){let n,o;if(r===!1)o=t.changes.invertedDesc,n=ui.empty(e.doc.length);else{let s=t.changes.filter(r);n=s.changes,o=s.filtered.mapDesc(s.changes).invertedDesc}t=Jt.create(e,n,t.selection&&t.selection.map(o),De.mapEffects(t.effects,o),t.annotations,t.scrollIntoView)}let i=e.facet(u9);for(let n=i.length-1;n>=0;n--){let o=i[n](t);o instanceof Jt?t=o:Array.isArray(o)&&o.length==1&&o[0]instanceof Jt?t=o[0]:t=p9(e,fc(o),!1)}return t}function YZ(t){let e=t.startState,r=e.facet(f9),i=t;for(let n=r.length-1;n>=0;n--){let o=r[n](t);o&&Object.keys(o).length&&(i=d9(i,Zy(e,o,t.changes.newLength),!0))}return i==t?t:Jt.create(e,t.changes,t.selection,i.effects,i.annotations,i.scrollIntoView)}var HZ=[];function fc(t){return t==null?HZ:Array.isArray(t)?t:[t]}var $t=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}($t||($t={})),GZ=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Yy;try{Yy=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(t){}function KZ(t){if(Yy)return Yy.test(t);for(let e=0;e<t.length;e++){let r=t[e];if(/\w/.test(r)||r>"\x80"&&(r.toUpperCase()!=r.toLowerCase()||GZ.test(r)))return!0}return!1}function JZ(t){return e=>{if(!/\S/.test(e))return $t.Space;if(KZ(e))return $t.Word;for(let r=0;r<t.length;r++)if(e.indexOf(t[r])>-1)return $t.Word;return $t.Other}}var Tt=class t{constructor(e,r,i,n,o,s){this.config=e,this.doc=r,this.selection=i,this.values=n,this.status=e.statusTemplate.slice(),this.computeSlot=o,s&&(s._state=this);for(let a=0;a<this.config.dynamicSlots.length;a++)Sf(this,a<<1);this.computeSlot=null}field(e,r=!0){let i=this.config.address[e.id];if(i==null){if(r)throw new RangeError("Field is not present in this state");return}return Sf(this,i),Zp(this,i)}update(...e){return p9(this,e,!0)}applyTransaction(e){let r=this.config,{base:i,compartments:n}=r;for(let a of e.effects)a.is(Fp.reconfigure)?(r&&(n=new Map,r.compartments.forEach((l,c)=>n.set(c,l)),r=null),n.set(a.value.compartment,a.value.extension)):a.is(De.reconfigure)?(r=null,i=a.value):a.is(De.appendConfig)&&(r=null,i=fc(i).concat(a.value));let o;r?o=e.startState.values.slice():(r=Wp.resolve(i,n,this),o=new t(r,this.doc,this.selection,r.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let s=e.startState.facet(qy)?e.newSelection:e.newSelection.asSingle();new t(r,e.newDoc,s,o,(a,l)=>l.update(a,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:e},range:ce.cursor(r.from+e.length)}))}changeByRange(e){let r=this.selection,i=e(r.ranges[0]),n=this.changes(i.changes),o=[i.range],s=fc(i.effects);for(let a=1;a<r.ranges.length;a++){let l=e(r.ranges[a]),c=this.changes(l.changes),u=c.map(n);for(let d=0;d<a;d++)o[d]=o[d].map(u);let f=n.mapDesc(c,!0);o.push(l.range.map(f)),n=n.compose(u),s=De.mapEffects(s,u).concat(De.mapEffects(fc(l.effects),f))}return{changes:n,selection:ce.create(o,r.mainIndex),effects:s}}changes(e=[]){return e instanceof ui?e:ui.of(e,this.doc.length,this.facet(t.lineSeparator))}toText(e){return gt.of(e.split(this.facet(t.lineSeparator)||Ny))}sliceDoc(e=0,r=this.doc.length){return this.doc.sliceString(e,r,this.lineBreak)}facet(e){let r=this.config.address[e.id];return r==null?e.default:(Sf(this,r),Zp(this,r))}toJSON(e){let r={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let i in e){let n=e[i];n instanceof Ot&&this.config.address[n.id]!=null&&(r[i]=n.spec.toJSON(this.field(e[i]),this))}return r}static fromJSON(e,r={},i){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let n=[];if(i){for(let o in i)if(Object.prototype.hasOwnProperty.call(e,o)){let s=i[o],a=e[o];n.push(s.init(l=>s.spec.fromJSON(a,l)))}}return t.create({doc:e.doc,selection:ce.fromJSON(e.selection),extensions:r.extensions?n.concat([r.extensions]):n})}static create(e={}){let r=Wp.resolve(e.extensions||[],new Map),i=e.doc instanceof gt?e.doc:gt.of((e.doc||"").split(r.staticFacet(t.lineSeparator)||Ny)),n=e.selection?e.selection instanceof ce?e.selection:ce.single(e.selection.anchor,e.selection.head):ce.single(0);return s9(n,i.length),r.staticFacet(qy)||(n=n.asSingle()),new t(r,i,n,r.dynamicSlots.map(()=>null),(o,s)=>s.create(o),null)}get tabSize(){return this.facet(t.tabSize)}get lineBreak(){return this.facet(t.lineSeparator)||`
`}get readOnly(){return this.facet(h9)}phrase(e,...r){for(let i of this.facet(t.phrases))if(Object.prototype.hasOwnProperty.call(i,e)){e=i[e];break}return r.length&&(e=e.replace(/\$(\$|\d*)/g,(i,n)=>{if(n=="$")return"$";let o=+(n||1);return!o||o>r.length?i:r[o-1]})),e}languageDataAt(e,r,i=-1){let n=[];for(let o of this.facet(a9))for(let s of o(this,r,i))Object.prototype.hasOwnProperty.call(s,e)&&n.push(s[e]);return n}charCategorizer(e){return JZ(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:r,from:i,length:n}=this.doc.lineAt(e),o=this.charCategorizer(e),s=e-i,a=e-i;for(;s>0;){let l=dr(r,s,!1);if(o(r.slice(l,s))!=$t.Word)break;s=l}for(;a<n;){let l=dr(r,a);if(o(r.slice(a,l))!=$t.Word)break;a=l}return s==a?null:ce.range(s+i,a+i)}};Tt.allowMultipleSelections=qy;Tt.tabSize=Re.define({combine:t=>t.length?t[0]:4});Tt.lineSeparator=l9;Tt.readOnly=h9;Tt.phrases=Re.define({compare(t,e){let r=Object.keys(t),i=Object.keys(e);return r.length==i.length&&r.every(n=>t[n]==e[n])}});Tt.languageData=a9;Tt.changeFilter=c9;Tt.transactionFilter=u9;Tt.transactionExtender=f9;Fp.reconfigure=De.define();function Ft(t,e,r={}){let i={};for(let n of t)for(let o of Object.keys(n)){let s=n[o],a=i[o];if(a===void 0)i[o]=s;else if(!(a===s||s===void 0))if(Object.hasOwnProperty.call(r,o))i[o]=r[o](a,s);else throw new Error("Config merge conflict for field "+o)}for(let n in e)i[n]===void 0&&(i[n]=e[n]);return i}var En=class{eq(e){return this==e}range(e,r=e){return Ef.create(e,r,this)}};En.prototype.startSide=En.prototype.endSide=0;En.prototype.point=!1;En.prototype.mapMode=qt.TrackDel;var Ef=class t{constructor(e,r,i){this.from=e,this.to=r,this.value=i}static create(e,r,i){return new t(e,r,i)}};function Hy(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}var Gy=class t{constructor(e,r,i,n){this.from=e,this.to=r,this.value=i,this.maxPoint=n}get length(){return this.to[this.to.length-1]}findIndex(e,r,i,n=0){let o=i?this.to:this.from;for(let s=n,a=o.length;;){if(s==a)return s;let l=s+a>>1,c=o[l]-e||(i?this.value[l].endSide:this.value[l].startSide)-r;if(l==s)return c>=0?s:a;c>=0?a=l:s=l+1}}between(e,r,i,n){for(let o=this.findIndex(r,-1e9,!0),s=this.findIndex(i,1e9,!1,o);o<s;o++)if(n(this.from[o]+e,this.to[o]+e,this.value[o])===!1)return!1}map(e,r){let i=[],n=[],o=[],s=-1,a=-1;for(let l=0;l<this.value.length;l++){let c=this.value[l],u=this.from[l]+e,f=this.to[l]+e,d,p;if(u==f){let O=r.mapPos(u,c.startSide,c.mapMode);if(O==null||(d=p=O,c.startSide!=c.endSide&&(p=r.mapPos(u,c.endSide),p<d)))continue}else if(d=r.mapPos(u,c.startSide),p=r.mapPos(f,c.endSide),d>p||d==p&&c.startSide>0&&c.endSide<=0)continue;(p-d||c.endSide-c.startSide)<0||(s<0&&(s=d),c.point&&(a=Math.max(a,p-d)),i.push(c),n.push(d-s),o.push(p-s))}return{mapped:i.length?new t(n,o,i,a):null,pos:s}}},Et=class t{constructor(e,r,i,n){this.chunkPos=e,this.chunk=r,this.nextLayer=i,this.maxPoint=n}static create(e,r,i,n){return new t(e,r,i,n)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let r of this.chunk)e+=r.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:r=[],sort:i=!1,filterFrom:n=0,filterTo:o=this.length}=e,s=e.filter;if(r.length==0&&!s)return this;if(i&&(r=r.slice().sort(Hy)),this.isEmpty)return r.length?t.of(r):this;let a=new Yp(this,null,-1).goto(0),l=0,c=[],u=new zi;for(;a.value||l<r.length;)if(l<r.length&&(a.from-r[l].from||a.startSide-r[l].value.startSide)>=0){let f=r[l++];u.addInner(f.from,f.to,f.value)||c.push(f)}else a.rangeIndex==1&&a.chunkIndex<this.chunk.length&&(l==r.length||this.chunkEnd(a.chunkIndex)<r[l].from)&&(!s||n>this.chunkEnd(a.chunkIndex)||o<this.chunkPos[a.chunkIndex])&&u.addChunk(this.chunkPos[a.chunkIndex],this.chunk[a.chunkIndex])?a.nextChunk():((!s||n>a.to||o<a.from||s(a.from,a.to,a.value))&&(u.addInner(a.from,a.to,a.value)||c.push(Ef.create(a.from,a.to,a.value))),a.next());return u.finishInner(this.nextLayer.isEmpty&&!c.length?t.empty:this.nextLayer.update({add:c,filter:s,filterFrom:n,filterTo:o}))}map(e){if(e.empty||this.isEmpty)return this;let r=[],i=[],n=-1;for(let s=0;s<this.chunk.length;s++){let a=this.chunkPos[s],l=this.chunk[s],c=e.touchesRange(a,a+l.length);if(c===!1)n=Math.max(n,l.maxPoint),r.push(l),i.push(e.mapPos(a));else if(c===!0){let{mapped:u,pos:f}=l.map(a,e);u&&(n=Math.max(n,u.maxPoint),r.push(u),i.push(f))}}let o=this.nextLayer.map(e);return r.length==0?o:new t(i,r,o||t.empty,n)}between(e,r,i){if(!this.isEmpty){for(let n=0;n<this.chunk.length;n++){let o=this.chunkPos[n],s=this.chunk[n];if(r>=o&&e<=o+s.length&&s.between(o,e-o,r-o,i)===!1)return}this.nextLayer.between(e,r,i)}}iter(e=0){return Cf.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,r=0){return Cf.from(e).goto(r)}static compare(e,r,i,n,o=-1){let s=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),a=r.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),l=JE(s,a,i),c=new Fa(s,l,o),u=new Fa(a,l,o);i.iterGaps((f,d,p)=>e9(c,f,u,d,p,n)),i.empty&&i.length==0&&e9(c,0,u,0,0,n)}static eq(e,r,i=0,n){n==null&&(n=1e9-1);let o=e.filter(u=>!u.isEmpty&&r.indexOf(u)<0),s=r.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(o.length!=s.length)return!1;if(!o.length)return!0;let a=JE(o,s),l=new Fa(o,a,0).goto(i),c=new Fa(s,a,0).goto(i);for(;;){if(l.to!=c.to||!Ky(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>n)return!0;l.next(),c.next()}}static spans(e,r,i,n,o=-1){let s=new Fa(e,null,o).goto(r),a=r,l=s.openStart;for(;;){let c=Math.min(s.to,i);if(s.point){let u=s.activeForPoint(s.to),f=s.pointFrom<r?u.length+1:Math.min(u.length,l);n.point(a,c,s.point,u,f,s.pointRank),l=Math.min(s.openEnd(c),u.length)}else c>a&&(n.span(a,c,s.active,l),l=s.openEnd(c));if(s.to>i)return l+(s.point&&s.to>i?1:0);a=s.to,s.next()}}static of(e,r=!1){let i=new zi;for(let n of e instanceof Ef?[e]:r?eY(e):e)i.add(n.from,n.to,n.value);return i.finish()}static join(e){if(!e.length)return t.empty;let r=e[e.length-1];for(let i=e.length-2;i>=0;i--)for(let n=e[i];n!=t.empty;n=n.nextLayer)r=new t(n.chunkPos,n.chunk,r,Math.max(n.maxPoint,r.maxPoint));return r}};Et.empty=new Et([],[],null,-1);function eY(t){if(t.length>1)for(let e=t[0],r=1;r<t.length;r++){let i=t[r];if(Hy(e,i)>0)return t.slice().sort(Hy);e=i}return t}Et.empty.nextLayer=Et.empty;var zi=class t{finishChunk(e){this.chunks.push(new Gy(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,r,i){this.addInner(e,r,i)||(this.nextLayer||(this.nextLayer=new t)).add(e,r,i)}addInner(e,r,i){let n=e-this.lastTo||i.startSide-this.last.endSide;if(n<=0&&(e-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return n<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(r-this.chunkStart),this.last=i,this.lastFrom=e,this.lastTo=r,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,r-e)),!0)}addChunk(e,r){if((e-this.lastTo||r.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,r.maxPoint),this.chunks.push(r),this.chunkPos.push(e);let i=r.value.length-1;return this.last=r.value[i],this.lastFrom=r.from[i]+e,this.lastTo=r.to[i]+e,!0}finish(){return this.finishInner(Et.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let r=Et.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,r}};function JE(t,e,r){let i=new Map;for(let o of t)for(let s=0;s<o.chunk.length;s++)o.chunk[s].maxPoint<=0&&i.set(o.chunk[s],o.chunkPos[s]);let n=new Set;for(let o of e)for(let s=0;s<o.chunk.length;s++){let a=i.get(o.chunk[s]);a!=null&&(r?r.mapPos(a):a)==o.chunkPos[s]&&!(r!=null&&r.touchesRange(a,a+o.chunk[s].length))&&n.add(o.chunk[s])}return n}var Yp=class{constructor(e,r,i,n=0){this.layer=e,this.skip=r,this.minPoint=i,this.rank=n}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,r=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,r,!1),this}gotoInner(e,r,i){for(;this.chunkIndex<this.layer.chunk.length;){let n=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(n)||this.layer.chunkEnd(this.chunkIndex)<e||n.maxPoint<this.minPoint))break;this.chunkIndex++,i=!1}if(this.chunkIndex<this.layer.chunk.length){let n=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],r,!0);(!i||this.rangeIndex<n)&&this.setRangeIndex(n)}this.next()}forward(e,r){(this.to-e||this.endSide-r)<0&&this.gotoInner(e,r,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],r=this.layer.chunk[this.chunkIndex],i=e+r.from[this.rangeIndex];if(this.from=i,this.to=e+r.to[this.rangeIndex],this.value=r.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}},Cf=class t{constructor(e){this.heap=e}static from(e,r=null,i=-1){let n=[];for(let o=0;o<e.length;o++)for(let s=e[o];!s.isEmpty;s=s.nextLayer)s.maxPoint>=i&&n.push(new Yp(s,r,i,o));return n.length==1?n[0]:new t(n)}get startSide(){return this.value?this.value.startSide:0}goto(e,r=-1e9){for(let i of this.heap)i.goto(e,r);for(let i=this.heap.length>>1;i>=0;i--)Dy(this.heap,i);return this.next(),this}forward(e,r){for(let i of this.heap)i.forward(e,r);for(let i=this.heap.length>>1;i>=0;i--)Dy(this.heap,i);(this.to-e||this.value.endSide-r)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Dy(this.heap,0)}}};function Dy(t,e){for(let r=t[e];;){let i=(e<<1)+1;if(i>=t.length)break;let n=t[i];if(i+1<t.length&&n.compare(t[i+1])>=0&&(n=t[i+1],i++),r.compare(n)<0)break;t[i]=r,t[e]=n,e=i}}var Fa=class{constructor(e,r,i){this.minPoint=i,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Cf.from(e,r,i)}goto(e,r=-1e9){return this.cursor.goto(e,r),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=r,this.openStart=-1,this.next(),this}forward(e,r){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-r)<0;)this.removeActive(this.minActive);this.cursor.forward(e,r)}removeActive(e){Up(this.active,e),Up(this.activeTo,e),Up(this.activeRank,e),this.minActive=t9(this.active,this.activeTo)}addActive(e){let r=0,{value:i,to:n,rank:o}=this.cursor;for(;r<this.activeRank.length&&(o-this.activeRank[r]||n-this.activeTo[r])>0;)r++;Np(this.active,r,i),Np(this.activeTo,r,n),Np(this.activeRank,r,o),e&&Np(e,r,this.cursor.from),this.minActive=t9(this.active,this.activeTo)}next(){let e=this.to,r=this.point;this.point=null;let i=this.openStart<0?[]:null;for(;;){let n=this.minActive;if(n>-1&&(this.activeTo[n]-this.cursor.from||this.active[n].endSide-this.cursor.startSide)<0){if(this.activeTo[n]>e){this.to=this.activeTo[n],this.endSide=this.active[n].endSide;break}this.removeActive(n),i&&Up(i,n)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let o=this.cursor.value;if(!o.point)this.addActive(i),this.cursor.next();else if(r&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=o,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=o.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(i){this.openStart=0;for(let n=i.length-1;n>=0&&i[n]<e;n--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let r=[];for(let i=this.active.length-1;i>=0&&!(this.activeRank[i]<this.pointRank);i--)(this.activeTo[i]>e||this.activeTo[i]==e&&this.active[i].endSide>=this.point.endSide)&&r.push(this.active[i]);return r.reverse()}openEnd(e){let r=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>e;i--)r++;return r}};function e9(t,e,r,i,n,o){t.goto(e),r.goto(i);let s=i+n,a=i,l=i-e;for(;;){let c=t.to+l-r.to||t.endSide-r.endSide,u=c<0?t.to+l:r.to,f=Math.min(u,s);if(t.point||r.point?t.point&&r.point&&(t.point==r.point||t.point.eq(r.point))&&Ky(t.activeForPoint(t.to),r.activeForPoint(r.to))||o.comparePoint(a,f,t.point,r.point):f>a&&!Ky(t.active,r.active)&&o.compareRange(a,f,t.active,r.active),u>s)break;a=u,c<=0&&t.next(),c>=0&&r.next()}}function Ky(t,e){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!=e[r]&&!t[r].eq(e[r]))return!1;return!0}function Up(t,e){for(let r=e,i=t.length-1;r<i;r++)t[r]=t[r+1];t.pop()}function Np(t,e,r){for(let i=t.length-1;i>=e;i--)t[i+1]=t[i];t[e]=r}function t9(t,e){let r=-1,i=1e9;for(let n=0;n<e.length;n++)(e[n]-i||t[n].endSide-t[r].endSide)<0&&(r=n,i=e[n]);return r}function fi(t,e,r=t.length){let i=0;for(let n=0;n<r;)t.charCodeAt(n)==9?(i+=e-i%e,n++):(i++,n=dr(t,n));return i}function Hp(t,e,r,i){for(let n=0,o=0;;){if(o>=e)return n;if(n==t.length)break;o+=t.charCodeAt(n)==9?r-o%r:1,n=dr(t,n)}return i===!0?-1:t.length}var tv="\u037C",m9=typeof Symbol=="undefined"?"__"+tv:Symbol.for(tv),rv=typeof Symbol=="undefined"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),O9=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:{},on=class{constructor(e,r){this.rules=[];let{finish:i}=r||{};function n(s){return/^@/.test(s)?[s]:s.split(/,\s*/)}function o(s,a,l,c){let u=[],f=/^@(\w+)\b/.exec(s[0]),d=f&&f[1]=="keyframes";if(f&&a==null)return l.push(s[0]+";");for(let p in a){let O=a[p];if(/&/.test(p))o(p.split(/,\s*/).map(w=>s.map(x=>w.replace(/&/,x))).reduce((w,x)=>w.concat(x)),O,l);else if(O&&typeof O=="object"){if(!f)throw new RangeError("The value of a property ("+p+") should be a primitive value.");o(n(p),O,u,d)}else O!=null&&u.push(p.replace(/_.*/,"").replace(/[A-Z]/g,w=>"-"+w.toLowerCase())+": "+O+";")}(u.length||d)&&l.push((i&&!f&&!c?s.map(i):s).join(", ")+" {"+u.join(" ")+"}")}for(let s in e)o(n(s),e[s],this.rules)}getRules(){return this.rules.join(`
`)}static newName(){let e=O9[m9]||1;return O9[m9]=e+1,tv+e.toString(36)}static mount(e,r,i){let n=e[rv],o=i&&i.nonce;n?o&&n.setNonce(o):n=new iv(e,o),n.mount(Array.isArray(r)?r:[r])}},g9=new Map,iv=class{constructor(e,r){let i=e.ownerDocument||e,n=i.defaultView;if(!e.head&&e.adoptedStyleSheets&&n.CSSStyleSheet){let o=g9.get(i);if(o)return e.adoptedStyleSheets=[o.sheet,...e.adoptedStyleSheets],e[rv]=o;this.sheet=new n.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],g9.set(i,this)}else{this.styleTag=i.createElement("style"),r&&this.styleTag.setAttribute("nonce",r);let o=e.head||e;o.insertBefore(this.styleTag,o.firstChild)}this.modules=[],e[rv]=this}mount(e){let r=this.sheet,i=0,n=0;for(let o=0;o<e.length;o++){let s=e[o],a=this.modules.indexOf(s);if(a<n&&a>-1&&(this.modules.splice(a,1),n--,a=-1),a==-1){if(this.modules.splice(n++,0,s),r)for(let l=0;l<s.rules.length;l++)r.insertRule(s.rules[l],i++)}else{for(;n<a;)i+=this.modules[n++].rules.length;i+=s.rules.length,n++}}if(!r){let o="";for(let s=0;s<this.modules.length;s++)o+=this.modules[s].getRules()+`
`;this.styleTag.textContent=o}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}};var Wo={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},dc={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},tY=typeof navigator!="undefined"&&/Mac/.test(navigator.platform),rY=typeof navigator!="undefined"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(pr=0;pr<10;pr++)Wo[48+pr]=Wo[96+pr]=String(pr);var pr;for(pr=1;pr<=24;pr++)Wo[pr+111]="F"+pr;var pr;for(pr=65;pr<=90;pr++)Wo[pr]=String.fromCharCode(pr+32),dc[pr]=String.fromCharCode(pr);var pr;for(Gp in Wo)dc.hasOwnProperty(Gp)||(dc[Gp]=Wo[Gp]);var Gp;function b9(t){var e=tY&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||rY&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",r=!e&&t.key||(t.shiftKey?dc:Wo)[t.keyCode]||t.key||"Unidentified";return r=="Esc"&&(r="Escape"),r=="Del"&&(r="Delete"),r=="Left"&&(r="ArrowLeft"),r=="Up"&&(r="ArrowUp"),r=="Right"&&(r="ArrowRight"),r=="Down"&&(r="ArrowDown"),r}function dm(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function fv(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function iY(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function am(t,e){if(!e.anchorNode)return!1;try{return fv(t,e.anchorNode)}catch(r){return!1}}function jf(t){return t.nodeType==3?Ya(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function If(t,e,r,i){return r?y9(t,e,r,i,-1)||y9(t,e,r,i,1):!1}function Bf(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function y9(t,e,r,i,n){for(;;){if(t==r&&e==i)return!0;if(e==(n<0?0:Zo(t))){if(t.nodeName=="DIV")return!1;let o=t.parentNode;if(!o||o.nodeType!=1)return!1;e=Bf(t)+(n<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(n<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=n<0?Zo(t):0}else return!1}}function Zo(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Kv(t,e){let r=e?t.left:t.right;return{left:r,right:r,top:t.top,bottom:t.bottom}}function nY(t){return{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function oC(t,e){let r=e.width/t.offsetWidth,i=e.height/t.offsetHeight;return(r>.995&&r<1.005||!isFinite(r)||Math.abs(e.width-t.offsetWidth)<1)&&(r=1),(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.height-t.offsetHeight)<1)&&(i=1),{scaleX:r,scaleY:i}}function oY(t,e,r,i,n,o,s,a){let l=t.ownerDocument,c=l.defaultView||window;for(let u=t,f=!1;u&&!f;)if(u.nodeType==1){let d,p=u==l.body,O=1,w=1;if(p)d=nY(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(f=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let C=u.getBoundingClientRect();({scaleX:O,scaleY:w}=oC(u,C)),d={left:C.left,right:C.left+u.clientWidth*O,top:C.top,bottom:C.top+u.clientHeight*w}}let x=0,k=0;if(n=="nearest")e.top<d.top?(k=-(d.top-e.top+s),r>0&&e.bottom>d.bottom+k&&(k=e.bottom-d.bottom+k+s)):e.bottom>d.bottom&&(k=e.bottom-d.bottom+s,r<0&&e.top-k<d.top&&(k=-(d.top+k-e.top+s)));else{let C=e.bottom-e.top,R=d.bottom-d.top;k=(n=="center"&&C<=R?e.top+C/2-R/2:n=="start"||n=="center"&&r<0?e.top-s:e.bottom-R+s)-d.top}if(i=="nearest"?e.left<d.left?(x=-(d.left-e.left+o),r>0&&e.right>d.right+x&&(x=e.right-d.right+x+o)):e.right>d.right&&(x=e.right-d.right+o,r<0&&e.left<d.left+x&&(x=-(d.left+x-e.left+o))):x=(i=="center"?e.left+(e.right-e.left)/2-(d.right-d.left)/2:i=="start"==a?e.left-o:e.right-(d.right-d.left)+o)-d.left,x||k)if(p)c.scrollBy(x,k);else{let C=0,R=0;if(k){let Q=u.scrollTop;u.scrollTop+=k/w,R=(u.scrollTop-Q)*w}if(x){let Q=u.scrollLeft;u.scrollLeft+=x/O,C=(u.scrollLeft-Q)*O}e={left:e.left-C,top:e.top-R,right:e.right-C,bottom:e.bottom-R},C&&Math.abs(C-x)<1&&(i="nearest"),R&&Math.abs(R-k)<1&&(n="nearest")}if(p)break;u=u.assignedSlot||u.parentNode}else if(u.nodeType==11)u=u.host;else break}function sY(t){let e=t.ownerDocument;for(let r=t.parentNode;r&&r!=e.body;)if(r.nodeType==1){if(r.scrollHeight>r.clientHeight||r.scrollWidth>r.clientWidth)return r;r=r.assignedSlot||r.parentNode}else if(r.nodeType==11)r=r.host;else break;return null}var hv=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:r,focusNode:i}=e;this.set(r,Math.min(e.anchorOffset,r?Zo(r):0),i,Math.min(e.focusOffset,i?Zo(i):0))}set(e,r,i,n){this.anchorNode=e,this.anchorOffset=r,this.focusNode=i,this.focusOffset=n}},pc=null;function sC(t){if(t.setActive)return t.setActive();if(pc)return t.focus(pc);let e=[];for(let r=t;r&&(e.push(r,r.scrollTop,r.scrollLeft),r!=r.ownerDocument);r=r.parentNode);if(t.focus(pc==null?{get preventScroll(){return pc={preventScroll:!0},!0}}:void 0),!pc){pc=!1;for(let r=0;r<e.length;){let i=e[r++],n=e[r++],o=e[r++];i.scrollTop!=n&&(i.scrollTop=n),i.scrollLeft!=o&&(i.scrollLeft=o)}}}var v9;function Ya(t,e,r=e){let i=v9||(v9=document.createRange());return i.setEnd(t,r),i.setStart(t,e),i}function bc(t,e,r){let i={key:e,code:e,keyCode:r,which:r,cancelable:!0},n=new KeyboardEvent("keydown",i);n.synthetic=!0,t.dispatchEvent(n);let o=new KeyboardEvent("keyup",i);return o.synthetic=!0,t.dispatchEvent(o),n.defaultPrevented||o.defaultPrevented}function aY(t){for(;t;){if(t&&(t.nodeType==9||t.nodeType==11&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}function aC(t){for(;t.attributes.length;)t.removeAttributeNode(t.attributes[0])}function lY(t,e){let r=e.focusNode,i=e.focusOffset;if(!r||e.anchorNode!=r||e.anchorOffset!=i)return!1;for(i=Math.min(i,Zo(r));;)if(i){if(r.nodeType!=1)return!1;let n=r.childNodes[i-1];n.contentEditable=="false"?i--:(r=n,i=Zo(r))}else{if(r==t)return!0;i=Bf(r),r=r.parentNode}}function lC(t){return t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}var hi=class t{constructor(e,r,i=!0){this.node=e,this.offset=r,this.precise=i}static before(e,r){return new t(e.parentNode,Bf(e),r)}static after(e,r){return new t(e.parentNode,Bf(e)+1,r)}},Jv=[],Wt=class t{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let r=this.posAtStart;for(let i of this.children){if(i==e)return r;r+=i.length+i.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,r){if(this.flags&2){let i=this.dom,n=null,o;for(let s of this.children){if(s.flags&7){if(!s.dom&&(o=n?n.nextSibling:i.firstChild)){let a=t.get(o);(!a||!a.parent&&a.canReuseDOM(s))&&s.reuseDOM(o)}s.sync(e,r),s.flags&=-8}if(o=n?n.nextSibling:i.firstChild,r&&!r.written&&r.node==i&&o!=s.dom&&(r.written=!0),s.dom.parentNode==i)for(;o&&o!=s.dom;)o=w9(o);else i.insertBefore(s.dom,o);n=s.dom}for(o=n?n.nextSibling:i.firstChild,o&&r&&r.node==i&&(r.written=!0);o;)o=w9(o)}else if(this.flags&1)for(let i of this.children)i.flags&7&&(i.sync(e,r),i.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,r){let i;if(e==this.dom)i=this.dom.childNodes[r];else{let n=Zo(e)==0?0:r==0?-1:1;for(;;){let o=e.parentNode;if(o==this.dom)break;n==0&&o.firstChild!=o.lastChild&&(e==o.firstChild?n=-1:n=1),e=o}n<0?i=e:i=e.nextSibling}if(i==this.dom.firstChild)return 0;for(;i&&!t.get(i);)i=i.nextSibling;if(!i)return this.length;for(let n=0,o=0;;n++){let s=this.children[n];if(s.dom==i)return o;o+=s.length+s.breakAfter}}domBoundsAround(e,r,i=0){let n=-1,o=-1,s=-1,a=-1;for(let l=0,c=i,u=i;l<this.children.length;l++){let f=this.children[l],d=c+f.length;if(c<e&&d>r)return f.domBoundsAround(e,r,c);if(d>=e&&n==-1&&(n=l,o=c),c>r&&f.dom.parentNode==this.dom){s=l,a=u;break}u=d,c=d+f.breakAfter}return{from:o,to:a<0?i+this.length:a,startDOM:(n?this.children[n-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:s<this.children.length&&s>=0?this.children[s].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let r=this.parent;r;r=r.parent){if(e&&(r.flags|=2),r.flags&1)return;r.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let r=e.parent;if(!r)return e;e=r}}replaceChildren(e,r,i=Jv){this.markDirty();for(let n=e;n<r;n++){let o=this.children[n];o.parent==this&&i.indexOf(o)<0&&o.destroy()}this.children.splice(e,r-e,...i);for(let n=0;n<i.length;n++)i[n].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new pm(this.children,e,this.children.length)}childPos(e,r=1){return this.childCursor().findPos(e,r)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+(e=="Text"?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,r,i,n,o,s){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!((this.flags|e.flags)&8)}getSide(){return 0}destroy(){for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}};Wt.prototype.breakAfter=0;function w9(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}var pm=class{constructor(e,r,i){this.children=e,this.pos=r,this.i=i,this.off=0}findPos(e,r=1){for(;;){if(e>this.pos||e==this.pos&&(r>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}};function cC(t,e,r,i,n,o,s,a,l){let{children:c}=t,u=c.length?c[e]:null,f=o.length?o[o.length-1]:null,d=f?f.breakAfter:s;if(!(e==i&&u&&!s&&!d&&o.length<2&&u.merge(r,n,o.length?f:null,r==0,a,l))){if(i<c.length){let p=c[i];p&&(n<p.length||p.breakAfter&&(f!=null&&f.breakAfter))?(e==i&&(p=p.split(n),n=0),!d&&f&&p.merge(0,n,f,!0,0,l)?o[o.length-1]=p:((n||p.children.length&&!p.children[0].length)&&p.merge(0,n,null,!1,0,l),o.push(p))):p!=null&&p.breakAfter&&(f?f.breakAfter=1:s=1),i++}for(u&&(u.breakAfter=s,r>0&&(!s&&o.length&&u.merge(r,u.length,o[0],!1,a,0)?u.breakAfter=o.shift().breakAfter:(r<u.length||u.children.length&&u.children[u.children.length-1].length==0)&&u.merge(r,u.length,null,!1,a,0),e++));e<i&&o.length;)if(c[i-1].become(o[o.length-1]))i--,o.pop(),l=o.length?0:a;else if(c[e].become(o[0]))e++,o.shift(),a=o.length?0:l;else break;!o.length&&e&&i<c.length&&!c[e-1].breakAfter&&c[i].merge(0,0,c[e-1],!1,a,l)&&e--,(e<i||o.length)&&t.replaceChildren(e,i,o)}}function uC(t,e,r,i,n,o){let s=t.childCursor(),{i:a,off:l}=s.findPos(r,1),{i:c,off:u}=s.findPos(e,-1),f=e-r;for(let d of i)f+=d.length;t.length+=f,cC(t,c,u,a,l,i,0,n,o)}var Mi=typeof navigator!="undefined"?navigator:{userAgent:"",vendor:"",platform:""},dv=typeof document!="undefined"?document:{documentElement:{style:{}}},pv=/Edge\/(\d+)/.exec(Mi.userAgent),fC=/MSIE \d/.test(Mi.userAgent),mv=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Mi.userAgent),Pm=!!(fC||mv||pv),x9=!Pm&&/gecko\/(\d+)/i.test(Mi.userAgent),nv=!Pm&&/Chrome\/(\d+)/.exec(Mi.userAgent),k9="webkitFontSmoothing"in dv.documentElement.style,hC=!Pm&&/Apple Computer/.test(Mi.vendor),S9=hC&&(/Mobile\/\w+/.test(Mi.userAgent)||Mi.maxTouchPoints>2),Ue={mac:S9||/Mac/.test(Mi.platform),windows:/Win/.test(Mi.platform),linux:/Linux|X11/.test(Mi.platform),ie:Pm,ie_version:fC?dv.documentMode||6:mv?+mv[1]:pv?+pv[1]:0,gecko:x9,gecko_version:x9?+(/Firefox\/(\d+)/.exec(Mi.userAgent)||[0,0])[1]:0,chrome:!!nv,chrome_version:nv?+nv[1]:0,ios:S9,android:/Android\b/.test(Mi.userAgent),webkit:k9,safari:hC,webkit_version:k9?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:dv.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"},cY=256,qs=class t extends Wt{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,r){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(r&&r.node==this.dom&&(r.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,r,i){return this.flags&8||i&&(!(i instanceof t)||this.length-(r-e)+i.length>cY||i.flags&8)?!1:(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(r),this.markDirty(),!0)}split(e){let r=new t(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),r.flags|=this.flags&8,r}localPosFromDOM(e,r){return e==this.dom?r:r?this.text.length:0}domAtPos(e){return new hi(this.dom,e)}domBoundsAround(e,r,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,r){return uY(this.dom,e,r)}},Fs=class t extends Wt{constructor(e,r=[],i=0){super(),this.mark=e,this.children=r,this.length=i;for(let n of r)n.setParent(this)}setAttrs(e){if(aC(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let r in this.mark.attrs)e.setAttribute(r,this.mark.attrs[r]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,r){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,r)}merge(e,r,i,n,o,s){return i&&(!(i instanceof t&&i.mark.eq(this.mark))||e&&o<=0||r<this.length&&s<=0)?!1:(uC(this,e,r,i?i.children.slice():[],o-1,s-1),this.markDirty(),!0)}split(e){let r=[],i=0,n=-1,o=0;for(let a of this.children){let l=i+a.length;l>e&&r.push(i<e?a.split(e-i):a),n<0&&i>=e&&(n=o),i=l,o++}let s=this.length-e;return this.length=e,n>-1&&(this.children.length=n,this.markDirty()),new t(this.mark,r,s)}domAtPos(e){return dC(this,e)}coordsAt(e,r){return mC(this,e,r)}};function uY(t,e,r){let i=t.nodeValue.length;e>i&&(e=i);let n=e,o=e,s=0;e==0&&r<0||e==i&&r>=0?Ue.chrome||Ue.gecko||(e?(n--,s=1):o<i&&(o++,s=-1)):r<0?n--:o<i&&o++;let a=Ya(t,n,o).getClientRects();if(!a.length)return null;let l=a[(s?s<0:r>=0)?0:a.length-1];return Ue.safari&&!s&&l.width==0&&(l=Array.prototype.find.call(a,c=>c.width)||l),s?Kv(l,s<0):l||null}var Vf=class t extends Wt{static create(e,r,i){return new t(e,r,i)}constructor(e,r,i){super(),this.widget=e,this.length=r,this.side=i,this.prevWidget=null}split(e){let r=t.create(this.widget,this.length-e,this.side);return this.length-=e,r}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,r,i,n,o,s){return i&&(!(i instanceof t)||!this.widget.compare(i.widget)||e>0&&o<=0||r<this.length&&s<=0)?!1:(this.length=e+(i?i.length:0)+(this.length-r),!0)}become(e){return e instanceof t&&e.side==this.side&&this.widget.constructor==e.widget.constructor?(this.widget.compare(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(this.length==0)return gt.empty;let e=this;for(;e.parent;)e=e.parent;let{view:r}=e,i=r&&r.state.doc,n=this.posAtStart;return i?i.slice(n,n+this.length):gt.empty}domAtPos(e){return(this.length?e==0:this.side>0)?hi.before(this.dom):hi.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,r){let i=this.widget.coordsAt(this.dom,e,r);if(i)return i;let n=this.dom.getClientRects(),o=null;if(!n.length)return null;let s=this.side?this.side<0:e>0;for(let a=s?n.length-1:0;o=n[a],!(e>0?a==0:a==n.length-1||o.top<o.bottom);a+=s?-1:1);return Kv(o,!s)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}},qf=class t extends Wt{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(e){return e instanceof t&&e.side==this.side}split(){return new t(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return this.side>0?hi.before(this.dom):hi.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return gt.empty}get isHidden(){return!0}};qs.prototype.children=Vf.prototype.children=qf.prototype.children=Jv;function dC(t,e){let r=t.dom,{children:i}=t,n=0;for(let o=0;n<i.length;n++){let s=i[n],a=o+s.length;if(!(a==o&&s.getSide()<=0)){if(e>o&&e<a&&s.dom.parentNode==r)return s.domAtPos(e-o);if(e<=o)break;o=a}}for(let o=n;o>0;o--){let s=i[o-1];if(s.dom.parentNode==r)return s.domAtPos(s.length)}for(let o=n;o<i.length;o++){let s=i[o];if(s.dom.parentNode==r)return s.domAtPos(0)}return new hi(r,0)}function pC(t,e,r){let i,{children:n}=t;r>0&&e instanceof Fs&&n.length&&(i=n[n.length-1])instanceof Fs&&i.mark.eq(e.mark)?pC(i,e.children[0],r-1):(n.push(e),e.setParent(t)),t.length+=e.length}function mC(t,e,r){let i=null,n=-1,o=null,s=-1;function a(c,u){for(let f=0,d=0;f<c.children.length&&d<=u;f++){let p=c.children[f],O=d+p.length;O>=u&&(p.children.length?a(p,u-d):(!o||o.isHidden&&r>0)&&(O>u||d==O&&p.getSide()>0)?(o=p,s=u-d):(d<u||d==O&&p.getSide()<0&&!p.isHidden)&&(i=p,n=u-d)),d=O}}a(t,e);let l=(r<0?i:o)||i||o;return l?l.coordsAt(Math.max(0,l==i?n:s),r):fY(t)}function fY(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let r=jf(e);return r[r.length-1]||null}function Ov(t,e){for(let r in t)r=="class"&&e.class?e.class+=" "+t.class:r=="style"&&e.style?e.style+=";"+t.style:e[r]=t[r];return e}var T9=Object.create(null);function e4(t,e,r){if(t==e)return!0;t||(t=T9),e||(e=T9);let i=Object.keys(t),n=Object.keys(e);if(i.length-(r&&i.indexOf(r)>-1?1:0)!=n.length-(r&&n.indexOf(r)>-1?1:0))return!1;for(let o of i)if(o!=r&&(n.indexOf(o)==-1||t[o]!==e[o]))return!1;return!0}function gv(t,e,r){let i=!1;if(e)for(let n in e)r&&n in r||(i=!0,n=="style"?t.style.cssText="":t.removeAttribute(n));if(r)for(let n in r)e&&e[n]==r[n]||(i=!0,n=="style"?t.style.cssText=r[n]:t.setAttribute(n,r[n]));return i}function hY(t){let e=Object.create(null);for(let r=0;r<t.attributes.length;r++){let i=t.attributes[r];e[i.name]=i.value}return e}var Ir=class t extends Wt{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,r,i,n,o,s){if(i){if(!(i instanceof t))return!1;this.dom||i.transferDOM(this)}return n&&this.setDeco(i?i.attrs:null),uC(this,e,r,i?i.children.slice():[],o,s),!0}split(e){let r=new t;if(r.breakAfter=this.breakAfter,this.length==0)return r;let{i,off:n}=this.childPos(e);n&&(r.append(this.children[i].split(n),0),this.children[i].merge(n,this.children[i].length,null,!1,0,0),i++);for(let o=i;o<this.children.length;o++)r.append(this.children[o],0);for(;i>0&&this.children[i-1].length==0;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,r}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){e4(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,r){pC(this,e,r)}addLineDeco(e){let r=e.spec.attributes,i=e.spec.class;r&&(this.attrs=Ov(r,this.attrs||{})),i&&(this.attrs=Ov({class:i},this.attrs||{}))}domAtPos(e){return dC(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,r){var i;this.dom?this.flags&4&&(aC(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(gv(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,r);let n=this.dom.lastChild;for(;n&&Wt.get(n)instanceof Fs;)n=n.lastChild;if(!n||!this.length||n.nodeName!="BR"&&((i=Wt.get(n))===null||i===void 0?void 0:i.isEditable)==!1&&(!Ue.ios||!this.children.some(o=>o instanceof qs))){let o=document.createElement("BR");o.cmIgnore=!0,this.dom.appendChild(o)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,r;for(let i of this.children){if(!(i instanceof qs)||/[^ -~]/.test(i.text))return null;let n=jf(i.dom);if(n.length!=1)return null;e+=n[0].width,r=n[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:r}:null}coordsAt(e,r){let i=mC(this,e,r);if(!this.children.length&&i&&this.parent){let{heightOracle:n}=this.parent.view.viewState,o=i.bottom-i.top;if(Math.abs(o-n.lineHeight)<2&&n.textHeight<o){let s=(o-n.textHeight)/2;return{top:i.top+s,bottom:i.bottom-s,left:i.left,right:i.left}}}return i}become(e){return!1}covers(){return!0}static find(e,r){for(let i=0,n=0;i<e.children.length;i++){let o=e.children[i],s=n+o.length;if(s>=r){if(o instanceof t)return o;if(s>r)break}n=s+o.breakAfter}return null}},yc=class t extends Wt{constructor(e,r,i){super(),this.widget=e,this.length=r,this.deco=i,this.breakAfter=0,this.prevWidget=null}merge(e,r,i,n,o,s){return i&&(!(i instanceof t)||!this.widget.compare(i.widget)||e>0&&o<=0||r<this.length&&s<=0)?!1:(this.length=e+(i?i.length:0)+(this.length-r),!0)}domAtPos(e){return e==0?hi.before(this.dom):hi.after(this.dom,e==this.length)}split(e){let r=this.length-e;this.length=e;let i=new t(this.widget,r,this.deco);return i.breakAfter=this.breakAfter,i}get children(){return Jv}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):gt.empty}domBoundsAround(){return null}become(e){return e instanceof t&&e.widget.constructor==this.widget.constructor?(e.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.deco=e.deco,this.breakAfter=e.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,r){return this.widget.coordsAt(this.dom,e,r)}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:r,endSide:i}=this.deco;return r==i?!1:e<0?r<0:i>0}},Tr=class{eq(e){return!1}updateDOM(e,r){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,r,i){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}},di=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}(di||(di={})),Le=class extends En{constructor(e,r,i,n){super(),this.startSide=e,this.endSide=r,this.widget=i,this.spec=n}get heightRelevant(){return!1}static mark(e){return new Ff(e)}static widget(e){let r=Math.max(-1e4,Math.min(1e4,e.side||0)),i=!!e.block;return r+=i&&!e.inlineOrder?r>0?3e8:-4e8:r>0?1e8:-1e8,new Ws(e,r,r,i,e.widget||null,!1)}static replace(e){let r=!!e.block,i,n;if(e.isBlockGap)i=-5e8,n=4e8;else{let{start:o,end:s}=OC(e,r);i=(o?r?-3e8:-1:5e8)-1,n=(s?r?2e8:1:-6e8)+1}return new Ws(e,i,n,r,e.widget||null,!0)}static line(e){return new Wf(e)}static set(e,r=!1){return Et.of(e,r)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}};Le.none=Et.empty;var Ff=class t extends Le{constructor(e){let{start:r,end:i}=OC(e);super(r?-1:5e8,i?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var r,i;return this==e||e instanceof t&&this.tagName==e.tagName&&(this.class||((r=this.attrs)===null||r===void 0?void 0:r.class))==(e.class||((i=e.attrs)===null||i===void 0?void 0:i.class))&&e4(this.attrs,e.attrs,"class")}range(e,r=e){if(e>=r)throw new RangeError("Mark decorations may not be empty");return super.range(e,r)}};Ff.prototype.point=!1;var Wf=class t extends Le{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof t&&this.spec.class==e.spec.class&&e4(this.spec.attributes,e.spec.attributes)}range(e,r=e){if(r!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,r)}};Wf.prototype.mapMode=qt.TrackBefore;Wf.prototype.point=!0;var Ws=class t extends Le{constructor(e,r,i,n,o,s){super(r,i,o,e),this.block=n,this.isReplace=s,this.mapMode=n?r<=0?qt.TrackBefore:qt.TrackAfter:qt.TrackDel}get type(){return this.startSide!=this.endSide?di.WidgetRange:this.startSide<=0?di.WidgetBefore:di.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof t&&dY(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,r=e){if(this.isReplace&&(e>r||e==r&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&r!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,r)}};Ws.prototype.point=!0;function OC(t,e=!1){let{inclusiveStart:r,inclusiveEnd:i}=t;return r==null&&(r=t.inclusive),i==null&&(i=t.inclusive),{start:r!=null?r:e,end:i!=null?i:e}}function dY(t,e){return t==e||!!(t&&e&&t.compare(e))}function bv(t,e,r,i=0){let n=r.length-1;n>=0&&r[n]+i>=t?r[n]=Math.max(r[n],e):r.push(t,e)}var Lf=class t{constructor(e,r,i,n){this.doc=e,this.pos=r,this.end=i,this.disallowBlockEffectsFor=n,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=r}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof yc&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new Ir),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(Kp(new qf(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof yc)&&this.getLine()}buildText(e,r,i){for(;e>0;){if(this.textOff==this.text.length){let{value:o,lineBreak:s,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(s){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=o,this.textOff=0}let n=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(r.slice(r.length-i)),this.getLine().append(Kp(new qs(this.text.slice(this.textOff,this.textOff+n)),r),i),this.atCursorPos=!0,this.textOff+=n,e-=n,i=0}}span(e,r,i,n){this.buildText(r-e,i,n),this.pos=r,this.openStart<0&&(this.openStart=n)}point(e,r,i,n,o,s){if(this.disallowBlockEffectsFor[s]&&i instanceof Ws){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(r>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=r-e;if(i instanceof Ws)if(i.block)i.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new yc(i.widget||new mm("div"),a,i));else{let l=Vf.create(i.widget||new mm("span"),a,a?0:i.startSide),c=this.atCursorPos&&!l.isEditable&&o<=n.length&&(e<r||i.startSide>0),u=!l.isEditable&&(e<r||o>n.length||i.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(n),c&&(f.append(Kp(new qf(1),n),o),o=n.length+Math.max(0,o-n.length)),f.append(Kp(l,n),o),this.atCursorPos=u,this.pendingBuffer=u?e<r||o>n.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=n.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(i);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=r),this.openStart<0&&(this.openStart=o)}static build(e,r,i,n,o){let s=new t(e,r,i,o);return s.openEnd=Et.spans(n,r,i,s),s.openStart<0&&(s.openStart=s.openEnd),s.finish(s.openEnd),s}};function Kp(t,e){for(let r of e)t=new Fs(r,[t],t.length);return t}var mm=class extends Tr{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}},Ct=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(Ct||(Ct={})),Ha=Ct.LTR,t4=Ct.RTL;function gC(t){let e=[];for(let r=0;r<t.length;r++)e.push(1<<+t[r]);return e}var pY=gC("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),mY=gC("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),yv=Object.create(null),ro=[];for(let t of["()","[]","{}"]){let e=t.charCodeAt(0),r=t.charCodeAt(1);yv[e]=r,yv[r]=-e}function bC(t){return t<=247?pY[t]:1424<=t&&t<=1524?2:1536<=t&&t<=1785?mY[t-1536]:1774<=t&&t<=2220?4:8192<=t&&t<=8204?256:64336<=t&&t<=65023?4:1}var OY=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,no=class{get dir(){return this.level%2?t4:Ha}constructor(e,r,i){this.from=e,this.to=r,this.level=i}side(e,r){return this.dir==r==e?this.to:this.from}forward(e,r){return e==(this.dir==r)}static find(e,r,i,n){let o=-1;for(let s=0;s<e.length;s++){let a=e[s];if(a.from<=r&&a.to>=r){if(a.level==i)return s;(o<0||(n!=0?n<0?a.from<r:a.to>r:e[o].level>a.level))&&(o=s)}}if(o<0)throw new RangeError("Index out of range");return o}};function yC(t,e){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],n=e[r];if(i.from!=n.from||i.to!=n.to||i.direction!=n.direction||!yC(i.inner,n.inner))return!1}return!0}var Mt=[];function gY(t,e,r,i,n){for(let o=0;o<=i.length;o++){let s=o?i[o-1].to:e,a=o<i.length?i[o].from:r,l=o?256:n;for(let c=s,u=l,f=l;c<a;c++){let d=bC(t.charCodeAt(c));d==512?d=u:d==8&&f==4&&(d=16),Mt[c]=d==4?2:d,d&7&&(f=d),u=d}for(let c=s,u=l,f=l;c<a;c++){let d=Mt[c];if(d==128)c<a-1&&u==Mt[c+1]&&u&24?d=Mt[c]=u:Mt[c]=256;else if(d==64){let p=c+1;for(;p<a&&Mt[p]==64;)p++;let O=c&&u==8||p<r&&Mt[p]==8?f==1?1:8:256;for(let w=c;w<p;w++)Mt[w]=O;c=p-1}else d==8&&f==1&&(Mt[c]=1);u=d,d&7&&(f=d)}}}function bY(t,e,r,i,n){let o=n==1?2:1;for(let s=0,a=0,l=0;s<=i.length;s++){let c=s?i[s-1].to:e,u=s<i.length?i[s].from:r;for(let f=c,d,p,O;f<u;f++)if(p=yv[d=t.charCodeAt(f)])if(p<0){for(let w=a-3;w>=0;w-=3)if(ro[w+1]==-p){let x=ro[w+2],k=x&2?n:x&4?x&1?o:n:0;k&&(Mt[f]=Mt[ro[w]]=k),a=w;break}}else{if(ro.length==189)break;ro[a++]=f,ro[a++]=d,ro[a++]=l}else if((O=Mt[f])==2||O==1){let w=O==n;l=w?0:1;for(let x=a-3;x>=0;x-=3){let k=ro[x+2];if(k&2)break;if(w)ro[x+2]|=2;else{if(k&4)break;ro[x+2]|=4}}}}}function yY(t,e,r,i){for(let n=0,o=i;n<=r.length;n++){let s=n?r[n-1].to:t,a=n<r.length?r[n].from:e;for(let l=s;l<a;){let c=Mt[l];if(c==256){let u=l+1;for(;;)if(u==a){if(n==r.length)break;u=r[n++].to,a=n<r.length?r[n].from:e}else if(Mt[u]==256)u++;else break;let f=o==1,d=(u<e?Mt[u]:i)==1,p=f==d?f?1:2:i;for(let O=u,w=n,x=w?r[w-1].to:t;O>l;)O==x&&(O=r[--w].from,x=w?r[w-1].to:t),Mt[--O]=p;l=u}else o=c,l++}}}function vv(t,e,r,i,n,o,s){let a=i%2?2:1;if(i%2==n%2)for(let l=e,c=0;l<r;){let u=!0,f=!1;if(c==o.length||l<o[c].from){let w=Mt[l];w!=a&&(u=!1,f=w==16)}let d=!u&&a==1?[]:null,p=u?i:i+1,O=l;e:for(;;)if(c<o.length&&O==o[c].from){if(f)break e;let w=o[c];if(!u)for(let x=w.to,k=c+1;;){if(x==r)break e;if(k<o.length&&o[k].from==x)x=o[k++].to;else{if(Mt[x]==a)break e;break}}if(c++,d)d.push(w);else{w.from>l&&s.push(new no(l,w.from,p));let x=w.direction==Ha!=!(p%2);wv(t,x?i+1:i,n,w.inner,w.from,w.to,s),l=w.to}O=w.to}else{if(O==r||(u?Mt[O]!=a:Mt[O]==a))break;O++}d?vv(t,l,O,i+1,n,d,s):l<O&&s.push(new no(l,O,p)),l=O}else for(let l=r,c=o.length;l>e;){let u=!0,f=!1;if(!c||l>o[c-1].to){let w=Mt[l-1];w!=a&&(u=!1,f=w==16)}let d=!u&&a==1?[]:null,p=u?i:i+1,O=l;e:for(;;)if(c&&O==o[c-1].to){if(f)break e;let w=o[--c];if(!u)for(let x=w.from,k=c;;){if(x==e)break e;if(k&&o[k-1].to==x)x=o[--k].from;else{if(Mt[x-1]==a)break e;break}}if(d)d.push(w);else{w.to<l&&s.push(new no(w.to,l,p));let x=w.direction==Ha!=!(p%2);wv(t,x?i+1:i,n,w.inner,w.from,w.to,s),l=w.from}O=w.from}else{if(O==e||(u?Mt[O-1]!=a:Mt[O-1]==a))break;O--}d?vv(t,O,l,i+1,n,d,s):O<l&&s.push(new no(O,l,p)),l=O}}function wv(t,e,r,i,n,o,s){let a=e%2?2:1;gY(t,n,o,i,a),bY(t,n,o,i,a),yY(n,o,i,a),vv(t,n,o,e,r,i,s)}function vY(t,e,r){if(!t)return[new no(0,0,e==t4?1:0)];if(e==Ha&&!r.length&&!OY.test(t))return vC(t.length);if(r.length)for(;t.length>Mt.length;)Mt[Mt.length]=256;let i=[],n=e==Ha?0:1;return wv(t,n,n,r,0,t.length,i),i}function vC(t){return[new no(0,t,0)]}var wC="";function wY(t,e,r,i,n){var o;let s=i.head-t.from,a=no.find(e,s,(o=i.bidiLevel)!==null&&o!==void 0?o:-1,i.assoc),l=e[a],c=l.side(n,r);if(s==c){let d=a+=n?1:-1;if(d<0||d>=e.length)return null;l=e[a=d],s=l.side(!n,r),c=l.side(n,r)}let u=dr(t.text,s,l.forward(n,r));(u<l.from||u>l.to)&&(u=c),wC=t.text.slice(Math.min(s,u),Math.max(s,u));let f=a==(n?e.length-1:0)?null:e[a+(n?1:-1)];return f&&u==c&&f.level+(n?0:1)<l.level?ce.cursor(f.side(!n,r)+t.from,f.forward(n,r)?1:-1,f.level):ce.cursor(u+t.from,l.forward(n,r)?-1:1,l.level)}function xY(t,e,r){for(let i=e;i<r;i++){let n=bC(t.charCodeAt(i));if(n==1)return Ha;if(n==2||n==4)return t4}return Ha}var xC=Re.define(),kC=Re.define(),SC=Re.define(),TC=Re.define(),xv=Re.define(),EC=Re.define(),CC=Re.define(),PC=Re.define({combine:t=>t.some(e=>e)}),QC=Re.define({combine:t=>t.some(e=>e)}),zf=class t{constructor(e,r="nearest",i="nearest",n=5,o=5,s=!1){this.range=e,this.y=r,this.x=i,this.yMargin=n,this.xMargin=o,this.isSnapshot=s}map(e){return e.empty?this:new t(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new t(ce.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}},Jp=De.define({map:(t,e)=>t.map(e)});function pi(t,e,r){let i=t.facet(TC);i.length?i[0](e):window.onerror?window.onerror(String(e),r,void 0,void 0,e):r?console.error(r+":",e):console.error(e)}var Qm=Re.define({combine:t=>t.length?t[0]:!0}),kY=0,_f=Re.define(),dt=class t{constructor(e,r,i,n,o){this.id=e,this.create=r,this.domEventHandlers=i,this.domEventObservers=n,this.extension=o(this)}static define(e,r){let{eventHandlers:i,eventObservers:n,provide:o,decorations:s}=r||{};return new t(kY++,e,i,n,a=>{let l=[_f.of(a)];return s&&l.push(Zf.of(c=>{let u=c.plugin(a);return u?s(u):Le.none})),o&&l.push(o(a)),l})}static fromClass(e,r){return t.define(i=>new e(i),r)}},Mf=class{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let r=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(r)}catch(i){if(pi(r.state,i,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(n){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(r){pi(e.state,r,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var r;if(!((r=this.value)===null||r===void 0)&&r.destroy)try{this.value.destroy()}catch(i){pi(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}},_C=Re.define(),r4=Re.define(),Zf=Re.define(),AC=Re.define(),i4=Re.define(),RC=Re.define();function E9(t,e){let r=t.state.facet(RC);if(!r.length)return r;let i=r.map(o=>o instanceof Function?o(t):o),n=[];return Et.spans(i,e.from,e.to,{point(){},span(o,s,a,l){let c=o-e.from,u=s-e.from,f=n;for(let d=a.length-1;d>=0;d--,l--){let p=a[d].spec.bidiIsolate,O;if(p==null&&(p=xY(e.text,c,u)),l>0&&f.length&&(O=f[f.length-1]).to==c&&O.direction==p)O.to=u,f=O.inner;else{let w={from:c,to:u,direction:p,inner:[]};f.push(w),f=w.inner}}}}),n}var $C=Re.define();function XC(t){let e=0,r=0,i=0,n=0;for(let o of t.state.facet($C)){let s=o(t);s&&(s.left!=null&&(e=Math.max(e,s.left)),s.right!=null&&(r=Math.max(r,s.right)),s.top!=null&&(i=Math.max(i,s.top)),s.bottom!=null&&(n=Math.max(n,s.bottom)))}return{left:e,right:r,top:i,bottom:n}}var Af=Re.define(),oo=class t{constructor(e,r,i,n){this.fromA=e,this.toA=r,this.fromB=i,this.toB=n}join(e){return new t(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let r=e.length,i=this;for(;r>0;r--){let n=e[r-1];if(!(n.fromA>i.toA)){if(n.toA<i.fromA)break;i=i.join(n),e.splice(r-1,1)}}return e.splice(r,0,i),e}static extendWithRanges(e,r){if(r.length==0)return e;let i=[];for(let n=0,o=0,s=0,a=0;;n++){let l=n==e.length?null:e[n],c=s-a,u=l?l.fromB:1e9;for(;o<r.length&&r[o]<u;){let f=r[o],d=r[o+1],p=Math.max(a,f),O=Math.min(u,d);if(p<=O&&new t(p+c,O+c,p,O).addToSet(i),d>u)break;o+=2}if(!l)return i;new t(l.fromA,l.toA,l.fromB,l.toB).addToSet(i),s=l.toA,a=l.toB}}},Om=class t{constructor(e,r,i){this.view=e,this.state=r,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=ui.empty(this.startState.doc.length);for(let o of i)this.changes=this.changes.compose(o.changes);let n=[];this.changes.iterChangedRanges((o,s,a,l)=>n.push(new oo(o,s,a,l))),this.changedRanges=n}static create(e,r,i){return new t(e,r,i)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}},gm=class extends Wt{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new Ir],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new oo(0,0,0,e.state.doc.length)],0,null)}update(e){var r;let i=e.changedRanges;this.minWidth>0&&i.length&&(i.every(({fromA:c,toA:u})=>u<this.minWidthFrom||c>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let n=-1;this.view.inputState.composing>=0&&(!((r=this.domChanged)===null||r===void 0)&&r.newSel?n=this.domChanged.newSel.head:!_Y(e.changes,this.hasComposition)&&!e.selectionSet&&(n=e.state.selection.main.head));let o=n>-1?TY(this.view,e.changes,n):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:u}=this.hasComposition;i=new oo(c,u,e.changes.mapPos(c,-1),e.changes.mapPos(u,1)).addToSet(i.slice())}this.hasComposition=o?{from:o.range.fromB,to:o.range.toB}:null,(Ue.ie||Ue.chrome)&&!o&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let s=this.decorations,a=this.updateDeco(),l=PY(s,a,e.changes);return i=oo.extendWithRanges(i,l),!(this.flags&7)&&i.length==0?!1:(this.updateInner(i,e.startState.doc.length,o),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,r,i){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,r,i);let{observer:n}=this.view;n.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=Ue.chrome||Ue.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,s),this.flags&=-8,s&&(s.written||n.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(s=>s.flags&=-9);let o=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let s of this.children)s instanceof yc&&s.widget instanceof bm&&o.push(s.dom);n.updateGaps(o)}updateChildren(e,r,i){let n=i?i.range.addToSet(e.slice()):e,o=this.childCursor(r);for(let s=n.length-1;;s--){let a=s>=0?n[s]:null;if(!a)break;let{fromA:l,toA:c,fromB:u,toB:f}=a,d,p,O,w;if(i&&i.range.fromB<f&&i.range.toB>u){let Q=Lf.build(this.view.state.doc,u,i.range.fromB,this.decorations,this.dynamicDecorationMap),z=Lf.build(this.view.state.doc,i.range.toB,f,this.decorations,this.dynamicDecorationMap);p=Q.breakAtStart,O=Q.openStart,w=z.openEnd;let L=this.compositionView(i);z.breakAtStart?L.breakAfter=1:z.content.length&&L.merge(L.length,L.length,z.content[0],!1,z.openStart,0)&&(L.breakAfter=z.content[0].breakAfter,z.content.shift()),Q.content.length&&L.merge(0,0,Q.content[Q.content.length-1],!0,0,Q.openEnd)&&Q.content.pop(),d=Q.content.concat(L).concat(z.content)}else({content:d,breakAtStart:p,openStart:O,openEnd:w}=Lf.build(this.view.state.doc,u,f,this.decorations,this.dynamicDecorationMap));let{i:x,off:k}=o.findPos(c,1),{i:C,off:R}=o.findPos(l,-1);cC(this,C,R,x,k,d,p,O,w)}i&&this.fixCompositionDOM(i)}compositionView(e){let r=new qs(e.text.nodeValue);r.flags|=8;for(let{deco:n}of e.marks)r=new Fs(n,[r],r.length);let i=new Ir;return i.append(r,0),i}fixCompositionDOM(e){let r=(o,s)=>{s.flags|=8|(s.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(s);let a=Wt.get(o);a&&a!=s&&(a.dom=null),s.setDOM(o)},i=this.childPos(e.range.fromB,1),n=this.children[i.i];r(e.line,n);for(let o=e.marks.length-1;o>=-1;o--)i=n.childPos(i.off,1),n=n.children[i.i],r(o>=0?e.marks[o].node:e.text,n)}updateSelection(e=!1,r=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let i=this.view.root.activeElement,n=i==this.dom,o=!n&&am(this.dom,this.view.observer.selectionRange)&&!(i&&this.dom.contains(i));if(!(n||r||o))return;let s=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(a.anchor)),c=a.empty?l:this.moveToLine(this.domAtPos(a.head));if(Ue.gecko&&a.empty&&!this.hasComposition&&SY(l)){let f=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(f,l.node.childNodes[l.offset]||null)),l=c=new hi(f,0),s=!0}let u=this.view.observer.selectionRange;(s||!u.focusNode||(!If(l.node,l.offset,u.anchorNode,u.anchorOffset)||!If(c.node,c.offset,u.focusNode,u.focusOffset))&&!this.suppressWidgetCursorChange(u,a))&&(this.view.observer.ignore(()=>{Ue.android&&Ue.chrome&&this.dom.contains(u.focusNode)&&QY(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=dm(this.view.root);if(f)if(a.empty){if(Ue.gecko){let d=EY(l.node,l.offset);if(d&&d!=3){let p=LC(l.node,l.offset,d==1?1:-1);p&&(l=new hi(p.node,p.offset))}}f.collapse(l.node,l.offset),a.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=a.bidiLevel)}else if(f.extend){f.collapse(l.node,l.offset);try{f.extend(c.node,c.offset)}catch(d){}}else{let d=document.createRange();a.anchor>a.head&&([l,c]=[c,l]),d.setEnd(c.node,c.offset),d.setStart(l.node,l.offset),f.removeAllRanges(),f.addRange(d)}o&&this.view.root.activeElement==this.dom&&(this.dom.blur(),i&&i.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new hi(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new hi(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(e,r){return this.hasComposition&&r.empty&&If(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==r.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,r=e.state.selection.main,i=dm(e.root),{anchorNode:n,anchorOffset:o}=e.observer.selectionRange;if(!i||!r.empty||!r.assoc||!i.modify)return;let s=Ir.find(this,r.head);if(!s)return;let a=s.posAtStart;if(r.head==a||r.head==a+s.length)return;let l=this.coordsAt(r.head,-1),c=this.coordsAt(r.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(r.head+r.assoc);i.collapse(u.node,u.offset),i.modify("move",r.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=r.from&&i.collapse(n,o)}moveToLine(e){let r=this.dom,i;if(e.node!=r)return e;for(let n=e.offset;!i&&n<r.childNodes.length;n++){let o=Wt.get(r.childNodes[n]);o instanceof Ir&&(i=o.domAtPos(0))}for(let n=e.offset-1;!i&&n>=0;n--){let o=Wt.get(r.childNodes[n]);o instanceof Ir&&(i=o.domAtPos(o.length))}return i?new hi(i.node,i.offset,!0):e}nearest(e){for(let r=e;r;){let i=Wt.get(r);if(i&&i.rootView==this)return i;r=r.parentNode}return null}posFromDOM(e,r){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,r)+i.posAtStart}domAtPos(e){let{i:r,off:i}=this.childCursor().findPos(e,-1);for(;r<this.children.length-1;){let n=this.children[r];if(i<n.length||n instanceof Ir)break;r++,i=0}return this.children[r].domAtPos(i)}coordsAt(e,r){let i=null,n=0;for(let o=this.length,s=this.children.length-1;s>=0;s--){let a=this.children[s],l=o-a.breakAfter,c=l-a.length;if(l<e)break;c<=e&&(c<e||a.covers(-1))&&(l>e||a.covers(1))&&(!i||a instanceof Ir&&!(i instanceof Ir&&r>=0))&&(i=a,n=c),o=c}return i?i.coordsAt(e-n,r):null}coordsForChar(e){let{i:r,off:i}=this.childPos(e,1),n=this.children[r];if(!(n instanceof Ir))return null;for(;n.children.length;){let{i:a,off:l}=n.childPos(i,1);for(;;a++){if(a==n.children.length)return null;if((n=n.children[a]).length)break}i=l}if(!(n instanceof qs))return null;let o=dr(n.text,i);if(o==i)return null;let s=Ya(n.dom,i,o).getClientRects();for(let a=0;a<s.length;a++){let l=s[a];if(a==s.length-1||l.top<l.bottom&&l.left<l.right)return l}return null}measureVisibleLineHeights(e){let r=[],{from:i,to:n}=e,o=this.view.contentDOM.clientWidth,s=o>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==Ct.LTR;for(let c=0,u=0;u<this.children.length;u++){let f=this.children[u],d=c+f.length;if(d>n)break;if(c>=i){let p=f.dom.getBoundingClientRect();if(r.push(p.height),s){let O=f.dom.lastChild,w=O?jf(O):[];if(w.length){let x=w[w.length-1],k=l?x.right-p.left:p.right-x.left;k>a&&(a=k,this.minWidth=o,this.minWidthFrom=c,this.minWidthTo=d)}}}c=d+f.breakAfter}return r}textDirectionAt(e){let{i:r}=this.childPos(e,1);return getComputedStyle(this.children[r].dom).direction=="rtl"?Ct.RTL:Ct.LTR}measureTextSize(){for(let o of this.children)if(o instanceof Ir){let s=o.measureTextSize();if(s)return s}let e=document.createElement("div"),r,i,n;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let o=jf(e.firstChild)[0];r=e.getBoundingClientRect().height,i=o?o.width/27:7,n=o?o.height:r,e.remove()}),{lineHeight:r,charWidth:i,textHeight:n}}childCursor(e=this.length){let r=this.children.length;return r&&(e-=this.children[--r].length),new pm(this.children,e,r)}computeBlockGapDeco(){let e=[],r=this.view.viewState;for(let i=0,n=0;;n++){let o=n==r.viewports.length?null:r.viewports[n],s=o?o.from-1:this.length;if(s>i){let a=(r.lineBlockAt(s).bottom-r.lineBlockAt(i).top)/this.view.scaleY;e.push(Le.replace({widget:new bm(a),block:!0,inclusive:!0,isBlockGap:!0}).range(i,s))}if(!o)break;i=o.to+1}return Le.set(e)}updateDeco(){let e=this.view.state.facet(Zf).map((n,o)=>(this.dynamicDecorationMap[o]=typeof n=="function")?n(this.view):n),r=!1,i=this.view.state.facet(AC).map((n,o)=>{let s=typeof n=="function";return s&&(r=!0),s?n(this.view):n});i.length&&(this.dynamicDecorationMap[e.length]=r,e.push(Et.join(i)));for(let n=e.length;n<e.length+3;n++)this.dynamicDecorationMap[n]=!1;return this.decorations=[...e,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco]}scrollIntoView(e){if(e.isSnapshot){let c=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=c.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}let{range:r}=e,i=this.coordsAt(r.head,r.empty?r.assoc:r.head>r.anchor?-1:1),n;if(!i)return;!r.empty&&(n=this.coordsAt(r.anchor,r.anchor>r.head?-1:1))&&(i={left:Math.min(i.left,n.left),top:Math.min(i.top,n.top),right:Math.max(i.right,n.right),bottom:Math.max(i.bottom,n.bottom)});let o=XC(this.view),s={left:i.left-o.left,top:i.top-o.top,right:i.right+o.right,bottom:i.bottom+o.bottom},{offsetWidth:a,offsetHeight:l}=this.view.scrollDOM;oY(this.view.scrollDOM,s,r.head<r.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,a),-a),Math.max(Math.min(e.yMargin,l),-l),this.view.textDirection==Ct.LTR)}};function SY(t){return t.node.nodeType==1&&t.node.firstChild&&(t.offset==0||t.node.childNodes[t.offset-1].contentEditable=="false")&&(t.offset==t.node.childNodes.length||t.node.childNodes[t.offset].contentEditable=="false")}var bm=class extends Tr{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}};function IC(t,e){let r=t.observer.selectionRange,i=r.focusNode&&LC(r.focusNode,r.focusOffset,0);if(!i)return null;let n=e-i.offset;return{from:n,to:n+i.node.nodeValue.length,node:i.node}}function TY(t,e,r){let i=IC(t,r);if(!i)return null;let{node:n,from:o,to:s}=i,a=n.nodeValue;if(/[\n\r]/.test(a)||t.state.doc.sliceString(i.from,i.to)!=a)return null;let l=e.invertedDesc,c=new oo(l.mapPos(o),l.mapPos(s),o,s),u=[];for(let f=n.parentNode;;f=f.parentNode){let d=Wt.get(f);if(d instanceof Fs)u.push({node:f,deco:d.mark});else{if(d instanceof Ir||f.nodeName=="DIV"&&f.parentNode==t.contentDOM)return{range:c,text:n,marks:u,line:f};if(f!=t.contentDOM)u.push({node:f,deco:new Ff({inclusive:!0,attributes:hY(f),tagName:f.tagName.toLowerCase()})});else return null}}}function LC(t,e,r){if(r<=0)for(let i=t,n=e;;){if(i.nodeType==3)return{node:i,offset:n};if(i.nodeType==1&&n>0)i=i.childNodes[n-1],n=Zo(i);else break}if(r>=0)for(let i=t,n=e;;){if(i.nodeType==3)return{node:i,offset:n};if(i.nodeType==1&&n<i.childNodes.length&&r>=0)i=i.childNodes[n],n=0;else break}return null}function EY(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e<t.childNodes.length&&t.childNodes[e].contentEditable=="false"?2:0)}var CY=class{constructor(){this.changes=[]}compareRange(e,r){bv(e,r,this.changes)}comparePoint(e,r){bv(e,r,this.changes)}};function PY(t,e,r){let i=new CY;return Et.compare(t,e,r,i),i.changes}function QY(t,e){for(let r=t;r&&r!=e;r=r.assignedSlot||r.parentNode)if(r.nodeType==1&&r.contentEditable=="false")return!0;return!1}function _Y(t,e){let r=!1;return e&&t.iterChangedRanges((i,n)=>{i<e.to&&n>e.from&&(r=!0)}),r}function AY(t,e,r=1){let i=t.charCategorizer(e),n=t.doc.lineAt(e),o=e-n.from;if(n.length==0)return ce.cursor(e);o==0?r=1:o==n.length&&(r=-1);let s=o,a=o;r<0?s=dr(n.text,o,!1):a=dr(n.text,o);let l=i(n.text.slice(s,a));for(;s>0;){let c=dr(n.text,s,!1);if(i(n.text.slice(c,s))!=l)break;s=c}for(;a<n.length;){let c=dr(n.text,a);if(i(n.text.slice(a,c))!=l)break;a=c}return ce.range(s+n.from,a+n.from)}function RY(t,e){return e.left>t?e.left-t:Math.max(0,t-e.right)}function $Y(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function ov(t,e){return t.top<e.bottom-1&&t.bottom>e.top+1}function C9(t,e){return e<t.top?{top:e,left:t.left,right:t.right,bottom:t.bottom}:t}function P9(t,e){return e>t.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function kv(t,e,r){let i,n,o,s,a=!1,l,c,u,f;for(let O=t.firstChild;O;O=O.nextSibling){let w=jf(O);for(let x=0;x<w.length;x++){let k=w[x];n&&ov(n,k)&&(k=C9(P9(k,n.bottom),n.top));let C=RY(e,k),R=$Y(r,k);if(C==0&&R==0)return O.nodeType==3?Q9(O,e,r):kv(O,e,r);if(!i||s>R||s==R&&o>C){i=O,n=k,o=C,s=R;let Q=R?r<k.top?-1:1:C?e<k.left?-1:1:0;a=!Q||(Q>0?x<w.length-1:x>0)}C==0?r>k.bottom&&(!u||u.bottom<k.bottom)?(l=O,u=k):r<k.top&&(!f||f.top>k.top)&&(c=O,f=k):u&&ov(u,k)?u=P9(u,k.bottom):f&&ov(f,k)&&(f=C9(f,k.top))}}if(u&&u.bottom>=r?(i=l,n=u):f&&f.top<=r&&(i=c,n=f),!i)return{node:t,offset:0};let d=Math.max(n.left,Math.min(n.right,e));if(i.nodeType==3)return Q9(i,d,r);if(a&&i.contentEditable!="false")return kv(i,d,r);let p=Array.prototype.indexOf.call(t.childNodes,i)+(e>=(n.left+n.right)/2?1:0);return{node:t,offset:p}}function Q9(t,e,r){let i=t.nodeValue.length,n=-1,o=1e9,s=0;for(let a=0;a<i;a++){let l=Ya(t,a,a+1).getClientRects();for(let c=0;c<l.length;c++){let u=l[c];if(u.top==u.bottom)continue;s||(s=e-u.left);let f=(u.top>r?u.top-r:r-u.bottom)-1;if(u.left-1<=e&&u.right+1>=e&&f<o){let d=e>=(u.left+u.right)/2,p=d;if((Ue.chrome||Ue.gecko)&&Ya(t,a).getBoundingClientRect().left==u.right&&(p=!d),f<=0)return{node:t,offset:a+(p?1:0)};n=a+(p?1:0),o=f}}}return{node:t,offset:n>-1?n:s>0?t.nodeValue.length:0}}function zC(t,e,r,i=-1){var n,o;let s=t.contentDOM.getBoundingClientRect(),a=s.top+t.viewState.paddingTop,l,{docHeight:c}=t.viewState,{x:u,y:f}=e,d=f-a;if(d<0)return 0;if(d>c)return t.state.doc.length;for(let Q=t.viewState.heightOracle.textHeight/2,z=!1;l=t.elementAtHeight(d),l.type!=di.Text;)for(;d=i>0?l.bottom+Q:l.top-Q,!(d>=0&&d<=c);){if(z)return r?null:0;z=!0,i=-i}f=a+d;let p=l.from;if(p<t.viewport.from)return t.viewport.from==0?0:r?null:_9(t,s,l,u,f);if(p>t.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:r?null:_9(t,s,l,u,f);let O=t.dom.ownerDocument,w=t.root.elementFromPoint?t.root:O,x=w.elementFromPoint(u,f);x&&!t.contentDOM.contains(x)&&(x=null),x||(u=Math.max(s.left+1,Math.min(s.right-1,u)),x=w.elementFromPoint(u,f),x&&!t.contentDOM.contains(x)&&(x=null));let k,C=-1;if(x&&((n=t.docView.nearest(x))===null||n===void 0?void 0:n.isEditable)!=!1){if(O.caretPositionFromPoint){let Q=O.caretPositionFromPoint(u,f);Q&&({offsetNode:k,offset:C}=Q)}else if(O.caretRangeFromPoint){let Q=O.caretRangeFromPoint(u,f);Q&&({startContainer:k,startOffset:C}=Q,(!t.contentDOM.contains(k)||Ue.safari&&XY(k,C,u)||Ue.chrome&&IY(k,C,u))&&(k=void 0))}}if(!k||!t.docView.dom.contains(k)){let Q=Ir.find(t.docView,p);if(!Q)return d>l.top+l.height/2?l.to:l.from;({node:k,offset:C}=kv(Q.dom,u,f))}let R=t.docView.nearest(k);if(!R)return null;if(R.isWidget&&((o=R.dom)===null||o===void 0?void 0:o.nodeType)==1){let Q=R.dom.getBoundingClientRect();return e.y<Q.top||e.y<=Q.bottom&&e.x<=(Q.left+Q.right)/2?R.posAtStart:R.posAtEnd}else return R.localPosFromDOM(k,C)+R.posAtStart}function _9(t,e,r,i,n){let o=Math.round((i-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&r.height>t.defaultLineHeight*1.5){let a=t.viewState.heightOracle.textHeight,l=Math.floor((n-r.top-(t.defaultLineHeight-a)*.5)/a);o+=l*t.viewState.heightOracle.lineLength}let s=t.state.sliceDoc(r.from,r.to);return r.from+Hp(s,o,t.state.tabSize)}function XY(t,e,r){let i;if(t.nodeType!=3||e!=(i=t.nodeValue.length))return!1;for(let n=t.nextSibling;n;n=n.nextSibling)if(n.nodeType!=1||n.nodeName!="BR")return!1;return Ya(t,i-1,i).getBoundingClientRect().left>r}function IY(t,e,r){if(e!=0)return!1;for(let n=t;;){let o=n.parentNode;if(!o||o.nodeType!=1||o.firstChild!=n)return!1;if(o.classList.contains("cm-line"))break;n=o}let i=t.nodeType==1?t.getBoundingClientRect():Ya(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return r-i.left>5}function Sv(t,e){let r=t.lineBlockAt(e);if(Array.isArray(r.type)){for(let i of r.type)if(i.to>e||i.to==e&&(i.to==r.to||i.type==di.Text))return i}return r}function LY(t,e,r,i){let n=Sv(t,e.head),o=!i||n.type!=di.Text||!(t.lineWrapping||n.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>n.from?e.head-1:e.head);if(o){let s=t.dom.getBoundingClientRect(),a=t.textDirectionAt(n.from),l=t.posAtCoords({x:r==(a==Ct.LTR)?s.right-1:s.left+1,y:(o.top+o.bottom)/2});if(l!=null)return ce.cursor(l,r?-1:1)}return ce.cursor(r?n.to:n.from,r?-1:1)}function A9(t,e,r,i){let n=t.state.doc.lineAt(e.head),o=t.bidiSpans(n),s=t.textDirectionAt(n.from);for(let a=e,l=null;;){let c=wY(n,o,s,a,r),u=wC;if(!c){if(n.number==(r?t.state.doc.lines:1))return a;u=`
`,n=t.state.doc.line(n.number+(r?1:-1)),o=t.bidiSpans(n),c=t.visualLineSide(n,!r)}if(l){if(!l(u))return a}else{if(!i)return c;l=i(u)}a=c}}function zY(t,e,r){let i=t.state.charCategorizer(e),n=i(r);return o=>{let s=i(o);return n==$t.Space&&(n=s),n==s}}function MY(t,e,r,i){let n=e.head,o=r?1:-1;if(n==(r?t.state.doc.length:0))return ce.cursor(n,e.assoc);let s=e.goalColumn,a,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(n,e.assoc||-1),u=t.documentTop;if(c)s==null&&(s=c.left-l.left),a=o<0?c.top:c.bottom;else{let p=t.viewState.lineBlockAt(n);s==null&&(s=Math.min(l.right-l.left,t.defaultCharacterWidth*(n-p.from))),a=(o<0?p.top:p.bottom)+u}let f=l.left+s,d=i!=null?i:t.viewState.heightOracle.textHeight>>1;for(let p=0;;p+=10){let O=a+(d+p)*o,w=zC(t,{x:f,y:O},!1,o);if(O<l.top||O>l.bottom||(o<0?w<n:w>n)){let x=t.docView.coordsForChar(w),k=!x||O<x.top?-1:1;return ce.cursor(w,k,void 0,s)}}}function lm(t,e,r){for(;;){let i=0;for(let n of t)n.between(e-1,e+1,(o,s,a)=>{if(e>o&&e<s){let l=i||r||(e-o<s-e?-1:1);e=l<0?o:s,i=l}});if(!i)return e}}function sv(t,e,r){let i=lm(t.state.facet(i4).map(n=>n(t)),r.from,e.head>r.from?-1:1);return i==r.from?r:ce.cursor(i,i<r.from?1:-1)}var Tv=class{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,Ue.safari&&e.contentDOM.addEventListener("input",()=>null),Ue.gecko&&JY(e.contentDOM.ownerDocument)}handleEvent(e){!qY(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,r){let i=this.handlers[e];if(i){for(let n of i.observers)n(this.view,r);for(let n of i.handlers){if(r.defaultPrevented)break;if(n(this.view,r)){r.preventDefault();break}}}}ensureHandlers(e){let r=DY(e),i=this.handlers,n=this.view.contentDOM;for(let o in r)if(o!="scroll"){let s=!r[o].handlers.length,a=i[o];a&&s!=!a.handlers.length&&(n.removeEventListener(o,this.handleEvent),a=null),a||n.addEventListener(o,this.handleEvent,{passive:s})}for(let o in i)o!="scroll"&&!r[o]&&n.removeEventListener(o,this.handleEvent);this.handlers=r}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&Date.now()<this.lastEscPress+2e3)return!0;if(e.keyCode!=27&&DC.indexOf(e.keyCode)<0&&(this.view.inputState.lastEscPress=0),Ue.android&&Ue.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let r;return Ue.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((r=MC.find(i=>i.keyCode==e.keyCode))&&!e.ctrlKey||UY.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=r||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let e=this.pendingIOSKey;return e?(this.pendingIOSKey=void 0,bc(this.view.contentDOM,e.key,e.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Ue.safari&&!Ue.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}};function R9(t,e){return(r,i)=>{try{return e.call(t,i,r)}catch(n){pi(r.state,n)}}}function DY(t){let e=Object.create(null);function r(i){return e[i]||(e[i]={observers:[],handlers:[]})}for(let i of t){let n=i.spec;if(n&&n.domEventHandlers)for(let o in n.domEventHandlers){let s=n.domEventHandlers[o];s&&r(o).handlers.push(R9(i.value,s))}if(n&&n.domEventObservers)for(let o in n.domEventObservers){let s=n.domEventObservers[o];s&&r(o).observers.push(R9(i.value,s))}}for(let i in Cn)r(i).handlers.push(Cn[i]);for(let i in Pn)r(i).observers.push(Pn[i]);return e}var MC=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],UY="dthko",DC=[16,17,18,20,91,92,224,225],em=6;function tm(t){return Math.max(0,t)*.7+8}function NY(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}var Ev=class{constructor(e,r,i,n){this.view=e,this.startEvent=r,this.style=i,this.mustSelect=n,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=r,this.scrollParent=sY(e.contentDOM),this.atoms=e.state.facet(i4).map(s=>s(e));let o=e.contentDOM.ownerDocument;o.addEventListener("mousemove",this.move=this.move.bind(this)),o.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=r.shiftKey,this.multiple=e.state.facet(Tt.allowMultipleSelections)&&jY(e,r),this.dragging=VY(e,r)&&BC(r)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var r;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&NY(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let i=0,n=0,o=((r=this.scrollParent)===null||r===void 0?void 0:r.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},s=XC(this.view);e.clientX-s.left<=o.left+em?i=-tm(o.left-e.clientX):e.clientX+s.right>=o.right-em&&(i=tm(e.clientX-o.right)),e.clientY-s.top<=o.top+em?n=-tm(o.top-e.clientY):e.clientY+s.bottom>=o.bottom-em&&(n=tm(e.clientY-o.bottom)),this.setScrollSpeed(i,n)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,r){this.scrollSpeed={x:e,y:r},e||r?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let r=null;for(let i=0;i<e.ranges.length;i++){let n=e.ranges[i],o=null;if(n.empty){let s=lm(this.atoms,n.from,0);s!=n.from&&(o=ce.cursor(s,-1))}else{let s=lm(this.atoms,n.from,-1),a=lm(this.atoms,n.to,1);(s!=n.from||a!=n.to)&&(o=ce.range(n.from==n.anchor?s:a,n.from==n.head?s:a))}o&&(r||(r=e.ranges.slice()),r[i]=o)}return r?ce.create(r,e.mainIndex):e}select(e){let{view:r}=this,i=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!i.eq(r.state.selection,this.dragging===!1))&&this.view.dispatch({selection:i,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}};function jY(t,e){let r=t.state.facet(xC);return r.length?r[0](e):Ue.mac?e.metaKey:e.ctrlKey}function BY(t,e){let r=t.state.facet(kC);return r.length?r[0](e):Ue.mac?!e.altKey:!e.ctrlKey}function VY(t,e){let{main:r}=t.state.selection;if(r.empty)return!1;let i=dm(t.root);if(!i||i.rangeCount==0)return!0;let n=i.getRangeAt(0).getClientRects();for(let o=0;o<n.length;o++){let s=n[o];if(s.left<=e.clientX&&s.right>=e.clientX&&s.top<=e.clientY&&s.bottom>=e.clientY)return!0}return!1}function qY(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let r=e.target,i;r!=t.contentDOM;r=r.parentNode)if(!r||r.nodeType==11||(i=Wt.get(r))&&i.ignoreEvent(e))return!1;return!0}var Cn=Object.create(null),Pn=Object.create(null),UC=Ue.ie&&Ue.ie_version<15||Ue.ios&&Ue.webkit_version<604;function FY(t){let e=t.dom.parentNode;if(!e)return;let r=e.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus(),setTimeout(()=>{t.focus(),r.remove(),NC(t,r.value)},50)}function NC(t,e){let{state:r}=t,i,n=1,o=r.toText(e),s=o.lines==r.selection.ranges.length;if(Cv!=null&&r.selection.ranges.every(l=>l.empty)&&Cv==o.toString()){let l=-1;i=r.changeByRange(c=>{let u=r.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let f=r.toText((s?o.line(n++).text:e)+r.lineBreak);return{changes:{from:u.from,insert:f},range:ce.cursor(c.from+f.length)}})}else s?i=r.changeByRange(l=>{let c=o.line(n++);return{changes:{from:l.from,to:l.to,insert:c.text},range:ce.cursor(l.from+c.length)}}):i=r.replaceSelection(o);t.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}Pn.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};Cn.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&(t.inputState.lastEscPress=Date.now()),!1);Pn.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};Pn.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Cn.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let r=null;for(let i of t.state.facet(SC))if(r=i(t,e),r)break;if(!r&&e.button==0&&(r=YY(t,e)),r){let i=!t.hasFocus;t.inputState.startMouseSelection(new Ev(t,e,r,i)),i&&t.observer.ignore(()=>sC(t.contentDOM));let n=t.inputState.mouseSelection;if(n)return n.start(e),n.dragging===!1}return!1};function $9(t,e,r,i){if(i==1)return ce.cursor(e,r);if(i==2)return AY(t.state,e,r);{let n=Ir.find(t.docView,e),o=t.state.doc.lineAt(n?n.posAtEnd:e),s=n?n.posAtStart:o.from,a=n?n.posAtEnd:o.to;return a<t.state.doc.length&&a==o.to&&a++,ce.range(s,a)}}var jC=(t,e)=>t>=e.top&&t<=e.bottom,X9=(t,e,r)=>jC(e,r)&&t>=r.left&&t<=r.right;function WY(t,e,r,i){let n=Ir.find(t.docView,e);if(!n)return 1;let o=e-n.posAtStart;if(o==0)return 1;if(o==n.length)return-1;let s=n.coordsAt(o,-1);if(s&&X9(r,i,s))return-1;let a=n.coordsAt(o,1);return a&&X9(r,i,a)?1:s&&jC(i,s)?-1:1}function I9(t,e){let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:r,bias:WY(t,r,e.clientX,e.clientY)}}var ZY=Ue.ie&&Ue.ie_version<=11,L9=null,z9=0,M9=0;function BC(t){if(!ZY)return t.detail;let e=L9,r=M9;return L9=t,M9=Date.now(),z9=!e||r>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(z9+1)%3:1}function YY(t,e){let r=I9(t,e),i=BC(e),n=t.state.selection;return{update(o){o.docChanged&&(r.pos=o.changes.mapPos(r.pos),n=n.map(o.changes))},get(o,s,a){let l=I9(t,o),c,u=$9(t,l.pos,l.bias,i);if(r.pos!=l.pos&&!s){let f=$9(t,r.pos,r.bias,i),d=Math.min(f.from,u.from),p=Math.max(f.to,u.to);u=d<u.from?ce.range(d,p):ce.range(p,d)}return s?n.replaceRange(n.main.extend(u.from,u.to)):a&&i==1&&n.ranges.length>1&&(c=HY(n,l.pos))?c:a?n.addRange(u):ce.create([u])}}}function HY(t,e){for(let r=0;r<t.ranges.length;r++){let{from:i,to:n}=t.ranges[r];if(i<=e&&n>=e)return ce.create(t.ranges.slice(0,r).concat(t.ranges.slice(r+1)),t.mainIndex==r?0:t.mainIndex-(t.mainIndex>r?1:0))}return null}Cn.dragstart=(t,e)=>{let{selection:{main:r}}=t.state;if(e.target.draggable){let n=t.docView.nearest(e.target);if(n&&n.isWidget){let o=n.posAtStart,s=o+n.length;(o>=r.to||s<=r.from)&&(r=ce.range(o,s))}}let{inputState:i}=t;return i.mouseSelection&&(i.mouseSelection.dragging=!0),i.draggedContent=r,e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(r.from,r.to)),e.dataTransfer.effectAllowed="copyMove"),!1};Cn.dragend=t=>(t.inputState.draggedContent=null,!1);function D9(t,e,r,i){if(!r)return;let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:o}=t.inputState,s=i&&o&&BY(t,e)?{from:o.from,to:o.to}:null,a={from:n,insert:r},l=t.state.changes(s?[s,a]:a);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(n,-1),head:l.mapPos(n,1)},userEvent:s?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Cn.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let r=e.dataTransfer.files;if(r&&r.length){let i=Array(r.length),n=0,o=()=>{++n==r.length&&D9(t,e,i.filter(s=>s!=null).join(t.state.lineBreak),!1)};for(let s=0;s<r.length;s++){let a=new FileReader;a.onerror=o,a.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(i[s]=a.result),o()},a.readAsText(r[s])}return!0}else{let i=e.dataTransfer.getData("Text");if(i)return D9(t,e,i,!0),!0}return!1};Cn.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let r=UC?null:e.clipboardData;return r?(NC(t,r.getData("text/plain")||r.getData("text/uri-text")),!0):(FY(t),!1)};function GY(t,e){let r=t.dom.parentNode;if(!r)return;let i=r.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=e,i.focus(),i.selectionEnd=e.length,i.selectionStart=0,setTimeout(()=>{i.remove(),t.focus()},50)}function KY(t){let e=[],r=[],i=!1;for(let n of t.selection.ranges)n.empty||(e.push(t.sliceDoc(n.from,n.to)),r.push(n));if(!e.length){let n=-1;for(let{from:o}of t.selection.ranges){let s=t.doc.lineAt(o);s.number>n&&(e.push(s.text),r.push({from:s.from,to:Math.min(t.doc.length,s.to+1)})),n=s.number}i=!0}return{text:e.join(t.lineBreak),ranges:r,linewise:i}}var Cv=null;Cn.copy=Cn.cut=(t,e)=>{let{text:r,ranges:i,linewise:n}=KY(t.state);if(!r&&!n)return!1;Cv=n?r:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"});let o=UC?null:e.clipboardData;return o?(o.clearData(),o.setData("text/plain",r),!0):(GY(t,r),!1)};var VC=Kr.define();function qC(t,e){let r=[];for(let i of t.facet(CC)){let n=i(t,e);n&&r.push(n)}return r?t.update({effects:r,annotations:VC.of(!0)}):null}function FC(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let r=qC(t.state,e);r?t.dispatch(r):t.update([])}},10)}Pn.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),FC(t)};Pn.blur=t=>{t.observer.clearSelectionRange(),FC(t)};Pn.compositionstart=Pn.compositionupdate=t=>{t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0)};Pn.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,Ue.chrome&&Ue.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50)};Pn.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Cn.beforeinput=(t,e)=>{var r;let i;if(Ue.chrome&&Ue.android&&(i=MC.find(n=>n.inputType==e.inputType))&&(t.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let n=((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0;setTimeout(()=>{var o;(((o=window.visualViewport)===null||o===void 0?void 0:o.height)||0)>n+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return!1};var U9=new Set;function JY(t){U9.has(t)||(U9.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}var N9=["pre-wrap","normal","pre-line","break-spaces"],Pv=class{constructor(e){this.lineWrapping=e,this.doc=gt.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,r){let i=this.doc.lineAt(r).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.max(0,Math.ceil((r-e-i*this.lineLength*.5)/this.lineLength))),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return N9.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let r=!1;for(let i=0;i<e.length;i++){let n=e[i];n<0?i++:this.heightSamples[Math.floor(n*10)]||(r=!0,this.heightSamples[Math.floor(n*10)]=!0)}return r}refresh(e,r,i,n,o,s){let a=N9.indexOf(e)>-1,l=Math.round(r)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=r,this.charWidth=i,this.textHeight=n,this.lineLength=o,l){this.heightSamples={};for(let c=0;c<s.length;c++){let u=s[c];u<0?c++:this.heightSamples[Math.floor(u*10)]=!0}}return l}},Qv=class{constructor(e,r){this.from=e,this.heights=r,this.index=0}get more(){return this.index<this.heights.length}},io=class t{constructor(e,r,i,n,o){this.from=e,this.length=r,this.top=i,this.height=n,this._content=o}get type(){return typeof this._content=="number"?di.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof Ws?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(e){let r=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new t(this.from,this.length+e.length,this.top,this.height+e.height,r)}},jt=function(t){return t[t.ByPos=0]="ByPos",t[t.ByHeight=1]="ByHeight",t[t.ByPosNoHeight=2]="ByPosNoHeight",t}(jt||(jt={})),cm=.001,Di=class t{constructor(e,r,i=2){this.length=e,this.height=r,this.flags=i}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,r){this.height!=r&&(Math.abs(this.height-r)>cm&&(e.heightChanged=!0),this.height=r)}replace(e,r,i){return t.of(i)}decomposeLeft(e,r){r.push(this)}decomposeRight(e,r){r.push(this)}applyChanges(e,r,i,n){let o=this,s=i.doc;for(let a=n.length-1;a>=0;a--){let{fromA:l,toA:c,fromB:u,toB:f}=n[a],d=o.lineAt(l,jt.ByPosNoHeight,i.setDoc(r),0,0),p=d.to>=c?d:o.lineAt(c,jt.ByPosNoHeight,i,0,0);for(f+=p.to-c,c=p.to;a>0&&d.from<=n[a-1].toA;)l=n[a-1].fromA,u=n[a-1].fromB,a--,l<d.from&&(d=o.lineAt(l,jt.ByPosNoHeight,i,0,0));u+=d.from-l,l=d.from;let O=Av.build(i.setDoc(s),e,u,f);o=o.replace(l,c,O)}return o.updateHeight(i,0)}static empty(){return new sn(0,0)}static of(e){if(e.length==1)return e[0];let r=0,i=e.length,n=0,o=0;for(;;)if(r==i)if(n>o*2){let a=e[r-1];a.break?e.splice(--r,1,a.left,null,a.right):e.splice(--r,1,a.left,a.right),i+=1+a.break,n-=a.size}else if(o>n*2){let a=e[i];a.break?e.splice(i,1,a.left,null,a.right):e.splice(i,1,a.left,a.right),i+=2+a.break,o-=a.size}else break;else if(n<o){let a=e[r++];a&&(n+=a.size)}else{let a=e[--i];a&&(o+=a.size)}let s=0;return e[r-1]==null?(s=1,r--):e[r]==null&&(s=1,i++),new _v(t.of(e.slice(0,r)),s,t.of(e.slice(i)))}};Di.prototype.size=1;var ym=class extends Di{constructor(e,r,i){super(e,r),this.deco=i}blockAt(e,r,i,n){return new io(n,this.length,i,this.height,this.deco||0)}lineAt(e,r,i,n,o){return this.blockAt(0,i,n,o)}forEachLine(e,r,i,n,o,s){e<=o+this.length&&r>=o&&s(this.blockAt(0,i,n,o))}updateHeight(e,r=0,i=!1,n){return n&&n.from<=r&&n.more&&this.setHeight(e,n.heights[n.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}},sn=class t extends ym{constructor(e,r){super(e,r,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,r,i,n){return new io(n,this.length,i,this.height,this.breaks)}replace(e,r,i){let n=i[0];return i.length==1&&(n instanceof t||n instanceof Vs&&n.flags&4)&&Math.abs(this.length-n.length)<10?(n instanceof Vs?n=new t(n.length,this.height):n.height=this.height,this.outdated||(n.outdated=!1),n):Di.of(i)}updateHeight(e,r=0,i=!1,n){return n&&n.from<=r&&n.more?this.setHeight(e,n.heights[n.index++]):(i||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}},Vs=class t extends Di{constructor(e){super(e,0)}heightMetrics(e,r){let i=e.doc.lineAt(r).number,n=e.doc.lineAt(r+this.length).number,o=n-i+1,s,a=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*o);s=l/o,this.length>o+1&&(a=(this.height-l)/(this.length-o-1))}else s=this.height/o;return{firstLine:i,lastLine:n,perLine:s,perChar:a}}blockAt(e,r,i,n){let{firstLine:o,lastLine:s,perLine:a,perChar:l}=this.heightMetrics(r,n);if(r.lineWrapping){let c=n+Math.round(Math.max(0,Math.min(1,(e-i)/this.height))*this.length),u=r.doc.lineAt(c),f=a+u.length*l,d=Math.max(i,e-f/2);return new io(u.from,u.length,d,f,0)}else{let c=Math.max(0,Math.min(s-o,Math.floor((e-i)/a))),{from:u,length:f}=r.doc.line(o+c);return new io(u,f,i+a*c,a,0)}}lineAt(e,r,i,n,o){if(r==jt.ByHeight)return this.blockAt(e,i,n,o);if(r==jt.ByPosNoHeight){let{from:p,to:O}=i.doc.lineAt(e);return new io(p,O-p,0,0,0)}let{firstLine:s,perLine:a,perChar:l}=this.heightMetrics(i,o),c=i.doc.lineAt(e),u=a+c.length*l,f=c.number-s,d=n+a*f+l*(c.from-o-f);return new io(c.from,c.length,Math.max(n,Math.min(d,n+this.height-u)),u,0)}forEachLine(e,r,i,n,o,s){e=Math.max(e,o),r=Math.min(r,o+this.length);let{firstLine:a,perLine:l,perChar:c}=this.heightMetrics(i,o);for(let u=e,f=n;u<=r;){let d=i.doc.lineAt(u);if(u==e){let O=d.number-a;f+=l*O+c*(e-o-O)}let p=l+c*d.length;s(new io(d.from,d.length,f,p,0)),f+=p,u=d.to+1}}replace(e,r,i){let n=this.length-r;if(n>0){let o=i[i.length-1];o instanceof t?i[i.length-1]=new t(o.length+n):i.push(null,new t(n-1))}if(e>0){let o=i[0];o instanceof t?i[0]=new t(e+o.length):i.unshift(new t(e-1),null)}return Di.of(i)}decomposeLeft(e,r){r.push(new t(e-1),null)}decomposeRight(e,r){r.push(null,new t(this.length-e-1))}updateHeight(e,r=0,i=!1,n){let o=r+this.length;if(n&&n.from<=r+this.length&&n.more){let s=[],a=Math.max(r,n.from),l=-1;for(n.from>r&&s.push(new t(n.from-r-1).updateHeight(e,r));a<=o&&n.more;){let u=e.doc.lineAt(a).length;s.length&&s.push(null);let f=n.heights[n.index++];l==-1?l=f:Math.abs(f-l)>=cm&&(l=-2);let d=new sn(u,f);d.outdated=!1,s.push(d),a+=u+1}a<=o&&s.push(null,new t(o-a).updateHeight(e,a));let c=Di.of(s);return(l<0||Math.abs(c.height-this.height)>=cm||Math.abs(l-this.heightMetrics(e,r).perLine)>=cm)&&(e.heightChanged=!0),c}else(i||this.outdated)&&(this.setHeight(e,e.heightForGap(r,r+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}},_v=class extends Di{constructor(e,r,i){super(e.length+r+i.length,e.height+i.height,r|(e.outdated||i.outdated?2:0)),this.left=e,this.right=i,this.size=e.size+i.size}get break(){return this.flags&1}blockAt(e,r,i,n){let o=i+this.left.height;return e<o?this.left.blockAt(e,r,i,n):this.right.blockAt(e,r,o,n+this.left.length+this.break)}lineAt(e,r,i,n,o){let s=n+this.left.height,a=o+this.left.length+this.break,l=r==jt.ByHeight?e<s:e<a,c=l?this.left.lineAt(e,r,i,n,o):this.right.lineAt(e,r,i,s,a);if(this.break||(l?c.to<a:c.from>a))return c;let u=r==jt.ByPosNoHeight?jt.ByPosNoHeight:jt.ByPos;return l?c.join(this.right.lineAt(a,u,i,s,a)):this.left.lineAt(a,u,i,n,o).join(c)}forEachLine(e,r,i,n,o,s){let a=n+this.left.height,l=o+this.left.length+this.break;if(this.break)e<l&&this.left.forEachLine(e,r,i,n,o,s),r>=l&&this.right.forEachLine(e,r,i,a,l,s);else{let c=this.lineAt(l,jt.ByPos,i,n,o);e<c.from&&this.left.forEachLine(e,c.from-1,i,n,o,s),c.to>=e&&c.from<=r&&s(c),r>c.to&&this.right.forEachLine(c.to+1,r,i,a,l,s)}}replace(e,r,i){let n=this.left.length+this.break;if(r<n)return this.balanced(this.left.replace(e,r,i),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-n,r-n,i));let o=[];e>0&&this.decomposeLeft(e,o);let s=o.length;for(let a of i)o.push(a);if(e>0&&j9(o,s-1),r<this.length){let a=o.length;this.decomposeRight(r,o),j9(o,a)}return Di.of(o)}decomposeLeft(e,r){let i=this.left.length;if(e<=i)return this.left.decomposeLeft(e,r);r.push(this.left),this.break&&(i++,e>=i&&r.push(null)),e>i&&this.right.decomposeLeft(e-i,r)}decomposeRight(e,r){let i=this.left.length,n=i+this.break;if(e>=n)return this.right.decomposeRight(e-n,r);e<i&&this.left.decomposeRight(e,r),this.break&&e<n&&r.push(null),r.push(this.right)}balanced(e,r){return e.size>2*r.size||r.size>2*e.size?Di.of(this.break?[e,null,r]:[e,r]):(this.left=e,this.right=r,this.height=e.height+r.height,this.outdated=e.outdated||r.outdated,this.size=e.size+r.size,this.length=e.length+this.break+r.length,this)}updateHeight(e,r=0,i=!1,n){let{left:o,right:s}=this,a=r+o.length+this.break,l=null;return n&&n.from<=r+o.length&&n.more?l=o=o.updateHeight(e,r,i,n):o.updateHeight(e,r,i),n&&n.from<=a+s.length&&n.more?l=s=s.updateHeight(e,a,i,n):s.updateHeight(e,a,i),l?this.balanced(o,s):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}};function j9(t,e){let r,i;t[e]==null&&(r=t[e-1])instanceof Vs&&(i=t[e+1])instanceof Vs&&t.splice(e-1,3,new Vs(r.length+1+i.length))}var eH=5,Av=class t{constructor(e,r){this.pos=e,this.oracle=r,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,r){if(this.lineStart>-1){let i=Math.min(r,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof sn?n.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new sn(i-this.pos,-1)),this.writtenTo=i,r>i&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=r}point(e,r,i){if(e<r||i.heightRelevant){let n=i.widget?i.widget.estimatedHeight:0,o=i.widget?i.widget.lineBreaks:0;n<0&&(n=this.oracle.lineHeight);let s=r-e;i.block?this.addBlock(new ym(s,n,i)):(s||o||n>=eH)&&this.addLineDeco(n,o,s)}else r>e&&this.span(e,r);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:r}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=r,this.writtenTo<e&&((this.writtenTo<e-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new sn(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,r){let i=new Vs(r-e);return this.oracle.doc.lineAt(e).to==r&&(i.flags|=4),i}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof sn)return e;let r=new sn(0,-1);return this.nodes.push(r),r}addBlock(e){this.enterLine();let r=e.deco;r&&r.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,r&&r.endSide>0&&(this.covering=e)}addLineDeco(e,r,i){let n=this.ensureLine();n.length+=i,n.collapsed+=i,n.widgetHeight=Math.max(n.widgetHeight,e),n.breaks+=r,this.writtenTo=this.pos=this.pos+i}finish(e){let r=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(r instanceof sn)&&!this.isCovered?this.nodes.push(new sn(0,-1)):(this.writtenTo<this.pos||r==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let i=e;for(let n of this.nodes)n instanceof sn&&n.updateHeight(this.oracle,i),i+=n?n.length:1;return this.nodes}static build(e,r,i,n){let o=new t(i,e);return Et.spans(r,i,n,o,0),o.finish(i)}};function tH(t,e,r){let i=new Rv;return Et.compare(t,e,r,i,0),i.changes}var Rv=class{constructor(){this.changes=[]}compareRange(){}comparePoint(e,r,i,n){(e<r||i&&i.heightRelevant||n&&n.heightRelevant)&&bv(e,r,this.changes,5)}};function rH(t,e){let r=t.getBoundingClientRect(),i=t.ownerDocument,n=i.defaultView||window,o=Math.max(0,r.left),s=Math.min(n.innerWidth,r.right),a=Math.max(0,r.top),l=Math.min(n.innerHeight,r.bottom);for(let c=t.parentNode;c&&c!=i.body;)if(c.nodeType==1){let u=c,f=window.getComputedStyle(u);if((u.scrollHeight>u.clientHeight||u.scrollWidth>u.clientWidth)&&f.overflow!="visible"){let d=u.getBoundingClientRect();o=Math.max(o,d.left),s=Math.min(s,d.right),a=Math.max(a,d.top),l=c==t.parentNode?d.bottom:Math.min(l,d.bottom)}c=f.position=="absolute"||f.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:o-r.left,right:Math.max(o,s)-r.left,top:a-(r.top+e),bottom:Math.max(a,l)-(r.top+e)}}function iH(t,e){let r=t.getBoundingClientRect();return{left:0,right:r.right-r.left,top:e,bottom:r.bottom-(r.top+e)}}var Df=class{constructor(e,r,i){this.from=e,this.to=r,this.size=i}static same(e,r){if(e.length!=r.length)return!1;for(let i=0;i<e.length;i++){let n=e[i],o=r[i];if(n.from!=o.from||n.to!=o.to||n.size!=o.size)return!1}return!0}draw(e,r){return Le.replace({widget:new $v(this.size*(r?e.scaleY:e.scaleX),r)}).range(this.from,this.to)}},$v=class extends Tr{constructor(e,r){super(),this.size=e,this.vertical=r}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}},vm=class{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!0,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=B9,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=Ct.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let r=e.facet(r4).some(i=>typeof i!="function"&&i.class=="cm-lineWrapping");this.heightOracle=new Pv(r),this.stateDeco=e.facet(Zf).filter(i=>typeof i!="function"),this.heightMap=Di.empty().applyChanges(this.stateDeco,gt.empty,this.heightOracle.setDoc(e.doc),[new oo(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Le.set(this.lineGaps.map(i=>i.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:r}=this.state.selection;for(let i=0;i<=1;i++){let n=i?r.head:r.anchor;if(!e.some(({from:o,to:s})=>n>=o&&n<=s)){let{from:o,to:s}=this.lineBlockAt(n);e.push(new mc(o,s))}}this.viewports=e.sort((i,n)=>i.from-n.from),this.scaler=this.heightMap.height<=7e6?B9:new Xv(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Rf(e,this.scaler))})}update(e,r=null){this.state=e.state;let i=this.stateDeco;this.stateDeco=this.state.facet(Zf).filter(u=>typeof u!="function");let n=e.changedRanges,o=oo.extendWithRanges(n,tH(i,this.stateDeco,e?e.changes:ui.empty(this.state.doc.length))),s=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),o),this.heightMap.height!=s&&(e.flags|=2),a?(this.scrollAnchorPos=e.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=o.length?this.mapViewport(this.viewport,e.changes):this.viewport;(r&&(r.range.head<l.from||r.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,r));let c=!e.changes.empty||e.flags&2||l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,this.updateForViewport(),c&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),r&&(this.scrollTarget=r),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(QC)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let r=e.contentDOM,i=window.getComputedStyle(r),n=this.heightOracle,o=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?Ct.RTL:Ct.LTR;let s=this.heightOracle.mustRefreshForWrapping(o),a=r.getBoundingClientRect(),l=s||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let c=0,u=0;if(a.width&&a.height){let{scaleX:Q,scaleY:z}=oC(r,a);(this.scaleX!=Q||this.scaleY!=z)&&(this.scaleX=Q,this.scaleY=z,c|=8,s=l=!0)}let f=(parseInt(i.paddingTop)||0)*this.scaleY,d=(parseInt(i.paddingBottom)||0)*this.scaleY;(this.paddingTop!=f||this.paddingBottom!=d)&&(this.paddingTop=f,this.paddingBottom=d,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(n.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8);let p=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=p&&(this.scrollAnchorHeight=-1,this.scrollTop=p),this.scrolledToBottom=lC(e.scrollDOM);let O=(this.printing?iH:rH)(r,this.paddingTop),w=O.top-this.pixelViewport.top,x=O.bottom-this.pixelViewport.bottom;this.pixelViewport=O;let k=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(k!=this.inView&&(this.inView=k,k&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let C=a.width;if((this.contentDOMWidth!=C||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=a.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),l){let Q=e.docView.measureVisibleLineHeights(this.viewport);if(n.mustRefreshForHeights(Q)&&(s=!0),s||n.lineWrapping&&Math.abs(C-this.contentDOMWidth)>n.charWidth){let{lineHeight:z,charWidth:L,textHeight:Z}=e.docView.measureTextSize();s=z>0&&n.refresh(o,z,L,Z,C/L,Q),s&&(e.docView.minWidth=0,c|=8)}w>0&&x>0?u=Math.max(w,x):w<0&&x<0&&(u=Math.min(w,x)),n.heightChanged=!1;for(let z of this.viewports){let L=z.from==this.viewport.from?Q:e.docView.measureVisibleLineHeights(z);this.heightMap=(s?Di.empty().applyChanges(this.stateDeco,gt.empty,this.heightOracle,[new oo(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(n,0,s,new Qv(z.from,L))}n.heightChanged&&(c|=2)}let R=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return R&&(this.viewport=this.getViewport(u,this.scrollTarget)),this.updateForViewport(),(c&2||R)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(s?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,r){let i=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),n=this.heightMap,o=this.heightOracle,{visibleTop:s,visibleBottom:a}=this,l=new mc(n.lineAt(s-i*1e3,jt.ByHeight,o,0,0).from,n.lineAt(a+(1-i)*1e3,jt.ByHeight,o,0,0).to);if(r){let{head:c}=r.range;if(c<l.from||c>l.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=n.lineAt(c,jt.ByPos,o,0,0),d;r.y=="center"?d=(f.top+f.bottom)/2-u/2:r.y=="start"||r.y=="nearest"&&c<l.from?d=f.top:d=f.bottom-u,l=new mc(n.lineAt(d-1e3/2,jt.ByHeight,o,0,0).from,n.lineAt(d+u+1e3/2,jt.ByHeight,o,0,0).to)}}return l}mapViewport(e,r){let i=r.mapPos(e.from,-1),n=r.mapPos(e.to,1);return new mc(this.heightMap.lineAt(i,jt.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(n,jt.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:r},i=0){if(!this.inView)return!0;let{top:n}=this.heightMap.lineAt(e,jt.ByPos,this.heightOracle,0,0),{bottom:o}=this.heightMap.lineAt(r,jt.ByPos,this.heightOracle,0,0),{visibleTop:s,visibleBottom:a}=this;return(e==0||n<=s-Math.max(10,Math.min(-i,250)))&&(r==this.state.doc.length||o>=a+Math.max(10,Math.min(i,250)))&&n>s-2*1e3&&o<a+2*1e3}mapLineGaps(e,r){if(!e.length||r.empty)return e;let i=[];for(let n of e)r.touchesRange(n.from,n.to)||i.push(new Df(r.mapPos(n.from),r.mapPos(n.to),n.size));return i}ensureLineGaps(e,r){let i=this.heightOracle.lineWrapping,n=i?1e4:2e3,o=n>>1,s=n<<1;if(this.defaultTextDirection!=Ct.LTR&&!i)return[];let a=[],l=(c,u,f,d)=>{if(u-c<o)return;let p=this.state.selection.main,O=[p.from];p.empty||O.push(p.to);for(let x of O)if(x>c&&x<u){l(c,x-10,f,d),l(x+10,u,f,d);return}let w=oH(e,x=>x.from>=f.from&&x.to<=f.to&&Math.abs(x.from-c)<o&&Math.abs(x.to-u)<o&&!O.some(k=>x.from<k&&x.to>k));if(!w){if(u<f.to&&r&&i&&r.visibleRanges.some(x=>x.from<=u&&x.to>=u)){let x=r.moveToLineBoundary(ce.cursor(u),!1,!0).head;x>c&&(u=x)}w=new Df(c,u,this.gapSize(f,c,u,d))}a.push(w)};for(let c of this.viewportLines){if(c.length<s)continue;let u=nH(c.from,c.to,this.stateDeco);if(u.total<s)continue;let f=this.scrollTarget?this.scrollTarget.range.head:null,d,p;if(i){let O=n/this.heightOracle.lineLength*this.heightOracle.lineHeight,w,x;if(f!=null){let k=im(u,f),C=((this.visibleBottom-this.visibleTop)/2+O)/c.height;w=k-C,x=k+C}else w=(this.visibleTop-c.top-O)/c.height,x=(this.visibleBottom-c.top+O)/c.height;d=rm(u,w),p=rm(u,x)}else{let O=u.total*this.heightOracle.charWidth,w=n*this.heightOracle.charWidth,x,k;if(f!=null){let C=im(u,f),R=((this.pixelViewport.right-this.pixelViewport.left)/2+w)/O;x=C-R,k=C+R}else x=(this.pixelViewport.left-w)/O,k=(this.pixelViewport.right+w)/O;d=rm(u,x),p=rm(u,k)}d>c.from&&l(c.from,d,c,u),p<c.to&&l(p,c.to,c,u)}return a}gapSize(e,r,i,n){let o=im(n,i)-im(n,r);return this.heightOracle.lineWrapping?e.height*o:n.total*this.heightOracle.charWidth*o}updateLineGaps(e){Df.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=Le.set(e.map(r=>r.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let r=[];Et.spans(e,this.viewport.from,this.viewport.to,{span(n,o){r.push({from:n,to:o})},point(){}},20);let i=r.length!=this.visibleRanges.length||this.visibleRanges.some((n,o)=>n.from!=r[o].from||n.to!=r[o].to);return this.visibleRanges=r,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(r=>r.from<=e&&r.to>=e)||Rf(this.heightMap.lineAt(e,jt.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Rf(this.heightMap.lineAt(this.scaler.fromDOM(e),jt.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let r=this.lineBlockAtHeight(e+8);return r.from>=this.viewport.from||this.viewportLines[0].top-e>200?r:this.viewportLines[0]}elementAtHeight(e){return Rf(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}},mc=class{constructor(e,r){this.from=e,this.to=r}};function nH(t,e,r){let i=[],n=t,o=0;return Et.spans(r,t,e,{span(){},point(s,a){s>n&&(i.push({from:n,to:s}),o+=s-n),n=a}},20),n<e&&(i.push({from:n,to:e}),o+=e-n),{total:o,ranges:i}}function rm({total:t,ranges:e},r){if(r<=0)return e[0].from;if(r>=1)return e[e.length-1].to;let i=Math.floor(t*r);for(let n=0;;n++){let{from:o,to:s}=e[n],a=s-o;if(i<=a)return o+i;i-=a}}function im(t,e){let r=0;for(let{from:i,to:n}of t.ranges){if(e<=n){r+=e-i;break}r+=n-i}return r/t.total}function oH(t,e){for(let r of t)if(e(r))return r}var B9={toDOM(t){return t},fromDOM(t){return t},scale:1},Xv=class{constructor(e,r,i){let n=0,o=0,s=0;this.viewports=i.map(({from:a,to:l})=>{let c=r.lineAt(a,jt.ByPos,e,0,0).top,u=r.lineAt(l,jt.ByPos,e,0,0).bottom;return n+=u-c,{from:a,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-n)/(r.height-n);for(let a of this.viewports)a.domTop=s+(a.top-o)*this.scale,s=a.domBottom=a.domTop+(a.bottom-a.top),o=a.bottom}toDOM(e){for(let r=0,i=0,n=0;;r++){let o=r<this.viewports.length?this.viewports[r]:null;if(!o||e<o.top)return n+(e-i)*this.scale;if(e<=o.bottom)return o.domTop+(e-o.top);i=o.bottom,n=o.domBottom}}fromDOM(e){for(let r=0,i=0,n=0;;r++){let o=r<this.viewports.length?this.viewports[r]:null;if(!o||e<o.domTop)return i+(e-n)/this.scale;if(e<=o.domBottom)return o.top+(e-o.domTop);i=o.bottom,n=o.domBottom}}};function Rf(t,e){if(e.scale==1)return t;let r=e.toDOM(t.top),i=e.toDOM(t.bottom);return new io(t.from,t.length,r,i-r,Array.isArray(t._content)?t._content.map(n=>Rf(n,e)):t._content)}var nm=Re.define({combine:t=>t.join(" ")}),Iv=Re.define({combine:t=>t.indexOf(!0)>-1}),Lv=on.newName(),WC=on.newName(),ZC=on.newName(),YC={"&light":"."+WC,"&dark":"."+ZC};function zv(t,e,r){return new on(e,{finish(i){return/&/.test(i)?i.replace(/&\w*/,n=>{if(n=="&")return t;if(!r||!r[n])throw new RangeError(`Unsupported selector: ${n}`);return r[n]}):t+" "+i}})}var sH=zv("."+Lv,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},YC),$f="\uFFFF",Mv=class{constructor(e,r){this.points=e,this.text="",this.lineSeparator=r.facet(Tt.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=$f}readRange(e,r){if(!e)return this;let i=e.parentNode;for(let n=e;;){this.findPointBefore(i,n);let o=this.text.length;this.readNode(n);let s=n.nextSibling;if(s==r)break;let a=Wt.get(n),l=Wt.get(s);(a&&l?a.breakAfter:(a?a.breakAfter:V9(n))||V9(s)&&(n.nodeName!="BR"||n.cmIgnore)&&this.text.length>o)&&this.lineBreak(),n=s}return this.findPointBefore(i,r),this}readTextNode(e){let r=e.nodeValue;for(let i of this.points)i.node==e&&(i.pos=this.text.length+Math.min(i.offset,r.length));for(let i=0,n=this.lineSeparator?null:/\r\n?|\n/g;;){let o=-1,s=1,a;if(this.lineSeparator?(o=r.indexOf(this.lineSeparator,i),s=this.lineSeparator.length):(a=n.exec(r))&&(o=a.index,s=a[0].length),this.append(r.slice(i,o<0?r.length:o)),o<0)break;if(this.lineBreak(),s>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=s-1);i=o+s}}readNode(e){if(e.cmIgnore)return;let r=Wt.get(e),i=r&&r.overrideDOMText;if(i!=null){this.findPointInside(e,i.length);for(let n=i.iter();!n.next().done;)n.lineBreak?this.lineBreak():this.append(n.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,r){for(let i of this.points)i.node==e&&e.childNodes[i.offset]==r&&(i.pos=this.text.length)}findPointInside(e,r){for(let i of this.points)(e.nodeType==3?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+(aH(e,i.node,i.offset)?r:0))}};function aH(t,e,r){for(;;){if(!e||r<Zo(e))return!1;if(e==t)return!0;r=Bf(e)+1,e=e.parentNode}}function V9(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}var wm=class{constructor(e,r){this.node=e,this.offset=r,this.pos=-1}},Dv=class{constructor(e,r,i,n){this.typeOver=n,this.bounds=null,this.text="";let{impreciseHead:o,impreciseAnchor:s}=e.docView;if(e.state.readOnly&&r>-1)this.newSel=null;else if(r>-1&&(this.bounds=e.docView.domBoundsAround(r,i,0))){let a=o||s?[]:uH(e),l=new Mv(a,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=fH(a,this.bounds.from)}else{let a=e.observer.selectionRange,l=o&&o.node==a.focusNode&&o.offset==a.focusOffset||!fv(e.contentDOM,a.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(a.focusNode,a.focusOffset),c=s&&s.node==a.anchorNode&&s.offset==a.anchorOffset||!fv(e.contentDOM,a.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(a.anchorNode,a.anchorOffset),u=e.viewport;if(Ue.ios&&e.state.selection.main.empty&&l!=c&&(u.from>0||u.to<e.state.doc.length)){let f=u.from-Math.min(l,c),d=u.to-Math.max(l,c);(f==0||f==1)&&(d==0||d==-1)&&(l=0,c=e.state.doc.length)}this.newSel=ce.single(c,l)}}};function HC(t,e){let r,{newSel:i}=e,n=t.state.selection.main,o=t.inputState.lastKeyTime>Date.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:s,to:a}=e.bounds,l=n.from,c=null;(o===8||Ue.android&&e.text.length<a-s)&&(l=n.to,c="end");let u=cH(t.state.doc.sliceString(s,a,$f),e.text,l-s,c);u&&(Ue.chrome&&o==13&&u.toB==u.from+2&&e.text.slice(u.from,u.toB)==$f+$f&&u.toB--,r={from:s+u.from,to:s+u.toA,insert:gt.of(e.text.slice(u.from,u.toB).split($f))})}else i&&(!t.hasFocus&&t.state.facet(Qm)||i.main.eq(n))&&(i=null);if(!r&&!i)return!1;if(!r&&e.typeOver&&!n.empty&&i&&i.main.empty?r={from:n.from,to:n.to,insert:t.state.doc.slice(n.from,n.to)}:r&&r.from>=n.from&&r.to<=n.to&&(r.from!=n.from||r.to!=n.to)&&n.to-n.from-(r.to-r.from)<=4?r={from:n.from,to:n.to,insert:t.state.doc.slice(n.from,r.from).append(r.insert).append(t.state.doc.slice(r.to,n.to))}:(Ue.mac||Ue.android)&&r&&r.from==r.to&&r.from==n.head-1&&/^\. ?$/.test(r.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(i&&r.insert.length==2&&(i=ce.single(i.main.anchor-1,i.main.head-1)),r={from:n.from,to:n.to,insert:gt.of([" "])}):Ue.chrome&&r&&r.from==r.to&&r.from==n.head&&r.insert.toString()==`
`&&t.lineWrapping&&(i&&(i=ce.single(i.main.anchor-1,i.main.head-1)),r={from:n.from,to:n.to,insert:gt.of([" "])}),r){if(Ue.ios&&t.inputState.flushIOSKey()||Ue.android&&(r.from==n.from&&r.to==n.to&&r.insert.length==1&&r.insert.lines==2&&bc(t.contentDOM,"Enter",13)||(r.from==n.from-1&&r.to==n.to&&r.insert.length==0||o==8&&r.insert.length<r.to-r.from&&r.to>n.head)&&bc(t.contentDOM,"Backspace",8)||r.from==n.from&&r.to==n.to+1&&r.insert.length==0&&bc(t.contentDOM,"Delete",46)))return!0;let s=r.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let a,l=()=>a||(a=lH(t,r,i));return t.state.facet(EC).some(c=>c(t,r.from,r.to,s,l))||t.dispatch(l()),!0}else if(i&&!i.main.eq(n)){let s=!1,a="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(s=!0),a=t.inputState.lastSelectionOrigin),t.dispatch({selection:i,scrollIntoView:s,userEvent:a}),!0}else return!1}function lH(t,e,r){let i,n=t.state,o=n.selection.main;if(e.from>=o.from&&e.to<=o.to&&e.to-e.from>=(o.to-o.from)/3&&(!r||r.main.empty&&r.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let a=o.from<e.from?n.sliceDoc(o.from,e.from):"",l=o.to>e.to?n.sliceDoc(e.to,o.to):"";i=n.replaceSelection(t.state.toText(a+e.insert.sliceString(0,void 0,t.state.lineBreak)+l))}else{let a=n.changes(e),l=r&&r.main.to<=a.newLength?r.main:void 0;if(n.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=o.to&&e.to>=o.to-10){let c=t.state.sliceDoc(e.from,e.to),u,f=r&&IC(t,r.main.head);if(f){let O=e.insert.length-(e.to-e.from);u={from:f.from,to:f.to-O}}else u=t.state.doc.lineAt(o.head);let d=o.to-e.to,p=o.to-o.from;i=n.changeByRange(O=>{if(O.from==o.from&&O.to==o.to)return{changes:a,range:l||O.map(a)};let w=O.to-d,x=w-c.length;if(O.to-O.from!=p||t.state.sliceDoc(x,w)!=c||O.to>=u.from&&O.from<=u.to)return{range:O};let k=n.changes({from:x,to:w,insert:e.insert}),C=O.to-o.to;return{changes:k,range:l?ce.range(Math.max(0,l.anchor+C),Math.max(0,l.head+C)):O.map(k)}})}else i={changes:a,selection:l&&n.selection.replaceRange(l)}}let s="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,s+=".compose",t.inputState.compositionFirstChange&&(s+=".start",t.inputState.compositionFirstChange=!1)),n.update(i,{userEvent:s,scrollIntoView:!0})}function cH(t,e,r,i){let n=Math.min(t.length,e.length),o=0;for(;o<n&&t.charCodeAt(o)==e.charCodeAt(o);)o++;if(o==n&&t.length==e.length)return null;let s=t.length,a=e.length;for(;s>0&&a>0&&t.charCodeAt(s-1)==e.charCodeAt(a-1);)s--,a--;if(i=="end"){let l=Math.max(0,o-Math.min(s,a));r-=s+l-o}if(s<o&&t.length<e.length){let l=r<=o&&r>=s?o-r:0;o-=l,a=o+(a-s),s=o}else if(a<o){let l=r<=o&&r>=a?o-r:0;o-=l,s=o+(s-a),a=o}return{from:o,toA:s,toB:a}}function uH(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:r,anchorOffset:i,focusNode:n,focusOffset:o}=t.observer.selectionRange;return r&&(e.push(new wm(r,i)),(n!=r||o!=i)&&e.push(new wm(n,o))),e}function fH(t,e){if(t.length==0)return null;let r=t[0].pos,i=t.length==2?t[1].pos:r;return r>-1&&i>-1?ce.single(r+e,i+e):null}var hH={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},av=Ue.ie&&Ue.ie_version<=11,Uv=class{constructor(e){this.view=e,this.active=!1,this.selectionRange=new hv,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(r=>{for(let i of r)this.queue.push(i);(Ue.ie&&Ue.ie_version<=11||Ue.ios&&e.composing)&&r.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),av&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var r;((r=this.view.docView)===null||r===void 0?void 0:r.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(r=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),r.length>0&&r[r.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(r=>{r.length>0&&r[r.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((r,i)=>r!=e[i]))){this.gapIntersection.disconnect();for(let r of e)this.gapIntersection.observe(r);this.gaps=e}}onSelectionChange(e){let r=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:i}=this,n=this.selectionRange;if(i.state.facet(Qm)?i.root.activeElement!=this.dom:!am(i.dom,n))return;let o=n.anchorNode&&i.docView.nearest(n.anchorNode);if(o&&o.ignoreEvent(e)){r||(this.selectionChanged=!1);return}(Ue.ie&&Ue.ie_version<=11||Ue.android&&Ue.chrome)&&!i.state.selection.main.empty&&n.focusNode&&If(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,r=Ue.safari&&e.root.nodeType==11&&iY(this.dom.ownerDocument)==this.dom&&dH(this.view)||dm(e.root);if(!r||this.selectionRange.eq(r))return!1;let i=am(this.dom,r);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&lY(this.dom,r)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(r),i&&(this.selectionChanged=!0),!0)}setSelectionRange(e,r){this.selectionRange.set(e.node,e.offset,r.node,r.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,r=null;for(let i=this.dom;i;)if(i.nodeType==1)!r&&e<this.scrollTargets.length&&this.scrollTargets[e]==i?e++:r||(r=this.scrollTargets.slice(0,e)),r&&r.push(i),i=i.assignedSlot||i.parentNode;else if(i.nodeType==11)i=i.host;else break;if(e<this.scrollTargets.length&&!r&&(r=this.scrollTargets.slice(0,e)),r){for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);for(let i of this.scrollTargets=r)i.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,hH),av&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),av&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,r){var i;if(!this.delayedAndroidKey){let n=()=>{let o=this.delayedAndroidKey;o&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=o.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&o.force&&bc(this.dom,o.key,o.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(n)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:r,force:this.lastChange<Date.now()-50||!!(!((i=this.delayedAndroidKey)===null||i===void 0)&&i.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let r=-1,i=-1,n=!1;for(let o of e){let s=this.readMutation(o);s&&(s.typeOver&&(n=!0),r==-1?{from:r,to:i}=s:(r=Math.min(s.from,r),i=Math.max(s.to,i)))}return{from:r,to:i,typeOver:n}}readChange(){let{from:e,to:r,typeOver:i}=this.processRecords(),n=this.selectionChanged&&am(this.dom,this.selectionRange);if(e<0&&!n)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let o=new Dv(this.view,e,r,i);return this.view.docView.domChanged={newSel:o.newSel?o.newSel.main:null},o}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let r=this.readChange();if(!r)return this.view.requestMeasure(),!1;let i=this.view.state,n=HC(this.view,r);return this.view.state==i&&this.view.update([]),n}readMutation(e){let r=this.view.docView.nearest(e.target);if(!r||r.ignoreMutation(e))return null;if(r.markDirty(e.type=="attributes"),e.type=="attributes"&&(r.flags|=4),e.type=="childList"){let i=q9(r,e.previousSibling||e.target.previousSibling,-1),n=q9(r,e.nextSibling||e.target.nextSibling,1);return{from:i?r.posAfter(i):r.posAtStart,to:n?r.posBefore(n):r.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:r.posAtStart,to:r.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,r,i;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(r=this.gapIntersection)===null||r===void 0||r.disconnect(),(i=this.resizeScroll)===null||i===void 0||i.disconnect();for(let n of this.scrollTargets)n.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}};function q9(t,e,r){for(;e;){let i=Wt.get(e);if(i&&i.parent==t)return i;let n=e.parentNode;e=n!=t.dom?n:r>0?e.nextSibling:e.previousSibling}return null}function dH(t){let e=null;function r(l){l.preventDefault(),l.stopImmediatePropagation(),e=l.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",r,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",r,!0),!e)return null;let i=e.startContainer,n=e.startOffset,o=e.endContainer,s=e.endOffset,a=t.docView.domAtPos(t.state.selection.main.anchor);return If(a.node,a.offset,o,s)&&([i,n,o,s]=[o,s,i,n]),{anchorNode:i,anchorOffset:n,focusNode:o,focusOffset:s}}var xe=class t{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:r}=e;this.dispatchTransactions=e.dispatchTransactions||r&&(i=>i.forEach(n=>r(n,this)))||(i=>this.update(i)),this.dispatch=this.dispatch.bind(this),this._root=e.root||aY(e.parent)||document,this.viewState=new vm(e.state||Tt.create(e)),e.scrollTo&&e.scrollTo.is(Jp)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(_f).map(i=>new Mf(i));for(let i of this.plugins)i.update(this);this.observer=new Uv(this),this.inputState=new Tv(this),this.inputState.ensureHandlers(this.plugins),this.docView=new gm(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...e){let r=e.length==1&&e[0]instanceof Jt?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(r,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let r=!1,i=!1,n,o=this.state;for(let d of e){if(d.startState!=o)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");o=d.state}if(this.destroyed){this.viewState.state=o;return}let s=this.hasFocus,a=0,l=null;e.some(d=>d.annotation(VC))?(this.inputState.notifiedFocused=s,a=1):s!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=s,l=qC(o,s),l||(a=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(o.doc)||!this.state.selection.eq(o.selection))&&(u=null)):this.observer.clear(),o.facet(Tt.phrases)!=this.state.facet(Tt.phrases))return this.setState(o);n=Om.create(this,o,e),n.flags|=a;let f=this.viewState.scrollTarget;try{this.updateState=2;for(let d of e){if(f&&(f=f.map(d.changes)),d.scrollIntoView){let{main:p}=d.state.selection;f=new zf(p.empty?p:ce.cursor(p.head,p.head>p.anchor?-1:1))}for(let p of d.effects)p.is(Jp)&&(f=p.value.clip(this.state))}this.viewState.update(n,f),this.bidiCache=xm.update(this.bidiCache,n.changes),n.empty||(this.updatePlugins(n),this.inputState.update(n)),r=this.docView.update(n),this.state.facet(Af)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(r,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(n.startState.facet(nm)!=n.state.facet(nm)&&(this.viewState.mustMeasureContent=!0),(r||i||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!n.empty)for(let d of this.state.facet(xv))try{d(n)}catch(p){pi(this.state,p,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!HC(this,u)&&c.force&&bc(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let r=this.hasFocus;try{for(let i of this.plugins)i.destroy(this);this.viewState=new vm(e),this.plugins=e.facet(_f).map(i=>new Mf(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView.destroy(),this.docView=new gm(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}r&&this.focus(),this.requestMeasure()}updatePlugins(e){let r=e.startState.facet(_f),i=e.state.facet(_f);if(r!=i){let n=[];for(let o of i){let s=r.indexOf(o);if(s<0)n.push(new Mf(o));else{let a=this.plugins[s];a.mustUpdate=e,n.push(a)}}for(let o of this.plugins)o.mustUpdate!=e&&o.destroy(this);this.plugins=n,this.pluginMap.clear()}else for(let n of this.plugins)n.mustUpdate=e;for(let n=0;n<this.plugins.length;n++)this.plugins[n].update(this);r!=i&&this.inputState.ensureHandlers(this.plugins)}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let r=null,i=this.scrollDOM,n=i.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:s}=this.viewState;Math.abs(n-this.viewState.scrollTop)>1&&(s=-1),this.viewState.scrollAnchorHeight=-1;try{for(let a=0;;a++){if(s<0)if(lC(i))o=-1,s=this.viewState.heightMap.height;else{let p=this.viewState.scrollAnchorAt(n);o=p.from,s=p.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(a>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(p=>{try{return p.read(this)}catch(O){return pi(this.state,O),F9}}),f=Om.create(this,this.state,[]),d=!1;f.flags|=l,r?r.flags|=l:r=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),d=this.docView.update(f));for(let p=0;p<c.length;p++)if(u[p]!=F9)try{let O=c[p];O.write&&O.write(u[p],this)}catch(O){pi(this.state,O)}if(d&&this.docView.updateSelection(!0),!f.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,s=-1;continue}else{let O=(o<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(o).top)-s;if(O>1||O<-1){n=n+O,i.scrollTop=n/this.scaleY,s=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(r&&!r.empty)for(let a of this.state.facet(xv))a(r)}get themeClasses(){return Lv+" "+(this.state.facet(Iv)?ZC:WC)+" "+this.state.facet(nm)}updateAttrs(){let e=W9(this,_C,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),r={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Qm)?"true":"false",class:"cm-content",style:`${Ue.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(r["aria-readonly"]="true"),W9(this,r4,r);let i=this.observer.ignore(()=>{let n=gv(this.contentDOM,this.contentAttrs,r),o=gv(this.dom,this.editorAttrs,e);return n||o});return this.editorAttrs=e,this.contentAttrs=r,i}showAnnouncements(e){let r=!0;for(let i of e)for(let n of i.effects)if(n.is(t.announce)){r&&(this.announceDOM.textContent=""),r=!1;let o=this.announceDOM.appendChild(document.createElement("div"));o.textContent=n.value}}mountStyles(){this.styleModules=this.state.facet(Af);let e=this.state.facet(t.cspNonce);on.mount(this.root,this.styleModules.concat(sH).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let r=0;r<this.measureRequests.length;r++)if(this.measureRequests[r].key===e.key){this.measureRequests[r]=e;return}}this.measureRequests.push(e)}}plugin(e){let r=this.pluginMap.get(e);return(r===void 0||r&&r.spec!=e)&&this.pluginMap.set(e,r=this.plugins.find(i=>i.spec==e)||null),r&&r.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,r,i){return sv(this,e,A9(this,e,r,i))}moveByGroup(e,r){return sv(this,e,A9(this,e,r,i=>zY(this,e.head,i)))}visualLineSide(e,r){let i=this.bidiSpans(e),n=this.textDirectionAt(e.from),o=i[r?i.length-1:0];return ce.cursor(o.side(r,n)+e.from,o.forward(!r,n)?1:-1)}moveToLineBoundary(e,r,i=!0){return LY(this,e,r,i)}moveVertically(e,r,i){return sv(this,e,MY(this,e,r,i))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,r=0){return this.docView.posFromDOM(e,r)}posAtCoords(e,r=!0){return this.readMeasured(),zC(this,e,r)}coordsAtPos(e,r=1){this.readMeasured();let i=this.docView.coordsAt(e,r);if(!i||i.left==i.right)return i;let n=this.state.doc.lineAt(e),o=this.bidiSpans(n),s=o[no.find(o,e-n.from,-1,r)];return Kv(i,s.dir==Ct.LTR==r>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(PC)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>pH)return vC(e.length);let r=this.textDirectionAt(e.from),i;for(let o of this.bidiCache)if(o.from==e.from&&o.dir==r&&(o.fresh||yC(o.isolates,i=E9(this,e))))return o.order;i||(i=E9(this,e));let n=vY(e.text,r,i);return this.bidiCache.push(new xm(e.from,e.to,r,i,!0,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Ue.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{sC(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,r={}){return Jp.of(new zf(typeof e=="number"?ce.cursor(e):e,r.y,r.x,r.yMargin,r.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:r}=this.scrollDOM,i=this.viewState.scrollAnchorAt(e);return Jp.of(new zf(ce.cursor(i.from),"start","start",i.top-e,r,!0))}static domEventHandlers(e){return dt.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return dt.define(()=>({}),{eventObservers:e})}static theme(e,r){let i=on.newName(),n=[nm.of(i),Af.of(zv(`.${i}`,e))];return r&&r.dark&&n.push(Iv.of(!0)),n}static baseTheme(e){return cr.lowest(Af.of(zv("."+Lv,e,YC)))}static findFromDOM(e){var r;let i=e.querySelector(".cm-content"),n=i&&Wt.get(i)||Wt.get(e);return((r=n==null?void 0:n.rootView)===null||r===void 0?void 0:r.view)||null}};xe.styleModule=Af;xe.inputHandler=EC;xe.focusChangeEffect=CC;xe.perLineTextDirection=PC;xe.exceptionSink=TC;xe.updateListener=xv;xe.editable=Qm;xe.mouseSelectionStyle=SC;xe.dragMovesSelection=kC;xe.clickAddsSelectionRange=xC;xe.decorations=Zf;xe.outerDecorations=AC;xe.atomicRanges=i4;xe.bidiIsolatedRanges=RC;xe.scrollMargins=$C;xe.darkTheme=Iv;xe.cspNonce=Re.define({combine:t=>t.length?t[0]:""});xe.contentAttributes=r4;xe.editorAttributes=_C;xe.lineWrapping=xe.contentAttributes.of({class:"cm-lineWrapping"});xe.announce=De.define();var pH=4096,F9={},xm=class t{constructor(e,r,i,n,o,s){this.from=e,this.to=r,this.dir=i,this.isolates=n,this.fresh=o,this.order=s}static update(e,r){if(r.empty&&!e.some(o=>o.fresh))return e;let i=[],n=e.length?e[e.length-1].dir:Ct.LTR;for(let o=Math.max(0,e.length-10);o<e.length;o++){let s=e[o];s.dir==n&&!r.touchesRange(s.from,s.to)&&i.push(new t(r.mapPos(s.from,1),r.mapPos(s.to,-1),s.dir,s.isolates,!1,s.order))}return i}};function W9(t,e,r){for(let i=t.state.facet(e),n=i.length-1;n>=0;n--){let o=i[n],s=typeof o=="function"?o(t):o;s&&Ov(s,r)}return r}var mH=Ue.mac?"mac":Ue.windows?"win":Ue.linux?"linux":"key";function OH(t,e){let r=t.split(/-(?!$)/),i=r[r.length-1];i=="Space"&&(i=" ");let n,o,s,a;for(let l=0;l<r.length-1;++l){let c=r[l];if(/^(cmd|meta|m)$/i.test(c))a=!0;else if(/^a(lt)?$/i.test(c))n=!0;else if(/^(c|ctrl|control)$/i.test(c))o=!0;else if(/^s(hift)?$/i.test(c))s=!0;else if(/^mod$/i.test(c))e=="mac"?a=!0:o=!0;else throw new Error("Unrecognized modifier name: "+c)}return n&&(i="Alt-"+i),o&&(i="Ctrl-"+i),a&&(i="Meta-"+i),s&&(i="Shift-"+i),i}function om(t,e,r){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),r!==!1&&e.shiftKey&&(t="Shift-"+t),t}var gH=cr.default(xe.domEventHandlers({keydown(t,e){return KC(GC(e.state),t,e,"editor")}})),vr=Re.define({enables:gH}),Z9=new WeakMap;function GC(t){let e=t.facet(vr),r=Z9.get(e);return r||Z9.set(e,r=yH(e.reduce((i,n)=>i.concat(n),[]))),r}function n4(t,e,r){return KC(GC(t.state),e,t,r)}var Bs=null,bH=4e3;function yH(t,e=mH){let r=Object.create(null),i=Object.create(null),n=(s,a)=>{let l=i[s];if(l==null)i[s]=a;else if(l!=a)throw new Error("Key binding "+s+" is used both as a regular binding and as a multi-stroke prefix")},o=(s,a,l,c,u)=>{var f,d;let p=r[s]||(r[s]=Object.create(null)),O=a.split(/ (?!$)/).map(k=>OH(k,e));for(let k=1;k<O.length;k++){let C=O.slice(0,k).join(" ");n(C,!0),p[C]||(p[C]={preventDefault:!0,stopPropagation:!1,run:[R=>{let Q=Bs={view:R,prefix:C,scope:s};return setTimeout(()=>{Bs==Q&&(Bs=null)},bH),!0}]})}let w=O.join(" ");n(w,!1);let x=p[w]||(p[w]={preventDefault:!1,stopPropagation:!1,run:((d=(f=p._any)===null||f===void 0?void 0:f.run)===null||d===void 0?void 0:d.slice())||[]});l&&x.run.push(l),c&&(x.preventDefault=!0),u&&(x.stopPropagation=!0)};for(let s of t){let a=s.scope?s.scope.split(" "):["editor"];if(s.any)for(let c of a){let u=r[c]||(r[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let f in u)u[f].run.push(s.any)}let l=s[e]||s.key;if(l)for(let c of a)o(c,l,s.run,s.preventDefault,s.stopPropagation),s.shift&&o(c,"Shift-"+l,s.shift,s.preventDefault,s.stopPropagation)}return r}function KC(t,e,r,i){let n=b9(e),o=hr(n,0),s=ci(o)==n.length&&n!=" ",a="",l=!1,c=!1,u=!1;Bs&&Bs.view==r&&Bs.scope==i&&(a=Bs.prefix+" ",DC.indexOf(e.keyCode)<0&&(c=!0,Bs=null));let f=new Set,d=x=>{if(x){for(let k of x.run)if(!f.has(k)&&(f.add(k),k(r,e)))return x.stopPropagation&&(u=!0),!0;x.preventDefault&&(x.stopPropagation&&(u=!0),c=!0)}return!1},p=t[i],O,w;return p&&(d(p[a+om(n,e,!s)])?l=!0:s&&(e.altKey||e.metaKey||e.ctrlKey)&&!(Ue.windows&&e.ctrlKey&&e.altKey)&&(O=Wo[e.keyCode])&&O!=n?(d(p[a+om(O,e,!0)])||e.shiftKey&&(w=dc[e.keyCode])!=n&&w!=O&&d(p[a+om(w,e,!1)]))&&(l=!0):s&&e.shiftKey&&d(p[a+om(n,e,!0)])&&(l=!0),!l&&d(p._any)&&(l=!0)),c&&(l=!0),l&&u&&e.stopPropagation(),l}var Yf=class t{constructor(e,r,i,n,o){this.className=e,this.left=r,this.top=i,this.width=n,this.height=o}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,r){return r.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,r,i){if(i.empty){let n=e.coordsAtPos(i.head,i.assoc||1);if(!n)return[];let o=JC(e);return[new t(r,n.left-o.left,n.top-o.top,null,n.bottom-n.top)]}else return vH(e,r,i)}};function JC(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==Ct.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function Y9(t,e,r){let i=ce.cursor(e);return{from:Math.max(r.from,t.moveToLineBoundary(i,!1,!0).from),to:Math.min(r.to,t.moveToLineBoundary(i,!0,!0).from),type:di.Text}}function vH(t,e,r){if(r.to<=t.viewport.from||r.from>=t.viewport.to)return[];let i=Math.max(r.from,t.viewport.from),n=Math.min(r.to,t.viewport.to),o=t.textDirection==Ct.LTR,s=t.contentDOM,a=s.getBoundingClientRect(),l=JC(t),c=s.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),f=a.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),d=a.right-(u?parseInt(u.paddingRight):0),p=Sv(t,i),O=Sv(t,n),w=p.type==di.Text?p:null,x=O.type==di.Text?O:null;if(w&&(t.lineWrapping||p.widgetLineBreaks)&&(w=Y9(t,i,w)),x&&(t.lineWrapping||O.widgetLineBreaks)&&(x=Y9(t,n,x)),w&&x&&w.from==x.from)return C(R(r.from,r.to,w));{let z=w?R(r.from,null,w):Q(p,!1),L=x?R(null,r.to,x):Q(O,!0),Z=[];return(w||p).to<(x||O).from-(w&&x?1:0)||p.widgetLineBreaks>1&&z.bottom+t.defaultLineHeight/2<L.top?Z.push(k(f,z.bottom,d,L.top)):z.bottom<L.top&&t.elementAtHeight((z.bottom+L.top)/2).type==di.Text&&(z.bottom=L.top=(z.bottom+L.top)/2),C(z).concat(Z).concat(C(L))}function k(z,L,Z,re){return new Yf(e,z-l.left,L-l.top-.01,Z-z,re-L+.01)}function C({top:z,bottom:L,horizontal:Z}){let re=[];for(let H=0;H<Z.length;H+=2)re.push(k(Z[H],z,Z[H+1],L));return re}function R(z,L,Z){let re=1e9,H=-1e9,q=[];function oe(ge,ve,Qe,se,he){let K=t.coordsAtPos(ge,ge==Z.to?-2:2),_=t.coordsAtPos(Qe,Qe==Z.from?2:-2);!K||!_||(re=Math.min(K.top,_.top,re),H=Math.max(K.bottom,_.bottom,H),he==Ct.LTR?q.push(o&&ve?f:K.left,o&&se?d:_.right):q.push(!o&&se?f:_.left,!o&&ve?d:K.right))}let pe=z!=null?z:Z.from,fe=L!=null?L:Z.to;for(let ge of t.visibleRanges)if(ge.to>pe&&ge.from<fe)for(let ve=Math.max(ge.from,pe),Qe=Math.min(ge.to,fe);;){let se=t.state.doc.lineAt(ve);for(let he of t.bidiSpans(se)){let K=he.from+se.from,_=he.to+se.from;if(K>=Qe)break;_>ve&&oe(Math.max(K,ve),z==null&&K<=pe,Math.min(_,Qe),L==null&&_>=fe,he.dir)}if(ve=se.to+1,ve>=Qe)break}return q.length==0&&oe(pe,z==null,fe,L==null,t.textDirection),{top:re,bottom:H,horizontal:q}}function Q(z,L){let Z=a.top+(L?z.top:z.bottom);return{top:Z,bottom:Z,horizontal:[]}}}function wH(t,e){return t.constructor==e.constructor&&t.eq(e)}var Nv=class{constructor(e,r){this.view=e,this.layer=r,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),r.above&&this.dom.classList.add("cm-layer-above"),r.class&&this.dom.classList.add(r.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),r.mount&&r.mount(this.dom,e)}update(e){e.startState.facet(um)!=e.state.facet(um)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}setOrder(e){let r=0,i=e.facet(um);for(;r<i.length&&i[r]!=this.layer;)r++;this.dom.style.zIndex=String((this.layer.above?150:-1)-r)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:r}=this.view;(e!=this.scaleX||r!=this.scaleY)&&(this.scaleX=e,this.scaleY=r,this.dom.style.transform=`scale(${1/e}, ${1/r})`)}draw(e){if(e.length!=this.drawn.length||e.some((r,i)=>!wH(r,this.drawn[i]))){let r=this.dom.firstChild,i=0;for(let n of e)n.update&&r&&n.constructor&&this.drawn[i].constructor&&n.update(r,this.drawn[i])?(r=r.nextSibling,i++):this.dom.insertBefore(n.draw(),r);for(;r;){let n=r.nextSibling;r.remove(),r=n}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}},um=Re.define();function eP(t){return[dt.define(e=>new Nv(e,t)),um.of(t)]}var tP=!Ue.ios,vc=Re.define({combine(t){return Ft(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,r)=>Math.min(e,r),drawRangeCursor:(e,r)=>e||r})}});function rP(t={}){return[vc.of(t),xH,kH,SH,QC.of(!0)]}function iP(t){return t.facet(vc)}function nP(t){return t.startState.facet(vc)!=t.state.facet(vc)}var xH=eP({above:!0,markers(t){let{state:e}=t,r=e.facet(vc),i=[];for(let n of e.selection.ranges){let o=n==e.selection.main;if(n.empty?!o||tP:r.drawRangeCursor){let s=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",a=n.empty?n:ce.cursor(n.head,n.head>n.anchor?-1:1);for(let l of Yf.forRange(t,s,a))i.push(l)}}return i},update(t,e){t.transactions.some(i=>i.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let r=nP(t);return r&&H9(t.state,e),t.docChanged||t.selectionSet||r},mount(t,e){H9(e.state,t)},class:"cm-cursorLayer"});function H9(t,e){e.style.animationDuration=t.facet(vc).cursorBlinkRate+"ms"}var kH=eP({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:Yf.forRange(t,"cm-selectionBackground",e)).reduce((e,r)=>e.concat(r))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||nP(t)},class:"cm-selectionLayer"}),jv={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};tP&&(jv[".cm-line"].caretColor="transparent !important",jv[".cm-content"]={caretColor:"transparent !important"});var SH=cr.highest(xe.theme(jv)),oP=De.define({map(t,e){return t==null?null:e.mapPos(t)}}),Xf=Ot.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((r,i)=>i.is(oP)?i.value:r,t)}}),TH=dt.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let r=t.state.field(Xf);r==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(Xf)!=r||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(Xf),r=e!=null&&t.coordsAtPos(e);if(!r)return null;let i=t.scrollDOM.getBoundingClientRect();return{left:r.left-i.left+t.scrollDOM.scrollLeft*t.scaleX,top:r.top-i.top+t.scrollDOM.scrollTop*t.scaleY,height:r.bottom-r.top}}drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:r}=this.view;t?(this.cursor.style.left=t.left/e+"px",this.cursor.style.top=t.top/r+"px",this.cursor.style.height=t.height/r+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(Xf)!=t&&this.view.dispatch({effects:oP.of(t)})}},{eventObservers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){(t.target==this.view.contentDOM||!this.view.contentDOM.contains(t.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function sP(){return[Xf,TH]}function G9(t,e,r,i,n){e.lastIndex=0;for(let o=t.iterRange(r,i),s=r,a;!o.next().done;s+=o.value.length)if(!o.lineBreak)for(;a=e.exec(o.value);)n(s+a.index,a)}function EH(t,e){let r=t.visibleRanges;if(r.length==1&&r[0].from==t.viewport.from&&r[0].to==t.viewport.to)return r;let i=[];for(let{from:n,to:o}of r)n=Math.max(t.state.doc.lineAt(n).from,n-e),o=Math.min(t.state.doc.lineAt(o).to,o+e),i.length&&i[i.length-1].to>=n?i[i.length-1].to=o:i.push({from:n,to:o});return i}var Bv=class{constructor(e){let{regexp:r,decoration:i,decorate:n,boundary:o,maxLength:s=1e3}=e;if(!r.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=r,n)this.addMatch=(a,l,c,u)=>n(u,c,c+a[0].length,a,l);else if(typeof i=="function")this.addMatch=(a,l,c,u)=>{let f=i(a,l,c);f&&u(c,c+a[0].length,f)};else if(i)this.addMatch=(a,l,c,u)=>u(c,c+a[0].length,i);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=o,this.maxLength=s}createDeco(e){let r=new zi,i=r.add.bind(r);for(let{from:n,to:o}of EH(e,this.maxLength))G9(e.state.doc,this.regexp,n,o,(s,a)=>this.addMatch(a,e,s,i));return r.finish()}updateDeco(e,r){let i=1e9,n=-1;return e.docChanged&&e.changes.iterChanges((o,s,a,l)=>{l>e.view.viewport.from&&a<e.view.viewport.to&&(i=Math.min(a,i),n=Math.max(l,n))}),e.viewportChanged||n-i>1e3?this.createDeco(e.view):n>-1?this.updateRange(e.view,r.map(e.changes),i,n):r}updateRange(e,r,i,n){for(let o of e.visibleRanges){let s=Math.max(o.from,i),a=Math.min(o.to,n);if(a>s){let l=e.state.doc.lineAt(s),c=l.to<a?e.state.doc.lineAt(a):l,u=Math.max(o.from,l.from),f=Math.min(o.to,c.to);if(this.boundary){for(;s>l.from;s--)if(this.boundary.test(l.text[s-1-l.from])){u=s;break}for(;a<c.to;a++)if(this.boundary.test(c.text[a-c.from])){f=a;break}}let d=[],p,O=(w,x,k)=>d.push(k.range(w,x));if(l==c)for(this.regexp.lastIndex=u-l.from;(p=this.regexp.exec(l.text))&&p.index<f-l.from;)this.addMatch(p,e,p.index+l.from,O);else G9(e.state.doc,this.regexp,u,f,(w,x)=>this.addMatch(x,e,w,O));r=r.update({filterFrom:u,filterTo:f,filter:(w,x)=>w<u||x>f,add:d})}}return r}},Vv=/x/.unicode!=null?"gu":"g",CH=new RegExp(`[\0-\b
-\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\u2066\u2067\u2069\uFEFF\uFFF9-\uFFFC]`,Vv),PH={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"},lv=null;function QH(){var t;if(lv==null&&typeof document!="undefined"&&document.body){let e=document.body.style;lv=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return lv||!1}var fm=Re.define({combine(t){let e=Ft(t,{render:null,specialChars:CH,addSpecialChars:null});return(e.replaceTabs=!QH())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,Vv)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,Vv)),e}});function aP(t={}){return[fm.of(t),_H()]}var K9=null;function _H(){return K9||(K9=dt.fromClass(class{constructor(t){this.view=t,this.decorations=Le.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(fm)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new Bv({regexp:t.specialChars,decoration:(e,r,i)=>{let{doc:n}=r.state,o=hr(e[0],0);if(o==9){let s=n.lineAt(i),a=r.state.tabSize,l=fi(s.text,a,i-s.from);return Le.replace({widget:new Fv((a-l%a)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=Le.replace({widget:new qv(t,o)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(fm);t.startState.facet(fm)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}var AH="\u2022";function RH(t){return t>=32?AH:t==10?"\u2424":String.fromCharCode(9216+t)}var qv=class extends Tr{constructor(e,r){super(),this.options=e,this.code=r}eq(e){return e.code==this.code}toDOM(e){let r=RH(this.code),i=e.state.phrase("Control character")+" "+(PH[this.code]||"0x"+this.code.toString(16)),n=this.options.render&&this.options.render(this.code,i,r);if(n)return n;let o=document.createElement("span");return o.textContent=r,o.title=i,o.setAttribute("aria-label",i),o.className="cm-specialChar",o}ignoreEvent(){return!1}},Fv=class extends Tr{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}};function lP(){return XH}var $H=Le.line({class:"cm-activeLine"}),XH=dt.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,r=[];for(let i of t.state.selection.ranges){let n=t.lineBlockAt(i.head);n.from>e&&(r.push($H.range(n.from)),e=n.from)}return Le.set(r)}},{decorations:t=>t.decorations});var Wv=2e3;function IH(t,e,r){let i=Math.min(e.line,r.line),n=Math.max(e.line,r.line),o=[];if(e.off>Wv||r.off>Wv||e.col<0||r.col<0){let s=Math.min(e.off,r.off),a=Math.max(e.off,r.off);for(let l=i;l<=n;l++){let c=t.doc.line(l);c.length<=a&&o.push(ce.range(c.from+s,c.to+a))}}else{let s=Math.min(e.col,r.col),a=Math.max(e.col,r.col);for(let l=i;l<=n;l++){let c=t.doc.line(l),u=Hp(c.text,s,t.tabSize,!0);if(u<0)o.push(ce.cursor(c.to));else{let f=Hp(c.text,a,t.tabSize);o.push(ce.range(c.from+u,c.from+f))}}}return o}function LH(t,e){let r=t.coordsAtPos(t.viewport.from);return r?Math.round(Math.abs((r.left-e)/t.defaultCharacterWidth)):-1}function J9(t,e){let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),i=t.state.doc.lineAt(r),n=r-i.from,o=n>Wv?-1:n==i.length?LH(t,e.clientX):fi(i.text,t.state.tabSize,r-i.from);return{line:i.number,col:o,off:n}}function zH(t,e){let r=J9(t,e),i=t.state.selection;return r?{update(n){if(n.docChanged){let o=n.changes.mapPos(n.startState.doc.line(r.line).from),s=n.state.doc.lineAt(o);r={line:s.number,col:r.col,off:Math.min(r.off,s.length)},i=i.map(n.changes)}},get(n,o,s){let a=J9(t,n);if(!a)return i;let l=IH(t.state,r,a);return l.length?s?ce.create(l.concat(i.ranges)):ce.create(l):i}}:null}function cP(t){let e=(t==null?void 0:t.eventFilter)||(r=>r.altKey&&r.button==0);return xe.mouseSelectionStyle.of((r,i)=>e(i)?zH(r,i):null)}var MH={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},DH={style:"cursor: crosshair"};function uP(t={}){let[e,r]=MH[t.key||"Alt"],i=dt.fromClass(class{constructor(n){this.view=n,this.isDown=!1}set(n){this.isDown!=n&&(this.isDown=n,this.view.update([]))}},{eventObservers:{keydown(n){this.set(n.keyCode==e||r(n))},keyup(n){(n.keyCode==e||!r(n))&&this.set(!1)},mousemove(n){this.set(r(n))}}});return[i,xe.contentAttributes.of(n=>{var o;return!((o=n.plugin(i))===null||o===void 0)&&o.isDown?DH:null})]}var Qf="-10000px",km=class{constructor(e,r,i){this.facet=r,this.createTooltipView=i,this.input=e.state.facet(r),this.tooltips=this.input.filter(n=>n),this.tooltipViews=this.tooltips.map(i)}update(e,r){var i;let n=e.state.facet(this.facet),o=n.filter(l=>l);if(n===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let s=[],a=r?[]:null;for(let l=0;l<o.length;l++){let c=o[l],u=-1;if(c){for(let f=0;f<this.tooltips.length;f++){let d=this.tooltips[f];d&&d.create==c.create&&(u=f)}if(u<0)s[l]=this.createTooltipView(c),a&&(a[l]=!!c.above);else{let f=s[l]=this.tooltipViews[u];a&&(a[l]=r[u]),f.update&&f.update(e)}}}for(let l of this.tooltipViews)s.indexOf(l)<0&&(l.dom.remove(),(i=l.destroy)===null||i===void 0||i.call(l));return r&&(a.forEach((l,c)=>r[c]=l),r.length=a.length),this.input=n,this.tooltips=o,this.tooltipViews=s,!0}};function UH(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}var cv=Re.define({combine:t=>{var e,r,i;return{position:Ue.ios?"absolute":((e=t.find(n=>n.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((r=t.find(n=>n.parent))===null||r===void 0?void 0:r.parent)||null,tooltipSpace:((i=t.find(n=>n.tooltipSpace))===null||i===void 0?void 0:i.tooltipSpace)||UH}}}),eC=new WeakMap,o4=dt.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(cv);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new km(t,Yo,r=>this.createTooltip(r)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(r=>{Date.now()>this.lastTransaction-50&&r.length>0&&r[r.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let r=e||t.geometryChanged,i=t.state.facet(cv);if(i.position!=this.position&&!this.madeAbsolute){this.position=i.position;for(let n of this.manager.tooltipViews)n.dom.style.position=this.position;r=!0}if(i.parent!=this.parent){this.parent&&this.container.remove(),this.parent=i.parent,this.createContainer();for(let n of this.manager.tooltipViews)this.container.appendChild(n.dom);r=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);r&&this.maybeMeasure()}createTooltip(t){let e=t.create(this.view);if(e.dom.classList.add("cm-tooltip"),t.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let r=document.createElement("div");r.className="cm-tooltip-arrow",e.dom.appendChild(r)}return e.dom.style.position=this.position,e.dom.style.top=Qf,e.dom.style.left="0px",this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var t,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(t=r.destroy)===null||t===void 0||t.call(r);this.parent&&this.container.remove(),(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,r=1,i=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:n}=this.manager.tooltipViews[0];if(Ue.gecko)i=n.offsetParent!=this.container.ownerDocument.body;else if(n.style.top==Qf&&n.style.left=="0px"){let o=n.getBoundingClientRect();i=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}}if(i||this.position=="absolute")if(this.parent){let n=this.parent.getBoundingClientRect();n.width&&n.height&&(e=n.width/this.parent.offsetWidth,r=n.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:r}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((n,o)=>{let s=this.manager.tooltipViews[o];return s.getCoords?s.getCoords(n.pos):this.view.coordsAtPos(n.pos)}),size:this.manager.tooltipViews.map(({dom:n})=>n.getBoundingClientRect()),space:this.view.state.facet(cv).tooltipSpace(this.view),scaleX:e,scaleY:r,makeAbsolute:i}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let a of this.manager.tooltipViews)a.dom.style.position="absolute"}let{editor:r,space:i,scaleX:n,scaleY:o}=t,s=[];for(let a=0;a<this.manager.tooltips.length;a++){let l=this.manager.tooltips[a],c=this.manager.tooltipViews[a],{dom:u}=c,f=t.pos[a],d=t.size[a];if(!f||f.bottom<=Math.max(r.top,i.top)||f.top>=Math.min(r.bottom,i.bottom)||f.right<Math.max(r.left,i.left)-.1||f.left>Math.min(r.right,i.right)+.1){u.style.top=Qf;continue}let p=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,O=p?7:0,w=d.right-d.left,x=(e=eC.get(c))!==null&&e!==void 0?e:d.bottom-d.top,k=c.offset||jH,C=this.view.textDirection==Ct.LTR,R=d.width>i.right-i.left?C?i.left:i.right-d.width:C?Math.min(f.left-(p?14:0)+k.x,i.right-w):Math.max(i.left,f.left-w+(p?14:0)-k.x),Q=this.above[a];!l.strictSide&&(Q?f.top-(d.bottom-d.top)-k.y<i.top:f.bottom+(d.bottom-d.top)+k.y>i.bottom)&&Q==i.bottom-f.bottom>f.top-i.top&&(Q=this.above[a]=!Q);let z=(Q?f.top-i.top:i.bottom-f.bottom)-O;if(z<x&&c.resize!==!1){if(z<this.view.defaultLineHeight){u.style.top=Qf;continue}eC.set(c,x),u.style.height=(x=z)/o+"px"}else u.style.height&&(u.style.height="");let L=Q?f.top-x-O-k.y:f.bottom+O+k.y,Z=R+w;if(c.overlap!==!0)for(let re of s)re.left<Z&&re.right>R&&re.top<L+x&&re.bottom>L&&(L=Q?re.top-x-2-O:re.bottom+O+2);if(this.position=="absolute"?(u.style.top=(L-t.parent.top)/o+"px",u.style.left=(R-t.parent.left)/n+"px"):(u.style.top=L/o+"px",u.style.left=R/n+"px"),p){let re=f.left+(C?k.x:-k.x)-(R+14-7);p.style.left=re/n+"px"}c.overlap!==!0&&s.push({left:R,top:L,right:Z,bottom:L+x}),u.classList.toggle("cm-tooltip-above",Q),u.classList.toggle("cm-tooltip-below",!Q),c.positioned&&c.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=Qf}},{eventObservers:{scroll(){this.maybeMeasure()}}}),NH=xe.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),jH={x:0,y:0},Yo=Re.define({enables:[o4,NH]}),Sm=Re.define(),Tm=class t{static create(e){return new t(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new km(e,Sm,r=>this.createHostedView(r))}createHostedView(e){let r=e.create(this.view);return r.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(r.dom),this.mounted&&r.mount&&r.mount(this.view),r}mount(e){for(let r of this.manager.tooltipViews)r.mount&&r.mount(e);this.mounted=!0}positioned(e){for(let r of this.manager.tooltipViews)r.positioned&&r.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let r of this.manager.tooltipViews)(e=r.destroy)===null||e===void 0||e.call(r)}passProp(e){let r;for(let i of this.manager.tooltipViews){let n=i[e];if(n!==void 0){if(r===void 0)r=n;else if(r!==n)return}}return r}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}},BH=Yo.compute([Sm],t=>{let e=t.facet(Sm).filter(r=>r);return e.length===0?null:{pos:Math.min(...e.map(r=>r.pos)),end:Math.max(...e.map(r=>{var i;return(i=r.end)!==null&&i!==void 0?i:r.pos})),create:Tm.create,above:e[0].above,arrow:e.some(r=>r.arrow)}}),Zv=class{constructor(e,r,i,n,o){this.view=e,this.source=r,this.field=i,this.setHover=n,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:r}=this,i=e.docView.nearest(r.target);if(!i)return;let n,o=1;if(i instanceof Vf)n=i.posAtStart;else{if(n=e.posAtCoords(r),n==null)return;let a=e.coordsAtPos(n);if(!a||r.y<a.top||r.y>a.bottom||r.x<a.left-e.defaultCharacterWidth||r.x>a.right+e.defaultCharacterWidth)return;let l=e.bidiSpans(e.state.doc.lineAt(n)).find(u=>u.from<=n&&u.to>=n),c=l&&l.dir==Ct.RTL?-1:1;o=r.x<a.left?-c:c}let s=this.source(e,n,o);if(s!=null&&s.then){let a=this.pending={pos:n};s.then(l=>{this.pending==a&&(this.pending=null,l&&e.dispatch({effects:this.setHover.of(l)}))},l=>pi(e.state,l,"hover tooltip"))}else s&&e.dispatch({effects:this.setHover.of(s)})}get tooltip(){let e=this.view.plugin(o4),r=e?e.manager.tooltips.findIndex(i=>i.create==Tm.create):-1;return r>-1?e.manager.tooltipViews[r]:null}mousemove(e){var r;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:i,tooltip:n}=this;if(i&&n&&!VH(n.dom,e)||this.pending){let{pos:o}=i||this.pending,s=(r=i==null?void 0:i.end)!==null&&r!==void 0?r:o;(o==s?this.view.posAtCoords(this.lastMove)!=o:!qH(this.view,o,s,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:r}=this;if(r){let{tooltip:i}=this;i&&i.dom.contains(e.relatedTarget)?this.watchTooltipLeave(i.dom):this.view.dispatch({effects:this.setHover.of(null)})}}watchTooltipLeave(e){let r=i=>{e.removeEventListener("mouseleave",r),this.active&&!this.view.dom.contains(i.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})};e.addEventListener("mouseleave",r)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}},sm=4;function VH(t,e){let r=t.getBoundingClientRect();return e.clientX>=r.left-sm&&e.clientX<=r.right+sm&&e.clientY>=r.top-sm&&e.clientY<=r.bottom+sm}function qH(t,e,r,i,n,o){let s=t.scrollDOM.getBoundingClientRect(),a=t.documentTop+t.documentPadding.top+t.contentHeight;if(s.left>i||s.right<i||s.top>n||Math.min(s.bottom,a)<n)return!1;let l=t.posAtCoords({x:i,y:n},!1);return l>=e&&l<=r}function _m(t,e={}){let r=De.define(),i=Ot.define({create(){return null},update(n,o){if(n&&(e.hideOnChange&&(o.docChanged||o.selection)||e.hideOn&&e.hideOn(o,n)))return null;if(n&&o.docChanged){let s=o.changes.mapPos(n.pos,-1,qt.TrackDel);if(s==null)return null;let a=Object.assign(Object.create(null),n);a.pos=s,n.end!=null&&(a.end=o.changes.mapPos(n.end)),n=a}for(let s of o.effects)s.is(r)&&(n=s.value),s.is(FH)&&(n=null);return n},provide:n=>Sm.from(n)});return[i,dt.define(n=>new Zv(n,t,i,r,e.hoverTime||300)),BH]}function s4(t,e){let r=t.plugin(o4);if(!r)return null;let i=r.manager.tooltips.indexOf(e);return i<0?null:r.manager.tooltipViews[i]}var FH=De.define();var tC=Re.define({combine(t){let e,r;for(let i of t)e=e||i.topContainer,r=r||i.bottomContainer;return{topContainer:e,bottomContainer:r}}});function Ga(t,e){let r=t.plugin(fP),i=r?r.specs.indexOf(e):-1;return i>-1?r.panels[i]:null}var fP=dt.fromClass(class{constructor(t){this.input=t.state.facet(an),this.specs=this.input.filter(r=>r),this.panels=this.specs.map(r=>r(t));let e=t.state.facet(tC);this.top=new Oc(t,!0,e.topContainer),this.bottom=new Oc(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(r=>r.top)),this.bottom.sync(this.panels.filter(r=>!r.top));for(let r of this.panels)r.dom.classList.add("cm-panel"),r.mount&&r.mount()}update(t){let e=t.state.facet(tC);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new Oc(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new Oc(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let r=t.state.facet(an);if(r!=this.input){let i=r.filter(l=>l),n=[],o=[],s=[],a=[];for(let l of i){let c=this.specs.indexOf(l),u;c<0?(u=l(t.view),a.push(u)):(u=this.panels[c],u.update&&u.update(t)),n.push(u),(u.top?o:s).push(u)}this.specs=i,this.panels=n,this.top.sync(o),this.bottom.sync(s);for(let l of a)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let i of this.panels)i.update&&i.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>xe.scrollMargins.of(e=>{let r=e.plugin(t);return r&&{top:r.top.scrollMargin(),bottom:r.bottom.scrollMargin()}})}),Oc=class{constructor(e,r,i){this.view=e,this.top=r,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let r of this.panels)r.destroy&&e.indexOf(r)<0&&r.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let r=this.container||this.view.dom;r.insertBefore(this.dom,this.top?r.firstChild:null)}let e=this.dom.firstChild;for(let r of this.panels)if(r.dom.parentNode==this.dom){for(;e!=r.dom;)e=rC(e);e=e.nextSibling}else this.dom.insertBefore(r.dom,e);for(;e;)e=rC(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}};function rC(t){let e=t.nextSibling;return t.remove(),e}var an=Re.define({enables:fP}),Ui=class extends En{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}};Ui.prototype.elementClass="";Ui.prototype.toDOM=void 0;Ui.prototype.mapMode=qt.TrackBefore;Ui.prototype.startSide=Ui.prototype.endSide=-1;Ui.prototype.point=!0;var hm=Re.define(),WH={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Et.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Uf=Re.define();function a4(t){return[hP(),Uf.of(Object.assign(Object.assign({},WH),t))]}var Yv=Re.define({combine:t=>t.some(e=>e)});function hP(t){let e=[ZH];return t&&t.fixed===!1&&e.push(Yv.of(!0)),e}var ZH=dt.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(Uf).map(e=>new Em(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(Yv),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,r=t.view.viewport,i=Math.min(e.to,r.to)-Math.max(e.from,r.from);this.syncGutters(i<(r.to-r.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Yv)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let r=Et.iter(this.view.state.facet(hm),this.view.viewport.from),i=[],n=this.gutters.map(o=>new Gv(o,this.view.viewport,-this.view.documentPadding.top));for(let o of this.view.viewportLineBlocks)if(i.length&&(i=[]),Array.isArray(o.type)){let s=!0;for(let a of o.type)if(a.type==di.Text&&s){Hv(r,i,a.from);for(let l of n)l.line(this.view,a,i);s=!1}else if(a.widget)for(let l of n)l.widget(this.view,a)}else if(o.type==di.Text){Hv(r,i,o.from);for(let s of n)s.line(this.view,o,i)}else if(o.widget)for(let s of n)s.widget(this.view,o);for(let o of n)o.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(Uf),r=t.state.facet(Uf),i=t.docChanged||t.heightChanged||t.viewportChanged||!Et.eq(t.startState.facet(hm),t.state.facet(hm),t.view.viewport.from,t.view.viewport.to);if(e==r)for(let n of this.gutters)n.update(t)&&(i=!0);else{i=!0;let n=[];for(let o of r){let s=e.indexOf(o);s<0?n.push(new Em(this.view,o)):(this.gutters[s].update(t),n.push(this.gutters[s]))}for(let o of this.gutters)o.dom.remove(),n.indexOf(o)<0&&o.destroy();for(let o of n)this.dom.appendChild(o.dom);this.gutters=n}return i}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>xe.scrollMargins.of(e=>{let r=e.plugin(t);return!r||r.gutters.length==0||!r.fixed?null:e.textDirection==Ct.LTR?{left:r.dom.offsetWidth*e.scaleX}:{right:r.dom.offsetWidth*e.scaleX}})});function iC(t){return Array.isArray(t)?t:[t]}function Hv(t,e,r){for(;t.value&&t.from<=r;)t.from==r&&e.push(t.value),t.next()}var Gv=class{constructor(e,r,i){this.gutter=e,this.height=i,this.i=0,this.cursor=Et.iter(e.markers,r.from)}addElement(e,r,i){let{gutter:n}=this,o=(r.top-this.height)/e.scaleY,s=r.height/e.scaleY;if(this.i==n.elements.length){let a=new Cm(e,s,o,i);n.elements.push(a),n.dom.appendChild(a.dom)}else n.elements[this.i].update(e,s,o,i);this.height=r.bottom,this.i++}line(e,r,i){let n=[];Hv(this.cursor,n,r.from),i.length&&(n=n.concat(i));let o=this.gutter.config.lineMarker(e,r,n);o&&n.unshift(o);let s=this.gutter;n.length==0&&!s.config.renderEmptyElements||this.addElement(e,r,n)}widget(e,r){let i=this.gutter.config.widgetMarker(e,r.widget,r);i&&this.addElement(e,r,[i])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let r=e.elements.pop();e.dom.removeChild(r.dom),r.destroy()}}},Em=class{constructor(e,r){this.view=e,this.config=r,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let i in r.domEventHandlers)this.dom.addEventListener(i,n=>{let o=n.target,s;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let l=o.getBoundingClientRect();s=(l.top+l.bottom)/2}else s=n.clientY;let a=e.lineBlockAtHeight(s-e.documentTop);r.domEventHandlers[i](e,a,n)&&n.preventDefault()});this.markers=iC(r.markers(e)),r.initialSpacer&&(this.spacer=new Cm(e,0,0,[r.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let r=this.markers;if(this.markers=iC(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let n=this.config.updateSpacer(this.spacer.markers[0],e);n!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[n])}let i=e.view.viewport;return!Et.eq(this.markers,r,i.from,i.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}},Cm=class{constructor(e,r,i,n){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,r,i,n)}update(e,r,i,n){this.height!=r&&(this.height=r,this.dom.style.height=r+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),YH(this.markers,n)||this.setMarkers(e,n)}setMarkers(e,r){let i="cm-gutterElement",n=this.dom.firstChild;for(let o=0,s=0;;){let a=s,l=o<r.length?r[o++]:null,c=!1;if(l){let u=l.elementClass;u&&(i+=" "+u);for(let f=s;f<this.markers.length;f++)if(this.markers[f].compare(l)){a=f,c=!0;break}}else a=this.markers.length;for(;s<a;){let u=this.markers[s++];if(u.toDOM){u.destroy(n);let f=n.nextSibling;n.remove(),n=f}}if(!l)break;l.toDOM&&(c?n=n.nextSibling:this.dom.insertBefore(l.toDOM(e),n)),c&&s++}this.dom.className=i,this.markers=r}destroy(){this.setMarkers(null,[])}};function YH(t,e){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!t[r].compare(e[r]))return!1;return!0}var HH=Re.define(),gc=Re.define({combine(t){return Ft(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,r){let i=Object.assign({},e);for(let n in r){let o=i[n],s=r[n];i[n]=o?(a,l,c)=>o(a,l,c)||s(a,l,c):s}return i}})}}),Nf=class extends Ui{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}};function uv(t,e){return t.state.facet(gc).formatNumber(e,t.state)}var GH=Uf.compute([gc],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(HH)},lineMarker(e,r,i){return i.some(n=>n.toDOM)?null:new Nf(uv(e,e.state.doc.lineAt(r.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(gc)!=e.state.facet(gc),initialSpacer(e){return new Nf(uv(e,nC(e.state.doc.lines)))},updateSpacer(e,r){let i=uv(r.view,nC(r.view.state.doc.lines));return i==e.number?e:new Nf(i)},domEventHandlers:t.facet(gc).domEventHandlers}));function dP(t={}){return[gc.of(t),hP(),GH]}function nC(t){let e=9;for(;e<t;)e=e*10+9;return e}var KH=new class extends Ui{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},JH=hm.compute(["selection"],t=>{let e=[],r=-1;for(let i of t.selection.ranges){let n=t.doc.lineAt(i.head).from;n>r&&(r=n,e.push(KH.range(n)))}return Et.of(e)});function pP(){return JH}var tG=0,ln=class t{constructor(e,r,i){this.set=e,this.base=r,this.modified=i,this.id=tG++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let r=new t([],null,[]);if(r.set.push(r),e)for(let i of e.set)r.set.push(i);return r}static defineModifier(){let e=new Xm;return r=>r.modified.indexOf(e)>-1?r:Xm.get(r.base||r,r.modified.concat(e).sort((i,n)=>i.id-n.id))}},rG=0,Xm=class t{constructor(){this.instances=[],this.id=rG++}static get(e,r){if(!r.length)return e;let i=r[0].instances.find(a=>a.base==e&&iG(r,a.modified));if(i)return i;let n=[],o=new ln(n,e,r);for(let a of r)a.instances.push(o);let s=nG(r);for(let a of e.set)if(!a.modified.length)for(let l of s)n.push(t.get(a,l));return o}};function iG(t,e){return t.length==e.length&&t.every((r,i)=>r==e[i])}function nG(t){let e=[[]];for(let r=0;r<t.length;r++)for(let i=0,n=e.length;i<n;i++)e.push(e[i].concat(t[r]));return e.sort((r,i)=>i.length-r.length)}function wr(t){let e=Object.create(null);for(let r in t){let i=t[r];Array.isArray(i)||(i=[i]);for(let n of r.split(" "))if(n){let o=[],s=2,a=n;for(let f=0;;){if(a=="..."&&f>0&&f+3==n.length){s=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!d)throw new RangeError("Invalid path: "+n);if(o.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),f+=d[0].length,f==n.length)break;let p=n[f++];if(f==n.length&&p=="!"){s=0;break}if(p!="/")throw new RangeError("Invalid path: "+n);a=n.slice(f)}let l=o.length-1,c=o[l];if(!c)throw new RangeError("Invalid path: "+n);let u=new wc(i,s,l>0?o.slice(0,l):null);e[c]=u.sort(e[c])}}return gP.add(e)}var gP=new qe,wc=class{constructor(e,r,i,n){this.tags=e,this.mode=r,this.context=i,this.next=n}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}};wc.empty=new wc([],2,null);function f4(t,e){let r=Object.create(null);for(let o of t)if(!Array.isArray(o.tag))r[o.tag.id]=o.class;else for(let s of o.tag)r[s.id]=o.class;let{scope:i,all:n=null}=e||{};return{style:o=>{let s=n;for(let a of o)for(let l of a.set){let c=r[l.id];if(c){s=s?s+" "+c:c;break}}return s},scope:i}}function oG(t,e){let r=null;for(let i of t){let n=i.style(e);n&&(r=r?r+" "+n:n)}return r}function h4(t,e,r,i=0,n=t.length){let o=new c4(i,Array.isArray(e)?e:[e],r);o.highlightRange(t.cursor(),i,n,"",o.highlighters),o.flush(n)}function bP(t,e,r,i,n,o=0,s=t.length){let a=o;function l(c,u){if(!(c<=a)){for(let f=t.slice(a,c),d=0;;){let p=f.indexOf(`
`,d),O=p<0?f.length:p;if(O>d&&i(f.slice(d,O),u),p<0)break;n(),d=p+1}a=c}}h4(e,r,(c,u,f)=>{l(c,""),l(u,f)},o,s),l(s,"")}var c4=class{constructor(e,r,i){this.at=e,this.highlighters=r,this.span=i,this.class=""}startSpan(e,r){r!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=r)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,r,i,n,o){let{type:s,from:a,to:l}=e;if(a>=i||l<=r)return;s.isTop&&(o=this.highlighters.filter(p=>!p.scope||p.scope(s)));let c=n,u=sG(e)||wc.empty,f=oG(o,u.tags);if(f&&(c&&(c+=" "),c+=f,u.mode==1&&(n+=(n?" ":"")+f)),this.startSpan(Math.max(r,a),c),u.opaque)return;let d=e.tree&&e.tree.prop(qe.mounted);if(d&&d.overlay){let p=e.node.enter(d.overlay[0].from+a,1),O=this.highlighters.filter(x=>!x.scope||x.scope(d.tree.type)),w=e.firstChild();for(let x=0,k=a;;x++){let C=x<d.overlay.length?d.overlay[x]:null,R=C?C.from+a:l,Q=Math.max(r,k),z=Math.min(i,R);if(Q<z&&w)for(;e.from<z&&(this.highlightRange(e,Q,z,n,o),this.startSpan(Math.min(z,e.to),c),!(e.to>=R||!e.nextSibling())););if(!C||R>i)break;k=C.to+a,k>r&&(this.highlightRange(p.cursor(),Math.max(r,C.from+a),Math.min(i,k),"",O),this.startSpan(Math.min(i,k),c))}w&&e.parent()}else if(e.firstChild()){d&&(n="");do if(!(e.to<=r)){if(e.from>=i)break;this.highlightRange(e,r,i,n,o),this.startSpan(Math.min(i,e.to),c)}while(e.nextSibling());e.parent()}}};function sG(t){let e=t.type.prop(gP);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}var Xe=ln.define,Am=Xe(),Zs=Xe(),mP=Xe(Zs),OP=Xe(Zs),Ys=Xe(),Rm=Xe(Ys),l4=Xe(Ys),lo=Xe(),Ka=Xe(lo),so=Xe(),ao=Xe(),u4=Xe(),Hf=Xe(u4),$m=Xe(),A={comment:Am,lineComment:Xe(Am),blockComment:Xe(Am),docComment:Xe(Am),name:Zs,variableName:Xe(Zs),typeName:mP,tagName:Xe(mP),propertyName:OP,attributeName:Xe(OP),className:Xe(Zs),labelName:Xe(Zs),namespace:Xe(Zs),macroName:Xe(Zs),literal:Ys,string:Rm,docString:Xe(Rm),character:Xe(Rm),attributeValue:Xe(Rm),number:l4,integer:Xe(l4),float:Xe(l4),bool:Xe(Ys),regexp:Xe(Ys),escape:Xe(Ys),color:Xe(Ys),url:Xe(Ys),keyword:so,self:Xe(so),null:Xe(so),atom:Xe(so),unit:Xe(so),modifier:Xe(so),operatorKeyword:Xe(so),controlKeyword:Xe(so),definitionKeyword:Xe(so),moduleKeyword:Xe(so),operator:ao,derefOperator:Xe(ao),arithmeticOperator:Xe(ao),logicOperator:Xe(ao),bitwiseOperator:Xe(ao),compareOperator:Xe(ao),updateOperator:Xe(ao),definitionOperator:Xe(ao),typeOperator:Xe(ao),controlOperator:Xe(ao),punctuation:u4,separator:Xe(u4),bracket:Hf,angleBracket:Xe(Hf),squareBracket:Xe(Hf),paren:Xe(Hf),brace:Xe(Hf),content:lo,heading:Ka,heading1:Xe(Ka),heading2:Xe(Ka),heading3:Xe(Ka),heading4:Xe(Ka),heading5:Xe(Ka),heading6:Xe(Ka),contentSeparator:Xe(lo),list:Xe(lo),quote:Xe(lo),emphasis:Xe(lo),strong:Xe(lo),link:Xe(lo),monospace:Xe(lo),strikethrough:Xe(lo),inserted:Xe(),deleted:Xe(),changed:Xe(),invalid:Xe(),meta:$m,documentMeta:Xe($m),annotation:Xe($m),processingInstruction:Xe($m),definition:ln.defineModifier(),constant:ln.defineModifier(),function:ln.defineModifier(),standard:ln.defineModifier(),local:ln.defineModifier(),special:ln.defineModifier()},Uwe=f4([{tag:A.link,class:"tok-link"},{tag:A.heading,class:"tok-heading"},{tag:A.emphasis,class:"tok-emphasis"},{tag:A.strong,class:"tok-strong"},{tag:A.keyword,class:"tok-keyword"},{tag:A.atom,class:"tok-atom"},{tag:A.bool,class:"tok-bool"},{tag:A.url,class:"tok-url"},{tag:A.labelName,class:"tok-labelName"},{tag:A.inserted,class:"tok-inserted"},{tag:A.deleted,class:"tok-deleted"},{tag:A.literal,class:"tok-literal"},{tag:A.string,class:"tok-string"},{tag:A.number,class:"tok-number"},{tag:[A.regexp,A.escape,A.special(A.string)],class:"tok-string2"},{tag:A.variableName,class:"tok-variableName"},{tag:A.local(A.variableName),class:"tok-variableName tok-local"},{tag:A.definition(A.variableName),class:"tok-variableName tok-definition"},{tag:A.special(A.variableName),class:"tok-variableName2"},{tag:A.definition(A.propertyName),class:"tok-propertyName tok-definition"},{tag:A.typeName,class:"tok-typeName"},{tag:A.namespace,class:"tok-namespace"},{tag:A.className,class:"tok-className"},{tag:A.macroName,class:"tok-macroName"},{tag:A.propertyName,class:"tok-propertyName"},{tag:A.operator,class:"tok-operator"},{tag:A.comment,class:"tok-comment"},{tag:A.meta,class:"tok-meta"},{tag:A.invalid,class:"tok-invalid"},{tag:A.punctuation,class:"tok-punctuation"}]);var d4,Ho=new qe;function Sc(t){return Re.define({combine:t?e=>e.concat(t):void 0})}var Mm=new qe,Lr=class{constructor(e,r,i=[],n=""){this.data=e,this.name=n,Tt.prototype.hasOwnProperty("tree")||Object.defineProperty(Tt.prototype,"tree",{get(){return pt(this)}}),this.parser=r,this.extension=[Hs.of(this),Tt.languageData.of((o,s,a)=>{let l=yP(o,s,a),c=l.type.prop(Ho);if(!c)return[];let u=o.facet(c),f=l.type.prop(Mm);if(f){let d=l.resolve(s-l.from,a);for(let p of f)if(p.test(d,o)){let O=o.facet(p.facet);return p.type=="replace"?O:O.concat(u)}}return u})].concat(i)}isActiveAt(e,r,i=-1){return yP(e,r,i).type.prop(Ho)==this.data}findRegions(e){let r=e.facet(Hs);if((r==null?void 0:r.data)==this.data)return[{from:0,to:e.doc.length}];if(!r||!r.allowsNesting)return[];let i=[],n=(o,s)=>{if(o.prop(Ho)==this.data){i.push({from:s,to:s+o.length});return}let a=o.prop(qe.mounted);if(a){if(a.tree.prop(Ho)==this.data){if(a.overlay)for(let l of a.overlay)i.push({from:l.from+s,to:l.to+s});else i.push({from:s,to:s+o.length});return}else if(a.overlay){let l=i.length;if(n(a.tree,a.overlay[0].from+s),i.length>l)return}}for(let l=0;l<o.children.length;l++){let c=o.children[l];c instanceof ut&&n(c,o.positions[l]+s)}};return n(pt(e),0),i}get allowsNesting(){return!0}};Lr.setState=De.define();function yP(t,e,r){let i=t.facet(Hs),n=pt(t).topNode;if(!i||i.allowsNesting)for(let o=n;o;o=o.enter(e,r,Pt.ExcludeBuffers))o.type.isTop&&(n=o);return n}var Jr=class t extends Lr{constructor(e,r,i){super(e,r,[],i),this.parser=r}static define(e){let r=Sc(e.languageData);return new t(r,e.parser.configure({props:[Ho.add(i=>i.isTop?r:void 0)]}),e.name)}configure(e,r){return new t(this.data,this.parser.configure(e),r||this.name)}get allowsNesting(){return this.parser.hasWrappers()}};function pt(t){let e=t.field(Lr.state,!1);return e?e.tree:ut.empty}function T4(t,e,r=50){var i;let n=(i=t.field(Lr.state,!1))===null||i===void 0?void 0:i.context;if(!n)return null;let o=n.viewport;n.updateViewport({from:0,to:e});let s=n.isDone(e)||n.work(r,e)?n.tree:null;return n.updateViewport(o),s}var g4=class{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,r){let i=this.cursorPos-this.string.length;return e<i||r>=this.cursorPos?this.doc.sliceString(e,r):this.string.slice(e-i,r-i)}},Gf=null,Ja=class t{constructor(e,r,i=[],n,o,s,a,l){this.parser=e,this.state=r,this.fragments=i,this.tree=n,this.treeLen=o,this.viewport=s,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,r,i){return new t(e,r,[],ut.empty,0,i,[],null)}startParse(){return this.parser.startParse(new g4(this.state.doc),this.fragments)}work(e,r){return r!=null&&r>=this.state.doc.length&&(r=void 0),this.tree!=ut.empty&&this.isDone(r!=null?r:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var i;if(typeof e=="number"){let n=Date.now()+e;e=()=>Date.now()>n}for(this.parse||(this.parse=this.startParse()),r!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>r)&&r<this.state.doc.length&&this.parse.stopAt(r);;){let n=this.parse.advance();if(n)if(this.fragments=this.withoutTempSkipped(Vo.addTree(n,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(i=this.parse.stoppedAt)!==null&&i!==void 0?i:this.state.doc.length,this.tree=n,this.parse=null,this.treeLen<(r!=null?r:this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,r;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(r=this.parse.advance()););}),this.treeLen=e,this.tree=r,this.fragments=this.withoutTempSkipped(Vo.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let r=Gf;Gf=this;try{return e()}finally{Gf=r}}withoutTempSkipped(e){for(let r;r=this.tempSkipped.pop();)e=vP(e,r.from,r.to);return e}changes(e,r){let{fragments:i,tree:n,treeLen:o,viewport:s,skipped:a}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,u,f,d)=>l.push({fromA:c,toA:u,fromB:f,toB:d})),i=Vo.applyChanges(i,l),n=ut.empty,o=0,s={from:e.mapPos(s.from,-1),to:e.mapPos(s.to,1)},this.skipped.length){a=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),f=e.mapPos(c.to,-1);u<f&&a.push({from:u,to:f})}}}return new t(this.parser,r,i,n,o,s,a,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let r=this.skipped.length;for(let i=0;i<this.skipped.length;i++){let{from:n,to:o}=this.skipped[i];n<e.to&&o>e.from&&(this.fragments=vP(this.fragments,n,o),this.skipped.splice(i--,1))}return this.skipped.length>=r?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,r){this.skipped.push({from:e,to:r})}static getSkippingParser(e){return new class extends qo{createParse(r,i,n){let o=n[0].from,s=n[n.length-1].to;return{parsedPos:o,advance(){let l=Gf;if(l){for(let c of n)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=s,new ut(Kt.none,[],[],s-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let r=this.fragments;return this.treeLen>=e&&r.length&&r[0].from==0&&r[0].to>=e}static get(){return Gf}};function vP(t,e,r){return Vo.applyChanges(t,[{fromA:e,toA:r,fromB:e,toB:r}])}var Jf=class t{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let r=this.context.changes(e.changes,e.state),i=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),r.viewport.to);return r.work(20,i)||r.takeTree(),new t(r)}static init(e){let r=Math.min(3e3,e.doc.length),i=Ja.create(e.facet(Hs).parser,e,{from:0,to:r});return i.work(20,r)||i.takeTree(),new t(i)}};Lr.state=Ot.define({create:Jf.init,update(t,e){for(let r of e.effects)if(r.is(Lr.setState))return r.value;return e.startState.facet(Hs)!=e.state.facet(Hs)?Jf.init(e.state):t.apply(e)}});var EP=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback!="undefined"&&(EP=t=>{let e=-1,r=setTimeout(()=>{e=requestIdleCallback(t,{timeout:500-100})},100);return()=>e<0?clearTimeout(r):cancelIdleCallback(e)});var p4=typeof navigator!="undefined"&&(!((d4=navigator.scheduling)===null||d4===void 0)&&d4.isInputPending)?()=>navigator.scheduling.isInputPending():null,aG=dt.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let r=this.view.state.field(Lr.state).context;(r.updateViewport(e.view.viewport)||this.view.viewport.to>r.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(r)}scheduleWork(){if(this.working)return;let{state:e}=this.view,r=e.field(Lr.state);(r.tree!=r.context.tree||!r.context.isDone(e.doc.length))&&(this.working=EP(this.work))}work(e){this.working=null;let r=Date.now();if(this.chunkEnd<r&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=r+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:i,viewport:{to:n}}=this.view,o=i.field(Lr.state);if(o.tree==o.context.tree&&o.context.isDone(n+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,e&&!p4?Math.max(25,e.timeRemaining()-5):1e9),a=o.context.treeLen<n&&i.doc.length>n+1e3,l=o.context.work(()=>p4&&p4()||Date.now()>s,n+(a?0:1e5));this.chunkBudget-=Date.now()-r,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:Lr.setState.of(new Jf(o.context))})),this.chunkBudget>0&&!(l&&!a)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(r=>pi(this.view.state,r)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Hs=Re.define({combine(t){return t.length?t[0]:null},enables:t=>[Lr.state,aG,xe.contentAttributes.compute([t],e=>{let r=e.facet(t);return r&&r.name?{"data-language":r.name}:{}})]}),or=class{constructor(e,r=[]){this.language=e,this.support=r,this.extension=[e,r]}},mr=class t{constructor(e,r,i,n,o,s=void 0){this.name=e,this.alias=r,this.extensions=i,this.filename=n,this.loadFunc=o,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:r,support:i}=e;if(!r){if(!i)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");r=()=>Promise.resolve(i)}return new t(e.name,(e.alias||[]).concat(e.name).map(n=>n.toLowerCase()),e.extensions||[],e.filename,r,i)}static matchFilename(e,r){for(let n of e)if(n.filename&&n.filename.test(r))return n;let i=/\.([^.]+)$/.exec(r);if(i){for(let n of e)if(n.extensions.indexOf(i[1])>-1)return n}return null}static matchLanguageName(e,r,i=!0){r=r.toLowerCase();for(let n of e)if(n.alias.some(o=>o==r))return n;if(i)for(let n of e)for(let o of n.alias){let s=r.indexOf(o);if(s>-1&&(o.length>2||!/\w/.test(r[s-1])&&!/\w/.test(r[s+o.length])))return n}return null}},CP=Re.define(),Qn=Re.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(r=>r!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function co(t){let e=t.facet(Qn);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function Go(t,e){let r="",i=t.tabSize,n=t.facet(Qn)[0];if(n==" "){for(;e>=i;)r+=" ",e-=i;n=" "}for(let o=0;o<e;o++)r+=n;return r}function Tc(t,e){t instanceof Tt&&(t=new el(t));for(let i of t.state.facet(CP)){let n=i(t,e);if(n!==void 0)return n}let r=pt(t.state);return r.length>=e?lG(t,r,e):null}var el=class{constructor(e,r={}){this.state=e,this.options=r,this.unit=co(e)}lineAt(e,r=1){let i=this.state.doc.lineAt(e),{simulateBreak:n,simulateDoubleBreak:o}=this.options;return n!=null&&n>=i.from&&n<=i.to?o&&n==e?{text:"",from:e}:(r<0?n<e:n<=e)?{text:i.text.slice(n-i.from),from:n}:{text:i.text.slice(0,n-i.from),from:i.from}:i}textAfterPos(e,r=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:i,from:n}=this.lineAt(e,r);return i.slice(e-n,Math.min(i.length,e+100-n))}column(e,r=1){let{text:i,from:n}=this.lineAt(e,r),o=this.countColumn(i,e-n),s=this.options.overrideIndentation?this.options.overrideIndentation(n):-1;return s>-1&&(o+=s-this.countColumn(i,i.search(/\S|$/))),o}countColumn(e,r=e.length){return fi(e,this.state.tabSize,r)}lineIndent(e,r=1){let{text:i,from:n}=this.lineAt(e,r),o=this.options.overrideIndentation;if(o){let s=o(n);if(s>-1)return s}return this.countColumn(i,i.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}},zr=new qe;function lG(t,e,r){let i=e.resolveStack(r),n=i.node.enterUnfinishedNodesBefore(r);if(n!=i.node){let o=[];for(let s=n;s!=i.node;s=s.parent)o.push(s);for(let s=o.length-1;s>=0;s--)i={node:o[s],next:i}}return PP(i,t,r)}function PP(t,e,r){for(let i=t;i;i=i.next){let n=uG(i.node);if(n)return n(b4.create(e,r,i))}return 0}function cG(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function uG(t){let e=t.type.prop(zr);if(e)return e;let r=t.firstChild,i;if(r&&(i=r.type.prop(qe.closedBy))){let n=t.lastChild,o=n&&i.indexOf(n.name)>-1;return s=>QP(s,!0,1,void 0,o&&!cG(s)?n.from:void 0)}return t.parent==null?fG:null}function fG(){return 0}var b4=class t extends el{constructor(e,r,i){super(e.state,e.options),this.base=e,this.pos=r,this.context=i}get node(){return this.context.node}static create(e,r,i){return new t(e,r,i)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let r=this.state.doc.lineAt(e.from);for(;;){let i=e.resolve(r.from);for(;i.parent&&i.parent.from==i.from;)i=i.parent;if(hG(i,e))break;r=this.state.doc.lineAt(i.from)}return this.lineIndent(r.from)}continue(){return PP(this.context.next,this.base,this.pos)}};function hG(t,e){for(let r=e;r;r=r.parent)if(t==r)return!0;return!1}function dG(t){let e=t.node,r=e.childAfter(e.from),i=e.lastChild;if(!r)return null;let n=t.options.simulateBreak,o=t.state.doc.lineAt(r.from),s=n==null||n<=o.from?o.to:Math.min(o.to,n);for(let a=r.to;;){let l=e.childAfter(a);if(!l||l==i)return null;if(!l.type.isSkipped)return l.from<s?r:null;a=l.to}}function uo({closing:t,align:e=!0,units:r=1}){return i=>QP(i,e,r,t)}function QP(t,e,r,i,n){let o=t.textAfter,s=o.match(/^\s*/)[0].length,a=i&&o.slice(s,s+i.length)==i||n==t.pos+s,l=e?dG(t):null;return l?a?t.column(l.from):t.column(l.to):t.baseIndent+(a?0:t.unit*r)}var Dm=t=>t.baseIndent;function ei({except:t,units:e=1}={}){return r=>{let i=t&&t.test(r.textAfter);return r.baseIndent+(i?0:e*r.unit)}}var pG=200;function _P(){return Tt.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let r=t.newDoc,{head:i}=t.newSelection.main,n=r.lineAt(i);if(i>n.from+pG)return t;let o=r.sliceString(n.from,i);if(!e.some(c=>c.test(o)))return t;let{state:s}=t,a=-1,l=[];for(let{head:c}of s.selection.ranges){let u=s.doc.lineAt(c);if(u.from==a)continue;a=u.from;let f=Tc(s,u.from);if(f==null)continue;let d=/^\s*/.exec(u.text)[0],p=Go(s,f);d!=p&&l.push({from:u.from,to:u.from+d.length,insert:p})}return l.length?[t,{changes:l,sequential:!0}]:t})}var E4=Re.define(),Er=new qe;function Gs(t){let e=t.firstChild,r=t.lastChild;return e&&e.to<r.from?{from:e.to,to:r.type.isError?t.to:r.from}:null}function mG(t,e,r){let i=pt(t);if(i.length<r)return null;let n=i.resolveStack(r,1),o=null;for(let s=n;s;s=s.next){let a=s.node;if(a.to<=r||a.from>r)continue;if(o&&a.from<e)break;let l=a.type.prop(Er);if(l&&(a.to<i.length-50||i.length==t.doc.length||!OG(a))){let c=l(a,t);c&&c.from<=r&&c.from>=e&&c.to>r&&(o=c)}}return o}function OG(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function Im(t,e,r){for(let i of t.facet(E4)){let n=i(t,e,r);if(n)return n}return mG(t,e,r)}function AP(t,e){let r=e.mapPos(t.from,1),i=e.mapPos(t.to,-1);return r>=i?void 0:{from:r,to:i}}var Um=De.define({map:AP}),rh=De.define({map:AP});function RP(t){let e=[];for(let{head:r}of t.state.selection.ranges)e.some(i=>i.from<=r&&i.to>=r)||e.push(t.lineBlockAt(r));return e}var tl=Ot.define({create(){return Le.none},update(t,e){t=t.map(e.changes);for(let r of e.effects)if(r.is(Um)&&!gG(t,r.value.from,r.value.to)){let{preparePlaceholder:i}=e.state.facet(C4),n=i?Le.replace({widget:new y4(i(e.state,r.value))}):wP;t=t.update({add:[n.range(r.value.from,r.value.to)]})}else r.is(rh)&&(t=t.update({filter:(i,n)=>r.value.from!=i||r.value.to!=n,filterFrom:r.value.from,filterTo:r.value.to}));if(e.selection){let r=!1,{head:i}=e.selection.main;t.between(i,i,(n,o)=>{n<i&&o>i&&(r=!0)}),r&&(t=t.update({filterFrom:i,filterTo:i,filter:(n,o)=>o<=i||n>=i}))}return t},provide:t=>xe.decorations.from(t),toJSON(t,e){let r=[];return t.between(0,e.doc.length,(i,n)=>{r.push(i,n)}),r},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let r=0;r<t.length;){let i=t[r++],n=t[r++];if(typeof i!="number"||typeof n!="number")throw new RangeError("Invalid JSON for fold state");e.push(wP.range(i,n))}return Le.set(e,!0)}});function Lm(t,e,r){var i;let n=null;return(i=t.field(tl,!1))===null||i===void 0||i.between(e,r,(o,s)=>{(!n||n.from>o)&&(n={from:o,to:s})}),n}function gG(t,e,r){let i=!1;return t.between(e,e,(n,o)=>{n==e&&o==r&&(i=!0)}),i}function $P(t,e){return t.field(tl,!1)?e:e.concat(De.appendConfig.of(jm()))}var Nm=t=>{for(let e of RP(t)){let r=Im(t.state,e.from,e.to);if(r)return t.dispatch({effects:$P(t.state,[Um.of(r),IP(t,r)])}),!0}return!1},XP=t=>{if(!t.state.field(tl,!1))return!1;let e=[];for(let r of RP(t)){let i=Lm(t.state,r.from,r.to);i&&e.push(rh.of(i),IP(t,i,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function IP(t,e,r=!0){let i=t.state.doc.lineAt(e.from).number,n=t.state.doc.lineAt(e.to).number;return xe.announce.of(`${t.state.phrase(r?"Folded lines":"Unfolded lines")} ${i} ${t.state.phrase("to")} ${n}.`)}var LP=t=>{let{state:e}=t,r=[];for(let i=0;i<e.doc.length;){let n=t.lineBlockAt(i),o=Im(e,n.from,n.to);o&&r.push(Um.of(o)),i=(o?t.lineBlockAt(o.to):n).to+1}return r.length&&t.dispatch({effects:$P(t.state,r)}),!!r.length},zP=t=>{let e=t.state.field(tl,!1);if(!e||!e.size)return!1;let r=[];return e.between(0,t.state.doc.length,(i,n)=>{r.push(rh.of({from:i,to:n}))}),t.dispatch({effects:r}),!0};var bG={placeholderDOM:null,preparePlaceholder:null,placeholderText:"\u2026"},C4=Re.define({combine(t){return Ft(t,bG)}});function jm(t){let e=[tl,vG];return t&&e.push(C4.of(t)),e}function MP(t,e){let{state:r}=t,i=r.facet(C4),n=s=>{let a=t.lineBlockAt(t.posAtDOM(s.target)),l=Lm(t.state,a.from,a.to);l&&t.dispatch({effects:rh.of(l)}),s.preventDefault()};if(i.placeholderDOM)return i.placeholderDOM(t,n,e);let o=document.createElement("span");return o.textContent=i.placeholderText,o.setAttribute("aria-label",r.phrase("folded code")),o.title=r.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=n,o}var wP=Le.replace({widget:new class extends Tr{toDOM(t){return MP(t,null)}}}),y4=class extends Tr{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return MP(e,this.value)}},yG={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},Kf=class extends Ui{constructor(e,r){super(),this.config=e,this.open=r}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let r=document.createElement("span");return r.textContent=this.open?this.config.openText:this.config.closedText,r.title=e.state.phrase(this.open?"Fold line":"Unfold line"),r}};function DP(t={}){let e=Object.assign(Object.assign({},yG),t),r=new Kf(e,!0),i=new Kf(e,!1),n=dt.fromClass(class{constructor(s){this.from=s.viewport.from,this.markers=this.buildMarkers(s)}update(s){(s.docChanged||s.viewportChanged||s.startState.facet(Hs)!=s.state.facet(Hs)||s.startState.field(tl,!1)!=s.state.field(tl,!1)||pt(s.startState)!=pt(s.state)||e.foldingChanged(s))&&(this.markers=this.buildMarkers(s.view))}buildMarkers(s){let a=new zi;for(let l of s.viewportLineBlocks){let c=Lm(s.state,l.from,l.to)?i:Im(s.state,l.from,l.to)?r:null;c&&a.add(l.from,l.from,c)}return a.finish()}}),{domEventHandlers:o}=e;return[n,a4({class:"cm-foldGutter",markers(s){var a;return((a=s.plugin(n))===null||a===void 0?void 0:a.markers)||Et.empty},initialSpacer(){return new Kf(e,!1)},domEventHandlers:Object.assign(Object.assign({},o),{click:(s,a,l)=>{if(o.click&&o.click(s,a,l))return!0;let c=Lm(s.state,a.from,a.to);if(c)return s.dispatch({effects:rh.of(c)}),!0;let u=Im(s.state,a.from,a.to);return u?(s.dispatch({effects:Um.of(u)}),!0):!1}})}),jm()]}var vG=xe.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}}),xc=class t{constructor(e,r){this.specs=e;let i;function n(a){let l=on.newName();return(i||(i=Object.create(null)))["."+l]=a,l}let o=typeof r.all=="string"?r.all:r.all?n(r.all):void 0,s=r.scope;this.scope=s instanceof Lr?a=>a.prop(Ho)==s.data:s?a=>a==s:void 0,this.style=f4(e.map(a=>({tag:a.tag,class:a.class||n(Object.assign({},a,{tag:null}))})),{all:o}).style,this.module=i?new on(i):null,this.themeType=r.themeType}static define(e,r){return new t(e,r||{})}},v4=Re.define(),UP=Re.define({combine(t){return t.length?[t[0]]:null}});function m4(t){let e=t.facet(v4);return e.length?e:t.facet(UP)}function P4(t,e){let r=[wG],i;return t instanceof xc&&(t.module&&r.push(xe.styleModule.of(t.module)),i=t.themeType),e!=null&&e.fallback?r.push(UP.of(t)):i?r.push(v4.computeN([xe.darkTheme],n=>n.facet(xe.darkTheme)==(i=="dark")?[t]:[])):r.push(v4.of(t)),r}var w4=class{constructor(e){this.markCache=Object.create(null),this.tree=pt(e.state),this.decorations=this.buildDeco(e,m4(e.state))}update(e){let r=pt(e.state),i=m4(e.state),n=i!=m4(e.startState);r.length<e.view.viewport.to&&!n&&r.type==this.tree.type?this.decorations=this.decorations.map(e.changes):(r!=this.tree||e.viewportChanged||n)&&(this.tree=r,this.decorations=this.buildDeco(e.view,i))}buildDeco(e,r){if(!r||!this.tree.length)return Le.none;let i=new zi;for(let{from:n,to:o}of e.visibleRanges)h4(this.tree,r,(s,a,l)=>{i.add(s,a,this.markCache[l]||(this.markCache[l]=Le.mark({class:l})))},n,o);return i.finish()}},wG=cr.high(dt.fromClass(w4,{decorations:t=>t.decorations})),Zwe=xc.define([{tag:A.meta,color:"#404740"},{tag:A.link,textDecoration:"underline"},{tag:A.heading,textDecoration:"underline",fontWeight:"bold"},{tag:A.emphasis,fontStyle:"italic"},{tag:A.strong,fontWeight:"bold"},{tag:A.strikethrough,textDecoration:"line-through"},{tag:A.keyword,color:"#708"},{tag:[A.atom,A.bool,A.url,A.contentSeparator,A.labelName],color:"#219"},{tag:[A.literal,A.inserted],color:"#164"},{tag:[A.string,A.deleted],color:"#a11"},{tag:[A.regexp,A.escape,A.special(A.string)],color:"#e40"},{tag:A.definition(A.variableName),color:"#00f"},{tag:A.local(A.variableName),color:"#30a"},{tag:[A.typeName,A.namespace],color:"#085"},{tag:A.className,color:"#167"},{tag:[A.special(A.variableName),A.macroName],color:"#256"},{tag:A.definition(A.propertyName),color:"#00c"},{tag:A.comment,color:"#940"},{tag:A.invalid,color:"#f00"}]),xG=xe.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),NP=1e4,jP="()[]{}",BP=Re.define({combine(t){return Ft(t,{afterCursor:!0,brackets:jP,maxScanDistance:NP,renderMatch:TG})}}),kG=Le.mark({class:"cm-matchingBracket"}),SG=Le.mark({class:"cm-nonmatchingBracket"});function TG(t){let e=[],r=t.matched?kG:SG;return e.push(r.range(t.start.from,t.start.to)),t.end&&e.push(r.range(t.end.from,t.end.to)),e}var EG=Ot.define({create(){return Le.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let r=[],i=e.state.facet(BP);for(let n of e.state.selection.ranges){if(!n.empty)continue;let o=cn(e.state,n.head,-1,i)||n.head>0&&cn(e.state,n.head-1,1,i)||i.afterCursor&&(cn(e.state,n.head,1,i)||n.head<e.state.doc.length&&cn(e.state,n.head+1,-1,i));o&&(r=r.concat(i.renderMatch(o,e.state)))}return Le.set(r,!0)},provide:t=>xe.decorations.from(t)}),CG=[EG,xG];function VP(t={}){return[BP.of(t),CG]}var ih=new qe;function x4(t,e,r){let i=t.prop(e<0?qe.openedBy:qe.closedBy);if(i)return i;if(t.name.length==1){let n=r.indexOf(t.name);if(n>-1&&n%2==(e<0?1:0))return[r[n+e]]}return null}function k4(t){let e=t.type.prop(ih);return e?e(t.node):t}function cn(t,e,r,i={}){let n=i.maxScanDistance||NP,o=i.brackets||jP,s=pt(t),a=s.resolveInner(e,r);for(let l=a;l;l=l.parent){let c=x4(l.type,r,o);if(c&&l.from<l.to){let u=k4(l);if(u&&(r>0?e>=u.from&&e<u.to:e>u.from&&e<=u.to))return PG(t,e,r,l,u,c,o)}}return QG(t,e,r,s,a.type,n,o)}function PG(t,e,r,i,n,o,s){let a=i.parent,l={from:n.from,to:n.to},c=0,u=a==null?void 0:a.cursor();if(u&&(r<0?u.childBefore(i.from):u.childAfter(i.to)))do if(r<0?u.to<=i.from:u.from>=i.to){if(c==0&&o.indexOf(u.type.name)>-1&&u.from<u.to){let f=k4(u);return{start:l,end:f?{from:f.from,to:f.to}:void 0,matched:!0}}else if(x4(u.type,r,s))c++;else if(x4(u.type,-r,s)){if(c==0){let f=k4(u);return{start:l,end:f&&f.from<f.to?{from:f.from,to:f.to}:void 0,matched:!1}}c--}}while(r<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function QG(t,e,r,i,n,o,s){let a=r<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1),l=s.indexOf(a);if(l<0||l%2==0!=r>0)return null;let c={from:r<0?e-1:e,to:r>0?e+1:e},u=t.doc.iterRange(e,r>0?t.doc.length:0),f=0;for(let d=0;!u.next().done&&d<=o;){let p=u.value;r<0&&(d+=p.length);let O=e+d*r;for(let w=r>0?0:p.length-1,x=r>0?p.length:-1;w!=x;w+=r){let k=s.indexOf(p[w]);if(!(k<0||i.resolveInner(O+w,1).type!=n))if(k%2==0==r>0)f++;else{if(f==1)return{start:c,end:{from:O+w,to:O+w+1},matched:k>>1==l>>1};f--}}r>0&&(d+=p.length)}return u.done?{start:c,matched:!1}:null}function xP(t,e,r,i=0,n=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let o=n;for(let s=i;s<e;s++)t.charCodeAt(s)==9?o+=r-o%r:o++;return o}var kc=class{constructor(e,r,i,n){this.string=e,this.tabSize=r,this.indentUnit=i,this.overrideIndent=n,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(e){let r=this.string.charAt(this.pos),i;if(typeof e=="string"?i=r==e:i=r&&(e instanceof RegExp?e.test(r):e(r)),i)return++this.pos,r}eatWhile(e){let r=this.pos;for(;this.eat(e););return this.pos>r}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let r=this.string.indexOf(e,this.pos);if(r>-1)return this.pos=r,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=xP(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue}indentation(){var e;return(e=this.overrideIndent)!==null&&e!==void 0?e:xP(this.string,null,this.tabSize)}match(e,r,i){if(typeof e=="string"){let n=s=>i?s.toLowerCase():s,o=this.string.substr(this.pos,e.length);return n(o)==n(e)?(r!==!1&&(this.pos+=e.length),!0):null}else{let n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&r!==!1&&(this.pos+=n[0].length),n)}}current(){return this.string.slice(this.start,this.pos)}};function _G(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||AG,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||_4}}function AG(t){if(typeof t!="object")return t;let e={};for(let r in t){let i=t[r];e[r]=i instanceof Array?i.slice():i}return e}var kP=new WeakMap,eh=class t extends Lr{constructor(e){let r=Sc(e.languageData),i=_G(e),n,o=new class extends qo{createParse(s,a,l){return new S4(n,s,a,l)}};super(r,o,[CP.of((s,a)=>this.getIndent(s,a))],e.name),this.topNode=IG(r),n=this,this.streamParser=i,this.stateAfter=new qe({perNode:!0}),this.tokenTable=e.tokenTable?new zm(i.tokenTable):XG}static define(e){return new t(e)}getIndent(e,r){let i=pt(e.state),n=i.resolve(r);for(;n&&n.type!=this.topNode;)n=n.parent;if(!n)return null;let o,{overrideIndentation:s}=e.options;s&&(o=kP.get(e.state),o!=null&&o<r-1e4&&(o=void 0));let a=Q4(this,i,0,n.from,o!=null?o:r),l,c;if(a?(c=a.state,l=a.pos+1):(c=this.streamParser.startState(e.unit),l=0),r-l>1e4)return null;for(;l<r;){let f=e.state.doc.lineAt(l),d=Math.min(r,f.to);if(f.length){let p=s?s(f.from):-1,O=new kc(f.text,e.state.tabSize,e.unit,p<0?void 0:p);for(;O.pos<d-f.from;)FP(this.streamParser.token,O,c)}else this.streamParser.blankLine(c,e.unit);if(d==r)break;l=f.to+1}let u=e.lineAt(r);return s&&o==null&&kP.set(e.state,u.from),this.streamParser.indent(c,/^\s*(.*)/.exec(u.text)[1],e)}get allowsNesting(){return!1}};function Q4(t,e,r,i,n){let o=r>=i&&r+e.length<=n&&e.prop(t.stateAfter);if(o)return{state:t.streamParser.copyState(o),pos:r+e.length};for(let s=e.children.length-1;s>=0;s--){let a=e.children[s],l=r+e.positions[s],c=a instanceof ut&&l<n&&Q4(t,a,l,i,n);if(c)return c}return null}function qP(t,e,r,i,n){if(n&&r<=0&&i>=e.length)return e;!n&&e.type==t.topNode&&(n=!0);for(let o=e.children.length-1;o>=0;o--){let s=e.positions[o],a=e.children[o],l;if(s<i&&a instanceof ut){if(!(l=qP(t,a,r-s,i-s,n)))break;return n?new ut(e.type,e.children.slice(0,o).concat(l),e.positions.slice(0,o+1),s+l.length):l}}return null}function RG(t,e,r,i){for(let n of e){let o=n.from+(n.openStart?25:0),s=n.to-(n.openEnd?25:0),a=o<=r&&s>r&&Q4(t,n.tree,0-n.offset,r,s),l;if(a&&(l=qP(t,n.tree,r+n.offset,a.pos+n.offset,!1)))return{state:a.state,tree:l}}return{state:t.streamParser.startState(i?co(i):4),tree:ut.empty}}var S4=class{constructor(e,r,i,n){this.lang=e,this.input=r,this.fragments=i,this.ranges=n,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=n[n.length-1].to;let o=Ja.get(),s=n[0].from,{state:a,tree:l}=RG(e,i,s,o==null?void 0:o.state);this.state=a,this.parsedPos=this.chunkStart=s+l.length;for(let c=0;c<l.children.length;c++)this.chunks.push(l.children[c]),this.chunkPos.push(l.positions[c]);o&&this.parsedPos<o.viewport.from-1e5&&(this.state=this.lang.streamParser.startState(co(o.state)),o.skipUntilInView(this.parsedPos,o.viewport.from),this.parsedPos=o.viewport.from),this.moveRangeIndex()}advance(){let e=Ja.get(),r=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt),i=Math.min(r,this.chunkStart+2048);for(e&&(i=Math.min(i,e.viewport.to));this.parsedPos<i;)this.parseLine(e);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=r?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,r),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let r=this.input.chunk(e);if(this.input.lineChunks)r==`
`&&(r="");else{let i=r.indexOf(`
`);i>-1&&(r=r.slice(0,i))}return e+r.length<=this.to?r:r.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,r=this.lineAfter(e),i=e+r.length;for(let n=this.rangeIndex;;){let o=this.ranges[n].to;if(o>=i||(r=r.slice(0,o-(i-r.length)),n++,n==this.ranges.length))break;let s=this.ranges[n].from,a=this.lineAfter(s);r+=a,i=s+a.length}return{line:r,end:i}}skipGapsTo(e,r,i){for(;;){let n=this.ranges[this.rangeIndex].to,o=e+r;if(i>0?n>o:n>=o)break;let s=this.ranges[++this.rangeIndex].from;r+=s-n}return r}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(e,r,i,n,o){if(this.ranges.length>1){o=this.skipGapsTo(r,o,1),r+=o;let s=this.chunk.length;o=this.skipGapsTo(i,o,-1),i+=o,n+=this.chunk.length-s}return this.chunk.push(e,r,i,n),o}parseLine(e){let{line:r,end:i}=this.nextLine(),n=0,{streamParser:o}=this.lang,s=new kc(r,e?e.state.tabSize:4,e?co(e.state):2);if(s.eol())o.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let a=FP(o.token,s,this.state);if(a&&(n=this.emitToken(this.lang.tokenTable.resolve(a),this.parsedPos+s.start,this.parsedPos+s.pos,4,n)),s.start>1e4)break}this.parsedPos=i,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let e=ut.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:$G,topID:0,maxBufferLength:2048,reused:this.chunkReused});e=new ut(e.type,e.children,e.positions,e.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]),this.chunks.push(e),this.chunkPos.push(this.chunkStart-this.ranges[0].from),this.chunk=[],this.chunkReused=void 0,this.chunkStart=this.parsedPos}finish(){return new ut(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}};function FP(t,e,r){e.start=e.pos;for(let i=0;i<10;i++){let n=t(e,r);if(e.pos>e.start)return n}throw new Error("Stream parser failed to advance stream.")}var _4=Object.create(null),th=[Kt.none],$G=new Bo(th),SP=[],TP=Object.create(null),WP=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])WP[t]=ZP(_4,e);var zm=class{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),WP)}resolve(e){return e?this.table[e]||(this.table[e]=ZP(this.extra,e)):0}},XG=new zm(_4);function O4(t,e){SP.indexOf(t)>-1||(SP.push(t),console.warn(e))}function ZP(t,e){let r=[];for(let a of e.split(" ")){let l=[];for(let c of a.split(".")){let u=t[c]||A[c];u?typeof u=="function"?l.length?l=l.map(u):O4(c,`Modifier ${c} used at start of tag`):l.length?O4(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:O4(c,`Unknown highlighting tag ${c}`)}for(let c of l)r.push(c)}if(!r.length)return 0;let i=e.replace(/ /g,"_"),n=i+" "+r.map(a=>a.id),o=TP[n];if(o)return o.id;let s=TP[n]=Kt.define({id:th.length,name:i,props:[wr({[i]:r})]});return th.push(s),s.id}function IG(t){let e=Kt.define({id:th.length,name:"Document",props:[Ho.add(()=>t)],top:!0});return th.push(e),e}var Ywe={rtl:Le.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"rtl"},bidiIsolate:Ct.RTL}),ltr:Le.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"ltr"},bidiIsolate:Ct.LTR}),auto:Le.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"auto"},bidiIsolate:null})};var Ec=class{constructor(e,r,i){this.state=e,this.pos=r,this.explicit=i,this.abortListeners=[]}tokenBefore(e){let r=pt(this.state).resolveInner(this.pos,-1);for(;r&&e.indexOf(r.name)<0;)r=r.parent;return r?{from:r.from,to:this.pos,text:this.state.sliceDoc(r.from,this.pos),type:r.type}:null}matchBefore(e){let r=this.state.doc.lineAt(this.pos),i=Math.max(r.from,this.pos-250),n=r.text.slice(i-r.from,this.pos-r.from),o=n.search(iQ(e,!1));return o<0?null:{from:i+o,to:this.pos,text:n.slice(o)}}get aborted(){return this.abortListeners==null}addEventListener(e,r){e=="abort"&&this.abortListeners&&this.abortListeners.push(r)}};function YP(t){let e=Object.keys(t).join(""),r=/\w/.test(e);return r&&(e=e.replace(/\w/g,"")),`[${r?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function LG(t){let e=Object.create(null),r=Object.create(null);for(let{label:n}of t){e[n[0]]=!0;for(let o=1;o<n.length;o++)r[n[o]]=!0}let i=YP(e)+YP(r)+"*$";return[new RegExp("^"+i),new RegExp(i)]}function ah(t){let e=t.map(n=>typeof n=="string"?{label:n}:n),[r,i]=e.every(n=>/^\w+$/.test(n.label))?[/\w*$/,/\w+$/]:LG(e);return n=>{let o=n.matchBefore(i);return o||n.explicit?{from:o?o.from:n.pos,options:e,validFor:r}:null}}function Fm(t,e){return r=>{for(let i=pt(r.state).resolveInner(r.pos,-1);i;i=i.parent){if(t.indexOf(i.name)>-1)return null;if(i.type.isTop)break}return e(r)}}var Bm=class{constructor(e,r,i,n){this.completion=e,this.source=r,this.match=i,this.score=n}};function Ks(t){return t.selection.main.from}function iQ(t,e){var r;let{source:i}=t,n=e&&i[0]!="^",o=i[i.length-1]!="$";return!n&&!o?t:new RegExp(`${n?"^":""}(?:${i})${o?"$":""}`,(r=t.flags)!==null&&r!==void 0?r:t.ignoreCase?"i":"")}var nQ=Kr.define();function zG(t,e,r,i){let{main:n}=t.selection,o=r-n.from,s=i-n.from;return Object.assign(Object.assign({},t.changeByRange(a=>a!=n&&r!=i&&t.sliceDoc(a.from+o,a.from+s)!=t.sliceDoc(r,i)?{range:a}:{changes:{from:a.from+o,to:i==n.from?a.to:a.from+s,insert:e},range:ce.cursor(a.from+o+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}var HP=new WeakMap;function MG(t){if(!Array.isArray(t))return t;let e=HP.get(t);return e||HP.set(t,e=ah(t)),e}var Vm=De.define(),nh=De.define(),$4=class{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let r=0;r<e.length;){let i=hr(e,r),n=ci(i);this.chars.push(i);let o=e.slice(r,r+n),s=o.toUpperCase();this.folded.push(hr(s==o?o.toLowerCase():s,0)),r+=n}this.astral=e.length!=this.chars.length}ret(e,r){return this.score=e,this.matched=r,!0}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return!1;let{chars:r,folded:i,any:n,precise:o,byWord:s}=this;if(r.length==1){let C=hr(e,0),R=ci(C),Q=R==e.length?0:-100;if(C!=r[0])if(C==i[0])Q+=-200;else return!1;return this.ret(Q,[0,R])}let a=e.indexOf(this.pattern);if(a==0)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let l=r.length,c=0;if(a<0){for(let C=0,R=Math.min(e.length,200);C<R&&c<l;){let Q=hr(e,C);(Q==r[c]||Q==i[c])&&(n[c++]=C),C+=ci(Q)}if(c<l)return!1}let u=0,f=0,d=!1,p=0,O=-1,w=-1,x=/[a-z]/.test(e),k=!0;for(let C=0,R=Math.min(e.length,200),Q=0;C<R&&f<l;){let z=hr(e,C);a<0&&(u<l&&z==r[u]&&(o[u++]=C),p<l&&(z==r[p]||z==i[p]?(p==0&&(O=C),w=C+1,p++):p=0));let L,Z=z<255?z>=48&&z<=57||z>=97&&z<=122?2:z>=65&&z<=90?1:0:(L=Pf(z))!=L.toLowerCase()?1:L!=L.toUpperCase()?2:0;(!C||Z==1&&x||Q==0&&Z!=0)&&(r[f]==z||i[f]==z&&(d=!0)?s[f++]=C:s.length&&(k=!1)),Q=Z,C+=ci(z)}return f==l&&s[0]==0&&k?this.result(-100+(d?-200:0),s,e):p==l&&O==0?this.ret(-200-e.length+(w==e.length?0:-100),[0,w]):a>-1?this.ret(-700-e.length,[a,a+this.pattern.length]):p==l?this.ret(-200+-700-e.length,[O,w]):f==l?this.result(-100+(d?-200:0)+-700+(k?0:-1100),s,e):r.length==2?!1:this.result((n[0]?-700:0)+-200+-1100,n,e)}result(e,r,i){let n=[],o=0;for(let s of r){let a=s+(this.astral?ci(hr(i,s)):1);o&&n[o-1]==s?n[o-1]=a:(n[o++]=s,n[o++]=a)}return this.ret(e-i.length,n)}},Mr=Re.define({combine(t){return Ft(t,{activateOnTyping:!0,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:DG,compareCompletions:(e,r)=>e.label.localeCompare(r.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,r)=>e&&r,closeOnBlur:(e,r)=>e&&r,icons:(e,r)=>e&&r,tooltipClass:(e,r)=>i=>GP(e(i),r(i)),optionClass:(e,r)=>i=>GP(e(i),r(i)),addToOptions:(e,r)=>e.concat(r)})}});function GP(t,e){return t?e?t+" "+e:t:e}function DG(t,e,r,i,n,o){let s=t.textDirection==Ct.RTL,a=s,l=!1,c="top",u,f,d=e.left-n.left,p=n.right-e.right,O=i.right-i.left,w=i.bottom-i.top;if(a&&d<Math.min(O,p)?a=!1:!a&&p<Math.min(O,d)&&(a=!0),O<=(a?d:p))u=Math.max(n.top,Math.min(r.top,n.bottom-w))-e.top,f=Math.min(400,a?d:p);else{l=!0,f=Math.min(400,(s?e.right:n.right-e.left)-30);let C=n.bottom-e.bottom;C>=w||C>e.top?u=r.bottom-e.top:(c="bottom",u=e.bottom-r.top)}let x=(e.bottom-e.top)/o.offsetHeight,k=(e.right-e.left)/o.offsetWidth;return{style:`${c}: ${u/x}px; max-width: ${f/k}px`,class:"cm-completionInfo-"+(l?s?"left-narrow":"right-narrow":a?"left":"right")}}function UG(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(r){let i=document.createElement("div");return i.classList.add("cm-completionIcon"),r.type&&i.classList.add(...r.type.split(/\s+/g).map(n=>"cm-completionIcon-"+n)),i.setAttribute("aria-hidden","true"),i},position:20}),e.push({render(r,i,n,o){let s=document.createElement("span");s.className="cm-completionLabel";let a=r.displayLabel||r.label,l=0;for(let c=0;c<o.length;){let u=o[c++],f=o[c++];u>l&&s.appendChild(document.createTextNode(a.slice(l,u)));let d=s.appendChild(document.createElement("span"));d.appendChild(document.createTextNode(a.slice(u,f))),d.className="cm-completionMatchedText",l=f}return l<a.length&&s.appendChild(document.createTextNode(a.slice(l))),s},position:50},{render(r){if(!r.detail)return null;let i=document.createElement("span");return i.className="cm-completionDetail",i.textContent=r.detail,i},position:80}),e.sort((r,i)=>r.position-i.position).map(r=>r.render)}function A4(t,e,r){if(t<=r)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let n=Math.floor(e/r);return{from:n*r,to:(n+1)*r}}let i=Math.floor((t-e)/r);return{from:t-(i+1)*r,to:t-i*r}}var X4=class{constructor(e,r,i){this.view=e,this.stateField=r,this.applyCompletion=i,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let n=e.state.field(r),{options:o,selected:s}=n.open,a=e.state.facet(Mr);this.optionContent=UG(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=A4(o.length,s,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=e.state.field(r).open;for(let u=l.target,f;u&&u!=this.dom;u=u.parentNode)if(u.nodeName=="LI"&&(f=/-(\d+)$/.exec(u.id))&&+f[1]<c.length){this.applyCompletion(e,c[+f[1]]),l.preventDefault();return}}),this.dom.addEventListener("focusout",l=>{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(Mr).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:nh.of(null)})}),this.showOptions(o,n.id)}mount(){this.updateSel()}showOptions(e,r){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,r,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var r;let i=e.state.field(this.stateField),n=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),i!=n){let{options:o,selected:s,disabled:a}=i.open;(!n.open||n.open.options!=o)&&(this.range=A4(o.length,s,e.state.facet(Mr).maxRenderedOptions),this.showOptions(o,i.id)),this.updateSel(),a!=((r=n.open)===null||r===void 0?void 0:r.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(e){let r=this.tooltipClass(e);if(r!=this.currentClass){for(let i of this.currentClass.split(" "))i&&this.dom.classList.remove(i);for(let i of r.split(" "))i&&this.dom.classList.add(i);this.currentClass=r}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),r=e.open;if((r.selected>-1&&r.selected<this.range.from||r.selected>=this.range.to)&&(this.range=A4(r.options.length,r.selected,this.view.state.facet(Mr).maxRenderedOptions),this.showOptions(r.options,e.id)),this.updateSelectedOption(r.selected)){this.destroyInfo();let{completion:i}=r.options[r.selected],{info:n}=i;if(!n)return;let o=typeof n=="string"?document.createTextNode(n):n(i);if(!o)return;"then"in o?o.then(s=>{s&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(s,i)}).catch(s=>pi(this.view.state,s,"completion info")):this.addInfoPane(o,i)}}addInfoPane(e,r){this.destroyInfo();let i=this.info=document.createElement("div");if(i.className="cm-tooltip cm-completionInfo",e.nodeType!=null)i.appendChild(e),this.infoDestroy=null;else{let{dom:n,destroy:o}=e;i.appendChild(n),this.infoDestroy=o||null}this.dom.appendChild(i),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let r=null;for(let i=this.list.firstChild,n=this.range.from;i;i=i.nextSibling,n++)i.nodeName!="LI"||!i.id?n--:n==e?i.hasAttribute("aria-selected")||(i.setAttribute("aria-selected","true"),r=i):i.hasAttribute("aria-selected")&&i.removeAttribute("aria-selected");return r&&jG(this.list,r),r}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let r=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),n=e.getBoundingClientRect(),o=this.space;if(!o){let s=this.dom.ownerDocument.defaultView||window;o={left:0,top:0,right:s.innerWidth,bottom:s.innerHeight}}return n.top>Math.min(o.bottom,r.bottom)-10||n.bottom<Math.max(o.top,r.top)+10?null:this.view.state.facet(Mr).positionInfo(this.view,r,n,i,o,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,r,i){let n=document.createElement("ul");n.id=r,n.setAttribute("role","listbox"),n.setAttribute("aria-expanded","true"),n.setAttribute("aria-label",this.view.state.phrase("Completions"));let o=null;for(let s=i.from;s<i.to;s++){let{completion:a,match:l}=e[s],{section:c}=a;if(c){let d=typeof c=="string"?c:c.name;if(d!=o&&(s>i.from||i.from==0))if(o=d,typeof c!="string"&&c.header)n.appendChild(c.header(c));else{let p=n.appendChild(document.createElement("completion-section"));p.textContent=d}}let u=n.appendChild(document.createElement("li"));u.id=r+"-"+s,u.setAttribute("role","option");let f=this.optionClass(a);f&&(u.className=f);for(let d of this.optionContent){let p=d(a,this.view.state,this.view,l);p&&u.appendChild(p)}}return i.from&&n.classList.add("cm-completionListIncompleteTop"),i.to<e.length&&n.classList.add("cm-completionListIncompleteBottom"),n}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}};function NG(t,e){return r=>new X4(r,t,e)}function jG(t,e){let r=t.getBoundingClientRect(),i=e.getBoundingClientRect(),n=r.height/t.offsetHeight;i.top<r.top?t.scrollTop-=(r.top-i.top)/n:i.bottom>r.bottom&&(t.scrollTop+=(i.bottom-r.bottom)/n)}function KP(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function BG(t,e){let r=[],i=null,n=l=>{r.push(l);let{section:c}=l.completion;if(c){i||(i=[]);let u=typeof c=="string"?c:c.name;i.some(f=>f.name==u)||i.push(typeof c=="string"?{name:u}:c)}};for(let l of t)if(l.hasResult()){let c=l.result.getMatch;if(l.result.filter===!1)for(let u of l.result.options)n(new Bm(u,l.source,c?c(u):[],1e9-r.length));else{let u=new $4(e.sliceDoc(l.from,l.to));for(let f of l.result.options)if(u.match(f.label)){let d=f.displayLabel?c?c(f,u.matched):[]:u.matched;n(new Bm(f,l.source,d,u.score+(f.boost||0)))}}}if(i){let l=Object.create(null),c=0,u=(f,d)=>{var p,O;return((p=f.rank)!==null&&p!==void 0?p:1e9)-((O=d.rank)!==null&&O!==void 0?O:1e9)||(f.name<d.name?-1:1)};for(let f of i.sort(u))c-=1e5,l[f.name]=c;for(let f of r){let{section:d}=f.completion;d&&(f.score+=l[typeof d=="string"?d:d.name])}}let o=[],s=null,a=e.facet(Mr).compareCompletions;for(let l of r.sort((c,u)=>u.score-c.score||a(c.completion,u.completion))){let c=l.completion;!s||s.label!=c.label||s.detail!=c.detail||s.type!=null&&c.type!=null&&s.type!=c.type||s.apply!=c.apply||s.boost!=c.boost?o.push(l):KP(l.completion)>KP(s)&&(o[o.length-1]=l),s=l.completion}return o}var I4=class t{constructor(e,r,i,n,o,s){this.options=e,this.attrs=r,this.tooltip=i,this.timestamp=n,this.selected=o,this.disabled=s}setSelected(e,r){return e==this.selected||e>=this.options.length?this:new t(this.options,JP(r,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,r,i,n,o){let s=BG(e,r);if(!s.length)return n&&e.some(l=>l.state==1)?new t(n.options,n.attrs,n.tooltip,n.timestamp,n.selected,!0):null;let a=r.facet(Mr).selectOnOpen?0:-1;if(n&&n.selected!=a&&n.selected!=-1){let l=n.options[n.selected].completion;for(let c=0;c<s.length;c++)if(s[c].completion==l){a=c;break}}return new t(s,JP(i,a),{pos:e.reduce((l,c)=>c.hasResult()?Math.min(l,c.from):l,1e8),create:ZG,above:o.aboveCursor},n?n.timestamp:Date.now(),a,!1)}map(e){return new t(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}},L4=class t{constructor(e,r,i){this.active=e,this.id=r,this.open=i}static start(){return new t(FG,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:r}=e,i=r.facet(Mr),o=(i.override||r.languageDataAt("autocomplete",Ks(r)).map(MG)).map(a=>(this.active.find(c=>c.source==a)||new Ko(a,this.active.some(c=>c.state!=0)?1:0)).update(e,i));o.length==this.active.length&&o.every((a,l)=>a==this.active[l])&&(o=this.active);let s=this.open;s&&e.docChanged&&(s=s.map(e.changes)),e.selection||o.some(a=>a.hasResult()&&e.changes.touchesRange(a.from,a.to))||!VG(o,this.active)?s=I4.build(o,r,this.id,s,i):s&&s.disabled&&!o.some(a=>a.state==1)&&(s=null),!s&&o.every(a=>a.state!=1)&&o.some(a=>a.hasResult())&&(o=o.map(a=>a.hasResult()?new Ko(a.source,0):a));for(let a of e.effects)a.is(sQ)&&(s=s&&s.setSelected(a.value,this.id));return o==this.active&&s==this.open?this:new t(o,this.id,s)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:qG}};function VG(t,e){if(t==e)return!0;for(let r=0,i=0;;){for(;r<t.length&&!t[r].hasResult;)r++;for(;i<e.length&&!e[i].hasResult;)i++;let n=r==t.length,o=i==e.length;if(n||o)return n==o;if(t[r++].result!=e[i++].result)return!1}}var qG={"aria-autocomplete":"list"};function JP(t,e){let r={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};return e>-1&&(r["aria-activedescendant"]=t+"-"+e),r}var FG=[];function z4(t){return t.isUserEvent("input.type")?"input":t.isUserEvent("delete.backward")?"delete":null}var Ko=class t{constructor(e,r,i=-1){this.source=e,this.state=r,this.explicitPos=i}hasResult(){return!1}update(e,r){let i=z4(e),n=this;i?n=n.handleUserEvent(e,i,r):e.docChanged?n=n.handleChange(e):e.selection&&n.state!=0&&(n=new t(n.source,0));for(let o of e.effects)if(o.is(Vm))n=new t(n.source,1,o.value?Ks(e.state):-1);else if(o.is(nh))n=new t(n.source,0);else if(o.is(oQ))for(let s of o.value)s.source==n.source&&(n=s);return n}handleUserEvent(e,r,i){return r=="delete"||!i.activateOnTyping?this.map(e.changes):new t(this.source,1)}handleChange(e){return e.changes.touchesRange(Ks(e.startState))?new t(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new t(this.source,this.state,e.mapPos(this.explicitPos))}},qm=class t extends Ko{constructor(e,r,i,n,o){super(e,2,r),this.result=i,this.from=n,this.to=o}hasResult(){return!0}handleUserEvent(e,r,i){var n;let o=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),a=Ks(e.state);if((this.explicitPos<0?a<=o:a<this.from)||a>s||r=="delete"&&Ks(e.startState)==this.from)return new Ko(this.source,r=="input"&&i.activateOnTyping?1:0);let l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),c;return WG(this.result.validFor,e.state,o,s)?new t(this.source,l,this.result,o,s):this.result.update&&(c=this.result.update(this.result,o,s,new Ec(e.state,a,l>=0)))?new t(this.source,l,c,c.from,(n=c.to)!==null&&n!==void 0?n:Ks(e.state)):new Ko(this.source,1,l)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Ko(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new t(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}};function WG(t,e,r,i){if(!t)return!1;let n=e.sliceDoc(r,i);return typeof t=="function"?t(n,r,i,e):iQ(t,!0).test(n)}var oQ=De.define({map(t,e){return t.map(r=>r.map(e))}}),sQ=De.define(),Ni=Ot.define({create(){return L4.start()},update(t,e){return t.update(e)},provide:t=>[Yo.from(t,e=>e.tooltip),xe.contentAttributes.from(t,e=>e.attrs)]});function aQ(t,e){let r=e.completion.apply||e.completion.label,i=t.state.field(Ni).active.find(n=>n.source==e.source);return i instanceof qm?(typeof r=="string"?t.dispatch(Object.assign(Object.assign({},zG(t.state,r,i.from,i.to)),{annotations:nQ.of(e.completion)})):r(t,e.completion,i.from,i.to),!0):!1}var ZG=NG(Ni,aQ);function Jo(t,e="option"){return r=>{let i=r.state.field(Ni,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp<r.state.facet(Mr).interactionDelay)return!1;let n=1,o;e=="page"&&(o=s4(r,i.open.tooltip))&&(n=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1));let{length:s}=i.open.options,a=i.open.selected>-1?i.open.selected+n*(t?1:-1):t?0:s-1;return a<0?a=e=="page"?0:s-1:a>=s&&(a=e=="page"?s-1:0),r.dispatch({effects:sQ.of(a)}),!0}}var Wm=t=>{let e=t.state.field(Ni,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(Mr).interactionDelay?!1:aQ(t,e.open.options[e.open.selected])},lh=t=>t.state.field(Ni,!1)?(t.dispatch({effects:Vm.of(!0)}),!0):!1,j4=t=>{let e=t.state.field(Ni,!1);return!e||!e.active.some(r=>r.state!=0)?!1:(t.dispatch({effects:nh.of(null)}),!0)},M4=class{constructor(e,r){this.active=e,this.context=r,this.time=Date.now(),this.updates=[],this.done=void 0}},YG=50,HG=1e3,GG=dt.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(Ni).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(Ni);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Ni)==e)return;let r=t.transactions.some(n=>(n.selection||n.docChanged)&&!z4(n));for(let n=0;n<this.running.length;n++){let o=this.running[n];if(r||o.updates.length+t.transactions.length>YG&&Date.now()-o.time>HG){for(let s of o.context.abortListeners)try{s()}catch(a){pi(this.view.state,a)}o.context.abortListeners=null,this.running.splice(n--,1)}else o.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(n=>n.effects.some(o=>o.is(Vm)))&&(this.pendingStart=!0);let i=this.pendingStart?50:t.state.facet(Mr).activateOnTypingDelay;if(this.debounceUpdate=e.active.some(n=>n.state==1&&!this.running.some(o=>o.active.source==n.source))?setTimeout(()=>this.startUpdate(),i):-1,this.composing!=0)for(let n of t.transactions)z4(n)=="input"?this.composing=2:this.composing==2&&n.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(Ni);for(let r of e.active)r.state==1&&!this.running.some(i=>i.active.source==r.source)&&this.startQuery(r)}startQuery(t){let{state:e}=this.view,r=Ks(e),i=new Ec(e,r,t.explicitPos==r),n=new M4(t,i);this.running.push(n),Promise.resolve(t.source(i)).then(o=>{n.context.aborted||(n.done=o||null,this.scheduleAccept())},o=>{this.view.dispatch({effects:nh.of(null)}),pi(this.view.state,o)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Mr).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],r=this.view.state.facet(Mr);for(let i=0;i<this.running.length;i++){let n=this.running[i];if(n.done===void 0)continue;if(this.running.splice(i--,1),n.done){let s=new qm(n.active.source,n.active.explicitPos,n.done,n.done.from,(t=n.done.to)!==null&&t!==void 0?t:Ks(n.updates.length?n.updates[0].startState:this.view.state));for(let a of n.updates)s=s.update(a,r);if(s.hasResult()){e.push(s);continue}}let o=this.view.state.field(Ni).active.find(s=>s.source==n.active.source);if(o&&o.state==1)if(n.done==null){let s=new Ko(n.active.source,0);for(let a of n.updates)s=s.update(a,r);s.state!=1&&e.push(s)}else this.startQuery(o)}e.length&&this.view.dispatch({effects:oQ.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(Ni,!1);if(e&&e.tooltip&&this.view.state.facet(Mr).closeOnBlur){let r=e.open&&s4(this.view,e.open.tooltip);(!r||!r.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:nh.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Vm.of(!1)}),20),this.composing=0}}}),lQ=xe.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xB7\xB7\xB7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25CB'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25CC'"}},".cm-completionIcon-variable":{"&:after":{content:"'\u{1D465}'"}},".cm-completionIcon-constant":{"&:after":{content:"'\u{1D436}'"}},".cm-completionIcon-type":{"&:after":{content:"'\u{1D461}'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222A'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25A1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\u{1F511}\uFE0E'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25A2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),D4=class{constructor(e,r,i,n){this.field=e,this.line=r,this.from=i,this.to=n}},U4=class t{constructor(e,r,i){this.field=e,this.from=r,this.to=i}map(e){let r=e.mapPos(this.from,-1,qt.TrackDel),i=e.mapPos(this.to,1,qt.TrackDel);return r==null||i==null?null:new t(this.field,r,i)}},N4=class t{constructor(e,r){this.lines=e,this.fieldPositions=r}instantiate(e,r){let i=[],n=[r],o=e.doc.lineAt(r),s=/^\s*/.exec(o.text)[0];for(let l of this.lines){if(i.length){let c=s,u=/^\t*/.exec(l)[0].length;for(let f=0;f<u;f++)c+=e.facet(Qn);n.push(r+c.length-u),l=c+l.slice(u)}i.push(l),r+=l.length+1}let a=this.fieldPositions.map(l=>new U4(l.field,n[l.line]+l.from,n[l.line]+l.to));return{text:i,ranges:a}}static parse(e){let r=[],i=[],n=[],o;for(let s of e.split(/\r\n?|\n/)){for(;o=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(s);){let a=o[1]?+o[1]:null,l=o[2]||o[3]||"",c=-1;for(let u=0;u<r.length;u++)(a!=null?r[u].seq==a:l&&r[u].name==l)&&(c=u);if(c<0){let u=0;for(;u<r.length&&(a==null||r[u].seq!=null&&r[u].seq<a);)u++;r.splice(u,0,{seq:a,name:l}),c=u;for(let f of n)f.field>=c&&f.field++}n.push(new D4(c,i.length,o.index,o.index+l.length)),s=s.slice(0,o.index)+l+s.slice(o.index+o[0].length)}for(let a;a=/\\([{}])/.exec(s);){s=s.slice(0,a.index)+a[1]+s.slice(a.index+a[0].length);for(let l of n)l.line==i.length&&l.from>a.index&&(l.from--,l.to--)}i.push(s)}return new t(i,n)}},KG=Le.widget({widget:new class extends Tr{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),JG=Le.mark({class:"cm-snippetField"}),Cc=class t{constructor(e,r){this.ranges=e,this.active=r,this.deco=Le.set(e.map(i=>(i.from==i.to?KG:JG).range(i.from,i.to)))}map(e){let r=[];for(let i of this.ranges){let n=i.map(e);if(!n)return null;r.push(n)}return new t(r,this.active)}selectionInsideField(e){return e.ranges.every(r=>this.ranges.some(i=>i.field==this.active&&i.from<=r.from&&i.to>=r.to))}},ch=De.define({map(t,e){return t&&t.map(e)}}),eK=De.define(),oh=Ot.define({create(){return null},update(t,e){for(let r of e.effects){if(r.is(ch))return r.value;if(r.is(eK)&&t)return new Cc(t.ranges,r.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>xe.decorations.from(t,e=>e?e.deco:Le.none)});function B4(t,e){return ce.create(t.filter(r=>r.field==e).map(r=>ce.range(r.from,r.to)))}function tK(t){let e=N4.parse(t);return(r,i,n,o)=>{let{text:s,ranges:a}=e.instantiate(r.state,n),l={changes:{from:n,to:o,insert:gt.of(s)},scrollIntoView:!0,annotations:i?[nQ.of(i),Jt.userEvent.of("input.complete")]:void 0};if(a.length&&(l.selection=B4(a,0)),a.some(c=>c.field>0)){let c=new Cc(a,0),u=l.effects=[ch.of(c)];r.state.field(oh,!1)===void 0&&u.push(De.appendConfig.of([oh,sK,aK,lQ]))}r.dispatch(r.state.update(l))}}function cQ(t){return({state:e,dispatch:r})=>{let i=e.field(oh,!1);if(!i||t<0&&i.active==0)return!1;let n=i.active+t,o=t>0&&!i.ranges.some(s=>s.field==n+t);return r(e.update({selection:B4(i.ranges,n),effects:ch.of(o?null:new Cc(i.ranges,n)),scrollIntoView:!0})),!0}}var rK=({state:t,dispatch:e})=>t.field(oh,!1)?(e(t.update({effects:ch.of(null)})),!0):!1,iK=cQ(1),nK=cQ(-1);var oK=[{key:"Tab",run:iK,shift:nK},{key:"Escape",run:rK}],eQ=Re.define({combine(t){return t.length?t[0]:oK}}),sK=cr.highest(vr.compute([eQ],t=>t.facet(eQ)));function Dr(t,e){return Object.assign(Object.assign({},e),{apply:tK(t)})}var aK=xe.domEventHandlers({mousedown(t,e){let r=e.state.field(oh,!1),i;if(!r||(i=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let n=r.ranges.find(o=>o.from<=i&&o.to>=i);return!n||n.field==r.active?!1:(e.dispatch({selection:B4(r.ranges,n.field),effects:ch.of(r.ranges.some(o=>o.field>n.field)?new Cc(r.ranges,n.field):null),scrollIntoView:!0}),!0)}});var sh={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},rl=De.define({map(t,e){let r=e.mapPos(t,-1,qt.TrackAfter);return r==null?void 0:r}}),V4=new class extends En{};V4.startSide=1;V4.endSide=-1;var uQ=Ot.define({create(){return Et.empty},update(t,e){if(t=t.map(e.changes),e.selection){let r=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:i=>i>=r.from&&i<=r.to})}for(let r of e.effects)r.is(rl)&&(t=t.update({add:[V4.range(r.value,r.value+1)]}));return t}});function fQ(){return[cK,uQ]}var R4="()[]{}<>";function hQ(t){for(let e=0;e<R4.length;e+=2)if(R4.charCodeAt(e)==t)return R4.charAt(e+1);return Pf(t<128?t:t+1)}function dQ(t,e){return t.languageDataAt("closeBrackets",e)[0]||sh}var lK=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),cK=xe.inputHandler.of((t,e,r,i)=>{if((lK?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let n=t.state.selection.main;if(i.length>2||i.length==2&&ci(hr(i,0))==1||e!=n.from||r!=n.to)return!1;let o=uK(t.state,i);return o?(t.dispatch(o),!0):!1}),pQ=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=dQ(t,t.selection.main.head).brackets||sh.brackets,n=null,o=t.changeByRange(s=>{if(s.empty){let a=fK(t.doc,s.head);for(let l of i)if(l==a&&Zm(t.doc,s.head)==hQ(hr(l,0)))return{changes:{from:s.head-l.length,to:s.head+l.length},range:ce.cursor(s.head-l.length)}}return{range:n=s}});return n||e(t.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!n};function uK(t,e){let r=dQ(t,t.selection.main.head),i=r.brackets||sh.brackets;for(let n of i){let o=hQ(hr(n,0));if(e==n)return o==n?pK(t,n,i.indexOf(n+n+n)>-1,r):hK(t,n,o,r.before||sh.before);if(e==o&&mQ(t,t.selection.main.from))return dK(t,n,o)}return null}function mQ(t,e){let r=!1;return t.field(uQ).between(0,t.doc.length,i=>{i==e&&(r=!0)}),r}function Zm(t,e){let r=t.sliceString(e,e+2);return r.slice(0,ci(hr(r,0)))}function fK(t,e){let r=t.sliceString(e-2,e);return ci(hr(r,0))==r.length?r:r.slice(1)}function hK(t,e,r,i){let n=null,o=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:r,from:s.to}],effects:rl.of(s.to+e.length),range:ce.range(s.anchor+e.length,s.head+e.length)};let a=Zm(t.doc,s.head);return!a||/\s/.test(a)||i.indexOf(a)>-1?{changes:{insert:e+r,from:s.head},effects:rl.of(s.head+e.length),range:ce.cursor(s.head+e.length)}:{range:n=s}});return n?null:t.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function dK(t,e,r){let i=null,n=t.changeByRange(o=>o.empty&&Zm(t.doc,o.head)==r?{changes:{from:o.head,to:o.head+r.length,insert:r},range:ce.cursor(o.head+r.length)}:i={range:o});return i?null:t.update(n,{scrollIntoView:!0,userEvent:"input.type"})}function pK(t,e,r,i){let n=i.stringPrefixes||sh.stringPrefixes,o=null,s=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:e,from:a.to}],effects:rl.of(a.to+e.length),range:ce.range(a.anchor+e.length,a.head+e.length)};let l=a.head,c=Zm(t.doc,l),u;if(c==e){if(tQ(t,l))return{changes:{insert:e+e,from:l},effects:rl.of(l+e.length),range:ce.cursor(l+e.length)};if(mQ(t,l)){let d=r&&t.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+d.length,insert:d},range:ce.cursor(l+d.length)}}}else{if(r&&t.sliceDoc(l-2*e.length,l)==e+e&&(u=rQ(t,l-2*e.length,n))>-1&&tQ(t,u))return{changes:{insert:e+e+e+e,from:l},effects:rl.of(l+e.length),range:ce.cursor(l+e.length)};if(t.charCategorizer(l)(c)!=$t.Word&&rQ(t,l,n)>-1&&!mK(t,l,e,n))return{changes:{insert:e+e,from:l},effects:rl.of(l+e.length),range:ce.cursor(l+e.length)}}return{range:o=a}});return o?null:t.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function tQ(t,e){let r=pt(t).resolveInner(e+1);return r.parent&&r.from==e}function mK(t,e,r,i){let n=pt(t).resolveInner(e,-1),o=i.reduce((s,a)=>Math.max(s,a.length),0);for(let s=0;s<5;s++){let a=t.sliceDoc(n.from,Math.min(n.to,n.from+r.length+o)),l=a.indexOf(r);if(!l||l>-1&&i.indexOf(a.slice(0,l))>-1){let u=n.firstChild;for(;u&&u.from==n.from&&u.to-u.from>r.length+l;){if(t.sliceDoc(u.to-r.length,u.to)==r)return!1;u=u.firstChild}return!0}let c=n.to==e&&n.parent;if(!c)break;n=c}return!1}function rQ(t,e,r){let i=t.charCategorizer(e);if(i(t.sliceDoc(e-1,e))!=$t.Word)return e;for(let n of r){let o=e-n.length;if(t.sliceDoc(o,e)==n&&i(t.sliceDoc(o-1,o))!=$t.Word)return o}return-1}function q4(t={}){return[Ni,Mr.of(t),GG,gK,lQ]}var OK=[{key:"Ctrl-Space",run:lh},{key:"Escape",run:j4},{key:"ArrowDown",run:Jo(!0)},{key:"ArrowUp",run:Jo(!1)},{key:"PageDown",run:Jo(!0,"page")},{key:"PageUp",run:Jo(!1,"page")},{key:"Enter",run:Wm}],gK=cr.highest(vr.computeN([Mr],t=>t.facet(Mr).defaultKeymap?[OK]:[]));var Gm=class t{static create(e,r,i,n,o){let s=n+(n<<8)+e+(r<<4)|0;return new t(e,r,i,s,o,[],[])}constructor(e,r,i,n,o,s,a){this.type=e,this.value=r,this.from=i,this.hash=n,this.end=o,this.children=s,this.positions=a,this.hashProp=[[qe.contextHash,n]]}addChild(e,r){e.prop(qe.contextHash)!=this.hash&&(e=new ut(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(r)}toTree(e,r=this.end){let i=this.children.length-1;return i>=0&&(r=Math.max(r,this.positions[i]+this.children[i].length+this.from)),new ut(e.types[this.type],this.children,this.positions,r-this.from).balance({makeTree:(n,o,s)=>new ut(Kt.none,n,o,s,this.hashProp)})}},_e;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(_e||(_e={}));var Z4=class{constructor(e,r){this.start=e,this.content=r,this.marks=[],this.parsers=[]}},Y4=class{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return hh(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,r=0,i=0){for(let n=r;n<e;n++)i+=this.text.charCodeAt(n)==9?4-i%4:1;return i}findColumn(e){let r=0;for(let i=0;r<this.text.length&&i<e;r++)i+=this.text.charCodeAt(r)==9?4-i%4:1;return r}scrub(){if(!this.baseIndent)return this.text;let e="";for(let r=0;r<this.basePos;r++)e+=" ";return e+this.text.slice(this.basePos)}};function OQ(t,e,r){if(r.pos==r.text.length||t!=e.block&&r.indent>=e.stack[r.depth+1].value+r.baseIndent)return!0;if(r.indent>=r.baseIndent+4)return!1;let i=(t.type==_e.OrderedList?l3:a3)(r,e,!1);return i>0&&(t.type!=_e.BulletList||s3(r,e,!1)<0)&&r.text.charCodeAt(r.pos+i-1)==t.value}var PQ={[_e.Blockquote](t,e,r){return r.next!=62?!1:(r.markers.push(yt(_e.QuoteMark,e.lineStart+r.pos,e.lineStart+r.pos+1)),r.moveBase(r.pos+(un(r.text.charCodeAt(r.pos+1))?2:1)),t.end=e.lineStart+r.text.length,!0)},[_e.ListItem](t,e,r){return r.indent<r.baseIndent+t.value&&r.next>-1?!1:(r.moveBaseColumn(r.baseIndent+t.value),!0)},[_e.OrderedList]:OQ,[_e.BulletList]:OQ,[_e.Document](){return!0}};function un(t){return t==32||t==9||t==10||t==13}function hh(t,e=0){for(;e<t.length&&un(t.charCodeAt(e));)e++;return e}function gQ(t,e,r){for(;e>r&&un(t.charCodeAt(e-1));)e--;return e}function QQ(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;if(e<t.pos+3)return-1;if(t.next==96){for(let r=e;r<t.text.length;r++)if(t.text.charCodeAt(r)==96)return-1}return e}function _Q(t){return t.next!=62?-1:t.text.charCodeAt(t.pos+1)==32?2:1}function s3(t,e,r){if(t.next!=42&&t.next!=45&&t.next!=95)return-1;let i=1;for(let n=t.pos+1;n<t.text.length;n++){let o=t.text.charCodeAt(n);if(o==t.next)i++;else if(!un(o))return-1}return r&&t.next==45&&$Q(t)>-1&&t.depth==e.stack.length||i<3?-1:1}function AQ(t,e){for(let r=t.stack.length-1;r>=0;r--)if(t.stack[r].type==e)return!0;return!1}function a3(t,e,r){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||un(t.text.charCodeAt(t.pos+1)))&&(!r||AQ(e,_e.BulletList)||t.skipSpace(t.pos+2)<t.text.length)?1:-1}function l3(t,e,r){let i=t.pos,n=t.next;for(;n>=48&&n<=57;){i++;if(i==t.text.length)return-1;n=t.text.charCodeAt(i)}return i==t.pos||i>t.pos+9||n!=46&&n!=41||i<t.text.length-1&&!un(t.text.charCodeAt(i+1))||r&&!AQ(e,_e.OrderedList)&&(t.skipSpace(i+1)==t.text.length||i>t.pos+1||t.next!=49)?-1:i+1-t.pos}function RQ(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==35;)e++;if(e<t.text.length&&t.text.charCodeAt(e)!=32)return-1;let r=e-t.pos;return r>6?-1:r}function $Q(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;let r=e;for(;e<t.text.length&&un(t.text.charCodeAt(e));)e++;return e==t.text.length?r:-1}var H4=/^[ \t]*$/,XQ=/-->/,IQ=/\?>/,G4=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,XQ],[/^\s*<\?/,IQ],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?: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|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,H4],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,H4]];function LQ(t,e,r){if(t.next!=60)return-1;let i=t.text.slice(t.pos);for(let n=0,o=G4.length-(r?1:0);n<o;n++)if(G4[n][0].test(i))return n;return-1}function bQ(t,e){let r=t.countIndent(e,t.pos,t.indent),i=t.countIndent(t.skipSpace(e),e,r);return i>=r+5?r+1:i}function il(t,e,r){let i=t.length-1;i>=0&&t[i].to==e&&t[i].type==_e.CodeText?t[i].to=r:t.push(yt(_e.CodeText,e,r))}var Ym={LinkReference:void 0,IndentedCode(t,e){let r=e.baseIndent+4;if(e.indent<r)return!1;let i=e.findColumn(r),n=t.lineStart+i,o=t.lineStart+e.text.length,s=[],a=[];for(il(s,n,o);t.nextLine()&&e.depth>=t.stack.length;)if(e.pos==e.text.length){il(a,t.lineStart-1,t.lineStart);for(let l of e.markers)a.push(l)}else{if(e.indent<r)break;{if(a.length){for(let c of a)c.type==_e.CodeText?il(s,c.from,c.to):s.push(c);a=[]}il(s,t.lineStart-1,t.lineStart);for(let c of e.markers)s.push(c);o=t.lineStart+e.text.length;let l=t.lineStart+e.findColumn(e.baseIndent+4);l<o&&il(s,l,o)}}return a.length&&(a=a.filter(l=>l.type!=_e.CodeText),a.length&&(e.markers=a.concat(e.markers))),t.addNode(t.buffer.writeElements(s,-n).finish(_e.CodeBlock,o-n),n),!0},FencedCode(t,e){let r=QQ(e);if(r<0)return!1;let i=t.lineStart+e.pos,n=e.next,o=r-e.pos,s=e.skipSpace(r),a=gQ(e.text,e.text.length,s),l=[yt(_e.CodeMark,i,i+o)];s<a&&l.push(yt(_e.CodeInfo,t.lineStart+s,t.lineStart+a));for(let c=!0;t.nextLine()&&e.depth>=t.stack.length;c=!1){let u=e.pos;if(e.indent-e.baseIndent<4)for(;u<e.text.length&&e.text.charCodeAt(u)==n;)u++;if(u-e.pos>=o&&e.skipSpace(u)==e.text.length){for(let f of e.markers)l.push(f);l.push(yt(_e.CodeMark,t.lineStart+e.pos,t.lineStart+u)),t.nextLine();break}else{c||il(l,t.lineStart-1,t.lineStart);for(let p of e.markers)l.push(p);let f=t.lineStart+e.basePos,d=t.lineStart+e.text.length;f<d&&il(l,f,d)}}return t.addNode(t.buffer.writeElements(l,-i).finish(_e.FencedCode,t.prevLineEnd()-i),i),!0},Blockquote(t,e){let r=_Q(e);return r<0?!1:(t.startContext(_e.Blockquote,e.pos),t.addNode(_e.QuoteMark,t.lineStart+e.pos,t.lineStart+e.pos+1),e.moveBase(e.pos+r),null)},HorizontalRule(t,e){if(s3(e,t,!1)<0)return!1;let r=t.lineStart+e.pos;return t.nextLine(),t.addNode(_e.HorizontalRule,r),!0},BulletList(t,e){let r=a3(e,t,!1);if(r<0)return!1;t.block.type!=_e.BulletList&&t.startContext(_e.BulletList,e.basePos,e.next);let i=bQ(e,e.pos+1);return t.startContext(_e.ListItem,e.basePos,i-e.baseIndent),t.addNode(_e.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(i),null},OrderedList(t,e){let r=l3(e,t,!1);if(r<0)return!1;t.block.type!=_e.OrderedList&&t.startContext(_e.OrderedList,e.basePos,e.text.charCodeAt(e.pos+r-1));let i=bQ(e,e.pos+r);return t.startContext(_e.ListItem,e.basePos,i-e.baseIndent),t.addNode(_e.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(i),null},ATXHeading(t,e){let r=RQ(e);if(r<0)return!1;let i=e.pos,n=t.lineStart+i,o=gQ(e.text,e.text.length,i),s=o;for(;s>i&&e.text.charCodeAt(s-1)==e.next;)s--;(s==o||s==i||!un(e.text.charCodeAt(s-1)))&&(s=e.text.length);let a=t.buffer.write(_e.HeaderMark,0,r).writeElements(t.parser.parseInline(e.text.slice(i+r+1,s),n+r+1),-n);s<e.text.length&&a.write(_e.HeaderMark,s-i,o-i);let l=a.finish(_e.ATXHeading1-1+r,e.text.length-i);return t.nextLine(),t.addNode(l,n),!0},HTMLBlock(t,e){let r=LQ(e,t,!1);if(r<0)return!1;let i=t.lineStart+e.pos,n=G4[r][1],o=[],s=n!=H4;for(;!n.test(e.text)&&t.nextLine();){if(e.depth<t.stack.length){s=!1;break}for(let c of e.markers)o.push(c)}s&&t.nextLine();let a=n==XQ?_e.CommentBlock:n==IQ?_e.ProcessingInstructionBlock:_e.HTMLBlock,l=t.prevLineEnd();return t.addNode(t.buffer.writeElements(o,-i).finish(a,l-i),i),!0},SetextHeading:void 0},K4=class{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,r,i){if(this.stage==-1)return!1;let n=i.content+`
`+r.scrub(),o=this.advance(n);return o>-1&&o<n.length?this.complete(e,i,o):!1}finish(e,r){return(this.stage==2||this.stage==3)&&hh(r.content,this.pos)==r.content.length?this.complete(e,r,r.content.length):!1}complete(e,r,i){return e.addLeafElement(r,yt(_e.LinkReference,this.start,this.start+i,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(e===!1&&(this.stage=-1),!1)}advance(e){for(;;){if(this.stage==-1)return-1;if(this.stage==0){if(!this.nextStage(BQ(e,this.pos,this.start,!0)))return-1;if(e.charCodeAt(this.pos)!=58)return this.stage=-1;this.elts.push(yt(_e.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(this.stage==1){if(!this.nextStage(NQ(e,hh(e,this.pos),this.start)))return-1}else if(this.stage==2){let r=hh(e,this.pos),i=0;if(r>this.pos){let n=jQ(e,r,this.start);if(n){let o=F4(e,n.to-this.start);o>0&&(this.nextStage(n),i=o)}}return i||(i=F4(e,this.pos)),i>0&&i<e.length?i:-1}else return F4(e,this.pos)}}};function F4(t,e){for(;e<t.length;e++){let r=t.charCodeAt(e);if(r==10)break;if(!un(r))return-1}return e}var J4=class{nextLine(e,r,i){let n=r.depth<e.stack.length?-1:$Q(r),o=r.next;if(n<0)return!1;let s=yt(_e.HeaderMark,e.lineStart+r.pos,e.lineStart+n);return e.nextLine(),e.addLeafElement(i,yt(o==61?_e.SetextHeading1:_e.SetextHeading2,i.start,e.prevLineEnd(),[...e.parser.parseInline(i.content,i.start),s])),!0}finish(){return!1}},bK={LinkReference(t,e){return e.content.charCodeAt(0)==91?new K4(e):null},SetextHeading(){return new J4}},yK=[(t,e)=>RQ(e)>=0,(t,e)=>QQ(e)>=0,(t,e)=>_Q(e)>=0,(t,e)=>a3(e,t,!0)>=0,(t,e)=>l3(e,t,!0)>=0,(t,e)=>s3(e,t,!0)>=0,(t,e)=>LQ(e,t,!0)>=0],vK={text:"",end:0},e3=class{constructor(e,r,i,n){this.parser=e,this.input=r,this.ranges=n,this.line=new Y4,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=n[n.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=n[0].from,this.block=Gm.create(_e.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=i.length?new n3(i,r):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(this.stoppedAt!=null&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let i=0;;){let n=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;i<e.markers.length&&(!n||e.markers[i].from<n.end);){let o=e.markers[i++];this.addNode(o.type,o.from,o.to)}if(!n)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){for(let i of this.parser.blockParsers)if(i){let n=i(this,e);if(n!=!1){if(n==!0)return null;e.forward();continue e}}break}let r=new Z4(this.lineStart+e.pos,e.text.slice(e.pos));for(let i of this.parser.leafBlockParsers)if(i){let n=i(this,r);n&&r.parsers.push(n)}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let i of this.parser.endLeafBlock)if(i(this,e,r))break e}for(let i of r.parsers)if(i.nextLine(this,e,r))return null;r.content+=`
`+e.scrub();for(let i of e.markers)r.marks.push(i)}return this.finishLeaf(r),null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let r=this.fragments.takeNodes(this);return r?(this.absoluteLineStart+=r,this.lineStart=VQ(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0):!1}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let r=vK;if(r.end=e,e>=this.to)r.text="";else if(r.text=this.lineChunkAt(e),r.end+=r.text.length,this.ranges.length>1){let i=this.absoluteLineStart,n=this.rangeI;for(;this.ranges[n].to<r.end;){n++;let o=this.ranges[n].from,s=this.lineChunkAt(o);r.end=o+s.length,r.text=r.text.slice(0,this.ranges[n-1].to-i)+s,i=r.end-r.text.length}}return r}readLine(){let{line:e}=this,{text:r,end:i}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=i,e.reset(r);e.depth<this.stack.length;e.depth++){let n=this.stack[e.depth],o=this.parser.skipContextMarkup[n.type];if(!o)throw new Error("Unhandled block context "+_e[n.type]);if(!o(n,this,e))break;e.forward()}}lineChunkAt(e){let r=this.input.chunk(e),i;if(this.input.lineChunks)i=r==`
`?"":r;else{let n=r.indexOf(`
`);i=n<0?r:r.slice(0,n)}return e+i.length>this.to?i.slice(0,this.to-e):i}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,r,i=0){this.block=Gm.create(e,i,this.lineStart+r,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,r,i=0){this.startContext(this.parser.getNodeType(e),r,i)}addNode(e,r,i){typeof e=="number"&&(e=new ut(this.parser.nodeSet.types[e],Pc,Pc,(i!=null?i:this.prevLineEnd())-r)),this.block.addChild(e,r-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,r){this.addNode(this.buffer.writeElements(i3(r.children,e.marks),-r.from).finish(r.type,r.to-r.from),r.from)}finishContext(){let e=this.stack.pop(),r=this.stack[this.stack.length-1];r.addChild(e.toTree(this.parser.nodeSet),e.from-r.from),this.block=r}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?zQ(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let i of e.parsers)if(i.finish(this,e))return;let r=i3(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(r,-e.start).finish(_e.Paragraph,e.content.length),e.start)}elt(e,r,i,n){return typeof e=="string"?yt(this.parser.getNodeType(e),r,i,n):new Jm(e,r)}get buffer(){return new Km(this.parser.nodeSet)}};function zQ(t,e,r,i,n){let o=t[e].to,s=[],a=[],l=r.from+i;function c(u,f){for(;f?u>=o:u>o;){let d=t[e+1].from-o;i+=d,u+=d,e++,o=t[e].to}}for(let u=r.firstChild;u;u=u.nextSibling){c(u.from+i,!0);let f=u.from+i,d,p=n.get(u.tree);p?d=p:u.to+i>o?(d=zQ(t,e,u,i,n),c(u.to+i,!1)):d=u.toTree(),s.push(d),a.push(f-l)}return c(r.to+i,!1),new ut(r.type,s,a,r.to+i-l,r.tree?r.tree.propValues:void 0)}var ph=class t extends qo{constructor(e,r,i,n,o,s,a,l,c){super(),this.nodeSet=e,this.blockParsers=r,this.leafBlockParsers=i,this.blockNames=n,this.endLeafBlock=o,this.skipContextMarkup=s,this.inlineParsers=a,this.inlineNames=l,this.wrappers=c,this.nodeTypes=Object.create(null);for(let u of e.types)this.nodeTypes[u.name]=u.id}createParse(e,r,i){let n=new e3(this,e,r,i);for(let o of this.wrappers)n=o(n,e,r,i);return n}configure(e){let r=t3(e);if(!r)return this;let{nodeSet:i,skipContextMarkup:n}=this,o=this.blockParsers.slice(),s=this.leafBlockParsers.slice(),a=this.blockNames.slice(),l=this.inlineParsers.slice(),c=this.inlineNames.slice(),u=this.endLeafBlock.slice(),f=this.wrappers;if(uh(r.defineNodes)){n=Object.assign({},n);let d=i.types.slice(),p;for(let O of r.defineNodes){let{name:w,block:x,composite:k,style:C}=typeof O=="string"?{name:O}:O;if(d.some(z=>z.name==w))continue;k&&(n[d.length]=(z,L,Z)=>k(L,Z,z.value));let R=d.length,Q=k?["Block","BlockContext"]:x?R>=_e.ATXHeading1&&R<=_e.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;d.push(Kt.define({id:R,name:w,props:Q&&[[qe.group,Q]]})),C&&(p||(p={}),Array.isArray(C)||C instanceof ln?p[w]=C:Object.assign(p,C))}i=new Bo(d),p&&(i=i.extend(wr(p)))}if(uh(r.props)&&(i=i.extend(...r.props)),uh(r.remove))for(let d of r.remove){let p=this.blockNames.indexOf(d),O=this.inlineNames.indexOf(d);p>-1&&(o[p]=s[p]=void 0),O>-1&&(l[O]=void 0)}if(uh(r.parseBlock))for(let d of r.parseBlock){let p=a.indexOf(d.name);if(p>-1)o[p]=d.parse,s[p]=d.leaf;else{let O=d.before?Hm(a,d.before):d.after?Hm(a,d.after)+1:a.length-1;o.splice(O,0,d.parse),s.splice(O,0,d.leaf),a.splice(O,0,d.name)}d.endLeaf&&u.push(d.endLeaf)}if(uh(r.parseInline))for(let d of r.parseInline){let p=c.indexOf(d.name);if(p>-1)l[p]=d.parse;else{let O=d.before?Hm(c,d.before):d.after?Hm(c,d.after)+1:c.length-1;l.splice(O,0,d.parse),c.splice(O,0,d.name)}}return r.wrap&&(f=f.concat(r.wrap)),new t(i,o,s,a,u,n,l,c,f)}getNodeType(e){let r=this.nodeTypes[e];if(r==null)throw new RangeError(`Unknown node type '${e}'`);return r}parseInline(e,r){let i=new r3(this,e,r);e:for(let n=r;n<i.end;){let o=i.char(n);for(let s of this.inlineParsers)if(s){let a=s(i,o,n);if(a>=0){n=a;continue e}}n++}return i.resolveMarkers(0)}};function uh(t){return t!=null&&t.length>0}function t3(t){if(!Array.isArray(t))return t;if(t.length==0)return null;let e=t3(t[0]);if(t.length==1)return e;let r=t3(t.slice(1));if(!r||!e)return e||r;let i=(s,a)=>(s||Pc).concat(a||Pc),n=e.wrap,o=r.wrap;return{props:i(e.props,r.props),defineNodes:i(e.defineNodes,r.defineNodes),parseBlock:i(e.parseBlock,r.parseBlock),parseInline:i(e.parseInline,r.parseInline),remove:i(e.remove,r.remove),wrap:n?o?(s,a,l,c)=>n(o(s,a,l,c),a,l,c):n:o}}function Hm(t,e){let r=t.indexOf(e);if(r<0)throw new RangeError(`Position specified relative to unknown parser ${e}`);return r}var MQ=[Kt.none];for(let t=1,e;e=_e[t];t++)MQ[t]=Kt.define({id:t,name:e,props:t>=_e.Escape?[]:[[qe.group,t in PQ?["Block","BlockContext"]:["Block","LeafBlock"]]],top:e=="Document"});var Pc=[],Km=class{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,r,i,n=0){return this.content.push(e,r,i,4+n*4),this}writeElements(e,r=0){for(let i of e)i.writeTo(this,r);return this}finish(e,r){return ut.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:r})}},nl=class{constructor(e,r,i,n=Pc){this.type=e,this.from=r,this.to=i,this.children=n}writeTo(e,r){let i=e.content.length;e.writeElements(this.children,r),e.content.push(this.type,this.from+r,this.to+r,e.content.length+4-i)}toTree(e){return new Km(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}},Jm=class{constructor(e,r){this.tree=e,this.from=r}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return Pc}writeTo(e,r){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+r,this.to+r,-1)}toTree(){return this.tree}};function yt(t,e,r,i){return new nl(t,e,r,i)}var DQ={resolve:"Emphasis",mark:"EmphasisMark"},UQ={resolve:"Emphasis",mark:"EmphasisMark"},fh={},yQ={},ji=class{constructor(e,r,i,n){this.type=e,this.from=r,this.to=i,this.side=n}},vQ="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",mh=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{mh=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch(t){}var W4={Escape(t,e,r){if(e!=92||r==t.end-1)return-1;let i=t.char(r+1);for(let n=0;n<vQ.length;n++)if(vQ.charCodeAt(n)==i)return t.append(yt(_e.Escape,r,r+2));return-1},Entity(t,e,r){if(e!=38)return-1;let i=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(t.slice(r+1,r+31));return i?t.append(yt(_e.Entity,r,r+1+i[0].length)):-1},InlineCode(t,e,r){if(e!=96||r&&t.char(r-1)==96)return-1;let i=r+1;for(;i<t.end&&t.char(i)==96;)i++;let n=i-r,o=0;for(;i<t.end;i++)if(t.char(i)==96){if(o++,o==n&&t.char(i+1)!=96)return t.append(yt(_e.InlineCode,r,i+1,[yt(_e.CodeMark,r,r+n),yt(_e.CodeMark,i+1-n,i+1)]))}else o=0;return-1},HTMLTag(t,e,r){if(e!=60||r==t.end-1)return-1;let i=t.slice(r+1,t.end),n=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(i);if(n)return t.append(yt(_e.Autolink,r,r+1+n[0].length,[yt(_e.LinkMark,r,r+1),yt(_e.URL,r+1,r+n[0].length),yt(_e.LinkMark,r+n[0].length,r+1+n[0].length)]));let o=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(i);if(o)return t.append(yt(_e.Comment,r,r+1+o[0].length));let s=/^\?[^]*?\?>/.exec(i);if(s)return t.append(yt(_e.ProcessingInstruction,r,r+1+s[0].length));let a=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(i);return a?t.append(yt(_e.HTMLTag,r,r+1+a[0].length)):-1},Emphasis(t,e,r){if(e!=95&&e!=42)return-1;let i=r+1;for(;t.char(i)==e;)i++;let n=t.slice(r-1,r),o=t.slice(i,i+1),s=mh.test(n),a=mh.test(o),l=/\s|^$/.test(n),c=/\s|^$/.test(o),u=!c&&(!a||l||s),f=!l&&(!s||c||a),d=u&&(e==42||!f||s),p=f&&(e==42||!u||a);return t.append(new ji(e==95?DQ:UQ,r,i,(d?1:0)|(p?2:0)))},HardBreak(t,e,r){if(e==92&&t.char(r+1)==10)return t.append(yt(_e.HardBreak,r,r+2));if(e==32){let i=r+1;for(;t.char(i)==32;)i++;if(t.char(i)==10&&i>=r+2)return t.append(yt(_e.HardBreak,r,i+1))}return-1},Link(t,e,r){return e==91?t.append(new ji(fh,r,r+1,1)):-1},Image(t,e,r){return e==33&&t.char(r+1)==91?t.append(new ji(yQ,r,r+2,1)):-1},LinkEnd(t,e,r){if(e!=93)return-1;for(let i=t.parts.length-1;i>=0;i--){let n=t.parts[i];if(n instanceof ji&&(n.type==fh||n.type==yQ)){if(!n.side||t.skipSpace(n.to)==r&&!/[(\[]/.test(t.slice(r+1,r+2)))return t.parts[i]=null,-1;let o=t.takeContent(i),s=t.parts[i]=wK(t,o,n.type==fh?_e.Link:_e.Image,n.from,r+1);if(n.type==fh)for(let a=0;a<i;a++){let l=t.parts[a];l instanceof ji&&l.type==fh&&(l.side=0)}return s.to}}return-1}};function wK(t,e,r,i,n){let{text:o}=t,s=t.char(n),a=n;if(e.unshift(yt(_e.LinkMark,i,i+(r==_e.Image?2:1))),e.push(yt(_e.LinkMark,n-1,n)),s==40){let l=t.skipSpace(n+1),c=NQ(o,l-t.offset,t.offset),u;c&&(l=t.skipSpace(c.to),l!=c.to&&(u=jQ(o,l-t.offset,t.offset),u&&(l=t.skipSpace(u.to)))),t.char(l)==41&&(e.push(yt(_e.LinkMark,n,n+1)),a=l+1,c&&e.push(c),u&&e.push(u),e.push(yt(_e.LinkMark,l,a)))}else if(s==91){let l=BQ(o,n-t.offset,t.offset,!1);l&&(e.push(l),a=l.to)}return yt(r,i,a,e)}function NQ(t,e,r){if(t.charCodeAt(e)==60){for(let n=e+1;n<t.length;n++){let o=t.charCodeAt(n);if(o==62)return yt(_e.URL,e+r,n+1+r);if(o==60||o==10)return!1}return null}else{let n=0,o=e;for(let s=!1;o<t.length;o++){let a=t.charCodeAt(o);if(un(a))break;if(s)s=!1;else if(a==40)n++;else if(a==41){if(!n)break;n--}else a==92&&(s=!0)}return o>e?yt(_e.URL,e+r,o+r):o==t.length?null:!1}}function jQ(t,e,r){let i=t.charCodeAt(e);if(i!=39&&i!=34&&i!=40)return!1;let n=i==40?41:i;for(let o=e+1,s=!1;o<t.length;o++){let a=t.charCodeAt(o);if(s)s=!1;else{if(a==n)return yt(_e.LinkTitle,e+r,o+1+r);a==92&&(s=!0)}}return null}function BQ(t,e,r,i){for(let n=!1,o=e+1,s=Math.min(t.length,o+999);o<s;o++){let a=t.charCodeAt(o);if(n)n=!1;else{if(a==93)return i?!1:yt(_e.LinkLabel,e+r,o+1+r);if(i&&!un(a)&&(i=!1),a==91)return!1;a==92&&(n=!0)}}return null}var r3=class{constructor(e,r,i){this.parser=e,this.text=r,this.offset=i,this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,r){return this.text.slice(e-this.offset,r-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,r,i,n,o){return this.append(new ji(e,r,i,(n?1:0)|(o?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let i=e;i<this.parts.length;i++){let n=this.parts[i];if(!(n instanceof ji&&n.type.resolve&&n.side&2))continue;let o=n.type==DQ||n.type==UQ,s=n.to-n.from,a,l=i-1;for(;l>=e;l--){let w=this.parts[l];if(w instanceof ji&&w.side&1&&w.type==n.type&&!(o&&(n.side&1||w.side&2)&&(w.to-w.from+s)%3==0&&((w.to-w.from)%3||s%3))){a=w;break}}if(!a)continue;let c=n.type.resolve,u=[],f=a.from,d=n.to;if(o){let w=Math.min(2,a.to-a.from,s);f=a.to-w,d=n.from+w,c=w==1?"Emphasis":"StrongEmphasis"}a.type.mark&&u.push(this.elt(a.type.mark,f,a.to));for(let w=l+1;w<i;w++)this.parts[w]instanceof nl&&u.push(this.parts[w]),this.parts[w]=null;n.type.mark&&u.push(this.elt(n.type.mark,n.from,d));let p=this.elt(c,f,d,u);this.parts[l]=o&&a.from!=f?new ji(a.type,a.from,f,a.side):null,(this.parts[i]=o&&n.to!=d?new ji(n.type,d,n.to,n.side):null)?this.parts.splice(i,0,p):this.parts[i]=p}let r=[];for(let i=e;i<this.parts.length;i++){let n=this.parts[i];n instanceof nl&&r.push(n)}return r}findOpeningDelimiter(e){for(let r=this.parts.length-1;r>=0;r--){let i=this.parts[r];if(i instanceof ji&&i.type==e)return r}return null}takeContent(e){let r=this.resolveMarkers(e);return this.parts.length=e,r}skipSpace(e){return hh(this.text,e-this.offset)+this.offset}elt(e,r,i,n){return typeof e=="string"?yt(this.parser.getNodeType(e),r,i,n):new Jm(e,r)}};function i3(t,e){if(!e.length)return t;if(!t.length)return e;let r=t.slice(),i=0;for(let n of e){for(;i<r.length&&r[i].to<n.to;)i++;if(i<r.length&&r[i].from<n.from){let o=r[i];o instanceof nl&&(r[i]=new nl(o.type,o.from,o.to,i3(o.children,[n])))}else r.splice(i++,0,n)}return r}var xK=[_e.CodeBlock,_e.ListItem,_e.OrderedList,_e.BulletList],n3=class{constructor(e,r){this.fragments=e,this.input=r,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,e.length&&(this.fragment=e[this.i++])}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}moveTo(e,r){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){let o=this.fragment.to;for(;o>0&&this.input.read(o-1,o)!=`
`;)o--;this.fragmentEnd=o?o-1:0}let i=this.cursor;i||(i=this.cursor=this.fragment.tree.cursor(),i.firstChild());let n=e+this.fragment.offset;for(;i.to<=n;)if(!i.parent())return!1;for(;;){if(i.from>=n)return this.fragment.from<=r;if(!i.childAfter(n))return!1}}matches(e){let r=this.cursor.tree;return r&&r.prop(qe.contextHash)==e}takeNodes(e){let r=this.cursor,i=this.fragment.offset,n=this.fragmentEnd-(this.fragment.openEnd?1:0),o=e.absoluteLineStart,s=o,a=e.block.children.length,l=s,c=a;for(;;){if(r.to-i>n){if(r.type.isAnonymous&&r.firstChild())continue;break}let u=VQ(r.from-i,e.ranges);if(r.to-i<=e.ranges[e.rangeI].to)e.addNode(r.tree,u);else{let f=new ut(e.parser.nodeSet.types[_e.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(f,r.tree),e.addNode(f,u)}if(r.type.is("Block")&&(xK.indexOf(r.type.id)<0?(s=r.to-i,a=e.block.children.length):(s=l,a=c,l=r.to-i,c=e.block.children.length)),!r.nextSibling())break}for(;e.block.children.length>a;)e.block.children.pop(),e.block.positions.pop();return s-o}};function VQ(t,e){let r=t;for(let i=1;i<e.length;i++){let n=e[i-1].to,o=e[i].from;n<t&&(r-=o-n)}return r}var kK=wr({"Blockquote/...":A.quote,HorizontalRule:A.contentSeparator,"ATXHeading1/... SetextHeading1/...":A.heading1,"ATXHeading2/... SetextHeading2/...":A.heading2,"ATXHeading3/...":A.heading3,"ATXHeading4/...":A.heading4,"ATXHeading5/...":A.heading5,"ATXHeading6/...":A.heading6,"Comment CommentBlock":A.comment,Escape:A.escape,Entity:A.character,"Emphasis/...":A.emphasis,"StrongEmphasis/...":A.strong,"Link/... Image/...":A.link,"OrderedList/... BulletList/...":A.list,"BlockQuote/...":A.quote,"InlineCode CodeText":A.monospace,"URL Autolink":A.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":A.processingInstruction,"CodeInfo LinkLabel":A.labelName,LinkTitle:A.string,Paragraph:A.content}),qQ=new ph(new Bo(MQ).extend(kK),Object.keys(Ym).map(t=>Ym[t]),Object.keys(Ym).map(t=>bK[t]),Object.keys(Ym),yK,PQ,Object.keys(W4).map(t=>W4[t]),Object.keys(W4),[]);function SK(t,e,r){let i=[];for(let n=t.firstChild,o=e;;n=n.nextSibling){let s=n?n.from:r;if(s>o&&i.push({from:o,to:s}),!n)break;o=n.to}return i}function FQ(t){let{codeParser:e,htmlParser:r}=t;return{wrap:Dp((n,o)=>{let s=n.type.id;if(e&&(s==_e.CodeBlock||s==_e.FencedCode)){let a="";if(s==_e.FencedCode){let c=n.node.getChild(_e.CodeInfo);c&&(a=o.read(c.from,c.to))}let l=e(a);if(l)return{parser:l,overlay:c=>c.type.id==_e.CodeText}}else if(r&&(s==_e.HTMLBlock||s==_e.HTMLTag))return{parser:r,overlay:SK(n.node,n.from,n.to)};return null})}}var TK={resolve:"Strikethrough",mark:"StrikethroughMark"},EK={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":A.strikethrough}},{name:"StrikethroughMark",style:A.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,r){if(e!=126||t.char(r+1)!=126||t.char(r+2)==126)return-1;let i=t.slice(r-1,r),n=t.slice(r+2,r+3),o=/\s|^$/.test(i),s=/\s|^$/.test(n),a=mh.test(i),l=mh.test(n);return t.addDelimiter(TK,r,r+2,!s&&(!l||o||a),!o&&(!a||s||l))},after:"Emphasis"}]};function dh(t,e,r=0,i,n=0){let o=0,s=!0,a=-1,l=-1,c=!1,u=()=>{i.push(t.elt("TableCell",n+a,n+l,t.parser.parseInline(e.slice(a,l),n+a)))};for(let f=r;f<e.length;f++){let d=e.charCodeAt(f);d==124&&!c?((!s||a>-1)&&o++,s=!1,i&&(a>-1&&u(),i.push(t.elt("TableDelimiter",f+n,f+n+1))),a=l=-1):(c||d!=32&&d!=9)&&(a<0&&(a=f),l=f+1),c=!c&&d==92}return a>-1&&(o++,i&&u()),o}function wQ(t,e){for(let r=e;r<t.length;r++){let i=t.charCodeAt(r);if(i==124)return!0;i==92&&r++}return!1}var WQ=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/,eO=class{constructor(){this.rows=null}nextLine(e,r,i){if(this.rows==null){this.rows=!1;let n;if((r.next==45||r.next==58||r.next==124)&&WQ.test(n=r.text.slice(r.pos))){let o=[];dh(e,i.content,0,o,i.start)==dh(e,n,r.pos)&&(this.rows=[e.elt("TableHeader",i.start,i.start+i.content.length,o),e.elt("TableDelimiter",e.lineStart+r.pos,e.lineStart+r.text.length)])}}else if(this.rows){let n=[];dh(e,r.text,r.pos,n,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+r.pos,e.lineStart+r.text.length,n))}return!1}finish(e,r){return this.rows?(e.addLeafElement(r,e.elt("Table",r.start,r.start+r.content.length,this.rows)),!0):!1}},CK={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":A.heading}},"TableRow",{name:"TableCell",style:A.content},{name:"TableDelimiter",style:A.processingInstruction}],parseBlock:[{name:"Table",leaf(t,e){return wQ(e.content,0)?new eO:null},endLeaf(t,e,r){if(r.parsers.some(n=>n instanceof eO)||!wQ(e.text,e.basePos))return!1;let i=t.scanLine(t.absoluteLineEnd+1).text;return WQ.test(i)&&dh(t,e.text,e.basePos)==dh(t,i,e.basePos)},before:"SetextHeading"}]},o3=class{nextLine(){return!1}finish(e,r){return e.addLeafElement(r,e.elt("Task",r.start,r.start+r.content.length,[e.elt("TaskMarker",r.start,r.start+3),...e.parser.parseInline(r.content.slice(3),r.start+3)])),!0}},PK={defineNodes:[{name:"Task",block:!0,style:A.list},{name:"TaskMarker",style:A.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\][ \t]/.test(e.content)&&t.parentType().name=="ListItem"?new o3:null},after:"SetextHeading"}]},xQ=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,kQ=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,QK=/[\w-]+\.[\w-]+($|\/)/,SQ=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,TQ=/\/[a-zA-Z\d@.]+/gy;function EQ(t,e,r,i){let n=0;for(let o=e;o<r;o++)t[o]==i&&n++;return n}function _K(t,e){kQ.lastIndex=e;let r=kQ.exec(t);if(!r||QK.exec(r[0])[0].indexOf("_")>-1)return-1;let i=e+r[0].length;for(;;){let n=t[i-1],o;if(/[?!.,:*_~]/.test(n)||n==")"&&EQ(t,e,i,")")>EQ(t,e,i,"("))i--;else if(n==";"&&(o=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e,i))))i=e+o.index;else break}return i}function CQ(t,e){SQ.lastIndex=e;let r=SQ.exec(t);if(!r)return-1;let i=r[0][r[0].length-1];return i=="_"||i=="-"?-1:e+r[0].length-(i=="."?1:0)}var AK={parseInline:[{name:"Autolink",parse(t,e,r){let i=r-t.offset;xQ.lastIndex=i;let n=xQ.exec(t.text),o=-1;return!n||(n[1]||n[2]?o=_K(t.text,i+n[0].length):n[3]?o=CQ(t.text,i):(o=CQ(t.text,i+n[0].length),o>-1&&n[0]=="xmpp:"&&(TQ.lastIndex=o,n=TQ.exec(t.text),n&&(o=n.index+n[0].length))),o<0)?-1:(t.addElement(t.elt("URL",r,o+t.offset)),o+t.offset)}}]},ZQ=[CK,PK,EK,AK];function YQ(t,e,r){return(i,n,o)=>{if(n!=t||i.char(o+1)==t)return-1;let s=[i.elt(r,o,o+1)];for(let a=o+1;a<i.end;a++){let l=i.char(a);if(l==t)return i.addElement(i.elt(e,o,a+1,s.concat(i.elt(r,a,a+1))));if(l==92&&s.push(i.elt("Escape",a,a+++2)),un(l))break}return-1}}var HQ={defineNodes:[{name:"Superscript",style:A.special(A.content)},{name:"SuperscriptMark",style:A.processingInstruction}],parseInline:[{name:"Superscript",parse:YQ(94,"Superscript","SuperscriptMark")}]},GQ={defineNodes:[{name:"Subscript",style:A.special(A.content)},{name:"SubscriptMark",style:A.processingInstruction}],parseInline:[{name:"Subscript",parse:YQ(126,"Subscript","SubscriptMark")}]},KQ={defineNodes:[{name:"Emoji",style:A.character}],parseInline:[{name:"Emoji",parse(t,e,r){let i;return e!=58||!(i=/^[a-zA-Z_0-9]+:/.exec(t.slice(r+1,t.end)))?-1:t.addElement(t.elt("Emoji",r,r+1+i[0].length))}}]};var f3=class t{constructor(e,r,i,n,o,s,a,l,c,u=0,f){this.p=e,this.stack=r,this.state=i,this.reducePos=n,this.pos=o,this.score=s,this.buffer=a,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=f}toString(){return`[${this.stack.filter((e,r)=>r%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,r,i=0){let n=e.parser.context;return new t(e,[],r,i,i,0,[],0,n?new tO(n,n.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,r){this.stack.push(this.state,r,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var r;let i=e>>19,n=e&65535,{parser:o}=this.p,s=o.dynamicPrecedence(n);if(s&&(this.score+=s),i==0){this.pushState(o.getGoto(this.state,n,!0),this.reducePos),n<o.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,4,!0),this.reduceContext(n,this.reducePos);return}let a=this.stack.length-(i-1)*3-(e&262144?6:0),l=a?this.stack[a-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(!((r=this.p.parser.nodeSet.types[n])===null||r===void 0)&&r.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let u=a?this.stack[a-1]:0,f=this.bufferBase+this.buffer.length-u;if(n<o.minRepeatTerm||e&131072){let d=o.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,l,d,f+4,!0)}if(e&262144)this.state=this.stack[a];else{let d=this.stack[a-3];this.state=o.getGoto(d,n,!0)}for(;this.stack.length>a;)this.stack.pop();this.reduceContext(n,l)}storeNode(e,r,i,n=4,o=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let s=this,a=this.buffer.length;if(a==0&&s.parent&&(a=s.bufferBase-s.parent.bufferBase,s=s.parent),a>0&&s.buffer[a-4]==0&&s.buffer[a-1]>-1){if(r==i)return;if(s.buffer[a-2]>=r){s.buffer[a-2]=i;return}}}if(!o||this.pos==i)this.buffer.push(e,r,i,n);else{let s=this.buffer.length;if(s>0&&this.buffer[s-4]!=0)for(;s>0&&this.buffer[s-2]>i;)this.buffer[s]=this.buffer[s-4],this.buffer[s+1]=this.buffer[s-3],this.buffer[s+2]=this.buffer[s-2],this.buffer[s+3]=this.buffer[s-1],s-=4,n>4&&(n-=4);this.buffer[s]=e,this.buffer[s+1]=r,this.buffer[s+2]=i,this.buffer[s+3]=n}}shift(e,r,i,n){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=n,this.shiftContext(r,i),r<=this.p.parser.maxNode&&this.buffer.push(r,i,n,4);else{let o=e,{parser:s}=this.p;(n>this.pos||r<=s.maxNode)&&(this.pos=n,s.stateFlag(o,1)||(this.reducePos=n)),this.pushState(o,i),this.shiftContext(r,i),r<=s.maxNode&&this.buffer.push(r,i,n,4)}}apply(e,r,i,n){e&65536?this.reduce(e):this.shift(e,r,i,n)}useNode(e,r){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let n=this.pos;this.reducePos=this.pos=n+e.length,this.pushState(r,n),this.buffer.push(i,n,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,r=e.buffer.length;for(;r>0&&e.buffer[r-2]>e.reducePos;)r-=4;let i=e.buffer.slice(r),n=e.bufferBase+r;for(;e&&n==e.bufferBase;)e=e.parent;return new t(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,n,this.curContext,this.lookAhead,e)}recoverByDelete(e,r){let i=e<=this.p.parser.maxNode;i&&this.storeNode(e,this.pos,r,4),this.storeNode(0,this.pos,r,i?8:4),this.pos=this.reducePos=r,this.score-=190}canShift(e){for(let r=new h3(this);;){let i=this.p.parser.stateSlot(r.state,4)||this.p.parser.hasAction(r.state,e);if(i==0)return!1;if(!(i&65536))return!0;r.reduce(i)}}recoverByInsert(e){if(this.stack.length>=300)return[];let r=this.p.parser.nextStates(this.state);if(r.length>8||this.stack.length>=120){let n=[];for(let o=0,s;o<r.length;o+=2)(s=r[o+1])!=this.state&&this.p.parser.hasAction(s,e)&&n.push(r[o],s);if(this.stack.length<120)for(let o=0;n.length<8&&o<r.length;o+=2){let s=r[o+1];n.some((a,l)=>l&1&&a==s)||n.push(r[o],s)}r=n}let i=[];for(let n=0;n<r.length&&i.length<4;n+=2){let o=r[n+1];if(o==this.state)continue;let s=this.split();s.pushState(o,this.pos),s.storeNode(0,s.pos,s.pos,4,!0),s.shiftContext(r[n],this.pos),s.reducePos=this.pos,s.score-=200,i.push(s)}return i}forceReduce(){let{parser:e}=this.p,r=e.stateSlot(this.state,5);if(!(r&65536))return!1;if(!e.validAction(this.state,r)){let i=r>>19,n=r&65535,o=this.stack.length-i*3;if(o<0||e.getGoto(this.stack[o],n,!1)<0){let s=this.findForcedReduction();if(s==null)return!1;r=s}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(r),!0}findForcedReduction(){let{parser:e}=this.p,r=[],i=(n,o)=>{if(!r.includes(n))return r.push(n),e.allActions(n,s=>{if(!(s&393216))if(s&65536){let a=(s>>19)-o;if(a>1){let l=s&65535,c=this.stack.length-a*3;if(c>=0&&e.getGoto(this.stack[c],l,!1)>=0)return a<<19|65536|l}}else{let a=i(s,o+1);if(a!=null)return a}})};return i(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let r=0;r<this.stack.length;r+=3)if(this.stack[r]!=e.stack[r])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,r){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(r)))}reduceContext(e,r){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(r)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let r=new tO(this.curContext.tracker,e);r.hash!=this.curContext.hash&&this.emitContext(),this.curContext=r}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}},tO=class{constructor(e,r){this.tracker=e,this.context=r,this.hash=e.strict?e.hash(r):0}},h3=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let r=e&65535,i=e>>19;i==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(i-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],r,!0);this.state=n}},d3=class t{constructor(e,r,i){this.stack=e,this.pos=r,this.index=i,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,r=e.bufferBase+e.buffer.length){return new t(e,r,r-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new t(this.stack,this.pos,this.index)}};function Oh(t,e=Uint16Array){if(typeof t!="string")return t;let r=null;for(let i=0,n=0;i<t.length;){let o=0;for(;;){let s=t.charCodeAt(i++),a=!1;if(s==126){o=65535;break}s>=92&&s--,s>=34&&s--;let l=s-32;if(l>=46&&(l-=46,a=!0),o+=l,a)break;o*=46}r?r[n++]=o:r=new e(o)}return r}var Qc=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}},JQ=new Qc,p3=class{constructor(e,r){this.input=e,this.ranges=r,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=JQ,this.rangeIndex=0,this.pos=this.chunkPos=r[0].from,this.range=r[0],this.end=r[r.length-1].to,this.readNext()}resolveOffset(e,r){let i=this.range,n=this.rangeIndex,o=this.pos+e;for(;o<i.from;){if(!n)return null;let s=this.ranges[--n];o-=i.from-s.to,i=s}for(;r<0?o>i.to:o>=i.to;){if(n==this.ranges.length-1)return null;let s=this.ranges[++n];o+=s.from-i.to,i=s}return o}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let r of this.ranges)if(r.to>e)return Math.max(e,r.from);return this.end}peek(e){let r=this.chunkOff+e,i,n;if(r>=0&&r<this.chunk.length)i=this.pos+e,n=this.chunk.charCodeAt(r);else{let o=this.resolveOffset(e,1);if(o==null)return-1;if(i=o,i>=this.chunk2Pos&&i<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(i-this.chunk2Pos);else{let s=this.rangeIndex,a=this.range;for(;a.to<=i;)a=this.ranges[++s];this.chunk2=this.input.chunk(this.chunk2Pos=i),i+this.chunk2.length>a.to&&(this.chunk2=this.chunk2.slice(0,a.to-i)),n=this.chunk2.charCodeAt(0)}}return i>=this.token.lookAhead&&(this.token.lookAhead=i+1),n}acceptToken(e,r=0){let i=r?this.resolveOffset(r,-1):this.pos;if(i==null||i<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=i}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:r}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=r,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),r=this.pos+e.length;this.chunk=r>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,r){if(r?(this.token=r,r.start=e,r.lookAhead=e+1,r.value=r.extended=-1):this.token=JQ,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,r){if(e>=this.chunkPos&&r<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,r-this.chunkPos);if(e>=this.chunk2Pos&&r<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,r-this.chunk2Pos);if(e>=this.range.from&&r<=this.range.to)return this.input.read(e,r);let i="";for(let n of this.ranges){if(n.from>=r)break;n.to>e&&(i+=this.input.read(Math.max(n.from,e),Math.min(n.to,r)))}return i}},Js=class{constructor(e,r){this.data=e,this.id=r}token(e,r){let{parser:i}=r.p;n_(this.data,e,r,this.id,i.data,i.tokenPrecTable)}};Js.prototype.contextual=Js.prototype.fallback=Js.prototype.extend=!1;var ea=class{constructor(e,r,i){this.precTable=r,this.elseToken=i,this.data=typeof e=="string"?Oh(e):e}token(e,r){let i=e.pos,n=0;for(;;){let o=e.next<0,s=e.resolveOffset(1,1);if(n_(this.data,e,r,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(o||n++,s==null)break;e.reset(s,e.token)}n&&(e.reset(i,e.token),e.acceptToken(this.elseToken,n))}};ea.prototype.contextual=Js.prototype.fallback=Js.prototype.extend=!1;var kt=class{constructor(e,r={}){this.token=e,this.contextual=!!r.contextual,this.fallback=!!r.fallback,this.extend=!!r.extend}};function n_(t,e,r,i,n,o){let s=0,a=1<<i,{dialect:l}=r.p.parser;e:for(;a&t[s];){let c=t[s+1];for(let p=s+3;p<c;p+=2)if((t[p+1]&a)>0){let O=t[p];if(l.allows(O)&&(e.token.value==-1||e.token.value==O||$K(O,e.token.value,n,o))){e.acceptToken(O);break}}let u=e.next,f=0,d=t[s+2];if(e.next<0&&d>f&&t[c+d*3-3]==65535){s=t[c+d*3-1];continue e}for(;f<d;){let p=f+d>>1,O=c+p+(p<<1),w=t[O],x=t[O+1]||65536;if(u<w)d=p;else if(u>=x)f=p+1;else{s=t[O+2],e.advance();continue e}}break}}function e_(t,e,r){for(let i=e,n;(n=t[i])!=65535;i++)if(n==r)return i-e;return-1}function $K(t,e,r,i){let n=e_(r,i,e);return n<0||e_(r,i,t)<n}var Bi=typeof process!="undefined"&&process.env&&/\bparse\b/.test(process.env.LOG),c3=null;function t_(t,e,r){let i=t.cursor(Pt.IncludeAnonymous);for(i.moveTo(e);;)if(!(r<0?i.childBefore(e):i.childAfter(e)))for(;;){if((r<0?i.to<e:i.from>e)&&!i.type.isError)return r<0?Math.max(0,Math.min(i.to-1,e-25)):Math.min(t.length,Math.max(i.from+1,e+25));if(r<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return r<0?0:t.length}}var m3=class{constructor(e,r){this.fragments=e,this.nodeSet=r,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?t_(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?t_(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let r=this.trees.length-1;if(r<0)return this.nextFragment(),null;let i=this.trees[r],n=this.index[r];if(n==i.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let o=i.children[n],s=this.start[r]+i.positions[n];if(s>e)return this.nextStart=s,null;if(o instanceof ut){if(s==e){if(s<this.safeFrom)return null;let a=s+o.length;if(a<=this.safeTo){let l=o.prop(qe.lookAhead);if(!l||a+l<this.fragment.to)return o}}this.index[r]++,s+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(s),this.index.push(0))}else this.index[r]++,this.nextStart=s+o.length}}},O3=class{constructor(e,r){this.stream=r,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(i=>new Qc)}getActions(e){let r=0,i=null,{parser:n}=e.p,{tokenizers:o}=n,s=n.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,l=0;for(let c=0;c<o.length;c++){if(!(1<<c&s))continue;let u=o[c],f=this.tokens[c];if(!(i&&!u.fallback)&&((u.contextual||f.start!=e.pos||f.mask!=s||f.context!=a)&&(this.updateCachedToken(f,u,e),f.mask=s,f.context=a),f.lookAhead>f.end+25&&(l=Math.max(f.lookAhead,l)),f.value!=0)){let d=r;if(f.extended>-1&&(r=this.addActions(e,f.extended,f.end,r)),r=this.addActions(e,f.value,f.end,r),!u.extend&&(i=f,r>d))break}}for(;this.actions.length>r;)this.actions.pop();return l&&e.setLookAhead(l),!i&&e.pos==this.stream.end&&(i=new Qc,i.value=e.p.parser.eofTerm,i.start=i.end=e.pos,r=this.addActions(e,i.value,i.end,r)),this.mainToken=i,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let r=new Qc,{pos:i,p:n}=e;return r.start=i,r.end=Math.min(i+1,n.stream.end),r.value=i==n.stream.end?n.parser.eofTerm:0,r}updateCachedToken(e,r,i){let n=this.stream.clipPos(i.pos);if(r.token(this.stream.reset(n,e),i),e.value>-1){let{parser:o}=i.p;for(let s=0;s<o.specialized.length;s++)if(o.specialized[s]==e.value){let a=o.specializers[s](this.stream.read(e.start,e.end),i);if(a>=0&&i.p.parser.dialect.allows(a>>1)){a&1?e.extended=a>>1:e.value=a>>1;break}}}else e.value=0,e.end=this.stream.clipPos(n+1)}putAction(e,r,i,n){for(let o=0;o<n;o+=3)if(this.actions[o]==e)return n;return this.actions[n++]=e,this.actions[n++]=r,this.actions[n++]=i,n}addActions(e,r,i,n){let{state:o}=e,{parser:s}=e.p,{data:a}=s;for(let l=0;l<2;l++)for(let c=s.stateSlot(o,l?2:1);;c+=3){if(a[c]==65535)if(a[c+1]==1)c=es(a,c+2);else{n==0&&a[c+1]==2&&(n=this.putAction(es(a,c+2),r,i,n));break}a[c]==r&&(n=this.putAction(es(a,c+1),r,i,n))}return n}},g3=class{constructor(e,r,i,n){this.parser=e,this.input=r,this.ranges=n,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new p3(r,n),this.tokens=new O3(e,this.stream),this.topTerm=e.top[1];let{from:o}=n[0];this.stacks=[f3.start(this,e.top[0],o)],this.fragments=i.length&&this.stream.end-o>e.bufferLength*4?new m3(i,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,r=this.minStackPos,i=this.stacks=[],n,o;if(this.bigReductionCount>300&&e.length==1){let[s]=e;for(;s.forceReduce()&&s.stack.length&&s.stack[s.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let s=0;s<e.length;s++){let a=e[s];for(;;){if(this.tokens.mainToken=null,a.pos>r)i.push(a);else{if(this.advanceStack(a,i,e))continue;{n||(n=[],o=[]),n.push(a);let l=this.tokens.getMainToken(a);o.push(l.value,l.end)}}break}}if(!i.length){let s=n&&XK(n);if(s)return Bi&&console.log("Finish with "+this.stackID(s)),this.stackToTree(s);if(this.parser.strict)throw Bi&&n&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&n){let s=this.stoppedAt!=null&&n[0].pos>this.stoppedAt?n[0]:this.runRecovery(n,o,i);if(s)return Bi&&console.log("Force-finish "+this.stackID(s)),this.stackToTree(s.forceAll())}if(this.recovering){let s=this.recovering==1?1:this.recovering*3;if(i.length>s)for(i.sort((a,l)=>l.score-a.score);i.length>s;)i.pop();i.some(a=>a.reducePos>r)&&this.recovering--}else if(i.length>1){e:for(let s=0;s<i.length-1;s++){let a=i[s];for(let l=s+1;l<i.length;l++){let c=i[l];if(a.sameState(c)||a.buffer.length>500&&c.buffer.length>500)if((a.score-c.score||a.buffer.length-c.buffer.length)>0)i.splice(l--,1);else{i.splice(s--,1);continue e}}}i.length>12&&i.splice(12,i.length-12)}this.minStackPos=i[0].pos;for(let s=1;s<i.length;s++)i[s].pos<this.minStackPos&&(this.minStackPos=i[s].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,r,i){let n=e.pos,{parser:o}=this,s=Bi?this.stackID(e)+" -> ":"";if(this.stoppedAt!=null&&n>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,u=c?e.curContext.hash:0;for(let f=this.fragments.nodeAt(n);f;){let d=this.parser.nodeSet.types[f.type.id]==f.type?o.getGoto(e.state,f.type.id):-1;if(d>-1&&f.length&&(!c||(f.prop(qe.contextHash)||0)==u))return e.useNode(f,d),Bi&&console.log(s+this.stackID(e)+` (via reuse of ${o.getName(f.type.id)})`),!0;if(!(f instanceof ut)||f.children.length==0||f.positions[0]>0)break;let p=f.children[0];if(p instanceof ut&&f.positions[0]==0)f=p;else break}}let a=o.stateSlot(e.state,4);if(a>0)return e.reduce(a),Bi&&console.log(s+this.stackID(e)+` (via always-reduce ${o.getName(a&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;c<l.length;){let u=l[c++],f=l[c++],d=l[c++],p=c==l.length||!i,O=p?e:e.split(),w=this.tokens.mainToken;if(O.apply(u,f,w?w.start:O.pos,d),Bi&&console.log(s+this.stackID(O)+` (via ${u&65536?`reduce of ${o.getName(u&65535)}`:"shift"} for ${o.getName(f)} @ ${n}${O==e?"":", split"})`),p)return!0;O.pos>n?r.push(O):i.push(O)}return!1}advanceFully(e,r){let i=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>i)return r_(e,r),!0}}runRecovery(e,r,i){let n=null,o=!1;for(let s=0;s<e.length;s++){let a=e[s],l=r[s<<1],c=r[(s<<1)+1],u=Bi?this.stackID(a)+" -> ":"";if(a.deadEnd&&(o||(o=!0,a.restart(),Bi&&console.log(u+this.stackID(a)+" (restarted)"),this.advanceFully(a,i))))continue;let f=a.split(),d=u;for(let p=0;f.forceReduce()&&p<10&&(Bi&&console.log(d+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,i));p++)Bi&&(d=this.stackID(f)+" -> ");for(let p of a.recoverByInsert(l))Bi&&console.log(u+this.stackID(p)+" (via recover-insert)"),this.advanceFully(p,i);this.stream.end>a.pos?(c==a.pos&&(c++,l=0),a.recoverByDelete(l,c),Bi&&console.log(u+this.stackID(a)+` (via recover-delete ${this.parser.getName(l)})`),r_(a,i)):(!n||n.score<a.score)&&(n=a)}return n}stackToTree(e){return e.close(),ut.build({buffer:d3.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let r=(c3||(c3=new WeakMap)).get(e);return r||c3.set(e,r=String.fromCodePoint(this.nextStackID++)),r+e}};function r_(t,e){for(let r=0;r<e.length;r++){let i=e[r];if(i.pos==t.pos&&i.sameState(t)){e[r].score<t.score&&(e[r]=t);return}}e.push(t)}var b3=class{constructor(e,r,i){this.source=e,this.flags=r,this.disabled=i}allows(e){return!this.disabled||this.disabled[e]==0}},u3=t=>t,ta=class{constructor(e){this.start=e.start,this.shift=e.shift||u3,this.reduce=e.reduce||u3,this.reuse=e.reuse||u3,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}},ti=class t extends qo{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let r=e.nodeNames.split(" ");this.minRepeatTerm=r.length;for(let a=0;a<e.repeatNodeCount;a++)r.push("");let i=Object.keys(e.topRules).map(a=>e.topRules[a][1]),n=[];for(let a=0;a<r.length;a++)n.push([]);function o(a,l,c){n[a].push([l,l.deserialize(String(c))])}if(e.nodeProps)for(let a of e.nodeProps){let l=a[0];typeof l=="string"&&(l=qe[l]);for(let c=1;c<a.length;){let u=a[c++];if(u>=0)o(u,l,a[c++]);else{let f=a[c+-u];for(let d=-u;d>0;d--)o(a[c++],l,f);c++}}}this.nodeSet=new Bo(r.map((a,l)=>Kt.define({name:l>=this.minRepeatTerm?void 0:a,id:l,props:n[l],top:i.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=1024;let s=Oh(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let a=0;a<this.specializerSpecs.length;a++)this.specialized[a]=this.specializerSpecs[a].term;this.specializers=this.specializerSpecs.map(i_),this.states=Oh(e.states,Uint32Array),this.data=Oh(e.stateData),this.goto=Oh(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(a=>typeof a=="number"?new Js(s,a):a),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,r,i){let n=new g3(this,e,r,i);for(let o of this.wrappers)n=o(n,e,r,i);return n}getGoto(e,r,i=!1){let n=this.goto;if(r>=n[0])return-1;for(let o=n[r+1];;){let s=n[o++],a=s&1,l=n[o++];if(a&&i)return l;for(let c=o+(s>>1);o<c;o++)if(n[o]==e)return l;if(a)return-1}}hasAction(e,r){let i=this.data;for(let n=0;n<2;n++)for(let o=this.stateSlot(e,n?2:1),s;;o+=3){if((s=i[o])==65535)if(i[o+1]==1)s=i[o=es(i,o+2)];else{if(i[o+1]==2)return es(i,o+2);break}if(s==r||s==0)return es(i,o+1)}return 0}stateSlot(e,r){return this.states[e*6+r]}stateFlag(e,r){return(this.stateSlot(e,0)&r)>0}validAction(e,r){return!!this.allActions(e,i=>i==r?!0:null)}allActions(e,r){let i=this.stateSlot(e,4),n=i?r(i):void 0;for(let o=this.stateSlot(e,1);n==null;o+=3){if(this.data[o]==65535)if(this.data[o+1]==1)o=es(this.data,o+2);else break;n=r(es(this.data,o+1))}return n}nextStates(e){let r=[];for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=es(this.data,i+2);else break;if(!(this.data[i+2]&1)){let n=this.data[i+1];r.some((o,s)=>s&1&&o==n)||r.push(this.data[i],n)}}return r}configure(e){let r=Object.assign(Object.create(t.prototype),this);if(e.props&&(r.nodeSet=this.nodeSet.extend(...e.props)),e.top){let i=this.topRules[e.top];if(!i)throw new RangeError(`Invalid top rule name ${e.top}`);r.top=i}return e.tokenizers&&(r.tokenizers=this.tokenizers.map(i=>{let n=e.tokenizers.find(o=>o.from==i);return n?n.to:i})),e.specializers&&(r.specializers=this.specializers.slice(),r.specializerSpecs=this.specializerSpecs.map((i,n)=>{let o=e.specializers.find(a=>a.from==i.external);if(!o)return i;let s=Object.assign(Object.assign({},i),{external:o.to});return r.specializers[n]=i_(s),s})),e.contextTracker&&(r.context=e.contextTracker),e.dialect&&(r.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(r.strict=e.strict),e.wrap&&(r.wrappers=r.wrappers.concat(e.wrap)),e.bufferLength!=null&&(r.bufferLength=e.bufferLength),r}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let r=this.dynamicPrecedences;return r==null?0:r[e]||0}parseDialect(e){let r=Object.keys(this.dialects),i=r.map(()=>!1);if(e)for(let o of e.split(" ")){let s=r.indexOf(o);s>=0&&(i[s]=!0)}let n=null;for(let o=0;o<r.length;o++)if(!i[o])for(let s=this.dialects[r[o]],a;(a=this.data[s++])!=65535;)(n||(n=new Uint8Array(this.maxTerm+1)))[a]=1;return new b3(e,i,n)}static deserialize(e){return new t(e)}};function es(t,e){return t[e]|t[e+1]<<16}function XK(t){let e=null;for(let r of t){let i=r.p.stoppedAt;(r.pos==r.p.stream.end||i!=null&&r.pos>i)&&r.p.parser.stateFlag(r.state,2)&&(!e||e.score<r.score)&&(e=r)}return e}function i_(t){if(t.external){let e=t.extend?1:0;return(r,i)=>t.external(r,i)<<1|e}return t.get}var IK=54,LK=1,zK=55,MK=2,DK=56,UK=3,o_=4,NK=5,rO=6,d_=7,p_=8,m_=9,O_=10,jK=11,BK=12,VK=13,y3=57,qK=14,s_=58,g_=20,FK=22,b_=23,WK=24,w3=26,y_=27,ZK=28,YK=31,HK=34,GK=36,KK=37,JK=0,eJ=1,tJ={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},rJ={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},a_={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function iJ(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function v_(t){return t==9||t==10||t==13||t==32}var l_=null,c_=null,u_=0;function x3(t,e){let r=t.pos+e;if(u_==r&&c_==t)return l_;let i=t.peek(e);for(;v_(i);)i=t.peek(++e);let n="";for(;iJ(i);)n+=String.fromCharCode(i),i=t.peek(++e);return c_=t,u_=r,l_=n?n.toLowerCase():i==nJ||i==oJ?void 0:null}var w_=60,iO=62,k3=47,nJ=63,oJ=33,sJ=45;function f_(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let r=0;r<t.length;r++)this.hash+=(this.hash<<4)+t.charCodeAt(r)+(t.charCodeAt(r)<<8)}var aJ=[rO,O_,d_,p_,m_],lJ=new ta({start:null,shift(t,e,r,i){return aJ.indexOf(e)>-1?new f_(x3(i,1)||"",t):t},reduce(t,e){return e==g_&&t?t.parent:t},reuse(t,e,r,i){let n=e.type.id;return n==rO||n==GK?new f_(x3(i,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),cJ=new kt((t,e)=>{if(t.next!=w_){t.next<0&&e.context&&t.acceptToken(y3);return}t.advance();let r=t.next==k3;r&&t.advance();let i=x3(t,0);if(i===void 0)return;if(!i)return t.acceptToken(r?qK:rO);let n=e.context?e.context.name:null;if(r){if(i==n)return t.acceptToken(jK);if(n&&rJ[n])return t.acceptToken(y3,-2);if(e.dialectEnabled(JK))return t.acceptToken(BK);for(let o=e.context;o;o=o.parent)if(o.name==i)return;t.acceptToken(VK)}else{if(i=="script")return t.acceptToken(d_);if(i=="style")return t.acceptToken(p_);if(i=="textarea")return t.acceptToken(m_);if(tJ.hasOwnProperty(i))return t.acceptToken(O_);n&&a_[n]&&a_[n][i]?t.acceptToken(y3,-1):t.acceptToken(rO)}},{contextual:!0}),uJ=new kt(t=>{for(let e=0,r=0;;r++){if(t.next<0){r&&t.acceptToken(s_);break}if(t.next==sJ)e++;else if(t.next==iO&&e>=2){r>=3&&t.acceptToken(s_,-2);break}else e=0;t.advance()}});function fJ(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}var hJ=new kt((t,e)=>{if(t.next==k3&&t.peek(1)==iO){let r=e.dialectEnabled(eJ)||fJ(e.context);t.acceptToken(r?NK:o_,2)}else t.next==iO&&t.acceptToken(o_,1)});function S3(t,e,r){let i=2+t.length;return new kt(n=>{for(let o=0,s=0,a=0;;a++){if(n.next<0){a&&n.acceptToken(e);break}if(o==0&&n.next==w_||o==1&&n.next==k3||o>=2&&o<i&&n.next==t.charCodeAt(o-2))o++,s++;else if((o==2||o==i)&&v_(n.next))s++;else if(o==i&&n.next==iO){a>s?n.acceptToken(e,-s):n.acceptToken(r,-(s-2));break}else if((n.next==10||n.next==13)&&a){n.acceptToken(e,1);break}else o=s=0;n.advance()}})}var dJ=S3("script",IK,LK),pJ=S3("style",zK,MK),mJ=S3("textarea",DK,UK),OJ=wr({"Text RawText":A.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":A.angleBracket,TagName:A.tagName,"MismatchedCloseTag/TagName":[A.tagName,A.invalid],AttributeName:A.attributeName,"AttributeValue UnquotedAttributeValue":A.attributeValue,Is:A.definitionOperator,"EntityReference CharacterReference":A.character,Comment:A.blockComment,Process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Tag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:lJ,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[OJ],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV`P!cpOv&}wx'kx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;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[dJ,pJ,mJ,hJ,cJ,uJ,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:485},tokenPrec:487});function k_(t,e){let r=Object.create(null);for(let i of t.getChildren(b_)){let n=i.getChild(WK),o=i.getChild(w3)||i.getChild(y_);n&&(r[e.read(n.from,n.to)]=o?o.type.id==w3?e.read(o.from+1,o.to-1):e.read(o.from,o.to):"")}return r}function h_(t,e){let r=t.getChild(FK);return r?e.read(r.from,r.to):" "}function v3(t,e,r){let i;for(let n of r)if(!n.attrs||n.attrs(i||(i=k_(t.node.parent.firstChild,e))))return{parser:n.parser};return null}function T3(t=[],e=[]){let r=[],i=[],n=[],o=[];for(let a of t)(a.tag=="script"?r:a.tag=="style"?i:a.tag=="textarea"?n:o).push(a);let s=e.length?Object.create(null):null;for(let a of e)(s[a.name]||(s[a.name]=[])).push(a);return Dp((a,l)=>{let c=a.type.id;if(c==ZK)return v3(a,l,r);if(c==YK)return v3(a,l,i);if(c==HK)return v3(a,l,n);if(c==g_&&o.length){let u=a.node,f=u.firstChild,d=f&&h_(f,l),p;if(d){for(let O of o)if(O.tag==d&&(!O.attrs||O.attrs(p||(p=k_(u,l))))){let w=u.lastChild,x=w.type.id==KK?w.from:u.to;if(x>f.to)return{parser:O.parser,overlay:[{from:f.to,to:x}]}}}}if(s&&c==b_){let u=a.node,f;if(f=u.firstChild){let d=s[l.read(f.from,f.to)];if(d)for(let p of d){if(p.tagName&&p.tagName!=h_(u.parent,l))continue;let O=u.lastChild;if(O.type.id==w3){let w=O.from+1,x=O.lastChild,k=O.to-(x&&x.isError?0:1);if(k>w)return{parser:p.parser,overlay:[{from:w,to:k}]}}else if(O.type.id==y_)return{parser:p.parser,overlay:[{from:O.from,to:O.to}]}}}}return null})}var gJ=99,S_=1,bJ=100,yJ=101,T_=2,E_=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],vJ=58,wJ=40,C_=95,xJ=91,nO=45,kJ=46,SJ=35,TJ=37,EJ=38,CJ=92,PJ=10;function gh(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function QJ(t){return t>=48&&t<=57}var _J=new kt((t,e)=>{for(let r=!1,i=0,n=0;;n++){let{next:o}=t;if(gh(o)||o==nO||o==C_||r&&QJ(o))!r&&(o!=nO||n>0)&&(r=!0),i===n&&o==nO&&i++,t.advance();else if(o==CJ&&t.peek(1)!=PJ)t.advance(),t.next>-1&&t.advance(),r=!0;else{r&&t.acceptToken(o==wJ?bJ:i==2&&e.canShift(T_)?T_:yJ);break}}}),AJ=new kt(t=>{if(E_.includes(t.peek(-1))){let{next:e}=t;(gh(e)||e==C_||e==SJ||e==kJ||e==xJ||e==vJ&&gh(t.peek(1))||e==nO||e==EJ)&&t.acceptToken(gJ)}}),RJ=new kt(t=>{if(!E_.includes(t.peek(-1))){let{next:e}=t;if(e==TJ&&(t.advance(),t.acceptToken(S_)),gh(e)){do t.advance();while(gh(t.next));t.acceptToken(S_)}}}),$J=wr({"AtKeyword import charset namespace keyframes media supports":A.definitionKeyword,"from to selector":A.keyword,NamespaceName:A.namespace,KeyframeName:A.labelName,KeyframeRangeName:A.operatorKeyword,TagName:A.tagName,ClassName:A.className,PseudoClassName:A.constant(A.className),IdName:A.labelName,"FeatureName PropertyName":A.propertyName,AttributeName:A.attributeName,NumberLiteral:A.number,KeywordQuery:A.keyword,UnaryQueryOp:A.operatorKeyword,"CallTag ValueName":A.atom,VariableName:A.variableName,Callee:A.operatorKeyword,Unit:A.unit,"UniversalSelector NestingSelector":A.definitionOperator,MatchOp:A.compareOperator,"ChildOp SiblingOp, LogicOp":A.logicOperator,BinOp:A.arithmeticOperator,Important:A.modifier,Comment:A.blockComment,ColorLiteral:A.color,"ParenthesizedContent StringLiteral":A.string,":":A.punctuation,"PseudoOp #":A.derefOperator,"; ,":A.separator,"( )":A.paren,"[ ]":A.squareBracket,"{ }":A.brace}),XJ={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},IJ={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},LJ={__proto__:null,not:132,only:132},P_=ti.deserialize({version:14,states:":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'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sp![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%SU$d#m$f$yR$x$cq!XZ]!T!m#S#U#X#q#z$P$Y$i$j$q$v%Sp![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%SQ!f^R#l!gT#^!Z#_Q|VR!yqQ!x|R#x!yQ!PWR!{rQ!RXR!|sQxUQ!wpQ#i!cQ#o!jQ#p!kQ${$eR%X$zSgPwQ!phQ#r!nR$l#sZfPhw!n#sa!b[`a!V!^!`#d#eR#b!^R!g^R!i_R#n!iS$e#m$fR%V$yV$c#m$f$yQ!rjR#v!rQdOShPwU!ldh#sR#s!nQ$P#SU$p$P$v%SQ$v$YR%S$qQ#_!ZR$W#_Q$r$PR%T$rQpUS!vp$nR$n#|Q$j#qR%P$jQ!ogS#t!o#uR#u!pQ#f!_R$^#fQ$f#mR$|$fQ$z$eR%W$z_cOPdhw!n#s^UOPdhw!n#sQ!uoQ!}tQ#OuQ#PvQ#|#RR$_#hR$Q#SQ!VZQ!d]Q#V!TQ#q!m[$O#S$P$Y$q$v%SQ$R#UQ$T#XS$h#q$jQ$m#zR%O$iR#}#RQiPR#QwQ!c[Q!kaR#Y!VU!_[a!VQ!j`Q#c!^Q#g!`Q$[#dR$]#e",nodeNames:"\u26A0 Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName , PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",maxTerm:117,nodeProps:[["isolate",-2,3,24,""],["openedBy",17,"(",32,"[",50,"{"],["closedBy",18,")",33,"]",51,"}"]],propSources:[$J],skippedNodes:[0,3,87],repeatNodeCount:11,tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#Z~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#Z~o`OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^l)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^l)sUo`Oy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^l*[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#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[AJ,RJ,_J,1,2,3,4,new ea("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:t=>XJ[t]||-1},{term:58,get:t=>IJ[t]||-1},{term:101,get:t=>LJ[t]||-1}],tokenPrec:1200});var E3=null;function C3(){if(!E3&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],r=new Set;for(let i in t)i!="cssText"&&i!="cssFloat"&&typeof t[i]=="string"&&(/[A-Z]/.test(i)&&(i=i.replace(/[A-Z]/g,n=>"-"+n.toLowerCase())),r.has(i)||(e.push(i),r.add(i)));E3=e.sort().map(i=>({type:"property",label:i}))}return E3||[]}var Q_=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(t=>({type:"class",label:t})),__=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),zJ=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),ra=/^(\w[\w-]*|-\w[\w-]*|)$/,MJ=/^-(-[\w-]*)?$/;function DJ(t,e){var r;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let i=(r=t.parent)===null||r===void 0?void 0:r.firstChild;return(i==null?void 0:i.name)!="Callee"?!1:e.sliceString(i.from,i.to)=="var"}var A_=new sc,UJ=["Declaration"];function NJ(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function R_(t,e,r){if(e.to-e.from>4096){let i=A_.get(e);if(i)return i;let n=[],o=new Set,s=e.cursor(Pt.IncludeAnonymous);if(s.firstChild())do for(let a of R_(t,s.node,r))o.has(a.label)||(o.add(a.label),n.push(a));while(s.nextSibling());return A_.set(e,n),n}else{let i=[],n=new Set;return e.cursor().iterate(o=>{var s;if(r(o)&&o.matchContext(UJ)&&((s=o.node.nextSibling)===null||s===void 0?void 0:s.name)==":"){let a=t.sliceString(o.from,o.to);n.has(a)||(n.add(a),i.push({label:a,type:"variable"}))}}),i}}var jJ=t=>e=>{let{state:r,pos:i}=e,n=pt(r).resolveInner(i,-1),o=n.type.isError&&n.from==n.to-1&&r.doc.sliceString(n.from,n.to)=="-";if(n.name=="PropertyName"||(o||n.name=="TagName")&&/^(Block|Styles)$/.test(n.resolve(n.to).name))return{from:n.from,options:C3(),validFor:ra};if(n.name=="ValueName")return{from:n.from,options:__,validFor:ra};if(n.name=="PseudoClassName")return{from:n.from,options:Q_,validFor:ra};if(t(n)||(e.explicit||o)&&DJ(n,r.doc))return{from:t(n)||o?n.from:i,options:R_(r.doc,NJ(n),t),validFor:MJ};if(n.name=="TagName"){for(let{parent:l}=n;l;l=l.parent)if(l.name=="Block")return{from:n.from,options:C3(),validFor:ra};return{from:n.from,options:zJ,validFor:ra}}if(!e.explicit)return null;let s=n.resolve(i),a=s.childBefore(i);return a&&a.name==":"&&s.name=="PseudoClassSelector"?{from:i,options:Q_,validFor:ra}:a&&a.name==":"&&s.name=="Declaration"||s.name=="ArgList"?{from:i,options:__,validFor:ra}:s.name=="Block"||s.name=="Styles"?{from:i,options:C3(),validFor:ra}:null},BJ=jJ(t=>t.name=="VariableName"),bh=Jr.define({name:"css",parser:P_.configure({props:[zr.add({Declaration:ei()}),Er.add({"Block KeyframeList":Gs})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function oO(){return new or(bh,bh.data.of({autocomplete:BJ}))}var VJ=309,$_=1,qJ=2,FJ=3,WJ=310,ZJ=312,YJ=313,HJ=4,GJ=5,KJ=0,Q3=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],X_=125,JJ=59,_3=47,eee=42,tee=43,ree=45,iee=60,nee=44,oee=new ta({start:!1,shift(t,e){return e==HJ||e==GJ||e==ZJ?t:e==YJ},strict:!1}),see=new kt((t,e)=>{let{next:r}=t;(r==X_||r==-1||e.context)&&t.acceptToken(WJ)},{contextual:!0,fallback:!0}),aee=new kt((t,e)=>{let{next:r}=t,i;Q3.indexOf(r)>-1||r==_3&&((i=t.peek(1))==_3||i==eee)||r!=X_&&r!=JJ&&r!=-1&&!e.context&&t.acceptToken(VJ)},{contextual:!0}),lee=new kt((t,e)=>{let{next:r}=t;if((r==tee||r==ree)&&(t.advance(),r==t.next)){t.advance();let i=!e.context&&e.canShift($_);t.acceptToken(i?$_:qJ)}},{contextual:!0});function P3(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}var cee=new kt((t,e)=>{if(t.next!=iee||!e.dialectEnabled(KJ)||(t.advance(),t.next==_3))return;let r=0;for(;Q3.indexOf(t.next)>-1;)t.advance(),r++;if(P3(t.next,!0)){for(t.advance(),r++;P3(t.next,!1);)t.advance(),r++;for(;Q3.indexOf(t.next)>-1;)t.advance(),r++;if(t.next==nee)return;for(let i=0;;i++){if(i==7){if(!P3(t.next,!0))return;break}if(t.next!="extends".charCodeAt(i))break;t.advance(),r++}}t.acceptToken(FJ,-r)}),uee=wr({"get set async static":A.modifier,"for while do if else switch try catch finally return throw break continue default case":A.controlKeyword,"in of await yield void typeof delete instanceof":A.operatorKeyword,"let var const using function class extends":A.definitionKeyword,"import export from":A.moduleKeyword,"with debugger as new":A.keyword,TemplateString:A.special(A.string),super:A.atom,BooleanLiteral:A.bool,this:A.self,null:A.null,Star:A.modifier,VariableName:A.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":A.function(A.variableName),VariableDefinition:A.definition(A.variableName),Label:A.labelName,PropertyName:A.propertyName,PrivatePropertyName:A.special(A.propertyName),"CallExpression/MemberExpression/PropertyName":A.function(A.propertyName),"FunctionDeclaration/VariableDefinition":A.function(A.definition(A.variableName)),"ClassDeclaration/VariableDefinition":A.definition(A.className),PropertyDefinition:A.definition(A.propertyName),PrivatePropertyDefinition:A.definition(A.special(A.propertyName)),UpdateOp:A.updateOperator,"LineComment Hashbang":A.lineComment,BlockComment:A.blockComment,Number:A.number,String:A.string,Escape:A.escape,ArithOp:A.arithmeticOperator,LogicOp:A.logicOperator,BitOp:A.bitwiseOperator,CompareOp:A.compareOperator,RegExp:A.regexp,Equals:A.definitionOperator,Arrow:A.function(A.punctuation),": Spread":A.punctuation,"( )":A.paren,"[ ]":A.squareBracket,"{ }":A.brace,"InterpolationStart InterpolationEnd":A.special(A.brace),".":A.derefOperator,", ;":A.separator,"@":A.meta,TypeName:A.typeName,TypeDefinition:A.definition(A.typeName),"type enum interface implements namespace module declare":A.definitionKeyword,"abstract global Privacy readonly override":A.modifier,"is keyof unique infer":A.operatorKeyword,JSXAttributeValue:A.attributeValue,JSXText:A.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":A.angleBracket,"JSXIdentifier JSXNameSpacedName":A.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":A.attributeName,"JSXBuiltin/JSXIdentifier":A.standard(A.tagName)}),fee={__proto__:null,export:18,as:23,from:31,default:34,async:39,function:40,extends:52,this:56,true:64,false:64,null:76,void:80,typeof:84,super:102,new:136,delete:152,yield:161,await:165,class:170,public:227,private:227,protected:227,readonly:229,instanceof:248,satisfies:251,in:252,const:254,import:286,keyof:339,unique:343,infer:349,is:385,abstract:405,implements:407,type:409,let:412,var:414,using:417,interface:423,enum:427,namespace:433,module:435,declare:439,global:443,for:462,of:471,while:474,with:478,do:482,if:486,else:488,switch:492,case:498,try:504,catch:508,finally:512,return:516,throw:520,break:524,continue:528,debugger:532},hee={__proto__:null,async:123,get:125,set:127,declare:187,public:189,private:189,protected:189,static:191,abstract:193,override:195,readonly:201,accessor:203,new:389},dee={__proto__:null,"<":143},I_=ti.deserialize({version:14,states:"$<UO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ08SO'#ChO+RO!bO'#CiO+aO#tO'#CiO+oO?MpO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DyO0fQ^O'#EROOQ07b'#EZ'#EZO1PQWO'#EWOOQO'#El'#ElOOQO'#Ie'#IeO1XQWO'#GmO1dQWO'#EkO1iQWO'#EkO3kQ08SO'#JiO6[Q08SO'#JjO6xQWO'#FZO6}Q&jO'#FqOOQ07b'#Fc'#FcO7YO,YO'#FcO7hQ7[O'#FxO9UQWO'#FwOOQ07b'#Jj'#JjOOQ07`'#Ji'#JiO9ZQWO'#GqOOQU'#KU'#KUO9fQWO'#IRO9kQ07hO'#ISOOQU'#JW'#JWOOQU'#IW'#IWQ`Q^OOO`Q^OOO%[Q^O'#DqO9sQ^O'#D}O9zQ^O'#EPO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from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:371,context:oee,nodeProps:[["isolate",-8,4,5,13,33,35,48,50,52,""],["group",-26,8,16,18,65,201,205,209,210,212,215,218,228,230,236,238,240,242,245,251,257,259,261,263,265,267,268,"Statement",-32,12,13,28,31,32,38,48,51,52,54,59,67,75,79,81,83,84,106,107,116,117,134,137,139,140,141,142,144,145,164,165,167,"Expression",-23,27,29,33,37,39,41,168,170,172,173,175,176,177,179,180,181,183,184,185,195,197,199,200,"Type",-3,87,99,105,"ClassItem"],["openedBy",22,"<",34,"InterpolationStart",53,"[",57,"{",72,"(",157,"JSXStartCloseTag"],["closedBy",23,">",36,"InterpolationEnd",47,"]",58,"}",73,")",162,"JSXEndTag"]],propSources:[uee],skippedNodes:[0,4,5,271],repeatNodeCount:37,tokenData:"$Fj(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#8g!R![#:v![!]#Gv!]!^#IS!^!_#J^!_!`#Ns!`!a$#_!a!b$(l!b!c$,k!c!}Er!}#O$-u#O#P$/P#P#Q$4h#Q#R$5r#R#SEr#S#T$7P#T#o$8Z#o#p$<k#p#q$=a#q#r$>q#r#s$?}#s$f%Z$f$g+g$g#BYEr#BY#BZ$AX#BZ$ISEr$IS$I_$AX$I_$I|Er$I|$I}$Dd$I}$JO$Dd$JO$JTEr$JT$JU$AX$JU$KVEr$KV$KW$AX$KW&FUEr&FU&FV$AX&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AX?HUOEr(n%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ee,2,3,4,5,6,7,8,9,10,11,12,13,see,new ea("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOt~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!R~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(Z~~",141,332),new ea("j~RQYZXz{^~^O'x~~aP!P!Qd~iO'y~~",25,315)],topRules:{Script:[0,6],SingleExpression:[1,269],SingleClassItem:[2,270]},dialects:{jsx:0,ts:14602},dynamicPrecedences:{69:1,79:1,81:1,165:1,193:1},specialized:[{term:319,get:t=>fee[t]||-1},{term:334,get:t=>hee[t]||-1},{term:70,get:t=>dee[t]||-1}],tokenPrec:14626});var D_=[Dr("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),Dr("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),Dr("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),Dr("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),Dr("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),Dr(`try {
\${}
} catch (\${error}) {
\${}
}`,{label:"try",detail:"/ catch block",type:"keyword"}),Dr("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),Dr(`if (\${}) {
\${}
} else {
\${}
}`,{label:"if",detail:"/ else block",type:"keyword"}),Dr(`class \${name} {
constructor(\${params}) {
\${}
}
}`,{label:"class",detail:"definition",type:"keyword"}),Dr('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Dr('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],pee=D_.concat([Dr("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Dr("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Dr("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),L_=new sc,U_=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function yh(t){return(e,r)=>{let i=e.node.getChild("VariableDefinition");return i&&r(i,t),!0}}var mee=["FunctionDeclaration"],Oee={FunctionDeclaration:yh("function"),ClassDeclaration:yh("class"),ClassExpression:()=>!0,EnumDeclaration:yh("constant"),TypeAliasDeclaration:yh("type"),NamespaceDeclaration:yh("namespace"),VariableDefinition(t,e){t.matchContext(mee)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function N_(t,e){let r=L_.get(e);if(r)return r;let i=[],n=!0;function o(s,a){let l=t.sliceString(s.from,s.to);i.push({label:l,type:a})}return e.cursor(Pt.IncludeAnonymous).iterate(s=>{if(n)n=!1;else if(s.name){let a=Oee[s.name];if(a&&a(s,o)||U_.has(s.name))return!1}else if(s.to-s.from>8192){for(let a of N_(t,s.node))i.push(a);return!1}}),L_.set(e,i),i}var z_=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,j_=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function gee(t){let e=pt(t.state).resolveInner(t.pos,-1);if(j_.indexOf(e.name)>-1)return null;let r=e.name=="VariableName"||e.to-e.from<20&&z_.test(t.state.sliceDoc(e.from,e.to));if(!r&&!t.explicit)return null;let i=[];for(let n=e;n;n=n.parent)U_.has(n.name)&&(i=i.concat(N_(t.state.doc,n)));return{options:i,from:r?e.from:t.pos,validFor:z_}}var _n=Jr.define({name:"javascript",parser:I_.configure({props:[zr.add({IfStatement:ei({except:/^\s*({|else\b)/}),TryStatement:ei({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:Dm,SwitchBody:t=>{let e=t.textAfter,r=/^\s*\}/.test(e),i=/^\s*(case|default)\b/.test(e);return t.baseIndent+(r?0:i?1:2)*t.unit},Block:uo({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":ei({except:/^{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),Er.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Gs,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),B_={test:t=>/^JSX/.test(t.name),facet:Sc({commentTokens:{block:{open:"{/*",close:"*/}"}}})},A3=_n.configure({dialect:"ts"},"typescript"),R3=_n.configure({dialect:"jsx",props:[Mm.add(t=>t.isTop?[B_]:void 0)]}),$3=_n.configure({dialect:"jsx ts",props:[Mm.add(t=>t.isTop?[B_]:void 0)]},"typescript"),V_=t=>({label:t,type:"keyword"}),q_="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(V_),bee=q_.concat(["declare","implements","private","protected","public"].map(V_));function sO(t={}){let e=t.jsx?t.typescript?$3:R3:t.typescript?A3:_n,r=t.typescript?pee.concat(bee):D_.concat(q_);return new or(e,[_n.data.of({autocomplete:Fm(j_,ah(r))}),_n.data.of({autocomplete:gee}),t.jsx?wee:[]])}function yee(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}function M_(t,e,r=t.length){for(let i=e==null?void 0:e.firstChild;i;i=i.nextSibling)if(i.name=="JSXIdentifier"||i.name=="JSXBuiltin"||i.name=="JSXNamespacedName"||i.name=="JSXMemberExpression")return t.sliceString(i.from,Math.min(i.to,r));return""}var vee=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),wee=xe.inputHandler.of((t,e,r,i,n)=>{if((vee?t.composing:t.compositionStarted)||t.state.readOnly||e!=r||i!=">"&&i!="/"||!_n.isActiveAt(t.state,e,-1))return!1;let o=n(),{state:s}=o,a=s.changeByRange(l=>{var c;let{head:u}=l,f=pt(s).resolveInner(u-1,-1),d;if(f.name=="JSXStartTag"&&(f=f.parent),!(s.doc.sliceString(u-1,u)!=i||f.name=="JSXAttributeValue"&&f.to>u)){if(i==">"&&f.name=="JSXFragmentTag")return{range:l,changes:{from:u,insert:"</>"}};if(i=="/"&&f.name=="JSXStartCloseTag"){let p=f.parent,O=p.parent;if(O&&p.from==u-2&&((d=M_(s.doc,O.firstChild,u))||((c=O.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let w=`${d}>`;return{range:ce.cursor(u+w.length,-1),changes:{from:u,insert:w}}}}else if(i==">"){let p=yee(f);if(p&&!/^\/?>|^<\//.test(s.doc.sliceString(u,u+2))&&(d=M_(s.doc,p,u)))return{range:l,changes:{from:u,insert:`</${d}>`}}}}return{range:l}});return a.changes.empty?!1:(t.dispatch([o,s.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var vh=["_blank","_self","_top","_parent"],X3=["ascii","utf-8","utf-16","latin1","latin1"],I3=["get","post","put","delete"],L3=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Vi=["true","false"],Ne={},xee={a:{attrs:{href:null,ping:null,type:null,media:null,target:vh,hreflang:null}},abbr:Ne,address:Ne,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Ne,aside:Ne,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Ne,base:{attrs:{href:null,target:vh}},bdi:Ne,bdo:Ne,blockquote:{attrs:{cite:null}},body:Ne,br:Ne,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:L3,formmethod:I3,formnovalidate:["novalidate"],formtarget:vh,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Ne,center:Ne,cite:Ne,code:Ne,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:Ne,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Ne,div:Ne,dl:Ne,dt:Ne,em:Ne,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Ne,figure:Ne,footer:Ne,form:{attrs:{action:null,name:null,"accept-charset":X3,autocomplete:["on","off"],enctype:L3,method:I3,novalidate:["novalidate"],target:vh}},h1:Ne,h2:Ne,h3:Ne,h4:Ne,h5:Ne,h6:Ne,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Ne,hgroup:Ne,hr:Ne,html:{attrs:{manifest:null}},i:Ne,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:L3,formmethod:I3,formnovalidate:["novalidate"],formtarget:vh,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:Ne,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Ne,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:Ne,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:X3,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:Ne,noscript:Ne,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:Ne,param:{attrs:{name:null,value:null}},pre:Ne,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Ne,rt:Ne,ruby:Ne,samp:Ne,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:X3}},section:Ne,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:Ne,source:{attrs:{src:null,type:null,media:null}},span:Ne,strong:Ne,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Ne,summary:Ne,sup:Ne,table:Ne,tbody:Ne,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:Ne,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:Ne,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Ne,time:{attrs:{datetime:null}},title:Ne,tr:Ne,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:Ne,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:Ne},Y_={accesskey:null,class:null,contenteditable:Vi,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:Vi,autocorrect:Vi,autocapitalize:Vi,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":Vi,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Vi,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Vi,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Vi,"aria-hidden":Vi,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Vi,"aria-multiselectable":Vi,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Vi,"aria-relevant":null,"aria-required":Vi,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},H_="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(t=>"on"+t);for(let t of H_)Y_[t]=null;var ol=class{constructor(e,r){this.tags=Object.assign(Object.assign({},xee),e),this.globalAttrs=Object.assign(Object.assign({},Y_),r),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};ol.default=new ol;function _c(t,e,r=t.length){if(!e)return"";let i=e.firstChild,n=i&&i.getChild("TagName");return n?t.sliceString(n.from,Math.min(n.to,r)):""}function Ac(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function G_(t,e,r){let i=r.tags[_c(t,Ac(e))];return(i==null?void 0:i.children)||r.allTags}function z3(t,e){let r=[];for(let i=Ac(e);i&&!i.type.isTop;i=Ac(i.parent)){let n=_c(t,i);if(n&&i.lastChild.name=="CloseTag")break;n&&r.indexOf(n)<0&&(e.name=="EndTag"||e.from>=i.firstChild.to)&&r.push(n)}return r}var K_=/^[:\-\.\w\u00b7-\uffff]*$/;function F_(t,e,r,i,n){let o=/\s*>/.test(t.sliceDoc(n,n+5))?"":">",s=Ac(r,!0);return{from:i,to:n,options:G_(t.doc,s,e).map(a=>({label:a,type:"type"})).concat(z3(t.doc,r).map((a,l)=>({label:"/"+a,apply:"/"+a+o,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function W_(t,e,r,i){let n=/\s*>/.test(t.sliceDoc(i,i+5))?"":">";return{from:r,to:i,options:z3(t.doc,e).map((o,s)=>({label:o,apply:o+n,type:"type",boost:99-s})),validFor:K_}}function kee(t,e,r,i){let n=[],o=0;for(let s of G_(t.doc,r,e))n.push({label:"<"+s,type:"type"});for(let s of z3(t.doc,r))n.push({label:"</"+s+">",type:"type",boost:99-o++});return{from:i,to:i,options:n,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function See(t,e,r,i,n){let o=Ac(r),s=o?e.tags[_c(t.doc,o)]:null,a=s&&s.attrs?Object.keys(s.attrs):[],l=s&&s.globalAttrs===!1?a:a.length?a.concat(e.globalAttrNames):e.globalAttrNames;return{from:i,to:n,options:l.map(c=>({label:c,type:"property"})),validFor:K_}}function Tee(t,e,r,i,n){var o;let s=(o=r.parent)===null||o===void 0?void 0:o.getChild("AttributeName"),a=[],l;if(s){let c=t.sliceDoc(s.from,s.to),u=e.globalAttrs[c];if(!u){let f=Ac(r),d=f?e.tags[_c(t.doc,f)]:null;u=(d==null?void 0:d.attrs)&&d.attrs[c]}if(u){let f=t.sliceDoc(i,n).toLowerCase(),d='"',p='"';/^['"]/.test(f)?(l=f[0]=='"'?/^[^"]*$/:/^[^']*$/,d="",p=t.sliceDoc(n,n+1)==f[0]?"":f[0],f=f.slice(1),i++):l=/^[^\s<>='"]*$/;for(let O of u)a.push({label:O,apply:d+O+p,type:"constant"})}}return{from:i,to:n,options:a,validFor:l}}function J_(t,e){let{state:r,pos:i}=e,n=pt(r).resolveInner(i,-1),o=n.resolve(i);for(let s=i,a;o==n&&(a=n.childBefore(s));){let l=a.lastChild;if(!l||!l.type.isError||l.from<l.to)break;o=n=a,s=l.from}return n.name=="TagName"?n.parent&&/CloseTag$/.test(n.parent.name)?W_(r,n,n.from,i):F_(r,t,n,n.from,i):n.name=="StartTag"?F_(r,t,n,i,i):n.name=="StartCloseTag"||n.name=="IncompleteCloseTag"?W_(r,n,i,i):e.explicit&&(n.name=="OpenTag"||n.name=="SelfClosingTag")||n.name=="AttributeName"?See(r,t,n,n.name=="AttributeName"?n.from:i,i):n.name=="Is"||n.name=="AttributeValue"||n.name=="UnquotedAttributeValue"?Tee(r,t,n,n.name=="Is"?i:n.from,i):e.explicit&&(o.name=="Element"||o.name=="Text"||o.name=="Document")?kee(r,t,n,i):null}function eA(t){return J_(ol.default,t)}function Eee(t){let{extraTags:e,extraGlobalAttributes:r}=t,i=r||e?new ol(e,r):ol.default;return n=>J_(i,n)}var Cee=_n.parser.configure({top:"SingleExpression"}),tA=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:A3.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:R3.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:$3.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:Cee},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:_n.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:bh.parser}],rA=[{name:"style",parser:bh.parser.configure({top:"Styles"})}].concat(H_.map(t=>({name:t,parser:_n.parser}))),iA=Jr.define({name:"html",parser:x_.configure({props:[zr.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].length<t.node.to)return t.continue();let e=null,r;for(let i=t.node;;){let n=i.lastChild;if(!n||n.name!="Element"||n.to!=i.to)break;e=i=n}return e&&!((r=e.lastChild)&&(r.name=="CloseTag"||r.name=="SelfClosingTag"))?t.lineIndent(e.from)+t.unit:null}}),Er.add({Element(t){let e=t.firstChild,r=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:r.name=="CloseTag"?r.from:t.to}}}),ih.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),aO=iA.configure({wrap:T3(tA,rA)});function lO(t={}){let e="",r;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(r=T3((t.nestedLanguages||[]).concat(tA),(t.nestedAttributes||[]).concat(rA)));let i=r?iA.configure({wrap:r,dialect:e}):e?aO.configure({dialect:e}):aO;return new or(i,[aO.data.of({autocomplete:Eee(t)}),t.autoCloseTags!==!1?Pee:[],sO().support,oO().support])}var Z_=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Pee=xe.inputHandler.of((t,e,r,i,n)=>{if(t.composing||t.state.readOnly||e!=r||i!=">"&&i!="/"||!aO.isActiveAt(t.state,e,-1))return!1;let o=n(),{state:s}=o,a=s.changeByRange(l=>{var c,u,f;let d=s.doc.sliceString(l.from-1,l.to)==i,{head:p}=l,O=pt(s).resolveInner(p-1,-1),w;if((O.name=="TagName"||O.name=="StartTag")&&(O=O.parent),d&&i==">"&&O.name=="OpenTag"){if(((u=(c=O.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(w=_c(s.doc,O.parent,p))&&!Z_.has(w)){let x=p+(s.doc.sliceString(p,p+1)===">"?1:0),k=`</${w}>`;return{range:l,changes:{from:p,to:x,insert:k}}}}else if(d&&i=="/"&&O.name=="IncompleteCloseTag"){let x=O.parent;if(O.from==p-2&&((f=x.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(w=_c(s.doc,x,p))&&!Z_.has(w)){let k=p+(s.doc.sliceString(p,p+1)===">"?1:0),C=`${w}>`;return{range:ce.cursor(p+C.length,-1),changes:{from:p,to:k,insert:C}}}}return{range:l}});return a.changes.empty?!1:(t.dispatch([o,s.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var oA=Sc({commentTokens:{block:{open:"<!--",close:"-->"}}}),sA=new qe,aA=qQ.configure({props:[Er.add(t=>!t.is("Block")||t.is("Document")||U3(t)!=null?void 0:(e,r)=>({from:r.doc.lineAt(e.from).to,to:e.to})),sA.add(U3),zr.add({Document:()=>null}),Ho.add({Document:oA})]});function U3(t){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(t.name);return e?+e[1]:void 0}function Qee(t,e){let r=t;for(;;){let i=r.nextSibling,n;if(!i||(n=U3(i.type))!=null&&n<=e)break;r=i}return r.to}var _ee=E4.of((t,e,r)=>{for(let i=pt(t).resolveInner(r,-1);i&&!(i.from<e);i=i.parent){let n=i.type.prop(sA);if(n==null)continue;let o=Qee(i,n);if(o>r)return{from:r,to:o}}return null});function B3(t){return new Lr(oA,t,[_ee],"markdown")}var Aee=B3(aA),Ree=aA.configure([ZQ,GQ,HQ,KQ,{props:[Er.add({Table:(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}]),cO=B3(Ree);function $ee(t,e){return r=>{if(r&&t){let i=null;if(r=/\S*/.exec(r)[0],typeof t=="function"?i=t(r):i=mr.matchLanguageName(t,r,!0),i instanceof mr)return i.support?i.support.language.parser:Ja.getSkippingParser(i.load());if(i)return i.parser}return e?e.parser:null}}var Rc=class{constructor(e,r,i,n,o,s,a){this.node=e,this.from=r,this.to=i,this.spaceBefore=n,this.spaceAfter=o,this.type=s,this.item=a}blank(e,r=!0){let i=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;i.length<e;)i+=" ";return i}else{for(let n=this.to-this.from-i.length-this.spaceAfter.length;n>0;n--)i+=" ";return i+(r?this.spaceAfter:"")}}marker(e,r){let i=this.node.name=="OrderedList"?String(+cA(this.item,e)[2]+r):"";return this.spaceBefore+i+this.type+this.spaceAfter}};function lA(t,e){let r=[];for(let n=t;n&&n.name!="Document";n=n.parent)(n.name=="ListItem"||n.name=="Blockquote"||n.name=="FencedCode")&&r.push(n);let i=[];for(let n=r.length-1;n>=0;n--){let o=r[n],s,a=e.lineAt(o.from),l=o.from-a.from;if(o.name=="FencedCode")i.push(new Rc(o,l,l,"","","",null));else if(o.name=="Blockquote"&&(s=/^ *>( ?)/.exec(a.text.slice(l))))i.push(new Rc(o,l,l+s[0].length,"",s[1],">",null));else if(o.name=="ListItem"&&o.parent.name=="OrderedList"&&(s=/^( *)\d+([.)])( *)/.exec(a.text.slice(l)))){let c=s[3],u=s[0].length;c.length>=4&&(c=c.slice(0,c.length-4),u-=4),i.push(new Rc(o.parent,l,l+u,s[1],c,s[2],o))}else if(o.name=="ListItem"&&o.parent.name=="BulletList"&&(s=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(a.text.slice(l)))){let c=s[4],u=s[0].length;c.length>4&&(c=c.slice(0,c.length-4),u-=4);let f=s[2];s[3]&&(f+=s[3].replace(/[xX]/," ")),i.push(new Rc(o.parent,l,l+u,s[1],c,f,o))}}return i}function cA(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function M3(t,e,r,i=0){for(let n=-1,o=t;;){if(o.name=="ListItem"){let a=cA(o,e),l=+a[2];if(n>=0){if(l!=n+1)return;r.push({from:o.from+a[1].length,to:o.from+a[0].length,insert:String(n+2+i)})}n=l}let s=o.nextSibling;if(!s)break;o=s}}function N3(t,e){let r=/^[ \t]*/.exec(t)[0].length;if(!r||e.facet(Qn)!=" ")return t;let i=fi(t,4,r),n="";for(let o=i;o>0;)o>=4?(n+=" ",o-=4):(n+=" ",o--);return n+t.slice(r)}var Xee=({state:t,dispatch:e})=>{let r=pt(t),{doc:i}=t,n=null,o=t.changeByRange(s=>{if(!s.empty||!cO.isActiveAt(t,s.from))return n={range:s};let a=s.from,l=i.lineAt(a),c=lA(r.resolveInner(a,-1),i);for(;c.length&&c[c.length-1].from>a-l.from;)c.pop();if(!c.length)return n={range:s};let u=c[c.length-1];if(u.to-u.spaceAfter.length>a-l.from)return n={range:s};let f=a>=u.to-u.spaceAfter.length&&!/\S/.test(l.text.slice(u.to));if(u.item&&f)if(u.node.firstChild.to>=a||l.from>0&&!/[^\s>]/.test(i.lineAt(l.from-1).text)){let x=c.length>1?c[c.length-2]:null,k,C="";x&&x.item?(k=l.from+x.from,C=x.marker(i,1)):k=l.from+(x?x.to:0);let R=[{from:k,to:a,insert:C}];return u.node.name=="OrderedList"&&M3(u.item,i,R,-2),x&&x.node.name=="OrderedList"&&M3(x.item,i,R),{range:ce.cursor(k+C.length),changes:R}}else{let x="";for(let k=0,C=c.length-2;k<=C;k++)x+=c[k].blank(k<C?fi(l.text,4,c[k+1].from)-x.length:null,k<C);return x=N3(x,t),{range:ce.cursor(a+x.length+1),changes:{from:l.from,insert:x+t.lineBreak}}}if(u.node.name=="Blockquote"&&f&&l.from){let x=i.lineAt(l.from-1),k=/>\s*$/.exec(x.text);if(k&&k.index==u.from){let C=t.changes([{from:x.from+k.index,to:x.to},{from:l.from+u.from,to:l.to}]);return{range:s.map(C),changes:C}}}let d=[];u.node.name=="OrderedList"&&M3(u.item,i,d);let p=u.item&&u.item.from<l.from,O="";if(!p||/^[\s\d.)\-+*>]*/.exec(l.text)[0].length>=u.to)for(let x=0,k=c.length-1;x<=k;x++)O+=x==k&&!p?c[x].marker(i,1):c[x].blank(x<k?fi(l.text,4,c[x+1].from)-O.length:null);let w=a;for(;w>l.from&&/\s/.test(l.text.charAt(w-l.from-1));)w--;return O=N3(O,t),d.push({from:w,to:a,insert:t.lineBreak+O}),{range:ce.cursor(w+O.length+1),changes:d}});return n?!1:(e(t.update(o,{scrollIntoView:!0,userEvent:"input"})),!0)};function nA(t){return t.name=="QuoteMark"||t.name=="ListMark"}function Iee(t,e){let r=t.resolveInner(e,-1),i=e;nA(r)&&(i=r.from,r=r.parent);for(let n;n=r.childBefore(i);)if(nA(n))i=n.from;else if(n.name=="OrderedList"||n.name=="BulletList")r=n.lastChild,i=r.to;else break;return r}var Lee=({state:t,dispatch:e})=>{let r=pt(t),i=null,n=t.changeByRange(o=>{let s=o.from,{doc:a}=t;if(o.empty&&cO.isActiveAt(t,o.from)){let l=a.lineAt(s),c=lA(Iee(r,s),a);if(c.length){let u=c[c.length-1],f=u.to-u.spaceAfter.length+(u.spaceAfter?1:0);if(s-l.from>f&&!/\S/.test(l.text.slice(f,s-l.from)))return{range:ce.cursor(l.from+f),changes:{from:l.from+f,to:s}};if(s-l.from==f&&(!u.item||l.from<=u.item.from||!/\S/.test(l.text.slice(0,u.to)))){let d=l.from+u.from;if(u.item&&u.node.from<u.item.from&&/\S/.test(l.text.slice(u.from,u.to))){let p=u.blank(fi(l.text,4,u.to)-fi(l.text,4,u.from));return d==l.from&&(p=N3(p,t)),{range:ce.cursor(d+p.length),changes:{from:d,to:l.from+u.to,insert:p}}}if(d<s)return{range:ce.cursor(d),changes:{from:d,to:s}}}}}return i={range:o}});return i?!1:(e(t.update(n,{scrollIntoView:!0,userEvent:"delete"})),!0)},zee=[{key:"Enter",run:Xee},{key:"Backspace",run:Lee}],j3=lO({matchClosingTags:!1});function uA(t={}){let{codeLanguages:e,defaultCodeLanguage:r,addKeymap:i=!0,base:{parser:n}=Aee,completeHTMLTags:o=!0}=t;if(!(n instanceof ph))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let s=t.extensions?[t.extensions]:[],a=[j3.support],l;r instanceof or?(a.push(r.support),l=r.language):r&&(l=r);let c=e||l?$ee(e,l):void 0;s.push(FQ({codeParser:c,htmlParser:j3.language.parser})),i&&a.push(cr.high(vr.of(zee)));let u=B3(n.configure(s));return o&&a.push(u.data.of({autocomplete:Mee})),new or(u,a)}function Mee(t){let{state:e,pos:r}=t,i=/<[:\-\.\w\u00b7-\uffff]*$/.exec(e.sliceDoc(r-25,r));if(!i)return null;let n=pt(e).resolveInner(r,-1);for(;n&&!n.type.isTop;){if(n.name=="CodeBlock"||n.name=="FencedCode"||n.name=="ProcessingInstructionBlock"||n.name=="CommentBlock"||n.name=="Link"||n.name=="Image")return null;n=n.parent}return{from:r-i[0].length,to:r,options:Dee(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}var D3=null;function Dee(){if(D3)return D3;let t=eA(new Ec(Tt.create({extensions:j3}),0,!0));return D3=t?t.options:[]}var Uee=36,fA=1,Nee=2,wh=3,V3=4,jee=5,Bee=6,Vee=7,qee=8,Fee=9,Wee=10,Zee=11,Yee=12,Hee=13,Gee=14,Kee=15,Jee=16,ete=17,hA=18,tte=19,bA=20,yA=21,dA=22,rte=23,ite=24;function F3(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function nte(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function al(t,e,r){for(let i=!1;;){if(t.next<0)return;if(t.next==e&&!i){t.advance();return}i=r&&!i&&t.next==92,t.advance()}}function ote(t){for(;;){if(t.next<0||t.peek(1)<0)return;if(t.next==36&&t.peek(1)==36){t.advance(2);return}t.advance()}}function ste(t,e){let r="[{<(".indexOf(String.fromCharCode(e)),i=r<0?e:"]}>)".charCodeAt(r);for(;;){if(t.next<0)return;if(t.next==i&&t.peek(1)==39){t.advance(2);return}t.advance()}}function vA(t,e){for(;!(t.next!=95&&!F3(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function ate(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),al(t,e,!1)}else vA(t)}function pA(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function mA(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function OA(t){for(;!(t.next<0||t.next==10);)t.advance()}function sl(t,e){for(let r=0;r<e.length;r++)if(e.charCodeAt(r)==t)return!0;return!1}var q3=` \r
`;function wA(t,e,r){let i=Object.create(null);i.true=i.false=jee,i.null=i.unknown=Bee;for(let n of t.split(" "))n&&(i[n]=bA);for(let n of e.split(" "))n&&(i[n]=yA);for(let n of(r||"").split(" "))n&&(i[n]=ite);return i}var ll="array binary bit boolean char character clob date decimal double float int integer interval large national nchar nclob numeric object precision real smallint time timestamp varchar varying ",cl="absolute action add after all allocate alter and any are as asc assertion at authorization before begin between both breadth by call cascade cascaded case cast catalog check close collate collation column commit condition connect connection constraint constraints constructor continue corresponding count create cross cube current current_date current_default_transform_group current_transform_group_for_type current_path current_role current_time current_timestamp current_user cursor cycle data day deallocate declare default deferrable deferred delete depth deref desc describe descriptor deterministic diagnostics disconnect distinct do domain drop dynamic each else elseif end end-exec equals escape except exception exec execute exists exit external fetch first for foreign found from free full function general get global go goto grant group grouping handle having hold hour identity if immediate in indicator initially inner inout input insert intersect into is isolation join key language last lateral leading leave left level like limit local localtime localtimestamp locator loop map match method minute modifies module month names natural nesting new next no none not of old on only open option or order ordinality out outer output overlaps pad parameter partial path prepare preserve primary prior privileges procedure public read reads recursive redo ref references referencing relative release repeat resignal restrict result return returns revoke right role rollback rollup routine row rows savepoint schema scroll search second section select session session_user set sets signal similar size some space specific specifictype sql sqlexception sqlstate sqlwarning start state static system_user table temporary then timezone_hour timezone_minute to trailing transaction translation treat trigger under undo union unique unnest until update usage user using value values view when whenever where while with without work write year zone ",W3={backslashEscapes:!1,hashComments:!1,spaceAfterDashes:!1,slashComments:!1,doubleQuotedStrings:!1,doubleDollarQuotedStrings:!1,unquotedBitLiterals:!1,treatBitsAsBytes:!1,charSetCasts:!1,plsqlQuotingMechanism:!1,operatorChars:"*+-%<>!=&|~^/",specialVar:"?",identifierQuotes:'"',words:wA(cl,ll)};function lte(t,e,r,i){let n={};for(let o in W3)n[o]=(t.hasOwnProperty(o)?t:W3)[o];return e&&(n.words=wA(e,r||"",i)),n}function xA(t){return new kt(e=>{var r;let{next:i}=e;if(e.advance(),sl(i,q3)){for(;sl(e.next,q3);)e.advance();e.acceptToken(Uee)}else if(i==36&&e.next==36&&t.doubleDollarQuotedStrings)ote(e),e.acceptToken(wh);else if(i==39||i==34&&t.doubleQuotedStrings)al(e,i,t.backslashEscapes),e.acceptToken(wh);else if(i==35&&t.hashComments||i==47&&e.next==47&&t.slashComments)OA(e),e.acceptToken(fA);else if(i==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))OA(e),e.acceptToken(fA);else if(i==47&&e.next==42){e.advance();for(let n=1;;){let o=e.next;if(e.next<0)break;if(e.advance(),o==42&&e.next==47){if(n--,e.advance(),!n)break}else o==47&&e.next==42&&(n++,e.advance())}e.acceptToken(Nee)}else if((i==101||i==69)&&e.next==39)e.advance(),al(e,39,!0);else if((i==110||i==78)&&e.next==39&&t.charSetCasts)e.advance(),al(e,39,t.backslashEscapes),e.acceptToken(wh);else if(i==95&&t.charSetCasts)for(let n=0;;n++){if(e.next==39&&n>1){e.advance(),al(e,39,t.backslashEscapes),e.acceptToken(wh);break}if(!F3(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(i==113||i==81)&&e.next==39&&e.peek(1)>0&&!sl(e.peek(1),q3)){let n=e.peek(1);e.advance(2),ste(e,n),e.acceptToken(wh)}else if(i==40)e.acceptToken(Vee);else if(i==41)e.acceptToken(qee);else if(i==123)e.acceptToken(Fee);else if(i==125)e.acceptToken(Wee);else if(i==91)e.acceptToken(Zee);else if(i==93)e.acceptToken(Yee);else if(i==59)e.acceptToken(Hee);else if(t.unquotedBitLiterals&&i==48&&e.next==98)e.advance(),pA(e),e.acceptToken(dA);else if((i==98||i==66)&&(e.next==39||e.next==34)){let n=e.next;e.advance(),t.treatBitsAsBytes?(al(e,n,t.backslashEscapes),e.acceptToken(rte)):(pA(e,n),e.acceptToken(dA))}else if(i==48&&(e.next==120||e.next==88)||(i==120||i==88)&&e.next==39){let n=e.next==39;for(e.advance();nte(e.next);)e.advance();n&&e.next==39&&e.advance(),e.acceptToken(V3)}else if(i==46&&e.next>=48&&e.next<=57)mA(e,!0),e.acceptToken(V3);else if(i==46)e.acceptToken(Gee);else if(i>=48&&i<=57)mA(e,!1),e.acceptToken(V3);else if(sl(i,t.operatorChars)){for(;sl(e.next,t.operatorChars);)e.advance();e.acceptToken(Kee)}else if(sl(i,t.specialVar))e.next==i&&e.advance(),ate(e),e.acceptToken(ete);else if(sl(i,t.identifierQuotes))al(e,i,!1),e.acceptToken(tte);else if(i==58||i==44)e.acceptToken(Jee);else if(F3(i)){let n=vA(e,String.fromCharCode(i));e.acceptToken(e.next==46?hA:(r=t.words[n.toLowerCase()])!==null&&r!==void 0?r:hA)}})}var kA=xA(W3),cte=ti.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"\u26A0 LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,kA],topRules:{Script:[0,25]},tokenPrec:0});function Z3(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function xh(t,e){let r=t.sliceString(e.from,e.to),i=/^([`'"])(.*)\1$/.exec(r);return i?i[2]:r}function uO(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function ute(t,e){if(e.name=="CompositeIdentifier"){let r=[];for(let i=e.firstChild;i;i=i.nextSibling)uO(i)&&r.push(xh(t,i));return r}return[xh(t,e)]}function gA(t,e){for(let r=[];;){if(!e||e.name!=".")return r;let i=Z3(e);if(!uO(i))return r;r.unshift(xh(t,i)),e=Z3(i)}}function fte(t,e){let r=pt(t).resolveInner(e,-1),i=dte(t.doc,r);return r.name=="Identifier"||r.name=="QuotedIdentifier"||r.name=="Keyword"?{from:r.from,quoted:r.name=="QuotedIdentifier"?t.doc.sliceString(r.from,r.from+1):null,parents:gA(t.doc,Z3(r)),aliases:i}:r.name=="."?{from:e,quoted:null,parents:gA(t.doc,r),aliases:i}:{from:e,quoted:null,parents:[],empty:!0,aliases:i}}var hte=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function dte(t,e){let r;for(let n=e;!r;n=n.parent){if(!n)return null;n.name=="Statement"&&(r=n)}let i=null;for(let n=r.firstChild,o=!1,s=null;n;n=n.nextSibling){let a=n.name=="Keyword"?t.sliceString(n.from,n.to).toLowerCase():null,l=null;if(!o)o=a=="from";else if(a=="as"&&s&&uO(n.nextSibling))l=xh(t,n.nextSibling);else{if(a&&hte.has(a))break;s&&uO(n)&&(l=xh(t,n))}l&&(i||(i=Object.create(null)),i[l]=ute(t,s)),s=/Identifier$/.test(n.name)?n:null}return i}function pte(t,e){return t?e.map(r=>Object.assign(Object.assign({},r),{label:r.label[0]==t?r.label:t+r.label+t,apply:void 0})):e}var mte=/^\w*$/,Ote=/^[`'"]?\w*[`'"]?$/,Y3=class t{constructor(){this.list=[],this.children=void 0}child(e,r){let i=this.children||(this.children=Object.create(null)),n=i[e];return n||(e&&this.list.push(SA(e,"type",r)),i[e]=new t)}addCompletions(e){for(let r of e){let i=this.list.findIndex(n=>n.label==r.label);i>-1?this.list[i]=r:this.list.push(r)}}};function SA(t,e,r){return/^[a-z_][a-z_\d]*$/.test(t)?{label:t,type:e}:{label:t,type:e,apply:r+t+r}}function gte(t,e,r,i,n,o){var s;let a=new Y3,l=((s=o==null?void 0:o.spec.identifierQuotes)===null||s===void 0?void 0:s[0])||'"',c=a.child(n||"",l);for(let u in t){let f=u.replace(/\\?\./g,p=>p=="."?"\0":p).split("\0"),d=f.length==1?c:a;for(let p of f)d=d.child(p.replace(/\\\./g,"."),l);for(let p of t[u])p&&d.list.push(typeof p=="string"?SA(p,"property",l):p)}return e&&c.addCompletions(e),r&&a.addCompletions(r),a.addCompletions(c.list),i&&a.addCompletions(c.child(i,l).list),u=>{let{parents:f,from:d,quoted:p,empty:O,aliases:w}=fte(u.state,u.pos);if(O&&!u.explicit)return null;w&&f.length==1&&(f=w[f[0]]||f);let x=a;for(let R of f){for(;!x.children||!x.children[R];)if(x==a)x=c;else if(x==c&&i)x=x.child(i,l);else return null;x=x.child(R,l)}let k=p&&u.state.sliceDoc(u.pos,u.pos+1)==p,C=x.list;return x==a&&w&&(C=C.concat(Object.keys(w).map(R=>({label:R,type:"constant"})))),{from:d,to:k?u.pos+1:void 0,options:pte(p,C),validFor:p?Ote:mte}}}function bte(t,e){let r=Object.keys(t).map(i=>({label:e?i.toUpperCase():i,type:t[i]==yA?"type":t[i]==bA?"keyword":"variable",boost:-1}));return Fm(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],ah(r))}var yte=cte.configure({props:[zr.add({Statement:ei()}),Er.add({Statement(t){return{from:t.firstChild.to,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),wr({Keyword:A.keyword,Type:A.typeName,Builtin:A.standard(A.name),Bits:A.number,Bytes:A.string,Bool:A.bool,Null:A.null,Number:A.number,String:A.string,Identifier:A.name,QuotedIdentifier:A.special(A.string),SpecialVar:A.special(A.name),LineComment:A.lineComment,BlockComment:A.blockComment,Operator:A.operator,"Semi Punctuation":A.punctuation,"( )":A.paren,"{ }":A.brace,"[ ]":A.squareBracket})]}),fo=class t{constructor(e,r,i){this.dialect=e,this.language=r,this.spec=i}get extension(){return this.language.extension}static define(e){let r=lte(e,e.keywords,e.types,e.builtin),i=Jr.define({name:"sql",parser:yte.configure({tokenizers:[{from:kA,to:xA(r)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new t(r,i,e)}};function vte(t,e=!1){return bte(t.dialect.words,e)}function wte(t,e=!1){return t.language.data.of({autocomplete:vte(t,e)})}function xte(t){return t.schema?gte(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||H3):()=>null}function kte(t){return t.schema?(t.dialect||H3).language.data.of({autocomplete:xte(t)}):[]}function TA(t={}){let e=t.dialect||H3;return new or(e.language,[kte(t),wte(e,!!t.upperCaseKeywords)])}var H3=fo.define({}),J5e=fo.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:cl+"a abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom c cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion g generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull k key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower m mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner p parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time t table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:ll+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),EA="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",CA=ll+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",PA="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",exe=fo.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:cl+"group_concat "+EA,types:CA,builtin:PA}),txe=fo.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:cl+"always generated groupby_concat hard persistent shutdown soft virtual "+EA,types:CA,builtin:PA}),rxe=fo.define({keywords:cl+"trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",types:ll+"bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:"binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",operatorChars:"*+-%<>!=^&|/",specialVar:"@"}),ixe=fo.define({keywords:cl+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:ll+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),nxe=fo.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:ll+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),oxe=fo.define({keywords:cl+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:ll+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0,plsqlQuotingMechanism:!0});var Ste=wr({String:A.string,Number:A.number,"True False":A.bool,PropertyName:A.propertyName,Null:A.null,",":A.separator,"[ ]":A.squareBracket,"{ }":A.brace}),QA=ti.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"\u26A0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[Ste],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0});var Tte=Jr.define({name:"json",parser:QA.configure({props:[zr.add({Object:ei({except:/^\s*\}/}),Array:ei({except:/^\s*\]/})}),Er.add({"Object Array":Gs})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function _A(){return new or(Tte)}var G3=1,Ete=2,Cte=3,Pte=4,Qte=5,_te=35,Ate=36,Rte=37,$te=11,Xte=13;function Ite(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function Lte(t){return t==9||t==10||t==13||t==32}var AA=null,RA=null,$A=0;function K3(t,e){let r=t.pos+e;if(RA==t&&$A==r)return AA;for(;Lte(t.peek(e));)e++;let i="";for(;;){let n=t.peek(e);if(!Ite(n))break;i+=String.fromCharCode(n),e++}return RA=t,$A=r,AA=i||null}function XA(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let r=0;r<t.length;r++)this.hash+=(this.hash<<4)+t.charCodeAt(r)+(t.charCodeAt(r)<<8)}var zte=new ta({start:null,shift(t,e,r,i){return e==G3?new XA(K3(i,1)||"",t):t},reduce(t,e){return e==$te&&t?t.parent:t},reuse(t,e,r,i){let n=e.type.id;return n==G3||n==Xte?new XA(K3(i,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),Mte=new kt((t,e)=>{if(t.next==60){if(t.advance(),t.next==47){t.advance();let r=K3(t,0);if(!r)return t.acceptToken(Qte);if(e.context&&r==e.context.name)return t.acceptToken(Ete);for(let i=e.context;i;i=i.parent)if(i.name==r)return t.acceptToken(Cte,-2);t.acceptToken(Pte)}else if(t.next!=33&&t.next!=63)return t.acceptToken(G3)}},{contextual:!0});function J3(t,e){return new kt(r=>{let i=0,n=e.charCodeAt(0);e:for(;!(r.next<0);r.advance(),i++)if(r.next==n){for(let o=1;o<e.length;o++)if(r.peek(o)!=e.charCodeAt(o))continue e;break}i&&r.acceptToken(t)})}var Dte=J3(_te,"-->"),Ute=J3(Ate,"?>"),Nte=J3(Rte,"]]>"),jte=wr({Text:A.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":A.angleBracket,TagName:A.tagName,"MismatchedCloseTag/Tagname":[A.tagName,A.invalid],AttributeName:A.attributeName,AttributeValue:A.attributeValue,Is:A.definitionOperator,"EntityReference CharacterReference":A.character,Comment:A.blockComment,ProcessingInst:A.processingInstruction,DoctypeDecl:A.documentMeta,Cdata:A.special(A.string)}),IA=ti.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(eO#tO'#CnOOOO1G.q1G.qO(sOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO({O#tO,59YOOOO,59Y,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.t",stateData:")Z~OPQOSVOTWOVWOWWOXWOiXOxPO}TO!PUO~OuZOw]O~O^`Oy^O~OPQOQcOSVOTWOVWOWWOXWOxPO}TO!PUO~ORdO~P!SOseO|gO~OthO!OjO~O^lOy^O~OuZOwoO~O^qOy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O",goto:"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!t!nQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"\u26A0 StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:47,context:zte,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",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iV{WOr%ysv%yw#m%y#m#nDO#n;'S%y;'S;=`&_<%lO%yXDTV{WOr%ysv%yw#d%y#d#eDj#e;'S%y;'S;=`&_<%lO%yXDoV{WOr%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[Mte,Dte,Ute,Nte,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function fO(t,e){let r=e&&e.getChild("TagName");return r?t.sliceString(r.from,r.to):""}function ew(t,e){let r=e&&e.firstChild;return!r||r.name!="OpenTag"?"":fO(t,r)}function Bte(t,e,r){let i=e&&e.getChildren("Attribute").find(o=>o.from<=r&&o.to>=r),n=i&&i.getChild("AttributeName");return n?t.sliceString(n.from,n.to):""}function tw(t){for(let e=t&&t.parent;e;e=e.parent)if(e.name=="Element")return e;return null}function Vte(t,e){var r;let i=pt(t).resolveInner(e,-1),n=null;for(let o=i;!n&&o.parent;o=o.parent)(o.name=="OpenTag"||o.name=="CloseTag"||o.name=="SelfClosingTag"||o.name=="MismatchedCloseTag")&&(n=o);if(n&&(n.to>e||n.lastChild.type.isError)){let o=n.parent;if(i.name=="TagName")return n.name=="CloseTag"||n.name=="MismatchedCloseTag"?{type:"closeTag",from:i.from,context:o}:{type:"openTag",from:i.from,context:tw(o)};if(i.name=="AttributeName")return{type:"attrName",from:i.from,context:n};if(i.name=="AttributeValue")return{type:"attrValue",from:i.from,context:n};let s=i==n||i.name=="Attribute"?i.childBefore(e):i;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:e,context:tw(o)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=e?{type:"closeTag",from:e,context:o}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:e,context:n}:s?{type:"attrName",from:e,context:n}:null}else if(i.name=="StartCloseTag")return{type:"closeTag",from:e,context:i.parent};for(;i.parent&&i.to==e&&!(!((r=i.lastChild)===null||r===void 0)&&r.type.isError);)i=i.parent;return i.name=="Element"||i.name=="Text"||i.name=="Document"?{type:"tag",from:e,context:i.name=="Element"?i:tw(i)}:null}var iw=class{constructor(e,r,i){this.attrs=r,this.attrValues=i,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(n=>({label:n,type:"text"})):[]}},rw=/^[:\-\.\w\u00b7-\uffff]*$/;function LA(t){return Object.assign(Object.assign({type:"property"},t.completion||{}),{label:t.name})}function zA(t){return typeof t=="string"?{label:`"${t}"`,type:"constant"}:/^"/.test(t.label)?t:Object.assign(Object.assign({},t),{label:`"${t.label}"`})}function qte(t,e){let r=[],i=[],n=Object.create(null);for(let l of e){let c=LA(l);r.push(c),l.global&&i.push(c),l.values&&(n[l.name]=l.values.map(zA))}let o=[],s=[],a=Object.create(null);for(let l of t){let c=i,u=n;l.attributes&&(c=c.concat(l.attributes.map(d=>typeof d=="string"?r.find(p=>p.label==d)||{label:d,type:"property"}:(d.values&&(u==n&&(u=Object.create(u)),u[d.name]=d.values.map(zA)),LA(d)))));let f=new iw(l,c,u);a[f.name]=f,o.push(f),l.top&&s.push(f)}s.length||(s=o);for(let l=0;l<o.length;l++){let c=t[l],u=o[l];if(c.children)for(let f of c.children)a[f]&&u.children.push(a[f]);else u.children=o}return l=>{var c;let{doc:u}=l.state,f=Vte(l.state,l.pos);if(!f||f.type=="tag"&&!l.explicit)return null;let{type:d,from:p,context:O}=f;if(d=="openTag"){let w=s,x=ew(u,O);if(x){let k=a[x];w=(k==null?void 0:k.children)||o}return{from:p,options:w.map(k=>k.completion),validFor:rw}}else if(d=="closeTag"){let w=ew(u,O);return w?{from:p,to:l.pos+(u.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((c=a[w])===null||c===void 0?void 0:c.closeNameCompletion)||{label:w+">",type:"type"}],validFor:rw}:null}else if(d=="attrName"){let w=a[fO(u,O)];return{from:p,options:(w==null?void 0:w.attrs)||i,validFor:rw}}else if(d=="attrValue"){let w=Bte(u,O,p);if(!w)return null;let x=a[fO(u,O)],k=((x==null?void 0:x.attrValues)||n)[w];return!k||!k.length?null:{from:p,to:l.pos+(u.sliceString(l.pos,l.pos+1)=='"'?1:0),options:k,validFor:/^"[^"]*"?$/}}else if(d=="tag"){let w=ew(u,O),x=a[w],k=[],C=O&&O.lastChild;w&&(!C||C.name!="CloseTag"||fO(u,C)!=w)&&k.push(x?x.closeCompletion:{label:"</"+w+">",type:"type",boost:2});let R=k.concat(((x==null?void 0:x.children)||(O?o:s)).map(Q=>Q.openCompletion));if(O&&(x!=null&&x.text.length)){let Q=O.firstChild;Q.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(Q.to,l.pos))&&(R=R.concat(x.text))}return{from:p,options:R,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}var MA=Jr.define({name:"xml",parser:IA.configure({props:[zr.add({Element(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),Er.add({Element(t){let e=t.firstChild,r=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:r.name=="CloseTag"?r.from:t.to}}}),ih.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function DA(t={}){return new or(MA,MA.data.of({autocomplete:qte(t.elements||[],t.attributes||[])}))}var Fte=["-type","-spec","-export_type","-opaque"],Wte=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],Zte=/[\->,;]/,Yte=["->",";",","],Hte=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],Gte=/[\+\-\*\/<>=\|:!]/,Kte=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],Jte=/[<\(\[\{]/,ow=["<<","(","[","{"],ere=/[>\)\]\}]/,VA=["}","]",")",">>"],tre=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],rre=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],hO=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,ire=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function nre(t,e){if(e.in_string)return e.in_string=!jA(t),St(e,t,"string");if(e.in_atom)return e.in_atom=!BA(t),St(e,t,"atom");if(t.eatSpace())return St(e,t,"whitespace");if(!kh(e)&&t.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return ri(t.current(),Fte)?St(e,t,"type"):St(e,t,"attribute");var r=t.next();if(r=="%")return t.skipToEnd(),St(e,t,"comment");if(r==":")return St(e,t,"colon");if(r=="?")return t.eatSpace(),t.eatWhile(hO),St(e,t,"macro");if(r=="#")return t.eatSpace(),t.eatWhile(hO),St(e,t,"record");if(r=="$")return t.next()=="\\"&&!t.match(ire)?St(e,t,"error"):St(e,t,"number");if(r==".")return St(e,t,"dot");if(r=="'"){if(!(e.in_atom=!BA(t))){if(t.match(/\s*\/\s*[0-9]/,!1))return t.match(/\s*\/\s*[0-9]/,!0),St(e,t,"fun");if(t.match(/\s*\(/,!1)||t.match(/\s*:/,!1))return St(e,t,"function")}return St(e,t,"atom")}if(r=='"')return e.in_string=!jA(t),St(e,t,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(r))return t.eatWhile(hO),St(e,t,"variable");if(/[a-z_ß-öø-ÿ]/.test(r)){if(t.eatWhile(hO),t.match(/\s*\/\s*[0-9]/,!1))return t.match(/\s*\/\s*[0-9]/,!0),St(e,t,"fun");var i=t.current();return ri(i,Wte)?St(e,t,"keyword"):ri(i,Hte)?St(e,t,"operator"):t.match(/\s*\(/,!1)?ri(i,rre)&&(kh(e).token!=":"||kh(e,2).token=="erlang")?St(e,t,"builtin"):ri(i,tre)?St(e,t,"guard"):St(e,t,"function"):ore(t)==":"?i=="erlang"?St(e,t,"builtin"):St(e,t,"function"):ri(i,["true","false"])?St(e,t,"boolean"):St(e,t,"atom")}var n=/[0-9]/,o=/[0-9a-zA-Z]/;return n.test(r)?(t.eatWhile(n),t.eat("#")?t.eatWhile(o)||t.backUp(1):t.eat(".")&&(t.eatWhile(n)?t.eat(/[eE]/)&&(t.eat(/[-+]/)?t.eatWhile(n)||t.backUp(2):t.eatWhile(n)||t.backUp(1)):t.backUp(1)),St(e,t,"number")):UA(t,Jte,ow)?St(e,t,"open_paren"):UA(t,ere,VA)?St(e,t,"close_paren"):NA(t,Zte,Yte)?St(e,t,"separator"):NA(t,Gte,Kte)?St(e,t,"operator"):St(e,t,null)}function UA(t,e,r){if(t.current().length==1&&e.test(t.current())){for(t.backUp(1);e.test(t.peek());)if(t.next(),ri(t.current(),r))return!0;t.backUp(t.current().length-1)}return!1}function NA(t,e,r){if(t.current().length==1&&e.test(t.current())){for(;e.test(t.peek());)t.next();for(;0<t.current().length;){if(ri(t.current(),r))return!0;t.backUp(1)}t.next()}return!1}function jA(t){return qA(t,'"',"\\")}function BA(t){return qA(t,"'","\\")}function qA(t,e,r){for(;!t.eol();){var i=t.next();if(i==e)return!0;i==r&&t.next()}return!1}function ore(t){var e=t.match(/^\s*([^\s%])/,!1);return e?e[1]:""}function ri(t,e){return-1<e.indexOf(t)}function St(t,e,r){switch(lre(t,sre(r,e)),r){case"atom":return"atom";case"attribute":return"attribute";case"boolean":return"atom";case"builtin":return"builtin";case"close_paren":return null;case"colon":return null;case"comment":return"comment";case"dot":return null;case"error":return"error";case"fun":return"meta";case"function":return"tag";case"guard":return"property";case"keyword":return"keyword";case"macro":return"macroName";case"number":return"number";case"open_paren":return null;case"operator":return"operator";case"record":return"bracket";case"separator":return null;case"string":return"string";case"type":return"def";case"variable":return"variable";default:return null}}function FA(t,e,r,i){return{token:t,column:e,indent:r,type:i}}function sre(t,e){return FA(e.current(),e.column(),e.indentation(),t)}function are(t){return FA(t,0,0,t)}function kh(t,e){var r=t.tokenStack.length,i=e||1;return r<i?!1:t.tokenStack[r-i]}function lre(t,e){e.type=="comment"||e.type=="whitespace"||(t.tokenStack=cre(t.tokenStack,e),t.tokenStack=ure(t.tokenStack))}function cre(t,e){var r=t.length-1;return 0<r&&t[r].type==="record"&&e.type==="dot"?t.pop():(0<r&&t[r].type==="group"&&t.pop(),t.push(e)),t}function ure(t){if(!t.length)return t;var e=t.length-1;if(t[e].type==="dot")return[];if(e>1&&t[e].type==="fun"&&t[e-1].token==="fun")return t.slice(0,e-1);switch(t[e].token){case"}":return An(t,{g:["{"]});case"]":return An(t,{i:["["]});case")":return An(t,{i:["("]});case">>":return An(t,{i:["<<"]});case"end":return An(t,{i:["begin","case","fun","if","receive","try"]});case",":return An(t,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return An(t,{r:["when"],m:["try","if","case","receive"]});case";":return An(t,{E:["case","fun","if","receive","try","when"]});case"catch":return An(t,{e:["try"]});case"of":return An(t,{e:["case"]});case"after":return An(t,{e:["receive","try"]});default:return t}}function An(t,e){for(var r in e)for(var i=t.length-1,n=e[r],o=i-1;-1<o;o--)if(ri(t[o].token,n)){var s=t.slice(0,o);switch(r){case"m":return s.concat(t[o]).concat(t[i]);case"r":return s.concat(t[i]);case"i":return s;case"g":return s.concat(are("group"));case"E":return s.concat(t[o]);case"e":return s.concat(t[o])}}return r=="E"?[]:t}function fre(t,e,r){var i,n=hre(e),o=kh(t,1),s=kh(t,2);return t.in_string||t.in_atom?null:s?o.token=="when"?o.column+r.unit:n==="when"&&s.type==="function"?s.indent+r.unit:n==="("&&o.token==="fun"?o.column+3:n==="catch"&&(i=nw(t,["try"]))?i.column:ri(n,["end","after","of"])?(i=nw(t,["begin","case","fun","if","receive","try"]),i?i.column:null):ri(n,VA)?(i=nw(t,ow),i?i.column:null):ri(o.token,[",","|","||"])||ri(n,[",","|","||"])?(i=dre(t),i?i.column+i.token.length:r.unit):o.token=="->"?ri(s.token,["receive","case","if","try"])?s.column+r.unit+r.unit:s.column+r.unit:ri(o.token,ow)?o.column+o.token.length:(i=pre(t),ul(i)?i.column+r.unit:0):0}function hre(t){var e=t.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return ul(e)&&e.index===0?e[0]:""}function dre(t){var e=t.tokenStack.slice(0,-1),r=dO(e,"type",["open_paren"]);return ul(e[r])?e[r]:!1}function pre(t){var e=t.tokenStack,r=dO(e,"type",["open_paren","separator","keyword"]),i=dO(e,"type",["operator"]);return ul(r)&&ul(i)&&r<i?e[r+1]:ul(r)?e[r]:!1}function nw(t,e){var r=t.tokenStack,i=dO(r,"token",e);return ul(r[i])?r[i]:!1}function dO(t,e,r){for(var i=t.length-1;-1<i;i--)if(ri(t[i][e],r))return i;return!1}function ul(t){return t!==!1&&t!=null}var WA={name:"erlang",startState(){return{tokenStack:[],in_string:!1,in_atom:!1}},token:nre,indent:fre,languageData:{commentTokens:{line:"%"}}};function ZA(t){YA(t,"start");var e={},r=t.languageData||{},i=!1;for(var n in t)if(n!=r&&t.hasOwnProperty(n))for(var o=e[n]=[],s=t[n],a=0;a<s.length;a++){var l=s[a];o.push(new gre(l,t)),(l.indent||l.dedent)&&(i=!0)}return{name:r.name,startState:function(){return{state:"start",pending:null,indent:i?[]:null}},copyState:function(c){var u={state:c.state,pending:c.pending,indent:c.indent&&c.indent.slice(0)};return c.stack&&(u.stack=c.stack.slice(0)),u},token:bre(e),indent:yre(e,r),languageData:r}}function YA(t,e){if(!t.hasOwnProperty(e))throw new Error("Undefined state "+e+" in simple mode")}function mre(t,e){if(!t)return/(?:)/;var r="";return t instanceof RegExp?(t.ignoreCase&&(r="i"),t=t.source):t=String(t),new RegExp((e===!1?"":"^")+"(?:"+t+")",r)}function Ore(t){if(!t)return null;if(t.apply)return t;if(typeof t=="string")return t.replace(/\./g," ");for(var e=[],r=0;r<t.length;r++)e.push(t[r]&&t[r].replace(/\./g," "));return e}function gre(t,e){(t.next||t.push)&&YA(e,t.next||t.push),this.regex=mre(t.regex),this.token=Ore(t.token),this.data=t}function bre(t){return function(e,r){if(r.pending){var i=r.pending.shift();return r.pending.length==0&&(r.pending=null),e.pos+=i.text.length,i.token}for(var n=t[r.state],o=0;o<n.length;o++){var s=n[o],a=(!s.data.sol||e.sol())&&e.match(s.regex);if(a){s.data.next?r.state=s.data.next:s.data.push?((r.stack||(r.stack=[])).push(r.state),r.state=s.data.push):s.data.pop&&r.stack&&r.stack.length&&(r.state=r.stack.pop()),s.data.indent&&r.indent.push(e.indentation()+e.indentUnit),s.data.dedent&&r.indent.pop();var l=s.token;if(l&&l.apply&&(l=l(a)),a.length>2&&s.token&&typeof s.token!="string"){r.pending=[];for(var c=2;c<a.length;c++)a[c]&&r.pending.push({text:a[c],token:s.token[c-1]});return e.backUp(a[0].length-(a[1]?a[1].length:0)),l[0]}else return l&&l.join?l[0]:l}}return e.next(),null}}function yre(t,e){return function(r,i){if(r.indent==null||e.dontIndentStates&&e.doneIndentState.indexOf(r.state)>-1)return null;var n=r.indent.length-1,o=t[r.state];e:for(;;){for(var s=0;s<o.length;s++){var a=o[s];if(a.data.dedent&&a.data.dedentIfLineStart!==!1){var l=a.regex.exec(i);if(l&&l[0]){n--,(a.next||a.push)&&(o=t[a.next||a.push]),i=i.slice(l[0].length);continue e}}}break}return n<0?0:r.indent[n]}}var HA="from",vre=new RegExp("^(\\s*)\\b("+HA+")\\b","i"),GA=["run","cmd","entrypoint","shell"],wre=new RegExp("^(\\s*)("+GA.join("|")+")(\\s+\\[)","i"),KA="expose",xre=new RegExp("^(\\s*)("+KA+")(\\s+)","i"),kre=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],Sre=[HA,KA].concat(GA).concat(kre),JA="("+Sre.join("|")+")",Tre=new RegExp("^(\\s*)"+JA+"(\\s*)(#.*)?$","i"),Ere=new RegExp("^(\\s*)"+JA+"(\\s+)","i"),eR=ZA({start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:vre,token:[null,"keyword"],sol:!0,next:"from"},{regex:Tre,token:[null,"keyword",null,"error"],sol:!0},{regex:wre,token:[null,"keyword",null],sol:!0,next:"array"},{regex:xre,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:Ere,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],languageData:{commentTokens:{line:"#"}}});var Cre=186,Pre=187,Qre=188,tR=189,rR=190,iR=191,nR=192,oR=1,sR=2,aR=193,_re=194,Are=195,Rre=3,$re=4,Xre=5,Ire=6,Lre=7,zre=8,Mre=9,Dre=10,Ure=11,Nre=12,jre=13,Bre=14,Vre=15,qre=16,Fre=17,Wre=18,Zre=19,Yre=20,Hre=21,Gre=22,Kre=23,Jre=196,eie=197,lR=9,bO=10,dw=13,cR=32,yO=33,Sh=34,pw=35,tie=37,pO=38,Th=39,uR=40,aw=41,lw=42,Xc=43,rie=44,oa=45,dl=46,ho=47,fR=48,hR=57,ts=58,dR=59,mO=60,ia=61,mi=62,mw=63,pR=64,iie=65,nie=90,mR=91,gO=92,cw=93,OO=94,OR=97,sw=99,$c=100,uw=101,oie=104,fw=105,sie=108,aie=109,fl=110,sa=111,lie=112,cie=114,Ow=116,uie=117,fie=119,hie=121,die=122,gR=123,hl=124,hw=125,Eh=126,pie=[{token:$re,supportsInterpol:!0,endDelimiter:Th,delimiterLength:1},{token:Rre,supportsInterpol:!0,endDelimiter:Sh,delimiterLength:1},{token:Ire,supportsInterpol:!0,endDelimiter:Th,delimiterLength:3},{token:Xre,supportsInterpol:!0,endDelimiter:Sh,delimiterLength:3},{token:Lre,supportsInterpol:!0,endDelimiter:aw,delimiterLength:1},{token:zre,supportsInterpol:!0,endDelimiter:hw,delimiterLength:1},{token:Mre,supportsInterpol:!0,endDelimiter:cw,delimiterLength:1},{token:Dre,supportsInterpol:!0,endDelimiter:mi,delimiterLength:1},{token:Ure,supportsInterpol:!0,endDelimiter:hl,delimiterLength:1},{token:Nre,supportsInterpol:!0,endDelimiter:ho,delimiterLength:1},{token:Bre,supportsInterpol:!1,endDelimiter:Th,delimiterLength:1},{token:jre,supportsInterpol:!1,endDelimiter:Sh,delimiterLength:1},{token:qre,supportsInterpol:!1,endDelimiter:Th,delimiterLength:3},{token:Vre,supportsInterpol:!1,endDelimiter:Sh,delimiterLength:3},{token:Fre,supportsInterpol:!1,endDelimiter:aw,delimiterLength:1},{token:Wre,supportsInterpol:!1,endDelimiter:hw,delimiterLength:1},{token:Zre,supportsInterpol:!1,endDelimiter:cw,delimiterLength:1},{token:Yre,supportsInterpol:!1,endDelimiter:mi,delimiterLength:1},{token:Hre,supportsInterpol:!1,endDelimiter:hl,delimiterLength:1},{token:Gre,supportsInterpol:!1,endDelimiter:ho,delimiterLength:1}],mie=new kt((t,e)=>{let r=pie.find(i=>e.canShift(i.token));Oie(t,r)&&t.acceptToken(r.token)});function Oie(t,e){let r=e.delimiterLength===3;for(let i=!1;;i=!0){let n=!1;if(vR(t.next))for(t.advance(),i=!0,n=!0;qi(t.next);)t.advance();if(t.next===e.endDelimiter){let o=1;for(;o<e.delimiterLength&&t.peek(o)===e.endDelimiter;)o++;if(o===e.delimiterLength&&(!r||n))return i;t.advance(o)}else{if(t.next===pw){if(e.supportsInterpol&&t.peek(1)===gR)return i}else if(t.next===gO){if(!(r&&t.peek(1)===bO)){if(e.supportsInterpol||t.peek(1)===e.endDelimiter)return i}}else if(t.next===-1)return i;t.advance()}}return!1}var gie=new kt((t,e)=>{let r=0;for(;OR<=t.next&&t.next<=die||iie<=t.next&&t.next<=nie||fR<=t.next&&t.next<=hR;)t.advance(),r++;r>0&&t.acceptToken(Kre)}),bie=new kt((t,e)=>{qi(t.peek(-1))||(e.canShift(oR)&&t.next===uR?(t.advance(),t.acceptToken(oR)):e.canShift(sR)&&t.next===mR?(t.advance(),t.acceptToken(sR)):e.canShift(aR)&&t.next===ts&&(t.advance(),qi(t.next)&&t.acceptToken(aR)))}),yie=new kt((t,e)=>{if(Ch(t.next)){for(t.advance();Ch(t.next);)t.advance();if(t.next===Xc){let r=t.peek(1);r!==Xc&&r!==ts&&r!==ho&&!qi(r)&&t.acceptToken(tR)}else if(t.next===oa){let r=t.peek(1);r!==oa&&r!==mi&&r!==ts&&r!==ho&&!qi(r)&&t.acceptToken(tR)}}}),bR=/[\p{ID_Start}_]/u,yR=/[\p{ID_Continue}@]/u,vie=new kt((t,e)=>{if(t.next===ts){t.advance();let[r,i]=Ic(t);if(bR.test(r)){do t.advance(i),[r,i]=Ic(t);while(yR.test(r));(t.next===mw||t.next===yO)&&t.advance(),t.acceptToken(_re)}}}),wie=new kt((t,e)=>{let[r,i]=Ic(t);if(bR.test(r)){do t.advance(i),[r,i]=Ic(t);while(yR.test(r));(t.next===mw||t.next===yO)&&t.advance(),t.next===ts&&(t.advance(),qi(t.next)&&t.acceptToken(Are))}}),xie=/[_\p{Ll}\p{Lm}\p{Lo}\p{Nl}\u1885\u1886\u2118\u212E\u309B\u309C]/u,kie=/[\p{ID_Continue}]/u,Sie=new kt((t,e)=>{let[r,i]=Ic(t),o=r==="_"?eie:Jre;if(xie.test(r)){do t.advance(i),[r,i]=Ic(t);while(kie.test(r));(t.next===mw||t.next===yO)&&t.advance(),t.acceptToken(o)}else t.next===dl&&(t.advance(),t.next===dl&&(t.advance(),t.next===dl&&(t.advance(),na(t.next)&&t.acceptToken(o))))}),Tie=new kt((t,e)=>{if(t.next===fl&&(t.advance(),t.next===sa&&(t.advance(),t.next===Ow))){for(t.advance();Ch(t.next);)t.advance();t.next===fw&&(t.advance(),t.next===fl&&(t.advance(),na(t.next)&&t.acceptToken(Cre)))}}),Eie=new kt((t,e)=>{t.next===ho&&(t.advance(),t.next===ho&&(t.advance(),t.acceptToken(Pre)))}),Cie=new kt((t,e)=>{t.next===pR&&(t.advance(),(t.next===$c&&t.peek(1)===sa&&t.peek(2)===sw&&qi(t.peek(3))||t.next===aie&&t.peek(1)===sa&&t.peek(2)===$c&&t.peek(3)===uie&&t.peek(4)===sie&&t.peek(5)===uw&&t.peek(6)===$c&&t.peek(7)===sa&&t.peek(8)===sw&&qi(t.peek(9))||t.next===Ow&&t.peek(1)===hie&&t.peek(2)===lie&&t.peek(3)===uw&&t.peek(4)===$c&&t.peek(5)===sa&&t.peek(6)===sw&&qi(t.peek(7)))&&t.acceptToken(Qre))}),Pie=new kt((t,e)=>{if(t.next===dw&&t.advance(),t.next===bO){t.advance();let r=0,i=!1;for(;qi(t.peek(r));)i=i||vR(t.peek(r)),r++;if(e.canShift(nR)&&t.peek(r)===$c&&t.peek(r+1)===sa&&na(t.peek(r+2))){t.acceptToken(nR);return}if(e.canShift(iR)&&Qie(t,r)){t.acceptToken(iR);return}e.canShift(rR)&&t.peek(r)!==dR&&t.peek(r)!==pw&&!i&&t.acceptToken(rR)}});function Qie(t,e=0){if(t.peek(e)===pO){if(e++,t.peek(e)===pO)return e++,t.peek(e)===pO,nt(t,e)}else{if(t.peek(e)===ia)return t.peek(e)===ia?(e++,t.peek(e)===ia&&e++,nt(t,e)):t.peek(e)===Eh?(e++,nt(t,e)):(t.peek(1)===mi&&e++,nt(t,e));if(t.peek(e)===ts){if(e++,t.peek(e)===ts)return e++,t.peek(e)===ts?!1:nt(t,e)}else if(t.peek(e)===Xc){if(e++,t.peek(e)===Xc)return e++,t.peek(e)===Xc&&e++,nt(t,e)}else if(t.peek(e)===oa){if(e++,t.peek(e)===oa)return e++,t.peek(e)===oa&&e++,nt(t,e);if(t.peek(e)===mi)return e++,nt(t,e)}else if(t.peek(e)===mO){if(e++,t.peek(e)===ia||t.peek(e)===oa||t.peek(e)===mi)return e++,nt(t,e);if(t.peek(e)===Eh)return e++,t.peek(e)===mi&&e++,nt(t,e);if(t.peek(e)===hl){if(e++,t.peek(e)===mi)return e++,nt(t,e)}else if(t.peek(e)===mO){if(e++,t.peek(e)===mO||t.peek(e)===Eh)return e++,nt(t,e)}else return nt(t,e)}else if(t.peek(e)===mi){if(e++,t.peek(e)===ia)return e++,nt(t,e);if(t.peek(e)===mi){if(e++,t.peek(e)===mi)return e++,nt(t,e)}else return nt(t,e)}else if(t.peek(e)===OO){if(e++,t.peek(e)===OO&&(e++,t.peek(e)===OO))return e++,nt(t,e)}else if(t.peek(e)===yO){if(e++,t.peek(e)===ia)return e++,t.peek(e)===ia&&e++,nt(t,e)}else if(t.peek(e)===Eh){if(e++,t.peek(e)===mi)return e++,t.peek(e)===mi&&e++,nt(t,e)}else{if(t.peek(e)===hl)return e++,t.peek(e)===hl?(e++,t.peek(e)===hl&&e++,nt(t,e)):(t.peek(e)===mi&&e++,nt(t,e));if(t.peek(e)===lw)return e++,t.peek(e)===lw&&e++,nt(t,e);if(t.peek(e)===ho)return e++,t.peek(e)===ho&&e++,nt(t,e);if(t.peek(e)===dl)return e++,t.peek(e)===dl?(e++,t.peek(e)===dl?!1:nt(t,e)):nt(t,e);if(t.peek(e)===gO){if(e++,t.peek(e)===gO)return e++,nt(t,e)}else if(t.peek(e)===fie){if(e++,t.peek(e)===oie&&(e++,t.peek(e)===uw&&(e++,t.peek(e)===fl)))return e++,na(t.peek(e))&&nt(t,e)}else if(t.peek(e)===OR){if(e++,t.peek(e)===fl&&(e++,t.peek(e)===$c))return e++,na(t.peek(e))&&nt(t,e)}else if(t.peek(e)===sa){if(e++,t.peek(e)===cie)return e++,na(t.peek(e))&&nt(t,e)}else if(t.peek(e)===fw){if(e++,t.peek(e)===fl)return e++,na(t.peek(e))&&nt(t,e)}else if(t.peek(e)===fl&&(e++,t.peek(e)===sa&&(e++,t.peek(e)===Ow))){for(e++;Ch(t.peek(e));)e++;if(t.peek(e)===fw&&(e++,t.peek(e)===fl))return e++,na(t.peek(e))&&nt(t,e)}}}}function nt(t,e){if(t.peek(e)===ts)return!qi(t.peek(e+1));for(;Ch(t.peek(e));)e++;if(t.peek(e)===ho){for(e++;qi(t.peek(e));)e++;if(_ie(t.peek(e)))return!1}return!0}function Ch(t){return t===cR||t===lR}function qi(t){return t===cR||t===lR||t===bO||t===dw}function vR(t){return t===bO||t===dw}function _ie(t){return fR<=t&&t<=hR}var Aie=new Set([pR,dl,Xc,oa,OO,oa,lw,ho,mO,mi,hl,Eh,ia,pO,gO,tie,gR,hw,mR,cw,uR,aw,Sh,Th,rie,dR,pw]);function na(t){return Aie.has(t)?!0:qi(t)||t===-1}function Ic(t){let e=t.next;if(55296<=e&&e<=56319){let r=t.peek(1);if(56320<=r&&r<=57343)return[String.fromCharCode(e,r),2]}return[String.fromCharCode(e),1]}var Rie=wr({"Atom QuotedAtom QuotedAtom/QuotedContent Keyword QuotedKeyword QuotedKeyword/QuotedContent":A.atom,Alias:A.namespace,Boolean:A.bool,Nil:A.null,Integer:A.integer,Float:A.float,Char:A.character,Identifier:A.variableName,Comment:A.lineComment,SpecialIdentifier:A.special(A.variableName),UnderscoredIdentifier:A.comment,"String String/QuotedContent":A.string,"Charlist Charlist/QuotedContent":A.string,"Sigil Sigil/SigilName Sigil/QuotedContent Sigil/{ Sigil/} Sigil/[ Sigil/] Sigil/( Sigil/)":A.special(A.string),EscapeSequence:A.escape,"Interpolation/#{ Interpolation/}":A.special(A.brace),"( )":A.paren,"[ ]":A.squareBracket,"% { }":A.brace,", ;":A.separator,"<< >>":A.angleBracket,"fn do end catch rescue after else":A.keyword,Operator:A.operator,WordOperator:A.keyword,"CaptureOperand/Integer":A.operator,"AtOperator/Operator AtOperator/Identifier AtOperator/Boolean AtOperator/Nil AtOperator/Call/Identifier":A.attributeName,"DocAtOperator/Operator DocAtOperator/Identifier DocAtOperator/Call/Identifier DocAtOperator/Call/Arguments/Boolean DocAtOperator/Call/Arguments/String DocAtOperator/Call/Arguments/String/QuotedContent DocAtOperator/Call/Arguments/Charlist DocAtOperator/Call/Arguments/Charlist/QuotedContent DocAtOperator/Call/Arguments/Sigil DocAtOperator/Call/Arguments/Sigil/QuotedContent DocAtOperator/Call/Arguments/Sigil/SigilName DocAtOperator/Call/Arguments/Sigil/{ DocAtOperator/Call/Arguments/Sigil/} DocAtOperator/Call/Arguments/Sigil/[ DocAtOperator/Call/Arguments/Sigil/] DocAtOperator/Call/Arguments/Sigil/( DocAtOperator/Call/Arguments/Sigil/)":A.docString,"Call/Identifier Call/UnderscoredIdentifier":A.function(A.variableName),"Call/Dot/Right/Identifier Call/Dot/Right/SpecialIdentifier Call/Dot/Right/UnderscoredIdentifier":A.function(A.variableName),"Call/Dot/Atom":A.namespace,"PipeOperator/Right/Identifier":A.function(A.variableName),"FunctionDefinitionCall/Identifier":A.keyword,"FunctionDefinitionCall/Arguments/Identifier FunctionDefinitionCall/Arguments/UnderscoredIdentifier FunctionDefinitionCall/Arguments/SpecialIdentifier":A.definition(A.function(A.variableName)),"FunctionDefinitionCall/Arguments/Call/Identifier FunctionDefinitionCall/Arguments/Call/UnderscoredIdentifier FunctionDefinitionCall/Arguments/Call/SpecialIdentifier":A.definition(A.function(A.variableName)),"FunctionDefinitionCall/Arguments/WhenOperator/Identifier FunctionDefinitionCall/Arguments/WhenOperator/UnderscoredIdentifier FunctionDefinitionCall/Arguments/WhenOperator/SpecialIdentifier":A.definition(A.function(A.variableName)),"FunctionDefinitionCall/Arguments/WhenOperator/Call/Identifier FunctionDefinitionCall/Arguments/WhenOperator/Call/UnderscoredIdentifier FunctionDefinitionCall/Arguments/WhenOperator/Call/SpecialIdentifier":A.definition(A.function(A.variableName)),"FunctionDefinitionCall/Arguments/PipeOperator/Right/Identifier":A.variableName,"KernelCall/Identifier":A.keyword}),$ie={__proto__:null,when:426,def:440,defdelegate:442,defguard:444,defguardp:446,defmacro:448,defmacrop:450,defn:452,defnp:454,defp:456,defexception:458,defimpl:460,defmodule:462,defoverridable:464,defprotocol:466,defstruct:468,alias:470,case:472,cond:474,for:476,if:478,import:480,quote:482,raise:484,receive:486,require:488,reraise:490,super:492,throw:494,try:496,unless:498,unquote:500,unquote_splicing:502,use:504,with:506,true:508,false:510,nil:512,not:580,do:592,after:596,rescue:600,catch:604,else:608,end:610,and:616,in:618,or:620,fn:622},Xie={__proto__:null,__MODULE__:430,__DIR__:432,__ENV__:434,__CALLER__:436,__STACKTRACE__:438},wR=ti.deserialize({version:14,states:"$BUQ'_Q!7uOOP'iOMhOOOOQ<R'#Gn'#GnO'nQ##|O'#GuO'|Q##|O'#GwO([Q!:kO'#CvOOQ<u'#D['#D[OOQ<u'#D^'#D^OOQ<u'#Gz'#GzOOQ8a'#Dg'#DgOOQ8a'#Hw'#HwO.gQ##|O'#HzO.uQ##|O'#H|O/TQ!:kO'#DrO/bQ!:kO'#DtO/oQ!:kO'#DuO/|Q!7uO'#F^O5xQ!6UO'#DzO/|Q!7uO'#F^OOQ9]'#ER'#EROcQ!7uO'#EQO;yQ!7uO'#F^OOQ8a'#Ii'#IiQ=zQ!6yOOO>UQ!;_O'#GpOOQ8a'#EY'#EY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^X%f$^X%m$^X'd$^X'p$^X'q$^X'r$^X~P#9YO%W'`X'd'`X~P%(]O!doa%foa!boa!koa%Poa%Uoa%coavoa'foa'hoa'joa'loa'moa~P<WOQ$RO!o4[O!z#lO#b1XO#c1cO#d1mO#e2SO#f2^O#g2hO#h2rO#i2|O#j3WO#k3lO#l3vO#m4fO#n4fO#o4pO#x4QO#z1xO$U5VO%QuO%R#mO%m!SO'p!`O'q!aO'r!_O~O%foavoa%Uoa%coa'moa'foa'hoa'joa'loa~P,:eO%Poa%Uoa%Woa%coa%foa'doa!doa!boa!koavoa'moa'foa'hoa'joa'loa~P#>gOQ$RO!o4cO!z#lO#b1`O#c1jO#d1uO#e2ZO#f2eO#g2oO#h2yO#i3TO#j3_O#k3sO#l3}O#m4mO#n4mO#o4wO#x4XO#z2PO$U5^O%QuO%R#mO%m!SO'p!`O'q!aO'r!_O~Ovoa|oa%foa~P,={OQ$RO!o4]O!z#lO#b1YO#c1dO#d1nO#e2TO#f2_O#g2iO#h2sO#i2}O#j3XO#k3mO#l3wO#m4gO#n4gO#o4qO#x4RO#z1yO$U5WO%QuO%R#mO%m!SO'p!`O'q!aO'r!_O~O!aoa%foa~P,?|Ovoa|oa%Uoa%Woa%coa%foa'doa'foa'hoa'joa'loa'moa~P,,uO!aoa%Woa%foa'doa~P,/cO%f5oO%Pna%Una%cna!dna!bna!knavna'mna'fna'hna'jna'lna~P(:SOQna!ona!zna#bna#cna#dna#ena#fna#gna#hna#ina#jna#kna#lna#mna#nna#ona#xna#zna$Una%Qna%Rna%Una%cna%mna'pna'qna'rnavna'fna'hna'jna'lna'mna~O%f5pO%Pna!dna!bna!kna~P,DRO%f5qO~P,DROQna!ana!ona!zna#bna#cna#dna#ena#fna#gna#hna#ina#jna#kna#lna#mna#nna#ona#xna#zna$Una%Qna%Rna%mna'pna'qna'rna~O%f5sO~P,FyOvna|na%mnaQna!ona!zna#bna#cna#dna#ena#fna#gna#hna#ina#jna#kna#lna#mna#nna#ona#xna#zna$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1s1t1u1v1w1x1y1z1{1|1}2O2P2Q2R2S2T2U2V2W2X2Y2Z2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2q2r2s2t2u2v2w2x2y2z2{2|2}3O3P3Q3R3S3T3U3V3W3X3Y3Z3[3]3^3_3`3a3b3c3d3e3f3g3h3i3j3k3l3m3n3o3p3q3r3s3t3u3v3w3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4]4^4_4`4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x4y4z4{4|4}5O5P5Q5R5S5T5U5V5W5X5Y5Z5[5]5^5c5d5e5f6O6Q6R9q9r9s9v9w9z9{9|9}:O:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;j;k;p;q;r;s;t;u;v;w;x;y;z;{;|;}<O<P<Q<R<S<T<U<V<W<X<Y<[<]<^<_<`<a<b<c<d<e<f<g<h<i<j<k<l=d=f=g",nodeNames:"\u26A0 ( [ QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent QuotedContent SigilModifiers Comment Source Block ( StabClause Arguments Keywords Pair Keyword QuotedKeyword EscapeSequence Interpolation #{ } ) WhenOperator WordOperator Right Arguments WhenOperator Operator Body Identifier SpecialIdentifier UnderscoredIdentifier Identifier Identifier Alias Integer Float Char Boolean Nil Atom QuotedAtom String Charlist Sigil SigilName { } [ ] SigilName List Keywords Tuple Bitstring << >> Map Struct UnaryOperator Operator Operator WordOperator AtOperator Operator DocAtOperator Operator CaptureOperator Operator CaptureOperand Dot Operator Right Call Arguments DoBlock do AfterBlock after RescueBlock rescue CatchBlock catch ElseBlock else end FunctionDefinitionCall KernelCall Call Dot Right Identifier OperatorIdentifier Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator Operator String Charlist Call Dot Arguments Call MapContent OperatorIdentifier Operator BinaryOperator Operator WordOperator WordOperator WordOperator WordOperator Operator OperatorIdentifier WhenOperator Right PipeOperator Operator Right Call Arguments FunctionDefinitionCall KernelCall Call KernelCall Call AccessCall AnonymousFunction fn",maxTerm:319,nodeProps:[["closedBy",36,"interpolationEnd",72,">>"],["openedBy",37,"interpolationStart",73,"<<"]],propSources:[Rie],skippedNodes:[0,24],repeatNodeCount:29,tokenData:"Dp~RuXY#fYZ#q]^#vpq#fqr#|rs%Qst%euv'Rvw'jwx(Yxy(myz(rz{(w{|)[|})z}!O*P!O!P*r!P!Q+c!Q!R+p!R![/b![!]1X!]!^8U!^!_8Z!_!`:W!`!a:n!a!b;W!b!c<V!c!}<_!}#O>i#O#P>n#P#QBU#Q#RBZ#T#oBt#o#pBy#p#qCR#q#rDO#r#sDV~#kQ%_~XY#fpq#f~#vO%`~~#yPYZ#q~$RQ!p~![!]$X!_!`$mT$[SXY$hYZ$h]^$hpq$hT$mO%hT~$rQ#h~![!]$X!_!`$x~$}P#h~![!]$X~%VP%j~rs%Y~%]Prs%`~%eO&o~~%jVh~OY&PZ]&P^#o&P#o#p&k#p;'S&P;'S;=`&e<%lO&P~&UTh~OY&PZ]&P^;'S&P;'S;=`&e<%lO&P~&hP;=`<%l&P~&rTt~h~OY&PZ]&P^;'S&P;'S;=`&e<%lO&P~'WQ'[~![!]$X#o#p'^T'aP#q#r'dT'gP![!]$X~'oQ!w~vw'u![!]$X~'zQ#g~vw(Q![!]$X~(VP#g~![!]$X~(_P%l~wx(b~(ePwx(h~(mO&q~~(rOk~~(wOv~~(|Q#m~z{)S![!]$X~)XP#o~![!]$X~)aQ!o~{|)g![!]$XT)lQ#lT{|)r![!]$XT)wP#lT![!]$X~*PO%f~~*UR!o~}!O*_![!]$X!`!a*jT*dQ#lT}!O)r![!]$X~*oP|~![!]$X~*wQ!z~!O!P*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~D[Q&r~!`!a9{#r#sDb~DeP#r#sDh~DmP!p~![!]$X",tokenizers:[Tie,Eie,Cie,yie,Pie,bie,vie,wie,mie,gie,Sie,0,1,2],topRules:{Source:[0,25]},dynamicPrecedences:{43:1,76:-1,147:-1},specialized:[{term:196,get:t=>$ie[t]||-1},{term:197,get:t=>Xie[t]||-1}],tokenPrec:42758});var xR=Jr.define({name:"elixir",parser:wR.configure({props:[zr.add({"DoBlock AfterBlock ElseBlock CatchBlock RescueBlock":gw(ei({except:/^\s*(after|else|catch|rescue|end)\b/})),AnonymousFunction:gw(uo({closing:"end",align:!1})),Block:gw(uo({closing:")",align:!1})),StabClause:ei(),List:uo({closing:"]",align:!1}),Tuple:uo({closing:"}",align:!1}),Bitstring:uo({closing:">>",align:!1}),Arguments:uo({closing:")",align:!1}),Map:uo({closing:"}",align:!1}),"String Charlist Sigil":Dm,BinaryOperator:ei(),Pair:ei()}),Er.add({"DoBlock Block List Tuple Bitstring AnonymousFunction":Gs,Map:Iie})]}),languageData:{commentTokens:{line:"#"},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["~s","~S","~r","~R","~c","~C","~D","~N"]},indentOnInput:/^\s*([\}\]\)]|>>|after|else|catch|rescue|end)|.*->$/}});function gw(t){return e=>{var r,i,n,o;let s=e.node.childBefore(e.pos);return((i=(r=e.node.lastChild)===null||r===void 0?void 0:r.type)===null||i===void 0?void 0:i.name)==="end"&&e.textAfter.endsWith("end")?e.baseIndentFor(e.node):((n=s==null?void 0:s.type)===null||n===void 0?void 0:n.name)==="StabClause"&&e.textAfter.endsWith("->")?e.baseIndentFor(s):((o=s==null?void 0:s.type)===null||o===void 0?void 0:o.name)==="StabClause"?e.baseIndentFor(s)+e.unit:t(e)}}function Iie(t){let e=t.getChild("{"),r=t.getChild("}");return e&&r?{from:e.to,to:r.from}:null}var Lie=t=>{let{state:e,dispatch:r}=t,i=pt(e),n=co(e),o=!0,s=e.changeByRange(a=>{if(!a.empty||!xR.isActiveAt(e,a.from))return o=!1,{range:a};let l=i.resolve(a.from,-1),c=zie(l);if(c&&!Mie(c)){let u=Tc(e,c.from+1)||n,f=Go(e,u),d=Go(e,u-n),p=`
${f}`,O=`
${d}end`,w=a.from+p.length;return{range:ce.cursor(w),changes:[{from:a.from,to:a.to,insert:p+O}]}}return o=!1,{range:a}});return o?(r(e.update(s,{scrollIntoView:!0,userEvent:"input"})),!0):!1};function zie(t){let e=t;return e&&e.type.name==="do"&&(e=e.parent),e&&e.type.name==="Operator"&&(e=e.parent),e&&(e.type.name==="StabClause"||e.type.name==="fn")&&(e=e.parent),e&&kR(e)?e:null}function kR(t){return t.type.name==="DoBlock"||t.type.name==="AnonymousFunction"}function Mie(t){var e,r;let i=t;for(;i;){if(kR(i)&&((r=(e=i.lastChild)===null||e===void 0?void 0:e.type)===null||r===void 0?void 0:r.name)!=="end")return!1;i=i.parent}return!0}var Die=[{key:"Enter",run:Lie}];function SR(){let t=[cr.high(vr.of(Die))];return new or(xR,t)}var TR=mr.of({name:"Elixir",support:SR()}),ER=mr.of({name:"Erlang",support:new or(eh.define(WA))}),CR=mr.of({name:"SQL",support:TA()}),PR=mr.of({name:"JSON",support:_A()}),QR=mr.of({name:"XML",support:DA()}),_R=mr.of({name:"CSS",support:oO()}),AR=mr.of({name:"HTML",support:lO()}),RR=mr.of({name:"JavaScript",support:sO()}),$R=mr.of({name:"Dockerfile",support:new or(eh.define(eR))}),Uie=mr.of({name:"Markdown",support:uA({base:cO,codeLanguages:[TR,ER,CR,PR,QR,_R,AR,RR,$R]})}),vO=[TR,ER,CR,PR,QR,_R,AR,RR,$R,Uie];function XR(t,{dark:e}){let r={sans:"Inter",mono:"JetBrains Mono, monospace"};return xe.theme({"&":{color:t.text,backgroundColor:t.background,fontSize:"14px",fontFamily:r.mono,fontVariantLigatures:"none"},"&.cm-focused":{outline:"none"},".cm-scroller":{fontFamily:"inherit"},".cm-content":{caretColor:t.cursor,padding:"0"},"*":{"&::-webkit-scrollbar":{width:"8px",height:"8px"},"&::-webkit-scrollbar-thumb":{borderRadius:"4px",background:"transparent"},"&:hover::-webkit-scrollbar-thumb":{background:t.backgroundLightest},"&::-webkit-scrollbar-track":{background:"transparent"}},".cm-activeLine":{backgroundColor:"transparent"},".cm-cursor, .cm-dropCursor":{borderLeft:"1px solid",borderRight:"1px solid",marginLeft:"-1px",marginRight:"-1px",borderColor:t.cursor},".cm-selectionBackground":{backgroundColor:t.inactiveSelectionBackground},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{backgroundColor:t.selectionBackground},".cm-selectionMatch":{backgroundColor:t.selectionMatchBackground},".cm-gutters":{backgroundColor:t.background,color:t.gutterText,border:"none"},".cm-gutters .cm-activeLineGutter":{backgroundColor:"transparent"},".cm-tooltip":{backgroundColor:t.backgroundLighter,boxShadow:"0 2px 6px 0 rgba(0, 0, 0, 0.2)",color:t.text,borderRadius:"8px",border:`1px solid ${t.border}`,"& .cm-tooltip-arrow::before":{borderTopColor:t.backgroundLighter,borderBottomColor:t.backgroundLighter}},".cm-panels":{backgroundColor:t.background,color:t.text,"&.cm-panels-top":{borderBottom:`2px solid ${t.separator}`},"&.cm-panels-bottom":{borderTop:`2px solid ${t.separator}`}},".cm-gutter.cm-lineNumbers":{"& .cm-gutterElement":{color:t.lineNumber,whiteSpace:"pre","&.cm-activeLineGutter":{color:t.lineNumberActive}}},".cm-gutter.cm-foldGutter":{"& .cm-gutterElement":{cursor:"pointer"},"&:not(:hover) .cm-gutterElement > .cm-gutterFoldMarker-open":{visibility:"hidden"}},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"unset",borderRadius:"2px","&:hover":{backgroundColor:t.selectionBackground}},".cm-searchMatch":{backgroundColor:t.searchMatchBackground,"&.cm-searchMatch-selected":{backgroundColor:t.searchMatchActiveBackground}},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:t.selectionBackground},".cm-tooltip.cm-tooltip-autocomplete":{padding:"4px",backgroundColor:t.backgroundLighter,color:t.text,"& > ul":{fontFamily:"inherit","& > li":{padding:"4px",borderRadius:"4px",display:"flex",alignItems:"center","&[aria-selected]":{background:"none",backgroundColor:t.backgroundLightest,color:"unset"},"& .cm-completionIcon":{lineHeight:"1","&:after":{fontVariantLigatures:"normal"},"&.cm-completionIcon-function:after":{content:"'\u0192'"},"&.cm-completionIcon-module:after":{content:"'m'"},"&.cm-completionIcon-struct:after":{content:"'\u2B58'"},"&.cm-completionIcon-interface:after":{content:"'*'"},"&.cm-completionIcon-type:after":{content:"'t'"},"&.cm-completionIcon-variable:after":{content:"'\u{1D465}'"},"&.cm-completionIcon-field:after":{content:"'\u2022'"},"&.cm-completionIcon-keyword:after":{content:"'\u26A1'"}}}},"& .cm-completionMatchedText":{textDecoration:"none",color:t.matchingText}},".cm-tooltip.cm-completionInfo":{borderRadius:"8px",backgroundColor:t.backgroundLighter,color:t.text,top:"0 !important",padding:"0","&.cm-completionInfo-right":{marginLeft:"4px"},"&.cm-completionInfo-left":{marginRight:"4px"},"& .cm-completionInfoDetail":{padding:"6px"},"& .cm-completionInfoDocs":{padding:"6px","&:not(:first-child)":{borderTop:`1px solid ${t.separator}`}}},".cm-tooltip .cm-hoverDocs":{maxWidth:"800px",maxHeight:"300px",overflowY:"auto",padding:"8px",display:"flex",flexDirection:"column",gap:"64px"},".cm-tooltip.cm-signatureHint":{"& .cm-signatureHintStepper":{borderColor:t.separator},"& .cm-signatureHintActiveArgument":{color:t.matchingText}},".cm-panel.cm-search":{display:"flex",alignItems:"center",flexWrap:"wrap",padding:"8px 8px 0 8px","& br":{content:'" "',display:"block",width:"100%"},"& .cm-textfield":{borderRadius:"4px",border:`1px solid ${t.border}`},"& .cm-button":{borderRadius:"4px",background:t.backgroundLightest,border:"none"},"& label:first-of-type":{marginLeft:"8px"},"& label":{display:"inline-flex",alignItems:"center",gap:"4px"},"& label input":{appearance:"none",border:`1px solid ${t.backgroundLightest}`,borderRadius:"4px",width:"18px",height:"18px","&:checked":{backgroundImage:`url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")`,backgroundColor:t.backgroundLightest,borderColor:"transparent"}},'& button[name="close"]':{display:"none"}},".cm-markdown":{"&":{fontFamily:r.sans},"& p":{marginTop:"0.5rem",marginBottom:"0.5rem"},"& hr":{borderTop:`1px solid ${t.separator}`,marginTop:"0.5rem",marginBottom:"0.5rem",marginRight:"-6px",marginLeft:"-6px"},"& a":{borderBottom:`1px solid ${t.text}`},"& h2":{marginTop:"0.5rem",marginBottom:"0.5rem",fontSize:"1.125em",fontWeight:"600"},"& code":{background:t.selectionBackground,borderRadius:"3px"},"& pre code":{background:"transparent"},"& > :first-child":{marginTop:"0"},"& > :last-child":{marginBottom:"0"}}},{dark:e})}function IR({base:t,lightRed:e,blue:r,gray:i,green:n,purple:o,red:s,teal:a,peach:l,yellow:c}){return xc.define([{tag:A.keyword,color:o},{tag:A.null,color:r},{tag:A.bool,color:r},{tag:A.number,color:r},{tag:A.string,color:n},{tag:A.special(A.string),color:c},{tag:A.character,color:r},{tag:A.escape,color:r},{tag:A.atom,color:r},{tag:A.variableName,color:t},{tag:A.special(A.variableName),color:e},{tag:[A.function(A.variableName),A.function(A.propertyName)],color:r},{tag:A.namespace,color:a},{tag:A.operator,color:l},{tag:A.comment,color:i},{tag:[A.docString,A.docComment],color:i},{tag:[A.paren,A.squareBracket,A.brace,A.angleBracket,A.separator],color:t},{tag:A.special(A.brace),color:s},{tag:A.strong,fontWeight:"bold"},{tag:A.emphasis,fontStyle:"italic"},{tag:A.strikethrough,textDecoration:"line-through"},{tag:A.link,color:r},{tag:A.heading,color:e},{tag:A.monospace,color:n},{tag:A.name,color:o},{tag:A.propertyName,color:e},{tag:A.tagName,color:o},{tag:A.className,color:l}])}var Nie=XR({text:"#c8ccd4",background:"#282c34",backgroundLighter:"#2f343e",backgroundLightest:"#454a56",border:"#363c46",cursor:"#73ade8",selectionBackground:"#394c5f",inactiveSelectionBackground:"#29333d",selectionMatchBackground:"#343f4d",gutterText:"#c8ccd4",lineNumber:"#60646c",lineNumberActive:"#c8ccd4",matchingText:"#73ade8",searchMatchBackground:"#4c6582",searchMatchActiveBackground:"#54789e",separator:"#464b57"},{dark:!0}),bw=IR({base:"#c8ccd4",lightRed:"#e06c75",blue:"#61afef",gray:"#8c92a3",green:"#98c379",purple:"#c678dd",red:"#be5046",teal:"#56b6c2",peach:"#d19a66",yellow:"#e5c07b"}),LR=[Nie,P4(bw)],jie=XR({text:"#383a41",background:"#fafafa",backgroundLighter:"#ebebec",backgroundLightest:"#cacaca",border:"#dfdfe0",cursor:"#5c79e2",selectionBackground:"#d4dbf4",inactiveSelectionBackground:"#ebeef9",selectionMatchBackground:"#d3d5e1",gutterText:"#383a41",lineNumber:"#b6b7b9",lineNumberActive:"#383a41",matchingText:"#73ade8",searchMatchBackground:"#bbc6f1",searchMatchActiveBackground:"#9daeec",separator:"#c9c9ca"},{dark:!1}),yw=IR({base:"#304254",lightRed:"#e45649",blue:"#4078F2",gray:"#707177",green:"#50a14f",purple:"#a726a4",red:"#ca1243",teal:"#0084bc",peach:"#986801",yellow:"#c18401"}),zR=[jie,P4(yw)];var FR=_l(NR()),WR=_l(BR()),vw=_l(qR());function EO(){return/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)}function la(t){return t.matches&&t.matches("input, textarea, [contenteditable]")}function ww(t,e=0){let r=t.getBoundingClientRect();return r.bottom>=-e&&r.top<=window.innerHeight+e}function aa(t){return t.offsetParent===null}function ZR(t){let e=null;return new Promise((r,i)=>{aa(t)?(e=new ResizeObserver(n=>{aa(t)||(e.disconnect(),r())}),e.observe(t)):r()})}function CO(t,{root:e=null,proximity:r=0}={}){let i=null;return{promise:new Promise((s,a)=>{Bie(t,r)?s():(i=new IntersectionObserver(l=>{l[0].isIntersecting&&(i.disconnect(),i=null,s())},{root:e,rootMargin:`${r}px`}),i.observe(t))}),cancel:()=>{i&&i.disconnect()}}}function Bie(t,e=0){return!aa(t)&&ww(t,e)}function YR(t,e,r){return Math.min(Math.max(t,e),r)}function HR(t){let e=window.getComputedStyle(t),r=parseInt(e.lineHeight,10);if(Number.isNaN(r)){let i=t.cloneNode();i.innerHTML="<br>",t.appendChild(i);let n=i.clientHeight;i.innerHTML="<br><br>";let o=i.clientHeight;return t.removeChild(i),o-n}else return r}function GR(t){let e=window.getSelection(),r=document.createRange();r.selectNodeContents(t),e.removeAllRanges(),e.addRange(r)}function pl(t){let{height:e}=t.getBoundingClientRect();e<window.innerHeight?t.scrollIntoView({behavior:"smooth",block:"center"}):t.scrollIntoView({behavior:"smooth",block:"start"})}function KR(t){return Math.abs(t.scrollHeight-t.clientHeight-t.scrollTop)<1}function Ph(t){t.scrollTop=t.scrollHeight}function JR(t){return btoa(unescape(encodeURIComponent(t)))}function e$(t){return decodeURIComponent(escape(atob(t)))}function t$(){return i$(24)}function r$(){return i$(40)}function i$(t){let e=new Uint8Array(t);crypto.getRandomValues(e);let r=String.fromCharCode(...e);return btoa(r)}function PO(t){return(0,FR.default)(t).toString(vw.default)}function n$(t){return(0,WR.default)(t).toString(vw.default)}function QO(t){let e=document.querySelector('[rel="icon"]');e||(e=document.createElement("link"),e.rel="icon",document.head.appendChild(e)),e.href=`/${t}.svg`}function rs(t,e){let r=t.querySelector(e);if(!r)throw new Error(`expected a child matching ${e}, but none was found`);return r}function po(t){t.preventDefault(),t.stopPropagation()}var Vie={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39"};function _O(t){return(t||"").replace(/[&<>"']/g,e=>Vie[e])}function o$(t){let e=atob(t),r=new Uint8Array(e.length),i=r.byteLength;for(let n=0;n<i;n++)r[n]=e.charCodeAt(n);return r.buffer}function AO(){return document.body.hasAttribute("data-within-iframe")?";SameSite=None;Secure":";SameSite=Lax"}function RO(t,e,r=void 0){if(t.hasOwnProperty(e)){let i=t,{[e]:n}=i,o=qr(i,[Kx(e)]);return[n,o]}return[r,t]}function s$(t){return new Promise((e,r)=>{setTimeout(()=>e(),t)})}var Cr=class{constructor(){this.callbacks=[]}get event(){return this.addListener.bind(this)}addListener(e){return this.callbacks.push(e),{destroy:()=>{this.removeListener(e)}}}removeListener(e){let r=this.callbacks.indexOf(e);r!==-1&&this.callbacks.splice(r,1)}dispatch(...e){this.callbacks.forEach(r=>{r(...e)})}};var a$="settings",Qh={normal:14,large:16},qie={default:"default",emacs:"emacs",vim:"vim"},Lc={default:"default",light:"light"},Fie={editor_auto_completion:!0,editor_auto_signature:!0,editor_font_size:Qh.normal,editor_theme:Lc.default,editor_markdown_word_wrap:!0,editor_mode:qie.default,custom_view_show_section:!0,custom_view_show_markdown:!0,custom_view_show_output:!0,custom_view_spotlight:!1},xw=class{constructor(){Nt(this,"_onChange",new Cr);this.settings=Fie,this.loadSettings()}get(){return this.settings}update(e){let r=this.settings;this.settings=ne(ne({},this.settings),e),this._onChange.dispatch(this.settings,r),this.storeSettings()}getAndSubscribe(e){return e(this.settings),this._onChange.addListener(e)}loadSettings(){let e=ka(a$);e&&(Object.values(Lc).includes(e.editor_theme)||delete e.editor_theme,this.settings=ne(ne({},this.settings),e))}storeSettings(){Il(a$,this.settings)}},er=new xw;function zc(t,e){let r=mr.matchLanguageName(vO,e);if(!r)return _O(t);let i=r.support.language.parser.parse(t),n="";return bP(t,i,Wie(),(o,s)=>{n+=`<span class="${s}">${o}</span>`},()=>{n+="<br />"}),n}function Wie(){return er.get().editor_theme==="light"?yw:bw}var _h=class{constructor(e){this.size=e,this.cache=new Map}get(e){if(this.cache.has(e)){let r=this.cache.get(e);return this.cache.delete(e),this.cache.set(e,r),r}else return}set(e,r){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size===this.size){let i=this.cache.keys().next().value;this.cache.delete(i)}this.cache.set(e,r)}};var Zie=0,Yie=()=>`mermaid-graph-${Zie++}`,l$=!1,Hie="5.15.4",c$=new _h(25);function u$(t){let e=PO(t),r=c$.get(e);return r?Promise.resolve(r):Gie().then(i=>(Kie(t),i.render(Yie(),t).then(({svg:n})=>(c$.set(e,n),n)).catch(n=>`<div class="error-box whitespace-pre-wrap"><span class="font-semibold">Mermaid</span>
${n.message}</div>`)))}function Gie(){return import("./mermaid.core-Y5ZWDILJ.js").then(({default:t})=>(l$||(t.initialize({startOnLoad:!1}),l$=!0),t))}function Kie(t){let e=`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/${Hie}/css/all.min.css`;if(t.includes("fa:")&&!document.querySelector(`link[href="${e}"]`)){let r=document.createElement("link");r.rel="stylesheet",r.type="text/css",r.href=e,document.head.appendChild(r)}}var kw=class{constructor(e,r,{baseUrl:i=null,defaultCodeLanguage:n=null,emptyText:o="",allowedUriSchemes:s=[]}={}){this.container=e,this.content=r,this.baseUrl=i,this.defaultCodeLanguage=n,this.emptyText=o,this.allowedUriSchemes=s,this.render()}setContent(e){this.content=e,this.render()}render(){this.getHtml().then(e=>{let r=`<div>${e}</div>`;Hk(this.container,r,{childrenOnly:!0})})}getHtml(){return Wd().use(n0).use(p0).use(j0).use(ine).use(ene,{highlight:zc,defaultLanguage:this.defaultCodeLanguage}).use(G0,{allowDangerousHtml:!0}).use(kp).use(tne,{baseUrl:this.baseUrl}).use(Cp,Jie(this.allowedUriSchemes)).use(Tp).use(nne).use(one,{baseUrl:this.baseUrl}).use($p).process(this.content).then(e=>String(e)).catch(e=>{console.error(`Failed to render markdown, reason: ${e.message}`)}).then(e=>e||`
<div class="text-gray-300">
${this.emptyText}
</div>
`)}},ml=kw;function Jie(t){return Be(ne({},Tn),{attributes:Be(ne({},Tn.attributes),{"*":[...Tn.attributes["*"]||[],"className","style"]}),protocols:Be(ne({},Tn.protocols),{href:[...Tn.protocols.href,...t]})})}function ene(t){return e=>{let r=[];return Wr(e,"code",i=>{let n=i.lang||t.defaultLanguage;if(n){let o=function(a){i.type="html",i.value=`<pre><code>${a}</code></pre>`},s=t.highlight(i.value,n);if(s&&typeof s.then=="function"){let a=Promise.resolve(s).then(o);r.push(a)}else o(s)}}),Promise.all(r).then(()=>null)}}function tne(t){return e=>{t.baseUrl&&Wr(e,"element",r=>{if(r.tagName==="a"&&r.properties){let i=r.properties.href;i&&!Sw(i)&&!Tw(i)&&!sne(i)&&(r.properties.href=f$(t.baseUrl,i))}if(r.tagName==="img"&&r.properties){let i=r.properties.src;i&&!Sw(i)&&!Tw(i)&&(r.properties.src=f$(t.baseUrl,i))}}),Wr(e,"element",r=>{r.tagName==="a"&&r.properties&&r.properties.href&&(r.properties.href=r.properties.href.split("/").map(i=>i===".."?"__parent__":i).join("/"))})}}var rne=Wd().use(Ep,{fragment:!0});function ine(t){return e=>{Wr(e,"code",(r,i,n)=>{r.lang==="mermaid"&&(r.type="html",r.value=`
<div class="mermaid">${_O(r.value)}</div>
`)})}}function nne(t){return e=>{let r=[];return Wr(e,"element",i=>{if((i.properties&&Array.isArray(i.properties.className)?i.properties.className:[]).includes("mermaid")){let o=function(l){let c=rne.parse(l);Cy(c,!0),i.children=c.children},s=yf(i,{whitespace:"pre"}),a=u$(s).then(o);r.push(a)}}),Promise.all(r).then(()=>null)}}function one(t){return e=>{Wr(e,"element",r=>{if(r.properties&&r.properties.href){let i=r.properties.href;Tw(i)?(r.properties["data-phx-link"]=t.baseUrl&&i.startsWith(t.baseUrl)?"patch":"redirect",r.properties["data-phx-link-state"]="push"):Sw(i)&&(r.properties.target="_blank",r.properties.rel="noreferrer noopener")}})}}function Sw(t){return/^(?:[a-z]+:)?\/\//i.test(t)}function sne(t){return t.startsWith("#")}function Tw(t){return t.startsWith("/")||t.startsWith(window.location.origin)}function f$(t,e){return t.replace(/\/$/,"")+"/"+e}var Mc=class{constructor(){this.subscribersByTopic={}}subscribe(e,r){return Array.isArray(this.subscribersByTopic[e])||(this.subscribersByTopic[e]=[]),this.subscribersByTopic[e].push(r),{destroy:()=>{this.unsubscribe(e,r)}}}unsubscribe(e,r){let i=this.subscribersByTopic[e].indexOf(r);i!==-1&&(this.subscribersByTopic[e].splice(i,1),this.subscribersByTopic[e].length===0&&delete this.subscribersByTopic[e])}broadcast(e,r){Array.isArray(this.subscribersByTopic[e])&&this.subscribersByTopic[e].forEach(i=>{i(r)})}},Pr=new Mc;var h$=t=>typeof t=="object"&&t!=null&&t.nodeType===1,d$=(t,e)=>(!e||t!=="hidden")&&t!=="visible"&&t!=="clip",Ew=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){let r=getComputedStyle(t,null);return d$(r.overflowY,e)||d$(r.overflowX,e)||(i=>{let n=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch(s){return null}})(i);return!!n&&(n.clientHeight<i.scrollHeight||n.clientWidth<i.scrollWidth)})(t)}return!1},$O=(t,e,r,i,n,o,s,a)=>o<t&&s>e||o>t&&s<e?0:o<=t&&a<=r||s>=e&&a>=r?o-t-i:s>e&&a<r||o<t&&a>r?s-e+n:0,ane=t=>{let e=t.parentElement;return e==null?t.getRootNode().host||null:e},Cw=(t,e)=>{var r,i,n,o;if(typeof document=="undefined")return[];let{scrollMode:s,block:a,inline:l,boundary:c,skipOverflowHiddenElements:u}=e,f=typeof c=="function"?c:pe=>pe!==c;if(!h$(t))throw new TypeError("Invalid target");let d=document.scrollingElement||document.documentElement,p=[],O=t;for(;h$(O)&&f(O);){if(O=ane(O),O===d){p.push(O);break}O!=null&&O===document.body&&Ew(O)&&!Ew(document.documentElement)||O!=null&&Ew(O,u)&&p.push(O)}let w=(i=(r=window.visualViewport)==null?void 0:r.width)!=null?i:innerWidth,x=(o=(n=window.visualViewport)==null?void 0:n.height)!=null?o:innerHeight,{scrollX:k,scrollY:C}=window,{height:R,width:Q,top:z,right:L,bottom:Z,left:re}=t.getBoundingClientRect(),H=a==="start"||a==="nearest"?z:a==="end"?Z:z+R/2,q=l==="center"?re+Q/2:l==="end"?L:re,oe=[];for(let pe=0;pe<p.length;pe++){let fe=p[pe],{height:ge,width:ve,top:Qe,right:se,bottom:he,left:K}=fe.getBoundingClientRect();if(s==="if-needed"&&z>=0&&re>=0&&Z<=x&&L<=w&&z>=Qe&&Z<=he&&re>=K&&L<=se)return oe;let _=getComputedStyle(fe),G=parseInt(_.borderLeftWidth,10),ae=parseInt(_.borderTopWidth,10),j=parseInt(_.borderRightWidth,10),Je=parseInt(_.borderBottomWidth,10),at=0,st=0,Ce="offsetWidth"in fe?fe.offsetWidth-fe.clientWidth-G-j:0,Ze="offsetHeight"in fe?fe.offsetHeight-fe.clientHeight-ae-Je:0,Xt="offsetWidth"in fe?fe.offsetWidth===0?0:ve/fe.offsetWidth:0,ct="offsetHeight"in fe?fe.offsetHeight===0?0:ge/fe.offsetHeight:0;if(d===fe)at=a==="start"?H:a==="end"?H-x:a==="nearest"?$O(C,C+x,x,ae,Je,C+H,C+H+R,R):H-x/2,st=l==="start"?q:l==="center"?q-w/2:l==="end"?q-w:$O(k,k+w,w,G,j,k+q,k+q+Q,Q),at=Math.max(0,at+C),st=Math.max(0,st+k);else{at=a==="start"?H-Qe-ae:a==="end"?H-he+Je+Ze:a==="nearest"?$O(Qe,he,ge,ae,Je+Ze,H,H+R,R):H-(Qe+ge/2)+Ze/2,st=l==="start"?q-K-G:l==="center"?q-(K+ve/2)+Ce/2:l==="end"?q-se+j+Ce:$O(K,se,ve,G,j+Ce,q,q+Q,Q);let{scrollLeft:Nr,scrollTop:Qr}=fe;at=Math.max(0,Math.min(Qr+at/ct,fe.scrollHeight-ge/ct+Ze)),st=Math.max(0,Math.min(Nr+st/Xt,fe.scrollWidth-ve/Xt+Ce)),H+=Qr-at,q+=Nr-st}oe.push({el:fe,top:at,left:st})}return oe};var lne=t=>t===!1?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&Object.keys(e).length!==0)(t)?t:{block:"start",inline:"nearest"};function XO(t,e){if(!t.isConnected||!(n=>{let o=n;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(t))return;let r=(n=>{let o=window.getComputedStyle(n);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(t);if((n=>typeof n=="object"&&typeof n.behavior=="function")(e))return e.behavior(Cw(t,e));let i=typeof e=="boolean"||e==null?void 0:e.behavior;for(let{el:n,top:o,left:s}of Cw(t,lne(e))){let a=o-r.top+r.bottom,l=s-r.left+r.right;n.scroll({top:a,left:l,behavior:i})}}function Ol(t){return["code","smart","setup"].includes(t)}function p$(t){return["markdown","code","setup"].includes(t)}var cne={mounted(){this.props=this.getProps(),this.isFocused=!1,this.insertMode=!1,this.liveEditors={},this.updateInsertModeAvailability(),["code","smart"].includes(this.props.type)&&this.el.querySelector("[data-el-amplify-outputs-button]").addEventListener("click",e=>{this.el.toggleAttribute("data-js-amplified")}),this.props.type==="smart"&&this.el.querySelector("[data-el-toggle-source-button]").addEventListener("click",e=>{this.el.toggleAttribute("data-js-source-visible"),this.updateInsertModeAvailability(),this.maybeFocusCurrentEditor()}),this.el.addEventListener("lb:cell:editor_created",t=>{let{tag:e,liveEditor:r}=t.detail;this.handleCellEditorCreated(e,r)}),this.el.addEventListener("lb:cell:editor_removed",t=>{let{tag:e}=t.detail;this.handleCellEditorRemoved(e)}),this.el.addEventListener("mouseenter",t=>{this.el.setAttribute("data-js-hover","")}),this.el.addEventListener("mouseleave",t=>{this.el.removeAttribute("data-js-hover")}),this.subscriptions=[Pr.subscribe("navigation",this.handleNavigationEvent.bind(this)),Pr.subscribe("cells",this.handleCellsEvent.bind(this)),Pr.subscribe(`cells:${this.props.cellId}`,this.handleCellEvent.bind(this))],this._handleViewportResize=this.handleViewportResize.bind(this),window.visualViewport.addEventListener("resize",this._handleViewportResize)},disconnected(){this.el.removeAttribute("id")},destroyed(){this.subscriptions.forEach(t=>t.destroy()),window.visualViewport.removeEventListener("resize",this._handleViewportResize)},updated(){let t=this.props;this.props=this.getProps(),this.props.evaluationDigest!==t.evaluationDigest&&this.updateChangeIndicator()},getProps(){return Rt(this.el,["cell-id","type","session-path","evaluation-digest","smart-cell-js-view-ref","allowed-uri-schemes"])},handleNavigationEvent(t){t.type==="element_focused"?this.handleElementFocused(t.focusableId,t.scroll):t.type==="insert_mode_changed"&&this.handleInsertModeChanged(t.enabled)},handleCellsEvent(t){t.type==="cell_moved"&&this.handleCellMoved(t.cellId)},handleCellEvent(t){t.type==="dispatch_queue_evaluation"&&this.handleDispatchQueueEvaluation(t.dispatch)},handleElementFocused(t,e){this.props.cellId===t?(this.isFocused=!0,this.el.setAttribute("data-js-focused",""),e&&pl(this.el)):this.isFocused&&(this.isFocused=!1,this.el.removeAttribute("data-js-focused"))},handleCellEditorCreated(t,e){if(this.liveEditors[t]=e,this.updateInsertModeAvailability(),e===this.currentEditor()&&this.maybeFocusCurrentEditor(),e.onBlur(()=>{this.isFocused&&this.insertMode&&this.currentEditor().focus()}),e.onFocus(()=>{(!this.isFocused||!this.insertMode)&&this.currentEditor().blur()}),t==="primary"){let r=e.getSource();if(this.el.toggleAttribute("data-js-empty",r===""),e.onChange(i=>{this.el.toggleAttribute("data-js-empty",i==="")}),this.props.type==="markdown"){let i=this.el.querySelector("[data-el-markdown-container]"),n=new ml(i,r,{baseUrl:this.props.sessionPath,emptyText:"Empty markdown cell",allowedUriSchemes:this.props.allowedUriSchemes});e.onChange(o=>{n.setContent(o)})}Ol(this.props.type)&&(this.updateChangeIndicator(),e.onChange(i=>{this.updateChangeIndicator()}),this.handleEvent(`evaluation_finished:${this.props.cellId}`,({code_markers:i})=>{e.setCodeMarkers(i)}),this.handleEvent(`start_evaluation:${this.props.cellId}`,()=>{e.clearDoctests()}),this.handleEvent(`doctest_report:${this.props.cellId}`,i=>{e.updateDoctests([i])}),this.handleEvent("erase_outputs",()=>{e.setCodeMarkers([]),e.clearDoctests()}))}},handleCellEditorRemoved(t){delete this.liveEditors[t]},handleViewportResize(){this.isFocused&&this.scrollEditorCursorIntoViewIfNeeded()},currentEditor(){return this.liveEditors[this.currentEditorTag()]},currentEditorTag(){return this.props.type==="smart"?this.el.hasAttribute("data-js-source-visible")?"primary":"secondary":"primary"},updateInsertModeAvailability(){this.el.toggleAttribute("data-js-insert-mode-disabled",!this.currentEditor())},maybeFocusCurrentEditor(){this.isFocused&&this.insertMode&&this.currentEditor().focus()},updateChangeIndicator(){let t=this.el.querySelector("[data-el-cell-status]");if(t&&t.querySelector("[data-el-change-indicator]")&&this.props.evaluationDigest){let r=this.liveEditors.primary.getSource(),i=PO(r),n=this.props.evaluationDigest!==i;this.el.toggleAttribute("data-js-changed",n)}},handleInsertModeChanged(t){this.isFocused&&!this.insertMode&&t?(this.insertMode=t,this.currentEditor()&&(this.currentEditor().focus(),this.scrollEditorCursorIntoViewIfNeeded())):this.insertMode&&!t&&(this.insertMode=t,this.currentEditor()&&this.currentEditor().blur())},handleCellMoved(t){this.isFocused&&t===this.props.cellId&&pl(this.el)},handleDispatchQueueEvaluation(t){this.props.type==="smart"&&this.props.smartCellJsViewRef?Pr.broadcast(`js_views:${this.props.smartCellJsViewRef}`,{type:"sync",callback:t}):t()},scrollEditorCursorIntoViewIfNeeded(){let t=this.currentEditor().getElementAtCursor();XO(t,{scrollMode:"if-needed",behavior:"smooth",block:"center"})}},m$=cne;var Rh=t=>{let{state:e}=t,r=e.doc.lineAt(e.selection.main.from),i=_w(t.state,r.from);return i.line?une(t):i.block?fne(t):!1};function $h(t,e){return({state:r,dispatch:i})=>{if(r.readOnly)return!1;let n=t(e,r);return n?(i(r.update(n)),!0):!1}}var une=$h(Aw,0),O$=$h(Aw,1),g$=$h(Aw,2),b$=$h(y$,0);var fne=$h((t,e)=>y$(t,e,dne(e)),0);function _w(t,e){let r=t.languageDataAt("commentTokens",e);return r.length?r[0]:{}}var Ah=50;function hne(t,{open:e,close:r},i,n){let o=t.sliceDoc(i-Ah,i),s=t.sliceDoc(n,n+Ah),a=/\s*$/.exec(o)[0].length,l=/^\s*/.exec(s)[0].length,c=o.length-a;if(o.slice(c-e.length,c)==e&&s.slice(l,l+r.length)==r)return{open:{pos:i-a,margin:a&&1},close:{pos:n+l,margin:l&&1}};let u,f;n-i<=2*Ah?u=f=t.sliceDoc(i,n):(u=t.sliceDoc(i,i+Ah),f=t.sliceDoc(n-Ah,n));let d=/^\s*/.exec(u)[0].length,p=/\s*$/.exec(f)[0].length,O=f.length-p-r.length;return u.slice(d,d+e.length)==e&&f.slice(O,O+r.length)==r?{open:{pos:i+d+e.length,margin:/\s/.test(u.charAt(d+e.length))?1:0},close:{pos:n-p-r.length,margin:/\s/.test(f.charAt(O-1))?1:0}}:null}function dne(t){let e=[];for(let r of t.selection.ranges){let i=t.doc.lineAt(r.from),n=r.to<=i.to?i:t.doc.lineAt(r.to),o=e.length-1;o>=0&&e[o].to>i.from?e[o].to=n.to:e.push({from:i.from+/^\s*/.exec(i.text)[0].length,to:n.to})}return e}function y$(t,e,r=e.selection.ranges){let i=r.map(o=>_w(e,o.from).block);if(!i.every(o=>o))return null;let n=r.map((o,s)=>hne(e,i[s],o.from,o.to));if(t!=2&&!n.every(o=>o))return{changes:e.changes(r.map((o,s)=>n[s]?[]:[{from:o.from,insert:i[s].open+" "},{from:o.to,insert:" "+i[s].close}]))};if(t!=1&&n.some(o=>o)){let o=[];for(let s=0,a;s<n.length;s++)if(a=n[s]){let l=i[s],{open:c,close:u}=a;o.push({from:c.pos-l.open.length,to:c.pos+c.margin},{from:u.pos-u.margin,to:u.pos+l.close.length})}return{changes:o}}return null}function Aw(t,e,r=e.selection.ranges){let i=[],n=-1;for(let{from:o,to:s}of r){let a=i.length,l=1e9,c=_w(e,o).line;if(c){for(let u=o;u<=s;){let f=e.doc.lineAt(u);if(f.from>n&&(o==s||s>f.from)){n=f.from;let d=/^\s*/.exec(f.text)[0].length,p=d==f.length,O=f.text.slice(d,d+c.length)==c?d:-1;d<f.text.length&&d<l&&(l=d),i.push({line:f,comment:O,token:c,indent:d,empty:p,single:!1})}u=f.to+1}if(l<1e9)for(let u=a;u<i.length;u++)i[u].indent<i[u].line.text.length&&(i[u].indent=l);i.length==a+1&&(i[a].single=!0)}}if(t!=2&&i.some(o=>o.comment<0&&(!o.empty||o.single))){let o=[];for(let{line:a,token:l,indent:c,empty:u,single:f}of i)(f||!u)&&o.push({from:a.from+c,insert:l+" "});let s=e.changes(o);return{changes:s,selection:e.selection.map(s,1)}}else if(t!=1&&i.some(o=>o.comment>=0)){let o=[];for(let{line:s,comment:a,token:l}of i)if(a>=0){let c=s.from+a,u=c+l.length;s.text[u-s.from]==" "&&u++,o.push({from:c,to:u})}return{changes:o}}return null}var Qw=Kr.define(),pne=Kr.define(),mne=Re.define(),v$=Re.define({combine(t){return Ft(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,r)=>r},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,r)=>(i,n)=>e(i,n)||r(i,n)})}}),w$=Ot.define({create(){return gl.empty},update(t,e){let r=e.state.facet(v$),i=e.annotation(Qw);if(i){let l=Rn.fromTransaction(e,i.selection),c=i.side,u=c==0?t.undone:t.done;return l?u=LO(u,u.length,r.minDepth,l):u=T$(u,e.startState.selection),new gl(c==0?i.rest:u,c==0?u:i.rest)}let n=e.annotation(pne);if((n=="full"||n=="before")&&(t=t.isolate()),e.annotation(Jt.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let o=Rn.fromTransaction(e),s=e.annotation(Jt.time),a=e.annotation(Jt.userEvent);return o?t=t.addChanges(o,s,a,r,e):e.selection&&(t=t.addSelection(e.startState.selection,s,a,r.newGroupDelay)),(n=="full"||n=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new gl(t.done.map(Rn.fromJSON),t.undone.map(Rn.fromJSON))}});function x$(t={}){return[w$,v$.of(t),xe.domEventHandlers({beforeinput(e,r){let i=e.inputType=="historyUndo"?bl:e.inputType=="historyRedo"?ca:null;return i?(e.preventDefault(),i(r)):!1}})]}function Rw(t,e){return function({state:r,dispatch:i}){if(!e&&r.readOnly)return!1;let n=r.field(w$,!1);if(!n)return!1;let o=n.pop(t,r,e);return o?(i(o),!0):!1}}var bl=Rw(0,!1),ca=Rw(1,!1),k$=Rw(0,!0);var Rn=class t{constructor(e,r,i,n,o){this.changes=e,this.effects=r,this.mapped=i,this.startSelection=n,this.selectionsAfter=o}setSelAfter(e){return new t(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,r,i;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(r=this.mapped)===null||r===void 0?void 0:r.toJSON(),startSelection:(i=this.startSelection)===null||i===void 0?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map(n=>n.toJSON())}}static fromJSON(e){return new t(e.changes&&ui.fromJSON(e.changes),[],e.mapped&&Fo.fromJSON(e.mapped),e.startSelection&&ce.fromJSON(e.startSelection),e.selectionsAfter.map(ce.fromJSON))}static fromTransaction(e,r){let i=fn;for(let n of e.startState.facet(mne)){let o=n(e);o.length&&(i=i.concat(o))}return!i.length&&e.changes.empty?null:new t(e.changes.invert(e.startState.doc),i,void 0,r||e.startState.selection,fn)}static selection(e){return new t(void 0,fn,void 0,void 0,e)}};function LO(t,e,r,i){let n=e+1>r+20?e-r-1:0,o=t.slice(n,e);return o.push(i),o}function One(t,e){let r=[],i=!1;return t.iterChangedRanges((n,o)=>r.push(n,o)),e.iterChangedRanges((n,o,s,a)=>{for(let l=0;l<r.length;){let c=r[l++],u=r[l++];a>=c&&s<=u&&(i=!0)}}),i}function gne(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((r,i)=>r.empty!=e.ranges[i].empty).length===0}function S$(t,e){return t.length?e.length?t.concat(e):t:e}var fn=[],bne=200;function T$(t,e){if(t.length){let r=t[t.length-1],i=r.selectionsAfter.slice(Math.max(0,r.selectionsAfter.length-bne));return i.length&&i[i.length-1].eq(e)?t:(i.push(e),LO(t,t.length-1,1e9,r.setSelAfter(i)))}else return[Rn.selection([e])]}function yne(t){let e=t[t.length-1],r=t.slice();return r[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),r}function Pw(t,e){if(!t.length)return t;let r=t.length,i=fn;for(;r;){let n=vne(t[r-1],e,i);if(n.changes&&!n.changes.empty||n.effects.length){let o=t.slice(0,r);return o[r-1]=n,o}else e=n.mapped,r--,i=n.selectionsAfter}return i.length?[Rn.selection(i)]:fn}function vne(t,e,r){let i=S$(t.selectionsAfter.length?t.selectionsAfter.map(a=>a.map(e)):fn,r);if(!t.changes)return Rn.selection(i);let n=t.changes.map(e),o=e.mapDesc(t.changes,!0),s=t.mapped?t.mapped.composeDesc(o):o;return new Rn(n,De.mapEffects(t.effects,e),s,t.startSelection.map(o),i)}var wne=/^(input\.type|delete)($|\.)/,gl=class t{constructor(e,r,i=0,n=void 0){this.done=e,this.undone=r,this.prevTime=i,this.prevUserEvent=n}isolate(){return this.prevTime?new t(this.done,this.undone):this}addChanges(e,r,i,n,o){let s=this.done,a=s[s.length-1];return a&&a.changes&&!a.changes.empty&&e.changes&&(!i||wne.test(i))&&(!a.selectionsAfter.length&&r-this.prevTime<n.newGroupDelay&&n.joinToEvent(o,One(a.changes,e.changes))||i=="input.type.compose")?s=LO(s,s.length-1,n.minDepth,new Rn(e.changes.compose(a.changes),S$(e.effects,a.effects),a.mapped,a.startSelection,fn)):s=LO(s,s.length,n.minDepth,e),new t(s,fn,r,i)}addSelection(e,r,i,n){let o=this.done.length?this.done[this.done.length-1].selectionsAfter:fn;return o.length>0&&r-this.prevTime<n&&i==this.prevUserEvent&&i&&/^select($|\.)/.test(i)&&gne(o[o.length-1],e)?this:new t(T$(this.done,e),this.undone,r,i)}addMapping(e){return new t(Pw(this.done,e),Pw(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,r,i){let n=e==0?this.done:this.undone;if(n.length==0)return null;let o=n[n.length-1],s=o.selectionsAfter[0]||r.selection;if(i&&o.selectionsAfter.length)return r.update({selection:o.selectionsAfter[o.selectionsAfter.length-1],annotations:Qw.of({side:e,rest:yne(n),selection:s}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:!0});if(o.changes){let a=n.length==1?fn:n.slice(0,n.length-1);return o.mapped&&(a=Pw(a,o.mapped)),r.update({changes:o.changes,selection:o.startSelection,effects:o.effects,annotations:Qw.of({side:e,rest:a,selection:s}),filter:!1,userEvent:e==0?"undo":"redo",scrollIntoView:!0})}else return null}};gl.empty=new gl(fn,fn);function Xh(t,e){return ce.create(t.ranges.map(e),t.mainIndex)}function ua(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function yl({state:t,dispatch:e},r){let i=Xh(t.selection,r);return i.eq(t.selection,!0)?!1:(e(ua(t,i)),!0)}function zO(t,e){return ce.cursor(e?t.to:t.from)}function MO(t,e){return yl(t,r=>r.empty?t.moveByChar(r,e):zO(r,e))}function fa(t){return t.textDirectionAt(t.state.selection.main.head)==Ct.LTR}var Ih=t=>MO(t,!fa(t)),$w=t=>MO(t,fa(t)),E$=t=>MO(t,!0),DO=t=>MO(t,!1);function C$(t,e){return yl(t,r=>r.empty?t.moveByGroup(r,e):zO(r,e))}var UO=t=>C$(t,!fa(t)),NO=t=>C$(t,fa(t));var Gke=typeof Intl!="undefined"&&Intl.Segmenter?new Intl.Segmenter(void 0,{granularity:"word"}):null;function P$(t,e){return yl(t,r=>{if(!r.empty)return zO(r,e);let i=t.moveVertically(r,e);return i.head!=r.head?i:t.moveToLineBoundary(r,e)})}var Lh=t=>P$(t,!1),zh=t=>P$(t,!0);function Q$(t){let e=t.scrollDOM.clientHeight<t.scrollDOM.scrollHeight-2,r=0,i=0,n;if(e){for(let o of t.state.facet(xe.scrollMargins)){let s=o(t);s!=null&&s.top&&(r=Math.max(s==null?void 0:s.top,r)),s!=null&&s.bottom&&(i=Math.max(s==null?void 0:s.bottom,i))}n=t.scrollDOM.clientHeight-r-i}else n=(t.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:r,marginBottom:i,selfScroll:e,height:Math.max(t.defaultLineHeight,n-5)}}function _$(t,e){let r=Q$(t),{state:i}=t,n=Xh(i.selection,s=>s.empty?t.moveVertically(s,e,r.height):zO(s,e));if(n.eq(i.selection))return!1;let o;if(r.selfScroll){let s=t.coordsAtPos(i.selection.main.head),a=t.scrollDOM.getBoundingClientRect(),l=a.top+r.marginTop,c=a.bottom-r.marginBottom;s&&s.top>l&&s.bottom<c&&(o=xe.scrollIntoView(n.main.head,{y:"start",yMargin:s.top-l}))}return t.dispatch(ua(i,n),{effects:o}),!0}var Dc=t=>_$(t,!1),Uc=t=>_$(t,!0);function jO(t,e,r){let i=t.lineBlockAt(e.head),n=t.moveToLineBoundary(e,r);if(n.head==e.head&&n.head!=(r?i.to:i.from)&&(n=t.moveToLineBoundary(e,r,!1)),!r&&n.head==i.from&&i.length){let o=/^\s*/.exec(t.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;o&&e.head!=i.from+o&&(n=ce.cursor(i.from+o))}return n}var Mh=t=>yl(t,e=>jO(t,e,!0)),Dh=t=>yl(t,e=>jO(t,e,!1));var BO=t=>yl(t,e=>ce.cursor(t.lineBlockAt(e.head).from,1)),VO=t=>yl(t,e=>ce.cursor(t.lineBlockAt(e.head).to,-1));function xne(t,e,r){let i=!1,n=Xh(t.selection,o=>{let s=cn(t,o.head,-1)||cn(t,o.head,1)||o.head>0&&cn(t,o.head-1,1)||o.head<t.doc.length&&cn(t,o.head+1,-1);if(!s||!s.end)return o;i=!0;let a=s.start.from==o.head?s.end.to:s.end.from;return r?ce.range(o.anchor,a):ce.cursor(a)});return i?(e(ua(t,n)),!0):!1}var A$=({state:t,dispatch:e})=>xne(t,e,!1);function ha(t,e){let r=Xh(t.state.selection,i=>{let n=e(i);return ce.range(i.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)});return r.eq(t.state.selection)?!1:(t.dispatch(ua(t.state,r)),!0)}function qO(t,e){return ha(t,r=>t.moveByChar(r,e))}var Xw=t=>qO(t,!fa(t)),Iw=t=>qO(t,fa(t)),Lw=t=>qO(t,!0),zw=t=>qO(t,!1);function FO(t,e){return ha(t,r=>t.moveByGroup(r,e))}var WO=t=>FO(t,!fa(t)),ZO=t=>FO(t,fa(t)),R$=t=>FO(t,!0),$$=t=>FO(t,!1);function X$(t,e){return ha(t,r=>t.moveVertically(r,e))}var Nc=t=>X$(t,!1),jc=t=>X$(t,!0);function I$(t,e){return ha(t,r=>t.moveVertically(r,e,Q$(t).height))}var Uh=t=>I$(t,!1),vl=t=>I$(t,!0),Mw=t=>ha(t,e=>jO(t,e,!0)),Dw=t=>ha(t,e=>jO(t,e,!1));var Nh=t=>ha(t,e=>ce.cursor(t.lineBlockAt(e.head).from)),jh=t=>ha(t,e=>ce.cursor(t.lineBlockAt(e.head).to)),Bh=({state:t,dispatch:e})=>(e(ua(t,{anchor:0})),!0),Vh=({state:t,dispatch:e})=>(e(ua(t,{anchor:t.doc.length})),!0),Bc=({state:t,dispatch:e})=>(e(ua(t,{anchor:t.selection.main.anchor,head:0})),!0),Vc=({state:t,dispatch:e})=>(e(ua(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),YO=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),L$=({state:t,dispatch:e})=>{let r=KO(t).map(({from:i,to:n})=>ce.range(i,Math.min(n+1,t.doc.length)));return e(t.update({selection:ce.create(r),userEvent:"select"})),!0};function HO(t,e){if(t.state.readOnly)return!1;let r="delete.selection",{state:i}=t,n=i.changeByRange(o=>{let{from:s,to:a}=o;if(s==a){let l=e(o);l<s?(r="delete.backward",l=IO(t,l,!1)):l>s&&(r="delete.forward",l=IO(t,l,!0)),s=Math.min(s,l),a=Math.max(a,l)}else s=IO(t,s,!1),a=IO(t,a,!0);return s==a?{range:o}:{changes:{from:s,to:a},range:ce.cursor(s,s<o.head?-1:1)}});return n.changes.empty?!1:(t.dispatch(i.update(n,{scrollIntoView:!0,userEvent:r,effects:r=="delete.selection"?xe.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function IO(t,e,r){if(t instanceof xe)for(let i of t.state.facet(xe.atomicRanges).map(n=>n(t)))i.between(e,e,(n,o)=>{n<e&&o>e&&(e=r?o:n)});return e}var z$=(t,e)=>HO(t,r=>{let i=r.from,{state:n}=t,o=n.doc.lineAt(i),s,a;if(!e&&i>o.from&&i<o.from+200&&!/[^ \t]/.test(s=o.text.slice(0,i-o.from))){if(s[s.length-1]==" ")return i-1;let l=fi(s,n.tabSize),c=l%co(n)||co(n);for(let u=0;u<c&&s[s.length-1-u]==" ";u++)i--;a=i}else a=dr(o.text,i-o.from,e,e)+o.from,a==i&&o.number!=(e?n.doc.lines:1)?a+=e?1:-1:!e&&/[\ufe00-\ufe0f]/.test(o.text.slice(a-o.from,i-o.from))&&(a=dr(o.text,a-o.from,!1,!1)+o.from);return a}),qc=t=>z$(t,!1),qh=t=>z$(t,!0),M$=(t,e)=>HO(t,r=>{let i=r.head,{state:n}=t,o=n.doc.lineAt(i),s=n.charCategorizer(i);for(let a=null;;){if(i==(e?o.to:o.from)){i==r.head&&o.number!=(e?n.doc.lines:1)&&(i+=e?1:-1);break}let l=dr(o.text,i-o.from,e)+o.from,c=o.text.slice(Math.min(i,l)-o.from,Math.max(i,l)-o.from),u=s(c);if(a!=null&&u!=a)break;(c!=" "||i!=r.head)&&(a=u),i=l}return i}),Uw=t=>M$(t,!1),D$=t=>M$(t,!0),Nw=t=>HO(t,e=>{let r=t.lineBlockAt(e.head).to;return e.head<r?r:Math.min(t.state.doc.length,e.head+1)}),U$=t=>HO(t,e=>{let r=t.lineBlockAt(e.head).from;return e.head>r?r:Math.max(0,e.head-1)});var Fh=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=t.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:gt.of(["",""])},range:ce.cursor(i.from)}));return e(t.update(r,{scrollIntoView:!0,userEvent:"input"})),!0},GO=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=t.changeByRange(i=>{if(!i.empty||i.from==0||i.from==t.doc.length)return{range:i};let n=i.from,o=t.doc.lineAt(n),s=n==o.from?n-1:dr(o.text,n-o.from,!1)+o.from,a=n==o.to?n+1:dr(o.text,n-o.from,!0)+o.from;return{changes:{from:s,to:a,insert:t.doc.slice(n,a).append(t.doc.slice(s,n))},range:ce.cursor(a)}});return r.changes.empty?!1:(e(t.update(r,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function KO(t){let e=[],r=-1;for(let i of t.selection.ranges){let n=t.doc.lineAt(i.from),o=t.doc.lineAt(i.to);if(!i.empty&&i.to==o.from&&(o=t.doc.lineAt(i.to-1)),r>=n.number){let s=e[e.length-1];s.to=o.to,s.ranges.push(i)}else e.push({from:n.from,to:o.to,ranges:[i]});r=o.number+1}return e}function N$(t,e,r){if(t.readOnly)return!1;let i=[],n=[];for(let o of KO(t)){if(r?o.to==t.doc.length:o.from==0)continue;let s=t.doc.lineAt(r?o.to+1:o.from-1),a=s.length+1;if(r){i.push({from:o.to,to:s.to},{from:o.from,insert:s.text+t.lineBreak});for(let l of o.ranges)n.push(ce.range(Math.min(t.doc.length,l.anchor+a),Math.min(t.doc.length,l.head+a)))}else{i.push({from:s.from,to:o.from},{from:o.to,insert:t.lineBreak+s.text});for(let l of o.ranges)n.push(ce.range(l.anchor-a,l.head-a))}}return i.length?(e(t.update({changes:i,scrollIntoView:!0,selection:ce.create(n,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}var j$=({state:t,dispatch:e})=>N$(t,e,!1),B$=({state:t,dispatch:e})=>N$(t,e,!0);function V$(t,e,r){if(t.readOnly)return!1;let i=[];for(let n of KO(t))r?i.push({from:n.from,insert:t.doc.slice(n.from,n.to)+t.lineBreak}):i.push({from:n.to,insert:t.lineBreak+t.doc.slice(n.from,n.to)});return e(t.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}var q$=({state:t,dispatch:e})=>V$(t,e,!1),F$=({state:t,dispatch:e})=>V$(t,e,!0),W$=t=>{if(t.state.readOnly)return!1;let{state:e}=t,r=e.changes(KO(e).map(({from:n,to:o})=>(n>0?n--:o<e.doc.length&&o++,{from:n,to:o}))),i=Xh(e.selection,n=>t.moveVertically(n,!0)).map(r);return t.dispatch({changes:r,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0};function kne(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let r=pt(t).resolveInner(e),i=r.childBefore(e),n=r.childAfter(e),o;return i&&n&&i.to<=e&&n.from>=e&&(o=i.type.prop(qe.closedBy))&&o.indexOf(n.name)>-1&&t.doc.lineAt(i.to).from==t.doc.lineAt(n.from).from&&!/\S/.test(t.sliceDoc(i.to,n.from))?{from:i.to,to:n.from}:null}var Wh=Sne(!1);function Sne(t){return({state:e,dispatch:r})=>{if(e.readOnly)return!1;let i=e.changeByRange(n=>{let{from:o,to:s}=n,a=e.doc.lineAt(o),l=!t&&o==s&&kne(e,o);t&&(o=s=(s<=a.to?a:e.doc.lineAt(s)).to);let c=new el(e,{simulateBreak:o,simulateDoubleBreak:!!l}),u=Tc(c,o);for(u==null&&(u=fi(/^\s*/.exec(e.doc.lineAt(o).text)[0],e.tabSize));s<a.to&&/\s/.test(a.text[s-a.from]);)s++;l?{from:o,to:s}=l:o>a.from&&o<a.from+100&&!/\S/.test(a.text.slice(0,o))&&(o=a.from);let f=["",Go(e,u)];return l&&f.push(Go(e,c.lineIndent(a.from,-1))),{changes:{from:o,to:s,insert:gt.of(f)},range:ce.cursor(o+1+f[1].length)}});return r(e.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}}function jw(t,e){let r=-1;return t.changeByRange(i=>{let n=[];for(let s=i.from;s<=i.to;){let a=t.doc.lineAt(s);a.number>r&&(i.empty||i.to>a.from)&&(e(a,n,i),r=a.number),s=a.to+1}let o=t.changes(n);return{changes:n,range:ce.range(o.mapPos(i.anchor,1),o.mapPos(i.head,1))}})}var Z$=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=Object.create(null),i=new el(t,{overrideIndentation:o=>{let s=r[o];return s==null?-1:s}}),n=jw(t,(o,s,a)=>{let l=Tc(i,o.from);if(l==null)return;/\S/.test(o.text)||(l=0);let c=/^\s*/.exec(o.text)[0],u=Go(t,l);(c!=u||a.from<o.from+c.length)&&(r[o.from]=l,s.push({from:o.from,to:o.from+c.length,insert:u}))});return n.changes.empty||e(t.update(n,{userEvent:"indent"})),!0},Zh=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(jw(t,(r,i)=>{i.push({from:r.from,insert:t.facet(Qn)})}),{userEvent:"input.indent"})),!0),Yh=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(jw(t,(r,i)=>{let n=/^\s*/.exec(r.text)[0];if(!n)return;let o=fi(n,t.tabSize),s=0,a=Go(t,Math.max(0,o-co(t)));for(;s<n.length&&s<a.length&&n.charCodeAt(s)==a.charCodeAt(s);)s++;i.push({from:r.from+s,to:r.from+n.length,insert:a.slice(s)})}),{userEvent:"delete.dedent"})),!0);function _t(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,r=arguments[1];if(r&&typeof r=="object"&&r.nodeType==null&&!Array.isArray(r)){for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i)){var n=r[i];typeof n=="string"?t.setAttribute(i,n):n!=null&&(t[i]=n)}e++}for(;e<arguments.length;e++)Y$(t,arguments[e]);return t}function Y$(t,e){if(typeof e=="string")t.appendChild(document.createTextNode(e));else if(e!=null)if(e.nodeType!=null)t.appendChild(e);else if(Array.isArray(e))for(var r=0;r<e.length;r++)Y$(t,e[r]);else throw new RangeError("Unsupported child node: "+e)}var H$=typeof String.prototype.normalize=="function"?t=>t.normalize("NFKD"):t=>t,pa=class{constructor(e,r,i=0,n=e.length,o,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(i,n),this.bufferStart=i,this.normalize=o?a=>o(H$(a)):H$,this.query=this.normalize(r)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return hr(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let r=Pf(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=ci(e);let n=this.normalize(r);for(let o=0,s=i;;o++){let a=n.charCodeAt(o),l=this.match(a,s);if(o==n.length-1){if(l)return this.value=l,this;break}s==i&&o<r.length&&r.charCodeAt(o)==a&&s++}}}match(e,r){let i=null;for(let n=0;n<this.matches.length;n+=2){let o=this.matches[n],s=!1;this.query.charCodeAt(o)==e&&(o==this.query.length-1?i={from:this.matches[n+1],to:r+1}:(this.matches[n]++,s=!0)),s||(this.matches.splice(n,2),n-=2)}return this.query.charCodeAt(0)==e&&(this.query.length==1?i={from:r,to:r+1}:this.matches.push(1,r)),i&&this.test&&!this.test(i.from,i.to,this.buffer,this.bufferStart)&&(i=null),i}};typeof Symbol!="undefined"&&(pa.prototype[Symbol.iterator]=function(){return this});var rX={from:-1,to:-1,match:/.*/.exec("")},Yw="gm"+(/x/.unicode==null?"":"u"),Zc=class{constructor(e,r,i,n=0,o=e.length){if(this.text=e,this.to=o,this.curLine="",this.done=!1,this.value=rX,/\\[sWDnr]|\n|\r|\[\^/.test(r))return new rg(e,r,i,n,o);this.re=new RegExp(r,Yw+(i!=null&&i.ignoreCase?"i":"")),this.test=i==null?void 0:i.test,this.iter=e.iter();let s=e.lineAt(n);this.curLineStart=s.from,this.matchPos=ig(e,n),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let r=this.matchPos<=this.to&&this.re.exec(this.curLine);if(r){let i=this.curLineStart+r.index,n=i+r[0].length;if(this.matchPos=ig(this.text,n+(i==n?1:0)),i==this.curLineStart+this.curLine.length&&this.nextLine(),(i<n||i>this.value.to)&&(!this.test||this.test(i,n,r)))return this.value={from:i,to:n,match:r},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}},Bw=new WeakMap,tg=class t{constructor(e,r){this.from=e,this.text=r}get to(){return this.from+this.text.length}static get(e,r,i){let n=Bw.get(e);if(!n||n.from>=i||n.to<=r){let a=new t(r,e.sliceString(r,i));return Bw.set(e,a),a}if(n.from==r&&n.to==i)return n;let{text:o,from:s}=n;return s>r&&(o=e.sliceString(r,s)+o,s=r),n.to<i&&(o+=e.sliceString(n.to,i)),Bw.set(e,new t(s,o)),new t(r,o.slice(r-s,i-s))}},rg=class{constructor(e,r,i,n,o){this.text=e,this.to=o,this.done=!1,this.value=rX,this.matchPos=ig(e,n),this.re=new RegExp(r,Yw+(i!=null&&i.ignoreCase?"i":"")),this.test=i==null?void 0:i.test,this.flat=tg.get(e,n,this.chunkEnd(n+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,r=this.re.exec(this.flat.text);if(r&&!r[0]&&r.index==e&&(this.re.lastIndex=e+1,r=this.re.exec(this.flat.text)),r){let i=this.flat.from+r.index,n=i+r[0].length;if((this.flat.to>=this.to||r.index+r[0].length<=this.flat.text.length-10)&&(!this.test||this.test(i,n,r)))return this.value={from:i,to:n,match:r},this.matchPos=ig(this.text,n+(i==n?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=tg.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}};typeof Symbol!="undefined"&&(Zc.prototype[Symbol.iterator]=rg.prototype[Symbol.iterator]=function(){return this});function Ene(t){try{return new RegExp(t,Yw),!0}catch(e){return!1}}function ig(t,e){if(e>=t.length)return e;let r=t.lineAt(e),i;for(;e<r.to&&(i=r.text.charCodeAt(e-r.from))>=56320&&i<57344;)e++;return e}function Vw(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),r=_t("input",{class:"cm-textfield",name:"line",value:e}),i=_t("form",{class:"cm-gotoLine",onkeydown:o=>{o.keyCode==27?(o.preventDefault(),t.dispatch({effects:ng.of(!1)}),t.focus()):o.keyCode==13&&(o.preventDefault(),n())},onsubmit:o=>{o.preventDefault(),n()}},_t("label",t.state.phrase("Go to line"),": ",r)," ",_t("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function n(){let o=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(r.value);if(!o)return;let{state:s}=t,a=s.doc.lineAt(s.selection.main.head),[,l,c,u,f]=o,d=u?+u.slice(1):0,p=c?+c:a.number;if(c&&f){let x=p/100;l&&(x=x*(l=="-"?-1:1)+a.number/s.doc.lines),p=Math.round(s.doc.lines*x)}else c&&l&&(p=p*(l=="-"?-1:1)+a.number);let O=s.doc.line(Math.max(1,Math.min(s.doc.lines,p))),w=ce.cursor(O.from+Math.max(0,Math.min(d,O.length)));t.dispatch({effects:[ng.of(!1),xe.scrollIntoView(w.from,{y:"center"})],selection:w}),t.focus()}return{dom:i}}var ng=De.define(),G$=Ot.define({create(){return!0},update(t,e){for(let r of e.effects)r.is(ng)&&(t=r.value);return t},provide:t=>an.from(t,e=>e?Vw:null)}),iX=t=>{let e=Ga(t,Vw);if(!e){let r=[ng.of(!0)];t.state.field(G$,!1)==null&&r.push(De.appendConfig.of([G$,Cne])),t.dispatch({effects:r}),e=Ga(t,Vw)}return e&&e.dom.querySelector("input").select(),!0},Cne=xe.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),Pne={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},nX=Re.define({combine(t){return Ft(t,Pne,{highlightWordAroundCursor:(e,r)=>e||r,minSelectionLength:Math.min,maxMatches:Math.min})}});function oX(t){let e=[$ne,Rne];return t&&e.push(nX.of(t)),e}var Qne=Le.mark({class:"cm-selectionMatch"}),_ne=Le.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function K$(t,e,r,i){return(r==0||t(e.sliceDoc(r-1,r))!=$t.Word)&&(i==e.doc.length||t(e.sliceDoc(i,i+1))!=$t.Word)}function Ane(t,e,r,i){return t(e.sliceDoc(r,r+1))==$t.Word&&t(e.sliceDoc(i-1,i))==$t.Word}var Rne=dt.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(nX),{state:r}=t,i=r.selection;if(i.ranges.length>1)return Le.none;let n=i.main,o,s=null;if(n.empty){if(!e.highlightWordAroundCursor)return Le.none;let l=r.wordAt(n.head);if(!l)return Le.none;s=r.charCategorizer(n.head),o=r.sliceDoc(l.from,l.to)}else{let l=n.to-n.from;if(l<e.minSelectionLength||l>200)return Le.none;if(e.wholeWords){if(o=r.sliceDoc(n.from,n.to),s=r.charCategorizer(n.head),!(K$(s,r,n.from,n.to)&&Ane(s,r,n.from,n.to)))return Le.none}else if(o=r.sliceDoc(n.from,n.to).trim(),!o)return Le.none}let a=[];for(let l of t.visibleRanges){let c=new pa(r.doc,o,l.from,l.to);for(;!c.next().done;){let{from:u,to:f}=c.value;if((!s||K$(s,r,u,f))&&(n.empty&&u<=n.from&&f>=n.to?a.push(_ne.range(u,f)):(u>=n.to||f<=n.from)&&a.push(Qne.range(u,f)),a.length>e.maxMatches))return Le.none}}return Le.set(a)}},{decorations:t=>t.decorations}),$ne=xe.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),Xne=({state:t,dispatch:e})=>{let{selection:r}=t,i=ce.create(r.ranges.map(n=>t.wordAt(n.head)||ce.cursor(n.head)),r.mainIndex);return i.eq(r)?!1:(e(t.update({selection:i})),!0)};function Ine(t,e){let{main:r,ranges:i}=t.selection,n=t.wordAt(r.head),o=n&&n.from==r.from&&n.to==r.to;for(let s=!1,a=new pa(t.doc,e,i[i.length-1].to);;)if(a.next(),a.done){if(s)return null;a=new pa(t.doc,e,0,Math.max(0,i[i.length-1].from-1)),s=!0}else{if(s&&i.some(l=>l.from==a.value.from))continue;if(o){let l=t.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}var sX=({state:t,dispatch:e})=>{let{ranges:r}=t.selection;if(r.some(o=>o.from===o.to))return Xne({state:t,dispatch:e});let i=t.sliceDoc(r[0].from,r[0].to);if(t.selection.ranges.some(o=>t.sliceDoc(o.from,o.to)!=i))return!1;let n=Ine(t,i);return n?(e(t.update({selection:t.selection.addRange(ce.range(n.from,n.to),!1),effects:xe.scrollIntoView(n.to)})),!0):!1},Hc=Re.define({combine(t){return Ft(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new Zw(e),scrollToMatch:e=>xe.scrollIntoView(e)})}});var Yc=class{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||Ene(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(r,i)=>i=="n"?`
`:i=="r"?"\r":i=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new Fw(this):new qw(this)}getCursor(e,r=0,i){let n=e.doc?e:Tt.create({doc:e});return i==null&&(i=n.doc.length),this.regexp?Wc(this,n,r,i):Fc(this,n,r,i)}},og=class{constructor(e){this.spec=e}};function Fc(t,e,r,i){return new pa(e.doc,t.unquoted,r,i,t.caseSensitive?void 0:n=>n.toLowerCase(),t.wholeWord?Lne(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function Lne(t,e){return(r,i,n,o)=>((o>r||o+n.length<i)&&(o=Math.max(0,r-2),n=t.sliceString(o,Math.min(t.length,i+2))),(e(sg(n,r-o))!=$t.Word||e(ag(n,r-o))!=$t.Word)&&(e(ag(n,i-o))!=$t.Word||e(sg(n,i-o))!=$t.Word))}var qw=class extends og{constructor(e){super(e)}nextMatch(e,r,i){let n=Fc(this.spec,e,i,e.doc.length).nextOverlapping();return n.done&&(n=Fc(this.spec,e,0,r).nextOverlapping()),n.done?null:n.value}prevMatchInRange(e,r,i){for(let n=i;;){let o=Math.max(r,n-1e4-this.spec.unquoted.length),s=Fc(this.spec,e,o,n),a=null;for(;!s.nextOverlapping().done;)a=s.value;if(a)return a;if(o==r)return null;n-=1e4}}prevMatch(e,r,i){return this.prevMatchInRange(e,0,r)||this.prevMatchInRange(e,i,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,r){let i=Fc(this.spec,e,0,e.doc.length),n=[];for(;!i.next().done;){if(n.length>=r)return null;n.push(i.value)}return n}highlight(e,r,i,n){let o=Fc(this.spec,e,Math.max(0,r-this.spec.unquoted.length),Math.min(i+this.spec.unquoted.length,e.doc.length));for(;!o.next().done;)n(o.value.from,o.value.to)}};function Wc(t,e,r,i){return new Zc(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?zne(e.charCategorizer(e.selection.main.head)):void 0},r,i)}function sg(t,e){return t.slice(dr(t,e,!1),e)}function ag(t,e){return t.slice(e,dr(t,e))}function zne(t){return(e,r,i)=>!i[0].length||(t(sg(i.input,i.index))!=$t.Word||t(ag(i.input,i.index))!=$t.Word)&&(t(ag(i.input,i.index+i[0].length))!=$t.Word||t(sg(i.input,i.index+i[0].length))!=$t.Word)}var Fw=class extends og{nextMatch(e,r,i){let n=Wc(this.spec,e,i,e.doc.length).next();return n.done&&(n=Wc(this.spec,e,0,r).next()),n.done?null:n.value}prevMatchInRange(e,r,i){for(let n=1;;n++){let o=Math.max(r,i-n*1e4),s=Wc(this.spec,e,o,i),a=null;for(;!s.next().done;)a=s.value;if(a&&(o==r||a.from>o+10))return a;if(o==r)return null}}prevMatch(e,r,i){return this.prevMatchInRange(e,0,r)||this.prevMatchInRange(e,i,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(r,i)=>i=="$"?"$":i=="&"?e.match[0]:i!="0"&&+i<e.match.length?e.match[i]:r)}matchAll(e,r){let i=Wc(this.spec,e,0,e.doc.length),n=[];for(;!i.next().done;){if(n.length>=r)return null;n.push(i.value)}return n}highlight(e,r,i,n){let o=Wc(this.spec,e,Math.max(0,r-250),Math.min(i+250,e.doc.length));for(;!o.next().done;)n(o.value.from,o.value.to)}},is=De.define(),Hw=De.define(),da=Ot.define({create(t){return new Hh(Ww(t).create(),null)},update(t,e){for(let r of e.effects)r.is(is)?t=new Hh(r.value.create(),t.panel):r.is(Hw)&&(t=new Hh(t.query,r.value?Jw:null));return t},provide:t=>an.from(t,e=>e.panel)});var Hh=class{constructor(e,r){this.query=e,this.panel=r}},Mne=Le.mark({class:"cm-searchMatch"}),Dne=Le.mark({class:"cm-searchMatch cm-searchMatch-selected"}),Une=dt.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(da))}update(t){let e=t.state.field(da);(e!=t.startState.field(da)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return Le.none;let{view:r}=this,i=new zi;for(let n=0,o=r.visibleRanges,s=o.length;n<s;n++){let{from:a,to:l}=o[n];for(;n<s-1&&l>o[n+1].from-2*250;)l=o[++n].to;t.highlight(r.state,a,l,(c,u)=>{let f=r.state.selection.ranges.some(d=>d.from==c&&d.to==u);i.add(c,u,f?Dne:Mne)})}return i.finish()}},{decorations:t=>t.decorations});function Gh(t){return e=>{let r=e.state.field(da,!1);return r&&r.query.spec.valid?t(e,r):Gc(e)}}var J$=Gh((t,{query:e})=>{let{to:r}=t.state.selection.main,i=e.nextMatch(t.state,r,r);if(!i)return!1;let n=ce.single(i.from,i.to),o=t.state.facet(Hc);return t.dispatch({selection:n,effects:[t5(t,i),o.scrollToMatch(n.main,t)],userEvent:"select.search"}),cX(t),!0}),eX=Gh((t,{query:e})=>{let{state:r}=t,{from:i}=r.selection.main,n=e.prevMatch(r,i,i);if(!n)return!1;let o=ce.single(n.from,n.to),s=t.state.facet(Hc);return t.dispatch({selection:o,effects:[t5(t,n),s.scrollToMatch(o.main,t)],userEvent:"select.search"}),cX(t),!0}),Gw=Gh((t,{query:e})=>{let r=e.matchAll(t.state,1e3);return!r||!r.length?!1:(t.dispatch({selection:ce.create(r.map(i=>ce.range(i.from,i.to))),userEvent:"select.search.matches"}),!0)}),aX=({state:t,dispatch:e})=>{let r=t.selection;if(r.ranges.length>1||r.main.empty)return!1;let{from:i,to:n}=r.main,o=[],s=0;for(let a=new pa(t.doc,t.sliceDoc(i,n));!a.next().done;){if(o.length>1e3)return!1;a.value.from==i&&(s=o.length),o.push(ce.range(a.value.from,a.value.to))}return e(t.update({selection:ce.create(o,s),userEvent:"select.search.matches"})),!0},tX=Gh((t,{query:e})=>{let{state:r}=t,{from:i,to:n}=r.selection.main;if(r.readOnly)return!1;let o=e.nextMatch(r,i,i);if(!o)return!1;let s=[],a,l,c=[];if(o.from==i&&o.to==n&&(l=r.toText(e.getReplacement(o)),s.push({from:o.from,to:o.to,insert:l}),o=e.nextMatch(r,o.from,o.to),c.push(xe.announce.of(r.phrase("replaced match on line $",r.doc.lineAt(i).number)+"."))),o){let u=s.length==0||s[0].from>=o.to?0:o.to-o.from-l.length;a=ce.single(o.from-u,o.to-u),c.push(t5(t,o)),c.push(r.facet(Hc).scrollToMatch(a.main,t))}return t.dispatch({changes:s,selection:a,effects:c,userEvent:"input.replace"}),!0}),Kw=Gh((t,{query:e})=>{if(t.state.readOnly)return!1;let r=e.matchAll(t.state,1e9).map(n=>{let{from:o,to:s}=n;return{from:o,to:s,insert:e.getReplacement(n)}});if(!r.length)return!1;let i=t.state.phrase("replaced $ matches",r.length)+".";return t.dispatch({changes:r,effects:xe.announce.of(i),userEvent:"input.replace.all"}),!0});function Jw(t){return t.state.facet(Hc).createPanel(t)}function Ww(t,e){var r,i,n,o,s;let a=t.selection.main,l=a.empty||a.to>a.from+100?"":t.sliceDoc(a.from,a.to);if(e&&!l)return e;let c=t.facet(Hc);return new Yc({search:((r=e==null?void 0:e.literal)!==null&&r!==void 0?r:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(i=e==null?void 0:e.caseSensitive)!==null&&i!==void 0?i:c.caseSensitive,literal:(n=e==null?void 0:e.literal)!==null&&n!==void 0?n:c.literal,regexp:(o=e==null?void 0:e.regexp)!==null&&o!==void 0?o:c.regexp,wholeWord:(s=e==null?void 0:e.wholeWord)!==null&&s!==void 0?s:c.wholeWord})}function lX(t){let e=Ga(t,Jw);return e&&e.dom.querySelector("[main-field]")}function cX(t){let e=lX(t);e&&e==t.root.activeElement&&e.select()}var Gc=t=>{let e=t.state.field(da,!1);if(e&&e.panel){let r=lX(t);if(r&&r!=t.root.activeElement){let i=Ww(t.state,e.query.spec);i.valid&&t.dispatch({effects:is.of(i)}),r.focus(),r.select()}}else t.dispatch({effects:[Hw.of(!0),e?is.of(Ww(t.state,e.query.spec)):De.appendConfig.of(jne)]});return!0},e5=t=>{let e=t.state.field(da,!1);if(!e||!e.panel)return!1;let r=Ga(t,Jw);return r&&r.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:Hw.of(!1)}),!0};var Zw=class{constructor(e){this.view=e;let r=this.query=e.state.field(da).query.spec;this.commit=this.commit.bind(this),this.searchField=_t("input",{value:r.search,placeholder:Fi(e,"Find"),"aria-label":Fi(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=_t("input",{value:r.replace,placeholder:Fi(e,"Replace"),"aria-label":Fi(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=_t("input",{type:"checkbox",name:"case",form:"",checked:r.caseSensitive,onchange:this.commit}),this.reField=_t("input",{type:"checkbox",name:"re",form:"",checked:r.regexp,onchange:this.commit}),this.wordField=_t("input",{type:"checkbox",name:"word",form:"",checked:r.wholeWord,onchange:this.commit});function i(n,o,s){return _t("button",{class:"cm-button",name:n,onclick:o,type:"button"},s)}this.dom=_t("div",{onkeydown:n=>this.keydown(n),class:"cm-search"},[this.searchField,i("next",()=>J$(e),[Fi(e,"next")]),i("prev",()=>eX(e),[Fi(e,"previous")]),i("select",()=>Gw(e),[Fi(e,"all")]),_t("label",null,[this.caseField,Fi(e,"match case")]),_t("label",null,[this.reField,Fi(e,"regexp")]),_t("label",null,[this.wordField,Fi(e,"by word")]),...e.state.readOnly?[]:[_t("br"),this.replaceField,i("replace",()=>tX(e),[Fi(e,"replace")]),i("replaceAll",()=>Kw(e),[Fi(e,"replace all")])],_t("button",{name:"close",onclick:()=>e5(e),"aria-label":Fi(e,"close"),type:"button"},["\xD7"])])}commit(){let e=new Yc({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:is.of(e)}))}keydown(e){n4(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?eX:J$)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),tX(this.view))}update(e){for(let r of e.transactions)for(let i of r.effects)i.is(is)&&!i.value.eq(this.query)&&this.setQuery(i.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(Hc).top}};function Fi(t,e){return t.state.phrase(e)}var JO=30,eg=/[\s\.,:;?!]/;function t5(t,{from:e,to:r}){let i=t.state.doc.lineAt(e),n=t.state.doc.lineAt(r).to,o=Math.max(i.from,e-JO),s=Math.min(n,r+JO),a=t.state.sliceDoc(o,s);if(o!=i.from){for(let l=0;l<JO;l++)if(!eg.test(a[l+1])&&eg.test(a[l])){a=a.slice(l);break}}if(s!=n){for(let l=a.length-1;l>a.length-JO;l--)if(!eg.test(a[l-1])&&eg.test(a[l])){a=a.slice(0,l);break}}return xe.announce.of(`${t.state.phrase("current match")}. ${a} ${t.state.phrase("on line")} ${i.number}.`)}var Nne=xe.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),jne=[da,cr.low(Une),Nne];var r5=class{constructor(e,r,i){this.from=e,this.to=r,this.diagnostic=i}},wl=class t{constructor(e,r,i){this.diagnostics=e,this.panel=r,this.selected=i}static init(e,r,i){let n=e,o=i.facet(OX).markerFilter;o&&(n=o(n));let s=Le.set(n.map(a=>a.from==a.to||a.from==a.to-1&&i.doc.lineAt(a.from).to==a.from?Le.widget({widget:new i5(a),diagnostic:a}).range(a.from):Le.mark({attributes:{class:"cm-lintRange cm-lintRange-"+a.severity+(a.markClass?" "+a.markClass:"")},diagnostic:a}).range(a.from,a.to)),!0);return new t(s,r,Kc(s))}};function Kc(t,e=null,r=0){let i=null;return t.between(r,1e9,(n,o,{spec:s})=>{if(!(e&&s.diagnostic!=e))return i=new r5(n,o,s.diagnostic),!1}),i}function Bne(t,e){let r=t.startState.doc.lineAt(e.pos);return!!(t.effects.some(i=>i.is(n5))||t.changes.touchesRange(r.from,r.to))}function fX(t,e){return t.field(Wi,!1)?e:e.concat(De.appendConfig.of(Yne))}function hX(t,e){return{effects:fX(t,[n5.of(e)])}}var n5=De.define(),o5=De.define(),dX=De.define(),Wi=Ot.define({create(){return new wl(Le.none,null,null)},update(t,e){if(e.docChanged){let r=t.diagnostics.map(e.changes),i=null;if(t.selected){let n=e.changes.mapPos(t.selected.from,1);i=Kc(r,t.selected.diagnostic,n)||Kc(r,null,n)}t=new wl(r,t.panel,i)}for(let r of e.effects)r.is(n5)?t=wl.init(r.value,t.panel,e.state):r.is(o5)?t=new wl(t.diagnostics,r.value?ug.open:null,t.selected):r.is(dX)&&(t=new wl(t.diagnostics,t.panel,r.value));return t},provide:t=>[an.from(t,e=>e.panel),xe.decorations.from(t,e=>e.diagnostics)]});var Vne=Le.mark({class:"cm-lintRange cm-lintRange-active"});function qne(t,e,r){let{diagnostics:i}=t.state.field(Wi),n=[],o=2e8,s=0;i.between(e-(r<0?1:0),e+(r>0?1:0),(l,c,{spec:u})=>{e>=l&&e<=c&&(l==c||(e>l||r>0)&&(e<c||r<0))&&(n.push(u.diagnostic),o=Math.min(l,o),s=Math.max(c,s))});let a=t.state.facet(OX).tooltipFilter;return a&&(n=a(n)),n.length?{pos:o,end:s,above:t.state.doc.lineAt(o).to<s,create(){return{dom:Fne(t,n)}}}:null}function Fne(t,e){return _t("ul",{class:"cm-tooltip-lint"},e.map(r=>bX(t,r,!1)))}var pX=t=>{let e=t.state.field(Wi,!1);(!e||!e.panel)&&t.dispatch({effects:fX(t.state,[o5.of(!0)])});let r=Ga(t,ug.open);return r&&r.dom.querySelector(".cm-panel-lint ul").focus(),!0},uX=t=>{let e=t.state.field(Wi,!1);return!e||!e.panel?!1:(t.dispatch({effects:o5.of(!1)}),!0)},mX=t=>{let e=t.state.field(Wi,!1);if(!e)return!1;let r=t.state.selection.main,i=e.diagnostics.iter(r.to+1);return!i.value&&(i=e.diagnostics.iter(0),!i.value||i.from==r.from&&i.to==r.to)?!1:(t.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)};var OX=Re.define({combine(t){return Object.assign({sources:t.map(e=>e.source)},Ft(t.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(e,r)=>e?r?i=>e(i)||r(i):e:r}))}});function gX(t){let e=[];if(t)e:for(let{name:r}of t){for(let i=0;i<r.length;i++){let n=r[i];if(/[a-zA-Z]/.test(n)&&!e.some(o=>o.toLowerCase()==n.toLowerCase())){e.push(n);continue e}}e.push("")}return e}function bX(t,e,r){var i;let n=r?gX(e.actions):[];return _t("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},_t("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(i=e.actions)===null||i===void 0?void 0:i.map((o,s)=>{let a=!1,l=d=>{if(d.preventDefault(),a)return;a=!0;let p=Kc(t.state.field(Wi).diagnostics,e);p&&o.apply(t,p.from,p.to)},{name:c}=o,u=n[s]?c.indexOf(n[s]):-1,f=u<0?c:[c.slice(0,u),_t("u",c.slice(u,u+1)),c.slice(u+1)];return _t("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${n[s]})"`}.`},f)}),e.source&&_t("div",{class:"cm-diagnosticSource"},e.source))}var i5=class extends Tr{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return _t("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}},cg=class{constructor(e,r){this.diagnostic=r,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=bX(e,r,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}},ug=class t{constructor(e){this.view=e,this.items=[];let r=n=>{if(n.keyCode==27)uX(this.view),this.view.focus();else if(n.keyCode==38||n.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(n.keyCode==40||n.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(n.keyCode==36)this.moveSelection(0);else if(n.keyCode==35)this.moveSelection(this.items.length-1);else if(n.keyCode==13)this.view.focus();else if(n.keyCode>=65&&n.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:o}=this.items[this.selectedIndex],s=gX(o.actions);for(let a=0;a<s.length;a++)if(s[a].toUpperCase().charCodeAt(0)==n.keyCode){let l=Kc(this.view.state.field(Wi).diagnostics,o);l&&o.actions[a].apply(e,l.from,l.to)}}else return;n.preventDefault()},i=n=>{for(let o=0;o<this.items.length;o++)this.items[o].dom.contains(n.target)&&this.moveSelection(o)};this.list=_t("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:r,onclick:i}),this.dom=_t("div",{class:"cm-panel-lint"},this.list,_t("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>uX(this.view)},"\xD7")),this.update()}get selectedIndex(){let e=this.view.state.field(Wi).selected;if(!e)return-1;for(let r=0;r<this.items.length;r++)if(this.items[r].diagnostic==e.diagnostic)return r;return-1}update(){let{diagnostics:e,selected:r}=this.view.state.field(Wi),i=0,n=!1,o=null;for(e.between(0,this.view.state.doc.length,(s,a,{spec:l})=>{let c=-1,u;for(let f=i;f<this.items.length;f++)if(this.items[f].diagnostic==l.diagnostic){c=f;break}c<0?(u=new cg(this.view,l.diagnostic),this.items.splice(i,0,u),n=!0):(u=this.items[c],c>i&&(this.items.splice(i,c-i),n=!0)),r&&u.diagnostic==r.diagnostic?u.dom.hasAttribute("aria-selected")||(u.dom.setAttribute("aria-selected","true"),o=u):u.dom.hasAttribute("aria-selected")&&u.dom.removeAttribute("aria-selected"),i++});i<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)n=!0,this.items.pop();this.items.length==0&&(this.items.push(new cg(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),n=!0),o?(this.list.setAttribute("aria-activedescendant",o.id),this.view.requestMeasure({key:this,read:()=>({sel:o.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:s,panel:a})=>{let l=a.height/this.list.offsetHeight;s.top<a.top?this.list.scrollTop-=(a.top-s.top)/l:s.bottom>a.bottom&&(this.list.scrollTop+=(s.bottom-a.bottom)/l)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),n&&this.sync()}sync(){let e=this.list.firstChild;function r(){let i=e;e=i.nextSibling,i.remove()}for(let i of this.items)if(i.dom.parentNode==this.list){for(;e!=i.dom;)r();e=i.dom.nextSibling}else this.list.insertBefore(i.dom,e);for(;e;)r()}moveSelection(e){if(this.selectedIndex<0)return;let r=this.view.state.field(Wi),i=Kc(r.diagnostics,this.items[e].diagnostic);i&&this.view.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:dX.of(i)})}static open(e){return new t(e)}};function Wne(t,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${e}>${encodeURIComponent(t)}</svg>')`}function lg(t){return Wne(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${t}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}var Zne=xe.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:lg("#d11")},".cm-lintRange-warning":{backgroundImage:lg("orange")},".cm-lintRange-info":{backgroundImage:lg("#999")},".cm-lintRange-hint":{backgroundImage:lg("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});var Yne=[Wi,xe.decorations.compute([Wi],t=>{let{selected:e,panel:r}=t.field(Wi);return!e||!r||e.from==e.to?Le.none:Le.set([Vne.range(e.from,e.to)])}),_m(qne,{hideOn:Bne}),Zne];var yX=t=>e=>{let r=t==="down",i=e.state.selection;for(let n of i.ranges)i=i.addRange(e.moveVertically(n,r));return e.dispatch({selection:i}),!0},Hne=yX("up"),Gne=yX("down"),Kne=t=>{let e=null;for(let r of t.state.selection.ranges)if(!r.empty)for(let i=r.from;i<=r.to;){let n=t.state.doc.lineAt(i),o=Math.min(n.to,r.to);e?e=e.addRange(ce.range(o,o)):e=ce.single(o),i=n.to+1}return e?(t.dispatch({selection:e}),!0):!1},vX=[{key:"Ctrl-Space",run:lh},{key:"Escape",run:j4},{key:"ArrowDown",run:Jo(!0)},{key:"ArrowUp",run:Jo(!1)},{key:"PageDown",run:Jo(!0,"page")},{key:"PageUp",run:Jo(!1,"page")},{key:"Enter",run:Wm},{key:"Tab",run:Wm},{key:"Mod-f",run:Gc,scope:"editor search-panel"},{key:"Escape",run:e5,scope:"editor search-panel"},{key:"Alt-Enter",run:Gw,scope:"editor search-panel"},{key:"Mod-Alt-Enter",run:Kw,scope:"editor search-panel"},{key:"Ctrl-g",run:iX},{key:"Mod-d",run:sX,preventDefault:!0},{key:"Shift-Mod-l",run:aX},{key:"Enter",run:Wh,shift:Wh},{key:"ArrowLeft",run:Ih,shift:Xw,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:UO,shift:WO},{key:"ArrowRight",run:$w,shift:Iw,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:NO,shift:ZO},{key:"ArrowUp",run:Lh,shift:Nc,preventDefault:!0},{key:"ArrowDown",run:zh,shift:jc,preventDefault:!0},{key:"Home",run:Dh,shift:Dw},{mac:"Cmd-ArrowLeft",run:Dh,shift:Dw},{key:"Mod-Home",run:Bh,shift:Bc},{mac:"Cmd-ArrowUp",run:Bh,shift:Bc},{key:"PageUp",run:Dc,shift:Uh},{mac:"Ctrl-ArrowUp",run:Dc,shift:Uh},{key:"PageDown",run:Uc,shift:vl},{mac:"Ctrl-ArrowDown",run:Uc,shift:vl},{key:"End",run:Mh,shift:Mw},{mac:"Cmd-ArrowRight",run:Mh,shift:Mw},{key:"Mod-Alt-ArrowUp",linux:"Shift-Alt-ArrowUp",run:Hne,preventDefault:!0},{key:"Mod-Alt-ArrowDown",linux:"Shift-Alt-ArrowDown",run:Gne,preventDefault:!0},{key:"Shift-Alt-i",run:Kne},{key:"Mod-End",run:Vh,shift:Vc},{mac:"Cmd-ArrowDown",run:Vh,shift:Vc},{key:"Mod-a",run:YO},{key:"Backspace",run:pQ},{key:"Backspace",run:qc,shift:qc},{key:"Delete",run:qh},{key:"Mod-Backspace",mac:"Alt-Backspace",run:Uw},{key:"Mod-Delete",mac:"Alt-Delete",run:D$},{mac:"Mod-Backspace",run:U$},{mac:"Mod-Delete",run:Nw},{mac:"Ctrl-b",run:Ih,shift:Xw,preventDefault:!0},{mac:"Ctrl-f",run:$w,shift:Iw},{mac:"Ctrl-p",run:Lh,shift:Nc},{mac:"Ctrl-n",run:zh,shift:jc},{mac:"Ctrl-a",run:BO,shift:Nh},{mac:"Ctrl-e",run:VO,shift:jh},{mac:"Ctrl-d",run:qh},{mac:"Ctrl-h",run:qc},{mac:"Ctrl-k",run:Nw},{mac:"Ctrl-Alt-h",run:Uw},{mac:"Ctrl-o",run:Fh},{mac:"Ctrl-t",run:GO},{mac:"Ctrl-v",run:Uc},{mac:"Alt-v",run:Dc},{key:"Shift-Mod-k",run:W$},{key:"Alt-ArrowDown",run:B$},{key:"Alt-ArrowUp",run:j$},{win:"Shift-Alt-ArrowDown",mac:"Shift-Alt-ArrowDown",run:F$},{win:"Shift-Alt-ArrowUp",mac:"Shift-Alt-ArrowUp",run:q$},{key:"Mod-l",run:L$,preventDefault:!0},{key:"Shift-Mod-\\",run:A$},{key:"Tab",run:Zh,shift:Yh,preventDefault:!0},{key:"Mod-[",run:Yh},{key:"Mod-]",run:Zh},{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:Nm},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:XP},{key:"Mod-k Mod-0",run:LP},{key:"Mod-k Mod-j",run:zP},{key:"Mod-k Mod-c",run:O$},{key:"Mod-k Mod-u",run:g$},{key:"Mod-/",run:Rh},{key:"Shift-Alt-a",run:b$},{key:"Mod-z",run:bl,preventDefault:!0},{key:"Mod-y",run:ca,preventDefault:!0},{key:"Mod-Shift-z",run:ca,preventDefault:!0},{key:"Mod-u",run:k$,preventDefault:!0},{key:"Mod-Shift-m",run:pX},{key:"F8",run:mX}];function Jne(t){var e=t.Pos;function r(h,m){var b=h.state.vim;if(!b||b.insertMode)return m.head;var y=b.sel.head;if(!y)return m.head;if(!(b.visualBlock&&m.head.line!=y.line))return m.from()==m.anchor&&!m.empty()&&m.head.line==y.line&&m.head.ch!=y.ch?new e(m.head.line,m.head.ch-1):m.head}function i(h,m,b){if(m.line===b.line&&m.ch>=b.ch-1){var y=h.getLine(m.line),T=y.charCodeAt(m.ch);55296<=T&&T<=55551&&(b.ch+=1)}return{start:m,end:b}}var n=[{keys:"<Left>",type:"keyToKey",toKeys:"h"},{keys:"<Right>",type:"keyToKey",toKeys:"l"},{keys:"<Up>",type:"keyToKey",toKeys:"k"},{keys:"<Down>",type:"keyToKey",toKeys:"j"},{keys:"g<Up>",type:"keyToKey",toKeys:"gk"},{keys:"g<Down>",type:"keyToKey",toKeys:"gj"},{keys:"<Space>",type:"keyToKey",toKeys:"l"},{keys:"<BS>",type:"keyToKey",toKeys:"h"},{keys:"<Del>",type:"keyToKey",toKeys:"x"},{keys:"<C-Space>",type:"keyToKey",toKeys:"W"},{keys:"<C-BS>",type:"keyToKey",toKeys:"B"},{keys:"<S-Space>",type:"keyToKey",toKeys:"w"},{keys:"<S-BS>",type:"keyToKey",toKeys:"b"},{keys:"<C-n>",type:"keyToKey",toKeys:"j"},{keys:"<C-p>",type:"keyToKey",toKeys:"k"},{keys:"<C-[>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-c>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-[>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"<C-c>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"<C-Esc>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-Esc>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"<Home>",type:"keyToKey",toKeys:"0"},{keys:"<End>",type:"keyToKey",toKeys:"$"},{keys:"<PageUp>",type:"keyToKey",toKeys:"<C-b>"},{keys:"<PageDown>",type:"keyToKey",toKeys:"<C-f>"},{keys:"<CR>",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"<Ins>",type:"keyToKey",toKeys:"i",context:"normal"},{keys:"<Ins>",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"<C-f>",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"<C-b>",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"<C-d>",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"<C-u>",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"g$",type:"motion",motion:"moveToEndOfDisplayLine"},{keys:"g^",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"g0",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f<character>",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F<character>",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t<character>",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T<character>",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'<character>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`<character>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]<character>",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[<character>",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"gn",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!0}},{keys:"gN",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!1}},{keys:"gq",type:"operator",operator:"hardWrap"},{keys:"gw",type:"operator",operator:"hardWrap",operatorArgs:{keepCursor:!0}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"<C-u>",type:"operatorMotion",operator:"delete",motion:"moveToStartOfLine",context:"insert"},{keys:"<C-w>",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"<C-w>",type:"idle",context:"normal"},{keys:"<C-i>",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"<C-o>",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"<C-e>",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"<C-y>",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"<C-v>",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"<C-q>",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r<character>",type:"action",action:"replace",isEdit:!0},{keys:"@<character>",type:"action",action:"replayMacro"},{keys:"q<character>",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"<C-r>",type:"action",action:"redo"},{keys:"m<character>",type:"action",action:"setMark"},{keys:'"<character>',type:"action",action:"setRegister"},{keys:"<C-r><character>",type:"action",action:"insertRegister",context:"insert",isEdit:!0},{keys:"<C-o>",type:"action",action:"oneNormalCommand",context:"insert"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z<CR>",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"<C-a>",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"<C-x>",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"<C-t>",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"<C-d>",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a<character>",type:"motion",motion:"textObjectManipulation"},{keys:"i<character>",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],o=n.length,s=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"omap",shortName:"om"},{name:"noremap",shortName:"no"},{name:"nnoremap",shortName:"nn"},{name:"vnoremap",shortName:"vn"},{name:"inoremap",shortName:"ino"},{name:"onoremap",shortName:"ono"},{name:"unmap"},{name:"mapclear",shortName:"mapc"},{name:"nmapclear",shortName:"nmapc"},{name:"vmapclear",shortName:"vmapc"},{name:"imapclear",shortName:"imapc"},{name:"omapclear",shortName:"omapc"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"startinsert",shortName:"start"},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"vglobal",shortName:"v"},{name:"delete",shortName:"d"},{name:"join",shortName:"j"},{name:"normal",shortName:"norm"},{name:"global",shortName:"g"}];function a(h){h.setOption("disableInput",!0),h.setOption("showCursorWhenSelecting",!1),t.signal(h,"vim-mode-change",{mode:"normal"}),h.on("cursorActivity",Fx),st(h),t.on(h.getInputField(),"paste",x(h))}function l(h){h.setOption("disableInput",!1),h.off("cursorActivity",Fx),t.off(h.getInputField(),"paste",x(h)),h.state.vim=null,yd&&clearTimeout(yd)}function c(h,m){this==t.keyMap.vim&&(h.options.$customCursor=null,t.rmClass(h.getWrapperElement(),"cm-fat-cursor")),(!m||m.attach!=u)&&l(h)}function u(h,m){this==t.keyMap.vim&&(h.curOp&&(h.curOp.selectionChanged=!0),h.options.$customCursor=r,t.addClass(h.getWrapperElement(),"cm-fat-cursor")),(!m||m.attach!=u)&&a(h)}t.defineOption("vimMode",!1,function(h,m,b){m&&h.getOption("keyMap")!="vim"?h.setOption("keyMap","vim"):!m&&b!=t.Init&&/^vim/.test(h.getOption("keyMap"))&&h.setOption("keyMap","default")});function f(h,m){if(m){if(this[h])return this[h];var b=w(h);if(!b)return!1;var y=ct.findKey(m,b);return typeof y=="function"&&t.signal(m,"vim-keypress",b),y}}var d={Shift:"S",Ctrl:"C",Alt:"A",Cmd:"D",Mod:"A",CapsLock:""},p={Enter:"CR",Backspace:"BS",Delete:"Del",Insert:"Ins"},O={};"Left|Right|Up|Down|End|Home".split("|").concat(Object.keys(p)).forEach(function(h){O[(p[h]||"").toLowerCase()]=O[h.toLowerCase()]=h});function w(h){if(h.charAt(0)=="'")return h.charAt(1);var m=h.split(/-(?!$)/),b=m[m.length-1];if(m.length==1&&m[0].length==1)return!1;if(m.length==2&&m[0]=="Shift"&&b.length==1)return!1;for(var y=!1,T=0;T<m.length;T++){var E=m[T];E in d?m[T]=d[E]:y=!0,E in p&&(m[T]=p[E])}return y?(ve(b)&&(m[m.length-1]=b.toLowerCase()),"<"+m.join("-")+">"):!1}function x(h){var m=h.state.vim;return m.onPasteFn||(m.onPasteFn=function(){m.insertMode||(h.setCursor(It(h.getCursor(),0,1)),Ye.enterInsertMode(h,{},m))}),m.onPasteFn}var k=/[\d]/,C=[t.isWordChar,function(h){return h&&!t.isWordChar(h)&&!/\s/.test(h)}],R=[function(h){return/\S/.test(h)}];function Q(h,m){for(var b=[],y=h;y<h+m;y++)b.push(String.fromCharCode(y));return b}var z=Q(65,26),L=Q(97,26),Z=Q(48,10),re=[].concat(z,L,Z,["<",">"]),H=[].concat(z,L,Z,["-",'"',".",":","_","/","+"]),q;try{q=new RegExp("^[\\p{Lu}]$","u")}catch(h){q=/^[A-Z]$/}function oe(h,m){return m>=h.firstLine()&&m<=h.lastLine()}function pe(h){return/^[a-z]$/.test(h)}function fe(h){return"()[]{}".indexOf(h)!=-1}function ge(h){return k.test(h)}function ve(h){return q.test(h)}function Qe(h){return/^\s*$/.test(h)}function se(h){return".?!".indexOf(h)!=-1}function he(h,m){for(var b=0;b<m.length;b++)if(m[b]==h)return!0;return!1}var K={};function _(h,m,b,y,T){if(m===void 0&&!T)throw Error("defaultValue is required unless callback is provided");if(b||(b="string"),K[h]={type:b,defaultValue:m,callback:T},y)for(var E=0;E<y.length;E++)K[y[E]]=K[h];m&&G(h,m)}function G(h,m,b,y){var T=K[h];y=y||{};var E=y.scope;if(!T)return new Error("Unknown option: "+h);if(T.type=="boolean"){if(m&&m!==!0)return new Error("Invalid argument: "+h+"="+m);m!==!1&&(m=!0)}T.callback?(E!=="local"&&T.callback(m,void 0),E!=="global"&&b&&T.callback(m,b)):(E!=="local"&&(T.value=T.type=="boolean"?!!m:m),E!=="global"&&b&&(b.state.vim.options[h]={value:m}))}function ae(h,m,b){var y=K[h];b=b||{};var T=b.scope;if(!y)return new Error("Unknown option: "+h);if(y.callback){var E=m&&y.callback(void 0,m);return T!=="global"&&E!==void 0?E:T!=="local"?y.callback():void 0}else{var E=T!=="global"&&m&&m.state.vim.options[h];return(E||T!=="local"&&y||{}).value}}_("filetype",void 0,"string",["ft"],function(h,m){if(m!==void 0)if(h===void 0){var b=m.getOption("mode");return b=="null"?"":b}else{var b=h==""?"null":h;m.setOption("mode",b)}}),_("textwidth",80,"number",["tw"],function(h,m){if(m!==void 0)if(h===void 0){var b=m.getOption("textwidth");return b}else{var y=Math.round(h);y>1&&m.setOption("textwidth",y)}});var j=function(){var h=100,m=-1,b=0,y=0,T=new Array(h);function E(M,F,W){var ue=m%h,me=T[ue];function ie(Te){var ye=++m%h,Ve=T[ye];Ve&&Ve.clear(),T[ye]=M.setBookmark(Te)}if(me){var ee=me.find();ee&&!tr(ee,F)&&ie(F)}else ie(F);ie(W),b=m,y=m-h+1,y<0&&(y=0)}function $(M,F){m+=F,m>b?m=b:m<y&&(m=y);var W=T[(h+m)%h];if(W&&!W.find()){var ue=F>0?1:-1,me,ie=M.getCursor();do if(m+=ue,W=T[(h+m)%h],W&&(me=W.find())&&!tr(ie,me))break;while(m<b&&m>y)}return W}function D(M,F){var W=m,ue=$(M,F);return m=W,ue&&ue.find()}return{cachedCursor:void 0,add:E,find:D,move:$}},Je=function(h){return h?{changes:h.changes,expectCursorActivityForChange:h.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};function at(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=Je()}at.prototype={exitMacroRecordMode:function(){var h=Ce.macroModeState;h.onRecordingDone&&h.onRecordingDone(),h.onRecordingDone=void 0,h.isRecording=!1},enterMacroRecordMode:function(h,m){var b=Ce.registerController.getRegister(m);if(b){if(b.clear(),this.latestRegister=m,h.openDialog){var y=fs("span",{class:"cm-vim-message"},"recording @"+m);this.onRecordingDone=h.openDialog(y,null,{bottom:!0})}this.isRecording=!0}}};function st(h){return h.state.vim||(h.state.vim={inputState:new pn,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},insertMode:!1,insertModeReturn:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{}}),h.state.vim}var Ce;function Ze(){Ce={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:j(),macroModeState:new at,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new zn({}),searchHistoryController:new nu,exCommandHistoryController:new nu};for(var h in K){var m=K[h];m.value=m.defaultValue}}var Xt,ct={enterVimMode:a,leaveVimMode:l,buildKeyMap:function(){},getRegisterController:function(){return Ce.registerController},resetVimGlobalState_:Ze,getVimGlobalState_:function(){return Ce},maybeInitVimState_:st,suppressErrorLogging:!1,InsertModeKey:Hg,map:function(h,m,b){gn.map(h,m,b)},unmap:function(h,m){return gn.unmap(h,m)},noremap:function(h,m,b){gn.map(h,m,b,!0)},mapclear:function(h){var m=n.length,b=o,y=n.slice(0,m-b);if(n=n.slice(m-b),h)for(var T=y.length-1;T>=0;T--){var E=y[T];if(h!==E.context)if(E.context)this._mapCommand(E);else{var $=["normal","insert","visual"];for(var D in $)if($[D]!==h){var M={};for(var F in E)M[F]=E[F];M.context=$[D],this._mapCommand(M)}}}},setOption:G,getOption:ae,defineOption:_,defineEx:function(h,m,b){if(!m)m=h;else if(h.indexOf(m)!==0)throw new Error('(Vim.defineEx) "'+m+'" is not a prefix of "'+h+'", command not registered');Bx[h]=b,gn.commandMap_[m]={name:h,shortName:m,type:"api"}},handleKey:function(h,m,b){var y=this.findKey(h,m,b);if(typeof y=="function")return y()},multiSelectHandleKey:gz,findKey:function(h,m,b){var y=st(h);function T(){var F=Ce.macroModeState;if(F.isRecording){if(m=="q")return F.exitMacroRecordMode(),Zt(h),!0;b!="mapping"&&pz(F,m)}}function E(){if(m=="<Esc>"){if(y.visualMode)Mn(h);else if(y.insertMode)hs(h);else return;return Zt(h),!0}}function $(){if(E())return!0;y.inputState.keyBuffer.push(m);var F=y.inputState.keyBuffer.join(""),W=m.length==1,ue=bo.matchCommand(F,n,y.inputState,"insert"),me=y.inputState.changeQueue;if(ue.type=="none")return Zt(h),!1;if(ue.type=="partial"){if(Xt&&window.clearTimeout(Xt),Xt=W&&window.setTimeout(function(){y.insertMode&&y.inputState.keyBuffer.length&&Zt(h)},ae("insertModeEscKeysTimeout")),W){var ie=h.listSelections();(!me||me.removed.length!=ie.length)&&(me=y.inputState.changeQueue=new ba),me.inserted+=m;for(var ee=0;ee<ie.length;ee++){var Te=Qi(ie[ee].anchor,ie[ee].head),ye=us(ie[ee].anchor,ie[ee].head),Ve=h.getRange(Te,h.state.overwrite?It(ye,0,1):ye);me.removed[ee]=(me.removed[ee]||"")+Ve}}return!W}if(Xt&&window.clearTimeout(Xt),ue.command&&me){for(var ie=h.listSelections(),ee=0;ee<ie.length;ee++){var He=ie[ee].head;h.replaceRange(me.removed[ee]||"",It(He,0,-me.inserted.length),He,"+input")}Ce.macroModeState.lastInsertModeChanges.changes.pop()}return ue.command||Zt(h),ue.command}function D(){if(T()||E())return!0;y.inputState.keyBuffer.push(m);var F=y.inputState.keyBuffer.join("");if(/^[1-9]\d*$/.test(F))return!0;var W=/^(\d*)(.*)$/.exec(F);if(!W)return Zt(h),!1;var ue=y.visualMode?"visual":"normal",me=W[2]||W[1];y.inputState.operatorShortcut&&y.inputState.operatorShortcut.slice(-1)==me&&(me=y.inputState.operatorShortcut);var ie=bo.matchCommand(me,n,y.inputState,ue);return ie.type=="none"?(Zt(h),!1):ie.type=="partial"?!0:ie.type=="clear"?(Zt(h),!0):(y.inputState.keyBuffer.length=0,W=/^(\d*)(.*)$/.exec(F),W[1]&&W[1]!="0"&&y.inputState.pushRepeatDigit(W[1]),ie.command)}var M;return y.insertMode?M=$():M=D(),M===!1?!y.insertMode&&m.length===1?function(){return!0}:void 0:M===!0?function(){return!0}:function(){return h.operation(function(){h.curOp.isVimOp=!0;try{M.type=="keyToKey"?Ln(h,M.toKeys,M):bo.processCommand(h,y,M)}catch(F){throw h.state.vim=void 0,st(h),ct.suppressErrorLogging||console.log(F),F}return!0})}},handleEx:function(h,m){gn.processCommand(h,m)},defineMotion:Bg,defineAction:ft,defineOperator:$e,mapCommand:hz,_mapCommand:Vx,defineRegister:go,exitVisualMode:Mn,exitInsertMode:hs},Nr=[],Qr=!1;function Ln(h,m,b){var y=Qr;if(b){if(Nr.indexOf(b)!=-1)return;Nr.push(b),Qr=b.noremap!=!1}try{for(var T=st(h),E=/<(?:[CSMA]-)*\w+>|./gi,$;$=E.exec(m);){var D=$[0],M=T.insertMode,F=ct.handleKey(h,D,"mapping");if(!F&&M&&T.insertMode){if(D[0]=="<"){var W=D.toLowerCase().slice(1,-1),ue=W.split("-");if(W=ue.pop()||"",W=="lt")D="<";else if(W=="space")D=" ";else if(W=="cr")D=`
`;else if(O.hasOwnProperty(W)){D=O[W],Hx(h,D);continue}else D=D[0],E.lastIndex=$.index+1}h.replaceSelection(D)}}}finally{Nr.pop(),Qr=Nr.length?y:!1}}function pn(){this.prefixRepeat=[],this.motionRepeat=[],this.operator=null,this.operatorArgs=null,this.motion=null,this.motionArgs=null,this.keyBuffer=[],this.registerName=null,this.changeQueue=null}pn.prototype.pushRepeatDigit=function(h){this.operator?this.motionRepeat=this.motionRepeat.concat(h):this.prefixRepeat=this.prefixRepeat.concat(h)},pn.prototype.getRepeat=function(){var h=0;return(this.prefixRepeat.length>0||this.motionRepeat.length>0)&&(h=1,this.prefixRepeat.length>0&&(h*=parseInt(this.prefixRepeat.join(""),10)),this.motionRepeat.length>0&&(h*=parseInt(this.motionRepeat.join(""),10))),h};function Zt(h,m){h.state.vim.inputState=new pn,t.signal(h,"vim-command-done",m)}function ba(){this.removed=[],this.inserted=""}function _r(h,m,b){this.clear(),this.keyBuffer=[h||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!m,this.blockwise=!!b}_r.prototype={setText:function(h,m,b){this.keyBuffer=[h||""],this.linewise=!!m,this.blockwise=!!b},pushText:function(h,m){m&&(this.linewise||this.keyBuffer.push(`
`),this.linewise=!0),this.keyBuffer.push(h)},pushInsertModeChanges:function(h){this.insertModeChanges.push(Je(h))},pushSearchQuery:function(h){this.searchQueries.push(h)},clear:function(){this.keyBuffer=[],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!1},toString:function(){return this.keyBuffer.join("")}};function go(h,m){var b=Ce.registerController.registers;if(!h||h.length!=1)throw Error("Register name must be 1 character");if(b[h])throw Error("Register already defined "+h);b[h]=m,H.push(h)}function zn(h){this.registers=h,this.unnamedRegister=h['"']=new _r,h["."]=new _r,h[":"]=new _r,h["/"]=new _r,h["+"]=new _r}zn.prototype={pushText:function(h,m,b,y,T){if(h!=="_"){y&&b.charAt(b.length-1)!==`
`&&(b+=`
`);var E=this.isValidRegister(h)?this.getRegister(h):null;if(!E){switch(m){case"yank":this.registers[0]=new _r(b,y,T);break;case"delete":case"change":b.indexOf(`
`)==-1?this.registers["-"]=new _r(b,y):(this.shiftNumericRegisters_(),this.registers[1]=new _r(b,y));break}this.unnamedRegister.setText(b,y,T);return}var $=ve(h);$?E.pushText(b,y):E.setText(b,y,T),h==="+"&&navigator.clipboard.writeText(b),this.unnamedRegister.setText(E.toString(),y)}},getRegister:function(h){return this.isValidRegister(h)?(h=h.toLowerCase(),this.registers[h]||(this.registers[h]=new _r),this.registers[h]):this.unnamedRegister},isValidRegister:function(h){return h&&he(h,H)},shiftNumericRegisters_:function(){for(var h=9;h>=2;h--)this.registers[h]=this.getRegister(""+(h-1))}};function nu(){this.historyBuffer=[],this.iterator=0,this.initialPrefix=null}nu.prototype={nextMatch:function(h,m){var b=this.historyBuffer,y=m?-1:1;this.initialPrefix===null&&(this.initialPrefix=h);for(var T=this.iterator+y;m?T>=0:T<b.length;T+=y)for(var E=b[T],$=0;$<=E.length;$++)if(this.initialPrefix==E.substring(0,$))return this.iterator=T,E;if(T>=b.length)return this.iterator=b.length,this.initialPrefix;if(T<0)return h},pushInput:function(h){var m=this.historyBuffer.indexOf(h);m>-1&&this.historyBuffer.splice(m,1),h.length&&this.historyBuffer.push(h)},reset:function(){this.initialPrefix=null,this.iterator=this.historyBuffer.length}};var bo={matchCommand:function(h,m,b,y){var T=On(h,m,y,b);if(!T.full&&!T.partial)return{type:"none"};if(!T.full&&T.partial)return{type:"partial"};for(var E,$=0;$<T.full.length;$++){var D=T.full[$];E||(E=D)}if(E.keys.slice(-11)=="<character>"){var M=va(h);if(!M||M.length>1)return{type:"clear"};b.selectedCharacter=M}return{type:"full",command:E}},processCommand:function(h,m,b){switch(m.inputState.repeatOverride=b.repeatOverride,b.type){case"motion":this.processMotion(h,m,b);break;case"operator":this.processOperator(h,m,b);break;case"operatorMotion":this.processOperatorMotion(h,m,b);break;case"action":this.processAction(h,m,b);break;case"search":this.processSearch(h,m,b);break;case"ex":case"keyToEx":this.processEx(h,m,b);break}},processMotion:function(h,m,b){m.inputState.motion=b.motion,m.inputState.motionArgs=jr(b.motionArgs),this.evalInput(h,m)},processOperator:function(h,m,b){var y=m.inputState;if(y.operator)if(y.operator==b.operator){y.motion="expandToLine",y.motionArgs={linewise:!0},this.evalInput(h,m);return}else Zt(h);y.operator=b.operator,y.operatorArgs=jr(b.operatorArgs),b.keys.length>1&&(y.operatorShortcut=b.keys),b.exitVisualBlock&&(m.visualBlock=!1,Ql(h)),m.visualMode&&this.evalInput(h,m)},processOperatorMotion:function(h,m,b){var y=m.visualMode,T=jr(b.operatorMotionArgs);T&&y&&T.visualLine&&(m.visualLine=!0),this.processOperator(h,m,b),y||this.processMotion(h,m,b)},processAction:function(h,m,b){var y=m.inputState,T=y.getRepeat(),E=!!T,$=jr(b.actionArgs)||{};y.selectedCharacter&&($.selectedCharacter=y.selectedCharacter),b.operator&&this.processOperator(h,m,b),b.motion&&this.processMotion(h,m,b),(b.motion||b.operator)&&this.evalInput(h,m),$.repeat=T||1,$.repeatIsExplicit=E,$.registerName=y.registerName,Zt(h),m.lastMotion=null,b.isEdit&&this.recordLastEdit(m,y,b),Ye[b.action](h,$,m)},processSearch:function(h,m,b){if(!h.getSearchCursor)return;var y=b.searchArgs.forward,T=b.searchArgs.wholeWordOnly;Un(h).setReversed(!y);var E=y?"/":"?",$=Un(h).getQuery(),D=h.getScrollInfo();function M(ye,Ve,He){Ce.searchHistoryController.pushInput(ye),Ce.searchHistoryController.reset();try{ou(h,ye,Ve,He)}catch(je){At(h,"Invalid regex: "+ye),Zt(h);return}bo.processMotion(h,m,{type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:b.searchArgs.toJumplist}})}function F(ye){h.scrollTo(D.left,D.top),M(ye,!0,!0);var Ve=Ce.macroModeState;Ve.isRecording&&Oz(Ve,ye)}function W(ye,Ve,He){var je=t.keyName(ye),Lt,Vr;je=="Up"||je=="Down"?(Lt=je=="Up",Vr=ye.target?ye.target.selectionEnd:0,Ve=Ce.searchHistoryController.nextMatch(Ve,Lt)||"",He(Ve),Vr&&ye.target&&(ye.target.selectionEnd=ye.target.selectionStart=Math.min(Vr,ye.target.value.length))):je!="Left"&&je!="Right"&&je!="Ctrl"&&je!="Alt"&&je!="Shift"&&Ce.searchHistoryController.reset();var ir;try{ir=ou(h,Ve,!0,!0)}catch(xr){}ir?h.scrollIntoView(Ux(h,!y,ir),30):(Zg(h),h.scrollTo(D.left,D.top))}function ue(ye,Ve,He){var je=t.keyName(ye);je=="Esc"||je=="Ctrl-C"||je=="Ctrl-["||je=="Backspace"&&Ve==""?(Ce.searchHistoryController.pushInput(Ve),Ce.searchHistoryController.reset(),ou(h,$),Zg(h),h.scrollTo(D.left,D.top),t.e_stop(ye),Zt(h),He(),h.focus()):je=="Up"||je=="Down"?t.e_stop(ye):je=="Ctrl-U"&&(t.e_stop(ye),He(""))}switch(b.searchArgs.querySrc){case"prompt":var me=Ce.macroModeState;if(me.isPlaying){var Te=me.replaySearchQueries.shift();M(Te,!0,!1)}else bd(h,{onClose:F,prefix:E,desc:"(JavaScript regexp)",onKeyUp:W,onKeyDown:ue});break;case"wordUnderCursor":var ie=Fg(h,{noSymbol:!0}),ee=!0;if(ie||(ie=Fg(h,{noSymbol:!1}),ee=!1),!ie){At(h,"No word under cursor"),Zt(h);return}var Te=h.getLine(ie.start.line).substring(ie.start.ch,ie.end.ch);ee&&T?Te="\\b"+Te+"\\b":Te=ML(Te),Ce.jumpList.cachedCursor=h.getCursor(),h.setCursor(ie.start),M(Te,!0,!1);break}},processEx:function(h,m,b){function y(E){Ce.exCommandHistoryController.pushInput(E),Ce.exCommandHistoryController.reset(),gn.processCommand(h,E),h.state.vim&&Zt(h)}function T(E,$,D){var M=t.keyName(E),F,W;(M=="Esc"||M=="Ctrl-C"||M=="Ctrl-["||M=="Backspace"&&$=="")&&(Ce.exCommandHistoryController.pushInput($),Ce.exCommandHistoryController.reset(),t.e_stop(E),Zt(h),D(),h.focus()),M=="Up"||M=="Down"?(t.e_stop(E),F=M=="Up",W=E.target?E.target.selectionEnd:0,$=Ce.exCommandHistoryController.nextMatch($,F)||"",D($),W&&E.target&&(E.target.selectionEnd=E.target.selectionStart=Math.min(W,E.target.value.length))):M=="Ctrl-U"?(t.e_stop(E),D("")):M!="Left"&&M!="Right"&&M!="Ctrl"&&M!="Alt"&&M!="Shift"&&Ce.exCommandHistoryController.reset()}b.type=="keyToEx"?gn.processCommand(h,b.exArgs.input):m.visualMode?bd(h,{onClose:y,prefix:":",value:"'<,'>",onKeyDown:T,selectValueOnOpen:!1}):bd(h,{onClose:y,prefix:":",onKeyDown:T})},evalInput:function(h,m){var b=m.inputState,y=b.motion,T=b.motionArgs||{},E=b.operator,$=b.operatorArgs||{},D=b.registerName,M=m.sel,F=vt(m.visualMode?et(h,M.head):h.getCursor("head")),W=vt(m.visualMode?et(h,M.anchor):h.getCursor("anchor")),ue=vt(F),me=vt(W),ie,ee,Te;if(E&&this.recordLastEdit(m,b),b.repeatOverride!==void 0?Te=b.repeatOverride:Te=b.getRepeat(),Te>0&&T.explicitRepeat?T.repeatIsExplicit=!0:(T.noRepeat||!T.explicitRepeat&&Te===0)&&(Te=1,T.repeatIsExplicit=!1),b.selectedCharacter&&(T.selectedCharacter=$.selectedCharacter=b.selectedCharacter),T.repeat=Te,Zt(h),y){var ye=mn[y](h,F,T,m,b);if(m.lastMotion=mn[y],!ye)return;if(T.toJumplist){var Ve=Ce.jumpList,He=Ve.cachedCursor;He?(Ex(h,He,ye),delete Ve.cachedCursor):Ex(h,F,ye)}ye instanceof Array?(ee=ye[0],ie=ye[1]):ie=ye,ie||(ie=vt(F)),m.visualMode?(m.visualBlock&&ie.ch===1/0||(ie=et(h,ie,ue)),ee&&(ee=et(h,ee)),ee=ee||me,M.anchor=ee,M.head=ie,Ql(h),yo(h,m,"<",rr(ee,ie)?ee:ie),yo(h,m,">",rr(ee,ie)?ie:ee)):E||(ie=et(h,ie,ue),h.setCursor(ie.line,ie.ch))}if(E){if($.lastSel){ee=me;var je=$.lastSel,Lt=Math.abs(je.head.line-je.anchor.line),Vr=Math.abs(je.head.ch-je.anchor.ch);je.visualLine?ie=new e(me.line+Lt,me.ch):je.visualBlock?ie=new e(me.line+Lt,me.ch+Vr):je.head.line==je.anchor.line?ie=new e(me.line,me.ch+Vr):ie=new e(me.line+Lt,me.ch),m.visualMode=!0,m.visualLine=je.visualLine,m.visualBlock=je.visualBlock,M=m.sel={anchor:ee,head:ie},Ql(h)}else m.visualMode&&($.lastSel={anchor:vt(M.anchor),head:vt(M.head),visualBlock:m.visualBlock,visualLine:m.visualLine});var ir,xr,bt,wt,ii;if(m.visualMode){ir=Qi(M.head,M.anchor),xr=us(M.head,M.anchor),bt=m.visualLine||$.linewise,wt=m.visualBlock?"block":bt?"line":"char";var gr=i(h,ir,xr);if(ii=qg(h,{anchor:gr.start,head:gr.end},wt),bt){var br=ii.ranges;if(wt=="block")for(var ds=0;ds<br.length;ds++)br[ds].head.ch=Ar(h,br[ds].head.line);else wt=="line"&&(br[0].head=new e(br[0].head.line+1,0))}}else{if(ir=vt(ee||me),xr=vt(ie||ue),rr(xr,ir)){var bz=ir;ir=xr,xr=bz}bt=T.linewise||$.linewise,bt?qL(h,ir,xr):T.forward&&VL(h,ir,xr),wt="char";var yz=!T.inclusive||bt,gr=i(h,ir,xr);ii=qg(h,{anchor:gr.start,head:gr.end},wt,yz)}h.setSelections(ii.ranges,ii.primary),m.lastMotion=null,$.repeat=Te,$.registerName=D,$.linewise=bt;var Kg=be[E](h,$,ii.ranges,me,ie);m.visualMode&&Mn(h,Kg!=null),Kg&&h.setCursor(Kg)}},recordLastEdit:function(h,m,b){var y=Ce.macroModeState;y.isPlaying||(h.lastEditInputState=m,h.lastEditActionCommand=b,y.lastInsertModeChanges.changes=[],y.lastInsertModeChanges.expectCursorActivityForChange=!1,y.lastInsertModeChanges.visualBlock=h.visualBlock?h.sel.head.line-h.sel.anchor.line:0)}},mn={moveToTopLine:function(h,m,b){var y=Yg(h).top+b.repeat-1;return new e(y,Dn(h.getLine(y)))},moveToMiddleLine:function(h){var m=Yg(h),b=Math.floor((m.top+m.bottom)*.5);return new e(b,Dn(h.getLine(b)))},moveToBottomLine:function(h,m,b){var y=Yg(h).bottom-b.repeat+1;return new e(y,Dn(h.getLine(y)))},expandToLine:function(h,m,b){var y=m;return new e(y.line+b.repeat-1,1/0)},findNext:function(h,m,b){var y=Un(h),T=y.getQuery();if(T){var E=!b.forward;return E=y.isReversed()?!E:E,Dx(h,T),Ux(h,E,T,b.repeat)}},findAndSelectNextInclusive:function(h,m,b,y,T){var E=Un(h),$=E.getQuery();if($){var D=!b.forward;D=E.isReversed()?!D:D;var M=cz(h,D,$,b.repeat,y);if(M){if(T.operator)return M;var F=M[0],W=new e(M[1].line,M[1].ch-1);if(y.visualMode){(y.visualLine||y.visualBlock)&&(y.visualLine=!1,y.visualBlock=!1,t.signal(h,"vim-mode-change",{mode:"visual",subMode:""}));var ue=y.sel.anchor;if(ue)return E.isReversed()?b.forward?[ue,F]:[ue,W]:b.forward?[ue,W]:[ue,F]}else y.visualMode=!0,y.visualLine=!1,y.visualBlock=!1,t.signal(h,"vim-mode-change",{mode:"visual",subMode:""});return D?[W,F]:[F,W]}}},goToMark:function(h,m,b,y){var T=vd(h,y,b.selectedCharacter);return T?b.linewise?{line:T.line,ch:Dn(h.getLine(T.line))}:T:null},moveToOtherHighlightedEnd:function(h,m,b,y){if(y.visualBlock&&b.sameLine){var T=y.sel;return[et(h,new e(T.anchor.line,T.head.ch)),et(h,new e(T.head.line,T.anchor.ch))]}else return[y.sel.head,y.sel.anchor]},jumpToMark:function(h,m,b,y){for(var T=m,E=0;E<b.repeat;E++){var $=T;for(var D in y.marks)if(pe(D)){var M=y.marks[D].find(),F=b.forward?rr(M,$):rr($,M);if(!F&&!(b.linewise&&M.line==$.line)){var W=tr($,T),ue=b.forward?xx($,M,T):xx(T,M,$);(W||ue)&&(T=M)}}}return b.linewise&&(T=new e(T.line,Dn(h.getLine(T.line)))),T},moveByCharacters:function(h,m,b){var y=m,T=b.repeat,E=b.forward?y.ch+T:y.ch-T;return new e(y.line,E)},moveByLines:function(h,m,b,y){var T=m,E=T.ch;switch(y.lastMotion){case this.moveByLines:case this.moveByDisplayLines:case this.moveByScroll:case this.moveToColumn:case this.moveToEol:E=y.lastHPos;break;default:y.lastHPos=E}var $=b.repeat+(b.repeatOffset||0),D=b.forward?T.line+$:T.line-$,M=h.firstLine(),F=h.lastLine(),W=h.findPosV(T,b.forward?$:-$,"line",y.lastHSPos),ue=b.forward?W.line>D:W.line<D;return ue&&(D=W.line,E=W.ch),D<M&&T.line==M?this.moveToStartOfLine(h,m,b,y):D>F&&T.line==F?_x(h,m,b,y,!0):(b.toFirstChar&&(E=Dn(h.getLine(D)),y.lastHPos=E),y.lastHSPos=h.charCoords(new e(D,E),"div").left,new e(D,E))},moveByDisplayLines:function(h,m,b,y){var T=m;switch(y.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break;default:y.lastHSPos=h.charCoords(T,"div").left}var E=b.repeat,$=h.findPosV(T,b.forward?E:-E,"line",y.lastHSPos);if($.hitSide)if(b.forward)var D=h.charCoords($,"div"),M={top:D.top+8,left:y.lastHSPos},$=h.coordsChar(M,"div");else{var F=h.charCoords(new e(h.firstLine(),0),"div");F.left=y.lastHSPos,$=h.coordsChar(F,"div")}return y.lastHPos=$.ch,$},moveByPage:function(h,m,b){var y=m,T=b.repeat;return h.findPosV(y,b.forward?T:-T,"page")},moveByParagraph:function(h,m,b){var y=b.forward?1:-1;return Ax(h,m,b.repeat,y)},moveBySentence:function(h,m,b){var y=b.forward?1:-1;return KL(h,m,b.repeat,y)},moveByScroll:function(h,m,b,y){var T=h.getScrollInfo(),E=null,$=b.repeat;$||($=T.clientHeight/(2*h.defaultTextHeight()));var D=h.charCoords(m,"local");if(b.repeat=$,E=mn.moveByDisplayLines(h,m,b,y),!E)return null;var M=h.charCoords(E,"local");return h.scrollTo(null,T.top+M.top-D.top),E},moveByWords:function(h,m,b){return YL(h,m,b.repeat,!!b.forward,!!b.wordEnd,!!b.bigWord)},moveTillCharacter:function(h,m,b){var y=b.repeat,T=Wg(h,y,b.forward,b.selectedCharacter,m),E=b.forward?-1:1;return Cx(E,b),T?(T.ch+=E,T):null},moveToCharacter:function(h,m,b){var y=b.repeat;return Cx(0,b),Wg(h,y,b.forward,b.selectedCharacter,m)||m},moveToSymbol:function(h,m,b){var y=b.repeat;return ZL(h,y,b.forward,b.selectedCharacter)||m},moveToColumn:function(h,m,b,y){var T=b.repeat;return y.lastHPos=T-1,y.lastHSPos=h.charCoords(m,"div").left,HL(h,T)},moveToEol:function(h,m,b,y){return _x(h,m,b,y,!1)},moveToFirstNonWhiteSpaceCharacter:function(h,m){var b=m;return new e(b.line,Dn(h.getLine(b.line)))},moveToMatchedSymbol:function(h,m){for(var b=m,y=b.line,T=b.ch,E=h.getLine(y),$;T<E.length;T++)if($=E.charAt(T),$&&fe($)){var D=h.getTokenTypeAt(new e(y,T+1));if(D!=="string"&&D!=="comment")break}if(T<E.length){var M=T==="<"||T===">"?/[(){}[\]<>]/:/[(){}[\]]/,F=h.findMatchingBracket(new e(y,T),{bracketRegex:M});return F.to}else return b},moveToStartOfLine:function(h,m){return new e(m.line,0)},moveToLineOrEdgeOfDocument:function(h,m,b){var y=b.forward?h.lastLine():h.firstLine();return b.repeatIsExplicit&&(y=b.repeat-h.getOption("firstLineNumber")),new e(y,Dn(h.getLine(y)))},moveToStartOfDisplayLine:function(h){return h.execCommand("goLineLeft"),h.getCursor()},moveToEndOfDisplayLine:function(h){h.execCommand("goLineRight");var m=h.getCursor();return m.sticky=="before"&&m.ch--,m},textObjectManipulation:function(h,m,b,y){var T={"(":")",")":"(","{":"}","}":"{","[":"]","]":"[","<":">",">":"<"},E={"'":!0,'"':!0,"`":!0},$=b.selectedCharacter;$=="b"?$="(":$=="B"&&($="{");var D=!b.textObjectInner,M,F;if(T[$]){if(F=!0,M=$x(h,m,$,D),!M){var W=h.getSearchCursor(new RegExp("\\"+$,"g"),m);W.find()&&(M=$x(h,W.from(),$,D))}}else if(E[$])F=!0,M=JL(h,m,$,D);else if($==="W"||$==="w")for(var ue=b.repeat||1;ue-- >0;){var me=Fg(h,{inclusive:D,innerWord:!D,bigWord:$==="W",noSymbol:$==="W",multiline:!0},M&&M.end);me&&(M||(M=me),M.end=me.end)}else if($==="p")if(M=Ax(h,m,b.repeat,0,D),b.linewise=!0,y.visualMode)y.visualLine||(y.visualLine=!0);else{var ie=y.inputState.operatorArgs;ie&&(ie.linewise=!0),M.end.line--}else if($==="t")M=FL(h,m,D);else if($==="s"){var ee=h.getLine(m.line);m.ch>0&&se(ee[m.ch])&&(m.ch-=1);var Te=Rx(h,m,b.repeat,1,D),ye=Rx(h,m,b.repeat,-1,D);Qe(h.getLine(ye.line)[ye.ch])&&Qe(h.getLine(Te.line)[Te.ch-1])&&(ye={line:ye.line,ch:ye.ch+1}),M={start:ye,end:Te}}return M?h.state.vim.visualMode?jL(h,M.start,M.end,F):[M.start,M.end]:null},repeatLastCharacterSearch:function(h,m,b){var y=Ce.lastCharacterSearch,T=b.repeat,E=b.forward===y.forward,$=(y.increment?1:0)*(E?-1:1);h.moveH(-$,"char"),b.inclusive=!!E;var D=Wg(h,T,E,y.selectedCharacter);return D?(D.ch+=$,D):(h.moveH($,"char"),m)}};function Bg(h,m){mn[h]=m}function gd(h,m){for(var b=[],y=0;y<m;y++)b.push(h);return b}var be={change:function(h,m,b){var y,T,E=h.state.vim,$=b[0].anchor,D=b[0].head;if(E.visualMode)if(m.fullLine)D.ch=Number.MAX_VALUE,D.line--,h.setSelection($,D),T=h.getSelection(),h.replaceSelection(""),y=$;else{T=h.getSelection();var W=gd("",b.length);h.replaceSelections(W),y=Qi(b[0].head,b[0].anchor)}else{T=h.getRange($,D);var M=E.lastEditInputState||{};if(M.motion=="moveByWords"&&!Qe(T)){var F=/\s+$/.exec(T);F&&M.motionArgs&&M.motionArgs.forward&&(D=It(D,0,-F[0].length),T=T.slice(0,-F[0].length))}m.linewise&&($=new e($.line,Dn(h.getLine($.line))),D.line>$.line&&(D=new e(D.line-1,Number.MAX_VALUE))),h.replaceRange("",$,D),y=$}Ce.registerController.pushText(m.registerName,"change",T,m.linewise,b.length>1),Ye.enterInsertMode(h,{head:y},h.state.vim)},delete:function(h,m,b){var y,T,E=h.state.vim;if(E.visualBlock){T=h.getSelection();var M=gd("",b.length);h.replaceSelections(M),y=Qi(b[0].head,b[0].anchor)}else{var $=b[0].anchor,D=b[0].head;m.linewise&&D.line!=h.firstLine()&&$.line==h.lastLine()&&$.line==D.line-1&&($.line==h.firstLine()?$.ch=0:$=new e($.line-1,Ar(h,$.line-1))),T=h.getRange($,D),h.replaceRange("",$,D),y=$,m.linewise&&(y=mn.moveToFirstNonWhiteSpaceCharacter(h,$))}return Ce.registerController.pushText(m.registerName,"delete",T,m.linewise,E.visualBlock),et(h,y)},indent:function(h,m,b){var y=h.state.vim;if(h.indentMore)for(var T=y.visualMode?m.repeat:1,E=0;E<T;E++)m.indentRight?h.indentMore():h.indentLess();else{var $=b[0].anchor.line,D=y.visualBlock?b[b.length-1].anchor.line:b[0].head.line,T=y.visualMode?m.repeat:1;m.linewise&&D--;for(var M=$;M<=D;M++)for(var E=0;E<T;E++)h.indentLine(M,m.indentRight)}return mn.moveToFirstNonWhiteSpaceCharacter(h,b[0].anchor)},indentAuto:function(h,m,b){return h.execCommand("indentAuto"),mn.moveToFirstNonWhiteSpaceCharacter(h,b[0].anchor)},hardWrap:function(h,m,b,y,T){if(h.hardWrap){var E=b[0].anchor.line,$=b[0].head.line;m.linewise&&$--;var D=h.hardWrap({from:E,to:$});return D>E&&m.linewise&&D--,m.keepCursor?y:new e(D,0)}},changeCase:function(h,m,b,y,T){for(var E=h.getSelections(),$=[],D=m.toLower,M=0;M<E.length;M++){var F=E[M],W="";if(D===!0)W=F.toLowerCase();else if(D===!1)W=F.toUpperCase();else for(var ue=0;ue<F.length;ue++){var me=F.charAt(ue);W+=ve(me)?me.toLowerCase():me.toUpperCase()}$.push(W)}return h.replaceSelections($),m.shouldMoveCursor?T:!h.state.vim.visualMode&&m.linewise&&b[0].anchor.line+1==b[0].head.line?mn.moveToFirstNonWhiteSpaceCharacter(h,y):m.linewise?y:Qi(b[0].anchor,b[0].head)},yank:function(h,m,b,y){var T=h.state.vim,E=h.getSelection(),$=T.visualMode?Qi(T.sel.anchor,T.sel.head,b[0].head,b[0].anchor):y;return Ce.registerController.pushText(m.registerName,"yank",E,m.linewise,T.visualBlock),$}};function $e(h,m){be[h]=m}var Ye={jumpListWalk:function(h,m,b){if(!b.visualMode){var y=m.repeat,T=m.forward,E=Ce.jumpList,$=E.move(h,T?y:-y),D=$?$.find():void 0;D=D||h.getCursor(),h.setCursor(D)}},scroll:function(h,m,b){if(!b.visualMode){var y=m.repeat||1,T=h.defaultTextHeight(),E=h.getScrollInfo().top,$=T*y,D=m.forward?E+$:E-$,M=vt(h.getCursor()),F=h.charCoords(M,"local");if(m.forward)D>F.top?(M.line+=(D-F.top)/T,M.line=Math.ceil(M.line),h.setCursor(M),F=h.charCoords(M,"local"),h.scrollTo(null,F.top)):h.scrollTo(null,D);else{var W=D+h.getScrollInfo().clientHeight;W<F.bottom?(M.line-=(F.bottom-W)/T,M.line=Math.floor(M.line),h.setCursor(M),F=h.charCoords(M,"local"),h.scrollTo(null,F.bottom-h.getScrollInfo().clientHeight)):h.scrollTo(null,D)}}},scrollToCursor:function(h,m){var b=h.getCursor().line,y=h.charCoords(new e(b,0),"local"),T=h.getScrollInfo().clientHeight,E=y.top;switch(m.position){case"center":E=y.bottom-T/2;break;case"bottom":var $=new e(b,h.getLine(b).length-1),D=h.charCoords($,"local"),M=D.bottom-E;E=E-T+M;break}h.scrollTo(null,E)},replayMacro:function(h,m,b){var y=m.selectedCharacter,T=m.repeat,E=Ce.macroModeState;for(y=="@"?y=E.latestRegister:E.latestRegister=y;T--;)dz(h,b,E,y)},enterMacroRecordMode:function(h,m){var b=Ce.macroModeState,y=m.selectedCharacter;Ce.registerController.isValidRegister(y)&&b.enterMacroRecordMode(h,y)},toggleOverwrite:function(h){h.state.overwrite?(h.toggleOverwrite(!1),h.setOption("keyMap","vim-insert"),t.signal(h,"vim-mode-change",{mode:"insert"})):(h.toggleOverwrite(!0),h.setOption("keyMap","vim-replace"),t.signal(h,"vim-mode-change",{mode:"replace"}))},enterInsertMode:function(h,m,b){if(!h.getOption("readOnly")){b.insertMode=!0,b.insertModeRepeat=m&&m.repeat||1;var y=m?m.insertAt:null,T=b.sel,E=m.head||h.getCursor("head"),$=h.listSelections().length;if(y=="eol")E=new e(E.line,Ar(h,E.line));else if(y=="bol")E=new e(E.line,0);else if(y=="charAfter"){var D=i(h,E,It(E,0,1));E=D.end}else if(y=="firstNonBlank"){var D=i(h,E,mn.moveToFirstNonWhiteSpaceCharacter(h,E));E=D.end}else if(y=="startOfSelectedArea"){if(!b.visualMode)return;b.visualBlock?(E=new e(Math.min(T.head.line,T.anchor.line),Math.min(T.head.ch,T.anchor.ch)),$=Math.abs(T.head.line-T.anchor.line)+1):T.head.line<T.anchor.line?E=T.head:E=new e(T.anchor.line,0)}else if(y=="endOfSelectedArea"){if(!b.visualMode)return;b.visualBlock?(E=new e(Math.min(T.head.line,T.anchor.line),Math.max(T.head.ch,T.anchor.ch)+1),$=Math.abs(T.head.line-T.anchor.line)+1):T.head.line>=T.anchor.line?E=It(T.head,0,1):E=new e(T.anchor.line,0)}else if(y=="inplace"){if(b.visualMode)return}else y=="lastEdit"&&(E=Nx(h)||E);h.setOption("disableInput",!1),m&&m.replace?(h.toggleOverwrite(!0),h.setOption("keyMap","vim-replace"),t.signal(h,"vim-mode-change",{mode:"replace"})):(h.toggleOverwrite(!1),h.setOption("keyMap","vim-insert"),t.signal(h,"vim-mode-change",{mode:"insert"})),Ce.macroModeState.isPlaying||(h.on("change",qx),b.insertEnd&&b.insertEnd.clear(),b.insertEnd=h.setBookmark(E,{insertLeft:!0}),t.on(h.getInputField(),"keydown",Zx)),b.visualMode&&Mn(h),Sx(h,E,$)}},toggleVisualMode:function(h,m,b){var y=m.repeat,T=h.getCursor(),E;if(b.visualMode)b.visualLine^m.linewise||b.visualBlock^m.blockwise?(b.visualLine=!!m.linewise,b.visualBlock=!!m.blockwise,t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""}),Ql(h)):Mn(h);else{b.visualMode=!0,b.visualLine=!!m.linewise,b.visualBlock=!!m.blockwise,E=et(h,new e(T.line,T.ch+y-1));var $=i(h,T,E);b.sel={anchor:$.start,head:$.end},t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""}),Ql(h),yo(h,b,"<",Qi(T,E)),yo(h,b,">",us(T,E))}},reselectLastSelection:function(h,m,b){var y=b.lastSelection;if(b.visualMode&&Tx(h,b),y){var T=y.anchorMark.find(),E=y.headMark.find();if(!T||!E)return;b.sel={anchor:T,head:E},b.visualMode=!0,b.visualLine=y.visualLine,b.visualBlock=y.visualBlock,Ql(h),yo(h,b,"<",Qi(T,E)),yo(h,b,">",us(T,E)),t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""})}},joinLines:function(h,m,b){var y,T;if(b.visualMode){if(y=h.getCursor("anchor"),T=h.getCursor("head"),rr(T,y)){var E=T;T=y,y=E}T.ch=Ar(h,T.line)-1}else{var $=Math.max(m.repeat,2);y=h.getCursor(),T=et(h,new e(y.line+$-1,1/0))}for(var D=0,M=y.line;M<T.line;M++){D=Ar(h,y.line);var F="",W=0;if(!m.keepSpaces){var ue=h.getLine(y.line+1);W=ue.search(/\S/),W==-1?W=ue.length:F=" "}h.replaceRange(F,new e(y.line,D),new e(y.line+1,W))}var me=et(h,new e(y.line,D));b.visualMode&&Mn(h,!1),h.setCursor(me)},newLineAndEnterInsertMode:function(h,m,b){b.insertMode=!0;var y=vt(h.getCursor());if(y.line===h.firstLine()&&!m.after)h.replaceRange(`
`,new e(h.firstLine(),0)),h.setCursor(h.firstLine(),0);else{y.line=m.after?y.line:y.line-1,y.ch=Ar(h,y.line),h.setCursor(y);var T=t.commands.newlineAndIndentContinueComment||t.commands.newlineAndIndent;T(h)}this.enterInsertMode(h,{repeat:m.repeat},b)},paste:function(h,m,b){var y=Ce.registerController.getRegister(m.registerName);if(m.registerName==="+")navigator.clipboard.readText().then(E=>{this.continuePaste(h,m,b,E,y)});else{var T=y.toString();this.continuePaste(h,m,b,T,y)}},continuePaste:function(h,m,b,y,T){var E=vt(h.getCursor());if(y){if(m.matchIndent){var $=h.getOption("tabSize"),D=function(gr){var br=gr.split(" ").length-1,ds=gr.split(" ").length-1;return br*$+ds*1},M=h.getLine(h.getCursor().line),F=D(M.match(/^\s*/)[0]),W=y.replace(/\n$/,""),ue=y!==W,me=D(y.match(/^\s*/)[0]),y=W.replace(/^\s*/gm,function(gr){var br=F+(D(gr)-me);if(br<0)return"";if(h.getOption("indentWithTabs")){var ds=Math.floor(br/$);return Array(ds+1).join(" ")}else return Array(br+1).join(" ")});y+=ue?`
`:""}if(m.repeat>1)var y=Array(m.repeat+1).join(y);var ie=T.linewise,ee=T.blockwise;if(ee){y=y.split(`
`),ie&&y.pop();for(var Te=0;Te<y.length;Te++)y[Te]=y[Te]==""?" ":y[Te];E.ch+=m.after?1:0,E.ch=Math.min(Ar(h,E.line),E.ch)}else ie?b.visualMode?y=b.visualLine?y.slice(0,-1):`
`+y.slice(0,y.length-1)+`
`:m.after?(y=`
`+y.slice(0,y.length-1),E.ch=Ar(h,E.line)):E.ch=0:E.ch+=m.after?1:0;var ye;if(b.visualMode){b.lastPastedText=y;var Ve,He=NL(h,b),je=He[0],Lt=He[1],Vr=h.getSelection(),ir=h.listSelections(),xr=new Array(ir.length).join("1").split("1");b.lastSelection&&(Ve=b.lastSelection.headMark.find()),Ce.registerController.unnamedRegister.setText(Vr),ee?(h.replaceSelections(xr),Lt=new e(je.line+y.length-1,je.ch),h.setCursor(je),kx(h,Lt),h.replaceSelections(y),ye=je):b.visualBlock?(h.replaceSelections(xr),h.setCursor(je),h.replaceRange(y,je,je),ye=je):(h.replaceRange(y,je,Lt),ye=h.posFromIndex(h.indexFromPos(je)+y.length-1)),Ve&&(b.lastSelection.headMark=h.setBookmark(Ve)),ie&&(ye.ch=0)}else if(ee){h.setCursor(E);for(var Te=0;Te<y.length;Te++){var bt=E.line+Te;bt>h.lastLine()&&h.replaceRange(`
`,new e(bt,0));var wt=Ar(h,bt);wt<E.ch&&DL(h,bt,E.ch)}h.setCursor(E),kx(h,new e(E.line+y.length-1,E.ch)),h.replaceSelections(y),ye=E}else if(h.replaceRange(y,E),ie){var bt=m.after?E.line+1:E.line;ye=new e(bt,Dn(h.getLine(bt)))}else ye=vt(E),/\n/.test(y)||(ye.ch+=y.length-(m.after?1:0));b.visualMode&&Mn(h,!1),h.setCursor(ye)}},undo:function(h,m){h.operation(function(){Br(h,t.commands.undo,m.repeat)(),h.setCursor(et(h,h.getCursor("start")))})},redo:function(h,m){Br(h,t.commands.redo,m.repeat)()},setRegister:function(h,m,b){b.inputState.registerName=m.selectedCharacter},insertRegister:function(h,m,b){var y=m.selectedCharacter,T=Ce.registerController.getRegister(y),E=T&&T.toString();E&&h.replaceSelection(E)},oneNormalCommand:function(h,m,b){hs(h,!0),b.insertModeReturn=!0,t.on(h,"vim-command-done",function y(){b.visualMode||(b.insertModeReturn&&(b.insertModeReturn=!1,b.insertMode||Ye.enterInsertMode(h,{},b)),t.off(h,"vim-command-done",y))})},setMark:function(h,m,b){var y=m.selectedCharacter;yo(h,b,y,h.getCursor())},replace:function(h,m,b){var y=m.selectedCharacter,T=h.getCursor(),E,$,D=h.listSelections();if(b.visualMode)T=h.getCursor("start"),$=h.getCursor("end");else{var M=h.getLine(T.line);E=T.ch+m.repeat,E>M.length&&(E=M.length),$=new e(T.line,E)}var F=i(h,T,$);if(T=F.start,$=F.end,y==`
`)b.visualMode||h.replaceRange("",T,$),(t.commands.newlineAndIndentContinueComment||t.commands.newlineAndIndent)(h);else{var W=h.getRange(T,$);if(W=W.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y),W=W.replace(/[^\n]/g,y),b.visualBlock){var ue=new Array(h.getOption("tabSize")+1).join(" ");W=h.getSelection(),W=W.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y),W=W.replace(/\t/g,ue).replace(/[^\n]/g,y).split(`
`),h.replaceSelections(W)}else h.replaceRange(W,T,$);b.visualMode?(T=rr(D[0].anchor,D[0].head)?D[0].anchor:D[0].head,h.setCursor(T),Mn(h,!1)):h.setCursor(It($,0,-1))}},incrementNumberToken:function(h,m){for(var b=h.getCursor(),y=h.getLine(b.line),T=/(-?)(?:(0x)([\da-f]+)|(0b|0|)(\d+))/gi,E,$,D,M;(E=T.exec(y))!==null&&($=E.index,D=$+E[0].length,!(b.ch<D)););if(!(!m.backtrack&&D<=b.ch)){if(E){var F=E[2]||E[4],W=E[3]||E[5],ue=m.increase?1:-1,me={"0b":2,0:8,"":10,"0x":16}[F.toLowerCase()],ie=parseInt(E[1]+W,me)+ue*m.repeat;M=ie.toString(me);var ee=F?new Array(W.length-M.length+1+E[1].length).join("0"):"";M.charAt(0)==="-"?M="-"+F+ee+M.substr(1):M=F+ee+M;var Te=new e(b.line,$),ye=new e(b.line,D);h.replaceRange(M,Te,ye)}else return;h.setCursor(new e(b.line,$+M.length-1))}},repeatLastEdit:function(h,m,b){var y=b.lastEditInputState;if(y){var T=m.repeat;T&&m.repeatIsExplicit?b.lastEditInputState.repeatOverride=T:T=b.lastEditInputState.repeatOverride||T,Yx(h,b,T,!1)}},indent:function(h,m){h.indentLine(h.getCursor().line,m.indentRight)},exitInsertMode:hs};function ft(h,m){Ye[h]=m}function et(h,m,b){var y=h.state.vim,T=y.insertMode||y.visualMode,E=Math.min(Math.max(h.firstLine(),m.line),h.lastLine()),$=h.getLine(E),D=$.length-1+ +!!T,M=Math.min(Math.max(0,m.ch),D),F=$.charCodeAt(M);if(56320<=F&&F<=57343){var W=1;b&&b.line==E&&b.ch>M&&(W=-1),M+=W,M>D&&(M-=2)}return new e(E,M)}function jr(h){var m={};for(var b in h)h.hasOwnProperty(b)&&(m[b]=h[b]);return m}function It(h,m,b){return typeof m=="object"&&(b=m.ch,m=m.line),new e(h.line+m,h.ch+b)}function On(h,m,b,y){y.operator&&(b="operatorPending");for(var T,E=[],$=[],D=Qr?m.length-o:0,M=D;M<m.length;M++){var F=m[M];b=="insert"&&F.context!="insert"||F.context&&F.context!=b||y.operator&&F.type=="action"||!(T=ya(h,F.keys))||(T=="partial"&&E.push(F),T=="full"&&$.push(F))}return{partial:E.length&&E,full:$.length&&$}}function ya(h,m){if(m.slice(-11)=="<character>"){var b=m.length-11,y=h.slice(0,b),T=m.slice(0,b);return y==T&&h.length>b?"full":T.indexOf(y)==0?"partial":!1}else return h==m?"full":m.indexOf(h)==0?"partial":!1}function va(h){var m=/^.*(<[^>]+>)$/.exec(h),b=m?m[1]:h.slice(-1);if(b.length>1)switch(b){case"<CR>":b=`
`;break;case"<Space>":b=" ";break;default:b="";break}return b}function Br(h,m,b){return function(){for(var y=0;y<b;y++)m(h)}}function vt(h){return new e(h.line,h.ch)}function tr(h,m){return h.ch==m.ch&&h.line==m.line}function rr(h,m){return h.line<m.line||h.line==m.line&&h.ch<m.ch}function Qi(h,m){return arguments.length>2&&(m=Qi.apply(void 0,Array.prototype.slice.call(arguments,1))),rr(h,m)?h:m}function us(h,m){return arguments.length>2&&(m=us.apply(void 0,Array.prototype.slice.call(arguments,1))),rr(h,m)?m:h}function xx(h,m,b){var y=rr(h,m),T=rr(m,b);return y&&T}function Ar(h,m){return h.getLine(m).length}function Vg(h){return h.trim?h.trim():h.replace(/^\s+|\s+$/g,"")}function ML(h){return h.replace(/([.?*+$\[\]\/\\(){}|\-])/g,"\\$1")}function DL(h,m,b){var y=Ar(h,m),T=new Array(b-y+1).join(" ");h.setCursor(new e(m,y)),h.replaceRange(T,h.getCursor())}function kx(h,m){var b=[],y=h.listSelections(),T=vt(h.clipPos(m)),E=!tr(m,T),$=h.getCursor("head"),D=UL(y,$),M=tr(y[D].head,y[D].anchor),F=y.length-1,W=F-D>D?F:0,ue=y[W].anchor,me=Math.min(ue.line,T.line),ie=Math.max(ue.line,T.line),ee=ue.ch,Te=T.ch,ye=y[W].head.ch-ee,Ve=Te-ee;ye>0&&Ve<=0?(ee++,E||Te--):ye<0&&Ve>=0?(ee--,M||Te++):ye<0&&Ve==-1&&(ee--,Te++);for(var He=me;He<=ie;He++){var je={anchor:new e(He,ee),head:new e(He,Te)};b.push(je)}return h.setSelections(b),m.ch=Te,ue.ch=ee,ue}function Sx(h,m,b){for(var y=[],T=0;T<b;T++){var E=It(m,T,0);y.push({anchor:E,head:E})}h.setSelections(y,0)}function UL(h,m,b){for(var y=0;y<h.length;y++){var T=b!="head"&&tr(h[y].anchor,m),E=b!="anchor"&&tr(h[y].head,m);if(T||E)return y}return-1}function NL(h,m){var b=m.lastSelection,y=function(){var E=h.listSelections(),$=E[0],D=E[E.length-1],M=rr($.anchor,$.head)?$.anchor:$.head,F=rr(D.anchor,D.head)?D.head:D.anchor;return[M,F]},T=function(){var E=h.getCursor(),$=h.getCursor(),D=b.visualBlock;if(D){var M=D.width,F=D.height;$=new e(E.line+F,E.ch+M);for(var W=[],ue=E.line;ue<$.line;ue++){var me=new e(ue,E.ch),ie=new e(ue,$.ch),ee={anchor:me,head:ie};W.push(ee)}h.setSelections(W)}else{var Te=b.anchorMark.find(),ye=b.headMark.find(),Ve=ye.line-Te.line,He=ye.ch-Te.ch;$={line:$.line+Ve,ch:Ve?$.ch:He+$.ch},b.visualLine&&(E=new e(E.line,0),$=new e($.line,Ar(h,$.line))),h.setSelection(E,$)}return[E,$]};return m.visualMode?y():T()}function Tx(h,m){var b=m.sel.anchor,y=m.sel.head;m.lastPastedText&&(y=h.posFromIndex(h.indexFromPos(b)+m.lastPastedText.length),m.lastPastedText=null),m.lastSelection={anchorMark:h.setBookmark(b),headMark:h.setBookmark(y),anchor:vt(b),head:vt(y),visualMode:m.visualMode,visualLine:m.visualLine,visualBlock:m.visualBlock}}function jL(h,m,b,y){var T=h.state.vim.sel,E=y?m:T.head,$=y?m:T.anchor,D;return rr(b,m)&&(D=b,b=m,m=D),rr(E,$)?(E=Qi(m,E),$=us($,b)):($=Qi(m,$),E=us(E,b),E=It(E,0,-1),E.ch==-1&&E.line!=h.firstLine()&&(E=new e(E.line-1,Ar(h,E.line-1)))),[$,E]}function Ql(h,m,T){var y=h.state.vim;m=m||y.sel;var T=T||y.visualLine?"line":y.visualBlock?"block":"char",E=qg(h,m,T);h.setSelections(E.ranges,E.primary)}function qg(h,m,b,y){var T=vt(m.head),E=vt(m.anchor);if(b=="char"){var $=!y&&!rr(m.head,m.anchor)?1:0,D=rr(m.head,m.anchor)?1:0;return T=It(m.head,0,$),E=It(m.anchor,0,D),{ranges:[{anchor:E,head:T}],primary:0}}else if(b=="line"){if(rr(m.head,m.anchor))T.ch=0,E.ch=Ar(h,E.line);else{E.ch=0;var M=h.lastLine();T.line>M&&(T.line=M),T.ch=Ar(h,T.line)}return{ranges:[{anchor:E,head:T}],primary:0}}else if(b=="block"){var F=Math.min(E.line,T.line),W=E.ch,ue=Math.max(E.line,T.line),me=T.ch;W<me?me+=1:W+=1;for(var ie=ue-F+1,ee=T.line==F?0:ie-1,Te=[],ye=0;ye<ie;ye++)Te.push({anchor:new e(F+ye,W),head:new e(F+ye,me)});return{ranges:Te,primary:ee}}}function BL(h){var m=h.getCursor("head");return h.getSelection().length==1&&(m=Qi(m,h.getCursor("anchor"))),m}function Mn(h,m){var b=h.state.vim;m!==!1&&h.setCursor(et(h,b.sel.head)),Tx(h,b),b.visualMode=!1,b.visualLine=!1,b.visualBlock=!1,b.insertMode||t.signal(h,"vim-mode-change",{mode:"normal"})}function VL(h,m,b){var y=h.getRange(m,b);if(/\n\s*$/.test(y)){var T=y.split(`
`);T.pop();for(var E,E=T.pop();T.length>0&&E&&Qe(E);E=T.pop())b.line--,b.ch=0;E?(b.line--,b.ch=Ar(h,b.line)):b.ch=0}}function qL(h,m,b){m.ch=0,b.ch=0,b.line++}function Dn(h){if(!h)return 0;var m=h.search(/\S/);return m==-1?h.length:m}function Fg(h,{inclusive:m,innerWord:b,bigWord:y,noSymbol:T,multiline:E},$){var D=$||BL(h),M=h.getLine(D.line),F=M,W=D.line,ue=W,me=D.ch,ie,ee=T?C[0]:R[0];if(b&&/\s/.test(M.charAt(me)))ee=function(Lt){return/\s/.test(Lt)};else{for(;!ee(M.charAt(me));)if(me++,me>=M.length){if(!E)return null;me--,ie=Qx(h,D,!0,y,!0);break}y?ee=R[0]:(ee=C[0],ee(M.charAt(me))||(ee=C[1]))}for(var Te=me,ye=me;ee(M.charAt(ye))&&ye>=0;)ye--;if(ye++,ie)Te=ie.to,ue=ie.line,F=h.getLine(ue),!F&&Te==0&&Te++;else for(;ee(M.charAt(Te))&&Te<M.length;)Te++;if(m){var Ve=Te,He=D.ch<=ye&&/\s/.test(M.charAt(D.ch));if(!He)for(;/\s/.test(F.charAt(Te))&&Te<F.length;)Te++;if(Ve==Te||He){for(var je=ye;/\s/.test(M.charAt(ye-1))&&ye>0;)ye--;!ye&&!He&&(ye=je)}}return{start:new e(W,ye),end:new e(ue,Te)}}function FL(h,m,b){var y=m;if(!t.findMatchingTag||!t.findEnclosingTag)return{start:y,end:y};var T=t.findMatchingTag(h,m)||t.findEnclosingTag(h,m);return!T||!T.open||!T.close?{start:y,end:y}:b?{start:T.open.from,end:T.close.to}:{start:T.open.to,end:T.close.from}}function Ex(h,m,b){tr(m,b)||Ce.jumpList.add(h,m,b)}function Cx(h,m){Ce.lastCharacterSearch.increment=h,Ce.lastCharacterSearch.forward=m.forward,Ce.lastCharacterSearch.selectedCharacter=m.selectedCharacter}var WL={"(":"bracket",")":"bracket","{":"bracket","}":"bracket","[":"section","]":"section","*":"comment","/":"comment",m:"method",M:"method","#":"preprocess"},Px={bracket:{isComplete:function(h){if(h.nextCh===h.symb){if(h.depth++,h.depth>=1)return!0}else h.nextCh===h.reverseSymb&&h.depth--;return!1}},section:{init:function(h){h.curMoveThrough=!0,h.symb=(h.forward?"]":"[")===h.symb?"{":"}"},isComplete:function(h){return h.index===0&&h.nextCh===h.symb}},comment:{isComplete:function(h){var m=h.lastCh==="*"&&h.nextCh==="/";return h.lastCh=h.nextCh,m}},method:{init:function(h){h.symb=h.symb==="m"?"{":"}",h.reverseSymb=h.symb==="{"?"}":"{"},isComplete:function(h){return h.nextCh===h.symb}},preprocess:{init:function(h){h.index=0},isComplete:function(h){if(h.nextCh==="#"){var m=h.lineText.match(/^#(\w+)/)[1];if(m==="endif"){if(h.forward&&h.depth===0)return!0;h.depth++}else if(m==="if"){if(!h.forward&&h.depth===0)return!0;h.depth--}if(m==="else"&&h.depth===0)return!0}return!1}}};function ZL(h,m,b,y){var T=vt(h.getCursor()),E=b?1:-1,$=b?h.lineCount():-1,D=T.ch,M=T.line,F=h.getLine(M),W={lineText:F,nextCh:F.charAt(D),lastCh:null,index:D,symb:y,reverseSymb:(b?{")":"(","}":"{"}:{"(":")","{":"}"})[y],forward:b,depth:0,curMoveThrough:!1},ue=WL[y];if(!ue)return T;var me=Px[ue].init,ie=Px[ue].isComplete;for(me&&me(W);M!==$&&m;){if(W.index+=E,W.nextCh=W.lineText.charAt(W.index),!W.nextCh){if(M+=E,W.lineText=h.getLine(M)||"",E>0)W.index=0;else{var ee=W.lineText.length;W.index=ee>0?ee-1:0}W.nextCh=W.lineText.charAt(W.index)}ie(W)&&(T.line=M,T.ch=W.index,m--)}return W.nextCh||W.curMoveThrough?new e(M,W.index):T}function Qx(h,m,b,y,T){var E=m.line,$=m.ch,D=h.getLine(E),M=b?1:-1,F=y?R:C;if(T&&D==""){if(E+=M,D=h.getLine(E),!oe(h,E))return null;$=b?0:D.length}for(;;){if(T&&D=="")return{from:0,to:0,line:E};for(var W=M>0?D.length:-1,ue=W,me=W;$!=W;){for(var ie=!1,ee=0;ee<F.length&&!ie;++ee)if(F[ee](D.charAt($))){for(ue=$;$!=W&&F[ee](D.charAt($));)$+=M;if(me=$,ie=ue!=me,ue==m.ch&&E==m.line&&me==ue+M)continue;return{from:Math.min(ue,me+1),to:Math.max(ue,me),line:E}}ie||($+=M)}if(E+=M,!oe(h,E))return null;D=h.getLine(E),$=M>0?0:D.length}}function YL(h,m,b,y,T,E){var $=vt(m),D=[];(y&&!T||!y&&T)&&b++;for(var M=!(y&&T),F=0;F<b;F++){var W=Qx(h,m,y,E,M);if(!W){var ue=Ar(h,h.lastLine());D.push(y?{line:h.lastLine(),from:ue,to:ue}:{line:0,from:0,to:0});break}D.push(W),m=new e(W.line,y?W.to-1:W.from)}var me=D.length!=b,ie=D[0],ee=D.pop();return y&&!T?(!me&&(ie.from!=$.ch||ie.line!=$.line)&&(ee=D.pop()),new e(ee.line,ee.from)):y&&T?new e(ee.line,ee.to-1):!y&&T?(!me&&(ie.to!=$.ch||ie.line!=$.line)&&(ee=D.pop()),new e(ee.line,ee.to)):new e(ee.line,ee.from)}function _x(h,m,b,y,T){var E=m,$=new e(E.line+b.repeat-1,1/0),D=h.clipPos($);return D.ch--,T||(y.lastHPos=1/0,y.lastHSPos=h.charCoords(D,"div").left),$}function Wg(h,m,b,y,T){for(var E=T||h.getCursor(),$=E.ch,D,M=0;M<m;M++){var F=h.getLine(E.line);if(D=GL($,F,y,b,!0),D==-1)return null;$=D}return new e(h.getCursor().line,D)}function HL(h,m){var b=h.getCursor().line;return et(h,new e(b,m-1))}function yo(h,m,b,y){he(b,re)&&(m.marks[b]&&m.marks[b].clear(),m.marks[b]=h.setBookmark(y))}function GL(h,m,b,y,T){var E;return y?(E=m.indexOf(b,h+1),E!=-1&&!T&&(E-=1)):(E=m.lastIndexOf(b,h-1),E!=-1&&!T&&(E+=1)),E}function Ax(h,m,b,y,T){var E=m.line,$=h.firstLine(),D=h.lastLine(),M,F,W=E;function ue(ye){return!h.getLine(ye)}function me(ye,Ve,He){return He?ue(ye)!=ue(ye+Ve):!ue(ye)&&ue(ye+Ve)}if(y){for(;$<=W&&W<=D&&b>0;)me(W,y)&&b--,W+=y;return new e(W,0)}var ie=h.state.vim;if(ie.visualLine&&me(E,1,!0)){var ee=ie.sel.anchor;me(ee.line,-1,!0)&&(!T||ee.line!=E)&&(E+=1)}var Te=ue(E);for(W=E;W<=D&&b;W++)me(W,1,!0)&&(!T||ue(W)!=Te)&&b--;for(F=new e(W,0),W>D&&!Te?Te=!0:T=!1,W=E;W>$&&!((!T||ue(W)==Te||W==E)&&me(W,-1,!0));W--);return M=new e(W,0),{start:M,end:F}}function Rx(h,m,b,y,T){function E(F){F.pos+F.dir<0||F.pos+F.dir>=F.line.length?F.line=null:F.pos+=F.dir}function $(F,W,ue,me){var ie=F.getLine(W),ee={line:ie,ln:W,pos:ue,dir:me};if(ee.line==="")return{ln:ee.ln,pos:ee.pos};var Te=ee.pos;for(E(ee);ee.line!==null;){if(Te=ee.pos,se(ee.line[ee.pos]))if(T){for(E(ee);ee.line!==null&&Qe(ee.line[ee.pos]);)Te=ee.pos,E(ee);return{ln:ee.ln,pos:Te+1}}else return{ln:ee.ln,pos:ee.pos+1};E(ee)}return{ln:ee.ln,pos:Te+1}}function D(F,W,ue,me){var ie=F.getLine(W),ee={line:ie,ln:W,pos:ue,dir:me};if(ee.line==="")return{ln:ee.ln,pos:ee.pos};var Te=ee.pos;for(E(ee);ee.line!==null;){if(!Qe(ee.line[ee.pos])&&!se(ee.line[ee.pos]))Te=ee.pos;else if(se(ee.line[ee.pos]))return T?Qe(ee.line[ee.pos+1])?{ln:ee.ln,pos:ee.pos+1}:{ln:ee.ln,pos:Te}:{ln:ee.ln,pos:Te};E(ee)}return ee.line=ie,T&&Qe(ee.line[ee.pos])?{ln:ee.ln,pos:ee.pos}:{ln:ee.ln,pos:Te}}for(var M={ln:m.line,pos:m.ch};b>0;)y<0?M=D(h,M.ln,M.pos,y):M=$(h,M.ln,M.pos,y),b--;return new e(M.ln,M.pos)}function KL(h,m,b,y){function T(M,F){if(F.pos+F.dir<0||F.pos+F.dir>=F.line.length){if(F.ln+=F.dir,!oe(M,F.ln)){F.line=null,F.ln=null,F.pos=null;return}F.line=M.getLine(F.ln),F.pos=F.dir>0?0:F.line.length-1}else F.pos+=F.dir}function E(M,F,W,ue){var ye=M.getLine(F),me=ye==="",ie={line:ye,ln:F,pos:W,dir:ue},ee={ln:ie.ln,pos:ie.pos},Te=ie.line==="";for(T(M,ie);ie.line!==null;){if(ee.ln=ie.ln,ee.pos=ie.pos,ie.line===""&&!Te)return{ln:ie.ln,pos:ie.pos};if(me&&ie.line!==""&&!Qe(ie.line[ie.pos]))return{ln:ie.ln,pos:ie.pos};se(ie.line[ie.pos])&&!me&&(ie.pos===ie.line.length-1||Qe(ie.line[ie.pos+1]))&&(me=!0),T(M,ie)}var ye=M.getLine(ee.ln);ee.pos=0;for(var Ve=ye.length-1;Ve>=0;--Ve)if(!Qe(ye[Ve])){ee.pos=Ve;break}return ee}function $(M,F,W,ue){var Te=M.getLine(F),me={line:Te,ln:F,pos:W,dir:ue},ie={ln:me.ln,pos:null},ee=me.line==="";for(T(M,me);me.line!==null;){if(me.line===""&&!ee)return ie.pos!==null?ie:{ln:me.ln,pos:me.pos};if(se(me.line[me.pos])&&ie.pos!==null&&!(me.ln===ie.ln&&me.pos+1===ie.pos))return ie;me.line!==""&&!Qe(me.line[me.pos])&&(ee=!1,ie={ln:me.ln,pos:me.pos}),T(M,me)}var Te=M.getLine(ie.ln);ie.pos=0;for(var ye=0;ye<Te.length;++ye)if(!Qe(Te[ye])){ie.pos=ye;break}return ie}for(var D={ln:m.line,pos:m.ch};b>0;)y<0?D=$(h,D.ln,D.pos,y):D=E(h,D.ln,D.pos,y),b--;return new e(D.ln,D.pos)}function $x(h,m,b,y){var T=m,E,$,D={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/,"<":/[<>]/,">":/[<>]/}[b],M={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{","<":"<",">":"<"}[b],F=h.getLine(T.line).charAt(T.ch),W=F===M?1:0;if(E=h.scanForBracket(new e(T.line,T.ch+W),-1,void 0,{bracketRegex:D}),$=h.scanForBracket(new e(T.line,T.ch+W),1,void 0,{bracketRegex:D}),!E||!$)return null;if(E=E.pos,$=$.pos,E.line==$.line&&E.ch>$.ch||E.line>$.line){var ue=E;E=$,$=ue}return y?$.ch+=1:E.ch+=1,{start:E,end:$}}function JL(h,m,b,y){var T=vt(m),E=h.getLine(T.line),$=E.split(""),D,M,F,W,ue=$.indexOf(b);if(T.ch<ue)T.ch=ue;else if(ue<T.ch&&$[T.ch]==b){var me=/string/.test(h.getTokenTypeAt(It(m,0,1))),ie=/string/.test(h.getTokenTypeAt(m)),ee=me&&!ie;ee||(M=T.ch,--T.ch)}if($[T.ch]==b&&!M)D=T.ch+1;else for(F=T.ch;F>-1&&!D;F--)$[F]==b&&(D=F+1);if(D&&!M)for(F=D,W=$.length;F<W&&!M;F++)$[F]==b&&(M=F);return!D||!M?{start:T,end:T}:(y&&(--D,++M),{start:new e(T.line,D),end:new e(T.line,M)})}_("pcre",!0,"boolean");function Xx(){}Xx.prototype={getQuery:function(){return Ce.query},setQuery:function(h){Ce.query=h},getOverlay:function(){return this.searchOverlay},setOverlay:function(h){this.searchOverlay=h},isReversed:function(){return Ce.isReversed},setReversed:function(h){Ce.isReversed=h},getScrollbarAnnotate:function(){return this.annotate},setScrollbarAnnotate:function(h){this.annotate=h}};function Un(h){var m=h.state.vim;return m.searchState_||(m.searchState_=new Xx)}function ez(h){return Ix(h,"/")}function tz(h){return Lx(h,"/")}function Ix(h,m){var b=Lx(h,m)||[];if(!b.length)return[];var y=[];if(b[0]===0){for(var T=0;T<b.length;T++)typeof b[T]=="number"&&y.push(h.substring(b[T]+1,b[T+1]));return y}}function Lx(h,m){m||(m="/");for(var b=!1,y=[],T=0;T<h.length;T++){var E=h.charAt(T);!b&&E==m&&y.push(T),b=!b&&E=="\\"}return y}function rz(h){for(var m="|(){",b="}",y=!1,T=[],E=-1;E<h.length;E++){var $=h.charAt(E)||"",D=h.charAt(E+1)||"",M=D&&m.indexOf(D)!=-1;y?(($!=="\\"||!M)&&T.push($),y=!1):$==="\\"?(y=!0,D&&b.indexOf(D)!=-1&&(M=!0),(!M||D==="\\")&&T.push($)):(T.push($),M&&D!=="\\"&&T.push("\\"))}return T.join("")}var zx={"\\n":`
`,"\\r":"\r","\\t":" "};function iz(h){for(var m=!1,b=[],y=-1;y<h.length;y++){var T=h.charAt(y)||"",E=h.charAt(y+1)||"";zx[T+E]?(b.push(zx[T+E]),y++):m?(b.push(T),m=!1):T==="\\"?(m=!0,ge(E)||E==="$"?b.push("$"):E!=="/"&&E!=="\\"&&b.push("\\")):(T==="$"&&b.push("$"),b.push(T),E==="/"&&b.push("\\"))}return b.join("")}var Mx={"\\/":"/","\\\\":"\\","\\n":`
`,"\\r":"\r","\\t":" ","\\&":"&"};function nz(h){for(var m=new t.StringStream(h),b=[];!m.eol();){for(;m.peek()&&m.peek()!="\\";)b.push(m.next());var y=!1;for(var T in Mx)if(m.match(T,!0)){y=!0,b.push(Mx[T]);break}y||b.push(m.next())}return b.join("")}function oz(h,m,b){var y=Ce.registerController.getRegister("/");if(y.setText(h),h instanceof RegExp)return h;var T=tz(h),E,$;if(!T.length)E=h;else{E=h.substring(0,T[0]);var D=h.substring(T[0]);$=D.indexOf("i")!=-1}if(!E)return null;ae("pcre")||(E=rz(E)),b&&(m=/^[^A-Z]*$/.test(E));var M=new RegExp(E,m||$?"im":"m");return M}function fs(h){typeof h=="string"&&(h=document.createElement(h));for(var m,b=1;b<arguments.length;b++)if(m=arguments[b])if(typeof m!="object"&&(m=document.createTextNode(m)),m.nodeType)h.appendChild(m);else for(var y in m)Object.prototype.hasOwnProperty.call(m,y)&&(y[0]==="$"?h.style[y.slice(1)]=m[y]:h.setAttribute(y,m[y]));return h}function At(h,m){var b=fs("div",{$color:"red",$whiteSpace:"pre",class:"cm-vim-message"},m);h.openNotification?h.openNotification(b,{bottom:!0,duration:5e3}):alert(b.innerText)}function sz(h,m){return fs("div",{$display:"flex"},fs("span",{$fontFamily:"monospace",$whiteSpace:"pre",$flex:1},h,fs("input",{type:"text",autocorrect:"off",autocapitalize:"off",spellcheck:"false",$width:"100%"})),m&&fs("span",{$color:"#888"},m))}function bd(h,m){var b=sz(m.prefix,m.desc);if(h.openDialog)h.openDialog(b,m.onClose,{onKeyDown:m.onKeyDown,onKeyUp:m.onKeyUp,bottom:!0,selectValueOnOpen:!1,value:m.value});else{var y="";typeof m.prefix!="string"&&m.prefix&&(y+=m.prefix.textContent),m.desc&&(y+=" "+m.desc),m.onClose(prompt(y,""))}}function az(h,m){if(h instanceof RegExp&&m instanceof RegExp){for(var b=["global","multiline","ignoreCase","source"],y=0;y<b.length;y++){var T=b[y];if(h[T]!==m[T])return!1}return!0}return!1}function ou(h,m,b,y){if(m){var T=Un(h),E=oz(m,!!b,!!y);if(E)return Dx(h,E),az(E,T.getQuery())||T.setQuery(E),E}}function lz(h){if(h.source.charAt(0)=="^")var m=!0;return{token:function(b){if(m&&!b.sol()){b.skipToEnd();return}var y=b.match(h,!1);if(y)return y[0].length==0?(b.next(),"searching"):!b.sol()&&(b.backUp(1),!h.exec(b.next()+y[0]))?(b.next(),null):(b.match(h),"searching");for(;!b.eol()&&(b.next(),!b.match(h,!1)););},query:h}}var yd=0;function Dx(h,m){clearTimeout(yd),yd=setTimeout(function(){if(h.state.vim){var b=Un(h),y=b.getOverlay();(!y||m!=y.query)&&(y&&h.removeOverlay(y),y=lz(m),h.addOverlay(y),h.showMatchesOnScrollbar&&(b.getScrollbarAnnotate()&&b.getScrollbarAnnotate().clear(),b.setScrollbarAnnotate(h.showMatchesOnScrollbar(m))),b.setOverlay(y))}},50)}function Ux(h,m,b,y){return y===void 0&&(y=1),h.operation(function(){for(var T=h.getCursor(),E=h.getSearchCursor(b,T),$=0;$<y;$++){var D=E.find(m);if($==0&&D&&tr(E.from(),T)){var M=m?E.from():E.to();D=E.find(m),D&&!D[0]&&tr(E.from(),M)&&h.getLine(M.line).length==M.ch&&(D=E.find(m))}if(!D&&(E=h.getSearchCursor(b,m?new e(h.lastLine()):new e(h.firstLine(),0)),!E.find(m)))return}return E.from()})}function cz(h,m,b,y,T){return y===void 0&&(y=1),h.operation(function(){var E=h.getCursor(),$=h.getSearchCursor(b,E),D=$.find(!m);!T.visualMode&&D&&tr($.from(),E)&&$.find(!m);for(var M=0;M<y;M++)if(D=$.find(m),!D&&($=h.getSearchCursor(b,m?new e(h.lastLine()):new e(h.firstLine(),0)),!$.find(m)))return;return[$.from(),$.to()]})}function Zg(h){var m=Un(h);h.removeOverlay(Un(h).getOverlay()),m.setOverlay(null),m.getScrollbarAnnotate()&&(m.getScrollbarAnnotate().clear(),m.setScrollbarAnnotate(null))}function uz(h,m,b){return typeof h!="number"&&(h=h.line),m instanceof Array?he(h,m):typeof b=="number"?h>=m&&h<=b:h==m}function Yg(h){var m=h.getScrollInfo(),b=6,y=10,T=h.coordsChar({left:0,top:b+m.top},"local"),E=m.clientHeight-y+m.top,$=h.coordsChar({left:0,top:E},"local");return{top:T.line,bottom:$.line}}function vd(h,m,b){if(b=="'"||b=="`")return Ce.jumpList.find(h,-1)||new e(0,0);if(b==".")return Nx(h);var y=m.marks[b];return y&&y.find()}function Nx(h){if(h.getLastEditEnd)return h.getLastEditEnd();for(var m=h.doc.history.done,b=m.length;b--;)if(m[b].changes)return vt(m[b].changes[0].to)}var jx=function(){this.buildCommandMap_()};jx.prototype={processCommand:function(h,m,b){var y=this;h.operation(function(){h.curOp.isVimOp=!0,y._processCommand(h,m,b)})},_processCommand:function(h,m,b){var y=h.state.vim,T=Ce.registerController.getRegister(":"),E=T.toString(),$=new t.StringStream(m);T.setText(m);var D=b||{};D.input=m;try{this.parseInput_(h,$,D)}catch(ue){throw At(h,ue.toString()),ue}y.visualMode&&Mn(h);var M,F;if(!D.commandName)D.line!==void 0&&(F="move");else if(M=this.matchCommand_(D.commandName),M){if(F=M.name,M.excludeFromCommandHistory&&T.setText(E),this.parseCommandArgs_($,D,M),M.type=="exToKey"){for(var W=0;W<M.toKeys.length;W++)ct.handleKey(h,M.toKeys[W],"mapping");return}else if(M.type=="exToEx"){this.processCommand(h,M.toInput);return}}if(!F){At(h,'Not an editor command ":'+m+'"');return}try{Bx[F](h,D),(!M||!M.possiblyAsync)&&D.callback&&D.callback()}catch(ue){throw At(h,ue.toString()),ue}},parseInput_:function(h,m,b){var T,E;m.eatWhile(":"),m.eat("%")?(b.line=h.firstLine(),b.lineEnd=h.lastLine()):(b.line=this.parseLineSpec_(h,m),b.line!==void 0&&m.eat(",")&&(b.lineEnd=this.parseLineSpec_(h,m))),b.line==null?h.state.vim.visualMode?(b.selectionLine=(T=vd(h,h.state.vim,"<"))==null?void 0:T.line,b.selectionLineEnd=(E=vd(h,h.state.vim,">"))==null?void 0:E.line):b.selectionLine=h.getCursor().line:(b.selectionLine=b.line,b.selectionLineEnd=b.lineEnd);var y=m.match(/^(\w+|!!|@@|[!#&*<=>@~])/);return y?b.commandName=y[1]:b.commandName=m.match(/.*/)[0],b},parseLineSpec_:function(h,m){var b=m.match(/^(\d+)/);if(b)return parseInt(b[1],10)-1;switch(m.next()){case".":return this.parseLineSpecOffset_(m,h.getCursor().line);case"$":return this.parseLineSpecOffset_(m,h.lastLine());case"'":var y=m.next(),T=vd(h,h.state.vim,y);if(!T)throw new Error("Mark not set");return this.parseLineSpecOffset_(m,T.line);case"-":case"+":return m.backUp(1),this.parseLineSpecOffset_(m,h.getCursor().line);default:m.backUp(1);return}},parseLineSpecOffset_:function(h,m){var b=h.match(/^([+-])?(\d+)/);if(b){var y=parseInt(b[2],10);b[1]=="-"?m-=y:m+=y}return m},parseCommandArgs_:function(h,m,b){if(!h.eol()){m.argString=h.match(/.*/)[0];var y=b.argDelimiter||/\s+/,T=Vg(m.argString).split(y);T.length&&T[0]&&(m.args=T)}},matchCommand_:function(h){for(var m=h.length;m>0;m--){var b=h.substring(0,m);if(this.commandMap_[b]){var y=this.commandMap_[b];if(y.name.indexOf(h)===0)return y}}return null},buildCommandMap_:function(){this.commandMap_={};for(var h=0;h<s.length;h++){var m=s[h],b=m.shortName||m.name;this.commandMap_[b]=m}},map:function(h,m,b,y){if(h!=":"&&h.charAt(0)==":"){if(b)throw Error("Mode not supported for ex mappings");var T=h.substring(1);m!=":"&&m.charAt(0)==":"?this.commandMap_[T]={name:T,type:"exToEx",toInput:m.substring(1),user:!0}:this.commandMap_[T]={name:T,type:"exToKey",toKeys:m,user:!0}}else if(m!=":"&&m.charAt(0)==":"){var E={keys:h,type:"keyToEx",exArgs:{input:m.substring(1)}};b&&(E.context=b),n.unshift(E)}else{var E={keys:h,type:"keyToKey",toKeys:m,noremap:!!y};b&&(E.context=b),n.unshift(E)}},unmap:function(h,m){if(h!=":"&&h.charAt(0)==":"){if(m)throw Error("Mode not supported for ex mappings");var b=h.substring(1);if(this.commandMap_[b]&&this.commandMap_[b].user)return delete this.commandMap_[b],!0}else for(var y=h,T=0;T<n.length;T++)if(y==n[T].keys&&n[T].context===m)return n.splice(T,1),!0}};var Bx={colorscheme:function(h,m){if(!m.args||m.args.length<1){At(h,h.getOption("theme"));return}h.setOption("theme",m.args[0])},map:function(h,m,b,y){var T=m.args;if(!T||T.length<2){h&&At(h,"Invalid mapping: "+m.input);return}gn.map(T[0],T[1],b,y)},imap:function(h,m){this.map(h,m,"insert")},nmap:function(h,m){this.map(h,m,"normal")},vmap:function(h,m){this.map(h,m,"visual")},omap:function(h,m){this.map(h,m,"operatorPending")},noremap:function(h,m){this.map(h,m,void 0,!0)},inoremap:function(h,m){this.map(h,m,"insert",!0)},nnoremap:function(h,m){this.map(h,m,"normal",!0)},vnoremap:function(h,m){this.map(h,m,"visual",!0)},onoremap:function(h,m){this.map(h,m,"operatorPending",!0)},unmap:function(h,m,b){var y=m.args;(!y||y.length<1||!gn.unmap(y[0],b))&&h&&At(h,"No such mapping: "+m.input)},mapclear:function(h,m){ct.mapclear()},imapclear:function(h,m){ct.mapclear("insert")},nmapclear:function(h,m){ct.mapclear("normal")},vmapclear:function(h,m){ct.mapclear("visual")},omapclear:function(h,m){ct.mapclear("operatorPending")},move:function(h,m){bo.processCommand(h,h.state.vim,{type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0},repeatOverride:m.line+1})},set:function(h,m){var b=m.args,y=m.setCfg||{};if(!b||b.length<1){h&&At(h,"Invalid mapping: "+m.input);return}var T=b[0].split("="),E=T[0],$=T[1],D=!1,M=!1;if(E.charAt(E.length-1)=="?"){if($)throw Error("Trailing characters: "+m.argString);E=E.substring(0,E.length-1),D=!0}else E.charAt(E.length-1)=="!"&&(E=E.substring(0,E.length-1),M=!0);$===void 0&&E.substring(0,2)=="no"&&(E=E.substring(2),$=!1);var F=K[E]&&K[E].type=="boolean";if(F&&(M?$=!ae(E,h,y):$==null&&($=!0)),!F&&$===void 0||D){var W=ae(E,h,y);W instanceof Error?At(h,W.message):W===!0||W===!1?At(h," "+(W?"":"no")+E):At(h," "+E+"="+W)}else{var ue=G(E,$,h,y);ue instanceof Error&&At(h,ue.message)}},setlocal:function(h,m){m.setCfg={scope:"local"},this.set(h,m)},setglobal:function(h,m){m.setCfg={scope:"global"},this.set(h,m)},registers:function(h,m){var b=m.args,y=Ce.registerController.registers,T=`----------Registers----------
`;if(b){var E;b=b.join("");for(var D=0;D<b.length;D++)if(E=b.charAt(D),!!Ce.registerController.isValidRegister(E)){var M=y[E]||new _r;T+='"'+E+" "+M.toString()+`
`}}else for(var E in y){var $=y[E].toString();$.length&&(T+='"'+E+" "+$+`
`)}At(h,T)},sort:function(h,m){var b,y,T,E,$;function D(){if(m.argString){var bt=new t.StringStream(m.argString);if(bt.eat("!")&&(b=!0),bt.eol())return;if(!bt.eatSpace())return"Invalid arguments";var wt=bt.match(/([dinuox]+)?\s*(\/.+\/)?\s*/);if(!wt&&!bt.eol())return"Invalid arguments";if(wt[1]){y=wt[1].indexOf("i")!=-1,T=wt[1].indexOf("u")!=-1;var ii=wt[1].indexOf("d")!=-1||wt[1].indexOf("n")!=-1&&1,gr=wt[1].indexOf("x")!=-1&&1,br=wt[1].indexOf("o")!=-1&&1;if(ii+gr+br>1)return"Invalid arguments";E=ii&&"decimal"||gr&&"hex"||br&&"octal"}wt[2]&&($=new RegExp(wt[2].substr(1,wt[2].length-2),y?"i":""))}}var M=D();if(M){At(h,M+": "+m.argString);return}var F=m.line||h.firstLine(),W=m.lineEnd||m.line||h.lastLine();if(F==W)return;var ue=new e(F,0),me=new e(W,Ar(h,W)),ie=h.getRange(ue,me).split(`
`),ee=$||(E=="decimal"?/(-?)([\d]+)/:E=="hex"?/(-?)(?:0x)?([0-9a-f]+)/i:E=="octal"?/([0-7]+)/:null),Te=E=="decimal"?10:E=="hex"?16:E=="octal"?8:null,ye=[],Ve=[];if(E||$)for(var He=0;He<ie.length;He++){var je=$?ie[He].match($):null;je&&je[0]!=""?ye.push(je):!$&&ee.exec(ie[He])?ye.push(ie[He]):Ve.push(ie[He])}else Ve=ie;function Lt(bt,wt){if(b){var ii;ii=bt,bt=wt,wt=ii}y&&(bt=bt.toLowerCase(),wt=wt.toLowerCase());var gr=E&&ee.exec(bt),br=E&&ee.exec(wt);return gr?(gr=parseInt((gr[1]+gr[2]).toLowerCase(),Te),br=parseInt((br[1]+br[2]).toLowerCase(),Te),gr-br):bt<wt?-1:1}function Vr(bt,wt){if(b){var ii;ii=bt,bt=wt,wt=ii}return y&&(bt[0]=bt[0].toLowerCase(),wt[0]=wt[0].toLowerCase()),bt[0]<wt[0]?-1:1}if(ye.sort($?Vr:Lt),$)for(var He=0;He<ye.length;He++)ye[He]=ye[He].input;else E||Ve.sort(Lt);if(ie=b?ye.concat(Ve):Ve.concat(ye),T){var ir=ie,xr;ie=[];for(var He=0;He<ir.length;He++)ir[He]!=xr&&ie.push(ir[He]),xr=ir[He]}h.replaceRange(ie.join(`
`),ue,me)},vglobal:function(h,m){this.global(h,m)},normal:function(h,m){var b=m.argString;if(b&&b[0]=="!"&&(b=b.slice(1),Qr=!0),b=b.trimStart(),!b){At(h,"Argument is required.");return}var y=m.line;if(typeof y=="number")for(var T=isNaN(m.lineEnd)?y:m.lineEnd,E=y;E<=T;E++)h.setCursor(E,0),Ln(h,m.argString.trimStart()),h.state.vim.insertMode&&hs(h,!0);else Ln(h,m.argString.trimStart()),h.state.vim.insertMode&&hs(h,!0)},global:function(h,m){var b=m.argString;if(!b){At(h,"Regular Expression missing from global");return}var y=m.commandName[0]==="v";b[0]==="!"&&m.commandName[0]==="g"&&(y=!0,b=b.slice(1));var T=m.line!==void 0?m.line:h.firstLine(),E=m.lineEnd||m.line||h.lastLine(),$=ez(b),D=b,M;if($.length&&(D=$[0],M=$.slice(1,$.length).join("/")),D)try{ou(h,D,!0,!0)}catch(ye){At(h,"Invalid regex: "+D);return}for(var F=Un(h).getQuery(),W=[],ue=T;ue<=E;ue++){var me=h.getLine(ue),ie=F.test(me);ie!==y&&W.push(M?h.getLineHandle(ue):me)}if(!M){At(h,W.join(`
`));return}var ee=0,Te=function(){if(ee<W.length){var ye=W[ee++],Ve=h.getLineNumber(ye);if(Ve==null){Te();return}var He=Ve+1+M;gn.processCommand(h,He,{callback:Te})}else h.releaseLineHandles&&h.releaseLineHandles()};Te()},substitute:function(h,m){if(!h.getSearchCursor)throw new Error("Search feature not available. Requires searchcursor.js or any other getSearchCursor implementation.");var b=m.argString,y=b?Ix(b,b[0]):[],T,E="",$,D,M,F=!1,W=!1;if(y.length)T=y[0],ae("pcre")&&T!==""&&(T=new RegExp(T).source),E=y[1],E!==void 0&&(ae("pcre")?E=nz(E.replace(/([^\\])&/g,"$1$$&")):E=iz(E),Ce.lastSubstituteReplacePart=E),$=y[2]?y[2].split(" "):[];else if(b&&b.length){At(h,"Substitutions should be of the form :s/pattern/replace/");return}if($&&(D=$[0],M=parseInt($[1]),D&&(D.indexOf("c")!=-1&&(F=!0),D.indexOf("g")!=-1&&(W=!0),ae("pcre")?T=T+"/"+D:T=T.replace(/\//g,"\\/")+"/"+D)),T)try{ou(h,T,!0,!0)}catch(Ve){At(h,"Invalid regex: "+T);return}if(E=E||Ce.lastSubstituteReplacePart,E===void 0){At(h,"No previous substitute regular expression");return}var ue=Un(h),me=ue.getQuery(),ie=m.line!==void 0?m.line:h.getCursor().line,ee=m.lineEnd||ie;ie==h.firstLine()&&ee==h.lastLine()&&(ee=1/0),M&&(ie=ee,ee=ie+M-1);var Te=et(h,new e(ie,0)),ye=h.getSearchCursor(me,Te);fz(h,F,W,ie,ee,ye,me,E,m.callback)},startinsert:function(h,m){Ln(h,m.argString=="!"?"A":"i",{})},redo:t.commands.redo,undo:t.commands.undo,write:function(h){t.commands.save?t.commands.save(h):h.save&&h.save()},nohlsearch:function(h){Zg(h)},yank:function(h){var m=vt(h.getCursor()),b=m.line,y=h.getLine(b);Ce.registerController.pushText("0","yank",y,!0,!0)},delete:function(h,m){var b=m.selectionLine,y=isNaN(m.selectionLineEnd)?b:m.selectionLineEnd;be.delete(h,{linewise:!0},[{anchor:new e(b,0),head:new e(y+1,0)}])},join:function(h,m){var b=m.selectionLine,y=isNaN(m.selectionLineEnd)?b:m.selectionLineEnd;h.setCursor(new e(b,0)),Ye.joinLines(h,{repeat:y-b},h.state.vim)},delmarks:function(h,m){if(!m.argString||!Vg(m.argString)){At(h,"Argument required");return}for(var b=h.state.vim,y=new t.StringStream(Vg(m.argString));!y.eol();){y.eatSpace();var T=y.pos;if(!y.match(/[a-zA-Z]/,!1)){At(h,"Invalid argument: "+m.argString.substring(T));return}var E=y.next();if(y.match("-",!0)){if(!y.match(/[a-zA-Z]/,!1)){At(h,"Invalid argument: "+m.argString.substring(T));return}var $=E,D=y.next();if(pe($)&&pe(D)||ve($)&&ve(D)){var M=$.charCodeAt(0),F=D.charCodeAt(0);if(M>=F){At(h,"Invalid argument: "+m.argString.substring(T));return}for(var W=0;W<=F-M;W++){var ue=String.fromCharCode(M+W);delete b.marks[ue]}}else{At(h,"Invalid argument: "+$+"-");return}}else delete b.marks[E]}}},gn=new jx;function fz(h,m,b,y,T,E,$,D,M){h.state.vim.exMode=!0;var F=!1,W,ue,me;function ie(){h.operation(function(){for(;!F;)ee(),ye();Ve()})}function ee(){var je=h.getRange(E.from(),E.to()),Lt=je.replace($,D),Vr=E.to().line;E.replace(Lt),ue=E.to().line,T+=ue-Vr,me=ue<Vr}function Te(){var je=W&&vt(E.to()),Lt=E.findNext();return Lt&&!Lt[0]&&je&&tr(E.from(),je)&&(Lt=E.findNext()),Lt}function ye(){for(;Te()&&uz(E.from(),y,T);)if(!(!b&&E.from().line==ue&&!me)){h.scrollIntoView(E.from(),30),h.setSelection(E.from(),E.to()),W=E.from(),F=!1;return}F=!0}function Ve(je){if(je&&je(),h.focus(),W){h.setCursor(W);var Lt=h.state.vim;Lt.exMode=!1,Lt.lastHPos=Lt.lastHSPos=W.ch}M&&M()}function He(je,Lt,Vr){t.e_stop(je);var ir=t.keyName(je);switch(ir){case"Y":ee(),ye();break;case"N":ye();break;case"A":var xr=M;M=void 0,h.operation(ie),M=xr;break;case"L":ee();case"Q":case"Esc":case"Ctrl-C":case"Ctrl-[":Ve(Vr);break}return F&&Ve(Vr),!0}if(ye(),F){At(h,"No matches for "+$.source);return}if(!m){ie(),M&&M();return}bd(h,{prefix:fs("span","replace with ",fs("strong",D)," (y/n/a/q/l)"),onKeyDown:He})}t.keyMap.vim={attach:u,detach:c,call:f};function hs(h,m){var b=h.state.vim,y=Ce.macroModeState,T=Ce.registerController.getRegister("."),E=y.isPlaying,$=y.lastInsertModeChanges;E||(h.off("change",qx),b.insertEnd&&b.insertEnd.clear(),b.insertEnd=null,t.off(h.getInputField(),"keydown",Zx)),!E&&b.insertModeRepeat>1&&(Yx(h,b,b.insertModeRepeat-1,!0),b.lastEditInputState.repeatOverride=b.insertModeRepeat),delete b.insertModeRepeat,b.insertMode=!1,m||h.setCursor(h.getCursor().line,h.getCursor().ch-1),h.setOption("keyMap","vim"),h.setOption("disableInput",!0),h.toggleOverwrite(!1),T.setText($.changes.join("")),t.signal(h,"vim-mode-change",{mode:"normal"}),y.isRecording&&mz(y)}function Vx(h){n.unshift(h)}function hz(h,m,b,y,T){var E={keys:h,type:m};E[m]=b,E[m+"Args"]=y;for(var $ in T)E[$]=T[$];Vx(E)}_("insertModeEscKeysTimeout",200,"number"),t.keyMap["vim-insert"]={fallthrough:["default"],attach:u,detach:c,call:f},t.keyMap["vim-replace"]={Backspace:"goCharLeft",fallthrough:["vim-insert"],attach:u,detach:c};function dz(h,m,b,y){var T=Ce.registerController.getRegister(y);if(y==":"){T.keyBuffer[0]&&gn.processCommand(h,T.keyBuffer[0]),b.isPlaying=!1;return}var E=T.keyBuffer,$=0;b.isPlaying=!0,b.replaySearchQueries=T.searchQueries.slice(0);for(var D=0;D<E.length;D++)for(var M=E[D],F,W;M;)if(F=/<\w+-.+?>|<\w+>|./.exec(M),W=F[0],M=M.substring(F.index+W.length),ct.handleKey(h,W,"macro"),m.insertMode){var ue=T.insertModeChanges[$++].changes;Ce.macroModeState.lastInsertModeChanges.changes=ue,Gx(h,ue,1),hs(h)}b.isPlaying=!1}function pz(h,m){if(!h.isPlaying){var b=h.latestRegister,y=Ce.registerController.getRegister(b);y&&y.pushText(m)}}function mz(h){if(!h.isPlaying){var m=h.latestRegister,b=Ce.registerController.getRegister(m);b&&b.pushInsertModeChanges&&b.pushInsertModeChanges(h.lastInsertModeChanges)}}function Oz(h,m){if(!h.isPlaying){var b=h.latestRegister,y=Ce.registerController.getRegister(b);y&&y.pushSearchQuery&&y.pushSearchQuery(m)}}function qx(h,m){var b=Ce.macroModeState,y=b.lastInsertModeChanges;if(!b.isPlaying)for(var T=h.state.vim;m;){if(y.expectCursorActivityForChange=!0,y.ignoreCount>1)y.ignoreCount--;else if(m.origin=="+input"||m.origin=="paste"||m.origin===void 0){var E=h.listSelections().length;E>1&&(y.ignoreCount=E);var $=m.text.join(`
`);if(y.maybeReset&&(y.changes=[],y.maybeReset=!1),$)if(h.state.overwrite&&!/\n/.test($))y.changes.push([$]);else{if($.length>1){var D=T&&T.insertEnd&&T.insertEnd.find(),M=h.getCursor();if(D&&D.line==M.line){var F=D.ch-M.ch;F>0&&F<$.length&&(y.changes.push([$,F]),$="")}}$&&y.changes.push($)}}m=m.next}}function Fx(h){var m=h.state.vim;if(m.insertMode){var b=Ce.macroModeState;if(b.isPlaying)return;var y=b.lastInsertModeChanges;y.expectCursorActivityForChange?y.expectCursorActivityForChange=!1:(y.maybeReset=!0,m.insertEnd&&m.insertEnd.clear(),m.insertEnd=h.setBookmark(h.getCursor(),{insertLeft:!0}))}else h.curOp.isVimOp||Wx(h,m)}function Wx(h,m){var b=h.getCursor("anchor"),y=h.getCursor("head");if(m.visualMode&&!h.somethingSelected()?Mn(h,!1):!m.visualMode&&!m.insertMode&&h.somethingSelected()&&(m.visualMode=!0,m.visualLine=!1,t.signal(h,"vim-mode-change",{mode:"visual"})),m.visualMode){var T=rr(y,b)?0:-1,E=rr(y,b)?-1:0;y=It(y,0,T),b=It(b,0,E),m.sel={anchor:b,head:y},yo(h,m,"<",Qi(y,b)),yo(h,m,">",us(y,b))}else m.insertMode||(m.lastHPos=h.getCursor().ch)}function Hg(h){this.keyName=h}function Zx(h){var m=Ce.macroModeState,b=m.lastInsertModeChanges,y=t.keyName(h);if(!y)return;function T(){return b.maybeReset&&(b.changes=[],b.maybeReset=!1),b.changes.push(new Hg(y)),!0}(y.indexOf("Delete")!=-1||y.indexOf("Backspace")!=-1)&&t.lookupKey(y,"vim-insert",T)}function Yx(h,m,b,y){var T=Ce.macroModeState;T.isPlaying=!0;var E=!!m.lastEditActionCommand,$=m.inputState;function D(){E?bo.processAction(h,m,m.lastEditActionCommand):bo.evalInput(h,m)}function M(W){if(T.lastInsertModeChanges.changes.length>0){W=m.lastEditActionCommand?W:1;var ue=T.lastInsertModeChanges;Gx(h,ue.changes,W)}}if(m.inputState=m.lastEditInputState,E&&m.lastEditActionCommand.interlaceInsertRepeat)for(var F=0;F<b;F++)D(),M(1);else y||D(),M(b);m.inputState=$,m.insertMode&&!y&&hs(h),T.isPlaying=!1}function Hx(h,m){t.lookupKey(m,"vim-insert",function(y){return typeof y=="string"?t.commands[y](h):y(h),!0})}function Gx(h,m,b){var y=h.getCursor("head"),T=Ce.macroModeState.lastInsertModeChanges.visualBlock;T&&(Sx(h,y,T+1),b=h.listSelections().length,h.setCursor(y));for(var E=0;E<b;E++){T&&h.setCursor(It(y,E,0));for(var $=0;$<m.length;$++){var D=m[$];if(D instanceof Hg)Hx(h,D.keyName);else if(typeof D=="string")h.replaceSelection(D);else{var M=h.getCursor(),F=It(M,0,D[0].length-(D[1]||0));h.replaceRange(D[0],M,D[1]?M:F),h.setCursor(F)}}}T&&h.setCursor(It(y,0,1))}function Gg(h){var m=new h.constructor;return Object.keys(h).forEach(function(b){if(b!="insertEnd"){var y=h[b];Array.isArray(y)?y=y.slice():y&&typeof y=="object"&&y.constructor!=Object&&(y=Gg(y)),m[b]=y}}),h.sel&&(m.sel={head:h.sel.head&&vt(h.sel.head),anchor:h.sel.anchor&&vt(h.sel.anchor)}),m}function gz(h,m,b){var y=!1,T=ct.maybeInitVimState_(h),E=T.visualBlock||T.wasInVisualBlock,$=h.isInMultiSelectMode();if(T.wasInVisualBlock&&!$?T.wasInVisualBlock=!1:$&&T.visualBlock&&(T.wasInVisualBlock=!0),m=="<Esc>"&&!T.insertMode&&!T.visualMode&&$&&T.status=="<Esc>")Zt(h);else if(E||!$||h.inVirtualSelectionMode)y=ct.handleKey(h,m,b);else{var D=Gg(T),M=T.inputState.changeQueueList||[];h.operation(function(){h.curOp.isVimOp=!0;var F=0;h.forEachSelection(function(){h.state.vim.inputState.changeQueue=M[F];var W=h.getCursor("head"),ue=h.getCursor("anchor"),me=rr(W,ue)?0:-1,ie=rr(W,ue)?-1:0;W=It(W,0,me),ue=It(ue,0,ie),h.state.vim.sel.head=W,h.state.vim.sel.anchor=ue,y=ct.handleKey(h,m,b),h.virtualSelection&&(M[F]=h.state.vim.inputState.changeQueue,h.state.vim=Gg(D)),F++}),h.curOp.cursorActivity&&!y&&(h.curOp.cursorActivity=!1),h.state.vim=T,T.inputState.changeQueueList=M,T.inputState.changeQueue=null},!0)}return y&&!T.visualMode&&!T.insert&&T.visualMode!=h.somethingSelected()&&Wx(h,T),y}return Ze(),ct}function Oi(t,e){var r=e.ch,i=e.line+1;i<1&&(i=1,r=0),i>t.lines&&(i=t.lines,r=Number.MAX_VALUE);var n=t.line(i);return Math.min(n.from+Math.max(0,r),n.to)}function hn(t,e){let r=t.lineAt(e);return{line:r.number-1,ch:e-r.from}}var dn=class{constructor(e,r){this.line=e,this.ch=r}};function SX(t,e,r){if(t.addEventListener)t.addEventListener(e,r,!1);else{var i=t._handlers||(t._handlers={});i[e]=(i[e]||[]).concat(r)}}function TX(t,e,r){if(t.removeEventListener)t.removeEventListener(e,r,!1);else{var i=t._handlers,n=i&&i[e];if(n){var o=n.indexOf(r);o>-1&&(i[e]=n.slice(0,o).concat(n.slice(o+1)))}}}function EX(t,e,...r){var i,n=(i=t._handlers)===null||i===void 0?void 0:i[e];if(n)for(var o=0;o<n.length;++o)n[o](...r)}function wX(t,...e){if(t)for(var r=0;r<t.length;++r)t[r](...e)}var eoe={Return:"CR",Backspace:"BS",Delete:"Del",Escape:"Esc",Insert:"Ins",ArrowLeft:"Left",ArrowRight:"Right",ArrowUp:"Up",ArrowDown:"Down",Enter:"CR"," ":"Space"},CX={Shift:1,Alt:1,Command:1,Control:1,CapsLock:1,AltGraph:1,Dead:1,Unidentified:1},s5;try{s5=new RegExp("[\\w\\p{Alphabetic}\\p{Number}_]","u")}catch(t){s5=/[\w]/}function Jh(t,e){var r=t.cm6,i="input.type.compose";if(t.curOp&&(t.curOp.lastChange||(i="input.type.compose.start")),e.annotations)try{e.annotations.some(function(n){n.value=="input"&&(n.value=i)})}catch(n){console.error(n)}else e.userEvent=i;return r.dispatch(e)}function xX(t,e){var r;t.curOp&&(t.curOp.$changeStart=void 0),(e?bl:ca)(t.cm6);let i=(r=t.curOp)===null||r===void 0?void 0:r.$changeStart;i!=null&&t.cm6.dispatch({selection:{anchor:i}})}var toe={},mt=class t{constructor(e){this.state={},this.marks=Object.create(null),this.$mid=0,this.options={},this._handlers={},this.$lastChangeEndOffset=0,this.virtualSelection=null,this.cm6=e,this.onChange=this.onChange.bind(this),this.onSelectionChange=this.onSelectionChange.bind(this)}openDialog(e,r,i){return ioe(this,e,r,i)}openNotification(e,r){return roe(this,e,r)}on(e,r){SX(this,e,r)}off(e,r){TX(this,e,r)}signal(e,r,i){EX(this,e,r,i)}indexFromPos(e){return Oi(this.cm6.state.doc,e)}posFromIndex(e){return hn(this.cm6.state.doc,e)}foldCode(e){let r=this.cm6,i=r.state.selection.ranges,n=this.cm6.state.doc,o=Oi(n,e),s=ce.create([ce.range(o,o)],0).ranges;r.state.selection.ranges=s,Nm(r),r.state.selection.ranges=i}firstLine(){return 0}lastLine(){return this.cm6.state.doc.lines-1}lineCount(){return this.cm6.state.doc.lines}setCursor(e,r){typeof e=="object"&&(r=e.ch,e=e.line);var i=Oi(this.cm6.state.doc,{line:e,ch:r});this.cm6.dispatch({selection:{anchor:i}},{scrollIntoView:!this.curOp}),this.curOp&&!this.curOp.isVimOp&&this.onBeforeEndOperation()}getCursor(e){var r=this.cm6.state.selection.main,i=e=="head"||!e?r.head:e=="anchor"?r.anchor:e=="start"?r.from:e=="end"?r.to:null;if(i==null)throw new Error("Invalid cursor type");return this.posFromIndex(i)}listSelections(){var e=this.cm6.state.doc;return this.cm6.state.selection.ranges.map(r=>({anchor:hn(e,r.anchor),head:hn(e,r.head)}))}setSelections(e,r){var i=this.cm6.state.doc,n=e.map(o=>ce.range(Oi(i,o.anchor),Oi(i,o.head)));this.cm6.dispatch({selection:ce.create(n,r)})}setSelection(e,r,i){var n=this.cm6.state.doc,o=[ce.range(Oi(n,e),Oi(n,r))];this.cm6.dispatch({selection:ce.create(o,0)}),i&&i.origin=="*mouse"&&this.onBeforeEndOperation()}getLine(e){var r=this.cm6.state.doc;return e<0||e>=r.lines?"":this.cm6.state.doc.line(e+1).text}getLineHandle(e){return this.$lineHandleChanges||(this.$lineHandleChanges=[]),{row:e,index:this.indexFromPos(new dn(e,0))}}getLineNumber(e){var r=this.$lineHandleChanges;if(!r)return null;for(var i=e.index,n=0;n<r.length;n++)if(i=r[n].changes.mapPos(i,1,qt.TrackAfter),i==null)return null;var o=this.posFromIndex(i);return o.ch==0?o.line:null}releaseLineHandles(){this.$lineHandleChanges=void 0}getRange(e,r){var i=this.cm6.state.doc;return this.cm6.state.sliceDoc(Oi(i,e),Oi(i,r))}replaceRange(e,r,i){i||(i=r);var n=this.cm6.state.doc,o=Oi(n,r),s=Oi(n,i);Jh(this,{changes:{from:o,to:s,insert:e}})}replaceSelection(e){Jh(this,this.cm6.state.replaceSelection(e))}replaceSelections(e){var r=this.cm6.state.selection.ranges,i=r.map((n,o)=>({from:n.from,to:n.to,insert:e[o]||""}));Jh(this,{changes:i})}getSelection(){return this.getSelections().join(`
`)}getSelections(){var e=this.cm6;return e.state.selection.ranges.map(r=>e.state.sliceDoc(r.from,r.to))}somethingSelected(){return this.cm6.state.selection.ranges.some(e=>!e.empty)}getInputField(){return this.cm6.contentDOM}clipPos(e){var r=this.cm6.state.doc,i=e.ch,n=e.line+1;n<1&&(n=1,i=0),n>r.lines&&(n=r.lines,i=Number.MAX_VALUE);var o=r.line(n);return i=Math.min(Math.max(0,i),o.to-o.from),new dn(n-1,i)}getValue(){return this.cm6.state.doc.toString()}setValue(e){var r=this.cm6;return r.dispatch({changes:{from:0,to:r.state.doc.length,insert:e},selection:ce.range(0,0)})}focus(){return this.cm6.focus()}blur(){return this.cm6.contentDOM.blur()}defaultTextHeight(){return this.cm6.defaultLineHeight}findMatchingBracket(e){var r=this.cm6.state,i=Oi(r.doc,e),n=cn(r,i+1,-1);return n&&n.end?{to:hn(r.doc,n.end.from)}:(n=cn(r,i,1),n&&n.end?{to:hn(r.doc,n.end.from)}:{to:void 0})}scanForBracket(e,r,i,n){return soe(this,e,r,i,n)}indentLine(e,r){r?this.indentMore():this.indentLess()}indentMore(){Zh(this.cm6)}indentLess(){Yh(this.cm6)}execCommand(e){if(e=="indentAuto")t.commands.indentAuto(this);else if(e=="goLineLeft")Dh(this.cm6);else if(e=="goLineRight"){Mh(this.cm6);let r=this.cm6.state,i=r.selection.main.head;i<r.doc.length&&r.sliceDoc(i,i+1)!==`
`&&DO(this.cm6)}else console.log(e+" is not implemented")}setBookmark(e,r){var i=r!=null&&r.insertLeft?1:-1,n=this.indexFromPos(e),o=new a5(this,n,i);return o}addOverlay({query:e}){let r=new Yc({regexp:!0,search:e.source,caseSensitive:!/i/.test(e.flags)});if(r.valid){r.forVim=!0,this.cm6Query=r;let i=is.of(r);return this.cm6.dispatch({effects:i}),r}}removeOverlay(e){if(!this.cm6Query)return;this.cm6Query.forVim=!1;let r=is.of(this.cm6Query);this.cm6.dispatch({effects:r})}getSearchCursor(e,r){var i=this,n=null,o=null;r.ch==null&&(r.ch=Number.MAX_VALUE);var s=Oi(i.cm6.state.doc,r),a=e.source.replace(/(\\.|{(?:\d+(?:,\d*)?|,\d+)})|[{}]/g,function(d,p){return p||"\\"+d});function l(d,p=0,O=d.length){return new Zc(d,a,{ignoreCase:e.ignoreCase},p,O)}function c(d){var p=i.cm6.state.doc;if(d>p.length)return null;let O=l(p,d).next();return O.done?null:O.value}var u=1e4;function f(d,p){var O=i.cm6.state.doc;for(let w=1;;w++){let x=Math.max(d,p-w*u),k=l(O,x,p),C=null;for(;!k.next().done;)C=k.value;if(C&&(x==d||C.from>x+10))return C;if(x==d)return null}}return{findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(d){var p=i.cm6.state.doc;if(d){let O=n?n.from==n.to?n.to-1:n.from:s;n=f(0,O)}else{let O=n?n.from==n.to?n.to+1:n.to:s;n=c(O)}return o=n&&{from:hn(p,n.from),to:hn(p,n.to),match:n.match},n&&n.match},from:function(){return o==null?void 0:o.from},to:function(){return o==null?void 0:o.to},replace:function(d){n&&(Jh(i,{changes:{from:n.from,to:n.to,insert:d}}),n.to=n.from+d.length,o&&(o.to=hn(i.cm6.state.doc,n.to)))}}}findPosV(e,r,i,n){let{cm6:o}=this,s=o.state.doc,a=i=="page"?o.dom.clientHeight:0,l=Oi(s,e),c=ce.range(l,l,n),u=Math.round(Math.abs(r));for(let d=0;d<u;d++)i=="page"?c=o.moveVertically(c,r>0,a):i=="line"&&(c=o.moveVertically(c,r>0));let f=hn(s,c.head);return(r<0&&c.head==0&&n!=0&&e.line==0&&e.ch!=0||r>0&&c.head==s.length&&f.ch!=n&&e.line==f.line)&&(f.hitSide=!0),f}charCoords(e,r){var i=this.cm6.contentDOM.getBoundingClientRect(),n=Oi(this.cm6.state.doc,e),o=this.cm6.coordsAtPos(n),s=-i.top;return{left:((o==null?void 0:o.left)||0)-i.left,top:((o==null?void 0:o.top)||0)+s,bottom:((o==null?void 0:o.bottom)||0)+s}}coordsChar(e,r){var i=this.cm6.contentDOM.getBoundingClientRect(),n=this.cm6.posAtCoords({x:e.left+i.left,y:e.top+i.top})||0;return hn(this.cm6.state.doc,n)}getScrollInfo(){var e=this.cm6.scrollDOM;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight,width:e.scrollWidth,clientHeight:e.clientHeight,clientWidth:e.clientWidth}}scrollTo(e,r){e!=null&&(this.cm6.scrollDOM.scrollLeft=e),r!=null&&(this.cm6.scrollDOM.scrollTop=r)}scrollIntoView(e,r){if(e){var i=this.indexFromPos(e);this.cm6.dispatch({effects:xe.scrollIntoView(i)})}else this.cm6.dispatch({scrollIntoView:!0,userEvent:"scroll"})}getWrapperElement(){return this.cm6.dom}getMode(){return{name:this.getOption("mode")}}setSize(e,r){this.cm6.dom.style.width=e+4+"px",this.cm6.dom.style.height=r+"px",this.refresh()}refresh(){this.cm6.measure()}destroy(){this.removeOverlay()}getLastEditEnd(){return this.posFromIndex(this.$lastChangeEndOffset)}onChange(e){this.$lineHandleChanges&&this.$lineHandleChanges.push(e);for(let i in this.marks)this.marks[i].update(e.changes);this.virtualSelection&&(this.virtualSelection.ranges=this.virtualSelection.ranges.map(i=>i.map(e.changes)));var r=this.curOp=this.curOp||{};e.changes.iterChanges((i,n,o,s,a)=>{(r.$changeStart==null||r.$changeStart>o)&&(r.$changeStart=o),this.$lastChangeEndOffset=s;var l={text:a.toJSON()};r.lastChange?r.lastChange.next=r.lastChange=l:r.lastChange=r.change=l},!0),r.changeHandlers||(r.changeHandlers=this._handlers.change&&this._handlers.change.slice())}onSelectionChange(){var e=this.curOp=this.curOp||{};e.cursorActivityHandlers||(e.cursorActivityHandlers=this._handlers.cursorActivity&&this._handlers.cursorActivity.slice()),this.curOp.cursorActivity=!0}operation(e){this.curOp||(this.curOp={$d:0}),this.curOp.$d++;try{var r=e()}finally{this.curOp&&(this.curOp.$d--,this.curOp.$d||this.onBeforeEndOperation())}return r}onBeforeEndOperation(){var e=this.curOp,r=!1;e&&(e.change&&wX(e.changeHandlers,this,e.change),e&&e.cursorActivity&&(wX(e.cursorActivityHandlers,this,null),e.isVimOp&&(r=!0)),this.curOp=null),r&&this.scrollIntoView()}moveH(e,r){if(r=="char"){var i=this.getCursor();this.setCursor(i.line,i.ch+e)}}setOption(e,r){switch(e){case"keyMap":this.state.keyMap=r;break;case"textwidth":this.state.textwidth=r;break}}getOption(e){switch(e){case"firstLineNumber":return 1;case"tabSize":return this.cm6.state.tabSize||4;case"readonly":return this.cm6.state.readOnly;case"indentWithTabs":return this.cm6.state.facet(Qn)==" ";case"indentUnit":return this.cm6.state.facet(Qn).length||2;case"textwidth":return this.state.textwidth;case"keyMap":return this.state.keyMap||"vim"}}toggleOverwrite(e){this.state.overwrite=e}getTokenTypeAt(e){var r,i=this.indexFromPos(e),n=T4(this.cm6.state,i),o=n==null?void 0:n.resolve(i),s=((r=o==null?void 0:o.type)===null||r===void 0?void 0:r.name)||"";return/comment/i.test(s)?"comment":/string/i.test(s)?"string":""}overWriteSelection(e){var r=this.cm6.state.doc,i=this.cm6.state.selection,n=i.ranges.map(o=>{if(o.empty){var s=o.to<r.length?r.sliceString(o.from,o.to+1):"";if(s&&!/\n/.test(s))return ce.range(o.from,o.to+1)}return o});this.cm6.dispatch({selection:ce.create(n,i.mainIndex)}),this.replaceSelection(e)}isInMultiSelectMode(){return this.cm6.state.selection.ranges.length>1}virtualSelectionMode(){return!!this.virtualSelection}forEachSelection(e){var r=this.cm6.state.selection;this.virtualSelection=ce.create(r.ranges,r.mainIndex);for(var i=0;i<this.virtualSelection.ranges.length;i++){var n=this.virtualSelection.ranges[i];n&&(this.cm6.dispatch({selection:ce.create([n])}),e(),this.virtualSelection.ranges[i]=this.cm6.state.selection.ranges[0])}this.cm6.dispatch({selection:this.virtualSelection}),this.virtualSelection=null}hardWrap(e){return coe(this,e)}};mt.isMac=typeof navigator!="undefined"&&/Mac/.test(navigator.platform);mt.Pos=dn;mt.StringStream=kc;mt.commands={cursorCharLeft:function(t){Ih(t.cm6)},redo:function(t){xX(t,!1)},undo:function(t){xX(t,!0)},newlineAndIndent:function(t){Wh({state:t.cm6.state,dispatch:e=>Jh(t,e)})},indentAuto:function(t){Z$(t.cm6)}};mt.defineOption=function(t,e,r){};mt.isWordChar=function(t){return s5.test(t)};mt.keys=toe;mt.keyMap={};mt.addClass=function(){};mt.rmClass=function(){};mt.e_preventDefault=function(t){t.preventDefault()};mt.e_stop=function(t){var e,r;(e=t==null?void 0:t.stopPropagation)===null||e===void 0||e.call(t),(r=t==null?void 0:t.preventDefault)===null||r===void 0||r.call(t)};mt.keyName=function(t){var e=t.key;if(!CX[e]){e=="Escape"&&(e="Esc"),e==" "&&(e="Space"),e.length>1&&(e=e.replace(/Numpad|Arrow/,"")),e.length==1&&(e=e.toUpperCase());var r="";return t.ctrlKey&&(r+="Ctrl-"),t.altKey&&(r+="Alt-"),(r||e.length>1)&&t.shiftKey&&(r+="Shift-"),r+=e,r}};mt.vimKey=function(e){var r=e.key;if(!CX[r]){r.length>1&&r[0]=="n"&&(r=r.replace("Numpad","")),r=eoe[r]||r;var i="";return e.ctrlKey&&(i+="C-"),e.altKey&&(i+="A-"),e.metaKey&&(i+="M-"),mt.isMac&&e.altKey&&!e.metaKey&&!e.ctrlKey&&(i=i.slice(2)),(i||r.length>1)&&e.shiftKey&&(i+="S-"),i+=r,i.length>1&&(i="<"+i+">"),i}};mt.lookupKey=function(e,r,i){var n=mt.keys[e];n&&i(n)};mt.on=SX;mt.off=TX;mt.signal=EX;mt.findMatchingTag=aoe;mt.findEnclosingTag=loe;function PX(t,e,r){var i=document.createElement("div");return i.appendChild(e),i}function QX(t,e){t.state.currentNotificationClose&&t.state.currentNotificationClose(),t.state.currentNotificationClose=e}function roe(t,e,r){QX(t,a);var i=PX(t,e,r&&r.bottom),n=!1,o,s=r&&typeof r.duration!="undefined"?r.duration:5e3;function a(){n||(n=!0,clearTimeout(o),i.remove(),AX(t,i))}return i.onclick=function(l){l.preventDefault(),a()},_X(t,i),s&&(o=setTimeout(a,s)),a}function _X(t,e){var r=t.state.dialog;t.state.dialog=e,e&&r!==e&&(r&&r.contains(document.activeElement)&&t.focus(),r&&r.parentElement?r.parentElement.replaceChild(e,r):r&&r.remove(),mt.signal(t,"dialog"))}function AX(t,e){t.state.dialog==e&&(t.state.dialog=null,mt.signal(t,"dialog"))}function ioe(t,e,r,i){i||(i={}),QX(t,void 0);var n=PX(t,e,i.bottom),o=!1;_X(t,n);function s(l){if(typeof l=="string")a.value=l;else{if(o)return;o=!0,AX(t,n),t.state.dialog||t.focus(),i.onClose&&i.onClose(n)}}var a=n.getElementsByTagName("input")[0];return a&&(i.value&&(a.value=i.value,i.selectValueOnOpen!==!1&&a.select()),i.onInput&&mt.on(a,"input",function(l){i.onInput(l,a.value,s)}),i.onKeyUp&&mt.on(a,"keyup",function(l){i.onKeyUp(l,a.value,s)}),mt.on(a,"keydown",function(l){i&&i.onKeyDown&&i.onKeyDown(l,a.value,s)||(l.keyCode==13&&r(a.value),(l.keyCode==27||i.closeOnEnter!==!1&&l.keyCode==13)&&(a.blur(),mt.e_stop(l),s()))}),i.closeOnBlur!==!1&&mt.on(a,"blur",function(){setTimeout(function(){document.activeElement!==a&&s()})}),a.focus()),s}var noe={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function ooe(t){return t&&t.bracketRegex||/[(){}[\]]/}function soe(t,e,r,i,n){for(var o=n&&n.maxScanLineLength||1e4,s=n&&n.maxScanLines||1e3,a=[],l=ooe(n),c=r>0?Math.min(e.line+s,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-s),u=e.line;u!=c;u+=r){var f=t.getLine(u);if(f){var d=r>0?0:f.length-1,p=r>0?f.length:-1;if(!(f.length>o))for(u==e.line&&(d=e.ch-(r<0?1:0));d!=p;d+=r){var O=f.charAt(d);if(l.test(O)){var w=noe[O];if(w&&w.charAt(1)==">"==r>0)a.push(O);else if(a.length)a.pop();else return{pos:new dn(u,d),ch:O}}}}}return u-r==(r>0?t.lastLine():t.firstLine())?!1:null}function aoe(t,e){}function loe(t,e){var r,i,n=t.cm6.state,o=t.indexFromPos(e);if(o<n.doc.length){var s=n.sliceDoc(o,o+1);s=="<"&&o++}for(var a=T4(n,o),l=(a==null?void 0:a.resolve(o))||null;l;){if(((r=l.firstChild)===null||r===void 0?void 0:r.type.name)=="OpenTag"&&((i=l.lastChild)===null||i===void 0?void 0:i.type.name)=="CloseTag")return{open:kX(n.doc,l.firstChild),close:kX(n.doc,l.lastChild)};l=l.parent}}function kX(t,e){return{from:hn(t,e.from),to:hn(t,e.to)}}var a5=class{constructor(e,r,i){this.cm=e,this.id=e.$mid++,this.offset=r,this.assoc=i,e.marks[this.id]=this}clear(){delete this.cm.marks[this.id]}find(){return this.offset==null?null:this.cm.posFromIndex(this.offset)}update(e){this.offset!=null&&(this.offset=e.mapPos(this.offset,this.assoc,qt.TrackDel))}};function coe(t,e){for(var r=e.column||t.getOption("textwidth")||80,i=e.allowMerge!=!1,n=Math.min(e.from,e.to),o=Math.max(e.from,e.to);n<=o;){var s=t.getLine(n);if(s.length>r){var a=p(s,r,5);if(a){var l=/^\s*/.exec(s)[0];t.replaceRange(`
`+l,new dn(n,a.start),new dn(n,a.end))}o++}else if(i&&/\S/.test(s)&&n!=o){var c=t.getLine(n+1);if(c&&/\S/.test(c)){var u=s.replace(/\s+$/,""),f=c.replace(/^\s+/,""),d=u+" "+f,a=p(d,r,5);a&&a.start>u.length||d.length<r?(t.replaceRange(" ",new dn(n,u.length),new dn(n+1,c.length-f.length)),n--,o--):u.length<s.length&&t.replaceRange("",new dn(n,u.length),new dn(n,s.length))}}n++}return n;function p(O,w,x){if(!(O.length<w)){var k=O.slice(0,w),C=O.slice(w),R=/^(?:(\s+)|(\S+)(\s+))/.exec(C),Q=/(?:(\s+)|(\s+)(\S+))$/.exec(k),z=0,L=0;if(Q&&!Q[2]&&(z=w-Q[1].length,L=w),R&&!R[2]&&(z||(z=w),L=w+R[1].length),z)return{start:z,end:L};if(Q&&Q[2]&&Q.index>x)return{start:Q.index,end:Q.index+Q[2].length};if(R&&R[2])return z=w+R[2].length,{start:z,end:z+R[3].length}}}}var l5=iP||function(){let t={cursorBlinkRate:1200};return function(){return t}}(),c5=class{constructor(e,r,i,n,o,s,a,l,c,u){this.left=e,this.top=r,this.height=i,this.fontFamily=n,this.fontSize=o,this.fontWeight=s,this.color=a,this.className=l,this.letter=c,this.partial=u}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",e.style.height=this.height+"px",e.style.lineHeight=this.height+"px",e.style.fontFamily=this.fontFamily,e.style.fontSize=this.fontSize,e.style.fontWeight=this.fontWeight,e.style.color=this.partial?"transparent":this.color,e.className=this.className,e.textContent=this.letter}eq(e){return this.left==e.left&&this.top==e.top&&this.height==e.height&&this.fontFamily==e.fontFamily&&this.fontSize==e.fontSize&&this.fontWeight==e.fontWeight&&this.color==e.color&&this.className==e.className&&this.letter==e.letter}},u5=class{constructor(e,r){this.view=e,this.rangePieces=[],this.cursors=[],this.cm=r,this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.cursorLayer=e.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer cm-vimCursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),e.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){let r=l5(this.cm.cm6.state).cursorBlinkRate;this.cursorLayer.style.animationDuration=r+"ms"}update(e){(e.selectionSet||e.geometryChanged||e.viewportChanged)&&(this.view.requestMeasure(this.measureReq),this.cursorLayer.style.animationName=this.cursorLayer.style.animationName=="cm-blink"?"cm-blink2":"cm-blink"),uoe(e)&&this.setBlinkRate()}scheduleRedraw(){this.view.requestMeasure(this.measureReq)}readPos(){let{state:e}=this.view,r=[];for(let i of e.selection.ranges){let n=i==e.selection.main,o=poe(this.cm,this.view,i,n);o&&r.push(o)}return{cursors:r}}drawSel({cursors:e}){if(e.length!=this.cursors.length||e.some((r,i)=>!r.eq(this.cursors[i]))){let r=this.cursorLayer.children;if(r.length!==e.length){this.cursorLayer.textContent="";for(let i of e)this.cursorLayer.appendChild(i.draw())}else e.forEach((i,n)=>i.adjust(r[n]));this.cursors=e}}destroy(){this.cursorLayer.remove()}};function uoe(t){return l5(t.startState)!=l5(t.state)}var foe={".cm-vimMode .cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-fat-cursor":{position:"absolute",background:"#ff9696",border:"none",whiteSpace:"pre"},"&:not(.cm-focused) .cm-fat-cursor":{background:"none",outline:"solid 1px #ff9696",color:"transparent !important"}},hoe=cr.highest(xe.theme(foe));function doe(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==Ct.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function poe(t,e,r,i){var n,o;let s=r.head,a=!1,l=1,c=t.state.vim;if(c&&(!c.insertMode||t.state.overwrite)){if(a=!0,c.visualBlock&&!i)return null;r.anchor<r.head&&s--,t.state.overwrite?l=.2:c.status&&(l=.5)}if(a){let f=s<e.state.doc.length&&e.state.sliceDoc(s,s+1);f&&/[\uDC00-\uDFFF]/.test(f)&&s>1&&(s--,f=e.state.sliceDoc(s,s+1));let d=e.coordsAtPos(s,1);if(!d)return null;let p=doe(e),O=e.domAtPos(s),w=O?O.node:e.contentDOM;for(;O&&O.node instanceof HTMLElement;)w=O.node,O={node:O.node.childNodes[O.offset],offset:0};if(!(w instanceof HTMLElement)){if(!w.parentNode)return null;w=w.parentNode}let x=getComputedStyle(w),k=d.left,C=(o=(n=e).coordsForChar)===null||o===void 0?void 0:o.call(n,s);if(C&&(k=C.left),!f||f==`
`||f=="\r")f="\xA0";else if(f==" "){f="\xA0";var u=e.coordsAtPos(s+1,-1);u&&(k=u.left-(u.left-d.left)/parseInt(x.tabSize))}else/[\uD800-\uDBFF]/.test(f)&&s<e.state.doc.length-1&&(f+=e.state.sliceDoc(s+1,s+2));let R=d.bottom-d.top;return new c5(k-p.left,d.top-p.top+R*(1-l),R*l,x.fontFamily,x.fontSize,x.fontWeight,x.color,i?"cm-fat-cursor cm-cursor-primary":"cm-fat-cursor cm-cursor-secondary",f,l!=1)}else return null}var moe=typeof navigator!="undefined"&&/linux/i.test(navigator.platform)&&/ Gecko\/\d+/.exec(navigator.userAgent),Kh=Jne(mt),Ooe=250,goe=xe.baseTheme({".cm-vimMode .cm-cursorLayer:not(.cm-vimCursorLayer)":{display:"none"},".cm-vim-panel":{padding:"0px 10px",fontFamily:"monospace",minHeight:"1.3em"},".cm-vim-panel input":{border:"none",outline:"none",backgroundColor:"inherit"},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"}}),boe=dt.fromClass(class{constructor(t){this.status="",this.query=null,this.decorations=Le.none,this.waitForCopy=!1,this.lastKeydown="",this.useNextTextInput=!1,this.view=t;let e=this.cm=new mt(t);Kh.enterVimMode(this.cm),this.view.cm=this.cm,this.cm.state.vimPlugin=this,this.blockCursor=new u5(t,e),this.updateClass(),this.cm.on("vim-command-done",()=>{e.state.vim&&(e.state.vim.status=""),this.blockCursor.scheduleRedraw(),this.updateStatus()}),this.cm.on("vim-mode-change",r=>{e.state.vim.mode=r.mode,r.subMode&&(e.state.vim.mode+=" block"),e.state.vim.status="",this.blockCursor.scheduleRedraw(),this.updateClass(),this.updateStatus()}),this.cm.on("dialog",()=>{this.cm.state.statusbar?this.updateStatus():t.dispatch({effects:RX.of(!!this.cm.state.dialog)})}),this.dom=document.createElement("span"),this.dom.style.cssText="position: absolute; right: 10px; top: 1px",this.statusButton=document.createElement("span"),this.statusButton.onclick=r=>{Kh.handleKey(this.cm,"<Esc>","user"),this.cm.focus()},this.statusButton.style.cssText="cursor: pointer"}update(t){var e;if((t.viewportChanged||t.docChanged)&&this.query&&this.highlight(this.query),t.docChanged&&this.cm.onChange(t),t.selectionSet&&this.cm.onSelectionChange(),t.viewportChanged,this.cm.curOp&&!this.cm.curOp.isVimOp&&this.cm.onBeforeEndOperation(),t.transactions){for(let r of t.transactions)for(let i of r.effects)if(i.is(is))if(!((e=i.value)===null||e===void 0?void 0:e.forVim))this.highlight(null);else{let o=i.value.create();this.highlight(o)}}this.blockCursor.update(t)}updateClass(){let t=this.cm.state;!t.vim||t.vim.insertMode&&!t.overwrite?this.view.scrollDOM.classList.remove("cm-vimMode"):this.view.scrollDOM.classList.add("cm-vimMode")}updateStatus(){let t=this.cm.state.statusbar,e=this.cm.state.vim;if(!t||!e)return;let r=this.cm.state.dialog;if(r)r.parentElement!=t&&(t.textContent="",t.appendChild(r));else{t.textContent="";var i=(e.mode||"normal").toUpperCase();e.insertModeReturn&&(i+="(C-O)"),this.statusButton.textContent=`--${i}--`,t.appendChild(this.statusButton)}this.dom.textContent=e.status,t.appendChild(this.dom)}destroy(){Kh.leaveVimMode(this.cm),this.updateClass(),this.blockCursor.destroy(),delete this.view.cm}highlight(t){if(this.query=t,!t)return this.decorations=Le.none;let{view:e}=this,r=new zi;for(let i=0,n=e.visibleRanges,o=n.length;i<o;i++){let{from:s,to:a}=n[i];for(;i<o-1&&a>n[i+1].from-2*Ooe;)a=n[++i].to;t.highlight(e.state,s,a,(l,c)=>{r.add(l,c,voe)})}return this.decorations=r.finish()}handleKey(t,e){let r=mt.vimKey(t),i=this.cm;if(!r)return;let n=i.state.vim;if(!n)return;if(r=="<Esc>"&&!n.insertMode&&!n.visualMode&&this.query){let a=n.searchState_;a&&(i.removeOverlay(a.getOverlay()),a.setOverlay(null))}if(r==="<C-c>"&&!mt.isMac&&i.somethingSelected())return this.waitForCopy=!0,!0;n.status=(n.status||"")+r;let s=Kh.multiSelectHandleKey(i,r,"user");return n=i.state.vim,!s&&n.insertMode&&i.state.overwrite&&(t.key&&t.key.length==1&&!/\n/.test(t.key)?(s=!0,i.overWriteSelection(t.key)):t.key=="Backspace"&&(s=!0,mt.commands.cursorCharLeft(i))),s&&(mt.signal(this.cm,"vim-keypress",r),t.preventDefault(),t.stopPropagation(),this.blockCursor.scheduleRedraw()),this.updateStatus(),!!s}},{eventHandlers:{copy:function(t,e){this.waitForCopy&&(this.waitForCopy=!1,Promise.resolve().then(()=>{var r=this.cm,i=r.state.vim;i&&(i.insertMode?r.setSelection(r.getCursor(),r.getCursor()):r.operation(()=>{r.curOp&&(r.curOp.isVimOp=!0),Kh.handleKey(r,"<Esc>","user")}))}))},compositionstart:function(t,e){this.useNextTextInput=!0},keypress:function(t,e){this.lastKeydown=="Dead"&&this.handleKey(t,e)},keydown:function(t,e){this.lastKeydown=t.key,this.lastKeydown=="Unidentified"||this.lastKeydown=="Process"||this.lastKeydown=="Dead"?this.useNextTextInput=!0:(this.useNextTextInput=!1,this.handleKey(t,e))}},provide:()=>[xe.inputHandler.of((t,e,r,i)=>{var n,o,s=Soe(t);if(!s)return!1;var a=(n=s.state)===null||n===void 0?void 0:n.vim,l=s.state.vimPlugin;if(a&&!a.insertMode&&!(!((o=s.curOp)===null||o===void 0)&&o.isVimOp)){if(i==="\0\0")return!0;if(i.length==1&&l.useNextTextInput)return l.handleKey({key:i,preventDefault:()=>{},stopPropagation:()=>{}}),yoe(t),!0}return!1})],decorations:t=>t.decorations});function yoe(t){var e=t.scrollDOM.parentElement;if(e){if(moe){t.contentDOM.textContent="\0\0",t.contentDOM.dispatchEvent(new CustomEvent("compositionend"));return}var r=t.scrollDOM.nextSibling,i=window.getSelection(),n=i&&{anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset};t.scrollDOM.remove(),e.insertBefore(t.scrollDOM,r);try{n&&i&&(i.setPosition(n.anchorNode,n.anchorOffset),n.focusNode&&i.extend(n.focusNode,n.focusOffset))}catch(o){console.error(o)}t.focus(),t.contentDOM.dispatchEvent(new CustomEvent("compositionend"))}}var voe=Le.mark({class:"cm-searchMatch"}),RX=De.define(),woe=Ot.define({create:()=>!1,update(t,e){for(let r of e.effects)r.is(RX)&&(t=r.value);return t},provide:t=>an.from(t,e=>e?xoe:null)});function xoe(t){let e=document.createElement("div");e.className="cm-vim-panel";let r=t.cm;return r.state.dialog&&e.appendChild(r.state.dialog),{top:!1,dom:e}}function koe(t){let e=document.createElement("div");e.className="cm-vim-panel";let r=t.cm;return r.state.statusbar=e,r.state.vimPlugin.updateStatus(),{dom:e}}function $X(t={}){return[goe,boe,hoe,t.status?an.of(koe):woe]}function Soe(t){return t.cm||null}var h5=class{constructor(e,r,i,n,o,s){this.left=e,this.top=r,this.height=i,this.className=n,this.letter=o,this.partial=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",e.style.height=this.height+"px",e.style.lineHeight=this.height+"px",e.style.color=this.partial?"transparent":"",e.className=this.className,e.textContent=this.letter}eq(e){return this.left==e.left&&this.top==e.top&&this.letter==e.letter&&this.height==e.height&&this.className==e.className}},d5=class{constructor(e){this.view=e,this.rangePieces=[],this.cursors=[],this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.cursorLayer=e.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer cm-vimCursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),e.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){this.cursorLayer.style.animationDuration="1200ms"}update(e){(e.selectionSet||e.geometryChanged||e.viewportChanged)&&(this.view.requestMeasure(this.measureReq),this.cursorLayer.style.animationName=this.cursorLayer.style.animationName=="cm-blink"?"cm-blink2":"cm-blink")}scheduleRedraw(){this.view.requestMeasure(this.measureReq)}readPos(){let{state:e}=this.view,r=[];for(let i of e.selection.ranges){let n=i==e.selection.main,o=Poe(null,this.view,i,n);o&&r.push(o)}return{cursors:r}}drawSel({cursors:e}){if(e.length!=this.cursors.length||e.some((r,i)=>!r.eq(this.cursors[i]))){let r=this.cursorLayer.children;if(r.length!==e.length){this.cursorLayer.textContent="";for(let i of e)this.cursorLayer.appendChild(i.draw())}else e.forEach((i,n)=>i.adjust(r[n]));this.cursors=e}}destroy(){this.cursorLayer.remove()}},Toe={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-fat-cursor":{position:"absolute",background:"#ff9696",border:"none",whiteSpace:"pre"},"&:not(.cm-focused) .cm-fat-cursor":{background:"none",outline:"solid 1px #ff9696"}},Eoe=cr.highest(xe.theme(Toe));function Coe(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==Ct.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function Poe(t,e,r,i){let n=r.head;var o=1;let s=e.coordsAtPos(n,1);if(!s)return null;let a=Coe(e),l=n<e.state.doc.length&&e.state.sliceDoc(n,n+1);(!l||l==`
`||l=="\r")&&(l="\xA0");let c=s.bottom-s.top;return new h5(s.left-a.left,s.top-a.top+c*(1-o),c*o,i?"cm-fat-cursor cm-cursor-primary":"cm-fat-cursor cm-cursor-secondary",l,o!=1)}var Qoe=xe.theme({".cm-emacsMode .cm-cursorLayer:not(.cm-vimCursorLayer)":{display:"none"},".cm-vim-panel":{padding:"5px 10px",backgroundColor:"#fffa8f",fontFamily:"monospace"},".cm-vim-panel input":{border:"none",outline:"none",backgroundColor:"#fffa8f"}}),_oe=dt.fromClass(class{constructor(t){this.status="",this.view=t,this.em=new ed(t),this.blockCursor=new d5(t),this.view.scrollDOM.classList.add("cm-emacsMode")}update(t){t.docChanged&&(this.em.$emacsMark=null,this.em.updateMarksOnChange(t.changes)),this.blockCursor.update(t)}destroy(){this.view.scrollDOM.classList.remove("cm-emacsMode"),this.blockCursor.destroy()}},{eventHandlers:{mousedown:function(){this.em.$emacsMark=null}},provide:t=>vr.of([{any:function(e,r){var i;return!!(!((i=e.plugin(t))===null||i===void 0)&&i.em.handleKeyboard(r))}}])}),Aoe=De.define(),Roe=Ot.define({create:()=>!1,update(t,e){for(let r of e.effects)r.is(Aoe)&&(t=r.value);return t},provide:t=>an.from(t,e=>e?$oe:null)});function $oe(t){let e=document.createElement("div");return e.className="cm-vim-panel",{top:!1,dom:e}}function IX(t={}){return[Qoe,_oe,Eoe,Roe]}var Xoe={Return:"Return",Escape:"Esc",Insert:"Ins",ArrowLeft:"Left",ArrowRight:"Right",ArrowUp:"Up",ArrowDown:"Down",Enter:"Return",Divide:"/",Slash:"/",Multiply:"*",Subtract:"-",Minus:"-",Equal:"="},Ioe={Shift:1,Alt:1,Command:1,Control:1,CapsLock:1},f5={},ed=class t{constructor(e){this.view=e,this.$data={count:0,keyChain:"",lastCommand:""},this.$emacsMarkRing=[],this.$emacsMark=null}static bindKey(e,r){e.split("|").forEach(function(i){let n="",o=i.split(/\s+/);o.forEach(function(s,a){let l=s.split(/-(?=.)/),c=l.pop();l.length&&(n+=l.sort().join("-")+"-"),n+=c,a===o.length-1?f5[n]=r:(f5[n]="null",n+=" ")})})}static getKey(e){var r=e.code,i=e.key;if(Ioe[i])return["","",""];r.length>1&&(r[0]=="N"&&(r=r.replace(/^Numpad/,"")),r[0]=="K"&&(r=r.replace(/^Key/,""))),r=Xoe[r]||r,r.length==1&&(r=r.toLowerCase());var n="";return e.ctrlKey&&(n+="C-"),e.metaKey&&(n+="CMD-"),e.altKey&&(n+="M-"),e.shiftKey&&(n+="S-"),[r,n,i]}static addCommands(e){Object.keys(e).forEach(function(r){var i=e[r];typeof i=="function"&&(i={exec:i}),t.commands[r]=i})}static execCommand(e,r,i,n=1){var o=void 0;if(typeof e=="function")for(var s=0;s<n;s++)e(r.view);else if(e!=="null")if(e.exec){n>1&&e.handlesCount&&(i||(i={}),typeof i=="object"&&(i.count=n),n=1);for(var s=0;s<n;s++)o=e.exec(r,i||{})}else throw new Error("missformed command");return o}handleKeyboard(e){var r=t.getKey(e),i=this.findCommand(r);if(i&&i.command){var n=t.execCommand(i.command,this,i.args,i.count);if(n===!1)return}return i}findCommand([e,r,i]){if(e){var n=this,o=this.$data;if(!r&&e.length==1&&(n.pushEmacsMark(),o.count)){var s=new Array(o.count+1).join(i);return o.count=null,{command:"insertstring",args:s}}if(r=="C-"||o.count){var c=parseInt(e[e.length-1]);if(typeof c=="number"&&!isNaN(c))return o.count=Math.max(o.count||0,0),o.count=10*o.count+c,{command:"null"}}r&&(e=r+e),o.keyChain&&(e=o.keyChain+=" "+e);var a=f5[e];if(o.keyChain=a=="null"?e:"",!!a){if(a==="null")return{command:"null"};if(a==="universalArgument")return o.count=-4,{command:"null"};var l;if(typeof a!="string"&&(l=a.args,a.command&&(a=a.command)),(a==="insertstring"||a===Fh||a===Rh)&&n.pushEmacsMark(),!(typeof a=="string"&&(a=t.commands[a],!a))){!a.readOnly&&!a.isYank&&(o.lastCommand=null);var c=o.count||1;return o.count&&(o.count=0),{command:a,args:l,count:c}}}}}showCommandLine(e){console.error("TODO")}updateMarksOnChange(e){this.$emacsMark&&(this.$emacsMark=this.updateMark(this.$emacsMark,e)),this.$emacsMarkRing=this.$emacsMarkRing.map(r=>this.updateMark(r,e)).filter(Boolean)}updateMark(e,r){if(e){var i=e.map(function(n){return r.mapPos(n,1,qt.TrackDel)}).filter(n=>n!=null);return i.length==0?null:i}}emacsMark(){return this.$emacsMark}setEmacsMark(e){this.$emacsMark=e}pushEmacsMark(e,r){var i=this.$emacsMark;i&&this.$emacsMarkRing.push(i),!e||r?this.setEmacsMark(e):this.$emacsMarkRing.push(e)}popEmacsMark(){var e=this.emacsMark();return e?(this.setEmacsMark(null),e):this.$emacsMarkRing.pop()}getLastEmacsMark(){return this.$emacsMark||this.$emacsMarkRing.slice(-1)[0]}getCopyText(){var e=this.view.state;return e.selection.ranges.map(r=>e.sliceDoc(r.from,r.to)).join(`
`)}clearSelection(){var e=this.view,r=e.state.selection,i=!r.ranges.some(o=>o.from!=o.to);if(i)return!1;var n=r.ranges.map(o=>ce.range(o.head,o.head));return e.dispatch({selection:ce.create(n,r.mainIndex)}),!0}onPaste(e){var r=this.view,i=r.state.selection,n;if(i.ranges.length>1){var o=e.split(`
`);o.length==i.ranges.length&&(n=o)}var s=0,a=r.state.changeByRange(l=>{var c=n?n[s]:e;return s++,{changes:{from:l.from,to:l.to,insert:c},range:ce.cursor(l.from+c.length)}});r.dispatch(a)}};ed.commands={};var XX={"Up|C-p":{command:"goOrSelect",args:[Lh,Nc]},"Down|C-n":{command:"goOrSelect",args:[zh,jc]},"Left|C-b":{command:"goOrSelect",args:[DO,zw]},"Right|C-f":{command:"goOrSelect",args:[E$,Lw]},"C-Left|M-b":{command:"goOrSelect",args:[UO,WO]},"C-Right|M-f":{command:"goOrSelect",args:[NO,ZO]},"Home|C-a":{command:"goOrSelect",args:[BO,Nh]},"End|C-e":{command:"goOrSelect",args:[VO,jh]},"C-Home|S-M-,":{command:"goOrSelect",args:[Bh,Bc]},"C-End|S-M-.":{command:"goOrSelect",args:[Vh,Vc]},"S-Up|S-C-p":Nc,"S-Down|S-C-n":jc,"S-Left|S-C-b":zw,"S-Right|S-C-f":Lw,"S-C-Left|S-M-b":$$,"S-C-Right|S-M-f":R$,"S-Home|S-C-a":Nh,"S-End|S-C-e":jh,"S-C-Home":Bc,"S-C-End":Vc,"C-l":"recenterTopBottom","M-s":"centerSelection","M-g":"gotoline","C-x C-p|C-x h":YO,"PageDown|C-v|C-Down":{command:"goOrSelect",args:[Uc,vl]},"PageUp|M-v|C-Up":{command:"goOrSelect",args:[Dc,vl]},"S-C-Down":vl,"S-C-Up":Uh,"C-s":Gc,"C-r":Gc,"M-C-s":"findnext","M-C-r":"findprevious","S-M-5":"replace",Backspace:qc,"Delete|C-d":qh,"Return|C-m":{command:"insertstring",args:`
`},"C-o":Fh,"M-d|C-Delete":{command:"killWord",args:"right"},"C-Backspace|M-Backspace|M-Delete":{command:"killWord",args:"left"},"C-k":"killLine","M-h":"selectParagraph","M-@|M-S-2":"markWord","C-y|S-Delete":"yank","M-y":"yankRotate","C-g":"keyboardQuit","C-w|C-S-w":"killRegion","M-w":"killRingSave","C-Space":"setMark","C-x C-x":"exchangePointAndMark","C-t":GO,"M-u":{command:"changeCase",args:{dir:1}},"M-l":{command:"changeCase",args:{dir:-1}},"C-x C-u":{command:"changeCase",args:{dir:1,region:!0}},"C-x C-l":{command:"changeCase",args:{dir:1,region:!0}},"M-/":lh,"C-u":"universalArgument","M-;":Rh,"C-/|C-x u|S-C--|C-z":bl,"S-C-/|S-C-x u|C--|S-C-z":ca,"C-x r":"selectRectangularRegion","M-x":{command:"focusCommandLine",args:"M-x "},Esc:"unsetTransientMark"};for(let t in XX)XX[t];var ns=class t{constructor(e=[]){this.ops=e}retain(e){return e<=0?this:this.append({retain:e})}insert(e){return e===""?this:this.append({insert:e})}delete(e){return e<=0?this:this.append({delete:e})}append(e){if(this.ops.length===0)return this.ops.push(e),this;let r=this.ops.pop();return Ci(e)&&Pi(r)?this.append(e).append(r):Ci(e)&&Ci(r)?(this.ops.push({insert:r.insert+e.insert}),this):Pi(e)&&Pi(r)?(this.ops.push({delete:r.delete+e.delete}),this):$n(e)&&$n(r)?(this.ops.push({retain:r.retain+e.retain}),this):(this.ops.push(r,e),this)}compose(e){let r=new xl(this.ops),i=new xl(e.ops),n=new t;for(;r.hasNext()||i.hasNext();)if(Ci(i.peek()))n.append(i.next());else if(Pi(r.peek()))n.append(r.next());else{let o=Math.min(r.peekLength(),i.peekLength()),s=r.next(o),a=i.next(o);$n(a)?n.append(s):Pi(a)&&$n(s)&&n.append(a)}return n._trim()}transform(e,r){if(r!=="left"&&r!=="right")throw new Error(`Invalid priority "${r}", should be either "left" or "right"`);let i=new xl(this.ops),n=new xl(e.ops),o=new t;for(;i.hasNext()||n.hasNext();)if(Ci(i.peek())&&(!Ci(n.peek())||r==="left")){let s=fg(i.next());o.retain(s)}else if(Ci(n.peek()))o.append(n.next());else{let s=Math.min(i.peekLength(),n.peekLength()),a=i.next(s),l=n.next(s);if(Pi(a))continue;Pi(l)?o.append(l):o.retain(s)}return o._trim()}_trim(){return this.ops.length>0&&$n(this.ops[this.ops.length-1])&&this.ops.pop(),this}transformPosition(e){let r=new xl(this.ops),i=0;for(;r.hasNext()&&i<e;){let n=r.next(),o=fg(n);Pi(n)?e-=Math.min(o,e-i):(Ci(n)&&(e+=o),i+=o)}return e}toCompressed(){return this.ops.map(e=>{if(Ci(e))return e.insert;if($n(e))return e.retain;if(Pi(e))return-e.delete;throw new Error(`Invalid operation ${e}`)})}static fromCompressed(e){return e.reduce((r,i)=>{if(typeof i=="string")return r.insert(i);if(typeof i=="number"&&i>=0)return r.retain(i);if(typeof i=="number"&&i<0)return r.delete(-i);throw new Error(`Invalid compressed operation ${i}`)},new this)}applyToString(e){let r="",i=0;return this.ops.forEach(n=>{$n(n)&&(r+=e.slice(i,i+n.retain),i+=n.retain),Ci(n)&&(r+=n.insert),Pi(n)&&(i+=n.delete)}),r+=e.slice(i),r}},xl=class{constructor(e){this.ops=e,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(e=1/0){let r=this.ops[this.index];if(r){let i=this.offset,n=fg(r);if(e>=n-i?(e=n-i,this.index+=1,this.offset=0):this.offset+=e,Pi(r))return{delete:e};if($n(r))return{retain:e};if(Ci(r))return{insert:r.insert.substr(i,e)}}else return{retain:e}}peek(){return this.ops[this.index]||{retain:1/0}}peekLength(){return this.ops[this.index]?fg(this.ops[this.index])-this.offset:1/0}};function fg(t){if(Ci(t))return t.insert.length;if($n(t))return t.retain;if(Pi(t))return t.delete}function Ci(t){return typeof t.insert=="string"}function $n(t){return typeof t.retain=="number"}function Pi(t){return typeof t.delete=="number"}var MX=Re.define({combine(t){return Ft(t,{})}}),LX=Kr.define(),Loe=dt.fromClass(class{constructor(t){let{collabClient:e}=t.state.facet(MX);this.collabClient=e,this.deltaSubscription=e.onDelta((r,{remote:i})=>{if(i)return t.dispatch({changes:p5(r),selection:ma(t.state.selection,r),annotations:[Jt.addToHistory.of(!1),Jt.remote.of(!0),LX.of(!0)],filter:!1})})}update(t){if(!t.transactions.some(r=>r.annotation(LX))){if(t.docChanged){let r=zoe(t.changes),i=zX(t);this.collabClient.handleClientDelta(r,i)}else if(t.focusChanged||!t.state.selection.eq(t.startState.selection)){let r=zX(t);this.collabClient.handleClientSelection(r)}}}destroy(){this.deltaSubscription.destroy()}});function p5(t){let e=[],r=0;for(let i of t.ops)$n(i)&&(r+=i.retain),Ci(i)&&e.push({from:r,to:r,insert:i.insert}),Pi(i)&&(e.push({from:r,to:r+i.delete}),r+=i.delete);return e}function zoe(t){let e=[];return t.iterChanges((r,i,n,o,s)=>{let a=new ns;r&&a.retain(r),r!==i&&a.delete(i-r);let l=s.toString();l&&a.insert(l),e.push(a)}),e.reverse().reduce((r,i)=>r.compose(i))}function zX(t){return t.view.hasFocus?t.state.selection:null}function ma(t,e){let r=t.ranges.map(i=>ce.range(e.transformPosition(i.anchor),e.transformPosition(i.head)));return ce.create(r,t.mainIndex)}function DX(t){return[Loe,MX.of({collabClient:t})]}var Moe=xe.baseTheme({".cm-peerCursor":{position:"relative",display:"inline",zIndex:"1"},".cm-peerCursorCaret":{position:"absolute",left:"0",top:"0",bottom:"0",height:"100%",width:"2px"},".cm-peerCursorLabel":{position:"absolute",left:"0",top:"0",transform:"translateY(-100%)",whiteSpace:"nowrap",padding:"1px 8px",fontSize:"12px",color:"#f8fafc",visibility:"hidden",transitionProperty:"visibility",transitionDuration:"0s",transitionDelay:"1.5s"},".cm-peerCursor .cm-peerCursorLabel:hover":{visibility:"visible"},".cm-peerCursor .cm-peerCursorCaret:hover + .cm-peerCursorLabel":{visibility:"visible",transitionDelay:"0s"},".cm-peerCursor.cm-peerCursor-inline .cm-peerCursorLabel":{marginLeft:"4px",transform:"none"}}),NX=Re.define({combine(t){return Ft(t,{})}}),Doe=dt.fromClass(class{constructor(t){let{collabClient:e}=t.state.facet(NX);this.peers=e.getPeers(),this.decorations=Et.of(Object.values(this.peers).flatMap(UX),!0),this.peersSubscription=e.onPeersChange(r=>{let i=this.peers;if(i===r)return;let n=new Set,o=[];for(let s in r){let a=r[s],l=i[s];l&&a.eq(l)?n.add(s):o.push(a)}this.decorations=this.decorations.update({filter:(s,a,l)=>n.has(l.spec.id),add:o.flatMap(UX),sort:!0}),this.peers=r,setTimeout(()=>{t.update([])},0)})}destroy(){this.peersSubscription.destroy()}},{decorations:t=>t.decorations}),m5=class extends Tr{constructor(e,r,i){super(),this.cursorPos=e,this.color=r,this.label=i}toDOM(e){let r=document.createElement("div");r.classList.add("cm-peerCursor"),e.state.doc.lineAt(this.cursorPos).number===1&&r.classList.add("cm-peerCursor-inline");let n=document.createElement("div");n.classList.add("cm-peerCursorCaret"),n.style.backgroundColor=this.color;let o=document.createElement("div");return o.classList.add("cm-peerCursorLabel"),o.textContent=this.label,o.style.backgroundColor=this.color,r.appendChild(n),r.appendChild(o),r}eq(e){return e.cursorPos===this.cursorPos&&e.color===this.color&&e.label===this.label}};function UX(t){let{id:e,selection:r,meta:{hex_color:i,name:n}}=t;if(!r)return[];let o=Le.mark({class:"cm-peerSelection",attributes:{style:`background-color: ${i}30`},id:e}),s=r.ranges.filter(l=>!l.empty).map(({from:l,to:c})=>o.range(l,c)),a=r.ranges.map(l=>{let c=l.head;return Le.widget({widget:new m5(c,i,n),id:e}).range(c)});return s.concat(a)}function jX(t){return[Doe,NX.of({collabClient:t}),Moe]}var Uoe=xe.baseTheme({".cm-doctestDetails":{paddingTop:"4px",paddingBottom:"4px",paddingLeft:"6px"},".cm-doctestDetailsContent":{whiteSpace:"pre-wrap",border:"1px solid #424857",paddingTop:"6px",paddingBottom:"6px",marginLeft:"-8px",paddingLeft:"8px",borderRadius:"4px",marginRight:"16px"},"&light .cm-doctestDetailsContent":{borderColor:"#b6b7b9"},".cm-doctestStatus":{position:"relative"},".cm-doctestStatus::before":{borderRadius:"2px",width:"10px",height:"10px",display:"block",content:"''",position:"absolute",top:"50%",left:"0",transform:"translate(calc(-100% - 6px), -50%)"},".cm-doctestStatus-running::before":{backgroundColor:"#91a4b7"},".cm-doctestStatus-success::before":{backgroundColor:"#4ade80"},".cm-doctestStatus-failed::before":{backgroundColor:"#e97579"}}),BX=De.define(),VX=De.define(),qX=Ot.define({create(t){return Le.none},update(t,e){t=t.map(e.changes);for(let r of e.effects){if(r.is(BX)){let i=r.value;t=t.update({filter:(n,o,s)=>!i.some(a=>s.spec.report.line===a.line),add:i.flatMap(n=>Noe(n,e.state.doc)),sort:!0})}r.is(VX)&&(t=Le.none)}return t},provide(t){return xe.decorations.from(t)}});function Noe(t,e){let r=e.line(t.line).from+t.column,i=[Le.mark({class:`cm-doctestStatus cm-doctestStatus-${t.status}`,report:t}).range(r,r+1)];if(t.status==="failed"){let n=e.line(t.end_line+1);i.push(Le.widget({widget:new O5(t),block:!0,report:t}).range(n.from))}return i}var O5=class extends Tr{constructor(e){super(),this.report=e}toDOM(e){let r=document.createElement("div");r.classList.add("cm-doctestDetails");let i=document.createElement("div");return i.classList.add("cm-doctestDetailsContent"),i.classList.add("editor-theme-aware-ansi"),r.style.marginLeft=`${this.report.column}ch`,i.innerHTML=this.report.details,r.appendChild(i),r}eq(e){return this.report===e.report}};function FX(t,e){let r=[BX.of(e)];t.dispatch({effects:ZX(t.state,r)})}function WX(t){let e=[VX.of(null)];t.dispatch({effects:ZX(t.state,e)})}var joe=[qX,Uoe];function ZX(t,e){return t.field(qX,!1)?e:e.concat(De.appendConfig.of(joe))}var Boe=xe.baseTheme({".cm-signatureHint":{display:"flex"},".cm-signatureHintStepper":{padding:"4px 8px",borderRight:"1px solid black"},".cm-signatureHintContent":{padding:"4px"},".cm-signatureHintActiveArgument":{color:"gray"}}),td=Re.define({combine(t){return Ft(t,{})}}),GX=Re.define({}).from(td,({triggerCharacters:t,retriggerCharacters:e})=>({triggerCharacters:new Set(t),retriggerCharacters:new Set(t.concat(e))})),KX=De.define(),JX=De.define(),y5=De.define(),eI=De.define(),Xn=Ot.define({create(){return{context:null,hint:null}},update({context:t,hint:e},r){e=e&&e.setPosition(r.state.selection.main.head),Voe(r,!!e)&&(t=YX(r.state));for(let n of r.effects)n.is(KX)&&(n.value.signatureResult?e=g5.build(r.state,n.value.signatureResult):(t=null,e=null)),n.is(JX)&&(t=YX(r.state)),n.is(y5)&&(t=null,e=null),n.is(eI)&&(e=e&&e.setSelected(n.value));return{context:t,hint:e}},provide(t){return Yo.from(t,e=>e.hint&&e.hint.tooltip)}});function Voe(t,e){let{activateOnTyping:r}=t.state.facet(td),{triggerCharacters:i,retriggerCharacters:n}=t.state.facet(GX),o=t.startState.selection.main.head,s=t.state.selection.main.head,a=t.isUserEvent("input");if(t.docChanged){let l=!1;return t.changes.iterChangedRanges((c,u,f,d)=>{if(!l){if(c<u&&c<=o&&o<=u){let p=t.startState.doc.sliceString(c,u);e&&(l=l||hg(p,n))}if(f<d&&f<=s&&s<=d){let p=t.state.doc.sliceString(f,s);e?l=l||hg(p,n):r&&a&&(l=l||hg(p,i))}}}),l}if(!t.docChanged&&o!==s){let l=t.state.doc.sliceString(Math.min(o,s),Math.max(o,s));if(e)return hg(l,n)}return!1}function hg(t,e){for(let r of t)if(e.has(r))return!0;return!1}function YX(t){let e=t.selection.main.head;return{state:t,pos:e}}var g5=class t{constructor(e,r,i){this.signatureResult=e,this.selectedIdx=r,this.tooltip=i}static build(e,r){return new t(r,0,{pos:e.selection.main.head,above:!0,create:i=>new b5(i)})}setSelected(e){return new t(this.signatureResult,e,this.tooltip)}setPosition(e){return e===this.tooltip.pos?this:new t(this.signatureResult,this.selectedIdx,Be(ne({},this.tooltip),{pos:e}))}},b5=class{constructor(e){this.view=e;let{signatureResult:r}=e.state.field(Xn).hint;this.dom=document.createElement("div"),this.dom.classList.add("cm-signatureHint"),r.items.length>1&&(this.stepper=document.createElement("div"),this.stepper.classList.add("cm-signatureHintStepper"),this.dom.appendChild(this.stepper));let i=document.createElement("div");i.classList.add("cm-signatureHintContent"),this.contentLeft=document.createElement("span"),this.contentActive=document.createElement("span"),this.contentActive.classList.add("cm-signatureHintActiveArgument"),this.contentRight=document.createElement("span"),i.appendChild(this.contentLeft),i.appendChild(this.contentActive),i.appendChild(this.contentRight),this.dom.appendChild(i)}mount(){this.updateSelected()}update(e){let r=e.startState.field(Xn),i=e.state.field(Xn);r!==i&&this.updateSelected()}updateSelected(){let{signatureResult:e,selectedIdx:r}=this.view.state.field(Xn).hint,{activeArgumentIdx:i,items:n}=e,o=n[r],s=o.arguments[i];this.stepper&&(this.stepper.textContent=`${r+1}/${n.length}`);let a=o.signature.indexOf(s);this.contentLeft.textContent=o.signature.slice(0,a),this.contentActive.textContent=s,this.contentRight.textContent=o.signature.slice(a+s.length)}},qoe=dt.fromClass(class{constructor(t){this.view=t,this.query=null}update(t){let e=t.state.field(Xn);e.context!==t.startState.field(Xn).context&&(this.maybeAbortQuery(),e.context&&this.requestSignature(t.state))}destroy(){this.maybeAbortQuery()}requestSignature(t){let{context:e}=t.field(Xn),{source:r}=t.facet(td),i={aborted:!1};r(e).then(n=>{i.aborted||this.view.dispatch({effects:KX.of({signatureResult:n})})}),this.query=i}maybeAbortQuery(){this.query&&(this.query.aborted=!0,this.query=null)}},{eventHandlers:{blur(t){let e=this.view.state.field(Xn,!1);e&&e.hint&&this.view.state.facet(td).closeOnBlur&&setTimeout(()=>{this.view.dispatch({effects:[y5.of(null)]})},0)}}});function Foe(t){return t.dispatch({effects:[JX.of(null)]}),!0}function Woe(t){let e=t.state.field(Xn,!1);return!e||!e.hint?!1:(t.dispatch({effects:[y5.of(null)]}),!0)}var HX=t=>e=>{let r=e.state.field(Xn,!1);if(!r||!r.hint)return!1;let{signatureResult:i,selectedIdx:n}=r.hint;if(i.items.length===1)return!1;let o=i.items.length,s=n+(t?1:-1);return s<0&&(s+=o),s>=o&&(s-=o),e.dispatch({effects:[eI.of(s)]}),!0},Zoe=[{key:"Mod-Shift-Space",run:Foe},{key:"Escape",run:Woe},{key:"ArrowDown",run:HX(!0)},{key:"ArrowUp",run:HX(!1)}];function tI(t,{activateOnTyping:e=!0,closeOnBlur:r=!0,triggerCharacters:i=["(",","],retriggerCharacters:n=[")"]}={}){return[Xn,qoe,td.of({source:t,activateOnTyping:e,closeOnBlur:r,triggerCharacters:i,retriggerCharacters:n}),GX,cr.high(vr.of(Zoe)),Boe]}var rI=Re.define({combine(t){return Ft(t,{})}}),iI=De.define(),dg=Ot.define({create(){return{doc:null}},update({doc:t},e){e.docChanged&&(t=null);for(let r of e.effects)r.is(iI)&&(t=e.state.doc);return{doc:t}}}),Yoe=dt.fromClass(class{constructor(t){this.view=t,this.query=null}update(t){let e=t.state.field(dg);e.doc!==t.startState.field(dg).doc&&(this.maybeAbortQuery(),e.doc&&this.requestFormatterChanges(t.state))}destroy(){this.maybeAbortQuery()}requestFormatterChanges(t){let{doc:e}=t.field(dg),{source:r}=t.facet(rI),i={aborted:!1};r(e).then(n=>{!i.aborted&&n&&this.view.dispatch({changes:n})}),this.query=i}maybeAbortQuery(){this.query&&(this.query.aborted=!0,this.query=null)}});function Hoe(t){return t.state.readOnly?!1:(t.dispatch({effects:[iI.of(null)]}),!0)}var Goe=[{key:"Ctrl-Shift-i",mac:"Alt-Shift-f",win:"Alt-Shift-f",run:Hoe}];function nI(t){return[dg,Yoe,rI.of({source:t}),vr.of(Goe)]}function oI(t,e){let r=e;for(;!t.endsWith(r);)r=r.slice(0,-1);return r.length}var Koe=xe.baseTheme({".cm-readOnlyHint":{padding:"4px"}}),sI=De.define(),v5=De.define(),pg=Ot.define({create(){return{tooltip:null}},update({tooltip:t},e){e.state.selection.eq(e.startState.selection)||(t=null);for(let r of e.effects)r.is(sI)&&(t={pos:e.state.selection.main.head,above:!0,create:Joe}),r.is(v5)&&(t=null);return{tooltip:t}},provide(t){return Yo.from(t,e=>e.tooltip)}});function Joe(t){let e=document.createElement("div");return e.classList.add("cm-readOnlyHint"),e.textContent="This editor is read-only",{dom:e}}var ese=dt.fromClass(class{constructor(t){this.view=t}},{eventHandlers:{input(t){this.view.state.readOnly&&(this.view.state.field(pg).tooltip||this.view.dispatch({effects:sI.of(null)}))},blur(t){this.view.state.readOnly&&this.view.state.field(pg).tooltip&&setTimeout(()=>{this.view.dispatch({effects:[v5.of(null)]})},0)}}});function tse(t){let e=t.state.field(pg,!1);return!e||!e.tooltip?!1:(t.dispatch({effects:[v5.of(null)]}),!0)}var rse=[{key:"Escape",run:tse}];function aI(){return[pg,ese,vr.of(rse),Koe]}var ise=5e3,rd=class{constructor(e,r){Nt(this,"_onDelta",new Cr);Nt(this,"onDelta",this._onDelta.event);Nt(this,"_onPeersChange",new Cr);Nt(this,"onPeersChange",this._onPeersChange.event);this.connection=e,this.revision=r,this.clientId=e.getClientId(),this.peers={},this.updatePeers(e.getClients()),this.inflightDelta=null,this.bufferDelta=null,this.selection=null,this.selectionChanged=!1,this.revisionReportTimeoutId=null,this.subscriptions=[e.onDelta(this.handleServerDelta.bind(this)),e.onAcknowledgement(this.handleServerAcknowledgement.bind(this)),e.onSelection(this.handleServerSelection.bind(this)),e.onClientsUpdate(this.handleServerClientsUpdate.bind(this))]}destroy(){this.subscriptions.forEach(e=>e.destroy())}getPeers(){return this.peers}handleClientDelta(e,r){this.peers=lI(this.peers,e),this.selection=r,this.inflightDelta?this.bufferDelta?this.bufferDelta=this.bufferDelta.compose(e):this.bufferDelta=e:(this.inflightDelta=e,this.sendDelta()),this._onDelta.dispatch(e,{remote:!1}),this._onPeersChange.dispatch(this.peers)}handleClientSelection(e){this.selection=e,this.inflightDelta?this.selectionChanged=!0:this.sendSelection()}handleServerDelta(e,r,i){this.revision++;let{inflightDelta:n,bufferDelta:o}=this;n&&([e,n]=[n.transform(e,"right"),e.transform(n,"left")],r=r&&ma(r,n)),o&&([e,o]=[o.transform(e,"right"),e.transform(o,"left")],r=r&&ma(r,o)),this.inflightDelta=n,this.bufferDelta=o,this.selection=this.selection&&ma(this.selection,e);let[s,a]=RO(this.peers,i);a=lI(a,e),s&&(a[i]=new Jc(s.id,s.meta,r)),this.peers=a,this._onDelta.dispatch(e,{remote:!0}),this._onPeersChange.dispatch(this.peers),this.maybeScheduleRevisionReport()}handleServerAcknowledgement(){this.revision++,this.inflightDelta=null,this.bufferDelta&&(this.inflightDelta=this.bufferDelta,this.bufferDelta=null,this.sendDelta())}handleServerSelection(e,r){if(!this.peers.hasOwnProperty(r))return;let{inflightDelta:i,bufferDelta:n}=this;i&&(e=e&&ma(e,i)),n&&(e=e&&ma(e,n));let o=this.peers[r];this.peers=Be(ne({},this.peers),{[r]:new Jc(o.id,o.meta,e)}),this._onPeersChange.dispatch(this.peers)}handleServerClientsUpdate(e){this.updatePeers(e),this._onPeersChange.dispatch(this.peers)}sendDelta(){this.connection.sendDelta(this.inflightDelta,this.selection,this.revision),this.selectionChanged=!1,this.maybeCancelRevisionReport()}sendSelection(){Object.keys(this.peers).length>0&&this.connection.sendSelection(this.selection,this.revision),this.selectionChanged=!1}sendRevision(){this.connection.sendRevision(this.revision)}updatePeers(e){let r={};for(let i in e)if(i!==this.clientId){let n=this.peers[i],o=e[i],s=n?n.selection:null;r[i]=new Jc(i,o,s)}this.peers=r}maybeScheduleRevisionReport(){!this.inflightDelta&&!this.revisionReportTimeoutId&&(this.revisionReportTimeoutId=setTimeout(()=>{this.sendRevision(),this.revisionReportTimeoutId=null},ise))}maybeCancelRevisionReport(){this.revisionReportTimeoutId!==null&&(clearTimeout(this.revisionReportTimeoutId),this.revisionReportTimeoutId=null)}},Jc=class{constructor(e,r,i){this.id=e,this.meta=r,this.selection=i}eq(e){return this.id===e.id&&this.meta===e.meta&&(this.selection===e.selection||this.selection&&e.selection&&this.selection.eq(e.selection))}};function lI(t,e){let r={};for(let i in t){let n=t[i],o=n.selection&&ma(n.selection,e);r[i]=new Jc(n.id,n.meta,o)}return r}function cI(t){let e=t.state.selection;return e.ranges.length>1?(t.dispatch({selection:e.asSingle()}),!0):!1}var id=class{constructor(e,r,i,n,o,s,a){Nt(this,"_onMount",new Cr);Nt(this,"onMount",this._onMount.event);Nt(this,"_onChange",new Cr);Nt(this,"onChange",this._onChange.event);Nt(this,"_onBlur",new Cr);Nt(this,"onBlur",this._onBlur.event);Nt(this,"_onFocus",new Cr);Nt(this,"onFocus",this._onFocus.event);this.container=e,this.source=i,this.language=o,this.intellisense=s,this.readOnly=a,this.initialWidgets={},this.connection=r,this.collabClient=new rd(r,n),this.deltaSubscription=this.collabClient.onDelta((l,c)=>{this.source=l.applyToString(this.source),this._onChange.dispatch(this.source)})}isMounted(){return!!this.view}mount(){if(this.isMounted())throw new Error("The editor is already mounted");this.mountEditor(),this.setInitialWidgets(),this._onMount.dispatch()}getSource(){return this.source}getElementAtCursor(){if(!this.isMounted())return this.container;let{node:e}=this.view.domAtPos(this.view.state.selection.main.head);return e instanceof Element?e:e.parentElement}focus(){this.isMounted()||this.mount(),this.view.focus()}blur(){this.isMounted()&&this.view.hasFocus&&this.view.contentDOM.blur()}destroy(){this.isMounted()&&this.view.destroy(),this.collabClient.destroy(),this.deltaSubscription.destroy()}updateDoctests(e){if(this.isMounted())FX(this.view,e);else{this.initialWidgets.doctestReportsByLine=this.initialWidgets.doctestReportsByLine||{};for(let r of e)this.initialWidgets.doctestReportsByLine[r.line]=r}}clearDoctests(){this.isMounted()?WX(this.view):delete this.initialWidgets.doctestReportsByLine}setCodeMarkers(e){if(this.isMounted()){let r=this.view.state.doc,i=e.map(n=>{let o=r.line(n.line),[,s,a]=o.text.match(/^(\s*).*?(\s*)$/),l=o.from+s.length,c=o.to-a.length;return{from:l,to:c,severity:n.severity,message:n.description}});this.view.dispatch(hX(this.view.state,i))}else this.initialWidgets.codeMarkers=e}mountEditor(){let e=er.get(),r=l=>l.toString().padStart(3," "),i=l=>{let c=document.createElement("i");return c.classList.add(l?"ri-arrow-down-s-line":"ri-arrow-right-s-line",l?"cm-gutterFoldMarker-open":null),c},n=xe.theme({"&":{fontSize:`${e.editor_font_size}px`}}),o=this.language==="markdown"&&e.editor_markdown_word_wrap,s=mr.matchLanguageName(vO,this.language,!1),a=[{key:"Escape",run:cI}];this.view=new xe({parent:this.container,doc:this.source,extensions:[dP({formatNumber:r}),lP(),pP(),aP(),oX(),DP({markerDOM:i}),jm({placeholderText:"\u22EF"}),rP(),sP(),cP(),uP(),Tt.allowMultipleSelections.of(!0),VP(),fQ(),_P(),x$(),Tt.readOnly.of(this.readOnly),aI(),vr.of(vX),vr.of(a),Tt.tabSize.of(2),Tt.lineSeparator.of(`
`),o?xe.lineWrapping:[],xe.contentAttributes.of({tabIndex:-1}),n,e.editor_theme==="light"?zR:LR,DX(this.collabClient),jX(this.collabClient),q4({activateOnTyping:e.editor_auto_completion,defaultKeymap:!1}),this.intellisense?[q4({override:[this.completionSource.bind(this)]}),_m(this.docsHoverTooltipSource.bind(this)),tI(this.signatureSource.bind(this),{activateOnTyping:e.editor_auto_signature}),nI(this.formatterSource.bind(this))]:[],e.editor_mode==="vim"?[$X()]:[],e.editor_mode==="emacs"?[IX()]:[],s&&s.support,xe.domEventHandlers({keydown:this.handleEditorKeydown.bind(this),blur:this.handleEditorBlur.bind(this),focus:this.handleEditorFocus.bind(this)})]})}handleEditorKeydown(e){return e.key==="Escape"&&this.container.dispatchEvent(new CustomEvent("lb:editor_escape",{bubbles:!0})),!1}handleEditorBlur(e){return this.container.contains(e.relatedTarget)||this._onBlur.dispatch(),!1}handleEditorFocus(e){return this._onFocus.dispatch(),!1}completionSource(e){let r=er.get(),i=e.matchBefore(/[\w?!.]$/),n=e.matchBefore(/^.*/);return!i&&!e.explicit?null:this.connection.intellisenseRequest("completion",{hint:n.text,editor_auto_completion:r.editor_auto_completion}).then(o=>{if(o.items.length===0)return null;let s=o.items.map((l,c)=>{let u=this.completionItemToCompletions(l);return Be(ne({},u),{boost:1-c/o.items.length})}),a=oI(n.text,o.items[0].insert_text);return{from:n.to-a,options:s,validFor:/^\w*[!?]?$/}}).catch(()=>null)}completionItemToCompletions(e){let r={label:e.label,type:e.kind,info:n=>s$(350).then(()=>{let o=document.createElement("div");if(e.detail){let s=document.createElement("div");s.classList.add("cm-completionInfoDetail"),s.innerHTML=zc(e.detail,this.language),o.appendChild(s)}if(e.documentation){let s=document.createElement("div");s.classList.add("cm-completionInfoDocs"),s.classList.add("cm-markdown"),o.appendChild(s),new ml(s,e.documentation,{defaultCodeLanguage:this.language})}return o})},i=e.insert_text.includes("${}")?e.insert_text:e.insert_text+"${}";return Dr(i,r)}docsHoverTooltipSource(e,r,i){let n=e.state.doc.lineAt(r),o=n.to-n.from,s=n.text,a=r-n.from+(i===1?1:0);return a<1||a>o?null:this.connection.intellisenseRequest("details",{line:s,column:a}).then(l=>({pos:n.from+l.range.from-1,end:n.from+l.range.to-1,above:!0,create:c=>{let u=document.createElement("div");u.classList.add("cm-hoverDocs");for(let f of l.contents){let d=document.createElement("div");d.classList.add("cm-hoverDocsContent"),d.classList.add("cm-markdown"),u.appendChild(d),new ml(d,f,{defaultCodeLanguage:this.language})}return{dom:u}}})).catch(()=>null)}signatureSource({state:e,pos:r}){let i=e.doc.sliceString(0,r);return this.connection.intellisenseRequest("signature",{hint:i}).then(n=>({activeArgumentIdx:n.active_argument,items:n.items})).catch(()=>null)}formatterSource(e){return this.connection.intellisenseRequest("format",{code:e.toString()}).then(r=>{if(this.setCodeMarkers(r.code_markers),r.delta){let i=ns.fromCompressed(r.delta);return p5(i)}else return null}).catch(()=>null)}setInitialWidgets(){if(this.initialWidgets.doctestReportsByLine){let e=Object.values(this.initialWidgets.doctestReportsByLine);this.updateDoctests(e)}this.initialWidgets.codeMarkers&&this.setCodeMarkers(this.initialWidgets.codeMarkers),this.initialWidgets={}}};var nd={},eu=class t{constructor(e){this.id=e,this.pubsub=new Mc,this.map={}}static create(e){let r=new t(e);return nd[e]=r,r}static getStore(e){if(!nd.hasOwnProperty(e))throw new Error(`No store found for id "${e}"`);return nd[e]}destroy(){nd[this.id]===this&&delete nd[this.id]}set(e,r){this.map[e]=r,this.pubsub.broadcast(e,r)}get(e){if(!this.map.hasOwnProperty(e))throw new Error(`Key "${e}" not found in the store`);return this.map[e]}watch(e,r){return this.pubsub.subscribe(e,r)}};var od=class{constructor(e,r,i){Nt(this,"_onDelta",new Cr);Nt(this,"onDelta",this._onDelta.event);Nt(this,"_onAcknowledgement",new Cr);Nt(this,"onAcknowledgement",this._onAcknowledgement.event);Nt(this,"_onSelection",new Cr);Nt(this,"onSelection",this._onSelection.event);Nt(this,"_onClientsUpdate",new Cr);Nt(this,"onClientsUpdate",this._onClientsUpdate.event);this.hook=e,this.cellId=r,this.tag=i,this.sessionStore=eu.getStore("session"),this.handlerByRef={},this.setupCollaborationHandlers(),this.clientsSubscription=this.sessionStore.watch("clients",n=>{this._onClientsUpdate.dispatch(n)}),this.setupIntellisenseHandlers()}destroy(){this.clientsSubscription.destroy()}getClients(){return this.sessionStore.get("clients")}getClientId(){return this.sessionStore.get("clientId")}sendDelta(e,r,i){this.hook.pushEvent("apply_cell_delta",{cell_id:this.cellId,tag:this.tag,delta:e.toCompressed(),selection:r&&uI(r),revision:i})}sendSelection(e,r){this.hook.pushEvent("report_cell_selection",{cell_id:this.cellId,tag:this.tag,selection:e&&uI(e),revision:r})}sendRevision(e){this.hook.pushEvent("report_cell_revision",{cell_id:this.cellId,tag:this.tag,revision:e})}setupCollaborationHandlers(){this.hook.handleEvent(`cell_delta:${this.cellId}:${this.tag}`,({delta:e,selection:r,client_id:i})=>{e=ns.fromCompressed(e),r=r&&fI(r),this._onDelta.dispatch(e,r,i)}),this.hook.handleEvent(`cell_acknowledgement:${this.cellId}:${this.tag}`,()=>{this._onAcknowledgement.dispatch()}),this.hook.handleEvent(`cell_selection:${this.cellId}:${this.tag}`,({selection:e,client_id:r})=>{e=e&&fI(e),this._onSelection.dispatch(e,r)})}setupIntellisenseHandlers(){this.hook.handleEvent("intellisense_response",({ref:e,response:r})=>{let i=this.handlerByRef[e];i&&(i(r),delete this.handlerByRef[e])})}intellisenseRequest(e,r){return new Promise((i,n)=>{this.hook.pushEvent("intellisense_request",ne({cell_id:this.cellId,type:e},r),({ref:o})=>{o?this.handlerByRef[o]=s=>{s?i(s):n(new mg("No relevant intellisense response for the given parameters"))}:n(new mg("Intellisense request could not be completed"))})})}};function uI(t){return t.ranges.map(({anchor:e,head:r})=>[e,r])}function fI(t){let e=t.map(([r,i])=>ce.range(r,i));return ce.create(e)}var mg=class extends Error{constructor(e){super(e),this.name="IntellisenseError"}};var nse={mounted(){this.props=this.getProps(),this.handleEvent(`cell_editor_init:${this.props.cellId}:${this.props.tag}`,({source:t,revision:e,doctest_reports:r,code_markers:i})=>{let n=this.el.querySelector("[data-el-editor-container]"),o=document.createElement("div");n.appendChild(o),this.connection=new od(this,this.props.cellId,this.props.tag),this.liveEditor=new id(o,this.connection,t,e,this.props.language,this.props.intellisense,this.props.readOnly),this.liveEditor.setCodeMarkers(i),this.liveEditor.updateDoctests(r);let s=n.querySelector("[data-el-skeleton]"),a=document.createElement("div");a.classList.add("whitespace-pre","text-editor","font-editor","px-12"),a.textContent=t,s.replaceChildren(a),this.liveEditor.onMount(()=>{s.remove()}),this.el.dispatchEvent(new CustomEvent("lb:cell:editor_created",{detail:{tag:this.props.tag,liveEditor:this.liveEditor},bubbles:!0})),this.visibility=CO(this.el,{root:document.querySelector("[data-el-notebook]"),proximity:2e3}),this.visibility.promise.then(()=>{this.liveEditor.isMounted()||this.liveEditor.mount()})})},disconnected(){this.el.removeAttribute("id")},destroyed(){this.connection&&this.connection.destroy(),this.liveEditor&&(this.el.dispatchEvent(new CustomEvent("lb:cell:editor_removed",{detail:{tag:this.props.tag},bubbles:!0})),this.liveEditor.destroy()),this.visibility&&this.visibility.cancel()},getProps(){return Rt(this.el,["cell-id","tag","language","intellisense","read-only"])}},hI=nse;var w5="data-js-dragging",ose={mounted(){this.el.addEventListener("dragenter",t=>{this.el.setAttribute(w5,"")}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.removeAttribute(w5)}),this.el.addEventListener("drop",t=>{this.el.removeAttribute(w5)})}},dI=ose;var sse={mounted(){let t=er.get(),e=this.el.querySelector('[name="editor_auto_completion"][value="true"]'),r=this.el.querySelector('[name="editor_auto_signature"][value="true"]'),i=this.el.querySelector('[name="editor_font_size"][value="true"]'),n=this.el.querySelector('[name="editor_light_theme"][value="true"]'),o=this.el.querySelector('[name="editor_markdown_word_wrap"][value="true"]'),s=this.el.querySelector('select[name="editor_mode"]');e.checked=t.editor_auto_completion,r.checked=t.editor_auto_signature,i.checked=t.editor_font_size===Qh.large,n.checked=t.editor_theme===Lc.light,o.checked=t.editor_markdown_word_wrap,s.value=t.editor_mode,e.addEventListener("change",a=>{er.update({editor_auto_completion:a.target.checked})}),r.addEventListener("change",a=>{er.update({editor_auto_signature:a.target.checked})}),i.addEventListener("change",a=>{er.update({editor_font_size:a.target.checked?Qh.large:Qh.normal})}),n.addEventListener("change",a=>{er.update({editor_theme:a.target.checked?Lc.light:Lc.default})}),o.addEventListener("change",a=>{er.update({editor_markdown_word_wrap:a.target.checked})}),s.addEventListener("change",a=>{er.update({editor_mode:a.target.value})})}},pI=sse;var ax=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},ss=(t,e,r)=>(ax(t,e,"read from private field"),r?r.call(t):e.get(t)),os=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},P5=(t,e,r,i)=>(ax(t,e,"write to private field"),i?i.call(t,r):e.set(t,r),r),In=(t,e,r)=>(ax(t,e,"access private method"),r),ase="14.0";function lse(t,e,r){let i=`https://cdn.jsdelivr.net/npm/emojibase-data@${e}/${t}`;return typeof r=="function"?i=r(t,e):typeof r=="string"&&(i=`${r}/${t}`),i}async function lx(t,e={}){let d=e,{local:r=!1,version:i="latest",cdnUrl:n}=d,o=qr(d,["local","version","cdnUrl"]),s=lse(t,i,n),a=r?localStorage:sessionStorage,l=`emojibase/${i}/${t}`,c=a.getItem(l);if(c)return Promise.resolve(JSON.parse(c));let u=await fetch(s,ne({credentials:"omit",mode:"cors",redirect:"error"},o));if(!u.ok)throw new Error("Failed to load Emojibase dataset.");let f=await u.json();try{a.setItem(l,JSON.stringify(f))}catch(p){}return f}var cse={discord:"joypixels",slack:"iamcal"};async function mI(t,e,r){var i;return lx(`${t}/shortcodes/${(i=cse[e])!==null&&i!==void 0?i:e}.json`,r)}function cd(t,e){if(e.length===0)return t;let r=new Set(t.shortcodes);return e.forEach(i=>{let n=i[t.hexcode];Array.isArray(n)?n.forEach(o=>r.add(o)):n&&r.add(n)}),t.shortcodes=[...r],t.skins&&t.skins.forEach(i=>{cd(i,e)}),t}function use(t,e=[]){let r=[];return t.forEach(i=>{if(i.skins){let n=i,{skins:o}=n,s=qr(n,["skins"]);r.push(cd(s,e)),o.forEach(a=>{let l=ne({},a);s.tags&&(l.tags=[...s.tags]),r.push(cd(l,e))})}else r.push(cd(i,e))}),r}function fse(t,e){return e.length===0||t.forEach(r=>{cd(r,e)}),t}async function SI(t,e={}){let l=e,{compact:r=!1,flat:i=!1,shortcodes:n=[]}=l,o=qr(l,["compact","flat","shortcodes"]),s=await lx(`${t}/${r?"compact":"data"}.json`,o),a=[];return n.length>0&&(a=await Promise.all(n.map(c=>{let u;if(c.includes("/")){let[f,d]=c.split("/");u=mI(f,d,o)}else u=mI(t,c,o);return u.catch(()=>({}))}))),i?use(s,a):fse(s,a)}async function TI(t,e){return lx(`${t}/messages.json`,e)}function x5(t,e){let r=t.target.closest("[data-emoji]");if(r){let i=e.find(n=>n.emoji===r.dataset.emoji);if(i)return i}return null}function EI(t){var e;let r=(e=window.matchMedia)==null?void 0:e.call(window,"(prefers-reduced-motion: reduce)");return t.animate&&!(r!=null&&r.matches)}function OI(t,e){return t.toLowerCase().includes(e.toLowerCase())}function hse(t,e){let r=null;return()=>{r||(r=window.setTimeout(()=>{t(),r=null},e))}}function dse(t,e){let r=null;return(...i)=>{r&&window.clearTimeout(r),r=window.setTimeout(()=>{t(...i),r=null},e)}}function kl(t,e,r,i){if(EI(i)&&t.animate)return t.animate(e,r).finished;let n=r.direction==="normal"?1:0,o=Object.entries(e).reduce((s,[a,l])=>Be(ne({},s),{[a]:l[n]}),{});return Object.assign(t.style,o),Promise.resolve()}function Q5(t){var e;let r=document.createElement("template");return r.innerHTML=t,(e=r.content)==null?void 0:e.firstElementChild}async function pse(t){let e=new TextEncoder().encode(t),r=await crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(r)).map(i=>i.toString(16).padStart(2,"0")).join("")}function Ur(...t){return t.reduce((e,r)=>Be(ne({},e),{[r]:cx(r)}),{})}function cx(t){return`picmo__${t}`}function yg(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function tu(t,...e){yg(t).append(...e)}function CI(t){try{return window[t].length,!0}catch(e){return!1}}function mse(){return CI("sessionStorage")}function Ose(){return CI("localStorage")}function fd(t){var e;return{emoji:t.emoji,label:t.label,tags:t.tags,skins:(e=t.skins)==null?void 0:e.map(r=>fd(r)),order:t.order,custom:!1,hexcode:t.hexcode,version:t.version}}function Eg(t,e,r){var i;return r&&!r.some(n=>n.order===t.group)?!1:OI(t.label,e)||((i=t.tags)==null?void 0:i.some(n=>OI(n,e)))}var Cg=class{constructor(e="en"){this.locale=e}},gse=[(t,e)=>(t.hexcode==="1F91D"&&e<14&&(t.skins=[]),t),(t,e)=>(t.skins&&(t.skins=t.skins.filter(r=>!r.version||r.version<=e)),t)];function bse(t,e){return gse.some(r=>r(t,e)===null)?null:t}function Pg(t,e){return t.filter(r=>bse(r,e)!==null)}var k5={};function PI(t){return k5[t]||(k5[t]=new _5(t)),k5[t]}PI.deleteDatabase=t=>{};var _5=class extends Cg{open(){return Promise.resolve()}delete(){return Promise.resolve()}close(){}isPopulated(){return Promise.resolve(!1)}getEmojiCount(){return Promise.resolve(this.emojis.length)}getEtags(){return Promise.resolve({foo:"bar"})}getHash(){return Promise.resolve("")}populate(e){return this.categories=e.groups,this.emojis=e.emojis,Promise.resolve()}getCategories(e){var r;let i=this.categories.filter(n=>n.key!=="component");if(e.showRecents&&i.unshift({key:"recents",order:-1}),(r=e.custom)!=null&&r.length&&i.push({key:"custom",order:10}),e.categories){let n=e.categories;i=i.filter(o=>n.includes(o.key)),i.sort((o,s)=>n.indexOf(o.key)-n.indexOf(s.key))}else i.sort((n,o)=>n.order-o.order);return Promise.resolve(i)}getEmojis(e,r){let i=this.emojis.filter(n=>n.group===e.order).filter(n=>n.version<=r).sort((n,o)=>n.order!=null&&o.order!=null?n.order-o.order:0).map(fd);return Promise.resolve(Pg(i,r))}searchEmojis(e,r,i,n){let o=this.emojis.filter(l=>Eg(l,e,n)&&l.version<=i).map(fd),s=r.filter(l=>Eg(l,e,n)),a=[...Pg(o,i),...s];return Promise.resolve(a)}setMeta(e){this.meta=e}};function yse(t,e){let r=`https://cdn.jsdelivr.net/npm/emojibase-data@${t}/${e}`;return{emojisUrl:`${r}/data.json`,messagesUrl:`${r}/messages.json`}}async function gI(t){try{return(await fetch(t,{method:"HEAD"})).headers.get("etag")}catch(e){return null}}function vse(t){let{emojisUrl:e,messagesUrl:r}=yse("latest",t);try{return Promise.all([gI(e),gI(r)])}catch(i){return Promise.all([null,null])}}async function wse(t,e,r){let i;try{i=await t.getEtags()}catch(s){i={}}let{storedEmojisEtag:n,storedMessagesEtag:o}=i;if(r!==o||e!==n){let[s,a]=await Promise.all([TI(t.locale),SI(t.locale)]);await t.populate({groups:s.groups,emojis:a,emojisEtag:e,messagesEtag:r})}}async function xse(t,e){let r=await t.getHash();return e!==r}async function QI(t,e,r){let i=r||e(t);try{await i.open()}catch(n){console.warn("[picmo] IndexedDB not available, falling back to InMemoryStoreFactory"),i=PI(t)}return i}async function kse(t,e,r){if(!mse()&&typeof window<"u")throw new Error("Session storage is required to use CDN emoji data.");let i=await QI(t,e,r),[n,o]=await vse(t);if(await i.isPopulated())n&&o&&await wse(i,n,o);else{let[s,a]=await Promise.all([TI(t),SI(t)]);await i.populate({groups:s.groups,emojis:a,emojisEtag:n,messagesEtag:o})}return i}async function Sse(t,e,r,i,n){let o=await QI(t,e,n),s=await pse(i);return(!await o.isPopulated()||await xse(o,s))&&await o.populate({groups:r.groups,emojis:i,hash:s}),o}async function _I(t,e,r,i,n){return r&&i?Sse(t,e,r,i,n):kse(t,e,n)}var hd=class{constructor(){this.handleKeyDown=this.handleKeyDown.bind(this)}activate(e){this.rootElement=e,this.rootElement.addEventListener("keydown",this.handleKeyDown)}deactivate(){var e;(e=this.rootElement)==null||e.removeEventListener("keydown",this.handleKeyDown)}get focusableElements(){return this.rootElement.querySelectorAll('input, [tabindex="0"]')}get lastFocusableElement(){return this.focusableElements[this.focusableElements.length-1]}get firstFocusableElement(){return this.focusableElements[0]}checkFocus(e,r,i){e.target===r&&(i.focus(),e.preventDefault())}handleKeyDown(e){e.key==="Tab"&&this.checkFocus(e,e.shiftKey?this.firstFocusableElement:this.lastFocusableElement,e.shiftKey?this.lastFocusableElement:this.firstFocusableElement)}},{light:Tse,dark:e7e,auto:t7e}=Ur("light","dark","auto"),ot=class{constructor({template:e,classes:r,parent:i}){this.isDestroyed=!1,this.appEvents={},this.uiEvents=[],this.uiElements={},this.ui={},this.template=e,this.classes=r,this.parent=i,this.keyBindingHandler=this.keyBindingHandler.bind(this)}initialize(){this.bindAppEvents()}setCustomEmojis(e){this.customEmojis=e}setEvents(e){this.events=e}setPickerId(e){this.pickerId=e}emit(e,...r){this.events.emit(e,...r)}setI18n(e){this.i18n=e}setRenderer(e){this.renderer=e}setEmojiData(e){this.emojiDataPromise=e,e.then(r=>{this.emojiData=r})}updateEmojiData(e){this.emojiData=e,this.emojiDataPromise=Promise.resolve(e)}setOptions(e){this.options=e}renderSync(e={}){return this.el=this.template.renderSync(ne({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId},e)),this.postRender(),this.el}async render(e={}){return await this.emojiDataPromise,this.el=await this.template.renderAsync(ne({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId},e)),this.postRender(),this.el}postRender(){this.bindUIElements(),this.bindKeyBindings(),this.bindUIEvents(),this.scheduleShowAnimation()}bindAppEvents(){Object.keys(this.appEvents).forEach(e=>{this.events.on(e,this.appEvents[e],this)}),this.events.on("data:ready",this.updateEmojiData,this)}unbindAppEvents(){Object.keys(this.appEvents).forEach(e=>{this.events.off(e,this.appEvents[e])}),this.events.off("data:ready",this.updateEmojiData)}keyBindingHandler(e){let r=this.keyBindings[e.key];r&&r.call(this,e)}bindKeyBindings(){this.keyBindings&&this.el.addEventListener("keydown",this.keyBindingHandler)}unbindKeyBindings(){this.keyBindings&&this.el.removeEventListener("keydown",this.keyBindingHandler)}bindUIElements(){this.ui=Object.keys(this.uiElements).reduce((e,r)=>Be(ne({},e),{[r]:this.el.querySelector(this.uiElements[r])}),{})}bindUIEvents(){this.uiEvents.forEach(e=>{e.handler=e.handler.bind(this),(e.target?this.ui[e.target]:this.el).addEventListener(e.event,e.handler,e.options)})}unbindUIEvents(){this.uiEvents.forEach(e=>{(e.target?this.ui[e.target]:this.el).removeEventListener(e.event,e.handler)})}destroy(){this.unbindAppEvents(),this.unbindUIEvents(),this.unbindKeyBindings(),this.el.remove(),this.isDestroyed=!0}scheduleShowAnimation(){if(this.parent){let e=new MutationObserver(r=>{let[i]=r;i.type==="childList"&&i.addedNodes[0]===this.el&&(EI(this.options)&&this.animateShow&&this.animateShow(),e.disconnect)});e.observe(this.parent,{childList:!0})}}static childEvent(e,r,i,n={}){return{target:e,event:r,handler:i,options:n}}static uiEvent(e,r,i={}){return{event:e,handler:r,options:i}}static byClass(e){return`.${e}`}},Ese='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512zM232 256C232 264 236 271.5 242.7 275.1L338.7 339.1C349.7 347.3 364.6 344.3 371.1 333.3C379.3 322.3 376.3 307.4 365.3 300L280 243.2V120C280 106.7 269.3 96 255.1 96C242.7 96 231.1 106.7 231.1 120L232 256z"/></svg>',Cse='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M64 496C64 504.8 56.75 512 48 512h-32C7.25 512 0 504.8 0 496V32c0-17.75 14.25-32 32-32s32 14.25 32 32V496zM476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"/></svg>',Pse='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM176.4 240C194 240 208.4 225.7 208.4 208C208.4 190.3 194 176 176.4 176C158.7 176 144.4 190.3 144.4 208C144.4 225.7 158.7 240 176.4 240zM336.4 176C318.7 176 304.4 190.3 304.4 208C304.4 225.7 318.7 240 336.4 240C354 240 368.4 225.7 368.4 208C368.4 190.3 354 176 336.4 176zM259.9 369.4C288.8 369.4 316.2 375.2 340.6 385.5C352.9 390.7 366.7 381.3 361.4 369.1C344.8 330.9 305.6 303.1 259.9 303.1C214.3 303.1 175.1 330.8 158.4 369.1C153.1 381.3 166.1 390.6 179.3 385.4C203.7 375.1 231 369.4 259.9 369.4L259.9 369.4z"/></svg>',Qse='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M448 64H192C85.96 64 0 149.1 0 256s85.96 192 192 192h256c106 0 192-85.96 192-192S554 64 448 64zM247.1 280h-32v32c0 13.2-10.78 24-23.98 24c-13.2 0-24.02-10.8-24.02-24v-32L136 279.1C122.8 279.1 111.1 269.2 111.1 256c0-13.2 10.85-24.01 24.05-24.01L167.1 232v-32c0-13.2 10.82-24 24.02-24c13.2 0 23.98 10.8 23.98 24v32h32c13.2 0 24.02 10.8 24.02 24C271.1 269.2 261.2 280 247.1 280zM431.1 344c-22.12 0-39.1-17.87-39.1-39.1s17.87-40 39.1-40s39.1 17.88 39.1 40S454.1 344 431.1 344zM495.1 248c-22.12 0-39.1-17.87-39.1-39.1s17.87-40 39.1-40c22.12 0 39.1 17.88 39.1 40S518.1 248 495.1 248z"/></svg>',_se='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"/></svg>',Ase='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M512 32H120c-13.25 0-24 10.75-24 24L96.01 288c0 53 43 96 96 96h192C437 384 480 341 480 288h32c70.63 0 128-57.38 128-128S582.6 32 512 32zM512 224h-32V96h32c35.25 0 64 28.75 64 64S547.3 224 512 224zM560 416h-544C7.164 416 0 423.2 0 432C0 458.5 21.49 480 48 480h480c26.51 0 48-21.49 48-48C576 423.2 568.8 416 560 416z"/></svg>',Rse='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M482.3 192C516.5 192 576 221 576 256C576 292 516.5 320 482.3 320H365.7L265.2 495.9C259.5 505.8 248.9 512 237.4 512H181.2C170.6 512 162.9 501.8 165.8 491.6L214.9 320H112L68.8 377.6C65.78 381.6 61.04 384 56 384H14.03C6.284 384 0 377.7 0 369.1C0 368.7 .1818 367.4 .5398 366.1L32 256L.5398 145.9C.1818 144.6 0 143.3 0 142C0 134.3 6.284 128 14.03 128H56C61.04 128 65.78 130.4 68.8 134.4L112 192H214.9L165.8 20.4C162.9 10.17 170.6 0 181.2 0H237.4C248.9 0 259.5 6.153 265.2 16.12L365.7 192H482.3z"/></svg>',$se='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M9.375 233.4C3.375 239.4 0 247.5 0 256v128c0 8.5 3.375 16.62 9.375 22.62S23.5 416 32 416h32V224H32C23.5 224 15.38 227.4 9.375 233.4zM464 96H352V32c0-17.62-14.38-32-32-32S288 14.38 288 32v64H176C131.8 96 96 131.8 96 176V448c0 35.38 28.62 64 64 64h320c35.38 0 64-28.62 64-64V176C544 131.8 508.3 96 464 96zM256 416H192v-32h64V416zM224 296C201.9 296 184 278.1 184 256S201.9 216 224 216S264 233.9 264 256S246.1 296 224 296zM352 416H288v-32h64V416zM448 416h-64v-32h64V416zM416 296c-22.12 0-40-17.88-40-40S393.9 216 416 216S456 233.9 456 256S438.1 296 416 296zM630.6 233.4C624.6 227.4 616.5 224 608 224h-32v192h32c8.5 0 16.62-3.375 22.62-9.375S640 392.5 640 384V256C640 247.5 636.6 239.4 630.6 233.4z"/></svg>',Xse=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<defs>
<radialGradient gradientUnits="userSpaceOnUse" cy="10%" id="gradient-0">
<stop offset="0" stop-color="hsl(50, 100%, 50%)" />
<stop offset="1" stop-color="hsl(50, 100%, 60%)" />
</radialGradient>
</defs>
<!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<ellipse stroke="#000" fill="rgba(0, 0, 0, 0.6)" cx="172.586" cy="207.006" rx="39.974" ry="39.974"/>
<ellipse stroke="#000" fill="rgba(0, 0, 0, 0.6)" cx="334.523" cy="207.481" rx="39.974" ry="39.974"/>
<ellipse stroke="#000" fill="rgba(0, 0, 0, 0.6)" cx="313.325" cy="356.208" rx="91.497" ry="59.893"/>
<path fill="#55a7ff" d="M 159.427 274.06 L 102.158 363.286 L 124.366 417.011 L 160.476 423.338 L 196.937 414.736 L 218.502 375.214"></path>
<path fill="url(#gradient-0)" d="M256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0zM256 352C290.9 352 323.2 367.8 348.3 394.9C354.3 401.4 364.4 401.7 370.9 395.7C377.4 389.7 377.7 379.6 371.7 373.1C341.6 340.5 301 320 256 320C247.2 320 240 327.2 240 336C240 344.8 247.2 352 256 352H256zM208 369C208 349 179.6 308.6 166.4 291.3C163.2 286.9 156.8 286.9 153.6 291.3C140.6 308.6 112 349 112 369C112 395 133.5 416 160 416C186.5 416 208 395 208 369H208zM303.6 208C303.6 225.7 317.1 240 335.6 240C353.3 240 367.6 225.7 367.6 208C367.6 190.3 353.3 176 335.6 176C317.1 176 303.6 190.3 303.6 208zM207.6 208C207.6 190.3 193.3 176 175.6 176C157.1 176 143.6 190.3 143.6 208C143.6 225.7 157.1 240 175.6 240C193.3 240 207.6 225.7 207.6 208z" />
</svg>`,Ise='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M500.3 443.7l-119.7-119.7c27.22-40.41 40.65-90.9 33.46-144.7C401.8 87.79 326.8 13.32 235.2 1.723C99.01-15.51-15.51 99.01 1.724 235.2c11.6 91.64 86.08 166.7 177.6 178.9c53.8 7.189 104.3-6.236 144.7-33.46l119.7 119.7c15.62 15.62 40.95 15.62 56.57 0C515.9 484.7 515.9 459.3 500.3 443.7zM79.1 208c0-70.58 57.42-128 128-128s128 57.42 128 128c0 70.58-57.42 128-128 128S79.1 278.6 79.1 208z"/></svg>',Lse='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256.3 331.8C208.9 331.8 164.1 324.9 124.5 312.8C112.2 309 100.2 319.7 105.2 331.5C130.1 390.6 188.4 432 256.3 432C324.2 432 382.4 390.6 407.4 331.5C412.4 319.7 400.4 309 388.1 312.8C348.4 324.9 303.7 331.8 256.3 331.8H256.3zM176.4 176C158.7 176 144.4 190.3 144.4 208C144.4 225.7 158.7 240 176.4 240C194 240 208.4 225.7 208.4 208C208.4 190.3 194 176 176.4 176zM336.4 240C354 240 368.4 225.7 368.4 208C368.4 190.3 354 176 336.4 176C318.7 176 304.4 190.3 304.4 208C304.4 225.7 318.7 240 336.4 240z"/></svg>',zse='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M500.3 7.251C507.7 13.33 512 22.41 512 31.1V175.1C512 202.5 483.3 223.1 447.1 223.1C412.7 223.1 383.1 202.5 383.1 175.1C383.1 149.5 412.7 127.1 447.1 127.1V71.03L351.1 90.23V207.1C351.1 234.5 323.3 255.1 287.1 255.1C252.7 255.1 223.1 234.5 223.1 207.1C223.1 181.5 252.7 159.1 287.1 159.1V63.1C287.1 48.74 298.8 35.61 313.7 32.62L473.7 .6198C483.1-1.261 492.9 1.173 500.3 7.251H500.3zM74.66 303.1L86.5 286.2C92.43 277.3 102.4 271.1 113.1 271.1H174.9C185.6 271.1 195.6 277.3 201.5 286.2L213.3 303.1H239.1C266.5 303.1 287.1 325.5 287.1 351.1V463.1C287.1 490.5 266.5 511.1 239.1 511.1H47.1C21.49 511.1-.0019 490.5-.0019 463.1V351.1C-.0019 325.5 21.49 303.1 47.1 303.1H74.66zM143.1 359.1C117.5 359.1 95.1 381.5 95.1 407.1C95.1 434.5 117.5 455.1 143.1 455.1C170.5 455.1 191.1 434.5 191.1 407.1C191.1 381.5 170.5 359.1 143.1 359.1zM440.3 367.1H496C502.7 367.1 508.6 372.1 510.1 378.4C513.3 384.6 511.6 391.7 506.5 396L378.5 508C372.9 512.1 364.6 513.3 358.6 508.9C352.6 504.6 350.3 496.6 353.3 489.7L391.7 399.1H336C329.3 399.1 323.4 395.9 321 389.6C318.7 383.4 320.4 376.3 325.5 371.1L453.5 259.1C459.1 255 467.4 254.7 473.4 259.1C479.4 263.4 481.6 271.4 478.7 278.3L440.3 367.1zM116.7 219.1L19.85 119.2C-8.112 90.26-6.614 42.31 24.85 15.34C51.82-8.137 93.26-3.642 118.2 21.83L128.2 32.32L137.7 21.83C162.7-3.642 203.6-8.137 231.6 15.34C262.6 42.31 264.1 90.26 236.1 119.2L139.7 219.1C133.2 225.6 122.7 225.6 116.7 219.1H116.7z"/></svg>',Mse='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M413.8 447.1L256 448l0 31.99C256 497.7 241.8 512 224.1 512c-17.67 0-32.1-14.32-32.1-31.99l0-31.99l-158.9-.0099c-28.5 0-43.69-34.49-24.69-56.4l68.98-79.59H62.22c-25.41 0-39.15-29.8-22.67-49.13l60.41-70.85H89.21c-21.28 0-32.87-22.5-19.28-37.31l134.8-146.5c10.4-11.3 28.22-11.3 38.62-.0033l134.9 146.5c13.62 14.81 2.001 37.31-19.28 37.31h-10.77l60.35 70.86c16.46 19.34 2.716 49.12-22.68 49.12h-15.2l68.98 79.59C458.7 413.7 443.1 447.1 413.8 447.1z"/></svg>',Dse='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M224 256c70.7 0 128-57.31 128-128S294.7 0 224 0C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3c-95.73 0-173.3 77.6-173.3 173.3C0 496.5 15.52 512 34.66 512H413.3C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304zM479.1 320h-73.85C451.2 357.7 480 414.1 480 477.3C480 490.1 476.2 501.9 470 512h138C625.7 512 640 497.6 640 479.1C640 391.6 568.4 320 479.1 320zM432 256C493.9 256 544 205.9 544 144S493.9 32 432 32c-25.11 0-48.04 8.555-66.72 22.51C376.8 76.63 384 101.4 384 128c0 35.52-11.93 68.14-31.59 94.71C372.7 243.2 400.8 256 432 256z"/></svg>',Use=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<defs>
<radialGradient id="radial" cy="85%">
<stop offset="20%" stop-color="var(--color-secondary)" />
<stop offset="100%" stop-color="var(--color-primary)" />
</radialGradient>
</defs>
<!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="url('#radial')" d="M506.3 417l-213.3-364c-16.33-28-57.54-28-73.98 0l-213.2 364C-10.59 444.9 9.849 480 42.74 480h426.6C502.1 480 522.6 445 506.3 417zM232 168c0-13.25 10.75-24 24-24S280 154.8 280 168v128c0 13.25-10.75 24-23.1 24S232 309.3 232 296V168zM256 416c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 401.9 273.4 416 256 416z" />
</svg>`,Nse='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"/></svg>';function jse(t,e){let r=Q5(e);return r.dataset.icon=t,r.classList.add(cx("icon")),r}var bI={clock:Ese,flag:Cse,frown:Pse,gamepad:Qse,lightbulb:_se,mug:Ase,plane:Rse,robot:$se,sad:Xse,search:Ise,smiley:Lse,symbols:zse,tree:Mse,users:Dse,warning:Use,xmark:Nse},Rg={recents:"clock","smileys-emotion":"smiley","people-body":"users","animals-nature":"tree","food-drink":"mug",activities:"gamepad","travel-places":"plane",objects:"lightbulb",symbols:"symbols",flags:"flag",custom:"robot"};function AI(t,e){if(!(t in bI))return console.warn(`Unknown icon: "${t}"`),document.createElement("div");let r=jse(t,bI[t]);return e&&r.classList.add(cx(`icon-${e}`)),r}var Bse={mode:"sync"},ld,vg,wg,A5,xg,R5,kg,$5,Or=class{constructor(e,r={}){os(this,wg),os(this,xg),os(this,kg),os(this,ld,void 0),os(this,vg,void 0),P5(this,ld,e),P5(this,vg,r.mode||Bse.mode)}renderSync(e={}){let r=Q5(ss(this,ld).call(this,e));return In(this,kg,$5).call(this,r,e),In(this,xg,R5).call(this,r),In(this,wg,A5).call(this,r,e),r}async renderAsync(e={}){let r=Q5(ss(this,ld).call(this,e));return In(this,kg,$5).call(this,r,e),In(this,xg,R5).call(this,r),await In(this,wg,A5).call(this,r,e),r}render(e){return ss(this,vg)==="sync"?this.renderSync(e):this.renderAsync(e)}};ld=new WeakMap,vg=new WeakMap,wg=new WeakSet,A5=async function(t,e){let r=t.querySelectorAll("[data-view]"),i=[];for(let n of r){let o=e[n.dataset.view];o?n.dataset.render!=="sync"?i.push(o.render().then(s=>(n.replaceWith(s),s))):n.replaceWith(o.renderSync()):n.remove()}return Promise.all(i)},xg=new WeakSet,R5=function(t){t.querySelectorAll("i[data-icon]").forEach(e=>{let{icon:r,size:i}=e.dataset;e.replaceWith(AI(r,i))})},kg=new WeakSet,$5=function(t,e){return t.querySelectorAll("[data-placeholder]").forEach(r=>{let i=r.dataset.placeholder;if(i&&e[i]){let n=e[i];r.replaceWith(...[n].flat())}else console.warn(`Missing placeholder element for key "${i}"`)}),t};var Vse=Ur("imagePlaceholder","placeholder"),qse=new Or(({classes:t})=>`
<div class="${t.placeholder} ${t.imagePlaceholder}"></div>
`),X5=class extends ot{constructor({classNames:e}={}){super({template:qse,classes:Vse}),this.classNames=e}load(e){let r=document.createElement("img");this.classNames&&(r.className=this.classNames),r.addEventListener("load",()=>{this.el.replaceWith(r)},{once:!0}),Promise.resolve(e).then(i=>r.src=i)}renderSync(){return super.renderSync(),this.classNames&&this.classNames.split(" ").forEach(e=>this.el.classList.add(e)),this.el}},Fse=Ur("customEmoji"),I5=class{renderElement(e){return{content:e}}renderImage(e="",r){let i=new X5({classNames:e});return i.renderSync(),{content:i,resolver:()=>(i.load(r()),i.el)}}doRender(e,r,i){if(e.custom)return this.renderCustom(e,r,i);let{content:n,resolver:o}=this.render(e,i),s=n instanceof Element?n:n.el;return o&&o(),s}doEmit(e){return e.custom?this.emitCustom(e):this.emit(e)}emitCustom({url:e,label:r,emoji:i,data:n}){return{url:e,label:r,emoji:i,data:n}}renderCustom(e,r,i=""){let n=[Fse.customEmoji,i].join(" ").trim(),{content:o,resolver:s}=this.renderImage(n,()=>e.url),a=o instanceof Element?o:o.el;return s&&s(),a}},Wse=new Or(({emoji:t})=>`<span>${t}</span>`),L5=class extends I5{render(e){return this.renderElement(Wse.renderSync({emoji:e.emoji}))}emit({emoji:e,hexcode:r,label:i}){return{emoji:e,hexcode:r,label:i}}},Zse={"categories.activities":"Activities","categories.animals-nature":"Animals & Nature","categories.custom":"Custom","categories.flags":"Flags","categories.food-drink":"Food & Drink","categories.objects":"Objects","categories.people-body":"People & Body","categories.recents":"Recently Used","categories.smileys-emotion":"Smileys & Emotion","categories.symbols":"Symbols","categories.travel-places":"Travel & Places","error.load":"Failed to load emojis","recents.clear":"Clear recent emojis","recents.none":"You haven't selected any emojis yet.",retry:"Try again","search.clear":"Clear search","search.error":"Failed to search emojis","search.notFound":"No results found",search:"Search emojis..."},z5="PicMo";function RI(t){return new M5(t)}RI.deleteDatabase=t=>new Promise((e,r)=>{let i=indexedDB.deleteDatabase(`${z5}-${t}`);i.addEventListener("success",e),i.addEventListener("error",r)});var M5=class extends Cg{async open(){let e=indexedDB.open(`${z5}-${this.locale}`);return new Promise((r,i)=>{e.addEventListener("success",n=>{var o;this.db=(o=n.target)==null?void 0:o.result,r()}),e.addEventListener("error",i),e.addEventListener("upgradeneeded",async n=>{var o;this.db=(o=n.target)==null?void 0:o.result,this.db.createObjectStore("category",{keyPath:"order"});let s=this.db.createObjectStore("emoji",{keyPath:"emoji"});s.createIndex("category","group"),s.createIndex("version","version"),this.db.createObjectStore("meta")})})}async delete(){this.close();let e=indexedDB.deleteDatabase(`${z5}-${this.locale}`);await this.waitForRequest(e)}close(){this.db.close()}async getEmojiCount(){let e=this.db.transaction("emoji","readonly").objectStore("emoji");return(await this.waitForRequest(e.count())).target.result}async getEtags(){let e=this.db.transaction("meta","readonly").objectStore("meta"),[r,i]=await Promise.all([this.waitForRequest(e.get("emojisEtag")),this.waitForRequest(e.get("messagesEtag"))]);return{storedEmojisEtag:r.target.result,storedMessagesEtag:i.target.result}}async setMeta(e){let r=this.db.transaction("meta","readwrite"),i=r.objectStore("meta");return new Promise(n=>{r.oncomplete=n,Object.keys(e).filter(Boolean).forEach(o=>{i.put(e[o],o)})})}async getHash(){let e=this.db.transaction("meta","readonly").objectStore("meta");return(await this.waitForRequest(e.get("hash"))).target.result}async isPopulated(){let e=this.db.transaction("category","readonly").objectStore("category");return(await this.waitForRequest(e.count())).target.result>0}async populate({groups:e,emojis:r,emojisEtag:i,messagesEtag:n,hash:o}){await this.removeAllObjects("category","emoji");let s=[this.addObjects("category",e),this.addObjects("emoji",r),this.setMeta({emojisEtag:i,messagesEtag:n,hash:o})];await Promise.all(s)}async getCategories(e){var r;let i=this.db.transaction("category","readonly").objectStore("category"),n=(await this.waitForRequest(i.getAll())).target.result.filter(o=>o.key!=="component");if(e.showRecents&&n.unshift({key:"recents",order:-1}),(r=e.custom)!=null&&r.length&&n.push({key:"custom",order:10}),e.categories){let o=e.categories;n=n.filter(s=>o.includes(s.key)),n.sort((s,a)=>o.indexOf(s.key)-o.indexOf(a.key))}else n.sort((o,s)=>o.order-s.order);return n}async getEmojis(e,r){let i=this.db.transaction("emoji","readonly").objectStore("emoji").index("category"),n=(await this.waitForRequest(i.getAll(e.order))).target.result.filter(o=>o.version<=r).sort((o,s)=>o.order!=null&&s.order!=null?o.order-s.order:0).map(fd);return Pg(n,r)}async searchEmojis(e,r,i,n){let o=[];return new Promise((s,a)=>{let l=this.db.transaction("emoji","readonly").objectStore("emoji").openCursor();l.addEventListener("success",c=>{var u;let f=(u=c.target)==null?void 0:u.result;if(!f)return s([...Pg(o,i),...r.filter(p=>Eg(p,e))]);let d=f.value;Eg(d,e,n)&&d.version<=i&&o.push(fd(d)),f.continue()}),l.addEventListener("error",c=>{a(c)})})}async waitForRequest(e){return new Promise((r,i)=>{e.onsuccess=r,e.onerror=i})}withTransaction(e,r="readwrite",i){return new Promise((n,o)=>{let s=this.db.transaction(e,r);s.oncomplete=n,s.onerror=o,i(s)})}async removeAllObjects(...e){let r=this.db.transaction(e,"readwrite"),i=e.map(n=>r.objectStore(n));await Promise.all(i.map(n=>this.waitForRequest(n.clear())))}async addObjects(e,r){return this.withTransaction(e,"readwrite",i=>{let n=i.objectStore(e);r.forEach(o=>{n.add(o)})})}};function Yse(){let t={};return{getItem:e=>t[e],setItem:(e,r)=>t[e]=r,length:Object.keys(t).length,clear:()=>t={},key:e=>Object.keys(t)[e],removeItem:e=>delete t[e]}}var D5=class{},S5="PicMo:recents",U5=class extends D5{constructor(e){super(),this.storage=e}clear(){this.storage.removeItem(S5)}getRecents(e){var r;try{return JSON.parse((r=this.storage.getItem(S5))!=null?r:"[]").slice(0,e)}catch(i){return[]}}addOrUpdateRecent(e,r){let i=[e,...this.getRecents(r).filter(n=>n.hexcode!==e.hexcode)].slice(0,r);try{this.storage.setItem(S5,JSON.stringify(i))}catch(n){console.warn("storage is not available, recent emojis will not be saved")}}},N5=class extends U5{constructor(){super(Ose()?localStorage:Yse())}},Hse={dataStore:RI,theme:Tse,animate:!0,showCategoryTabs:!0,showPreview:!0,showRecents:!0,showSearch:!0,showVariants:!0,emojisPerRow:8,visibleRows:6,emojiVersion:"auto",i18n:Zse,locale:"en",maxRecents:50,custom:[]};function ux(t={}){return Be(ne(ne({},Hse),t),{renderer:t.renderer||new L5,recentsProvider:t.recentsProvider||new N5})}var Sl,ud,Qg,Sg,j5,Tl=class{constructor(){os(this,ud),os(this,Sg),os(this,Sl,new Map)}on(e,r,i){In(this,Sg,j5).call(this,e,r,i)}once(e,r,i){In(this,Sg,j5).call(this,e,r,i,!0)}off(e,r){let i=In(this,ud,Qg).call(this,e);ss(this,Sl).set(e,i.filter(n=>n.handler!==r))}emit(e,...r){In(this,ud,Qg).call(this,e).forEach(i=>{i.handler.apply(i.context,r),i.once&&this.off(e,i.handler)})}removeAll(){ss(this,Sl).clear()}};Sl=new WeakMap,ud=new WeakSet,Qg=function(t){return ss(this,Sl).has(t)||ss(this,Sl).set(t,[]),ss(this,Sl).get(t)},Sg=new WeakSet,j5=function(t,e,r,i=!1){In(this,ud,Qg).call(this,t).push({context:r,handler:e,once:i})};var Gse={injectStyles:!0},B5=class extends Tl{},V5=class extends Tl{},q5=Ur("emojiCategory","categoryName","noRecents","recentEmojis"),dd=class extends ot{constructor({template:e,category:r,showVariants:i,lazyLoader:n}){super({template:e,classes:q5}),this.baseUIElements={categoryName:ot.byClass(q5.categoryName)},this.category=r,this.showVariants=i,this.lazyLoader=n}setActive(e,r,i){this.emojiContainer.setActive(e,r,i)}},Kse=new Or(({classes:t,emoji:e})=>`
<button
type="button"
class="${t.emojiButton}"
title="${e.label}"
data-emoji="${e.emoji}"
tabindex="-1">
<div data-placeholder="emojiContent"></div>
</button>
`),Jse=Ur("emojiButton"),_g=class extends ot{constructor({emoji:e,lazyLoader:r,category:i}){super({template:Kse,classes:Jse}),this.emoji=e,this.lazyLoader=r,this.category=i}initialize(){this.uiEvents=[ot.uiEvent("focus",this.handleFocus)],super.initialize()}handleFocus(){this.category&&this.events.emit("focus:change",this.category)}activateFocus(e){this.el.tabIndex=0,e&&this.el.focus()}deactivateFocus(){this.el.tabIndex=-1}renderSync(){return super.renderSync({emoji:this.emoji,emojiContent:this.renderer.doRender(this.emoji,this.lazyLoader)})}},F5=class{constructor(e,r,i=0,n=0,o=!1){this.events=new Tl,this.keyHandlers={ArrowLeft:this.focusPrevious.bind(this),ArrowRight:this.focusNext.bind(this),ArrowUp:this.focusUp.bind(this),ArrowDown:this.focusDown.bind(this)},this.rowCount=Math.ceil(r/e),this.columnCount=e,this.focusedRow=i,this.focusedColumn=n,this.emojiCount=r,this.wrap=o,this.handleKeyDown=this.handleKeyDown.bind(this)}destroy(){this.events.removeAll()}on(e,r){this.events.on(e,r)}handleKeyDown(e){e.key in this.keyHandlers&&(e.preventDefault(),this.keyHandlers[e.key]())}setCell(e,r,i=!0){let n=this.getIndex();this.focusedRow=e,r!==void 0&&(this.focusedColumn=Math.min(this.columnCount,r)),(this.focusedRow>=this.rowCount||this.getIndex()>=this.emojiCount)&&(this.focusedRow=this.rowCount-1,this.focusedColumn=this.emojiCount%this.columnCount-1),this.events.emit("focus:change",{from:n,to:this.getIndex(),performFocus:i})}setFocusedIndex(e,r=!0){let i=Math.floor(e/this.columnCount),n=e%this.columnCount;this.setCell(i,n,r)}focusNext(){this.focusedColumn<this.columnCount-1&&this.getIndex()<this.emojiCount-1?this.setCell(this.focusedRow,this.focusedColumn+1):this.focusedRow<this.rowCount-1?this.setCell(this.focusedRow+1,0):this.wrap?this.setCell(0,0):this.events.emit("focus:overflow",0)}focusPrevious(){this.focusedColumn>0?this.setCell(this.focusedRow,this.focusedColumn-1):this.focusedRow>0?this.setCell(this.focusedRow-1,this.columnCount-1):this.wrap?this.setCell(this.rowCount-1,this.columnCount-1):this.events.emit("focus:underflow",this.columnCount-1)}focusUp(){this.focusedRow>0?this.setCell(this.focusedRow-1,this.focusedColumn):this.events.emit("focus:underflow",this.focusedColumn)}focusDown(){this.focusedRow<this.rowCount-1?this.setCell(this.focusedRow+1,this.focusedColumn):this.events.emit("focus:overflow",this.focusedColumn)}focusToIndex(e){this.setCell(Math.floor(e/this.columnCount),e%this.columnCount)}getIndex(){return this.focusedRow*this.columnCount+this.focusedColumn}getCell(){return{row:this.focusedRow,column:this.focusedColumn}}getRowCount(){return this.rowCount}},eae=new Or(({classes:t})=>`
<div class="${t.emojiContainer}">
<div data-placeholder="emojis"></div>
</div>
`),tae=Ur("emojiContainer"),El=class extends ot{constructor({emojis:e,showVariants:r,preview:i=!0,lazyLoader:n,category:o,fullHeight:s=!1}){super({template:eae,classes:tae}),this.fullHeight=!1,this.showVariants=r,this.lazyLoader=n,this.preview=i,this.emojis=e,this.category=o,this.fullHeight=s,this.setFocus=this.setFocus.bind(this),this.triggerNextCategory=this.triggerNextCategory.bind(this),this.triggerPreviousCategory=this.triggerPreviousCategory.bind(this)}initialize(){this.grid=new F5(this.options.emojisPerRow,this.emojiCount,0,0,!this.category),this.grid.on("focus:change",this.setFocus),this.grid.on("focus:overflow",this.triggerNextCategory),this.grid.on("focus:underflow",this.triggerPreviousCategory),this.uiEvents=[ot.uiEvent("click",this.selectEmoji),ot.uiEvent("keydown",this.grid.handleKeyDown)],this.preview&&this.uiEvents.push(ot.uiEvent("mouseover",this.showPreview),ot.uiEvent("mouseout",this.hidePreview),ot.uiEvent("focus",this.showPreview,{capture:!0}),ot.uiEvent("blur",this.hidePreview,{capture:!0})),super.initialize()}setFocusedView(e,r){if(e)if(typeof e=="string"){let i=this.emojis.findIndex(n=>n.emoji===e);this.grid.setFocusedIndex(i,!1),setTimeout(()=>{var n,o,s,a;let l=this.emojiViews[i].el;l.scrollIntoView();let c=(n=l.parentElement)==null?void 0:n.previousElementSibling,u=(s=(o=l.parentElement)==null?void 0:o.parentElement)==null?void 0:s.parentElement;u.scrollTop-=(a=c==null?void 0:c.offsetHeight)!=null?a:0})}else e.row==="first"||e.row===0?this.grid.setCell(0,e.offset,r):e.row==="last"&&this.grid.setCell(this.grid.getRowCount()-1,e.offset,r)}setActive(e,r,i){var n;e?this.setFocusedView(r,i):(n=this.emojiViews[this.grid.getIndex()])==null||n.deactivateFocus()}renderSync(){return this.emojiViews=this.emojis.map(e=>this.viewFactory.create(_g,{emoji:e,category:this.category,lazyLoader:this.lazyLoader,renderer:this.renderer})),this.emojiElements=this.emojiViews.map(e=>e.renderSync()),super.renderSync({emojis:this.emojiElements,i18n:this.i18n})}destroy(){super.destroy(),this.emojiViews.forEach(e=>e.destroy()),this.grid.destroy()}triggerPreviousCategory(e){this.events.emit("category:previous",e)}triggerNextCategory(e){this.category&&this.events.emit("category:next",e)}setFocus({from:e,to:r,performFocus:i}){var n,o;(n=this.emojiViews[e])==null||n.deactivateFocus(),(o=this.emojiViews[r])==null||o.activateFocus(i)}selectEmoji(e){e.stopPropagation();let r=x5(e,this.emojis);r&&this.events.emit("emoji:select",{emoji:r,showVariants:this.showVariants})}showPreview(e){let r=e.target.closest("button"),i=r==null?void 0:r.firstElementChild,n=x5(e,this.emojis);n&&this.events.emit("preview:show",n,i==null?void 0:i.cloneNode(!0))}hidePreview(e){x5(e,this.emojis)&&this.events.emit("preview:hide")}get emojiCount(){return this.emojis.length}},rae=new Or(({classes:t,category:e,pickerId:r,icon:i,i18n:n})=>`
<section class="${t.emojiCategory}" role="tabpanel" aria-labelledby="${r}-category-${e.key}">
<h3 data-category="${e.key}" class="${t.categoryName}">
<i data-icon="${i}"></i>
${n.get(`categories.${e.key}`,e.message||e.key)}
</h3>
<div data-view="emojis" data-render="sync"></div>
</section>
`),W5=class extends dd{constructor({category:e,showVariants:r,lazyLoader:i,emojiVersion:n}){super({category:e,showVariants:r,lazyLoader:i,template:rae}),this.showVariants=r,this.lazyLoader=i,this.emojiVersion=n}initialize(){this.uiElements=ne({},this.baseUIElements),super.initialize()}async render(){await this.emojiDataPromise;let e=await this.emojiData.getEmojis(this.category,this.emojiVersion);return this.emojiContainer=this.viewFactory.create(El,{emojis:e,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:e.length,icon:Rg[this.category.key]})}},Z5=class extends El{constructor({category:e,emojis:r,preview:i=!0,lazyLoader:n}){super({category:e,emojis:r,showVariants:!1,preview:i,lazyLoader:n})}async addOrUpdate(e){let r=this.el.querySelector(`[data-emoji="${e.emoji}"]`);r&&(this.el.removeChild(r),this.emojis=this.emojis.filter(n=>n!==e));let i=this.viewFactory.create(_g,{emoji:e});if(this.el.insertBefore(i.renderSync(),this.el.firstChild),this.emojis=[e,...this.emojis.filter(n=>n!==e)],this.emojis.length>this.options.maxRecents){this.emojis=this.emojis.slice(0,this.options.maxRecents);let n=this.el.childElementCount-this.options.maxRecents;for(let o=0;o<n;o++)this.el.lastElementChild&&this.el.removeChild(this.el.lastElementChild)}}},iae=new Or(({emojiCount:t,classes:e,category:r,pickerId:i,icon:n,i18n:o})=>`
<section class="${e.emojiCategory}" role="tabpanel" aria-labelledby="${i}-category-${r.key}">
<h3 data-category="${r.key}" class="${e.categoryName}">
<i data-icon="${n}"></i>
${o.get(`categories.${r.key}`,r.message||r.key)}
</h3>
<div data-empty="${t===0}" class="${e.recentEmojis}">
<div data-view="emojis" data-render="sync"></div>
</div>
<div class="${e.noRecents}">
${o.get("recents.none")}
</div>
</section>
`,{mode:"async"}),Y5=class extends dd{constructor({category:e,lazyLoader:r,provider:i}){super({category:e,showVariants:!1,lazyLoader:r,template:iae}),this.provider=i}initialize(){this.uiElements=Be(ne({},this.baseUIElements),{recents:ot.byClass(q5.recentEmojis)}),this.appEvents={"recent:add":this.addRecent},super.initialize()}async addRecent(e){await this.emojiContainer.addOrUpdate(e),this.ui.recents.dataset.empty="false"}async render(){var e;let r=(e=this.provider)==null?void 0:e.getRecents(this.options.maxRecents);return this.emojiContainer=this.viewFactory.create(Z5,{emojis:r,showVariants:!1,lazyLoader:this.lazyLoader,category:this.category.key}),await super.render({category:this.category,emojis:this.emojiContainer,emojiCount:r.length,icon:Rg[this.category.key]}),this.el}},nae=new Or(({classes:t,category:e,pickerId:r,icon:i,i18n:n})=>`
<section class="${t.emojiCategory}" role="tabpanel" aria-labelledby="${r}-category-${e.key}">
<h3 data-category="${e.key}" class="${t.categoryName}">
<i data-icon="${i}"></i>
${n.get(`categories.${e.key}`,e.message||e.key)}
</h3>
<div data-view="emojis" data-render="sync"></div>
</section>
`),H5=class extends dd{constructor({category:e,lazyLoader:r}){super({template:nae,showVariants:!1,lazyLoader:r,category:e})}initialize(){this.uiElements=ne({},this.baseUIElements),super.initialize()}async render(){return this.emojiContainer=this.viewFactory.create(El,{emojis:this.customEmojis,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:this.customEmojis.length,icon:Rg[this.category.key]})}},Ag=class{constructor(){this.elements=new Map}lazyLoad(e,r){return this.elements.set(e,r),e}observe(e){if(window.IntersectionObserver){let r=new IntersectionObserver(i=>{i.filter(n=>n.intersectionRatio>0).map(n=>n.target).forEach(n=>{let o=this.elements.get(n);o==null||o(),r.unobserve(n)})},{root:e});this.elements.forEach((i,n)=>{r.observe(n)})}else this.elements.forEach(r=>{r()})}},yI=Ur("emojiArea"),oae=new Or(({classes:t})=>`
<div class="${t.emojiArea}">
<div data-placeholder="emojis"></div>
</div>
`,{mode:"async"}),sae={recents:Y5,custom:H5};function aae(t){return sae[t.key]||W5}function lae(t){return!t||t==="button"?{row:"first",offset:0}:t}var G5=class extends ot{constructor({categoryTabs:e,categories:r,emojiVersion:i}){super({template:oae,classes:yI}),this.selectedCategory=0,this.scrollListenerState="active",this.lazyLoader=new Ag,this.categoryTabs=e,this.categories=r,this.emojiVersion=i,this.handleScroll=hse(this.handleScroll.bind(this),100)}initialize(){this.appEvents={"category:select":this.handleCategorySelect,"category:previous":this.focusPreviousCategory,"category:next":this.focusNextCategory,"focus:change":this.updateFocusedCategory},this.uiElements={emojis:ot.byClass(yI.emojiArea)},this.uiEvents=[ot.uiEvent("scroll",this.handleScroll)],super.initialize()}get focusableEmoji(){return this.el.querySelector('[tabindex="0"]')}async render(){this.emojiCategories=this.categories.map(this.createCategory,this);let e={};return this.categories.forEach((r,i)=>{e[`emojis-${r.key}`]=this.emojiCategories[i]}),await super.render({emojis:await Promise.all(this.emojiCategories.map(r=>r.render()))}),this.lazyLoader.observe(this.el),this.el}destroy(){super.destroy(),this.emojiCategories.forEach(e=>{var r;(r=this.observer)==null||r.unobserve(e.el),e.destroy()})}handleCategorySelect(e,r){this.el.style.overflow="hidden",this.selectCategory(e,r),this.el.style.overflow="auto"}createCategory(e){let r=aae(e);return this.viewFactory.create(r,{category:e,showVariants:!0,lazyLoader:this.lazyLoader,emojiVersion:this.emojiVersion,provider:this.options.recentsProvider})}determineInitialCategory(){var e;return this.options.initialCategory&&this.categories.find(r=>r.key===this.options.initialCategory)?this.options.initialCategory:(e=this.categories.find(r=>r.key!=="recents"))==null?void 0:e.key}determineFocusTarget(e){let r=this.emojiCategories.find(i=>i.category.key===e);return this.options.initialEmoji&&(r!=null&&r.el.querySelector(`[data-emoji="${this.options.initialEmoji}"]`))?this.options.initialEmoji:"button"}reset(e=!0){this.events.emit("preview:hide");let r=this.determineInitialCategory();r&&(this.selectCategory(r,{focus:this.determineFocusTarget(r),performFocus:e,scroll:"jump"}),this.selectedCategory=this.getCategoryIndex(r))}getCategoryIndex(e){return this.categories.findIndex(r=>r.key===e)}focusPreviousCategory(e){this.selectedCategory>0&&this.focusCategory(this.selectedCategory-1,{row:"last",offset:e!=null?e:this.options.emojisPerRow})}focusNextCategory(e){this.selectedCategory<this.categories.length-1&&this.focusCategory(this.selectedCategory+1,{row:"first",offset:e!=null?e:0})}focusCategory(e,r){this.selectCategory(e,{focus:r,performFocus:!0})}async selectCategory(e,r={}){var i;this.scrollListenerState="suspend";let{focus:n,performFocus:o,scroll:s}=ne({performFocus:!1},r);this.emojiCategories[this.selectedCategory].setActive(!1);let a=this.selectedCategory=typeof e=="number"?e:this.getCategoryIndex(e);(i=this.categoryTabs)==null||i.setActiveTab(this.selectedCategory,{performFocus:o,scroll:n==="button"});let l=this.emojiCategories[a].el.offsetTop;this.emojiCategories[a].setActive(!0,lae(n),n!=="button"&&o),s&&(this.el.scrollTop=l),this.scrollListenerState="resume"}updateFocusedCategory(e){var r;this.categories[this.selectedCategory].key!==e&&(this.scrollListenerState="suspend",this.selectedCategory=this.getCategoryIndex(e),(r=this.categoryTabs)==null||r.setActiveTab(this.selectedCategory,{changeFocusable:!1,performFocus:!1}),this.scrollListenerState="resume")}handleScroll(){if(this.scrollListenerState==="suspend"||!this.categoryTabs)return;if(this.scrollListenerState==="resume"){this.scrollListenerState="active";return}let e=this.el.scrollTop,r=this.el.scrollHeight-this.el.offsetHeight,i=this.emojiCategories.findIndex((o,s)=>{var a;return e<((a=this.emojiCategories[s+1])==null?void 0:a.el.offsetTop)}),n={changeFocusable:!1,performFocus:!1,scroll:!1};e===0?this.categoryTabs.setActiveTab(0,n):Math.floor(e)===Math.floor(r)||i<0?this.categoryTabs.setActiveTab(this.categories.length-1,n):this.categoryTabs.setActiveTab(i,n)}},cae=new Or(({classList:t,classes:e,icon:r,message:i})=>`
<div class="${t}" role="alert">
<div class="${e.iconContainer}"><i data-size="10x" data-icon="${r}"></i></div>
<h3 class="${e.title}">${i}</h3>
</div>
`),vI=Ur("error","iconContainer","title"),pd=class extends ot{constructor({message:e,icon:r="warning",template:i=cae,className:n}){super({template:i,classes:vI}),this.message=e,this.icon=r,this.className=n}renderSync(){let e=[vI.error,this.className].join(" ").trim();return super.renderSync({message:this.message,icon:this.icon,classList:e})}},uae=new Or(({classList:t,classes:e,icon:r,i18n:i,message:n})=>`
<div class="${t}" role="alert">
<div class="${e.icon}"><i data-size="10x" data-icon="${r}"></i></div>
<h3 class="${e.title}">${n}</h3>
<button type="button">${i.get("retry")}</button>
</div>
`),fae=Ur("dataError"),K5=class extends pd{constructor({message:e}){super({message:e,template:uae,className:fae.dataError})}initialize(){this.uiElements={retryButton:"button"},this.uiEvents=[ot.childEvent("retryButton","click",this.onRetry)],super.initialize()}async onRetry(){this.emojiData?await this.emojiData.delete():await this.options.dataStore.deleteDatabase(this.options.locale),this.events.emit("reinitialize");let e=await _I(this.options.locale,this.options.dataStore,this.options.messages,this.options.emojiData,this.emojiData);this.viewFactory.setEmojiData(e),this.events.emit("data:ready",e)}},sd=Ur("preview","previewEmoji","previewName","tagList","tag"),hae=new Or(({classes:t,tag:e})=>`
<li class="${t.tag}">${e}</li>
`),dae=new Or(({classes:t})=>`
<div class="${t.preview}">
<div class="${t.previewEmoji}"></div>
<div class="${t.previewName}"></div>
<ul class="${t.tagList}"></ul>
</div>
`),J5=class extends ot{constructor(){super({template:dae,classes:sd})}initialize(){this.uiElements={emoji:ot.byClass(sd.previewEmoji),name:ot.byClass(sd.previewName),tagList:ot.byClass(sd.tagList)},this.appEvents={"preview:show":this.showPreview,"preview:hide":this.hidePreview},super.initialize()}showPreview(e,r){if(tu(this.ui.emoji,r),this.ui.name.textContent=e.label,e.tags){this.ui.tagList.style.display="flex";let i=e.tags.map(n=>hae.renderSync({tag:n,classes:sd}));tu(this.ui.tagList,...i)}}hidePreview(){yg(this.ui.emoji),yg(this.ui.name),yg(this.ui.tagList)}},pae=new Or(({classes:t,i18n:e})=>`
<button title="${e.get("search.clear")}" class="${t.clearSearchButton}">
<i data-icon="xmark"></i>
</button>
`),mae=new Or(({classes:t,i18n:e})=>`
<div class="${t.searchContainer}">
<input class="${t.searchField}" placeholder="${e.get("search")}">
<span class="${t.searchAccessory}"></span>
</div>
`,{mode:"async"}),ad=Ur("searchContainer","searchField","clearButton","searchAccessory","clearSearchButton","notFound"),ex=class extends ot{constructor({categories:e,emojiVersion:r}){super({template:mae,classes:ad}),this.categories=e.filter(i=>i.key!=="recents"),this.emojiVersion=r,this.search=dse(this.search.bind(this),100)}initialize(){this.uiElements={searchField:ot.byClass(ad.searchField),searchAccessory:ot.byClass(ad.searchAccessory)},this.uiEvents=[ot.childEvent("searchField","keydown",this.onKeyDown),ot.childEvent("searchField","input",this.onSearchInput)],super.initialize()}async render(){return await super.render(),this.searchIcon=AI("search"),this.notFoundMessage=this.viewFactory.create(pd,{message:this.i18n.get("search.notFound"),className:ad.notFound,icon:"sad"}),this.notFoundMessage.renderSync(),this.errorMessage=this.viewFactory.create(pd,{message:this.i18n.get("search.error")}),this.errorMessage.renderSync(),this.clearSearchButton=pae.render({classes:ad,i18n:this.i18n}),this.clearSearchButton.addEventListener("click",e=>this.onClearSearch(e)),this.searchField=this.ui.searchField,this.showSearchIcon(),this.el}showSearchIcon(){this.showSearchAccessory(this.searchIcon)}showClearSearchButton(){this.showSearchAccessory(this.clearSearchButton)}showSearchAccessory(e){tu(this.ui.searchAccessory,e)}clear(){this.searchField.value="",this.showSearchIcon()}focus(){this.searchField.focus()}onClearSearch(e){var r;e.stopPropagation(),this.searchField.value="",(r=this.resultsContainer)==null||r.destroy(),this.resultsContainer=null,this.showSearchIcon(),this.events.emit("content:show"),this.searchField.focus()}handleResultsKeydown(e){this.resultsContainer&&e.key==="Escape"&&this.onClearSearch(e)}onKeyDown(e){var r;e.key==="Escape"&&this.searchField.value?this.onClearSearch(e):(e.key==="Enter"||e.key==="ArrowDown")&&this.resultsContainer&&(e.preventDefault(),(r=this.resultsContainer.el.querySelector('[tabindex="0"]'))==null||r.focus())}onSearchInput(e){this.searchField.value?(this.showClearSearchButton(),this.search()):this.onClearSearch(e)}async search(){var e;if(this.searchField.value)try{let r=await this.emojiData.searchEmojis(this.searchField.value,this.customEmojis,this.emojiVersion,this.categories);if(this.events.emit("preview:hide"),r.length){let i=new Ag;this.resultsContainer=this.viewFactory.create(El,{emojis:r,fullHeight:!0,showVariants:!0,lazyLoader:i}),this.resultsContainer.renderSync(),(e=this.resultsContainer)!=null&&e.el&&(i.observe(this.resultsContainer.el),this.resultsContainer.setActive(!0,{row:0,offset:0},!1),this.resultsContainer.el.addEventListener("keydown",n=>this.handleResultsKeydown(n)),this.events.emit("content:show",this.resultsContainer))}else this.events.emit("content:show",this.notFoundMessage)}catch(r){this.events.emit("content:show",this.errorMessage)}}},Oae=new Or(({classes:t})=>`
<div class="${t.variantOverlay}">
<div class="${t.variantPopup}">
<div data-view="emojis" data-render="sync"></div>
</div>
</div>
`),wI=Ur("variantOverlay","variantPopup"),T5={easing:"ease-in-out",duration:250,fill:"both"},xI={opacity:[0,1]},kI={opacity:[0,1],transform:["scale3d(0.8, 0.8, 0.8)","scale3d(1, 1, 1)"]},tx=class extends ot{constructor({emoji:e,parent:r}){super({template:Oae,classes:wI,parent:r}),this.focusedEmojiIndex=0,this.focusTrap=new hd,this.animateShow=()=>Promise.all([kl(this.el,xI,T5,this.options),kl(this.ui.popup,kI,T5,this.options)]),this.emoji=e}initialize(){this.uiElements={popup:ot.byClass(wI.variantPopup)},this.uiEvents=[ot.uiEvent("click",this.handleClick),ot.uiEvent("keydown",this.handleKeydown)],super.initialize()}animateHide(){let e=Be(ne({},T5),{direction:"reverse"});return Promise.all([kl(this.el,xI,e,this.options),kl(this.ui.popup,kI,e,this.options)])}async hide(){await this.animateHide(),this.events.emit("variantPopup:hide")}handleKeydown(e){e.key==="Escape"&&(this.hide(),e.stopPropagation())}handleClick(e){this.ui.popup.contains(e.target)||this.hide()}getEmoji(e){return this.renderedEmojis[e]}setFocusedEmoji(e){let r=this.getEmoji(this.focusedEmojiIndex);r.tabIndex=-1,this.focusedEmojiIndex=e;let i=this.getEmoji(this.focusedEmojiIndex);i.tabIndex=0,i.focus()}destroy(){this.emojiContainer.destroy(),this.focusTrap.deactivate(),super.destroy()}renderSync(){let e=Be(ne({},this.emoji),{skins:null}),r=(this.emoji.skins||[]).map(n=>Be(ne({},n),{label:this.emoji.label,tags:this.emoji.tags})),i=[e,...r];return this.emojiContainer=this.viewFactory.create(El,{emojis:i,preview:!1}),super.renderSync({emojis:this.emojiContainer}),i.length<this.options.emojisPerRow&&this.el.style.setProperty("--emojis-per-row",i.length.toString()),this.el}activate(){this.emojiContainer.setActive(!0,{row:0,offset:0},!0),this.focusTrap.activate(this.el)}},gae=new Or(({classes:t,i18n:e,category:r,pickerId:i,icon:n})=>`
<li class="${t.categoryTab}">
<button
aria-selected="false"
role="tab"
class="${t.categoryButton}"
tabindex="-1"
title="${e.get(`categories.${r.key}`,r.message||r.key)}"
type="button"
data-category="${r.key}"
id="${i}-category-${r.key}"
>
<i data-icon="${n}"></i>
</li>
`),E5=Ur("categoryTab","categoryTabActive","categoryButton"),rx=class extends ot{constructor({category:e,icon:r}){super({template:gae,classes:E5}),this.isActive=!1,this.category=e,this.icon=r}initialize(){this.uiElements={button:ot.byClass(E5.categoryButton)},this.uiEvents=[ot.childEvent("button","click",this.selectCategory),ot.childEvent("button","focus",this.selectCategory)],super.initialize()}renderSync(){return super.renderSync({category:this.category,icon:this.icon}),this.ui.button.ariaSelected="false",this.el}setActive(e,r={}){let{changeFocusable:i,performFocus:n,scroll:o}=ne({changeFocusable:!0,performFocus:!0,scroll:!0},r);this.el.classList.toggle(E5.categoryTabActive,e),i&&(this.ui.button.tabIndex=e?0:-1,this.ui.button.ariaSelected=e.toString()),e&&n&&(this.ui.button.focus(),o&&this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!1})),this.isActive=e}selectCategory(){this.isActive||this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!0})}},bae=new Or(({classes:t})=>`
<div class="${t.categoryButtonsContainer}">
<ul role="tablist" class="${t.categoryButtons}">
<div data-placeholder="tabs"></div>
</ul>
</div>
`),yae=Ur("categoryButtons","categoryButtonsContainer"),ix=class extends ot{constructor({categories:e}){super({template:bae,classes:yae}),this.activeCategoryIndex=0,this.categories=e}initialize(){this.keyBindings={ArrowLeft:this.stepSelectedTab(-1),ArrowRight:this.stepSelectedTab(1)},this.uiEvents=[ot.uiEvent("scroll",this.checkOverflow)],super.initialize()}checkOverflow(){let e=Math.abs(this.el.scrollLeft-(this.el.scrollWidth-this.el.offsetWidth))>1,r=this.el.scrollLeft>0;this.el.className="categoryButtonsContainer",r&&e?this.el.classList.add("has-overflow-both"):r?this.el.classList.add("has-overflow-left"):e&&this.el.classList.add("has-overflow-right")}renderSync(){return this.tabViews=this.categories.map(e=>this.viewFactory.create(rx,{category:e,icon:Rg[e.key]})),super.renderSync({tabs:this.tabViews.map(e=>e.renderSync())}),this.el}get currentCategory(){return this.categories[this.activeCategoryIndex]}get currentTabView(){return this.tabViews[this.activeCategoryIndex]}setActiveTab(e,r={}){this.checkOverflow();let i=this.currentTabView,n=this.tabViews[e];i.setActive(!1,r),n.setActive(!0,r),this.activeCategoryIndex=e}getTargetCategory(e){return e<0?this.categories.length-1:e>=this.categories.length?0:e}stepSelectedTab(e){return()=>{let r=this.activeCategoryIndex+e;this.setActiveTab(this.getTargetCategory(r),{changeFocusable:!0,performFocus:!0})}}},vae=[{version:15,emoji:String.fromCodePoint(129768)},{version:14,emoji:String.fromCodePoint(128733)},{version:13,emoji:String.fromCodePoint(129729)},{version:12,emoji:String.fromCodePoint(129449)},{version:11,emoji:String.fromCodePoint(129463)},{version:5,emoji:String.fromCodePoint(129322)},{version:4,emoji:String.fromCodePoint(9877)},{version:3,emoji:String.fromCodePoint(129314)},{version:2,emoji:String.fromCodePoint(128488)},{version:1,emoji:String.fromCodePoint(128512)}];function wae(){var t;let e=vae.find(r=>xae(r.emoji));return(t=e==null?void 0:e.version)!=null?t:1}function xae(t){let e=document.createElement("canvas").getContext("2d");if(e)return e.textBaseline="top",e.font="32px Arial",e.fillText(t,0,0),e.getImageData(16,16,1,1).data[0]!==0}function C5(t,e){return Array.from({length:t},()=>e).join("")}function kae({showHeader:t,classes:e}){return t?`
<header class="${e.header}">
<div data-view="search"></div>
<div data-view="categoryTabs" data-render="sync"></div>
</header>
`:""}function Sae(t){let{classes:e,theme:r,className:i=""}=t;return`
<div class="picmo__picker ${e.picker} ${r} ${i}">
${kae(t)}
<div class="${e.content}">
<div data-view="emojiArea"></div>
</div>
<div data-view="preview"></div>
</div>
`}function Tae(t){let{emojiCount:e,classes:r,theme:i,className:n,categoryCount:o}=t,s=({showSearch:u,classes:f})=>u?`
<div class="${f.searchSkeleton}">
<div class="${f.searchInput} ${f.placeholder}"></div>
</div>
`:"",a=({showCategoryTabs:u,classes:f})=>u?`
<div class="${f.categoryTabsSkeleton}">
${C5(o,`<div class="${f.placeholder} ${f.categoryTab}"></div>`)}
</div>
`:"",l=({showHeader:u,classes:f})=>u?`
<header class="${f.headerSkeleton}">
${s(t)}
${a(t)}
</header>
`:"",c=({showPreview:u,classes:f})=>u?`
<div class="${f.previewSkeleton}">
<div class="${f.placeholder} ${f.previewEmoji}"></div>
<div class="${f.placeholder} ${f.previewName}"></div>
<ul class="${f.tagList}">
${C5(3,`<li class="${f.placeholder} ${f.tag}"></li>`)}
</ul>
</div>
`:"";return`
<div class="picmo__picker ${r.skeleton} ${r.picker} ${i} ${n}">
${l(t)}
<div class="${r.contentSkeleton}">
<div class="${r.placeholder} ${r.categoryName}"></div>
<div class="${r.emojiGrid}">
${C5(e,`<div class="${r.placeholder} ${r.emoji}"></div>`)}
</div>
</div>
${c(t)}
</div>
`}var Eae=new Or(t=>t.isLoaded?Sae(t):Tae(t)),Og=Ur("picker","skeleton","placeholder","searchSkeleton","searchInput","categoryTabsSkeleton","headerSkeleton","categoryTab","contentSkeleton","categoryName","emojiGrid","emoji","previewSkeleton","previewEmoji","previewName","tagList","tag","overlay","content","fullHeight","pluginContainer","header"),gg={emojisPerRow:"--emojis-per-row",visibleRows:"--row-count",emojiSize:"--emoji-size"},nx=class extends ot{constructor(){super({template:Eae,classes:Og}),this.pickerReady=!1,this.externalEvents=new V5,this.updaters={styleProperty:e=>r=>this.el.style.setProperty(gg[e],r.toString()),theme:e=>{let r=this.options.theme,i=this.el.closest(`.${r}`);this.el.classList.remove(r),i==null||i.classList.remove(r),this.el.classList.add(e),i==null||i.classList.add(e)},className:e=>{this.options.className&&this.el.classList.remove(this.options.className),this.el.classList.add(e)},emojisPerRow:this.updateStyleProperty.bind(this,"emojisPerRow"),emojiSize:this.updateStyleProperty.bind(this,"emojiSize"),visibleRows:this.updateStyleProperty.bind(this,"visibleRows")}}initialize(){this.uiElements={pickerContent:ot.byClass(Og.content),header:ot.byClass(Og.header)},this.uiEvents=[ot.uiEvent("keydown",this.handleKeyDown)],this.appEvents={error:this.onError,reinitialize:this.reinitialize,"data:ready":this.onDataReady,"content:show":this.showContent,"variantPopup:hide":this.hideVariantPopup,"emoji:select":this.selectEmoji},super.initialize(),this.options.recentsProvider}destroy(){var e,r;super.destroy(),(e=this.search)==null||e.destroy(),this.emojiArea.destroy(),(r=this.categoryTabs)==null||r.destroy(),this.events.removeAll(),this.externalEvents.removeAll()}clearRecents(){this.options.recentsProvider.clear()}addEventListener(e,r){this.externalEvents.on(e,r)}removeEventListener(e,r){this.externalEvents.off(e,r)}initializePickerView(){this.pickerReady&&(this.showContent(),this.emojiArea.reset(!1))}handleKeyDown(e){let r=e.ctrlKey||e.metaKey;e.key==="s"&&r&&this.search&&(e.preventDefault(),this.search.focus())}buildChildViews(){return this.options.showPreview&&(this.preview=this.viewFactory.create(J5)),this.options.showSearch&&(this.search=this.viewFactory.create(ex,{categories:this.categories,emojiVersion:this.emojiVersion})),this.options.showCategoryTabs&&(this.categoryTabs=this.viewFactory.create(ix,{categories:this.categories})),this.currentView=this.emojiArea=this.viewFactory.create(G5,{categoryTabs:this.categoryTabs,categories:this.categories,emojiVersion:this.emojiVersion}),[this.preview,this.search,this.emojiArea,this.categoryTabs]}setStyleProperties(){this.options.showSearch||this.el.style.setProperty("--search-height-full","0px"),this.options.showCategoryTabs||(this.el.style.setProperty("--category-tabs-height","0px"),this.el.style.setProperty("--category-tabs-offset","0px")),this.options.showPreview||this.el.style.setProperty("--emoji-preview-height-full","0px"),Object.keys(gg).forEach(e=>{this.options[e]&&this.el.style.setProperty(gg[e],this.options[e].toString())})}updateStyleProperty(e,r){this.el.style.setProperty(gg[e],r.toString())}reinitialize(){this.renderSync()}onError(e){let r=this.viewFactory.createWithOptions({data:!1},K5,{message:this.i18n.get("error.load")}),i=this.el.offsetHeight||375;throw this.el.style.height=`${i}px`,tu(this.el,r.renderSync()),e}async onDataReady(e){let r=this.el;try{e?this.emojiData=e:await this.emojiDataPromise,this.options.emojiVersion==="auto"?this.emojiVersion=wae()||parseFloat(ase):this.emojiVersion=this.options.emojiVersion,this.categories=await this.emojiData.getCategories(this.options);let[i,n,o,s]=this.buildChildViews();await super.render({isLoaded:!0,search:n,categoryTabs:s,emojiArea:o,preview:i,showHeader:!!(this.search||this.categoryTabs),theme:this.options.theme,className:this.options.className}),this.el.style.setProperty("--category-count",this.categories.length.toString()),this.pickerReady=!0,r.replaceWith(this.el),this.setStyleProperties(),this.initializePickerView(),this.setInitialFocus(),this.externalEvents.emit("data:ready")}catch(i){this.events.emit("error",i)}}renderSync(){var e;let r=((e=this.options.categories)==null?void 0:e.length)||10;if(this.options.showRecents&&(r+=1),super.renderSync({isLoaded:!1,theme:this.options.theme,className:this.options.className,showSearch:this.options.showSearch,showPreview:this.options.showPreview,showCategoryTabs:this.options.showCategoryTabs,showHeader:this.options.showSearch||this.options.showCategoryTabs,emojiCount:this.options.emojisPerRow*this.options.visibleRows,categoryCount:r}),this.el.style.setProperty("--category-count",r.toString()),!this.options.rootElement)throw new Error("Picker must be given a root element via the rootElement option");return tu(this.options.rootElement,this.el),this.setStyleProperties(),this.pickerReady&&this.initializePickerView(),this.el}getInitialFocusTarget(){if(typeof this.options.autoFocus<"u")switch(this.options.autoFocus){case"emojis":return this.emojiArea.focusableEmoji;case"search":return this.search;case"auto":return this.search||this.emojiArea.focusableEmoji;default:return null}if(this.options.autoFocusSearch===!0)return console.warn("options.autoFocusSearch is deprecated, please use options.focusTarget instead"),this.search}setInitialFocus(){var e;!this.pickerReady||(e=this.getInitialFocusTarget())==null||e.focus()}reset(e=!0){var r;this.pickerReady&&(this.emojiArea.reset(e),this.showContent(this.emojiArea)),(r=this.search)==null||r.clear(),this.hideVariantPopup()}showContent(e=this.emojiArea){var r,i;e!==this.currentView&&(this.currentView!==this.emojiArea&&((r=this.currentView)==null||r.destroy()),this.ui.pickerContent.classList.toggle(Og.fullHeight,e!==this.emojiArea),tu(this.ui.pickerContent,e.el),this.currentView=e,e===this.emojiArea?(this.emojiArea.reset(),this.categoryTabs&&this.ui.header.appendChild(this.categoryTabs.el)):(i=this.categoryTabs)==null||i.el.remove())}hideVariantPopup(){var e;(e=this.variantPopup)==null||e.destroy()}isPickerClick(e){var r,i;let n=e.target,o=this.el.contains(n),s=(i=(r=this.variantPopup)==null?void 0:r.el)==null?void 0:i.contains(n);return o||s}async selectEmoji({emoji:e}){var r,i;(r=e.skins)!=null&&r.length&&this.options.showVariants&&!this.isVariantPopupOpen?this.showVariantPopup(e):(await((i=this.variantPopup)==null?void 0:i.animateHide()),this.events.emit("variantPopup:hide"),await this.emitEmoji(e))}get isVariantPopupOpen(){return this.variantPopup&&!this.variantPopup.isDestroyed}async showVariantPopup(e){let r=document.activeElement;this.events.once("variantPopup:hide",()=>{r==null||r.focus()}),this.variantPopup=this.viewFactory.create(tx,{emoji:e,parent:this.el}),this.el.appendChild(this.variantPopup.renderSync()),this.variantPopup.activate()}async emitEmoji(e){this.externalEvents.emit("emoji:select",await this.renderer.doEmit(e)),this.options.recentsProvider.addOrUpdateRecent(e,this.options.maxRecents),this.events.emit("recent:add",e)}updateOptions(e){Object.keys(e).forEach(r=>{this.updaters[r](e[r])}),Object.assign(this.options,e)}},ox=class{constructor({events:e,i18n:r,renderer:i,emojiData:n,options:o,customEmojis:s=[],pickerId:a}){this.events=e,this.i18n=r,this.renderer=i,this.emojiData=n,this.options=o,this.customEmojis=s,this.pickerId=a}setEmojiData(e){this.emojiData=Promise.resolve(e)}createWithOptions(e={},r,...i){let n=new r(...i);return n.setPickerId(this.pickerId),n.setEvents(this.events),n.setI18n(this.i18n),n.setRenderer(this.renderer),e.data!==!1&&n.setEmojiData(this.emojiData),n.setOptions(this.options),n.setCustomEmojis(this.customEmojis),n.viewFactory=this,n.initialize(),n}create(e,...r){return this.createWithOptions({},e,...r)}},Tg,sx=class{constructor(e={}){os(this,Tg,void 0),P5(this,Tg,new Map(Object.entries(e)))}get(e,r=e){return ss(this,Tg).get(e)||r}};Tg=new WeakMap;function Cae(t,e){e===void 0&&(e={});var r=e.insertAt;if(!(!t||typeof document>"u")){var i=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",r==="top"&&i.firstChild?i.insertBefore(n,i.firstChild):i.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}}function fx(){let t=!1;return function(e){Gse.injectStyles&&!t&&(Cae(e),t=!0)}}var Pae=`.picmo__picker .picmo__icon{width:1.25em;height:1em;fill:currentColor}.picmo__icon-small{font-size:.8em}.picmo__icon-medium{font-size:1em}.picmo__icon-large{font-size:1.25em}.picmo__icon-2x{font-size:2em}.picmo__icon-3x{font-size:3em}.picmo__icon-4x{font-size:4em}.picmo__icon-5x{font-size:5em}.picmo__icon-8x{font-size:8em}.picmo__icon-10x{font-size:10em}.picmo__light,.picmo__auto{color-scheme:light;--accent-color: #4f46e5;--background-color: #f9fafb;--border-color: #cccccc;--category-name-background-color: #f9fafb;--category-name-button-color: #999999;--category-name-text-color: hsl(214, 30%, 50%);--category-tab-active-background-color: rgba(255, 255, 255, .6);--category-tab-active-color: var(--accent-color);--category-tab-color: #666;--category-tab-highlight-background-color: rgba(0, 0, 0, .15);--error-color-dark: hsl(0, 100%, 45%);--error-color: hsl(0, 100%, 40%);--focus-indicator-background-color: hsl(198, 65%, 85%);--focus-indicator-color: #333333;--hover-background-color: #c7d2fe;--placeholder-background-color: #cccccc;--search-background-color: #f9fafb;--search-focus-background-color: #ffffff;--search-icon-color: #999999;--search-placeholder-color: #71717a;--secondary-background-color: #e2e8f0;--secondary-text-color: #666666;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #000000;--variant-popup-background-color: #ffffff}.picmo__dark{color-scheme:dark;--accent-color: #A580F9;--background-color: #333333;--border-color: #666666;--category-name-background-color: #333333;--category-name-button-color: #eeeeee;--category-name-text-color: #ffffff;--category-tab-active-background-color: #000000;--category-tab-active-color: var(--accent-color);--category-tab-color: #cccccc;--category-tab-highlight-background-color: #4A4A4A;--error-color-dark: hsl(0, 7%, 3%);--error-color: hsl(0, 30%, 60%);--focus-indicator-background-color: hsl(0, 0%, 50%);--focus-indicator-color: #999999;--hover-background-color: hsla(0, 0%, 40%, .85);--image-placeholder-color: #ffffff;--placeholder-background-color: #666666;--search-background-color: #71717a;--search-focus-background-color: #52525b;--search-icon-color: #cccccc;--search-placeholder-color: #d4d4d8;--secondary-background-color: #000000;--secondary-text-color: #999999;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #ffffff;--variant-popup-background-color: #333333}@media (prefers-color-scheme: dark){.picmo__auto{color-scheme:dark;--accent-color: #A580F9;--background-color: #333333;--border-color: #666666;--category-name-background-color: #333333;--category-name-button-color: #eeeeee;--category-name-text-color: #ffffff;--category-tab-active-background-color: #000000;--category-tab-active-color: var(--accent-color);--category-tab-color: #cccccc;--category-tab-highlight-background-color: #4A4A4A;--error-color-dark: hsl(0, 7%, 3%);--error-color: hsl(0, 30%, 60%);--focus-indicator-background-color: hsl(0, 0%, 50%);--focus-indicator-color: #999999;--hover-background-color: hsla(0, 0%, 40%, .85);--image-placeholder-color: #ffffff;--placeholder-background-color: #666666;--search-background-color: #71717a;--search-focus-background-color: #52525b;--search-icon-color: #cccccc;--search-placeholder-color: #d4d4d8;--secondary-background-color: #000000;--secondary-text-color: #999999;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #ffffff;--variant-popup-background-color: #333333}}.picmo__picker .picmo__categoryButtonsContainer{overflow:auto;padding:2px 0}.picmo__picker .picmo__categoryButtonsContainer.picmo__has-overflow-right{mask-image:linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%);-webkit-mask-image:linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%)}.picmo__picker .picmo__categoryButtonsContainer.picmo__has-overflow-left{mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%);-webkit-mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%)}.picmo__picker .picmo__categoryButtonsContainer.picmo__has-overflow-both{mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%);-webkit-mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%)}.picmo__picker .picmo__categoryButtons{display:flex;flex-direction:row;gap:var(--tab-gap);margin:0;padding:0 .5em;align-items:center;height:var(--category-tabs-height);box-sizing:border-box;width:100%;justify-content:space-between;position:relative;list-style-type:none;justify-self:center;max-width:min(23.55rem,calc(var(--category-count, 1) * 2.5rem))}.picmo__picker .picmo__categoryButtons .picmo__categoryTab{display:flex;align-items:center;transition:all .1s;width:2em}.picmo__picker .picmo__categoryButtons .picmo__categoryTab.picmo__categoryTabActive .picmo__categoryButton{color:var(--category-tab-active-color);background:linear-gradient(rgba(255,255,255,.75) 0%,rgba(255,255,255,.75) 100%),linear-gradient(var(--category-tab-active-color) 0%,var(--category-tab-active-color) 100%);border:2px solid var(--category-tab-active-color)}.picmo__picker .picmo__categoryButtons .picmo__categoryTab.picmo__categoryTabActive .picmo__categoryButton:hover{background-color:var(--category-tab-active-background-color)}.picmo__picker .picmo__categoryButtons .picmo__categoryTab button.picmo__categoryButton{border-radius:5px;background:transparent;border:2px solid transparent;color:var(--category-tab-color);cursor:pointer;padding:2px;vertical-align:middle;display:flex;align-items:center;justify-content:center;font-size:1.2rem;width:1.6em;height:1.6em;transition:all .1s}.picmo__picker .picmo__categoryButtons .picmo__categoryTab button.picmo__categoryButton:is(img){width:var(--category-tab-size);height:var(--category-tab-size)}.picmo__picker .picmo__categoryButtons .picmo__categoryTab button.picmo__categoryButton:hover{background:var(--category-tab-highlight-background-color)}.picmo__dataError [data-icon]{opacity:.8}@keyframes appear{0%{opacity:0}to{opacity:.8}}@keyframes appear-grow{0%{opacity:0;transform:scale(.8)}to{opacity:.8;transform:scale(1)}}.picmo__picker .picmo__error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--secondary-text-color)}.picmo__picker .picmo__error .picmo__iconContainer{opacity:.8;animation:appear-grow .25s cubic-bezier(.175,.885,.32,1.275);--color-primary: var(--error-color);--color-secondary: var(--error-color-dark)}.picmo__picker .picmo__error .picmo__title{animation:appear .25s;animation-delay:50ms;animation-fill-mode:both}.picmo__picker .picmo__error button{padding:8px 16px;cursor:pointer;background:var(--background-color);border:1px solid var(--text-color);border-radius:5px;color:var(--text-color)}.picmo__picker .picmo__error button:hover{background:var(--text-color);color:var(--background-color)}.picmo__emojiButton{background:transparent;border:none;border-radius:15px;cursor:pointer;display:flex;font-family:var(--emoji-font);font-size:var(--emoji-size);height:100%;justify-content:center;align-items:center;margin:0;overflow:hidden;padding:0;width:100%}.picmo__emojiButton:hover{background:var(--hover-background-color)}.picmo__emojiButton:focus{border-radius:0;background:var(--focus-indicator-background-color);outline:1px solid var(--focus-indicator-color)}.picmo__picker .picmo__emojiArea{height:var(--emoji-area-height);overflow-y:auto;position:relative}.picmo__picker .picmo__emojiCategory{position:relative}.picmo__picker .picmo__emojiCategory .picmo__categoryName{font-size:.9em;padding:.5rem;margin:0;background:var(--category-name-background-color);color:var(--category-name-text-color);top:0;z-index:1;display:grid;gap:4px;grid-template-columns:auto 1fr auto;align-items:center;line-height:1;box-sizing:border-box;height:var(--category-name-height);justify-content:flex-start;text-transform:uppercase}.picmo__picker .picmo__emojiCategory .picmo__categoryName button{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;color:var(--category-name-button-color)}.picmo__picker .picmo__emojiCategory .picmo__categoryName button:hover{opacity:1}.picmo__picker .picmo__emojiCategory .picmo__noRecents{color:var(--secondary-text-color);grid-column:1 / span var(--emojis-per-row);font-size:.9em;text-align:center;display:flex;align-items:center;justify-content:center;min-height:calc(var(--emoji-size) * var(--emoji-size-multiplier))}.picmo__picker .picmo__emojiCategory .picmo__recentEmojis[data-empty=true]{display:none}:is(.picmo__picker .picmo__emojiCategory) .picmo__recentEmojis[data-empty=false]+div{display:none}.picmo__picker .picmo__emojiContainer{display:grid;justify-content:space-between;gap:1px;padding:0 .5em;grid-template-columns:repeat(var(--emojis-per-row),calc(var(--emoji-size) * var(--emoji-size-multiplier)));grid-auto-rows:calc(var(--emoji-size) * var(--emoji-size-multiplier));align-items:center;justify-items:center}.picmo__picker.picmo__picker{--border-radius: 5px;--emoji-area-height: calc( (var(--row-count) * var(--emoji-size) * var(--emoji-size-multiplier)) + var(--category-name-height) );--content-height: var(--emoji-area-height);--emojis-per-row: 8;--row-count: 6;--emoji-preview-margin: 4px;--emoji-preview-height: calc(var(--emoji-preview-size) + 1em + 1px);--emoji-preview-height-full: calc(var(--emoji-preview-height) + var(--emoji-preview-margin));--emoji-preview-size: 2.75em;--emoji-size: 2rem;--emoji-size-multiplier: 1.3;--content-margin: 8px;--category-tabs-height:calc(1.5em + 9px);--category-tabs-offset: 8px;--category-tab-size: 1.2rem;--category-name-height: 2rem;--category-name-padding-y: 6px;--search-height: 2em;--search-margin: .5em;--search-margin-bottom: 4px;--search-height-full: calc(var(--search-height) + var(--search-margin) + var(--search-margin-bottom));--overlay-background-color: rgba(0, 0, 0, .8);--emoji-font: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji";--ui-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;--ui-font-size: 16px;--picker-width: calc(var(--emojis-per-row) * var(--emoji-size) * var(--emoji-size-multiplier) + 2.75rem);--preview-background-color: var(--secondary-background-color);background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);font-family:var(--ui-font);font-size:var(--ui-font-size);overflow:hidden;position:relative;width:var(--picker-width);display:grid;gap:8px}.picmo__picker.picmo__picker>*{font-family:var(--ui-font)}.picmo__picker.picmo__skeleton{background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);font-family:var(--ui-font);width:var(--picker-width);color:var(--secondary-text-color)}.picmo__picker.picmo__skeleton *{box-sizing:border-box}.picmo__picker.picmo__skeleton .picmo__placeholder{background:var(--placeholder-background-color);position:relative;overflow:hidden}.picmo__picker.picmo__skeleton .picmo__placeholder:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 100%);animation:shine 2s infinite;content:""}.picmo__picker.picmo__skeleton .picmo__headerSkeleton{background-color:var(--secondary-background-color);padding-top:8px;padding-bottom:8px;display:flex;flex-direction:column;overflow:hidden;gap:8px;border-bottom:1px solid var(--border-color);width:var(--picker-width)}.picmo__picker.picmo__skeleton .picmo__searchSkeleton{padding:0 8px;height:var(--search-height)}.picmo__picker.picmo__skeleton .picmo__searchSkeleton .picmo__searchInput{width:100%;height:28px;border-radius:3px}.picmo__picker.picmo__skeleton .picmo__categoryTabsSkeleton{height:var(--category-tabs-height);display:flex;flex-direction:row;align-items:center;justify-self:center;width:calc(2rem * var(--category-count, 1))}.picmo__picker.picmo__skeleton .picmo__categoryTabsSkeleton .picmo__categoryTab{width:25px;height:25px;padding:2px;border-radius:5px;margin:.25em}.picmo__picker.picmo__skeleton .picmo__contentSkeleton{height:var(--content-height);padding-right:8px;opacity:.7}.picmo__picker.picmo__skeleton .picmo__contentSkeleton .picmo__categoryName{width:50%;height:1rem;margin:.5rem;box-sizing:border-box}.picmo__picker.picmo__skeleton .picmo__contentSkeleton .picmo__emojiGrid{display:grid;justify-content:space-between;gap:1px;padding:0 .5em;grid-template-columns:repeat(var(--emojis-per-row),calc(var(--emoji-size) * var(--emoji-size-multiplier)));grid-auto-rows:calc(var(--emoji-size) * var(--emoji-size-multiplier));align-items:center;justify-items:center;width:var(--picker-width)}.picmo__picker.picmo__skeleton .picmo__contentSkeleton .picmo__emojiGrid .picmo__emoji{width:var(--emoji-size);height:var(--emoji-size);border-radius:50%}.picmo__picker.picmo__skeleton .picmo__previewSkeleton{height:var(--emoji-preview-height);border-top:1px solid var(--border-color);display:grid;align-items:center;padding:.5em;gap:6px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;grid-template-areas:"emoji name" "emoji tags"}.picmo__picker.picmo__skeleton .picmo__previewSkeleton .picmo__previewEmoji{grid-area:emoji;border-radius:50%;width:var(--emoji-preview-size);height:var(--emoji-preview-size)}.picmo__picker.picmo__skeleton .picmo__previewSkeleton .picmo__previewName{grid-area:name;height:.8em;width:80%}.picmo__picker.picmo__skeleton .picmo__previewSkeleton .picmo__tagList{grid-area:tags;list-style-type:none;display:flex;flex-direction:row;padding:0;margin:0}.picmo__picker.picmo__skeleton .picmo__previewSkeleton .picmo__tagList .picmo__tag{border-radius:3px;padding:2px 8px;margin-right:.25em;height:1em;width:20%}.picmo__overlay{background:rgba(0,0,0,.75);height:100%;left:0;position:fixed;top:0;width:100%;z-index:1000}.picmo__content{position:relative;overflow:hidden;height:var(--content-height)}.picmo__content.picmo__fullHeight{height:calc(var(--content-height) + var(--category-tabs-height) + var(--category-tabs-offset));overflow-y:auto}.picmo__pluginContainer{margin:.5em;display:flex;flex-direction:row}.picmo__header{background-color:var(--secondary-background-color);padding-top:8px;padding-bottom:8px;display:grid;gap:8px;border-bottom:1px solid var(--border-color)}@media (prefers-reduced-motion: reduce){.picmo__placeholder{background:var(--placeholder-background-color);position:relative;overflow:hidden}.picmo__placeholder:after{display:none}}.picmo__picker .picmo__preview{border-top:1px solid var(--border-color);display:grid;align-items:center;gap:6px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;grid-template-areas:"emoji name" "emoji tags";height:var(--emoji-preview-height);box-sizing:border-box;padding:.5em;position:relative;background:var(--preview-background-color)}.picmo__picker .picmo__preview .picmo__previewEmoji{grid-area:emoji;font-size:var(--emoji-preview-size);font-family:var(--emoji-font);width:1.25em;display:flex;align-items:center;justify-content:center}.picmo__picker .picmo__preview .picmo__previewName{grid-area:name;color:var(--text-color);font-size:.8em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.picmo__picker .picmo__preview .picmo__tagList{grid-area:tags;list-style-type:none;display:flex;flex-direction:row;padding:0;margin:0;font-size:.75em;overflow:hidden}.picmo__picker .picmo__preview .picmo__tag{border-radius:3px;background:var(--tag-background-color);color:var(--text-color);padding:2px 8px;margin-right:.25em;white-space:nowrap}.picmo__picker .picmo__preview .picmo__tag:last-child{margin-right:0}.picmo__picker .picmo__searchContainer{display:flex;height:var(--search-height);box-sizing:border-box;padding:0 8px;position:relative}.picmo__picker .picmo__searchContainer .picmo__searchField{background:var(--search-background-color);border-radius:3px;border:none;box-sizing:border-box;color:var(--text-color);font-size:.9em;outline:none;padding:.5em 2.25em .5em .5em;width:100%}.picmo__picker .picmo__searchContainer .picmo__searchField:focus{background:var(--search-focus-background-color)}.picmo__picker .picmo__searchContainer .picmo__searchField::placeholder{color:var(--search-placeholder-color)}.picmo__picker .picmo__searchContainer .picmo__searchAccessory{color:var(--search-icon-color);height:100%;position:absolute;right:1em;top:0;width:1.25rem;display:flex;align-items:center}.picmo__picker .picmo__searchContainer .picmo__searchAccessory svg{fill:var(--search-icon-color)}.picmo__picker .picmo__searchContainer .picmo__clearButton{border:0;color:var(--search-icon-color);background:transparent;cursor:pointer}.picmo__picker .picmo__searchContainer .picmo__clearSearchButton{cursor:pointer;border:none;background:transparent;color:var(--search-icon-color);font-size:1em;width:100%;height:100%;display:flex;align-items:center;padding:0}.picmo__picker .picmo__searchContainer .picmo__notFound [data-icon]{fill:#f3e265}.picmo__picker .picmo__variantOverlay{background:var(--overlay-background-color);border-radius:5px;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:1}.picmo__picker .picmo__variantOverlay .picmo__variantPopup{background:var(--variant-popup-background-color);border-radius:5px;margin:.5em;padding:.5em;text-align:center;user-select:none;display:flex;align-items:center;justify-content:center}.picmo__customEmoji{width:1em;height:1em}@keyframes shine{to{transform:translate(100%)}}.picmo__picker .picmo__imagePlaceholder{width:2rem;height:2rem;border-radius:50%}.picmo__placeholder{background:#DDDBDD;position:relative}.picmo__placeholder:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 100%);animation:shine 2s infinite;content:""}
`;function Qae(t){return _I(t.locale,t.dataStore,t.messages,t.emojiData)}var _ae=0,bg;function Aae(){return`picmo-${Date.now()}-${_ae++}`}var Rae=fx();function $I(t){Rae(Pae);let e=ux(t),r=((e==null?void 0:e.custom)||[]).map(s=>Be(ne({},s),{custom:!0,tags:["custom",...s.tags||[]]})),i=new B5;bg||(bg=Qae(e));let n=new sx(e.i18n);bg.then(s=>{i.emit("data:ready",s)}).catch(s=>{i.emit("error",s)});let o=new ox({events:i,i18n:n,customEmojis:r,renderer:e.renderer,options:e,emojiData:bg,pickerId:Aae()}).create(nx);return o.renderSync(),o}function Cl(t){return t.split("-")[0]}function ru(t){return t.split("-")[1]}function zg(t){return["top","bottom"].includes(Cl(t))?"x":"y"}function BI(t){return t==="y"?"height":"width"}function XI(t,e,r){let{reference:i,floating:n}=t,o=i.x+i.width/2-n.width/2,s=i.y+i.height/2-n.height/2,a=zg(e),l=BI(a),c=i[l]/2-n[l]/2,u=Cl(e),f=a==="x",d;switch(u){case"top":d={x:o,y:i.y-n.height};break;case"bottom":d={x:o,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:s};break;case"left":d={x:i.x-n.width,y:s};break;default:d={x:i.x,y:i.y}}switch(ru(e)){case"start":d[a]-=c*(r&&f?-1:1);break;case"end":d[a]+=c*(r&&f?-1:1);break}return d}var $ae=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:o=[],platform:s}=r,a=await(s.isRTL==null?void 0:s.isRTL(e)),l=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:c,y:u}=XI(l,i,a),f=i,d={},p=0;for(let O=0;O<o.length;O++){let{name:w,fn:x}=o[O],{x:k,y:C,data:R,reset:Q}=await x({x:c,y:u,initialPlacement:i,placement:f,strategy:n,middlewareData:d,rects:l,platform:s,elements:{reference:t,floating:e}});if(c=k!=null?k:c,u=C!=null?C:u,d=Be(ne({},d),{[w]:ne(ne({},d[w]),R)}),Q&&p<=50){p++,typeof Q=="object"&&(Q.placement&&(f=Q.placement),Q.rects&&(l=Q.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):Q.rects),{x:c,y:u}=XI(l,f,a)),O=-1;continue}}return{x:c,y:u,placement:f,strategy:n,middlewareData:d}};function Xae(t){return ne({top:0,right:0,bottom:0,left:0},t)}function Iae(t){return typeof t!="number"?Xae(t):{top:t,right:t,bottom:t,left:t}}function $g(t){return Be(ne({},t),{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}async function mx(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:o,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=e,O=Iae(p),w=a[d?f==="floating"?"reference":"floating":f],x=$g(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(w)))==null||r?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),k=$g(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?Be(ne({},s.floating),{x:i,y:n}):s.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:l}):s[f]);return{top:x.top-k.top+O.top,bottom:k.bottom-x.bottom+O.bottom,left:x.left-k.left+O.left,right:k.right-x.right+O.right}}var Lae=Math.min,zae=Math.max;function II(t,e,r){return zae(t,Lae(e,r))}var Mae={left:"right",right:"left",bottom:"top",top:"bottom"};function Xg(t){return t.replace(/left|right|bottom|top/g,e=>Mae[e])}function VI(t,e,r){r===void 0&&(r=!1);let i=ru(t),n=zg(t),o=BI(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(s=Xg(s)),{main:s,cross:Xg(s)}}var Dae={start:"end",end:"start"};function hx(t){return t.replace(/start|end/g,e=>Dae[e])}var Uae=["top","right","bottom","left"],Nae=Uae.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);function jae(t,e,r){return(t?[...r.filter(i=>ru(i)===t),...r.filter(i=>ru(i)!==t)]:r.filter(i=>Cl(i)===i)).filter(i=>t?ru(i)===t||(e?hx(i)!==i:!1):!0)}var Bae=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n,o,s;let{x:a,y:l,rects:c,middlewareData:u,placement:f,platform:d,elements:p}=e,ge=t,{alignment:O=null,allowedPlacements:w=Nae,autoAlignment:x=!0}=ge,k=qr(ge,["alignment","allowedPlacements","autoAlignment"]),C=jae(O,x,w),R=await mx(e,k),Q=(r=(i=u.autoPlacement)==null?void 0:i.index)!=null?r:0,z=C[Q];if(z==null)return{};let{main:L,cross:Z}=VI(z,c,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(f!==z)return{x:a,y:l,reset:{placement:C[0]}};let re=[R[Cl(z)],R[L],R[Z]],H=[...(n=(o=u.autoPlacement)==null?void 0:o.overflows)!=null?n:[],{placement:z,overflows:re}],q=C[Q+1];if(q)return{data:{index:Q+1,overflows:H},reset:{placement:q}};let oe=H.slice().sort((ve,Qe)=>ve.overflows[0]-Qe.overflows[0]),pe=(s=oe.find(ve=>{let{overflows:Qe}=ve;return Qe.every(se=>se<=0)}))==null?void 0:s.placement,fe=pe!=null?pe:oe[0].placement;return fe!==f?{data:{index:Q+1,overflows:H},reset:{placement:fe}}:{}}}};function Vae(t){let e=Xg(t);return[hx(t),e,hx(e)]}var qae=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r;let{placement:i,middlewareData:n,rects:o,initialPlacement:s,platform:a,elements:l}=e,re=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0}=re,O=qr(re,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]),w=Cl(i),x=f||(w===s||!p?[Xg(s)]:Vae(s)),k=[s,...x],C=await mx(e,O),R=[],Q=((r=n.flip)==null?void 0:r.overflows)||[];if(c&&R.push(C[w]),u){let{main:H,cross:q}=VI(i,o,await(a.isRTL==null?void 0:a.isRTL(l.floating)));R.push(C[H],C[q])}if(Q=[...Q,{placement:i,overflows:R}],!R.every(H=>H<=0)){var z,L;let H=((z=(L=n.flip)==null?void 0:L.index)!=null?z:0)+1,q=k[H];if(q)return{data:{index:H,overflows:Q},reset:{placement:q}};let oe="bottom";switch(d){case"bestFit":{var Z;let pe=(Z=Q.map(fe=>[fe,fe.overflows.filter(ge=>ge>0).reduce((ge,ve)=>ge+ve,0)]).sort((fe,ge)=>fe[1]-ge[1])[0])==null?void 0:Z[0].placement;pe&&(oe=pe);break}case"initialPlacement":oe=s;break}if(i!==oe)return{reset:{placement:oe}}}return{}}}};async function Fae(t,e){let{placement:r,platform:i,elements:n}=t,o=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=Cl(r),a=ru(r),l=zg(r)==="x",c=["left","top"].includes(s)?-1:1,u=o&&l?-1:1,f=typeof e=="function"?e(t):e,{mainAxis:d,crossAxis:p,alignmentAxis:O}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:ne({mainAxis:0,crossAxis:0,alignmentAxis:null},f);return a&&typeof O=="number"&&(p=a==="end"?O*-1:O),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}var LI=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){let{x:r,y:i}=e,n=await Fae(e,t);return{x:r+n.x,y:i+n.y,data:n}}}};function Wae(t){return t==="x"?"y":"x"}var zI=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,x=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:k=>{let{x:C,y:R}=k;return{x:C,y:R}}}}=x,l=qr(x,["mainAxis","crossAxis","limiter"]),c={x:r,y:i},u=await mx(e,l),f=zg(Cl(n)),d=Wae(f),p=c[f],O=c[d];if(o){let k=f==="y"?"top":"left",C=f==="y"?"bottom":"right",R=p+u[k],Q=p-u[C];p=II(R,p,Q)}if(s){let k=d==="y"?"top":"left",C=d==="y"?"bottom":"right",R=O+u[k],Q=O-u[C];O=II(R,O,Q)}let w=a.fn(Be(ne({},e),{[f]:p,[d]:O}));return Be(ne({},w),{data:{x:w.x-r,y:w.y-i}})}}};function qI(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function cs(t){if(t==null)return window;if(!qI(t)){let e=t.ownerDocument;return e&&e.defaultView||window}return t}function mo(t){return cs(t).getComputedStyle(t)}function as(t){return qI(t)?"":t?(t.nodeName||"").toLowerCase():""}function FI(){let t=navigator.userAgentData;return t!=null&&t.brands?t.brands.map(e=>e.brand+"/"+e.version).join(" "):navigator.userAgent}function Oo(t){return t instanceof cs(t).HTMLElement}function Oa(t){return t instanceof cs(t).Element}function Zae(t){return t instanceof cs(t).Node}function iu(t){if(typeof ShadowRoot>"u")return!1;let e=cs(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Mg(t){let{overflow:e,overflowX:r,overflowY:i}=mo(t);return/auto|scroll|overlay|hidden/.test(e+i+r)}function Yae(t){return["table","td","th"].includes(as(t))}function WI(t){let e=/firefox/i.test(FI()),r=mo(t);return r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].includes(r.willChange)||e&&r.willChange==="filter"||e&&(r.filter?r.filter!=="none":!1)}function ZI(){return!/^((?!chrome|android).)*safari/i.test(FI())}var MI=Math.min,md=Math.max,Ig=Math.round;function ls(t,e,r){var i,n,o,s;e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),l=1,c=1;e&&Oo(t)&&(l=t.offsetWidth>0&&Ig(a.width)/t.offsetWidth||1,c=t.offsetHeight>0&&Ig(a.height)/t.offsetHeight||1);let u=Oa(t)?cs(t):window,f=!ZI()&&r,d=(a.left+(f&&(i=(n=u.visualViewport)==null?void 0:n.offsetLeft)!=null?i:0))/l,p=(a.top+(f&&(o=(s=u.visualViewport)==null?void 0:s.offsetTop)!=null?o:0))/c,O=a.width/l,w=a.height/c;return{width:O,height:w,top:p,right:d+O,bottom:p+w,left:d,x:d,y:p}}function ga(t){return((Zae(t)?t.ownerDocument:t.document)||window.document).documentElement}function Dg(t){return Oa(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function YI(t){return ls(ga(t)).left+Dg(t).scrollLeft}function Hae(t){let e=ls(t);return Ig(e.width)!==t.offsetWidth||Ig(e.height)!==t.offsetHeight}function Gae(t,e,r){let i=Oo(e),n=ga(e),o=ls(t,i&&Hae(e),r==="fixed"),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};if(i||!i&&r!=="fixed")if((as(e)!=="body"||Mg(n))&&(s=Dg(e)),Oo(e)){let l=ls(e,!0);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else n&&(a.x=YI(n));return{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function HI(t){return as(t)==="html"?t:t.assignedSlot||t.parentNode||(iu(t)?t.host:null)||ga(t)}function DI(t){return!Oo(t)||mo(t).position==="fixed"?null:Kae(t)}function Kae(t){let{offsetParent:e}=t,r=t,i=!1;for(;r&&r!==e;){let{assignedSlot:n}=r;if(n){let o=n.offsetParent;if(mo(n).display==="contents"){let s=n.hasAttribute("style"),a=n.style.display;n.style.display=mo(r).display,o=n.offsetParent,n.style.display=a,s||n.removeAttribute("style")}r=n,e!==o&&(e=o,i=!0)}else if(iu(r)&&r.host&&i)break;r=iu(r)&&r.host||r.parentNode}return e}function Jae(t){let e=HI(t);for(iu(e)&&(e=e.host);Oo(e)&&!["html","body"].includes(as(e));){if(WI(e))return e;{let r=e.parentNode;e=iu(r)?r.host:r}}return null}function dx(t){let e=cs(t),r=DI(t);for(;r&&Yae(r)&&mo(r).position==="static";)r=DI(r);return r&&(as(r)==="html"||as(r)==="body"&&mo(r).position==="static"&&!WI(r))?e:r||Jae(t)||e}function UI(t){if(Oo(t))return{width:t.offsetWidth,height:t.offsetHeight};let e=ls(t);return{width:e.width,height:e.height}}function ele(t){let{rect:e,offsetParent:r,strategy:i}=t,n=Oo(r),o=ga(r);if(r===o)return e;let s={scrollLeft:0,scrollTop:0},a={x:0,y:0};if((n||!n&&i!=="fixed")&&((as(r)!=="body"||Mg(o))&&(s=Dg(r)),Oo(r))){let l=ls(r,!0);a.x=l.x+r.clientLeft,a.y=l.y+r.clientTop}return Be(ne({},e),{x:e.x-s.scrollLeft+a.x,y:e.y-s.scrollTop+a.y})}function tle(t,e){let r=cs(t),i=ga(t),n=r.visualViewport,o=i.clientWidth,s=i.clientHeight,a=0,l=0;if(n){o=n.width,s=n.height;let c=ZI();(c||!c&&e==="fixed")&&(a=n.offsetLeft,l=n.offsetTop)}return{width:o,height:s,x:a,y:l}}function rle(t){var e;let r=ga(t),i=Dg(t),n=(e=t.ownerDocument)==null?void 0:e.body,o=md(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=md(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-i.scrollLeft+YI(t),l=-i.scrollTop;return mo(n||r).direction==="rtl"&&(a+=md(r.clientWidth,n?n.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function GI(t){let e=HI(t);return["html","body","#document"].includes(as(e))?t.ownerDocument.body:Oo(e)&&Mg(e)?e:GI(e)}function Lg(t,e){var r;e===void 0&&(e=[]);let i=GI(t),n=i===((r=t.ownerDocument)==null?void 0:r.body),o=cs(i),s=n?[o].concat(o.visualViewport||[],Mg(i)?i:[]):i,a=e.concat(s);return n?a:a.concat(Lg(s))}function ile(t,e){let r=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e))return!0;if(r&&iu(r)){let i=e;do{if(i&&t===i)return!0;i=i.parentNode||i.host}while(i)}return!1}function nle(t,e){let r=ls(t,!1,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft;return{top:i,left:n,x:n,y:i,right:n+t.clientWidth,bottom:i+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function NI(t,e,r){return e==="viewport"?$g(tle(t,r)):Oa(e)?nle(e,r):$g(rle(ga(t)))}function ole(t){let e=Lg(t),r=["absolute","fixed"].includes(mo(t).position)&&Oo(t)?dx(t):t;return Oa(r)?e.filter(i=>Oa(i)&&ile(i,r)&&as(i)!=="body"):[]}function sle(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,o=[...r==="clippingAncestors"?ole(e):[].concat(r),i],s=o[0],a=o.reduce((l,c)=>{let u=NI(e,c,n);return l.top=md(u.top,l.top),l.right=MI(u.right,l.right),l.bottom=MI(u.bottom,l.bottom),l.left=md(u.left,l.left),l},NI(e,s,n));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}var ale={getClippingRect:sle,convertOffsetParentRelativeRectToViewportRelativeRect:ele,isElement:Oa,getDimensions:UI,getOffsetParent:dx,getDocumentElement:ga,getElementRects:t=>{let{reference:e,floating:r,strategy:i}=t;return{reference:Gae(e,dx(r),i),floating:Be(ne({},UI(r)),{x:0,y:0})}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>mo(t).direction==="rtl"};function lle(t,e,r,i){i===void 0&&(i={});let{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:s=!0,animationFrame:a=!1}=i,l=n&&!a,c=o&&!a,u=l||c?[...Oa(t)?Lg(t):[],...Lg(e)]:[];u.forEach(w=>{l&&w.addEventListener("scroll",r,{passive:!0}),c&&w.addEventListener("resize",r)});let f=null;if(s){let w=!0;f=new ResizeObserver(()=>{w||r(),w=!1}),Oa(t)&&!a&&f.observe(t),f.observe(e)}let d,p=a?ls(t):null;a&&O();function O(){let w=ls(t);p&&(w.x!==p.x||w.y!==p.y||w.width!==p.width||w.height!==p.height)&&r(),p=w,d=requestAnimationFrame(O)}return r(),()=>{var w;u.forEach(x=>{l&&x.removeEventListener("scroll",r),c&&x.removeEventListener("resize",r)}),(w=f)==null||w.disconnect(),f=null,a&&cancelAnimationFrame(d)}}var cle=(t,e,r)=>$ae(t,e,ne({platform:ale},r));async function ule(t,e,r,i){if(!i)throw new Error("Must provide a positioning option");return await(typeof i=="string"?fle(t,e,r,i):hle(e,i))}async function fle(t,e,r,i){if(!r)throw new Error("Reference element is required for relative positioning");let n;return i==="auto"?n={middleware:[Bae(),zI(),LI({mainAxis:5,crossAxis:12})]}:n={placement:i,middleware:[qae(),zI(),LI(5)]},lle(r,e,async()=>{if((!r.isConnected||!r.offsetParent)&&dle(t))return;let{x:o,y:s}=await cle(r,e,n);Object.assign(e.style,{position:"absolute",left:`${o}px`,top:`${s}px`})})}function hle(t,e){return t.style.position="fixed",Object.entries(e).forEach(([r,i])=>{t.style[r]=i}),()=>{}}function dle(t){switch(t.options.onPositionLost){case"close":return t.close(),!0;case"destroy":return t.destroy(),!0;case"hold":return!0}}var ple={hideOnClickOutside:!0,hideOnEmojiSelect:!0,hideOnEscape:!0,position:"auto",showCloseButton:!0,onPositionLost:"none"};function mle(t={}){return ne(Be(ne({},ple),{rootElement:document.body}),t)}var Ole='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"/></svg>',jI=Ur("popupContainer","closeButton"),px=class{constructor(e,r){this.isOpen=!1,this.externalEvents=new Tl,this.options=ne(ne({},mle(r)),ux(e)),this.popupEl=document.createElement("div"),this.popupEl.classList.add(jI.popupContainer),this.popupEl.classList.add(this.options.theme),r.className&&this.popupEl.classList.add(r.className),this.options.showCloseButton&&(this.closeButton=document.createElement("button"),this.closeButton.type="button",this.closeButton.classList.add(jI.closeButton),this.closeButton.innerHTML=Ole,this.closeButton.addEventListener("click",()=>{this.close()}),this.popupEl.appendChild(this.closeButton));let i=document.createElement("div");this.popupEl.appendChild(i),this.picker=$I(Be(ne({},this.options),{rootElement:i})),this.focusTrap=new hd,this.picker.addEventListener("data:ready",()=>{this.focusTrap.activate(this.picker.el),this.picker.setInitialFocus()}),this.options.hideOnEmojiSelect&&this.picker.addEventListener("emoji:select",()=>{var n;this.close(),(n=this.triggerElement)==null||n.focus()}),this.options.hideOnClickOutside&&(this.onDocumentClick=this.onDocumentClick.bind(this),document.addEventListener("click",this.onDocumentClick)),this.options.hideOnEscape&&(this.handleKeydown=this.handleKeydown.bind(this),this.popupEl.addEventListener("keydown",this.handleKeydown)),this.referenceElement=this.options.referenceElement,this.triggerElement=this.options.triggerElement}addEventListener(e,r){this.externalEvents.on(e,r),this.picker.addEventListener(e,r)}removeEventListener(e,r){this.externalEvents.off(e,r),this.picker.removeEventListener(e,r)}handleKeydown(e){var r;e.key==="Escape"&&(this.close(),(r=this.triggerElement)==null||r.focus())}async destroy(){this.isOpen&&await this.close(),document.removeEventListener("click",this.onDocumentClick),this.picker.destroy(),this.externalEvents.removeAll()}toggle(e){return this.isOpen?this.close():this.open(e)}async open({triggerElement:e,referenceElement:r}={}){this.isOpen||(e&&(this.triggerElement=e),r&&(this.referenceElement=r),await this.initiateOpenStateChange(!0),this.popupEl.style.opacity="0",this.options.rootElement.appendChild(this.popupEl),await this.setPosition(),this.picker.reset(!1),await this.animatePopup(!0),await this.animateCloseButton(!0),this.picker.setInitialFocus(),this.externalEvents.emit("picker:open"))}async close(){var e;!this.isOpen||(await this.initiateOpenStateChange(!1),await this.animateCloseButton(!1),await this.animatePopup(!1),this.popupEl.remove(),this.picker.reset(),(e=this.positionCleanup)==null||e.call(this),this.focusTrap.deactivate(),this.externalEvents.emit("picker:close"))}getRunningAnimations(){return this.picker.el.getAnimations().filter(e=>e.playState==="running")}async setPosition(){var e;(e=this.positionCleanup)==null||e.call(this),this.positionCleanup=await ule(this,this.popupEl,this.referenceElement,this.options.position)}awaitPendingAnimations(){return Promise.all(this.getRunningAnimations().map(e=>e.finished))}onDocumentClick(e){var r;let i=e.target,n=(r=this.triggerElement)==null?void 0:r.contains(i);this.isOpen&&!this.picker.isPickerClick(e)&&!n&&this.close()}animatePopup(e){return kl(this.popupEl,{opacity:[0,1],transform:["scale(0.9)","scale(1)"]},{duration:150,id:e?"show-picker":"hide-picker",easing:"ease-in-out",direction:e?"normal":"reverse",fill:"both"},this.options)}animateCloseButton(e){if(this.closeButton)return kl(this.closeButton,{opacity:[0,1]},{duration:25,id:e?"show-close":"hide-close",easing:"ease-in-out",direction:e?"normal":"reverse",fill:"both"},this.options)}async initiateOpenStateChange(e){this.isOpen=e,await this.awaitPendingAnimations()}},gle=`.picmo__popupContainer{display:flex;flex-direction:column;position:absolute}.picmo__popupContainer .picmo__closeButton{position:absolute;opacity:0;background:transparent;border:none;z-index:1;right:0;top:0;cursor:pointer;padding:4px;align-self:flex-end;transform:translate(50%,-50%);background:#999999;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;border-radius:50%}.picmo__popupContainer .picmo__closeButton:hover{background:var(--accent-color)}.picmo__popupContainer .picmo__closeButton svg{fill:#fff;width:1.25rem;height:1.25rem}
`,ble=fx();function KI(t,e){return ble(gle),new px(ne({autoFocus:"auto"},t),e)}var yle={mounted(){let t=this.el.querySelector("[data-emoji-button]"),e=this.el.querySelector("[data-emoji-preview]"),r=this.el.querySelector("[data-emoji-input]"),i=KI({showPreview:!1},{triggerElement:t,referenceElement:t,position:"bottom"});i.addEventListener("emoji:select",({emoji:n})=>{e.innerHTML=n,r.value=n}),t.addEventListener("click",n=>{i.toggle()})}},JI=yle;var vle={mounted(){this.focus()},updated(){this.el!==document.activeElement&&this.focus()},focus(){la(document.activeElement)||(this.el.focus(),this.el.selectionStart=this.el.selectionEnd=this.el.value.length,this.el.scrollLeft=this.el.scrollWidth)}},eL=vle;var wle={mounted(){this.props=this.getProps(),this.isFocused=!1,this.insertMode=!1,this.initializeHeadingEl(),this.navigationSubscription=Pr.subscribe("navigation",this.handleNavigationEvent.bind(this))},updated(){this.props=this.getProps(),this.initializeHeadingEl()},destroyed(){this.navigationSubscription.destroy()},getProps(){return Rt(this.el,["id","on-value-change","metadata"])},initializeHeadingEl(){let t=this.el.querySelector("[data-el-heading]");t!==this.headingEl&&(this.headingEl=t,this.headingEl.addEventListener("paste",e=>{e.preventDefault();let r=e.clipboardData.getData("text/plain").replace(`
`," ");document.execCommand("insertText",!1,r)}),this.headingEl.addEventListener("keydown",e=>{e.key==="Enter"&&e.preventDefault()}),this.headingEl.addEventListener("blur",e=>{setTimeout(()=>{this.isFocused&&this.insertMode&&(this.headingEl.focus(),tL(this.headingEl))},0)}))},handleNavigationEvent(t){t.type==="element_focused"?this.handleElementFocused(t.focusableId,t.scroll):t.type==="insert_mode_changed"&&this.handleInsertModeChanged(t.enabled)},handleElementFocused(t,e){this.props.id===t?(this.isFocused=!0,this.el.setAttribute("data-js-focused",""),e&&pl(this.el)):this.isFocused&&(this.isFocused=!1,this.el.removeAttribute("data-js-focused"))},handleInsertModeChanged(t){this.isFocused&&!this.insertMode&&t?(this.insertMode=t,this.el.setAttribute("phx-update","ignore"),this.headingEl.setAttribute("contenteditable",""),this.headingEl.focus(),tL(this.headingEl)):this.insertMode&&!t&&(this.insertMode=t,this.headingEl.removeAttribute("contenteditable"),this.el.removeAttribute("phx-update"),this.pushEvent(this.props.onValueChange,{value:this.headingEl.textContent.trim(),metadata:this.props.metadata}))}};function tL(t){let e=document.createRange();e.selectNodeContents(t),e.collapse(!1);let r=window.getSelection();r.removeAllRanges(),r.addRange(e)}var rL=wle;var xle={mounted(){this.props=this.getProps(),this.sourceEl=rs(this.el,"[data-source]"),this.targetEl=rs(this.el,"[data-target]"),this.updateDOM()},updated(){this.props=this.getProps(),this.updateDOM()},getProps(){return Rt(this.el,["language"])},updateDOM(){let t=this.sourceEl.innerText;zc(t,this.props.language).then(e=>{this.targetEl.innerHTML=e,this.el.setAttribute("data-highlighted","")})}},iL=xle;var Ox=["bg-yellow-100","border-yellow-300"],kle={mounted(){this.props=this.getProps(),this.inputEl=this.el.querySelector("[data-input]"),this.previewEl=this.el.querySelector("[data-preview]"),this.initialPreviewContentEl=this.previewEl.firstElementChild,this.cameraPreviewEl=this.el.querySelector("[data-camera-preview]"),this.cameraListEl=this.el.querySelector("[data-camera-list]"),this.cameraItemTemplateEl=this.cameraListEl.firstElementChild,this.cameraItemTemplateEl.remove(),this.uploadButton=this.el.querySelector("[data-btn-upload]"),this.openCameraButton=this.el.querySelector("[data-btn-open-camera]"),this.captureCameraButton=this.el.querySelector("[data-btn-capture-camera]"),this.cancelButton=this.el.querySelector("[data-btn-cancel]"),this.cameraListPopulated=!1,this.cameraVideoEl=null,this.cameraStream=null,this.updateImagePreview(),this.uploadButton.addEventListener("click",t=>{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.loadFile(e),this.closeCameraView()}),this.el.addEventListener("dragenter",t=>{this.el.classList.add(...Ox)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...Ox)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...Ox)}),this.openCameraButton.addEventListener("click",t=>{this.cameraListPopulated||(this.renderCameraList(),this.cameraListPopulated=!0)}),this.cameraListEl.addEventListener("click",t=>{let e=t.target.closest("[data-camera-id]");if(e){let r=e.dataset.cameraId;this.openCameraView(r)}}),this.captureCameraButton.addEventListener("click",t=>{let e=this.toCanvas(this.cameraVideoEl,this.cameraVideoEl.videoWidth,this.cameraVideoEl.videoHeight);this.pushImage(e),this.closeCameraView()}),this.cancelButton.addEventListener("click",t=>{this.closeCameraView()})},updated(){this.props=this.getProps(),this.updateImagePreview()},getProps(){return Rt(this.el,["id","phx-target","height","width","format","fit","image-url","value-height","value-width"])},updateImagePreview(){this.props.imageUrl?Ele(this.props.imageUrl,this.props.valueHeight,this.props.valueWidth,this.props.format).then(t=>{this.setPreview(t)}):this.setPreview(this.initialPreviewContentEl)},loadFile(t){let e=new FileReader;e.onload=r=>{let i=document.createElement("img");i.addEventListener("load",n=>{let o=this.toCanvas(i,i.width,i.height);this.pushImage(o)}),i.src=r.target.result},e.readAsDataURL(t)},openCameraView(t){this.cameraPreviewEl.classList.remove("hidden"),this.cancelButton.classList.remove("hidden"),this.captureCameraButton.classList.remove("hidden"),this.previewEl.classList.add("hidden"),this.openCameraButton.classList.add("hidden"),this.uploadButton.classList.add("hidden"),navigator.mediaDevices.getUserMedia(this.cameraConstraints(t)).then(e=>{this.cameraStream=e,this.cameraVideoEl=document.createElement("video"),this.cameraVideoEl.autoplay=!0,this.cameraVideoEl.playsinline=!0,this.cameraVideoEl.muted=!0,this.cameraVideoEl.srcObject=e,this.setCameraPreview(this.cameraVideoEl)}).catch(()=>{})},cameraConstraints(t){return t==="system_default"?{audio:!1,video:!0}:{audio:!1,video:{deviceId:t}}},renderCameraList(){navigator.mediaDevices.getUserMedia({audio:!1,video:!0}).then(t=>navigator.mediaDevices.enumerateDevices().then(e=>(this.stopMediaStream(t),e))).then(t=>{let e=t.filter(r=>r.kind==="videoinput").map(r=>({deviceId:r.deviceId,label:r.label}));[{deviceId:"system_default",label:"System Default"},...e].forEach(({deviceId:r,label:i})=>{let n=this.cameraItemTemplateEl.cloneNode(!0);n.querySelector("[data-camera-id]").setAttribute("data-camera-id",r),n.querySelector("[data-label]").innerHTML=i,this.cameraListEl.appendChild(n)})}).catch(t=>{console.error(t),this.openCameraButton.disabled=!0})},closeCameraView(){return this.cameraStream!==null&&(this.stopMediaStream(this.cameraStream),this.cameraStream=null),this.cameraVideoEl!==null&&(this.cameraVideoEl.remove(),this.cameraVideoEl=null),this.cameraPreviewEl.classList.add("hidden"),this.cancelButton.classList.add("hidden"),this.captureCameraButton.classList.add("hidden"),this.previewEl.classList.remove("hidden"),this.openCameraButton.classList.remove("hidden"),this.uploadButton.classList.remove("hidden"),!0},stopMediaStream(t){t.getTracks().forEach(e=>{e.stop()})},pushImage(t){Sle(t,this.props.format).then(e=>{let r={height:t.height,width:t.width},i=new Blob([e]);i.meta=()=>r,this.uploadTo(this.props.phxTarget,"file",[i])})},toCanvas(t,e,r){let{width:i,height:n}=this.props,o=document.createElement("canvas"),s=o.getContext("2d");if(i===null&&n===null||i===e&&n===r)o.width=e,o.height=r,o.getContext("2d").drawImage(t,0,0,e,r,0,0,e,r);else if(this.props.fit==="contain"){let a=i/e,l=n/r,c=Math.min(a,l),u=Math.round(e*c),f=Math.round(r*c);o.width=u,o.height=f,s.drawImage(t,0,0,e,r,0,0,u,f)}else if(this.props.fit==="crop"){let a=i/e,l=n/r,c=Math.max(a,l),u=Math.round(e*c),f=Math.round(r*c);o.width=i,o.height=n,s.drawImage(t,Math.round((u-i)/c/2),Math.round((f-n)/c/2),e-Math.round((u-i)/c),r-Math.round((f-n)/c),0,0,i,n)}else if(this.props.fit==="pad"){let a=i/e,l=n/r,c=Math.min(a,l),u=Math.round(e*c),f=Math.round(r*c);o.width=i,o.height=n,s.fillStyle="black",s.fillRect(0,0,o.width,o.height),s.drawImage(t,0,0,e,r,Math.round((i-u)/2),Math.round((n-f)/2),u,f)}else o.width=i,o.height=n,s.drawImage(t,0,0,e,r,0,0,i,n);return o},setPreview(t){t.style.maxHeight="300px",t.style.maxWidth="100%",this.previewEl.replaceChildren(t)},setCameraPreview(t){t.style.maxHeight="300px",t.style.maxWidth="100%",this.cameraPreviewEl.replaceChildren(t)}};function Sle(t,e){if(e==="png"||e==="jpeg")return new Promise((r,i)=>{t.toBlob(n=>{n.arrayBuffer().then(o=>{r(o)})},`image/${e}`)});if(e==="rgb"){let r=t.getContext("2d").getImageData(0,0,t.width,t.height),i=Tle(r);return Promise.resolve(i)}throw new Error(`Unexpected format: ${e}`)}function Tle(t){let e=t.width*t.height,r=new Uint8ClampedArray(e*3);for(let i=0;i<e;i++)r[i*3]=t.data[i*4],r[i*3+1]=t.data[i*4+1],r[i*3+2]=t.data[i*4+2];return r.buffer}function Ele(t,e,r,i){if(i==="png"||i==="jpeg"){let n=document.createElement("img");return n.src=t,Promise.resolve(n)}if(i==="rgb")return fetch(t).then(n=>n.arrayBuffer()).then(n=>{let o=document.createElement("canvas");o.height=e,o.width=r;let s=Cle(n,r,e);return o.getContext("2d").putImageData(s,0,0),o});throw new Error(`Unexpected format: ${i}`)}function Cle(t,e,r){let i=e*r,n=new Uint8Array(t),o=new Uint8ClampedArray(i*4);for(let s=0;s<i;s++)o[s*4]=n[s*3],o[s*4+1]=n[s*3+1],o[s*4+2]=n[s*3+2],o[s*4+3]=255;return new ImageData(o,e,r)}var nL=kle;var Ple={mounted(){this.updateSrc()},updated(){this.updateSrc()},updateSrc(){let t=this.el.src,e="data:image/x-pixel;base64,",r=t.slice(e.length);if(t.startsWith(e)){let i=o$(r),n=new DataView(i),o=n.getUint32(0,!1),s=n.getUint32(4,!1),a=n.getUint8(8),l=i.slice(9),c=Qle(l,s,o,a),u=document.createElement("canvas");u.height=o,u.width=s,u.getContext("2d").putImageData(c,0,0);let f=u.toDataURL("image/png");this.el.src=f}}};function Qle(t,e,r,i){let n=e*r,o=new Uint8Array(t),s=new Uint8ClampedArray(n*4);for(let a=0;a<n;a++)i===1?(s[a*4]=o[a],s[a*4+1]=o[a],s[a*4+2]=o[a],s[a*4+3]=255):i===2?(s[a*4]=o[a*2],s[a*4+1]=o[a*2],s[a*4+2]=o[a*2],s[a*4+3]=o[a*2+1]):i===3?(s[a*4]=o[a*3],s[a*4+1]=o[a*3+1],s[a*4+2]=o[a*3+2],s[a*4+3]=255):i===4&&(s[a*4]=o[a*4],s[a*4+1]=o[a*4+1],s[a*4+2]=o[a*4+2],s[a*4+3]=o[a*4+3]);return new ImageData(s,e,r)}var oL=Ple;var _le=document.querySelector("meta[name='csrf-token']").getAttribute("content"),gx=new Sd(window.LIVEBOOK_BASE_URL_PATH+"/socket",{params:{_csrf_token:_le}}),Pl=null;function sL(t){return Pl||(gx.connect(),Pl=gx.channel("js_view",{session_token:t}),Pl.join()),Pl}function aL(){Pl&&(Pl.leave(),Pl=null,gx.disconnect())}function lL(t,e){if(Array.isArray(e)&&e[1]&&e[1].constructor===ArrayBuffer){let[r,i]=e;return jk([t,r],i)}else return{root:[t,e]}}function bx(t){if(t.constructor===ArrayBuffer){let[[e,r],i]=Bk(t);return[e,[r,i]]}else{let{root:[e,r]}=t;return[e,r]}}var cL="wcqj5QWCo66osdAWDnEgPRFyL7nfe8oNqNggnw4vvW8=";function uL(t,e,r){let i=Ale(e,r);return Rle(i).then(()=>{t.sandbox="allow-scripts allow-same-origin allow-downloads allow-forms allow-modals allow-popups allow-top-navigation",t.allow="accelerometer; ambient-light-sensor; camera; display-capture; encrypted-media; fullscreen; geolocation; gyroscope; microphone; midi; usb; xr-spatial-tracking; clipboard-read; clipboard-write",t.src=i})}function Ale(t,e){let r=window.location.protocol;return e?e.replace(/^https?:/,r):r==="https:"?"https://livebookusercontent.com/iframe/v5.html":`http://${window.location.hostname}:${t}/iframe/v5.html`}var yx=null;function Rle(t){return yx||(yx=fetch(t).then(e=>e.text()).then(e=>{if(n$(e)!==cL)throw new Error(`The iframe loaded from ${t} doesn't have the expected checksum ${cL}`)})),yx}var $le={mounted(){this.props=this.getProps(),this.id=t$(),this.childToken=r$(),this.childReadyPromise=null,this.childReady=!1,this.initReceived=!1,this.syncCallbackQueue=[],this.pongCallbackQueue=[],this.initTimeout=setTimeout(()=>this.handleInitTimeout(),2e3),this.channel=sL(this.props.sessionToken),this.iframeActions=this.createIframe(),this.childReadyPromise=new Promise((n,o)=>{this._handleWindowMessage=s=>{s.source===this.iframe.contentWindow&&this.handleChildMessage(s.data,n)},window.addEventListener("message",this._handleWindowMessage)}),this.hiddenInput=document.createElement("input"),this.hiddenInput.style.display="none",this.el.appendChild(this.hiddenInput),this.iframeActions.visibilityPromise.then(()=>{this.loadIframe()});let t=this.channel.on(`init:${this.props.ref}:${this.id}`,n=>{let[,o]=bx(n);this.handleServerInit(o)}),e=this.channel.on(`event:${this.props.ref}`,n=>{let[[o],s]=bx(n);this.handleServerEvent(o,s)}),r=this.channel.on(`error:${this.props.ref}`,({message:n,init:o})=>{this.handleServerError(n,o)}),i=this.channel.on(`pong:${this.props.ref}`,()=>{this.handleServerPong()});this.unsubscribeFromChannelEvents=()=>{this.channel.off(`init:${this.props.ref}:${this.id}`,t),this.channel.off(`event:${this.props.ref}`,e),this.channel.off(`error:${this.props.ref}`,r),this.channel.off(`pong:${this.props.ref}`,i)},this.subscriptions=[Pr.subscribe(`js_views:${this.props.ref}`,this.handleJSViewEvent.bind(this)),Pr.subscribe("navigation",this.handleNavigationEvent.bind(this))],this.channel.push("connect",{connect_token:this.props.connectToken,ref:this.props.ref,id:this.id},3e4)},updated(){this.props=this.getProps(this)},disconnected(){this.el.removeAttribute("id")},destroyed(){window.removeEventListener("message",this._handleWindowMessage),this.iframeActions.remove(),this.unsubscribeFromChannelEvents(),this.channel.push("disconnect",{ref:this.props.ref}),this.subscriptions.forEach(t=>t.destroy())},getProps(){return Rt(this.el,["ref","assets-base-path","assets-cdn-url","js-path","session-token","connect-token","iframe-port","iframe-url","timeout-message"])},createIframe(){this.iframePlaceholder=document.createElement("div"),this.el.appendChild(this.iframePlaceholder),this.iframe=document.createElement("iframe"),this.iframe.className="w-full h-0 absolute z-[1]";let t=document.querySelector("[data-el-notebook]"),e=t.querySelector("[data-el-notebook-content]"),r=new ResizeObserver(s=>{this.repositionIframe()});r.observe(e),r.observe(t);let i=Pr.subscribe("js_views",s=>{s.type==="reposition"&&this.repositionIframe()});this.iframe.addEventListener("mouseenter",s=>{this.iframePlaceholder.dispatchEvent(new MouseEvent("mouseenter",{bubbles:!0}))}),this.iframe.addEventListener("mouseleave",s=>{this.iframePlaceholder.dispatchEvent(new MouseEvent("mouseleave",{bubbles:!0}))});let n=CO(this.iframePlaceholder,{root:t,proximity:2e3});this.iframe.toggleAttribute("data-js-focused",!!this.el.closest("[data-js-focused]"));let o=()=>{r.disconnect(),i.destroy(),n.cancel(),this.iframe.remove(),this.iframePlaceholder.remove()};return{visibilityPromise:n.promise,remove:o}},repositionIframe(){let{iframe:t,iframePlaceholder:e}=this,r=document.querySelector("[data-el-notebook]");if(aa(e))t.classList.add("hidden");else{t.classList.remove("hidden");let i=r.getBoundingClientRect(),n=e.getBoundingClientRect(),o=n.top-i.top+r.scrollTop;t.style.top=`${o}px`;let s=n.left-i.left+r.scrollLeft;t.style.left=`${s}px`,t.style.height=`${n.height}px`,t.style.width=`${n.width}px`}},loadIframe(){let t=document.querySelector("[data-el-js-view-iframes]");uL(this.iframe,this.props.iframePort,this.props.iframeUrl).then(()=>{t.appendChild(this.iframe)})},handleChildMessage(t,e){if(t.type==="ready"&&!this.childReady)this.getAssetsBaseUrl().then(r=>{this.postMessage({type:"readyReply",token:this.childToken,baseUrl:r,jsPath:this.props.jsPath}),this.childReady=!0,e()});else{if(t.token!==this.childToken)throw new Error("Token mismatch");if(t.type==="resize")this.iframePlaceholder.style.height=`${t.height}px`,this.iframe.style.height=`${t.height}px`;else if(t.type==="domEvent"){let r=this.replicateDomEvent(t.event);t.isTargetEditable?this.hiddenInput.dispatchEvent(r):this.el.dispatchEvent(r)}else if(t.type==="event"){let{event:r,payload:i}=t,n=lL([r,this.props.ref],i);this.channel.push("event",n)}else t.type==="syncReply"?(this.pongCallbackQueue.push(this.syncCallbackQueue.shift()),this.channel.push("ping",{ref:this.props.ref})):t.type==="selectSecret"?this.pushEvent("select_secret",{js_view_ref:this.props.ref,preselect_name:t.preselectName,options:t.options}):t.type==="setSmartCellEditorIntellisenseNode"&&this.pushEvent("set_smart_cell_editor_intellisense_node",{js_view_ref:this.props.ref,node:t.node,cookie:t.cookie})}},getAssetsBaseUrl(){return Ug().then(t=>!t&&this.props.assetsCdnUrl?this.props.assetsCdnUrl:window.location.origin+this.props.assetsBasePath)},postMessage(t){this.iframe.contentWindow.postMessage(t,"*")},replicateDomEvent(t){if(t.type==="focus")return new FocusEvent("focus");if(t.type==="mousedown")return new MouseEvent("mousedown",{bubbles:!0});if(t.type==="keydown")return new KeyboardEvent(t.type,t.props)},handleInitTimeout(){this.initTimeoutContainer=document.createElement("div"),this.initTimeoutContainer.classList.add("info-box"),this.el.prepend(this.initTimeoutContainer),this.initTimeoutContainer.textContent=this.props.timeoutMessage},clearInitTimeout(){clearTimeout(this.initTimeout),this.initTimeoutContainer&&this.initTimeoutContainer.remove()},handleServerInit(t){this.clearInitTimeout(),this.initReceived=!0,this.childReadyPromise.then(()=>{this.postMessage({type:"init",data:t})})},handleServerEvent(t,e){this.initReceived&&this.childReadyPromise.then(()=>{this.postMessage({type:"event",event:t,payload:e})})},handleServerError(t,e){e&&this.clearInitTimeout(),this.errorContainer||(this.errorContainer=document.createElement("div"),this.errorContainer.classList.add("error-box","mb-4"),this.el.prepend(this.errorContainer)),this.errorContainer.textContent=t},handleServerPong(){this.pongCallbackQueue.shift()()},handleJSViewEvent(t){t.type==="sync"?(this.syncCallbackQueue.push(t.callback),this.postMessage({type:"sync"})):t.type=="secretSelected"&&this.postMessage({type:"secretSelected",secretName:t.secretName})},handleNavigationEvent(t){if(t.type==="element_focused"){let e=this.el.closest("[data-focusable-id]"),r=e?e.dataset.focusableId:null;this.iframe.toggleAttribute("data-js-focused",r===t.focusableId)}}};function Ug(){return Ug.promise=Ug.promise||fetch("/public/health").then(t=>t.status===200).catch(t=>!1),Ug.promise}var fL=$le;var Xle={mounted(){this.props=this.getProps(),this._handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this._handleDocumentKeyUp=this.handleDocumentKeyUp.bind(this),this._handleDocumentFocus=this.handleDocumentFocus.bind(this),window.addEventListener("keydown",this._handleDocumentKeyDown,!0),window.addEventListener("keyup",this._handleDocumentKeyUp,!0),window.addEventListener("focus",this._handleDocumentFocus,!0)},updated(){this.props=this.getProps()},destroyed(){window.removeEventListener("keydown",this._handleDocumentKeyDown,!0),window.removeEventListener("keyup",this._handleDocumentKeyUp,!0),window.removeEventListener("focus",this._handleDocumentFocus,!0)},getProps(){return Rt(this.el,["cell-id","default-handlers","keydown-enabled","keyup-enabled","target"])},handleDocumentKeyDown(t){if(this.isKeyboardToggle(t)&&!la(document.activeElement)){po(t),this.keyboardEnabled()?this.disableKeyboard():this.enableKeyboard();return}if(this.keyboardEnabled()){if(this.props.defaultHandlers!=="on"&&po(t),t.repeat)return;if(this.props.keydownEnabled){let{key:e}=t;this.pushEventTo(this.props.target,"keydown",{key:e})}}},handleDocumentKeyUp(t){if(this.keyboardEnabled()&&(this.props.defaultHandlers!=="on"&&po(t),this.props.keyupEnabled)){let{key:e}=t;this.pushEventTo(this.props.target,"keyup",{key:e})}},handleDocumentFocus(t){this.props.keydownEnabled&&la(t.target)&&this.disableKeyboard()},enableKeyboard(){this.keyboardEnabled()||this.pushEventTo(this.props.target,"enable_keyboard",{})},disableKeyboard(){this.keyboardEnabled()&&this.pushEventTo(this.props.target,"disable_keyboard",{})},keyboardEnabled(){return this.props.keydownEnabled||this.props.keyupEnabled},isKeyboardToggle(t){if(t.repeat)return!1;let{metaKey:e,ctrlKey:r,key:i}=t;return(EO()?e:r)&&i==="k"&&this.isCellFocused()?!this.keyboardEnabled()||["on","disable_only"].includes(this.props.defaultHandlers):!1},isCellFocused(){let t=this.el.closest("[data-el-session]");return t&&t.getAttribute("data-js-focused-id")===this.props.cellId}},hL=Xle;var Ile={mounted(){this.props=this.getProps(),this.templateEl=rs(this.el,"[data-template]"),this.contentEl=rs(this.el,"[data-content]"),this.markdown=new ml(this.contentEl,this.templateEl.textContent,{baseUrl:this.props.basePath,allowedUriSchemes:this.props.allowedUriSchemes})},updated(){this.props=this.getProps(),this.markdown.setContent(this.templateEl.textContent)},getProps(){return Rt(this.el,["base-path","allowed-uri-schemes"])}},dL=Ile;var Lle={mounted(){this.scroll()},updated(){this.scroll()},scroll(){Ph(this.el)}},pL=Lle;var Od=class{constructor(e=2e3){this.resetTimeout=e,this.buffer=[],this.resetTimeoutId=null}push(e){this.buffer.push(e),this.resetTimeoutId&&clearTimeout(this.resetTimeoutId),this.resetTimeoutId=setTimeout(()=>{this.reset()},this.resetTimeout)}reset(){this.resetTimeoutId&&clearTimeout(this.resetTimeoutId),this.resetTimeoutId=null,this.buffer=[]}tryMatch(e){if(e.length>this.buffer.length)return!1;let r=this.buffer.slice(-e.length),i=e.every((n,o)=>n===r[o]);return i&&this.reset(),i}};var zle={mounted(){this.props=this.getProps(),this.focusedId=null,this.insertMode=!1,this.view=null,this.viewOptions=null,this.keyBuffer=new Od,this.lastLocationReportByClientId={},this.followedClientId=null,this.store=eu.create("session"),QO(this.faviconForEvaluationStatus(this.props.globalStatus)),this.updateSectionListHighlight(),this._handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this._handleEditorEscape=this.handleEditorEscape.bind(this),this._handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this._handleDocumentFocus=this.handleDocumentFocus.bind(this),this._handleDocumentClick=this.handleDocumentClick.bind(this),document.addEventListener("keydown",this._handleDocumentKeyDown,!0),document.addEventListener("lb:editor_escape",this._handleEditorEscape),document.addEventListener("mousedown",this._handleDocumentMouseDown),document.addEventListener("focus",this._handleDocumentFocus,!0),document.addEventListener("click",this._handleDocumentClick),this.getElement("sections-list").addEventListener("click",t=>{this.handleSectionsListClick(t),this.handleCellIndicatorsClick(t)}),this.getElement("clients-list").addEventListener("click",t=>this.handleClientsListClick(t)),this.getElement("sections-list-toggle").addEventListener("click",t=>this.toggleSectionsList()),this.getElement("clients-list-toggle").addEventListener("click",t=>this.toggleClientsList()),this.getElement("secrets-list-toggle").addEventListener("click",t=>this.toggleSecretsList()),this.getElement("runtime-info-toggle").addEventListener("click",t=>this.toggleRuntimeInfo()),this.getElement("app-info-toggle").addEventListener("click",t=>this.toggleAppInfo()),this.getElement("files-list-toggle").addEventListener("click",t=>this.toggleFilesList()),this.getElement("notebook").addEventListener("scroll",t=>this.updateSectionListHighlight()),this.getElement("notebook-indicators").addEventListener("click",t=>this.handleCellIndicatorsClick(t)),this.getElement("views").addEventListener("click",t=>{this.handleViewsClick(t)}),this.getElement("section-toggle-collapse-all-button").addEventListener("click",t=>this.toggleCollapseAllSections()),this.initializeDragAndDrop(),window.addEventListener("phx:page-loading-stop",()=>{this.initializeFocus()},{once:!0}),this.handleEvent("session_init",({clients:t,client_id:e})=>{let r={};for(let i of t)r[i.id]=i;this.store.set("clients",r),this.store.set("clientId",e)}),this.handleEvent("cell_inserted",({cell_id:t})=>{this.handleCellInserted(t)}),this.handleEvent("cell_deleted",({cell_id:t,sibling_cell_id:e})=>{this.handleCellDeleted(t,e)}),this.handleEvent("cell_restored",({cell_id:t})=>{this.handleCellRestored(t)}),this.handleEvent("cell_moved",({cell_id:t})=>{this.handleCellMoved(t)}),this.handleEvent("section_inserted",({section_id:t})=>{this.handleSectionInserted(t)}),this.handleEvent("section_deleted",({section_id:t})=>{this.handleSectionDeleted(t)}),this.handleEvent("section_moved",({section_id:t})=>{this.handleSectionMoved(t)}),this.handleEvent("client_joined",({client:t})=>{this.handleClientJoined(t)}),this.handleEvent("client_left",({client_id:t})=>{this.handleClientLeft(t)}),this.handleEvent("clients_updated",({clients:t})=>{this.handleClientsUpdated(t)}),this.handleEvent("secret_selected",({select_secret_ref:t,secret_name:e})=>{this.handleSecretSelected(t,e)}),this.handleEvent("location_report",({client_id:t,focusable_id:e})=>{let r={focusableId:e};this.handleLocationReport(t,r)})},updated(){let t=this.props;this.props=this.getProps(),this.props.globalStatus!==t.globalStatus&&QO(this.faviconForEvaluationStatus(this.props.globalStatus))},disconnected(){this.el.removeAttribute("id"),this.keepChannel=!0},destroyed(){document.removeEventListener("keydown",this._handleDocumentKeyDown,!0),document.removeEventListener("lb:editor_scape",this._handleEditorEscape),document.removeEventListener("mousedown",this._handleDocumentMouseDown),document.removeEventListener("focus",this._handleDocumentFocus,!0),document.removeEventListener("click",this._handleDocumentClick),QO("favicon"),this.keepChannel||aL(),this.store.destroy()},getProps(){return Rt(this.el,["autofocus-cell-id","global-status"])},faviconForEvaluationStatus(t){return t==="evaluating"?"favicon-evaluating":t==="stale"?"favicon-stale":t==="errored"?"favicon-errored":"favicon"},handleDocumentKeyDown(t){if(t.repeat)return;let e=EO()?t.metaKey:t.ctrlKey,r=t.altKey,i=t.shiftKey,n=t.key,o=this.keyBuffer;if(!(la(t.target)&&t.target.closest("[data-el-outputs-container]"))){if(e&&i&&!r&&n==="Enter"){po(t),this.queueFullCellsEvaluation(!0);return}else if(!e&&i&&!r&&n==="Enter"){po(t),Ol(this.focusedCellType())&&this.queueFocusedCellEvaluation(),this.moveFocus(1);return}else if(e&&!r&&n==="Enter"){po(t),Ol(this.focusedCellType())&&this.queueFocusedCellEvaluation();return}else if(e&&n==="s"){po(t),this.saveNotebook();return}else if(e||r)return}this.insertMode?(o.reset(),!t.target.closest("[data-el-editor-container]")&&n==="Escape"&&this.escapeInsertMode()):la(t.target)?(o.reset(),n==="Escape"&&t.target.blur()):(o.push(t.key),o.tryMatch(["d","d"])?this.deleteFocusedCell():o.tryMatch(["e","a"])?this.queueFullCellsEvaluation(!1):o.tryMatch(["e","e"])?Ol(this.focusedCellType())&&this.queueFocusedCellEvaluation():o.tryMatch(["e","s"])?this.queueFocusedSectionEvaluation():o.tryMatch(["s","s"])?this.toggleSectionsList():o.tryMatch(["s","e"])?this.toggleSecretsList():o.tryMatch(["s","a"])?this.toggleAppInfo():o.tryMatch(["s","u"])?this.toggleClientsList():o.tryMatch(["s","f"])?this.toggleFilesList():o.tryMatch(["s","r"])?this.toggleRuntimeInfo():o.tryMatch(["s","b"])?this.showBin():o.tryMatch(["s","p"])?this.showPackageSearch():o.tryMatch(["e","x"])?this.cancelFocusedCellEvaluation():o.tryMatch(["0","0"])?this.reconnectRuntime():o.tryMatch(["Escape","Escape"])?this.setFocusedEl(null):o.tryMatch(["?"])?this.showShortcuts():o.tryMatch(["i"])||t.target.matches("body, [data-el-cell-body], [data-el-heading], [data-focusable-id]")&&this.focusedId&&n==="Enter"?(po(t),this.isInsertModeAvailable()&&this.enterInsertMode()):o.tryMatch(["j"])?this.moveFocus(1):o.tryMatch(["k"])?this.moveFocus(-1):o.tryMatch(["J"])?this.moveFocusedCell(1):o.tryMatch(["K"])?this.moveFocusedCell(-1):o.tryMatch(["n"])?this.insertCellBelowFocused("code"):o.tryMatch(["N"])?this.insertCellAboveFocused("code"):o.tryMatch(["m"])?(!this.view||this.viewOptions.showMarkdown)&&this.insertCellBelowFocused("markdown"):o.tryMatch(["M"])?(!this.view||this.viewOptions.showMarkdown)&&this.insertCellAboveFocused("markdown"):o.tryMatch(["v","z"])?this.toggleView("code-zen"):o.tryMatch(["v","p"])?this.toggleView("presentation"):o.tryMatch(["v","c"])?this.toggleView("custom"):o.tryMatch(["c"])?(!this.view||this.viewOptions.showSection)&&this.toggleCollapseSection():o.tryMatch(["C"])&&(!this.view||this.viewOptions.showSection)&&this.toggleCollapseAllSections())},handleEditorEscape(){this.insertMode&&(this.keyBuffer.reset(),this.escapeInsertMode())},handleDocumentMouseDown(t){if(!t.target.closest("[data-el-notebook]")){this.insertMode&&this.setInsertMode(!1);return}if(t.target.closest("[data-el-insert-buttons] button"))return;let e=t.target.closest("[data-focusable-id]"),r=e?e.dataset.focusableId:null,i=this.editableElementClicked(t,e);r!==this.focusedId&&this.setFocusedEl(r,{scroll:!1,focusElement:!1}),!t.target.closest("[data-el-actions]")&&this.insertMode!==i&&this.setInsertMode(i)},editableElementClicked(t,e){if(e){let r=t.target.closest("[data-el-editor-container], [data-el-heading]");return r&&e.contains(r)}return!1},handleDocumentFocus(t){let e=t.target.closest&&t.target.closest("[data-focusable-id]");if(e){let r=e.dataset.focusableId;r!==this.focusedId&&this.setFocusedEl(r,{scroll:!1,focusElement:!1})}},handleDocumentClick(t){t.target.closest("[data-el-enable-insert-mode-button]")&&this.setInsertMode(!0),t.target.closest("[data-btn-package-search]")&&this.insertMode&&this.setInsertMode(!1);let e=t.target.closest("[data-el-queue-cell-evaluation-button]");if(e){let i=e.getAttribute("data-cell-id"),n=e.hasAttribute("data-disable-dependencies-cache");this.queueCellEvaluation(i,n)}let r=window.location.hash;if(r){let i=r.replace(/^#/,"");!document.getElementById(i).contains(t.target)&&!t.target.closest("a")&&history.pushState(null,document.title,window.location.pathname+window.location.search)}},handleSectionsListClick(t){let e=t.target.closest("[data-el-sections-list-item]");if(e){let r=e.getAttribute("data-section-id");this.getSectionById(r).scrollIntoView({behavior:"smooth",block:"start"})}},handleClientsListClick(t){let e=t.target.closest("[data-el-clients-list-item]");if(e){let r=e.getAttribute("data-client-id");t.target.closest("[data-el-client-link]")&&this.handleClientLinkClick(r),t.target.closest("[data-el-client-follow-toggle]")&&this.handleClientFollowToggleClick(r,e)}},handleClientLinkClick(t){this.mirrorClientFocus(t)},handleClientFollowToggleClick(t,e){let r=this.el.querySelector("[data-el-clients-list-item][data-js-followed]");r&&r.removeAttribute("data-js-followed"),t===this.followedClientId?this.followedClientId=null:(e.setAttribute("data-js-followed",""),this.followedClientId=t,this.mirrorClientFocus(t))},mirrorClientFocus(t){let e=this.lastLocationReportByClientId[t];e&&e.focusableId&&this.setFocusedEl(e.focusableId)},handleCellIndicatorsClick(t){let e=t.target.closest("[data-el-focus-cell-button]");if(e){let r=e.getAttribute("data-target");this.setFocusedEl(r)}},initializeFocus(){let t=window.location.hash;if(t){let e=t.replace(/^#/,""),r=document.getElementById(e);if(r){let i=r.closest("[data-focusable-id]");i?this.setFocusedEl(i.dataset.focusableId):r.scrollIntoView()}}else this.props.autofocusCellId&&(this.setFocusedEl(this.props.autofocusCellId,{scroll:!1}),this.setInsertMode(!0))},updateSectionListHighlight(){let t=this.el.querySelector("[data-el-sections-list-item][data-js-is-viewed]");t&&t.removeAttribute("data-js-is-viewed");let e=this.getSections().reverse().find(r=>{let{top:i}=r.getBoundingClientRect(),n=document.documentElement.scrollTop;return i<=n+window.innerHeight*.35});if(e){let r=e.getAttribute("data-section-id");this.el.querySelector(`[data-el-sections-list-item][data-section-id="${r}"]`).setAttribute("data-js-is-viewed","")}},initializeDragAndDrop(){let t=!1,e=null,r=null,i=(o=null)=>{if(!t){t=!0,e=o;let s=o?"internal":"external";this.el.setAttribute("data-js-dragging",s),s==="external"&&this.toggleFilesList(!0)}},n=()=>{t&&(t=!1,this.el.removeAttribute("data-js-dragging"))};this.el.addEventListener("dragstart",o=>{i(o.target)}),this.el.addEventListener("dragenter",o=>{i()}),this.el.addEventListener("dragleave",o=>{this.el.contains(o.relatedTarget)||n()}),this.el.addEventListener("dragover",o=>{o.stopPropagation(),o.preventDefault()}),this.el.addEventListener("drop",o=>{o.stopPropagation(),o.preventDefault();let s=o.target.closest("[data-el-insert-drop-area]"),a=o.target.closest("[data-el-files-drop-area]");if(s){let l=s.getAttribute("data-section-id")||null,c=s.getAttribute("data-cell-id")||null;if(o.dataTransfer.files.length>0)r=o.dataTransfer.files,this.pushEvent("handle_file_drop",{section_id:l,cell_id:c});else if(e&&e.matches("[data-el-file-entry]")){let u=e.getAttribute("data-name");this.pushEvent("insert_file",{file_entry_name:u,section_id:l,cell_id:c})}}else a&&o.dataTransfer.files.length>0&&(r=o.dataTransfer.files,this.pushEvent("handle_file_drop",{}));n()}),this.handleEvent("finish_file_drop",o=>{let s=document.querySelector('#add-file-entry-modal input[type="file"]');s&&(s.files=r,s.dispatchEvent(new Event("change",{bubbles:!0})))})},toggleSectionsList(t=null){this.toggleSidePanelContent("sections-list",t)},toggleClientsList(t=null){this.toggleSidePanelContent("clients-list",t)},toggleSecretsList(t=null){this.toggleSidePanelContent("secrets-list",t)},toggleAppInfo(t=null){this.toggleSidePanelContent("app-info",t)},toggleFilesList(t=null){this.toggleSidePanelContent("files-list",t)},toggleRuntimeInfo(t=null){this.toggleSidePanelContent("runtime-info",t)},toggleSidePanelContent(t,e=null){(e===null?this.el.getAttribute("data-js-side-panel-content")!==t:e)?this.el.setAttribute("data-js-side-panel-content",t):this.el.removeAttribute("data-js-side-panel-content")},showBin(){let t=this.el.querySelector("[data-btn-show-bin]");t&&t.click()},showPackageSearch(){this.setFocusedEl("setup");let t=this.el.querySelector("[data-btn-package-search]");t&&t.click()},saveNotebook(){this.pushEvent("save",{})},deleteFocusedCell(){this.focusedId&&this.isCell(this.focusedId)&&this.pushEvent("delete_cell",{cell_id:this.focusedId})},queueCellEvaluation(t,e){this.dispatchQueueEvaluation(()=>{this.pushEvent("queue_cell_evaluation",{cell_id:t,disable_dependencies_cache:e})})},queueFocusedCellEvaluation(){this.focusedId&&this.isCell(this.focusedId)&&this.dispatchQueueEvaluation(()=>{this.pushEvent("queue_cell_evaluation",{cell_id:this.focusedId})})},queueFullCellsEvaluation(t){let e=t&&this.focusedId&&this.isCell(this.focusedId)?[this.focusedId]:[];this.dispatchQueueEvaluation(()=>{this.pushEvent("queue_full_evaluation",{forced_cell_ids:e})})},queueFocusedSectionEvaluation(){if(this.focusedId){let t=this.getSectionIdByFocusableId(this.focusedId);t&&this.dispatchQueueEvaluation(()=>{this.pushEvent("queue_section_evaluation",{section_id:t})})}},dispatchQueueEvaluation(t){Ol(this.focusedCellType())?Pr.broadcast(`cells:${this.focusedId}`,{type:"dispatch_queue_evaluation",dispatch:t}):t()},cancelFocusedCellEvaluation(){this.focusedId&&this.isCell(this.focusedId)&&this.pushEvent("cancel_cell_evaluation",{cell_id:this.focusedId})},reconnectRuntime(){this.pushEvent("reconnect_runtime",{})},showShortcuts(){let t=this.el.querySelector("[data-btn-show-shortcuts]");t&&t.click()},isInsertModeAvailable(){if(!this.focusedId)return!1;let t=this.getFocusableEl(this.focusedId);return!this.isCell(this.focusedId)||!t.hasAttribute("data-js-insert-mode-disabled")},enterInsertMode(){this.focusedId&&this.setInsertMode(!0)},escapeInsertMode(){this.setInsertMode(!1)},moveFocus(t){let e=this.nearbyFocusableId(this.focusedId,t);this.setFocusedEl(e)},moveFocusedCell(t){this.focusedId&&this.isCell(this.focusedId)&&this.pushEvent("move_cell",{cell_id:this.focusedId,offset:t})},insertCellBelowFocused(t){if(this.focusedId)this.insertCellBelowFocusableId(this.focusedId,t);else{let e=this.getFocusableIds();e.length>0&&this.insertCellBelowFocusableId(e[e.length-1],t)}},insertCellAboveFocused(t){if(this.focusedId){let e=this.nearbyFocusableId(this.focusedId,-1);this.insertCellBelowFocusableId(e,t)}else{let e=this.getFocusableIds();e.length>0&&this.insertCellBelowFocusableId(e[0],t)}},insertCellBelowFocusableId(t,e){if(this.isCell(t))this.pushEvent("insert_cell_below",{type:e,cell_id:t});else if(this.isSection(t))this.pushEvent("insert_cell_below",{type:e,section_id:t});else if(this.isNotebook(t)){let r=this.getSectionIds();r.length>0&&this.pushEvent("insert_cell_below",{type:e,section_id:r[0]})}},setFocusedEl(t,{scroll:e=!0,focusElement:r=!0}={}){if(this.focusedId=t,t?this.el.setAttribute("data-js-focused-id",t):this.el.removeAttribute("data-js-focused-id"),t){if(!this.isSection(t)){let n=this.getSectionIdByFocusableId(t);n&&this.getSectionById(n).removeAttribute("data-js-collapsed")}let i=this.getFocusableEl(t);r&&(i.querySelector("[data-el-cell-body]")||i.querySelector("[data-el-heading]")||i).focus({preventScroll:!0})}Pr.broadcast("navigation",{type:"element_focused",focusableId:t,scroll:e}),this.setInsertMode(!1),this.sendLocationReport({focusableId:t})},setInsertMode(t){this.insertMode=t,t?this.el.setAttribute("data-js-insert-mode",""):this.el.removeAttribute("data-js-insert-mode"),Pr.broadcast("navigation",{type:"insert_mode_changed",enabled:t})},handleViewsClick(t){let e=t.target.closest("[data-el-view-toggle]");if(e){let r=e.getAttribute("data-el-view-toggle");this.toggleView(r)}},toggleView(t){t===this.view?(this.unsetView(),t==="custom"&&this.customViewSettingsSubscription.destroy()):t==="code-zen"?this.setView(t,{showSection:!1,showMarkdown:!1,showOutput:!0,spotlight:!1}):t==="presentation"?this.setView(t,{showSection:!0,showMarkdown:!0,showOutput:!0,spotlight:!0}):t==="custom"&&(this.customViewSettingsSubscription=er.getAndSubscribe(r=>{this.setView(t,{showSection:r.custom_view_show_section,showMarkdown:r.custom_view_show_markdown,showOutput:r.custom_view_show_output,spotlight:r.custom_view_spotlight})}),this.pushEvent("open_custom_view_settings"));let e=this.focusedId||this.nearbyFocusableId(null,0);if(e){let r=this.ensureVisibleFocusableEl(e);r!==this.focused&&this.setFocusedEl(r,{scroll:!1}),r&&this.getFocusableEl(r).scrollIntoView({block:"center"})}},setView(t,e){this.view=t,this.viewOptions=e,this.el.setAttribute("data-js-view",t),this.el.toggleAttribute("data-js-hide-section",!e.showSection),this.el.toggleAttribute("data-js-hide-markdown",!e.showMarkdown),this.el.toggleAttribute("data-js-hide-output",!e.showOutput),this.el.toggleAttribute("data-js-spotlight",e.spotlight)},unsetView(){this.view=null,this.viewOptions=null,this.el.removeAttribute("data-js-view"),this.el.removeAttribute("data-js-hide-section"),this.el.removeAttribute("data-js-hide-markdown"),this.el.removeAttribute("data-js-hide-output"),this.el.removeAttribute("data-js-spotlight")},toggleCollapseSection(){if(this.focusedId){let t=this.getSectionIdByFocusableId(this.focusedId);if(t){let e=this.getSectionById(t);e.hasAttribute("data-js-collapsed")?e.removeAttribute("data-js-collapsed"):(e.setAttribute("data-js-collapsed",""),this.setFocusedEl(t,{scroll:!0}))}}},toggleCollapseAllSections(){let t=this.getSections().every(e=>e.hasAttribute("data-js-collapsed"));if(this.getSections().forEach(e=>{e.toggleAttribute("data-js-collapsed",!t)}),this.focusedId){let e=this.getSectionIdByFocusableId(this.focusedId);e&&this.setFocusedEl(e,{scroll:!0})}},handleCellInserted(t){this.setFocusedEl(t),p$(this.focusedCellType())&&this.setInsertMode(!0)},handleCellDeleted(t,e){if(this.focusedId===t)if(this.view){let r=this.ensureVisibleFocusableEl(e);this.setFocusedEl(r)}else this.setFocusedEl(e)},handleCellRestored(t){this.setFocusedEl(t)},handleCellMoved(t){this.repositionJSViews(),this.focusedId===t&&Pr.broadcast("cells",{type:"cell_moved",cellId:t})},handleSectionInserted(t){let r=this.getSectionById(t).querySelector("[data-el-section-headline]"),{focusableId:i}=r.dataset;this.setFocusedEl(i),this.setInsertMode(!0),GR(document.activeElement)},handleSectionDeleted(t){this.focusedId&&!this.getFocusableEl(this.focusedId)&&this.setFocusedEl(null)},handleSectionMoved(t){this.repositionJSViews();let e=this.getSectionById(t);pl(e)},handleClientJoined(t){let e=this.store.get("clients");this.store.set("clients",Be(ne({},e),{[t.id]:t}))},handleClientLeft(t){let e=this.store.get("clients"),r=e[t];if(r){let[,i]=RO(e,t);this.store.set("clients",i),r.id===this.followedClientId&&(this.followedClientId=null)}},handleClientsUpdated(t){let e=this.store.get("clients"),r=ne({},e);for(let i of t)r[i.id]=i;this.store.set("clients",r)},handleSecretSelected(t,e){Pr.broadcast(`js_views:${t}`,{type:"secretSelected",secretName:e})},handleLocationReport(t,e){let r=this.store.get("clients")[t];this.lastLocationReportByClientId[t]=e,r&&r.id===this.followedClientId&&e.focusableId!==this.focusedId&&this.setFocusedEl(e.focusableId)},repositionJSViews(){Pr.broadcast("js_views",{type:"reposition"})},sendLocationReport(t){Object.keys(this.store.get("clients")).length>1&&this.pushEvent("location_report",{focusable_id:t.focusableId})},focusedCellType(){return this.focusedId&&this.isCell(this.focusedId)?this.getFocusableEl(this.focusedId).getAttribute("data-type"):null},nearbyFocusableId(t,e){let r=this.getFocusableIds();if(r.length===0)return null;let i=r.indexOf(t);if(i===-1){let n=this.getFocusableEls().find(ww);return n?n.getAttribute("data-focusable-id"):r[0]}else{let n=YR(i+e,0,r.length-1);return r[n]}},ensureVisibleFocusableEl(t){let e=this.getFocusableEl(t),r=Array.from(this.el.querySelectorAll("[data-focusable-id]")),i=r.indexOf(e),n=[...r.slice(i,-1),...r.slice(0,i).reverse()].find(o=>!aa(o));return n&&n.getAttribute("data-focusable-id")},isCell(t){return this.getFocusableEl(t).hasAttribute("data-el-cell")},isSection(t){return this.getFocusableEl(t).hasAttribute("data-el-section-headline")},isNotebook(t){return this.getFocusableEl(t).hasAttribute("data-el-notebook-headline")},getFocusableEl(t){return this.el.querySelector(`[data-focusable-id="${t}"]`)},getFocusableEls(){return Array.from(this.el.querySelectorAll("[data-focusable-id]")).filter(t=>!aa(t))},getFocusableIds(){return this.getFocusableEls().map(t=>t.getAttribute("data-focusable-id"))},getSectionIdByFocusableId(t){let r=this.getFocusableEl(t).closest("[data-el-section]");return r&&r.getAttribute("data-section-id")},getSectionIds(){return this.getSections().map(e=>e.getAttribute("data-section-id"))},getSections(){return Array.from(this.el.querySelectorAll("[data-el-section]"))},getSectionById(t){return this.el.querySelector(`[data-el-section][data-section-id="${t}"]`)},getElement(t){return this.el.querySelector(`[data-el-${t}]`)}},mL=zle;var Mle={mounted(){this.autosize(),this.el.addEventListener("input",t=>{this.autosize()})},updated(){this.autosize()},autosize(){this.el.style.height="0px",this.el.style.height=`${this.el.scrollHeight+2}px`}},OL=Mle;var Dle=100,Ule={mounted(){this.props=this.getProps(),this.interval=setInterval(()=>this.updateDOM(),Dle)},updated(){this.props=this.getProps(),this.updateDOM()},destroyed(){clearInterval(this.interval)},getProps(){return Rt(this.el,["start"])},updateDOM(){let e=(Date.now()-new Date(this.props.start))/1e3;this.el.innerHTML=`${e.toFixed(1)}s`}},gL=Ule;var bL="lb:user_data";function yL(t){let e=JSON.stringify(t),r=JR(e);jle(bL,r,15768e4)}function vL(){let t=Nle(bL);if(t){let e=e$(t);return JSON.parse(e)}else return null}function Nle(t){let e=document.cookie.split("; ").find(r=>r.startsWith(`${t}=`));return e?e.replace(`${t}=`,""):null}function jle(t,e,r){let i=`${t}=${e};max-age=${r};path=/${AO()}`;document.cookie=i}var Ble={mounted(){this.el.addEventListener("submit",t=>{let e=this.el.user_form_name.value,r=this.el.user_form_hex_color.value;yL({name:e,hex_color:r})})}},wL=Ble;var Vle={mounted(){this.props=this.getProps(),this.updateAttrs(),this.el.addEventListener("blur",t=>{let e=this.datetimeLocalToUtc(this.el.value);this.pushEventTo(this.props.phxTarget,"change",{html_value:e})})},updated(){this.props=this.getProps(),this.updateAttrs()},getProps(){return Rt(this.el,["utc-value","utc-min","utc-max","phx-target"])},updateAttrs(){this.el.value=this.datetimeUtcToLocal(this.props.utcValue),this.el.min=this.datetimeUtcToLocal(this.props.utcMin),this.el.max=this.datetimeUtcToLocal(this.props.utcMax)},datetimeUtcToLocal(t){if(!t)return null;let e=new Date(t+"Z"),r=e.getFullYear().toString(),i=(e.getMonth()+1).toString().padStart(2,"0"),n=e.getDate().toString().padStart(2,"0"),o=e.getHours().toString().padStart(2,"0"),s=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0");return`${r}-${i}-${n}T${o}:${s}:${a}`},datetimeLocalToUtc(t){if(!t)return null;let e=new Date(t),r=e.getUTCFullYear().toString(),i=(e.getUTCMonth()+1).toString().padStart(2,"0"),n=e.getUTCDate().toString().padStart(2,"0"),o=e.getUTCHours().toString().padStart(2,"0"),s=e.getUTCMinutes().toString().padStart(2,"0"),a=e.getUTCSeconds().toString().padStart(2,"0");return`${r}-${i}-${n}T${o}:${s}:${a}`}},xL=Vle;var qle={mounted(){this.props=this.getProps(),this.updateAttrs(),this.el.addEventListener("blur",t=>{let e=this.timeLocalToUtc(this.el.value);this.pushEventTo(this.props.phxTarget,"change",{html_value:e})})},updated(){this.props=this.getProps(),this.updateAttrs()},getProps(){return Rt(this.el,["utc-value","utc-min","utc-max","phx-target"])},updateAttrs(){this.el.value=this.timeUtcToLocal(this.props.utcValue),this.el.min=this.timeUtcToLocal(this.props.utcMin),this.el.max=this.timeUtcToLocal(this.props.utcMax)},timeUtcToLocal(t){if(!t)return null;let e=new Date;e.setUTCHours(...t.split(":"));let r=e.getHours().toString().padStart(2,"0"),i=e.getMinutes().toString().padStart(2,"0"),n=e.getSeconds().toString().padStart(2,"0");return`${r}:${i}:${n}`},timeLocalToUtc(t){if(!t)return null;let e=new Date;e.setHours(...t.split(":"));let r=e.getUTCHours().toString().padStart(2,"0"),i=e.getUTCMinutes().toString().padStart(2,"0"),n=e.getUTCSeconds().toString().padStart(2,"0");return`${r}:${i}:${n}`}},kL=qle;var EL=_l(TL());var Fle={mounted(){this.props=this.getProps(),this.lineHeight=HR(this.el),this.templateEl=rs(this.el,"[data-template]"),this.contentEl=rs(this.el,"[data-content]"),this.capLines();let t=this.hyperListConfig();this.virtualizedList=new EL.default(this.contentEl,t),this.props.follow&&Ph(this.contentEl)},updated(){this.props=this.getProps(),this.capLines();let t=this.props.follow&&KR(this.contentEl),e=this.hyperListConfig();this.virtualizedList.refresh(this.contentEl,e),t&&Ph(this.contentEl)},getProps(){return Rt(this.el,["max-height","follow","max-lines","ignore-trailing-empty-line"])},hyperListConfig(){let t=this.getLineElements(),e=t.length,r=Math.min(this.props.maxHeight,this.lineHeight*e);return{height:r,total:e,itemHeight:this.lineHeight,generate:i=>{let n=t[i].cloneNode(!0);return n.removeAttribute("id"),n},afterRender:()=>{this.contentEl.scrollWidth>this.contentEl.clientWidth?this.contentEl.style.height=`${r+12}px`:this.contentEl.style.height=`${r}px`}}},getLineElements(){let t=Array.from(this.templateEl.querySelectorAll("[data-line]"));if(t.length===0)return[];let e=t[t.length-1];return this.props.ignoreTrailingEmptyLine&&e.innerText===""?t.slice(0,-1):t},capLines(){if(this.props.maxLines){let e=Array.from(this.templateEl.querySelectorAll("[data-line]")).slice(0,-this.props.maxLines),[r,...i]=e;i.forEach(n=>n.remove()),r&&(r.innerHTML="...")}}},CL=Fle;var Wle={mounted(){let t=er.get(),e=this.el.querySelector('[name="show_section"][value="true"]'),r=this.el.querySelector('[name="show_markdown"][value="true"]'),i=this.el.querySelector('[name="show_output"][value="true"]'),n=this.el.querySelector('[name="spotlight"][value="true"]');e.checked=t.custom_view_show_section,r.checked=t.custom_view_show_markdown,i.checked=t.custom_view_show_output,n.checked=t.custom_view_spotlight,e.addEventListener("change",o=>{er.update({custom_view_show_section:o.target.checked})}),r.addEventListener("change",o=>{er.update({custom_view_show_markdown:o.target.checked})}),i.addEventListener("change",o=>{er.update({custom_view_show_output:o.target.checked})}),n.addEventListener("change",o=>{er.update({custom_view_spotlight:o.target.checked})})}},PL=Wle;var QL={AppAuth:Uk,AudioInput:Vk,Cell:m$,CellEditor:hI,Dropzone:dI,EditorSettings:pI,EmojiPicker:JI,FocusOnUpdate:eL,Headline:rL,Highlight:iL,ImageInput:nL,ImageOutput:oL,JSView:fL,KeyboardControl:hL,MarkdownRenderer:dL,ScrollOnUpdate:pL,Session:mL,TextareaAutosize:OL,Timer:gL,UserForm:wL,UtcDateTimeInput:xL,UtcTimeInput:kL,VirtualizedLines:CL,CustomViewSettings:PL};var _L={onBeforeElUpdated(t,e){for(let r of t.attributes)r.name.startsWith("data-js-")&&e.setAttribute(r.name,r.value),r.name==="data-keep-attribute"&&(t.hasAttribute(r.value)?e.setAttribute(r.value,t.getAttribute(r.value)):e.removeAttribute(r.value))},onNodeAdded(t){if(t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute("autofocus")&&(t.focus(),t.setSelectionRange&&t.value)){let e=t.value.length;t.setSelectionRange(e,e)}}};var jg=_l(RL());function $L(){jg.default.config({barColors:{0:"#b2c1ff"},shadowColor:"rgba(0, 0, 0, .3)"}),window.addEventListener("phx:page-loading-start",()=>{jg.default.show(500)}),window.addEventListener("phx:page-loading-stop",()=>{jg.default.hide()})}function XL(){window.addEventListener("lb:focus",t=>{requestAnimationFrame(()=>{t.target.focus()})}),window.addEventListener("lb:set_value",t=>{t.target.value=t.detail.value}),window.addEventListener("lb:check",t=>{t.target.checked=!0}),window.addEventListener("lb:uncheck",t=>{t.target.checked=!1}),window.addEventListener("lb:set_text",t=>{t.target.textContent=t.detail.value}),window.addEventListener("lb:clipcopy",t=>{"clipboard"in navigator?t.detail.content?navigator.clipboard.writeText(t.detail.content):t.target.tagName==="INPUT"?navigator.clipboard.writeText(t.target.value):navigator.clipboard.writeText(t.target.textContent):alert(`Sorry, your browser does not support clipboard copy.
This generally requires a secure origin \u2014 either HTTPS or localhost.`)}),window.addEventListener("lb:scroll_into_view",t=>{ZR(t.target).then(()=>{XO(t.target,{scrollMode:"if-needed",behavior:"smooth",block:"nearest",inline:"nearest"})})}),window.addEventListener("phx:lb:exec_js",t=>{let e=t.detail.to||"body";document.querySelectorAll(e).forEach(r=>{window.liveSocket.execJS(r,t.detail.js)})}),window.addEventListener("lb:session_list:on_selection_change",()=>{let t=!!document.querySelector("[name='session_ids[]']:checked"),e=document.querySelector("#edit-sessions [name='disconnect']"),r=document.querySelector("#edit-sessions [name='close_all']");e.parentElement.classList.toggle("pointer-events-none",!t),e.parentElement.classList.toggle("opacity-50",!t),r.parentElement.classList.toggle("pointer-events-none",!t),r.parentElement.classList.toggle("opacity-50",!t)}),window.addEventListener("contextmenu",t=>{let e=t.target.closest("[data-contextmenu-trigger-click]");e&&(t.preventDefault(),e.dispatchEvent(new Event("mousedown",{bubbles:!0})),e.dispatchEvent(new Event("click",{bubbles:!0})))}),window.addEventListener("submit",t=>{t.target.hasAttribute("phx-nosubmit")&&(t.preventDefault(),t.stopPropagation())},{capture:!0})}function IL(){let t=/AppleWebKit/.test(navigator.userAgent),e="ontouchstart"in window||navigator.maxTouchPoints>0;if(t&&e){let r=document.querySelector("meta[name='viewport']");r&&(r.content+=", maximum-scale=1.0")}}var wx="confirm-opted-out-ids";function LL(){return ka(wx)||[]}function zL(){window.addEventListener("phx:add_confirm_opt_out_id",t=>{let e=ka(wx)||[],r=t.detail.opt_out_id;e.push(r),Il(wx,e)})}function Zle(){let t=document.querySelector("meta[name='csrf-token']").getAttribute("content"),e=new Ik(window.LIVEBOOK_BASE_URL_PATH+"/live",Sd,{params:r=>({_csrf_token:t,user_data:vL(),app_auth_token:Dk(),confirm_opt_out_ids:LL()}),hooks:QL,dom:_L});$L(),XL(),zL(),IL(),er.getAndSubscribe(r=>{document.body.setAttribute("data-editor-theme",r.editor_theme)}),e.connect(),window.liveSocket=e}if(Yle())Zle();else{let t=document.createElement("div");t.innerHTML=`
<div class="fixed top-0 bottom-0 left-0 right-0 z-[1000] px-4 py-8 bg-gray-900/95 flex justify-center items-center">
<div class="max-w-[600px] w-full flex flex-col">
<div class="text-xl text-gray-100 font-medium">
Action required
</div>
<div class="mt-3 text-sm text-gray-300">
It looks like Livebook does not have access to cookies. This usually happens when
it runs in an iframe. To make sure the app is fully functional open it in a new
tab directly. Alternatively you can relax security settings for this page to allow
third-party cookies.
</div>
<div class="mt-6">
<a id="open-app" class="button-base button-blue" target="_blank">
Open app
</a>
</div>
</div>
</div>
`,t.querySelector("#open-app").href=window.location,document.body.appendChild(t)}function Yle(){return document.cookie=`lb:probe_cookie=;path=/${AO()}`,document.cookie.split("; ").some(t=>t.startsWith("lb:probe_cookie="))}
/*! Bundled license information:
topbar/topbar.min.js:
(**
* @license MIT
* topbar 2.0.0, 2023-02-04
* http://buunguyen.github.io/topbar
* Copyright (c) 2021 Buu Nguyen
*)
*/