livebook/static/assets/app.js
2025-03-11 07:39:20 +00:00

342 lines
1.7 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 Xg}from"./chunk-GJ6CDUB5.js";import{a as Y,b as Ee,c as ms,d as OS,e as gi,f as wo,g as hc,i as Xa,j as lt}from"./chunk-MGYUK2XN.js";var ST=wo((nle,kT)=>{"use strict";var jh=Object.prototype.hasOwnProperty,wT=Object.prototype.toString,mT=Object.defineProperty,gT=Object.getOwnPropertyDescriptor,bT=function(e){return typeof Array.isArray=="function"?Array.isArray(e):wT.call(e)==="[object Array]"},yT=function(e){if(!e||wT.call(e)!=="[object Object]")return!1;var i=jh.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&jh.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!n)return!1;var r;for(r in e);return typeof r=="undefined"||jh.call(e,r)},xT=function(e,i){mT&&i.name==="__proto__"?mT(e,i.name,{enumerable:!0,configurable:!0,value:i.newValue,writable:!0}):e[i.name]=i.newValue},vT=function(e,i){if(i==="__proto__")if(jh.call(e,i)){if(gT)return gT(e,i).value}else return;return e[i]};kT.exports=function t(){var e,i,n,r,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(i in e)n=vT(a,i),r=vT(e,i),a!==r&&(u&&r&&(yT(r)||(o=bT(r)))?(o?(o=!1,s=n&&bT(n)?n:[]):s=n&&yT(n)?n:{},xT(a,{name:i,newValue:t(u,s,r)})):typeof r!="undefined"&&xT(a,{name:i,newValue:r}));return a}});var kR=wo(()=>{});var tm=wo((em,SR)=>{(function(t,e){typeof em=="object"?SR.exports=em=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(em,function(){var t=t||function(e,i){var n;if(typeof window!="undefined"&&window.crypto&&(n=window.crypto),typeof self!="undefined"&&self.crypto&&(n=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(n=globalThis.crypto),!n&&typeof window!="undefined"&&window.msCrypto&&(n=window.msCrypto),!n&&typeof global!="undefined"&&global.crypto&&(n=global.crypto),!n&&typeof ms=="function")try{n=kR()}catch(w){}var r=function(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch(w){}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch(w){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function w(){}return function(T){var A;return w.prototype=T,A=new w,w.prototype=null,A}}(),s={},a=s.lib={},l=a.Base=function(){return{extend:function(w){var T=o(this);return w&&T.mixIn(w),(!T.hasOwnProperty("init")||this.init===T.init)&&(T.init=function(){T.$super.init.apply(this,arguments)}),T.init.prototype=T,T.$super=this,T},create:function(){var w=this.extend();return w.init.apply(w,arguments),w},init:function(){},mixIn:function(w){for(var T in w)w.hasOwnProperty(T)&&(this[T]=w[T]);w.hasOwnProperty("toString")&&(this.toString=w.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=a.WordArray=l.extend({init:function(w,T){w=this.words=w||[],T!=i?this.sigBytes=T:this.sigBytes=w.length*4},toString:function(w){return(w||f).stringify(this)},concat:function(w){var T=this.words,A=w.words,L=this.sigBytes,D=w.sigBytes;if(this.clamp(),L%4)for(var P=0;P<D;P++){var N=A[P>>>2]>>>24-P%4*8&255;T[L+P>>>2]|=N<<24-(L+P)%4*8}else for(var le=0;le<D;le+=4)T[L+le>>>2]=A[le>>>2];return this.sigBytes+=D,this},clamp:function(){var w=this.words,T=this.sigBytes;w[T>>>2]&=4294967295<<32-T%4*8,w.length=e.ceil(T/4)},clone:function(){var w=l.clone.call(this);return w.words=this.words.slice(0),w},random:function(w){for(var T=[],A=0;A<w;A+=4)T.push(r());return new c.init(T,w)}}),u=s.enc={},f=u.Hex={stringify:function(w){for(var T=w.words,A=w.sigBytes,L=[],D=0;D<A;D++){var P=T[D>>>2]>>>24-D%4*8&255;L.push((P>>>4).toString(16)),L.push((P&15).toString(16))}return L.join("")},parse:function(w){for(var T=w.length,A=[],L=0;L<T;L+=2)A[L>>>3]|=parseInt(w.substr(L,2),16)<<24-L%8*4;return new c.init(A,T/2)}},d=u.Latin1={stringify:function(w){for(var T=w.words,A=w.sigBytes,L=[],D=0;D<A;D++){var P=T[D>>>2]>>>24-D%4*8&255;L.push(String.fromCharCode(P))}return L.join("")},parse:function(w){for(var T=w.length,A=[],L=0;L<T;L++)A[L>>>2]|=(w.charCodeAt(L)&255)<<24-L%4*8;return new c.init(A,T)}},O=u.Utf8={stringify:function(w){try{return decodeURIComponent(escape(d.stringify(w)))}catch(T){throw new Error("Malformed UTF-8 data")}},parse:function(w){return d.parse(unescape(encodeURIComponent(w)))}},m=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(w){typeof w=="string"&&(w=O.parse(w)),this._data.concat(w),this._nDataBytes+=w.sigBytes},_process:function(w){var T,A=this._data,L=A.words,D=A.sigBytes,P=this.blockSize,N=P*4,le=D/N;w?le=e.ceil(le):le=e.max((le|0)-this._minBufferSize,0);var H=le*P,M=e.min(H*4,D);if(H){for(var ie=0;ie<H;ie+=P)this._doProcessBlock(L,ie);T=L.splice(0,H),A.sigBytes-=M}return new c.init(T,M)},clone:function(){var w=l.clone.call(this);return w._data=this._data.clone(),w},_minBufferSize:0}),x=a.Hasher=m.extend({cfg:l.extend(),init:function(w){this.cfg=this.cfg.extend(w),this.reset()},reset:function(){m.reset.call(this),this._doReset()},update:function(w){return this._append(w),this._process(),this},finalize:function(w){w&&this._append(w);var T=this._doFinalize();return T},blockSize:512/32,_createHelper:function(w){return function(T,A){return new w.init(A).finalize(T)}},_createHmacHelper:function(w){return function(T,A){return new v.HMAC.init(w,A).finalize(T)}}}),v=s.algo={};return s}(Math);return t})});var ER=wo((im,TR)=>{(function(t,e){typeof im=="object"?TR.exports=im=e(tm()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(im,function(t){return function(e){var i=t,n=i.lib,r=n.WordArray,o=n.Hasher,s=i.algo,a=[];(function(){for(var O=0;O<64;O++)a[O]=e.abs(e.sin(O+1))*4294967296|0})();var l=s.MD5=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(O,m){for(var x=0;x<16;x++){var v=m+x,w=O[v];O[v]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var T=this._hash.words,A=O[m+0],L=O[m+1],D=O[m+2],P=O[m+3],N=O[m+4],le=O[m+5],H=O[m+6],M=O[m+7],ie=O[m+8],ne=O[m+9],re=O[m+10],de=O[m+11],pe=O[m+12],ve=O[m+13],j=O[m+14],ue=O[m+15],Z=T[0],C=T[1],W=T[2],oe=T[3];Z=c(Z,C,W,oe,A,7,a[0]),oe=c(oe,Z,C,W,L,12,a[1]),W=c(W,oe,Z,C,D,17,a[2]),C=c(C,W,oe,Z,P,22,a[3]),Z=c(Z,C,W,oe,N,7,a[4]),oe=c(oe,Z,C,W,le,12,a[5]),W=c(W,oe,Z,C,H,17,a[6]),C=c(C,W,oe,Z,M,22,a[7]),Z=c(Z,C,W,oe,ie,7,a[8]),oe=c(oe,Z,C,W,ne,12,a[9]),W=c(W,oe,Z,C,re,17,a[10]),C=c(C,W,oe,Z,de,22,a[11]),Z=c(Z,C,W,oe,pe,7,a[12]),oe=c(oe,Z,C,W,ve,12,a[13]),W=c(W,oe,Z,C,j,17,a[14]),C=c(C,W,oe,Z,ue,22,a[15]),Z=u(Z,C,W,oe,L,5,a[16]),oe=u(oe,Z,C,W,H,9,a[17]),W=u(W,oe,Z,C,de,14,a[18]),C=u(C,W,oe,Z,A,20,a[19]),Z=u(Z,C,W,oe,le,5,a[20]),oe=u(oe,Z,C,W,re,9,a[21]),W=u(W,oe,Z,C,ue,14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0,T[3]=T[3]+oe|0},_doFinalize:function(){var O=this._data,m=O.words,x=this._nDataBytes*8,v=O.sigBytes*8;m[v>>>5]|=128<<24-v%32;var w=e.floor(x/4294967296),T=x;m[(v+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,m[(v+64>>>9<<4)+14]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,O.sigBytes=(m.length+1)*4,this._process();for(var A=this._hash,L=A.words,D=0;D<4;D++){var P=L[D];L[D]=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360}return A},clone:function(){var O=o.clone.call(this);return O._hash=this._hash.clone(),O}});function c(O,m,x,v,w,T,A){var L=O+(m&x|~m&v)+w+A;return(L<<T|L>>>32-T)+m}function u(O,m,x,v,w,T,A){var L=O+(m&v|x&~v)+w+A;return(L<<T|L>>>32-T)+m}function f(O,m,x,v,w,T,A){var L=O+(m^x^v)+w+A;return(L<<T|L>>>32-T)+m}function d(O,m,x,v,w,T,A){var L=O+(x^(m|~v))+w+A;return(L<<T|L>>>32-T)+m}i.MD5=o._createHelper(l),i.HmacMD5=o._createHmacHelper(l)}(Math),t.MD5})});var CR=wo((nm,PR)=>{(function(t,e){typeof nm=="object"?PR.exports=nm=e(tm()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(nm,function(t){return function(e){var i=t,n=i.lib,r=n.WordArray,o=n.Hasher,s=i.algo,a=[],l=[];(function(){function f(x){for(var v=e.sqrt(x),w=2;w<=v;w++)if(!(x%w))return!1;return!0}function d(x){return(x-(x|0))*4294967296|0}for(var O=2,m=0;m<64;)f(O)&&(m<8&&(a[m]=d(e.pow(O,1/2))),l[m]=d(e.pow(O,1/3)),m++),O++})();var c=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(f,d){for(var O=this._hash.words,m=O[0],x=O[1],v=O[2],w=O[3],T=O[4],A=O[5],L=O[6],D=O[7],P=0;P<64;P++){if(P<16)c[P]=f[d+P]|0;else{var N=c[P-15],le=(N<<25|N>>>7)^(N<<14|N>>>18)^N>>>3,H=c[P-2],M=(H<<15|H>>>17)^(H<<13|H>>>19)^H>>>10;c[P]=le+c[P-7]+M+c[P-16]}var ie=T&A^~T&L,ne=m&x^m&v^x&v,re=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),de=(T<<26|T>>>6)^(T<<21|T>>>11)^(T<<7|T>>>25),pe=D+de+ie+l[P]+c[P],ve=re+ne;D=L,L=A,A=T,T=w+pe|0,w=v,v=x,x=m,m=pe+ve|0}O[0]=O[0]+m|0,O[1]=O[1]+x|0,O[2]=O[2]+v|0,O[3]=O[3]+w|0,O[4]=O[4]+T|0,O[5]=O[5]+A|0,O[6]=O[6]+L|0,O[7]=O[7]+D|0},_doFinalize:function(){var f=this._data,d=f.words,O=this._nDataBytes*8,m=f.sigBytes*8;return d[m>>>5]|=128<<24-m%32,d[(m+64>>>9<<4)+14]=e.floor(O/4294967296),d[(m+64>>>9<<4)+15]=O,f.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var f=o.clone.call(this);return f._hash=this._hash.clone(),f}});i.SHA256=o._createHelper(u),i.HmacSHA256=o._createHmacHelper(u)}(Math),t.SHA256})});var _R=wo((rm,QR)=>{(function(t,e){typeof rm=="object"?QR.exports=rm=e(tm()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(rm,function(t){return function(){var e=t,i=e.lib,n=i.WordArray,r=e.enc,o=r.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 O=l[d>>>2]>>>24-d%4*8&255,m=l[d+1>>>2]>>>24-(d+1)%4*8&255,x=l[d+2>>>2]>>>24-(d+2)%4*8&255,v=O<<16|m<<8|x,w=0;w<4&&d+w*.75<c;w++)f.push(u.charAt(v>>>6*(3-w)&63));var T=u.charAt(64);if(T)for(;f.length%4;)f.push(T);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 O=a.indexOf(d);O!==-1&&(l=O)}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 O=c[a.charCodeAt(d-1)]<<d%4*2,m=c[a.charCodeAt(d)]>>>6-d%4*2,x=O|m;u[f>>>2]|=x<<24-f%4*8,f++}return n.create(u,f)}}(),t.enc.Base64})});var m7=wo((p7,z2)=>{(function(t){if(typeof p7=="object"&&typeof z2!="undefined")z2.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,i;return function(){function n(r,o,s){function a(u,f){if(!o[u]){if(!r[u]){var d=typeof ms=="function"&&ms;if(!f&&d)return d(u,!0);if(l)return l(u,!0);var O=new Error("Cannot find module '"+u+"'");throw O.code="MODULE_NOT_FOUND",O}var m=o[u]={exports:{}};r[u][0].call(m.exports,function(x){var v=r[u][1][x];return a(v||x)},m,m.exports,n,r,o,s)}return o[u].exports}for(var l=typeof ms=="function"&&ms,c=0;c<s.length;c++)a(s[c]);return a}return n}()({1:[function(n,r,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var s=function(){function O(m,x){for(var v=0;v<x.length;v++){var w=x[v];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(m,w.key,w)}}return function(m,x,v){return x&&O(m.prototype,x),v&&O(m,v),m}}();function a(O,m,x){return m in O?Object.defineProperty(O,m,{value:x,enumerable:!0,configurable:!0,writable:!0}):O[m]=x,O}function l(O,m){if(!(O instanceof m))throw new TypeError("Cannot call a class as a function")}var c={width:"100%",height:"100%"},u=function(m){return Number(m)===Number(m)},f="classList"in document.documentElement?function(O,m){O.classList.add(m)}:function(O,m){var x=O.getAttribute("class")||"";O.setAttribute("class",x+" "+m)},d=function(){s(O,null,[{key:"create",value:function(x,v){return new O(x,v)}},{key:"mergeStyle",value:function(x,v){for(var w in v)x.style[w]!==v[w]&&(x.style[w]=v[w])}},{key:"getMaxBrowserHeight",value:function(){var x=document.createElement("div"),v=document.createElement("div");O.mergeStyle(x,{position:"absolute",height:"1px",opacity:0}),O.mergeStyle(v,{height:"1e7px"}),x.appendChild(v),document.body.appendChild(x);var w=v.offsetHeight;return document.body.removeChild(x),w}}]);function O(m,x){var v=this;l(this,O),this._config={},this._lastRepaint=null,this._maxElementHeight=O.getMaxBrowserHeight(),this.refresh(m,x);var w=this._config,T=function A(){var L=v._getScrollPosition(),D=v._lastRepaint;if(v._renderAnimationFrame=window.requestAnimationFrame(A),L!==D){var P=D?L-D:0;if(!D||P<0||P>v._averageHeight){var N=v._renderChunk();v._lastRepaint=L,N!==!1&&typeof w.afterRender=="function"&&w.afterRender()}}};T()}return s(O,[{key:"destroy",value:function(){window.cancelAnimationFrame(this._renderAnimationFrame)}},{key:"refresh",value:function(x,v){var w;if(Object.assign(this._config,c,v),!x||x.nodeType!==1)throw new Error("HyperList requires a valid DOM Node container");this._element=x;var T=this._config,A=this._scroller||T.scroller||document.createElement(T.scrollerTagName||"tr");if(typeof T.useFragment!="boolean"&&(this._config.useFragment=!0),!T.generate)throw new Error("Missing required `generate` function");if(!u(T.total))throw new Error("Invalid required `total` value, expected number");if(!Array.isArray(T.itemHeight)&&!u(T.itemHeight))throw new Error("\n Invalid required `itemHeight` value, expected number or array\n ".trim());u(T.itemHeight)?this._itemHeights=Array(T.total).fill(T.itemHeight):this._itemHeights=T.itemHeight,Object.keys(c).filter(function(ve){return ve in T}).forEach(function(ve){var j=T[ve],ue=u(j);if(j&&typeof j!="string"&&typeof j!="number"){var Z="Invalid optional `"+ve+"`, expected string or number";throw new Error(Z)}else ue&&(T[ve]=j+"px")});var L=!!T.horizontal,D=T[L?"width":"height"];if(D){var P=u(D),N=P?!1:D.slice(-1)==="%",le=P?D:parseInt(D.replace(/px|%/,""),10),H=window[L?"innerWidth":"innerHeight"];N?this._containerSize=H*le/100:this._containerSize=u(D)?D:le}var M=T.scrollContainer,ie=T.itemHeight*T.total,ne=this._maxElementHeight;ie>ne&&console.warn(["HyperList: The maximum element height",ne+"px has","been exceeded; please reduce your item height."].join(" "));var re={width:""+T.width,height:M?ie+"px":""+T.height,overflow:M?"none":"auto",position:"relative"};O.mergeStyle(x,re),M&&O.mergeStyle(T.scrollContainer,{overflow:"auto"});var de=(w={opacity:"0",position:"absolute"},a(w,L?"height":"width","1px"),a(w,L?"width":"height",ie+"px"),w);O.mergeStyle(A,de),this._scroller||x.appendChild(A);var pe=this._computeScrollPadding();this._scrollPaddingBottom=pe.bottom,this._scrollPaddingTop=pe.top,this._scroller=A,this._scrollHeight=this._computeScrollHeight(),this._itemPositions=this._itemPositions||Array(T.total).fill(0),this._computePositions(0),this._renderChunk(this._lastRepaint!==null),typeof T.afterRender=="function"&&T.afterRender()}},{key:"_getRow",value:function(x){var v=this._config,w=v.generate(x),T=w.height;if(T!==void 0&&u(T)?(w=w.element,T!==this._itemHeights[x]&&(this._itemHeights[x]=T,this._computePositions(x),this._scrollHeight=this._computeScrollHeight(x))):T=this._itemHeights[x],!w||w.nodeType!==1)throw new Error("Generator did not return a DOM Node for index: "+x);f(w,v.rowClassName||"vrow");var A=this._itemPositions[x]+this._scrollPaddingTop;return O.mergeStyle(w,a({position:"absolute"},v.horizontal?"left":"top",A+"px")),w}},{key:"_getScrollPosition",value:function(){var x=this._config;return typeof x.overrideScrollPosition=="function"?x.overrideScrollPosition():this._element[x.horizontal?"scrollLeft":"scrollTop"]}},{key:"_renderChunk",value:function(x){var v=this._config,w=this._element,T=this._getScrollPosition(),A=v.total,L=v.reverse?this._getReverseFrom(T):this._getFrom(T)-1;if((L<0||L-this._screenItemsLen<0)&&(L=0),!x&&this._lastFrom===L)return!1;this._lastFrom=L;var D=L+this._cachedItemsLen;(D>A||D+this._cachedItemsLen>A)&&(D=A);var P=v.useFragment?document.createDocumentFragment():[],N=this._scroller;P[v.useFragment?"appendChild":"push"](N);for(var le=L;le<D;le++){var H=this._getRow(le);P[v.useFragment?"appendChild":"push"](H)}if(v.applyPatch)return v.applyPatch(w,P);w.innerHTML="",w.appendChild(P)}},{key:"_computePositions",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,v=this._config,w=v.total,T=v.reverse;x<1&&!T&&(x=1);for(var A=x;A<w;A++)T?A===0?this._itemPositions[0]=this._scrollHeight-this._itemHeights[0]:this._itemPositions[A]=this._itemPositions[A-1]-this._itemHeights[A]:this._itemPositions[A]=this._itemHeights[A-1]+this._itemPositions[A-1]}},{key:"_computeScrollHeight",value:function(){var x,v=this,w=this._config,T=!!w.horizontal,A=w.total,L=this._itemHeights.reduce(function(ie,ne){return ie+ne},0)+this._scrollPaddingBottom+this._scrollPaddingTop;O.mergeStyle(this._scroller,(x={opacity:0,position:"absolute",top:"0px"},a(x,T?"height":"width","1px"),a(x,T?"width":"height",L+"px"),x));var D=this._itemHeights.slice(0).sort(function(ie,ne){return ie-ne}),P=Math.floor(A/2),N=A%2===0?(D[P]+D[P-1])/2:D[P],le=T?"clientWidth":"clientHeight",H=w.scrollContainer?w.scrollContainer:this._element,M=H[le]?H[le]:this._containerSize;return this._screenItemsLen=Math.ceil(M/N),this._containerSize=M,this._cachedItemsLen=Math.max(this._cachedItemsLen||0,this._screenItemsLen*3),this._averageHeight=N,w.reverse&&window.requestAnimationFrame(function(){T?v._element.scrollLeft=L:v._element.scrollTop=L}),L}},{key:"_computeScrollPadding",value:function(){var x=this._config,v=!!x.horizontal,w=x.reverse,T=window.getComputedStyle(this._element),A=function(D){var P=T.getPropertyValue("padding-"+D);return parseInt(P,10)||0};return v&&w?{bottom:A("left"),top:A("right")}:v?{bottom:A("right"),top:A("left")}:w?{bottom:A("top"),top:A("bottom")}:{bottom:A("bottom"),top:A("top")}}},{key:"_getFrom",value:function(x){for(var v=0;this._itemPositions[v]<x;)v++;return v}},{key:"_getReverseFrom",value:function(x){for(var v=this._config.total-1;v>0&&this._itemPositions[v]<x+this._containerSize;)v--;return v}}]),O}();o.default=d,r.exports=o.default},{}]},{},[1])(1)})});var k7=wo((w7,bg)=>{(function(t,e){"use strict";function i(){n.width=t.innerWidth,n.height=5*c.barThickness;var f=n.getContext("2d");f.shadowBlur=c.shadowBlur,f.shadowColor=c.shadowColor;var d,O=f.createLinearGradient(0,0,n.width,0);for(d in c.barColors)O.addColorStop(d,c.barColors[d]);f.lineWidth=c.barThickness,f.beginPath(),f.moveTo(0,c.barThickness/2),f.lineTo(Math.ceil(r*n.width),c.barThickness/2),f.strokeStyle=O,f.stroke()}var n,r,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,O;o||(f?l=l||setTimeout(()=>u.show(),f):(o=!0,a!==null&&t.cancelAnimationFrame(a),n||((O=(n=e.createElement("canvas")).style).position="fixed",O.top=O.left=O.right=O.margin=O.padding=0,O.zIndex=100001,O.display="none",c.className&&n.classList.add(c.className),d="resize",f=i,(O=t).addEventListener?O.addEventListener(d,f,!1):O.attachEvent?O.attachEvent("on"+d,f):O["on"+d]=f),n.parentElement||e.body.appendChild(n),n.style.opacity=1,n.style.display="block",u.progress(0),c.autoRun&&function m(){s=t.requestAnimationFrame(m),u.progress("+"+.05*Math.pow(1-Math.sqrt(r),2))}()))},progress:function(f){return f===void 0||(typeof f=="string"&&(f=(0<=f.indexOf("+")||0<=f.indexOf("-")?r:0)+parseFloat(f)),r=1<f?1:f,i()),r},hide:function(){clearTimeout(l),l=null,o&&(o=!1,s!=null&&(t.cancelAnimationFrame(s),s=null),function f(){return 1<=u.progress("+.1")&&(n.style.opacity-=.05,n.style.opacity<=.05)?(n.style.display="none",void(a=null)):void(a=t.requestAnimationFrame(f))}())}};typeof bg=="object"&&typeof bg.exports=="object"?bg.exports=u:typeof define=="function"&&define.amd?define(function(){return u}):this.topbar=u}).call(w7,window,document)});(function(){var t=e();function e(){if(typeof window.CustomEvent=="function")return window.CustomEvent;function r(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 r.prototype=window.Event.prototype,r}function i(r,o){var s=document.createElement("input");return s.type="hidden",s.name=r,s.value=o,s}function n(r,o){var s=r.getAttribute("data-to"),a=i("_method",r.getAttribute("data-method")),l=i("_csrf_token",r.getAttribute("data-csrf")),c=document.createElement("form"),u=document.createElement("input"),f=r.getAttribute("target");c.method=r.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(r){var o=r.target;if(!r.defaultPrevented)for(;o&&o.getAttribute;){var s=new t("phoenix.link.click",{bubbles:!0,cancelable:!0});if(!o.dispatchEvent(s))return r.preventDefault(),r.stopImmediatePropagation(),!1;if(o.getAttribute("data-method")&&o.getAttribute("data-to"))return n(o,r.metaKey||r.shiftKey),r.preventDefault(),!1;o=o.parentNode}},!1),window.addEventListener("phoenix.link.click",function(r){var o=r.target.getAttribute("data-confirm");o&&!window.confirm(o)&&r.preventDefault()},!1)})();var pc=t=>typeof t=="function"?t:function(){return t},hD=typeof self!="undefined"?self:null,Oc=typeof window!="undefined"?window:null,gs=hD||Oc||gs,dD="2.0.0",ir={connecting:0,open:1,closing:2,closed:3},OD=1e4,pD=1e3,Ki={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},Er={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},Rg={longpoll:"longpoll",websocket:"websocket"},mD={complete:4},Th=class{constructor(t,e,i,n){this.channel=t,this.event=e,this.payload=i||function(){return{}},this.receivedResp=null,this.timeout=n,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:i}){this.recHooks.filter(n=>n.status===t).forEach(n=>n.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})}},pS=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))}},gD=class{constructor(t,e,i){this.state=Ki.closed,this.topic=t,this.params=pc(e||{}),this.socket=i,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new Th(this,Er.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new pS(()=>{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=Ki.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(n=>n.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=Ki.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=Ki.closed,this.socket.remove(this)}),this.onError(n=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,n),this.isJoining()&&this.joinPush.reset(),this.state=Ki.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 Th(this,Er.leave,pc({}),this.timeout).send(),this.state=Ki.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(Er.reply,(n,r)=>{this.trigger(this.replyEventName(r),n)})}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(Er.close,t)}onError(t){return this.on(Er.error,e=>t(e))}on(t,e){let i=this.bindingRef++;return this.bindings.push({event:t,ref:i,callback:e}),i}off(t,e){this.bindings=this.bindings.filter(i=>!(i.event===t&&(typeof e=="undefined"||e===i.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(t,e,i=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 n=new Th(this,t,function(){return e},i);return this.canPush()?n.send():(n.startTimeout(),this.pushBuffer.push(n)),n}leave(t=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=Ki.leaving;let e=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(Er.close,"leave")},i=new Th(this,Er.leave,pc({}),t);return i.receive("ok",()=>e()).receive("timeout",()=>e()),i.send(),this.canPush()||i.trigger("ok",{}),i}onMessage(t,e,i){return e}isMember(t,e,i,n){return this.topic!==t?!1:n&&n!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:t,event:e,payload:i,joinRef:n}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(t=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=Ki.joining,this.joinPush.resend(t))}trigger(t,e,i,n){let r=this.onMessage(t,e,i,n);if(e&&!r)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(r,i,n||this.joinRef())}replyEventName(t){return`chan_reply_${t}`}isClosed(){return this.state===Ki.closed}isErrored(){return this.state===Ki.errored}isJoined(){return this.state===Ki.joined}isJoining(){return this.state===Ki.joining}isLeaving(){return this.state===Ki.leaving}},Ph=class{static request(t,e,i,n,r,o,s){if(gs.XDomainRequest){let a=new gs.XDomainRequest;return this.xdomainRequest(a,t,e,n,r,o,s)}else{let a=new gs.XMLHttpRequest;return this.xhrRequest(a,t,e,i,n,r,o,s)}}static xdomainRequest(t,e,i,n,r,o,s){return t.timeout=r,t.open(e,i),t.onload=()=>{let a=this.parseJSON(t.responseText);s&&s(a)},o&&(t.ontimeout=o),t.onprogress=()=>{},t.send(n),t}static xhrRequest(t,e,i,n,r,o,s,a){return t.open(e,i,!0),t.timeout=o,t.setRequestHeader("Content-Type",n),t.onerror=()=>a&&a(null),t.onreadystatechange=()=>{if(t.readyState===mD.complete&&a){let l=this.parseJSON(t.responseText);a(l)}},s&&(t.ontimeout=s),t.send(r),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 i=[];for(var n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let r=e?`${e}[${n}]`:n,o=t[n];typeof o=="object"?i.push(this.serialize(o,r)):i.push(encodeURIComponent(r)+"="+encodeURIComponent(o))}return i.join("&")}static appendParams(t,e){if(Object.keys(e).length===0)return t;let i=t.match(/\?/)?"&":"?";return`${t}${i}${this.serialize(e)}`}},bD=t=>{let e="",i=new Uint8Array(t),n=i.byteLength;for(let r=0;r<n;r++)e+=String.fromCharCode(i[r]);return btoa(e)},dc=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=ir.connecting,setTimeout(()=>this.poll(),0)}normalizeEndpoint(t){return t.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+Rg.websocket),"$1/"+Rg.longpoll)}endpointURL(){return Ph.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(t,e,i){this.close(t,e,i),this.readyState=ir.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===ir.open||this.readyState===ir.connecting}poll(){this.ajax("GET","application/json",null,()=>this.ontimeout(),t=>{if(t){var{status:e,token:i,messages:n}=t;this.token=i}else e=0;switch(e){case 200:n.forEach(r=>{setTimeout(()=>this.onmessage({data:r}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=ir.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=bD(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,i){for(let r of this.reqs)r.abort();this.readyState=ir.closed;let n=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:t,reason:e,wasClean:i});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent!="undefined"?this.onclose(new CloseEvent("close",n)):this.onclose(n)}ajax(t,e,i,n,r){let o,s=()=>{this.reqs.delete(o),n()};o=Ph.request(t,this.endpointURL(),e,i,this.timeout,s,a=>{this.reqs.delete(o),this.isActive()&&r(a)}),this.reqs.add(o)}};var Eh={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 i=[t.join_ref,t.ref,t.topic,t.event,t.payload];return e(JSON.stringify(i))}},decode(t,e){if(t.constructor===ArrayBuffer)return e(this.binaryDecode(t));{let[i,n,r,o,s]=JSON.parse(t);return e({join_ref:i,ref:n,topic:r,event:o,payload:s})}},binaryEncode(t){let{join_ref:e,ref:i,event:n,topic:r,payload:o}=t,s=this.META_LENGTH+e.length+i.length+r.length+n.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++,i.length),l.setUint8(c++,r.length),l.setUint8(c++,n.length),Array.from(e,f=>l.setUint8(c++,f.charCodeAt(0))),Array.from(i,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)));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),i=e.getUint8(0),n=new TextDecoder;switch(i){case this.KINDS.push:return this.decodePush(t,e,n);case this.KINDS.reply:return this.decodeReply(t,e,n);case this.KINDS.broadcast:return this.decodeBroadcast(t,e,n)}},decodePush(t,e,i){let n=e.getUint8(1),r=e.getUint8(2),o=e.getUint8(3),s=this.HEADER_LENGTH+this.META_LENGTH-1,a=i.decode(t.slice(s,s+n));s=s+n;let l=i.decode(t.slice(s,s+r));s=s+r;let c=i.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,i){let n=e.getUint8(1),r=e.getUint8(2),o=e.getUint8(3),s=e.getUint8(4),a=this.HEADER_LENGTH+this.META_LENGTH,l=i.decode(t.slice(a,a+n));a=a+n;let c=i.decode(t.slice(a,a+r));a=a+r;let u=i.decode(t.slice(a,a+o));a=a+o;let f=i.decode(t.slice(a,a+s));a=a+s;let d=t.slice(a,t.byteLength),O={status:f,response:d};return{join_ref:l,ref:c,topic:u,event:Er.reply,payload:O}},decodeBroadcast(t,e,i){let n=e.getUint8(1),r=e.getUint8(2),o=this.HEADER_LENGTH+2,s=i.decode(t.slice(o,o+n));o=o+n;let a=i.decode(t.slice(o,o+r));o=o+r;let l=t.slice(o,t.byteLength);return{join_ref:null,ref:null,topic:s,event:a,payload:l}}},Ch=class{constructor(t,e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=e.timeout||OD,this.transport=e.transport||gs.WebSocket||dc,this.primaryPassedHealthCheck=!1,this.longPollFallbackMs=e.longPollFallbackMs,this.fallbackTimer=null,this.sessionStore=e.sessionStorage||gs&&gs.sessionStorage,this.establishedConnections=0,this.defaultEncoder=Eh.encode.bind(Eh),this.defaultDecoder=Eh.decode.bind(Eh),this.closeWasClean=!1,this.binaryType=e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==dc?(this.encode=e.encode||this.defaultEncoder,this.decode=e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let i=null;Oc&&Oc.addEventListener&&(Oc.addEventListener("pagehide",n=>{this.conn&&(this.disconnect(),i=this.connectClock)}),Oc.addEventListener("pageshow",n=>{i===this.connectClock&&(i=null,this.connect())})),this.heartbeatIntervalMs=e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=n=>e.rejoinAfterMs?e.rejoinAfterMs(n):[1e3,2e3,5e3][n-1]||1e4,this.reconnectAfterMs=n=>e.reconnectAfterMs?e.reconnectAfterMs(n):[10,50,100,150,200,250,500,1e3,2e3][n-1]||5e3,this.logger=e.logger||null,!this.logger&&e.debug&&(this.logger=(n,r,o)=>{console.log(`${n}: ${r}`,o)}),this.longpollerTimeout=e.longpollerTimeout||2e4,this.params=pc(e.params||{}),this.endPoint=`${t}/${Rg.websocket}`,this.vsn=e.vsn||dD,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new pS(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return dc}replaceTransport(t){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.conn&&(this.conn.close(),this.conn=null),this.transport=t}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let t=Ph.appendParams(Ph.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,i){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.teardown(t,e,i)}connect(t){t&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=pc(t)),!this.conn&&(this.longPollFallbackMs&&this.transport!==dc?this.connectWithFallback(dc,this.longPollFallbackMs):this.transportConnect())}log(t,e,i){this.logger&&this.logger(t,e,i)}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(),i=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:e});let n=this.onMessage(r=>{r.ref===e&&(this.off([n]),t(Date.now()-i))});return!0}transportConnect(){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=t=>this.onConnError(t),this.conn.onmessage=t=>this.onConnMessage(t),this.conn.onclose=t=>this.onConnClose(t)}getSession(t){return this.sessionStore&&this.sessionStore.getItem(t)}storeSession(t,e){this.sessionStore&&this.sessionStore.setItem(t,e)}connectWithFallback(t,e=2500){clearTimeout(this.fallbackTimer);let i=!1,n=!0,r,o,s=a=>{this.log("transport",`falling back to ${t.name}...`,a),this.off([r,o]),n=!1,this.replaceTransport(t),this.transportConnect()};if(this.getSession(`phx:fallback:${t.name}`))return s("memorized");this.fallbackTimer=setTimeout(s,e),o=this.onError(a=>{this.log("transport","error",a),n&&!i&&(clearTimeout(this.fallbackTimer),s(a))}),this.onOpen(()=>{if(i=!0,!n)return this.primaryPassedHealthCheck||this.storeSession(`phx:fallback:${t.name}`,"true"),this.log("transport",`established ${t.name} fallback`);clearTimeout(this.fallbackTimer),this.fallbackTimer=setTimeout(s,e),this.ping(a=>{this.log("transport","connected to primary after",a),this.primaryPassedHealthCheck=!0,clearTimeout(this.fallbackTimer)})}),this.transportConnect()}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`${this.transport.name} 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(),pD,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(t,e,i){if(!this.conn)return t&&t();this.waitForBufferDone(()=>{this.conn&&(e?this.conn.close(e,i||""):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===ir.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(([,i])=>i(t))}onConnError(t){this.hasLogger()&&this.log("transport",t);let e=this.transport,i=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,n])=>{n(t,e,i)}),(e===this.transport||i>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(Er.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case ir.connecting:return"connecting";case ir.open:return"open";case ir.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(t){this.off(t.stateChangeRefs),this.channels=this.channels.filter(e=>e!==t)}off(t){for(let e in this.stateChangeCallbacks)this.stateChangeCallbacks[e]=this.stateChangeCallbacks[e].filter(([i])=>t.indexOf(i)===-1)}channel(t,e={}){let i=new gD(t,e,this);return this.channels.push(i),i}push(t){if(this.hasLogger()){let{topic:e,event:i,payload:n,ref:r,join_ref:o}=t;this.log("push",`${e} ${i} (${o}, ${r})`,n)}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:i,event:n,payload:r,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",`${r.status||""} ${i} ${n} ${o&&"("+o+")"||""}`,r);for(let a=0;a<this.channels.length;a++){let l=this.channels[a];l.isMember(i,n,r,s)&&l.trigger(n,r,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(i=>i.topic===t&&(i.isJoined()||i.isJoining()));e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${t}"`),e.leave())}};var VS="consecutive-reloads",yD=10,xD=5e3,vD=1e4,wD=3e4,ZS=["phx-click-loading","phx-change-loading","phx-submit-loading","phx-keydown-loading","phx-keyup-loading","phx-blur-loading","phx-focus-loading","phx-hook-loading"],Cr="data-phx-component",Lg="data-phx-link",kD="track-static",SD="data-phx-link-state",Da="data-phx-ref-loading",pn="data-phx-ref-src",qt="data-phx-ref-lock",BS="track-uploads",Qr="data-phx-upload-ref",Bg="data-phx-preflighted-refs",TD="data-phx-done-refs",mS="drop-target",qg="data-phx-active-refs",Ih="phx:live-file:updated",YS="data-phx-skip",FS="data-phx-id",gS="data-phx-prune",bS="phx-connected",bs="phx-loading",Ra="phx-error",yS="phx-client-error",mc="phx-server-error",vs="data-phx-parent-id",Yg="data-phx-main",To="data-phx-root-id",jg="viewport-top",Wg="viewport-bottom",ED="trigger-action",zh="phx-has-focused",PD=["text","textarea","number","email","password","search","tel","url","date","time","datetime-local","color","range"],HS=["checkbox","radio"],Ec="phx-has-submitted",or="data-phx-session",ws=`[${or}]`,xS="data-phx-sticky",xs="data-phx-static",Vg="data-phx-readonly",Ia="data-phx-disabled",vS="disable-with",Uh="data-phx-disable-with-restore",gc="hook",CD="debounce",QD="throttle",Mh="update",Ig="stream",bc="data-phx-stream",_D="key",nr="phxPrivate",wS="auto-recover",Qh="phx:live-socket:debug",Dg="phx:live-socket:profiling",zg="phx:live-socket:latency-sim",_h="phx:nav-history-position",AD="progress",kS="mounted",SS="__phoenix_reload_status__",$D=1,TS=3,XD=200,RD="phx-",LD=3e4,yc="debounce-trigger",xc="throttled",ES="debounce-prev-key",ID={debounce:300,throttle:300},PS=[Da,pn,qt],Ah="d",rr="s",Ug="r",Pi="c",CS="e",QS="r",_S="t",DD="p",AS="stream",zD=class{constructor(t,e,i){let{chunk_size:n,chunk_timeout:r}=e;this.liveSocket=i,this.entry=t,this.offset=0,this.chunkSize=n,this.chunkTimeout=r,this.chunkTimer=null,this.errored=!1,this.uploadChannel=i.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=i=>{if(i.target.error===null)this.offset+=i.target.result.byteLength,this.pushChunk(i.target.result);else return Ui("Read error: "+i.target.error)},t.readAsArrayBuffer(e)}pushChunk(t){this.uploadChannel.isJoined()&&this.uploadChannel.push("chunk",t,this.chunkTimeout).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))}},Ui=(t,e)=>console.error&&console.error(t,e),Pr=t=>{let e=typeof t;return e==="number"||e==="string"&&/^(0|[1-9]\d*)$/.test(t)};function UD(){let t=new Set,e=document.querySelectorAll("*[id]");for(let i=0,n=e.length;i<n;i++)t.has(e[i].id)?console.error(`Multiple IDs detected: ${e[i].id}. Ensure unique element ids.`):t.add(e[i].id)}function MD(t){let e=new Set;Object.keys(t).forEach(i=>{let n=document.getElementById(i);n&&n.parentElement&&n.parentElement.getAttribute("phx-update")!=="stream"&&e.add(`The stream container with id "${n.parentElement.id}" is missing the phx-update="stream" attribute. Ensure it is set for streams to work properly.`)}),e.forEach(i=>console.error(i))}var ND=(t,e,i,n)=>{t.liveSocket.isDebugEnabled()&&console.log(`${t.id} ${e}: ${i} - `,n)},vc=t=>typeof t=="function"?t:function(){return t},Dh=t=>JSON.parse(JSON.stringify(t)),Tc=(t,e,i)=>{do{if(t.matches(`[${e}]`)&&!t.disabled)return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1&&!(i&&i.isSameNode(t)||t.matches(ws)));return null},La=t=>t!==null&&typeof t=="object"&&!(t instanceof Array),qD=(t,e)=>JSON.stringify(t)===JSON.stringify(e),$S=t=>{for(let e in t)return!1;return!0},So=(t,e)=>t&&e(t),jD=function(t,e,i,n){t.forEach(r=>{new zD(r,i.config,n).upload()})},WD={canPushState(){return typeof history.pushState!="undefined"},dropLocal(t,e,i){return t.removeItem(this.localKey(e,i))},updateLocal(t,e,i,n,r){let o=this.getLocal(t,e,i),s=this.localKey(e,i),a=o===null?n:r(o);return t.setItem(s,JSON.stringify(a)),a},getLocal(t,e,i){return JSON.parse(t.getItem(this.localKey(e,i)))},updateCurrentState(t){this.canPushState()&&history.replaceState(t(history.state||{}),"",window.location.href)},pushState(t,e,i){if(this.canPushState()){if(i!==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,"",i||null),window.requestAnimationFrame(()=>{let n=this.getHashTargetEl(window.location.hash);n?n.scrollIntoView():e.type==="redirect"&&window.scroll(0,0)})}}else this.redirect(i)},setCookie(t,e,i){let n=typeof i=="number"?` max-age=${i};`:"";document.cookie=`${t}=${e};${n} path=/`},getCookie(t){return document.cookie.replace(new RegExp(`(?:(?:^|.*;s*)${t}s*=s*([^;]*).*$)|^.*$`),"$1")},deleteCookie(t){document.cookie=`${t}=; max-age=-1; path=/`},redirect(t,e){e&&this.setCookie("__phoenix_flash__",e,60),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}"]`)}},zi=WD,ys={byId(t){return document.getElementById(t)||Ui(`no id found for ${t}`)},removeClass(t,e){t.classList.remove(e),t.classList.length===0&&t.removeAttribute("class")},all(t,e,i){if(!t)return[];let n=Array.from(t.querySelectorAll(e));return i?n.forEach(i):n},childNodeLength(t){let e=document.createElement("template");return e.innerHTML=t,e.content.childElementCount},isUploadInput(t){return t.type==="file"&&t.getAttribute(Qr)!==null},isAutoUpload(t){return t.hasAttribute("data-phx-auto-upload")},findUploadInputs(t){let e=t.id,i=this.all(document,`input[type="file"][${Qr}][form="${e}"]`);return this.all(t,`input[type="file"][${Qr}]`).concat(i)},findComponentNodeList(t,e){return this.filterWithinSameLiveView(this.all(t,`[${Cr}="${e}"]`),t)},isPhxDestroyed(t){return!!(t.id&&ys.private(t,"destroyed"))},wantsNewTab(t){let e=t.ctrlKey||t.shiftKey||t.metaKey||t.button&&t.button===1,i=t.target instanceof HTMLAnchorElement&&t.target.hasAttribute("download"),n=t.target.hasAttribute("target")&&t.target.getAttribute("target").toLowerCase()==="_blank",r=t.target.hasAttribute("target")&&!t.target.getAttribute("target").startsWith("_");return e||n||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 i=t.target instanceof HTMLAnchorElement?t.target.getAttribute("href"):null,n;if(t.defaultPrevented||i===null||this.wantsNewTab(t)||i.startsWith("mailto:")||i.startsWith("tel:")||t.target.isContentEditable)return!1;try{n=new URL(i)}catch(r){try{n=new URL(i,e)}catch(o){return!0}}return n.host===e.host&&n.protocol===e.protocol&&n.pathname===e.pathname&&n.search===e.search?n.hash===""&&!n.href.endsWith("#"):n.protocol.startsWith("http")},markPhxChildDestroyed(t){this.isPhxChild(t)&&t.setAttribute(or,""),this.putPrivate(t,"destroyed",!0)},findPhxChildrenInFragment(t,e){let i=document.createElement("template");return i.innerHTML=t,this.findPhxChildren(i.content,e)},isIgnored(t,e){return(t.getAttribute(e)||t.getAttribute("data-phx-update"))==="ignore"},isPhxUpdate(t,e,i){return t.getAttribute&&i.indexOf(t.getAttribute(e))>=0},findPhxSticky(t){return this.all(t,`[${xS}]`)},findPhxChildren(t,e){return this.all(t,`${ws}[${vs}="${e}"]`)},findExistingParentCIDs(t,e){let i=new Set,n=new Set;return e.forEach(r=>{this.filterWithinSameLiveView(this.all(t,`[${Cr}="${r}"]`),t).forEach(o=>{i.add(r),this.filterWithinSameLiveView(this.all(o,`[${Cr}]`),o).map(s=>parseInt(s.getAttribute(Cr))).forEach(s=>n.add(s))})}),n.forEach(r=>i.delete(r)),i},filterWithinSameLiveView(t,e){return e.querySelector(ws)?t.filter(i=>this.withinSameLiveView(i,e)):t},withinSameLiveView(t,e){for(;t=t.parentNode;){if(t.isSameNode(e))return!0;if(t.getAttribute(or)!==null)return!1}},private(t,e){return t[nr]&&t[nr][e]},deletePrivate(t,e){t[nr]&&delete t[nr][e]},putPrivate(t,e,i){t[nr]||(t[nr]={}),t[nr][e]=i},updatePrivate(t,e,i,n){let r=this.private(t,e);r===void 0?this.putPrivate(t,e,n(i)):this.putPrivate(t,e,n(r))},syncPendingAttrs(t,e){t.hasAttribute(pn)&&(ZS.forEach(i=>{t.classList.contains(i)&&e.classList.add(i)}),PS.filter(i=>t.hasAttribute(i)).forEach(i=>{e.setAttribute(i,t.getAttribute(i))}))},copyPrivates(t,e){e[nr]&&(t[nr]=e[nr])},putTitle(t){let e=document.querySelector("title");if(e){let{prefix:i,suffix:n,default:r}=e.dataset,o=typeof t!="string"||t.trim()==="";if(o&&typeof r!="string")return;let s=o?r:t;document.title=`${i||""}${s||""}${n||""}`}else document.title=t},debounce(t,e,i,n,r,o,s,a){let l=t.getAttribute(i),c=t.getAttribute(r);l===""&&(l=n),c===""&&(c=o);let u=l||c;switch(u){case null:return a();case"blur":this.once(t,"debounce-blur")&&t.addEventListener("blur",()=>{s()&&a()});return;default:let f=parseInt(u),d=()=>c?this.deletePrivate(t,xc):a(),O=this.incCycle(t,yc,d);if(isNaN(f))return Ui(`invalid throttle/debounce value: ${u}`);if(c){let x=!1;if(e.type==="keydown"){let v=this.private(t,ES);this.putPrivate(t,ES,e.key),x=v!==e.key}if(!x&&this.private(t,xc))return!1;{a();let v=setTimeout(()=>{s()&&this.triggerCycle(t,yc)},f);this.putPrivate(t,xc,v)}}else setTimeout(()=>{s()&&this.triggerCycle(t,yc,O)},f);let m=t.form;m&&this.once(m,"bind-debounce")&&m.addEventListener("submit",()=>{Array.from(new FormData(m).entries(),([x])=>{let v=m.querySelector(`[name="${x}"]`);this.incCycle(v,yc),this.deletePrivate(v,xc)})}),this.once(t,"bind-debounce")&&t.addEventListener("blur",()=>{clearTimeout(this.private(t,xc)),this.triggerCycle(t,yc)})}},triggerCycle(t,e,i){let[n,r]=this.private(t,e);i||(i=n),i===n&&(this.incCycle(t,e),r())},once(t,e){return this.private(t,e)===!0?!1:(this.putPrivate(t,e,!0),!0)},incCycle(t,e,i=function(){}){let[n]=this.private(t,e)||[0,i];return n++,this.putPrivate(t,e,[n,i]),n},maintainPrivateHooks(t,e,i,n){t.hasAttribute&&t.hasAttribute("data-phx-hook")&&!e.hasAttribute("data-phx-hook")&&e.setAttribute("data-phx-hook",t.getAttribute("data-phx-hook")),e.hasAttribute&&(e.hasAttribute(i)||e.hasAttribute(n))&&e.setAttribute("data-phx-hook","Phoenix.InfiniteScroll")},putCustomElHook(t,e){t.isConnected?t.setAttribute("data-phx-hook",""):console.error(`
hook attached to non-connected DOM element
ensure you are calling createHook within your connectedCallback. ${t.outerHTML}
`),this.putPrivate(t,"custom-el-hook",e)},getCustomElHook(t){return this.private(t,"custom-el-hook")},isUsedInput(t){return t.nodeType===Node.ELEMENT_NODE&&(this.private(t,zh)||this.private(t,Ec))},resetForm(t){Array.from(t.elements).forEach(e=>{this.deletePrivate(e,zh),this.deletePrivate(e,Ec)})},isPhxChild(t){return t.getAttribute&&t.getAttribute(vs)},isPhxSticky(t){return t.getAttribute&&t.getAttribute(xS)!==null},isChildOfAny(t,e){return!!e.find(i=>i.contains(t))},firstPhxChild(t){return this.isPhxChild(t)?t:this.all(t,`[${vs}]`)[0]},dispatchEvent(t,e,i={}){let n=!0;t.nodeName==="INPUT"&&t.type==="file"&&e==="click"&&(n=!1);let s={bubbles:i.bubbles===void 0?n:!!i.bubbles,cancelable:!0,detail:i.detail||{}},a=e==="click"?new MouseEvent("click",s):new CustomEvent(e,s);t.dispatchEvent(a)},cloneNode(t,e){if(typeof e=="undefined")return t.cloneNode(!0);{let i=t.cloneNode(!1);return i.innerHTML=e,i}},mergeAttrs(t,e,i={}){let n=new Set(i.exclude||[]),r=i.isIgnored,o=e.attributes;for(let a=o.length-1;a>=0;a--){let l=o[a].name;if(n.has(l))l==="value"&&t.value===e.value&&t.setAttribute("value",e.getAttribute(l));else{let c=e.getAttribute(l);t.getAttribute(l)!==c&&(!r||r&&l.startsWith("data-"))&&t.setAttribute(l,c)}}let s=t.attributes;for(let a=s.length-1;a>=0;a--){let l=s[a].name;r?l.startsWith("data-")&&!e.hasAttribute(l)&&!PS.includes(l)&&t.removeAttribute(l):e.hasAttribute(l)||t.removeAttribute(l)}},mergeFocusedInput(t,e){t instanceof HTMLSelectElement||ys.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,i){if(t instanceof HTMLSelectElement&&t.focus(),!ys.isTextualInput(t))return;t.matches(":focus")||t.focus(),this.hasSelectionRange(t)&&t.setSelectionRange(e,i)},isFormInput(t){return/^(?:input|select|textarea)$/i.test(t.tagName)&&t.type!=="button"},syncAttrsToProps(t){t instanceof HTMLInputElement&&HS.indexOf(t.type.toLocaleLowerCase())>=0&&(t.checked=t.getAttribute("checked")!==null)},isTextualInput(t){return PD.indexOf(t.type)>=0},isNowTriggerFormExternal(t,e){return t.getAttribute&&t.getAttribute(e)!==null&&document.body.contains(t)},cleanChildNodes(t,e){if(ys.isPhxUpdate(t,e,["append","prepend"])){let i=[];t.childNodes.forEach(n=>{n.id||(!(n.nodeType===Node.TEXT_NODE&&n.nodeValue.trim()==="")&&n.nodeType!==Node.COMMENT_NODE&&Ui(`only HTML element tags with an id are allowed inside containers with phx-update.
removing illegal node: "${(n.outerHTML||n.nodeValue).trim()}"
`),i.push(n))}),i.forEach(n=>n.remove())}},replaceRootContainer(t,e,i){let n=new Set(["id",or,xs,Yg,To]);if(t.tagName.toLowerCase()===e.toLowerCase())return Array.from(t.attributes).filter(r=>!n.has(r.name.toLowerCase())).forEach(r=>t.removeAttribute(r.name)),Object.keys(i).filter(r=>!n.has(r.toLowerCase())).forEach(r=>t.setAttribute(r,i[r])),t;{let r=document.createElement(e);return Object.keys(i).forEach(o=>r.setAttribute(o,i[o])),n.forEach(o=>r.setAttribute(o,t.getAttribute(o))),r.innerHTML=t.innerHTML,t.replaceWith(r),r}},getSticky(t,e,i){let n=(ys.private(t,"sticky")||[]).find(([r])=>e===r);if(n){let[r,o,s]=n;return s}else return typeof i=="function"?i():i},deleteSticky(t,e){this.updatePrivate(t,"sticky",[],i=>i.filter(([n,r])=>n!==e))},putSticky(t,e,i){let n=i(t);this.updatePrivate(t,"sticky",[],r=>{let o=r.findIndex(([s])=>e===s);return o>=0?r[o]=[e,i,n]:r.push([e,i,n]),r})},applyStickyOperations(t){let e=ys.private(t,"sticky");e&&e.forEach(([i,n,r])=>this.putSticky(t,i,n))},isLocked(t){return t.hasAttribute&&t.hasAttribute(qt)}},G=ys,wc=class{static isActive(t,e){let i=e._phxRef===void 0,r=t.getAttribute(qg).split(",").indexOf(Jt.genFileRef(e))>=0;return e.size>0&&(i||r)}static isPreflighted(t,e){return t.getAttribute(Bg).split(",").indexOf(Jt.genFileRef(e))>=0&&this.isActive(t,e)}static isPreflightInProgress(t){return t._preflightInProgress===!0}static markPreflightInProgress(t){t._preflightInProgress=!0}constructor(t,e,i,n){this.ref=Jt.genFileRef(e),this.fileEl=t,this.file=e,this.view=i,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(Ih,this._onElUpdated),this.autoUpload=n}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,()=>{Jt.untrackFile(this.fileEl,this.file),this._onDone()})):(this._lastProgressSent=this._progress,this.view.pushFileProgress(this.fileEl,this.ref,this._progress)))}isCancelled(){return this._isCancelled}cancel(){this.file._preflightInProgress=!1,this._isCancelled=!0,this._isDone=!0,this._onDone()}isDone(){return this._isDone}error(t="failed"){this.fileEl.removeEventListener(Ih,this._onElUpdated),this.view.pushFileProgress(this.fileEl,this.ref,{error:t}),this.isAutoUpload()||Jt.clearFiles(this.fileEl)}isAutoUpload(){return this.autoUpload}onDone(t){this._onDone=()=>{this.fileEl.removeEventListener(Ih,this._onElUpdated),t()}}onElUpdated(){this.fileEl.getAttribute(qg).split(",").indexOf(this.ref)===-1&&(Jt.untrackFile(this.fileEl,this.file),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]||Ui(`no uploader configured for ${this.meta.uploader}`);return{name:this.meta.uploader,callback:e}}else return{name:"channel",callback:jD}}zipPostFlight(t){this.meta=t.entries[this.ref],this.meta||Ui(`no preflight upload response returned with ref ${this.ref}`,{input:this.fileEl,response:t})}},VD=0,Jt=class Zg{static genFileRef(e){let i=e._phxRef;return i!==void 0?i:(e._phxRef=(VD++).toString(),e._phxRef)}static getEntryDataURL(e,i,n){let r=this.activeFiles(e).find(o=>this.genFileRef(o)===i);n(URL.createObjectURL(r))}static hasUploadsInProgress(e){let i=0;return G.findUploadInputs(e).forEach(n=>{n.getAttribute(Bg)!==n.getAttribute(TD)&&i++}),i>0}static serializeUploads(e){let i=this.activeFiles(e),n={};return i.forEach(r=>{let o={path:e.name},s=e.getAttribute(Qr);n[s]=n[s]||[],o.ref=this.genFileRef(r),o.last_modified=r.lastModified,o.name=r.name||o.ref,o.relative_path=r.webkitRelativePath,o.type=r.type,o.size=r.size,typeof r.meta=="function"&&(o.meta=r.meta()),n[s].push(o)}),n}static clearFiles(e){e.value=null,e.removeAttribute(Qr),G.putPrivate(e,"files",[])}static untrackFile(e,i){G.putPrivate(e,"files",G.private(e,"files").filter(n=>!Object.is(n,i)))}static trackFiles(e,i,n){if(e.getAttribute("multiple")!==null){let r=i.filter(o=>!this.activeFiles(e).find(s=>Object.is(s,o)));G.updatePrivate(e,"files",[],o=>o.concat(r)),e.value=null}else n&&n.files.length>0&&(e.files=n.files),G.putPrivate(e,"files",i)}static activeFileInputs(e){let i=G.findUploadInputs(e);return Array.from(i).filter(n=>n.files&&this.activeFiles(n).length>0)}static activeFiles(e){return(G.private(e,"files")||[]).filter(i=>wc.isActive(e,i))}static inputsAwaitingPreflight(e){let i=G.findUploadInputs(e);return Array.from(i).filter(n=>this.filesAwaitingPreflight(n).length>0)}static filesAwaitingPreflight(e){return this.activeFiles(e).filter(i=>!wc.isPreflighted(e,i)&&!wc.isPreflightInProgress(i))}static markPreflightInProgress(e){e.forEach(i=>wc.markPreflightInProgress(i.file))}constructor(e,i,n){this.autoUpload=G.isAutoUpload(e),this.view=i,this.onComplete=n,this._entries=Array.from(Zg.filesAwaitingPreflight(e)||[]).map(r=>new wc(e,r,i,this.autoUpload)),Zg.markPreflightInProgress(this._entries),this.numEntriesInProgress=this._entries.length}isAutoUpload(){return this.autoUpload}entries(){return this._entries}initAdapterUpload(e,i,n){this._entries=this._entries.map(o=>(o.isCancelled()?(this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()):(o.zipPostFlight(e),o.onDone(()=>{this.numEntriesInProgress--,this.numEntriesInProgress===0&&this.onComplete()})),o));let r=this._entries.reduce((o,s)=>{if(!s.meta)return o;let{name:a,callback:l}=s.uploader(n.uploaders);return o[a]=o[a]||{callback:l,entries:[]},o[a].entries.push(s),o},{});for(let o in r){let{callback:s,entries:a}=r[o];s(a,i,e,n)}}},ZD={anyOf(t,e){return e.find(i=>t instanceof i)},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(i){}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}}},Ji=ZD,GS={LiveFileUpload:{activeRefs(){return this.el.getAttribute(qg)},preflightedRefs(){return this.el.getAttribute(Bg)},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(Ih))}},LiveImgPreview:{mounted(){this.ref=this.el.getAttribute("data-phx-entry-ref"),this.inputEl=document.getElementById(this.el.getAttribute(Qr)),Jt.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",t=>{if(!t.relatedTarget||!this.el.contains(t.relatedTarget)){let e=t.target.nextElementSibling;Ji.attemptFocus(e)||Ji.focusFirst(e)}else Ji.focusLast(this.el)}),this.focusEnd.addEventListener("focus",t=>{if(!t.relatedTarget||!this.el.contains(t.relatedTarget)){let e=t.target.previousElementSibling;Ji.attemptFocus(e)||Ji.focusLast(e)}else Ji.focusFirst(this.el)}),this.el.addEventListener("phx:show-end",()=>this.el.focus()),window.getComputedStyle(this.el).display!=="none"&&Ji.focusFirst(this.el)}}},KS=t=>["HTML","BODY"].indexOf(t.nodeName.toUpperCase())>=0?null:["scroll","auto"].indexOf(getComputedStyle(t).overflowY)>=0?t:KS(t.parentElement),XS=t=>t?t.scrollTop:document.documentElement.scrollTop||document.body.scrollTop,Fg=t=>t?t.getBoundingClientRect().bottom:window.innerHeight||document.documentElement.clientHeight,Hg=t=>t?t.getBoundingClientRect().top:0,BD=(t,e)=>{let i=t.getBoundingClientRect();return Math.ceil(i.top)>=Hg(e)&&Math.ceil(i.left)>=0&&Math.floor(i.top)<=Fg(e)},YD=(t,e)=>{let i=t.getBoundingClientRect();return Math.ceil(i.bottom)>=Hg(e)&&Math.ceil(i.left)>=0&&Math.floor(i.bottom)<=Fg(e)},RS=(t,e)=>{let i=t.getBoundingClientRect();return Math.ceil(i.top)>=Hg(e)&&Math.ceil(i.left)>=0&&Math.floor(i.top)<=Fg(e)};GS.InfiniteScroll={mounted(){this.scrollContainer=KS(this.el);let t=XS(this.scrollContainer),e=!1,i=500,n=null,r=this.throttle(i,(a,l)=>{n=()=>!0,this.liveSocket.execJSHookPush(this.el,a,{id:l.id,_overran:!0},()=>{n=null})}),o=this.throttle(i,(a,l)=>{n=()=>l.scrollIntoView({block:"start"}),this.liveSocket.execJSHookPush(this.el,a,{id:l.id},()=>{n=null,window.requestAnimationFrame(()=>{RS(l,this.scrollContainer)||l.scrollIntoView({block:"start"})})})}),s=this.throttle(i,(a,l)=>{n=()=>l.scrollIntoView({block:"end"}),this.liveSocket.execJSHookPush(this.el,a,{id:l.id},()=>{n=null,window.requestAnimationFrame(()=>{RS(l,this.scrollContainer)||l.scrollIntoView({block:"end"})})})});this.onScroll=a=>{let l=XS(this.scrollContainer);if(n)return t=l,n();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,O=this.el.firstElementChild,m=l<t,x=l>t;m&&u&&!e&&c.top>=0?(e=!0,r(u,O)):x&&e&&c.top<=0&&(e=!1),u&&m&&BD(O,this.scrollContainer)?o(u,O):f&&x&&YD(d,this.scrollContainer)&&s(f,d),t=l},this.scrollContainer?this.scrollContainer.addEventListener("scroll",this.onScroll):window.addEventListener("scroll",this.onScroll)},destroyed(){this.scrollContainer?this.scrollContainer.removeEventListener("scroll",this.onScroll):window.removeEventListener("scroll",this.onScroll)},throttle(t,e){let i=0,n;return(...r)=>{let o=Date.now(),s=t-(o-i);s<=0||s>t?(n&&(clearTimeout(n),n=null),i=o,e(...r)):n||(n=setTimeout(()=>{i=Date.now(),n=null,e(...r)},s))}}};var FD=GS,LS=class{static onUnlock(t,e){if(!G.isLocked(t)&&!t.closest(`[${qt}]`))return e();let i=t.closest(`[${qt}]`),n=i.closest(`[${qt}]`).getAttribute(qt);i.addEventListener(`phx:undo-lock:${n}`,()=>{e()},{once:!0})}constructor(t){this.el=t,this.loadingRef=t.hasAttribute(Da)?parseInt(t.getAttribute(Da),10):null,this.lockRef=t.hasAttribute(qt)?parseInt(t.getAttribute(qt),10):null}maybeUndo(t,e,i){this.isWithin(t)&&(this.undoLocks(t,e,i),this.undoLoading(t,e),this.isFullyResolvedBy(t)&&this.el.removeAttribute(pn))}isWithin(t){return!(this.loadingRef!==null&&this.loadingRef>t&&this.lockRef!==null&&this.lockRef>t)}undoLocks(t,e,i){if(!this.isLockUndoneBy(t))return;let n=G.private(this.el,qt);n&&(i(n),G.deletePrivate(this.el,qt)),this.el.removeAttribute(qt);let r={detail:{ref:t,event:e},bubbles:!0,cancelable:!1};this.el.dispatchEvent(new CustomEvent(`phx:undo-lock:${this.lockRef}`,r))}undoLoading(t,e){if(!this.isLoadingUndoneBy(t)){this.canUndoLoading(t)&&this.el.classList.contains("phx-submit-loading")&&this.el.classList.remove("phx-change-loading");return}if(this.canUndoLoading(t)){this.el.removeAttribute(Da);let i=this.el.getAttribute(Ia),n=this.el.getAttribute(Vg);n!==null&&(this.el.readOnly=n==="true",this.el.removeAttribute(Vg)),i!==null&&(this.el.disabled=i==="true",this.el.removeAttribute(Ia));let r=this.el.getAttribute(Uh);r!==null&&(this.el.innerText=r,this.el.removeAttribute(Uh));let o={detail:{ref:t,event:e},bubbles:!0,cancelable:!1};this.el.dispatchEvent(new CustomEvent(`phx:undo-loading:${this.loadingRef}`,o))}ZS.forEach(i=>{(i!=="phx-submit-loading"||this.canUndoLoading(t))&&G.removeClass(this.el,i)})}isLoadingUndoneBy(t){return this.loadingRef===null?!1:this.loadingRef<=t}isLockUndoneBy(t){return this.lockRef===null?!1:this.lockRef<=t}isFullyResolvedBy(t){return(this.loadingRef===null||this.loadingRef<=t)&&(this.lockRef===null||this.lockRef<=t)}canUndoLoading(t){return this.lockRef===null||this.lockRef<=t}},HD=class{constructor(t,e,i){let n=new Set,r=new Set([...e.children].map(s=>s.id)),o=[];Array.from(t.children).forEach(s=>{if(s.id&&(n.add(s.id),r.has(s.id))){let a=s.previousElementSibling&&s.previousElementSibling.id;o.push({elementId:s.id,previousElementId:a})}}),this.containerId=e.id,this.updateType=i,this.elementsToModify=o,this.elementIdsToAdd=[...r].filter(s=>!n.has(s))}perform(){let t=G.byId(this.containerId);this.elementsToModify.forEach(e=>{e.previousElementId?So(document.getElementById(e.previousElementId),i=>{So(document.getElementById(e.elementId),n=>{n.previousElementSibling&&n.previousElementSibling.id==i.id||i.insertAdjacentElement("afterend",n)})}):So(document.getElementById(e.elementId),i=>{i.previousElementSibling==null||t.insertAdjacentElement("afterbegin",i)})}),this.updateType=="prepend"&&this.elementIdsToAdd.reverse().forEach(e=>{So(document.getElementById(e),i=>t.insertAdjacentElement("afterbegin",i))})}},IS=11;function GD(t,e){var i=e.attributes,n,r,o,s,a;if(!(e.nodeType===IS||t.nodeType===IS)){for(var l=i.length-1;l>=0;l--)n=i[l],r=n.name,o=n.namespaceURI,s=n.value,o?(r=n.localName||r,a=t.getAttributeNS(o,r),a!==s&&(n.prefix==="xmlns"&&(r=n.name),t.setAttributeNS(o,r,s))):(a=t.getAttribute(r),a!==s&&t.setAttribute(r,s));for(var c=t.attributes,u=c.length-1;u>=0;u--)n=c[u],r=n.name,o=n.namespaceURI,o?(r=n.localName||r,e.hasAttributeNS(o,r)||t.removeAttributeNS(o,r)):e.hasAttribute(r)||t.removeAttribute(r)}}var $h,KD="http://www.w3.org/1999/xhtml",Mi=typeof document=="undefined"?void 0:document,JD=!!Mi&&"content"in Mi.createElement("template"),e8=!!Mi&&Mi.createRange&&"createContextualFragment"in Mi.createRange();function t8(t){var e=Mi.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function i8(t){$h||($h=Mi.createRange(),$h.selectNode(Mi.body));var e=$h.createContextualFragment(t);return e.childNodes[0]}function n8(t){var e=Mi.createElement("body");return e.innerHTML=t,e.childNodes[0]}function r8(t){return t=t.trim(),JD?t8(t):e8?i8(t):n8(t)}function Xh(t,e){var i=t.nodeName,n=e.nodeName,r,o;return i===n?!0:(r=i.charCodeAt(0),o=n.charCodeAt(0),r<=90&&o>=97?i===n.toUpperCase():o<=90&&r>=97?n===i.toUpperCase():!1)}function o8(t,e){return!e||e===KD?Mi.createElement(t):Mi.createElementNS(e,t)}function s8(t,e){for(var i=t.firstChild;i;){var n=i.nextSibling;e.appendChild(i),i=n}return e}function Mg(t,e,i){t[i]!==e[i]&&(t[i]=e[i],t[i]?t.setAttribute(i,""):t.removeAttribute(i))}var DS={OPTION:function(t,e){var i=t.parentNode;if(i){var n=i.nodeName.toUpperCase();n==="OPTGROUP"&&(i=i.parentNode,n=i&&i.nodeName.toUpperCase()),n==="SELECT"&&!i.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),i.selectedIndex=-1)}Mg(t,e,"selected")},INPUT:function(t,e){Mg(t,e,"checked"),Mg(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var i=e.value;t.value!==i&&(t.value=i);var n=t.firstChild;if(n){var r=n.nodeValue;if(r==i||!i&&r==t.placeholder)return;n.nodeValue=i}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var i=-1,n=0,r=t.firstChild,o,s;r;)if(s=r.nodeName&&r.nodeName.toUpperCase(),s==="OPTGROUP")o=r,r=o.firstChild;else{if(s==="OPTION"){if(r.hasAttribute("selected")){i=n;break}n++}r=r.nextSibling,!r&&o&&(r=o.nextSibling,o=null)}t.selectedIndex=i}}},kc=1,zS=11,US=3,MS=8;function ko(){}function a8(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function l8(t){return function(i,n,r){if(r||(r={}),typeof n=="string")if(i.nodeName==="#document"||i.nodeName==="HTML"||i.nodeName==="BODY"){var o=n;n=Mi.createElement("html"),n.innerHTML=o}else n=r8(n);else n.nodeType===zS&&(n=n.firstElementChild);var s=r.getNodeKey||a8,a=r.onBeforeNodeAdded||ko,l=r.onNodeAdded||ko,c=r.onBeforeElUpdated||ko,u=r.onElUpdated||ko,f=r.onBeforeNodeDiscarded||ko,d=r.onNodeDiscarded||ko,O=r.onBeforeElChildrenUpdated||ko,m=r.skipFromChildren||ko,x=r.addChild||function(j,ue){return j.appendChild(ue)},v=r.childrenOnly===!0,w=Object.create(null),T=[];function A(j){T.push(j)}function L(j,ue){if(j.nodeType===kc)for(var Z=j.firstChild;Z;){var C=void 0;ue&&(C=s(Z))?A(C):(d(Z),Z.firstChild&&L(Z,ue)),Z=Z.nextSibling}}function D(j,ue,Z){f(j)!==!1&&(ue&&ue.removeChild(j),d(j),L(j,Z))}function P(j){if(j.nodeType===kc||j.nodeType===zS)for(var ue=j.firstChild;ue;){var Z=s(ue);Z&&(w[Z]=ue),P(ue),ue=ue.nextSibling}}P(i);function N(j){l(j);for(var ue=j.firstChild;ue;){var Z=ue.nextSibling,C=s(ue);if(C){var W=w[C];W&&Xh(ue,W)?(ue.parentNode.replaceChild(W,ue),H(W,ue)):N(ue)}else N(ue);ue=Z}}function le(j,ue,Z){for(;ue;){var C=ue.nextSibling;(Z=s(ue))?A(Z):D(ue,j,!0),ue=C}}function H(j,ue,Z){var C=s(ue);if(C&&delete w[C],!Z){var W=c(j,ue);if(W===!1||(W instanceof HTMLElement&&(j=W,P(j)),t(j,ue),u(j),O(j,ue)===!1))return}j.nodeName!=="TEXTAREA"?M(j,ue):DS.TEXTAREA(j,ue)}function M(j,ue){var Z=m(j,ue),C=ue.firstChild,W=j.firstChild,oe,I,Ne,We,Ve;e:for(;C;){for(We=C.nextSibling,oe=s(C);!Z&&W;){if(Ne=W.nextSibling,C.isSameNode&&C.isSameNode(W)){C=We,W=Ne;continue e}I=s(W);var Et=W.nodeType,Xe=void 0;if(Et===C.nodeType&&(Et===kc?(oe?oe!==I&&((Ve=w[oe])?Ne===Ve?Xe=!1:(j.insertBefore(Ve,W),I?A(I):D(W,j,!0),W=Ve,I=s(W)):Xe=!1):I&&(Xe=!1),Xe=Xe!==!1&&Xh(W,C),Xe&&H(W,C)):(Et===US||Et==MS)&&(Xe=!0,W.nodeValue!==C.nodeValue&&(W.nodeValue=C.nodeValue))),Xe){C=We,W=Ne;continue e}I?A(I):D(W,j,!0),W=Ne}if(oe&&(Ve=w[oe])&&Xh(Ve,C))Z||x(j,Ve),H(Ve,C);else{var Rt=a(C);Rt!==!1&&(Rt&&(C=Rt),C.actualize&&(C=C.actualize(j.ownerDocument||Mi)),x(j,C),N(C))}C=We,W=Ne}le(j,W,I);var Lt=DS[j.nodeName];Lt&&Lt(j,ue)}var ie=i,ne=ie.nodeType,re=n.nodeType;if(!v){if(ne===kc)re===kc?Xh(i,n)||(d(i),ie=s8(i,o8(n.nodeName,n.namespaceURI))):ie=n;else if(ne===US||ne===MS){if(re===ne)return ie.nodeValue!==n.nodeValue&&(ie.nodeValue=n.nodeValue),ie;ie=n}}if(ie===n)d(i);else{if(n.isSameNode&&n.isSameNode(ie))return;if(H(ie,n,v),T)for(var de=0,pe=T.length;de<pe;de++){var ve=w[T[de]];ve&&D(ve,ve.parentNode,!1)}}return!v&&ie!==i&&i.parentNode&&(ie.actualize&&(ie=ie.actualize(i.ownerDocument||Mi)),i.parentNode.replaceChild(ie,i)),ie}}var c8=l8(GD),u8=c8,Rh=class{constructor(t,e,i,n,r,o,s={}){this.view=t,this.liveSocket=t.liveSocket,this.container=e,this.id=i,this.rootID=t.root.id,this.html=n,this.streams=r,this.streamInserts={},this.streamComponentRestore={},this.targetCID=o,this.cidPatch=Pr(this.targetCID),this.pendingRemoves=[],this.phxRemove=this.liveSocket.binding("remove"),this.targetContainer=this.isCIDPatch()?this.targetCIDContainer(n):e,this.callbacks={beforeadded:[],beforeupdated:[],beforephxChildAdded:[],afteradded:[],afterupdated:[],afterdiscarded:[],afterphxChildAdded:[],aftertransitionsDiscarded:[]},this.withChildren=s.withChildren||s.undoRef||!1,this.undoRef=s.undoRef}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(i=>i(...e))}trackAfter(t,...e){this.callbacks[`after${t}`].forEach(i=>i(...e))}markPrunableContentForRemoval(){let t=this.liveSocket.binding(Mh);G.all(this.container,`[${t}=append] > *, [${t}=prepend] > *`,e=>{e.setAttribute(gS,"")})}perform(t){let{view:e,liveSocket:i,html:n,container:r,targetContainer:o}=this;if(this.isCIDPatch()&&!o)return;let s=i.getActiveElement(),{selectionStart:a,selectionEnd:l}=s&&G.hasSelectionRange(s)?s:{},c=i.binding(Mh),u=i.binding(jg),f=i.binding(Wg),d=i.binding(ED),O=[],m=[],x=[],v=null;function w(T,A,L=this.withChildren){let D={childrenOnly:T.getAttribute(Cr)===null&&!L,getNodeKey:P=>G.isPhxDestroyed(P)?null:t?P.id:P.id||P.getAttribute&&P.getAttribute(FS),skipFromChildren:P=>P.getAttribute(c)===Ig,addChild:(P,N)=>{let{ref:le,streamAt:H}=this.getStreamInsert(N);if(le===void 0)return P.appendChild(N);if(this.setStreamRef(N,le),H===0)P.insertAdjacentElement("afterbegin",N);else if(H===-1){let M=P.lastElementChild;if(M&&!M.hasAttribute(bc)){let ie=Array.from(P.children).find(ne=>!ne.hasAttribute(bc));P.insertBefore(N,ie)}else P.appendChild(N)}else if(H>0){let M=Array.from(P.children)[H];P.insertBefore(N,M)}},onBeforeNodeAdded:P=>{G.maintainPrivateHooks(P,P,u,f),this.trackBefore("added",P);let N=P;return this.streamComponentRestore[P.id]&&(N=this.streamComponentRestore[P.id],delete this.streamComponentRestore[P.id],w.call(this,N,P,!0)),N},onNodeAdded:P=>{P.getAttribute&&this.maybeReOrderStream(P,!0),P instanceof HTMLImageElement&&P.srcset?P.srcset=P.srcset:P instanceof HTMLVideoElement&&P.autoplay&&P.play(),G.isNowTriggerFormExternal(P,d)&&(v=P),(G.isPhxChild(P)&&e.ownsElement(P)||G.isPhxSticky(P)&&e.ownsElement(P.parentNode))&&this.trackAfter("phxChildAdded",P),O.push(P)},onNodeDiscarded:P=>this.onNodeDiscarded(P),onBeforeNodeDiscarded:P=>P.getAttribute&&P.getAttribute(gS)!==null?!0:!(P.parentElement!==null&&P.id&&G.isPhxUpdate(P.parentElement,c,[Ig,"append","prepend"])||this.maybePendingRemove(P)||this.skipCIDSibling(P)),onElUpdated:P=>{G.isNowTriggerFormExternal(P,d)&&(v=P),m.push(P),this.maybeReOrderStream(P,!1)},onBeforeElUpdated:(P,N)=>{if(P.id&&P.isSameNode(T)&&P.id!==N.id)return D.onNodeDiscarded(P),P.replaceWith(N),D.onNodeAdded(N);if(G.syncPendingAttrs(P,N),G.maintainPrivateHooks(P,N,u,f),G.cleanChildNodes(N,c),this.skipCIDSibling(N))return this.maybeReOrderStream(P),!1;if(G.isPhxSticky(P))return[or,xs,To].map(M=>[M,P.getAttribute(M),N.getAttribute(M)]).forEach(([M,ie,ne])=>{ne&&ie!==ne&&P.setAttribute(M,ne)}),!1;if(G.isIgnored(P,c)||P.form&&P.form.isSameNode(v))return this.trackBefore("updated",P,N),G.mergeAttrs(P,N,{isIgnored:G.isIgnored(P,c)}),m.push(P),G.applyStickyOperations(P),!1;if(P.type==="number"&&P.validity&&P.validity.badInput)return!1;let le=s&&P.isSameNode(s)&&G.isFormInput(P),H=le&&this.isChangedSelect(P,N);if(P.hasAttribute(pn)&&P.getAttribute(qt)!=this.undoRef){G.isUploadInput(P)&&(G.mergeAttrs(P,N,{isIgnored:!0}),this.trackBefore("updated",P,N),m.push(P)),G.applyStickyOperations(P);let ie=P.hasAttribute(qt)?G.private(P,qt)||P.cloneNode(!0):null;ie&&(G.putPrivate(P,qt,ie),le||(P=ie))}if(G.isPhxChild(N)){let M=P.getAttribute(or);return G.mergeAttrs(P,N,{exclude:[xs]}),M!==""&&P.setAttribute(or,M),P.setAttribute(To,this.rootID),G.applyStickyOperations(P),!1}return this.undoRef&&G.private(N,qt)&&G.putPrivate(P,qt,G.private(N,qt)),G.copyPrivates(N,P),le&&P.type!=="hidden"&&!H?(this.trackBefore("updated",P,N),G.mergeFocusedInput(P,N),G.syncAttrsToProps(P),m.push(P),G.applyStickyOperations(P),!1):(H&&P.blur(),G.isPhxUpdate(N,c,["append","prepend"])&&x.push(new HD(P,N,N.getAttribute(c))),G.syncAttrsToProps(N),G.applyStickyOperations(N),this.trackBefore("updated",P,N),P)}};u8(T,A,D)}return this.trackBefore("added",r),this.trackBefore("updated",r,r),i.time("morphdom",()=>{this.streams.forEach(([T,A,L,D])=>{A.forEach(([P,N,le])=>{this.streamInserts[P]={ref:T,streamAt:N,limit:le,reset:D}}),D!==void 0&&G.all(r,`[${bc}="${T}"]`,P=>{this.removeStreamChildElement(P)}),L.forEach(P=>{let N=r.querySelector(`[id="${P}"]`);N&&this.removeStreamChildElement(N)})}),t&&G.all(this.container,`[${c}=${Ig}]`,T=>{Array.from(T.children).forEach(A=>{this.removeStreamChildElement(A)})}),w.call(this,o,n)}),i.isDebugEnabled()&&(UD(),MD(this.streamInserts),Array.from(document.querySelectorAll("input[name=id]")).forEach(T=>{T.form&&console.error(`Detected an input with name="id" inside a form! This will cause problems when patching the DOM.
`,T)})),x.length>0&&i.time("post-morph append/prepend restoration",()=>{x.forEach(T=>T.perform())}),i.silenceEvents(()=>G.restoreFocus(s,a,l)),G.dispatchEvent(document,"phx:update"),O.forEach(T=>this.trackAfter("added",T)),m.forEach(T=>this.trackAfter("updated",T)),this.transitionPendingRemoves(),v&&(i.unload(),Object.getPrototypeOf(v).submit.call(v)),!0}onNodeDiscarded(t){(G.isPhxChild(t)||G.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.view.ownsElement(t)&&(this.streamInserts[t.id]?(this.streamComponentRestore[t.id]=t,t.remove()):this.maybePendingRemove(t)||(t.remove(),this.onNodeDiscarded(t)))}getStreamInsert(t){return(t.id?this.streamInserts[t.id]:{})||{}}setStreamRef(t,e){G.putSticky(t,bc,i=>i.setAttribute(bc,e))}maybeReOrderStream(t,e){let{ref:i,streamAt:n,reset:r}=this.getStreamInsert(t);if(n!==void 0&&(this.setStreamRef(t,i),!(!r&&!e)&&t.parentElement)){if(n===0)t.parentElement.insertBefore(t,t.parentElement.firstElementChild);else if(n>0){let o=Array.from(t.parentElement.children),s=o.indexOf(t);if(n>=o.length-1)t.parentElement.appendChild(t);else{let a=o[n];s>n?t.parentElement.insertBefore(t,a):t.parentElement.insertBefore(t,a.nextElementSibling)}}this.maybeLimitStream(t)}}maybeLimitStream(t){let{limit:e}=this.getStreamInsert(t),i=e!==null&&Array.from(t.parentElement.children);e&&e<0&&i.length>e*-1?i.slice(0,i.length+e).forEach(n=>this.removeStreamChildElement(n)):e&&e>=0&&i.length>e&&i.slice(e).forEach(n=>this.removeStreamChildElement(n))}transitionPendingRemoves(){let{pendingRemoves:t,liveSocket:e}=this;t.length>0&&e.transitionRemoves(t,()=>{t.forEach(i=>{let n=G.firstPhxChild(i);n&&e.destroyViewByEl(n),i.remove()}),this.trackAfter("transitionsDiscarded",t)})}isChangedSelect(t,e){return!(t instanceof HTMLSelectElement)||t.multiple?!1:t.options.length!==e.options.length?!0:(e.value=t.value,!t.isEqualNode(e))}isCIDPatch(){return this.cidPatch}skipCIDSibling(t){return t.nodeType===Node.ELEMENT_NODE&&t.hasAttribute(YS)}targetCIDContainer(t){if(!this.isCIDPatch())return;let[e,...i]=G.findComponentNodeList(this.container,this.targetCID);return i.length===0&&G.childNodeLength(t)===1?e:e&&e.parentNode}indexOf(t,e){return Array.from(t.children).indexOf(e)}},f8=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),h8=new Set(["'",'"']),NS=(t,e,i)=>{let n=0,r=!1,o,s,a,l,c,u,f=t.match(/^(\s*(?:<!--.*?-->\s*)*)<([^\s\/>]+)/);if(f===null)throw new Error(`malformed html ${t}`);for(n=f[0].length,o=f[1],a=f[2],l=n,n;n<t.length&&t.charAt(n)!==">";n++)if(t.charAt(n)==="="){let m=t.slice(n-3,n)===" id";n++;let x=t.charAt(n);if(h8.has(x)){let v=n;for(n++,n;n<t.length&&t.charAt(n)!==x;n++);if(m){c=t.slice(v+1,n);break}}}let d=t.length-1;for(r=!1;d>=o.length+a.length;){let m=t.charAt(d);if(r)m==="-"&&t.slice(d-3,d)==="<!-"?(r=!1,d-=4):d-=1;else if(m===">"&&t.slice(d-2,d)==="--")r=!0,d-=3;else{if(m===">")break;d-=1}}s=t.slice(d+1,t.length);let O=Object.keys(e).map(m=>e[m]===!0?m:`${m}="${e[m]}"`).join(" ");if(i){let m=c?` id="${c}"`:"";f8.has(a)?u=`<${a}${m}${O===""?"":" "}${O}/>`:u=`<${a}${m}${O===""?"":" "}${O}></${a}>`}else{let m=t.slice(l,d+1);u=`<${a}${O===""?"":" "}${O}${m}`}return[u,o,s]},qS=class{static extract(t){let{[QS]:e,[CS]:i,[_S]:n}=t;return delete t[QS],delete t[CS],delete t[_S],{diff:t,title:n,reply:e||null,events:i||[]}}constructor(t,e){this.viewId=t,this.rendered={},this.magicId=0,this.mergeDiff(e)}parentViewId(){return this.viewId}toString(t){let[e,i]=this.recursiveToString(this.rendered,this.rendered[Pi],t,!0,{});return[e,i]}recursiveToString(t,e=t[Pi],i,n,r){i=i?new Set(i):null;let o={buffer:"",components:e,onlyCids:i,streams:new Set};return this.toOutputBuffer(t,null,o,n,r),[o.buffer,o.streams]}componentCIDs(t){return Object.keys(t[Pi]||{}).map(e=>parseInt(e))}isComponentOnlyDiff(t){return t[Pi]?Object.keys(t).length===1:!1}getComponent(t,e){return t[Pi][e]}resetRender(t){this.rendered[Pi][t]&&(this.rendered[Pi][t].reset=!0)}mergeDiff(t){let e=t[Pi],i={};if(delete t[Pi],this.rendered=this.mutableMerge(this.rendered,t),this.rendered[Pi]=this.rendered[Pi]||{},e){let n=this.rendered[Pi];for(let r in e)e[r]=this.cachedFindComponent(r,e[r],n,e,i);for(let r in e)n[r]=e[r];t[Pi]=e}}cachedFindComponent(t,e,i,n,r){if(r[t])return r[t];{let o,s,a=e[rr];if(Pr(a)){let l;a>0?l=this.cachedFindComponent(a,n[a],i,n,r):l=i[-a],s=l[rr],o=this.cloneMerge(l,e,!0),o[rr]=s}else o=e[rr]!==void 0||i[t]===void 0?e:this.cloneMerge(i[t],e,!1);return r[t]=o,o}}mutableMerge(t,e){return e[rr]!==void 0?e:(this.doMutableMerge(t,e),t)}doMutableMerge(t,e){for(let i in e){let n=e[i],r=t[i];La(n)&&n[rr]===void 0&&La(r)?this.doMutableMerge(r,n):t[i]=n}t[Ug]&&(t.newRender=!0)}cloneMerge(t,e,i){let n=Y(Y({},t),e);for(let r in n){let o=e[r],s=t[r];La(o)&&o[rr]===void 0&&La(s)?n[r]=this.cloneMerge(s,o,i):o===void 0&&La(s)&&(n[r]=this.cloneMerge(s,{},i))}return i?(delete n.magicId,delete n.newRender):t[Ug]&&(n.newRender=!0),n}componentToString(t){let[e,i]=this.recursiveCIDToString(this.rendered[Pi],t,null),[n,r,o]=NS(e,{});return[n,i]}pruneCIDs(t){t.forEach(e=>delete this.rendered[Pi][e])}get(){return this.rendered}isNewFingerprint(t={}){return!!t[rr]}templateStatic(t,e){return typeof t=="number"?e[t]:t}nextMagicID(){return this.magicId++,`m${this.magicId}-${this.parentViewId()}`}toOutputBuffer(t,e,i,n,r={}){if(t[Ah])return this.comprehensionToBuffer(t,e,i);let{[rr]:o}=t;o=this.templateStatic(o,e);let s=t[Ug],a=i.buffer;s&&(i.buffer=""),n&&s&&!t.magicId&&(t.newRender=!0,t.magicId=this.nextMagicID()),i.buffer+=o[0];for(let l=1;l<o.length;l++)this.dynamicToBuffer(t[l-1],e,i,n),i.buffer+=o[l];if(s){let l=!1,c;n||t.magicId?(l=n&&!t.newRender,c=Y({[FS]:t.magicId},r)):c=r,l&&(c[YS]=!0);let[u,f,d]=NS(i.buffer,c,l);t.newRender=!1,i.buffer=a+f+u+d}}comprehensionToBuffer(t,e,i){let{[Ah]:n,[rr]:r,[AS]:o}=t,[s,a,l,c]=o||[null,{},[],null];r=this.templateStatic(r,e);let u=e||t[DD];for(let f=0;f<n.length;f++){let d=n[f];i.buffer+=r[0];for(let O=1;O<r.length;O++)this.dynamicToBuffer(d[O-1],u,i,!1),i.buffer+=r[O]}o!==void 0&&(t[Ah].length>0||l.length>0||c)&&(delete t[AS],t[Ah]=[],i.streams.add(o))}dynamicToBuffer(t,e,i,n){if(typeof t=="number"){let[r,o]=this.recursiveCIDToString(i.components,t,i.onlyCids);i.buffer+=r,i.streams=new Set([...i.streams,...o])}else La(t)?this.toOutputBuffer(t,e,i,n,{}):i.buffer+=t}recursiveCIDToString(t,e,i){let n=t[e]||Ui(`no component for CID ${e}`,t),r={[Cr]:e},o=i&&!i.has(e);n.newRender=!o,n.magicId=`c${e}-${this.parentViewId()}`;let s=!n.reset,[a,l]=this.recursiveToString(n,t,i,s,r);return delete n.reset,[a,l]}},jS=[],WS=200,d8={exec(t,e,i,n,r,o){let[s,a]=o||[null,{callback:o&&o.callback}];(i.charAt(0)==="["?JSON.parse(i):[[s,a]]).forEach(([c,u])=>{c===s&&(u=Y(Y({},a),u),u.callback=u.callback||a.callback),this.filterToEls(n.liveSocket,r,u).forEach(f=>{this[`exec_${c}`](t,e,i,n,r,f,u)})})},isVisible(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length>0)},isInViewport(t){let e=t.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight,n=window.innerWidth||document.documentElement.clientWidth;return e.right>0&&e.bottom>0&&e.left<n&&e.top<i},exec_exec(t,e,i,n,r,o,{attr:s,to:a}){let l=o.getAttribute(s);if(!l)throw new Error(`expected ${s} to contain JS command on "${a}"`);n.liveSocket.execJS(o,l,e)},exec_dispatch(t,e,i,n,r,o,{event:s,detail:a,bubbles:l}){a=a||{},a.dispatcher=r,G.dispatchEvent(o,s,{detail:a,bubbles:l})},exec_push(t,e,i,n,r,o,s){let{event:a,data:l,target:c,page_loading:u,loading:f,value:d,dispatcher:O,callback:m}=s,x={loading:f,value:d,target:c,page_loading:!!u},v=e==="change"&&O?O:r,w=c||v.getAttribute(n.binding("target"))||v,T=(A,L)=>{if(A.isConnected())if(e==="change"){let{newCid:D,_target:P}=s;P=P||(G.isFormInput(r)?r.name:void 0),P&&(x._target=P),A.pushInput(r,L,D,a||i,x,m)}else if(e==="submit"){let{submitter:D}=s;A.submitForm(r,L,a||i,D,x,m)}else A.pushEvent(e,r,L,a||i,l,x,m)};s.targetView&&s.targetCtx?T(s.targetView,s.targetCtx):n.withinTargets(w,T)},exec_navigate(t,e,i,n,r,o,{href:s,replace:a}){n.liveSocket.historyRedirect(t,s,a?"replace":"push",null,r)},exec_patch(t,e,i,n,r,o,{href:s,replace:a}){n.liveSocket.pushHistoryPatch(t,s,a?"replace":"push",r)},exec_focus(t,e,i,n,r,o){Ji.attemptFocus(o),window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>Ji.attemptFocus(o))})},exec_focus_first(t,e,i,n,r,o){Ji.focusFirstInteractive(o)||Ji.focusFirst(o),window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>Ji.focusFirstInteractive(o)||Ji.focusFirst(o))})},exec_push_focus(t,e,i,n,r,o){jS.push(o||r)},exec_pop_focus(t,e,i,n,r,o){let s=jS.pop();s&&(s.focus(),window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>s.focus())}))},exec_add_class(t,e,i,n,r,o,{names:s,transition:a,time:l,blocking:c}){this.addOrRemoveClasses(o,s,[],a,l,n,c)},exec_remove_class(t,e,i,n,r,o,{names:s,transition:a,time:l,blocking:c}){this.addOrRemoveClasses(o,[],s,a,l,n,c)},exec_toggle_class(t,e,i,n,r,o,{names:s,transition:a,time:l,blocking:c}){this.toggleClasses(o,s,a,l,n,c)},exec_toggle_attr(t,e,i,n,r,o,{attr:[s,a,l]}){this.toggleAttr(o,s,a,l)},exec_transition(t,e,i,n,r,o,{time:s,transition:a,blocking:l}){this.addOrRemoveClasses(o,[],[],a,s,n,l)},exec_toggle(t,e,i,n,r,o,{display:s,ins:a,outs:l,time:c,blocking:u}){this.toggle(e,n,o,s,a,l,c,u)},exec_show(t,e,i,n,r,o,{display:s,transition:a,time:l,blocking:c}){this.show(e,n,o,s,a,l,c)},exec_hide(t,e,i,n,r,o,{display:s,transition:a,time:l,blocking:c}){this.hide(e,n,o,s,a,l,c)},exec_set_attr(t,e,i,n,r,o,{attr:[s,a]}){this.setOrRemoveAttrs(o,[[s,a]],[])},exec_remove_attr(t,e,i,n,r,o,{attr:s}){this.setOrRemoveAttrs(o,[],[s])},show(t,e,i,n,r,o,s){this.isVisible(i)||this.toggle(t,e,i,n,r,null,o,s)},hide(t,e,i,n,r,o,s){this.isVisible(i)&&this.toggle(t,e,i,n,null,r,o,s)},toggle(t,e,i,n,r,o,s,a){s=s||WS;let[l,c,u]=r||[[],[],[]],[f,d,O]=o||[[],[],[]];if(l.length>0||f.length>0)if(this.isVisible(i)){let m=()=>{this.addOrRemoveClasses(i,d,l.concat(c).concat(u)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(i,f,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(i,O,d))})},x=()=>{this.addOrRemoveClasses(i,[],f.concat(O)),G.putSticky(i,"toggle",v=>v.style.display="none"),i.dispatchEvent(new Event("phx:hide-end"))};i.dispatchEvent(new Event("phx:hide-start")),a===!1?(m(),setTimeout(x,s)):e.transition(s,m,x)}else{if(t==="remove")return;let m=()=>{this.addOrRemoveClasses(i,c,f.concat(d).concat(O));let v=n||this.defaultDisplay(i);window.requestAnimationFrame(()=>{this.addOrRemoveClasses(i,l,[]),window.requestAnimationFrame(()=>{G.putSticky(i,"toggle",w=>w.style.display=v),this.addOrRemoveClasses(i,u,c)})})},x=()=>{this.addOrRemoveClasses(i,[],l.concat(u)),i.dispatchEvent(new Event("phx:show-end"))};i.dispatchEvent(new Event("phx:show-start")),a===!1?(m(),setTimeout(x,s)):e.transition(s,m,x)}else this.isVisible(i)?window.requestAnimationFrame(()=>{i.dispatchEvent(new Event("phx:hide-start")),G.putSticky(i,"toggle",m=>m.style.display="none"),i.dispatchEvent(new Event("phx:hide-end"))}):window.requestAnimationFrame(()=>{i.dispatchEvent(new Event("phx:show-start"));let m=n||this.defaultDisplay(i);G.putSticky(i,"toggle",x=>x.style.display=m),i.dispatchEvent(new Event("phx:show-end"))})},toggleClasses(t,e,i,n,r,o){window.requestAnimationFrame(()=>{let[s,a]=G.getSticky(t,"classes",[[],[]]),l=e.filter(u=>s.indexOf(u)<0&&!t.classList.contains(u)),c=e.filter(u=>a.indexOf(u)<0&&t.classList.contains(u));this.addOrRemoveClasses(t,l,c,i,n,r,o)})},toggleAttr(t,e,i,n){t.hasAttribute(e)?n!==void 0?t.getAttribute(e)===i?this.setOrRemoveAttrs(t,[[e,n]],[]):this.setOrRemoveAttrs(t,[[e,i]],[]):this.setOrRemoveAttrs(t,[],[e]):this.setOrRemoveAttrs(t,[[e,i]],[])},addOrRemoveClasses(t,e,i,n,r,o,s){r=r||WS;let[a,l,c]=n||[[],[],[]];if(a.length>0){let u=()=>{this.addOrRemoveClasses(t,l,[].concat(a).concat(c)),window.requestAnimationFrame(()=>{this.addOrRemoveClasses(t,a,[]),window.requestAnimationFrame(()=>this.addOrRemoveClasses(t,c,l))})},f=()=>this.addOrRemoveClasses(t,e.concat(c),i.concat(a).concat(l));s===!1?(u(),setTimeout(f,r)):o.transition(r,u,f);return}window.requestAnimationFrame(()=>{let[u,f]=G.getSticky(t,"classes",[[],[]]),d=e.filter(v=>u.indexOf(v)<0&&!t.classList.contains(v)),O=i.filter(v=>f.indexOf(v)<0&&t.classList.contains(v)),m=u.filter(v=>i.indexOf(v)<0).concat(d),x=f.filter(v=>e.indexOf(v)<0).concat(O);G.putSticky(t,"classes",v=>(v.classList.remove(...x),v.classList.add(...m),[m,x]))})},setOrRemoveAttrs(t,e,i){let[n,r]=G.getSticky(t,"attrs",[[],[]]),o=e.map(([l,c])=>l).concat(i),s=n.filter(([l,c])=>!o.includes(l)).concat(e),a=r.filter(l=>!o.includes(l)).concat(i);G.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(i=>t.classList.contains(i))},isToggledOut(t,e){return!this.isVisible(t)||this.hasAllClasses(t,e)},filterToEls(t,e,{to:i}){let n=()=>{if(typeof i=="string")return document.querySelectorAll(i);if(i.closest){let r=e.closest(i.closest);return r?[r]:[]}else if(i.inner)return e.querySelectorAll(i.inner)};return i?t.jsQuerySelectorAll(e,i,n):[e]},defaultDisplay(t){return{tr:"table-row",td:"table-cell"}[t.tagName.toLowerCase()]||"block"},transitionClasses(t){if(!t)return null;let[e,i,n]=Array.isArray(t)?t:[t.split(" "),[],[]];return e=Array.isArray(e)?e:e.split(" "),i=Array.isArray(i)?i:i.split(" "),n=Array.isArray(n)?n:n.split(" "),[e,i,n]}},bt=d8,Ng="hookId",O8=1,Sc=class{static makeID(){return O8++}static elementID(t){return G.private(t,Ng)}constructor(t,e,i){this.el=e,this.__attachView(t),this.__callbacks=i,this.__listeners=new Set,this.__isDisconnected=!1,G.putPrivate(this.el,Ng,this.constructor.makeID());for(let n in this.__callbacks)this[n]=this.__callbacks[n]}__attachView(t){t?(this.__view=()=>t,this.liveSocket=t.liveSocket):(this.__view=()=>{throw new Error(`hook not yet attached to a live view: ${this.el.outerHTML}`)},this.liveSocket=null)}__mounted(){this.mounted&&this.mounted()}__updated(){this.updated&&this.updated()}__beforeUpdate(){this.beforeUpdate&&this.beforeUpdate()}__destroyed(){this.destroyed&&this.destroyed(),G.deletePrivate(this.el,Ng)}__reconnected(){this.__isDisconnected&&(this.__isDisconnected=!1,this.reconnected&&this.reconnected())}__disconnected(){this.__isDisconnected=!0,this.disconnected&&this.disconnected()}js(){let t=this;return{exec(e){t.__view().liveSocket.execJS(t.el,e,"hook")},show(e,i={}){let n=t.__view().liveSocket.owner(e);bt.show("hook",n,e,i.display,i.transition,i.time,i.blocking)},hide(e,i={}){let n=t.__view().liveSocket.owner(e);bt.hide("hook",n,e,null,i.transition,i.time,i.blocking)},toggle(e,i={}){let n=t.__view().liveSocket.owner(e);i.in=bt.transitionClasses(i.in),i.out=bt.transitionClasses(i.out),bt.toggle("hook",n,e,i.display,i.in,i.out,i.time,i.blocking)},addClass(e,i,n={}){i=Array.isArray(i)?i:i.split(" ");let r=t.__view().liveSocket.owner(e);bt.addOrRemoveClasses(e,i,[],n.transition,n.time,r,n.blocking)},removeClass(e,i,n={}){n.transition=bt.transitionClasses(n.transition),i=Array.isArray(i)?i:i.split(" ");let r=t.__view().liveSocket.owner(e);bt.addOrRemoveClasses(e,[],i,n.transition,n.time,r,n.blocking)},toggleClass(e,i,n={}){n.transition=bt.transitionClasses(n.transition),i=Array.isArray(i)?i:i.split(" ");let r=t.__view().liveSocket.owner(e);bt.toggleClasses(e,i,n.transition,n.time,r,n.blocking)},transition(e,i,n={}){let r=t.__view().liveSocket.owner(e);bt.addOrRemoveClasses(e,[],[],bt.transitionClasses(i),n.time,r,n.blocking)},setAttribute(e,i,n){bt.setOrRemoveAttrs(e,[[i,n]],[])},removeAttribute(e,i){bt.setOrRemoveAttrs(e,[],[i])},toggleAttribute(e,i,n,r){bt.toggleAttr(e,i,n,r)}}}pushEvent(t,e={},i){return i===void 0?new Promise((n,r)=>{try{this.__view().pushHookEvent(this.el,null,t,e,(s,a)=>n(s))===!1&&r(new Error("unable to push hook event. LiveView not connected"))}catch(o){r(o)}}):this.__view().pushHookEvent(this.el,null,t,e,i)}pushEventTo(t,e,i={},n){return n===void 0?new Promise((r,o)=>{try{this.__view().withinTargets(t,(s,a)=>{s.pushHookEvent(this.el,a,e,i,(c,u)=>r(c))===!1&&o(new Error("unable to push hook event. LiveView not connected"))})}catch(s){o(s)}}):this.__view().withinTargets(t,(r,o)=>r.pushHookEvent(this.el,o,e,i,n))}handleEvent(t,e){let i=(n,r)=>r?t:e(n.detail);return window.addEventListener(`phx:${t}`,i),this.__listeners.add(i),i}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,i){return this.__view().withinTargets(t,(n,r)=>{n.dispatchUploads(r,e,i)})}__cleanup__(){this.__listeners.forEach(t=>this.removeHandleEvent(t))}},p8=(t,e)=>{let i=t.endsWith("[]"),n=i?t.slice(0,-2):t;return n=n.replace(/([^\[\]]+)(\]?$)/,`${e}$1$2`),i&&(n+="[]"),n},Lh=(t,e,i=[])=>{let u=e,{submitter:n}=u,r=gi(u,["submitter"]),o;if(n&&n.name){let f=document.createElement("input");f.type="hidden";let d=n.getAttribute("form");d&&f.setAttribute("form",d),f.name=n.name,f.value=n.value,n.parentElement.insertBefore(f,n),o=f}let s=new FormData(t),a=[];s.forEach((f,d,O)=>{f instanceof File&&a.push(d)}),a.forEach(f=>s.delete(f));let l=new URLSearchParams,c=Array.from(t.elements);for(let[f,d]of s.entries())if(i.length===0||i.indexOf(f)>=0){let O=c.filter(v=>v.name===f),m=!O.some(v=>G.private(v,zh)||G.private(v,Ec)),x=O.every(v=>v.type==="hidden");m&&!(n&&n.name==f)&&!x&&l.append(p8(f,"_unused_"),""),l.append(f,d)}n&&o&&n.parentElement.removeChild(o);for(let f in r)l.append(f,r[f]);return l.toString()},m8=class JS{static closestView(e){let i=e.closest(ws);return i?G.private(i,"view"):null}constructor(e,i,n,r,o){this.isDead=!1,this.liveSocket=i,this.flash=r,this.parent=n,this.root=n?n.root:this,this.el=e,G.putPrivate(this.el,"view",this),this.id=this.el.id,this.ref=0,this.lastAckRef=null,this.childJoins=0,this.loaderTimer=null,this.pendingDiffs=[],this.pendingForms=new Set,this.redirect=!1,this.href=null,this.joinCount=this.parent?this.parent.joinCount-1:0,this.joinAttempts=0,this.joinPending=!0,this.destroyed=!1,this.joinCallback=function(s){s&&s()},this.stopCallback=function(){},this.pendingJoinOps=this.parent?null:[],this.viewHooks={},this.formSubmits=[],this.children=this.parent?null:{},this.root.children[this.id]={},this.formsForRecovery={},this.channel=this.liveSocket.channel(`lv:${this.id}`,()=>{let s=this.href&&this.expandURL(this.href);return{redirect:this.redirect?s:void 0,url:this.redirect?void 0:s||void 0,params:this.connectParams(o),session:this.getSession(),static:this.getStatic(),flash:this.flash}})}setHref(e){this.href=e}setRedirect(e){this.redirect=!0,this.href=e}isMain(){return this.el.hasAttribute(Yg)}connectParams(e){let i=this.liveSocket.params(this.el),n=G.all(document,`[${this.binding(kD)}]`).map(r=>r.src||r.href).filter(r=>typeof r=="string");return n.length>0&&(i._track_static=n),i._mounts=this.joinCount,i._mount_attempts=this.joinAttempts,i._live_referer=e,this.joinAttempts++,i}isConnected(){return this.channel.canPush()}getSession(){return this.el.getAttribute(or)}getStatic(){let e=this.el.getAttribute(xs);return e===""?null:e}destroy(e=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 i=()=>{e();for(let n in this.viewHooks)this.destroyHook(this.viewHooks[n])};G.markPhxChildDestroyed(this.el),this.log("destroyed",()=>["the child has been removed from the parent"]),this.channel.leave().receive("ok",i).receive("error",i).receive("timeout",i)}setContainerClasses(...e){this.el.classList.remove(bS,bs,Ra,yS,mc),this.el.classList.add(...e)}showLoader(e){if(clearTimeout(this.loaderTimer),e)this.loaderTimer=setTimeout(()=>this.showLoader(),e);else{for(let i in this.viewHooks)this.viewHooks[i].__disconnected();this.setContainerClasses(bs)}}execAll(e){G.all(this.el,`[${e}]`,i=>this.liveSocket.execJS(i,i.getAttribute(e)))}hideLoader(){clearTimeout(this.loaderTimer),this.setContainerClasses(bS),this.execAll(this.binding("connected"))}triggerReconnected(){for(let e in this.viewHooks)this.viewHooks[e].__reconnected()}log(e,i){this.liveSocket.log(this,e,i)}transition(e,i,n=function(){}){this.liveSocket.transition(e,i,n)}withinTargets(e,i,n=document,r){if(e instanceof HTMLElement||e instanceof SVGElement)return this.liveSocket.owner(e,o=>i(o,e));if(Pr(e))G.findComponentNodeList(r||this.el,e).length===0?Ui(`no component found matching phx-target of ${e}`):i(this,parseInt(e));else{let o=Array.from(n.querySelectorAll(e));o.length===0&&Ui(`nothing found matching the phx-target selector "${e}"`),o.forEach(s=>this.liveSocket.owner(s,a=>i(a,s)))}}applyDiff(e,i,n){this.log(e,()=>["",Dh(i)]);let{diff:r,reply:o,events:s,title:a}=qS.extract(i);n({diff:r,reply:o,events:s}),(typeof a=="string"||e=="mount")&&window.requestAnimationFrame(()=>G.putTitle(a))}onJoin(e){let{rendered:i,container:n,liveview_version:r}=e;if(n){let[o,s]=n;this.el=G.replaceRootContainer(this.el,o,s)}this.childJoins=0,this.joinPending=!0,this.flash=null,this.root===this&&(this.formsForRecovery=this.getFormsForRecovery()),this.isMain()&&window.history.state===null&&zi.pushState("replace",{type:"patch",id:this.id,position:this.liveSocket.currentHistoryPosition}),r!==this.liveSocket.version()&&console.error(`LiveView asset version mismatch. JavaScript version ${this.liveSocket.version()} vs. server ${r}. To avoid issues, please ensure that your assets use the same version as the server.`),zi.dropLocal(this.liveSocket.localStorage,window.location.pathname,VS),this.applyDiff("mount",i,({diff:o,events:s})=>{this.rendered=new qS(this.id,o);let[a,l]=this.renderContainer(null,"join");this.dropPendingRefs(),this.joinCount++,this.joinAttempts=0,this.maybeRecoverForms(a,()=>{this.onJoinComplete(e,a,l,s)})})}dropPendingRefs(){G.all(document,`[${pn}="${this.refSrc()}"]`,e=>{e.removeAttribute(Da),e.removeAttribute(pn),e.removeAttribute(qt)})}onJoinComplete({live_patch:e},i,n,r){if(this.joinCount>1||this.parent&&!this.parent.isJoinPending())return this.applyJoinPatch(e,i,n,r);G.findPhxChildrenInFragment(i,this.id).filter(s=>{let a=s.id&&this.el.querySelector(`[id="${s.id}"]`),l=a&&a.getAttribute(xs);return l&&s.setAttribute(xs,l),a&&a.setAttribute(To,this.root.id),this.joinChild(s)}).length===0?this.parent?(this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(e,i,n,r)]),this.parent.ackJoin(this)):(this.onAllChildJoinsComplete(),this.applyJoinPatch(e,i,n,r)):this.root.pendingJoinOps.push([this,()=>this.applyJoinPatch(e,i,n,r)])}attachTrueDocEl(){this.el=G.byId(this.id),this.el.setAttribute(To,this.root.id)}execNewMounted(e=this.el){let i=this.binding(jg),n=this.binding(Wg);G.all(e,`[${i}], [${n}]`,r=>{this.ownsElement(r)&&(G.maintainPrivateHooks(r,r,i,n),this.maybeAddNewHook(r))}),G.all(e,`[${this.binding(gc)}], [data-phx-${gc}]`,r=>{this.ownsElement(r)&&this.maybeAddNewHook(r)}),G.all(e,`[${this.binding(kS)}]`,r=>{this.ownsElement(r)&&this.maybeMounted(r)})}applyJoinPatch(e,i,n,r){this.attachTrueDocEl();let o=new Rh(this,this.el,this.id,i,n,null);if(o.markPrunableContentForRemoval(),this.performPatch(o,!1,!0),this.joinNewChildren(),this.execNewMounted(),this.joinPending=!1,this.liveSocket.dispatchEvents(r),this.applyPendingUpdates(),e){let{kind:s,to:a}=e;this.liveSocket.historyPatch(a,s)}this.hideLoader(),this.joinCount>1&&this.triggerReconnected(),this.stopCallback()}triggerBeforeUpdateHook(e,i){this.liveSocket.triggerDOM("onBeforeElUpdated",[e,i]);let n=this.getHook(e),r=n&&G.isIgnored(e,this.binding(Mh));if(n&&!e.isEqualNode(i)&&!(r&&qD(e.dataset,i.dataset)))return n.__beforeUpdate(),n}maybeMounted(e){let i=e.getAttribute(this.binding(kS)),n=i&&G.private(e,"mounted");i&&!n&&(this.liveSocket.execJS(e,i),G.putPrivate(e,"mounted",!0))}maybeAddNewHook(e){let i=this.addHook(e);i&&i.__mounted()}performPatch(e,i,n=!1){let r=[],o=!1,s=new Set;return this.liveSocket.triggerDOM("onPatchStart",[e.targetContainer]),e.after("added",a=>{this.liveSocket.triggerDOM("onNodeAdded",[a]);let l=this.binding(jg),c=this.binding(Wg);G.maintainPrivateHooks(a,a,l,c),this.maybeAddNewHook(a),a.getAttribute&&this.maybeMounted(a)}),e.after("phxChildAdded",a=>{G.isPhxSticky(a)?this.liveSocket.joinRootViews():o=!0}),e.before("updated",(a,l)=>{this.triggerBeforeUpdateHook(a,l)&&s.add(a.id)}),e.after("updated",a=>{s.has(a.id)&&this.getHook(a).__updated()}),e.after("discarded",a=>{a.nodeType===Node.ELEMENT_NODE&&r.push(a)}),e.after("transitionsDiscarded",a=>this.afterElementsRemoved(a,i)),e.perform(n),this.afterElementsRemoved(r,i),this.liveSocket.triggerDOM("onPatchEnd",[e.targetContainer]),o}afterElementsRemoved(e,i){let n=[];e.forEach(r=>{let o=G.all(r,`[${Cr}]`),s=G.all(r,`[${this.binding(gc)}], [data-phx-hook]`);o.concat(r).forEach(a=>{let l=this.componentID(a);Pr(l)&&n.indexOf(l)===-1&&n.push(l)}),s.concat(r).forEach(a=>{let l=this.getHook(a);l&&this.destroyHook(l)})}),i&&this.maybePushComponentsDestroyed(n)}joinNewChildren(){G.findPhxChildren(this.el,this.id).forEach(e=>this.joinChild(e))}maybeRecoverForms(e,i){let n=this.binding("change"),r=this.root.formsForRecovery,o=document.createElement("template");o.innerHTML=e;let s=o.content.firstElementChild;s.id=this.id,s.setAttribute(To,this.root.id),s.setAttribute(or,this.getSession()),s.setAttribute(xs,this.getStatic()),s.setAttribute(vs,this.parent?this.parent.id:null);let a=G.all(o.content,"form").filter(l=>l.id&&r[l.id]).filter(l=>!this.pendingForms.has(l.id)).filter(l=>r[l.id].getAttribute(n)===l.getAttribute(n)).map(l=>[r[l.id],l]);if(a.length===0)return i();a.forEach(([l,c],u)=>{this.pendingForms.add(c.id),this.pushFormRecovery(l,c,o.content.firstElementChild,()=>{this.pendingForms.delete(c.id),u===a.length-1&&i()})})}getChildById(e){return this.root.children[this.id][e]}getDescendentByEl(e){var i;return e.id===this.id?this:(i=this.children[e.getAttribute(vs)])==null?void 0:i[e.id]}destroyDescendent(e){for(let i in this.root.children)for(let n in this.root.children[i])if(n===e)return this.root.children[i][n].destroy()}joinChild(e){if(!this.getChildById(e.id)){let n=new JS(e,this.liveSocket,this);return this.root.children[this.id][n.id]=n,n.join(),this.childJoins++,!0}}isJoinPending(){return this.joinPending}ackJoin(e){this.childJoins--,this.childJoins===0&&(this.parent?this.parent.ackJoin(this):this.onAllChildJoinsComplete())}onAllChildJoinsComplete(){this.pendingForms.clear(),this.formsForRecovery={},this.joinCallback(()=>{this.pendingJoinOps.forEach(([e,i])=>{e.isDestroyed()||i()}),this.pendingJoinOps=[]})}update(e,i){if(this.isJoinPending()||this.liveSocket.hasPendingLink()&&this.root.isMain())return this.pendingDiffs.push({diff:e,events:i});this.rendered.mergeDiff(e);let n=!1;this.rendered.isComponentOnlyDiff(e)?this.liveSocket.time("component patch complete",()=>{G.findExistingParentCIDs(this.el,this.rendered.componentCIDs(e)).forEach(o=>{this.componentPatch(this.rendered.getComponent(e,o),o)&&(n=!0)})}):$S(e)||this.liveSocket.time("full patch complete",()=>{let[r,o]=this.renderContainer(e,"update"),s=new Rh(this,this.el,this.id,r,o,null);n=this.performPatch(s,!0)}),this.liveSocket.dispatchEvents(i),n&&this.joinNewChildren()}renderContainer(e,i){return this.liveSocket.time(`toString diff (${i})`,()=>{let n=this.el.tagName,r=e?this.rendered.componentCIDs(e):null,[o,s]=this.rendered.toString(r);return[`<${n}>${o}</${n}>`,s]})}componentPatch(e,i){if($S(e))return!1;let[n,r]=this.rendered.componentToString(i),o=new Rh(this,this.el,this.id,n,r,i);return this.performPatch(o,!0)}getHook(e){return this.viewHooks[Sc.elementID(e)]}addHook(e){let i=Sc.elementID(e);if(!(e.getAttribute&&!this.ownsElement(e)))if(i&&!this.viewHooks[i]){let n=G.getCustomElHook(e)||Ui(`no hook found for custom element: ${e.id}`);return this.viewHooks[i]=n,n.__attachView(this),n}else{if(i||!e.getAttribute)return;{let n=e.getAttribute(`data-phx-${gc}`)||e.getAttribute(this.binding(gc)),r=this.liveSocket.getHookCallbacks(n);if(r){e.id||Ui(`no DOM ID for hook "${n}". Hooks require a unique ID on each element.`,e);let o=new Sc(this,e,r);return this.viewHooks[Sc.elementID(o.el)]=o,o}else n!==null&&Ui(`unknown hook found for "${n}"`,e)}}}destroyHook(e){let i=Sc.elementID(e.el);e.__destroyed(),e.__cleanup__(),delete this.viewHooks[i]}applyPendingUpdates(){this.pendingDiffs.forEach(({diff:e,events:i})=>this.update(e,i)),this.pendingDiffs=[],this.eachChild(e=>e.applyPendingUpdates())}eachChild(e){let i=this.root.children[this.id]||{};for(let n in i)e(this.getChildById(n))}onChannel(e,i){this.liveSocket.onChannel(this.channel,e,n=>{this.isJoinPending()?this.root.pendingJoinOps.push([this,()=>i(n)]):this.liveSocket.requestDOMUpdate(()=>i(n))})}bindChannel(){this.liveSocket.onChannel(this.channel,"diff",e=>{this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",e,({diff:i,events:n})=>this.update(i,n))})}),this.onChannel("redirect",({to:e,flash:i})=>this.onRedirect({to:e,flash:i})),this.onChannel("live_patch",e=>this.onLivePatch(e)),this.onChannel("live_redirect",e=>this.onLiveRedirect(e)),this.channel.onError(e=>this.onError(e)),this.channel.onClose(e=>this.onClose(e))}destroyAllChildren(){this.eachChild(e=>e.destroy())}onLiveRedirect(e){let{to:i,kind:n,flash:r}=e,o=this.expandURL(i),s=new CustomEvent("phx:server-navigate",{detail:{to:i,kind:n,flash:r}});this.liveSocket.historyRedirect(s,o,n,r)}onLivePatch(e){let{to:i,kind:n}=e;this.href=this.expandURL(i),this.liveSocket.historyPatch(i,n)}expandURL(e){return e.startsWith("/")?`${window.location.protocol}//${window.location.host}${e}`:e}onRedirect({to:e,flash:i,reloadToken:n}){this.liveSocket.redirect(e,i,n)}isDestroyed(){return this.destroyed}joinDead(){this.isDead=!0}joinPush(){return this.joinPush=this.joinPush||this.channel.join(),this.joinPush}join(e){this.showLoader(this.liveSocket.loaderTimeout),this.bindChannel(),this.isMain()&&(this.stopCallback=this.liveSocket.withPageLoading({to:this.href,kind:"initial"})),this.joinCallback=i=>{i=i||function(){},e?e(this.joinCount,i):i()},this.wrapPush(()=>this.channel.join(),{ok:i=>this.liveSocket.requestDOMUpdate(()=>this.onJoin(i)),error:i=>this.onJoinError(i),timeout:()=>this.onJoinError({reason:"timeout"})})}onJoinError(e){if(e.reason==="reload"){this.log("error",()=>[`failed mount with ${e.status}. Falling back to page reload`,e]),this.onRedirect({to:this.root.href,reloadToken:e.token});return}else if(e.reason==="unauthorized"||e.reason==="stale"){this.log("error",()=>["unauthorized live_redirect. Falling back to page request",e]),this.onRedirect({to:this.root.href});return}if((e.redirect||e.live_redirect)&&(this.joinPending=!1,this.channel.leave()),e.redirect)return this.onRedirect(e.redirect);if(e.live_redirect)return this.onLiveRedirect(e.live_redirect);if(this.log("error",()=>["unable to join",e]),this.isMain())this.displayError([bs,Ra,mc]),this.liveSocket.isConnected()&&this.liveSocket.reloadWithJitter(this);else{this.joinAttempts>=TS&&(this.root.displayError([bs,Ra,mc]),this.log("error",()=>[`giving up trying to mount after ${TS} tries`,e]),this.destroy());let i=G.byId(this.el.id);i?(G.mergeAttrs(i,this.el),this.displayError([bs,Ra,mc]),this.el=i):this.destroy()}}onClose(e){if(!this.isDestroyed()){if(this.isMain()&&this.liveSocket.hasPendingLink()&&e!=="leave")return this.liveSocket.reloadWithJitter(this);this.destroyAllChildren(),this.liveSocket.dropActiveElement(this),document.activeElement&&document.activeElement.blur(),this.liveSocket.isUnloaded()&&this.showLoader(XD)}}onError(e){this.onClose(e),this.liveSocket.isConnected()&&this.log("error",()=>["view crashed",e]),this.liveSocket.isUnloaded()||(this.liveSocket.isConnected()?this.displayError([bs,Ra,mc]):this.displayError([bs,Ra,yS]))}displayError(e){this.isMain()&&G.dispatchEvent(window,"phx:page-loading-start",{detail:{to:this.href,kind:"error"}}),this.showLoader(),this.setContainerClasses(...e),this.execAll(this.binding("disconnected"))}wrapPush(e,i){let n=this.liveSocket.getLatencySim(),r=n?o=>setTimeout(()=>!this.isDestroyed()&&o(),n):o=>!this.isDestroyed()&&o();r(()=>{e().receive("ok",o=>r(()=>i.ok&&i.ok(o))).receive("error",o=>r(()=>i.error&&i.error(o))).receive("timeout",()=>r(()=>i.timeout&&i.timeout()))})}pushWithReply(e,i,n){if(!this.isConnected())return Promise.reject({error:"noconnection"});let[r,[o],s]=e?e():[null,[],{}],a=this.joinCount,l=function(){};return s.page_loading&&(l=this.liveSocket.withPageLoading({kind:"element",target:o})),typeof n.cid!="number"&&delete n.cid,new Promise((c,u)=>{this.wrapPush(()=>this.channel.push(i,n,LD),{ok:f=>{r!==null&&(this.lastAckRef=r);let d=O=>{f.redirect&&this.onRedirect(f.redirect),f.live_patch&&this.onLivePatch(f.live_patch),f.live_redirect&&this.onLiveRedirect(f.live_redirect),l(),c({resp:f,reply:O})};f.diff?this.liveSocket.requestDOMUpdate(()=>{this.applyDiff("update",f.diff,({diff:O,reply:m,events:x})=>{r!==null&&this.undoRefs(r,n.event),this.update(O,x),d(m)})}):(r!==null&&this.undoRefs(r,n.event),d(null))},error:f=>u({error:f}),timeout:()=>{u({timeout:!0}),this.joinCount===a&&this.liveSocket.reloadWithJitter(this,()=>{this.log("timeout",()=>["received timeout while communicating with server. Falling back to hard refresh for recovery"])})}})})}undoRefs(e,i,n){if(!this.isConnected())return;let r=`[${pn}="${this.refSrc()}"]`;n?(n=new Set(n),G.all(document,r,o=>{n&&!n.has(o)||(G.all(o,r,s=>this.undoElRef(s,e,i)),this.undoElRef(o,e,i))})):G.all(document,r,o=>this.undoElRef(o,e,i))}undoElRef(e,i,n){new LS(e).maybeUndo(i,n,o=>{let s=new Rh(this,e,this.id,o,[],null,{undoRef:i}),a=this.performPatch(s,!0);G.all(e,`[${pn}="${this.refSrc()}"]`,l=>this.undoElRef(l,i,n)),a&&this.joinNewChildren()})}refSrc(){return this.el.id}putRef(e,i,n,r={}){let o=this.ref++,s=this.binding(vS);if(r.loading){let a=G.all(document,r.loading).map(l=>({el:l,lock:!0,loading:!0}));e=e.concat(a)}for(let{el:a,lock:l,loading:c}of e){if(!l&&!c)throw new Error("putRef requires lock or loading");if(a.setAttribute(pn,this.refSrc()),c&&a.setAttribute(Da,o),l&&a.setAttribute(qt,o),!c||r.submitter&&!(a===r.submitter||a===r.form))continue;let u=new Promise(m=>{a.addEventListener(`phx:undo-lock:${o}`,()=>m(O),{once:!0})}),f=new Promise(m=>{a.addEventListener(`phx:undo-loading:${o}`,()=>m(O),{once:!0})});a.classList.add(`phx-${n}-loading`);let d=a.getAttribute(s);d!==null&&(a.getAttribute(Uh)||a.setAttribute(Uh,a.innerText),d!==""&&(a.innerText=d),a.setAttribute(Ia,a.getAttribute(Ia)||a.disabled),a.setAttribute("disabled",""));let O={event:i,eventType:n,ref:o,isLoading:c,isLocked:l,lockElements:e.filter(({lock:m})=>m).map(({el:m})=>m),loadingElements:e.filter(({loading:m})=>m).map(({el:m})=>m),unlock:m=>{m=Array.isArray(m)?m:[m],this.undoRefs(o,i,m)},lockComplete:u,loadingComplete:f,lock:m=>new Promise(x=>{if(this.isAcked(o))return x(O);m.setAttribute(qt,o),m.setAttribute(pn,this.refSrc()),m.addEventListener(`phx:lock-stop:${o}`,()=>x(O),{once:!0})})};a.dispatchEvent(new CustomEvent("phx:push",{detail:O,bubbles:!0,cancelable:!1})),i&&a.dispatchEvent(new CustomEvent(`phx:push:${i}`,{detail:O,bubbles:!0,cancelable:!1}))}return[o,e.map(({el:a})=>a),r]}isAcked(e){return this.lastAckRef!==null&&this.lastAckRef>=e}componentID(e){let i=e.getAttribute&&e.getAttribute(Cr);return i?parseInt(i):null}targetComponentID(e,i,n={}){if(Pr(i))return i;let r=n.target||e.getAttribute(this.binding("target"));return Pr(r)?parseInt(r):i&&(r!==null||n.target)?this.closestComponentID(i):null}closestComponentID(e){return Pr(e)?e:e?So(e.closest(`[${Cr}]`),i=>this.ownsElement(i)&&this.componentID(i)):null}pushHookEvent(e,i,n,r,o){if(!this.isConnected())return this.log("hook",()=>["unable to push hook event. LiveView not connected",n,r]),!1;let[s,a,l]=this.putRef([{el:e,loading:!0,lock:!0}],n,"hook");return this.pushWithReply(()=>[s,a,l],"event",{type:"hook",event:n,value:r,cid:this.closestComponentID(i)}).then(({resp:c,reply:u})=>o(u,s)),s}extractMeta(e,i,n){let r=this.binding("value-");for(let o=0;o<e.attributes.length;o++){i||(i={});let s=e.attributes[o].name;s.startsWith(r)&&(i[s.replace(r,"")]=e.getAttribute(s))}if(e.value!==void 0&&!(e instanceof HTMLFormElement)&&(i||(i={}),i.value=e.value,e.tagName==="INPUT"&&HS.indexOf(e.type)>=0&&!e.checked&&delete i.value),n){i||(i={});for(let o in n)i[o]=n[o]}return i}pushEvent(e,i,n,r,o,s={},a){this.pushWithReply(()=>this.putRef([{el:i,loading:!0,lock:!0}],r,e,s),"event",{type:e,event:r,value:this.extractMeta(i,o,s.value),cid:this.targetComponentID(i,n,s)}).then(({reply:l})=>a&&a(l))}pushFileProgress(e,i,n,r=function(){}){this.liveSocket.withinOwners(e.form,(o,s)=>{o.pushWithReply(null,"progress",{event:e.getAttribute(o.binding(AD)),ref:e.getAttribute(Qr),entry_ref:i,progress:n,cid:o.targetComponentID(e.form,s)}).then(({resp:a})=>r(a))})}pushInput(e,i,n,r,o,s){if(!e.form)throw new Error("form events require the input to be inside a form");let a,l=Pr(n)?n:this.targetComponentID(e.form,i,o),c=()=>this.putRef([{el:e,loading:!0,lock:!0},{el:e.form,loading:!0,lock:!0}],r,"change",o),u,f=this.extractMeta(e.form);e instanceof HTMLButtonElement&&(f.submitter=e),e.getAttribute(this.binding("change"))?u=Lh(e.form,Y({_target:o._target},f),[e.name]):u=Lh(e.form,Y({_target:o._target},f)),G.isUploadInput(e)&&e.files&&e.files.length>0&&Jt.trackFiles(e,Array.from(e.files)),a=Jt.serializeUploads(e);let d={type:"form",event:r,value:u,uploads:a,cid:l};this.pushWithReply(c,"event",d).then(({resp:O})=>{G.isUploadInput(e)&&G.isAutoUpload(e)?LS.onUnlock(e,()=>{if(Jt.filesAwaitingPreflight(e).length>0){let[m,x]=c();this.undoRefs(m,r,[e.form]),this.uploadFiles(e.form,r,i,m,l,v=>{s&&s(O),this.triggerAwaitingSubmit(e.form,r),this.undoRefs(m,r)})}}):s&&s(O)})}triggerAwaitingSubmit(e,i){let n=this.getScheduledSubmit(e);if(n){let[r,o,s,a]=n;this.cancelSubmit(e,i),a()}}getScheduledSubmit(e){return this.formSubmits.find(([i,n,r,o])=>i.isSameNode(e))}scheduleSubmit(e,i,n,r){if(this.getScheduledSubmit(e))return!0;this.formSubmits.push([e,i,n,r])}cancelSubmit(e,i){this.formSubmits=this.formSubmits.filter(([n,r,o,s])=>n.isSameNode(e)?(this.undoRefs(r,i),!1):!0)}disableForm(e,i,n={}){let r=m=>!(Tc(m,`${this.binding(Mh)}=ignore`,m.form)||Tc(m,"data-phx-update=ignore",m.form)),o=m=>m.hasAttribute(this.binding(vS)),s=m=>m.tagName=="BUTTON",a=m=>["INPUT","TEXTAREA","SELECT"].includes(m.tagName),l=Array.from(e.elements),c=l.filter(o),u=l.filter(s).filter(r),f=l.filter(a).filter(r);u.forEach(m=>{m.setAttribute(Ia,m.disabled),m.disabled=!0}),f.forEach(m=>{m.setAttribute(Vg,m.readOnly),m.readOnly=!0,m.files&&(m.setAttribute(Ia,m.disabled),m.disabled=!0)});let d=c.concat(u).concat(f).map(m=>({el:m,loading:!0,lock:!0})),O=[{el:e,loading:!0,lock:!1}].concat(d).reverse();return this.putRef(O,i,"submit",n)}pushFormSubmit(e,i,n,r,o,s){let a=()=>this.disableForm(e,n,Ee(Y({},o),{form:e,submitter:r})),l=this.targetComponentID(e,i);if(Jt.hasUploadsInProgress(e)){let[c,u]=a(),f=()=>this.pushFormSubmit(e,i,n,r,o,s);return this.scheduleSubmit(e,c,o,f)}else if(Jt.inputsAwaitingPreflight(e).length>0){let[c,u]=a(),f=()=>[c,u,o];this.uploadFiles(e,n,i,c,l,d=>{if(Jt.inputsAwaitingPreflight(e).length>0)return this.undoRefs(c,n);let O=this.extractMeta(e),m=Lh(e,Y({submitter:r},O));this.pushWithReply(f,"event",{type:"form",event:n,value:m,cid:l}).then(({resp:x})=>s(x))})}else if(!(e.hasAttribute(pn)&&e.classList.contains("phx-submit-loading"))){let c=this.extractMeta(e),u=Lh(e,Y({submitter:r},c));this.pushWithReply(a,"event",{type:"form",event:n,value:u,cid:l}).then(({resp:f})=>s(f))}}uploadFiles(e,i,n,r,o,s){let a=this.joinCount,l=Jt.activeFileInputs(e),c=l.length;l.forEach(u=>{let f=new Jt(u,this,()=>{c--,c===0&&s()}),d=f.entries().map(m=>m.toPreflightPayload());if(d.length===0){c--;return}let O={ref:u.getAttribute(Qr),entries:d,cid:this.targetComponentID(u.form,n)};this.log("upload",()=>["sending preflight request",O]),this.pushWithReply(null,"allow_upload",O).then(({resp:m})=>{if(this.log("upload",()=>["got preflight response",m]),f.entries().forEach(x=>{m.entries&&!m.entries[x.ref]&&this.handleFailedEntryPreflight(x.ref,"failed preflight",f)}),m.error||Object.keys(m.entries).length===0)this.undoRefs(r,i),(m.error||[]).map(([v,w])=>{this.handleFailedEntryPreflight(v,w,f)});else{let x=v=>{this.channel.onError(()=>{this.joinCount===a&&v()})};f.initAdapterUpload(m,x,this.liveSocket)}})})}handleFailedEntryPreflight(e,i,n){if(n.isAutoUpload()){let r=n.entries().find(o=>o.ref===e.toString());r&&r.cancel()}else n.entries().map(r=>r.cancel());this.log("upload",()=>[`error for entry ${e}`,i])}dispatchUploads(e,i,n){let r=this.targetCtxElement(e)||this.el,o=G.findUploadInputs(r).filter(s=>s.name===i);o.length===0?Ui(`no live file inputs found matching the name "${i}"`):o.length>1?Ui(`duplicate live file inputs found matching the name "${i}"`):G.dispatchEvent(o[0],BS,{detail:{files:n}})}targetCtxElement(e){if(Pr(e)){let[i]=G.findComponentNodeList(this.el,e);return i}else return e||null}pushFormRecovery(e,i,n,r){let o=this.binding("change"),s=i.getAttribute(this.binding("target"))||i,a=i.getAttribute(this.binding(wS))||i.getAttribute(this.binding("change")),l=Array.from(e.elements).filter(f=>G.isFormInput(f)&&f.name&&!f.hasAttribute(o));if(l.length===0)return;l.forEach(f=>f.hasAttribute(Qr)&&Jt.clearFiles(f));let c=l.find(f=>f.type!=="hidden")||l[0],u=0;this.withinTargets(s,(f,d)=>{let O=this.targetComponentID(i,d);u++;let m=new CustomEvent("phx:form-recovery",{detail:{sourceElement:e}});bt.exec(m,"change",a,this,c,["push",{_target:c.name,targetView:f,targetCtx:d,newCid:O,callback:()=>{u--,u===0&&r()}}])},n,n)}pushLinkPatch(e,i,n,r){let o=this.liveSocket.setPendingLink(i),s=e.isTrusted&&e.type!=="popstate",a=n?()=>this.putRef([{el:n,loading:s,lock:!0}],null,"click"):null,l=()=>this.liveSocket.redirect(window.location.href),c=i.startsWith("/")?`${location.protocol}//${location.host}${i}`:i;this.pushWithReply(a,"live_patch",{url:c}).then(({resp:u})=>{this.liveSocket.requestDOMUpdate(()=>{u.link_redirect?this.liveSocket.replaceMain(i,null,r,o):(this.liveSocket.commitPendingLink(o)&&(this.href=i),this.applyPendingUpdates(),r&&r(o))})},({error:u,timeout:f})=>l())}getFormsForRecovery(){if(this.joinCount===0)return{};let e=this.binding("change");return G.all(this.el,`form[${e}]`).filter(i=>i.id).filter(i=>i.elements.length>0).filter(i=>i.getAttribute(this.binding(wS))!=="ignore").map(i=>i.cloneNode(!0)).reduce((i,n)=>(i[n.id]=n,i),{})}maybePushComponentsDestroyed(e){let i=e.filter(n=>G.findComponentNodeList(this.el,n).length===0);i.length>0&&(i.forEach(n=>this.rendered.resetRender(n)),this.pushWithReply(null,"cids_will_destroy",{cids:i}).then(()=>{this.liveSocket.requestDOMUpdate(()=>{let n=i.filter(r=>G.findComponentNodeList(this.el,r).length===0);n.length>0&&this.pushWithReply(null,"cids_destroyed",{cids:n}).then(({resp:r})=>{this.rendered.pruneCIDs(r.cids)})})}))}ownsElement(e){let i=e.closest(ws);return e.getAttribute(vs)===this.id||i&&i.id===this.id||!i&&this.isDead}submitForm(e,i,n,r,o={}){G.putPrivate(e,Ec,!0),Array.from(e.elements).forEach(a=>G.putPrivate(a,Ec,!0)),this.liveSocket.blurActiveElement(this),this.pushFormSubmit(e,i,n,r,o,()=>{this.liveSocket.restorePreviouslyActiveFocus()})}binding(e){return this.liveSocket.binding(e)}};var eT=class{constructor(t,e,i={}){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,i),this.bindingPrefix=i.bindingPrefix||RD,this.opts=i,this.params=vc(i.params||{}),this.viewLogger=i.viewLogger,this.metadataCallbacks=i.metadata||{},this.defaults=Object.assign(Dh(ID),i.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=Dh(window.location),this.hooks=i.hooks||{},this.uploaders=i.uploaders||{},this.loaderTimeout=i.loaderTimeout||$D,this.reloadWithJitterTimer=null,this.maxReloads=i.maxReloads||yD,this.reloadJitterMin=i.reloadJitterMin||xD,this.reloadJitterMax=i.reloadJitterMax||vD,this.failsafeJitter=i.failsafeJitter||wD,this.localStorage=i.localStorage||window.localStorage,this.sessionStorage=i.sessionStorage||window.sessionStorage,this.boundTopLevelEvents=!1,this.boundEventNames=new Set,this.serverCloseRef=null,this.domCallbacks=Object.assign({jsQuerySelectorAll:null,onPatchStart:vc(),onPatchEnd:vc(),onNodeAdded:vc(),onBeforeElUpdated:vc()},i.dom||{}),this.transitions=new g8,this.currentHistoryPosition=parseInt(this.sessionStorage.getItem(_h))||0,window.addEventListener("pagehide",n=>{this.unloaded=!0}),this.socket.onOpen(()=>{this.isUnloaded()&&window.location.reload()})}version(){return"1.0.5"}isProfileEnabled(){return this.sessionStorage.getItem(Dg)==="true"}isDebugEnabled(){return this.sessionStorage.getItem(Qh)==="true"}isDebugDisabled(){return this.sessionStorage.getItem(Qh)==="false"}enableDebug(){this.sessionStorage.setItem(Qh,"true")}enableProfiling(){this.sessionStorage.setItem(Dg,"true")}disableDebug(){this.sessionStorage.setItem(Qh,"false")}disableProfiling(){this.sessionStorage.removeItem(Dg)}enableLatencySim(t){this.enableDebug(),console.log("latency simulator enabled for the duration of this browser session. Call disableLatencySim() to disable"),this.sessionStorage.setItem(zg,t)}disableLatencySim(){this.sessionStorage.removeItem(zg)}getLatencySim(){let t=this.sessionStorage.getItem(zg);return t?parseInt(t):null}getSocket(){return this.socket}connect(){window.location.hostname==="localhost"&&!this.isDebugDisabled()&&this.enableDebug();let t=()=>{this.resetReloadStatus(),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.serverCloseRef&&(this.socket.off(this.serverCloseRef),this.serverCloseRef=null),this.socket.disconnect(t)}replaceTransport(t){clearTimeout(this.reloadWithJitterTimer),this.socket.replaceTransport(t),this.connect()}execJS(t,e,i=null){let n=new CustomEvent("phx:exec",{detail:{sourceElement:t}});this.owner(t,r=>bt.exec(n,i,e,r,t))}execJSHookPush(t,e,i,n){this.withinOwners(t,r=>{let o=new CustomEvent("phx:exec",{detail:{sourceElement:t}});bt.exec(o,"hook",e,r,t,["push",{data:i,callback:n}])})}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 i=e();return console.timeEnd(t),i}log(t,e,i){if(this.viewLogger){let[n,r]=i();this.viewLogger(t,e,n,r)}else if(this.isDebugEnabled()){let[n,r]=i();ND(t,e,n,r)}}requestDOMUpdate(t){this.transitions.after(t)}transition(t,e,i=function(){}){this.transitions.addTransition(t,e,i)}onChannel(t,e,i){t.on(e,n=>{let r=this.getLatencySim();r?setTimeout(()=>i(n),r):i(n)})}reloadWithJitter(t,e){clearTimeout(this.reloadWithJitterTimer),this.disconnect();let i=this.reloadJitterMin,n=this.reloadJitterMax,r=Math.floor(Math.random()*(n-i+1))+i,o=zi.updateLocal(this.localStorage,window.location.pathname,VS,0,s=>s+1);o>=this.maxReloads&&(r=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())},r)}getHookCallbacks(t){return t&&t.startsWith("Phoenix.")?FD[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(()=>{var i;e.execNewMounted(),this.maybeScroll((i=history.state)==null?void 0:i.scroll)})}}joinRootViews(){let t=!1;return G.all(document,`${ws}:not([${vs}])`,e=>{if(!this.getRootById(e.id)){let i=this.newRootView(e);G.isPhxSticky(e)||i.setHref(this.getHref()),i.join(),e.hasAttribute(Yg)&&(this.main=i)}t=!0}),t}redirect(t,e,i){i&&zi.setCookie(SS,i,60),this.unload(),zi.redirect(t,e)}replaceMain(t,e,i=null,n=this.setPendingLink(t)){let r=this.currentLocation.href;this.outgoingMainEl=this.outgoingMainEl||this.main.el;let o=G.findPhxSticky(document)||[],s=G.all(this.outgoingMainEl,`[${this.binding("remove")}]`).filter(l=>!G.isChildOfAny(l,o)),a=G.cloneNode(this.outgoingMainEl,"");this.main.showLoader(this.loaderTimeout),this.main.destroy(),this.main=this.newRootView(a,e,r),this.main.setRedirect(t),this.transitionRemoves(s),this.main.join((l,c)=>{l===1&&this.commitPendingLink(n)&&this.requestDOMUpdate(()=>{s.forEach(u=>u.remove()),o.forEach(u=>a.appendChild(u)),this.outgoingMainEl.replaceWith(a),this.outgoingMainEl=null,i&&i(n),c()})})}transitionRemoves(t,e){let i=this.binding("remove"),n=r=>{r.preventDefault(),r.stopImmediatePropagation()};t.forEach(r=>{for(let o of this.boundEventNames)r.addEventListener(o,n,!0);this.execJS(r,r.getAttribute(i),"remove")}),this.requestDOMUpdate(()=>{t.forEach(r=>{for(let o of this.boundEventNames)r.removeEventListener(o,n,!0)}),e&&e()})}isPhxView(t){return t.getAttribute&&t.getAttribute(or)!==null}newRootView(t,e,i){let n=new m8(t,this,null,e,i);return this.roots[n.id]=n,n}owner(t,e){let i=So(t.closest(ws),n=>this.getViewByEl(n))||this.main;return i&&e?e(i):i}withinOwners(t,e){this.owner(t,i=>e(i,t))}getViewByEl(t){let e=t.getAttribute(To);return So(this.getRootById(e),i=>i.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(To));e&&e.id===t.id?(e.destroy(),delete this.roots[e.id]):e&&e.destroyDescendent(t.id)}getActiveElement(){return document.activeElement}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.serverCloseRef=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,i,n,r,o,s)=>{let a=r.getAttribute(this.binding(_D)),l=e.key&&e.key.toLowerCase();if(a&&a.toLowerCase()!==l)return;let c=Y({key:e.key},this.eventMeta(i,e,r));bt.exec(e,i,o,n,r,["push",{data:c}])}),this.bind({blur:"focusout",focus:"focusin"},(e,i,n,r,o,s)=>{if(!s){let a=Y({key:e.key},this.eventMeta(i,e,r));bt.exec(e,i,o,n,r,["push",{data:a}])}}),this.bind({blur:"blur",focus:"focus"},(e,i,n,r,o,s)=>{if(s==="window"){let a=this.eventMeta(i,e,r);bt.exec(e,i,o,n,r,["push",{data:a}])}}),this.on("dragover",e=>e.preventDefault()),this.on("drop",e=>{e.preventDefault();let i=So(Tc(e.target,this.binding(mS)),o=>o.getAttribute(this.binding(mS))),n=i&&document.getElementById(i),r=Array.from(e.dataTransfer.files||[]);!n||n.disabled||r.length===0||!(n.files instanceof FileList)||(Jt.trackFiles(n,r,e.dataTransfer),n.dispatchEvent(new Event("input",{bubbles:!0})))}),this.on(BS,e=>{let i=e.target;if(!G.isUploadInput(i))return;let n=Array.from(e.detail.files||[]).filter(r=>r instanceof File||r instanceof Blob);Jt.trackFiles(i,n),i.dispatchEvent(new Event("input",{bubbles:!0}))}))}eventMeta(t,e,i){let n=this.metadataCallbacks[t];return n?n(e,i):{}}setPendingLink(t){return this.linkRef++,this.pendingLink=t,this.resetReloadStatus(),this.linkRef}resetReloadStatus(){zi.deleteCookie(SS)}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 i in t){let n=t[i];this.on(n,r=>{let o=this.binding(i),s=this.binding(`window-${i}`),a=r.target.getAttribute&&r.target.getAttribute(o);a?this.debounce(r.target,r,n,()=>{this.withinOwners(r.target,l=>{e(r,i,l,r.target,a,null)})}):G.all(document,`[${s}]`,l=>{let c=l.getAttribute(s);this.debounce(l,r,n,()=>{this.withinOwners(l,u=>{e(r,i,u,l,c,"window")})})})})}}bindClicks(){this.on("mousedown",t=>this.clickStartedAtTarget=t.target),this.bindClick("click","click")}bindClick(t,e){let i=this.binding(e);window.addEventListener(t,n=>{let r=null;n.detail===0&&(this.clickStartedAtTarget=n.target);let o=this.clickStartedAtTarget||n.target;r=Tc(n.target,i),this.dispatchClickAway(n,o),this.clickStartedAtTarget=null;let s=r&&r.getAttribute(i);if(!s){G.isNewPageClick(n,window.location)&&this.unload();return}r.getAttribute("href")==="#"&&n.preventDefault(),!r.hasAttribute(pn)&&this.debounce(r,n,"click",()=>{this.withinOwners(r,a=>{bt.exec(n,"click",s,a,r,["push",{data:this.eventMeta("click",n,r)}])})})},!1)}dispatchClickAway(t,e){let i=this.binding("click-away");G.all(document,`[${i}]`,n=>{n.isSameNode(e)||n.contains(e)||this.withinOwners(n,r=>{let o=n.getAttribute(i);bt.isVisible(n)&&bt.isInViewport(n)&&bt.exec(t,"click",o,r,n,["push",{data:this.eventMeta("click",t,t.target)}])})})}bindNav(){if(!zi.canPushState())return;history.scrollRestoration&&(history.scrollRestoration="manual");let t=null;window.addEventListener("scroll",e=>{clearTimeout(t),t=setTimeout(()=>{zi.updateCurrentState(i=>Object.assign(i,{scroll:window.scrollY}))},100)}),window.addEventListener("popstate",e=>{if(!this.registerNewLocation(window.location))return;let{type:i,backType:n,id:r,scroll:o,position:s}=e.state||{},a=window.location.href,l=s>this.currentHistoryPosition;i=l?i:n||i,this.currentHistoryPosition=s||0,this.sessionStorage.setItem(_h,this.currentHistoryPosition.toString()),G.dispatchEvent(window,"phx:navigate",{detail:{href:a,patch:i==="patch",pop:!0,direction:l?"forward":"backward"}}),this.requestDOMUpdate(()=>{let c=()=>{this.maybeScroll(o)};this.main.isConnected()&&i==="patch"&&r===this.main.id?this.main.pushLinkPatch(e,a,null,c):this.replaceMain(a,null,c)})},!1),window.addEventListener("click",e=>{let i=Tc(e.target,Lg),n=i&&i.getAttribute(Lg);if(!n||!this.isConnected()||!this.main||G.wantsNewTab(e))return;let r=i.href instanceof SVGAnimatedString?i.href.baseVal:i.href,o=i.getAttribute(SD);e.preventDefault(),e.stopImmediatePropagation(),this.pendingLink!==r&&this.requestDOMUpdate(()=>{if(n==="patch")this.pushHistoryPatch(e,r,o,i);else if(n==="redirect")this.historyRedirect(e,r,o,null,i);else throw new Error(`expected ${Lg} to be "patch" or "redirect", got: ${n}`);let s=i.getAttribute(this.binding("click"));s&&this.requestDOMUpdate(()=>this.execJS(i,s,"click"))})},!1)}maybeScroll(t){typeof t=="number"&&requestAnimationFrame(()=>{window.scrollTo(0,t)})}dispatchEvent(t,e={}){G.dispatchEvent(window,`phx:${t}`,{detail:e})}dispatchEvents(t){t.forEach(([e,i])=>this.dispatchEvent(e,i))}withPageLoading(t,e){G.dispatchEvent(window,"phx:page-loading-start",{detail:t});let i=()=>G.dispatchEvent(window,"phx:page-loading-stop",{detail:t});return e?e(i):i}pushHistoryPatch(t,e,i,n){if(!this.isConnected()||!this.main.isMain())return zi.redirect(e);this.withPageLoading({to:e,kind:"patch"},r=>{this.main.pushLinkPatch(t,e,n,o=>{this.historyPatch(e,i,o),r()})})}historyPatch(t,e,i=this.setPendingLink(t)){this.commitPendingLink(i)&&(this.currentHistoryPosition++,this.sessionStorage.setItem(_h,this.currentHistoryPosition.toString()),zi.updateCurrentState(n=>Ee(Y({},n),{backType:"patch"})),zi.pushState(e,{type:"patch",id:this.main.id,position:this.currentHistoryPosition},t),G.dispatchEvent(window,"phx:navigate",{detail:{patch:!0,href:t,pop:!1,direction:"forward"}}),this.registerNewLocation(window.location))}historyRedirect(t,e,i,n,r){let o=r&&t.isTrusted&&t.type!=="popstate";if(o&&r.classList.add("phx-click-loading"),!this.isConnected()||!this.main.isMain())return zi.redirect(e,n);if(/^\/$|^\/[^\/]+.*$/.test(e)){let{protocol:a,host:l}=window.location;e=`${a}//${l}${e}`}let s=window.scrollY;this.withPageLoading({to:e,kind:"redirect"},a=>{this.replaceMain(e,n,l=>{l===this.linkRef&&(this.currentHistoryPosition++,this.sessionStorage.setItem(_h,this.currentHistoryPosition.toString()),zi.updateCurrentState(c=>Ee(Y({},c),{backType:"redirect"})),zi.pushState(i,{type:"redirect",id:this.main.id,scroll:s,position:this.currentHistoryPosition},e),G.dispatchEvent(window,"phx:navigate",{detail:{href:e,patch:!1,pop:!1,direction:"forward"}}),this.registerNewLocation(window.location)),o&&r.classList.remove("phx-click-loading"),a()})})}registerNewLocation(t){let{pathname:e,search:i}=this.currentLocation;return e+i===t.pathname+t.search?!1:(this.currentLocation=Dh(t),!0)}bindForms(){let t=0,e=!1;this.on("submit",i=>{let n=i.target.getAttribute(this.binding("submit")),r=i.target.getAttribute(this.binding("change"));!e&&r&&!n&&(e=!0,i.preventDefault(),this.withinOwners(i.target,o=>{o.disableForm(i.target),window.requestAnimationFrame(()=>{G.isUnloadableFormSubmit(i)&&this.unload(),i.target.submit()})}))}),this.on("submit",i=>{let n=i.target.getAttribute(this.binding("submit"));if(!n){G.isUnloadableFormSubmit(i)&&this.unload();return}i.preventDefault(),i.target.disabled=!0,this.withinOwners(i.target,r=>{bt.exec(i,"submit",n,r,i.target,["push",{submitter:i.submitter}])})});for(let i of["change","input"])this.on(i,n=>{if(n instanceof CustomEvent&&n.target.form===void 0){if(n.detail&&n.detail.dispatcher)throw new Error(`dispatching a custom ${i} event is only supported on input elements inside a form`);return}let r=this.binding("change"),o=n.target;if(n.isComposing){let O=`composition-listener-${i}`;G.private(o,O)||(G.putPrivate(o,O,!0),o.addEventListener("compositionend",()=>{o.dispatchEvent(new Event(i,{bubbles:!0})),G.deletePrivate(o,O)},{once:!0}));return}let s=o.getAttribute(r),a=o.form&&o.form.getAttribute(r),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}=G.private(o,"prev-iteration")||{};f===u-1&&i==="change"&&d==="input"||(G.putPrivate(o,"prev-iteration",{at:u,type:i}),this.debounce(o,n,i,()=>{this.withinOwners(c,O=>{G.putPrivate(o,zh,!0),bt.exec(n,"change",l,O,o,["push",{_target:n.target.name,dispatcher:c}])})}))});this.on("reset",i=>{let n=i.target;G.resetForm(n);let r=Array.from(n.elements).find(o=>o.type==="reset");r&&window.requestAnimationFrame(()=>{r.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!1}))})})}debounce(t,e,i,n){if(i==="blur"||i==="focusout")return n();let r=this.binding(CD),o=this.binding(QD),s=this.defaults.debounce.toString(),a=this.defaults.throttle.toString();this.withinOwners(t,l=>{let c=()=>!l.isDestroyed()&&document.body.contains(t);G.debounce(t,e,r,s,o,a,c,()=>{n()})})}silenceEvents(t){this.silenced=!0,t(),this.silenced=!1}on(t,e){this.boundEventNames.add(t),window.addEventListener(t,i=>{this.silenced||e(i)})}jsQuerySelectorAll(t,e,i){let n=this.domCallbacks.jsQuerySelectorAll;return n?n(t,e,i):i()}},g8=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,i){e();let n=setTimeout(()=>{this.transitions.delete(n),i(),this.flushPendingOps()},t);this.transitions.add(n)}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 tT="livebook:";function ks(t){try{let e=localStorage.getItem(tT+t);if(e)return JSON.parse(e)}catch(e){console.error(`Failed to load from local storage, reason: ${e.message}`)}}function za(t,e){try{let i=JSON.stringify(e);localStorage.setItem(tT+t,i)}catch(i){console.error(`Failed to write to local storage, reason: ${i.message}`)}}var iT="app_auth_token:";function nT(t,e){za(iT+t,e)}function rT(){let t=window.location.pathname;if(t.startsWith("/apps/")){let e=t.split("/")[2],i=ks(iT+e);if(i)return i}return null}var b8={mounted(){this.handleEvent("persist_app_auth",({slug:t,token:e})=>{nT(t,e),this.pushEvent("app_auth_persisted")})}},oT=b8;function Ot(t,e){let i={};for(let n of e){let r=`data-p-${n}`;if(!t.hasAttribute(r))throw new Error(`Missing attribute "${r}" on element <${t.tagName}:${t.id}>`);let o=t.getAttribute(r);i[y8(n)]=JSON.parse(o)}return i}function y8(t){let[e,...i]=t.split("-");return[e,...i.map(n=>n.charAt(0).toUpperCase()+n.slice(1))].join("")}function sT(t,e,i){let r=new ArrayBuffer(44+t.byteLength),o=new DataView(r),s=t.byteLength/4,a=4,l=e*a,c=i*l,u=s*l,f=0;function d(w){o.setUint32(f,w,!1),f+=4}function O(w){o.setUint32(f,w,!0),f+=4}function m(w){o.setUint16(f,w,!0),f+=2}function x(w){o.setFloat32(f,w,!0),f+=4}d(1380533830),O(36+u),d(1463899717),d(1718449184),O(16),m(3),m(e),O(i),O(c),m(l),m(a*8),d(1684108385),O(u);let v=new Float32Array(t);for(let w=0;w<v.length;w++)x(v[w]);return r}var Pc=4;function aT(t,e){let n=new TextEncoder().encode(JSON.stringify(t)),r=new ArrayBuffer(Pc+n.byteLength+e.byteLength);return new DataView(r).setUint32(0,n.byteLength),new Uint8Array(r,Pc,n.byteLength).set(n),new Uint8Array(r,Pc+n.byteLength).set(new Uint8Array(e)),r}function lT(t){let i=new DataView(t).getUint32(0),n=new Uint8Array(t,Pc,i),r=t.slice(Pc+i),o=new TextDecoder;return[JSON.parse(o.decode(n)),r]}var Gg=["bg-yellow-100","border-yellow-300"],x8={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(...Gg)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...Gg)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...Gg)}),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 Ot(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(n=>{this.loadEncodedAudio(n)})}),this.mediaRecorder.stop()},isRecording(){return this.mediaRecorder&&this.mediaRecorder.state==="recording"},loadFile(t){let e=new FileReader;e.onload=i=>{this.loadEncodedAudio(i.target.result)},e.readAsArrayBuffer(t)},loadEncodedAudio(t){this.pushEventTo(this.props.phxTarget,"decoding",{}),new AudioContext({sampleRate:this.props.samplingRate}).decodeAudioData(t,i=>{let n=v8(i);this.pushAudio(n)})},pushAudio(t){let e={num_channels:t.numChannels,sampling_rate:t.samplingRate},i=this.encodeAudio(t),n=new Blob([i]);n.meta=()=>e,this.uploadTo(this.props.phxTarget,"file",[n])},encodeAudio(t){if(this.props.format==="pcm_f32")return w8(t.data,this.props.endianness);if(this.props.format==="wav")return sT(t.data,t.numChannels,t.samplingRate)}};function v8(t){let e=t.numberOfChannels,i=t.sampleRate,n=t.length,r=4*e*n,o=new ArrayBuffer(r),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:i}}function w8(t,e){if(k8()===e)return t;for(let i=0;i<t.byteLength/4;i++){let n=t[i],r=t[i+1],o=t[i+2],s=t[i+3];t[i]=s,t[i+1]=o,t[i+2]=r,t[i+3]=n}return t}function k8(){let t=new ArrayBuffer(2),e=new Uint16Array(t),i=new Uint8Array(t);return e[0]=1,i[0]===1?"little":"big"}var cT=x8;var uT=11;function S8(t,e){var i=e.attributes,n,r,o,s,a;if(!(e.nodeType===uT||t.nodeType===uT)){for(var l=i.length-1;l>=0;l--)n=i[l],r=n.name,o=n.namespaceURI,s=n.value,o?(r=n.localName||r,a=t.getAttributeNS(o,r),a!==s&&(n.prefix==="xmlns"&&(r=n.name),t.setAttributeNS(o,r,s))):(a=t.getAttribute(r),a!==s&&t.setAttribute(r,s));for(var c=t.attributes,u=c.length-1;u>=0;u--)n=c[u],r=n.name,o=n.namespaceURI,o?(r=n.localName||r,e.hasAttributeNS(o,r)||t.removeAttributeNS(o,r)):e.hasAttribute(r)||t.removeAttribute(r)}}var Nh,T8="http://www.w3.org/1999/xhtml",Ni=typeof document=="undefined"?void 0:document,E8=!!Ni&&"content"in Ni.createElement("template"),P8=!!Ni&&Ni.createRange&&"createContextualFragment"in Ni.createRange();function C8(t){var e=Ni.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function Q8(t){Nh||(Nh=Ni.createRange(),Nh.selectNode(Ni.body));var e=Nh.createContextualFragment(t);return e.childNodes[0]}function _8(t){var e=Ni.createElement("body");return e.innerHTML=t,e.childNodes[0]}function A8(t){return t=t.trim(),E8?C8(t):P8?Q8(t):_8(t)}function qh(t,e){var i=t.nodeName,n=e.nodeName,r,o;return i===n?!0:(r=i.charCodeAt(0),o=n.charCodeAt(0),r<=90&&o>=97?i===n.toUpperCase():o<=90&&r>=97?n===i.toUpperCase():!1)}function $8(t,e){return!e||e===T8?Ni.createElement(t):Ni.createElementNS(e,t)}function X8(t,e){for(var i=t.firstChild;i;){var n=i.nextSibling;e.appendChild(i),i=n}return e}function Kg(t,e,i){t[i]!==e[i]&&(t[i]=e[i],t[i]?t.setAttribute(i,""):t.removeAttribute(i))}var fT={OPTION:function(t,e){var i=t.parentNode;if(i){var n=i.nodeName.toUpperCase();n==="OPTGROUP"&&(i=i.parentNode,n=i&&i.nodeName.toUpperCase()),n==="SELECT"&&!i.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),i.selectedIndex=-1)}Kg(t,e,"selected")},INPUT:function(t,e){Kg(t,e,"checked"),Kg(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var i=e.value;t.value!==i&&(t.value=i);var n=t.firstChild;if(n){var r=n.nodeValue;if(r==i||!i&&r==t.placeholder)return;n.nodeValue=i}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var i=-1,n=0,r=t.firstChild,o,s;r;)if(s=r.nodeName&&r.nodeName.toUpperCase(),s==="OPTGROUP")o=r,r=o.firstChild;else{if(s==="OPTION"){if(r.hasAttribute("selected")){i=n;break}n++}r=r.nextSibling,!r&&o&&(r=o.nextSibling,o=null)}t.selectedIndex=i}}},Cc=1,hT=11,dT=3,OT=8;function Eo(){}function R8(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function L8(t){return function(i,n,r){if(r||(r={}),typeof n=="string")if(i.nodeName==="#document"||i.nodeName==="HTML"||i.nodeName==="BODY"){var o=n;n=Ni.createElement("html"),n.innerHTML=o}else n=A8(n);else n.nodeType===hT&&(n=n.firstElementChild);var s=r.getNodeKey||R8,a=r.onBeforeNodeAdded||Eo,l=r.onNodeAdded||Eo,c=r.onBeforeElUpdated||Eo,u=r.onElUpdated||Eo,f=r.onBeforeNodeDiscarded||Eo,d=r.onNodeDiscarded||Eo,O=r.onBeforeElChildrenUpdated||Eo,m=r.skipFromChildren||Eo,x=r.addChild||function(j,ue){return j.appendChild(ue)},v=r.childrenOnly===!0,w=Object.create(null),T=[];function A(j){T.push(j)}function L(j,ue){if(j.nodeType===Cc)for(var Z=j.firstChild;Z;){var C=void 0;ue&&(C=s(Z))?A(C):(d(Z),Z.firstChild&&L(Z,ue)),Z=Z.nextSibling}}function D(j,ue,Z){f(j)!==!1&&(ue&&ue.removeChild(j),d(j),L(j,Z))}function P(j){if(j.nodeType===Cc||j.nodeType===hT)for(var ue=j.firstChild;ue;){var Z=s(ue);Z&&(w[Z]=ue),P(ue),ue=ue.nextSibling}}P(i);function N(j){l(j);for(var ue=j.firstChild;ue;){var Z=ue.nextSibling,C=s(ue);if(C){var W=w[C];W&&qh(ue,W)?(ue.parentNode.replaceChild(W,ue),H(W,ue)):N(ue)}else N(ue);ue=Z}}function le(j,ue,Z){for(;ue;){var C=ue.nextSibling;(Z=s(ue))?A(Z):D(ue,j,!0),ue=C}}function H(j,ue,Z){var C=s(ue);if(C&&delete w[C],!Z){var W=c(j,ue);if(W===!1||(W instanceof HTMLElement&&(j=W,P(j)),t(j,ue),u(j),O(j,ue)===!1))return}j.nodeName!=="TEXTAREA"?M(j,ue):fT.TEXTAREA(j,ue)}function M(j,ue){var Z=m(j,ue),C=ue.firstChild,W=j.firstChild,oe,I,Ne,We,Ve;e:for(;C;){for(We=C.nextSibling,oe=s(C);!Z&&W;){if(Ne=W.nextSibling,C.isSameNode&&C.isSameNode(W)){C=We,W=Ne;continue e}I=s(W);var Et=W.nodeType,Xe=void 0;if(Et===C.nodeType&&(Et===Cc?(oe?oe!==I&&((Ve=w[oe])?Ne===Ve?Xe=!1:(j.insertBefore(Ve,W),I?A(I):D(W,j,!0),W=Ve,I=s(W)):Xe=!1):I&&(Xe=!1),Xe=Xe!==!1&&qh(W,C),Xe&&H(W,C)):(Et===dT||Et==OT)&&(Xe=!0,W.nodeValue!==C.nodeValue&&(W.nodeValue=C.nodeValue))),Xe){C=We,W=Ne;continue e}I?A(I):D(W,j,!0),W=Ne}if(oe&&(Ve=w[oe])&&qh(Ve,C))Z||x(j,Ve),H(Ve,C);else{var Rt=a(C);Rt!==!1&&(Rt&&(C=Rt),C.actualize&&(C=C.actualize(j.ownerDocument||Ni)),x(j,C),N(C))}C=We,W=Ne}le(j,W,I);var Lt=fT[j.nodeName];Lt&&Lt(j,ue)}var ie=i,ne=ie.nodeType,re=n.nodeType;if(!v){if(ne===Cc)re===Cc?qh(i,n)||(d(i),ie=X8(i,$8(n.nodeName,n.namespaceURI))):ie=n;else if(ne===dT||ne===OT){if(re===ne)return ie.nodeValue!==n.nodeValue&&(ie.nodeValue=n.nodeValue),ie;ie=n}}if(ie===n)d(i);else{if(n.isSameNode&&n.isSameNode(ie))return;if(H(ie,n,v),T)for(var de=0,pe=T.length;de<pe;de++){var ve=w[T[de]];ve&&D(ve,ve.parentNode,!1)}}return!v&&ie!==i&&i.parentNode&&(ie.actualize&&(ie=ie.actualize(i.ownerDocument||Ni)),i.parentNode.replaceChild(ie,i)),ie}}var I8=L8(S8),pT=I8;function Jg(t){if(t)throw t}var Vh=Xa(ST(),1);function Qc(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 TT(){let t=[],e={run:i,use:n};return e;function i(...r){let o=-1,s=r.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);a(null,...r);function a(l,...c){let u=t[++o],f=-1;if(l){s(l);return}for(;++f<r.length;)(c[f]===null||c[f]===void 0)&&(c[f]=r[f]);r=c,u?D8(u,a)(...c):s(null,...c)}}function n(r){if(typeof r!="function")throw new TypeError("Expected `middelware` to be a function, not "+r);return t.push(r),e}}function D8(t,e){let i;return n;function n(...s){let a=t.length>s.length,l;a&&s.push(r);try{l=t.apply(this,s)}catch(c){let u=c;if(a&&i)throw u;return r(u)}a||(l instanceof Promise?l.then(o,r):l instanceof Error?r(l):o(l))}function r(s,...a){i||(i=!0,e(s,...a))}function o(s){r(null,s)}}function t0(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?ET(t.position):"start"in t||"end"in t?ET(t):"line"in t||"column"in t?e0(t):""}function e0(t){return PT(t&&t.line)+":"+PT(t&&t.column)}function ET(t){return e0(t&&t.start)+"-"+e0(t&&t.end)}function PT(t){return t&&typeof t=="number"?t:1}var Zt=class extends Error{constructor(e,i,n){super(),typeof i=="string"&&(n=i,i=void 0);let r="",o={},s=!1;if(i&&("line"in i&&"column"in i?o={place:i}:"start"in i&&"end"in i?o={place:i}:"type"in i?o={ancestors:[i],place:i.position}:o=Y({},i)),typeof e=="string"?r=e:!o.cause&&e&&(s=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&typeof n=="string"){let l=n.indexOf(":");l===-1?o.ruleId=n:(o.source=n.slice(0,l),o.ruleId=n.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=r,this.line=a?a.line:void 0,this.name=t0(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}};Zt.prototype.file="";Zt.prototype.name="";Zt.prototype.reason="";Zt.prototype.message="";Zt.prototype.stack="";Zt.prototype.column=void 0;Zt.prototype.line=void 0;Zt.prototype.ancestors=void 0;Zt.prototype.cause=void 0;Zt.prototype.fatal=void 0;Zt.prototype.place=void 0;Zt.prototype.ruleId=void 0;Zt.prototype.source=void 0;var Dn={basename:z8,dirname:U8,extname:M8,join:N8,sep:"/"};function z8(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');_c(t);let i=0,n=-1,r=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;r--;)if(t.codePointAt(r)===47){if(o){i=r+1;break}}else n<0&&(o=!0,n=r+1);return n<0?"":t.slice(i,n)}if(e===t)return"";let s=-1,a=e.length-1;for(;r--;)if(t.codePointAt(r)===47){if(o){i=r+1;break}}else s<0&&(o=!0,s=r+1),a>-1&&(t.codePointAt(r)===e.codePointAt(a--)?a<0&&(n=r):(a=-1,n=s));return i===n?n=s:n<0&&(n=t.length),t.slice(i,n)}function U8(t){if(_c(t),t.length===0)return".";let e=-1,i=t.length,n;for(;--i;)if(t.codePointAt(i)===47){if(n){e=i;break}}else n||(n=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function M8(t){_c(t);let e=t.length,i=-1,n=0,r=-1,o=0,s;for(;e--;){let a=t.codePointAt(e);if(a===47){if(s){n=e+1;break}continue}i<0&&(s=!0,i=e+1),a===46?r<0?r=e:o!==1&&(o=1):r>-1&&(o=-1)}return r<0||i<0||o===0||o===1&&r===i-1&&r===n+1?"":t.slice(r,i)}function N8(...t){let e=-1,i;for(;++e<t.length;)_c(t[e]),t[e]&&(i=i===void 0?t[e]:i+"/"+t[e]);return i===void 0?".":q8(i)}function q8(t){_c(t);let e=t.codePointAt(0)===47,i=j8(t,!e);return i.length===0&&!e&&(i="."),i.length>0&&t.codePointAt(t.length-1)===47&&(i+="/"),e?"/"+i:i}function j8(t,e){let i="",n=0,r=-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(!(r===s-1||o===1))if(r!==s-1&&o===2){if(i.length<2||n!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(l=i.lastIndexOf("/"),l!==i.length-1){l<0?(i="",n=0):(i=i.slice(0,l),n=i.length-1-i.lastIndexOf("/")),r=s,o=0;continue}}else if(i.length>0){i="",n=0,r=s,o=0;continue}}e&&(i=i.length>0?i+"/..":"..",n=2)}else i.length>0?i+="/"+t.slice(r+1,s):i=t.slice(r+1,s),n=s-r-1;r=s,o=0}else a===46&&o>-1?o++:o=-1}return i}function _c(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var CT={cwd:W8};function W8(){return"/"}function Ua(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function QT(t){if(typeof t=="string")t=new URL(t);else if(!Ua(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 V8(t)}function V8(t){if(t.hostname!==""){let n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}let e=t.pathname,i=-1;for(;++i<e.length;)if(e.codePointAt(i)===37&&e.codePointAt(i+1)===50){let n=e.codePointAt(i+2);if(n===70||n===102){let r=new TypeError("File URL path must not include encoded / characters");throw r.code="ERR_INVALID_FILE_URL_PATH",r}}return decodeURIComponent(e)}var i0=["history","path","basename","stem","extname","dirname"],Po=class{constructor(e){let i;e?Ua(e)?i={path:e}:typeof e=="string"||Z8(e)?i={value:e}:i=e:i={},this.cwd=CT.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<i0.length;){let o=i0[n];o in i&&i[o]!==void 0&&i[o]!==null&&(this[o]=o==="history"?[...i[o]]:i[o])}let r;for(r in i)i0.includes(r)||(this[r]=i[r])}get basename(){return typeof this.path=="string"?Dn.basename(this.path):void 0}set basename(e){r0(e,"basename"),n0(e,"basename"),this.path=Dn.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?Dn.dirname(this.path):void 0}set dirname(e){_T(this.basename,"dirname"),this.path=Dn.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?Dn.extname(this.path):void 0}set extname(e){if(n0(e,"extname"),_T(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=Dn.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Ua(e)&&(e=QT(e)),r0(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?Dn.basename(this.path,this.extname):void 0}set stem(e){r0(e,"stem"),n0(e,"stem"),this.path=Dn.join(this.dirname||"",e+(this.extname||""))}fail(e,i,n){let r=this.message(e,i,n);throw r.fatal=!0,r}info(e,i,n){let r=this.message(e,i,n);return r.fatal=void 0,r}message(e,i,n){let r=new Zt(e,i,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}};function n0(t,e){if(t&&t.includes(Dn.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+Dn.sep+"`")}function r0(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function _T(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function Z8(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var AT=function(t){let n=this.constructor.prototype,r=n[t],o=function(){return r.apply(o,arguments)};return Object.setPrototypeOf(o,n),o};var B8={}.hasOwnProperty,l0=class t extends AT{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=TT()}copy(){let e=new t,i=-1;for(;++i<this.attachers.length;){let n=this.attachers[i];e.use(...n)}return e.data((0,Vh.default)(!0,{},this.namespace)),e}data(e,i){return typeof e=="string"?arguments.length===2?(a0("data",this.frozen),this.namespace[e]=i,this):B8.call(this.namespace,e)&&this.namespace[e]||void 0:e?(a0("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[i,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=i.call(e,...n);typeof r=="function"&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let i=Wh(e),n=this.parser||this.Parser;return o0("parse",n),n(String(i),i)}process(e,i){let n=this;return this.freeze(),o0("process",this.parser||this.Parser),s0("process",this.compiler||this.Compiler),i?r(void 0,i):new Promise(r);function r(o,s){let a=Wh(e),l=n.parse(a);n.run(l,a,function(u,f,d){if(u||!f||!d)return c(u);let O=f,m=n.stringify(O,d);F8(m)?d.value=m:d.result=m,c(u,d)});function c(u,f){u||!f?s(u):o?o(f):i(void 0,f)}}}processSync(e){let i=!1,n;return this.freeze(),o0("processSync",this.parser||this.Parser),s0("processSync",this.compiler||this.Compiler),this.process(e,r),XT("processSync","process",i),n;function r(o,s){i=!0,Jg(o),n=s}}run(e,i,n){$T(e),this.freeze();let r=this.transformers;return!n&&typeof i=="function"&&(n=i,i=void 0),n?o(void 0,n):new Promise(o);function o(s,a){let l=Wh(i);r.run(e,l,c);function c(u,f,d){let O=f||e;u?a(u):s?s(O):n(void 0,O,d)}}}runSync(e,i){let n=!1,r;return this.run(e,i,o),XT("runSync","run",n),r;function o(s,a){Jg(s),r=a,n=!0}}stringify(e,i){this.freeze();let n=Wh(i),r=this.compiler||this.Compiler;return s0("stringify",r),$T(e),r(e,n)}use(e,...i){let n=this.attachers,r=this.namespace;if(a0("use",this.frozen),e!=null)if(typeof e=="function")l(e,i);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&&(r.settings=(0,Vh.default)(!0,r.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<n.length;)if(n[f][0]===c){d=f;break}if(d===-1)n.push([c,...u]);else if(u.length>0){let[O,...m]=u,x=n[d][1];Qc(x)&&Qc(O)&&(O=(0,Vh.default)(!0,x,O)),n[d]=[c,O,...m]}}}},Zh=new l0().freeze();function o0(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function s0(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function a0(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 $T(t){if(!Qc(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function XT(t,e,i){if(!i)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function Wh(t){return Y8(t)?t:new Po(t)}function Y8(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function F8(t){return typeof t=="string"||H8(t)}function H8(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var G8={};function c0(t,e){let i=e||G8,n=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,r=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return LT(t,n,r)}function LT(t,e,i){if(K8(t)){if("value"in t)return t.type==="html"&&!i?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return RT(t.children,e,i)}return Array.isArray(t)?RT(t,e,i):""}function RT(t,e,i){let n=[],r=-1;for(;++r<t.length;)n[r]=LT(t[r],e,i);return n.join("")}function K8(t){return!!(t&&typeof t=="object")}var IT=document.createElement("i");function Ma(t){let e="&"+t+";";IT.innerHTML=e;let i=IT.textContent;return i.charCodeAt(i.length-1)===59&&t!=="semi"||i===e?!1:i}function ai(t,e,i,n){let r=t.length,o=0,s;if(e<0?e=-e>r?0:r+e:e=e>r?r:e,i=i>0?i:0,n.length<1e4)s=Array.from(n),s.unshift(e,i),t.splice(...s);else for(i&&t.splice(e,i);o<n.length;)s=n.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}function Ci(t,e){return t.length>0?(ai(t,t.length,0,e),t):e}var DT={}.hasOwnProperty;function zT(t){let e={},i=-1;for(;++i<t.length;)J8(e,t[i]);return e}function J8(t,e){let i;for(i in e){let r=(DT.call(t,i)?t[i]:void 0)||(t[i]={}),o=e[i],s;if(o)for(s in o){DT.call(r,s)||(r[s]=[]);let a=o[s];ez(r[s],Array.isArray(a)?a:a?[a]:[])}}}function ez(t,e){let i=-1,n=[];for(;++i<e.length;)(e[i].add==="after"?t:n).push(e[i]);ai(t,0,0,n)}function Bh(t,e){let i=Number.parseInt(t,e);return i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?"\uFFFD":String.fromCharCode(i)}function _r(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var tz=Co(new RegExp("\\p{P}","u")),en=Co(/[A-Za-z]/),Qi=Co(/[\dA-Za-z]/),UT=Co(/[#-'*+\--9=?A-Z^-~]/);function Ac(t){return t!==null&&(t<32||t===127)}var $c=Co(/\d/),MT=Co(/[\dA-Fa-f]/),u0=Co(/[!-/:-@[-`{-~]/);function Te(t){return t!==null&&t<-2}function jt(t){return t!==null&&(t<0||t===32)}function Le(t){return t===-2||t===-1||t===32}function NT(t){return u0(t)||tz(t)}var qT=Co(/\s/);function Co(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function Ie(t,e,i,n){let r=n?n-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Le(l)?(t.enter(i),a(l)):e(l)}function a(l){return Le(l)&&o++<r?(t.consume(l),a):(t.exit(i),e(l))}}var jT={tokenize:iz};function iz(t){let e=t.attempt(this.parser.constructs.contentInitial,n,r),i;return e;function n(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),Ie(t,e,"linePrefix")}function r(a){return t.enter("paragraph"),o(a)}function o(a){let l=t.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=l),i=l,s(a)}function s(a){if(a===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(a);return}return Te(a)?(t.consume(a),t.exit("chunkText"),o):(t.consume(a),s)}}var VT={tokenize:nz},WT={tokenize:rz};function nz(t){let e=this,i=[],n=0,r,o,s;return a;function a(A){if(n<i.length){let L=i[n];return e.containerState=L[1],t.attempt(L[0].continuation,l,c)(A)}return c(A)}function l(A){if(n++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,r&&T();let L=e.events.length,D=L,P;for(;D--;)if(e.events[D][0]==="exit"&&e.events[D][1].type==="chunkFlow"){P=e.events[D][1].end;break}w(n);let N=L;for(;N<e.events.length;)e.events[N][1].end=Object.assign({},P),N++;return ai(e.events,D+1,0,e.events.slice(L)),e.events.length=N,c(A)}return a(A)}function c(A){if(n===i.length){if(!r)return d(A);if(r.currentConstruct&&r.currentConstruct.concrete)return m(A);e.interrupt=!!(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(WT,u,f)(A)}function u(A){return r&&T(),w(n),d(A)}function f(A){return e.parser.lazy[e.now().line]=n!==i.length,s=e.now().offset,m(A)}function d(A){return e.containerState={},t.attempt(WT,O,m)(A)}function O(A){return n++,i.push([e.currentConstruct,e.containerState]),d(A)}function m(A){if(A===null){r&&T(),w(0),t.consume(A);return}return r=r||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),x(A)}function x(A){if(A===null){v(t.exit("chunkFlow"),!0),w(0),t.consume(A);return}return Te(A)?(t.consume(A),v(t.exit("chunkFlow")),n=0,e.interrupt=void 0,a):(t.consume(A),x)}function v(A,L){let D=e.sliceStream(A);if(L&&D.push(null),A.previous=o,o&&(o.next=A),o=A,r.defineSkip(A.start),r.write(D),e.parser.lazy[A.start.line]){let P=r.events.length;for(;P--;)if(r.events[P][1].start.offset<s&&(!r.events[P][1].end||r.events[P][1].end.offset>s))return;let N=e.events.length,le=N,H,M;for(;le--;)if(e.events[le][0]==="exit"&&e.events[le][1].type==="chunkFlow"){if(H){M=e.events[le][1].end;break}H=!0}for(w(n),P=N;P<e.events.length;)e.events[P][1].end=Object.assign({},M),P++;ai(e.events,le+1,0,e.events.slice(N)),e.events.length=P}}function w(A){let L=i.length;for(;L-- >A;){let D=i[L];e.containerState=D[1],D[0].exit.call(e,t)}i.length=A}function T(){r.write([null]),o=void 0,r=void 0,e.containerState._closeFlow=void 0}}function rz(t,e,i){return Ie(t,t.attempt(this.parser.constructs.document,e,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function f0(t){if(t===null||jt(t)||qT(t))return 1;if(NT(t))return 2}function Na(t,e,i){let n=[],r=-1;for(;++r<t.length;){let o=t[r].resolveAll;o&&!n.includes(o)&&(e=o(e,i),n.push(o))}return e}var Xc={name:"attention",tokenize:sz,resolveAll:oz};function oz(t,e){let i=-1,n,r,o,s,a,l,c,u;for(;++i<t.length;)if(t[i][0]==="enter"&&t[i][1].type==="attentionSequence"&&t[i][1]._close){for(n=i;n--;)if(t[n][0]==="exit"&&t[n][1].type==="attentionSequence"&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[i][1]).charCodeAt(0)){if((t[n][1]._close||t[i][1]._open)&&(t[i][1].end.offset-t[i][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[i][1].end.offset-t[i][1].start.offset)%3))continue;l=t[n][1].end.offset-t[n][1].start.offset>1&&t[i][1].end.offset-t[i][1].start.offset>1?2:1;let f=Object.assign({},t[n][1].end),d=Object.assign({},t[i][1].start);ZT(f,-l),ZT(d,l),s={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[n][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[i][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},t[n][1].end),end:Object.assign({},t[i][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},a.end)},t[n][1].end=Object.assign({},s.start),t[i][1].start=Object.assign({},a.end),c=[],t[n][1].end.offset-t[n][1].start.offset&&(c=Ci(c,[["enter",t[n][1],e],["exit",t[n][1],e]])),c=Ci(c,[["enter",r,e],["enter",s,e],["exit",s,e],["enter",o,e]]),c=Ci(c,Na(e.parser.constructs.insideSpan.null,t.slice(n+1,i),e)),c=Ci(c,[["exit",o,e],["enter",a,e],["exit",a,e],["exit",r,e]]),t[i][1].end.offset-t[i][1].start.offset?(u=2,c=Ci(c,[["enter",t[i][1],e],["exit",t[i][1],e]])):u=0,ai(t,n-1,i-n+3,c),i=n+c.length-u-2;break}}for(i=-1;++i<t.length;)t[i][1].type==="attentionSequence"&&(t[i][1].type="data");return t}function sz(t,e){let i=this.parser.constructs.attentionMarkers.null,n=this.previous,r=f0(n),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=f0(l),f=!u||u===2&&r||i.includes(l),d=!r||r===2&&u||i.includes(n);return c._open=!!(o===42?f:f&&(r||!d)),c._close=!!(o===42?d:d&&(u||!f)),e(l)}}function ZT(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}var h0={name:"autolink",tokenize:az};function az(t,e,i){let n=0;return r;function r(O){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(O),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),o}function o(O){return en(O)?(t.consume(O),s):c(O)}function s(O){return O===43||O===45||O===46||Qi(O)?(n=1,a(O)):c(O)}function a(O){return O===58?(t.consume(O),n=0,l):(O===43||O===45||O===46||Qi(O))&&n++<32?(t.consume(O),a):(n=0,c(O))}function l(O){return O===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(O),t.exit("autolinkMarker"),t.exit("autolink"),e):O===null||O===32||O===60||Ac(O)?i(O):(t.consume(O),l)}function c(O){return O===64?(t.consume(O),u):UT(O)?(t.consume(O),c):i(O)}function u(O){return Qi(O)?f(O):i(O)}function f(O){return O===46?(t.consume(O),n=0,u):O===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(O),t.exit("autolinkMarker"),t.exit("autolink"),e):d(O)}function d(O){if((O===45||Qi(O))&&n++<63){let m=O===45?d:f;return t.consume(O),m}return i(O)}}var Qo={tokenize:lz,partial:!0};function lz(t,e,i){return n;function n(o){return Le(o)?Ie(t,r,"linePrefix")(o):r(o)}function r(o){return o===null||Te(o)?e(o):i(o)}}var Yh={name:"blockQuote",tokenize:cz,continuation:{tokenize:uz},exit:fz};function cz(t,e,i){let n=this;return r;function r(s){if(s===62){let a=n.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 i(s)}function o(s){return Le(s)?(t.enter("blockQuotePrefixWhitespace"),t.consume(s),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(s))}}function uz(t,e,i){let n=this;return r;function r(s){return Le(s)?Ie(t,o,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):o(s)}function o(s){return t.attempt(Yh,e,i)(s)}}function fz(t){t.exit("blockQuote")}var Fh={name:"characterEscape",tokenize:hz};function hz(t,e,i){return n;function n(o){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(o),t.exit("escapeMarker"),r}function r(o){return u0(o)?(t.enter("characterEscapeValue"),t.consume(o),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):i(o)}}var Hh={name:"characterReference",tokenize:dz};function dz(t,e,i){let n=this,r=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=Qi,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=MT,u):(t.enter("characterReferenceValue"),o=7,s=$c,u(f))}function u(f){if(f===59&&r){let d=t.exit("characterReferenceValue");return s===Qi&&!Ma(n.sliceSerialize(d))?i(f):(t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return s(f)&&r++<o?(t.consume(f),u):i(f)}}var BT={tokenize:pz,partial:!0},Gh={name:"codeFenced",tokenize:Oz,concrete:!0};function Oz(t,e,i){let n=this,r={tokenize:D,partial:!0},o=0,s=0,a;return l;function l(P){return c(P)}function c(P){let N=n.events[n.events.length-1];return o=N&&N[1].type==="linePrefix"?N[2].sliceSerialize(N[1],!0).length:0,a=P,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),u(P)}function u(P){return P===a?(s++,t.consume(P),u):s<3?i(P):(t.exit("codeFencedFenceSequence"),Le(P)?Ie(t,f,"whitespace")(P):f(P))}function f(P){return P===null||Te(P)?(t.exit("codeFencedFence"),n.interrupt?e(P):t.check(BT,x,L)(P)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),d(P))}function d(P){return P===null||Te(P)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),f(P)):Le(P)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Ie(t,O,"whitespace")(P)):P===96&&P===a?i(P):(t.consume(P),d)}function O(P){return P===null||Te(P)?f(P):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),m(P))}function m(P){return P===null||Te(P)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),f(P)):P===96&&P===a?i(P):(t.consume(P),m)}function x(P){return t.attempt(r,L,v)(P)}function v(P){return t.enter("lineEnding"),t.consume(P),t.exit("lineEnding"),w}function w(P){return o>0&&Le(P)?Ie(t,T,"linePrefix",o+1)(P):T(P)}function T(P){return P===null||Te(P)?t.check(BT,x,L)(P):(t.enter("codeFlowValue"),A(P))}function A(P){return P===null||Te(P)?(t.exit("codeFlowValue"),T(P)):(t.consume(P),A)}function L(P){return t.exit("codeFenced"),e(P)}function D(P,N,le){let H=0;return M;function M(pe){return P.enter("lineEnding"),P.consume(pe),P.exit("lineEnding"),ie}function ie(pe){return P.enter("codeFencedFence"),Le(pe)?Ie(P,ne,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(pe):ne(pe)}function ne(pe){return pe===a?(P.enter("codeFencedFenceSequence"),re(pe)):le(pe)}function re(pe){return pe===a?(H++,P.consume(pe),re):H>=s?(P.exit("codeFencedFenceSequence"),Le(pe)?Ie(P,de,"whitespace")(pe):de(pe)):le(pe)}function de(pe){return pe===null||Te(pe)?(P.exit("codeFencedFence"),N(pe)):le(pe)}}}function pz(t,e,i){let n=this;return r;function r(s){return s===null?i(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o)}function o(s){return n.parser.lazy[n.now().line]?i(s):e(s)}}var Rc={name:"codeIndented",tokenize:gz},mz={tokenize:bz,partial:!0};function gz(t,e,i){let n=this;return r;function r(c){return t.enter("codeIndented"),Ie(t,o,"linePrefix",5)(c)}function o(c){let u=n.events[n.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?s(c):i(c)}function s(c){return c===null?l(c):Te(c)?t.attempt(mz,s,l)(c):(t.enter("codeFlowValue"),a(c))}function a(c){return c===null||Te(c)?(t.exit("codeFlowValue"),s(c)):(t.consume(c),a)}function l(c){return t.exit("codeIndented"),e(c)}}function bz(t,e,i){let n=this;return r;function r(s){return n.parser.lazy[n.now().line]?i(s):Te(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),r):Ie(t,o,"linePrefix",5)(s)}function o(s){let a=n.events[n.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):Te(s)?r(s):i(s)}}var d0={name:"codeText",tokenize:vz,resolve:yz,previous:xz};function yz(t){let e=t.length-4,i=3,n,r;if((t[i][1].type==="lineEnding"||t[i][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(n=i;++n<e;)if(t[n][1].type==="codeTextData"){t[i][1].type="codeTextPadding",t[e][1].type="codeTextPadding",i+=2,e-=2;break}}for(n=i-1,e++;++n<=e;)r===void 0?n!==e&&t[n][1].type!=="lineEnding"&&(r=n):(n===e||t[n][1].type==="lineEnding")&&(t[r][1].type="codeTextData",n!==r+2&&(t[r][1].end=t[n-1][1].end,t.splice(r+2,n-r-2),e-=n-r-2,n=r+2),r=void 0);return t}function xz(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function vz(t,e,i){let n=this,r=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),r++,l):(t.exit("codeTextSequence"),c(d))}function c(d){return d===null?i(d):d===32?(t.enter("space"),t.consume(d),t.exit("space"),c):d===96?(s=t.enter("codeTextSequence"),o=0,f(d)):Te(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||Te(d)?(t.exit("codeTextData"),c(d)):(t.consume(d),u)}function f(d){return d===96?(t.consume(d),o++,f):o===r?(t.exit("codeTextSequence"),t.exit("codeText"),e(d)):(s.type="codeTextData",u(d))}}function Kh(t){let e={},i=-1,n,r,o,s,a,l,c;for(;++i<t.length;){for(;i in e;)i=e[i];if(n=t[i],i&&n[1].type==="chunkFlow"&&t[i-1][1].type==="listItemPrefix"&&(l=n[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(n[0]==="enter")n[1].contentType&&(Object.assign(e,wz(t,i)),i=e[i],c=!0);else if(n[1]._container){for(o=i,r=void 0;o--&&(s=t[o],s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(r&&(t[r][1].type="lineEndingBlank"),s[1].type="lineEnding",r=o);r&&(n[1].end=Object.assign({},t[r][1].start),a=t.slice(r,i),a.unshift(n),ai(t,r,i-r+1,a))}}return!c}function wz(t,e){let i=t[e][1],n=t[e][2],r=e-1,o=[],s=i._tokenizer||n.parser[i.contentType](i.start),a=s.events,l=[],c={},u,f,d=-1,O=i,m=0,x=0,v=[x];for(;O;){for(;t[++r][1]!==O;);o.push(r),O._tokenizer||(u=n.sliceStream(O),O.next||u.push(null),f&&s.defineSkip(O.start),O._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),O._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=O,O=O.next}for(O=i;++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&&(x=d+1,v.push(x),O._tokenizer=void 0,O.previous=void 0,O=O.next);for(s.events=[],O?(O._tokenizer=void 0,O.previous=void 0):v.pop(),d=v.length;d--;){let w=a.slice(v[d],v[d+1]),T=o.pop();l.unshift([T,T+w.length-1]),ai(t,T,2,w)}for(d=-1;++d<l.length;)c[m+l[d][0]]=m+l[d][1],m+=l[d][1]-l[d][0]-1;return c}var O0={tokenize:Tz,resolve:Sz},kz={tokenize:Ez,partial:!0};function Sz(t){return Kh(t),t}function Tz(t,e){let i;return n;function n(a){return t.enter("content"),i=t.enter("chunkContent",{contentType:"content"}),r(a)}function r(a){return a===null?o(a):Te(a)?t.check(kz,s,o)(a):(t.consume(a),r)}function o(a){return t.exit("chunkContent"),t.exit("content"),e(a)}function s(a){return t.consume(a),t.exit("chunkContent"),i.next=t.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,r}}function Ez(t,e,i){let n=this;return r;function r(s){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),Ie(t,o,"linePrefix")}function o(s){if(s===null||Te(s))return i(s);let a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):t.interrupt(n.parser.constructs.flow,i,e)(s)}}function Jh(t,e,i,n,r,o,s,a,l){let c=l||Number.POSITIVE_INFINITY,u=0;return f;function f(w){return w===60?(t.enter(n),t.enter(r),t.enter(o),t.consume(w),t.exit(o),d):w===null||w===32||w===41||Ac(w)?i(w):(t.enter(n),t.enter(s),t.enter(a),t.enter("chunkString",{contentType:"string"}),x(w))}function d(w){return w===62?(t.enter(o),t.consume(w),t.exit(o),t.exit(r),t.exit(n),e):(t.enter(a),t.enter("chunkString",{contentType:"string"}),O(w))}function O(w){return w===62?(t.exit("chunkString"),t.exit(a),d(w)):w===null||w===60||Te(w)?i(w):(t.consume(w),w===92?m:O)}function m(w){return w===60||w===62||w===92?(t.consume(w),O):O(w)}function x(w){return!u&&(w===null||w===41||jt(w))?(t.exit("chunkString"),t.exit(a),t.exit(s),t.exit(n),e(w)):u<c&&w===40?(t.consume(w),u++,x):w===41?(t.consume(w),u--,x):w===null||w===32||w===40||Ac(w)?i(w):(t.consume(w),w===92?v:x)}function v(w){return w===40||w===41||w===92?(t.consume(w),x):x(w)}}function ed(t,e,i,n,r,o){let s=this,a=0,l;return c;function c(O){return t.enter(n),t.enter(r),t.consume(O),t.exit(r),t.enter(o),u}function u(O){return a>999||O===null||O===91||O===93&&!l||O===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?i(O):O===93?(t.exit(o),t.enter(r),t.consume(O),t.exit(r),t.exit(n),e):Te(O)?(t.enter("lineEnding"),t.consume(O),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),f(O))}function f(O){return O===null||O===91||O===93||Te(O)||a++>999?(t.exit("chunkString"),u(O)):(t.consume(O),l||(l=!Le(O)),O===92?d:f)}function d(O){return O===91||O===92||O===93?(t.consume(O),a++,f):f(O)}}function td(t,e,i,n,r,o){let s;return a;function a(d){return d===34||d===39||d===40?(t.enter(n),t.enter(r),t.consume(d),t.exit(r),s=d===40?41:d,l):i(d)}function l(d){return d===s?(t.enter(r),t.consume(d),t.exit(r),t.exit(n),e):(t.enter(o),c(d))}function c(d){return d===s?(t.exit(o),l(s)):d===null?i(d):Te(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),Ie(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(d))}function u(d){return d===s||d===null||Te(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 Ss(t,e){let i;return n;function n(r){return Te(r)?(t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),i=!0,n):Le(r)?Ie(t,n,i?"linePrefix":"lineSuffix")(r):e(r)}}var p0={name:"definition",tokenize:Cz},Pz={tokenize:Qz,partial:!0};function Cz(t,e,i){let n=this,r;return o;function o(O){return t.enter("definition"),s(O)}function s(O){return ed.call(n,t,a,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(O)}function a(O){return r=_r(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),O===58?(t.enter("definitionMarker"),t.consume(O),t.exit("definitionMarker"),l):i(O)}function l(O){return jt(O)?Ss(t,c)(O):c(O)}function c(O){return Jh(t,u,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(O)}function u(O){return t.attempt(Pz,f,f)(O)}function f(O){return Le(O)?Ie(t,d,"whitespace")(O):d(O)}function d(O){return O===null||Te(O)?(t.exit("definition"),n.parser.defined.push(r),e(O)):i(O)}}function Qz(t,e,i){return n;function n(a){return jt(a)?Ss(t,r)(a):i(a)}function r(a){return td(t,o,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return Le(a)?Ie(t,s,"whitespace")(a):s(a)}function s(a){return a===null||Te(a)?e(a):i(a)}}var m0={name:"hardBreakEscape",tokenize:_z};function _z(t,e,i){return n;function n(o){return t.enter("hardBreakEscape"),t.consume(o),r}function r(o){return Te(o)?(t.exit("hardBreakEscape"),e(o)):i(o)}}var g0={name:"headingAtx",tokenize:$z,resolve:Az};function Az(t,e){let i=t.length-2,n=3,r,o;return t[n][1].type==="whitespace"&&(n+=2),i-2>n&&t[i][1].type==="whitespace"&&(i-=2),t[i][1].type==="atxHeadingSequence"&&(n===i-1||i-4>n&&t[i-2][1].type==="whitespace")&&(i-=n+1===i?2:4),i>n&&(r={type:"atxHeadingText",start:t[n][1].start,end:t[i][1].end},o={type:"chunkText",start:t[n][1].start,end:t[i][1].end,contentType:"text"},ai(t,n,i-n+1,[["enter",r,e],["enter",o,e],["exit",o,e],["exit",r,e]])),t}function $z(t,e,i){let n=0;return r;function r(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),s(u)}function s(u){return u===35&&n++<6?(t.consume(u),s):u===null||jt(u)?(t.exit("atxHeadingSequence"),a(u)):i(u)}function a(u){return u===35?(t.enter("atxHeadingSequence"),l(u)):u===null||Te(u)?(t.exit("atxHeading"),e(u)):Le(u)?Ie(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||jt(u)?(t.exit("atxHeadingText"),a(u)):(t.consume(u),c)}}var YT=["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"],b0=["pre","script","style","textarea"];var y0={name:"htmlFlow",tokenize:Iz,resolveTo:Lz,concrete:!0},Xz={tokenize:zz,partial:!0},Rz={tokenize:Dz,partial:!0};function Lz(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 Iz(t,e,i){let n=this,r,o,s,a,l;return c;function c(I){return u(I)}function u(I){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(I),f}function f(I){return I===33?(t.consume(I),d):I===47?(t.consume(I),o=!0,x):I===63?(t.consume(I),r=3,n.interrupt?e:C):en(I)?(t.consume(I),s=String.fromCharCode(I),v):i(I)}function d(I){return I===45?(t.consume(I),r=2,O):I===91?(t.consume(I),r=5,a=0,m):en(I)?(t.consume(I),r=4,n.interrupt?e:C):i(I)}function O(I){return I===45?(t.consume(I),n.interrupt?e:C):i(I)}function m(I){let Ne="CDATA[";return I===Ne.charCodeAt(a++)?(t.consume(I),a===Ne.length?n.interrupt?e:ne:m):i(I)}function x(I){return en(I)?(t.consume(I),s=String.fromCharCode(I),v):i(I)}function v(I){if(I===null||I===47||I===62||jt(I)){let Ne=I===47,We=s.toLowerCase();return!Ne&&!o&&b0.includes(We)?(r=1,n.interrupt?e(I):ne(I)):YT.includes(s.toLowerCase())?(r=6,Ne?(t.consume(I),w):n.interrupt?e(I):ne(I)):(r=7,n.interrupt&&!n.parser.lazy[n.now().line]?i(I):o?T(I):A(I))}return I===45||Qi(I)?(t.consume(I),s+=String.fromCharCode(I),v):i(I)}function w(I){return I===62?(t.consume(I),n.interrupt?e:ne):i(I)}function T(I){return Le(I)?(t.consume(I),T):M(I)}function A(I){return I===47?(t.consume(I),M):I===58||I===95||en(I)?(t.consume(I),L):Le(I)?(t.consume(I),A):M(I)}function L(I){return I===45||I===46||I===58||I===95||Qi(I)?(t.consume(I),L):D(I)}function D(I){return I===61?(t.consume(I),P):Le(I)?(t.consume(I),D):A(I)}function P(I){return I===null||I===60||I===61||I===62||I===96?i(I):I===34||I===39?(t.consume(I),l=I,N):Le(I)?(t.consume(I),P):le(I)}function N(I){return I===l?(t.consume(I),l=null,H):I===null||Te(I)?i(I):(t.consume(I),N)}function le(I){return I===null||I===34||I===39||I===47||I===60||I===61||I===62||I===96||jt(I)?D(I):(t.consume(I),le)}function H(I){return I===47||I===62||Le(I)?A(I):i(I)}function M(I){return I===62?(t.consume(I),ie):i(I)}function ie(I){return I===null||Te(I)?ne(I):Le(I)?(t.consume(I),ie):i(I)}function ne(I){return I===45&&r===2?(t.consume(I),ve):I===60&&r===1?(t.consume(I),j):I===62&&r===4?(t.consume(I),W):I===63&&r===3?(t.consume(I),C):I===93&&r===5?(t.consume(I),Z):Te(I)&&(r===6||r===7)?(t.exit("htmlFlowData"),t.check(Xz,oe,re)(I)):I===null||Te(I)?(t.exit("htmlFlowData"),re(I)):(t.consume(I),ne)}function re(I){return t.check(Rz,de,oe)(I)}function de(I){return t.enter("lineEnding"),t.consume(I),t.exit("lineEnding"),pe}function pe(I){return I===null||Te(I)?re(I):(t.enter("htmlFlowData"),ne(I))}function ve(I){return I===45?(t.consume(I),C):ne(I)}function j(I){return I===47?(t.consume(I),s="",ue):ne(I)}function ue(I){if(I===62){let Ne=s.toLowerCase();return b0.includes(Ne)?(t.consume(I),W):ne(I)}return en(I)&&s.length<8?(t.consume(I),s+=String.fromCharCode(I),ue):ne(I)}function Z(I){return I===93?(t.consume(I),C):ne(I)}function C(I){return I===62?(t.consume(I),W):I===45&&r===2?(t.consume(I),C):ne(I)}function W(I){return I===null||Te(I)?(t.exit("htmlFlowData"),oe(I)):(t.consume(I),W)}function oe(I){return t.exit("htmlFlow"),e(I)}}function Dz(t,e,i){let n=this;return r;function r(s){return Te(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o):i(s)}function o(s){return n.parser.lazy[n.now().line]?i(s):e(s)}}function zz(t,e,i){return n;function n(r){return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),t.attempt(Qo,e,i)}}var x0={name:"htmlText",tokenize:Uz};function Uz(t,e,i){let n=this,r,o,s;return a;function a(C){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(C),l}function l(C){return C===33?(t.consume(C),c):C===47?(t.consume(C),D):C===63?(t.consume(C),A):en(C)?(t.consume(C),le):i(C)}function c(C){return C===45?(t.consume(C),u):C===91?(t.consume(C),o=0,m):en(C)?(t.consume(C),T):i(C)}function u(C){return C===45?(t.consume(C),O):i(C)}function f(C){return C===null?i(C):C===45?(t.consume(C),d):Te(C)?(s=f,j(C)):(t.consume(C),f)}function d(C){return C===45?(t.consume(C),O):f(C)}function O(C){return C===62?ve(C):C===45?d(C):f(C)}function m(C){let W="CDATA[";return C===W.charCodeAt(o++)?(t.consume(C),o===W.length?x:m):i(C)}function x(C){return C===null?i(C):C===93?(t.consume(C),v):Te(C)?(s=x,j(C)):(t.consume(C),x)}function v(C){return C===93?(t.consume(C),w):x(C)}function w(C){return C===62?ve(C):C===93?(t.consume(C),w):x(C)}function T(C){return C===null||C===62?ve(C):Te(C)?(s=T,j(C)):(t.consume(C),T)}function A(C){return C===null?i(C):C===63?(t.consume(C),L):Te(C)?(s=A,j(C)):(t.consume(C),A)}function L(C){return C===62?ve(C):A(C)}function D(C){return en(C)?(t.consume(C),P):i(C)}function P(C){return C===45||Qi(C)?(t.consume(C),P):N(C)}function N(C){return Te(C)?(s=N,j(C)):Le(C)?(t.consume(C),N):ve(C)}function le(C){return C===45||Qi(C)?(t.consume(C),le):C===47||C===62||jt(C)?H(C):i(C)}function H(C){return C===47?(t.consume(C),ve):C===58||C===95||en(C)?(t.consume(C),M):Te(C)?(s=H,j(C)):Le(C)?(t.consume(C),H):ve(C)}function M(C){return C===45||C===46||C===58||C===95||Qi(C)?(t.consume(C),M):ie(C)}function ie(C){return C===61?(t.consume(C),ne):Te(C)?(s=ie,j(C)):Le(C)?(t.consume(C),ie):H(C)}function ne(C){return C===null||C===60||C===61||C===62||C===96?i(C):C===34||C===39?(t.consume(C),r=C,re):Te(C)?(s=ne,j(C)):Le(C)?(t.consume(C),ne):(t.consume(C),de)}function re(C){return C===r?(t.consume(C),r=void 0,pe):C===null?i(C):Te(C)?(s=re,j(C)):(t.consume(C),re)}function de(C){return C===null||C===34||C===39||C===60||C===61||C===96?i(C):C===47||C===62||jt(C)?H(C):(t.consume(C),de)}function pe(C){return C===47||C===62||jt(C)?H(C):i(C)}function ve(C){return C===62?(t.consume(C),t.exit("htmlTextData"),t.exit("htmlText"),e):i(C)}function j(C){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(C),t.exit("lineEnding"),ue}function ue(C){return Le(C)?Ie(t,Z,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):Z(C)}function Z(C){return t.enter("htmlTextData"),s(C)}}var Ts={name:"labelEnd",tokenize:Vz,resolveTo:Wz,resolveAll:jz},Mz={tokenize:Zz},Nz={tokenize:Bz},qz={tokenize:Yz};function jz(t){let e=-1;for(;++e<t.length;){let i=t[e][1];(i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd")&&(t.splice(e+1,i.type==="labelImage"?4:2),i.type="data",e++)}return t}function Wz(t,e){let i=t.length,n=0,r,o,s,a;for(;i--;)if(r=t[i][1],o){if(r.type==="link"||r.type==="labelLink"&&r._inactive)break;t[i][0]==="enter"&&r.type==="labelLink"&&(r._inactive=!0)}else if(s){if(t[i][0]==="enter"&&(r.type==="labelImage"||r.type==="labelLink")&&!r._balanced&&(o=i,r.type!=="labelLink")){n=2;break}}else r.type==="labelEnd"&&(s=i);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+n+2][1].end),end:Object.assign({},t[s-2][1].start)};return a=[["enter",l,e],["enter",c,e]],a=Ci(a,t.slice(o+1,o+n+3)),a=Ci(a,[["enter",u,e]]),a=Ci(a,Na(e.parser.constructs.insideSpan.null,t.slice(o+n+4,s-3),e)),a=Ci(a,[["exit",u,e],t[s-2],t[s-1],["exit",c,e]]),a=Ci(a,t.slice(s+1)),a=Ci(a,[["exit",l,e]]),ai(t,o,t.length,a),t}function Vz(t,e,i){let n=this,r=n.events.length,o,s;for(;r--;)if((n.events[r][1].type==="labelImage"||n.events[r][1].type==="labelLink")&&!n.events[r][1]._balanced){o=n.events[r][1];break}return a;function a(d){return o?o._inactive?f(d):(s=n.parser.defined.includes(_r(n.sliceSerialize({start:o.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(d),t.exit("labelMarker"),t.exit("labelEnd"),l):i(d)}function l(d){return d===40?t.attempt(Mz,u,s?u:f)(d):d===91?t.attempt(Nz,u,s?c:f)(d):s?u(d):f(d)}function c(d){return t.attempt(qz,u,f)(d)}function u(d){return e(d)}function f(d){return o._balanced=!0,i(d)}}function Zz(t,e,i){return n;function n(f){return t.enter("resource"),t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),r}function r(f){return jt(f)?Ss(t,o)(f):o(f)}function o(f){return f===41?u(f):Jh(t,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return jt(f)?Ss(t,l)(f):u(f)}function a(f){return i(f)}function l(f){return f===34||f===39||f===40?td(t,c,i,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):u(f)}function c(f){return jt(f)?Ss(t,u)(f):u(f)}function u(f){return f===41?(t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),t.exit("resource"),e):i(f)}}function Bz(t,e,i){let n=this;return r;function r(a){return ed.call(n,t,o,s,"reference","referenceMarker","referenceString")(a)}function o(a){return n.parser.defined.includes(_r(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?e(a):i(a)}function s(a){return i(a)}}function Yz(t,e,i){return n;function n(o){return t.enter("reference"),t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),r}function r(o){return o===93?(t.enter("referenceMarker"),t.consume(o),t.exit("referenceMarker"),t.exit("reference"),e):i(o)}}var v0={name:"labelStartImage",tokenize:Fz,resolveAll:Ts.resolveAll};function Fz(t,e,i){let n=this;return r;function r(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):i(a)}function s(a){return a===94&&"_hiddenFootnoteSupport"in n.parser.constructs?i(a):e(a)}}var w0={name:"labelStartLink",tokenize:Hz,resolveAll:Ts.resolveAll};function Hz(t,e,i){let n=this;return r;function r(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 n.parser.constructs?i(s):e(s)}}var Lc={name:"lineEnding",tokenize:Gz};function Gz(t,e){return i;function i(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),Ie(t,e,"linePrefix")}}var Es={name:"thematicBreak",tokenize:Kz};function Kz(t,e,i){let n=0,r;return o;function o(c){return t.enter("thematicBreak"),s(c)}function s(c){return r=c,a(c)}function a(c){return c===r?(t.enter("thematicBreakSequence"),l(c)):n>=3&&(c===null||Te(c))?(t.exit("thematicBreak"),e(c)):i(c)}function l(c){return c===r?(t.consume(c),n++,l):(t.exit("thematicBreakSequence"),Le(c)?Ie(t,a,"whitespace")(c):a(c))}}var bi={name:"list",tokenize:tU,continuation:{tokenize:iU},exit:rU},Jz={tokenize:oU,partial:!0},eU={tokenize:nU,partial:!0};function tU(t,e,i){let n=this,r=n.events[n.events.length-1],o=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],!0).length:0,s=0;return a;function a(O){let m=n.containerState.type||(O===42||O===43||O===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!n.containerState.marker||O===n.containerState.marker:$c(O)){if(n.containerState.type||(n.containerState.type=m,t.enter(m,{_container:!0})),m==="listUnordered")return t.enter("listItemPrefix"),O===42||O===45?t.check(Es,i,c)(O):c(O);if(!n.interrupt||O===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(O)}return i(O)}function l(O){return $c(O)&&++s<10?(t.consume(O),l):(!n.interrupt||s<2)&&(n.containerState.marker?O===n.containerState.marker:O===41||O===46)?(t.exit("listItemValue"),c(O)):i(O)}function c(O){return t.enter("listItemMarker"),t.consume(O),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||O,t.check(Qo,n.interrupt?i:u,t.attempt(Jz,d,f))}function u(O){return n.containerState.initialBlankLine=!0,o++,d(O)}function f(O){return Le(O)?(t.enter("listItemPrefixWhitespace"),t.consume(O),t.exit("listItemPrefixWhitespace"),d):i(O)}function d(O){return n.containerState.size=o+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(O)}}function iU(t,e,i){let n=this;return n.containerState._closeFlow=void 0,t.check(Qo,r,o);function r(a){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Ie(t,e,"listItemIndent",n.containerState.size+1)(a)}function o(a){return n.containerState.furtherBlankLines||!Le(a)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(a)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(eU,e,s)(a))}function s(a){return n.containerState._closeFlow=!0,n.interrupt=void 0,Ie(t,t.attempt(bi,e,i),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function nU(t,e,i){let n=this;return Ie(t,r,"listItemIndent",n.containerState.size+1);function r(o){let s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?e(o):i(o)}}function rU(t){t.exit(this.containerState.type)}function oU(t,e,i){let n=this;return Ie(t,r,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function r(o){let s=n.events[n.events.length-1];return!Le(o)&&s&&s[1].type==="listItemPrefixWhitespace"?e(o):i(o)}}var id={name:"setextUnderline",tokenize:aU,resolveTo:sU};function sU(t,e){let i=t.length,n,r,o;for(;i--;)if(t[i][0]==="enter"){if(t[i][1].type==="content"){n=i;break}t[i][1].type==="paragraph"&&(r=i)}else t[i][1].type==="content"&&t.splice(i,1),!o&&t[i][1].type==="definition"&&(o=i);let s={type:"setextHeading",start:Object.assign({},t[r][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[r][1].type="setextHeadingText",o?(t.splice(r,0,["enter",s,e]),t.splice(o+1,0,["exit",t[n][1],e]),t[n][1].end=Object.assign({},t[o][1].end)):t[n][1]=s,t.push(["exit",s,e]),t}function aU(t,e,i){let n=this,r;return o;function o(c){let u=n.events.length,f;for(;u--;)if(n.events[u][1].type!=="lineEnding"&&n.events[u][1].type!=="linePrefix"&&n.events[u][1].type!=="content"){f=n.events[u][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||f)?(t.enter("setextHeadingLine"),r=c,s(c)):i(c)}function s(c){return t.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===r?(t.consume(c),a):(t.exit("setextHeadingLineSequence"),Le(c)?Ie(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Te(c)?(t.exit("setextHeadingLine"),e(c)):i(c)}}var FT={tokenize:lU};function lU(t){let e=this,i=t.attempt(Qo,n,t.attempt(this.parser.constructs.flowInitial,r,Ie(t,t.attempt(this.parser.constructs.flow,r,t.attempt(O0,r)),"linePrefix")));return i;function n(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,i}function r(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,i}}var HT={resolveAll:e3()},GT=JT("string"),KT=JT("text");function JT(t){return{tokenize:e,resolveAll:e3(t==="text"?cU:void 0)};function e(i){let n=this,r=this.parser.constructs[t],o=i.attempt(r,s,a);return s;function s(u){return c(u)?o(u):a(u)}function a(u){if(u===null){i.consume(u);return}return i.enter("data"),i.consume(u),l}function l(u){return c(u)?(i.exit("data"),o(u)):(i.consume(u),l)}function c(u){if(u===null)return!0;let f=r[u],d=-1;if(f)for(;++d<f.length;){let O=f[d];if(!O.previous||O.previous.call(n,n.previous))return!0}return!1}}}function e3(t){return e;function e(i,n){let r=-1,o;for(;++r<=i.length;)o===void 0?i[r]&&i[r][1].type==="data"&&(o=r,r++):(!i[r]||i[r][1].type!=="data")&&(r!==o+2&&(i[o][1].end=i[r-1][1].end,i.splice(o+2,r-o-2),r=o+2),o=void 0);return t?t(i,n):i}}function cU(t,e){let i=0;for(;++i<=t.length;)if((i===t.length||t[i][1].type==="lineEnding")&&t[i-1][1].type==="data"){let n=t[i-1][1],r=e.sliceStream(n),o=r.length,s=-1,a=0,l;for(;o--;){let c=r[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:i===t.length||l||a<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-a,offset:n.end.offset-a,_index:n.start._index+o,_bufferIndex:o?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},c.start),n.start.offset===n.end.offset?Object.assign(n,c):(t.splice(i,0,["enter",c,e],["exit",c,e]),i+=2)}i++}return t}function t3(t,e,i){let n=Object.assign(i?Object.assign({},i):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),r={},o=[],s=[],a=[],l=!0,c={consume:L,enter:D,exit:P,attempt:H(N),check:H(le),interrupt:H(le,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:x,sliceSerialize:m,now:v,defineSkip:w,write:O},f=e.tokenize.call(u,c),d;return e.resolveAll&&o.push(e),u;function O(re){return s=Ci(s,re),T(),s[s.length-1]!==null?[]:(M(e,0),u.events=Na(o,u.events,u),u.events)}function m(re,de){return fU(x(re),de)}function x(re){return uU(s,re)}function v(){let{line:re,column:de,offset:pe,_index:ve,_bufferIndex:j}=n;return{line:re,column:de,offset:pe,_index:ve,_bufferIndex:j}}function w(re){r[re.line]=re.column,ne()}function T(){let re;for(;n._index<s.length;){let de=s[n._index];if(typeof de=="string")for(re=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===re&&n._bufferIndex<de.length;)A(de.charCodeAt(n._bufferIndex));else A(de)}}function A(re){l=void 0,d=re,f=f(re)}function L(re){Te(re)?(n.line++,n.column=1,n.offset+=re===-3?2:1,ne()):re!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),u.previous=re,l=!0}function D(re,de){let pe=de||{};return pe.type=re,pe.start=v(),u.events.push(["enter",pe,u]),a.push(pe),pe}function P(re){let de=a.pop();return de.end=v(),u.events.push(["exit",de,u]),de}function N(re,de){M(re,de.from)}function le(re,de){de.restore()}function H(re,de){return pe;function pe(ve,j,ue){let Z,C,W,oe;return Array.isArray(ve)?Ne(ve):"tokenize"in ve?Ne([ve]):I(ve);function I(Xe){return Rt;function Rt(Lt){let dn=Lt!==null&&Xe[Lt],On=Lt!==null&&Xe.null,Nt=[...Array.isArray(dn)?dn:dn?[dn]:[],...Array.isArray(On)?On:On?[On]:[]];return Ne(Nt)(Lt)}}function Ne(Xe){return Z=Xe,C=0,Xe.length===0?ue:We(Xe[C])}function We(Xe){return Rt;function Rt(Lt){return oe=ie(),W=Xe,Xe.partial||(u.currentConstruct=Xe),Xe.name&&u.parser.constructs.disable.null.includes(Xe.name)?Et(Lt):Xe.tokenize.call(de?Object.assign(Object.create(u),de):u,c,Ve,Et)(Lt)}}function Ve(Xe){return l=!0,re(W,oe),j}function Et(Xe){return l=!0,oe.restore(),++C<Z.length?We(Z[C]):ue}}}function M(re,de){re.resolveAll&&!o.includes(re)&&o.push(re),re.resolve&&ai(u.events,de,u.events.length-de,re.resolve(u.events.slice(de),u)),re.resolveTo&&(u.events=re.resolveTo(u.events,u))}function ie(){let re=v(),de=u.previous,pe=u.currentConstruct,ve=u.events.length,j=Array.from(a);return{restore:ue,from:ve};function ue(){n=re,u.previous=de,u.currentConstruct=pe,u.events.length=ve,a=j,ne()}}function ne(){n.line in r&&n.column<2&&(n.column=r[n.line],n.offset+=r[n.line]-1)}}function uU(t,e){let i=e.start._index,n=e.start._bufferIndex,r=e.end._index,o=e.end._bufferIndex,s;if(i===r)s=[t[i].slice(n,o)];else{if(s=t.slice(i,r),n>-1){let a=s[0];typeof a=="string"?s[0]=a.slice(n):s.shift()}o>0&&s.push(t[r].slice(0,o))}return s}function fU(t,e){let i=-1,n=[],r;for(;++i<t.length;){let o=t[i],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&&r)continue;s=" ";break}default:s=String.fromCharCode(o)}r=o===-2,n.push(s)}return n.join("")}var k0={};hc(k0,{attentionMarkers:()=>yU,contentInitial:()=>dU,disable:()=>xU,document:()=>hU,flow:()=>pU,flowInitial:()=>OU,insideSpan:()=>bU,string:()=>mU,text:()=>gU});var hU={42:bi,43:bi,45:bi,48:bi,49:bi,50:bi,51:bi,52:bi,53:bi,54:bi,55:bi,56:bi,57:bi,62:Yh},dU={91:p0},OU={[-2]:Rc,[-1]:Rc,32:Rc},pU={35:g0,42:Es,45:[id,Es],60:y0,61:id,95:Es,96:Gh,126:Gh},mU={38:Hh,92:Fh},gU={[-5]:Lc,[-4]:Lc,[-3]:Lc,33:v0,38:Hh,42:Xc,60:[h0,x0],91:w0,92:[m0,Fh],93:Ts,95:Xc,96:d0},bU={null:[Xc,HT]},yU={null:[42,95]},xU={null:[]};function S0(t){let i=zT([k0,...(t||{}).extensions||[]]),n={defined:[],lazy:{},constructs:i,content:r(jT),document:r(VT),flow:r(FT),string:r(GT),text:r(KT)};return n;function r(o){return s;function s(a){return t3(n,o,a)}}}function T0(t){for(;!Kh(t););return t}var i3=/[\0\t\n\r]/g;function E0(){let t=1,e="",i=!0,n;return r;function r(o,s,a){let l=[],c,u,f,d,O;for(o=e+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o)),f=0,e="",i&&(o.charCodeAt(0)===65279&&f++,i=void 0);f<o.length;){if(i3.lastIndex=f,c=i3.exec(o),d=c&&c.index!==void 0?c.index:o.length,O=o.charCodeAt(d),!c){e=o.slice(f);break}if(O===10&&f===d&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),f<d&&(l.push(o.slice(f,d)),t+=d-f),O){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:n=!0,t=1}f=d+1}return a&&(n&&l.push(-5),e&&l.push(e),l.push(null)),l}}var vU=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function n3(t){return t.replace(vU,wU)}function wU(t,e,i){if(e)return e;if(i.charCodeAt(0)===35){let r=i.charCodeAt(1),o=r===120||r===88;return Bh(i.slice(o?2:1),o?16:10)}return Ma(i)||t}function qa(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?r3(t.position):"start"in t||"end"in t?r3(t):"line"in t||"column"in t?P0(t):""}function P0(t){return o3(t&&t.line)+":"+o3(t&&t.column)}function r3(t){return P0(t&&t.start)+"-"+P0(t&&t.end)}function o3(t){return t&&typeof t=="number"?t:1}var a3={}.hasOwnProperty;function C0(t,e,i){return typeof e!="string"&&(i=e,e=void 0),kU(i)(T0(S0(i).document().write(E0()(t,e,!0))))}function kU(t){let e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(ac),autolinkProtocol:H,autolinkEmail:H,atxHeading:o(vh),blockQuote:o(Rt),characterEscape:H,characterReference:H,codeFenced:o(Lt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(Lt,s),codeText:o(dn,s),codeTextData:H,data:H,codeFlowValue:H,definition:o(On),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(Nt),hardBreakEscape:o(Hi),hardBreakTrailing:o(Hi),htmlFlow:o(wh,s),htmlFlowData:H,htmlText:o(wh,s),htmlTextData:H,image:o(xg),label:s,link:o(ac),listItem:o(Xn),listItemValue:d,listOrdered:o(Kn,f),listUnordered:o(Kn),paragraph:o(vg),reference:I,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(vh),strong:o(kh),thematicBreak:o(wg)},exit:{atxHeading:l(),atxHeadingSequence:D,autolink:l(),autolinkEmail:Xe,autolinkProtocol:Et,blockQuote:l(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:We,characterReferenceMarkerNumeric:We,characterReferenceValue:Ve,codeFenced:l(v),codeFencedFence:x,codeFencedFenceInfo:O,codeFencedFenceMeta:m,codeFlowValue:M,codeIndented:l(w),codeText:l(pe),codeTextData:M,data:M,definition:l(),definitionDestinationString:L,definitionLabelString:T,definitionTitleString:A,emphasis:l(),hardBreakEscape:l(ne),hardBreakTrailing:l(ne),htmlFlow:l(re),htmlFlowData:M,htmlText:l(de),htmlTextData:M,image:l(j),label:Z,labelText:ue,lineEnding:ie,link:l(ve),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Ne,resourceDestinationString:C,resourceTitleString:W,resource:oe,setextHeading:l(le),setextHeadingLineSequence:N,setextHeadingText:P,strong:l(),thematicBreak:l()}};l3(e,(t||{}).mdastExtensions||[]);let i={};return n;function n(ce){let ye={type:"root",children:[]},Pe={stack:[ye],tokenStack:[],config:e,enter:a,exit:c,buffer:s,resume:u,data:i},je=[],$e=-1;for(;++$e<ce.length;)if(ce[$e][1].type==="listOrdered"||ce[$e][1].type==="listUnordered")if(ce[$e][0]==="enter")je.push($e);else{let Gi=je.pop();$e=r(ce,Gi,$e)}for($e=-1;++$e<ce.length;){let Gi=e[ce[$e][0]];a3.call(Gi,ce[$e][1].type)&&Gi[ce[$e][1].type].call(Object.assign({sliceSerialize:ce[$e][2].sliceSerialize},Pe),ce[$e][1])}if(Pe.tokenStack.length>0){let Gi=Pe.tokenStack[Pe.tokenStack.length-1];(Gi[1]||s3).call(Pe,void 0,Gi[0])}for(ye.position={start:_o(ce.length>0?ce[0][1].start:{line:1,column:1,offset:0}),end:_o(ce.length>0?ce[ce.length-2][1].end:{line:1,column:1,offset:0})},$e=-1;++$e<e.transforms.length;)ye=e.transforms[$e](ye)||ye;return ye}function r(ce,ye,Pe){let je=ye-1,$e=-1,Gi=!1,Sr,Rn,bo,nt;for(;++je<=Pe;){let vt=ce[je];switch(vt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{vt[0]==="enter"?$e++:$e--,nt=void 0;break}case"lineEndingBlank":{vt[0]==="enter"&&(Sr&&!nt&&!$e&&!bo&&(bo=je),nt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:nt=void 0}if(!$e&&vt[0]==="enter"&&vt[1].type==="listItemPrefix"||$e===-1&&vt[0]==="exit"&&(vt[1].type==="listUnordered"||vt[1].type==="listOrdered")){if(Sr){let ut=je;for(Rn=void 0;ut--;){let At=ce[ut];if(At[1].type==="lineEnding"||At[1].type==="lineEndingBlank"){if(At[0]==="exit")continue;Rn&&(ce[Rn][1].type="lineEndingBlank",Gi=!0),At[1].type="lineEnding",Rn=ut}else if(!(At[1].type==="linePrefix"||At[1].type==="blockQuotePrefix"||At[1].type==="blockQuotePrefixWhitespace"||At[1].type==="blockQuoteMarker"||At[1].type==="listItemIndent"))break}bo&&(!Rn||bo<Rn)&&(Sr._spread=!0),Sr.end=Object.assign({},Rn?ce[Rn][1].start:vt[1].end),ce.splice(Rn||je,0,["exit",Sr,vt[2]]),je++,Pe++}if(vt[1].type==="listItemPrefix"){let ut={type:"listItem",_spread:!1,start:Object.assign({},vt[1].start),end:void 0};Sr=ut,ce.splice(je,0,["enter",ut,vt[2]]),je++,Pe++,bo=void 0,nt=!0}}}return ce[ye][1]._spread=Gi,Pe}function o(ce,ye){return Pe;function Pe(je){a.call(this,ce(je),je),ye&&ye.call(this,je)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(ce,ye,Pe){this.stack[this.stack.length-1].children.push(ce),this.stack.push(ce),this.tokenStack.push([ye,Pe]),ce.position={start:_o(ye.start),end:void 0}}function l(ce){return ye;function ye(Pe){ce&&ce.call(this,Pe),c.call(this,Pe)}}function c(ce,ye){let Pe=this.stack.pop(),je=this.tokenStack.pop();if(je)je[0].type!==ce.type&&(ye?ye.call(this,ce,je[0]):(je[1]||s3).call(this,ce,je[0]));else throw new Error("Cannot close `"+ce.type+"` ("+qa({start:ce.start,end:ce.end})+"): it\u2019s not open");Pe.position.end=_o(ce.end)}function u(){return c0(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(ce){if(this.data.expectingFirstListItemValue){let ye=this.stack[this.stack.length-2];ye.start=Number.parseInt(this.sliceSerialize(ce),10),this.data.expectingFirstListItemValue=void 0}}function O(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.lang=ce}function m(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.meta=ce}function x(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function v(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce.replace(/(\r?\n|\r)$/g,"")}function T(ce){let ye=this.resume(),Pe=this.stack[this.stack.length-1];Pe.label=ye,Pe.identifier=_r(this.sliceSerialize(ce)).toLowerCase()}function A(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.title=ce}function L(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.url=ce}function D(ce){let ye=this.stack[this.stack.length-1];if(!ye.depth){let Pe=this.sliceSerialize(ce).length;ye.depth=Pe}}function P(){this.data.setextHeadingSlurpLineEnding=!0}function N(ce){let ye=this.stack[this.stack.length-1];ye.depth=this.sliceSerialize(ce).codePointAt(0)===61?1:2}function le(){this.data.setextHeadingSlurpLineEnding=void 0}function H(ce){let Pe=this.stack[this.stack.length-1].children,je=Pe[Pe.length-1];(!je||je.type!=="text")&&(je=lc(),je.position={start:_o(ce.start),end:void 0},Pe.push(je)),this.stack.push(je)}function M(ce){let ye=this.stack.pop();ye.value+=this.sliceSerialize(ce),ye.position.end=_o(ce.end)}function ie(ce){let ye=this.stack[this.stack.length-1];if(this.data.atHardBreak){let Pe=ye.children[ye.children.length-1];Pe.position.end=_o(ce.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(ye.type)&&(H.call(this,ce),M.call(this,ce))}function ne(){this.data.atHardBreak=!0}function re(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce}function de(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce}function pe(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ce}function ve(){let ce=this.stack[this.stack.length-1];if(this.data.inReference){let ye=this.data.referenceType||"shortcut";ce.type+="Reference",ce.referenceType=ye,delete ce.url,delete ce.title}else delete ce.identifier,delete ce.label;this.data.referenceType=void 0}function j(){let ce=this.stack[this.stack.length-1];if(this.data.inReference){let ye=this.data.referenceType||"shortcut";ce.type+="Reference",ce.referenceType=ye,delete ce.url,delete ce.title}else delete ce.identifier,delete ce.label;this.data.referenceType=void 0}function ue(ce){let ye=this.sliceSerialize(ce),Pe=this.stack[this.stack.length-2];Pe.label=n3(ye),Pe.identifier=_r(ye).toLowerCase()}function Z(){let ce=this.stack[this.stack.length-1],ye=this.resume(),Pe=this.stack[this.stack.length-1];if(this.data.inReference=!0,Pe.type==="link"){let je=ce.children;Pe.children=je}else Pe.alt=ye}function C(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.url=ce}function W(){let ce=this.resume(),ye=this.stack[this.stack.length-1];ye.title=ce}function oe(){this.data.inReference=void 0}function I(){this.data.referenceType="collapsed"}function Ne(ce){let ye=this.resume(),Pe=this.stack[this.stack.length-1];Pe.label=ye,Pe.identifier=_r(this.sliceSerialize(ce)).toLowerCase(),this.data.referenceType="full"}function We(ce){this.data.characterReferenceType=ce.type}function Ve(ce){let ye=this.sliceSerialize(ce),Pe=this.data.characterReferenceType,je;Pe?(je=Bh(ye,Pe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):je=Ma(ye);let $e=this.stack.pop();$e.value+=je,$e.position.end=_o(ce.end)}function Et(ce){M.call(this,ce);let ye=this.stack[this.stack.length-1];ye.url=this.sliceSerialize(ce)}function Xe(ce){M.call(this,ce);let ye=this.stack[this.stack.length-1];ye.url="mailto:"+this.sliceSerialize(ce)}function Rt(){return{type:"blockquote",children:[]}}function Lt(){return{type:"code",lang:null,meta:null,value:""}}function dn(){return{type:"inlineCode",value:""}}function On(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Nt(){return{type:"emphasis",children:[]}}function vh(){return{type:"heading",depth:0,children:[]}}function Hi(){return{type:"break"}}function wh(){return{type:"html",value:""}}function xg(){return{type:"image",title:null,url:"",alt:null}}function ac(){return{type:"link",title:null,url:"",children:[]}}function Kn(ce){return{type:"list",ordered:ce.type==="listOrdered",start:null,spread:ce._spread,children:[]}}function Xn(ce){return{type:"listItem",spread:ce._spread,checked:null,children:[]}}function vg(){return{type:"paragraph",children:[]}}function kh(){return{type:"strong",children:[]}}function lc(){return{type:"text",value:""}}function wg(){return{type:"thematicBreak"}}}function _o(t){return{line:t.line,column:t.column,offset:t.offset}}function l3(t,e){let i=-1;for(;++i<e.length;){let n=e[i];Array.isArray(n)?l3(t,n):SU(t,n)}}function SU(t,e){let i;for(i in e)if(a3.call(e,i))switch(i){case"canContainEols":{let n=e[i];n&&t[i].push(...n);break}case"transforms":{let n=e[i];n&&t[i].push(...n);break}case"enter":case"exit":{let n=e[i];n&&Object.assign(t[i],n);break}}}function s3(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+qa({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+qa({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+qa({start:e.start,end:e.end})+") is still open")}function nd(t){let e=this;e.parser=i;function i(n){return C0(n,Ee(Y(Y({},e.data("settings")),t),{extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]}))}}function ja(t,e){let i=String(t);if(typeof e!="string")throw new TypeError("Expected character");let n=0,r=i.indexOf(e);for(;r!==-1;)n++,r=i.indexOf(e,r+e.length);return n}var TU=Ao(new RegExp("\\p{P}","u")),the=Ao(/[A-Za-z]/),ihe=Ao(/[\dA-Za-z]/),nhe=Ao(/[#-'*+\--9=?A-Z^-~]/);var rhe=Ao(/\d/),ohe=Ao(/[\dA-Fa-f]/),EU=Ao(/[!-/:-@[-`{-~]/);function c3(t){return EU(t)||TU(t)}var u3=Ao(/\s/);function Ao(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function Q0(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var sr=function(t){if(t==null)return _U;if(typeof t=="function")return rd(t);if(typeof t=="object")return Array.isArray(t)?PU(t):CU(t);if(typeof t=="string")return QU(t);throw new Error("Expected function, string, or object as test")};function PU(t){let e=[],i=-1;for(;++i<t.length;)e[i]=sr(t[i]);return rd(n);function n(...r){let o=-1;for(;++o<e.length;)if(e[o].apply(this,r))return!0;return!1}}function CU(t){let e=t;return rd(i);function i(n){let r=n,o;for(o in t)if(r[o]!==e[o])return!1;return!0}}function QU(t){return rd(e);function e(i){return i&&i.type===t}}function rd(t){return e;function e(i,n,r){return!!(AU(i)&&t.call(this,i,typeof n=="number"?n:void 0,r||void 0))}}function _U(){return!0}function AU(t){return t!==null&&typeof t=="object"&&"type"in t}var f3=[],od=!0,Ps=!1,Wa="skip";function Cs(t,e,i,n){let r;typeof e=="function"&&typeof i!="function"?(n=i,i=e):r=e;let o=sr(r),s=n?-1:1;a(t,void 0,[])();function a(l,c,u){let f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){let O=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(l.type+(O?"<"+O+">":""))+")"})}return d;function d(){let O=f3,m,x,v;if((!e||o(l,c,u[u.length-1]||void 0))&&(O=$U(i(l,u)),O[0]===Ps))return O;if("children"in l&&l.children){let w=l;if(w.children&&O[0]!==Wa)for(x=(n?w.children.length:-1)+s,v=u.concat(w);x>-1&&x<w.children.length;){let T=w.children[x];if(m=a(T,x,v)(),m[0]===Ps)return m;x=typeof m[1]=="number"?m[1]:x+s}}return O}}}function $U(t){return Array.isArray(t)?t:typeof t=="number"?[od,t]:t==null?f3:[t]}function _0(t,e,i){let r=sr((i||{}).ignore||[]),o=XU(e),s=-1;for(;++s<o.length;)Cs(t,"text",a);function a(c,u){let f=-1,d;for(;++f<u.length;){let O=u[f],m=d?d.children:void 0;if(r(O,m?m.indexOf(O):void 0,d))return;d=O}if(d)return l(c,u)}function l(c,u){let f=u[u.length-1],d=o[s][0],O=o[s][1],m=0,v=f.children.indexOf(c),w=!1,T=[];d.lastIndex=0;let A=d.exec(c.value);for(;A;){let L=A.index,D={index:A.index,input:A.input,stack:[...u,c]},P=O(...A,D);if(typeof P=="string"&&(P=P.length>0?{type:"text",value:P}:void 0),P===!1?d.lastIndex=L+1:(m!==L&&T.push({type:"text",value:c.value.slice(m,L)}),Array.isArray(P)?T.push(...P):P&&T.push(P),m=L+A[0].length,w=!0),!d.global)break;A=d.exec(c.value)}return w?(m<c.value.length&&T.push({type:"text",value:c.value.slice(m)}),f.children.splice(v,1,...T)):T=[c],v+T.length}}function XU(t){let e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");let i=!t[0]||Array.isArray(t[0])?t:[t],n=-1;for(;++n<i.length;){let r=i[n];e.push([RU(r[0]),LU(r[1])])}return e}function RU(t){return typeof t=="string"?new RegExp(Q0(t),"g"):t}function LU(t){return typeof t=="function"?t:function(){return t}}var A0="phrasing",$0=["autolink","link","image","label"];function R0(){return{transforms:[NU],enter:{literalAutolink:IU,literalAutolinkEmail:X0,literalAutolinkHttp:X0,literalAutolinkWww:X0},exit:{literalAutolink:MU,literalAutolinkEmail:UU,literalAutolinkHttp:DU,literalAutolinkWww:zU}}}function L0(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:A0,notInConstruct:$0},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:A0,notInConstruct:$0},{character:":",before:"[ps]",after:"\\/",inConstruct:A0,notInConstruct:$0}]}}function IU(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function X0(t){this.config.enter.autolinkProtocol.call(this,t)}function DU(t){this.config.exit.autolinkProtocol.call(this,t)}function zU(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 UU(t){this.config.exit.autolinkEmail.call(this,t)}function MU(t){this.exit(t)}function NU(t){_0(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,qU],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,jU]],{ignore:["link","linkReference"]})}function qU(t,e,i,n,r){let o="";if(!h3(r)||(/^w/i.test(e)&&(i=e+i,e="",o="http://"),!WU(i)))return!1;let s=VU(i+n);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 jU(t,e,i,n){return!h3(n,!0)||/[-\d_]$/.test(i)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+i,children:[{type:"text",value:e+"@"+i}]}}function WU(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 VU(t){let e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let i=e[0],n=i.indexOf(")"),r=ja(t,"("),o=ja(t,")");for(;n!==-1&&r>o;)t+=i.slice(0,n+1),i=i.slice(n+1),n=i.indexOf(")"),o++;return[t,i]}function h3(t,e){let i=t.input.charCodeAt(t.index-1);return(t.index===0||u3(i)||c3(i))&&(!e||i!==47)}function I0(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}d3.peek=e9;function D0(){return{enter:{gfmFootnoteDefinition:ZU,gfmFootnoteDefinitionLabelString:BU,gfmFootnoteCall:HU,gfmFootnoteCallString:GU},exit:{gfmFootnoteDefinition:FU,gfmFootnoteDefinitionLabelString:YU,gfmFootnoteCall:JU,gfmFootnoteCallString:KU}}}function z0(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:t9,footnoteReference:d3}}}function ZU(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function BU(){this.buffer()}function YU(t){let e=this.resume(),i=this.stack[this.stack.length-1];i.type,i.label=e,i.identifier=I0(this.sliceSerialize(t)).toLowerCase()}function FU(t){this.exit(t)}function HU(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function GU(){this.buffer()}function KU(t){let e=this.resume(),i=this.stack[this.stack.length-1];i.type,i.label=e,i.identifier=I0(this.sliceSerialize(t)).toLowerCase()}function JU(t){this.exit(t)}function d3(t,e,i,n){let r=i.createTracker(n),o=r.move("[^"),s=i.enter("footnoteReference"),a=i.enter("reference");return o+=r.move(i.safe(i.associationId(t),Ee(Y({},r.current()),{before:o,after:"]"}))),a(),s(),o+=r.move("]"),o}function e9(){return"["}function t9(t,e,i,n){let r=i.createTracker(n),o=r.move("[^"),s=i.enter("footnoteDefinition"),a=i.enter("label");return o+=r.move(i.safe(i.associationId(t),Ee(Y({},r.current()),{before:o,after:"]"}))),a(),o+=r.move("]:"+(t.children&&t.children.length>0?" ":"")),r.shift(4),o+=r.move(i.indentLines(i.containerFlow(t,r.current()),i9)),s(),o}function i9(t,e,i){return e===0?t:(i?"":" ")+t}var n9=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];O3.peek=s9;function U0(){return{canContainEols:["delete"],enter:{strikethrough:r9},exit:{strikethrough:o9}}}function M0(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:n9}],handlers:{delete:O3}}}function r9(t){this.enter({type:"delete",children:[]},t)}function o9(t){this.exit(t)}function O3(t,e,i,n){let r=i.createTracker(n),o=i.enter("strikethrough"),s=r.move("~~");return s+=i.containerPhrasing(t,Ee(Y({},r.current()),{before:s,after:"~"})),s+=r.move("~~"),o(),s}function s9(){return"~"}function m3(t,e={}){let i=(e.align||[]).concat(),n=e.stringLength||l9,r=[],o=[],s=[],a=[],l=0,c=-1;for(;++c<t.length;){let m=[],x=[],v=-1;for(t[c].length>l&&(l=t[c].length);++v<t[c].length;){let w=a9(t[c][v]);if(e.alignDelimiters!==!1){let T=n(w);x[v]=T,(a[v]===void 0||T>a[v])&&(a[v]=T)}m.push(w)}o[c]=m,s[c]=x}let u=-1;if(typeof i=="object"&&"length"in i)for(;++u<l;)r[u]=p3(i[u]);else{let m=p3(i);for(;++u<l;)r[u]=m}u=-1;let f=[],d=[];for(;++u<l;){let m=r[u],x="",v="";m===99?(x=":",v=":"):m===108?x=":":m===114&&(v=":");let w=e.alignDelimiters===!1?1:Math.max(1,a[u]-x.length-v.length),T=x+"-".repeat(w)+v;e.alignDelimiters!==!1&&(w=x.length+w+v.length,w>a[u]&&(a[u]=w),d[u]=w),f[u]=T}o.splice(1,0,f),s.splice(1,0,d),c=-1;let O=[];for(;++c<o.length;){let m=o[c],x=s[c];u=-1;let v=[];for(;++u<l;){let w=m[u]||"",T="",A="";if(e.alignDelimiters!==!1){let L=a[u]-(x[u]||0),D=r[u];D===114?T=" ".repeat(L):D===99?L%2?(T=" ".repeat(L/2+.5),A=" ".repeat(L/2-.5)):(T=" ".repeat(L/2),A=T):A=" ".repeat(L)}e.delimiterStart!==!1&&!u&&v.push("|"),e.padding!==!1&&!(e.alignDelimiters===!1&&w==="")&&(e.delimiterStart!==!1||u)&&v.push(" "),e.alignDelimiters!==!1&&v.push(T),v.push(w),e.alignDelimiters!==!1&&v.push(A),e.padding!==!1&&v.push(" "),(e.delimiterEnd!==!1||u!==l-1)&&v.push("|")}O.push(e.delimiterEnd===!1?v.join("").replace(/ +$/,""):v.join(""))}return O.join(`
`)}function a9(t){return t==null?"":String(t)}function l9(t){return t.length}function p3(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 g3={}.hasOwnProperty;function Va(t,e){let i=e||{};function n(r,...o){let s=n.invalid,a=n.handlers;if(r&&g3.call(r,t)){let l=String(r[t]);s=g3.call(a,l)?a[l]:n.unknown}if(s)return s.call(this,r,...o)}return n.handlers=i.handlers||{},n.invalid=i.invalid,n.unknown=i.unknown,n}function b3(t,e,i,n){let r=i.enter("blockquote"),o=i.createTracker(n);o.move("> "),o.shift(2);let s=i.indentLines(i.containerFlow(t,o.current()),c9);return r(),s}function c9(t,e,i){return">"+(i?"":" ")+t}function x3(t,e){return y3(t,e.inConstruct,!0)&&!y3(t,e.notInConstruct,!1)}function y3(t,e,i){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return i;let n=-1;for(;++n<e.length;)if(t.includes(e[n]))return!0;return!1}function N0(t,e,i,n){let r=-1;for(;++r<i.unsafe.length;)if(i.unsafe[r].character===`
`&&x3(i.stack,i.unsafe[r]))return/[ \t]/.test(n.before)?"":" ";return`\\
`}function sd(t,e){let i=String(t),n=i.indexOf(e),r=n,o=0,s=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===r?++o>s&&(s=o):o=1,r=n+e.length,n=i.indexOf(e,r);return s}function v3(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 w3(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 k3(t,e,i,n){let r=w3(i),o=t.value||"",s=r==="`"?"GraveAccent":"Tilde";if(v3(t,i)){let f=i.enter("codeIndented"),d=i.indentLines(o,u9);return f(),d}let a=i.createTracker(n),l=r.repeat(Math.max(sd(o,r)+1,3)),c=i.enter("codeFenced"),u=a.move(l);if(t.lang){let f=i.enter(`codeFencedLang${s}`);u+=a.move(i.safe(t.lang,Y({before:u,after:" ",encode:["`"]},a.current()))),f()}if(t.lang&&t.meta){let f=i.enter(`codeFencedMeta${s}`);u+=a.move(" "),u+=a.move(i.safe(t.meta,Y({before:u,after:`
`,encode:["`"]},a.current()))),f()}return u+=a.move(`
`),o&&(u+=a.move(o+`
`)),u+=a.move(l),c(),u}function u9(t,e,i){return(i?"":" ")+t}function Za(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 S3(t,e,i,n){let r=Za(i),o=r==='"'?"Quote":"Apostrophe",s=i.enter("definition"),a=i.enter("label"),l=i.createTracker(n),c=l.move("[");return c+=l.move(i.safe(i.associationId(t),Y({before:c,after:"]"},l.current()))),c+=l.move("]: "),a(),!t.url||/[\0- \u007F]/.test(t.url)?(a=i.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(i.safe(t.url,Y({before:c,after:">"},l.current()))),c+=l.move(">")):(a=i.enter("destinationRaw"),c+=l.move(i.safe(t.url,Y({before:c,after:t.title?" ":`
`},l.current())))),a(),t.title&&(a=i.enter(`title${o}`),c+=l.move(" "+r),c+=l.move(i.safe(t.title,Y({before:c,after:r},l.current()))),c+=l.move(r),a()),s(),c}function T3(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}q0.peek=f9;function q0(t,e,i,n){let r=T3(i),o=i.enter("emphasis"),s=i.createTracker(n),a=s.move(r);return a+=s.move(i.containerPhrasing(t,Y({before:a,after:r},s.current()))),a+=s.move(r),o(),a}function f9(t,e,i){return i.options.emphasis||"*"}function yi(t,e,i,n){let r,o,s;typeof e=="function"&&typeof i!="function"?(o=void 0,s=e,r=i):(o=e,s=i,r=n),Cs(t,o,a,r);function a(l,c){let u=c[c.length-1],f=u?u.children.indexOf(l):void 0;return s(l,f,u)}}var h9={};function Ic(t,e){let i=e||h9,n=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,r=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return P3(t,n,r)}function P3(t,e,i){if(d9(t)){if("value"in t)return t.type==="html"&&!i?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return E3(t.children,e,i)}return Array.isArray(t)?E3(t,e,i):""}function E3(t,e,i){let n=[],r=-1;for(;++r<t.length;)n[r]=P3(t[r],e,i);return n.join("")}function d9(t){return!!(t&&typeof t=="object")}function C3(t,e){let i=!1;return yi(t,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return i=!0,Ps}),!!((!t.depth||t.depth<3)&&Ic(t)&&(e.options.setext||i))}function Q3(t,e,i,n){let r=Math.max(Math.min(6,t.depth||1),1),o=i.createTracker(n);if(C3(t,i)){let u=i.enter("headingSetext"),f=i.enter("phrasing"),d=i.containerPhrasing(t,Ee(Y({},o.current()),{before:`
`,after:`
`}));return f(),u(),d+`
`+(r===1?"=":"-").repeat(d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf(`
`))+1))}let s="#".repeat(r),a=i.enter("headingAtx"),l=i.enter("phrasing");o.move(s+" ");let c=i.containerPhrasing(t,Y({before:"# ",after:`
`},o.current()));return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?s+" "+c:s,i.options.closeAtx&&(c+=" "+s),l(),a(),c}j0.peek=O9;function j0(t){return t.value||""}function O9(){return"<"}W0.peek=p9;function W0(t,e,i,n){let r=Za(i),o=r==='"'?"Quote":"Apostrophe",s=i.enter("image"),a=i.enter("label"),l=i.createTracker(n),c=l.move("![");return c+=l.move(i.safe(t.alt,Y({before:c,after:"]"},l.current()))),c+=l.move("]("),a(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(a=i.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(i.safe(t.url,Y({before:c,after:">"},l.current()))),c+=l.move(">")):(a=i.enter("destinationRaw"),c+=l.move(i.safe(t.url,Y({before:c,after:t.title?" ":")"},l.current())))),a(),t.title&&(a=i.enter(`title${o}`),c+=l.move(" "+r),c+=l.move(i.safe(t.title,Y({before:c,after:r},l.current()))),c+=l.move(r),a()),c+=l.move(")"),s(),c}function p9(){return"!"}V0.peek=m9;function V0(t,e,i,n){let r=t.referenceType,o=i.enter("imageReference"),s=i.enter("label"),a=i.createTracker(n),l=a.move("!["),c=i.safe(t.alt,Y({before:l,after:"]"},a.current()));l+=a.move(c+"]["),s();let u=i.stack;i.stack=[],s=i.enter("reference");let f=i.safe(i.associationId(t),Y({before:l,after:"]"},a.current()));return s(),i.stack=u,o(),r==="full"||!c||c!==f?l+=a.move(f+"]"):r==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function m9(){return"!"}Z0.peek=g9;function Z0(t,e,i){let n=t.value||"",r="`",o=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(n);)r+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++o<i.unsafe.length;){let s=i.unsafe[o],a=i.compilePattern(s),l;if(s.atBreak)for(;l=a.exec(n);){let c=l.index;n.charCodeAt(c)===10&&n.charCodeAt(c-1)===13&&c--,n=n.slice(0,c)+" "+n.slice(l.index+1)}}return r+n+r}function g9(){return"`"}function B0(t,e){let i=Ic(t);return!!(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(i===t.url||"mailto:"+i===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}Y0.peek=b9;function Y0(t,e,i,n){let r=Za(i),o=r==='"'?"Quote":"Apostrophe",s=i.createTracker(n),a,l;if(B0(t,i)){let u=i.stack;i.stack=[],a=i.enter("autolink");let f=s.move("<");return f+=s.move(i.containerPhrasing(t,Y({before:f,after:">"},s.current()))),f+=s.move(">"),a(),i.stack=u,f}a=i.enter("link"),l=i.enter("label");let c=s.move("[");return c+=s.move(i.containerPhrasing(t,Y({before:c,after:"]("},s.current()))),c+=s.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=i.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(i.safe(t.url,Y({before:c,after:">"},s.current()))),c+=s.move(">")):(l=i.enter("destinationRaw"),c+=s.move(i.safe(t.url,Y({before:c,after:t.title?" ":")"},s.current())))),l(),t.title&&(l=i.enter(`title${o}`),c+=s.move(" "+r),c+=s.move(i.safe(t.title,Y({before:c,after:r},s.current()))),c+=s.move(r),l()),c+=s.move(")"),a(),c}function b9(t,e,i){return B0(t,i)?"<":"["}F0.peek=y9;function F0(t,e,i,n){let r=t.referenceType,o=i.enter("linkReference"),s=i.enter("label"),a=i.createTracker(n),l=a.move("["),c=i.containerPhrasing(t,Y({before:l,after:"]"},a.current()));l+=a.move(c+"]["),s();let u=i.stack;i.stack=[],s=i.enter("reference");let f=i.safe(i.associationId(t),Y({before:l,after:"]"},a.current()));return s(),i.stack=u,o(),r==="full"||!c||c!==f?l+=a.move(f+"]"):r==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function y9(){return"["}function Ba(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 _3(t){let e=Ba(t),i=t.options.bulletOther;if(!i)return e==="*"?"-":"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+i+"`) to be different");return i}function A3(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 ad(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 $3(t,e,i,n){let r=i.enter("list"),o=i.bulletCurrent,s=t.ordered?A3(i):Ba(i),a=t.ordered?s==="."?")":".":_3(i),l=e&&i.bulletLastUsed?s===i.bulletLastUsed:!1;if(!t.ordered){let u=t.children?t.children[0]:void 0;if((s==="*"||s==="-")&&u&&(!u.children||!u.children[0])&&i.stack[i.stack.length-1]==="list"&&i.stack[i.stack.length-2]==="listItem"&&i.stack[i.stack.length-3]==="list"&&i.stack[i.stack.length-4]==="listItem"&&i.indexStack[i.indexStack.length-1]===0&&i.indexStack[i.indexStack.length-2]===0&&i.indexStack[i.indexStack.length-3]===0&&(l=!0),ad(i)===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),i.bulletCurrent=s;let c=i.containerFlow(t,n);return i.bulletLastUsed=s,i.bulletCurrent=o,r(),c}function X3(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 R3(t,e,i,n){let r=X3(i),o=i.bulletCurrent||Ba(i);e&&e.type==="list"&&e.ordered&&(o=(typeof e.start=="number"&&e.start>-1?e.start:1)+(i.options.incrementListMarker===!1?0:e.children.indexOf(t))+o);let s=o.length+1;(r==="tab"||r==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(s=Math.ceil(s/4)*4);let a=i.createTracker(n);a.move(o+" ".repeat(s-o.length)),a.shift(s);let l=i.enter("listItem"),c=i.indentLines(i.containerFlow(t,a.current()),u);return l(),c;function u(f,d,O){return d?(O?"":" ".repeat(s))+f:(O?o:o+" ".repeat(s-o.length))+f}}function L3(t,e,i,n){let r=i.enter("paragraph"),o=i.enter("phrasing"),s=i.containerPhrasing(t,n);return o(),r(),s}var H0=sr(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function I3(t,e,i,n){return(t.children.some(function(s){return H0(s)})?i.containerPhrasing:i.containerFlow).call(i,t,n)}function D3(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}G0.peek=x9;function G0(t,e,i,n){let r=D3(i),o=i.enter("strong"),s=i.createTracker(n),a=s.move(r+r);return a+=s.move(i.containerPhrasing(t,Y({before:a,after:r},s.current()))),a+=s.move(r+r),o(),a}function x9(t,e,i){return i.options.strong||"*"}function z3(t,e,i,n){return i.safe(t.value,n)}function U3(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 M3(t,e,i){let n=(ad(i)+(i.options.ruleSpaces?" ":"")).repeat(U3(i));return i.options.ruleSpaces?n.slice(0,-1):n}var Dc={blockquote:b3,break:N0,code:k3,definition:S3,emphasis:q0,hardBreak:N0,heading:Q3,html:j0,image:W0,imageReference:V0,inlineCode:Z0,link:Y0,linkReference:F0,list:$3,listItem:R3,paragraph:L3,root:I3,strong:G0,text:z3,thematicBreak:M3};function J0(){return{enter:{table:v9,tableData:N3,tableHeader:N3,tableRow:k9},exit:{codeText:S9,table:w9,tableData:K0,tableHeader:K0,tableRow:K0}}}function v9(t){let e=t._align;this.enter({type:"table",align:e.map(function(i){return i==="none"?null:i}),children:[]},t),this.data.inTable=!0}function w9(t){this.exit(t),this.data.inTable=void 0}function k9(t){this.enter({type:"tableRow",children:[]},t)}function K0(t){this.exit(t)}function N3(t){this.enter({type:"tableCell",children:[]},t)}function S9(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,T9));let i=this.stack[this.stack.length-1];i.type,i.value=e,this.exit(t)}function T9(t,e){return e==="|"?e:t}function eb(t){let e=t||{},i=e.tableCellPadding,n=e.tablePipeAlign,r=e.stringLength,o=i?" ":"|";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(O,m,x,v){return c(u(O,x,v),O.align)}function a(O,m,x,v){let w=f(O,x,v),T=c([w]);return T.slice(0,T.indexOf(`
`))}function l(O,m,x,v){let w=x.enter("tableCell"),T=x.enter("phrasing"),A=x.containerPhrasing(O,Ee(Y({},v),{before:o,after:o}));return T(),w(),A}function c(O,m){return m3(O,{align:m,alignDelimiters:n,padding:i,stringLength:r})}function u(O,m,x){let v=O.children,w=-1,T=[],A=m.enter("table");for(;++w<v.length;)T[w]=f(v[w],m,x);return A(),T}function f(O,m,x){let v=O.children,w=-1,T=[],A=m.enter("tableRow");for(;++w<v.length;)T[w]=l(v[w],O,m,x);return A(),T}function d(O,m,x){let v=Dc.inlineCode(O,m,x);return x.stack.includes("tableCell")&&(v=v.replace(/\|/g,"\\$&")),v}}function tb(){return{exit:{taskListCheckValueChecked:q3,taskListCheckValueUnchecked:q3,paragraph:E9}}}function ib(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:P9}}}function q3(t){let e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function E9(t){let e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){let i=this.stack[this.stack.length-1];i.type;let n=i.children[0];if(n&&n.type==="text"){let r=e.children,o=-1,s;for(;++o<r.length;){let a=r[o];if(a.type==="paragraph"){s=a;break}}s===i&&(n.value=n.value.slice(1),n.value.length===0?i.children.shift():i.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,i.position.start=Object.assign({},n.position.start)))}}this.exit(t)}function P9(t,e,i,n){let r=t.children[0],o=typeof t.checked=="boolean"&&r&&r.type==="paragraph",s="["+(t.checked?"x":" ")+"] ",a=i.createTracker(n);o&&a.move(s);let l=Dc.listItem(t,e,i,Y(Y({},n),a.current()));return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+s}}function nb(){return[R0(),D0(),U0(),J0(),tb()]}function rb(t){return{extensions:[L0(),z0(),M0(),eb(t),ib()]}}function j3(t,e,i,n){let r=t.length,o=0,s;if(e<0?e=-e>r?0:r+e:e=e>r?r:e,i=i>0?i:0,n.length<1e4)s=Array.from(n),s.unshift(e,i),t.splice(...s);else for(i&&t.splice(e,i);o<n.length;)s=n.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}var W3={}.hasOwnProperty;function V3(t){let e={},i=-1;for(;++i<t.length;)C9(e,t[i]);return e}function C9(t,e){let i;for(i in e){let r=(W3.call(t,i)?t[i]:void 0)||(t[i]={}),o=e[i],s;if(o)for(s in o){W3.call(r,s)||(r[s]=[]);let a=o[s];Q9(r[s],Array.isArray(a)?a:a?[a]:[])}}}function Q9(t,e){let i=-1,n=[];for(;++i<e.length;)(e[i].add==="after"?t:n).push(e[i]);j3(t,0,0,n)}var _9=$o(new RegExp("\\p{P}","u")),Ya=$o(/[A-Za-z]/),ld=$o(/[\dA-Za-z]/),tpe=$o(/[#-'*+\--9=?A-Z^-~]/);function Z3(t){return t!==null&&(t<32||t===127)}var ipe=$o(/\d/),npe=$o(/[\dA-Fa-f]/),A9=$o(/[!-/:-@[-`{-~]/);function Qs(t){return t!==null&&(t<0||t===32)}function ob(t){return A9(t)||_9(t)}var Fa=$o(/\s/);function $o(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}var $9={tokenize:D9,partial:!0},B3={tokenize:z9,partial:!0},Y3={tokenize:U9,partial:!0},F3={tokenize:M9,partial:!0},X9={tokenize:N9,partial:!0},H3={tokenize:L9,previous:K3},G3={tokenize:I9,previous:J3},Ar={tokenize:R9,previous:e5},ar={};function ab(){return{text:ar}}var _s=48;for(;_s<123;)ar[_s]=Ar,_s++,_s===58?_s=65:_s===91&&(_s=97);ar[43]=Ar;ar[45]=Ar;ar[46]=Ar;ar[95]=Ar;ar[72]=[Ar,G3];ar[104]=[Ar,G3];ar[87]=[Ar,H3];ar[119]=[Ar,H3];function R9(t,e,i){let n=this,r,o;return s;function s(f){return!sb(f)||!e5.call(n,n.previous)||lb(n.events)?i(f):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),a(f))}function a(f){return sb(f)?(t.consume(f),a):f===64?(t.consume(f),l):i(f)}function l(f){return f===46?t.check(X9,u,c)(f):f===45||f===95||ld(f)?(o=!0,t.consume(f),l):u(f)}function c(f){return t.consume(f),r=!0,l}function u(f){return o&&r&&Ya(n.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f)):i(f)}}function L9(t,e,i){let n=this;return r;function r(s){return s!==87&&s!==119||!K3.call(n,n.previous)||lb(n.events)?i(s):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check($9,t.attempt(B3,t.attempt(Y3,o),i),i)(s))}function o(s){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(s)}}function I9(t,e,i){let n=this,r="",o=!1;return s;function s(f){return(f===72||f===104)&&J3.call(n,n.previous)&&!lb(n.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),r+=String.fromCodePoint(f),t.consume(f),a):i(f)}function a(f){if(Ya(f)&&r.length<5)return r+=String.fromCodePoint(f),t.consume(f),a;if(f===58){let d=r.toLowerCase();if(d==="http"||d==="https")return t.consume(f),l}return i(f)}function l(f){return f===47?(t.consume(f),o?c:(o=!0,l)):i(f)}function c(f){return f===null||Z3(f)||Qs(f)||Fa(f)||ob(f)?i(f):t.attempt(B3,t.attempt(Y3,u),i)(f)}function u(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function D9(t,e,i){let n=0;return r;function r(s){return(s===87||s===119)&&n<3?(n++,t.consume(s),r):s===46&&n===3?(t.consume(s),o):i(s)}function o(s){return s===null?i(s):e(s)}}function z9(t,e,i){let n,r,o;return s;function s(c){return c===46||c===95?t.check(F3,l,a)(c):c===null||Qs(c)||Fa(c)||c!==45&&ob(c)?l(c):(o=!0,t.consume(c),s)}function a(c){return c===95?n=!0:(r=n,n=void 0),t.consume(c),s}function l(c){return r||n||!o?i(c):e(c)}}function U9(t,e){let i=0,n=0;return r;function r(s){return s===40?(i++,t.consume(s),r):s===41&&n<i?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(F3,e,o)(s):s===null||Qs(s)||Fa(s)?e(s):(t.consume(s),r)}function o(s){return s===41&&n++,t.consume(s),r}}function M9(t,e,i){return n;function n(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),n):a===38?(t.consume(a),o):a===93?(t.consume(a),r):a===60||a===null||Qs(a)||Fa(a)?e(a):i(a)}function r(a){return a===null||a===40||a===91||Qs(a)||Fa(a)?e(a):n(a)}function o(a){return Ya(a)?s(a):i(a)}function s(a){return a===59?(t.consume(a),n):Ya(a)?(t.consume(a),s):i(a)}}function N9(t,e,i){return n;function n(o){return t.consume(o),r}function r(o){return ld(o)?i(o):e(o)}}function K3(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Qs(t)}function J3(t){return!Ya(t)}function e5(t){return!(t===47||sb(t))}function sb(t){return t===43||t===45||t===46||t===95||ld(t)}function lb(t){let e=t.length,i=!1;for(;e--;){let n=t[e][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){i=!0;break}if(n._gfmAutolinkLiteralWalkedInto){i=!1;break}}return t.length>0&&!i&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}var cpe=Xo(new RegExp("\\p{P}","u")),upe=Xo(/[A-Za-z]/),fpe=Xo(/[\dA-Za-z]/),hpe=Xo(/[#-'*+\--9=?A-Z^-~]/);var dpe=Xo(/\d/),Ope=Xo(/[\dA-Fa-f]/),ppe=Xo(/[!-/:-@[-`{-~]/);function t5(t){return t!==null&&t<-2}function zc(t){return t!==null&&(t<0||t===32)}function Uc(t){return t===-2||t===-1||t===32}var mpe=Xo(/\s/);function Xo(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function Mc(t,e,i,n){let r=n?n-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return Uc(l)?(t.enter(i),a(l)):e(l)}function a(l){return Uc(l)&&o++<r?(t.consume(l),a):(t.exit(i),e(l))}}var cb={tokenize:q9,partial:!0};function q9(t,e,i){return n;function n(o){return Uc(o)?Mc(t,r,"linePrefix")(o):r(o)}function r(o){return o===null||t5(o)?e(o):i(o)}}function cd(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var j9={tokenize:H9,partial:!0};function ub(){return{document:{91:{tokenize:B9,continuation:{tokenize:Y9},exit:F9}},text:{91:{tokenize:Z9},93:{add:"after",tokenize:W9,resolveTo:V9}}}}function W9(t,e,i){let n=this,r=n.events.length,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),s;for(;r--;){let l=n.events[r][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 i(l);let c=cd(n.sliceSerialize({start:s.end,end:n.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?i(l):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(l),t.exit("gfmFootnoteCallLabelMarker"),e(l))}}function V9(t,e){let i=t.length,n;for(;i--;)if(t[i][1].type==="labelImage"&&t[i][0]==="enter"){n=t[i][1];break}t[i+1][1].type="data",t[i+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},t[i+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[i+3][1].end),end:Object.assign({},t[i+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[i+1],t[i+2],["enter",r,e],t[i+3],t[i+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",r,e]];return t.splice(i,t.length-i+1,...l),t}function Z9(t,e,i){let n=this,r=n.parser.gfmFootnotes||(n.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?i(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||zc(f))return i(f);if(f===93){t.exit("chunkString");let d=t.exit("gfmFootnoteCallString");return r.includes(cd(n.sliceSerialize(d)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):i(f)}return zc(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 B9(t,e,i){let n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o,s=0,a;return l;function l(m){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(m),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(m){return m===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(m),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",u):i(m)}function u(m){if(s>999||m===93&&!a||m===null||m===91||zc(m))return i(m);if(m===93){t.exit("chunkString");let x=t.exit("gfmFootnoteDefinitionLabelString");return o=cd(n.sliceSerialize(x)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(m),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),d}return zc(m)||(a=!0),s++,t.consume(m),m===92?f:u}function f(m){return m===91||m===92||m===93?(t.consume(m),s++,u):u(m)}function d(m){return m===58?(t.enter("definitionMarker"),t.consume(m),t.exit("definitionMarker"),r.includes(o)||r.push(o),Mc(t,O,"gfmFootnoteDefinitionWhitespace")):i(m)}function O(m){return e(m)}}function Y9(t,e,i){return t.check(cb,e,t.attempt(j9,e,i))}function F9(t){t.exit("gfmFootnoteDefinition")}function H9(t,e,i){let n=this;return Mc(t,r,"gfmFootnoteDefinitionIndent",5);function r(o){let s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):i(o)}}function ud(t,e,i,n){let r=t.length,o=0,s;if(e<0?e=-e>r?0:r+e:e=e>r?r:e,i=i>0?i:0,n.length<1e4)s=Array.from(n),s.unshift(e,i),t.splice(...s);else for(i&&t.splice(e,i);o<n.length;)s=n.slice(o,o+1e4),s.unshift(e,0),t.splice(...s),o+=1e4,e+=1e4}var G9=Ro(new RegExp("\\p{P}","u")),Rpe=Ro(/[A-Za-z]/),Lpe=Ro(/[\dA-Za-z]/),Ipe=Ro(/[#-'*+\--9=?A-Z^-~]/);var Dpe=Ro(/\d/),zpe=Ro(/[\dA-Fa-f]/),K9=Ro(/[!-/:-@[-`{-~]/);function i5(t){return t!==null&&(t<0||t===32)}function n5(t){return K9(t)||G9(t)}var r5=Ro(/\s/);function Ro(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function fb(t){if(t===null||i5(t)||r5(t))return 1;if(n5(t))return 2}function o5(t,e,i){let n=[],r=-1;for(;++r<t.length;){let o=t[r].resolveAll;o&&!n.includes(o)&&(e=o(e,i),n.push(o))}return e}function hb(t){let i=(t||{}).singleTilde,n={tokenize:o,resolveAll:r};return i==null&&(i=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(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]],O=a.parser.constructs.insideSpan.null;O&&ud(d,d.length,0,o5(O,s.slice(c+1,l),a)),ud(d,d.length,0,[["exit",f,a],["enter",s[l][1],a],["exit",s[l][1],a],["exit",u,a]]),ud(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(m){return c===126&&u[u.length-1][1].type!=="characterEscape"?l(m):(s.enter("strikethroughSequenceTemporary"),O(m))}function O(m){let x=fb(c);if(m===126)return f>1?l(m):(s.consume(m),f++,O);if(f<2&&!i)return l(m);let v=s.exit("strikethroughSequenceTemporary"),w=fb(m);return v._open=!w||w===2&&!!x,v._close=!x||x===2&&!!w,a(m)}}}var Fpe=Lo(new RegExp("\\p{P}","u")),Hpe=Lo(/[A-Za-z]/),Gpe=Lo(/[\dA-Za-z]/),Kpe=Lo(/[#-'*+\--9=?A-Z^-~]/);var Jpe=Lo(/\d/),eme=Lo(/[\dA-Fa-f]/),tme=Lo(/[!-/:-@[-`{-~]/);function Nc(t){return t!==null&&t<-2}function db(t){return t!==null&&(t<0||t===32)}function $r(t){return t===-2||t===-1||t===32}var ime=Lo(/\s/);function Lo(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function Ha(t,e,i,n){let r=n?n-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return $r(l)?(t.enter(i),a(l)):e(l)}function a(l){return $r(l)&&o++<r?(t.consume(l),a):(t.exit(i),e(l))}}var fd=class{constructor(){this.map=[]}add(e,i,n){J9(this,e,i,n)}consume(e){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let i=this.map.length,n=[];for(;i>0;)i-=1,n.push(e.slice(this.map[i][0]+this.map[i][1]),this.map[i][2]),e.length=this.map[i][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}};function J9(t,e,i,n){let r=0;if(!(i===0&&n.length===0)){for(;r<t.map.length;){if(t.map[r][0]===e){t.map[r][1]+=i,t.map[r][2].push(...n);return}r+=1}t.map.push([e,i,n])}}function s5(t,e){let i=!1,n=[];for(;e<t.length;){let r=t[e];if(i){if(r[0]==="enter")r[1].type==="tableContent"&&n.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(r[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){let o=n.length-1;n[o]=n[o]==="left"?"center":"right"}}else if(r[1].type==="tableDelimiterRow")break}else r[0]==="enter"&&r[1].type==="tableDelimiterRow"&&(i=!0);e+=1}return n}function Ob(){return{flow:{null:{tokenize:eM,resolveAll:tM}}}}function eM(t,e,i){let n=this,r=0,o=0,s;return a;function a(M){let ie=n.events.length-1;for(;ie>-1;){let de=n.events[ie][1].type;if(de==="lineEnding"||de==="linePrefix")ie--;else break}let ne=ie>-1?n.events[ie][1].type:null,re=ne==="tableHead"||ne==="tableRow"?P:l;return re===P&&n.parser.lazy[n.now().line]?i(M):re(M)}function l(M){return t.enter("tableHead"),t.enter("tableRow"),c(M)}function c(M){return M===124||(s=!0,o+=1),u(M)}function u(M){return M===null?i(M):Nc(M)?o>1?(o=0,n.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(M),t.exit("lineEnding"),O):i(M):$r(M)?Ha(t,u,"whitespace")(M):(o+=1,s&&(s=!1,r+=1),M===124?(t.enter("tableCellDivider"),t.consume(M),t.exit("tableCellDivider"),s=!0,u):(t.enter("data"),f(M)))}function f(M){return M===null||M===124||db(M)?(t.exit("data"),u(M)):(t.consume(M),M===92?d:f)}function d(M){return M===92||M===124?(t.consume(M),f):f(M)}function O(M){return n.interrupt=!1,n.parser.lazy[n.now().line]?i(M):(t.enter("tableDelimiterRow"),s=!1,$r(M)?Ha(t,m,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):m(M))}function m(M){return M===45||M===58?v(M):M===124?(s=!0,t.enter("tableCellDivider"),t.consume(M),t.exit("tableCellDivider"),x):D(M)}function x(M){return $r(M)?Ha(t,v,"whitespace")(M):v(M)}function v(M){return M===58?(o+=1,s=!0,t.enter("tableDelimiterMarker"),t.consume(M),t.exit("tableDelimiterMarker"),w):M===45?(o+=1,w(M)):M===null||Nc(M)?L(M):D(M)}function w(M){return M===45?(t.enter("tableDelimiterFiller"),T(M)):D(M)}function T(M){return M===45?(t.consume(M),T):M===58?(s=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(M),t.exit("tableDelimiterMarker"),A):(t.exit("tableDelimiterFiller"),A(M))}function A(M){return $r(M)?Ha(t,L,"whitespace")(M):L(M)}function L(M){return M===124?m(M):M===null||Nc(M)?!s||r!==o?D(M):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(M)):D(M)}function D(M){return i(M)}function P(M){return t.enter("tableRow"),N(M)}function N(M){return M===124?(t.enter("tableCellDivider"),t.consume(M),t.exit("tableCellDivider"),N):M===null||Nc(M)?(t.exit("tableRow"),e(M)):$r(M)?Ha(t,N,"whitespace")(M):(t.enter("data"),le(M))}function le(M){return M===null||M===124||db(M)?(t.exit("data"),N(M)):(t.consume(M),M===92?H:le)}function H(M){return M===92||M===124?(t.consume(M),le):le(M)}}function tM(t,e){let i=-1,n=!0,r=0,o=[0,0,0,0],s=[0,0,0,0],a=!1,l=0,c,u,f,d=new fd;for(;++i<t.length;){let O=t[i],m=O[1];O[0]==="enter"?m.type==="tableHead"?(a=!1,l!==0&&(a5(d,e,l,c,u),u=void 0,l=0),c={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},d.add(i,0,[["enter",c,e]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(n=!0,f=void 0,o=[0,0,0,0],s=[0,i+1,0,0],a&&(a=!1,u={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},d.add(i,0,[["enter",u,e]])),r=m.type==="tableDelimiterRow"?2:u?3:1):r&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(o[1]!==0&&(s[0]=s[1],f=hd(d,e,o,r,void 0,f),o=[0,0,0,0]),s[2]=i)):m.type==="tableCellDivider"&&(n?n=!1:(o[1]!==0&&(s[0]=s[1],f=hd(d,e,o,r,void 0,f)),o=s,s=[o[1],i,0,0])):m.type==="tableHead"?(a=!0,l=i):m.type==="tableRow"||m.type==="tableDelimiterRow"?(l=i,o[1]!==0?(s[0]=s[1],f=hd(d,e,o,r,i,f)):s[1]!==0&&(f=hd(d,e,s,r,i,f)),r=0):r&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(s[3]=i)}for(l!==0&&a5(d,e,l,c,u),d.consume(e.events),i=-1;++i<e.events.length;){let O=e.events[i];O[0]==="enter"&&O[1].type==="table"&&(O[1]._align=s5(e.events,i))}return t}function hd(t,e,i,n,r,o){let s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",a="tableContent";i[0]!==0&&(o.end=Object.assign({},Ga(e.events,i[0])),t.add(i[0],0,[["exit",o,e]]));let l=Ga(e.events,i[1]);if(o={type:s,start:Object.assign({},l),end:Object.assign({},l)},t.add(i[1],0,[["enter",o,e]]),i[2]!==0){let c=Ga(e.events,i[2]),u=Ga(e.events,i[3]),f={type:a,start:Object.assign({},c),end:Object.assign({},u)};if(t.add(i[2],0,[["enter",f,e]]),n!==2){let d=e.events[i[2]],O=e.events[i[3]];if(d[1].end=Object.assign({},O[1].end),d[1].type="chunkText",d[1].contentType="text",i[3]>i[2]+1){let m=i[2]+1,x=i[3]-i[2]-1;t.add(m,x,[])}}t.add(i[3]+1,0,[["exit",f,e]])}return r!==void 0&&(o.end=Object.assign({},Ga(e.events,r)),t.add(r,0,[["exit",o,e]]),o=void 0),o}function a5(t,e,i,n,r){let o=[],s=Ga(e.events,i);r&&(r.end=Object.assign({},s),o.push(["exit",r,e])),n.end=Object.assign({},s),o.push(["exit",n,e]),t.add(i+1,0,o)}function Ga(t,e){let i=t[e],n=i[0]==="enter"?"start":"end";return i[1][n]}var pme=Io(new RegExp("\\p{P}","u")),mme=Io(/[A-Za-z]/),gme=Io(/[\dA-Za-z]/),bme=Io(/[#-'*+\--9=?A-Z^-~]/);var yme=Io(/\d/),xme=Io(/[\dA-Fa-f]/),vme=Io(/[!-/:-@[-`{-~]/);function l5(t){return t!==null&&t<-2}function c5(t){return t!==null&&(t<0||t===32)}function qc(t){return t===-2||t===-1||t===32}var wme=Io(/\s/);function Io(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function u5(t,e,i,n){let r=n?n-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return qc(l)?(t.enter(i),a(l)):e(l)}function a(l){return qc(l)&&o++<r?(t.consume(l),a):(t.exit(i),e(l))}}var iM={tokenize:nM};function pb(){return{text:{91:iM}}}function nM(t,e,i){let n=this;return r;function r(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?i(l):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),o)}function o(l){return c5(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):i(l)}function s(l){return l===93?(t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),a):i(l)}function a(l){return l5(l)?e(l):qc(l)?t.check({tokenize:rM},e,i)(l):i(l)}}function rM(t,e,i){return u5(t,n,"whitespace");function n(r){return r===null?i(r):e(r)}}function f5(t){return V3([ab(),ub(),hb(t),Ob(),pb()])}var oM={};function dd(t){let e=this,i=t||oM,n=e.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(f5(i)),o.push(nb()),s.push(rb(i))}function mb(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:o},exit:{mathFlow:r,mathFlowFence:n,mathFlowFenceMeta:i,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 i(){let l=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=l}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function r(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 gb(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),n.peek=r,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
`,inConstruct:"mathFlowMeta"},{character:"$",after:e?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:i,inlineMath:n}};function i(o,s,a,l){let c=o.value||"",u=a.createTracker(l),f="$".repeat(Math.max(sd(c,"$")+1,2)),d=a.enter("mathFlow"),O=u.move(f);if(o.meta){let m=a.enter("mathFlowMeta");O+=u.move(a.safe(o.meta,Y({after:`
`,before:O,encode:["$"]},u.current()))),m()}return O+=u.move(`
`),c&&(O+=u.move(c+`
`)),O+=u.move(f),d(),O}function n(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 O=a.compilePattern(d),m;for(;m=O.exec(l);){let x=m.index;l.codePointAt(x)===10&&l.codePointAt(x-1)===13&&x--,l=l.slice(0,x)+" "+l.slice(m.index+1)}}return u+l+u}function r(){return"$"}}var ege=Do(new RegExp("\\p{P}","u")),tge=Do(/[A-Za-z]/),ige=Do(/[\dA-Za-z]/),nge=Do(/[#-'*+\--9=?A-Z^-~]/);var rge=Do(/\d/),oge=Do(/[\dA-Fa-f]/),sge=Do(/[!-/:-@[-`{-~]/);function Xr(t){return t!==null&&t<-2}function bb(t){return t===-2||t===-1||t===32}var age=Do(/\s/);function Do(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function jc(t,e,i,n){let r=n?n-1:Number.POSITIVE_INFINITY,o=0;return s;function s(l){return bb(l)?(t.enter(i),a(l)):e(l)}function a(l){return bb(l)&&o++<r?(t.consume(l),a):(t.exit(i),e(l))}}var d5={tokenize:sM,concrete:!0},h5={tokenize:aM,partial:!0};function sM(t,e,i){let n=this,r=n.events[n.events.length-1],o=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],!0).length:0,s=0;return a;function a(T){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),l(T)}function l(T){return T===36?(t.consume(T),s++,l):s<2?i(T):(t.exit("mathFlowFenceSequence"),jc(t,c,"whitespace")(T))}function c(T){return T===null||Xr(T)?f(T):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),u(T))}function u(T){return T===null||Xr(T)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),f(T)):T===36?i(T):(t.consume(T),u)}function f(T){return t.exit("mathFlowFence"),n.interrupt?e(T):t.attempt(h5,d,v)(T)}function d(T){return t.attempt({tokenize:w,partial:!0},v,O)(T)}function O(T){return(o?jc(t,m,"linePrefix",o+1):m)(T)}function m(T){return T===null?v(T):Xr(T)?t.attempt(h5,d,v)(T):(t.enter("mathFlowValue"),x(T))}function x(T){return T===null||Xr(T)?(t.exit("mathFlowValue"),m(T)):(t.consume(T),x)}function v(T){return t.exit("mathFlow"),e(T)}function w(T,A,L){let D=0;return jc(T,P,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function P(H){return T.enter("mathFlowFence"),T.enter("mathFlowFenceSequence"),N(H)}function N(H){return H===36?(D++,T.consume(H),N):D<s?L(H):(T.exit("mathFlowFenceSequence"),jc(T,le,"whitespace")(H))}function le(H){return H===null||Xr(H)?(T.exit("mathFlowFence"),A(H)):L(H)}}}function aM(t,e,i){let n=this;return r;function r(s){return s===null?e(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o)}function o(s){return n.parser.lazy[n.now().line]?i(s):e(s)}}function O5(t){let i=(t||{}).singleDollarTextMath;return i==null&&(i=!0),{tokenize:n,resolve:lM,previous:cM};function n(r,o,s){let a=this,l=0,c,u;return f;function f(v){return r.enter("mathText"),r.enter("mathTextSequence"),d(v)}function d(v){return v===36?(r.consume(v),l++,d):l<2&&!i?s(v):(r.exit("mathTextSequence"),O(v))}function O(v){return v===null?s(v):v===36?(u=r.enter("mathTextSequence"),c=0,x(v)):v===32?(r.enter("space"),r.consume(v),r.exit("space"),O):Xr(v)?(r.enter("lineEnding"),r.consume(v),r.exit("lineEnding"),O):(r.enter("mathTextData"),m(v))}function m(v){return v===null||v===32||v===36||Xr(v)?(r.exit("mathTextData"),O(v)):(r.consume(v),m)}function x(v){return v===36?(r.consume(v),c++,x):c===l?(r.exit("mathTextSequence"),r.exit("mathText"),o(v)):(u.type="mathTextData",m(v))}}}function lM(t){let e=t.length-4,i=3,n,r;if((t[i][1].type==="lineEnding"||t[i][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(n=i;++n<e;)if(t[n][1].type==="mathTextData"){t[e][1].type="mathTextPadding",t[i][1].type="mathTextPadding",i+=2,e-=2;break}}for(n=i-1,e++;++n<=e;)r===void 0?n!==e&&t[n][1].type!=="lineEnding"&&(r=n):(n===e||t[n][1].type==="lineEnding")&&(t[r][1].type="mathTextData",n!==r+2&&(t[r][1].end=t[n-1][1].end,t.splice(r+2,n-r-2),e-=n-r-2,n=r+2),r=void 0);return t}function cM(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function yb(t){return{flow:{36:d5},text:{36:O5(t)}}}var uM={};function Od(t){let e=this,i=t||uM,n=e.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(yb(i)),o.push(mb()),s.push(gb(i))}function p5(t,e){let i={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,i),t.applyData(e,i)}function m5(t,e){let i={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,i),[t.applyData(e,i),{type:"text",value:`
`}]}function g5(t,e){let i=e.value?e.value+`
`:"",n={};e.lang&&(n.className=["language-"+e.lang]);let r={type:"element",tagName:"code",properties:n,children:[{type:"text",value:i}]};return e.meta&&(r.data={meta:e.meta}),t.patch(e,r),r=t.applyData(e,r),r={type:"element",tagName:"pre",properties:{},children:[r]},t.patch(e,r),r}function b5(t,e){let i={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function y5(t,e){let i={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}var Age=zo(new RegExp("\\p{P}","u")),$ge=zo(/[A-Za-z]/),xb=zo(/[\dA-Za-z]/),Xge=zo(/[#-'*+\--9=?A-Z^-~]/);var Rge=zo(/\d/),Lge=zo(/[\dA-Fa-f]/),Ige=zo(/[!-/:-@[-`{-~]/);var Dge=zo(/\s/);function zo(t){return e;function e(i){return i!==null&&i>-1&&t.test(String.fromCharCode(i))}}function mn(t){let e=[],i=-1,n=0,r=0;for(;++i<t.length;){let o=t.charCodeAt(i),s="";if(o===37&&xb(t.charCodeAt(i+1))&&xb(t.charCodeAt(i+2)))r=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(i+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),r=1):s="\uFFFD"}else s=String.fromCharCode(o);s&&(e.push(t.slice(n,i),encodeURIComponent(s)),n=i+r+1,s=""),r&&(i+=r,r=0)}return e.join("")+t.slice(n)}function x5(t,e){let i=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",n=String(e.identifier).toUpperCase(),r=mn(n.toLowerCase()),o=t.footnoteOrder.indexOf(n),s,a=t.footnoteCounts.get(n);a===void 0?(a=0,t.footnoteOrder.push(n),s=t.footnoteOrder.length):s=o+1,a+=1,t.footnoteCounts.set(n,a);let l={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+r,id:i+"fnref-"+r+(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 v5(t,e){let i={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function w5(t,e){if(t.options.allowDangerousHtml){let i={type:"raw",value:e.value};return t.patch(e,i),t.applyData(e,i)}}function pd(t,e){let i=e.referenceType,n="]";if(i==="collapsed"?n+="[]":i==="full"&&(n+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+n}];let r=t.all(e),o=r[0];o&&o.type==="text"?o.value="["+o.value:r.unshift({type:"text",value:"["});let s=r[r.length-1];return s&&s.type==="text"?s.value+=n:r.push({type:"text",value:n}),r}function k5(t,e){let i=String(e.identifier).toUpperCase(),n=t.definitionById.get(i);if(!n)return pd(t,e);let r={src:mn(n.url||""),alt:e.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);let o={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,o),t.applyData(e,o)}function S5(t,e){let i={src:mn(e.url)};e.alt!==null&&e.alt!==void 0&&(i.alt=e.alt),e.title!==null&&e.title!==void 0&&(i.title=e.title);let n={type:"element",tagName:"img",properties:i,children:[]};return t.patch(e,n),t.applyData(e,n)}function T5(t,e){let i={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,i);let n={type:"element",tagName:"code",properties:{},children:[i]};return t.patch(e,n),t.applyData(e,n)}function E5(t,e){let i=String(e.identifier).toUpperCase(),n=t.definitionById.get(i);if(!n)return pd(t,e);let r={href:mn(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);let o={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,o),t.applyData(e,o)}function P5(t,e){let i={href:mn(e.url)};e.title!==null&&e.title!==void 0&&(i.title=e.title);let n={type:"element",tagName:"a",properties:i,children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function C5(t,e,i){let n=t.all(e),r=i?fM(i):Q5(e),o={},s=[];if(typeof e.checked=="boolean"){let u=n[0],f;u&&u.type==="element"&&u.tagName==="p"?f=u:(f={type:"element",tagName:"p",properties:{},children:[]},n.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<n.length;){let u=n[a];(r||a!==0||u.type!=="element"||u.tagName!=="p")&&s.push({type:"text",value:`
`}),u.type==="element"&&u.tagName==="p"&&!r?s.push(...u.children):s.push(u)}let l=n[n.length-1];l&&(r||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 fM(t){let e=!1;if(t.type==="list"){e=t.spread||!1;let i=t.children,n=-1;for(;!e&&++n<i.length;)e=Q5(i[n])}return e}function Q5(t){let e=t.spread;return e==null?t.children.length>1:e}function _5(t,e){let i={},n=t.all(e),r=-1;for(typeof e.start=="number"&&e.start!==1&&(i.start=e.start);++r<n.length;){let s=n[r];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}let o={type:"element",tagName:e.ordered?"ol":"ul",properties:i,children:t.wrap(n,!0)};return t.patch(e,o),t.applyData(e,o)}function A5(t,e){let i={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function $5(t,e){let i={type:"root",children:t.wrap(t.all(e))};return t.patch(e,i),t.applyData(e,i)}function X5(t,e){let i={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}var As=R5("end"),gn=R5("start");function R5(t){return e;function e(i){let n=i&&i.position&&i.position[t]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function Wc(t){let e=gn(t),i=As(t);if(e&&i)return{start:e,end:i}}function L5(t,e){let i=t.all(e),n=i.shift(),r=[];if(n){let s={type:"element",tagName:"thead",properties:{},children:t.wrap([n],!0)};t.patch(e.children[0],s),r.push(s)}if(i.length>0){let s={type:"element",tagName:"tbody",properties:{},children:t.wrap(i,!0)},a=gn(e.children[1]),l=As(e.children[e.children.length-1]);a&&l&&(s.position={start:a,end:l}),r.push(s)}let o={type:"element",tagName:"table",properties:{},children:t.wrap(r,!0)};return t.patch(e,o),t.applyData(e,o)}function I5(t,e,i){let n=i?i.children:void 0,o=(n?n.indexOf(e):1)===0?"th":"td",s=i&&i.type==="table"?i.align:void 0,a=s?s.length:e.children.length,l=-1,c=[];for(;++l<a;){let f=e.children[l],d={},O=s?s[l]:void 0;O&&(d.align=O);let m={type:"element",tagName:o,properties:d,children:[]};f&&(m.children=t.all(f),t.patch(f,m),m=t.applyData(f,m)),c.push(m)}let u={type:"element",tagName:"tr",properties:{},children:t.wrap(c,!0)};return t.patch(e,u),t.applyData(e,u)}function D5(t,e){let i={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function U5(t){let e=String(t),i=/\r?\n|\r/g,n=i.exec(e),r=0,o=[];for(;n;)o.push(z5(e.slice(r,n.index),r>0,!0),n[0]),r=n.index+n[0].length,n=i.exec(e);return o.push(z5(e.slice(r),r>0,!1)),o.join("")}function z5(t,e,i){let n=0,r=t.length;if(e){let o=t.codePointAt(n);for(;o===9||o===32;)n++,o=t.codePointAt(n)}if(i){let o=t.codePointAt(r-1);for(;o===9||o===32;)r--,o=t.codePointAt(r-1)}return r>n?t.slice(n,r):""}function M5(t,e){let i={type:"text",value:U5(String(e.value))};return t.patch(e,i),t.applyData(e,i)}function N5(t,e){let i={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,i),t.applyData(e,i)}var q5={blockquote:p5,break:m5,code:g5,delete:b5,emphasis:y5,footnoteReference:x5,heading:v5,html:w5,imageReference:k5,image:S5,inlineCode:T5,linkReference:E5,link:P5,listItem:C5,list:_5,paragraph:A5,root:$5,strong:X5,table:L5,tableCell:D5,tableRow:I5,text:M5,thematicBreak:N5,toml:md,yaml:md,definition:md,footnoteDefinition:md};function md(){}var j5=typeof self=="object"?self:globalThis,hM=(t,e)=>{let i=(r,o)=>(t.set(o,r),r),n=r=>{if(t.has(r))return t.get(r);let[o,s]=e[r];switch(o){case 0:case-1:return i(s,r);case 1:{let a=i([],r);for(let l of s)a.push(n(l));return a}case 2:{let a=i({},r);for(let[l,c]of s)a[n(l)]=n(c);return a}case 3:return i(new Date(s),r);case 4:{let{source:a,flags:l}=s;return i(new RegExp(a,l),r)}case 5:{let a=i(new Map,r);for(let[l,c]of s)a.set(n(l),n(c));return a}case 6:{let a=i(new Set,r);for(let l of s)a.add(n(l));return a}case 7:{let{name:a,message:l}=s;return i(new j5[a](l),r)}case 8:return i(BigInt(s),r);case"BigInt":return i(Object(BigInt(s)),r)}return i(new j5[o](s),r)};return n},Sb=t=>hM(new Map,t)(0);var Ka="",{toString:dM}={},{keys:OM}=Object,Yc=t=>{let e=typeof t;if(e!=="object"||!t)return[0,e];let i=dM.call(t).slice(8,-1);switch(i){case"Array":return[1,Ka];case"Object":return[2,Ka];case"Date":return[3,Ka];case"RegExp":return[4,Ka];case"Map":return[5,Ka];case"Set":return[6,Ka]}return i.includes("Array")?[1,i]:i.includes("Error")?[7,i]:[2,i]},vd=([t,e])=>t===0&&(e==="function"||e==="symbol"),pM=(t,e,i,n)=>{let r=(s,a)=>{let l=n.push(s)-1;return i.set(a,l),l},o=s=>{if(i.has(s))return i.get(s);let[a,l]=Yc(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 r([-1],s)}return r([a,u],s)}case 1:{if(l)return r([l,[...s]],s);let u=[],f=r([a,u],s);for(let d of s)u.push(o(d));return f}case 2:{if(l)switch(l){case"BigInt":return r([l,s.toString()],s);case"Boolean":case"Number":case"String":return r([l,s.valueOf()],s)}if(e&&"toJSON"in s)return o(s.toJSON());let u=[],f=r([a,u],s);for(let d of OM(s))(t||!vd(Yc(s[d])))&&u.push([o(d),o(s[d])]);return f}case 3:return r([a,s.toISOString()],s);case 4:{let{source:u,flags:f}=s;return r([a,{source:u,flags:f}],s)}case 5:{let u=[],f=r([a,u],s);for(let[d,O]of s)(t||!(vd(Yc(d))||vd(Yc(O))))&&u.push([o(d),o(O)]);return f}case 6:{let u=[],f=r([a,u],s);for(let d of s)(t||!vd(Yc(d)))&&u.push(o(d));return f}}let{message:c}=s;return r([a,{name:l,message:c}],s)};return o},Tb=(t,{json:e,lossy:i}={})=>{let n=[];return pM(!(e||i),!!e,new Map,n)(t),n};var zn=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?Sb(Tb(t,e)):structuredClone(t):(t,e)=>Sb(Tb(t,e));function mM(t,e){let i=[{type:"text",value:"\u21A9"}];return e>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),i}function gM(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function W5(t){let e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",i=t.options.footnoteBackContent||mM,n=t.options.footnoteBackLabel||gM,r=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=mn(f.toLowerCase()),O=0,m=[],x=t.footnoteCounts.get(f);for(;x!==void 0&&++O<=x;){m.length>0&&m.push({type:"text",value:" "});let T=typeof i=="string"?i:i(l,O);typeof T=="string"&&(T={type:"text",value:T}),m.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+d+(O>1?"-"+O:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(l,O),className:["data-footnote-backref"]},children:Array.isArray(T)?T:[T]})}let v=u[u.length-1];if(v&&v.type==="element"&&v.tagName==="p"){let T=v.children[v.children.length-1];T&&T.type==="text"?T.value+=" ":v.children.push({type:"text",value:" "}),v.children.push(...m)}else u.push(...m);let w={type:"element",tagName:"li",properties:{id:e+"fn-"+d},children:t.wrap(u,!0)};t.patch(c,w),a.push(w)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:Ee(Y({},zn(s)),{id:"footnote-label"}),children:[{type:"text",value:r}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:t.wrap(a,!0)},{type:"text",value:`
`}]}}var Eb={}.hasOwnProperty,bM={};function Z5(t,e){let i=e||bM,n=new Map,r=new Map,o=new Map,s=Y(Y({},q5),i.handlers),a={all:c,applyData:xM,definitionById:n,footnoteById:r,footnoteCounts:o,footnoteOrder:[],handlers:s,one:l,options:i,patch:yM,wrap:wM};return yi(t,function(u){if(u.type==="definition"||u.type==="footnoteDefinition"){let f=u.type==="definition"?n:r,d=String(u.identifier).toUpperCase();f.has(d)||f.set(d,u)}}),a;function l(u,f){let d=u.type,O=a.handlers[d];if(Eb.call(a.handlers,d)&&O)return O(a,u,f);if(a.options.passThrough&&a.options.passThrough.includes(d)){if("children"in u){let x=u,{children:v}=x,w=gi(x,["children"]),T=zn(w);return T.children=a.all(u),T}return zn(u)}return(a.options.unknownHandler||vM)(a,u,f)}function c(u){let f=[];if("children"in u){let d=u.children,O=-1;for(;++O<d.length;){let m=a.one(d[O],u);if(m){if(O&&d[O-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=V5(m.value)),!Array.isArray(m)&&m.type==="element")){let x=m.children[0];x&&x.type==="text"&&(x.value=V5(x.value))}Array.isArray(m)?f.push(...m):f.push(m)}}}return f}}function yM(t,e){t.position&&(e.position=Wc(t))}function xM(t,e){let i=e;if(t&&t.data){let n=t.data.hName,r=t.data.hChildren,o=t.data.hProperties;if(typeof n=="string")if(i.type==="element")i.tagName=n;else{let s="children"in i?i.children:[i];i={type:"element",tagName:n,properties:{},children:s}}i.type==="element"&&o&&Object.assign(i.properties,zn(o)),"children"in i&&i.children&&r!==null&&r!==void 0&&(i.children=r)}return i}function vM(t,e){let i=e.data||{},n="value"in e&&!(Eb.call(i,"hProperties")||Eb.call(i,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function wM(t,e){let i=[],n=-1;for(e&&i.push({type:"text",value:`
`});++n<t.length;)n&&i.push({type:"text",value:`
`}),i.push(t[n]);return e&&t.length>0&&i.push({type:"text",value:`
`}),i}function V5(t){let e=0,i=t.charCodeAt(e);for(;i===9||i===32;)e++,i=t.charCodeAt(e);return t.slice(e)}function wd(t,e){let i=Z5(t,e),n=i.one(t,void 0),r=W5(i),o=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return r&&("children"in o,o.children.push({type:"text",value:`
`},r)),o}function kd(t,e){return t&&"run"in t?async function(i,n){let r=wd(i,Y({file:n},e));await t.run(r,n)}:function(i,n){return wd(i,Y({file:n},t||e))}}var Rr=class{constructor(e,i,n){this.property=e,this.normal=i,n&&(this.space=n)}};Rr.prototype.property={};Rr.prototype.normal={};Rr.prototype.space=null;function Pb(t,e){let i={},n={},r=-1;for(;++r<t.length;)Object.assign(i,t[r].property),Object.assign(n,t[r].normal);return new Rr(i,n,e)}function Lr(t){return t.toLowerCase()}var xi=class{constructor(e,i){this.property=e,this.attribute=i}};xi.prototype.space=null;xi.prototype.boolean=!1;xi.prototype.booleanish=!1;xi.prototype.overloadedBoolean=!1;xi.prototype.number=!1;xi.prototype.commaSeparated=!1;xi.prototype.spaceSeparated=!1;xi.prototype.commaOrSpaceSeparated=!1;xi.prototype.mustUseProperty=!1;xi.prototype.defined=!1;var Fc={};hc(Fc,{boolean:()=>De,booleanish:()=>It,commaOrSpaceSeparated:()=>qi,commaSeparated:()=>Uo,number:()=>me,overloadedBoolean:()=>Cb,spaceSeparated:()=>ft});var kM=0,De=$s(),It=$s(),Cb=$s(),me=$s(),ft=$s(),Uo=$s(),qi=$s();function $s(){return 2**++kM}var Qb=Object.keys(Fc),Xs=class extends xi{constructor(e,i,n,r){let o=-1;if(super(e,i),B5(this,"space",r),typeof n=="number")for(;++o<Qb.length;){let s=Qb[o];B5(this,Qb[o],(n&Fc[s])===Fc[s])}}};Xs.prototype.defined=!0;function B5(t,e,i){i&&(t[e]=i)}var SM={}.hasOwnProperty;function bn(t){let e={},i={},n;for(n in t.properties)if(SM.call(t.properties,n)){let r=t.properties[n],o=new Xs(n,t.transform(t.attributes||{},n),r,t.space);t.mustUseProperty&&t.mustUseProperty.includes(n)&&(o.mustUseProperty=!0),e[n]=o,i[Lr(n)]=n,i[Lr(o.attribute)]=n}return new Rr(e,i,t.space)}var _b=bn({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 Ab=bn({space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Sd(t,e){return e in t?t[e]:e}function Td(t,e){return Sd(t,e.toLowerCase())}var $b=bn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Td,properties:{xmlns:null,xmlnsXLink:null}});var Xb=bn({transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:It,ariaAutoComplete:null,ariaBusy:It,ariaChecked:It,ariaColCount:me,ariaColIndex:me,ariaColSpan:me,ariaControls:ft,ariaCurrent:null,ariaDescribedBy:ft,ariaDetails:null,ariaDisabled:It,ariaDropEffect:ft,ariaErrorMessage:null,ariaExpanded:It,ariaFlowTo:ft,ariaGrabbed:It,ariaHasPopup:null,ariaHidden:It,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ft,ariaLevel:me,ariaLive:null,ariaModal:It,ariaMultiLine:It,ariaMultiSelectable:It,ariaOrientation:null,ariaOwns:ft,ariaPlaceholder:null,ariaPosInSet:me,ariaPressed:It,ariaReadOnly:It,ariaRelevant:null,ariaRequired:It,ariaRoleDescription:ft,ariaRowCount:me,ariaRowIndex:me,ariaRowSpan:me,ariaSelected:It,ariaSetSize:me,ariaSort:null,ariaValueMax:me,ariaValueMin:me,ariaValueNow:me,ariaValueText:null,role:null}});var Y5=bn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Td,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Uo,acceptCharset:ft,accessKey:ft,action:null,allow:null,allowFullScreen:De,allowPaymentRequest:De,allowUserMedia:De,alt:null,as:null,async:De,autoCapitalize:null,autoComplete:ft,autoFocus:De,autoPlay:De,blocking:ft,capture:De,charSet:null,checked:De,cite:null,className:ft,cols:me,colSpan:null,content:null,contentEditable:It,controls:De,controlsList:ft,coords:me|Uo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:De,defer:De,dir:null,dirName:null,disabled:De,download:Cb,draggable:It,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:De,formTarget:null,headers:ft,height:me,hidden:De,high:me,href:null,hrefLang:null,htmlFor:ft,httpEquiv:ft,id:null,imageSizes:null,imageSrcSet:null,inert:De,inputMode:null,integrity:null,is:null,isMap:De,itemId:null,itemProp:ft,itemRef:ft,itemScope:De,itemType:ft,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:De,low:me,manifest:null,max:null,maxLength:me,media:null,method:null,min:null,minLength:me,multiple:De,muted:De,name:null,nonce:null,noModule:De,noValidate:De,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:De,optimum:me,pattern:null,ping:ft,placeholder:null,playsInline:De,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:De,referrerPolicy:null,rel:ft,required:De,reversed:De,rows:me,rowSpan:me,sandbox:ft,scope:null,scoped:De,seamless:De,selected:De,shape:null,size:me,sizes:null,slot:null,span:me,spellCheck:It,src:null,srcDoc:null,srcLang:null,srcSet:null,start:me,step:null,style:null,tabIndex:me,target:null,title:null,translate:null,type:null,typeMustMatch:De,useMap:null,value:It,width:me,wrap:null,align:null,aLink:null,archive:ft,axis:null,background:null,bgColor:null,border:me,borderColor:null,bottomMargin:me,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:De,declare:De,event:null,face:null,frame:null,frameBorder:null,hSpace:me,leftMargin:me,link:null,longDesc:null,lowSrc:null,marginHeight:me,marginWidth:me,noResize:De,noHref:De,noShade:De,noWrap:De,object:null,profile:null,prompt:null,rev:null,rightMargin:me,rules:null,scheme:null,scrolling:It,standby:null,summary:null,text:null,topMargin:me,valueType:null,version:null,vAlign:null,vLink:null,vSpace:me,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:De,disableRemotePlayback:De,prefix:null,property:null,results:me,security:null,unselectable:null}});var F5=bn({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:Sd,properties:{about:qi,accentHeight:me,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:me,amplitude:me,arabicForm:null,ascent:me,attributeName:null,attributeType:null,azimuth:me,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:me,by:null,calcMode:null,capHeight:me,className:ft,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:me,diffuseConstant:me,direction:null,display:null,dur:null,divisor:me,dominantBaseline:null,download:De,dx:null,dy:null,edgeMode:null,editable:null,elevation:me,enableBackground:null,end:null,event:null,exponent:me,externalResourcesRequired:null,fill:null,fillOpacity:me,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:Uo,g2:Uo,glyphName:Uo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:me,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:me,horizOriginX:me,horizOriginY:me,id:null,ideographic:me,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:me,k:me,k1:me,k2:me,k3:me,k4:me,kernelMatrix:qi,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:me,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:me,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:me,overlineThickness:me,paintOrder:null,panose1:null,path:null,pathLength:me,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ft,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:me,pointsAtY:me,pointsAtZ:me,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:qi,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:qi,rev:qi,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:qi,requiredFeatures:qi,requiredFonts:qi,requiredFormats:qi,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:me,specularExponent:me,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:me,strikethroughThickness:me,string:null,stroke:null,strokeDashArray:qi,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:me,strokeOpacity:me,strokeWidth:null,style:null,surfaceScale:me,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:qi,tabIndex:me,tableValues:null,target:null,targetX:me,targetY:me,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:qi,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:me,underlineThickness:me,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:me,values:null,vAlphabetic:me,vMathematical:me,vectorEffect:null,vHanging:me,vIdeographic:me,version:null,vertAdvY:me,vertOriginX:me,vertOriginY:me,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:me,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});var TM=/^data[-\w.:]+$/i,H5=/-[a-z]/g,EM=/[A-Z]/g;function Ir(t,e){let i=Lr(e),n=e,r=xi;if(i in t.normal)return t.property[t.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&TM.test(e)){if(e.charAt(4)==="-"){let o=e.slice(5).replace(H5,CM);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=e.slice(4);if(!H5.test(o)){let s=o.replace(EM,PM);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}r=Xs}return new r(n,e)}function PM(t){return"-"+t.toLowerCase()}function CM(t){return t.charAt(1).toUpperCase()}var Dr=Pb([Ab,_b,$b,Xb,Y5],"html"),yn=Pb([Ab,_b,$b,Xb,F5],"svg");function Rb(t){let e=[],i=String(t||""),n=i.indexOf(","),r=0,o=!1;for(;!o;){n===-1&&(n=i.length,o=!0);let s=i.slice(r,n).trim();(s||!o)&&e.push(s),r=n+1,n=i.indexOf(",",r)}return e}function Ed(t,e){let i=e||{};return(t[t.length-1]===""?[...t,""]:t).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}var G5=/[#.]/g;function Lb(t,e){let i=t||"",n={},r=0,o,s;for(;r<i.length;){G5.lastIndex=r;let a=G5.exec(i),l=i.slice(r,a?a.index:i.length);l&&(o?o==="#"?n.id=l:Array.isArray(n.className)?n.className.push(l):n.className=[l]:s=l,r+=l.length),a&&(o=a[0],r++)}return{type:"element",tagName:s||e||"div",properties:n,children:[]}}function Ib(t){let e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function Pd(t){return t.join(" ").trim()}var QM=new Set(["button","menu","reset","submit"]),Db={}.hasOwnProperty;function Ub(t,e,i){let n=i&&XM(i);function r(o,s,...a){let l=-1,c;if(o==null){c={type:"root",children:[]};let u=s;a.unshift(u)}else if(c=Lb(o,e),c.tagName=c.tagName.toLowerCase(),n&&Db.call(n,c.tagName)&&(c.tagName=n[c.tagName]),_M(s,c.tagName)){let u;for(u in s)Db.call(s,u)&&AM(t,c.properties,u,s[u])}else a.unshift(s);for(;++l<a.length;)zb(c.children,a[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return r}function _M(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"?QM.has(t.type.toLowerCase()):!("value"in t)}function AM(t,e,i,n){let r=Ir(t,i),o=-1,s;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;s=n}else typeof n=="boolean"?s=n:typeof n=="string"?r.spaceSeparated?s=Ib(n):r.commaSeparated?s=Rb(n):r.commaOrSpaceSeparated?s=Ib(Rb(n).join(" ")):s=K5(r,r.property,n):Array.isArray(n)?s=n.concat():s=r.property==="style"?$M(n):String(n);if(Array.isArray(s)){let a=[];for(;++o<s.length;){let l=K5(r,r.property,s[o]);a[o]=l}s=a}if(r.property==="className"&&Array.isArray(e.className)){let a=s;s=e.className.concat(a)}e[r.property]=s}}function zb(t,e){let i=-1;if(e!=null)if(typeof e=="string"||typeof e=="number")t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(;++i<e.length;)zb(t,e[i]);else if(typeof e=="object"&&"type"in e)e.type==="root"?zb(t,e.children):t.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function K5(t,e,i){if(typeof i=="string"){if(t.number&&i&&!Number.isNaN(Number(i)))return Number(i);if((t.boolean||t.overloadedBoolean)&&(i===""||Lr(i)===Lr(e)))return!0}return i}function $M(t){let e=[],i;for(i in t)Db.call(t,i)&&e.push([i,t[i]].join(": "));return e.join("; ")}function XM(t){let e={},i=-1;for(;++i<t.length;)e[t[i].toLowerCase()]=t[i];return e}var J5=["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 Hc=Ub(Dr,"div"),Gc=Ub(yn,"g",J5);var Mb=/\r?\n|\r/g;function Nb(t){let e=String(t),i=[];for(Mb.lastIndex=0;Mb.test(e);)i.push(Mb.lastIndex);return i.push(e.length+1),{toPoint:n,toOffset:r};function n(o){let s=-1;if(typeof o=="number"&&o>-1&&o<i[i.length-1]){for(;++s<i.length;)if(i[s]>o)return{line:s+1,column:o-(s>0?i[s-1]:0)+1,offset:o}}}function r(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 i){let l=(i[s-2]||0)+a-1||0;if(l>-1&&l<i[i.length-1])return l}}}var ji={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 t4={}.hasOwnProperty,RM=Object.prototype;function Kc(t,e){let i=e||{};return qb({file:i.file||void 0,location:!1,schema:i.space==="svg"?yn:Dr,verbose:i.verbose||!1},t)}function qb(t,e){let i;switch(e.nodeName){case"#comment":{let n=e;return i={type:"comment",value:n.data},Cd(t,n,i),i}case"#document":case"#document-fragment":{let n=e,r="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(i={type:"root",children:i4(t,e.childNodes),data:{quirksMode:r}},t.file&&t.location){let o=String(t.file),s=Nb(o),a=s.toPoint(0),l=s.toPoint(o.length);i.position={start:a,end:l}}return i}case"#documentType":{let n=e;return i={type:"doctype"},Cd(t,n,i),i}case"#text":{let n=e;return i={type:"text",value:n.value},Cd(t,n,i),i}default:return i=LM(t,e),i}}function i4(t,e){let i=-1,n=[];for(;++i<e.length;){let r=qb(t,e[i]);n.push(r)}return n}function LM(t,e){let i=t.schema;t.schema=e.namespaceURI===ji.svg?yn:Dr;let n=-1,r={};for(;++n<e.attrs.length;){let a=e.attrs[n],l=(a.prefix?a.prefix+":":"")+a.name;t4.call(RM,l)||(r[l]=a.value)}let s=(t.schema.space==="svg"?Gc:Hc)(e.tagName,r,i4(t,e.childNodes));if(Cd(t,e,s),s.tagName==="template"){let a=e,l=a.sourceCodeLocation,c=l&&l.startTag&&Ja(l.startTag),u=l&&l.endTag&&Ja(l.endTag),f=qb(t,a.content);c&&u&&t.file&&(f.position={start:c.end,end:u.start}),s.content=f}return t.schema=i,s}function Cd(t,e,i){if("sourceCodeLocation"in e&&e.sourceCodeLocation&&t.file){let n=IM(t,i,e.sourceCodeLocation);n&&(t.location=!0,i.position=n)}}function IM(t,e,i){let n=Ja(i);if(e.type==="element"){let r=e.children[e.children.length-1];if(n&&!i.endTag&&r&&r.position&&r.position.end&&(n.end=Object.assign({},r.position.end)),t.verbose){let o={},s;if(i.attrs)for(s in i.attrs)t4.call(i.attrs,s)&&(o[Ir(t.schema,s).property]=Ja(i.attrs[s]));i.startTag;let a=Ja(i.startTag),l=i.endTag?Ja(i.endTag):void 0,c={opening:a};l&&(c.closing=l),c.properties=o,e.data={position:c}}}return n}function Ja(t){let e=e4({line:t.startLine,column:t.startCol,offset:t.startOffset}),i=e4({line:t.endLine,column:t.endCol,offset:t.endOffset});return e||i?{start:e,end:i}:void 0}function e4(t){return t.line&&t.column?t:void 0}var DM={},zM={}.hasOwnProperty,n4=Va("type",{handlers:{root:UM,element:WM,text:qM,comment:jM,doctype:NM}});function jb(t,e){let n=(e||DM).space;return n4(t,n==="svg"?yn:Dr)}function UM(t,e){let i={nodeName:"#document",mode:(t.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return i.childNodes=Wb(t.children,i,e),el(t,i),i}function MM(t,e){let i={nodeName:"#document-fragment",childNodes:[]};return i.childNodes=Wb(t.children,i,e),el(t,i),i}function NM(t){let e={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return el(t,e),e}function qM(t){let e={nodeName:"#text",value:t.value,parentNode:null};return el(t,e),e}function jM(t){let e={nodeName:"#comment",data:t.value,parentNode:null};return el(t,e),e}function WM(t,e){let i=e,n=i;t.type==="element"&&t.tagName.toLowerCase()==="svg"&&i.space==="html"&&(n=yn);let r=[],o;if(t.properties){for(o in t.properties)if(o!=="children"&&zM.call(t.properties,o)){let l=VM(n,o,t.properties[o]);l&&r.push(l)}}let s=n.space;let a={nodeName:t.tagName,tagName:t.tagName,attrs:r,namespaceURI:ji[s],childNodes:[],parentNode:null};return a.childNodes=Wb(t.children,a,n),el(t,a),t.tagName==="template"&&t.content&&(a.content=MM(t.content,n)),a}function VM(t,e,i){let n=Ir(t,e);if(i===!1||i===null||i===void 0||typeof i=="number"&&Number.isNaN(i)||!i&&n.boolean)return;Array.isArray(i)&&(i=n.commaSeparated?Ed(i):Pd(i));let r={name:n.attribute,value:i===!0?"":String(i)};if(n.space&&n.space!=="html"&&n.space!=="svg"){let o=r.name.indexOf(":");o<0?r.prefix="":(r.name=r.name.slice(o+1),r.prefix=n.attribute.slice(0,o)),r.namespace=ji[n.space]}return r}function Wb(t,e,i){let n=-1,r=[];if(t)for(;++n<t.length;){let o=n4(t[n],i);o.parentNode=e,r.push(o)}return r}function el(t,e){let i=t.position;i&&i.start&&i.end&&(i.start.offset,i.end.offset,e.sourceCodeLocation={startLine:i.start.line,startCol:i.start.column,startOffset:i.start.offset,endLine:i.end.line,endCol:i.end.column,endOffset:i.end.offset})}var Qd=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var ZM=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]),wt="\uFFFD",_;(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"})(_=_||(_={}));var _i={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function _d(t){return t>=55296&&t<=57343}function r4(t){return t>=56320&&t<=57343}function o4(t,e){return(t-55296)*1024+9216+e}function Ad(t){return t!==32&&t!==10&&t!==13&&t!==9&&t!==12&&t>=1&&t<=31||t>=127&&t<=159}function $d(t){return t>=64976&&t<=65007||ZM.has(t)}var ee;(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"})(ee=ee||(ee={}));var YM=65536,Xd=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=YM,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:i,col:n,offset:r}=this;return{code:e,startLine:i,endLine:i,startCol:n,endCol:n,startOffset:r,endOffset:r}}_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 i=this.html.charCodeAt(this.pos+1);if(r4(i))return this.pos++,this._addGap(),o4(e,i)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,_.EOF;return this._err(ee.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,i){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=i}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,i){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(i)return this.html.startsWith(e,this.pos);for(let n=0;n<e.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==e.charCodeAt(n))return!1;return!0}peek(e){let i=this.pos+e;if(i>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;let n=this.html.charCodeAt(i);return n===_.CARRIAGE_RETURN?_.LINE_FEED:n}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,_.EOF;let e=this.html.charCodeAt(this.pos);return e===_.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,_.LINE_FEED):e===_.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,_d(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===_.LINE_FEED||e===_.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){Ad(e)?this._err(ee.controlCharacterInInputStream):$d(e)&&this._err(ee.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}};var zr={};hc(zr,{TokenType:()=>Ye,getTokenAttr:()=>Jc});var Ye;(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"})(Ye=Ye||(Ye={}));function Jc(t,e){for(let i=t.attrs.length-1;i>=0;i--)if(t.attrs[i].name===e)return t.attrs[i].value;return null}var lr=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 s4=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(t=>t.charCodeAt(0)));var Vb,FM=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]]),Zb=(Vb=String.fromCodePoint)!==null&&Vb!==void 0?Vb: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 Bb(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=FM.get(t))!==null&&e!==void 0?e:t}var ti;(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"})(ti||(ti={}));var HM=32,Un;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(Un||(Un={}));function Yb(t){return t>=ti.ZERO&&t<=ti.NINE}function GM(t){return t>=ti.UPPER_A&&t<=ti.UPPER_F||t>=ti.LOWER_A&&t<=ti.LOWER_F}function KM(t){return t>=ti.UPPER_A&&t<=ti.UPPER_Z||t>=ti.LOWER_A&&t<=ti.LOWER_Z||Yb(t)}function JM(t){return t===ti.EQUALS||KM(t)}var ei;(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"})(ei||(ei={}));var Rs;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Rs||(Rs={}));var Fb=class{constructor(e,i,n){this.decodeTree=e,this.emitCodePoint=i,this.errors=n,this.state=ei.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Rs.Strict}startEntity(e){this.decodeMode=e,this.state=ei.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,i){switch(this.state){case ei.EntityStart:return e.charCodeAt(i)===ti.NUM?(this.state=ei.NumericStart,this.consumed+=1,this.stateNumericStart(e,i+1)):(this.state=ei.NamedEntity,this.stateNamedEntity(e,i));case ei.NumericStart:return this.stateNumericStart(e,i);case ei.NumericDecimal:return this.stateNumericDecimal(e,i);case ei.NumericHex:return this.stateNumericHex(e,i);case ei.NamedEntity:return this.stateNamedEntity(e,i)}}stateNumericStart(e,i){return i>=e.length?-1:(e.charCodeAt(i)|HM)===ti.LOWER_X?(this.state=ei.NumericHex,this.consumed+=1,this.stateNumericHex(e,i+1)):(this.state=ei.NumericDecimal,this.stateNumericDecimal(e,i))}addToNumericResult(e,i,n,r){if(i!==n){let o=n-i;this.result=this.result*Math.pow(r,o)+parseInt(e.substr(i,o),r),this.consumed+=o}}stateNumericHex(e,i){let n=i;for(;i<e.length;){let r=e.charCodeAt(i);if(Yb(r)||GM(r))i+=1;else return this.addToNumericResult(e,n,i,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,i,16),-1}stateNumericDecimal(e,i){let n=i;for(;i<e.length;){let r=e.charCodeAt(i);if(Yb(r))i+=1;else return this.addToNumericResult(e,n,i,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,i,10),-1}emitNumericEntity(e,i){var n;if(this.consumed<=i)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===ti.SEMI)this.consumed+=1;else if(this.decodeMode===Rs.Strict)return 0;return this.emitCodePoint(Bb(this.result),this.consumed),this.errors&&(e!==ti.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,i){let{decodeTree:n}=this,r=n[this.treeIndex],o=(r&Un.VALUE_LENGTH)>>14;for(;i<e.length;i++,this.excess++){let s=e.charCodeAt(i);if(this.treeIndex=Hb(n,r,this.treeIndex+Math.max(1,o),s),this.treeIndex<0)return this.result===0||this.decodeMode===Rs.Attribute&&(o===0||JM(s))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],o=(r&Un.VALUE_LENGTH)>>14,o!==0){if(s===ti.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Rs.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:i,decodeTree:n}=this,r=(n[i]&Un.VALUE_LENGTH)>>14;return this.emitNamedEntityData(i,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,i,n){let{decodeTree:r}=this;return this.emitCodePoint(i===1?r[e]&~Un.VALUE_LENGTH:r[e+1],n),i===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case ei.NamedEntity:return this.result!==0&&(this.decodeMode!==Rs.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ei.NumericDecimal:return this.emitNumericEntity(0,2);case ei.NumericHex:return this.emitNumericEntity(0,3);case ei.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ei.EntityStart:return 0}}};function a4(t){let e="",i=new Fb(t,n=>e+=Zb(n));return function(r,o){let s=0,a=0;for(;(a=r.indexOf("&",a))>=0;){e+=r.slice(s,a),i.startEntity(o);let c=i.write(r,a+1);if(c<0){s=a+i.end();break}s=a+c,a=c===0?s+1:s}let l=e+r.slice(s);return e="",l}}function Hb(t,e,i,n){let r=(e&Un.BRANCH_LENGTH)>>7,o=e&Un.JUMP_TABLE;if(r===0)return o!==0&&n===o?i:-1;if(o){let l=n-o;return l<0||l>=r?-1:t[i+l]-1}let s=i,a=s+r-1;for(;s<=a;){let l=s+a>>>1,c=t[l];if(c<n)s=l+1;else if(c>n)a=l-1;else return t[l+r]}return-1}var nye=a4(lr),rye=a4(s4);var tl={};hc(tl,{ATTRS:()=>Mn,DOCUMENT_MODE:()=>li,NS:()=>ae,SPECIAL_ELEMENTS:()=>Gb,TAG_ID:()=>g,TAG_NAMES:()=>B,getTagID:()=>Mo,hasUnescapedText:()=>l4,isNumberedHeader:()=>eu});var ae;(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/"})(ae=ae||(ae={}));var Mn;(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"})(Mn=Mn||(Mn={}));var li;(function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"})(li=li||(li={}));var B;(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"})(B=B||(B={}));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 eN=new Map([[B.A,g.A],[B.ADDRESS,g.ADDRESS],[B.ANNOTATION_XML,g.ANNOTATION_XML],[B.APPLET,g.APPLET],[B.AREA,g.AREA],[B.ARTICLE,g.ARTICLE],[B.ASIDE,g.ASIDE],[B.B,g.B],[B.BASE,g.BASE],[B.BASEFONT,g.BASEFONT],[B.BGSOUND,g.BGSOUND],[B.BIG,g.BIG],[B.BLOCKQUOTE,g.BLOCKQUOTE],[B.BODY,g.BODY],[B.BR,g.BR],[B.BUTTON,g.BUTTON],[B.CAPTION,g.CAPTION],[B.CENTER,g.CENTER],[B.CODE,g.CODE],[B.COL,g.COL],[B.COLGROUP,g.COLGROUP],[B.DD,g.DD],[B.DESC,g.DESC],[B.DETAILS,g.DETAILS],[B.DIALOG,g.DIALOG],[B.DIR,g.DIR],[B.DIV,g.DIV],[B.DL,g.DL],[B.DT,g.DT],[B.EM,g.EM],[B.EMBED,g.EMBED],[B.FIELDSET,g.FIELDSET],[B.FIGCAPTION,g.FIGCAPTION],[B.FIGURE,g.FIGURE],[B.FONT,g.FONT],[B.FOOTER,g.FOOTER],[B.FOREIGN_OBJECT,g.FOREIGN_OBJECT],[B.FORM,g.FORM],[B.FRAME,g.FRAME],[B.FRAMESET,g.FRAMESET],[B.H1,g.H1],[B.H2,g.H2],[B.H3,g.H3],[B.H4,g.H4],[B.H5,g.H5],[B.H6,g.H6],[B.HEAD,g.HEAD],[B.HEADER,g.HEADER],[B.HGROUP,g.HGROUP],[B.HR,g.HR],[B.HTML,g.HTML],[B.I,g.I],[B.IMG,g.IMG],[B.IMAGE,g.IMAGE],[B.INPUT,g.INPUT],[B.IFRAME,g.IFRAME],[B.KEYGEN,g.KEYGEN],[B.LABEL,g.LABEL],[B.LI,g.LI],[B.LINK,g.LINK],[B.LISTING,g.LISTING],[B.MAIN,g.MAIN],[B.MALIGNMARK,g.MALIGNMARK],[B.MARQUEE,g.MARQUEE],[B.MATH,g.MATH],[B.MENU,g.MENU],[B.META,g.META],[B.MGLYPH,g.MGLYPH],[B.MI,g.MI],[B.MO,g.MO],[B.MN,g.MN],[B.MS,g.MS],[B.MTEXT,g.MTEXT],[B.NAV,g.NAV],[B.NOBR,g.NOBR],[B.NOFRAMES,g.NOFRAMES],[B.NOEMBED,g.NOEMBED],[B.NOSCRIPT,g.NOSCRIPT],[B.OBJECT,g.OBJECT],[B.OL,g.OL],[B.OPTGROUP,g.OPTGROUP],[B.OPTION,g.OPTION],[B.P,g.P],[B.PARAM,g.PARAM],[B.PLAINTEXT,g.PLAINTEXT],[B.PRE,g.PRE],[B.RB,g.RB],[B.RP,g.RP],[B.RT,g.RT],[B.RTC,g.RTC],[B.RUBY,g.RUBY],[B.S,g.S],[B.SCRIPT,g.SCRIPT],[B.SECTION,g.SECTION],[B.SELECT,g.SELECT],[B.SOURCE,g.SOURCE],[B.SMALL,g.SMALL],[B.SPAN,g.SPAN],[B.STRIKE,g.STRIKE],[B.STRONG,g.STRONG],[B.STYLE,g.STYLE],[B.SUB,g.SUB],[B.SUMMARY,g.SUMMARY],[B.SUP,g.SUP],[B.TABLE,g.TABLE],[B.TBODY,g.TBODY],[B.TEMPLATE,g.TEMPLATE],[B.TEXTAREA,g.TEXTAREA],[B.TFOOT,g.TFOOT],[B.TD,g.TD],[B.TH,g.TH],[B.THEAD,g.THEAD],[B.TITLE,g.TITLE],[B.TR,g.TR],[B.TRACK,g.TRACK],[B.TT,g.TT],[B.U,g.U],[B.UL,g.UL],[B.SVG,g.SVG],[B.VAR,g.VAR],[B.WBR,g.WBR],[B.XMP,g.XMP]]);function Mo(t){var e;return(e=eN.get(t))!==null&&e!==void 0?e:g.UNKNOWN}var Oe=g,Gb={[ae.HTML]:new Set([Oe.ADDRESS,Oe.APPLET,Oe.AREA,Oe.ARTICLE,Oe.ASIDE,Oe.BASE,Oe.BASEFONT,Oe.BGSOUND,Oe.BLOCKQUOTE,Oe.BODY,Oe.BR,Oe.BUTTON,Oe.CAPTION,Oe.CENTER,Oe.COL,Oe.COLGROUP,Oe.DD,Oe.DETAILS,Oe.DIR,Oe.DIV,Oe.DL,Oe.DT,Oe.EMBED,Oe.FIELDSET,Oe.FIGCAPTION,Oe.FIGURE,Oe.FOOTER,Oe.FORM,Oe.FRAME,Oe.FRAMESET,Oe.H1,Oe.H2,Oe.H3,Oe.H4,Oe.H5,Oe.H6,Oe.HEAD,Oe.HEADER,Oe.HGROUP,Oe.HR,Oe.HTML,Oe.IFRAME,Oe.IMG,Oe.INPUT,Oe.LI,Oe.LINK,Oe.LISTING,Oe.MAIN,Oe.MARQUEE,Oe.MENU,Oe.META,Oe.NAV,Oe.NOEMBED,Oe.NOFRAMES,Oe.NOSCRIPT,Oe.OBJECT,Oe.OL,Oe.P,Oe.PARAM,Oe.PLAINTEXT,Oe.PRE,Oe.SCRIPT,Oe.SECTION,Oe.SELECT,Oe.SOURCE,Oe.STYLE,Oe.SUMMARY,Oe.TABLE,Oe.TBODY,Oe.TD,Oe.TEMPLATE,Oe.TEXTAREA,Oe.TFOOT,Oe.TH,Oe.THEAD,Oe.TITLE,Oe.TR,Oe.TRACK,Oe.UL,Oe.WBR,Oe.XMP]),[ae.MATHML]:new Set([Oe.MI,Oe.MO,Oe.MN,Oe.MS,Oe.MTEXT,Oe.ANNOTATION_XML]),[ae.SVG]:new Set([Oe.TITLE,Oe.FOREIGN_OBJECT,Oe.DESC]),[ae.XLINK]:new Set,[ae.XML]:new Set,[ae.XMLNS]:new Set};function eu(t){return t===Oe.H1||t===Oe.H2||t===Oe.H3||t===Oe.H4||t===Oe.H5||t===Oe.H6}var tN=new Set([B.STYLE,B.SCRIPT,B.XMP,B.IFRAME,B.NOEMBED,B.NOFRAMES,B.PLAINTEXT]);function l4(t,e){return tN.has(t)||e&&t===B.NOSCRIPT}var iN=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]]),R;(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"})(R||(R={}));var Pt={DATA:R.DATA,RCDATA:R.RCDATA,RAWTEXT:R.RAWTEXT,SCRIPT_DATA:R.SCRIPT_DATA,PLAINTEXT:R.PLAINTEXT,CDATA_SECTION:R.CDATA_SECTION};function iu(t){return t>=_.DIGIT_0&&t<=_.DIGIT_9}function tu(t){return t>=_.LATIN_CAPITAL_A&&t<=_.LATIN_CAPITAL_Z}function nN(t){return t>=_.LATIN_SMALL_A&&t<=_.LATIN_SMALL_Z}function No(t){return nN(t)||tu(t)}function Kb(t){return No(t)||iu(t)}function u4(t){return t>=_.LATIN_CAPITAL_A&&t<=_.LATIN_CAPITAL_F}function f4(t){return t>=_.LATIN_SMALL_A&&t<=_.LATIN_SMALL_F}function rN(t){return iu(t)||u4(t)||f4(t)}function Rd(t){return t+32}function h4(t){return t===_.SPACE||t===_.LINE_FEED||t===_.TABULATION||t===_.FORM_FEED}function oN(t){return t===_.EQUALS_SIGN||Kb(t)}function c4(t){return h4(t)||t===_.SOLIDUS||t===_.GREATER_THAN_SIGN}var nu=class{constructor(e,i){this.options=e,this.handler=i,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=R.DATA,this.returnState=R.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Xd(i),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var i,n;(n=(i=this.handler).onParseError)===null||n===void 0||n.call(i,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,i,n){this.active=!0,this.preprocessor.write(e,i),this._runParsingLoop(),this.paused||n==null||n()}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,i){this.state=e,this._callState(i)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let i=0;i<e;i++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,i){return this.preprocessor.startsWith(e,i)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Ye.START_TAG,tagName:"",tagID:g.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ye.END_TAG,tagName:"",tagID:g.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:Ye.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:Ye.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,i){this.currentCharacterToken={type:e,chars:i,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,i;let n=this.currentToken;if(Jc(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){let r=(e=(i=n.location).attrs)!==null&&e!==void 0?e:i.attrs=Object.create(null);r[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(ee.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=Mo(e.tagName),e.type===Ye.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(ee.endTagWithAttributes),e.selfClosing&&this._err(ee.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 Ye.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ye.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ye.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:Ye.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,i){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=i;return}this._createCharacterToken(e,i)}_emitCodePoint(e){let i=h4(e)?Ye.WHITESPACE_CHARACTER:e===_.NULL?Ye.NULL_CHARACTER:Ye.CHARACTER;this._appendCharToCurrentCharacterToken(i,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(Ye.CHARACTER,e)}_matchNamedCharacterReference(e){let i=null,n=0,r=!1;for(let o=0,s=lr[0];o>=0&&(o=Hb(lr,s,o+1,e),!(o<0));e=this._consume()){n+=1,s=lr[o];let a=s&Un.VALUE_LENGTH;if(a){let l=(a>>14)-1;if(e!==_.SEMICOLON&&this._isCharacterReferenceInAttribute()&&oN(this.preprocessor.peek(1))?(i=[_.AMPERSAND],o+=l):(i=l===0?[lr[o]&~Un.VALUE_LENGTH]:l===1?[lr[++o]]:[lr[++o],lr[++o]],n=0,r=e!==_.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(ee.missingSemicolonAfterCharacterReference),this._unconsume(1),i}_isCharacterReferenceInAttribute(){return this.returnState===R.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case R.DATA:{this._stateData(e);break}case R.RCDATA:{this._stateRcdata(e);break}case R.RAWTEXT:{this._stateRawtext(e);break}case R.SCRIPT_DATA:{this._stateScriptData(e);break}case R.PLAINTEXT:{this._statePlaintext(e);break}case R.TAG_OPEN:{this._stateTagOpen(e);break}case R.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case R.TAG_NAME:{this._stateTagName(e);break}case R.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case R.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case R.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case R.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case R.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case R.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case R.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case R.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case R.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case R.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case R.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case R.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case R.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case R.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case R.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case R.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case R.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case R.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case R.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case R.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case R.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case R.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case R.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case R.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case R.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case R.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case R.BOGUS_COMMENT:{this._stateBogusComment(e);break}case R.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case R.COMMENT_START:{this._stateCommentStart(e);break}case R.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case R.COMMENT:{this._stateComment(e);break}case R.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case R.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case R.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case R.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case R.COMMENT_END:{this._stateCommentEnd(e);break}case R.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case R.DOCTYPE:{this._stateDoctype(e);break}case R.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case R.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case R.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case R.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case R.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case R.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case R.CDATA_SECTION:{this._stateCdataSection(e);break}case R.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case R.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case R.CHARACTER_REFERENCE:{this._stateCharacterReference(e);break}case R.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(e);break}case R.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}case R.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(e);break}case R.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(e);break}case R.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(e);break}case R.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(e);break}case R.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case _.LESS_THAN_SIGN:{this.state=R.TAG_OPEN;break}case _.AMPERSAND:{this.returnState=R.DATA,this.state=R.CHARACTER_REFERENCE;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this._emitCodePoint(e);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case _.AMPERSAND:{this.returnState=R.RCDATA,this.state=R.CHARACTER_REFERENCE;break}case _.LESS_THAN_SIGN:{this.state=R.RCDATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this._emitChars(wt);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case _.LESS_THAN_SIGN:{this.state=R.RAWTEXT_LESS_THAN_SIGN;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this._emitChars(wt);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case _.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this._emitChars(wt);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case _.NULL:{this._err(ee.unexpectedNullCharacter),this._emitChars(wt);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(No(e))this._createStartTagToken(),this.state=R.TAG_NAME,this._stateTagName(e);else switch(e){case _.EXCLAMATION_MARK:{this.state=R.MARKUP_DECLARATION_OPEN;break}case _.SOLIDUS:{this.state=R.END_TAG_OPEN;break}case _.QUESTION_MARK:{this._err(ee.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=R.BOGUS_COMMENT,this._stateBogusComment(e);break}case _.EOF:{this._err(ee.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ee.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=R.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(No(e))this._createEndTagToken(),this.state=R.TAG_NAME,this._stateTagName(e);else switch(e){case _.GREATER_THAN_SIGN:{this._err(ee.missingEndTagName),this.state=R.DATA;break}case _.EOF:{this._err(ee.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(ee.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=R.BEFORE_ATTRIBUTE_NAME;break}case _.SOLIDUS:{this.state=R.SELF_CLOSING_START_TAG;break}case _.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentTagToken();break}case _.NULL:{this._err(ee.unexpectedNullCharacter),i.tagName+=wt;break}case _.EOF:{this._err(ee.eofInTag),this._emitEOFToken();break}default:i.tagName+=String.fromCodePoint(tu(e)?Rd(e):e)}}_stateRcdataLessThanSign(e){e===_.SOLIDUS?this.state=R.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){No(e)?(this.state=R.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let i=this.currentToken;switch(i.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=R.BEFORE_ATTRIBUTE_NAME,!1;case _.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=R.SELF_CLOSING_START_TAG,!1;case _.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=R.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===_.SOLIDUS?this.state=R.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){No(e)?(this.state=R.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case _.SOLIDUS:{this.state=R.SCRIPT_DATA_END_TAG_OPEN;break}case _.EXCLAMATION_MARK:{this.state=R.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=R.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){No(e)?(this.state=R.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===_.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===_.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case _.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this._emitChars(wt);break}case _.EOF:{this._err(ee.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case _.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars(wt);break}case _.EOF:{this._err(ee.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case _.HYPHEN_MINUS:{this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case _.GREATER_THAN_SIGN:{this.state=R.SCRIPT_DATA,this._emitChars(">");break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars(wt);break}case _.EOF:{this._err(ee.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===_.SOLIDUS?this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:No(e)?(this._emitChars("<"),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){No(e)?(this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(_i.SCRIPT,!1)&&c4(this.preprocessor.peek(_i.SCRIPT.length))){this._emitCodePoint(e);for(let i=0;i<_i.SCRIPT.length;i++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case _.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this._emitChars(wt);break}case _.EOF:{this._err(ee.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case _.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(wt);break}case _.EOF:{this._err(ee.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case _.HYPHEN_MINUS:{this._emitChars("-");break}case _.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case _.GREATER_THAN_SIGN:{this.state=R.SCRIPT_DATA,this._emitChars(">");break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(wt);break}case _.EOF:{this._err(ee.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===_.SOLIDUS?(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(_i.SCRIPT,!1)&&c4(this.preprocessor.peek(_i.SCRIPT.length))){this._emitCodePoint(e);for(let i=0;i<_i.SCRIPT.length;i++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.SOLIDUS:case _.GREATER_THAN_SIGN:case _.EOF:{this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case _.EQUALS_SIGN:{this._err(ee.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=R.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:case _.SOLIDUS:case _.GREATER_THAN_SIGN:case _.EOF:{this._leaveAttrName(),this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case _.EQUALS_SIGN:{this._leaveAttrName(),this.state=R.BEFORE_ATTRIBUTE_VALUE;break}case _.QUOTATION_MARK:case _.APOSTROPHE:case _.LESS_THAN_SIGN:{this._err(ee.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this.currentAttr.name+=wt;break}default:this.currentAttr.name+=String.fromCodePoint(tu(e)?Rd(e):e)}}_stateAfterAttributeName(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.SOLIDUS:{this.state=R.SELF_CLOSING_START_TAG;break}case _.EQUALS_SIGN:{this.state=R.BEFORE_ATTRIBUTE_VALUE;break}case _.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err(ee.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{this.state=R.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this.state=R.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(ee.missingAttributeValue),this.state=R.DATA,this.emitCurrentTagToken();break}default:this.state=R.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case _.QUOTATION_MARK:{this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case _.AMPERSAND:{this.returnState=R.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=R.CHARACTER_REFERENCE;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this.currentAttr.value+=wt;break}case _.EOF:{this._err(ee.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case _.APOSTROPHE:{this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case _.AMPERSAND:{this.returnState=R.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=R.CHARACTER_REFERENCE;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this.currentAttr.value+=wt;break}case _.EOF:{this._err(ee.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break}case _.AMPERSAND:{this.returnState=R.ATTRIBUTE_VALUE_UNQUOTED,this.state=R.CHARACTER_REFERENCE;break}case _.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break}case _.NULL:{this._err(ee.unexpectedNullCharacter),this.currentAttr.value+=wt;break}case _.QUOTATION_MARK:case _.APOSTROPHE:case _.LESS_THAN_SIGN:case _.EQUALS_SIGN:case _.GRAVE_ACCENT:{this._err(ee.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case _.EOF:{this._err(ee.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break}case _.SOLIDUS:{this._leaveAttrValue(),this.state=R.SELF_CLOSING_START_TAG;break}case _.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err(ee.eofInTag),this._emitEOFToken();break}default:this._err(ee.missingWhitespaceBetweenAttributes),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case _.GREATER_THAN_SIGN:{let i=this.currentToken;i.selfClosing=!0,this.state=R.DATA,this.emitCurrentTagToken();break}case _.EOF:{this._err(ee.eofInTag),this._emitEOFToken();break}default:this._err(ee.unexpectedSolidusInTag),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let i=this.currentToken;switch(e){case _.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentComment(i);break}case _.EOF:{this.emitCurrentComment(i),this._emitEOFToken();break}case _.NULL:{this._err(ee.unexpectedNullCharacter),i.data+=wt;break}default:i.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(_i.DASH_DASH,!0)?(this._createCommentToken(_i.DASH_DASH.length+1),this.state=R.COMMENT_START):this._consumeSequenceIfMatch(_i.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(_i.DOCTYPE.length+1),this.state=R.DOCTYPE):this._consumeSequenceIfMatch(_i.CDATA_START,!0)?this.inForeignNode?this.state=R.CDATA_SECTION:(this._err(ee.cdataInHtmlContent),this._createCommentToken(_i.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=R.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ee.incorrectlyOpenedComment),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case _.HYPHEN_MINUS:{this.state=R.COMMENT_START_DASH;break}case _.GREATER_THAN_SIGN:{this._err(ee.abruptClosingOfEmptyComment),this.state=R.DATA;let i=this.currentToken;this.emitCurrentComment(i);break}default:this.state=R.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let i=this.currentToken;switch(e){case _.HYPHEN_MINUS:{this.state=R.COMMENT_END;break}case _.GREATER_THAN_SIGN:{this._err(ee.abruptClosingOfEmptyComment),this.state=R.DATA,this.emitCurrentComment(i);break}case _.EOF:{this._err(ee.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+="-",this.state=R.COMMENT,this._stateComment(e)}}_stateComment(e){let i=this.currentToken;switch(e){case _.HYPHEN_MINUS:{this.state=R.COMMENT_END_DASH;break}case _.LESS_THAN_SIGN:{i.data+="<",this.state=R.COMMENT_LESS_THAN_SIGN;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),i.data+=wt;break}case _.EOF:{this._err(ee.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let i=this.currentToken;switch(e){case _.EXCLAMATION_MARK:{i.data+="!",this.state=R.COMMENT_LESS_THAN_SIGN_BANG;break}case _.LESS_THAN_SIGN:{i.data+="<";break}default:this.state=R.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===_.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=R.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===_.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=R.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==_.GREATER_THAN_SIGN&&e!==_.EOF&&this._err(ee.nestedComment),this.state=R.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let i=this.currentToken;switch(e){case _.HYPHEN_MINUS:{this.state=R.COMMENT_END;break}case _.EOF:{this._err(ee.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+="-",this.state=R.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let i=this.currentToken;switch(e){case _.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentComment(i);break}case _.EXCLAMATION_MARK:{this.state=R.COMMENT_END_BANG;break}case _.HYPHEN_MINUS:{i.data+="-";break}case _.EOF:{this._err(ee.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+="--",this.state=R.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let i=this.currentToken;switch(e){case _.HYPHEN_MINUS:{i.data+="--!",this.state=R.COMMENT_END_DASH;break}case _.GREATER_THAN_SIGN:{this._err(ee.incorrectlyClosedComment),this.state=R.DATA,this.emitCurrentComment(i);break}case _.EOF:{this._err(ee.eofInComment),this.emitCurrentComment(i),this._emitEOFToken();break}default:i.data+="--!",this.state=R.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case _.EOF:{this._err(ee.eofInDoctype),this._createDoctypeToken(null);let i=this.currentToken;i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(ee.missingWhitespaceBeforeDoctypeName),this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(tu(e))this._createDoctypeToken(String.fromCharCode(Rd(e))),this.state=R.DOCTYPE_NAME;else switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.NULL:{this._err(ee.unexpectedNullCharacter),this._createDoctypeToken(wt),this.state=R.DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this._err(ee.missingDoctypeName),this._createDoctypeToken(null);let i=this.currentToken;i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=R.DATA;break}case _.EOF:{this._err(ee.eofInDoctype),this._createDoctypeToken(null);let i=this.currentToken;i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=R.DOCTYPE_NAME}}_stateDoctypeName(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=R.AFTER_DOCTYPE_NAME;break}case _.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(i);break}case _.NULL:{this._err(ee.unexpectedNullCharacter),i.name+=wt;break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.name+=String.fromCodePoint(tu(e)?Rd(e):e)}}_stateAfterDoctypeName(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(i);break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(_i.PUBLIC,!1)?this.state=R.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(_i.SYSTEM,!1)?this.state=R.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(ee.invalidCharacterSequenceAfterDoctypeName),i.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.QUOTATION_MARK:{this._err(ee.missingWhitespaceAfterDoctypePublicKeyword),i.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err(ee.missingWhitespaceAfterDoctypePublicKeyword),i.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(ee.missingDoctypePublicIdentifier),i.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(i);break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(ee.missingQuoteBeforeDoctypePublicIdentifier),i.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{i.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{i.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(ee.missingDoctypePublicIdentifier),i.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(i);break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(ee.missingQuoteBeforeDoctypePublicIdentifier),i.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let i=this.currentToken;switch(e){case _.QUOTATION_MARK:{this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),i.publicId+=wt;break}case _.GREATER_THAN_SIGN:{this._err(ee.abruptDoctypePublicIdentifier),i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=R.DATA;break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let i=this.currentToken;switch(e){case _.APOSTROPHE:{this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),i.publicId+=wt;break}case _.GREATER_THAN_SIGN:{this._err(ee.abruptDoctypePublicIdentifier),i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=R.DATA;break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case _.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(i);break}case _.QUOTATION_MARK:{this._err(ee.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),i.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err(ee.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),i.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(ee.missingQuoteBeforeDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(i),this.state=R.DATA;break}case _.QUOTATION_MARK:{i.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{i.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(ee.missingQuoteBeforeDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.QUOTATION_MARK:{this._err(ee.missingWhitespaceAfterDoctypeSystemKeyword),i.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{this._err(ee.missingWhitespaceAfterDoctypeSystemKeyword),i.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(ee.missingDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(i);break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(ee.missingQuoteBeforeDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.QUOTATION_MARK:{i.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case _.APOSTROPHE:{i.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case _.GREATER_THAN_SIGN:{this._err(ee.missingDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(i);break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(ee.missingQuoteBeforeDoctypeSystemIdentifier),i.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let i=this.currentToken;switch(e){case _.QUOTATION_MARK:{this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),i.systemId+=wt;break}case _.GREATER_THAN_SIGN:{this._err(ee.abruptDoctypeSystemIdentifier),i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=R.DATA;break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let i=this.currentToken;switch(e){case _.APOSTROPHE:{this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case _.NULL:{this._err(ee.unexpectedNullCharacter),i.systemId+=wt;break}case _.GREATER_THAN_SIGN:{this._err(ee.abruptDoctypeSystemIdentifier),i.forceQuirks=!0,this.emitCurrentDoctype(i),this.state=R.DATA;break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:i.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let i=this.currentToken;switch(e){case _.SPACE:case _.LINE_FEED:case _.TABULATION:case _.FORM_FEED:break;case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(i),this.state=R.DATA;break}case _.EOF:{this._err(ee.eofInDoctype),i.forceQuirks=!0,this.emitCurrentDoctype(i),this._emitEOFToken();break}default:this._err(ee.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let i=this.currentToken;switch(e){case _.GREATER_THAN_SIGN:{this.emitCurrentDoctype(i),this.state=R.DATA;break}case _.NULL:{this._err(ee.unexpectedNullCharacter);break}case _.EOF:{this.emitCurrentDoctype(i),this._emitEOFToken();break}default:}}_stateCdataSection(e){switch(e){case _.RIGHT_SQUARE_BRACKET:{this.state=R.CDATA_SECTION_BRACKET;break}case _.EOF:{this._err(ee.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===_.RIGHT_SQUARE_BRACKET?this.state=R.CDATA_SECTION_END:(this._emitChars("]"),this.state=R.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case _.GREATER_THAN_SIGN:{this.state=R.DATA;break}case _.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=R.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===_.NUMBER_SIGN?this.state=R.NUMERIC_CHARACTER_REFERENCE:Kb(e)?(this.state=R.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(_.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){let i=this._matchNamedCharacterReference(e);if(!this._ensureHibernation())if(i){for(let n=0;n<i.length;n++)this._flushCodePointConsumedAsCharacterReference(i[n]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(_.AMPERSAND),this.state=R.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){Kb(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===_.SEMICOLON&&this._err(ee.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){this.charRefCode=0,e===_.LATIN_SMALL_X||e===_.LATIN_CAPITAL_X?this.state=R.HEXADEMICAL_CHARACTER_REFERENCE_START:iu(e)?(this.state=R.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(e)):(this._err(ee.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(_.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(_.NUMBER_SIGN),this._reconsumeInState(this.returnState,e))}_stateHexademicalCharacterReferenceStart(e){rN(e)?(this.state=R.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(e)):(this._err(ee.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(_.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(_.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(e){u4(e)?this.charRefCode=this.charRefCode*16+e-55:f4(e)?this.charRefCode=this.charRefCode*16+e-87:iu(e)?this.charRefCode=this.charRefCode*16+e-48:e===_.SEMICOLON?this.state=R.NUMERIC_CHARACTER_REFERENCE_END:(this._err(ee.missingSemicolonAfterCharacterReference),this.state=R.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){iu(e)?this.charRefCode=this.charRefCode*10+e-48:e===_.SEMICOLON?this.state=R.NUMERIC_CHARACTER_REFERENCE_END:(this._err(ee.missingSemicolonAfterCharacterReference),this.state=R.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(e))}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===_.NULL)this._err(ee.nullCharacterReference),this.charRefCode=_.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(ee.characterReferenceOutsideUnicodeRange),this.charRefCode=_.REPLACEMENT_CHARACTER;else if(_d(this.charRefCode))this._err(ee.surrogateCharacterReference),this.charRefCode=_.REPLACEMENT_CHARACTER;else if($d(this.charRefCode))this._err(ee.noncharacterCharacterReference);else if(Ad(this.charRefCode)||this.charRefCode===_.CARRIAGE_RETURN){this._err(ee.controlCharacterReference);let i=iN.get(this.charRefCode);i!==void 0&&(this.charRefCode=i)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}};var O4=new Set([g.DD,g.DT,g.LI,g.OPTGROUP,g.OPTION,g.P,g.RB,g.RP,g.RT,g.RTC]),d4=new Set([...O4,g.CAPTION,g.COLGROUP,g.TBODY,g.TD,g.TFOOT,g.TH,g.THEAD,g.TR]),Ld=new Map([[g.APPLET,ae.HTML],[g.CAPTION,ae.HTML],[g.HTML,ae.HTML],[g.MARQUEE,ae.HTML],[g.OBJECT,ae.HTML],[g.TABLE,ae.HTML],[g.TD,ae.HTML],[g.TEMPLATE,ae.HTML],[g.TH,ae.HTML],[g.ANNOTATION_XML,ae.MATHML],[g.MI,ae.MATHML],[g.MN,ae.MATHML],[g.MO,ae.MATHML],[g.MS,ae.MATHML],[g.MTEXT,ae.MATHML],[g.DESC,ae.SVG],[g.FOREIGN_OBJECT,ae.SVG],[g.TITLE,ae.SVG]]),sN=[g.H1,g.H2,g.H3,g.H4,g.H5,g.H6],aN=[g.TR,g.TEMPLATE,g.HTML],lN=[g.TBODY,g.TFOOT,g.THEAD,g.TEMPLATE,g.HTML],cN=[g.TABLE,g.TEMPLATE,g.HTML],uN=[g.TD,g.TH],Id=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,i,n){this.treeAdapter=i,this.handler=n,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)===ae.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,i){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=i,this.currentTagId=i,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,i,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,i){let n=this._indexOf(e);this.items[n]=i,n===this.stackTop&&(this.current=i)}insertAfter(e,i,n){let r=this._indexOf(e)+1;this.items.splice(r,0,i),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let i=this.stackTop+1;do i=this.tagIDs.lastIndexOf(e,i-1);while(i>0&&this.treeAdapter.getNamespaceURI(this.items[i])!==ae.HTML);this.shortenToLength(i<0?0:i)}shortenToLength(e){for(;this.stackTop>=e;){let i=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(i,this.stackTop<e)}}popUntilElementPopped(e){let i=this._indexOf(e);this.shortenToLength(i<0?0:i)}popUntilPopped(e,i){let n=this._indexOfTagNames(e,i);this.shortenToLength(n<0?0:n)}popUntilNumberedHeaderPopped(){this.popUntilPopped(sN,ae.HTML)}popUntilTableCellPopped(){this.popUntilPopped(uN,ae.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,i){for(let n=this.stackTop;n>=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===i)return n;return-1}clearBackTo(e,i){let n=this._indexOfTagNames(e,i);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(cN,ae.HTML)}clearBackToTableBodyContext(){this.clearBackTo(lN,ae.HTML)}clearBackToTableRowContext(){this.clearBackTo(aN,ae.HTML)}remove(e){let i=this._indexOf(e);i>=0&&(i===this.stackTop?this.pop():(this.items.splice(i,1),this.tagIDs.splice(i,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 i=this._indexOf(e)-1;return i>=0?this.items[i]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===g.HTML}hasInScope(e){for(let i=this.stackTop;i>=0;i--){let n=this.tagIDs[i],r=this.treeAdapter.getNamespaceURI(this.items[i]);if(n===e&&r===ae.HTML)return!0;if(Ld.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let i=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eu(i)&&n===ae.HTML)return!0;if(Ld.get(i)===n)return!1}return!0}hasInListItemScope(e){for(let i=this.stackTop;i>=0;i--){let n=this.tagIDs[i],r=this.treeAdapter.getNamespaceURI(this.items[i]);if(n===e&&r===ae.HTML)return!0;if((n===g.UL||n===g.OL)&&r===ae.HTML||Ld.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let i=this.stackTop;i>=0;i--){let n=this.tagIDs[i],r=this.treeAdapter.getNamespaceURI(this.items[i]);if(n===e&&r===ae.HTML)return!0;if(n===g.BUTTON&&r===ae.HTML||Ld.get(n)===r)return!1}return!0}hasInTableScope(e){for(let i=this.stackTop;i>=0;i--){let n=this.tagIDs[i];if(this.treeAdapter.getNamespaceURI(this.items[i])===ae.HTML){if(n===e)return!0;if(n===g.TABLE||n===g.TEMPLATE||n===g.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let i=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===ae.HTML){if(i===g.TBODY||i===g.THEAD||i===g.TFOOT)return!0;if(i===g.TABLE||i===g.HTML)return!1}}return!0}hasInSelectScope(e){for(let i=this.stackTop;i>=0;i--){let n=this.tagIDs[i];if(this.treeAdapter.getNamespaceURI(this.items[i])===ae.HTML){if(n===e)return!0;if(n!==g.OPTION&&n!==g.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;O4.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;d4.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&d4.has(this.currentTagId);)this.pop()}};var xn;(function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"})(xn=xn||(xn={}));var p4={type:xn.Marker},Dd=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,i){let n=[],r=i.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===xn.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===r&&n.push({idx:a,attrs:u})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let i=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,i);if(n.length<3)return;let r=new Map(i.map(s=>[s.name,s.value])),o=0;for(let s=0;s<n.length;s++){let a=n[s];a.attrs.every(l=>r.get(l.name)===l.value)&&(o+=1,o>=3&&this.entries.splice(a.idx,1))}}insertMarker(){this.entries.unshift(p4)}pushElement(e,i){this._ensureNoahArkCondition(e),this.entries.unshift({type:xn.Element,element:e,token:i})}insertElementAfterBookmark(e,i){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:xn.Element,element:e,token:i})}removeEntry(e){let i=this.entries.indexOf(e);i>=0&&this.entries.splice(i,1)}clearToLastMarker(){let e=this.entries.indexOf(p4);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let i=this.entries.find(n=>n.type===xn.Marker||this.treeAdapter.getTagName(n.element)===e);return i&&i.type===xn.Element?i:null}getElementEntry(e){return this.entries.find(i=>i.type===xn.Element&&i.element===e)}};function m4(t){return{nodeName:"#text",value:t,parentNode:null}}var Ur={createDocument(){return{nodeName:"#document",mode:li.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(t,e,i){return{nodeName:t,tagName:t,attrs:i,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,i){let n=t.childNodes.indexOf(i);t.childNodes.splice(n,0,e),e.parentNode=t},setTemplateContent(t,e){t.content=e},getTemplateContent(t){return t.content},setDocumentType(t,e,i,n){let r=t.childNodes.find(o=>o.nodeName==="#documentType");if(r)r.name=e,r.publicId=i,r.systemId=n;else{let o={nodeName:"#documentType",name:e,publicId:i,systemId:n,parentNode:null};Ur.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 i=t.childNodes[t.childNodes.length-1];if(Ur.isTextNode(i)){i.value+=e;return}}Ur.appendChild(t,m4(e))},insertTextBefore(t,e,i){let n=t.childNodes[t.childNodes.indexOf(i)-1];n&&Ur.isTextNode(n)?n.value+=e:Ur.insertBefore(t,m4(e),i)},adoptAttributes(t,e){let i=new Set(t.attrs.map(n=>n.name));for(let n=0;n<e.length;n++)i.has(e[n].name)||t.attrs.push(e[n])},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=Y(Y({},t.sourceCodeLocation),e)}};var b4="html",fN="about:legacy-compat",hN="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",y4=["+//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//"],dN=[...y4,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],ON=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),x4=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],pN=[...x4,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function g4(t,e){return e.some(i=>t.startsWith(i))}function v4(t){return t.name===b4&&t.publicId===null&&(t.systemId===null||t.systemId===fN)}function w4(t){if(t.name!==b4)return li.QUIRKS;let{systemId:e}=t;if(e&&e.toLowerCase()===hN)return li.QUIRKS;let{publicId:i}=t;if(i!==null){if(i=i.toLowerCase(),ON.has(i))return li.QUIRKS;let n=e===null?dN:y4;if(g4(i,n))return li.QUIRKS;if(n=e===null?x4:pN,g4(i,n))return li.LIMITED_QUIRKS}return li.NO_QUIRKS}var Md={};hc(Md,{SVG_TAG_NAMES_ADJUSTMENT_MAP:()=>S4,adjustTokenMathMLAttrs:()=>zd,adjustTokenSVGAttrs:()=>Ud,adjustTokenSVGTagName:()=>e1,adjustTokenXMLAttrs:()=>ru,causesExit:()=>Jb,isIntegrationPoint:()=>t1});var k4={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},gN="definitionurl",bN="definitionURL",yN=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])),xN=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:ae.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:ae.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:ae.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:ae.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:ae.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:ae.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:ae.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:ae.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:ae.XML}],["xml:space",{prefix:"xml",name:"space",namespace:ae.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:ae.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:ae.XMLNS}]]),S4=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])),vN=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 Jb(t){let e=t.tagID;return e===g.FONT&&t.attrs.some(({name:n})=>n===Mn.COLOR||n===Mn.SIZE||n===Mn.FACE)||vN.has(e)}function zd(t){for(let e=0;e<t.attrs.length;e++)if(t.attrs[e].name===gN){t.attrs[e].name=bN;break}}function Ud(t){for(let e=0;e<t.attrs.length;e++){let i=yN.get(t.attrs[e].name);i!=null&&(t.attrs[e].name=i)}}function ru(t){for(let e=0;e<t.attrs.length;e++){let i=xN.get(t.attrs[e].name);i&&(t.attrs[e].prefix=i.prefix,t.attrs[e].name=i.name,t.attrs[e].namespace=i.namespace)}}function e1(t){let e=S4.get(t.tagName);e!=null&&(t.tagName=e,t.tagID=Mo(t.tagName))}function wN(t,e){return e===ae.MATHML&&(t===g.MI||t===g.MO||t===g.MN||t===g.MS||t===g.MTEXT)}function kN(t,e,i){if(e===ae.MATHML&&t===g.ANNOTATION_XML){for(let n=0;n<i.length;n++)if(i[n].name===Mn.ENCODING){let r=i[n].value.toLowerCase();return r===k4.TEXT_HTML||r===k4.APPLICATION_XML}}return e===ae.SVG&&(t===g.FOREIGN_OBJECT||t===g.DESC||t===g.TITLE)}function t1(t,e,i,n){return(!n||n===ae.HTML)&&kN(t,e,i)||(!n||n===ae.MATHML)&&wN(t,e)}var SN="hidden",TN=8,EN=3,z;(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"})(z||(z={}));var PN={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},C4=new Set([g.TABLE,g.TBODY,g.TFOOT,g.THEAD,g.TR]),T4={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ur,onParseError:null},Mr=class{constructor(e,i,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=z.INITIAL,this.originalInsertionMode=z.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=Y(Y({},T4),e),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=i!=null?i:this.treeAdapter.createDocument(),this.tokenizer=new nu(this.options,this),this.activeFormattingElements=new Dd(this.treeAdapter),this.fragmentContextID=n?Mo(this.treeAdapter.getTagName(n)):g.UNKNOWN,this._setContextModes(n!=null?n:this.document,this.fragmentContextID),this.openElements=new Id(this.document,this.treeAdapter,this)}static parse(e,i){let n=new this(i);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,i){let n=Y(Y({},T4),i);e!=null||(e=n.treeAdapter.createElement(B.TEMPLATE,ae.HTML,[]));let r=n.treeAdapter.createElement("documentmock",ae.HTML,[]),o=new this(n,r,e);return o.fragmentContextID===g.TEMPLATE&&o.tmplInsertionModeStack.unshift(z.IN_TEMPLATE),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),o}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),i=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,i),i}_err(e,i,n){var r;if(!this.onParseError)return;let o=(r=e.location)!==null&&r!==void 0?r:PN,s={code:i,startLine:o.startLine,startCol:o.startCol,startOffset:o.startOffset,endLine:n?o.startLine:o.endLine,endCol:n?o.startCol:o.endCol,endOffset:n?o.startOffset:o.endOffset};this.onParseError(s)}onItemPush(e,i,n){var r,o;(o=(r=this.treeAdapter).onItemPush)===null||o===void 0||o.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,i)}onItemPop(e,i){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(r=(n=this.treeAdapter).onItemPop)===null||r===void 0||r.call(n,e,this.openElements.current),i){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,i){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===ae.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(i,e)}_switchToTextParsing(e,i){this._insertElement(e,ae.HTML),this.tokenizer.state=i,this.originalInsertionMode=this.insertionMode,this.insertionMode=z.TEXT}switchToPlaintextParsing(){this.insertionMode=z.TEXT,this.originalInsertionMode=z.IN_BODY,this.tokenizer.state=Pt.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)===B.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==ae.HTML))switch(this.fragmentContextID){case g.TITLE:case g.TEXTAREA:{this.tokenizer.state=Pt.RCDATA;break}case g.STYLE:case g.XMP:case g.IFRAME:case g.NOEMBED:case g.NOFRAMES:case g.NOSCRIPT:{this.tokenizer.state=Pt.RAWTEXT;break}case g.SCRIPT:{this.tokenizer.state=Pt.SCRIPT_DATA;break}case g.PLAINTEXT:{this.tokenizer.state=Pt.PLAINTEXT;break}default:}}_setDocumentType(e){let i=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,i,n,r),e.location){let s=this.treeAdapter.getChildNodes(this.document).find(a=>this.treeAdapter.isDocumentTypeNode(a));s&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}}_attachElementToTree(e,i){if(this.options.sourceCodeLocationInfo){let n=i&&Ee(Y({},i),{startTag:i});this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n,e)}}_appendElement(e,i){let n=this.treeAdapter.createElement(e.tagName,i,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,i){let n=this.treeAdapter.createElement(e.tagName,i,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,i){let n=this.treeAdapter.createElement(e,ae.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,i)}_insertTemplate(e){let i=this.treeAdapter.createElement(e.tagName,ae.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(i,n),this._attachElementToTree(i,e.location),this.openElements.push(i,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(B.HTML,ae.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,g.HTML)}_appendCommentNode(e,i){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(i,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let i,n;if(this._shouldFosterParentOnInsertion()?({parent:i,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(i,e.chars,n):this.treeAdapter.insertText(i,e.chars)):(i=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(i,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(i),o=n?r.lastIndexOf(n):r.length,s=r[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,i){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(i,n)}_setEndLocation(e,i){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&i.location){let n=i.location,r=this.treeAdapter.getTagName(e),o=i.type===Ye.END_TAG&&r===i.tagName?{endTag:Y({},n),endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let i,n;return this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,n=this.fragmentContextID):{current:i,currentTagId:n}=this.openElements,e.tagID===g.SVG&&this.treeAdapter.getTagName(i)===B.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(i)===ae.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===g.MGLYPH||e.tagID===g.MALIGNMARK)&&!this._isIntegrationPoint(n,i,ae.HTML)}_processToken(e){switch(e.type){case Ye.CHARACTER:{this.onCharacter(e);break}case Ye.NULL_CHARACTER:{this.onNullCharacter(e);break}case Ye.COMMENT:{this.onComment(e);break}case Ye.DOCTYPE:{this.onDoctype(e);break}case Ye.START_TAG:{this._processStartTag(e);break}case Ye.END_TAG:{this.onEndTag(e);break}case Ye.EOF:{this.onEof(e);break}case Ye.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,i,n){let r=this.treeAdapter.getNamespaceURI(i),o=this.treeAdapter.getAttrList(i);return t1(e,r,o,n)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let i=this.activeFormattingElements.entries.findIndex(r=>r.type===xn.Marker||this.openElements.contains(r.element)),n=i<0?e-1:i-1;for(let r=n;r>=0;r--){let o=this.activeFormattingElements.entries[r];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=z.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=z.IN_ROW;return}case g.TBODY:case g.THEAD:case g.TFOOT:{this.insertionMode=z.IN_TABLE_BODY;return}case g.CAPTION:{this.insertionMode=z.IN_CAPTION;return}case g.COLGROUP:{this.insertionMode=z.IN_COLUMN_GROUP;return}case g.TABLE:{this.insertionMode=z.IN_TABLE;return}case g.BODY:{this.insertionMode=z.IN_BODY;return}case g.FRAMESET:{this.insertionMode=z.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?z.AFTER_HEAD:z.BEFORE_HEAD;return}case g.TD:case g.TH:{if(e>0){this.insertionMode=z.IN_CELL;return}break}case g.HEAD:{if(e>0){this.insertionMode=z.IN_HEAD;return}break}}this.insertionMode=z.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let i=e-1;i>0;i--){let n=this.openElements.tagIDs[i];if(n===g.TEMPLATE)break;if(n===g.TABLE){this.insertionMode=z.IN_SELECT_IN_TABLE;return}}this.insertionMode=z.IN_SELECT}_isElementCausesFosterParenting(e){return C4.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let i=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case g.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(i)===ae.HTML)return{parent:this.treeAdapter.getTemplateContent(i),beforeElement:null};break}case g.TABLE:{let n=this.treeAdapter.getParentNode(i);return n?{parent:n,beforeElement:i}:{parent:this.openElements.items[e-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let i=this._findFosterParentingLocation();i.beforeElement?this.treeAdapter.insertBefore(i.parent,e,i.beforeElement):this.treeAdapter.appendChild(i.parent,e)}_isSpecialElement(e,i){let n=this.treeAdapter.getNamespaceURI(e);return Gb[n].has(i)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nj(this,e);return}switch(this.insertionMode){case z.INITIAL:{ou(this,e);break}case z.BEFORE_HTML:{au(this,e);break}case z.BEFORE_HEAD:{lu(this,e);break}case z.IN_HEAD:{cu(this,e);break}case z.IN_HEAD_NO_SCRIPT:{uu(this,e);break}case z.AFTER_HEAD:{fu(this,e);break}case z.IN_BODY:case z.IN_CAPTION:case z.IN_CELL:case z.IN_TEMPLATE:{_4(this,e);break}case z.TEXT:case z.IN_SELECT:case z.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case z.IN_TABLE:case z.IN_TABLE_BODY:case z.IN_ROW:{i1(this,e);break}case z.IN_TABLE_TEXT:{I4(this,e);break}case z.IN_COLUMN_GROUP:{qd(this,e);break}case z.AFTER_BODY:{jd(this,e);break}case z.AFTER_AFTER_BODY:{Nd(this,e);break}default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){ij(this,e);return}switch(this.insertionMode){case z.INITIAL:{ou(this,e);break}case z.BEFORE_HTML:{au(this,e);break}case z.BEFORE_HEAD:{lu(this,e);break}case z.IN_HEAD:{cu(this,e);break}case z.IN_HEAD_NO_SCRIPT:{uu(this,e);break}case z.AFTER_HEAD:{fu(this,e);break}case z.TEXT:{this._insertCharacters(e);break}case z.IN_TABLE:case z.IN_TABLE_BODY:case z.IN_ROW:{i1(this,e);break}case z.IN_COLUMN_GROUP:{qd(this,e);break}case z.AFTER_BODY:{jd(this,e);break}case z.AFTER_AFTER_BODY:{Nd(this,e);break}default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){n1(this,e);return}switch(this.insertionMode){case z.INITIAL:case z.BEFORE_HTML:case z.BEFORE_HEAD:case z.IN_HEAD:case z.IN_HEAD_NO_SCRIPT:case z.AFTER_HEAD:case z.IN_BODY:case z.IN_TABLE:case z.IN_CAPTION:case z.IN_COLUMN_GROUP:case z.IN_TABLE_BODY:case z.IN_ROW:case z.IN_CELL:case z.IN_SELECT:case z.IN_SELECT_IN_TABLE:case z.IN_TEMPLATE:case z.IN_FRAMESET:case z.AFTER_FRAMESET:{n1(this,e);break}case z.IN_TABLE_TEXT:{su(this,e);break}case z.AFTER_BODY:{RN(this,e);break}case z.AFTER_AFTER_BODY:case z.AFTER_AFTER_FRAMESET:{LN(this,e);break}default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case z.INITIAL:{IN(this,e);break}case z.BEFORE_HEAD:case z.IN_HEAD:case z.IN_HEAD_NO_SCRIPT:case z.AFTER_HEAD:{this._err(e,ee.misplacedDoctype);break}case z.IN_TABLE_TEXT:{su(this,e);break}default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,ee.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?rj(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case z.INITIAL:{ou(this,e);break}case z.BEFORE_HTML:{DN(this,e);break}case z.BEFORE_HEAD:{UN(this,e);break}case z.IN_HEAD:{Nn(this,e);break}case z.IN_HEAD_NO_SCRIPT:{qN(this,e);break}case z.AFTER_HEAD:{WN(this,e);break}case z.IN_BODY:{vi(this,e);break}case z.IN_TABLE:{il(this,e);break}case z.IN_TABLE_TEXT:{su(this,e);break}case z.IN_CAPTION:{Mq(this,e);break}case z.IN_COLUMN_GROUP:{a1(this,e);break}case z.IN_TABLE_BODY:{Zd(this,e);break}case z.IN_ROW:{Bd(this,e);break}case z.IN_CELL:{jq(this,e);break}case z.IN_SELECT:{U4(this,e);break}case z.IN_SELECT_IN_TABLE:{Vq(this,e);break}case z.IN_TEMPLATE:{Bq(this,e);break}case z.AFTER_BODY:{Fq(this,e);break}case z.IN_FRAMESET:{Hq(this,e);break}case z.AFTER_FRAMESET:{Kq(this,e);break}case z.AFTER_AFTER_BODY:{ej(this,e);break}case z.AFTER_AFTER_FRAMESET:{tj(this,e);break}default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?oj(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case z.INITIAL:{ou(this,e);break}case z.BEFORE_HTML:{zN(this,e);break}case z.BEFORE_HEAD:{MN(this,e);break}case z.IN_HEAD:{NN(this,e);break}case z.IN_HEAD_NO_SCRIPT:{jN(this,e);break}case z.AFTER_HEAD:{VN(this,e);break}case z.IN_BODY:{Vd(this,e);break}case z.TEXT:{_q(this,e);break}case z.IN_TABLE:{hu(this,e);break}case z.IN_TABLE_TEXT:{su(this,e);break}case z.IN_CAPTION:{Nq(this,e);break}case z.IN_COLUMN_GROUP:{qq(this,e);break}case z.IN_TABLE_BODY:{r1(this,e);break}case z.IN_ROW:{z4(this,e);break}case z.IN_CELL:{Wq(this,e);break}case z.IN_SELECT:{M4(this,e);break}case z.IN_SELECT_IN_TABLE:{Zq(this,e);break}case z.IN_TEMPLATE:{Yq(this,e);break}case z.AFTER_BODY:{q4(this,e);break}case z.IN_FRAMESET:{Gq(this,e);break}case z.AFTER_FRAMESET:{Jq(this,e);break}case z.AFTER_AFTER_BODY:{Nd(this,e);break}default:}}onEof(e){switch(this.insertionMode){case z.INITIAL:{ou(this,e);break}case z.BEFORE_HTML:{au(this,e);break}case z.BEFORE_HEAD:{lu(this,e);break}case z.IN_HEAD:{cu(this,e);break}case z.IN_HEAD_NO_SCRIPT:{uu(this,e);break}case z.AFTER_HEAD:{fu(this,e);break}case z.IN_BODY:case z.IN_TABLE:case z.IN_CAPTION:case z.IN_COLUMN_GROUP:case z.IN_TABLE_BODY:case z.IN_ROW:case z.IN_CELL:case z.IN_SELECT:case z.IN_SELECT_IN_TABLE:{R4(this,e);break}case z.TEXT:{Aq(this,e);break}case z.IN_TABLE_TEXT:{su(this,e);break}case z.IN_TEMPLATE:{N4(this,e);break}case z.AFTER_BODY:case z.IN_FRAMESET:case z.AFTER_FRAMESET:case z.AFTER_AFTER_BODY:case z.AFTER_AFTER_FRAMESET:{s1(this,e);break}default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===_.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 z.IN_HEAD:case z.IN_HEAD_NO_SCRIPT:case z.AFTER_HEAD:case z.TEXT:case z.IN_COLUMN_GROUP:case z.IN_SELECT:case z.IN_SELECT_IN_TABLE:case z.IN_FRAMESET:case z.AFTER_FRAMESET:{this._insertCharacters(e);break}case z.IN_BODY:case z.IN_CAPTION:case z.IN_CELL:case z.IN_TEMPLATE:case z.AFTER_BODY:case z.AFTER_AFTER_BODY:case z.AFTER_AFTER_FRAMESET:{Q4(this,e);break}case z.IN_TABLE:case z.IN_TABLE_BODY:case z.IN_ROW:{i1(this,e);break}case z.IN_TABLE_TEXT:{L4(this,e);break}default:}}};function CN(t,e){let i=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return i?t.openElements.contains(i.element)?t.openElements.hasInScope(e.tagID)||(i=null):(t.activeFormattingElements.removeEntry(i),i=null):X4(t,e),i}function QN(t,e){let i=null,n=t.openElements.stackTop;for(;n>=0;n--){let r=t.openElements.items[n];if(r===e.element)break;t._isSpecialElement(r,t.openElements.tagIDs[n])&&(i=r)}return i||(t.openElements.shortenToLength(n<0?0:n),t.activeFormattingElements.removeEntry(e)),i}function _N(t,e,i){let n=e,r=t.openElements.getCommonAncestor(e);for(let o=0,s=r;s!==i;o++,s=r){r=t.openElements.getCommonAncestor(s);let a=t.activeFormattingElements.getElementEntry(s),l=a&&o>=EN;!a||l?(l&&t.activeFormattingElements.removeEntry(a),t.openElements.remove(s)):(s=AN(t,a),n===e&&(t.activeFormattingElements.bookmark=a),t.treeAdapter.detachNode(n),t.treeAdapter.appendChild(s,n),n=s)}return n}function AN(t,e){let i=t.treeAdapter.getNamespaceURI(e.element),n=t.treeAdapter.createElement(e.token.tagName,i,e.token.attrs);return t.openElements.replace(e.element,n),e.element=n,n}function $N(t,e,i){let n=t.treeAdapter.getTagName(e),r=Mo(n);if(t._isElementCausesFosterParenting(r))t._fosterParentElement(i);else{let o=t.treeAdapter.getNamespaceURI(e);r===g.TEMPLATE&&o===ae.HTML&&(e=t.treeAdapter.getTemplateContent(e)),t.treeAdapter.appendChild(e,i)}}function XN(t,e,i){let n=t.treeAdapter.getNamespaceURI(i.element),{token:r}=i,o=t.treeAdapter.createElement(r.tagName,n,r.attrs);t._adoptNodes(e,o),t.treeAdapter.appendChild(e,o),t.activeFormattingElements.insertElementAfterBookmark(o,r),t.activeFormattingElements.removeEntry(i),t.openElements.remove(i.element),t.openElements.insertAfter(e,o,r.tagID)}function o1(t,e){for(let i=0;i<TN;i++){let n=CN(t,e);if(!n)break;let r=QN(t,n);if(!r)break;t.activeFormattingElements.bookmark=n;let o=_N(t,r,n.element),s=t.openElements.getCommonAncestor(n.element);t.treeAdapter.detachNode(o),s&&$N(t,s,o),XN(t,r,n)}}function n1(t,e){t._appendCommentNode(e,t.openElements.currentTmplContentOrNode)}function RN(t,e){t._appendCommentNode(e,t.openElements.items[0])}function LN(t,e){t._appendCommentNode(e,t.document)}function s1(t,e){if(t.stopped=!0,e.location){let i=t.fragmentContext?0:2;for(let n=t.openElements.stackTop;n>=i;n--)t._setEndLocation(t.openElements.items[n],e);if(!t.fragmentContext&&t.openElements.stackTop>=0){let n=t.openElements.items[0],r=t.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(t._setEndLocation(n,e),t.openElements.stackTop>=1)){let o=t.openElements.items[1],s=t.treeAdapter.getNodeSourceCodeLocation(o);s&&!s.endTag&&t._setEndLocation(o,e)}}}}function IN(t,e){t._setDocumentType(e);let i=e.forceQuirks?li.QUIRKS:w4(e);v4(e)||t._err(e,ee.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,i),t.insertionMode=z.BEFORE_HTML}function ou(t,e){t._err(e,ee.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,li.QUIRKS),t.insertionMode=z.BEFORE_HTML,t._processToken(e)}function DN(t,e){e.tagID===g.HTML?(t._insertElement(e,ae.HTML),t.insertionMode=z.BEFORE_HEAD):au(t,e)}function zN(t,e){let i=e.tagID;(i===g.HTML||i===g.HEAD||i===g.BODY||i===g.BR)&&au(t,e)}function au(t,e){t._insertFakeRootElement(),t.insertionMode=z.BEFORE_HEAD,t._processToken(e)}function UN(t,e){switch(e.tagID){case g.HTML:{vi(t,e);break}case g.HEAD:{t._insertElement(e,ae.HTML),t.headElement=t.openElements.current,t.insertionMode=z.IN_HEAD;break}default:lu(t,e)}}function MN(t,e){let i=e.tagID;i===g.HEAD||i===g.BODY||i===g.HTML||i===g.BR?lu(t,e):t._err(e,ee.endTagWithoutMatchingOpenElement)}function lu(t,e){t._insertFakeElement(B.HEAD,g.HEAD),t.headElement=t.openElements.current,t.insertionMode=z.IN_HEAD,t._processToken(e)}function Nn(t,e){switch(e.tagID){case g.HTML:{vi(t,e);break}case g.BASE:case g.BASEFONT:case g.BGSOUND:case g.LINK:case g.META:{t._appendElement(e,ae.HTML),e.ackSelfClosing=!0;break}case g.TITLE:{t._switchToTextParsing(e,Pt.RCDATA);break}case g.NOSCRIPT:{t.options.scriptingEnabled?t._switchToTextParsing(e,Pt.RAWTEXT):(t._insertElement(e,ae.HTML),t.insertionMode=z.IN_HEAD_NO_SCRIPT);break}case g.NOFRAMES:case g.STYLE:{t._switchToTextParsing(e,Pt.RAWTEXT);break}case g.SCRIPT:{t._switchToTextParsing(e,Pt.SCRIPT_DATA);break}case g.TEMPLATE:{t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=z.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(z.IN_TEMPLATE);break}case g.HEAD:{t._err(e,ee.misplacedStartTagForHeadElement);break}default:cu(t,e)}}function NN(t,e){switch(e.tagID){case g.HEAD:{t.openElements.pop(),t.insertionMode=z.AFTER_HEAD;break}case g.BODY:case g.BR:case g.HTML:{cu(t,e);break}case g.TEMPLATE:{Ls(t,e);break}default:t._err(e,ee.endTagWithoutMatchingOpenElement)}}function Ls(t,e){t.openElements.tmplCount>0?(t.openElements.generateImpliedEndTagsThoroughly(),t.openElements.currentTagId!==g.TEMPLATE&&t._err(e,ee.closingOfElementWithOpenChildElements),t.openElements.popUntilTagNamePopped(g.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode()):t._err(e,ee.endTagWithoutMatchingOpenElement)}function cu(t,e){t.openElements.pop(),t.insertionMode=z.AFTER_HEAD,t._processToken(e)}function qN(t,e){switch(e.tagID){case g.HTML:{vi(t,e);break}case g.BASEFONT:case g.BGSOUND:case g.HEAD:case g.LINK:case g.META:case g.NOFRAMES:case g.STYLE:{Nn(t,e);break}case g.NOSCRIPT:{t._err(e,ee.nestedNoscriptInHead);break}default:uu(t,e)}}function jN(t,e){switch(e.tagID){case g.NOSCRIPT:{t.openElements.pop(),t.insertionMode=z.IN_HEAD;break}case g.BR:{uu(t,e);break}default:t._err(e,ee.endTagWithoutMatchingOpenElement)}}function uu(t,e){let i=e.type===Ye.EOF?ee.openElementsLeftAfterEof:ee.disallowedContentInNoscriptInHead;t._err(e,i),t.openElements.pop(),t.insertionMode=z.IN_HEAD,t._processToken(e)}function WN(t,e){switch(e.tagID){case g.HTML:{vi(t,e);break}case g.BODY:{t._insertElement(e,ae.HTML),t.framesetOk=!1,t.insertionMode=z.IN_BODY;break}case g.FRAMESET:{t._insertElement(e,ae.HTML),t.insertionMode=z.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,ee.abandonedHeadElementChild),t.openElements.push(t.headElement,g.HEAD),Nn(t,e),t.openElements.remove(t.headElement);break}case g.HEAD:{t._err(e,ee.misplacedStartTagForHeadElement);break}default:fu(t,e)}}function VN(t,e){switch(e.tagID){case g.BODY:case g.HTML:case g.BR:{fu(t,e);break}case g.TEMPLATE:{Ls(t,e);break}default:t._err(e,ee.endTagWithoutMatchingOpenElement)}}function fu(t,e){t._insertFakeElement(B.BODY,g.BODY),t.insertionMode=z.IN_BODY,Wd(t,e)}function Wd(t,e){switch(e.type){case Ye.CHARACTER:{_4(t,e);break}case Ye.WHITESPACE_CHARACTER:{Q4(t,e);break}case Ye.COMMENT:{n1(t,e);break}case Ye.START_TAG:{vi(t,e);break}case Ye.END_TAG:{Vd(t,e);break}case Ye.EOF:{R4(t,e);break}default:}}function Q4(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function _4(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function ZN(t,e){t.openElements.tmplCount===0&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}function BN(t,e){let i=t.openElements.tryPeekProperlyNestedBodyElement();i&&t.openElements.tmplCount===0&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(i,e.attrs))}function YN(t,e){let i=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&i&&(t.treeAdapter.detachNode(i),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,ae.HTML),t.insertionMode=z.IN_FRAMESET)}function FN(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,ae.HTML)}function HN(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),eu(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,ae.HTML)}function GN(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,ae.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}function KN(t,e){let i=t.openElements.tmplCount>0;(!t.formElement||i)&&(t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,ae.HTML),i||(t.formElement=t.openElements.current))}function JN(t,e){t.framesetOk=!1;let i=e.tagID;for(let n=t.openElements.stackTop;n>=0;n--){let r=t.openElements.tagIDs[n];if(i===g.LI&&r===g.LI||(i===g.DD||i===g.DT)&&(r===g.DD||r===g.DT)){t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.popUntilTagNamePopped(r);break}if(r!==g.ADDRESS&&r!==g.DIV&&r!==g.P&&t._isSpecialElement(t.openElements.items[n],r))break}t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,ae.HTML)}function eq(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,ae.HTML),t.tokenizer.state=Pt.PLAINTEXT}function tq(t,e){t.openElements.hasInScope(g.BUTTON)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(g.BUTTON)),t._reconstructActiveFormattingElements(),t._insertElement(e,ae.HTML),t.framesetOk=!1}function iq(t,e){let i=t.activeFormattingElements.getElementEntryInScopeWithTagName(B.A);i&&(o1(t,e),t.openElements.remove(i.element),t.activeFormattingElements.removeEntry(i)),t._reconstructActiveFormattingElements(),t._insertElement(e,ae.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function nq(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,ae.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function rq(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(g.NOBR)&&(o1(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,ae.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function oq(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,ae.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}function sq(t,e){t.treeAdapter.getDocumentMode(t.document)!==li.QUIRKS&&t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._insertElement(e,ae.HTML),t.framesetOk=!1,t.insertionMode=z.IN_TABLE}function A4(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,ae.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function $4(t){let e=Jc(t,Mn.TYPE);return e!=null&&e.toLowerCase()===SN}function aq(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,ae.HTML),$4(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}function lq(t,e){t._appendElement(e,ae.HTML),e.ackSelfClosing=!0}function cq(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._appendElement(e,ae.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function uq(t,e){e.tagName=B.IMG,e.tagID=g.IMG,A4(t,e)}function fq(t,e){t._insertElement(e,ae.HTML),t.skipNextNewLine=!0,t.tokenizer.state=Pt.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=z.TEXT}function hq(t,e){t.openElements.hasInButtonScope(g.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,Pt.RAWTEXT)}function dq(t,e){t.framesetOk=!1,t._switchToTextParsing(e,Pt.RAWTEXT)}function E4(t,e){t._switchToTextParsing(e,Pt.RAWTEXT)}function Oq(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,ae.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===z.IN_TABLE||t.insertionMode===z.IN_CAPTION||t.insertionMode===z.IN_TABLE_BODY||t.insertionMode===z.IN_ROW||t.insertionMode===z.IN_CELL?z.IN_SELECT_IN_TABLE:z.IN_SELECT}function pq(t,e){t.openElements.currentTagId===g.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,ae.HTML)}function mq(t,e){t.openElements.hasInScope(g.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,ae.HTML)}function gq(t,e){t.openElements.hasInScope(g.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(g.RTC),t._insertElement(e,ae.HTML)}function bq(t,e){t._reconstructActiveFormattingElements(),zd(e),ru(e),e.selfClosing?t._appendElement(e,ae.MATHML):t._insertElement(e,ae.MATHML),e.ackSelfClosing=!0}function yq(t,e){t._reconstructActiveFormattingElements(),Ud(e),ru(e),e.selfClosing?t._appendElement(e,ae.SVG):t._insertElement(e,ae.SVG),e.ackSelfClosing=!0}function P4(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,ae.HTML)}function vi(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:{nq(t,e);break}case g.A:{iq(t,e);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{HN(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:{FN(t,e);break}case g.LI:case g.DD:case g.DT:{JN(t,e);break}case g.BR:case g.IMG:case g.WBR:case g.AREA:case g.EMBED:case g.KEYGEN:{A4(t,e);break}case g.HR:{cq(t,e);break}case g.RB:case g.RTC:{mq(t,e);break}case g.RT:case g.RP:{gq(t,e);break}case g.PRE:case g.LISTING:{GN(t,e);break}case g.XMP:{hq(t,e);break}case g.SVG:{yq(t,e);break}case g.HTML:{ZN(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:{Nn(t,e);break}case g.BODY:{BN(t,e);break}case g.FORM:{KN(t,e);break}case g.NOBR:{rq(t,e);break}case g.MATH:{bq(t,e);break}case g.TABLE:{sq(t,e);break}case g.INPUT:{aq(t,e);break}case g.PARAM:case g.TRACK:case g.SOURCE:{lq(t,e);break}case g.IMAGE:{uq(t,e);break}case g.BUTTON:{tq(t,e);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{oq(t,e);break}case g.IFRAME:{dq(t,e);break}case g.SELECT:{Oq(t,e);break}case g.OPTION:case g.OPTGROUP:{pq(t,e);break}case g.NOEMBED:{E4(t,e);break}case g.FRAMESET:{YN(t,e);break}case g.TEXTAREA:{fq(t,e);break}case g.NOSCRIPT:{t.options.scriptingEnabled?E4(t,e):P4(t,e);break}case g.PLAINTEXT:{eq(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:P4(t,e)}}function xq(t,e){if(t.openElements.hasInScope(g.BODY)&&(t.insertionMode=z.AFTER_BODY,t.options.sourceCodeLocationInfo)){let i=t.openElements.tryPeekProperlyNestedBodyElement();i&&t._setEndLocation(i,e)}}function vq(t,e){t.openElements.hasInScope(g.BODY)&&(t.insertionMode=z.AFTER_BODY,q4(t,e))}function wq(t,e){let i=e.tagID;t.openElements.hasInScope(i)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(i))}function kq(t){let e=t.openElements.tmplCount>0,{formElement:i}=t;e||(t.formElement=null),(i||e)&&t.openElements.hasInScope(g.FORM)&&(t.openElements.generateImpliedEndTags(),e?t.openElements.popUntilTagNamePopped(g.FORM):i&&t.openElements.remove(i))}function Sq(t){t.openElements.hasInButtonScope(g.P)||t._insertFakeElement(B.P,g.P),t._closePElement()}function Tq(t){t.openElements.hasInListItemScope(g.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(g.LI),t.openElements.popUntilTagNamePopped(g.LI))}function Eq(t,e){let i=e.tagID;t.openElements.hasInScope(i)&&(t.openElements.generateImpliedEndTagsWithExclusion(i),t.openElements.popUntilTagNamePopped(i))}function Pq(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}function Cq(t,e){let i=e.tagID;t.openElements.hasInScope(i)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(i),t.activeFormattingElements.clearToLastMarker())}function Qq(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(B.BR,g.BR),t.openElements.pop(),t.framesetOk=!1}function X4(t,e){let i=e.tagName,n=e.tagID;for(let r=t.openElements.stackTop;r>0;r--){let o=t.openElements.items[r],s=t.openElements.tagIDs[r];if(n===s&&(n!==g.UNKNOWN||t.treeAdapter.getTagName(o)===i)){t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.stackTop>=r&&t.openElements.shortenToLength(r);break}if(t._isSpecialElement(o,s))break}}function Vd(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:{o1(t,e);break}case g.P:{Sq(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:{wq(t,e);break}case g.LI:{Tq(t);break}case g.DD:case g.DT:{Eq(t,e);break}case g.H1:case g.H2:case g.H3:case g.H4:case g.H5:case g.H6:{Pq(t);break}case g.BR:{Qq(t);break}case g.BODY:{xq(t,e);break}case g.HTML:{vq(t,e);break}case g.FORM:{kq(t);break}case g.APPLET:case g.OBJECT:case g.MARQUEE:{Cq(t,e);break}case g.TEMPLATE:{Ls(t,e);break}default:X4(t,e)}}function R4(t,e){t.tmplInsertionModeStack.length>0?N4(t,e):s1(t,e)}function _q(t,e){var i;e.tagID===g.SCRIPT&&((i=t.scriptHandler)===null||i===void 0||i.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode}function Aq(t,e){t._err(e,ee.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}function i1(t,e){if(C4.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=z.IN_TABLE_TEXT,e.type){case Ye.CHARACTER:{I4(t,e);break}case Ye.WHITESPACE_CHARACTER:{L4(t,e);break}}else du(t,e)}function $q(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,ae.HTML),t.insertionMode=z.IN_CAPTION}function Xq(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,ae.HTML),t.insertionMode=z.IN_COLUMN_GROUP}function Rq(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(B.COLGROUP,g.COLGROUP),t.insertionMode=z.IN_COLUMN_GROUP,a1(t,e)}function Lq(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,ae.HTML),t.insertionMode=z.IN_TABLE_BODY}function Iq(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(B.TBODY,g.TBODY),t.insertionMode=z.IN_TABLE_BODY,Zd(t,e)}function Dq(t,e){t.openElements.hasInTableScope(g.TABLE)&&(t.openElements.popUntilTagNamePopped(g.TABLE),t._resetInsertionMode(),t._processStartTag(e))}function zq(t,e){$4(e)?t._appendElement(e,ae.HTML):du(t,e),e.ackSelfClosing=!0}function Uq(t,e){!t.formElement&&t.openElements.tmplCount===0&&(t._insertElement(e,ae.HTML),t.formElement=t.openElements.current,t.openElements.pop())}function il(t,e){switch(e.tagID){case g.TD:case g.TH:case g.TR:{Iq(t,e);break}case g.STYLE:case g.SCRIPT:case g.TEMPLATE:{Nn(t,e);break}case g.COL:{Rq(t,e);break}case g.FORM:{Uq(t,e);break}case g.TABLE:{Dq(t,e);break}case g.TBODY:case g.TFOOT:case g.THEAD:{Lq(t,e);break}case g.INPUT:{zq(t,e);break}case g.CAPTION:{$q(t,e);break}case g.COLGROUP:{Xq(t,e);break}default:du(t,e)}}function hu(t,e){switch(e.tagID){case g.TABLE:{t.openElements.hasInTableScope(g.TABLE)&&(t.openElements.popUntilTagNamePopped(g.TABLE),t._resetInsertionMode());break}case g.TEMPLATE:{Ls(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:du(t,e)}}function du(t,e){let i=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,Wd(t,e),t.fosterParentingEnabled=i}function L4(t,e){t.pendingCharacterTokens.push(e)}function I4(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function su(t,e){let i=0;if(t.hasNonWhitespacePendingCharacterToken)for(;i<t.pendingCharacterTokens.length;i++)du(t,t.pendingCharacterTokens[i]);else for(;i<t.pendingCharacterTokens.length;i++)t._insertCharacters(t.pendingCharacterTokens[i]);t.insertionMode=t.originalInsertionMode,t._processToken(e)}var D4=new Set([g.CAPTION,g.COL,g.COLGROUP,g.TBODY,g.TD,g.TFOOT,g.TH,g.THEAD,g.TR]);function Mq(t,e){let i=e.tagID;D4.has(i)?t.openElements.hasInTableScope(g.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(g.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=z.IN_TABLE,il(t,e)):vi(t,e)}function Nq(t,e){let i=e.tagID;switch(i){case g.CAPTION:case g.TABLE:{t.openElements.hasInTableScope(g.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(g.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=z.IN_TABLE,i===g.TABLE&&hu(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:Vd(t,e)}}function a1(t,e){switch(e.tagID){case g.HTML:{vi(t,e);break}case g.COL:{t._appendElement(e,ae.HTML),e.ackSelfClosing=!0;break}case g.TEMPLATE:{Nn(t,e);break}default:qd(t,e)}}function qq(t,e){switch(e.tagID){case g.COLGROUP:{t.openElements.currentTagId===g.COLGROUP&&(t.openElements.pop(),t.insertionMode=z.IN_TABLE);break}case g.TEMPLATE:{Ls(t,e);break}case g.COL:break;default:qd(t,e)}}function qd(t,e){t.openElements.currentTagId===g.COLGROUP&&(t.openElements.pop(),t.insertionMode=z.IN_TABLE,t._processToken(e))}function Zd(t,e){switch(e.tagID){case g.TR:{t.openElements.clearBackToTableBodyContext(),t._insertElement(e,ae.HTML),t.insertionMode=z.IN_ROW;break}case g.TH:case g.TD:{t.openElements.clearBackToTableBodyContext(),t._insertFakeElement(B.TR,g.TR),t.insertionMode=z.IN_ROW,Bd(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=z.IN_TABLE,il(t,e));break}default:il(t,e)}}function r1(t,e){let i=e.tagID;switch(e.tagID){case g.TBODY:case g.TFOOT:case g.THEAD:{t.openElements.hasInTableScope(i)&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=z.IN_TABLE);break}case g.TABLE:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=z.IN_TABLE,hu(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:hu(t,e)}}function Bd(t,e){switch(e.tagID){case g.TH:case g.TD:{t.openElements.clearBackToTableRowContext(),t._insertElement(e,ae.HTML),t.insertionMode=z.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=z.IN_TABLE_BODY,Zd(t,e));break}default:il(t,e)}}function z4(t,e){switch(e.tagID){case g.TR:{t.openElements.hasInTableScope(g.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=z.IN_TABLE_BODY);break}case g.TABLE:{t.openElements.hasInTableScope(g.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=z.IN_TABLE_BODY,r1(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=z.IN_TABLE_BODY,r1(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:hu(t,e)}}function jq(t,e){let i=e.tagID;D4.has(i)?(t.openElements.hasInTableScope(g.TD)||t.openElements.hasInTableScope(g.TH))&&(t._closeTableCell(),Bd(t,e)):vi(t,e)}function Wq(t,e){let i=e.tagID;switch(i){case g.TD:case g.TH:{t.openElements.hasInTableScope(i)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(i),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=z.IN_ROW);break}case g.TABLE:case g.TBODY:case g.TFOOT:case g.THEAD:case g.TR:{t.openElements.hasInTableScope(i)&&(t._closeTableCell(),z4(t,e));break}case g.BODY:case g.CAPTION:case g.COL:case g.COLGROUP:case g.HTML:break;default:Vd(t,e)}}function U4(t,e){switch(e.tagID){case g.HTML:{vi(t,e);break}case g.OPTION:{t.openElements.currentTagId===g.OPTION&&t.openElements.pop(),t._insertElement(e,ae.HTML);break}case g.OPTGROUP:{t.openElements.currentTagId===g.OPTION&&t.openElements.pop(),t.openElements.currentTagId===g.OPTGROUP&&t.openElements.pop(),t._insertElement(e,ae.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:{Nn(t,e);break}default:}}function M4(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:{Ls(t,e);break}default:}}function Vq(t,e){let i=e.tagID;i===g.CAPTION||i===g.TABLE||i===g.TBODY||i===g.TFOOT||i===g.THEAD||i===g.TR||i===g.TD||i===g.TH?(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode(),t._processStartTag(e)):U4(t,e)}function Zq(t,e){let i=e.tagID;i===g.CAPTION||i===g.TABLE||i===g.TBODY||i===g.TFOOT||i===g.THEAD||i===g.TR||i===g.TD||i===g.TH?t.openElements.hasInTableScope(i)&&(t.openElements.popUntilTagNamePopped(g.SELECT),t._resetInsertionMode(),t.onEndTag(e)):M4(t,e)}function Bq(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:{Nn(t,e);break}case g.CAPTION:case g.COLGROUP:case g.TBODY:case g.TFOOT:case g.THEAD:{t.tmplInsertionModeStack[0]=z.IN_TABLE,t.insertionMode=z.IN_TABLE,il(t,e);break}case g.COL:{t.tmplInsertionModeStack[0]=z.IN_COLUMN_GROUP,t.insertionMode=z.IN_COLUMN_GROUP,a1(t,e);break}case g.TR:{t.tmplInsertionModeStack[0]=z.IN_TABLE_BODY,t.insertionMode=z.IN_TABLE_BODY,Zd(t,e);break}case g.TD:case g.TH:{t.tmplInsertionModeStack[0]=z.IN_ROW,t.insertionMode=z.IN_ROW,Bd(t,e);break}default:t.tmplInsertionModeStack[0]=z.IN_BODY,t.insertionMode=z.IN_BODY,vi(t,e)}}function Yq(t,e){e.tagID===g.TEMPLATE&&Ls(t,e)}function N4(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(g.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):s1(t,e)}function Fq(t,e){e.tagID===g.HTML?vi(t,e):jd(t,e)}function q4(t,e){var i;if(e.tagID===g.HTML){if(t.fragmentContext||(t.insertionMode=z.AFTER_AFTER_BODY),t.options.sourceCodeLocationInfo&&t.openElements.tagIDs[0]===g.HTML){t._setEndLocation(t.openElements.items[0],e);let n=t.openElements.items[1];n&&!(!((i=t.treeAdapter.getNodeSourceCodeLocation(n))===null||i===void 0)&&i.endTag)&&t._setEndLocation(n,e)}}else jd(t,e)}function jd(t,e){t.insertionMode=z.IN_BODY,Wd(t,e)}function Hq(t,e){switch(e.tagID){case g.HTML:{vi(t,e);break}case g.FRAMESET:{t._insertElement(e,ae.HTML);break}case g.FRAME:{t._appendElement(e,ae.HTML),e.ackSelfClosing=!0;break}case g.NOFRAMES:{Nn(t,e);break}default:}}function Gq(t,e){e.tagID===g.FRAMESET&&!t.openElements.isRootHtmlElementCurrent()&&(t.openElements.pop(),!t.fragmentContext&&t.openElements.currentTagId!==g.FRAMESET&&(t.insertionMode=z.AFTER_FRAMESET))}function Kq(t,e){switch(e.tagID){case g.HTML:{vi(t,e);break}case g.NOFRAMES:{Nn(t,e);break}default:}}function Jq(t,e){e.tagID===g.HTML&&(t.insertionMode=z.AFTER_AFTER_FRAMESET)}function ej(t,e){e.tagID===g.HTML?vi(t,e):Nd(t,e)}function Nd(t,e){t.insertionMode=z.IN_BODY,Wd(t,e)}function tj(t,e){switch(e.tagID){case g.HTML:{vi(t,e);break}case g.NOFRAMES:{Nn(t,e);break}default:}}function ij(t,e){e.chars=wt,t._insertCharacters(e)}function nj(t,e){t._insertCharacters(e),t.framesetOk=!1}function j4(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==ae.HTML&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}function rj(t,e){if(Jb(e))j4(t),t._startTagOutsideForeignContent(e);else{let i=t._getAdjustedCurrentElement(),n=t.treeAdapter.getNamespaceURI(i);n===ae.MATHML?zd(e):n===ae.SVG&&(e1(e),Ud(e)),ru(e),e.selfClosing?t._appendElement(e,n):t._insertElement(e,n),e.ackSelfClosing=!0}}function oj(t,e){if(e.tagID===g.P||e.tagID===g.BR){j4(t),t._endTagOutsideForeignContent(e);return}for(let i=t.openElements.stackTop;i>0;i--){let n=t.openElements.items[i];if(t.treeAdapter.getNamespaceURI(n)===ae.HTML){t._endTagOutsideForeignContent(e);break}let r=t.treeAdapter.getTagName(n);if(r.toLowerCase()===e.tagName){e.tagName=r,t.openElements.shortenToLength(i);break}}}var sj=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),Aye=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 l1(t,e){return function(n){let r,o=0,s="";for(;r=t.exec(n);)o!==r.index&&(s+=n.substring(o,r.index)),s+=e.get(r[0].charCodeAt(0)),o=r.index+1;return s+n.substring(o)}}var $ye=l1(/[&<>'"]/g,sj),aj=l1(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),lj=l1(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var Dye=new Set([B.AREA,B.BASE,B.BASEFONT,B.BGSOUND,B.BR,B.COL,B.EMBED,B.FRAME,B.HR,B.IMG,B.INPUT,B.KEYGEN,B.LINK,B.META,B.PARAM,B.SOURCE,B.TRACK,B.WBR]);function W4(t,e){return Mr.parse(t,e)}function V4(t,e,i){typeof t=="string"&&(i=e,e=t,t=null);let n=Mr.getFragmentParser(t,i);return n.tokenizer.write(e,!0),n.getFragment()}var cj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Z4={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Yd(t,e){let i=yj(t),n=Va("type",{handlers:{root:uj,element:fj,text:hj,comment:Y4,doctype:dj,raw:pj},unknown:mj}),r={parser:i?new Mr(Z4):Mr.getFragmentParser(void 0,Z4),handle(a){n(a,r)},stitches:!1,options:e||{}};n(t,r),nl(r,gn());let o=i?r.parser.document:r.parser.getFragment(),s=Kc(o,{file:r.options.file});return r.stitches&&yi(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 B4(t,e){let i=-1;if(t)for(;++i<t.length;)e.handle(t[i])}function uj(t,e){B4(t.children,e)}function fj(t,e){gj(t,e),B4(t.children,e),bj(t,e)}function hj(t,e){let i={type:zr.TokenType.CHARACTER,chars:t.value,location:Ou(t)};nl(e,gn(t)),e.parser.currentToken=i,e.parser._processToken(e.parser.currentToken)}function dj(t,e){let i={type:zr.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Ou(t)};nl(e,gn(t)),e.parser.currentToken=i,e.parser._processToken(e.parser.currentToken)}function Oj(t,e){e.stitches=!0;let i=xj(t);if("children"in t&&"children"in i){let n=Yd({type:"root",children:t.children},e.options);i.children=n.children}Y4({type:"comment",value:{stitch:i}},e)}function Y4(t,e){let i=t.value,n={type:zr.TokenType.COMMENT,data:i,location:Ou(t)};nl(e,gn(t)),e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)}function pj(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,F4(e,gn(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 i=e.parser.tokenizer._consume();e.parser.tokenizer._callState(i)}}function mj(t,e){let i=t;if(e.options.passThrough&&e.options.passThrough.includes(i.type))Oj(i,e);else{let n="";throw cj.has(i.type)&&(n=". 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 `"+i.type+"` node"+n)}}function nl(t,e){F4(t,e);let i=t.parser.tokenizer.currentCharacterToken;i&&i.location&&(i.location.endLine=t.parser.tokenizer.preprocessor.line,i.location.endCol=t.parser.tokenizer.preprocessor.col+1,i.location.endOffset=t.parser.tokenizer.preprocessor.offset+1,t.parser.currentToken=i,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=Pt.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 F4(t,e){if(e&&e.offset!==void 0){let i={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=i}}function gj(t,e){if(e.parser.tokenizer.state===Pt.PLAINTEXT)return;nl(e,gn(t));let i=e.parser.openElements.current,n="namespaceURI"in i?i.namespaceURI:ji.html;n===ji.html&&t.tagName==="svg"&&(n=ji.svg);let r=jb(Ee(Y({},t),{children:[]}),{space:n===ji.svg?"svg":"html"}),o="attrs"in r?r.attrs:[],s={type:zr.TokenType.START_TAG,tagName:t.tagName,tagID:tl.getTagID(t.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:o,location:Ou(t)};e.parser.currentToken=s,e.parser._processToken(e.parser.currentToken),e.parser.tokenizer.lastStartTagName=t.tagName}function bj(t,e){if(!e.parser.tokenizer.inForeignNode&&Qd.includes(t.tagName)||e.parser.tokenizer.state===Pt.PLAINTEXT)return;nl(e,As(t));let i={type:zr.TokenType.END_TAG,tagName:t.tagName,tagID:tl.getTagID(t.tagName),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Ou(t)};e.parser.currentToken=i,e.parser._processToken(e.parser.currentToken),i.tagName===e.parser.tokenizer.lastStartTagName&&(e.parser.tokenizer.state===Pt.RCDATA||e.parser.tokenizer.state===Pt.RAWTEXT||e.parser.tokenizer.state===Pt.SCRIPT_DATA)&&(e.parser.tokenizer.state=Pt.DATA)}function yj(t){let e=t.type==="root"?t.children[0]:t;return!!(e&&(e.type==="doctype"||e.type==="element"&&e.tagName==="html"))}function Ou(t){let e=gn(t)||{line:void 0,column:void 0,offset:void 0},i=As(t)||{line:void 0,column:void 0,offset:void 0};return{startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:i.line,endCol:i.column,endOffset:i.offset}}function xj(t){return"children"in t?zn(Ee(Y({},t),{children:[]})):zn(t)}function Fd(t){return function(e,i){return Yd(e,Ee(Y({},t),{file:i}))}}function c1(t,e){return G4(t,e||{})||{type:"root",children:[]}}function G4(t,e){let i=vj(t,e);return i&&e.afterTransform&&e.afterTransform(t,i),i}function vj(t,e){switch(t.nodeType){case 1:return Tj(t,e);case 3:return kj(t);case 8:return Sj(t);case 9:return H4(t,e);case 10:return wj();case 11:return H4(t,e);default:return}}function H4(t,e){return{type:"root",children:K4(t,e)}}function wj(){return{type:"doctype"}}function kj(t){return{type:"text",value:t.nodeValue||""}}function Sj(t){return{type:"comment",value:t.nodeValue||""}}function Tj(t,e){let i=t.namespaceURI,n=i===ji.svg?Gc:Hc,r=i===ji.html?t.tagName.toLowerCase():t.tagName,o=i===ji.html&&r==="template"?t.content:t,s=t.getAttributeNames(),a={},l=-1;for(;++l<s.length;)a[s[l]]=t.getAttribute(s[l])||"";return n(r,a,K4(o,e))}function K4(t,e){let i=t.childNodes,n=[],r=-1;for(;++r<i.length;){let o=G4(i[r],e);o!==void 0&&n.push(o)}return n}var Ej=new DOMParser;function J4(t,e){let i=e!=null&&e.fragment?Pj(t):Ej.parseFromString(t,"text/html");return c1(i)}function Pj(t){let e=document.createElement("template");return e.innerHTML=t,e.content}var Hd=function(t,e,i){let n=sr(i);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(n(t.children[e],e,t))return t.children[e]};var Nr=function(t){if(t==null)return _j;if(typeof t=="string")return Qj(t);if(typeof t=="object")return Cj(t);if(typeof t=="function")return u1(t);throw new Error("Expected function, string, or array as `test`")};function Cj(t){let e=[],i=-1;for(;++i<t.length;)e[i]=Nr(t[i]);return u1(n);function n(...r){let o=-1;for(;++o<e.length;)if(e[o].apply(this,r))return!0;return!1}}function Qj(t){return u1(e);function e(i){return i.tagName===t}}function u1(t){return e;function e(i,n,r){return!!(Aj(i)&&t.call(this,i,typeof n=="number"?n:void 0,r||void 0))}}function _j(t){return!!(t&&typeof t=="object"&&"type"in t&&t.type==="element"&&"tagName"in t&&typeof t.tagName=="string")}function Aj(t){return t!==null&&typeof t=="object"&&"type"in t&&"tagName"in t}var eE=/\n/g,tE=/[\t ]+/g,f1=Nr("br"),iE=Nr(zj),$j=Nr("p"),nE=Nr("tr"),Xj=Nr(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",Dj,Uj]),rE=Nr(["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","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function pu(t,e){let i=e||{},n="children"in t?t.children:[],r=rE(t),o=aE(t,{whitespace:i.whitespace||"normal",breakBefore:!1,breakAfter:!1}),s=[];(t.type==="text"||t.type==="comment")&&s.push(...sE(t,{whitespace:o,breakBefore:!0,breakAfter:!0}));let a=-1;for(;++a<n.length;)s.push(...oE(n[a],t,{whitespace:o,breakBefore:a?void 0:r,breakAfter:a<n.length-1?f1(n[a+1]):r}));let l=[],c;for(a=-1;++a<s.length;){let u=s[a];typeof u=="number"?c!==void 0&&u>c&&(c=u):u&&(c!==void 0&&c>-1&&l.push(`
`.repeat(c)||" "),c=-1,l.push(u))}return l.join("")}function oE(t,e,i){return t.type==="element"?Rj(t,e,i):t.type==="text"?i.whitespace==="normal"?sE(t,i):Lj(t):[]}function Rj(t,e,i){let n=aE(t,i),r=t.children||[],o=-1,s=[];if(Xj(t))return s;let a,l;for(f1(t)||nE(t)&&Hd(e,t,nE)?l=`
`:$j(t)?(a=2,l=2):rE(t)&&(a=1,l=1);++o<r.length;)s=s.concat(oE(r[o],t,{whitespace:n,breakBefore:o?void 0:a,breakAfter:o<r.length-1?f1(r[o+1]):l}));return iE(t)&&Hd(e,t,iE)&&s.push(" "),a&&s.unshift(a),l&&s.push(l),s}function sE(t,e){let i=String(t.value),n=[],r=[],o=0;for(;o<=i.length;){eE.lastIndex=o;let l=eE.exec(i),c=l&&"index"in l?l.index:i.length;n.push(Ij(i.slice(o,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),o===0?e.breakBefore:!0,c===i.length?e.breakAfter:!0)),o=c+1}let s=-1,a;for(;++s<n.length;)n[s].charCodeAt(n[s].length-1)===8203||s<n.length-1&&n[s+1].charCodeAt(0)===8203?(r.push(n[s]),a=void 0):n[s]?(typeof a=="number"&&r.push(a),r.push(n[s]),a=0):(s===0||s===n.length-1)&&r.push(0);return r}function Lj(t){return[String(t.value)]}function Ij(t,e,i){let n=[],r=0,o;for(;r<t.length;){tE.lastIndex=r;let s=tE.exec(t);o=s?s.index:t.length,!r&&!o&&s&&!e&&n.push(""),r!==o&&n.push(t.slice(r,o)),r=s?o+s[0].length:o}return r!==o&&!i&&n.push(""),n.join(" ")}function aE(t,e){if(t.type==="element"){let i=t.properties||{};switch(t.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return i.wrap?"pre-wrap":"pre";case"td":case"th":return i.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap";default:}}return e.whitespace}function Dj(t){return!!(t.properties||{}).hidden}function zj(t){return t.tagName==="td"||t.tagName==="th"}function Uj(t){return t.tagName==="dialog"&&!(t.properties||{}).open}var Mj={},Nj=[];function Gd(t){let e=t||Mj;return function(i,n){Cs(i,"element",function(r,o){let s=Array.isArray(r.properties.className)?r.properties.className:Nj,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=r;if(r.tagName==="code"&&a&&f&&f.type==="element"&&f.tagName==="pre"&&(d=f,f=o[o.length-2],u=!0),!f)return;let O=pu(d,{whitespace:"pre"}),m;try{m=Xg.renderToString(O,Ee(Y({},e),{displayMode:u,throwOnError:!0}))}catch(v){let w=v,T=w.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...o,r],cause:w,place:r.position,ruleId:T,source:"rehype-katex"});try{m=Xg.renderToString(O,Ee(Y({},e),{displayMode:u,strict:"ignore",throwOnError:!1}))}catch(A){m=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(v)},children:[{type:"text",value:O}]}]}}typeof m=="string"&&(m=J4(m,{fragment:!0}).children);let x=f.children.indexOf(d);return f.children.splice(x,1,...m),Wa})}}var lE={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 qj="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",jj=/-[a-z]/g,Wj=/%c(?:([-+])(\d+))?/g,Vj=/%x/g,Zj={2:!0,1:!1,0:null},Bj={};function h1(t,e){let i=e||Bj,n=i.onerror,r=t instanceof Po?t:new Po(t),o=i.fragment?V4:W4,s=String(r),a=o(s,{sourceCodeLocationInfo:!0,onParseError:i.onerror?l:null,scriptingEnabled:!1});return Kc(a,{file:r,space:i.space,verbose:i.verbose});function l(c){let u=c.code,f=Yj(u),d=i[f],O=d==null?!0:d,m=typeof O=="number"?O:O?1:0;if(m){let v=lE[f];let w=new Zt(x(v.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"});r.path&&(w.file=r.path,w.name=r.path+":"+w.name),w.fatal=Zj[m],w.note=x(v.description),w.url=v.url===!1?void 0:qj+u,n(w)}function x(v){return v.replace(Wj,w).replace(Vj,T);function w(A,L,D){let P=(D?Number.parseInt(D,10):0)*(L==="-"?-1:1),N=s.charAt(c.startOffset+P);return Hj(N)}function T(){return Gj(s.charCodeAt(c.startOffset))}}}}function Yj(t){return t.replace(jj,Fj)}function Fj(t){return t.charAt(1).toUpperCase()}function Hj(t){return t==="`"?"` ` `":t}function Gj(t){return"0x"+t.toString(16).toUpperCase()}function Kd(t){let e=this,o=Y(Y({},e.data("settings")),t),{emitParseErrors:i}=o,n=gi(o,["emitParseErrors"]);e.parser=r;function r(s,a){return h1(s,Ee(Y({},n),{onerror:i?function(l){a.path&&(l.name=a.path+":"+l.name,l.file=a.path),a.messages.push(l)}:void 0}))}}var Is=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],qn={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Is,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Is],h2:[["id","footnote-label"],["className","sr-only"]],img:[...Is,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Is,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Is],table:[...Is],ul:[...Is,["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 qo={}.hasOwnProperty;function d1(t,e){let i={type:"root",children:[]},n={schema:e?Y(Y({},qn),e):qn,stack:[]},r=uE(n,t);return r&&(Array.isArray(r)?r.length===1?i=r[0]:i.children=r:i=r),i}function uE(t,e){if(e&&typeof e=="object"){let i=e;switch(typeof i.type=="string"?i.type:""){case"comment":return Kj(t,i);case"doctype":return Jj(t,i);case"element":return eW(t,i);case"root":return tW(t,i);case"text":return iW(t,i);default:}}}function Kj(t,e){if(t.schema.allowComments){let i=typeof e.value=="string"?e.value:"",n=i.indexOf("-->"),o={type:"comment",value:n<0?i:i.slice(0,n)};return mu(o,e),o}}function Jj(t,e){if(t.schema.allowDoctypes){let i={type:"doctype"};return mu(i,e),i}}function eW(t,e){let i=typeof e.tagName=="string"?e.tagName:"";t.stack.push(i);let n=fE(t,e.children),r=nW(t,e.properties);t.stack.pop();let o=!1;if(i.length>0&&i!=="*"&&(!t.schema.tagNames||t.schema.tagNames.includes(i))&&(o=!0,t.schema.ancestors&&qo.call(t.schema.ancestors,i))){let a=t.schema.ancestors[i],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(i)?n:void 0;let s={type:"element",tagName:i,properties:r,children:n};return mu(s,e),s}function tW(t,e){let n={type:"root",children:fE(t,e.children)};return mu(n,e),n}function iW(t,e){let n={type:"text",value:typeof e.value=="string"?e.value:""};return mu(n,e),n}function fE(t,e){let i=[];if(Array.isArray(e)){let n=e,r=-1;for(;++r<n.length;){let o=uE(t,n[r]);o&&(Array.isArray(o)?i.push(...o):i.push(o))}}return i}function nW(t,e){let i=t.stack[t.stack.length-1],n=t.schema.attributes,r=t.schema.required,o=n&&qo.call(n,i)?n[i]:void 0,s=n&&qo.call(n,"*")?n["*"]:void 0,a=e&&typeof e=="object"?e:{},l={},c;for(c in a)if(qo.call(a,c)){let u;if(o&&(u=cE(o,c)),!u&&s&&(u=cE(s,c)),u){let f=a[c],d=Array.isArray(f)?rW(t,u,c,f):hE(t,u,c,f);d!=null&&(l[c]=d)}}if(r&&qo.call(r,i)){let u=r[i];for(c in u)qo.call(u,c)&&!qo.call(l,c)&&(l[c]=u[c])}return l}function rW(t,e,i,n){let r=-1,o=[];for(;++r<n.length;){let s=hE(t,e,i,n[r]);(typeof s=="number"||typeof s=="string")&&o.push(s)}return o}function hE(t,e,i,n){if(!(typeof n!="boolean"&&typeof n!="number"&&typeof n!="string")&&oW(t,i,n)){if(typeof e=="object"&&e.length>1){let r=!1,o=0;for(;++o<e.length;){let s=e[o];if(s&&typeof s=="object"&&"flags"in s){if(s.test(String(n))){r=!0;break}}else if(s===n){r=!0;break}}if(!r)return}return t.schema.clobber&&t.schema.clobberPrefix&&t.schema.clobber.includes(i)?t.schema.clobberPrefix+n:n}}function oW(t,e,i){let n=t.schema.protocols&&qo.call(t.schema.protocols,e)?t.schema.protocols[e]:void 0;if(!n||n.length===0)return!0;let r=String(i),o=r.indexOf(":"),s=r.indexOf("?"),a=r.indexOf("#"),l=r.indexOf("/");if(o<0||l>-1&&o>l||s>-1&&o>s||a>-1&&o>a)return!0;let c=-1;for(;++c<n.length;){let u=n[c];if(o===u.length&&r.slice(0,u.length)===u)return!0}return!1}function mu(t,e){let i=Wc(e);e.data&&(t.data=zn(e.data)),i&&(t.position=i)}function cE(t,e){let i,n=-1;for(;++n<t.length;){let r=t[n],o=typeof r=="string"?r:r[0];if(o===e)return r;o==="data*"&&(i=r)}if(e.length>4&&e.slice(0,4).toLowerCase()==="data")return i}function Jd(t){return function(e){return d1(e,t)}}function dE(t,e){if(t=t.replace(e.subset?sW(e.subset):/["&'<>`]/g,n),e.subset||e.escapeOnly)return t;return t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function i(r,o,s){return e.format((r.charCodeAt(0)-55296)*1024+r.charCodeAt(1)-56320+65536,s.charCodeAt(o+2),e)}function n(r,o,s){return e.format(r.charCodeAt(0),s.charCodeAt(o+1),e)}}function sW(t){let e=[],i=-1;for(;++i<t.length;)e.push(t[i].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+e.join("|")+")","g")}function OE(t,e,i){let n="&#x"+t.toString(16).toUpperCase();return i&&e&&!/[\dA-Fa-f]/.test(String.fromCharCode(e))?n:n+";"}function pE(t,e,i){let n="&#"+String(t);return i&&e&&!/\d/.test(String.fromCharCode(e))?n:n+";"}var mE=["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 eO={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 gE=["cent","copy","divide","gt","lt","not","para","times"];var bE={}.hasOwnProperty,O1={},tO;for(tO in eO)bE.call(eO,tO)&&(O1[eO[tO]]=tO);function yE(t,e,i,n){let r=String.fromCharCode(t);if(bE.call(O1,r)){let o=O1[r],s="&"+o;return i&&mE.includes(o)&&!gE.includes(o)&&(!n||e&&e!==61&&/[^\da-z]/i.test(String.fromCharCode(e)))?s:s+";"}return""}function xE(t,e,i){let n=OE(t,e,i.omitOptionalSemicolons),r;if((i.useNamedReferences||i.useShortestReferences)&&(r=yE(t,e,i.omitOptionalSemicolons,i.attribute)),(i.useShortestReferences||!r)&&i.useShortestReferences){let o=pE(t,e,i.omitOptionalSemicolons);o.length<n.length&&(n=o)}return r&&(!i.useShortestReferences||r.length<n.length)?r:n}function qr(t,e){return dE(t,Object.assign({format:xE},e))}function vE(t,e,i,n){return n.settings.bogusComments?"<?"+qr(t.value,Object.assign({},n.settings.characterReferences,{subset:[">"]}))+">":"<!--"+t.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,r)+"-->";function r(o){return qr(o,Object.assign({},n.settings.characterReferences,{subset:["<",">"]}))}}function wE(t,e,i,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"}var aW=/[ \t\n\f\r]/g;function Ds(t){return typeof t=="object"?t.type==="text"?kE(t.value):!1:kE(t)}function kE(t){return t.replace(aW,"")===""}var Wt=SE(1),p1=SE(-1),lW=[];function SE(t){return e;function e(i,n,r){let o=i?i.children:lW,s=(n||0)+t,a=o[s];if(!r)for(;a&&Ds(a);)s+=t,a=o[s];return a}}var cW={}.hasOwnProperty;function iO(t){return e;function e(i,n,r){return cW.call(t,i.tagName)&&t[i.tagName](i,n,r)}}var gu=iO({body:fW,caption:m1,colgroup:m1,dd:pW,dt:OW,head:m1,html:uW,li:dW,optgroup:mW,option:gW,p:hW,rp:TE,rt:TE,tbody:yW,td:EE,tfoot:xW,th:EE,thead:bW,tr:vW});function m1(t,e,i){let n=Wt(i,e,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&Ds(n.value.charAt(0)))}function uW(t,e,i){let n=Wt(i,e);return!n||n.type!=="comment"}function fW(t,e,i){let n=Wt(i,e);return!n||n.type!=="comment"}function hW(t,e,i){let n=Wt(i,e);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!i||!(i.type==="element"&&(i.tagName==="a"||i.tagName==="audio"||i.tagName==="del"||i.tagName==="ins"||i.tagName==="map"||i.tagName==="noscript"||i.tagName==="video"))}function dW(t,e,i){let n=Wt(i,e);return!n||n.type==="element"&&n.tagName==="li"}function OW(t,e,i){let n=Wt(i,e);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function pW(t,e,i){let n=Wt(i,e);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function TE(t,e,i){let n=Wt(i,e);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function mW(t,e,i){let n=Wt(i,e);return!n||n.type==="element"&&n.tagName==="optgroup"}function gW(t,e,i){let n=Wt(i,e);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function bW(t,e,i){let n=Wt(i,e);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function yW(t,e,i){let n=Wt(i,e);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function xW(t,e,i){return!Wt(i,e)}function vW(t,e,i){let n=Wt(i,e);return!n||n.type==="element"&&n.tagName==="tr"}function EE(t,e,i){let n=Wt(i,e);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}var PE=iO({body:SW,colgroup:TW,head:kW,html:wW,tbody:EW});function wW(t){let e=Wt(t,-1);return!e||e.type!=="comment"}function kW(t){let e=t.children,i=[],n=-1;for(;++n<e.length;){let r=e[n];if(r.type==="element"&&(r.tagName==="title"||r.tagName==="base")){if(i.includes(r.tagName))return!1;i.push(r.tagName)}}return e.length>0}function SW(t){let e=Wt(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Ds(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function TW(t,e,i){let n=p1(i,e),r=Wt(t,-1,!0);return i&&n&&n.type==="element"&&n.tagName==="colgroup"&&gu(n,i.children.indexOf(n),i)?!1:!!(r&&r.type==="element"&&r.tagName==="col")}function EW(t,e,i){let n=p1(i,e),r=Wt(t,-1);return i&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&gu(n,i.children.indexOf(n),i)?!1:!!(r&&r.type==="element"&&r.tagName==="tr")}var nO={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 CE(t,e,i,n){let r=n.schema,o=r.space==="svg"?!1:n.settings.omitOptionalTags,s=r.space==="svg"?n.settings.closeEmptyElements:n.settings.voids.includes(t.tagName.toLowerCase()),a=[],l;r.space==="html"&&t.tagName==="svg"&&(n.schema=yn);let c=PW(n,t.properties),u=n.all(r.space==="html"&&t.tagName==="template"?t.content:t);return n.schema=r,u&&(s=!1),(c||!o||!PE(t,e,i))&&(a.push("<",t.tagName,c?" "+c:""),s&&(r.space==="svg"||n.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!n.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!s&&(!o||!gu(t,e,i))&&a.push("</"+t.tagName+">"),a.join("")}function PW(t,e){let i=[],n=-1,r;if(e){for(r in e)if(e[r]!==null&&e[r]!==void 0){let o=CW(t,r,e[r]);o&&i.push(o)}}for(;++n<i.length;){let o=t.settings.tightAttributes?i[n].charAt(i[n].length-1):void 0;n!==i.length-1&&o!=='"'&&o!=="'"&&(i[n]+=" ")}return i.join("")}function CW(t,e,i){let n=Ir(t.schema,e),r=t.settings.allowParseErrors&&t.schema.space==="html"?0:1,o=t.settings.allowDangerousCharacters?0:1,s=t.quote,a;if(n.overloadedBoolean&&(i===n.attribute||i==="")?i=!0:(n.boolean||n.overloadedBoolean&&typeof i!="string")&&(i=!!i),i==null||i===!1||typeof i=="number"&&Number.isNaN(i))return"";let l=qr(n.attribute,Object.assign({},t.settings.characterReferences,{subset:nO.name[r][o]}));return i===!0||(i=Array.isArray(i)?(n.commaSeparated?Ed:Pd)(i,{padLeft:!t.settings.tightCommaSeparatedLists}):String(i),t.settings.collapseEmptyAttributes&&!i)?l:(t.settings.preferUnquoted&&(a=qr(i,Object.assign({},t.settings.characterReferences,{attribute:!0,subset:nO.unquoted[r][o]}))),a!==i&&(t.settings.quoteSmart&&ja(i,s)>ja(i,t.alternative)&&(s=t.alternative),a=s+qr(i,Object.assign({},t.settings.characterReferences,{subset:(s==="'"?nO.single:nO.double)[r][o],attribute:!0}))+s),l+(a&&"="+a))}function rO(t,e,i,n){return i&&i.type==="element"&&(i.tagName==="script"||i.tagName==="style")?t.value:qr(t.value,Object.assign({},n.settings.characterReferences,{subset:["<","&"]}))}function QE(t,e,i,n){return n.settings.allowDangerousHtml?t.value:rO(t,e,i,n)}function _E(t,e,i,n){return n.all(t)}var AE=Va("type",{invalid:QW,unknown:_W,handlers:{comment:vE,doctype:wE,element:CE,raw:QE,root:_E,text:rO}});function QW(t){throw new Error("Expected node, not `"+t+"`")}function _W(t){let e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")}var AW={},$W={},XW=[];function g1(t,e){let i=e||AW,n=i.quote||'"',r=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:RW,all:LW,settings:{omitOptionalTags:i.omitOptionalTags||!1,allowParseErrors:i.allowParseErrors||!1,allowDangerousCharacters:i.allowDangerousCharacters||!1,quoteSmart:i.quoteSmart||!1,preferUnquoted:i.preferUnquoted||!1,tightAttributes:i.tightAttributes||!1,upperDoctype:i.upperDoctype||!1,tightDoctype:i.tightDoctype||!1,bogusComments:i.bogusComments||!1,tightCommaSeparatedLists:i.tightCommaSeparatedLists||!1,tightSelfClosing:i.tightSelfClosing||!1,collapseEmptyAttributes:i.collapseEmptyAttributes||!1,allowDangerousHtml:i.allowDangerousHtml||!1,voids:i.voids||Qd,characterReferences:i.characterReferences||$W,closeSelfClosing:i.closeSelfClosing||!1,closeEmptyElements:i.closeEmptyElements||!1},schema:i.space==="svg"?yn:Dr,quote:n,alternative:r}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}function RW(t,e,i){return AE(t,e,i,this)}function LW(t){let e=[],i=t&&t.children||XW,n=-1;for(;++n<i.length;)e[n]=this.one(i[n],n,t);return e.join("")}function oO(t){let e=this,i=Y(Y({},e.data("settings")),t);e.compiler=n;function n(r){return g1(r,i)}}var IW={inline:["$","$"],display:["$$","$$"]};function DW(t,e){e===void 0&&(e=IW);for(var i=t.querySelectorAll(".katex-mathml + .katex-html"),n=0;n<i.length;n++){var r=i[n];r.remove?r.remove():r.parentNode&&r.parentNode.removeChild(r)}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 $E(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 i=t.clipboardData,n=e.getRangeAt(0),r=$E(n.startContainer);r&&n.setStartBefore(r);var o=$E(n.endContainer);o&&n.setEndAfter(o);var s=n.cloneContents();if(s.querySelector(".katex-mathml")){var a=Array.prototype.map.call(s.childNodes,l=>l instanceof Text?l.textContent:l.outerHTML).join("");i.setData("text/html",a),i.setData("text/plain",DW(s).textContent),t.preventDefault()}}});function b1(t,e){let n=(e||{}).force||!1;yi(t,r);function r(o){n?delete o.position:o.position=void 0}}var zW=0,Wi=class{constructor(e,i){this.from=e,this.to=i}},_e=class{constructor(e={}){this.id=zW++,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=$t.match(e)),i=>{let n=e(i);return n===void 0?null:[this,n]}}};_e.closedBy=new _e({deserialize:t=>t.split(" ")});_e.openedBy=new _e({deserialize:t=>t.split(" ")});_e.group=new _e({deserialize:t=>t.split(" ")});_e.isolate=new _e({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});_e.contextHash=new _e({perNode:!0});_e.lookAhead=new _e({perNode:!0});_e.mounted=new _e({perNode:!0});var zs=class{constructor(e,i,n){this.tree=e,this.overlay=i,this.parser=n}static get(e){return e&&e.props&&e.props[_e.mounted.id]}},UW=Object.create(null),$t=class t{constructor(e,i,n,r=0){this.name=e,this.props=i,this.id=n,this.flags=r}static define(e){let i=e.props&&e.props.length?Object.create(null):UW,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new t(e.name||"",i,e.id,n);if(e.props){for(let o of e.props)if(Array.isArray(o)||(o=o(r)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[o[0].id]=o[1]}}return r}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 i=this.prop(_e.group);return i?i.indexOf(e)>-1:!1}return this.id==e}static match(e){let i=Object.create(null);for(let n in e)for(let r of n.split(" "))i[r]=e[n];return n=>{for(let r=n.prop(_e.group),o=-1;o<(r?r.length:0);o++){let s=i[o<0?n.name:r[o]];if(s)return s}}}};$t.none=new $t("",Object.create(null),0,8);var jr=class t{constructor(e){this.types=e;for(let i=0;i<e.length;i++)if(e[i].id!=i)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let i=[];for(let n of this.types){let r=null;for(let o of e){let s=o(n);s&&(r||(r=Object.assign({},n.props)),r[s[0].id]=s[1])}i.push(r?new $t(n.name,r,n.id,n.flags):n)}return new t(i)}},sO=new WeakMap,XE=new WeakMap,rt;(function(t){t[t.ExcludeBuffers=1]="ExcludeBuffers",t[t.IncludeAnonymous=2]="IncludeAnonymous",t[t.IgnoreMounts=4]="IgnoreMounts",t[t.IgnoreOverlays=8]="IgnoreOverlays"})(rt||(rt={}));var Ze=class t{constructor(e,i,n,r,o){if(this.type=e,this.children=i,this.positions=n,this.length=r,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=zs.get(this);if(e&&!e.overlay)return e.tree.toString();let i="";for(let n of this.children){let r=n.toString();r&&(i&&(i+=","),i+=r)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(i.length?"("+i+")":""):i}cursor(e=0){return new rl(this.topNode,e)}cursorAt(e,i=0,n=0){let r=sO.get(this)||this.topNode,o=new rl(r);return o.moveTo(e,i),sO.set(this,o._tree),o}get topNode(){return new Vi(this,0,0,null)}resolve(e,i=0){let n=bu(sO.get(this)||this.topNode,e,i,!1);return sO.set(this,n),n}resolveInner(e,i=0){let n=bu(XE.get(this)||this.topNode,e,i,!0);return XE.set(this,n),n}resolveStack(e,i=0){return MW(this,e,i)}iterate(e){let{enter:i,leave:n,from:r=0,to:o=this.length}=e,s=e.mode||0,a=(s&rt.IncludeAnonymous)>0;for(let l=this.cursor(s|rt.IncludeAnonymous);;){let c=!1;if(l.from<=o&&l.to>=r&&(!a&&l.type.isAnonymous||i(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&n&&(a||!l.type.isAnonymous)&&n(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 i in this.props)e.push([+i,this.props[i]]);return e}balance(e={}){return this.children.length<=8?this:Q1($t.none,this.children,this.positions,0,this.children.length,0,this.length,(i,n,r)=>new t(this.type,i,n,r,this.propValues),e.makeTree||((i,n,r)=>new t($t.none,i,n,r)))}static build(e){return NW(e)}};Ze.empty=new Ze($t.none,[],[],0);var y1=class t{constructor(e,i){this.buffer=e,this.index=i}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)}},jo=class t{constructor(e,i,n){this.buffer=e,this.length=i,this.set=n}get type(){return $t.none}toString(){let e=[];for(let i=0;i<this.buffer.length;)e.push(this.childString(i)),i=this.buffer[i+3];return e.join(",")}childString(e){let i=this.buffer[e],n=this.buffer[e+3],r=this.set.types[i],o=r.name;if(/\W/.test(o)&&!r.isError&&(o=JSON.stringify(o)),e+=4,n==e)return o;let s=[];for(;e<n;)s.push(this.childString(e)),e=this.buffer[e+3];return o+"("+s.join(",")+")"}findChild(e,i,n,r,o){let{buffer:s}=this,a=-1;for(let l=e;l!=i&&!(ME(o,r,s[l+1],s[l+2])&&(a=l,n>0));l=s[l+3]);return a}slice(e,i,n){let r=this.buffer,o=new Uint16Array(i-e),s=0;for(let a=e,l=0;a<i;){o[l++]=r[a++],o[l++]=r[a++]-n;let c=o[l++]=r[a++]-n;o[l++]=r[a++]-e,s=Math.max(s,c)}return new t(o,s,this.set)}};function ME(t,e,i,n){switch(t){case-2:return i<e;case-1:return n>=e&&i<e;case 0:return i<e&&n>e;case 1:return i<=e&&n>e;case 2:return n>e;case 4:return!0}}function bu(t,e,i,n){for(var r;t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to<e);){let s=!n&&t instanceof Vi&&t.index<0?null:t.parent;if(!s)return t;t=s}let o=n?0:rt.IgnoreOverlays;if(n)for(let s=t,a=s.parent;a;s=a,a=s.parent)s instanceof Vi&&s.index<0&&((r=a.enter(e,i,o))===null||r===void 0?void 0:r.from)!=s.from&&(t=a);for(;;){let s=t.enter(e,i,o);if(!s)return t;t=s}}var lO=class{cursor(e=0){return new rl(this,e)}getChild(e,i=null,n=null){let r=RE(this,e,i,n);return r.length?r[0]:null}getChildren(e,i=null,n=null){return RE(this,e,i,n)}resolve(e,i=0){return bu(this,e,i,!1)}resolveInner(e,i=0){return bu(this,e,i,!0)}matchContext(e){return x1(this.parent,e)}enterUnfinishedNodesBefore(e){let i=this.childBefore(e),n=this;for(;i;){let r=i.lastChild;if(!r||r.to!=i.to)break;r.type.isError&&r.from==r.to?(n=i,i=r.prevSibling):i=r}return n}get node(){return this}get next(){return this.parent}},Vi=class t extends lO{constructor(e,i,n,r){super(),this._tree=e,this.from=i,this.index=n,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,i,n,r,o=0){for(let s=this;;){for(let{children:a,positions:l}=s._tree,c=i>0?a.length:-1;e!=c;e+=i){let u=a[e],f=l[e]+s.from;if(ME(r,n,f,f+u.length)){if(u instanceof jo){if(o&rt.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,i,n-f,r);if(d>-1)return new Us(new v1(s,u,e,f),null,d)}else if(o&rt.IncludeAnonymous||!u.type.isAnonymous||C1(u)){let d;if(!(o&rt.IgnoreMounts)&&(d=zs.get(u))&&!d.overlay)return new t(d.tree,f,e,s);let O=new t(u,f,e,s);return o&rt.IncludeAnonymous||!O.type.isAnonymous?O:O.nextChild(i<0?u.children.length-1:0,i,n,r)}}}if(o&rt.IncludeAnonymous||!s.type.isAnonymous||(s.index>=0?e=s.index+i:e=i<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,i,n=0){let r;if(!(n&rt.IgnoreOverlays)&&(r=zs.get(this._tree))&&r.overlay){let o=e-this.from;for(let{from:s,to:a}of r.overlay)if((i>0?s<=o:s<o)&&(i<0?a>=o:a>o))return new t(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,i,n)}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 RE(t,e,i,n){let r=t.cursor(),o=[];if(!r.firstChild())return o;if(i!=null){for(let s=!1;!s;)if(s=r.type.is(i),!r.nextSibling())return o}for(;;){if(n!=null&&r.type.is(n))return o;if(r.type.is(e)&&o.push(r.node),!r.nextSibling())return n==null?o:[]}}function x1(t,e,i=e.length-1){for(let n=t;i>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[i]&&e[i]!=n.name)return!1;i--}}return!0}var v1=class{constructor(e,i,n,r){this.parent=e,this.buffer=i,this.index=n,this.start=r}},Us=class t extends lO{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,i,n){super(),this.context=e,this._parent=i,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,i,n){let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.context.start,n);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,i,n=0){if(n&rt.ExcludeBuffers)return null;let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],i>0?1:-1,e-this.context.start,i);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,i=e.buffer[this.index+3];return i<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new t(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new t(this.context,this._parent,e.findChild(i,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],i=[],{buffer:n}=this.context,r=this.index+4,o=n.buffer[this.index+3];if(o>r){let s=n.buffer[this.index+1];e.push(n.slice(r,o,s)),i.push(0)}return new Ze(this.type,e,i,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}};function NE(t){if(!t.length)return null;let e=0,i=t[0];for(let o=1;o<t.length;o++){let s=t[o];(s.from>i.from||s.to<i.to)&&(i=s,e=o)}let n=i instanceof Vi&&i.index<0?null:i.parent,r=t.slice();return n?r[e]=n:r.splice(e,1),new w1(r,i)}var w1=class{constructor(e,i){this.heads=e,this.node=i}get next(){return NE(this.heads)}};function MW(t,e,i){let n=t.resolveInner(e,i),r=null;for(let o=n instanceof Vi?n:n.context.parent;o;o=o.parent)if(o.index<0){let s=o.parent;(r||(r=[n])).push(s.resolve(e,i)),o=s}else{let s=zs.get(o.tree);if(s&&s.overlay&&s.overlay[0].from<=e&&s.overlay[s.overlay.length-1].to>=e){let a=new Vi(s.tree,s.overlay[0].from+o.from,-1,o);(r||(r=[n])).push(bu(a,e,i,!1))}}return r?NE(r):n}var rl=class{get name(){return this.type.name}constructor(e,i=0){if(this.mode=i,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Vi)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.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,i){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=i||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return e?e instanceof Vi?(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,i,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,i,n,this.mode));let{buffer:r}=this.buffer,o=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.buffer.start,n);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,i,n=this.mode){return this.buffer?n&rt.ExcludeBuffers?!1:this.enterChild(1,e,i):this.yield(this._tree.enter(e,i,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&rt.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&rt.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:i}=this.buffer,n=this.stack.length-1;if(e<0){let r=n<0?0:this.stack[n]+4;if(this.index!=r)return this.yieldBuf(i.findChild(r,this.index,-1,0,4))}else{let r=i.buffer[this.index+3];if(r<(n<0?i.buffer.length:i.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<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 i,n,{buffer:r}=this;if(r){if(e>0){if(this.index<r.buffer.buffer.length)return!1}else for(let o=0;o<this.index;o++)if(r.buffer.buffer[o+3]<this.index)return!1;({index:i,parent:n}=r)}else({index:i,_parent:n}=this._tree);for(;n;{index:i,_parent:n}=n)if(i>-1)for(let o=i+e,s=e<0?-1:n._tree.children.length;o!=s;o+=e){let a=n._tree.children[o];if(this.mode&rt.IncludeAnonymous||a instanceof jo||!a.type.isAnonymous||C1(a))return!1}return!0}move(e,i){if(i&&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,i=0){for(;(this.from==this.to||(i<1?this.from>=e:this.from>e)||(i>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,i););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,i=null,n=0;if(e&&e.context==this.buffer)e:for(let r=this.index,o=this.stack.length;o>=0;){for(let s=e;s;s=s._parent)if(s.index==r){if(r==this.index)return s;i=s,n=o+1;break e}r=this.stack[--o]}for(let r=n;r<this.stack.length;r++)i=new Us(this.buffer,i,this.stack[r]);return this.bufferNode=new Us(this.buffer,i,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,i){for(let n=0;;){let r=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;r&&i&&i(this),r=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return x1(this.node.parent,e);let{buffer:i}=this.buffer,{types:n}=i.set;for(let r=e.length-1,o=this.stack.length-1;r>=0;o--){if(o<0)return x1(this._tree,e,r);let s=n[i.buffer[this.stack[o]]];if(!s.isAnonymous){if(e[r]&&e[r]!=s.name)return!1;r--}}return!0}};function C1(t){return t.children.some(e=>e instanceof jo||!e.type.isAnonymous||C1(e))}function NW(t){var e;let{buffer:i,nodeSet:n,maxBufferLength:r=1024,reused:o=[],minRepeatType:s=n.types.length}=t,a=Array.isArray(i)?new y1(i,i.length):i,l=n.types,c=0,u=0;function f(D,P,N,le,H,M){let{id:ie,start:ne,end:re,size:de}=a,pe=u,ve=c;for(;de<0;)if(a.next(),de==-1){let W=o[ie];N.push(W),le.push(ne-D);return}else if(de==-3){c=ie;return}else if(de==-4){u=ie;return}else throw new RangeError(`Unrecognized record size: ${de}`);let j=l[ie],ue,Z,C=ne-D;if(re-ne<=r&&(Z=v(a.pos-P,H))){let W=new Uint16Array(Z.size-Z.skip),oe=a.pos-Z.size,I=W.length;for(;a.pos>oe;)I=w(Z.start,W,I);ue=new jo(W,re-Z.start,n),C=Z.start-D}else{let W=a.pos-de;a.next();let oe=[],I=[],Ne=ie>=s?ie:-1,We=0,Ve=re;for(;a.pos>W;)Ne>=0&&a.id==Ne&&a.size>=0?(a.end<=Ve-r&&(m(oe,I,ne,We,a.end,Ve,Ne,pe,ve),We=oe.length,Ve=a.end),a.next()):M>2500?d(ne,W,oe,I):f(ne,W,oe,I,Ne,M+1);if(Ne>=0&&We>0&&We<oe.length&&m(oe,I,ne,We,ne,Ve,Ne,pe,ve),oe.reverse(),I.reverse(),Ne>-1&&We>0){let Et=O(j,ve);ue=Q1(j,oe,I,0,oe.length,0,re-ne,Et,Et)}else ue=x(j,oe,I,re-ne,pe-re,ve)}N.push(ue),le.push(C)}function d(D,P,N,le){let H=[],M=0,ie=-1;for(;a.pos>P;){let{id:ne,start:re,end:de,size:pe}=a;if(pe>4)a.next();else{if(ie>-1&&re<ie)break;ie<0&&(ie=de-r),H.push(ne,re,de),M++,a.next()}}if(M){let ne=new Uint16Array(M*4),re=H[H.length-2];for(let de=H.length-3,pe=0;de>=0;de-=3)ne[pe++]=H[de],ne[pe++]=H[de+1]-re,ne[pe++]=H[de+2]-re,ne[pe++]=pe;N.push(new jo(ne,H[2]-re,n)),le.push(re-D)}}function O(D,P){return(N,le,H)=>{let M=0,ie=N.length-1,ne,re;if(ie>=0&&(ne=N[ie])instanceof Ze){if(!ie&&ne.type==D&&ne.length==H)return ne;(re=ne.prop(_e.lookAhead))&&(M=le[ie]+ne.length+re)}return x(D,N,le,H,M,P)}}function m(D,P,N,le,H,M,ie,ne,re){let de=[],pe=[];for(;D.length>le;)de.push(D.pop()),pe.push(P.pop()+N-H);D.push(x(n.types[ie],de,pe,M-H,ne-M,re)),P.push(H-N)}function x(D,P,N,le,H,M,ie){if(M){let ne=[_e.contextHash,M];ie=ie?[ne].concat(ie):[ne]}if(H>25){let ne=[_e.lookAhead,H];ie=ie?[ne].concat(ie):[ne]}return new Ze(D,P,N,le,ie)}function v(D,P){let N=a.fork(),le=0,H=0,M=0,ie=N.end-r,ne={size:0,start:0,skip:0};e:for(let re=N.pos-D;N.pos>re;){let de=N.size;if(N.id==P&&de>=0){ne.size=le,ne.start=H,ne.skip=M,M+=4,le+=4,N.next();continue}let pe=N.pos-de;if(de<0||pe<re||N.start<ie)break;let ve=N.id>=s?4:0,j=N.start;for(N.next();N.pos>pe;){if(N.size<0)if(N.size==-3)ve+=4;else break e;else N.id>=s&&(ve+=4);N.next()}H=j,le+=de,M+=ve}return(P<0||le==D)&&(ne.size=le,ne.start=H,ne.skip=M),ne.size>4?ne:void 0}function w(D,P,N){let{id:le,start:H,end:M,size:ie}=a;if(a.next(),ie>=0&&le<s){let ne=N;if(ie>4){let re=a.pos-(ie-4);for(;a.pos>re;)N=w(D,P,N)}P[--N]=ne,P[--N]=M-D,P[--N]=H-D,P[--N]=le}else ie==-3?c=le:ie==-4&&(u=le);return N}let T=[],A=[];for(;a.pos>0;)f(t.start||0,t.bufferStart||0,T,A,-1,0);let L=(e=t.length)!==null&&e!==void 0?e:T.length?A[0]+T[0].length:0;return new Ze(l[t.topID],T.reverse(),A.reverse(),L)}var LE=new WeakMap;function aO(t,e){if(!t.isAnonymous||e instanceof jo||e.type!=t)return 1;let i=LE.get(e);if(i==null){i=1;for(let n of e.children){if(n.type!=t||!(n instanceof Ze)){i=1;break}i+=aO(t,n)}LE.set(e,i)}return i}function Q1(t,e,i,n,r,o,s,a,l){let c=0;for(let m=n;m<r;m++)c+=aO(t,e[m]);let u=Math.ceil(c*1.5/8),f=[],d=[];function O(m,x,v,w,T){for(let A=v;A<w;){let L=A,D=x[A],P=aO(t,m[A]);for(A++;A<w;A++){let N=aO(t,m[A]);if(P+N>=u)break;P+=N}if(A==L+1){if(P>u){let N=m[L];O(N.children,N.positions,0,N.children.length,x[L]+T);continue}f.push(m[L])}else{let N=x[A-1]+m[A-1].length-D;f.push(Q1(t,m,x,L,A,D,N,null,l))}d.push(D+T-o)}}return O(e,i,n,r,0),(a||l)(f,d,s)}var Wo=class{constructor(){this.map=new WeakMap}setBuffer(e,i,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(i,n)}getBuffer(e,i){let n=this.map.get(e);return n&&n.get(i)}set(e,i){e instanceof Us?this.setBuffer(e.context.buffer,e.index,i):e instanceof Vi&&this.map.set(e.tree,i)}get(e){return e instanceof Us?this.getBuffer(e.context.buffer,e.index):e instanceof Vi?this.map.get(e.tree):void 0}cursorSet(e,i){e.buffer?this.setBuffer(e.buffer.buffer,e.index,i):this.map.set(e.tree,i)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},Wr=class t{constructor(e,i,n,r,o=!1,s=!1){this.from=e,this.to=i,this.tree=n,this.offset=r,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,i=[],n=!1){let r=[new t(0,e.length,e,0,!1,n)];for(let o of i)o.to>e.length&&r.push(o);return r}static applyChanges(e,i,n=128){if(!i.length)return e;let r=[],o=1,s=e.length?e[0]:null;for(let a=0,l=0,c=0;;a++){let u=a<i.length?i[a]:null,f=u?u.fromA:1e9;if(f-l>=n)for(;s&&s.from<f;){let d=s;if(l>=d.from||f<=d.to||c){let O=Math.max(d.from,l)-c,m=Math.min(d.to,f)-c;d=O>=m?null:new t(O,m,d.tree,d.offset+c,a>0,!!u)}if(d&&r.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 r}},Vr=class{startParse(e,i,n){return typeof e=="string"&&(e=new k1(e)),n=n?n.length?n.map(r=>new Wi(r.from,r.to)):[new Wi(0,0)]:[new Wi(0,e.length)],this.createParse(e,i||[],n)}parse(e,i,n){let r=this.startParse(e,i,n);for(;;){let o=r.advance();if(o)return o}}},k1=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,i){return this.string.slice(e,i)}};function yu(t){return(e,i,n,r)=>new E1(e,t,i,n,r)}var cO=class{constructor(e,i,n,r,o){this.parser=e,this.parse=i,this.overlay=n,this.target=r,this.from=o}};function IE(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}var S1=class{constructor(e,i,n,r,o,s,a){this.parser=e,this.predicate=i,this.mounts=n,this.index=r,this.start=o,this.target=s,this.prev=a,this.depth=0,this.ranges=[]}},T1=new _e({perNode:!0}),E1=class{constructor(e,i,n,r,o){this.nest=i,this.input=n,this.fragments=r,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new Ze(n.type,n.children,n.positions,n.length,n.propValues.concat([[T1,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],i=e.parse.advance();if(i){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[_e.mounted.id]=new zs(i,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let i=this.innerDone;i<this.inner.length;i++)this.inner[i].from<e&&(e=Math.min(e,this.inner[i].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let i=this.innerDone;i<this.inner.length;i++)this.inner[i].parse.stopAt(e)}startInner(){let e=new P1(this.fragments),i=null,n=null,r=new rl(new Vi(this.baseTree,this.ranges[0].from,0,null),rt.IncludeAnonymous|rt.IgnoreMounts);e:for(let o,s;;){let a=!0,l;if(this.stoppedAt!=null&&r.from>=this.stoppedAt)a=!1;else if(e.hasNode(r)){if(i){let c=i.mounts.find(u=>u.frag.from<=r.from&&u.frag.to>=r.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>=r.from&&d<=r.to&&!i.ranges.some(O=>O.from<d&&O.to>f)&&i.ranges.push({from:f,to:d})}}a=!1}else if(n&&(s=qW(n.ranges,r.from,r.to)))a=s!=2;else if(!r.type.isAnonymous&&(o=this.nest(r,this.input))&&(r.from<r.to||!o.overlay)){r.tree||jW(r);let c=e.findMounts(r.from,o.parser);if(typeof o.overlay=="function")i=new S1(o.parser,o.overlay,c,this.inner.length,r.from,r.tree,i);else{let u=zE(this.ranges,o.overlay||(r.from<r.to?[new Wi(r.from,r.to)]:[]));u.length&&IE(u),(u.length||!o.overlay)&&this.inner.push(new cO(o.parser,u.length?o.parser.startParse(this.input,UE(c,u),u):o.parser.startParse(""),o.overlay?o.overlay.map(f=>new Wi(f.from-r.from,f.to-r.from)):null,r.tree,u.length?u[0].from:r.from)),o.overlay?u.length&&(n={ranges:u,depth:0,prev:n}):a=!1}}else if(i&&(l=i.predicate(r))&&(l===!0&&(l=new Wi(r.from,r.to)),l.from<l.to)){let c=i.ranges.length-1;c>=0&&i.ranges[c].to==l.from?i.ranges[c]={from:i.ranges[c].from,to:l.to}:i.ranges.push(l)}if(a&&r.firstChild())i&&i.depth++,n&&n.depth++;else for(;!r.nextSibling();){if(!r.parent())break e;if(i&&!--i.depth){let c=zE(this.ranges,i.ranges);c.length&&(IE(c),this.inner.splice(i.index,0,new cO(i.parser,i.parser.startParse(this.input,UE(i.mounts,c),c),i.ranges.map(u=>new Wi(u.from-i.start,u.to-i.start)),i.target,c[0].from))),i=i.prev}n&&!--n.depth&&(n=n.prev)}}}};function qW(t,e,i){for(let n of t){if(n.from>=i)break;if(n.to>e)return n.from<=e&&n.to>=i?2:1}return 0}function DE(t,e,i,n,r,o){if(e<i){let s=t.buffer[e+1];n.push(t.slice(e,i,s)),r.push(s-o)}}function jW(t){let{node:e}=t,i=[],n=e.context.buffer;do i.push(t.index),t.parent();while(!t.tree);let r=t.tree,o=r.children.indexOf(n),s=r.children[o],a=s.buffer,l=[o];function c(u,f,d,O,m,x){let v=i[x],w=[],T=[];DE(s,u,v,w,T,O);let A=a[v+1],L=a[v+2];l.push(w.length);let D=x?c(v+4,a[v+3],s.set.types[a[v]],A,L-A,x-1):e.toTree();return w.push(D),T.push(A-O),DE(s,a[v+3],f,w,T,O),new Ze(d,w,T,m)}r.children[o]=c(0,a.length,$t.none,0,s.length,i.length-1);for(let u of l){let f=t.tree.children[u],d=t.tree.positions[u];t.yield(new Vi(f,d+t.from,u,t._tree))}}var uO=class{constructor(e,i){this.offset=i,this.done=!1,this.cursor=e.cursor(rt.IncludeAnonymous|rt.IgnoreMounts)}moveTo(e){let{cursor:i}=this,n=e-this.offset;for(;!this.done&&i.from<n;)i.to>=e&&i.enter(n,1,rt.IgnoreOverlays|rt.ExcludeBuffers)||i.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 i=this.cursor.tree;;){if(i==e.tree)return!0;if(i.children.length&&i.positions[0]==0&&i.children[0]instanceof Ze)i=i.children[0];else break}return!1}},P1=class{constructor(e){var i;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(i=n.tree.prop(T1))!==null&&i!==void 0?i:n.to,this.inner=new uO(n.tree,-n.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 i=this.curFrag=this.fragments[this.fragI];this.curTo=(e=i.tree.prop(T1))!==null&&e!==void 0?e:i.to,this.inner=new uO(i.tree,-i.offset)}}findMounts(e,i){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let o=this.inner.cursor.node;o;o=o.parent){let s=(n=o.tree)===null||n===void 0?void 0:n.prop(_e.mounted);if(s&&s.parser==i)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&&r.push({frag:l,pos:o.from-l.offset,mount:s})}}}return r}};function zE(t,e){let i=null,n=e;for(let r=1,o=0;r<t.length;r++){let s=t[r-1].to,a=t[r].from;for(;o<n.length;o++){let l=n[o];if(l.from>=a)break;l.to<=s||(i||(n=i=e.slice()),l.from<s?(i[o]=new Wi(l.from,s),l.to>a&&i.splice(o+1,0,new Wi(a,l.to))):l.to>a?i[o--]=new Wi(a,l.to):i.splice(o--,1))}}return n}function WW(t,e,i,n){let r=0,o=0,s=!1,a=!1,l=-1e9,c=[];for(;;){let u=r==t.length?1e9:s?t[r].to:t[r].from,f=o==e.length?1e9:a?e[o].to:e[o].from;if(s!=a){let d=Math.max(l,i),O=Math.min(u,f,n);d<O&&c.push(new Wi(d,O))}if(l=Math.min(u,f),l==1e9)break;u==l&&(s?(s=!1,r++):s=!0),f==l&&(a?(a=!1,o++):a=!0)}return c}function UE(t,e){let i=[];for(let{pos:n,mount:r,frag:o}of t){let s=n+(r.overlay?r.overlay[0].from:0),a=s+r.tree.length,l=Math.max(o.from,s),c=Math.min(o.to,a);if(r.overlay){let u=r.overlay.map(d=>new Wi(d.from+n,d.to+n)),f=WW(e,u,l,c);for(let d=0,O=l;;d++){let m=d==f.length,x=m?c:f[d].from;if(x>O&&i.push(new Wr(O,x,r.tree,-s,o.from>=O||o.openStart,o.to<=x||o.openEnd)),m)break;O=f[d].to}}else i.push(new Wr(l,c,r.tree,-s,o.from>=s||o.openStart,o.to<=a||o.openEnd))}return i}var A1=[],VE=[];(()=>{let t="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,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,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(e=>e?parseInt(e,36):1);for(let e=0,i=0;e<t.length;e++)(e%2?VE:A1).push(i=i+t[e])})();function VW(t){if(t<768)return!1;for(let e=0,i=A1.length;;){let n=e+i>>1;if(t<A1[n])i=n;else if(t>=VE[n])e=n+1;else return!0;if(e==i)return!1}}function qE(t){return t>=127462&&t<=127487}var jE=8205;function ZE(t,e,i=!0,n=!0){return(i?BE:ZW)(t,e,n)}function BE(t,e,i){if(e==t.length)return e;e&&YE(t.charCodeAt(e))&&FE(t.charCodeAt(e-1))&&e--;let n=_1(t,e);for(e+=WE(n);e<t.length;){let r=_1(t,e);if(n==jE||r==jE||i&&VW(r))e+=WE(r),n=r;else if(qE(r)){let o=0,s=e-2;for(;s>=0&&qE(_1(t,s));)o++,s-=2;if(o%2==0)break;e+=2}else break}return e}function ZW(t,e,i){for(;e>0;){let n=BE(t,e-2,i);if(n<e)return n;e--}return 0}function _1(t,e){let i=t.charCodeAt(e);if(!FE(i)||e+1==t.length)return i;let n=t.charCodeAt(e+1);return YE(n)?(i-55296<<10)+(n-56320)+65536:i}function YE(t){return t>=56320&&t<57344}function FE(t){return t>=55296&&t<56320}function WE(t){return t<65536?1:2}var Fe=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,i,n){[e,i]=cl(this,e,i);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(i,this.length,r,1),sl.from(r,this.length-(i-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,i=this.length){[e,i]=cl(this,e,i);let n=[];return this.decompose(e,i,n,0),sl.from(n,i-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let i=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new qs(this),o=new qs(e);for(let s=i,a=i;;){if(r.next(s),o.next(s),s=0,r.lineBreak!=o.lineBreak||r.done!=o.done||r.value!=o.value)return!1;if(a+=r.value.length,r.done||a>=n)return!0}}iter(e=1){return new qs(this,e)}iterRange(e,i=this.length){return new pO(this,e,i)}iterLines(e,i){let n;if(e==null)n=this.iter();else{i==null&&(i=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,i==this.lines+1?this.length:i<=1?0:this.line(i-1).to))}return new mO(n)}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 tn(e):sl.from(tn.split(e,[]))}},tn=class t extends Fe{constructor(e,i=BW(e)){super(),this.text=e,this.length=i}get lines(){return this.text.length}get children(){return null}lineInner(e,i,n,r){for(let o=0;;o++){let s=this.text[o],a=r+s.length;if((i?n:a)>=e)return new X1(r,a,n,s);r=a+1,n++}}decompose(e,i,n,r){let o=e<=0&&i>=this.length?this:new t(HE(this.text,e,i),Math.min(i,this.length)-Math.max(0,e));if(r&1){let s=n.pop(),a=OO(o.text,s.text.slice(),0,o.length);if(a.length<=32)n.push(new t(a,s.length+o.length));else{let l=a.length>>1;n.push(new t(a.slice(0,l)),new t(a.slice(l)))}}else n.push(o)}replace(e,i,n){if(!(n instanceof t))return super.replace(e,i,n);[e,i]=cl(this,e,i);let r=OO(this.text,OO(n.text,HE(this.text,0,e)),i),o=this.length+n.length-(i-e);return r.length<=32?new t(r,o):sl.from(t.split(r,[]),o)}sliceString(e,i=this.length,n=`
`){[e,i]=cl(this,e,i);let r="";for(let o=0,s=0;o<=i&&s<this.text.length;s++){let a=this.text[s],l=o+a.length;o>e&&s&&(r+=n),e<l&&i>o&&(r+=a.slice(Math.max(0,e-o),i-o)),o=l+1}return r}flatten(e){for(let i of this.text)e.push(i)}scanIdentical(){return 0}static split(e,i){let n=[],r=-1;for(let o of e)n.push(o),r+=o.length+1,n.length==32&&(i.push(new t(n,r)),n=[],r=-1);return r>-1&&i.push(new t(n,r)),i}},sl=class t extends Fe{constructor(e,i){super(),this.children=e,this.length=i,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,i,n,r){for(let o=0;;o++){let s=this.children[o],a=r+s.length,l=n+s.lines-1;if((i?l:a)>=e)return s.lineInner(e,i,n,r);r=a+1,n=l+1}}decompose(e,i,n,r){for(let o=0,s=0;s<=i&&o<this.children.length;o++){let a=this.children[o],l=s+a.length;if(e<=l&&i>=s){let c=r&((s<=e?1:0)|(l>=i?2:0));s>=e&&l<=i&&!c?n.push(a):a.decompose(e-s,i-s,n,c)}s=l+1}}replace(e,i,n){if([e,i]=cl(this,e,i),n.lines<this.lines)for(let r=0,o=0;r<this.children.length;r++){let s=this.children[r],a=o+s.length;if(e>=o&&i<=a){let l=s.replace(e-o,i-o,n),c=this.lines-s.lines+l.lines;if(l.lines<c>>4&&l.lines>c>>6){let u=this.children.slice();return u[r]=l,new t(u,this.length-(i-e)+n.length)}return super.replace(o,a,l)}o=a+1}return super.replace(e,i,n)}sliceString(e,i=this.length,n=`
`){[e,i]=cl(this,e,i);let r="";for(let o=0,s=0;o<this.children.length&&s<=i;o++){let a=this.children[o],l=s+a.length;s>e&&o&&(r+=n),e<l&&i>s&&(r+=a.sliceString(e-s,i-s,n)),s=l+1}return r}flatten(e){for(let i of this.children)i.flatten(e)}scanIdentical(e,i){if(!(e instanceof t))return 0;let n=0,[r,o,s,a]=i>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=i,o+=i){if(r==s||o==a)return n;let l=this.children[r],c=e.children[o];if(l!=c)return n+l.scanIdentical(c,i);n+=l.length+1}}static from(e,i=e.reduce((n,r)=>n+r.length+1,-1)){let n=0;for(let O of e)n+=O.lines;if(n<32){let O=[];for(let m of e)m.flatten(O);return new tn(O,i)}let r=Math.max(32,n>>5),o=r<<1,s=r>>1,a=[],l=0,c=-1,u=[];function f(O){let m;if(O.lines>o&&O instanceof t)for(let x of O.children)f(x);else O.lines>s&&(l>s||!l)?(d(),a.push(O)):O instanceof tn&&l&&(m=u[u.length-1])instanceof tn&&O.lines+m.lines<=32?(l+=O.lines,c+=O.length+1,u[u.length-1]=new tn(m.text.concat(O.text),m.length+1+O.length)):(l+O.lines>r&&d(),l+=O.lines,c+=O.length+1,u.push(O))}function d(){l!=0&&(a.push(u.length==1?u[0]:t.from(u,c)),c=-1,l=u.length=0)}for(let O of e)f(O);return d(),a.length==1?a[0]:new t(a,i)}};Fe.empty=new tn([""],0);function BW(t){let e=-1;for(let i of t)e+=i.length+1;return e}function OO(t,e,i=0,n=1e9){for(let r=0,o=0,s=!0;o<t.length&&r<=n;o++){let a=t[o],l=r+a.length;l>=i&&(l>n&&(a=a.slice(0,n-r)),r<i&&(a=a.slice(i-r)),s?(e[e.length-1]+=a,s=!1):e.push(a)),r=l+1}return e}function HE(t,e,i){return OO(t,[""],e,i)}var qs=class{constructor(e,i=1){this.dir=i,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[i>0?1:(e instanceof tn?e.text.length:e.children.length)<<1]}nextInner(e,i){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],o=this.offsets[n],s=o>>1,a=r instanceof tn?r.text.length:r.children.length;if(s==(i>0?a:0)){if(n==0)return this.done=!0,this.value="",this;i>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((o&1)==(i>0?0:1)){if(this.offsets[n]+=i,e==0)return this.lineBreak=!0,this.value=`
`,this;e--}else if(r instanceof tn){let l=r.text[s+(i<0?-1:0)];if(this.offsets[n]+=i,l.length>Math.max(0,e))return this.value=e==0?l:i>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=r.children[s+(i<0?-1:0)];e>l.length?(e-=l.length,this.offsets[n]+=i):(i<0&&this.offsets[n]--,this.nodes.push(l),this.offsets.push(i>0?1:(l instanceof tn?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)}},pO=class{constructor(e,i,n){this.value="",this.done=!1,this.cursor=new qs(e,i>n?-1:1),this.pos=i>n?e.length:0,this.from=Math.min(i,n),this.to=Math.max(i,n)}nextInner(e,i){if(i<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,i<0?this.pos-this.to:this.from-this.pos);let n=i<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*i,this.value=r.length<=n?r:i<0?r.slice(r.length-n):r.slice(0,n),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!=""}},mO=class{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:i,lineBreak:n,value:r}=this.inner.next(e);return i&&this.afterBreak?(this.value="",this.afterBreak=!1):i?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}};typeof Symbol!="undefined"&&(Fe.prototype[Symbol.iterator]=function(){return this.iter()},qs.prototype[Symbol.iterator]=pO.prototype[Symbol.iterator]=mO.prototype[Symbol.iterator]=function(){return this});var X1=class{constructor(e,i,n,r){this.from=e,this.to=i,this.number=n,this.text=r}get length(){return this.to-this.from}};function cl(t,e,i){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,i))]}function Bt(t,e,i=!0,n=!0){return ZE(t,e,i,n)}function YW(t){return t>=56320&&t<57344}function FW(t){return t>=55296&&t<56320}function ci(t,e){let i=t.charCodeAt(e);if(!FW(i)||e+1==t.length)return i;let n=t.charCodeAt(e+1);return YW(n)?(i-55296<<10)+(n-56320)+65536:i}function Tu(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function nn(t){return t<65536?1:2}var R1=/\r\n?|\n/,Ct=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(Ct||(Ct={})),Zr=class t{constructor(e){this.sections=e}get length(){let e=0;for(let i=0;i<this.sections.length;i+=2)e+=this.sections[i];return e}get newLength(){let e=0;for(let i=0;i<this.sections.length;i+=2){let n=this.sections[i+1];e+=n<0?this.sections[i]:n}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let i=0,n=0,r=0;i<this.sections.length;){let o=this.sections[i++],s=this.sections[i++];s<0?(e(n,r,o),r+=o):r+=s,n+=o}}iterChangedRanges(e,i=!1){L1(this,e,i)}get invertedDesc(){let e=[];for(let i=0;i<this.sections.length;){let n=this.sections[i++],r=this.sections[i++];r<0?e.push(n,r):e.push(r,n)}return new t(e)}composeDesc(e){return this.empty?e:e.empty?this:tP(this,e)}mapDesc(e,i=!1){return e.empty?this:I1(this,e,i)}mapPos(e,i=-1,n=Ct.Simple){let r=0,o=0;for(let s=0;s<this.sections.length;){let a=this.sections[s++],l=this.sections[s++],c=r+a;if(l<0){if(c>e)return o+(e-r);o+=a}else{if(n!=Ct.Simple&&c>=e&&(n==Ct.TrackDel&&r<e&&c>e||n==Ct.TrackBefore&&r<e||n==Ct.TrackAfter&&c>e))return null;if(c>e||c==e&&i<0&&!a)return e==r||i<0?o:o+l;o+=l}r=c}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return o}touchesRange(e,i=e){for(let n=0,r=0;n<this.sections.length&&r<=i;){let o=this.sections[n++],s=this.sections[n++],a=r+o;if(s>=0&&r<=i&&a>=e)return r<e&&a>i?"cover":!0;r=a}return!1}toString(){let e="";for(let i=0;i<this.sections.length;){let n=this.sections[i++],r=this.sections[i++];e+=(e?" ":"")+n+(r>=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(i=>typeof i!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new t(e)}static create(e){return new t(e)}},Ai=class t extends Zr{constructor(e,i){super(e),this.inserted=i}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return L1(this,(i,n,r,o,s)=>e=e.replace(r,r+(n-i),s),!1),e}mapDesc(e,i=!1){return I1(this,e,i,!0)}invert(e){let i=this.sections.slice(),n=[];for(let r=0,o=0;r<i.length;r+=2){let s=i[r],a=i[r+1];if(a>=0){i[r]=a,i[r+1]=s;let l=r>>1;for(;n.length<l;)n.push(Fe.empty);n.push(s?e.slice(o,o+s):Fe.empty)}o+=s}return new t(i,n)}compose(e){return this.empty?e:e.empty?this:tP(this,e,!0)}map(e,i=!1){return e.empty?this:I1(this,e,i,!0)}iterChanges(e,i=!1){L1(this,e,i)}get desc(){return Zr.create(this.sections)}filter(e){let i=[],n=[],r=[],o=new js(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);wi(r,u,-1);let f=o.ins==-1?-1:o.off==0?o.ins:0;wi(i,u,f),f>0&&Vo(n,i,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);wi(i,u,-1),wi(r,u,o.ins==-1?-1:o.off==0?o.ins:0),o.forward(u),a+=u}}return{changes:new t(i,n),filtered:Zr.create(r)}}toJSON(){let e=[];for(let i=0;i<this.sections.length;i+=2){let n=this.sections[i],r=this.sections[i+1];r<0?e.push(n):r==0?e.push([n]):e.push([n].concat(this.inserted[i>>1].toJSON()))}return e}static of(e,i,n){let r=[],o=[],s=0,a=null;function l(u=!1){if(!u&&!r.length)return;s<i&&wi(r,i-s,-1);let f=new t(r,o);a=a?a.compose(f.map(a)):f,r=[],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!=i)throw new RangeError(`Mismatched change set length (got ${u.length}, expected ${i})`);l(),a=a?a.compose(u.map(a)):u}else{let{from:f,to:d=f,insert:O}=u;if(f>d||f<0||d>i)throw new RangeError(`Invalid change range ${f} to ${d} (in doc of length ${i})`);let m=O?typeof O=="string"?Fe.of(O.split(n||R1)):O:Fe.empty,x=m.length;if(f==d&&x==0)return;f<s&&l(),f>s&&wi(r,f-s,-1),wi(r,d-f,x),Vo(o,r,m),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 i=[],n=[];for(let r=0;r<e.length;r++){let o=e[r];if(typeof o=="number")i.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)i.push(o[0],0);else{for(;n.length<r;)n.push(Fe.empty);n[r]=Fe.of(o.slice(1)),i.push(o[0],n[r].length)}}}return new t(i,n)}static createSet(e,i){return new t(e,i)}};function wi(t,e,i,n=!1){if(e==0&&i<=0)return;let r=t.length-2;r>=0&&i<=0&&i==t[r+1]?t[r]+=e:r>=0&&e==0&&t[r]==0?t[r+1]+=i:n?(t[r]+=e,t[r+1]+=i):t.push(e,i)}function Vo(t,e,i){if(i.length==0)return;let n=e.length-2>>1;if(n<t.length)t[t.length-1]=t[t.length-1].append(i);else{for(;t.length<n;)t.push(Fe.empty);t.push(i)}}function L1(t,e,i){let n=t.inserted;for(let r=0,o=0,s=0;s<t.sections.length;){let a=t.sections[s++],l=t.sections[s++];if(l<0)r+=a,o+=a;else{let c=r,u=o,f=Fe.empty;for(;c+=a,u+=l,l&&n&&(f=f.append(n[s-2>>1])),!(i||s==t.sections.length||t.sections[s+1]<0);)a=t.sections[s++],l=t.sections[s++];e(r,c,o,u,f),r=c,o=u}}}function I1(t,e,i,n=!1){let r=[],o=n?[]:null,s=new js(t),a=new js(e);for(let l=-1;;){if(s.done&&a.len||a.done&&s.len)throw new Error("Mismatched change set lengths");if(s.ins==-1&&a.ins==-1){let c=Math.min(s.len,a.len);wi(r,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&&!i))){let c=a.len;for(wi(r,a.ins,-1);c;){let u=Math.min(s.len,c);s.ins>=0&&l<s.i&&s.len<=u&&(wi(r,0,s.ins),o&&Vo(o,r,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;wi(r,c,l<s.i?s.ins:0),o&&l<s.i&&Vo(o,r,s.text),l=s.i,s.forward(s.len-u)}else{if(s.done&&a.done)return o?Ai.createSet(r,o):Zr.create(r);throw new Error("Mismatched change set lengths")}}}function tP(t,e,i=!1){let n=[],r=i?[]:null,o=new js(t),s=new js(e);for(let a=!1;;){if(o.done&&s.done)return r?Ai.createSet(n,r):Zr.create(n);if(o.ins==0)wi(n,o.len,0,a),o.next();else if(s.len==0&&!s.done)wi(n,0,s.ins,a),r&&Vo(r,n,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=n.length;if(o.ins==-1){let u=s.ins==-1?-1:s.off?0:s.ins;wi(n,l,u,a),r&&u&&Vo(r,n,s.text)}else s.ins==-1?(wi(n,o.off?0:o.len,l,a),r&&Vo(r,n,o.textBit(l))):(wi(n,o.off?0:o.len,s.off?0:s.ins,a),r&&!s.off&&Vo(r,n,s.text));a=(o.ins>l||s.ins>=0&&s.len>l)&&(a||n.length>c),o.forward2(l),s.forward(l)}}}}var js=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,i=this.i-2>>1;return i>=e.length?Fe.empty:e[i]}textBit(e){let{inserted:i}=this.set,n=this.i-2>>1;return n>=i.length&&!e?Fe.empty:i[n].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)}},ol=class t{constructor(e,i,n){this.from=e,this.to=i,this.flags=n}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,i=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,i):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new t(n,r,this.flags)}extend(e,i=e){if(e<=this.anchor&&i>=this.anchor)return K.range(e,i);let n=Math.abs(e-this.anchor)>Math.abs(i-this.anchor)?e:i;return K.range(this.anchor,n)}eq(e,i=!1){return this.anchor==e.anchor&&this.head==e.head&&(!i||!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 K.range(e.anchor,e.head)}static create(e,i,n){return new t(e,i,n)}},K=class t{constructor(e,i){this.ranges=e,this.mainIndex=i}map(e,i=-1){return e.empty?this:t.create(this.ranges.map(n=>n.map(e,i)),this.mainIndex)}eq(e,i=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],i))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,i=!0){return t.create([e].concat(this.ranges),i?0:this.mainIndex+1)}replaceRange(e,i=this.mainIndex){let n=this.ranges.slice();return n[i]=e,t.create(n,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(i=>ol.fromJSON(i)),e.main)}static single(e,i=e){return new t([t.range(e,i)],0)}static create(e,i=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,r=0;r<e.length;r++){let o=e[r];if(o.empty?o.from<=n:o.from<n)return t.normalized(e.slice(),i);n=o.to}return new t(e,i)}static cursor(e,i=0,n,r){return ol.create(e,e,(i==0?0:i<0?8:16)|(n==null?7:Math.min(6,n))|(r!=null?r:16777215)<<6)}static range(e,i,n,r){let o=(n!=null?n:16777215)<<6|(r==null?7:Math.min(6,r));return i<e?ol.create(i,e,48|o):ol.create(e,i,(i>e?8:0)|o)}static normalized(e,i=0){let n=e[i];e.sort((r,o)=>r.from-o.from),i=e.indexOf(n);for(let r=1;r<e.length;r++){let o=e[r],s=e[r-1];if(o.empty?o.from<=s.to:o.from<s.to){let a=s.from,l=Math.max(o.to,s.to);r<=i&&i--,e.splice(--r,2,o.anchor>o.head?t.range(l,a):t.range(a,l))}}return new t(e,i)}};function iP(t,e){for(let i of t.ranges)if(i.to>e)throw new RangeError("Selection points outside of document")}var Z1=0,be=class t{constructor(e,i,n,r,o){this.combine=e,this.compareInput=i,this.compare=n,this.isStatic=r,this.id=Z1++,this.default=e([]),this.extensions=typeof o=="function"?o(this):o}get reader(){return this}static define(e={}){return new t(e.combine||(i=>i),e.compareInput||((i,n)=>i===n),e.compare||(e.combine?(i,n)=>i===n:B1),!!e.static,e.enables)}of(e){return new al([],this,0,e)}compute(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new al(e,this,1,i)}computeN(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new al(e,this,2,i)}from(e,i){return i||(i=n=>n),this.compute([e],n=>i(n.field(e)))}};function B1(t,e){return t==e||t.length==e.length&&t.every((i,n)=>i===e[n])}var al=class{constructor(e,i,n,r){this.dependencies=e,this.facet=i,this.type=n,this.value=r,this.id=Z1++}dynamicSlot(e){var i;let n=this.value,r=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:((i=e[f.id])!==null&&i!==void 0?i:1)&1||u.push(e[f.id]);return{create(f){return f.values[s]=n(f),1},update(f,d){if(l&&d.docChanged||c&&(d.docChanged||d.selection)||D1(f,u)){let O=n(f);if(a?!GE(O,f.values[s],r):!r(O,f.values[s]))return f.values[s]=O,1}return 0},reconfigure:(f,d)=>{let O,m=d.config.address[o];if(m!=null){let x=yO(d,m);if(this.dependencies.every(v=>v instanceof be?d.facet(v)===f.facet(v):v instanceof Ge?d.field(v,!1)==f.field(v,!1):!0)||(a?GE(O=n(f),x,r):r(O=n(f),x)))return f.values[s]=x,0}else O=n(f);return f.values[s]=O,1}}}};function GE(t,e,i){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!i(t[n],e[n]))return!1;return!0}function D1(t,e){let i=!1;for(let n of e)vu(t,n)&1&&(i=!0);return i}function HW(t,e,i){let n=i.map(l=>t[l.id]),r=i.map(l=>l.type),o=n.filter(l=>!(l&1)),s=t[e.id]>>1;function a(l){let c=[];for(let u=0;u<n.length;u++){let f=yO(l,n[u]);if(r[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 n)vu(l,c);return l.values[s]=a(l),1},update(l,c){if(!D1(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=D1(l,n),f=c.config.facets[e.id],d=c.facet(e);if(f&&!u&&B1(i,f))return l.values[s]=d,0;let O=a(l);return e.compare(O,d)?(l.values[s]=d,0):(l.values[s]=O,1)}}}var fO=be.define({static:!0}),Ge=class t{constructor(e,i,n,r,o){this.id=e,this.createF=i,this.updateF=n,this.compareF=r,this.spec=o,this.provides=void 0}static define(e){let i=new t(Z1++,e.create,e.update,e.compare||((n,r)=>n===r),e);return e.provide&&(i.provides=e.provide(i)),i}create(e){let i=e.facet(fO).find(n=>n.field==this);return((i==null?void 0:i.create)||this.createF)(e)}slot(e){let i=e[this.id]>>1;return{create:n=>(n.values[i]=this.create(n),1),update:(n,r)=>{let o=n.values[i],s=this.updateF(o,r);return this.compareF(o,s)?0:(n.values[i]=s,1)},reconfigure:(n,r)=>{let o=n.facet(fO),s=r.facet(fO),a;return(a=o.find(l=>l.field==this))&&a!=s.find(l=>l.field==this)?(n.values[i]=a.create(n),1):r.config.address[this.id]!=null?(n.values[i]=r.field(this),0):(n.values[i]=this.create(n),1)}}}init(e){return[this,fO.of({field:this,create:e})]}get extension(){return this}},Ms={lowest:4,low:3,default:2,high:1,highest:0};function xu(t){return e=>new gO(e,t)}var Dt={highest:xu(Ms.highest),high:xu(Ms.high),default:xu(Ms.default),low:xu(Ms.low),lowest:xu(Ms.lowest)},gO=class{constructor(e,i){this.inner=e,this.prec=i}},ul=class t{of(e){return new wu(this,e)}reconfigure(e){return t.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}},wu=class{constructor(e,i){this.compartment=e,this.inner=i}},bO=class t{constructor(e,i,n,r,o,s){for(this.base=e,this.compartments=i,this.dynamicSlots=n,this.address=r,this.staticValues=o,this.facets=s,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let i=this.address[e.id];return i==null?e.default:this.staticValues[i>>1]}static resolve(e,i,n){let r=[],o=Object.create(null),s=new Map;for(let d of GW(e,i,s))d instanceof Ge?r.push(d):(o[d.facet.id]||(o[d.facet.id]=[])).push(d);let a=Object.create(null),l=[],c=[];for(let d of r)a[d.id]=c.length<<1,c.push(O=>d.slot(O));let u=n==null?void 0:n.config.facets;for(let d in o){let O=o[d],m=O[0].facet,x=u&&u[d]||[];if(O.every(v=>v.type==0))if(a[m.id]=l.length<<1|1,B1(x,O))l.push(n.facet(m));else{let v=m.combine(O.map(w=>w.value));l.push(n&&m.compare(v,n.facet(m))?n.facet(m):v)}else{for(let v of O)v.type==0?(a[v.id]=l.length<<1|1,l.push(v.value)):(a[v.id]=c.length<<1,c.push(w=>v.dynamicSlot(w)));a[m.id]=c.length<<1,c.push(v=>HW(v,m,O))}}let f=c.map(d=>d(a));return new t(e,s,f,a,l,o)}};function GW(t,e,i){let n=[[],[],[],[],[]],r=new Map;function o(s,a){let l=r.get(s);if(l!=null){if(l<=a)return;let c=n[l].indexOf(s);c>-1&&n[l].splice(c,1),s instanceof wu&&i.delete(s.compartment)}if(r.set(s,a),Array.isArray(s))for(let c of s)o(c,a);else if(s instanceof wu){if(i.has(s.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(s.compartment)||s.inner;i.set(s.compartment,c),o(c,a)}else if(s instanceof gO)o(s.inner,s.prec);else if(s instanceof Ge)n[a].push(s),s.provides&&o(s.provides,a);else if(s instanceof al)n[a].push(s),s.facet.extensions&&o(s.facet.extensions,Ms.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,Ms.default),n.reduce((s,a)=>s.concat(a))}function vu(t,e){if(e&1)return 2;let i=e>>1,n=t.status[i];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;t.status[i]=4;let r=t.computeSlot(t,t.config.dynamicSlots[i]);return t.status[i]=2|r}function yO(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}var nP=be.define(),z1=be.define({combine:t=>t.some(e=>e),static:!0}),rP=be.define({combine:t=>t.length?t[0]:void 0,static:!0}),oP=be.define(),sP=be.define(),aP=be.define(),lP=be.define({combine:t=>t.length?t[0]:!1}),ki=class{constructor(e,i){this.type=e,this.value=i}static define(){return new U1}},U1=class{of(e){return new ki(this,e)}},M1=class{constructor(e){this.map=e}of(e){return new Se(this,e)}},Se=class t{constructor(e,i){this.type=e,this.value=i}map(e){let i=this.type.map(this.value,e);return i===void 0?void 0:i==this.value?this:new t(this.type,i)}is(e){return this.type==e}static define(e={}){return new M1(e.map||(i=>i))}static mapEffects(e,i){if(!e.length)return e;let n=[];for(let r of e){let o=r.map(i);o&&n.push(o)}return n}};Se.reconfigure=Se.define();Se.appendConfig=Se.define();var Xt=class t{constructor(e,i,n,r,o,s){this.startState=e,this.changes=i,this.selection=n,this.effects=r,this.annotations=o,this.scrollIntoView=s,this._doc=null,this._state=null,n&&iP(n,i.newLength),o.some(a=>a.type==t.time)||(this.annotations=o.concat(t.time.of(Date.now())))}static create(e,i,n,r,o,s){return new t(e,i,n,r,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 i of this.annotations)if(i.type==e)return i.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let i=this.annotation(t.userEvent);return!!(i&&(i==e||i.length>e.length&&i.slice(0,e.length)==e&&i[e.length]=="."))}};Xt.time=ki.define();Xt.userEvent=ki.define();Xt.addToHistory=ki.define();Xt.remote=ki.define();function KW(t,e){let i=[];for(let n=0,r=0;;){let o,s;if(n<t.length&&(r==e.length||e[r]>=t[n]))o=t[n++],s=t[n++];else if(r<e.length)o=e[r++],s=e[r++];else return i;!i.length||i[i.length-1]<o?i.push(o,s):i[i.length-1]<s&&(i[i.length-1]=s)}}function cP(t,e,i){var n;let r,o,s;return i?(r=e.changes,o=Ai.empty(e.changes.length),s=t.changes.compose(e.changes)):(r=e.changes.map(t.changes),o=t.changes.mapDesc(e.changes,!0),s=t.changes.compose(r)),{changes:s,selection:e.selection?e.selection.map(o):(n=t.selection)===null||n===void 0?void 0:n.map(r),effects:Se.mapEffects(t.effects,r).concat(Se.mapEffects(e.effects,o)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function N1(t,e,i){let n=e.selection,r=ll(e.annotations);return e.userEvent&&(r=r.concat(Xt.userEvent.of(e.userEvent))),{changes:e.changes instanceof Ai?e.changes:Ai.of(e.changes||[],i,t.facet(rP)),selection:n&&(n instanceof K?n:K.single(n.anchor,n.head)),effects:ll(e.effects),annotations:r,scrollIntoView:!!e.scrollIntoView}}function uP(t,e,i){let n=N1(t,e.length?e[0]:{},t.doc.length);e.length&&e[0].filter===!1&&(i=!1);for(let o=1;o<e.length;o++){e[o].filter===!1&&(i=!1);let s=!!e[o].sequential;n=cP(n,N1(t,e[o],s?n.changes.newLength:t.doc.length),s)}let r=Xt.create(t,n.changes,n.selection,n.effects,n.annotations,n.scrollIntoView);return eV(i?JW(r):r)}function JW(t){let e=t.startState,i=!0;for(let r of e.facet(oP)){let o=r(t);if(o===!1){i=!1;break}Array.isArray(o)&&(i=i===!0?o:KW(i,o))}if(i!==!0){let r,o;if(i===!1)o=t.changes.invertedDesc,r=Ai.empty(e.doc.length);else{let s=t.changes.filter(i);r=s.changes,o=s.filtered.mapDesc(s.changes).invertedDesc}t=Xt.create(e,r,t.selection&&t.selection.map(o),Se.mapEffects(t.effects,o),t.annotations,t.scrollIntoView)}let n=e.facet(sP);for(let r=n.length-1;r>=0;r--){let o=n[r](t);o instanceof Xt?t=o:Array.isArray(o)&&o.length==1&&o[0]instanceof Xt?t=o[0]:t=uP(e,ll(o),!1)}return t}function eV(t){let e=t.startState,i=e.facet(aP),n=t;for(let r=i.length-1;r>=0;r--){let o=i[r](t);o&&Object.keys(o).length&&(n=cP(n,N1(e,o,t.changes.newLength),!0))}return n==t?t:Xt.create(e,t.changes,t.selection,n.effects,n.annotations,n.scrollIntoView)}var tV=[];function ll(t){return t==null?tV:Array.isArray(t)?t:[t]}var pt=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(pt||(pt={})),iV=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,q1;try{q1=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(t){}function nV(t){if(q1)return q1.test(t);for(let e=0;e<t.length;e++){let i=t[e];if(/\w/.test(i)||i>"\x80"&&(i.toUpperCase()!=i.toLowerCase()||iV.test(i)))return!0}return!1}function rV(t){return e=>{if(!/\S/.test(e))return pt.Space;if(nV(e))return pt.Word;for(let i=0;i<t.length;i++)if(e.indexOf(t[i])>-1)return pt.Word;return pt.Other}}var ot=class t{constructor(e,i,n,r,o,s){this.config=e,this.doc=i,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=o,s&&(s._state=this);for(let a=0;a<this.config.dynamicSlots.length;a++)vu(this,a<<1);this.computeSlot=null}field(e,i=!0){let n=this.config.address[e.id];if(n==null){if(i)throw new RangeError("Field is not present in this state");return}return vu(this,n),yO(this,n)}update(...e){return uP(this,e,!0)}applyTransaction(e){let i=this.config,{base:n,compartments:r}=i;for(let a of e.effects)a.is(ul.reconfigure)?(i&&(r=new Map,i.compartments.forEach((l,c)=>r.set(c,l)),i=null),r.set(a.value.compartment,a.value.extension)):a.is(Se.reconfigure)?(i=null,n=a.value):a.is(Se.appendConfig)&&(i=null,n=ll(n).concat(a.value));let o;i?o=e.startState.values.slice():(i=bO.resolve(n,r,this),o=new t(i,this.doc,this.selection,i.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let s=e.startState.facet(z1)?e.newSelection:e.newSelection.asSingle();new t(i,e.newDoc,s,o,(a,l)=>l.update(a,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:e},range:K.cursor(i.from+e.length)}))}changeByRange(e){let i=this.selection,n=e(i.ranges[0]),r=this.changes(n.changes),o=[n.range],s=ll(n.effects);for(let a=1;a<i.ranges.length;a++){let l=e(i.ranges[a]),c=this.changes(l.changes),u=c.map(r);for(let d=0;d<a;d++)o[d]=o[d].map(u);let f=r.mapDesc(c,!0);o.push(l.range.map(f)),r=r.compose(u),s=Se.mapEffects(s,u).concat(Se.mapEffects(ll(l.effects),f))}return{changes:r,selection:K.create(o,i.mainIndex),effects:s}}changes(e=[]){return e instanceof Ai?e:Ai.of(e,this.doc.length,this.facet(t.lineSeparator))}toText(e){return Fe.of(e.split(this.facet(t.lineSeparator)||R1))}sliceDoc(e=0,i=this.doc.length){return this.doc.sliceString(e,i,this.lineBreak)}facet(e){let i=this.config.address[e.id];return i==null?e.default:(vu(this,i),yO(this,i))}toJSON(e){let i={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let r=e[n];r instanceof Ge&&this.config.address[r.id]!=null&&(i[n]=r.spec.toJSON(this.field(e[n]),this))}return i}static fromJSON(e,i={},n){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let r=[];if(n){for(let o in n)if(Object.prototype.hasOwnProperty.call(e,o)){let s=n[o],a=e[o];r.push(s.init(l=>s.spec.fromJSON(a,l)))}}return t.create({doc:e.doc,selection:K.fromJSON(e.selection),extensions:i.extensions?r.concat([i.extensions]):r})}static create(e={}){let i=bO.resolve(e.extensions||[],new Map),n=e.doc instanceof Fe?e.doc:Fe.of((e.doc||"").split(i.staticFacet(t.lineSeparator)||R1)),r=e.selection?e.selection instanceof K?e.selection:K.single(e.selection.anchor,e.selection.head):K.single(0);return iP(r,n.length),i.staticFacet(z1)||(r=r.asSingle()),new t(i,n,r,i.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(lP)}phrase(e,...i){for(let n of this.facet(t.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return i.length&&(e=e.replace(/\$(\$|\d*)/g,(n,r)=>{if(r=="$")return"$";let o=+(r||1);return!o||o>i.length?n:i[o-1]})),e}languageDataAt(e,i,n=-1){let r=[];for(let o of this.facet(nP))for(let s of o(this,i,n))Object.prototype.hasOwnProperty.call(s,e)&&r.push(s[e]);return r}charCategorizer(e){return rV(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:i,from:n,length:r}=this.doc.lineAt(e),o=this.charCategorizer(e),s=e-n,a=e-n;for(;s>0;){let l=Bt(i,s,!1);if(o(i.slice(l,s))!=pt.Word)break;s=l}for(;a<r;){let l=Bt(i,a);if(o(i.slice(a,l))!=pt.Word)break;a=l}return s==a?null:K.range(s+n,a+n)}};ot.allowMultipleSelections=z1;ot.tabSize=be.define({combine:t=>t.length?t[0]:4});ot.lineSeparator=rP;ot.readOnly=lP;ot.phrases=be.define({compare(t,e){let i=Object.keys(t),n=Object.keys(e);return i.length==n.length&&i.every(r=>t[r]==e[r])}});ot.languageData=nP;ot.changeFilter=oP;ot.transactionFilter=sP;ot.transactionExtender=aP;ul.reconfigure=Se.define();function Qt(t,e,i={}){let n={};for(let r of t)for(let o of Object.keys(r)){let s=r[o],a=n[o];if(a===void 0)n[o]=s;else if(!(a===s||s===void 0))if(Object.hasOwnProperty.call(i,o))n[o]=i[o](a,s);else throw new Error("Config merge conflict for field "+o)}for(let r in e)n[r]===void 0&&(n[r]=e[r]);return n}var jn=class{eq(e){return this==e}range(e,i=e){return ku.create(e,i,this)}};jn.prototype.startSide=jn.prototype.endSide=0;jn.prototype.point=!1;jn.prototype.mapMode=Ct.TrackDel;var ku=class t{constructor(e,i,n){this.from=e,this.to=i,this.value=n}static create(e,i,n){return new t(e,i,n)}};function j1(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}var W1=class t{constructor(e,i,n,r){this.from=e,this.to=i,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,i,n,r=0){let o=n?this.to:this.from;for(let s=r,a=o.length;;){if(s==a)return s;let l=s+a>>1,c=o[l]-e||(n?this.value[l].endSide:this.value[l].startSide)-i;if(l==s)return c>=0?s:a;c>=0?a=l:s=l+1}}between(e,i,n,r){for(let o=this.findIndex(i,-1e9,!0),s=this.findIndex(n,1e9,!1,o);o<s;o++)if(r(this.from[o]+e,this.to[o]+e,this.value[o])===!1)return!1}map(e,i){let n=[],r=[],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,O;if(u==f){let m=i.mapPos(u,c.startSide,c.mapMode);if(m==null||(d=O=m,c.startSide!=c.endSide&&(O=i.mapPos(u,c.endSide),O<d)))continue}else if(d=i.mapPos(u,c.startSide),O=i.mapPos(f,c.endSide),d>O||d==O&&c.startSide>0&&c.endSide<=0)continue;(O-d||c.endSide-c.startSide)<0||(s<0&&(s=d),c.point&&(a=Math.max(a,O-d)),n.push(c),r.push(d-s),o.push(O-s))}return{mapped:n.length?new t(r,o,n,a):null,pos:s}}},Je=class t{constructor(e,i,n,r){this.chunkPos=e,this.chunk=i,this.nextLayer=n,this.maxPoint=r}static create(e,i,n,r){return new t(e,i,n,r)}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 i of this.chunk)e+=i.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:i=[],sort:n=!1,filterFrom:r=0,filterTo:o=this.length}=e,s=e.filter;if(i.length==0&&!s)return this;if(n&&(i=i.slice().sort(j1)),this.isEmpty)return i.length?t.of(i):this;let a=new xO(this,null,-1).goto(0),l=0,c=[],u=new $i;for(;a.value||l<i.length;)if(l<i.length&&(a.from-i[l].from||a.startSide-i[l].value.startSide)>=0){let f=i[l++];u.addInner(f.from,f.to,f.value)||c.push(f)}else a.rangeIndex==1&&a.chunkIndex<this.chunk.length&&(l==i.length||this.chunkEnd(a.chunkIndex)<i[l].from)&&(!s||r>this.chunkEnd(a.chunkIndex)||o<this.chunkPos[a.chunkIndex])&&u.addChunk(this.chunkPos[a.chunkIndex],this.chunk[a.chunkIndex])?a.nextChunk():((!s||r>a.to||o<a.from||s(a.from,a.to,a.value))&&(u.addInner(a.from,a.to,a.value)||c.push(ku.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:r,filterTo:o}))}map(e){if(e.empty||this.isEmpty)return this;let i=[],n=[],r=-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)r=Math.max(r,l.maxPoint),i.push(l),n.push(e.mapPos(a));else if(c===!0){let{mapped:u,pos:f}=l.map(a,e);u&&(r=Math.max(r,u.maxPoint),i.push(u),n.push(f))}}let o=this.nextLayer.map(e);return i.length==0?o:new t(n,i,o||t.empty,r)}between(e,i,n){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let o=this.chunkPos[r],s=this.chunk[r];if(i>=o&&e<=o+s.length&&s.between(o,e-o,i-o,n)===!1)return}this.nextLayer.between(e,i,n)}}iter(e=0){return Su.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,i=0){return Su.from(e).goto(i)}static compare(e,i,n,r,o=-1){let s=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),a=i.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),l=KE(s,a,n),c=new Ns(s,l,o),u=new Ns(a,l,o);n.iterGaps((f,d,O)=>JE(c,f,u,d,O,r)),n.empty&&n.length==0&&JE(c,0,u,0,0,r)}static eq(e,i,n=0,r){r==null&&(r=999999999);let o=e.filter(u=>!u.isEmpty&&i.indexOf(u)<0),s=i.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(o.length!=s.length)return!1;if(!o.length)return!0;let a=KE(o,s),l=new Ns(o,a,0).goto(n),c=new Ns(s,a,0).goto(n);for(;;){if(l.to!=c.to||!V1(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>r)return!0;l.next(),c.next()}}static spans(e,i,n,r,o=-1){let s=new Ns(e,null,o).goto(i),a=i,l=s.openStart;for(;;){let c=Math.min(s.to,n);if(s.point){let u=s.activeForPoint(s.to),f=s.pointFrom<i?u.length+1:s.point.startSide<0?u.length:Math.min(u.length,l);r.point(a,c,s.point,u,f,s.pointRank),l=Math.min(s.openEnd(c),u.length)}else c>a&&(r.span(a,c,s.active,l),l=s.openEnd(c));if(s.to>n)return l+(s.point&&s.to>n?1:0);a=s.to,s.next()}}static of(e,i=!1){let n=new $i;for(let r of e instanceof ku?[e]:i?oV(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return t.empty;let i=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=t.empty;r=r.nextLayer)i=new t(r.chunkPos,r.chunk,i,Math.max(r.maxPoint,i.maxPoint));return i}};Je.empty=new Je([],[],null,-1);function oV(t){if(t.length>1)for(let e=t[0],i=1;i<t.length;i++){let n=t[i];if(j1(e,n)>0)return t.slice().sort(j1);e=n}return t}Je.empty.nextLayer=Je.empty;var $i=class t{finishChunk(e){this.chunks.push(new W1(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,i,n){this.addInner(e,i,n)||(this.nextLayer||(this.nextLayer=new t)).add(e,i,n)}addInner(e,i,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(i-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=i,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,i-e)),!0)}addChunk(e,i){if((e-this.lastTo||i.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,i.maxPoint),this.chunks.push(i),this.chunkPos.push(e);let n=i.value.length-1;return this.last=i.value[n],this.lastFrom=i.from[n]+e,this.lastTo=i.to[n]+e,!0}finish(){return this.finishInner(Je.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let i=Je.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,i}};function KE(t,e,i){let n=new Map;for(let o of t)for(let s=0;s<o.chunk.length;s++)o.chunk[s].maxPoint<=0&&n.set(o.chunk[s],o.chunkPos[s]);let r=new Set;for(let o of e)for(let s=0;s<o.chunk.length;s++){let a=n.get(o.chunk[s]);a!=null&&(i?i.mapPos(a):a)==o.chunkPos[s]&&!(i!=null&&i.touchesRange(a,a+o.chunk[s].length))&&r.add(o.chunk[s])}return r}var xO=class{constructor(e,i,n,r=0){this.layer=e,this.skip=i,this.minPoint=n,this.rank=r}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,i=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,i,!1),this}gotoInner(e,i,n){for(;this.chunkIndex<this.layer.chunk.length;){let r=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(r)||this.layer.chunkEnd(this.chunkIndex)<e||r.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],i,!0);(!n||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,i){(this.to-e||this.endSide-i)<0&&this.gotoInner(e,i,!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],i=this.layer.chunk[this.chunkIndex],n=e+i.from[this.rangeIndex];if(this.from=n,this.to=e+i.to[this.rangeIndex],this.value=i.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}},Su=class t{constructor(e){this.heap=e}static from(e,i=null,n=-1){let r=[];for(let o=0;o<e.length;o++)for(let s=e[o];!s.isEmpty;s=s.nextLayer)s.maxPoint>=n&&r.push(new xO(s,i,n,o));return r.length==1?r[0]:new t(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,i=-1e9){for(let n of this.heap)n.goto(e,i);for(let n=this.heap.length>>1;n>=0;n--)$1(this.heap,n);return this.next(),this}forward(e,i){for(let n of this.heap)n.forward(e,i);for(let n=this.heap.length>>1;n>=0;n--)$1(this.heap,n);(this.to-e||this.value.endSide-i)<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(),$1(this.heap,0)}}};function $1(t,e){for(let i=t[e];;){let n=(e<<1)+1;if(n>=t.length)break;let r=t[n];if(n+1<t.length&&r.compare(t[n+1])>=0&&(r=t[n+1],n++),i.compare(r)<0)break;t[n]=i,t[e]=r,e=n}}var Ns=class{constructor(e,i,n){this.minPoint=n,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=Su.from(e,i,n)}goto(e,i=-1e9){return this.cursor.goto(e,i),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=i,this.openStart=-1,this.next(),this}forward(e,i){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-i)<0;)this.removeActive(this.minActive);this.cursor.forward(e,i)}removeActive(e){hO(this.active,e),hO(this.activeTo,e),hO(this.activeRank,e),this.minActive=eP(this.active,this.activeTo)}addActive(e){let i=0,{value:n,to:r,rank:o}=this.cursor;for(;i<this.activeRank.length&&(o-this.activeRank[i]||r-this.activeTo[i])>0;)i++;dO(this.active,i,n),dO(this.activeTo,i,r),dO(this.activeRank,i,o),e&&dO(e,i,this.cursor.from),this.minActive=eP(this.active,this.activeTo)}next(){let e=this.to,i=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&hO(n,r)}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(n),this.cursor.next();else if(i&&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(n){this.openStart=0;for(let r=n.length-1;r>=0&&n[r]<e;r--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let i=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&i.push(this.active[n]);return i.reverse()}openEnd(e){let i=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)i++;return i}};function JE(t,e,i,n,r,o){t.goto(e),i.goto(n);let s=n+r,a=n,l=n-e;for(;;){let c=t.to+l-i.to,u=c||t.endSide-i.endSide,f=u<0?t.to+l:i.to,d=Math.min(f,s);if(t.point||i.point?t.point&&i.point&&(t.point==i.point||t.point.eq(i.point))&&V1(t.activeForPoint(t.to),i.activeForPoint(i.to))||o.comparePoint(a,d,t.point,i.point):d>a&&!V1(t.active,i.active)&&o.compareRange(a,d,t.active,i.active),f>s)break;(c||t.openEnd!=i.openEnd)&&o.boundChange&&o.boundChange(f),a=f,u<=0&&t.next(),u>=0&&i.next()}}function V1(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!=e[i]&&!t[i].eq(e[i]))return!1;return!0}function hO(t,e){for(let i=e,n=t.length-1;i<n;i++)t[i]=t[i+1];t.pop()}function dO(t,e,i){for(let n=t.length-1;n>=e;n--)t[n+1]=t[n];t[e]=i}function eP(t,e){let i=-1,n=1e9;for(let r=0;r<e.length;r++)(e[r]-n||t[r].endSide-t[i].endSide)<0&&(i=r,n=e[r]);return i}function Xi(t,e,i=t.length){let n=0;for(let r=0;r<i&&r<t.length;)t.charCodeAt(r)==9?(n+=e-n%e,r++):(n++,r=Bt(t,r));return n}function vO(t,e,i,n){for(let r=0,o=0;;){if(o>=e)return r;if(r==t.length)break;o+=t.charCodeAt(r)==9?i-o%i:1,r=Bt(t,r)}return n===!0?-1:t.length}var Y1="\u037C",fP=typeof Symbol=="undefined"?"__"+Y1:Symbol.for(Y1),F1=typeof Symbol=="undefined"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),hP=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:{},Zi=class{constructor(e,i){this.rules=[];let{finish:n}=i||{};function r(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 O in a){let m=a[O];if(/&/.test(O))o(O.split(/,\s*/).map(x=>s.map(v=>x.replace(/&/,v))).reduce((x,v)=>x.concat(v)),m,l);else if(m&&typeof m=="object"){if(!f)throw new RangeError("The value of a property ("+O+") should be a primitive value.");o(r(O),m,u,d)}else m!=null&&u.push(O.replace(/_.*/,"").replace(/[A-Z]/g,x=>"-"+x.toLowerCase())+": "+m+";")}(u.length||d)&&l.push((n&&!f&&!c?s.map(n):s).join(", ")+" {"+u.join(" ")+"}")}for(let s in e)o(r(s),e[s],this.rules)}getRules(){return this.rules.join(`
`)}static newName(){let e=hP[fP]||1;return hP[fP]=e+1,Y1+e.toString(36)}static mount(e,i,n){let r=e[F1],o=n&&n.nonce;r?o&&r.setNonce(o):r=new H1(e,o),r.mount(Array.isArray(i)?i:[i])}},dP=new Map,H1=class{constructor(e,i){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let o=dP.get(n);if(o)return e.adoptedStyleSheets=[o.sheet,...e.adoptedStyleSheets],e[F1]=o;this.sheet=new r.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],dP.set(n,this)}else{this.styleTag=n.createElement("style"),i&&this.styleTag.setAttribute("nonce",i);let o=e.head||e;o.insertBefore(this.styleTag,o.firstChild)}this.modules=[],e[F1]=this}mount(e){let i=this.sheet,n=0,r=0;for(let o=0;o<e.length;o++){let s=e[o],a=this.modules.indexOf(s);if(a<r&&a>-1&&(this.modules.splice(a,1),r--,a=-1),a==-1){if(this.modules.splice(r++,0,s),i)for(let l=0;l<s.rules.length;l++)i.insertRule(s.rules[l],n++)}else{for(;r<a;)n+=this.modules[r++].rules.length;n+=s.rules.length,r++}}if(!i){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 Br={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:"'"},fl={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},sV=typeof navigator!="undefined"&&/Mac/.test(navigator.platform),aV=typeof navigator!="undefined"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(Yt=0;Yt<10;Yt++)Br[48+Yt]=Br[96+Yt]=String(Yt);var Yt;for(Yt=1;Yt<=24;Yt++)Br[Yt+111]="F"+Yt;var Yt;for(Yt=65;Yt<=90;Yt++)Br[Yt]=String.fromCharCode(Yt+32),fl[Yt]=String.fromCharCode(Yt);var Yt;for(wO in Br)fl.hasOwnProperty(wO)||(fl[wO]=Br[wO]);var wO;function OP(t){var e=sV&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||aV&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",i=!e&&t.key||(t.shiftKey?fl:Br)[t.keyCode]||t.key||"Unidentified";return i=="Esc"&&(i="Escape"),i=="Del"&&(i="Delete"),i=="Left"&&(i="ArrowLeft"),i=="Up"&&(i="ArrowUp"),i=="Right"&&(i="ArrowRight"),i=="Down"&&(i="ArrowDown"),i}function Uu(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function ry(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function $O(t,e){if(!e.anchorNode)return!1;try{return ry(t,e.anchorNode)}catch(i){return!1}}function Mu(t){return t.nodeType==3?Zs(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function $u(t,e,i,n){return i?pP(t,e,i,n,-1)||pP(t,e,i,n,1):!1}function Vs(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function UO(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function pP(t,e,i,n,r){for(;;){if(t==i&&e==n)return!0;if(e==(r<0?0:dr(t))){if(t.nodeName=="DIV")return!1;let o=t.parentNode;if(!o||o.nodeType!=1)return!1;e=Vs(t)+(r<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(r<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=r<0?dr(t):0}else return!1}}function dr(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function ep(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}function lV(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function nC(t,e){let i=e.width/t.offsetWidth,n=e.height/t.offsetHeight;return(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.width-t.offsetWidth)<1)&&(i=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.height-t.offsetHeight)<1)&&(n=1),{scaleX:i,scaleY:n}}function cV(t,e,i,n,r,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,O=u==l.body,m=1,x=1;if(O)d=lV(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 T=u.getBoundingClientRect();({scaleX:m,scaleY:x}=nC(u,T)),d={left:T.left,right:T.left+u.clientWidth*m,top:T.top,bottom:T.top+u.clientHeight*x}}let v=0,w=0;if(r=="nearest")e.top<d.top?(w=e.top-(d.top+s),i>0&&e.bottom>d.bottom+w&&(w=e.bottom-d.bottom+s)):e.bottom>d.bottom&&(w=e.bottom-d.bottom+s,i<0&&e.top-w<d.top&&(w=e.top-(d.top+s)));else{let T=e.bottom-e.top,A=d.bottom-d.top;w=(r=="center"&&T<=A?e.top+T/2-A/2:r=="start"||r=="center"&&i<0?e.top-s:e.bottom-A+s)-d.top}if(n=="nearest"?e.left<d.left?(v=e.left-(d.left+o),i>0&&e.right>d.right+v&&(v=e.right-d.right+o)):e.right>d.right&&(v=e.right-d.right+o,i<0&&e.left<d.left+v&&(v=e.left-(d.left+o))):v=(n=="center"?e.left+(e.right-e.left)/2-(d.right-d.left)/2:n=="start"==a?e.left-o:e.right-(d.right-d.left)+o)-d.left,v||w)if(O)c.scrollBy(v,w);else{let T=0,A=0;if(w){let L=u.scrollTop;u.scrollTop+=w/x,A=(u.scrollTop-L)*x}if(v){let L=u.scrollLeft;u.scrollLeft+=v/m,T=(u.scrollLeft-L)*m}e={left:e.left-T,top:e.top-A,right:e.right-T,bottom:e.bottom-A},T&&Math.abs(T-v)<1&&(n="nearest"),A&&Math.abs(A-w)<1&&(r="nearest")}if(O)break;(e.top<d.top||e.bottom>d.bottom||e.left<d.left||e.right>d.right)&&(e={left:Math.max(e.left,d.left),right:Math.min(e.right,d.right),top:Math.max(e.top,d.top),bottom:Math.min(e.bottom,d.bottom)}),u=u.assignedSlot||u.parentNode}else if(u.nodeType==11)u=u.host;else break}function uV(t){let e=t.ownerDocument,i,n;for(let r=t.parentNode;r&&!(r==e.body||i&&n);)if(r.nodeType==1)!n&&r.scrollHeight>r.clientHeight&&(n=r),!i&&r.scrollWidth>r.clientWidth&&(i=r),r=r.assignedSlot||r.parentNode;else if(r.nodeType==11)r=r.host;else break;return{x:i,y:n}}var oy=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:i,focusNode:n}=e;this.set(i,Math.min(e.anchorOffset,i?dr(i):0),n,Math.min(e.focusOffset,n?dr(n):0))}set(e,i,n,r){this.anchorNode=e,this.anchorOffset=i,this.focusNode=n,this.focusOffset=r}},hl=null;function rC(t){if(t.setActive)return t.setActive();if(hl)return t.focus(hl);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(hl==null?{get preventScroll(){return hl={preventScroll:!0},!0}}:void 0),!hl){hl=!1;for(let i=0;i<e.length;){let n=e[i++],r=e[i++],o=e[i++];n.scrollTop!=r&&(n.scrollTop=r),n.scrollLeft!=o&&(n.scrollLeft=o)}}}var mP;function Zs(t,e,i=e){let n=mP||(mP=document.createRange());return n.setEnd(t,i),n.setStart(t,e),n}function ml(t,e,i,n){let r={key:e,code:e,keyCode:i,which:i,cancelable:!0};n&&({altKey:r.altKey,ctrlKey:r.ctrlKey,shiftKey:r.shiftKey,metaKey:r.metaKey}=n);let o=new KeyboardEvent("keydown",r);o.synthetic=!0,t.dispatchEvent(o);let s=new KeyboardEvent("keyup",r);return s.synthetic=!0,t.dispatchEvent(s),o.defaultPrevented||s.defaultPrevented}function fV(t){for(;t;){if(t&&(t.nodeType==9||t.nodeType==11&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}function oC(t){for(;t.attributes.length;)t.removeAttributeNode(t.attributes[0])}function hV(t,e){let i=e.focusNode,n=e.focusOffset;if(!i||e.anchorNode!=i||e.anchorOffset!=n)return!1;for(n=Math.min(n,dr(i));;)if(n){if(i.nodeType!=1)return!1;let r=i.childNodes[n-1];r.contentEditable=="false"?n--:(i=r,n=dr(i))}else{if(i==t)return!0;n=Vs(i),i=i.parentNode}}function sC(t){return t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}function aC(t,e){for(let i=t,n=e;;){if(i.nodeType==3&&n>0)return{node:i,offset:n};if(i.nodeType==1&&n>0){if(i.contentEditable=="false")return null;i=i.childNodes[n-1],n=dr(i)}else if(i.parentNode&&!UO(i))n=Vs(i),i=i.parentNode;else return null}}function lC(t,e){for(let i=t,n=e;;){if(i.nodeType==3&&n<i.nodeValue.length)return{node:i,offset:n};if(i.nodeType==1&&n<i.childNodes.length){if(i.contentEditable=="false")return null;i=i.childNodes[n],n=0}else if(i.parentNode&&!UO(i))n=Vs(i)+1,i=i.parentNode;else return null}}var Ri=class t{constructor(e,i,n=!0){this.node=e,this.offset=i,this.precise=n}static before(e,i){return new t(e.parentNode,Vs(e),i)}static after(e,i){return new t(e.parentNode,Vs(e)+1,i)}},Zy=[],kt=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 i=this.posAtStart;for(let n of this.children){if(n==e)return i;i+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,i){if(this.flags&2){let n=this.dom,r=null,o;for(let s of this.children){if(s.flags&7){if(!s.dom&&(o=r?r.nextSibling:n.firstChild)){let a=t.get(o);(!a||!a.parent&&a.canReuseDOM(s))&&s.reuseDOM(o)}s.sync(e,i),s.flags&=-8}if(o=r?r.nextSibling:n.firstChild,i&&!i.written&&i.node==n&&o!=s.dom&&(i.written=!0),s.dom.parentNode==n)for(;o&&o!=s.dom;)o=gP(o);else n.insertBefore(s.dom,o);r=s.dom}for(o=r?r.nextSibling:n.firstChild,o&&i&&i.node==n&&(i.written=!0);o;)o=gP(o)}else if(this.flags&1)for(let n of this.children)n.flags&7&&(n.sync(e,i),n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,i){let n;if(e==this.dom)n=this.dom.childNodes[i];else{let r=dr(e)==0?0:i==0?-1:1;for(;;){let o=e.parentNode;if(o==this.dom)break;r==0&&o.firstChild!=o.lastChild&&(e==o.firstChild?r=-1:r=1),e=o}r<0?n=e:n=e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!t.get(n);)n=n.nextSibling;if(!n)return this.length;for(let r=0,o=0;;r++){let s=this.children[r];if(s.dom==n)return o;o+=s.length+s.breakAfter}}domBoundsAround(e,i,n=0){let r=-1,o=-1,s=-1,a=-1;for(let l=0,c=n,u=n;l<this.children.length;l++){let f=this.children[l],d=c+f.length;if(c<e&&d>i)return f.domBoundsAround(e,i,c);if(d>=e&&r==-1&&(r=l,o=c),c>i&&f.dom.parentNode==this.dom){s=l,a=u;break}u=d,c=d+f.breakAfter}return{from:o,to:a<0?n+this.length:a,startDOM:(r?this.children[r-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 i=this.parent;i;i=i.parent){if(e&&(i.flags|=2),i.flags&1)return;i.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 i=e.parent;if(!i)return e;e=i}}replaceChildren(e,i,n=Zy){this.markDirty();for(let r=e;r<i;r++){let o=this.children[r];o.parent==this&&n.indexOf(o)<0&&o.destroy()}n.length<250?this.children.splice(e,i-e,...n):this.children=[].concat(this.children.slice(0,e),n,this.children.slice(i));for(let r=0;r<n.length;r++)n[r].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new MO(this.children,e,this.children.length)}childPos(e,i=1){return this.childCursor().findPos(e,i)}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,i,n,r,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}};kt.prototype.breakAfter=0;function gP(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}var MO=class{constructor(e,i,n){this.children=e,this.pos=i,this.i=n,this.off=0}findPos(e,i=1){for(;;){if(e>this.pos||e==this.pos&&(i>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}};function cC(t,e,i,n,r,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==n&&u&&!s&&!d&&o.length<2&&u.merge(i,r,o.length?f:null,i==0,a,l))){if(n<c.length){let O=c[n];O&&(r<O.length||O.breakAfter&&(f!=null&&f.breakAfter))?(e==n&&(O=O.split(r),r=0),!d&&f&&O.merge(0,r,f,!0,0,l)?o[o.length-1]=O:((r||O.children.length&&!O.children[0].length)&&O.merge(0,r,null,!1,0,l),o.push(O))):O!=null&&O.breakAfter&&(f?f.breakAfter=1:s=1),n++}for(u&&(u.breakAfter=s,i>0&&(!s&&o.length&&u.merge(i,u.length,o[0],!1,a,0)?u.breakAfter=o.shift().breakAfter:(i<u.length||u.children.length&&u.children[u.children.length-1].length==0)&&u.merge(i,u.length,null,!1,a,0),e++));e<n&&o.length;)if(c[n-1].become(o[o.length-1]))n--,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&&n<c.length&&!c[e-1].breakAfter&&c[n].merge(0,0,c[e-1],!1,a,l)&&e--,(e<n||o.length)&&t.replaceChildren(e,n,o)}}function uC(t,e,i,n,r,o){let s=t.childCursor(),{i:a,off:l}=s.findPos(i,1),{i:c,off:u}=s.findPos(e,-1),f=e-i;for(let d of n)f+=d.length;t.length+=f,cC(t,c,u,a,l,n,0,r,o)}var Bi=typeof navigator!="undefined"?navigator:{userAgent:"",vendor:"",platform:""},sy=typeof document!="undefined"?document:{documentElement:{style:{}}},ay=/Edge\/(\d+)/.exec(Bi.userAgent),fC=/MSIE \d/.test(Bi.userAgent),ly=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Bi.userAgent),tp=!!(fC||ly||ay),bP=!tp&&/gecko\/(\d+)/i.test(Bi.userAgent),G1=!tp&&/Chrome\/(\d+)/.exec(Bi.userAgent),yP="webkitFontSmoothing"in sy.documentElement.style,hC=!tp&&/Apple Computer/.test(Bi.vendor),xP=hC&&(/Mobile\/\w+/.test(Bi.userAgent)||Bi.maxTouchPoints>2),ke={mac:xP||/Mac/.test(Bi.platform),windows:/Win/.test(Bi.platform),linux:/Linux|X11/.test(Bi.platform),ie:tp,ie_version:fC?sy.documentMode||6:ly?+ly[1]:ay?+ay[1]:0,gecko:bP,gecko_version:bP?+(/Firefox\/(\d+)/.exec(Bi.userAgent)||[0,0])[1]:0,chrome:!!G1,chrome_version:G1?+G1[1]:0,ios:xP,android:/Android\b/.test(Bi.userAgent),webkit:yP,safari:hC,webkit_version:yP?+(/\bAppleWebKit\/(\d+)/.exec(Bi.userAgent)||[0,0])[1]:0,tabSize:sy.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"},dV=256,Or=class t extends kt{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,i){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(i&&i.node==this.dom&&(i.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,i,n){return this.flags&8||n&&(!(n instanceof t)||this.length-(i-e)+n.length>dV||n.flags&8)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(i),this.markDirty(),!0)}split(e){let i=new t(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),i.flags|=this.flags&8,i}localPosFromDOM(e,i){return e==this.dom?i:i?this.text.length:0}domAtPos(e){return new Ri(this.dom,e)}domBoundsAround(e,i,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,i){return OV(this.dom,e,i)}},Yo=class t extends kt{constructor(e,i=[],n=0){super(),this.mark=e,this.children=i,this.length=n;for(let r of i)r.setParent(this)}setAttrs(e){if(oC(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let i in this.mark.attrs)e.setAttribute(i,this.mark.attrs[i]);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,i){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,i)}merge(e,i,n,r,o,s){return n&&(!(n instanceof t&&n.mark.eq(this.mark))||e&&o<=0||i<this.length&&s<=0)?!1:(uC(this,e,i,n?n.children.slice():[],o-1,s-1),this.markDirty(),!0)}split(e){let i=[],n=0,r=-1,o=0;for(let a of this.children){let l=n+a.length;l>e&&i.push(n<e?a.split(e-n):a),r<0&&n>=e&&(r=o),n=l,o++}let s=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new t(this.mark,i,s)}domAtPos(e){return dC(this,e)}coordsAt(e,i){return pC(this,e,i)}};function OV(t,e,i){let n=t.nodeValue.length;e>n&&(e=n);let r=e,o=e,s=0;e==0&&i<0||e==n&&i>=0?ke.chrome||ke.gecko||(e?(r--,s=1):o<n&&(o++,s=-1)):i<0?r--:o<n&&o++;let a=Zs(t,r,o).getClientRects();if(!a.length)return null;let l=a[(s?s<0:i>=0)?0:a.length-1];return ke.safari&&!s&&l.width==0&&(l=Array.prototype.find.call(a,c=>c.width)||l),s?ep(l,s<0):l||null}var Nu=class t extends kt{static create(e,i,n){return new t(e,i,n)}constructor(e,i,n){super(),this.widget=e,this.length=i,this.side=n,this.prevWidget=null}split(e){let i=t.create(this.widget,this.length-e,this.side);return this.length-=e,i}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,i,n,r,o,s){return n&&(!(n instanceof t)||!this.widget.compare(n.widget)||e>0&&o<=0||i<this.length&&s<=0)?!1:(this.length=e+(n?n.length:0)+(this.length-i),!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 Fe.empty;let e=this;for(;e.parent;)e=e.parent;let{view:i}=e,n=i&&i.state.doc,r=this.posAtStart;return n?n.slice(r,r+this.length):Fe.empty}domAtPos(e){return(this.length?e==0:this.side>0)?Ri.before(this.dom):Ri.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,i){let n=this.widget.coordsAt(this.dom,e,i);if(n)return n;let r=this.dom.getClientRects(),o=null;if(!r.length)return null;let s=this.side?this.side<0:e>0;for(let a=s?r.length-1:0;o=r[a],!(e>0?a==0:a==r.length-1||o.top<o.bottom);a+=s?-1:1);return ep(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)}},qu=class t extends kt{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?Ri.before(this.dom):Ri.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return Fe.empty}get isHidden(){return!0}};Or.prototype.children=Nu.prototype.children=qu.prototype.children=Zy;function dC(t,e){let i=t.dom,{children:n}=t,r=0;for(let o=0;r<n.length;r++){let s=n[r],a=o+s.length;if(!(a==o&&s.getSide()<=0)){if(e>o&&e<a&&s.dom.parentNode==i)return s.domAtPos(e-o);if(e<=o)break;o=a}}for(let o=r;o>0;o--){let s=n[o-1];if(s.dom.parentNode==i)return s.domAtPos(s.length)}for(let o=r;o<n.length;o++){let s=n[o];if(s.dom.parentNode==i)return s.domAtPos(0)}return new Ri(i,0)}function OC(t,e,i){let n,{children:r}=t;i>0&&e instanceof Yo&&r.length&&(n=r[r.length-1])instanceof Yo&&n.mark.eq(e.mark)?OC(n,e.children[0],i-1):(r.push(e),e.setParent(t)),t.length+=e.length}function pC(t,e,i){let n=null,r=-1,o=null,s=-1;function a(c,u){for(let f=0,d=0;f<c.children.length&&d<=u;f++){let O=c.children[f],m=d+O.length;m>=u&&(O.children.length?a(O,u-d):(!o||o.isHidden&&i>0)&&(m>u||d==m&&O.getSide()>0)?(o=O,s=u-d):(d<u||d==m&&O.getSide()<0&&!O.isHidden)&&(n=O,r=u-d)),d=m}}a(t,e);let l=(i<0?n:o)||n||o;return l?l.coordsAt(Math.max(0,l==n?r:s),i):pV(t)}function pV(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let i=Mu(e);return i[i.length-1]||null}function cy(t,e){for(let i in t)i=="class"&&e.class?e.class+=" "+t.class:i=="style"&&e.style?e.style+=";"+t.style:e[i]=t[i];return e}var vP=Object.create(null);function NO(t,e,i){if(t==e)return!0;t||(t=vP),e||(e=vP);let n=Object.keys(t),r=Object.keys(e);if(n.length-(i&&n.indexOf(i)>-1?1:0)!=r.length-(i&&r.indexOf(i)>-1?1:0))return!1;for(let o of n)if(o!=i&&(r.indexOf(o)==-1||t[o]!==e[o]))return!1;return!0}function uy(t,e,i){let n=!1;if(e)for(let r in e)i&&r in i||(n=!0,r=="style"?t.style.cssText="":t.removeAttribute(r));if(i)for(let r in i)e&&e[r]==i[r]||(n=!0,r=="style"?t.style.cssText=i[r]:t.setAttribute(r,i[r]));return n}function mV(t){let e=Object.create(null);for(let i=0;i<t.attributes.length;i++){let n=t.attributes[i];e[n.name]=n.value}return e}var ii=class{eq(e){return!1}updateDOM(e,i){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,i,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}},Li=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}(Li||(Li={})),we=class extends jn{constructor(e,i,n,r){super(),this.startSide=e,this.endSide=i,this.widget=n,this.spec=r}get heightRelevant(){return!1}static mark(e){return new ju(e)}static widget(e){let i=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return i+=n&&!e.inlineOrder?i>0?3e8:-4e8:i>0?1e8:-1e8,new Fo(e,i,i,n,e.widget||null,!1)}static replace(e){let i=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:o,end:s}=mC(e,i);n=(o?i?-3e8:-1:5e8)-1,r=(s?i?2e8:1:-6e8)+1}return new Fo(e,n,r,i,e.widget||null,!0)}static line(e){return new Wu(e)}static set(e,i=!1){return Je.of(e,i)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}};we.none=Je.empty;var ju=class t extends we{constructor(e){let{start:i,end:n}=mC(e);super(i?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var i,n;return this==e||e instanceof t&&this.tagName==e.tagName&&(this.class||((i=this.attrs)===null||i===void 0?void 0:i.class))==(e.class||((n=e.attrs)===null||n===void 0?void 0:n.class))&&NO(this.attrs,e.attrs,"class")}range(e,i=e){if(e>=i)throw new RangeError("Mark decorations may not be empty");return super.range(e,i)}};ju.prototype.point=!1;var Wu=class t extends we{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof t&&this.spec.class==e.spec.class&&NO(this.spec.attributes,e.spec.attributes)}range(e,i=e){if(i!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,i)}};Wu.prototype.mapMode=Ct.TrackBefore;Wu.prototype.point=!0;var Fo=class t extends we{constructor(e,i,n,r,o,s){super(i,n,o,e),this.block=r,this.isReplace=s,this.mapMode=r?i<=0?Ct.TrackBefore:Ct.TrackAfter:Ct.TrackDel}get type(){return this.startSide!=this.endSide?Li.WidgetRange:this.startSide<=0?Li.WidgetBefore:Li.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof t&&gV(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,i=e){if(this.isReplace&&(e>i||e==i&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&i!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,i)}};Fo.prototype.point=!0;function mC(t,e=!1){let{inclusiveStart:i,inclusiveEnd:n}=t;return i==null&&(i=t.inclusive),n==null&&(n=t.inclusive),{start:i!=null?i:e,end:n!=null?n:e}}function gV(t,e){return t==e||!!(t&&e&&t.compare(e))}function XO(t,e,i,n=0){let r=i.length-1;r>=0&&i[r]+n>=t?i[r]=Math.max(i[r],e):i.push(t,e)}var ui=class t extends kt{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,i,n,r,o,s){if(n){if(!(n instanceof t))return!1;this.dom||n.transferDOM(this)}return r&&this.setDeco(n?n.attrs:null),uC(this,e,i,n?n.children.slice():[],o,s),!0}split(e){let i=new t;if(i.breakAfter=this.breakAfter,this.length==0)return i;let{i:n,off:r}=this.childPos(e);r&&(i.append(this.children[n].split(r),0),this.children[n].merge(r,this.children[n].length,null,!1,0,0),n++);for(let o=n;o<this.children.length;o++)i.append(this.children[o],0);for(;n>0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,i}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){NO(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,i){OC(this,e,i)}addLineDeco(e){let i=e.spec.attributes,n=e.spec.class;i&&(this.attrs=cy(i,this.attrs||{})),n&&(this.attrs=cy({class:n},this.attrs||{}))}domAtPos(e){return dC(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,i){var n;this.dom?this.flags&4&&(oC(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&&(uy(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,i);let r=this.dom.lastChild;for(;r&&kt.get(r)instanceof Yo;)r=r.lastChild;if(!r||!this.length||r.nodeName!="BR"&&((n=kt.get(r))===null||n===void 0?void 0:n.isEditable)==!1&&(!ke.ios||!this.children.some(o=>o instanceof Or))){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,i;for(let n of this.children){if(!(n instanceof Or)||/[^ -~]/.test(n.text))return null;let r=Mu(n.dom);if(r.length!=1)return null;e+=r[0].width,i=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:i}:null}coordsAt(e,i){let n=pC(this,e,i);if(!this.children.length&&n&&this.parent){let{heightOracle:r}=this.parent.view.viewState,o=n.bottom-n.top;if(Math.abs(o-r.lineHeight)<2&&r.textHeight<o){let s=(o-r.textHeight)/2;return{top:n.top+s,bottom:n.bottom-s,left:n.left,right:n.left}}}return n}become(e){return e instanceof t&&this.children.length==0&&e.children.length==0&&NO(this.attrs,e.attrs)&&this.breakAfter==e.breakAfter}covers(){return!0}static find(e,i){for(let n=0,r=0;n<e.children.length;n++){let o=e.children[n],s=r+o.length;if(s>=i){if(o instanceof t)return o;if(s>i)break}r=s+o.breakAfter}return null}},Ws=class t extends kt{constructor(e,i,n){super(),this.widget=e,this.length=i,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(e,i,n,r,o,s){return n&&(!(n instanceof t)||!this.widget.compare(n.widget)||e>0&&o<=0||i<this.length&&s<=0)?!1:(this.length=e+(n?n.length:0)+(this.length-i),!0)}domAtPos(e){return e==0?Ri.before(this.dom):Ri.after(this.dom,e==this.length)}split(e){let i=this.length-e;this.length=e;let n=new t(this.widget,i,this.deco);return n.breakAfter=this.breakAfter,n}get children(){return Zy}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):Fe.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,i){let n=this.widget.coordsAt(this.dom,e,i);return n||(this.widget instanceof Vu?null:ep(this.dom.getBoundingClientRect(),this.length?e==0:i<=0))}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:i,endSide:n}=this.deco;return i==n?!1:e<0?i<0:n>0}},Vu=class extends ii{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}ignoreEvent(){return!1}},Xu=class t{constructor(e,i,n,r){this.doc=e,this.pos=i,this.end=n,this.disallowBlockEffectsFor=r,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=i}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 Ws&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new ui),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(kO(new qu(-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 Ws)&&this.getLine()}buildText(e,i,n){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 r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(i.slice(i.length-n)),this.getLine().append(kO(new Or(this.text.slice(this.textOff,this.textOff+r)),i),n),this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,i,n,r){this.buildText(i-e,n,r),this.pos=i,this.openStart<0&&(this.openStart=r)}point(e,i,n,r,o,s){if(this.disallowBlockEffectsFor[s]&&n instanceof Fo){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(i>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=i-e;if(n instanceof Fo)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Ws(n.widget||Ho.block,a,n));else{let l=Nu.create(n.widget||Ho.inline,a,a?0:n.startSide),c=this.atCursorPos&&!l.isEditable&&o<=r.length&&(e<i||n.startSide>0),u=!l.isEditable&&(e<i||o>r.length||n.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),c&&(f.append(kO(new qu(1),r),o),o=r.length+Math.max(0,o-r.length)),f.append(kO(l,r),o),this.atCursorPos=u,this.pendingBuffer=u?e<i||o>r.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);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=i),this.openStart<0&&(this.openStart=o)}static build(e,i,n,r,o){let s=new t(e,i,n,o);return s.openEnd=Je.spans(r,i,n,s),s.openStart<0&&(s.openStart=s.openEnd),s.finish(s.openEnd),s}};function kO(t,e){for(let i of e)t=new Yo(i,[t],t.length);return t}var Ho=class extends ii{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}};Ho.inline=new Ho("span");Ho.block=new Ho("div");var st=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(st||(st={})),Bs=st.LTR,By=st.RTL;function gC(t){let e=[];for(let i=0;i<t.length;i++)e.push(1<<+t[i]);return e}var bV=gC("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),yV=gC("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),fy=Object.create(null),cr=[];for(let t of["()","[]","{}"]){let e=t.charCodeAt(0),i=t.charCodeAt(1);fy[e]=i,fy[i]=-e}function bC(t){return t<=247?bV[t]:1424<=t&&t<=1524?2:1536<=t&&t<=1785?yV[t-1536]:1774<=t&&t<=2220?4:8192<=t&&t<=8204?256:64336<=t&&t<=65023?4:1}var xV=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,fr=class{get dir(){return this.level%2?By:Bs}constructor(e,i,n){this.from=e,this.to=i,this.level=n}side(e,i){return this.dir==i==e?this.to:this.from}forward(e,i){return e==(this.dir==i)}static find(e,i,n,r){let o=-1;for(let s=0;s<e.length;s++){let a=e[s];if(a.from<=i&&a.to>=i){if(a.level==n)return s;(o<0||(r!=0?r<0?a.from<i:a.to>i: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 i=0;i<t.length;i++){let n=t[i],r=e[i];if(n.from!=r.from||n.to!=r.to||n.direction!=r.direction||!yC(n.inner,r.inner))return!1}return!0}var yt=[];function vV(t,e,i,n,r){for(let o=0;o<=n.length;o++){let s=o?n[o-1].to:e,a=o<n.length?n[o].from:i,l=o?256:r;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),yt[c]=d==4?2:d,d&7&&(f=d),u=d}for(let c=s,u=l,f=l;c<a;c++){let d=yt[c];if(d==128)c<a-1&&u==yt[c+1]&&u&24?d=yt[c]=u:yt[c]=256;else if(d==64){let O=c+1;for(;O<a&&yt[O]==64;)O++;let m=c&&u==8||O<i&&yt[O]==8?f==1?1:8:256;for(let x=c;x<O;x++)yt[x]=m;c=O-1}else d==8&&f==1&&(yt[c]=1);u=d,d&7&&(f=d)}}}function wV(t,e,i,n,r){let o=r==1?2:1;for(let s=0,a=0,l=0;s<=n.length;s++){let c=s?n[s-1].to:e,u=s<n.length?n[s].from:i;for(let f=c,d,O,m;f<u;f++)if(O=fy[d=t.charCodeAt(f)])if(O<0){for(let x=a-3;x>=0;x-=3)if(cr[x+1]==-O){let v=cr[x+2],w=v&2?r:v&4?v&1?o:r:0;w&&(yt[f]=yt[cr[x]]=w),a=x;break}}else{if(cr.length==189)break;cr[a++]=f,cr[a++]=d,cr[a++]=l}else if((m=yt[f])==2||m==1){let x=m==r;l=x?0:1;for(let v=a-3;v>=0;v-=3){let w=cr[v+2];if(w&2)break;if(x)cr[v+2]|=2;else{if(w&4)break;cr[v+2]|=4}}}}}function kV(t,e,i,n){for(let r=0,o=n;r<=i.length;r++){let s=r?i[r-1].to:t,a=r<i.length?i[r].from:e;for(let l=s;l<a;){let c=yt[l];if(c==256){let u=l+1;for(;;)if(u==a){if(r==i.length)break;u=i[r++].to,a=r<i.length?i[r].from:e}else if(yt[u]==256)u++;else break;let f=o==1,d=(u<e?yt[u]:n)==1,O=f==d?f?1:2:n;for(let m=u,x=r,v=x?i[x-1].to:t;m>l;)m==v&&(m=i[--x].from,v=x?i[x-1].to:t),yt[--m]=O;l=u}else o=c,l++}}}function hy(t,e,i,n,r,o,s){let a=n%2?2:1;if(n%2==r%2)for(let l=e,c=0;l<i;){let u=!0,f=!1;if(c==o.length||l<o[c].from){let x=yt[l];x!=a&&(u=!1,f=x==16)}let d=!u&&a==1?[]:null,O=u?n:n+1,m=l;e:for(;;)if(c<o.length&&m==o[c].from){if(f)break e;let x=o[c];if(!u)for(let v=x.to,w=c+1;;){if(v==i)break e;if(w<o.length&&o[w].from==v)v=o[w++].to;else{if(yt[v]==a)break e;break}}if(c++,d)d.push(x);else{x.from>l&&s.push(new fr(l,x.from,O));let v=x.direction==Bs!=!(O%2);dy(t,v?n+1:n,r,x.inner,x.from,x.to,s),l=x.to}m=x.to}else{if(m==i||(u?yt[m]!=a:yt[m]==a))break;m++}d?hy(t,l,m,n+1,r,d,s):l<m&&s.push(new fr(l,m,O)),l=m}else for(let l=i,c=o.length;l>e;){let u=!0,f=!1;if(!c||l>o[c-1].to){let x=yt[l-1];x!=a&&(u=!1,f=x==16)}let d=!u&&a==1?[]:null,O=u?n:n+1,m=l;e:for(;;)if(c&&m==o[c-1].to){if(f)break e;let x=o[--c];if(!u)for(let v=x.from,w=c;;){if(v==e)break e;if(w&&o[w-1].to==v)v=o[--w].from;else{if(yt[v-1]==a)break e;break}}if(d)d.push(x);else{x.to<l&&s.push(new fr(x.to,l,O));let v=x.direction==Bs!=!(O%2);dy(t,v?n+1:n,r,x.inner,x.from,x.to,s),l=x.from}m=x.from}else{if(m==e||(u?yt[m-1]!=a:yt[m-1]==a))break;m--}d?hy(t,m,l,n+1,r,d,s):m<l&&s.push(new fr(m,l,O)),l=m}}function dy(t,e,i,n,r,o,s){let a=e%2?2:1;vV(t,r,o,n,a),wV(t,r,o,n,a),kV(r,o,n,a),hy(t,r,o,e,i,n,s)}function SV(t,e,i){if(!t)return[new fr(0,0,e==By?1:0)];if(e==Bs&&!i.length&&!xV.test(t))return xC(t.length);if(i.length)for(;t.length>yt.length;)yt[yt.length]=256;let n=[],r=e==Bs?0:1;return dy(t,r,r,i,0,t.length,n),n}function xC(t){return[new fr(0,t,0)]}var vC="";function TV(t,e,i,n,r){var o;let s=n.head-t.from,a=fr.find(e,s,(o=n.bidiLevel)!==null&&o!==void 0?o:-1,n.assoc),l=e[a],c=l.side(r,i);if(s==c){let d=a+=r?1:-1;if(d<0||d>=e.length)return null;l=e[a=d],s=l.side(!r,i),c=l.side(r,i)}let u=Bt(t.text,s,l.forward(r,i));(u<l.from||u>l.to)&&(u=c),vC=t.text.slice(Math.min(s,u),Math.max(s,u));let f=a==(r?e.length-1:0)?null:e[a+(r?1:-1)];return f&&u==c&&f.level+(r?0:1)<l.level?K.cursor(f.side(!r,i)+t.from,f.forward(r,i)?1:-1,f.level):K.cursor(u+t.from,l.forward(r,i)?-1:1,l.level)}function EV(t,e,i){for(let n=e;n<i;n++){let r=bC(t.charCodeAt(n));if(r==1)return Bs;if(r==2||r==4)return By}return Bs}var wC=be.define(),kC=be.define(),SC=be.define(),TC=be.define(),Oy=be.define(),EC=be.define(),PC=be.define(),Yy=be.define(),Fy=be.define(),CC=be.define({combine:t=>t.some(e=>e)}),QC=be.define({combine:t=>t.some(e=>e)}),_C=be.define(),Ru=class t{constructor(e,i="nearest",n="nearest",r=5,o=5,s=!1){this.range=e,this.y=i,this.x=n,this.yMargin=r,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(K.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}},SO=Se.define({map:(t,e)=>t.map(e)}),AC=Se.define();function fi(t,e,i){let n=t.facet(TC);n.length?n[0](e):window.onerror?window.onerror(String(e),i,void 0,void 0,e):i?console.error(i+":",e):console.error(e)}var Yr=be.define({combine:t=>t.length?t[0]:!0}),PV=0,Pu=be.define(),He=class t{constructor(e,i,n,r,o){this.id=e,this.create=i,this.domEventHandlers=n,this.domEventObservers=r,this.extension=o(this)}static define(e,i){let{eventHandlers:n,eventObservers:r,provide:o,decorations:s}=i||{};return new t(PV++,e,n,r,a=>{let l=[Pu.of(a)];return s&&l.push(Zu.of(c=>{let u=c.plugin(a);return u?s(u):we.none})),o&&l.push(o(a)),l})}static fromClass(e,i){return t.define(n=>new e(n),i)}},Lu=class{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let i=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(i)}catch(n){if(fi(i.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(r){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(i){fi(e.state,i,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var i;if(!((i=this.value)===null||i===void 0)&&i.destroy)try{this.value.destroy()}catch(n){fi(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}},$C=be.define(),Hy=be.define(),Zu=be.define(),XC=be.define(),Gy=be.define(),RC=be.define();function wP(t,e){let i=t.state.facet(RC);if(!i.length)return i;let n=i.map(o=>o instanceof Function?o(t):o),r=[];return Je.spans(n,e.from,e.to,{point(){},span(o,s,a,l){let c=o-e.from,u=s-e.from,f=r;for(let d=a.length-1;d>=0;d--,l--){let O=a[d].spec.bidiIsolate,m;if(O==null&&(O=EV(e.text,c,u)),l>0&&f.length&&(m=f[f.length-1]).to==c&&m.direction==O)m.to=u,f=m.inner;else{let x={from:c,to:u,direction:O,inner:[]};f.push(x),f=x.inner}}}}),r}var LC=be.define();function Ky(t){let e=0,i=0,n=0,r=0;for(let o of t.state.facet(LC)){let s=o(t);s&&(s.left!=null&&(e=Math.max(e,s.left)),s.right!=null&&(i=Math.max(i,s.right)),s.top!=null&&(n=Math.max(n,s.top)),s.bottom!=null&&(r=Math.max(r,s.bottom)))}return{left:e,right:i,top:n,bottom:r}}var Cu=be.define(),hr=class t{constructor(e,i,n,r){this.fromA=e,this.toA=i,this.fromB=n,this.toB=r}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 i=e.length,n=this;for(;i>0;i--){let r=e[i-1];if(!(r.fromA>n.toA)){if(r.toA<n.fromA)break;n=n.join(r),e.splice(i-1,1)}}return e.splice(i,0,n),e}static extendWithRanges(e,i){if(i.length==0)return e;let n=[];for(let r=0,o=0,s=0,a=0;;r++){let l=r==e.length?null:e[r],c=s-a,u=l?l.fromB:1e9;for(;o<i.length&&i[o]<u;){let f=i[o],d=i[o+1],O=Math.max(a,f),m=Math.min(u,d);if(O<=m&&new t(O+c,m+c,O,m).addToSet(n),d>u)break;o+=2}if(!l)return n;new t(l.fromA,l.toA,l.fromB,l.toB).addToSet(n),s=l.toA,a=l.toB}}},qO=class t{constructor(e,i,n){this.view=e,this.state=i,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=Ai.empty(this.startState.doc.length);for(let o of n)this.changes=this.changes.compose(o.changes);let r=[];this.changes.iterChangedRanges((o,s,a,l)=>r.push(new hr(o,s,a,l))),this.changedRanges=r}static create(e,i,n){return new t(e,i,n)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>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}},jO=class extends kt{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=we.none,this.lastCompositionAfterCursor=!1,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 ui],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new hr(0,0,0,e.state.doc.length)],0,null)}update(e){var i;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.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),this.updateEditContextFormatting(e);let r=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((i=this.domChanged)===null||i===void 0)&&i.newSel?r=this.domChanged.newSel.head:!RV(e.changes,this.hasComposition)&&!e.selectionSet&&(r=e.state.selection.main.head));let o=r>-1?QV(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:u}=this.hasComposition;n=new hr(c,u,e.changes.mapPos(c,-1),e.changes.mapPos(u,1)).addToSet(n.slice())}this.hasComposition=o?{from:o.range.fromB,to:o.range.toB}:null,(ke.ie||ke.chrome)&&!o&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let s=this.decorations,a=this.updateDeco(),l=$V(s,a,e.changes);return n=hr.extendWithRanges(n,l),!(this.flags&7)&&n.length==0?!1:(this.updateInner(n,e.startState.doc.length,o),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,i,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,i,n);let{observer:r}=this.view;r.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=ke.chrome||ke.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,s),this.flags&=-8,s&&(s.written||r.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 Ws&&s.widget instanceof Vu&&o.push(s.dom);r.updateGaps(o)}updateChildren(e,i,n){let r=n?n.range.addToSet(e.slice()):e,o=this.childCursor(i);for(let s=r.length-1;;s--){let a=s>=0?r[s]:null;if(!a)break;let{fromA:l,toA:c,fromB:u,toB:f}=a,d,O,m,x;if(n&&n.range.fromB<f&&n.range.toB>u){let L=Xu.build(this.view.state.doc,u,n.range.fromB,this.decorations,this.dynamicDecorationMap),D=Xu.build(this.view.state.doc,n.range.toB,f,this.decorations,this.dynamicDecorationMap);O=L.breakAtStart,m=L.openStart,x=D.openEnd;let P=this.compositionView(n);D.breakAtStart?P.breakAfter=1:D.content.length&&P.merge(P.length,P.length,D.content[0],!1,D.openStart,0)&&(P.breakAfter=D.content[0].breakAfter,D.content.shift()),L.content.length&&P.merge(0,0,L.content[L.content.length-1],!0,0,L.openEnd)&&L.content.pop(),d=L.content.concat(P).concat(D.content)}else({content:d,breakAtStart:O,openStart:m,openEnd:x}=Xu.build(this.view.state.doc,u,f,this.decorations,this.dynamicDecorationMap));let{i:v,off:w}=o.findPos(c,1),{i:T,off:A}=o.findPos(l,-1);cC(this,T,A,v,w,d,O,m,x)}n&&this.fixCompositionDOM(n)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let i of e.transactions)for(let n of i.effects)n.is(AC)&&(this.editContextFormatting=n.value)}compositionView(e){let i=new Or(e.text.nodeValue);i.flags|=8;for(let{deco:r}of e.marks)i=new Yo(r,[i],i.length);let n=new ui;return n.append(i,0),n}fixCompositionDOM(e){let i=(o,s)=>{s.flags|=8|(s.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(s);let a=kt.get(o);a&&a!=s&&(a.dom=null),s.setDOM(o)},n=this.childPos(e.range.fromB,1),r=this.children[n.i];i(e.line,r);for(let o=e.marks.length-1;o>=-1;o--)n=r.childPos(n.off,1),r=r.children[n.i],i(o>=0?e.marks[o].node:e.text,r)}updateSelection(e=!1,i=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,r=n==this.dom,o=!r&&!(this.view.state.facet(Yr)||this.dom.tabIndex>-1)&&$O(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(r||i||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(ke.gecko&&a.empty&&!this.hasComposition&&CV(l)){let f=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(f,l.node.childNodes[l.offset]||null)),l=c=new Ri(f,0),s=!0}let u=this.view.observer.selectionRange;(s||!u.focusNode||(!$u(l.node,l.offset,u.anchorNode,u.anchorOffset)||!$u(c.node,c.offset,u.focusNode,u.focusOffset))&&!this.suppressWidgetCursorChange(u,a))&&(this.view.observer.ignore(()=>{ke.android&&ke.chrome&&this.dom.contains(u.focusNode)&&XV(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=Uu(this.view.root);if(f)if(a.empty){if(ke.gecko){let d=_V(l.node,l.offset);if(d&&d!=3){let O=(d==1?aC:lC)(l.node,l.offset);O&&(l=new Ri(O.node,O.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(),n&&n.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new Ri(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new Ri(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(e,i){return this.hasComposition&&i.empty&&$u(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==i.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,i=e.state.selection.main,n=Uu(e.root),{anchorNode:r,anchorOffset:o}=e.observer.selectionRange;if(!n||!i.empty||!i.assoc||!n.modify)return;let s=ui.find(this,i.head);if(!s)return;let a=s.posAtStart;if(i.head==a||i.head==a+s.length)return;let l=this.coordsAt(i.head,-1),c=this.coordsAt(i.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(i.head+i.assoc);n.collapse(u.node,u.offset),n.modify("move",i.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=i.from&&n.collapse(r,o)}moveToLine(e){let i=this.dom,n;if(e.node!=i)return e;for(let r=e.offset;!n&&r<i.childNodes.length;r++){let o=kt.get(i.childNodes[r]);o instanceof ui&&(n=o.domAtPos(0))}for(let r=e.offset-1;!n&&r>=0;r--){let o=kt.get(i.childNodes[r]);o instanceof ui&&(n=o.domAtPos(o.length))}return n?new Ri(n.node,n.offset,!0):e}nearest(e){for(let i=e;i;){let n=kt.get(i);if(n&&n.rootView==this)return n;i=i.parentNode}return null}posFromDOM(e,i){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,i)+n.posAtStart}domAtPos(e){let{i,off:n}=this.childCursor().findPos(e,-1);for(;i<this.children.length-1;){let r=this.children[i];if(n<r.length||r instanceof ui)break;i++,n=0}return this.children[i].domAtPos(n)}coordsAt(e,i){let n=null,r=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;if(c<=e&&(c<e||a.covers(-1))&&(l>e||a.covers(1))&&(!n||a instanceof ui&&!(n instanceof ui&&i>=0)))n=a,r=c;else if(n&&c==e&&l==e&&a instanceof Ws&&Math.abs(i)<2){if(a.deco.startSide<0)break;s&&(n=null)}o=c}return n?n.coordsAt(e-r,i):null}coordsForChar(e){let{i,off:n}=this.childPos(e,1),r=this.children[i];if(!(r instanceof ui))return null;for(;r.children.length;){let{i:a,off:l}=r.childPos(n,1);for(;;a++){if(a==r.children.length)return null;if((r=r.children[a]).length)break}n=l}if(!(r instanceof Or))return null;let o=Bt(r.text,n);if(o==n)return null;let s=Zs(r.dom,n,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 i=[],{from:n,to:r}=e,o=this.view.contentDOM.clientWidth,s=o>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==st.LTR;for(let c=0,u=0;u<this.children.length;u++){let f=this.children[u],d=c+f.length;if(d>r)break;if(c>=n){let O=f.dom.getBoundingClientRect();if(i.push(O.height),s){let m=f.dom.lastChild,x=m?Mu(m):[];if(x.length){let v=x[x.length-1],w=l?v.right-O.left:O.right-v.left;w>a&&(a=w,this.minWidth=o,this.minWidthFrom=c,this.minWidthTo=d)}}}c=d+f.breakAfter}return i}textDirectionAt(e){let{i}=this.childPos(e,1);return getComputedStyle(this.children[i].dom).direction=="rtl"?st.RTL:st.LTR}measureTextSize(){for(let o of this.children)if(o instanceof ui){let s=o.measureTextSize();if(s)return s}let e=document.createElement("div"),i,n,r;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=Mu(e.firstChild)[0];i=e.getBoundingClientRect().height,n=o?o.width/27:7,r=o?o.height:i,e.remove()}),{lineHeight:i,charWidth:n,textHeight:r}}childCursor(e=this.length){let i=this.children.length;return i&&(e-=this.children[--i].length),new MO(this.children,e,i)}computeBlockGapDeco(){let e=[],i=this.view.viewState;for(let n=0,r=0;;r++){let o=r==i.viewports.length?null:i.viewports[r],s=o?o.from-1:this.length;if(s>n){let a=(i.lineBlockAt(s).bottom-i.lineBlockAt(n).top)/this.view.scaleY;e.push(we.replace({widget:new Vu(a),block:!0,inclusive:!0,isBlockGap:!0}).range(n,s))}if(!o)break;n=o.to+1}return we.set(e)}updateDeco(){let e=1,i=this.view.state.facet(Zu).map(o=>(this.dynamicDecorationMap[e++]=typeof o=="function")?o(this.view):o),n=!1,r=this.view.state.facet(XC).map((o,s)=>{let a=typeof o=="function";return a&&(n=!0),a?o(this.view):o});for(r.length&&(this.dynamicDecorationMap[e++]=n,i.push(Je.join(r))),this.decorations=[this.editContextFormatting,...i,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;return this.decorations}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}for(let c of this.view.state.facet(_C))try{if(c(this.view,e.range,e))return!0}catch(u){fi(this.view.state,u,"scroll handler")}let{range:i}=e,n=this.coordsAt(i.head,i.empty?i.assoc:i.head>i.anchor?-1:1),r;if(!n)return;!i.empty&&(r=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(n={left:Math.min(n.left,r.left),top:Math.min(n.top,r.top),right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)});let o=Ky(this.view),s={left:n.left-o.left,top:n.top-o.top,right:n.right+o.right,bottom:n.bottom+o.bottom},{offsetWidth:a,offsetHeight:l}=this.view.scrollDOM;cV(this.view.scrollDOM,s,i.head<i.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==st.LTR)}};function CV(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")}function IC(t,e){let i=t.observer.selectionRange;if(!i.focusNode)return null;let n=aC(i.focusNode,i.focusOffset),r=lC(i.focusNode,i.focusOffset),o=n||r;if(r&&n&&r.node!=n.node){let a=kt.get(r.node);if(!a||a instanceof Or&&a.text!=r.node.nodeValue)o=r;else if(t.docView.lastCompositionAfterCursor){let l=kt.get(n.node);!l||l instanceof Or&&l.text!=n.node.nodeValue||(o=r)}}if(t.docView.lastCompositionAfterCursor=o!=n,!o)return null;let s=e-o.offset;return{from:s,to:s+o.node.nodeValue.length,node:o.node}}function QV(t,e,i){let n=IC(t,i);if(!n)return null;let{node:r,from:o,to:s}=n,a=r.nodeValue;if(/[\n\r]/.test(a)||t.state.doc.sliceString(n.from,n.to)!=a)return null;let l=e.invertedDesc,c=new hr(l.mapPos(o),l.mapPos(s),o,s),u=[];for(let f=r.parentNode;;f=f.parentNode){let d=kt.get(f);if(d instanceof Yo)u.push({node:f,deco:d.mark});else{if(d instanceof ui||f.nodeName=="DIV"&&f.parentNode==t.contentDOM)return{range:c,text:r,marks:u,line:f};if(f!=t.contentDOM)u.push({node:f,deco:new ju({inclusive:!0,attributes:mV(f),tagName:f.tagName.toLowerCase()})});else return null}}}function _V(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 AV=class{constructor(){this.changes=[]}compareRange(e,i){XO(e,i,this.changes)}comparePoint(e,i){XO(e,i,this.changes)}boundChange(e){XO(e,e,this.changes)}};function $V(t,e,i){let n=new AV;return Je.compare(t,e,i,n),n.changes}function XV(t,e){for(let i=t;i&&i!=e;i=i.assignedSlot||i.parentNode)if(i.nodeType==1&&i.contentEditable=="false")return!0;return!1}function RV(t,e){let i=!1;return e&&t.iterChangedRanges((n,r)=>{n<e.to&&r>e.from&&(i=!0)}),i}function LV(t,e,i=1){let n=t.charCategorizer(e),r=t.doc.lineAt(e),o=e-r.from;if(r.length==0)return K.cursor(e);o==0?i=1:o==r.length&&(i=-1);let s=o,a=o;i<0?s=Bt(r.text,o,!1):a=Bt(r.text,o);let l=n(r.text.slice(s,a));for(;s>0;){let c=Bt(r.text,s,!1);if(n(r.text.slice(c,s))!=l)break;s=c}for(;a<r.length;){let c=Bt(r.text,a);if(n(r.text.slice(a,c))!=l)break;a=c}return K.range(s+r.from,a+r.from)}function IV(t,e){return e.left>t?e.left-t:Math.max(0,t-e.right)}function DV(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function K1(t,e){return t.top<e.bottom-1&&t.bottom>e.top+1}function kP(t,e){return e<t.top?{top:e,left:t.left,right:t.right,bottom:t.bottom}:t}function SP(t,e){return e>t.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function py(t,e,i){let n,r,o,s,a=!1,l,c,u,f;for(let m=t.firstChild;m;m=m.nextSibling){let x=Mu(m);for(let v=0;v<x.length;v++){let w=x[v];r&&K1(r,w)&&(w=kP(SP(w,r.bottom),r.top));let T=IV(e,w),A=DV(i,w);if(T==0&&A==0)return m.nodeType==3?TP(m,e,i):py(m,e,i);if(!n||s>A||s==A&&o>T){n=m,r=w,o=T,s=A;let L=A?i<w.top?-1:1:T?e<w.left?-1:1:0;a=!L||(L>0?v<x.length-1:v>0)}T==0?i>w.bottom&&(!u||u.bottom<w.bottom)?(l=m,u=w):i<w.top&&(!f||f.top>w.top)&&(c=m,f=w):u&&K1(u,w)?u=SP(u,w.bottom):f&&K1(f,w)&&(f=kP(f,w.top))}}if(u&&u.bottom>=i?(n=l,r=u):f&&f.top<=i&&(n=c,r=f),!n)return{node:t,offset:0};let d=Math.max(r.left,Math.min(r.right,e));if(n.nodeType==3)return TP(n,d,i);if(a&&n.contentEditable!="false")return py(n,d,i);let O=Array.prototype.indexOf.call(t.childNodes,n)+(e>=(r.left+r.right)/2?1:0);return{node:t,offset:O}}function TP(t,e,i){let n=t.nodeValue.length,r=-1,o=1e9,s=0;for(let a=0;a<n;a++){let l=Zs(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>i?u.top-i:i-u.bottom)-1;if(u.left-1<=e&&u.right+1>=e&&f<o){let d=e>=(u.left+u.right)/2,O=d;if((ke.chrome||ke.gecko)&&Zs(t,a).getBoundingClientRect().left==u.right&&(O=!d),f<=0)return{node:t,offset:a+(O?1:0)};r=a+(O?1:0),o=f}}}return{node:t,offset:r>-1?r:s>0?t.nodeValue.length:0}}function DC(t,e,i,n=-1){var r,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 L=t.viewState.heightOracle.textHeight/2,D=!1;l=t.elementAtHeight(d),l.type!=Li.Text;)for(;d=n>0?l.bottom+L:l.top-L,!(d>=0&&d<=c);){if(D)return i?null:0;D=!0,n=-n}f=a+d;let O=l.from;if(O<t.viewport.from)return t.viewport.from==0?0:i?null:EP(t,s,l,u,f);if(O>t.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:i?null:EP(t,s,l,u,f);let m=t.dom.ownerDocument,x=t.root.elementFromPoint?t.root:m,v=x.elementFromPoint(u,f);v&&!t.contentDOM.contains(v)&&(v=null),v||(u=Math.max(s.left+1,Math.min(s.right-1,u)),v=x.elementFromPoint(u,f),v&&!t.contentDOM.contains(v)&&(v=null));let w,T=-1;if(v&&((r=t.docView.nearest(v))===null||r===void 0?void 0:r.isEditable)!=!1){if(m.caretPositionFromPoint){let L=m.caretPositionFromPoint(u,f);L&&({offsetNode:w,offset:T}=L)}else if(m.caretRangeFromPoint){let L=m.caretRangeFromPoint(u,f);L&&({startContainer:w,startOffset:T}=L,(!t.contentDOM.contains(w)||ke.safari&&zV(w,T,u)||ke.chrome&&UV(w,T,u))&&(w=void 0))}w&&(T=Math.min(dr(w),T))}if(!w||!t.docView.dom.contains(w)){let L=ui.find(t.docView,O);if(!L)return d>l.top+l.height/2?l.to:l.from;({node:w,offset:T}=py(L.dom,u,f))}let A=t.docView.nearest(w);if(!A)return null;if(A.isWidget&&((o=A.dom)===null||o===void 0?void 0:o.nodeType)==1){let L=A.dom.getBoundingClientRect();return e.y<L.top||e.y<=L.bottom&&e.x<=(L.left+L.right)/2?A.posAtStart:A.posAtEnd}else return A.localPosFromDOM(w,T)+A.posAtStart}function EP(t,e,i,n,r){let o=Math.round((n-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&i.height>t.defaultLineHeight*1.5){let a=t.viewState.heightOracle.textHeight,l=Math.floor((r-i.top-(t.defaultLineHeight-a)*.5)/a);o+=l*t.viewState.heightOracle.lineLength}let s=t.state.sliceDoc(i.from,i.to);return i.from+vO(s,o,t.state.tabSize)}function zV(t,e,i){let n;if(t.nodeType!=3||e!=(n=t.nodeValue.length))return!1;for(let r=t.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return Zs(t,n-1,n).getBoundingClientRect().left>i}function UV(t,e,i){if(e!=0)return!1;for(let r=t;;){let o=r.parentNode;if(!o||o.nodeType!=1||o.firstChild!=r)return!1;if(o.classList.contains("cm-line"))break;r=o}let n=t.nodeType==1?t.getBoundingClientRect():Zs(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return i-n.left>5}function my(t,e){let i=t.lineBlockAt(e);if(Array.isArray(i.type)){for(let n of i.type)if(n.to>e||n.to==e&&(n.to==i.to||n.type==Li.Text))return n}return i}function MV(t,e,i,n){let r=my(t,e.head),o=!n||r.type!=Li.Text||!(t.lineWrapping||r.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(o){let s=t.dom.getBoundingClientRect(),a=t.textDirectionAt(r.from),l=t.posAtCoords({x:i==(a==st.LTR)?s.right-1:s.left+1,y:(o.top+o.bottom)/2});if(l!=null)return K.cursor(l,i?-1:1)}return K.cursor(i?r.to:r.from,i?-1:1)}function PP(t,e,i,n){let r=t.state.doc.lineAt(e.head),o=t.bidiSpans(r),s=t.textDirectionAt(r.from);for(let a=e,l=null;;){let c=TV(r,o,s,a,i),u=vC;if(!c){if(r.number==(i?t.state.doc.lines:1))return a;u=`
`,r=t.state.doc.line(r.number+(i?1:-1)),o=t.bidiSpans(r),c=t.visualLineSide(r,!i)}if(l){if(!l(u))return a}else{if(!n)return c;l=n(u)}a=c}}function NV(t,e,i){let n=t.state.charCategorizer(e),r=n(i);return o=>{let s=n(o);return r==pt.Space&&(r=s),r==s}}function qV(t,e,i,n){let r=e.head,o=i?1:-1;if(r==(i?t.state.doc.length:0))return K.cursor(r,e.assoc);let s=e.goalColumn,a,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(r,e.assoc||-1),u=t.documentTop;if(c)s==null&&(s=c.left-l.left),a=o<0?c.top:c.bottom;else{let O=t.viewState.lineBlockAt(r);s==null&&(s=Math.min(l.right-l.left,t.defaultCharacterWidth*(r-O.from))),a=(o<0?O.top:O.bottom)+u}let f=l.left+s,d=n!=null?n:t.viewState.heightOracle.textHeight>>1;for(let O=0;;O+=10){let m=a+(d+O)*o,x=DC(t,{x:f,y:m},!1,o);if(m<l.top||m>l.bottom||(o<0?x<r:x>r)){let v=t.docView.coordsForChar(x),w=!v||m<v.top?-1:1;return K.cursor(x,w,void 0,s)}}}function RO(t,e,i){for(;;){let n=0;for(let r of t)r.between(e-1,e+1,(o,s,a)=>{if(e>o&&e<s){let l=n||i||(e-o<s-e?-1:1);e=l<0?o:s,n=l}});if(!n)return e}}function J1(t,e,i){let n=RO(t.state.facet(Gy).map(r=>r(t)),i.from,e.head>i.from?-1:1);return n==i.from?i:K.cursor(n,n<i.from?1:-1)}var Qu="\uFFFF",gy=class{constructor(e,i){this.points=e,this.text="",this.lineSeparator=i.facet(ot.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Qu}readRange(e,i){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let o=this.text.length;this.readNode(r);let s=r.nextSibling;if(s==i)break;let a=kt.get(r),l=kt.get(s);(a&&l?a.breakAfter:(a?a.breakAfter:UO(r))||UO(s)&&(r.nodeName!="BR"||r.cmIgnore)&&this.text.length>o)&&this.lineBreak(),r=s}return this.findPointBefore(n,i),this}readTextNode(e){let i=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,i.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let o=-1,s=1,a;if(this.lineSeparator?(o=i.indexOf(this.lineSeparator,n),s=this.lineSeparator.length):(a=r.exec(i))&&(o=a.index,s=a[0].length),this.append(i.slice(n,o<0?i.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);n=o+s}}readNode(e){if(e.cmIgnore)return;let i=kt.get(e),n=i&&i.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let r=n.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.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,i){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==i&&(n.pos=this.text.length)}findPointInside(e,i){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(jV(e,n.node,n.offset)?i:0))}};function jV(t,e,i){for(;;){if(!e||i<dr(e))return!1;if(e==t)return!0;i=Vs(e)+1,e=e.parentNode}}var WO=class{constructor(e,i){this.node=e,this.offset=i,this.pos=-1}},by=class{constructor(e,i,n,r){this.typeOver=r,this.bounds=null,this.text="",this.domChanged=i>-1;let{impreciseHead:o,impreciseAnchor:s}=e.docView;if(e.state.readOnly&&i>-1)this.newSel=null;else if(i>-1&&(this.bounds=e.docView.domBoundsAround(i,n,0))){let a=o||s?[]:ZV(e),l=new gy(a,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=BV(a,this.bounds.from)}else{let a=e.observer.selectionRange,l=o&&o.node==a.focusNode&&o.offset==a.focusOffset||!ry(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||!ry(e.contentDOM,a.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(a.anchorNode,a.anchorOffset),u=e.viewport;if((ke.ios||ke.chrome)&&e.state.selection.main.empty&&l!=c&&(u.from>0||u.to<e.state.doc.length)){let f=Math.min(l,c),d=Math.max(l,c),O=u.from-f,m=u.to-d;(O==0||O==1||f==0)&&(m==0||m==-1||d==e.state.doc.length)&&(l=0,c=e.state.doc.length)}this.newSel=K.single(c,l)}}};function zC(t,e){let i,{newSel:n}=e,r=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=r.from,c=null;(o===8||ke.android&&e.text.length<a-s)&&(l=r.to,c="end");let u=VV(t.state.doc.sliceString(s,a,Qu),e.text,l-s,c);u&&(ke.chrome&&o==13&&u.toB==u.from+2&&e.text.slice(u.from,u.toB)==Qu+Qu&&u.toB--,i={from:s+u.from,to:s+u.toA,insert:Fe.of(e.text.slice(u.from,u.toB).split(Qu))})}else n&&(!t.hasFocus&&t.state.facet(Yr)||n.main.eq(r))&&(n=null);if(!i&&!n)return!1;if(!i&&e.typeOver&&!r.empty&&n&&n.main.empty?i={from:r.from,to:r.to,insert:t.state.doc.slice(r.from,r.to)}:(ke.mac||ke.android)&&i&&i.from==i.to&&i.from==r.head-1&&/^\. ?$/.test(i.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(n&&i.insert.length==2&&(n=K.single(n.main.anchor-1,n.main.head-1)),i={from:i.from,to:i.to,insert:Fe.of([i.insert.toString().replace("."," ")])}):i&&i.from>=r.from&&i.to<=r.to&&(i.from!=r.from||i.to!=r.to)&&r.to-r.from-(i.to-i.from)<=4?i={from:r.from,to:r.to,insert:t.state.doc.slice(r.from,i.from).append(i.insert).append(t.state.doc.slice(i.to,r.to))}:ke.chrome&&i&&i.from==i.to&&i.from==r.head&&i.insert.toString()==`
`&&t.lineWrapping&&(n&&(n=K.single(n.main.anchor-1,n.main.head-1)),i={from:r.from,to:r.to,insert:Fe.of([" "])}),i)return Jy(t,i,n,o);if(n&&!n.main.eq(r)){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:n,scrollIntoView:s,userEvent:a}),!0}else return!1}function Jy(t,e,i,n=-1){if(ke.ios&&t.inputState.flushIOSKey(e))return!0;let r=t.state.selection.main;if(ke.android&&(e.to==r.to&&(e.from==r.from||e.from==r.from-1&&t.state.sliceDoc(e.from,r.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&ml(t.contentDOM,"Enter",13)||(e.from==r.from-1&&e.to==r.to&&e.insert.length==0||n==8&&e.insert.length<e.to-e.from&&e.to>r.head)&&ml(t.contentDOM,"Backspace",8)||e.from==r.from&&e.to==r.to+1&&e.insert.length==0&&ml(t.contentDOM,"Delete",46)))return!0;let o=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let s,a=()=>s||(s=WV(t,e,i));return t.state.facet(EC).some(l=>l(t,e.from,e.to,o,a))||t.dispatch(a()),!0}function WV(t,e,i){let n,r=t.state,o=r.selection.main;if(e.from>=o.from&&e.to<=o.to&&e.to-e.from>=(o.to-o.from)/3&&(!i||i.main.empty&&i.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let a=o.from<e.from?r.sliceDoc(o.from,e.from):"",l=o.to>e.to?r.sliceDoc(e.to,o.to):"";n=r.replaceSelection(t.state.toText(a+e.insert.sliceString(0,void 0,t.state.lineBreak)+l))}else{let a=r.changes(e),l=i&&i.main.to<=a.newLength?i.main:void 0;if(r.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=i&&IC(t,i.main.head);if(f){let m=e.insert.length-(e.to-e.from);u={from:f.from,to:f.to-m}}else u=t.state.doc.lineAt(o.head);let d=o.to-e.to,O=o.to-o.from;n=r.changeByRange(m=>{if(m.from==o.from&&m.to==o.to)return{changes:a,range:l||m.map(a)};let x=m.to-d,v=x-c.length;if(m.to-m.from!=O||t.state.sliceDoc(v,x)!=c||m.to>=u.from&&m.from<=u.to)return{range:m};let w=r.changes({from:v,to:x,insert:e.insert}),T=m.to-o.to;return{changes:w,range:l?K.range(Math.max(0,l.anchor+T),Math.max(0,l.head+T)):m.map(w)}})}else n={changes:a,selection:l&&r.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)),r.update(n,{userEvent:s,scrollIntoView:!0})}function VV(t,e,i,n){let r=Math.min(t.length,e.length),o=0;for(;o<r&&t.charCodeAt(o)==e.charCodeAt(o);)o++;if(o==r&&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(n=="end"){let l=Math.max(0,o-Math.min(s,a));i-=s+l-o}if(s<o&&t.length<e.length){let l=i<=o&&i>=s?o-i:0;o-=l,a=o+(a-s),s=o}else if(a<o){let l=i<=o&&i>=a?o-i:0;o-=l,s=o+(s-a),a=o}return{from:o,toA:s,toB:a}}function ZV(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:n,focusNode:r,focusOffset:o}=t.observer.selectionRange;return i&&(e.push(new WO(i,n)),(r!=i||o!=n)&&e.push(new WO(r,o))),e}function BV(t,e){if(t.length==0)return null;let i=t[0].pos,n=t.length==2?t[1].pos:i;return i>-1&&n>-1?K.single(i+e,n+e):null}var yy=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.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=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,ke.safari&&e.contentDOM.addEventListener("input",()=>null),ke.gecko&&lZ(e.contentDOM.ownerDocument)}handleEvent(e){!eZ(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||(this.view.updateState!=0?Promise.resolve().then(()=>this.runHandlers(e.type,e)):this.runHandlers(e.type,e))}runHandlers(e,i){let n=this.handlers[e];if(n){for(let r of n.observers)r(this.view,i);for(let r of n.handlers){if(i.defaultPrevented)break;if(r(this.view,i)){i.preventDefault();break}}}}ensureHandlers(e){let i=YV(e),n=this.handlers,r=this.view.contentDOM;for(let o in i)if(o!="scroll"){let s=!i[o].handlers.length,a=n[o];a&&s!=!a.handlers.length&&(r.removeEventListener(o,this.handleEvent),a=null),a||r.addEventListener(o,this.handleEvent,{passive:s})}for(let o in n)o!="scroll"&&!i[o]&&r.removeEventListener(o,this.handleEvent);this.handlers=i}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&MC.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),ke.android&&ke.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let i;return ke.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((i=UC.find(n=>n.keyCode==e.keyCode))&&!e.ctrlKey||FV.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=i||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let i=this.pendingIOSKey;return!i||i.key=="Enter"&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString())?!1:(this.pendingIOSKey=void 0,ml(this.view.contentDOM,i.key,i.keyCode,i instanceof KeyboardEvent?i:void 0))}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:ke.safari&&!ke.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.view.observer.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 CP(t,e){return(i,n)=>{try{return e.call(t,n,i)}catch(r){fi(i.state,r)}}}function YV(t){let e=Object.create(null);function i(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of t){let r=n.spec;if(r&&r.domEventHandlers)for(let o in r.domEventHandlers){let s=r.domEventHandlers[o];s&&i(o).handlers.push(CP(n.value,s))}if(r&&r.domEventObservers)for(let o in r.domEventObservers){let s=r.domEventObservers[o];s&&i(o).observers.push(CP(n.value,s))}}for(let n in Wn)i(n).handlers.push(Wn[n]);for(let n in wn)i(n).observers.push(wn[n]);return e}var UC=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],FV="dthko",MC=[16,17,18,20,91,92,224,225],TO=6;function EO(t){return Math.max(0,t)*.7+8}function HV(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}var xy=class{constructor(e,i,n,r){this.view=e,this.startEvent=i,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=i,this.scrollParents=uV(e.contentDOM),this.atoms=e.state.facet(Gy).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=i.shiftKey,this.multiple=e.state.facet(ot.allowMultipleSelections)&&GV(e,i),this.dragging=JV(e,i)&&jC(i)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&HV(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let i=0,n=0,r=0,o=0,s=this.view.win.innerWidth,a=this.view.win.innerHeight;this.scrollParents.x&&({left:r,right:s}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:o,bottom:a}=this.scrollParents.y.getBoundingClientRect());let l=Ky(this.view);e.clientX-l.left<=r+TO?i=-EO(r-e.clientX):e.clientX+l.right>=s-TO&&(i=EO(e.clientX-s)),e.clientY-l.top<=o+TO?n=-EO(o-e.clientY):e.clientY+l.bottom>=a-TO&&(n=EO(e.clientY-a)),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,i){this.scrollSpeed={x:e,y:i},e||i?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:i}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),i&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=i,i=0),(e||i)&&this.view.win.scrollBy(e,i),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let i=null;for(let n=0;n<e.ranges.length;n++){let r=e.ranges[n],o=null;if(r.empty){let s=RO(this.atoms,r.from,0);s!=r.from&&(o=K.cursor(s,-1))}else{let s=RO(this.atoms,r.from,-1),a=RO(this.atoms,r.to,1);(s!=r.from||a!=r.to)&&(o=K.range(r.from==r.anchor?s:a,r.from==r.head?s:a))}o&&(i||(i=e.ranges.slice()),i[n]=o)}return i?K.create(i,e.mainIndex):e}select(e){let{view:i}=this,n=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(i.state.selection,this.dragging===!1))&&this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(i=>i.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}};function GV(t,e){let i=t.state.facet(wC);return i.length?i[0](e):ke.mac?e.metaKey:e.ctrlKey}function KV(t,e){let i=t.state.facet(kC);return i.length?i[0](e):ke.mac?!e.altKey:!e.ctrlKey}function JV(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let n=Uu(t.root);if(!n||n.rangeCount==0)return!0;let r=n.getRangeAt(0).getClientRects();for(let o=0;o<r.length;o++){let s=r[o];if(s.left<=e.clientX&&s.right>=e.clientX&&s.top<=e.clientY&&s.bottom>=e.clientY)return!0}return!1}function eZ(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i=e.target,n;i!=t.contentDOM;i=i.parentNode)if(!i||i.nodeType==11||(n=kt.get(i))&&n.ignoreEvent(e))return!1;return!0}var Wn=Object.create(null),wn=Object.create(null),NC=ke.ie&&ke.ie_version<15||ke.ios&&ke.webkit_version<604;function tZ(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{t.focus(),i.remove(),qC(t,i.value)},50)}function ip(t,e,i){for(let n of t.facet(e))i=n(i,t);return i}function qC(t,e){e=ip(t.state,Yy,e);let{state:i}=t,n,r=1,o=i.toText(e),s=o.lines==i.selection.ranges.length;if(vy!=null&&i.selection.ranges.every(l=>l.empty)&&vy==o.toString()){let l=-1;n=i.changeByRange(c=>{let u=i.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let f=i.toText((s?o.line(r++).text:e)+i.lineBreak);return{changes:{from:u.from,insert:f},range:K.cursor(c.from+f.length)}})}else s?n=i.changeByRange(l=>{let c=o.line(r++);return{changes:{from:l.from,to:l.to,insert:c.text},range:K.cursor(l.from+c.length)}}):n=i.replaceSelection(o);t.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}wn.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};Wn.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1);wn.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};wn.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Wn.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let i=null;for(let n of t.state.facet(SC))if(i=n(t,e),i)break;if(!i&&e.button==0&&(i=rZ(t,e)),i){let n=!t.hasFocus;t.inputState.startMouseSelection(new xy(t,e,i,n)),n&&t.observer.ignore(()=>{rC(t.contentDOM);let o=t.root.activeElement;o&&!o.contains(t.contentDOM)&&o.blur()});let r=t.inputState.mouseSelection;if(r)return r.start(e),r.dragging===!1}return!1};function QP(t,e,i,n){if(n==1)return K.cursor(e,i);if(n==2)return LV(t.state,e,i);{let r=ui.find(t.docView,e),o=t.state.doc.lineAt(r?r.posAtEnd:e),s=r?r.posAtStart:o.from,a=r?r.posAtEnd:o.to;return a<t.state.doc.length&&a==o.to&&a++,K.range(s,a)}}var _P=(t,e,i)=>e>=i.top&&e<=i.bottom&&t>=i.left&&t<=i.right;function iZ(t,e,i,n){let r=ui.find(t.docView,e);if(!r)return 1;let o=e-r.posAtStart;if(o==0)return 1;if(o==r.length)return-1;let s=r.coordsAt(o,-1);if(s&&_P(i,n,s))return-1;let a=r.coordsAt(o,1);return a&&_P(i,n,a)?1:s&&s.bottom>=n?-1:1}function AP(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:iZ(t,i,e.clientX,e.clientY)}}var nZ=ke.ie&&ke.ie_version<=11,$P=null,XP=0,RP=0;function jC(t){if(!nZ)return t.detail;let e=$P,i=RP;return $P=t,RP=Date.now(),XP=!e||i>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(XP+1)%3:1}function rZ(t,e){let i=AP(t,e),n=jC(e),r=t.state.selection;return{update(o){o.docChanged&&(i.pos=o.changes.mapPos(i.pos),r=r.map(o.changes))},get(o,s,a){let l=AP(t,o),c,u=QP(t,l.pos,l.bias,n);if(i.pos!=l.pos&&!s){let f=QP(t,i.pos,i.bias,n),d=Math.min(f.from,u.from),O=Math.max(f.to,u.to);u=d<u.from?K.range(d,O):K.range(O,d)}return s?r.replaceRange(r.main.extend(u.from,u.to)):a&&n==1&&r.ranges.length>1&&(c=oZ(r,l.pos))?c:a?r.addRange(u):K.create([u])}}}function oZ(t,e){for(let i=0;i<t.ranges.length;i++){let{from:n,to:r}=t.ranges[i];if(n<=e&&r>=e)return K.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}return null}Wn.dragstart=(t,e)=>{let{selection:{main:i}}=t.state;if(e.target.draggable){let r=t.docView.nearest(e.target);if(r&&r.isWidget){let o=r.posAtStart,s=o+r.length;(o>=i.to||s<=i.from)&&(i=K.range(o,s))}}let{inputState:n}=t;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=i,e.dataTransfer&&(e.dataTransfer.setData("Text",ip(t.state,Fy,t.state.sliceDoc(i.from,i.to))),e.dataTransfer.effectAllowed="copyMove"),!1};Wn.dragend=t=>(t.inputState.draggedContent=null,!1);function LP(t,e,i,n){if(i=ip(t.state,Yy,i),!i)return;let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:o}=t.inputState,s=n&&o&&KV(t,e)?{from:o.from,to:o.to}:null,a={from:r,insert:i},l=t.state.changes(s?[s,a]:a);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(r,-1),head:l.mapPos(r,1)},userEvent:s?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Wn.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let i=e.dataTransfer.files;if(i&&i.length){let n=Array(i.length),r=0,o=()=>{++r==i.length&&LP(t,e,n.filter(s=>s!=null).join(t.state.lineBreak),!1)};for(let s=0;s<i.length;s++){let a=new FileReader;a.onerror=o,a.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(n[s]=a.result),o()},a.readAsText(i[s])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return LP(t,e,n,!0),!0}return!1};Wn.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let i=NC?null:e.clipboardData;return i?(qC(t,i.getData("text/plain")||i.getData("text/uri-list")),!0):(tZ(t),!1)};function sZ(t,e){let i=t.dom.parentNode;if(!i)return;let n=i.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),t.focus()},50)}function aZ(t){let e=[],i=[],n=!1;for(let r of t.selection.ranges)r.empty||(e.push(t.sliceDoc(r.from,r.to)),i.push(r));if(!e.length){let r=-1;for(let{from:o}of t.selection.ranges){let s=t.doc.lineAt(o);s.number>r&&(e.push(s.text),i.push({from:s.from,to:Math.min(t.doc.length,s.to+1)})),r=s.number}n=!0}return{text:ip(t,Fy,e.join(t.lineBreak)),ranges:i,linewise:n}}var vy=null;Wn.copy=Wn.cut=(t,e)=>{let{text:i,ranges:n,linewise:r}=aZ(t.state);if(!i&&!r)return!1;vy=r?i:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let o=NC?null:e.clipboardData;return o?(o.clearData(),o.setData("text/plain",i),!0):(sZ(t,i),!1)};var WC=ki.define();function VC(t,e){let i=[];for(let n of t.facet(PC)){let r=n(t,e);r&&i.push(r)}return i?t.update({effects:i,annotations:WC.of(!0)}):null}function ZC(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let i=VC(t.state,e);i?t.dispatch(i):t.update([])}},10)}wn.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),ZC(t)};wn.blur=t=>{t.observer.clearSelectionRange(),ZC(t)};wn.compositionstart=wn.compositionupdate=t=>{t.observer.editContext||(t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))};wn.compositionend=t=>{t.observer.editContext||(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,ke.chrome&&ke.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))};wn.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Wn.beforeinput=(t,e)=>{var i,n;if(e.inputType=="insertReplacementText"&&t.observer.editContext){let o=(i=e.dataTransfer)===null||i===void 0?void 0:i.getData("text/plain"),s=e.getTargetRanges();if(o&&s.length){let a=s[0],l=t.posAtDOM(a.startContainer,a.startOffset),c=t.posAtDOM(a.endContainer,a.endOffset);return Jy(t,{from:l,to:c,insert:t.state.toText(o)},null),!0}}let r;if(ke.chrome&&ke.android&&(r=UC.find(o=>o.inputType==e.inputType))&&(t.observer.delayAndroidKey(r.key,r.keyCode),r.key=="Backspace"||r.key=="Delete")){let o=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>o+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return ke.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),ke.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>wn.compositionend(t,e),20),!1};var IP=new Set;function lZ(t){IP.has(t)||(IP.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}var DP=["pre-wrap","normal","pre-line","break-spaces"],gl=!1;function zP(){gl=!1}var wy=class{constructor(e){this.lineWrapping=e,this.doc=Fe.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,i){let n=this.doc.lineAt(i).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((i-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}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 DP.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let i=!1;for(let n=0;n<e.length;n++){let r=e[n];r<0?n++:this.heightSamples[Math.floor(r*10)]||(i=!0,this.heightSamples[Math.floor(r*10)]=!0)}return i}refresh(e,i,n,r,o,s){let a=DP.indexOf(e)>-1,l=Math.round(i)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=i,this.charWidth=n,this.textHeight=r,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}},ky=class{constructor(e,i){this.from=e,this.heights=i,this.index=0}get more(){return this.index<this.heights.length}},ur=class t{constructor(e,i,n,r,o){this.from=e,this.length=i,this.top=n,this.height=r,this._content=o}get type(){return typeof this._content=="number"?Li.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 Fo?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(e){let i=(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,i)}},St=function(t){return t[t.ByPos=0]="ByPos",t[t.ByHeight=1]="ByHeight",t[t.ByPosNoHeight=2]="ByPosNoHeight",t}(St||(St={})),LO=.001,rn=class t{constructor(e,i,n=2){this.length=e,this.height=i,this.flags=n}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>LO&&(gl=!0),this.height=e)}replace(e,i,n){return t.of(n)}decomposeLeft(e,i){i.push(this)}decomposeRight(e,i){i.push(this)}applyChanges(e,i,n,r){let o=this,s=n.doc;for(let a=r.length-1;a>=0;a--){let{fromA:l,toA:c,fromB:u,toB:f}=r[a],d=o.lineAt(l,St.ByPosNoHeight,n.setDoc(i),0,0),O=d.to>=c?d:o.lineAt(c,St.ByPosNoHeight,n,0,0);for(f+=O.to-c,c=O.to;a>0&&d.from<=r[a-1].toA;)l=r[a-1].fromA,u=r[a-1].fromB,a--,l<d.from&&(d=o.lineAt(l,St.ByPosNoHeight,n,0,0));u+=d.from-l,l=d.from;let m=Ty.build(n.setDoc(s),e,u,f);o=VO(o,o.replace(l,c,m))}return o.updateHeight(n,0)}static empty(){return new vn(0,0)}static of(e){if(e.length==1)return e[0];let i=0,n=e.length,r=0,o=0;for(;;)if(i==n)if(r>o*2){let a=e[i-1];a.break?e.splice(--i,1,a.left,null,a.right):e.splice(--i,1,a.left,a.right),n+=1+a.break,r-=a.size}else if(o>r*2){let a=e[n];a.break?e.splice(n,1,a.left,null,a.right):e.splice(n,1,a.left,a.right),n+=2+a.break,o-=a.size}else break;else if(r<o){let a=e[i++];a&&(r+=a.size)}else{let a=e[--n];a&&(o+=a.size)}let s=0;return e[i-1]==null?(s=1,i--):e[i]==null&&(s=1,n++),new Sy(t.of(e.slice(0,i)),s,t.of(e.slice(n)))}};function VO(t,e){return t==e?t:(t.constructor!=e.constructor&&(gl=!0),e)}rn.prototype.size=1;var ZO=class extends rn{constructor(e,i,n){super(e,i),this.deco=n}blockAt(e,i,n,r){return new ur(r,this.length,n,this.height,this.deco||0)}lineAt(e,i,n,r,o){return this.blockAt(0,n,r,o)}forEachLine(e,i,n,r,o,s){e<=o+this.length&&i>=o&&s(this.blockAt(0,n,r,o))}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more&&this.setHeight(r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}},vn=class t extends ZO{constructor(e,i){super(e,i,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,i,n,r){return new ur(r,this.length,n,this.height,this.breaks)}replace(e,i,n){let r=n[0];return n.length==1&&(r instanceof t||r instanceof Bo&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof Bo?r=new t(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):rn.of(n)}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more?this.setHeight(r.heights[r.index++]):(n||this.outdated)&&this.setHeight(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:""})`}},Bo=class t extends rn{constructor(e){super(e,0)}heightMetrics(e,i){let n=e.doc.lineAt(i).number,r=e.doc.lineAt(i+this.length).number,o=r-n+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:n,lastLine:r,perLine:s,perChar:a}}blockAt(e,i,n,r){let{firstLine:o,lastLine:s,perLine:a,perChar:l}=this.heightMetrics(i,r);if(i.lineWrapping){let c=r+(e<i.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length)),u=i.doc.lineAt(c),f=a+u.length*l,d=Math.max(n,e-f/2);return new ur(u.from,u.length,d,f,0)}else{let c=Math.max(0,Math.min(s-o,Math.floor((e-n)/a))),{from:u,length:f}=i.doc.line(o+c);return new ur(u,f,n+a*c,a,0)}}lineAt(e,i,n,r,o){if(i==St.ByHeight)return this.blockAt(e,n,r,o);if(i==St.ByPosNoHeight){let{from:O,to:m}=n.doc.lineAt(e);return new ur(O,m-O,0,0,0)}let{firstLine:s,perLine:a,perChar:l}=this.heightMetrics(n,o),c=n.doc.lineAt(e),u=a+c.length*l,f=c.number-s,d=r+a*f+l*(c.from-o-f);return new ur(c.from,c.length,Math.max(r,Math.min(d,r+this.height-u)),u,0)}forEachLine(e,i,n,r,o,s){e=Math.max(e,o),i=Math.min(i,o+this.length);let{firstLine:a,perLine:l,perChar:c}=this.heightMetrics(n,o);for(let u=e,f=r;u<=i;){let d=n.doc.lineAt(u);if(u==e){let m=d.number-a;f+=l*m+c*(e-o-m)}let O=l+c*d.length;s(new ur(d.from,d.length,f,O,0)),f+=O,u=d.to+1}}replace(e,i,n){let r=this.length-i;if(r>0){let o=n[n.length-1];o instanceof t?n[n.length-1]=new t(o.length+r):n.push(null,new t(r-1))}if(e>0){let o=n[0];o instanceof t?n[0]=new t(e+o.length):n.unshift(new t(e-1),null)}return rn.of(n)}decomposeLeft(e,i){i.push(new t(e-1),null)}decomposeRight(e,i){i.push(null,new t(this.length-e-1))}updateHeight(e,i=0,n=!1,r){let o=i+this.length;if(r&&r.from<=i+this.length&&r.more){let s=[],a=Math.max(i,r.from),l=-1;for(r.from>i&&s.push(new t(r.from-i-1).updateHeight(e,i));a<=o&&r.more;){let u=e.doc.lineAt(a).length;s.length&&s.push(null);let f=r.heights[r.index++];l==-1?l=f:Math.abs(f-l)>=LO&&(l=-2);let d=new vn(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=rn.of(s);return(l<0||Math.abs(c.height-this.height)>=LO||Math.abs(l-this.heightMetrics(e,i).perLine)>=LO)&&(gl=!0),VO(this,c)}else(n||this.outdated)&&(this.setHeight(e.heightForGap(i,i+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}},Sy=class extends rn{constructor(e,i,n){super(e.length+i+n.length,e.height+n.height,i|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,i,n,r){let o=n+this.left.height;return e<o?this.left.blockAt(e,i,n,r):this.right.blockAt(e,i,o,r+this.left.length+this.break)}lineAt(e,i,n,r,o){let s=r+this.left.height,a=o+this.left.length+this.break,l=i==St.ByHeight?e<s:e<a,c=l?this.left.lineAt(e,i,n,r,o):this.right.lineAt(e,i,n,s,a);if(this.break||(l?c.to<a:c.from>a))return c;let u=i==St.ByPosNoHeight?St.ByPosNoHeight:St.ByPos;return l?c.join(this.right.lineAt(a,u,n,s,a)):this.left.lineAt(a,u,n,r,o).join(c)}forEachLine(e,i,n,r,o,s){let a=r+this.left.height,l=o+this.left.length+this.break;if(this.break)e<l&&this.left.forEachLine(e,i,n,r,o,s),i>=l&&this.right.forEachLine(e,i,n,a,l,s);else{let c=this.lineAt(l,St.ByPos,n,r,o);e<c.from&&this.left.forEachLine(e,c.from-1,n,r,o,s),c.to>=e&&c.from<=i&&s(c),i>c.to&&this.right.forEachLine(c.to+1,i,n,a,l,s)}}replace(e,i,n){let r=this.left.length+this.break;if(i<r)return this.balanced(this.left.replace(e,i,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,i-r,n));let o=[];e>0&&this.decomposeLeft(e,o);let s=o.length;for(let a of n)o.push(a);if(e>0&&UP(o,s-1),i<this.length){let a=o.length;this.decomposeRight(i,o),UP(o,a)}return rn.of(o)}decomposeLeft(e,i){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,i);i.push(this.left),this.break&&(n++,e>=n&&i.push(null)),e>n&&this.right.decomposeLeft(e-n,i)}decomposeRight(e,i){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,i);e<n&&this.left.decomposeRight(e,i),this.break&&e<r&&i.push(null),i.push(this.right)}balanced(e,i){return e.size>2*i.size||i.size>2*e.size?rn.of(this.break?[e,null,i]:[e,i]):(this.left=VO(this.left,e),this.right=VO(this.right,i),this.setHeight(e.height+i.height),this.outdated=e.outdated||i.outdated,this.size=e.size+i.size,this.length=e.length+this.break+i.length,this)}updateHeight(e,i=0,n=!1,r){let{left:o,right:s}=this,a=i+o.length+this.break,l=null;return r&&r.from<=i+o.length&&r.more?l=o=o.updateHeight(e,i,n,r):o.updateHeight(e,i,n),r&&r.from<=a+s.length&&r.more?l=s=s.updateHeight(e,a,n,r):s.updateHeight(e,a,n),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 UP(t,e){let i,n;t[e]==null&&(i=t[e-1])instanceof Bo&&(n=t[e+1])instanceof Bo&&t.splice(e-1,3,new Bo(i.length+1+n.length))}var cZ=5,Ty=class t{constructor(e,i){this.pos=e,this.oracle=i,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,i){if(this.lineStart>-1){let n=Math.min(i,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof vn?r.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new vn(n-this.pos,-1)),this.writtenTo=n,i>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=i}point(e,i,n){if(e<i||n.heightRelevant){let r=n.widget?n.widget.estimatedHeight:0,o=n.widget?n.widget.lineBreaks:0;r<0&&(r=this.oracle.lineHeight);let s=i-e;n.block?this.addBlock(new ZO(s,r,n)):(s||o||r>=cZ)&&this.addLineDeco(r,o,s)}else i>e&&this.span(e,i);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:i}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=i,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 vn(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,i){let n=new Bo(i-e);return this.oracle.doc.lineAt(e).to==i&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof vn)return e;let i=new vn(0,-1);return this.nodes.push(i),i}addBlock(e){this.enterLine();let i=e.deco;i&&i.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i&&i.endSide>0&&(this.covering=e)}addLineDeco(e,i,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=i,this.writtenTo=this.pos=this.pos+n}finish(e){let i=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(i instanceof vn)&&!this.isCovered?this.nodes.push(new vn(0,-1)):(this.writtenTo<this.pos||i==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let n=e;for(let r of this.nodes)r instanceof vn&&r.updateHeight(this.oracle,n),n+=r?r.length:1;return this.nodes}static build(e,i,n,r){let o=new t(n,e);return Je.spans(i,n,r,o,0),o.finish(n)}};function uZ(t,e,i){let n=new Ey;return Je.compare(t,e,i,n,0),n.changes}var Ey=class{constructor(){this.changes=[]}compareRange(){}comparePoint(e,i,n,r){(e<i||n&&n.heightRelevant||r&&r.heightRelevant)&&XO(e,i,this.changes,5)}};function fZ(t,e){let i=t.getBoundingClientRect(),n=t.ownerDocument,r=n.defaultView||window,o=Math.max(0,i.left),s=Math.min(r.innerWidth,i.right),a=Math.max(0,i.top),l=Math.min(r.innerHeight,i.bottom);for(let c=t.parentNode;c&&c!=n.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=Math.min(c==t.parentNode?r.innerHeight: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-i.left,right:Math.max(o,s)-i.left,top:a-(i.top+e),bottom:Math.max(a,l)-(i.top+e)}}function hZ(t){let e=t.getBoundingClientRect(),i=t.ownerDocument.defaultView||window;return e.left<i.innerWidth&&e.right>0&&e.top<i.innerHeight&&e.bottom>0}function dZ(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}var Iu=class{constructor(e,i,n,r){this.from=e,this.to=i,this.size=n,this.displaySize=r}static same(e,i){if(e.length!=i.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],o=i[n];if(r.from!=o.from||r.to!=o.to||r.size!=o.size)return!1}return!0}draw(e,i){return we.replace({widget:new Py(this.displaySize*(i?e.scaleY:e.scaleX),i)}).range(this.from,this.to)}},Py=class extends ii{constructor(e,i){super(),this.size=e,this.vertical=i}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}},BO=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=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=MP,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=st.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let i=e.facet(Hy).some(n=>typeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new wy(i),this.stateDeco=e.facet(Zu).filter(n=>typeof n!="function"),this.heightMap=rn.empty().applyChanges(this.stateDeco,Fe.empty,this.heightOracle.setDoc(e.doc),[new hr(0,0,0,e.doc.length)]);for(let n=0;n<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());n++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=we.set(this.lineGaps.map(n=>n.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:i}=this.state.selection;for(let n=0;n<=1;n++){let r=n?i.head:i.anchor;if(!e.some(({from:o,to:s})=>r>=o&&r<=s)){let{from:o,to:s}=this.lineBlockAt(r);e.push(new dl(o,s))}}return this.viewports=e.sort((n,r)=>n.from-r.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?MP:new Cy(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(_u(e,this.scaler))})}update(e,i=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(Zu).filter(u=>typeof u!="function");let r=e.changedRanges,o=hr.extendWithRanges(r,uZ(n,this.stateDeco,e?e.changes:Ai.empty(this.state.doc.length))),s=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);zP(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),o),(this.heightMap.height!=s||gl)&&(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;(i&&(i.range.head<l.from||i.range.head>l.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,i));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(c||!e.changes.empty||e.flags&2)&&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(e.changes),i&&(this.scrollTarget=i),!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 i=e.contentDOM,n=window.getComputedStyle(i),r=this.heightOracle,o=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?st.RTL:st.LTR;let s=this.heightOracle.mustRefreshForWrapping(o),a=i.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:L,scaleY:D}=nC(i,a);(L>.005&&Math.abs(this.scaleX-L)>.005||D>.005&&Math.abs(this.scaleY-D)>.005)&&(this.scaleX=L,this.scaleY=D,c|=16,s=l=!0)}let f=(parseInt(n.paddingTop)||0)*this.scaleY,d=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=f||this.paddingBottom!=d)&&(this.paddingTop=f,this.paddingBottom=d,c|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=16);let O=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=O&&(this.scrollAnchorHeight=-1,this.scrollTop=O),this.scrolledToBottom=sC(e.scrollDOM);let m=(this.printing?dZ:fZ)(i,this.paddingTop),x=m.top-this.pixelViewport.top,v=m.bottom-this.pixelViewport.bottom;this.pixelViewport=m;let w=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(w!=this.inView&&(this.inView=w,w&&(l=!0)),!this.inView&&!this.scrollTarget&&!hZ(e.dom))return 0;let T=a.width;if((this.contentDOMWidth!=T||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=a.width,this.editorHeight=e.scrollDOM.clientHeight,c|=16),l){let L=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(L)&&(s=!0),s||r.lineWrapping&&Math.abs(T-this.contentDOMWidth)>r.charWidth){let{lineHeight:D,charWidth:P,textHeight:N}=e.docView.measureTextSize();s=D>0&&r.refresh(o,D,P,N,T/P,L),s&&(e.docView.minWidth=0,c|=16)}x>0&&v>0?u=Math.max(x,v):x<0&&v<0&&(u=Math.min(x,v)),zP();for(let D of this.viewports){let P=D.from==this.viewport.from?L:e.docView.measureVisibleLineHeights(D);this.heightMap=(s?rn.empty().applyChanges(this.stateDeco,Fe.empty,this.heightOracle,[new hr(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,s,new ky(D.from,P))}gl&&(c|=2)}let A=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return A&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(c&2||A)&&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,i){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,o=this.heightOracle,{visibleTop:s,visibleBottom:a}=this,l=new dl(r.lineAt(s-n*1e3,St.ByHeight,o,0,0).from,r.lineAt(a+(1-n)*1e3,St.ByHeight,o,0,0).to);if(i){let{head:c}=i.range;if(c<l.from||c>l.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=r.lineAt(c,St.ByPos,o,0,0),d;i.y=="center"?d=(f.top+f.bottom)/2-u/2:i.y=="start"||i.y=="nearest"&&c<l.from?d=f.top:d=f.bottom-u,l=new dl(r.lineAt(d-1e3/2,St.ByHeight,o,0,0).from,r.lineAt(d+u+1e3/2,St.ByHeight,o,0,0).to)}}return l}mapViewport(e,i){let n=i.mapPos(e.from,-1),r=i.mapPos(e.to,1);return new dl(this.heightMap.lineAt(n,St.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,St.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:i},n=0){if(!this.inView)return!0;let{top:r}=this.heightMap.lineAt(e,St.ByPos,this.heightOracle,0,0),{bottom:o}=this.heightMap.lineAt(i,St.ByPos,this.heightOracle,0,0),{visibleTop:s,visibleBottom:a}=this;return(e==0||r<=s-Math.max(10,Math.min(-n,250)))&&(i==this.state.doc.length||o>=a+Math.max(10,Math.min(n,250)))&&r>s-2*1e3&&o<a+2*1e3}mapLineGaps(e,i){if(!e.length||i.empty)return e;let n=[];for(let r of e)i.touchesRange(r.from,r.to)||n.push(new Iu(i.mapPos(r.from),i.mapPos(r.to),r.size,r.displaySize));return n}ensureLineGaps(e,i){let n=this.heightOracle.lineWrapping,r=n?1e4:2e3,o=r>>1,s=r<<1;if(this.defaultTextDirection!=st.LTR&&!n)return[];let a=[],l=(u,f,d,O)=>{if(f-u<o)return;let m=this.state.selection.main,x=[m.from];m.empty||x.push(m.to);for(let w of x)if(w>u&&w<f){l(u,w-10,d,O),l(w+10,f,d,O);return}let v=pZ(e,w=>w.from>=d.from&&w.to<=d.to&&Math.abs(w.from-u)<o&&Math.abs(w.to-f)<o&&!x.some(T=>w.from<T&&w.to>T));if(!v){if(f<d.to&&i&&n&&i.visibleRanges.some(A=>A.from<=f&&A.to>=f)){let A=i.moveToLineBoundary(K.cursor(f),!1,!0).head;A>u&&(f=A)}let w=this.gapSize(d,u,f,O),T=n||w<2e6?w:2e6;v=new Iu(u,f,w,T)}a.push(v)},c=u=>{if(u.length<s||u.type!=Li.Text)return;let f=OZ(u.from,u.to,this.stateDeco);if(f.total<s)return;let d=this.scrollTarget?this.scrollTarget.range.head:null,O,m;if(n){let x=r/this.heightOracle.lineLength*this.heightOracle.lineHeight,v,w;if(d!=null){let T=CO(f,d),A=((this.visibleBottom-this.visibleTop)/2+x)/u.height;v=T-A,w=T+A}else v=(this.visibleTop-u.top-x)/u.height,w=(this.visibleBottom-u.top+x)/u.height;O=PO(f,v),m=PO(f,w)}else{let x=f.total*this.heightOracle.charWidth,v=r*this.heightOracle.charWidth,w=0;if(x>2e6)for(let P of e)P.from>=u.from&&P.from<u.to&&P.size!=P.displaySize&&P.from*this.heightOracle.charWidth+w<this.pixelViewport.left&&(w=P.size-P.displaySize);let T=this.pixelViewport.left+w,A=this.pixelViewport.right+w,L,D;if(d!=null){let P=CO(f,d),N=((A-T)/2+v)/x;L=P-N,D=P+N}else L=(T-v)/x,D=(A+v)/x;O=PO(f,L),m=PO(f,D)}O>u.from&&l(u.from,O,u,f),m<u.to&&l(m,u.to,u,f)};for(let u of this.viewportLines)Array.isArray(u.type)?u.type.forEach(c):c(u);return a}gapSize(e,i,n,r){let o=CO(r,n)-CO(r,i);return this.heightOracle.lineWrapping?e.height*o:r.total*this.heightOracle.charWidth*o}updateLineGaps(e){Iu.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=we.set(e.map(i=>i.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let i=this.stateDeco;this.lineGaps.length&&(i=i.concat(this.lineGapDeco));let n=[];Je.spans(i,this.viewport.from,this.viewport.to,{span(o,s){n.push({from:o,to:s})},point(){}},20);let r=0;if(n.length!=this.visibleRanges.length)r=12;else for(let o=0;o<n.length&&!(r&8);o++){let s=this.visibleRanges[o],a=n[o];(s.from!=a.from||s.to!=a.to)&&(r|=4,e&&e.mapPos(s.from,-1)==a.from&&e.mapPos(s.to,1)==a.to||(r|=8))}return this.visibleRanges=n,r}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(i=>i.from<=e&&i.to>=e)||_u(this.heightMap.lineAt(e,St.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(i=>i.top<=e&&i.bottom>=e)||_u(this.heightMap.lineAt(this.scaler.fromDOM(e),St.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let i=this.lineBlockAtHeight(e+8);return i.from>=this.viewport.from||this.viewportLines[0].top-e>200?i:this.viewportLines[0]}elementAtHeight(e){return _u(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}},dl=class{constructor(e,i){this.from=e,this.to=i}};function OZ(t,e,i){let n=[],r=t,o=0;return Je.spans(i,t,e,{span(){},point(s,a){s>r&&(n.push({from:r,to:s}),o+=s-r),r=a}},20),r<e&&(n.push({from:r,to:e}),o+=e-r),{total:o,ranges:n}}function PO({total:t,ranges:e},i){if(i<=0)return e[0].from;if(i>=1)return e[e.length-1].to;let n=Math.floor(t*i);for(let r=0;;r++){let{from:o,to:s}=e[r],a=s-o;if(n<=a)return o+n;n-=a}}function CO(t,e){let i=0;for(let{from:n,to:r}of t.ranges){if(e<=r){i+=e-n;break}i+=r-n}return i/t.total}function pZ(t,e){for(let i of t)if(e(i))return i}var MP={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}},Cy=class t{constructor(e,i,n){let r=0,o=0,s=0;this.viewports=n.map(({from:a,to:l})=>{let c=i.lineAt(a,St.ByPos,e,0,0).top,u=i.lineAt(l,St.ByPos,e,0,0).bottom;return r+=u-c,{from:a,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(i.height-r);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 i=0,n=0,r=0;;i++){let o=i<this.viewports.length?this.viewports[i]:null;if(!o||e<o.top)return r+(e-n)*this.scale;if(e<=o.bottom)return o.domTop+(e-o.top);n=o.bottom,r=o.domBottom}}fromDOM(e){for(let i=0,n=0,r=0;;i++){let o=i<this.viewports.length?this.viewports[i]:null;if(!o||e<o.domTop)return n+(e-r)/this.scale;if(e<=o.domBottom)return o.top+(e-o.domTop);n=o.bottom,r=o.domBottom}}eq(e){return e instanceof t?this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every((i,n)=>i.from==e.viewports[n].from&&i.to==e.viewports[n].to):!1}};function _u(t,e){if(e.scale==1)return t;let i=e.toDOM(t.top),n=e.toDOM(t.bottom);return new ur(t.from,t.length,i,n-i,Array.isArray(t._content)?t._content.map(r=>_u(r,e)):t._content)}var QO=be.define({combine:t=>t.join(" ")}),Qy=be.define({combine:t=>t.indexOf(!0)>-1}),_y=Zi.newName(),BC=Zi.newName(),YC=Zi.newName(),FC={"&light":"."+BC,"&dark":"."+YC};function Ay(t,e,i){return new Zi(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,r=>{if(r=="&")return t;if(!i||!i[r])throw new RangeError(`Unsupported selector: ${r}`);return i[r]}):t+" "+n}})}var mZ=Ay("."+_y,{"&":{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,overflowAnchor:"none"},".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:"#ddd"},".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,zIndex:300},"&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":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".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"}},FC),gZ={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},ey=ke.ie&&ke.ie_version<=11,$y=class{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new oy,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.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(i=>{for(let n of i)this.queue.push(n);(ke.ie&&ke.ie_version<=11||ke.ios&&e.composing)&&i.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&e.constructor.EDIT_CONTEXT!==!1&&!(ke.chrome&&ke.chrome_version<126)&&(this.editContext=new Xy(e),e.state.facet(Yr)&&(e.contentDOM.editContext=this.editContext.editContext)),ey&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.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),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var i;((i=this.view.docView)===null||i===void 0?void 0:i.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(i=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),i.length>0&&i[i.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(i=>{i.length>0&&i[i.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.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(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((i,n)=>i!=e[n]))){this.gapIntersection.disconnect();for(let i of e)this.gapIntersection.observe(i);this.gaps=e}}onSelectionChange(e){let i=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(Yr)?n.root.activeElement!=this.dom:!$O(this.dom,r))return;let o=r.anchorNode&&n.docView.nearest(r.anchorNode);if(o&&o.ignoreEvent(e)){i||(this.selectionChanged=!1);return}(ke.ie&&ke.ie_version<=11||ke.android&&ke.chrome)&&!n.state.selection.main.empty&&r.focusNode&&$u(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,i=Uu(e.root);if(!i)return!1;let n=ke.safari&&e.root.nodeType==11&&e.root.activeElement==this.dom&&bZ(this.view,i)||i;if(!n||this.selectionRange.eq(n))return!1;let r=$O(this.dom,n);return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&hV(this.dom,n)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(n),r&&(this.selectionChanged=!0),!0)}setSelectionRange(e,i){this.selectionRange.set(e.node,e.offset,i.node,i.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,i=null;for(let n=this.dom;n;)if(n.nodeType==1)!i&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:i||(i=this.scrollTargets.slice(0,e)),i&&i.push(n),n=n.assignedSlot||n.parentNode;else if(n.nodeType==11)n=n.host;else break;if(e<this.scrollTargets.length&&!i&&(i=this.scrollTargets.slice(0,e)),i){for(let n of this.scrollTargets)n.removeEventListener("scroll",this.onScroll);for(let n of this.scrollTargets=i)n.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,gZ),ey&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),ey&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,i){var n;if(!this.delayedAndroidKey){let r=()=>{let o=this.delayedAndroidKey;o&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=o.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&o.force&&ml(this.dom,o.key,o.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(r)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:i,force:this.lastChange<Date.now()-50||!!(!((n=this.delayedAndroidKey)===null||n===void 0)&&n.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 i=-1,n=-1,r=!1;for(let o of e){let s=this.readMutation(o);s&&(s.typeOver&&(r=!0),i==-1?{from:i,to:n}=s:(i=Math.min(s.from,i),n=Math.max(s.to,n)))}return{from:i,to:n,typeOver:r}}readChange(){let{from:e,to:i,typeOver:n}=this.processRecords(),r=this.selectionChanged&&$O(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let o=new by(this.view,e,i,n);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 i=this.readChange();if(!i)return this.view.requestMeasure(),!1;let n=this.view.state,r=zC(this.view,i);return this.view.state==n&&(i.domChanged||i.newSel&&!i.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),r}readMutation(e){let i=this.view.docView.nearest(e.target);if(!i||i.ignoreMutation(e))return null;if(i.markDirty(e.type=="attributes"),e.type=="attributes"&&(i.flags|=4),e.type=="childList"){let n=NP(i,e.previousSibling||e.target.previousSibling,-1),r=NP(i,e.nextSibling||e.target.nextSibling,1);return{from:n?i.posAfter(n):i.posAtStart,to:r?i.posBefore(r):i.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:i.posAtStart,to:i.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),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):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),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(Yr)!=e.state.facet(Yr)&&(e.view.contentDOM.editContext=e.state.facet(Yr)?this.editContext.editContext:null))}destroy(){var e,i,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(i=this.gapIntersection)===null||i===void 0||i.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}};function NP(t,e,i){for(;e;){let n=kt.get(e);if(n&&n.parent==t)return n;let r=e.parentNode;e=r!=t.dom?r:i>0?e.nextSibling:e.previousSibling}return null}function qP(t,e){let i=e.startContainer,n=e.startOffset,r=e.endContainer,o=e.endOffset,s=t.docView.domAtPos(t.state.selection.main.anchor);return $u(s.node,s.offset,r,o)&&([i,n,r,o]=[r,o,i,n]),{anchorNode:i,anchorOffset:n,focusNode:r,focusOffset:o}}function bZ(t,e){if(e.getComposedRanges){let r=e.getComposedRanges(t.root)[0];if(r)return qP(t,r)}let i=null;function n(r){r.preventDefault(),r.stopImmediatePropagation(),i=r.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",n,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",n,!0),i?qP(t,i):null}var Xy=class{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let i=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=n=>{let r=e.state.selection.main,{anchor:o,head:s}=r,a=this.toEditorPos(n.updateRangeStart),l=this.toEditorPos(n.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:a,drifted:!1});let c={from:a,to:l,insert:Fe.of(n.text.split(`
`))};if(c.from==this.from&&o<this.from?c.from=o:c.to==this.to&&o>this.to&&(c.to=o),c.from==c.to&&!c.insert.length){let u=K.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));u.main.eq(r)||e.dispatch({selection:u,userEvent:"select"});return}if((ke.mac||ke.android)&&c.from==s-1&&/^\. ?$/.test(n.text)&&e.contentDOM.getAttribute("autocorrect")=="off"&&(c={from:a,to:l,insert:Fe.of([n.text.replace("."," ")])}),this.pendingContextChange=c,!e.state.readOnly){let u=this.to-this.from+(c.to-c.from+c.insert.length);Jy(e,c,K.single(this.toEditorPos(n.selectionStart,u),this.toEditorPos(n.selectionEnd,u)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state))},this.handlers.characterboundsupdate=n=>{let r=[],o=null;for(let s=this.toEditorPos(n.rangeStart),a=this.toEditorPos(n.rangeEnd);s<a;s++){let l=e.coordsForChar(s);o=l&&new DOMRect(l.left,l.top,l.right-l.left,l.bottom-l.top)||o||new DOMRect,r.push(o)}i.updateCharacterBounds(n.rangeStart,r)},this.handlers.textformatupdate=n=>{let r=[];for(let o of n.getTextFormats()){let s=o.underlineStyle,a=o.underlineThickness;if(s!="None"&&a!="None"){let l=this.toEditorPos(o.rangeStart),c=this.toEditorPos(o.rangeEnd);if(l<c){let u=`text-decoration: underline ${s=="Dashed"?"dashed ":s=="Squiggle"?"wavy ":""}${a=="Thin"?1:2}px`;r.push(we.mark({attributes:{style:u}}).range(l,c))}}}e.dispatch({effects:AC.of(we.set(r))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:n}=this.composing;this.composing=null,n&&this.reset(e.state)}};for(let n in this.handlers)i.addEventListener(n,this.handlers[n]);this.measureReq={read:n=>{this.editContext.updateControlBounds(n.contentDOM.getBoundingClientRect());let r=Uu(n.root);r&&r.rangeCount&&this.editContext.updateSelectionBounds(r.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let i=0,n=!1,r=this.pendingContextChange;return e.changes.iterChanges((o,s,a,l,c)=>{if(n)return;let u=c.length-(s-o);if(r&&s>=r.to)if(r.from==o&&r.to==s&&r.insert.eq(c)){r=this.pendingContextChange=null,i+=u,this.to+=u;return}else r=null,this.revertPending(e.state);if(o+=i,s+=i,s<=this.from)this.from+=u,this.to+=u;else if(o<this.to){if(o<this.from||s>this.to||this.to-this.from+c.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(o),this.toContextPos(s),c.toString()),this.to+=u}i+=u}),r&&!n&&this.revertPending(e.state),!n}update(e){let i=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some(r=>!r.isUserEvent("input.type")&&r.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.reset(e.state)):(e.docChanged||e.selectionSet||i)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:i}=e.selection.main;this.from=Math.max(0,i-1e4),this.to=Math.min(e.doc.length,i+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let i=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(i.from),this.toContextPos(i.from+i.insert.length),e.doc.sliceString(i.from,i.to))}setSelection(e){let{main:i}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,i.anchor))),r=this.toContextPos(i.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=r)&&this.editContext.updateSelection(n,r)}rangeIsValid(e){let{head:i}=e.selection.main;return!(this.from>0&&i-this.from<500||this.to<e.doc.length&&this.to-i<500||this.to-this.from>1e4*3)}toEditorPos(e,i=this.to-this.from){e=Math.min(e,i);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let i=this.composing;return i&&i.drifted?i.contextBase+(e-i.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}},fe=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={}){var i;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:n}=e;this.dispatchTransactions=e.dispatchTransactions||n&&(r=>r.forEach(o=>n(o,this)))||(r=>this.update(r)),this.dispatch=this.dispatch.bind(this),this._root=e.root||fV(e.parent)||document,this.viewState=new BO(e.state||ot.create(e)),e.scrollTo&&e.scrollTo.is(SO)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Pu).map(r=>new Lu(r));for(let r of this.plugins)r.update(this);this.observer=new $y(this),this.inputState=new yy(this),this.inputState.ensureHandlers(this.plugins),this.docView=new jO(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((i=document.fonts)===null||i===void 0)&&i.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let i=e.length==1&&e[0]instanceof Xt?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(i,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let i=!1,n=!1,r,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(WC))?(this.inputState.notifiedFocused=s,a=1):s!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=s,l=VC(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(ot.phrases)!=this.state.facet(ot.phrases))return this.setState(o);r=qO.create(this,o,e),r.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:O}=d.state.selection;f=new Ru(O.empty?O:K.cursor(O.head,O.head>O.anchor?-1:1))}for(let O of d.effects)O.is(SO)&&(f=O.value.clip(this.state))}this.viewState.update(r,f),this.bidiCache=YO.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),i=this.docView.update(r),this.state.facet(Cu)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(i,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(QO)!=r.state.facet(QO)&&(this.viewState.mustMeasureContent=!0),(i||n||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),i&&this.docViewUpdate(),!r.empty)for(let d of this.state.facet(Oy))try{d(r)}catch(O){fi(this.state,O,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!zC(this,u)&&c.force&&ml(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 i=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new BO(e),this.plugins=e.facet(Pu).map(n=>new Lu(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new jO(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}i&&this.focus(),this.requestMeasure()}updatePlugins(e){let i=e.startState.facet(Pu),n=e.state.facet(Pu);if(i!=n){let r=[];for(let o of n){let s=i.indexOf(o);if(s<0)r.push(new Lu(o));else{let a=this.plugins[s];a.mustUpdate=e,r.push(a)}}for(let o of this.plugins)o.mustUpdate!=e&&o.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r<this.plugins.length;r++)this.plugins[r].update(this);i!=n&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let i=e.value;if(i&&i.docViewUpdate)try{i.docViewUpdate(this)}catch(n){fi(this.state,n,"doc view update listener")}}}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 i=null,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:s}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(s=-1),this.viewState.scrollAnchorHeight=-1;try{for(let a=0;;a++){if(s<0)if(sC(n))o=-1,s=this.viewState.heightMap.height;else{let O=this.viewState.scrollAnchorAt(r);o=O.from,s=O.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(O=>{try{return O.read(this)}catch(m){return fi(this.state,m),jP}}),f=qO.create(this,this.state,[]),d=!1;f.flags|=l,i?i.flags|=l:i=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),d=this.docView.update(f),d&&this.docViewUpdate());for(let O=0;O<c.length;O++)if(u[O]!=jP)try{let m=c[O];m.write&&m.write(u[O],this)}catch(m){fi(this.state,m)}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 m=(o<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(o).top)-s;if(m>1||m<-1){r=r+m,n.scrollTop=r/this.scaleY,s=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(i&&!i.empty)for(let a of this.state.facet(Oy))a(i)}get themeClasses(){return _y+" "+(this.state.facet(Qy)?YC:BC)+" "+this.state.facet(QO)}updateAttrs(){let e=WP(this,$C,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),i={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(Yr)?"true":"false",class:"cm-content",style:`${ke.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(i["aria-readonly"]="true"),WP(this,Hy,i);let n=this.observer.ignore(()=>{let r=uy(this.contentDOM,this.contentAttrs,i),o=uy(this.dom,this.editorAttrs,e);return r||o});return this.editorAttrs=e,this.contentAttrs=i,n}showAnnouncements(e){let i=!0;for(let n of e)for(let r of n.effects)if(r.is(t.announce)){i&&(this.announceDOM.textContent=""),i=!1;let o=this.announceDOM.appendChild(document.createElement("div"));o.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(Cu);let e=this.state.facet(t.cspNonce);Zi.mount(this.root,this.styleModules.concat(mZ).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 i=0;i<this.measureRequests.length;i++)if(this.measureRequests[i].key===e.key){this.measureRequests[i]=e;return}}this.measureRequests.push(e)}}plugin(e){let i=this.pluginMap.get(e);return(i===void 0||i&&i.spec!=e)&&this.pluginMap.set(e,i=this.plugins.find(n=>n.spec==e)||null),i&&i.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,i,n){return J1(this,e,PP(this,e,i,n))}moveByGroup(e,i){return J1(this,e,PP(this,e,i,n=>NV(this,e.head,n)))}visualLineSide(e,i){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),o=n[i?n.length-1:0];return K.cursor(o.side(i,r)+e.from,o.forward(!i,r)?1:-1)}moveToLineBoundary(e,i,n=!0){return MV(this,e,i,n)}moveVertically(e,i,n){return J1(this,e,qV(this,e,i,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,i=0){return this.docView.posFromDOM(e,i)}posAtCoords(e,i=!0){return this.readMeasured(),DC(this,e,i)}coordsAtPos(e,i=1){this.readMeasured();let n=this.docView.coordsAt(e,i);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),o=this.bidiSpans(r),s=o[fr.find(o,e-r.from,-1,i)];return ep(n,s.dir==st.LTR==i>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(CC)||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>yZ)return xC(e.length);let i=this.textDirectionAt(e.from),n;for(let o of this.bidiCache)if(o.from==e.from&&o.dir==i&&(o.fresh||yC(o.isolates,n=wP(this,e))))return o.order;n||(n=wP(this,e));let r=SV(e.text,i,n);return this.bidiCache.push(new YO(e.from,e.to,i,n,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||ke.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{rC(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(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();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,i={}){return SO.of(new Ru(typeof e=="number"?K.cursor(e):e,i.y,i.x,i.yMargin,i.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:i}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return SO.of(new Ru(K.cursor(n.from),"start","start",n.top-e,i,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return He.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return He.define(()=>({}),{eventObservers:e})}static theme(e,i){let n=Zi.newName(),r=[QO.of(n),Cu.of(Ay(`.${n}`,e))];return i&&i.dark&&r.push(Qy.of(!0)),r}static baseTheme(e){return Dt.lowest(Cu.of(Ay("."+_y,e,FC)))}static findFromDOM(e){var i;let n=e.querySelector(".cm-content"),r=n&&kt.get(n)||kt.get(e);return((i=r==null?void 0:r.rootView)===null||i===void 0?void 0:i.view)||null}};fe.styleModule=Cu;fe.inputHandler=EC;fe.clipboardInputFilter=Yy;fe.clipboardOutputFilter=Fy;fe.scrollHandler=_C;fe.focusChangeEffect=PC;fe.perLineTextDirection=CC;fe.exceptionSink=TC;fe.updateListener=Oy;fe.editable=Yr;fe.mouseSelectionStyle=SC;fe.dragMovesSelection=kC;fe.clickAddsSelectionRange=wC;fe.decorations=Zu;fe.outerDecorations=XC;fe.atomicRanges=Gy;fe.bidiIsolatedRanges=RC;fe.scrollMargins=LC;fe.darkTheme=Qy;fe.cspNonce=be.define({combine:t=>t.length?t[0]:""});fe.contentAttributes=Hy;fe.editorAttributes=$C;fe.lineWrapping=fe.contentAttributes.of({class:"cm-lineWrapping"});fe.announce=Se.define();var yZ=4096,jP={},YO=class t{constructor(e,i,n,r,o,s){this.from=e,this.to=i,this.dir=n,this.isolates=r,this.fresh=o,this.order=s}static update(e,i){if(i.empty&&!e.some(o=>o.fresh))return e;let n=[],r=e.length?e[e.length-1].dir:st.LTR;for(let o=Math.max(0,e.length-10);o<e.length;o++){let s=e[o];s.dir==r&&!i.touchesRange(s.from,s.to)&&n.push(new t(i.mapPos(s.from,1),i.mapPos(s.to,-1),s.dir,s.isolates,!1,s.order))}return n}};function WP(t,e,i){for(let n=t.state.facet(e),r=n.length-1;r>=0;r--){let o=n[r],s=typeof o=="function"?o(t):o;s&&cy(s,i)}return i}var xZ=ke.mac?"mac":ke.windows?"win":ke.linux?"linux":"key";function vZ(t,e){let i=t.split(/-(?!$)/),n=i[i.length-1];n=="Space"&&(n=" ");let r,o,s,a;for(let l=0;l<i.length-1;++l){let c=i[l];if(/^(cmd|meta|m)$/i.test(c))a=!0;else if(/^a(lt)?$/i.test(c))r=!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 r&&(n="Alt-"+n),o&&(n="Ctrl-"+n),a&&(n="Meta-"+n),s&&(n="Shift-"+n),n}function _O(t,e,i){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),i!==!1&&e.shiftKey&&(t="Shift-"+t),t}var wZ=Dt.default(fe.domEventHandlers({keydown(t,e){return GC(HC(e.state),t,e,"editor")}})),hi=be.define({enables:wZ}),VP=new WeakMap;function HC(t){let e=t.facet(hi),i=VP.get(e);return i||VP.set(e,i=SZ(e.reduce((n,r)=>n.concat(r),[]))),i}function ex(t,e,i){return GC(HC(t.state),e,t,i)}var Zo=null,kZ=4e3;function SZ(t,e=xZ){let i=Object.create(null),n=Object.create(null),r=(s,a)=>{let l=n[s];if(l==null)n[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 O=i[s]||(i[s]=Object.create(null)),m=a.split(/ (?!$)/).map(w=>vZ(w,e));for(let w=1;w<m.length;w++){let T=m.slice(0,w).join(" ");r(T,!0),O[T]||(O[T]={preventDefault:!0,stopPropagation:!1,run:[A=>{let L=Zo={view:A,prefix:T,scope:s};return setTimeout(()=>{Zo==L&&(Zo=null)},kZ),!0}]})}let x=m.join(" ");r(x,!1);let v=O[x]||(O[x]={preventDefault:!1,stopPropagation:!1,run:((d=(f=O._any)===null||f===void 0?void 0:f.run)===null||d===void 0?void 0:d.slice())||[]});l&&v.run.push(l),c&&(v.preventDefault=!0),u&&(v.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=i[c]||(i[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:f}=s;for(let d in u)u[d].run.push(O=>f(O,Ry))}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 i}var Ry=null;function GC(t,e,i,n){Ry=e;let r=OP(e),o=ci(r,0),s=nn(o)==r.length&&r!=" ",a="",l=!1,c=!1,u=!1;Zo&&Zo.view==i&&Zo.scope==n&&(a=Zo.prefix+" ",MC.indexOf(e.keyCode)<0&&(c=!0,Zo=null));let f=new Set,d=v=>{if(v){for(let w of v.run)if(!f.has(w)&&(f.add(w),w(i)))return v.stopPropagation&&(u=!0),!0;v.preventDefault&&(v.stopPropagation&&(u=!0),c=!0)}return!1},O=t[n],m,x;return O&&(d(O[a+_O(r,e,!s)])?l=!0:s&&(e.altKey||e.metaKey||e.ctrlKey)&&!(ke.windows&&e.ctrlKey&&e.altKey)&&(m=Br[e.keyCode])&&m!=r?(d(O[a+_O(m,e,!0)])||e.shiftKey&&(x=fl[e.keyCode])!=r&&x!=m&&d(O[a+_O(x,e,!1)]))&&(l=!0):s&&e.shiftKey&&d(O[a+_O(r,e,!0)])&&(l=!0),!l&&d(O._any)&&(l=!0)),c&&(l=!0),l&&u&&e.stopPropagation(),Ry=null,l}var Bu=class t{constructor(e,i,n,r,o){this.className=e,this.left=i,this.top=n,this.width=r,this.height=o}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,i){return i.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,i,n){if(n.empty){let r=e.coordsAtPos(n.head,n.assoc||1);if(!r)return[];let o=KC(e);return[new t(i,r.left-o.left,r.top-o.top,null,r.bottom-r.top)]}else return TZ(e,i,n)}};function KC(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==st.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function ZP(t,e,i,n){let r=t.coordsAtPos(e,i*2);if(!r)return n;let o=t.dom.getBoundingClientRect(),s=(r.top+r.bottom)/2,a=t.posAtCoords({x:o.left+1,y:s}),l=t.posAtCoords({x:o.right-1,y:s});return a==null||l==null?n:{from:Math.max(n.from,Math.min(a,l)),to:Math.min(n.to,Math.max(a,l))}}function TZ(t,e,i){if(i.to<=t.viewport.from||i.from>=t.viewport.to)return[];let n=Math.max(i.from,t.viewport.from),r=Math.min(i.to,t.viewport.to),o=t.textDirection==st.LTR,s=t.contentDOM,a=s.getBoundingClientRect(),l=KC(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),O=my(t,n),m=my(t,r),x=O.type==Li.Text?O:null,v=m.type==Li.Text?m:null;if(x&&(t.lineWrapping||O.widgetLineBreaks)&&(x=ZP(t,n,1,x)),v&&(t.lineWrapping||m.widgetLineBreaks)&&(v=ZP(t,r,-1,v)),x&&v&&x.from==v.from&&x.to==v.to)return T(A(i.from,i.to,x));{let D=x?A(i.from,null,x):L(O,!1),P=v?A(null,i.to,v):L(m,!0),N=[];return(x||O).to<(v||m).from-(x&&v?1:0)||O.widgetLineBreaks>1&&D.bottom+t.defaultLineHeight/2<P.top?N.push(w(f,D.bottom,d,P.top)):D.bottom<P.top&&t.elementAtHeight((D.bottom+P.top)/2).type==Li.Text&&(D.bottom=P.top=(D.bottom+P.top)/2),T(D).concat(N).concat(T(P))}function w(D,P,N,le){return new Bu(e,D-l.left,P-l.top,N-D,le-P)}function T({top:D,bottom:P,horizontal:N}){let le=[];for(let H=0;H<N.length;H+=2)le.push(w(N[H],D,N[H+1],P));return le}function A(D,P,N){let le=1e9,H=-1e9,M=[];function ie(de,pe,ve,j,ue){let Z=t.coordsAtPos(de,de==N.to?-2:2),C=t.coordsAtPos(ve,ve==N.from?2:-2);!Z||!C||(le=Math.min(Z.top,C.top,le),H=Math.max(Z.bottom,C.bottom,H),ue==st.LTR?M.push(o&&pe?f:Z.left,o&&j?d:C.right):M.push(!o&&j?f:C.left,!o&&pe?d:Z.right))}let ne=D!=null?D:N.from,re=P!=null?P:N.to;for(let de of t.visibleRanges)if(de.to>ne&&de.from<re)for(let pe=Math.max(de.from,ne),ve=Math.min(de.to,re);;){let j=t.state.doc.lineAt(pe);for(let ue of t.bidiSpans(j)){let Z=ue.from+j.from,C=ue.to+j.from;if(Z>=ve)break;C>pe&&ie(Math.max(Z,pe),D==null&&Z<=ne,Math.min(C,ve),P==null&&C>=re,ue.dir)}if(pe=j.to+1,pe>=ve)break}return M.length==0&&ie(ne,D==null,re,P==null,t.textDirection),{top:le,bottom:H,horizontal:M}}function L(D,P){let N=a.top+(P?D.top:D.bottom);return{top:N,bottom:N,horizontal:[]}}}function EZ(t,e){return t.constructor==e.constructor&&t.eq(e)}var Ly=class{constructor(e,i){this.view=e,this.layer=i,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"),i.above&&this.dom.classList.add("cm-layer-above"),i.class&&this.dom.classList.add(i.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),i.mount&&i.mount(this.dom,e)}update(e){e.startState.facet(IO)!=e.state.facet(IO)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let i=0,n=e.facet(IO);for(;i<n.length&&n[i]!=this.layer;)i++;this.dom.style.zIndex=String((this.layer.above?150:-1)-i)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:i}=this.view;(e!=this.scaleX||i!=this.scaleY)&&(this.scaleX=e,this.scaleY=i,this.dom.style.transform=`scale(${1/e}, ${1/i})`)}draw(e){if(e.length!=this.drawn.length||e.some((i,n)=>!EZ(i,this.drawn[n]))){let i=this.dom.firstChild,n=0;for(let r of e)r.update&&i&&r.constructor&&this.drawn[n].constructor&&r.update(i,this.drawn[n])?(i=i.nextSibling,n++):this.dom.insertBefore(r.draw(),i);for(;i;){let r=i.nextSibling;i.remove(),i=r}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}},IO=be.define();function JC(t){return[He.define(e=>new Ly(e,t)),IO.of(t)]}var eQ=!(ke.ios&&ke.webkit&&ke.webkit_version<534),bl=be.define({combine(t){return Qt(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,i)=>Math.min(e,i),drawRangeCursor:(e,i)=>e||i})}});function tQ(t={}){return[bl.of(t),PZ,CZ,QZ,QC.of(!0)]}function np(t){return t.facet(bl)}function iQ(t){return t.startState.facet(bl)!=t.state.facet(bl)}var PZ=JC({above:!0,markers(t){let{state:e}=t,i=e.facet(bl),n=[];for(let r of e.selection.ranges){let o=r==e.selection.main;if(r.empty?!o||eQ:i.drawRangeCursor){let s=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",a=r.empty?r:K.cursor(r.head,r.head>r.anchor?-1:1);for(let l of Bu.forRange(t,s,a))n.push(l)}}return n},update(t,e){t.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let i=iQ(t);return i&&BP(t.state,e),t.docChanged||t.selectionSet||i},mount(t,e){BP(e.state,t)},class:"cm-cursorLayer"});function BP(t,e){e.style.animationDuration=t.facet(bl).cursorBlinkRate+"ms"}var CZ=JC({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:Bu.forRange(t,"cm-selectionBackground",e)).reduce((e,i)=>e.concat(i))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||iQ(t)},class:"cm-selectionLayer"}),Iy={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};eQ&&(Iy[".cm-line"].caretColor=Iy[".cm-content"].caretColor="transparent !important");var QZ=Dt.highest(fe.theme(Iy)),nQ=Se.define({map(t,e){return t==null?null:e.mapPos(t)}}),Au=Ge.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((i,n)=>n.is(nQ)?n.value:i,t)}}),_Z=He.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 i=t.state.field(Au);i==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(Au)!=i||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(Au),i=e!=null&&t.coordsAtPos(e);if(!i)return null;let n=t.scrollDOM.getBoundingClientRect();return{left:i.left-n.left+t.scrollDOM.scrollLeft*t.scaleX,top:i.top-n.top+t.scrollDOM.scrollTop*t.scaleY,height:i.bottom-i.top}}drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:i}=this.view;t?(this.cursor.style.left=t.left/e+"px",this.cursor.style.top=t.top/i+"px",this.cursor.style.height=t.height/i+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(Au)!=t&&this.view.dispatch({effects:nQ.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 rQ(){return[Au,_Z]}function YP(t,e,i,n,r){e.lastIndex=0;for(let o=t.iterRange(i,n),s=i,a;!o.next().done;s+=o.value.length)if(!o.lineBreak)for(;a=e.exec(o.value);)r(s+a.index,a)}function AZ(t,e){let i=t.visibleRanges;if(i.length==1&&i[0].from==t.viewport.from&&i[0].to==t.viewport.to)return i;let n=[];for(let{from:r,to:o}of i)r=Math.max(t.state.doc.lineAt(r).from,r-e),o=Math.min(t.state.doc.lineAt(o).to,o+e),n.length&&n[n.length-1].to>=r?n[n.length-1].to=o:n.push({from:r,to:o});return n}var Dy=class{constructor(e){let{regexp:i,decoration:n,decorate:r,boundary:o,maxLength:s=1e3}=e;if(!i.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=i,r)this.addMatch=(a,l,c,u)=>r(u,c,c+a[0].length,a,l);else if(typeof n=="function")this.addMatch=(a,l,c,u)=>{let f=n(a,l,c);f&&u(c,c+a[0].length,f)};else if(n)this.addMatch=(a,l,c,u)=>u(c,c+a[0].length,n);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=o,this.maxLength=s}createDeco(e){let i=new $i,n=i.add.bind(i);for(let{from:r,to:o}of AZ(e,this.maxLength))YP(e.state.doc,this.regexp,r,o,(s,a)=>this.addMatch(a,e,s,n));return i.finish()}updateDeco(e,i){let n=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((o,s,a,l)=>{l>=e.view.viewport.from&&a<=e.view.viewport.to&&(n=Math.min(a,n),r=Math.max(l,r))}),e.viewportMoved||r-n>1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,i.map(e.changes),n,r):i}updateRange(e,i,n,r){for(let o of e.visibleRanges){let s=Math.max(o.from,n),a=Math.min(o.to,r);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=[],O,m=(x,v,w)=>d.push(w.range(x,v));if(l==c)for(this.regexp.lastIndex=u-l.from;(O=this.regexp.exec(l.text))&&O.index<f-l.from;)this.addMatch(O,e,O.index+l.from,m);else YP(e.state.doc,this.regexp,u,f,(x,v)=>this.addMatch(v,e,x,m));i=i.update({filterFrom:u,filterTo:f,filter:(x,v)=>x<u||v>f,add:d})}}return i}},zy=/x/.unicode!=null?"gu":"g",$Z=new RegExp(`[\0-\b
-\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\u2066\u2067\u2069\uFEFF\uFFF9-\uFFFC]`,zy),XZ={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"},ty=null;function RZ(){var t;if(ty==null&&typeof document!="undefined"&&document.body){let e=document.body.style;ty=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return ty||!1}var DO=be.define({combine(t){let e=Qt(t,{render:null,specialChars:$Z,addSpecialChars:null});return(e.replaceTabs=!RZ())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,zy)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,zy)),e}});function oQ(t={}){return[DO.of(t),LZ()]}var FP=null;function LZ(){return FP||(FP=He.fromClass(class{constructor(t){this.view=t,this.decorations=we.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(DO)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new Dy({regexp:t.specialChars,decoration:(e,i,n)=>{let{doc:r}=i.state,o=ci(e[0],0);if(o==9){let s=r.lineAt(n),a=i.state.tabSize,l=Xi(s.text,a,n-s.from);return we.replace({widget:new My((a-l%a)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=we.replace({widget:new Uy(t,o)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(DO);t.startState.facet(DO)!=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 IZ="\u2022";function DZ(t){return t>=32?IZ:t==10?"\u2424":String.fromCharCode(9216+t)}var Uy=class extends ii{constructor(e,i){super(),this.options=e,this.code=i}eq(e){return e.code==this.code}toDOM(e){let i=DZ(this.code),n=e.state.phrase("Control character")+" "+(XZ[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,n,i);if(r)return r;let o=document.createElement("span");return o.textContent=i,o.title=n,o.setAttribute("aria-label",n),o.className="cm-specialChar",o}ignoreEvent(){return!1}},My=class extends ii{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 sQ(){return UZ}var zZ=we.line({class:"cm-activeLine"}),UZ=He.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,i=[];for(let n of t.state.selection.ranges){let r=t.lineBlockAt(n.head);r.from>e&&(i.push(zZ.range(r.from)),e=r.from)}return we.set(i)}},{decorations:t=>t.decorations});var Ny=2e3;function MZ(t,e,i){let n=Math.min(e.line,i.line),r=Math.max(e.line,i.line),o=[];if(e.off>Ny||i.off>Ny||e.col<0||i.col<0){let s=Math.min(e.off,i.off),a=Math.max(e.off,i.off);for(let l=n;l<=r;l++){let c=t.doc.line(l);c.length<=a&&o.push(K.range(c.from+s,c.to+a))}}else{let s=Math.min(e.col,i.col),a=Math.max(e.col,i.col);for(let l=n;l<=r;l++){let c=t.doc.line(l),u=vO(c.text,s,t.tabSize,!0);if(u<0)o.push(K.cursor(c.to));else{let f=vO(c.text,a,t.tabSize);o.push(K.range(c.from+u,c.from+f))}}}return o}function NZ(t,e){let i=t.coordsAtPos(t.viewport.from);return i?Math.round(Math.abs((i.left-e)/t.defaultCharacterWidth)):-1}function HP(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),n=t.state.doc.lineAt(i),r=i-n.from,o=r>Ny?-1:r==n.length?NZ(t,e.clientX):Xi(n.text,t.state.tabSize,i-n.from);return{line:n.number,col:o,off:r}}function qZ(t,e){let i=HP(t,e),n=t.state.selection;return i?{update(r){if(r.docChanged){let o=r.changes.mapPos(r.startState.doc.line(i.line).from),s=r.state.doc.lineAt(o);i={line:s.number,col:i.col,off:Math.min(i.off,s.length)},n=n.map(r.changes)}},get(r,o,s){let a=HP(t,r);if(!a)return n;let l=MZ(t.state,i,a);return l.length?s?K.create(l.concat(n.ranges)):K.create(l):n}}:null}function aQ(t){let e=(t==null?void 0:t.eventFilter)||(i=>i.altKey&&i.button==0);return fe.mouseSelectionStyle.of((i,n)=>e(n)?qZ(i,n):null)}var jZ={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},WZ={style:"cursor: crosshair"};function lQ(t={}){let[e,i]=jZ[t.key||"Alt"],n=He.fromClass(class{constructor(r){this.view=r,this.isDown=!1}set(r){this.isDown!=r&&(this.isDown=r,this.view.update([]))}},{eventObservers:{keydown(r){this.set(r.keyCode==e||i(r))},keyup(r){(r.keyCode==e||!i(r))&&this.set(!1)},mousemove(r){this.set(i(r))}}});return[n,fe.contentAttributes.of(r=>{var o;return!((o=r.plugin(n))===null||o===void 0)&&o.isDown?WZ:null})]}var Eu="-10000px",FO=class{constructor(e,i,n,r){this.facet=i,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(i),this.tooltips=this.input.filter(s=>s);let o=null;this.tooltipViews=this.tooltips.map(s=>o=n(s,o))}update(e,i){var n;let r=e.state.facet(this.facet),o=r.filter(l=>l);if(r===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let s=[],a=i?[]: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,l?s[l-1]:null),a&&(a[l]=!!c.above);else{let f=s[l]=this.tooltipViews[u];a&&(a[l]=i[u]),f.update&&f.update(e)}}}for(let l of this.tooltipViews)s.indexOf(l)<0&&(this.removeTooltipView(l),(n=l.destroy)===null||n===void 0||n.call(l));return i&&(a.forEach((l,c)=>i[c]=l),i.length=a.length),this.input=r,this.tooltips=o,this.tooltipViews=s,!0}};function VZ(t){let e=t.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:e.clientHeight,right:e.clientWidth}}var iy=be.define({combine:t=>{var e,i,n;return{position:ke.ios?"absolute":((e=t.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((i=t.find(r=>r.parent))===null||i===void 0?void 0:i.parent)||null,tooltipSpace:((n=t.find(r=>r.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||VZ}}}),GP=new WeakMap,tx=He.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(iy);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.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new FO(t,Fr,(i,n)=>this.createTooltip(i,n),i=>{this.resizeObserver&&this.resizeObserver.unobserve(i.dom),i.dom.remove()}),this.above=this.manager.tooltips.map(i=>!!i.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.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 i=e||t.geometryChanged,n=t.state.facet(iy);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;i=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t,e){let i=t.create(this.view),n=e?e.dom:null;if(i.dom.classList.add("cm-tooltip"),t.arrow&&!i.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let r=document.createElement("div");r.className="cm-tooltip-arrow",i.dom.appendChild(r)}return i.dom.style.position=this.position,i.dom.style.top=Eu,i.dom.style.left="0px",this.container.insertBefore(i.dom,n),i.mount&&i.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(i.dom),i}destroy(){var t,e,i;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(t=n.destroy)===null||t===void 0||t.call(n);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(i=this.intersectionObserver)===null||i===void 0||i.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=1,e=1,i=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:o}=this.manager.tooltipViews[0];if(ke.gecko)i=o.offsetParent!=this.container.ownerDocument.body;else if(o.style.top==Eu&&o.style.left=="0px"){let s=o.getBoundingClientRect();i=Math.abs(s.top+1e4)>1||Math.abs(s.left)>1}}if(i||this.position=="absolute")if(this.parent){let o=this.parent.getBoundingClientRect();o.width&&o.height&&(t=o.width/this.parent.offsetWidth,e=o.height/this.parent.offsetHeight)}else({scaleX:t,scaleY:e}=this.view.viewState);let n=this.view.scrollDOM.getBoundingClientRect(),r=Ky(this.view);return{visible:{left:n.left+r.left,top:n.top+r.top,right:n.right-r.right,bottom:n.bottom-r.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((o,s)=>{let a=this.manager.tooltipViews[s];return a.getCoords?a.getCoords(o.pos):this.view.coordsAtPos(o.pos)}),size:this.manager.tooltipViews.map(({dom:o})=>o.getBoundingClientRect()),space:this.view.state.facet(iy).tooltipSpace(this.view),scaleX:t,scaleY:e,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{visible:i,space:n,scaleX:r,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||l.clip!==!1&&(f.bottom<=Math.max(i.top,n.top)||f.top>=Math.min(i.bottom,n.bottom)||f.right<Math.max(i.left,n.left)-.1||f.left>Math.min(i.right,n.right)+.1)){u.style.top=Eu;continue}let O=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,m=O?7:0,x=d.right-d.left,v=(e=GP.get(c))!==null&&e!==void 0?e:d.bottom-d.top,w=c.offset||BZ,T=this.view.textDirection==st.LTR,A=d.width>n.right-n.left?T?n.left:n.right-d.width:T?Math.max(n.left,Math.min(f.left-(O?14:0)+w.x,n.right-x)):Math.min(Math.max(n.left,f.left-x+(O?14:0)-w.x),n.right-x),L=this.above[a];!l.strictSide&&(L?f.top-v-m-w.y<n.top:f.bottom+v+m+w.y>n.bottom)&&L==n.bottom-f.bottom>f.top-n.top&&(L=this.above[a]=!L);let D=(L?f.top-n.top:n.bottom-f.bottom)-m;if(D<v&&c.resize!==!1){if(D<this.view.defaultLineHeight){u.style.top=Eu;continue}GP.set(c,v),u.style.height=(v=D)/o+"px"}else u.style.height&&(u.style.height="");let P=L?f.top-v-m-w.y:f.bottom+m+w.y,N=A+x;if(c.overlap!==!0)for(let le of s)le.left<N&&le.right>A&&le.top<P+v&&le.bottom>P&&(P=L?le.top-v-2-m:le.bottom+m+2);if(this.position=="absolute"?(u.style.top=(P-t.parent.top)/o+"px",KP(u,(A-t.parent.left)/r)):(u.style.top=P/o+"px",KP(u,A/r)),O){let le=f.left+(T?w.x:-w.x)-(A+14-7);O.style.left=le/r+"px"}c.overlap!==!0&&s.push({left:A,top:P,right:N,bottom:P+v}),u.classList.toggle("cm-tooltip-above",L),u.classList.toggle("cm-tooltip-below",!L),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=Eu}},{eventObservers:{scroll(){this.maybeMeasure()}}});function KP(t,e){let i=parseInt(t.style.left,10);(isNaN(i)||Math.abs(e-i)>1)&&(t.style.left=e+"px")}var ZZ=fe.baseTheme({".cm-tooltip":{zIndex:500,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"}}}),BZ={x:0,y:0},Fr=be.define({enables:[tx,ZZ]}),HO=be.define({combine:t=>t.reduce((e,i)=>e.concat(i),[])}),GO=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 FO(e,HO,(i,n)=>this.createHostedView(i,n),i=>i.dom.remove())}createHostedView(e,i){let n=e.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(n.dom,i?i.dom.nextSibling:this.dom.firstChild),this.mounted&&n.mount&&n.mount(this.view),n}mount(e){for(let i of this.manager.tooltipViews)i.mount&&i.mount(e);this.mounted=!0}positioned(e){for(let i of this.manager.tooltipViews)i.positioned&&i.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let i of this.manager.tooltipViews)(e=i.destroy)===null||e===void 0||e.call(i)}passProp(e){let i;for(let n of this.manager.tooltipViews){let r=n[e];if(r!==void 0){if(i===void 0)i=r;else if(i!==r)return}}return i}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}},YZ=Fr.compute([HO],t=>{let e=t.facet(HO);return e.length===0?null:{pos:Math.min(...e.map(i=>i.pos)),end:Math.max(...e.map(i=>{var n;return(n=i.end)!==null&&n!==void 0?n:i.pos})),create:GO.create,above:e[0].above,arrow:e.some(i=>i.arrow)}}),qy=class{constructor(e,i,n,r,o){this.view=e,this.source=i,this.field=n,this.setHover=r,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.length)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:i}=this,n=e.docView.nearest(i.target);if(!n)return;let r,o=1;if(n instanceof Nu)r=n.posAtStart;else{if(r=e.posAtCoords(i),r==null)return;let a=e.coordsAtPos(r);if(!a||i.y<a.top||i.y>a.bottom||i.x<a.left-e.defaultCharacterWidth||i.x>a.right+e.defaultCharacterWidth)return;let l=e.bidiSpans(e.state.doc.lineAt(r)).find(u=>u.from<=r&&u.to>=r),c=l&&l.dir==st.RTL?-1:1;o=i.x<a.left?-c:c}let s=this.source(e,r,o);if(s!=null&&s.then){let a=this.pending={pos:r};s.then(l=>{this.pending==a&&(this.pending=null,l&&!(Array.isArray(l)&&!l.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(l)?l:[l])}))},l=>fi(e.state,l,"hover tooltip"))}else s&&!(Array.isArray(s)&&!s.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(s)?s:[s])})}get tooltip(){let e=this.view.plugin(tx),i=e?e.manager.tooltips.findIndex(n=>n.create==GO.create):-1;return i>-1?e.manager.tooltipViews[i]:null}mousemove(e){var i,n;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:r,tooltip:o}=this;if(r.length&&o&&!FZ(o.dom,e)||this.pending){let{pos:s}=r[0]||this.pending,a=(n=(i=r[0])===null||i===void 0?void 0:i.end)!==null&&n!==void 0?n:s;(s==a?this.view.posAtCoords(this.lastMove)!=s:!HZ(this.view,s,a,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:i}=this;if(i.length){let{tooltip:n}=this;n&&n.dom.contains(e.relatedTarget)?this.watchTooltipLeave(n.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let i=n=>{e.removeEventListener("mouseleave",i),this.active.length&&!this.view.dom.contains(n.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",i)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}},AO=4;function FZ(t,e){let{left:i,right:n,top:r,bottom:o}=t.getBoundingClientRect(),s;if(s=t.querySelector(".cm-tooltip-arrow")){let a=s.getBoundingClientRect();r=Math.min(a.top,r),o=Math.max(a.bottom,o)}return e.clientX>=i-AO&&e.clientX<=n+AO&&e.clientY>=r-AO&&e.clientY<=o+AO}function HZ(t,e,i,n,r,o){let s=t.scrollDOM.getBoundingClientRect(),a=t.documentTop+t.documentPadding.top+t.contentHeight;if(s.left>n||s.right<n||s.top>r||Math.min(s.bottom,a)<r)return!1;let l=t.posAtCoords({x:n,y:r},!1);return l>=e&&l<=i}function rp(t,e={}){let i=Se.define(),n=Ge.define({create(){return[]},update(r,o){if(r.length&&(e.hideOnChange&&(o.docChanged||o.selection)?r=[]:e.hideOn&&(r=r.filter(s=>!e.hideOn(o,s))),o.docChanged)){let s=[];for(let a of r){let l=o.changes.mapPos(a.pos,-1,Ct.TrackDel);if(l!=null){let c=Object.assign(Object.create(null),a);c.pos=l,c.end!=null&&(c.end=o.changes.mapPos(c.end)),s.push(c)}}r=s}for(let s of o.effects)s.is(i)&&(r=s.value),s.is(GZ)&&(r=[]);return r},provide:r=>HO.from(r)});return{active:n,extension:[n,He.define(r=>new qy(r,t,n,i,e.hoverTime||300)),YZ]}}function ix(t,e){let i=t.plugin(tx);if(!i)return null;let n=i.manager.tooltips.indexOf(e);return n<0?null:i.manager.tooltipViews[n]}var GZ=Se.define();var JP=be.define({combine(t){let e,i;for(let n of t)e=e||n.topContainer,i=i||n.bottomContainer;return{topContainer:e,bottomContainer:i}}});function Ys(t,e){let i=t.plugin(cQ),n=i?i.specs.indexOf(e):-1;return n>-1?i.panels[n]:null}var cQ=He.fromClass(class{constructor(t){this.input=t.state.facet(kn),this.specs=this.input.filter(i=>i),this.panels=this.specs.map(i=>i(t));let e=t.state.facet(JP);this.top=new Ol(t,!0,e.topContainer),this.bottom=new Ol(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(i=>i.top)),this.bottom.sync(this.panels.filter(i=>!i.top));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(JP);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new Ol(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new Ol(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(kn);if(i!=this.input){let n=i.filter(l=>l),r=[],o=[],s=[],a=[];for(let l of n){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)),r.push(u),(u.top?o:s).push(u)}this.specs=n,this.panels=r,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 n of this.panels)n.update&&n.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>fe.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})}),Ol=class{constructor(e,i,n){this.view=e,this.top=i,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let i of this.panels)i.destroy&&e.indexOf(i)<0&&i.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 i=this.container||this.view.dom;i.insertBefore(this.dom,this.top?i.firstChild:null)}let e=this.dom.firstChild;for(let i of this.panels)if(i.dom.parentNode==this.dom){for(;e!=i.dom;)e=eC(e);e=e.nextSibling}else this.dom.insertBefore(i.dom,e);for(;e;)e=eC(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 eC(t){let e=t.nextSibling;return t.remove(),e}var kn=be.define({enables:cQ}),on=class extends jn{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}};on.prototype.elementClass="";on.prototype.toDOM=void 0;on.prototype.mapMode=Ct.TrackBefore;on.prototype.startSide=on.prototype.endSide=-1;on.prototype.point=!0;var zO=be.define(),KZ=be.define(),JZ={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Je.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Du=be.define();function nx(t){return[uQ(),Du.of(Object.assign(Object.assign({},JZ),t))]}var jy=be.define({combine:t=>t.some(e=>e)});function uQ(t){let e=[eB];return t&&t.fixed===!1&&e.push(jy.of(!0)),e}var eB=He.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(Du).map(e=>new KO(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(jy),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,i=t.view.viewport,n=Math.min(e.to,i.to)-Math.max(e.from,i.from);this.syncGutters(n<(i.to-i.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(jy)!=!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 i=Je.iter(this.view.state.facet(zO),this.view.viewport.from),n=[],r=this.gutters.map(o=>new Vy(o,this.view.viewport,-this.view.documentPadding.top));for(let o of this.view.viewportLineBlocks)if(n.length&&(n=[]),Array.isArray(o.type)){let s=!0;for(let a of o.type)if(a.type==Li.Text&&s){Wy(i,n,a.from);for(let l of r)l.line(this.view,a,n);s=!1}else if(a.widget)for(let l of r)l.widget(this.view,a)}else if(o.type==Li.Text){Wy(i,n,o.from);for(let s of r)s.line(this.view,o,n)}else if(o.widget)for(let s of r)s.widget(this.view,o);for(let o of r)o.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(Du),i=t.state.facet(Du),n=t.docChanged||t.heightChanged||t.viewportChanged||!Je.eq(t.startState.facet(zO),t.state.facet(zO),t.view.viewport.from,t.view.viewport.to);if(e==i)for(let r of this.gutters)r.update(t)&&(n=!0);else{n=!0;let r=[];for(let o of i){let s=e.indexOf(o);s<0?r.push(new KO(this.view,o)):(this.gutters[s].update(t),r.push(this.gutters[s]))}for(let o of this.gutters)o.dom.remove(),r.indexOf(o)<0&&o.destroy();for(let o of r)this.dom.appendChild(o.dom);this.gutters=r}return n}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>fe.scrollMargins.of(e=>{let i=e.plugin(t);return!i||i.gutters.length==0||!i.fixed?null:e.textDirection==st.LTR?{left:i.dom.offsetWidth*e.scaleX}:{right:i.dom.offsetWidth*e.scaleX}})});function tC(t){return Array.isArray(t)?t:[t]}function Wy(t,e,i){for(;t.value&&t.from<=i;)t.from==i&&e.push(t.value),t.next()}var Vy=class{constructor(e,i,n){this.gutter=e,this.height=n,this.i=0,this.cursor=Je.iter(e.markers,i.from)}addElement(e,i,n){let{gutter:r}=this,o=(i.top-this.height)/e.scaleY,s=i.height/e.scaleY;if(this.i==r.elements.length){let a=new JO(e,s,o,n);r.elements.push(a),r.dom.appendChild(a.dom)}else r.elements[this.i].update(e,s,o,n);this.height=i.bottom,this.i++}line(e,i,n){let r=[];Wy(this.cursor,r,i.from),n.length&&(r=r.concat(n));let o=this.gutter.config.lineMarker(e,i,r);o&&r.unshift(o);let s=this.gutter;r.length==0&&!s.config.renderEmptyElements||this.addElement(e,i,r)}widget(e,i){let n=this.gutter.config.widgetMarker(e,i.widget,i),r=n?[n]:null;for(let o of e.state.facet(KZ)){let s=o(e,i.widget,i);s&&(r||(r=[])).push(s)}r&&this.addElement(e,i,r)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let i=e.elements.pop();e.dom.removeChild(i.dom),i.destroy()}}},KO=class{constructor(e,i){this.view=e,this.config=i,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in i.domEventHandlers)this.dom.addEventListener(n,r=>{let o=r.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=r.clientY;let a=e.lineBlockAtHeight(s-e.documentTop);i.domEventHandlers[n](e,a,r)&&r.preventDefault()});this.markers=tC(i.markers(e)),i.initialSpacer&&(this.spacer=new JO(e,0,0,[i.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let i=this.markers;if(this.markers=tC(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let r=this.config.updateSpacer(this.spacer.markers[0],e);r!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[r])}let n=e.view.viewport;return!Je.eq(this.markers,i,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}},JO=class{constructor(e,i,n,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,i,n,r)}update(e,i,n,r){this.height!=i&&(this.height=i,this.dom.style.height=i+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),tB(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,i){let n="cm-gutterElement",r=this.dom.firstChild;for(let o=0,s=0;;){let a=s,l=o<i.length?i[o++]:null,c=!1;if(l){let u=l.elementClass;u&&(n+=" "+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(r);let f=r.nextSibling;r.remove(),r=f}}if(!l)break;l.toDOM&&(c?r=r.nextSibling:this.dom.insertBefore(l.toDOM(e),r)),c&&s++}this.dom.className=n,this.markers=i}destroy(){this.setMarkers(null,[])}};function tB(t,e){if(t.length!=e.length)return!1;for(let i=0;i<t.length;i++)if(!t[i].compare(e[i]))return!1;return!0}var iB=be.define(),nB=be.define(),pl=be.define({combine(t){return Qt(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,i){let n=Object.assign({},e);for(let r in i){let o=n[r],s=i[r];n[r]=o?(a,l,c)=>o(a,l,c)||s(a,l,c):s}return n}})}}),zu=class extends on{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}};function ny(t,e){return t.state.facet(pl).formatNumber(e,t.state)}var rB=Du.compute([pl],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(iB)},lineMarker(e,i,n){return n.some(r=>r.toDOM)?null:new zu(ny(e,e.state.doc.lineAt(i.from).number))},widgetMarker:(e,i,n)=>{for(let r of e.state.facet(nB)){let o=r(e,i,n);if(o)return o}return null},lineMarkerChange:e=>e.startState.facet(pl)!=e.state.facet(pl),initialSpacer(e){return new zu(ny(e,iC(e.state.doc.lines)))},updateSpacer(e,i){let n=ny(i.view,iC(i.view.state.doc.lines));return n==e.number?e:new zu(n)},domEventHandlers:t.facet(pl).domEventHandlers}));function fQ(t={}){return[pl.of(t),uQ(),rB]}function iC(t){let e=9;for(;e<t;)e=e*10+9;return e}var oB=new class extends on{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},sB=zO.compute(["selection"],t=>{let e=[],i=-1;for(let n of t.selection.ranges){let r=t.doc.lineAt(n.head).from;r>i&&(i=r,e.push(oB.range(r)))}return Je.of(e)});function hQ(){return sB}var aB=0,Sn=class t{constructor(e,i,n){this.set=e,this.base=i,this.modified=n,this.id=aB++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let i=new t([],null,[]);if(i.set.push(i),e)for(let n of e.set)i.set.push(n);return i}static defineModifier(){let e=new lp;return i=>i.modified.indexOf(e)>-1?i:lp.get(i.base||i,i.modified.concat(e).sort((n,r)=>n.id-r.id))}},lB=0,lp=class t{constructor(){this.instances=[],this.id=lB++}static get(e,i){if(!i.length)return e;let n=i[0].instances.find(a=>a.base==e&&cB(i,a.modified));if(n)return n;let r=[],o=new Sn(r,e,i);for(let a of i)a.instances.push(o);let s=uB(i);for(let a of e.set)if(!a.modified.length)for(let l of s)r.push(t.get(a,l));return o}};function cB(t,e){return t.length==e.length&&t.every((i,n)=>i==e[n])}function uB(t){let e=[[]];for(let i=0;i<t.length;i++)for(let n=0,r=e.length;n<r;n++)e.push(e[n].concat(t[i]));return e.sort((i,n)=>n.length-i.length)}function Tt(t){let e=Object.create(null);for(let i in t){let n=t[i];Array.isArray(n)||(n=[n]);for(let r of i.split(" "))if(r){let o=[],s=2,a=r;for(let f=0;;){if(a=="..."&&f>0&&f+3==r.length){s=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!d)throw new RangeError("Invalid path: "+r);if(o.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),f+=d[0].length,f==r.length)break;let O=r[f++];if(f==r.length&&O=="!"){s=0;break}if(O!="/")throw new RangeError("Invalid path: "+r);a=r.slice(f)}let l=o.length-1,c=o[l];if(!c)throw new RangeError("Invalid path: "+r);let u=new yl(n,s,l>0?o.slice(0,l):null);e[c]=u.sort(e[c])}}return mQ.add(e)}var mQ=new _e,yl=class{constructor(e,i,n,r){this.tags=e,this.mode=i,this.context=n,this.next=r}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}};yl.empty=new yl([],2,null);function ax(t,e){let i=Object.create(null);for(let o of t)if(!Array.isArray(o.tag))i[o.tag.id]=o.class;else for(let s of o.tag)i[s.id]=o.class;let{scope:n,all:r=null}=e||{};return{style:o=>{let s=r;for(let a of o)for(let l of a.set){let c=i[l.id];if(c){s=s?s+" "+c:c;break}}return s},scope:n}}function fB(t,e){let i=null;for(let n of t){let r=n.style(e);r&&(i=i?i+" "+r:r)}return i}function lx(t,e,i,n=0,r=t.length){let o=new ox(n,Array.isArray(e)?e:[e],i);o.highlightRange(t.cursor(),n,r,"",o.highlighters),o.flush(r)}function gQ(t,e,i,n,r,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 O=f.indexOf(`
`,d),m=O<0?f.length:O;if(m>d&&n(f.slice(d,m),u),O<0)break;r(),d=O+1}a=c}}lx(e,i,(c,u,f)=>{l(c,""),l(u,f)},o,s),l(s,"")}var ox=class{constructor(e,i,n){this.at=e,this.highlighters=i,this.span=n,this.class=""}startSpan(e,i){i!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=i)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,i,n,r,o){let{type:s,from:a,to:l}=e;if(a>=n||l<=i)return;s.isTop&&(o=this.highlighters.filter(O=>!O.scope||O.scope(s)));let c=r,u=hB(e)||yl.empty,f=fB(o,u.tags);if(f&&(c&&(c+=" "),c+=f,u.mode==1&&(r+=(r?" ":"")+f)),this.startSpan(Math.max(i,a),c),u.opaque)return;let d=e.tree&&e.tree.prop(_e.mounted);if(d&&d.overlay){let O=e.node.enter(d.overlay[0].from+a,1),m=this.highlighters.filter(v=>!v.scope||v.scope(d.tree.type)),x=e.firstChild();for(let v=0,w=a;;v++){let T=v<d.overlay.length?d.overlay[v]:null,A=T?T.from+a:l,L=Math.max(i,w),D=Math.min(n,A);if(L<D&&x)for(;e.from<D&&(this.highlightRange(e,L,D,r,o),this.startSpan(Math.min(D,e.to),c),!(e.to>=A||!e.nextSibling())););if(!T||A>n)break;w=T.to+a,w>i&&(this.highlightRange(O.cursor(),Math.max(i,T.from+a),Math.min(n,w),"",m),this.startSpan(Math.min(n,w),c))}x&&e.parent()}else if(e.firstChild()){d&&(r="");do if(!(e.to<=i)){if(e.from>=n)break;this.highlightRange(e,i,n,r,o),this.startSpan(Math.min(n,e.to),c)}while(e.nextSibling());e.parent()}}};function hB(t){let e=t.type.prop(mQ);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}var xe=Sn.define,op=xe(),Go=xe(),OQ=xe(Go),pQ=xe(Go),Ko=xe(),sp=xe(Ko),rx=xe(Ko),gr=xe(),Fs=xe(gr),pr=xe(),mr=xe(),sx=xe(),Yu=xe(sx),ap=xe(),E={comment:op,lineComment:xe(op),blockComment:xe(op),docComment:xe(op),name:Go,variableName:xe(Go),typeName:OQ,tagName:xe(OQ),propertyName:pQ,attributeName:xe(pQ),className:xe(Go),labelName:xe(Go),namespace:xe(Go),macroName:xe(Go),literal:Ko,string:sp,docString:xe(sp),character:xe(sp),attributeValue:xe(sp),number:rx,integer:xe(rx),float:xe(rx),bool:xe(Ko),regexp:xe(Ko),escape:xe(Ko),color:xe(Ko),url:xe(Ko),keyword:pr,self:xe(pr),null:xe(pr),atom:xe(pr),unit:xe(pr),modifier:xe(pr),operatorKeyword:xe(pr),controlKeyword:xe(pr),definitionKeyword:xe(pr),moduleKeyword:xe(pr),operator:mr,derefOperator:xe(mr),arithmeticOperator:xe(mr),logicOperator:xe(mr),bitwiseOperator:xe(mr),compareOperator:xe(mr),updateOperator:xe(mr),definitionOperator:xe(mr),typeOperator:xe(mr),controlOperator:xe(mr),punctuation:sx,separator:xe(sx),bracket:Yu,angleBracket:xe(Yu),squareBracket:xe(Yu),paren:xe(Yu),brace:xe(Yu),content:gr,heading:Fs,heading1:xe(Fs),heading2:xe(Fs),heading3:xe(Fs),heading4:xe(Fs),heading5:xe(Fs),heading6:xe(Fs),contentSeparator:xe(gr),list:xe(gr),quote:xe(gr),emphasis:xe(gr),strong:xe(gr),link:xe(gr),monospace:xe(gr),strikethrough:xe(gr),inserted:xe(),deleted:xe(),changed:xe(),invalid:xe(),meta:ap,documentMeta:xe(ap),annotation:xe(ap),processingInstruction:xe(ap),definition:Sn.defineModifier(),constant:Sn.defineModifier(),function:Sn.defineModifier(),standard:Sn.defineModifier(),local:Sn.defineModifier(),special:Sn.defineModifier()},Gwe=ax([{tag:E.link,class:"tok-link"},{tag:E.heading,class:"tok-heading"},{tag:E.emphasis,class:"tok-emphasis"},{tag:E.strong,class:"tok-strong"},{tag:E.keyword,class:"tok-keyword"},{tag:E.atom,class:"tok-atom"},{tag:E.bool,class:"tok-bool"},{tag:E.url,class:"tok-url"},{tag:E.labelName,class:"tok-labelName"},{tag:E.inserted,class:"tok-inserted"},{tag:E.deleted,class:"tok-deleted"},{tag:E.literal,class:"tok-literal"},{tag:E.string,class:"tok-string"},{tag:E.number,class:"tok-number"},{tag:[E.regexp,E.escape,E.special(E.string)],class:"tok-string2"},{tag:E.variableName,class:"tok-variableName"},{tag:E.local(E.variableName),class:"tok-variableName tok-local"},{tag:E.definition(E.variableName),class:"tok-variableName tok-definition"},{tag:E.special(E.variableName),class:"tok-variableName2"},{tag:E.definition(E.propertyName),class:"tok-propertyName tok-definition"},{tag:E.typeName,class:"tok-typeName"},{tag:E.namespace,class:"tok-namespace"},{tag:E.className,class:"tok-className"},{tag:E.macroName,class:"tok-macroName"},{tag:E.propertyName,class:"tok-propertyName"},{tag:E.operator,class:"tok-operator"},{tag:E.comment,class:"tok-comment"},{tag:E.meta,class:"tok-meta"},{tag:E.invalid,class:"tok-invalid"},{tag:E.punctuation,class:"tok-punctuation"}]);var cx,Hr=new _e;function wl(t){return be.define({combine:t?e=>e.concat(t):void 0})}var hp=new _e,di=class{constructor(e,i,n=[],r=""){this.data=e,this.name=r,ot.prototype.hasOwnProperty("tree")||Object.defineProperty(ot.prototype,"tree",{get(){return qe(this)}}),this.parser=i,this.extension=[Jo.of(this),ot.languageData.of((o,s,a)=>{let l=bQ(o,s,a),c=l.type.prop(Hr);if(!c)return[];let u=o.facet(c),f=l.type.prop(hp);if(f){let d=l.resolve(s-l.from,a);for(let O of f)if(O.test(d,o)){let m=o.facet(O.facet);return O.type=="replace"?m:m.concat(u)}}return u})].concat(n)}isActiveAt(e,i,n=-1){return bQ(e,i,n).type.prop(Hr)==this.data}findRegions(e){let i=e.facet(Jo);if((i==null?void 0:i.data)==this.data)return[{from:0,to:e.doc.length}];if(!i||!i.allowsNesting)return[];let n=[],r=(o,s)=>{if(o.prop(Hr)==this.data){n.push({from:s,to:s+o.length});return}let a=o.prop(_e.mounted);if(a){if(a.tree.prop(Hr)==this.data){if(a.overlay)for(let l of a.overlay)n.push({from:l.from+s,to:l.to+s});else n.push({from:s,to:s+o.length});return}else if(a.overlay){let l=n.length;if(r(a.tree,a.overlay[0].from+s),n.length>l)return}}for(let l=0;l<o.children.length;l++){let c=o.children[l];c instanceof Ze&&r(c,o.positions[l]+s)}};return r(qe(e),0),n}get allowsNesting(){return!0}};di.setState=Se.define();function bQ(t,e,i){let n=t.facet(Jo),r=qe(t).topNode;if(!n||n.allowsNesting)for(let o=r;o;o=o.enter(e,i,rt.ExcludeBuffers))o.type.isTop&&(r=o);return r}var Vt=class t extends di{constructor(e,i,n){super(e,i,[],n),this.parser=i}static define(e){let i=wl(e.languageData);return new t(i,e.parser.configure({props:[Hr.add(n=>n.isTop?i:void 0)]}),e.name)}configure(e,i){return new t(this.data,this.parser.configure(e),i||this.name)}get allowsNesting(){return this.parser.hasWrappers()}};function qe(t){let e=t.field(di.state,!1);return e?e.tree:Ze.empty}function vx(t,e,i=50){var n;let r=(n=t.field(di.state,!1))===null||n===void 0?void 0:n.context;if(!r)return null;let o=r.viewport;r.updateViewport({from:0,to:e});let s=r.isDone(e)||r.work(i,e)?r.tree:null;return r.updateViewport(o),s}var dx=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,i){let n=this.cursorPos-this.string.length;return e<n||i>=this.cursorPos?this.doc.sliceString(e,i):this.string.slice(e-n,i-n)}},Fu=null,Hs=class t{constructor(e,i,n=[],r,o,s,a,l){this.parser=e,this.state=i,this.fragments=n,this.tree=r,this.treeLen=o,this.viewport=s,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,i,n){return new t(e,i,[],Ze.empty,0,n,[],null)}startParse(){return this.parser.startParse(new dx(this.state.doc),this.fragments)}work(e,i){return i!=null&&i>=this.state.doc.length&&(i=void 0),this.tree!=Ze.empty&&this.isDone(i!=null?i:this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),i!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>i)&&i<this.state.doc.length&&this.parse.stopAt(i);;){let r=this.parse.advance();if(r)if(this.fragments=this.withoutTempSkipped(Wr.addTree(r,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(n=this.parse.stoppedAt)!==null&&n!==void 0?n:this.state.doc.length,this.tree=r,this.parse=null,this.treeLen<(i!=null?i:this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,i;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(i=this.parse.advance()););}),this.treeLen=e,this.tree=i,this.fragments=this.withoutTempSkipped(Wr.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let i=Fu;Fu=this;try{return e()}finally{Fu=i}}withoutTempSkipped(e){for(let i;i=this.tempSkipped.pop();)e=yQ(e,i.from,i.to);return e}changes(e,i){let{fragments:n,tree:r,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})),n=Wr.applyChanges(n,l),r=Ze.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,i,n,r,o,s,a,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let i=this.skipped.length;for(let n=0;n<this.skipped.length;n++){let{from:r,to:o}=this.skipped[n];r<e.to&&o>e.from&&(this.fragments=yQ(this.fragments,r,o),this.skipped.splice(n--,1))}return this.skipped.length>=i?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,i){this.skipped.push({from:e,to:i})}static getSkippingParser(e){return new class extends Vr{createParse(i,n,r){let o=r[0].from,s=r[r.length-1].to;return{parsedPos:o,advance(){let l=Fu;if(l){for(let c of r)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=s,new Ze($t.none,[],[],s-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let i=this.fragments;return this.treeLen>=e&&i.length&&i[0].from==0&&i[0].to>=e}static get(){return Fu}};function yQ(t,e,i){return Wr.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}var Gu=class t{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let i=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),i.viewport.to);return i.work(20,n)||i.takeTree(),new t(i)}static init(e){let i=Math.min(3e3,e.doc.length),n=Hs.create(e.facet(Jo).parser,e,{from:0,to:i});return n.work(20,i)||n.takeTree(),new t(n)}};di.state=Ge.define({create:Gu.init,update(t,e){for(let i of e.effects)if(i.is(di.setState))return i.value;return e.startState.facet(Jo)!=e.state.facet(Jo)?Gu.init(e.state):t.apply(e)}});var TQ=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback!="undefined"&&(TQ=t=>{let e=-1,i=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});var ux=typeof navigator!="undefined"&&(!((cx=navigator.scheduling)===null||cx===void 0)&&cx.isInputPending)?()=>navigator.scheduling.isInputPending():null,dB=He.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 i=this.view.state.field(di.state).context;(i.updateViewport(e.view.viewport)||this.view.viewport.to>i.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(i)}scheduleWork(){if(this.working)return;let{state:e}=this.view,i=e.field(di.state);(i.tree!=i.context.tree||!i.context.isDone(e.doc.length))&&(this.working=TQ(this.work))}work(e){this.working=null;let i=Date.now();if(this.chunkEnd<i&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=i+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:r}}=this.view,o=n.field(di.state);if(o.tree==o.context.tree&&o.context.isDone(r+1e5))return;let s=Date.now()+Math.min(this.chunkBudget,100,e&&!ux?Math.max(25,e.timeRemaining()-5):1e9),a=o.context.treeLen<r&&n.doc.length>r+1e3,l=o.context.work(()=>ux&&ux()||Date.now()>s,r+(a?0:1e5));this.chunkBudget-=Date.now()-i,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:di.setState.of(new Gu(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(i=>fi(this.view.state,i)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Jo=be.define({combine(t){return t.length?t[0]:null},enables:t=>[di.state,dB,fe.contentAttributes.compute([t],e=>{let i=e.facet(t);return i&&i.name?{"data-language":i.name}:{}})]}),mt=class{constructor(e,i=[]){this.language=e,this.support=i,this.extension=[e,i]}},_t=class t{constructor(e,i,n,r,o,s=void 0){this.name=e,this.alias=i,this.extensions=n,this.filename=r,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:i,support:n}=e;if(!i){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");i=()=>Promise.resolve(n)}return new t(e.name,(e.alias||[]).concat(e.name).map(r=>r.toLowerCase()),e.extensions||[],e.filename,i,n)}static matchFilename(e,i){for(let r of e)if(r.filename&&r.filename.test(i))return r;let n=/\.([^.]+)$/.exec(i);if(n){for(let r of e)if(r.extensions.indexOf(n[1])>-1)return r}return null}static matchLanguageName(e,i,n=!0){i=i.toLowerCase();for(let r of e)if(r.alias.some(o=>o==i))return r;if(n)for(let r of e)for(let o of r.alias){let s=i.indexOf(o);if(s>-1&&(o.length>2||!/\w/.test(i[s-1])&&!/\w/.test(i[s+o.length])))return r}return null}},OB=be.define(),Vn=be.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(i=>i!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function br(t){let e=t.facet(Vn);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function Gr(t,e){let i="",n=t.tabSize,r=t.facet(Vn)[0];if(r==" "){for(;e>=n;)i+=" ",e-=n;r=" "}for(let o=0;o<e;o++)i+=r;return i}function kl(t,e){t instanceof ot&&(t=new Gs(t));for(let n of t.state.facet(OB)){let r=n(t,e);if(r!==void 0)return r}let i=qe(t.state);return i.length>=e?pB(t,i,e):null}var Gs=class{constructor(e,i={}){this.state=e,this.options=i,this.unit=br(e)}lineAt(e,i=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:o}=this.options;return r!=null&&r>=n.from&&r<=n.to?o&&r==e?{text:"",from:e}:(i<0?r<e:r<=e)?{text:n.text.slice(r-n.from),from:r}:{text:n.text.slice(0,r-n.from),from:n.from}:n}textAfterPos(e,i=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:r}=this.lineAt(e,i);return n.slice(e-r,Math.min(n.length,e+100-r))}column(e,i=1){let{text:n,from:r}=this.lineAt(e,i),o=this.countColumn(n,e-r),s=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return s>-1&&(o+=s-this.countColumn(n,n.search(/\S|$/))),o}countColumn(e,i=e.length){return Xi(e,this.state.tabSize,i)}lineIndent(e,i=1){let{text:n,from:r}=this.lineAt(e,i),o=this.options.overrideIndentation;if(o){let s=o(r);if(s>-1)return s}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}},zt=new _e;function pB(t,e,i){let n=e.resolveStack(i),r=e.resolveInner(i,-1).resolve(i,0).enterUnfinishedNodesBefore(i);if(r!=n.node){let o=[];for(let s=r;s&&!(s.from==n.node.from&&s.type==n.node.type);s=s.parent)o.push(s);for(let s=o.length-1;s>=0;s--)n={node:o[s],next:n}}return EQ(n,t,i)}function EQ(t,e,i){for(let n=t;n;n=n.next){let r=gB(n.node);if(r)return r(Ox.create(e,i,n))}return 0}function mB(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function gB(t){let e=t.type.prop(zt);if(e)return e;let i=t.firstChild,n;if(i&&(n=i.type.prop(_e.closedBy))){let r=t.lastChild,o=r&&n.indexOf(r.name)>-1;return s=>PQ(s,!0,1,void 0,o&&!mB(s)?r.from:void 0)}return t.parent==null?bB:null}function bB(){return 0}var Ox=class t extends Gs{constructor(e,i,n){super(e.state,e.options),this.base=e,this.pos=i,this.context=n}get node(){return this.context.node}static create(e,i,n){return new t(e,i,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let i=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(i.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(yB(n,e))break;i=this.state.doc.lineAt(n.from)}return this.lineIndent(i.from)}continue(){return EQ(this.context.next,this.base,this.pos)}};function yB(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}function xB(t){let e=t.node,i=e.childAfter(e.from),n=e.lastChild;if(!i)return null;let r=t.options.simulateBreak,o=t.state.doc.lineAt(i.from),s=r==null||r<=o.from?o.to:Math.min(o.to,r);for(let a=i.to;;){let l=e.childAfter(a);if(!l||l==n)return null;if(!l.type.isSkipped){if(l.from>=s)return null;let c=/^ */.exec(o.text.slice(i.to-o.from))[0].length;return{from:i.from,to:i.to+c}}a=l.to}}function Oi({closing:t,align:e=!0,units:i=1}){return n=>PQ(n,e,i,t)}function PQ(t,e,i,n,r){let o=t.textAfter,s=o.match(/^\s*/)[0].length,a=n&&o.slice(s,s+n.length)==n||r==t.pos+s,l=e?xB(t):null;return l?a?t.column(l.from):t.column(l.to):t.baseIndent+(a?0:t.unit*i)}var dp=t=>t.baseIndent;function Si({except:t,units:e=1}={}){return i=>{let n=t&&t.test(i.textAfter);return i.baseIndent+(n?0:e*i.unit)}}var vB=200;function CQ(){return ot.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 i=t.newDoc,{head:n}=t.newSelection.main,r=i.lineAt(n);if(n>r.from+vB)return t;let o=i.sliceString(r.from,n);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=kl(s,u.from);if(f==null)continue;let d=/^\s*/.exec(u.text)[0],O=Gr(s,f);d!=O&&l.push({from:u.from,to:u.from+d.length,insert:O})}return l.length?[t,{changes:l,sequential:!0}]:t})}var wx=be.define(),Ut=new _e;function En(t){let e=t.firstChild,i=t.lastChild;return e&&e.to<i.from?{from:e.to,to:i.type.isError?t.to:i.from}:null}function wB(t,e,i){let n=qe(t);if(n.length<i)return null;let r=n.resolveStack(i,1),o=null;for(let s=r;s;s=s.next){let a=s.node;if(a.to<=i||a.from>i)continue;if(o&&a.from<e)break;let l=a.type.prop(Ut);if(l&&(a.to<n.length-50||n.length==t.doc.length||!kB(a))){let c=l(a,t);c&&c.from<=i&&c.from>=e&&c.to>i&&(o=c)}}return o}function kB(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function cp(t,e,i){for(let n of t.facet(wx)){let r=n(t,e,i);if(r)return r}return wB(t,e,i)}function QQ(t,e){let i=e.mapPos(t.from,1),n=e.mapPos(t.to,-1);return i>=n?void 0:{from:i,to:n}}var Op=Se.define({map:QQ}),Ju=Se.define({map:QQ});function _Q(t){let e=[];for(let{head:i}of t.state.selection.ranges)e.some(n=>n.from<=i&&n.to>=i)||e.push(t.lineBlockAt(i));return e}var Ks=Ge.define({create(){return we.none},update(t,e){t=t.map(e.changes);for(let i of e.effects)if(i.is(Op)&&!SB(t,i.value.from,i.value.to)){let{preparePlaceholder:n}=e.state.facet(kx),r=n?we.replace({widget:new px(n(e.state,i.value))}):xQ;t=t.update({add:[r.range(i.value.from,i.value.to)]})}else i.is(Ju)&&(t=t.update({filter:(n,r)=>i.value.from!=n||i.value.to!=r,filterFrom:i.value.from,filterTo:i.value.to}));if(e.selection){let i=!1,{head:n}=e.selection.main;t.between(n,n,(r,o)=>{r<n&&o>n&&(i=!0)}),i&&(t=t.update({filterFrom:n,filterTo:n,filter:(r,o)=>o<=n||r>=n}))}return t},provide:t=>fe.decorations.from(t),toJSON(t,e){let i=[];return t.between(0,e.doc.length,(n,r)=>{i.push(n,r)}),i},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let i=0;i<t.length;){let n=t[i++],r=t[i++];if(typeof n!="number"||typeof r!="number")throw new RangeError("Invalid JSON for fold state");e.push(xQ.range(n,r))}return we.set(e,!0)}});function up(t,e,i){var n;let r=null;return(n=t.field(Ks,!1))===null||n===void 0||n.between(e,i,(o,s)=>{(!r||r.from>o)&&(r={from:o,to:s})}),r}function SB(t,e,i){let n=!1;return t.between(e,e,(r,o)=>{r==e&&o==i&&(n=!0)}),n}function AQ(t,e){return t.field(Ks,!1)?e:e.concat(Se.appendConfig.of(mp()))}var pp=t=>{for(let e of _Q(t)){let i=cp(t.state,e.from,e.to);if(i)return t.dispatch({effects:AQ(t.state,[Op.of(i),XQ(t,i)])}),!0}return!1},$Q=t=>{if(!t.state.field(Ks,!1))return!1;let e=[];for(let i of _Q(t)){let n=up(t.state,i.from,i.to);n&&e.push(Ju.of(n),XQ(t,n,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function XQ(t,e,i=!0){let n=t.state.doc.lineAt(e.from).number,r=t.state.doc.lineAt(e.to).number;return fe.announce.of(`${t.state.phrase(i?"Folded lines":"Unfolded lines")} ${n} ${t.state.phrase("to")} ${r}.`)}var RQ=t=>{let{state:e}=t,i=[];for(let n=0;n<e.doc.length;){let r=t.lineBlockAt(n),o=cp(e,r.from,r.to);o&&i.push(Op.of(o)),n=(o?t.lineBlockAt(o.to):r).to+1}return i.length&&t.dispatch({effects:AQ(t.state,i)}),!!i.length},LQ=t=>{let e=t.state.field(Ks,!1);if(!e||!e.size)return!1;let i=[];return e.between(0,t.state.doc.length,(n,r)=>{i.push(Ju.of({from:n,to:r}))}),t.dispatch({effects:i}),!0};var TB={placeholderDOM:null,preparePlaceholder:null,placeholderText:"\u2026"},kx=be.define({combine(t){return Qt(t,TB)}});function mp(t){let e=[Ks,PB];return t&&e.push(kx.of(t)),e}function IQ(t,e){let{state:i}=t,n=i.facet(kx),r=s=>{let a=t.lineBlockAt(t.posAtDOM(s.target)),l=up(t.state,a.from,a.to);l&&t.dispatch({effects:Ju.of(l)}),s.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(t,r,e);let o=document.createElement("span");return o.textContent=n.placeholderText,o.setAttribute("aria-label",i.phrase("folded code")),o.title=i.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=r,o}var xQ=we.replace({widget:new class extends ii{toDOM(t){return IQ(t,null)}}}),px=class extends ii{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return IQ(e,this.value)}},EB={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},Hu=class extends on{constructor(e,i){super(),this.config=e,this.open=i}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let i=document.createElement("span");return i.textContent=this.open?this.config.openText:this.config.closedText,i.title=e.state.phrase(this.open?"Fold line":"Unfold line"),i}};function DQ(t={}){let e=Object.assign(Object.assign({},EB),t),i=new Hu(e,!0),n=new Hu(e,!1),r=He.fromClass(class{constructor(s){this.from=s.viewport.from,this.markers=this.buildMarkers(s)}update(s){(s.docChanged||s.viewportChanged||s.startState.facet(Jo)!=s.state.facet(Jo)||s.startState.field(Ks,!1)!=s.state.field(Ks,!1)||qe(s.startState)!=qe(s.state)||e.foldingChanged(s))&&(this.markers=this.buildMarkers(s.view))}buildMarkers(s){let a=new $i;for(let l of s.viewportLineBlocks){let c=up(s.state,l.from,l.to)?n:cp(s.state,l.from,l.to)?i:null;c&&a.add(l.from,l.from,c)}return a.finish()}}),{domEventHandlers:o}=e;return[r,nx({class:"cm-foldGutter",markers(s){var a;return((a=s.plugin(r))===null||a===void 0?void 0:a.markers)||Je.empty},initialSpacer(){return new Hu(e,!1)},domEventHandlers:Object.assign(Object.assign({},o),{click:(s,a,l)=>{if(o.click&&o.click(s,a,l))return!0;let c=up(s.state,a.from,a.to);if(c)return s.dispatch({effects:Ju.of(c)}),!0;let u=cp(s.state,a.from,a.to);return u?(s.dispatch({effects:Op.of(u)}),!0):!1}})}),mp()]}var PB=fe.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"}}),xl=class t{constructor(e,i){this.specs=e;let n;function r(a){let l=Zi.newName();return(n||(n=Object.create(null)))["."+l]=a,l}let o=typeof i.all=="string"?i.all:i.all?r(i.all):void 0,s=i.scope;this.scope=s instanceof di?a=>a.prop(Hr)==s.data:s?a=>a==s:void 0,this.style=ax(e.map(a=>({tag:a.tag,class:a.class||r(Object.assign({},a,{tag:null}))})),{all:o}).style,this.module=n?new Zi(n):null,this.themeType=i.themeType}static define(e,i){return new t(e,i||{})}},mx=be.define(),zQ=be.define({combine(t){return t.length?[t[0]]:null}});function fx(t){let e=t.facet(mx);return e.length?e:t.facet(zQ)}function Sx(t,e){let i=[CB],n;return t instanceof xl&&(t.module&&i.push(fe.styleModule.of(t.module)),n=t.themeType),e!=null&&e.fallback?i.push(zQ.of(t)):n?i.push(mx.computeN([fe.darkTheme],r=>r.facet(fe.darkTheme)==(n=="dark")?[t]:[])):i.push(mx.of(t)),i}var gx=class{constructor(e){this.markCache=Object.create(null),this.tree=qe(e.state),this.decorations=this.buildDeco(e,fx(e.state)),this.decoratedTo=e.viewport.to}update(e){let i=qe(e.state),n=fx(e.state),r=n!=fx(e.startState),{viewport:o}=e.view,s=e.changes.mapPos(this.decoratedTo,1);i.length<o.to&&!r&&i.type==this.tree.type&&s>=o.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=s):(i!=this.tree||e.viewportChanged||r)&&(this.tree=i,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=o.to)}buildDeco(e,i){if(!i||!this.tree.length)return we.none;let n=new $i;for(let{from:r,to:o}of e.visibleRanges)lx(this.tree,i,(s,a,l)=>{n.add(s,a,this.markCache[l]||(this.markCache[l]=we.mark({class:l})))},r,o);return n.finish()}},CB=Dt.high(He.fromClass(gx,{decorations:t=>t.decorations})),oke=xl.define([{tag:E.meta,color:"#404740"},{tag:E.link,textDecoration:"underline"},{tag:E.heading,textDecoration:"underline",fontWeight:"bold"},{tag:E.emphasis,fontStyle:"italic"},{tag:E.strong,fontWeight:"bold"},{tag:E.strikethrough,textDecoration:"line-through"},{tag:E.keyword,color:"#708"},{tag:[E.atom,E.bool,E.url,E.contentSeparator,E.labelName],color:"#219"},{tag:[E.literal,E.inserted],color:"#164"},{tag:[E.string,E.deleted],color:"#a11"},{tag:[E.regexp,E.escape,E.special(E.string)],color:"#e40"},{tag:E.definition(E.variableName),color:"#00f"},{tag:E.local(E.variableName),color:"#30a"},{tag:[E.typeName,E.namespace],color:"#085"},{tag:E.className,color:"#167"},{tag:[E.special(E.variableName),E.macroName],color:"#256"},{tag:E.definition(E.propertyName),color:"#00c"},{tag:E.comment,color:"#940"},{tag:E.invalid,color:"#f00"}]),QB=fe.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),UQ=1e4,MQ="()[]{}",NQ=be.define({combine(t){return Qt(t,{afterCursor:!0,brackets:MQ,maxScanDistance:UQ,renderMatch:$B})}}),_B=we.mark({class:"cm-matchingBracket"}),AB=we.mark({class:"cm-nonmatchingBracket"});function $B(t){let e=[],i=t.matched?_B:AB;return e.push(i.range(t.start.from,t.start.to)),t.end&&e.push(i.range(t.end.from,t.end.to)),e}var XB=Ge.define({create(){return we.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let i=[],n=e.state.facet(NQ);for(let r of e.state.selection.ranges){if(!r.empty)continue;let o=Tn(e.state,r.head,-1,n)||r.head>0&&Tn(e.state,r.head-1,1,n)||n.afterCursor&&(Tn(e.state,r.head,1,n)||r.head<e.state.doc.length&&Tn(e.state,r.head+1,-1,n));o&&(i=i.concat(n.renderMatch(o,e.state)))}return we.set(i,!0)},provide:t=>fe.decorations.from(t)}),RB=[XB,QB];function qQ(t={}){return[NQ.of(t),RB]}var ef=new _e;function bx(t,e,i){let n=t.prop(e<0?_e.openedBy:_e.closedBy);if(n)return n;if(t.name.length==1){let r=i.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[i[r+e]]}return null}function yx(t){let e=t.type.prop(ef);return e?e(t.node):t}function Tn(t,e,i,n={}){let r=n.maxScanDistance||UQ,o=n.brackets||MQ,s=qe(t),a=s.resolveInner(e,i);for(let l=a;l;l=l.parent){let c=bx(l.type,i,o);if(c&&l.from<l.to){let u=yx(l);if(u&&(i>0?e>=u.from&&e<u.to:e>u.from&&e<=u.to))return LB(t,e,i,l,u,c,o)}}return IB(t,e,i,s,a.type,r,o)}function LB(t,e,i,n,r,o,s){let a=n.parent,l={from:r.from,to:r.to},c=0,u=a==null?void 0:a.cursor();if(u&&(i<0?u.childBefore(n.from):u.childAfter(n.to)))do if(i<0?u.to<=n.from:u.from>=n.to){if(c==0&&o.indexOf(u.type.name)>-1&&u.from<u.to){let f=yx(u);return{start:l,end:f?{from:f.from,to:f.to}:void 0,matched:!0}}else if(bx(u.type,i,s))c++;else if(bx(u.type,-i,s)){if(c==0){let f=yx(u);return{start:l,end:f&&f.from<f.to?{from:f.from,to:f.to}:void 0,matched:!1}}c--}}while(i<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function IB(t,e,i,n,r,o,s){let a=i<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1),l=s.indexOf(a);if(l<0||l%2==0!=i>0)return null;let c={from:i<0?e-1:e,to:i>0?e+1:e},u=t.doc.iterRange(e,i>0?t.doc.length:0),f=0;for(let d=0;!u.next().done&&d<=o;){let O=u.value;i<0&&(d+=O.length);let m=e+d*i;for(let x=i>0?0:O.length-1,v=i>0?O.length:-1;x!=v;x+=i){let w=s.indexOf(O[x]);if(!(w<0||n.resolveInner(m+x,1).type!=r))if(w%2==0==i>0)f++;else{if(f==1)return{start:c,end:{from:m+x,to:m+x+1},matched:w>>1==l>>1};f--}}i>0&&(d+=O.length)}return u.done?{start:c,matched:!1}:null}function vQ(t,e,i,n=0,r=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let o=r;for(let s=n;s<e;s++)t.charCodeAt(s)==9?o+=i-o%i:o++;return o}var vl=class{constructor(e,i,n,r){this.string=e,this.tabSize=i,this.indentUnit=n,this.overrideIndent=r,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 i=this.string.charAt(this.pos),n;if(typeof e=="string"?n=i==e:n=i&&(e instanceof RegExp?e.test(i):e(i)),n)return++this.pos,i}eatWhile(e){let i=this.pos;for(;this.eat(e););return this.pos>i}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 i=this.string.indexOf(e,this.pos);if(i>-1)return this.pos=i,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=vQ(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:vQ(this.string,null,this.tabSize)}match(e,i,n){if(typeof e=="string"){let r=s=>n?s.toLowerCase():s,o=this.string.substr(this.pos,e.length);return r(o)==r(e)?(i!==!1&&(this.pos+=e.length),!0):null}else{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&i!==!1&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}};function DB(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||zB,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||Ex}}function zB(t){if(typeof t!="object")return t;let e={};for(let i in t){let n=t[i];e[i]=n instanceof Array?n.slice():n}return e}var wQ=new WeakMap,Js=class t extends di{constructor(e){let i=wl(e.languageData),n=DB(e),r,o=new class extends Vr{createParse(s,a,l){return new xx(r,s,a,l)}};super(i,o,[],e.name),this.topNode=qB(i,this),r=this,this.streamParser=n,this.stateAfter=new _e({perNode:!0}),this.tokenTable=e.tokenTable?new fp(n.tokenTable):NB}static define(e){return new t(e)}getIndent(e){let i,{overrideIndentation:n}=e.options;n&&(i=wQ.get(e.state),i!=null&&i<e.pos-1e4&&(i=void 0));let r=Tx(this,e.node.tree,e.node.from,e.node.from,i!=null?i:e.pos),o,s;if(r?(s=r.state,o=r.pos+1):(s=this.streamParser.startState(e.unit),o=e.node.from),e.pos-o>1e4)return null;for(;o<e.pos;){let l=e.state.doc.lineAt(o),c=Math.min(e.pos,l.to);if(l.length){let u=n?n(l.from):-1,f=new vl(l.text,e.state.tabSize,e.unit,u<0?void 0:u);for(;f.pos<c-l.from;)WQ(this.streamParser.token,f,s)}else this.streamParser.blankLine(s,e.unit);if(c==e.pos)break;o=l.to+1}let a=e.lineAt(e.pos);return n&&i==null&&wQ.set(e.state,a.from),this.streamParser.indent(s,/^\s*(.*)/.exec(a.text)[1],e)}get allowsNesting(){return!1}};function Tx(t,e,i,n,r){let o=i>=n&&i+e.length<=r&&e.prop(t.stateAfter);if(o)return{state:t.streamParser.copyState(o),pos:i+e.length};for(let s=e.children.length-1;s>=0;s--){let a=e.children[s],l=i+e.positions[s],c=a instanceof Ze&&l<r&&Tx(t,a,l,n,r);if(c)return c}return null}function jQ(t,e,i,n,r){if(r&&i<=0&&n>=e.length)return e;!r&&i==0&&e.type==t.topNode&&(r=!0);for(let o=e.children.length-1;o>=0;o--){let s=e.positions[o],a=e.children[o],l;if(s<n&&a instanceof Ze){if(!(l=jQ(t,a,i-s,n-s,r)))break;return r?new Ze(e.type,e.children.slice(0,o).concat(l),e.positions.slice(0,o+1),s+l.length):l}}return null}function UB(t,e,i,n,r){for(let o of e){let s=o.from+(o.openStart?25:0),a=o.to-(o.openEnd?25:0),l=s<=i&&a>i&&Tx(t,o.tree,0-o.offset,i,a),c;if(l&&l.pos<=n&&(c=jQ(t,o.tree,i+o.offset,l.pos+o.offset,!1)))return{state:l.state,tree:c}}return{state:t.streamParser.startState(r?br(r):4),tree:Ze.empty}}var xx=class{constructor(e,i,n,r){this.lang=e,this.input=i,this.fragments=n,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let o=Hs.get(),s=r[0].from,{state:a,tree:l}=UB(e,n,s,this.to,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&&r.some(c=>c.from<=o.viewport.from&&c.to>=o.viewport.from)&&(this.state=this.lang.streamParser.startState(br(o.state)),o.skipUntilInView(this.parsedPos,o.viewport.from),this.parsedPos=o.viewport.from),this.moveRangeIndex()}advance(){let e=Hs.get(),i=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt),n=Math.min(i,this.chunkStart+2048);for(e&&(n=Math.min(n,e.viewport.to));this.parsedPos<n;)this.parseLine(e);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=i?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,i),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let i=this.input.chunk(e);if(this.input.lineChunks)i==`
`&&(i="");else{let n=i.indexOf(`
`);n>-1&&(i=i.slice(0,n))}return e+i.length<=this.to?i:i.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,i=this.lineAfter(e),n=e+i.length;for(let r=this.rangeIndex;;){let o=this.ranges[r].to;if(o>=n||(i=i.slice(0,o-(n-i.length)),r++,r==this.ranges.length))break;let s=this.ranges[r].from,a=this.lineAfter(s);i+=a,n=s+a.length}return{line:i,end:n}}skipGapsTo(e,i,n){for(;;){let r=this.ranges[this.rangeIndex].to,o=e+i;if(n>0?r>o:r>=o)break;let s=this.ranges[++this.rangeIndex].from;i+=s-r}return i}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(e,i,n,r){let o=4;if(this.ranges.length>1){r=this.skipGapsTo(i,r,1),i+=r;let a=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,o+=this.chunk.length-a}let s=this.chunk.length-4;return o==4&&s>=0&&this.chunk[s]==e&&this.chunk[s+2]==i?this.chunk[s+2]=n:this.chunk.push(e,i,n,o),r}parseLine(e){let{line:i,end:n}=this.nextLine(),r=0,{streamParser:o}=this.lang,s=new vl(i,e?e.state.tabSize:4,e?br(e.state):2);if(s.eol())o.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let a=WQ(o.token,s,this.state);if(a&&(r=this.emitToken(this.lang.tokenTable.resolve(a),this.parsedPos+s.start,this.parsedPos+s.pos,r)),s.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let e=Ze.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:MB,topID:0,maxBufferLength:2048,reused:this.chunkReused});e=new Ze(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 Ze(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}};function WQ(t,e,i){e.start=e.pos;for(let n=0;n<10;n++){let r=t(e,i);if(e.pos>e.start)return r}throw new Error("Stream parser failed to advance stream.")}var Ex=Object.create(null),Ku=[$t.none],MB=new jr(Ku),kQ=[],SQ=Object.create(null),VQ=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"]])VQ[t]=ZQ(Ex,e);var fp=class{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),VQ)}resolve(e){return e?this.table[e]||(this.table[e]=ZQ(this.extra,e)):0}},NB=new fp(Ex);function hx(t,e){kQ.indexOf(t)>-1||(kQ.push(t),console.warn(e))}function ZQ(t,e){let i=[];for(let a of e.split(" ")){let l=[];for(let c of a.split(".")){let u=t[c]||E[c];u?typeof u=="function"?l.length?l=l.map(u):hx(c,`Modifier ${c} used at start of tag`):l.length?hx(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:hx(c,`Unknown highlighting tag ${c}`)}for(let c of l)i.push(c)}if(!i.length)return 0;let n=e.replace(/ /g,"_"),r=n+" "+i.map(a=>a.id),o=SQ[r];if(o)return o.id;let s=SQ[r]=$t.define({id:Ku.length,name:n,props:[Tt({[n]:i})]});return Ku.push(s),s.id}function qB(t,e){let i=$t.define({id:Ku.length,name:"Document",props:[Hr.add(()=>t),zt.add(()=>n=>e.getIndent(n))],top:!0});return Ku.push(i),i}var ske={rtl:we.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"rtl"},bidiIsolate:st.RTL}),ltr:we.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"ltr"},bidiIsolate:st.LTR}),auto:we.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"auto"},bidiIsolate:null})};var Sl=class{constructor(e,i,n,r){this.state=e,this.pos=i,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let i=qe(this.state).resolveInner(this.pos,-1);for(;i&&e.indexOf(i.name)<0;)i=i.parent;return i?{from:i.from,to:this.pos,text:this.state.sliceDoc(i.from,this.pos),type:i.type}:null}matchBefore(e){let i=this.state.doc.lineAt(this.pos),n=Math.max(i.from,this.pos-250),r=i.text.slice(n-i.from,this.pos-i.from),o=r.search(t_(e,!1));return o<0?null:{from:n+o,to:this.pos,text:r.slice(o)}}get aborted(){return this.abortListeners==null}addEventListener(e,i,n){e=="abort"&&this.abortListeners&&(this.abortListeners.push(i),n&&n.onDocChange&&(this.abortOnDocChange=!0))}};function BQ(t){let e=Object.keys(t).join(""),i=/\w/.test(e);return i&&(e=e.replace(/\w/g,"")),`[${i?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function jB(t){let e=Object.create(null),i=Object.create(null);for(let{label:r}of t){e[r[0]]=!0;for(let o=1;o<r.length;o++)i[r[o]]=!0}let n=BQ(e)+BQ(i)+"*$";return[new RegExp("^"+n),new RegExp(n)]}function ia(t){let e=t.map(r=>typeof r=="string"?{label:r}:r),[i,n]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:jB(e);return r=>{let o=r.matchBefore(n);return o||r.explicit?{from:o?o.from:r.pos,options:e,validFor:i}:null}}function Pl(t,e){return i=>{for(let n=qe(i.state).resolveInner(i.pos,-1);n;n=n.parent){if(t.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return e(i)}}var gp=class{constructor(e,i,n,r){this.completion=e,this.source=i,this.match=n,this.score=r}};function ta(t){return t.selection.main.from}function t_(t,e){var i;let{source:n}=t,r=e&&n[0]!="^",o=n[n.length-1]!="$";return!r&&!o?t:new RegExp(`${r?"^":""}(?:${n})${o?"$":""}`,(i=t.flags)!==null&&i!==void 0?i:t.ignoreCase?"i":"")}var zx=ki.define();function WB(t,e,i,n){let{main:r}=t.selection,o=i-r.from,s=n-r.from;return Object.assign(Object.assign({},t.changeByRange(a=>{if(a!=r&&i!=n&&t.sliceDoc(a.from+o,a.from+s)!=t.sliceDoc(i,n))return{range:a};let l=t.toText(e);return{changes:{from:a.from+o,to:n==r.from?a.to:a.from+s,insert:l},range:K.cursor(a.from+o+l.length)}})),{scrollIntoView:!0,userEvent:"input.complete"})}var YQ=new WeakMap;function VB(t){if(!Array.isArray(t))return t;let e=YQ.get(t);return e||YQ.set(t,e=ia(t)),e}var bp=Se.define(),tf=Se.define(),Qx=class{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let i=0;i<e.length;){let n=ci(e,i),r=nn(n);this.chars.push(n);let o=e.slice(i,i+r),s=o.toUpperCase();this.folded.push(ci(s==o?o.toLowerCase():s,0)),i+=r}this.astral=e.length!=this.chars.length}ret(e,i){return this.score=e,this.matched=i,this}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:i,folded:n,any:r,precise:o,byWord:s}=this;if(i.length==1){let T=ci(e,0),A=nn(T),L=A==e.length?0:-100;if(T!=i[0])if(T==n[0])L+=-200;else return null;return this.ret(L,[0,A])}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=i.length,c=0;if(a<0){for(let T=0,A=Math.min(e.length,200);T<A&&c<l;){let L=ci(e,T);(L==i[c]||L==n[c])&&(r[c++]=T),T+=nn(L)}if(c<l)return null}let u=0,f=0,d=!1,O=0,m=-1,x=-1,v=/[a-z]/.test(e),w=!0;for(let T=0,A=Math.min(e.length,200),L=0;T<A&&f<l;){let D=ci(e,T);a<0&&(u<l&&D==i[u]&&(o[u++]=T),O<l&&(D==i[O]||D==n[O]?(O==0&&(m=T),x=T+1,O++):O=0));let P,N=D<255?D>=48&&D<=57||D>=97&&D<=122?2:D>=65&&D<=90?1:0:(P=Tu(D))!=P.toLowerCase()?1:P!=P.toUpperCase()?2:0;(!T||N==1&&v||L==0&&N!=0)&&(i[f]==D||n[f]==D&&(d=!0)?s[f++]=T:s.length&&(w=!1)),L=N,T+=nn(D)}return f==l&&s[0]==0&&w?this.result(-100+(d?-200:0),s,e):O==l&&m==0?this.ret(-200-e.length+(x==e.length?0:-100),[0,x]):a>-1?this.ret(-700-e.length,[a,a+this.pattern.length]):O==l?this.ret(-900-e.length,[m,x]):f==l?this.result(-100+(d?-200:0)+-700+(w?0:-1100),s,e):i.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,i,n){let r=[],o=0;for(let s of i){let a=s+(this.astral?nn(ci(n,s)):1);o&&r[o-1]==s?r[o-1]=a:(r[o++]=s,r[o++]=a)}return this.ret(e-n.length,r)}},_x=class{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let i=e.slice(0,this.pattern.length),n=i==this.pattern?0:i.toLowerCase()==this.folded?-200:null;return n==null?null:(this.matched=[0,i.length],this.score=n+(e.length==this.pattern.length?0:-100),this)}},ni=be.define({combine(t){return Qt(t,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:ZB,filterStrict:!1,compareCompletions:(e,i)=>e.label.localeCompare(i.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,i)=>e&&i,closeOnBlur:(e,i)=>e&&i,icons:(e,i)=>e&&i,tooltipClass:(e,i)=>n=>FQ(e(n),i(n)),optionClass:(e,i)=>n=>FQ(e(n),i(n)),addToOptions:(e,i)=>e.concat(i),filterStrict:(e,i)=>e||i})}});function FQ(t,e){return t?e?t+" "+e:t:e}function ZB(t,e,i,n,r,o){let s=t.textDirection==st.RTL,a=s,l=!1,c="top",u,f,d=e.left-r.left,O=r.right-e.right,m=n.right-n.left,x=n.bottom-n.top;if(a&&d<Math.min(m,O)?a=!1:!a&&O<Math.min(m,d)&&(a=!0),m<=(a?d:O))u=Math.max(r.top,Math.min(i.top,r.bottom-x))-e.top,f=Math.min(400,a?d:O);else{l=!0,f=Math.min(400,(s?e.right:r.right-e.left)-30);let T=r.bottom-e.bottom;T>=x||T>e.top?u=i.bottom-e.top:(c="bottom",u=e.bottom-i.top)}let v=(e.bottom-e.top)/o.offsetHeight,w=(e.right-e.left)/o.offsetWidth;return{style:`${c}: ${u/v}px; max-width: ${f/w}px`,class:"cm-completionInfo-"+(l?s?"left-narrow":"right-narrow":a?"left":"right")}}function BB(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(i){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),i.type&&n.classList.add(...i.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(i,n,r,o){let s=document.createElement("span");s.className="cm-completionLabel";let a=i.displayLabel||i.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(i){if(!i.detail)return null;let n=document.createElement("span");return n.className="cm-completionDetail",n.textContent=i.detail,n},position:80}),e.sort((i,n)=>i.position-n.position).map(i=>i.render)}function Px(t,e,i){if(t<=i)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let r=Math.floor(e/i);return{from:r*i,to:(r+1)*i}}let n=Math.floor((t-e)/i);return{from:t-(n+1)*i,to:t-n*i}}var Ax=class{constructor(e,i,n){this.view=e,this.stateField=i,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let r=e.state.field(i),{options:o,selected:s}=r.open,a=e.state.facet(ni);this.optionContent=BB(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=Px(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(i).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(ni).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:tf.of(null)})}),this.showOptions(o,r.id)}mount(){this.updateSel()}showOptions(e,i){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,i,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var i;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:o,selected:s,disabled:a}=n.open;(!r.open||r.open.options!=o)&&(this.range=Px(o.length,s,e.state.facet(ni).maxRenderedOptions),this.showOptions(o,n.id)),this.updateSel(),a!=((i=r.open)===null||i===void 0?void 0:i.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(e){let i=this.tooltipClass(e);if(i!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of i.split(" "))n&&this.dom.classList.add(n);this.currentClass=i}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),i=e.open;if((i.selected>-1&&i.selected<this.range.from||i.selected>=this.range.to)&&(this.range=Px(i.options.length,i.selected,this.view.state.facet(ni).maxRenderedOptions),this.showOptions(i.options,e.id)),this.updateSelectedOption(i.selected)){this.destroyInfo();let{completion:n}=i.options[i.selected],{info:r}=n;if(!r)return;let o=typeof r=="string"?document.createTextNode(r):r(n);if(!o)return;"then"in o?o.then(s=>{s&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(s,n)}).catch(s=>fi(this.view.state,s,"completion info")):this.addInfoPane(o,n)}}addInfoPane(e,i){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:r,destroy:o}=e;n.appendChild(r),this.infoDestroy=o||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let i=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)n.nodeName!="LI"||!n.id?r--:r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),i=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return i&&FB(this.list,i),i}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let i=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),o=this.space;if(!o){let s=this.dom.ownerDocument.documentElement;o={left:0,top:0,right:s.clientWidth,bottom:s.clientHeight}}return r.top>Math.min(o.bottom,i.bottom)-10||r.bottom<Math.max(o.top,i.top)+10?null:this.view.state.facet(ni).positionInfo(this.view,i,r,n,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,i,n){let r=document.createElement("ul");r.id=i,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions")),r.addEventListener("mousedown",s=>{s.target==r&&s.preventDefault()});let o=null;for(let s=n.from;s<n.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>n.from||n.from==0))if(o=d,typeof c!="string"&&c.header)r.appendChild(c.header(c));else{let O=r.appendChild(document.createElement("completion-section"));O.textContent=d}}let u=r.appendChild(document.createElement("li"));u.id=i+"-"+s,u.setAttribute("role","option");let f=this.optionClass(a);f&&(u.className=f);for(let d of this.optionContent){let O=d(a,this.view.state,this.view,l);O&&u.appendChild(O)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}};function YB(t,e){return i=>new Ax(i,t,e)}function FB(t,e){let i=t.getBoundingClientRect(),n=e.getBoundingClientRect(),r=i.height/t.offsetHeight;n.top<i.top?t.scrollTop-=(i.top-n.top)/r:n.bottom>i.bottom&&(t.scrollTop+=(n.bottom-i.bottom)/r)}function HQ(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function HB(t,e){let i=[],n=null,r=c=>{i.push(c);let{section:u}=c.completion;if(u){n||(n=[]);let f=typeof u=="string"?u:u.name;n.some(d=>d.name==f)||n.push(typeof u=="string"?{name:f}:u)}},o=e.facet(ni);for(let c of t)if(c.hasResult()){let u=c.result.getMatch;if(c.result.filter===!1)for(let f of c.result.options)r(new gp(f,c.source,u?u(f):[],1e9-i.length));else{let f=e.sliceDoc(c.from,c.to),d,O=o.filterStrict?new _x(f):new Qx(f);for(let m of c.result.options)if(d=O.match(m.label)){let x=m.displayLabel?u?u(m,d.matched):[]:d.matched;r(new gp(m,c.source,x,d.score+(m.boost||0)))}}}if(n){let c=Object.create(null),u=0,f=(d,O)=>{var m,x;return((m=d.rank)!==null&&m!==void 0?m:1e9)-((x=O.rank)!==null&&x!==void 0?x:1e9)||(d.name<O.name?-1:1)};for(let d of n.sort(f))u-=1e5,c[d.name]=u;for(let d of i){let{section:O}=d.completion;O&&(d.score+=c[typeof O=="string"?O:O.name])}}let s=[],a=null,l=o.compareCompletions;for(let c of i.sort((u,f)=>f.score-u.score||l(u.completion,f.completion))){let u=c.completion;!a||a.label!=u.label||a.detail!=u.detail||a.type!=null&&u.type!=null&&a.type!=u.type||a.apply!=u.apply||a.boost!=u.boost?s.push(c):HQ(c.completion)>HQ(a)&&(s[s.length-1]=c),a=c.completion}return s}var $x=class t{constructor(e,i,n,r,o,s){this.options=e,this.attrs=i,this.tooltip=n,this.timestamp=r,this.selected=o,this.disabled=s}setSelected(e,i){return e==this.selected||e>=this.options.length?this:new t(this.options,GQ(i,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,i,n,r,o,s){if(r&&!s&&e.some(c=>c.isPending))return r.setDisabled();let a=HB(e,i);if(!a.length)return r&&e.some(c=>c.isPending)?r.setDisabled():null;let l=i.facet(ni).selectOnOpen?0:-1;if(r&&r.selected!=l&&r.selected!=-1){let c=r.options[r.selected].completion;for(let u=0;u<a.length;u++)if(a[u].completion==c){l=u;break}}return new t(a,GQ(n,l),{pos:e.reduce((c,u)=>u.hasResult()?Math.min(c,u.from):c,1e8),create:iY,above:o.aboveCursor},r?r.timestamp:Date.now(),l,!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)}setDisabled(){return new t(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}},Xx=class t{constructor(e,i,n){this.active=e,this.id=i,this.open=n}static start(){return new t(eY,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:i}=e,n=i.facet(ni),o=(n.override||i.languageDataAt("autocomplete",ta(i)).map(VB)).map(l=>(this.active.find(u=>u.source==l)||new Kr(l,this.active.some(u=>u.state!=0)?1:0)).update(e,n));o.length==this.active.length&&o.every((l,c)=>l==this.active[c])&&(o=this.active);let s=this.open,a=e.effects.some(l=>l.is(Ux));s&&e.docChanged&&(s=s.map(e.changes)),e.selection||o.some(l=>l.hasResult()&&e.changes.touchesRange(l.from,l.to))||!GB(o,this.active)||a?s=$x.build(o,i,this.id,s,n,a):s&&s.disabled&&!o.some(l=>l.isPending)&&(s=null),!s&&o.every(l=>!l.isPending)&&o.some(l=>l.hasResult())&&(o=o.map(l=>l.hasResult()?new Kr(l.source,0):l));for(let l of e.effects)l.is(n_)&&(s=s&&s.setSelected(l.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:this.active.length?KB:JB}};function GB(t,e){if(t==e)return!0;for(let i=0,n=0;;){for(;i<t.length&&!t[i].hasResult();)i++;for(;n<e.length&&!e[n].hasResult();)n++;let r=i==t.length,o=n==e.length;if(r||o)return r==o;if(t[i++].result!=e[n++].result)return!1}}var KB={"aria-autocomplete":"list"},JB={};function GQ(t,e){let i={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};return e>-1&&(i["aria-activedescendant"]=t+"-"+e),i}var eY=[];function i_(t,e){if(t.isUserEvent("input.complete")){let n=t.annotation(zx);if(n&&e.activateOnCompletion(n))return 12}let i=t.isUserEvent("input.type");return i&&e.activateOnTyping?5:i?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}var Kr=class t{constructor(e,i,n=!1){this.source=e,this.state=i,this.explicit=n}hasResult(){return!1}get isPending(){return this.state==1}update(e,i){let n=i_(e,i),r=this;(n&8||n&16&&this.touches(e))&&(r=new t(r.source,0)),n&4&&r.state==0&&(r=new t(this.source,1)),r=r.updateFor(e,n);for(let o of e.effects)if(o.is(bp))r=new t(r.source,1,o.value);else if(o.is(tf))r=new t(r.source,0);else if(o.is(Ux))for(let s of o.value)s.source==r.source&&(r=s);return r}updateFor(e,i){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(ta(e.state))}},yp=class t extends Kr{constructor(e,i,n,r,o,s){super(e,3,i),this.limit=n,this.result=r,this.from=o,this.to=s}hasResult(){return!0}updateFor(e,i){var n;if(!(i&3))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let o=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),a=ta(e.state);if(a>s||!r||i&2&&(ta(e.startState)==this.from||a<this.limit))return new Kr(this.source,i&4?1:0);let l=e.changes.mapPos(this.limit);return tY(r.validFor,e.state,o,s)?new t(this.source,this.explicit,l,r,o,s):r.update&&(r=r.update(r,o,s,new Sl(e.state,a,!1)))?new t(this.source,this.explicit,l,r,r.from,(n=r.to)!==null&&n!==void 0?n:ta(e.state)):new Kr(this.source,1,this.explicit)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new t(this.source,this.explicit,e.mapPos(this.limit),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new Kr(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}};function tY(t,e,i,n){if(!t)return!1;let r=e.sliceDoc(i,n);return typeof t=="function"?t(r,i,n,e):t_(t,!0).test(r)}var Ux=Se.define({map(t,e){return t.map(i=>i.map(e))}}),n_=Se.define(),Ii=Ge.define({create(){return Xx.start()},update(t,e){return t.update(e)},provide:t=>[Fr.from(t,e=>e.tooltip),fe.contentAttributes.from(t,e=>e.attrs)]});function Mx(t,e){let i=e.completion.apply||e.completion.label,n=t.state.field(Ii).active.find(r=>r.source==e.source);return n instanceof yp?(typeof i=="string"?t.dispatch(Object.assign(Object.assign({},WB(t.state,i,n.from,n.to)),{annotations:zx.of(e.completion)})):i(t,e.completion,n.from,n.to),!0):!1}var iY=YB(Ii,Mx);function Jr(t,e="option"){return i=>{let n=i.state.field(Ii,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp<i.state.facet(ni).interactionDelay)return!1;let r=1,o;e=="page"&&(o=ix(i,n.open.tooltip))&&(r=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1));let{length:s}=n.open.options,a=n.open.selected>-1?n.open.selected+r*(t?1:-1):t?0:s-1;return a<0?a=e=="page"?0:s-1:a>=s&&(a=e=="page"?s-1:0),i.dispatch({effects:n_.of(a)}),!0}}var xp=t=>{let e=t.state.field(Ii,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(ni).interactionDelay?!1:Mx(t,e.open.options[e.open.selected])},Tl=t=>t.state.field(Ii,!1)?(t.dispatch({effects:bp.of(!0)}),!0):!1,of=t=>{let e=t.state.field(Ii,!1);return!e||!e.active.some(i=>i.state!=0)?!1:(t.dispatch({effects:tf.of(null)}),!0)},Rx=class{constructor(e,i){this.active=e,this.context=i,this.time=Date.now(),this.updates=[],this.done=void 0}},nY=50,rY=1e3,oY=He.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(Ii).active)e.isPending&&this.startQuery(e)}update(t){let e=t.state.field(Ii),i=t.state.facet(ni);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Ii)==e)return;let n=t.transactions.some(o=>{let s=i_(o,i);return s&8||(o.selection||o.docChanged)&&!(s&3)});for(let o=0;o<this.running.length;o++){let s=this.running[o];if(n||s.context.abortOnDocChange&&t.docChanged||s.updates.length+t.transactions.length>nY&&Date.now()-s.time>rY){for(let a of s.context.abortListeners)try{a()}catch(l){fi(this.view.state,l)}s.context.abortListeners=null,this.running.splice(o--,1)}else s.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(o=>o.effects.some(s=>s.is(bp)))&&(this.pendingStart=!0);let r=this.pendingStart?50:i.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(o=>o.isPending&&!this.running.some(s=>s.active.source==o.source))?setTimeout(()=>this.startUpdate(),r):-1,this.composing!=0)for(let o of t.transactions)o.isUserEvent("input.type")?this.composing=2:this.composing==2&&o.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(Ii);for(let i of e.active)i.isPending&&!this.running.some(n=>n.active.source==i.source)&&this.startQuery(i);this.running.length&&e.open&&e.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(ni).updateSyncTime))}startQuery(t){let{state:e}=this.view,i=ta(e),n=new Sl(e,i,t.explicit,this.view),r=new Rx(t,n);this.running.push(r),Promise.resolve(t.source(n)).then(o=>{r.context.aborted||(r.done=o||null,this.scheduleAccept())},o=>{this.view.dispatch({effects:tf.of(null)}),fi(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(ni).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],i=this.view.state.facet(ni),n=this.view.state.field(Ii);for(let r=0;r<this.running.length;r++){let o=this.running[r];if(o.done===void 0)continue;if(this.running.splice(r--,1),o.done){let a=ta(o.updates.length?o.updates[0].startState:this.view.state),l=Math.min(a,o.done.from+(o.active.explicit?0:1)),c=new yp(o.active.source,o.active.explicit,l,o.done,o.done.from,(t=o.done.to)!==null&&t!==void 0?t:a);for(let u of o.updates)c=c.update(u,i);if(c.hasResult()){e.push(c);continue}}let s=n.active.find(a=>a.source==o.active.source);if(s&&s.isPending)if(o.done==null){let a=new Kr(o.active.source,0);for(let l of o.updates)a=a.update(l,i);a.isPending||e.push(a)}else this.startQuery(s)}(e.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:Ux.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(Ii,!1);if(e&&e.tooltip&&this.view.state.facet(ni).closeOnBlur){let i=e.open&&ix(this.view,e.open.tooltip);(!i||!i.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:tf.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:bp.of(!1)}),20),this.composing=0}}}),sY=typeof navigator=="object"&&/Win/.test(navigator.platform),aY=Dt.highest(fe.domEventHandlers({keydown(t,e){let i=e.state.field(Ii,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||t.key.length>1||t.ctrlKey&&!(sY&&t.altKey)||t.metaKey)return!1;let n=i.open.options[i.open.selected],r=i.active.find(s=>s.source==n.source),o=n.completion.commitCharacters||r.result.commitCharacters;return o&&o.indexOf(t.key)>-1&&Mx(e,n),!1}})),r_=fe.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",whiteSpace:"pre-line"},".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"}}}),Lx=class{constructor(e,i,n,r){this.field=e,this.line=i,this.from=n,this.to=r}},Ix=class t{constructor(e,i,n){this.field=e,this.from=i,this.to=n}map(e){let i=e.mapPos(this.from,-1,Ct.TrackDel),n=e.mapPos(this.to,1,Ct.TrackDel);return i==null||n==null?null:new t(this.field,i,n)}},Dx=class t{constructor(e,i){this.lines=e,this.fieldPositions=i}instantiate(e,i){let n=[],r=[i],o=e.doc.lineAt(i),s=/^\s*/.exec(o.text)[0];for(let l of this.lines){if(n.length){let c=s,u=/^\t*/.exec(l)[0].length;for(let f=0;f<u;f++)c+=e.facet(Vn);r.push(i+c.length-u),l=c+l.slice(u)}n.push(l),i+=l.length+1}let a=this.fieldPositions.map(l=>new Ix(l.field,r[l.line]+l.from,r[l.line]+l.to));return{text:n,ranges:a}}static parse(e){let i=[],n=[],r=[],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,u=l.replace(/\\[{}]/g,f=>f[1]);for(let f=0;f<i.length;f++)(a!=null?i[f].seq==a:u&&i[f].name==u)&&(c=f);if(c<0){let f=0;for(;f<i.length&&(a==null||i[f].seq!=null&&i[f].seq<a);)f++;i.splice(f,0,{seq:a,name:u}),c=f;for(let d of r)d.field>=c&&d.field++}r.push(new Lx(c,n.length,o.index,o.index+u.length)),s=s.slice(0,o.index)+l+s.slice(o.index+o[0].length)}s=s.replace(/\\([{}])/g,(a,l,c)=>{for(let u of r)u.line==n.length&&u.from>c&&(u.from--,u.to--);return l}),n.push(s)}return new t(n,r)}},lY=we.widget({widget:new class extends ii{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),cY=we.mark({class:"cm-snippetField"}),El=class t{constructor(e,i){this.ranges=e,this.active=i,this.deco=we.set(e.map(n=>(n.from==n.to?lY:cY).range(n.from,n.to)))}map(e){let i=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;i.push(r)}return new t(i,this.active)}selectionInsideField(e){return e.ranges.every(i=>this.ranges.some(n=>n.field==this.active&&n.from<=i.from&&n.to>=i.to))}},sf=Se.define({map(t,e){return t&&t.map(e)}}),uY=Se.define(),nf=Ge.define({create(){return null},update(t,e){for(let i of e.effects){if(i.is(sf))return i.value;if(i.is(uY)&&t)return new El(t.ranges,i.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>fe.decorations.from(t,e=>e?e.deco:we.none)});function Nx(t,e){return K.create(t.filter(i=>i.field==e).map(i=>K.range(i.from,i.to)))}function fY(t){let e=Dx.parse(t);return(i,n,r,o)=>{let{text:s,ranges:a}=e.instantiate(i.state,r),{main:l}=i.state.selection,c={changes:{from:r,to:o==l.from?l.to:o,insert:Fe.of(s)},scrollIntoView:!0,annotations:n?[zx.of(n),Xt.userEvent.of("input.complete")]:void 0};if(a.length&&(c.selection=Nx(a,0)),a.some(u=>u.field>0)){let u=new El(a,0),f=c.effects=[sf.of(u)];i.state.field(nf,!1)===void 0&&f.push(Se.appendConfig.of([nf,mY,gY,r_]))}i.dispatch(i.state.update(c))}}function o_(t){return({state:e,dispatch:i})=>{let n=e.field(nf,!1);if(!n||t<0&&n.active==0)return!1;let r=n.active+t,o=t>0&&!n.ranges.some(s=>s.field==r+t);return i(e.update({selection:Nx(n.ranges,r),effects:sf.of(o?null:new El(n.ranges,r)),scrollIntoView:!0})),!0}}var hY=({state:t,dispatch:e})=>t.field(nf,!1)?(e(t.update({effects:sf.of(null)})),!0):!1,dY=o_(1),OY=o_(-1);var pY=[{key:"Tab",run:dY,shift:OY},{key:"Escape",run:hY}],KQ=be.define({combine(t){return t.length?t[0]:pY}}),mY=Dt.highest(hi.compute([KQ],t=>t.facet(KQ)));function xt(t,e){return Object.assign(Object.assign({},e),{apply:fY(t)})}var gY=fe.domEventHandlers({mousedown(t,e){let i=e.state.field(nf,!1),n;if(!i||(n=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let r=i.ranges.find(o=>o.from<=n&&o.to>=n);return!r||r.field==i.active?!1:(e.dispatch({selection:Nx(i.ranges,r.field),effects:sf.of(i.ranges.some(o=>o.field>r.field)?new El(i.ranges,r.field):null),scrollIntoView:!0}),!0)}});var rf={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ea=Se.define({map(t,e){let i=e.mapPos(t,-1,Ct.TrackAfter);return i==null?void 0:i}}),qx=new class extends jn{};qx.startSide=1;qx.endSide=-1;var s_=Ge.define({create(){return Je.empty},update(t,e){if(t=t.map(e.changes),e.selection){let i=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:n=>n>=i.from&&n<=i.to})}for(let i of e.effects)i.is(ea)&&(t=t.update({add:[qx.range(i.value,i.value+1)]}));return t}});function a_(){return[yY,s_]}var Cx="()[]{}<>\xAB\xBB\xBB\xAB\uFF3B\uFF3D\uFF5B\uFF5D";function l_(t){for(let e=0;e<Cx.length;e+=2)if(Cx.charCodeAt(e)==t)return Cx.charAt(e+1);return Tu(t<128?t:t+1)}function c_(t,e){return t.languageDataAt("closeBrackets",e)[0]||rf}var bY=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),yY=fe.inputHandler.of((t,e,i,n)=>{if((bY?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let r=t.state.selection.main;if(n.length>2||n.length==2&&nn(ci(n,0))==1||e!=r.from||i!=r.to)return!1;let o=xY(t.state,n);return o?(t.dispatch(o),!0):!1}),u_=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=c_(t,t.selection.main.head).brackets||rf.brackets,r=null,o=t.changeByRange(s=>{if(s.empty){let a=vY(t.doc,s.head);for(let l of n)if(l==a&&vp(t.doc,s.head)==l_(ci(l,0)))return{changes:{from:s.head-l.length,to:s.head+l.length},range:K.cursor(s.head-l.length)}}return{range:r=s}});return r||e(t.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!r};function xY(t,e){let i=c_(t,t.selection.main.head),n=i.brackets||rf.brackets;for(let r of n){let o=l_(ci(r,0));if(e==r)return o==r?SY(t,r,n.indexOf(r+r+r)>-1,i):wY(t,r,o,i.before||rf.before);if(e==o&&f_(t,t.selection.main.from))return kY(t,r,o)}return null}function f_(t,e){let i=!1;return t.field(s_).between(0,t.doc.length,n=>{n==e&&(i=!0)}),i}function vp(t,e){let i=t.sliceString(e,e+2);return i.slice(0,nn(ci(i,0)))}function vY(t,e){let i=t.sliceString(e-2,e);return nn(ci(i,0))==i.length?i:i.slice(1)}function wY(t,e,i,n){let r=null,o=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:i,from:s.to}],effects:ea.of(s.to+e.length),range:K.range(s.anchor+e.length,s.head+e.length)};let a=vp(t.doc,s.head);return!a||/\s/.test(a)||n.indexOf(a)>-1?{changes:{insert:e+i,from:s.head},effects:ea.of(s.head+e.length),range:K.cursor(s.head+e.length)}:{range:r=s}});return r?null:t.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function kY(t,e,i){let n=null,r=t.changeByRange(o=>o.empty&&vp(t.doc,o.head)==i?{changes:{from:o.head,to:o.head+i.length,insert:i},range:K.cursor(o.head+i.length)}:n={range:o});return n?null:t.update(r,{scrollIntoView:!0,userEvent:"input.type"})}function SY(t,e,i,n){let r=n.stringPrefixes||rf.stringPrefixes,o=null,s=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:e,from:a.to}],effects:ea.of(a.to+e.length),range:K.range(a.anchor+e.length,a.head+e.length)};let l=a.head,c=vp(t.doc,l),u;if(c==e){if(JQ(t,l))return{changes:{insert:e+e,from:l},effects:ea.of(l+e.length),range:K.cursor(l+e.length)};if(f_(t,l)){let d=i&&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:K.cursor(l+d.length)}}}else{if(i&&t.sliceDoc(l-2*e.length,l)==e+e&&(u=e_(t,l-2*e.length,r))>-1&&JQ(t,u))return{changes:{insert:e+e+e+e,from:l},effects:ea.of(l+e.length),range:K.cursor(l+e.length)};if(t.charCategorizer(l)(c)!=pt.Word&&e_(t,l,r)>-1&&!TY(t,l,e,r))return{changes:{insert:e+e,from:l},effects:ea.of(l+e.length),range:K.cursor(l+e.length)}}return{range:o=a}});return o?null:t.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function JQ(t,e){let i=qe(t).resolveInner(e+1);return i.parent&&i.from==e}function TY(t,e,i,n){let r=qe(t).resolveInner(e,-1),o=n.reduce((s,a)=>Math.max(s,a.length),0);for(let s=0;s<5;s++){let a=t.sliceDoc(r.from,Math.min(r.to,r.from+i.length+o)),l=a.indexOf(i);if(!l||l>-1&&n.indexOf(a.slice(0,l))>-1){let u=r.firstChild;for(;u&&u.from==r.from&&u.to-u.from>i.length+l;){if(t.sliceDoc(u.to-i.length,u.to)==i)return!1;u=u.firstChild}return!0}let c=r.to==e&&r.parent;if(!c)break;r=c}return!1}function e_(t,e,i){let n=t.charCategorizer(e);if(n(t.sliceDoc(e-1,e))!=pt.Word)return e;for(let r of i){let o=e-r.length;if(t.sliceDoc(o,e)==r&&n(t.sliceDoc(o-1,o))!=pt.Word)return o}return-1}function jx(t={}){return[aY,Ii,ni.of(t),oY,PY,r_]}var EY=[{key:"Ctrl-Space",run:Tl},{mac:"Alt-`",run:Tl},{key:"Escape",run:of},{key:"ArrowDown",run:Jr(!0)},{key:"ArrowUp",run:Jr(!1)},{key:"PageDown",run:Jr(!0,"page")},{key:"PageUp",run:Jr(!1,"page")},{key:"Enter",run:xp}],PY=Dt.highest(hi.computeN([ni],t=>t.facet(ni).defaultKeymap?[EY]:[]));function h_(t){let e=t.field(Ii,!1);return e&&e.active.some(i=>i.isPending)?"pending":e&&e.active.some(i=>i.state!=0)?"active":null}var Sp=class t{static create(e,i,n,r,o){let s=r+(r<<8)+e+(i<<4)|0;return new t(e,i,n,s,o,[],[])}constructor(e,i,n,r,o,s,a){this.type=e,this.value=i,this.from=n,this.hash=r,this.end=o,this.children=s,this.positions=a,this.hashProp=[[_e.contextHash,r]]}addChild(e,i){e.prop(_e.contextHash)!=this.hash&&(e=new Ze(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(i)}toTree(e,i=this.end){let n=this.children.length-1;return n>=0&&(i=Math.max(i,this.positions[n]+this.children[n].length+this.from)),new Ze(e.types[this.type],this.children,this.positions,i-this.from).balance({makeTree:(r,o,s)=>new Ze($t.none,r,o,s,this.hashProp)})}},ge;(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"})(ge||(ge={}));var Zx=class{constructor(e,i){this.start=e,this.content=i,this.marks=[],this.parsers=[]}},Bx=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 cf(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,i=0,n=0){for(let r=i;r<e;r++)n+=this.text.charCodeAt(r)==9?4-n%4:1;return n}findColumn(e){let i=0;for(let n=0;i<this.text.length&&n<e;i++)n+=this.text.charCodeAt(i)==9?4-n%4:1;return i}scrub(){if(!this.baseIndent)return this.text;let e="";for(let i=0;i<this.basePos;i++)e+=" ";return e+this.text.slice(this.basePos)}};function d_(t,e,i){if(i.pos==i.text.length||t!=e.block&&i.indent>=e.stack[i.depth+1].value+i.baseIndent)return!0;if(i.indent>=i.baseIndent+4)return!1;let n=(t.type==ge.OrderedList?sv:ov)(i,e,!1);return n>0&&(t.type!=ge.BulletList||rv(i,e,!1)<0)&&i.text.charCodeAt(i.pos+n-1)==t.value}var T_={[ge.Blockquote](t,e,i){return i.next!=62?!1:(i.markers.push(et(ge.QuoteMark,e.lineStart+i.pos,e.lineStart+i.pos+1)),i.moveBase(i.pos+(Pn(i.text.charCodeAt(i.pos+1))?2:1)),t.end=e.lineStart+i.text.length,!0)},[ge.ListItem](t,e,i){return i.indent<i.baseIndent+t.value&&i.next>-1?!1:(i.moveBaseColumn(i.baseIndent+t.value),!0)},[ge.OrderedList]:d_,[ge.BulletList]:d_,[ge.Document](){return!0}};function Pn(t){return t==32||t==9||t==10||t==13}function cf(t,e=0){for(;e<t.length&&Pn(t.charCodeAt(e));)e++;return e}function O_(t,e,i){for(;e>i&&Pn(t.charCodeAt(e-1));)e--;return e}function E_(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 i=e;i<t.text.length;i++)if(t.text.charCodeAt(i)==96)return-1}return e}function P_(t){return t.next!=62?-1:t.text.charCodeAt(t.pos+1)==32?2:1}function rv(t,e,i){if(t.next!=42&&t.next!=45&&t.next!=95)return-1;let n=1;for(let r=t.pos+1;r<t.text.length;r++){let o=t.text.charCodeAt(r);if(o==t.next)n++;else if(!Pn(o))return-1}return i&&t.next==45&&__(t)>-1&&t.depth==e.stack.length||n<3?-1:1}function C_(t,e){for(let i=t.stack.length-1;i>=0;i--)if(t.stack[i].type==e)return!0;return!1}function ov(t,e,i){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||Pn(t.text.charCodeAt(t.pos+1)))&&(!i||C_(e,ge.BulletList)||t.skipSpace(t.pos+2)<t.text.length)?1:-1}function sv(t,e,i){let n=t.pos,r=t.next;for(;r>=48&&r<=57;){n++;if(n==t.text.length)return-1;r=t.text.charCodeAt(n)}return n==t.pos||n>t.pos+9||r!=46&&r!=41||n<t.text.length-1&&!Pn(t.text.charCodeAt(n+1))||i&&!C_(e,ge.OrderedList)&&(t.skipSpace(n+1)==t.text.length||n>t.pos+1||t.next!=49)?-1:n+1-t.pos}function Q_(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 i=e-t.pos;return i>6?-1:i}function __(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 i=e;for(;e<t.text.length&&Pn(t.text.charCodeAt(e));)e++;return e==t.text.length?i:-1}var Yx=/^[ \t]*$/,A_=/-->/,$_=/\?>/,Fx=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,A_],[/^\s*<\?/,$_],[/^\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,Yx],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,Yx]];function X_(t,e,i){if(t.next!=60)return-1;let n=t.text.slice(t.pos);for(let r=0,o=Fx.length-(i?1:0);r<o;r++)if(Fx[r][0].test(n))return r;return-1}function p_(t,e){let i=t.countIndent(e,t.pos,t.indent),n=t.countIndent(t.skipSpace(e),e,i);return n>=i+5?i+1:n}function na(t,e,i){let n=t.length-1;n>=0&&t[n].to==e&&t[n].type==ge.CodeText?t[n].to=i:t.push(et(ge.CodeText,e,i))}var wp={LinkReference:void 0,IndentedCode(t,e){let i=e.baseIndent+4;if(e.indent<i)return!1;let n=e.findColumn(i),r=t.lineStart+n,o=t.lineStart+e.text.length,s=[],a=[];for(na(s,r,o);t.nextLine()&&e.depth>=t.stack.length;)if(e.pos==e.text.length){na(a,t.lineStart-1,t.lineStart);for(let l of e.markers)a.push(l)}else{if(e.indent<i)break;{if(a.length){for(let c of a)c.type==ge.CodeText?na(s,c.from,c.to):s.push(c);a=[]}na(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&&na(s,l,o)}}return a.length&&(a=a.filter(l=>l.type!=ge.CodeText),a.length&&(e.markers=a.concat(e.markers))),t.addNode(t.buffer.writeElements(s,-r).finish(ge.CodeBlock,o-r),r),!0},FencedCode(t,e){let i=E_(e);if(i<0)return!1;let n=t.lineStart+e.pos,r=e.next,o=i-e.pos,s=e.skipSpace(i),a=O_(e.text,e.text.length,s),l=[et(ge.CodeMark,n,n+o)];s<a&&l.push(et(ge.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)==r;)u++;if(u-e.pos>=o&&e.skipSpace(u)==e.text.length){for(let f of e.markers)l.push(f);l.push(et(ge.CodeMark,t.lineStart+e.pos,t.lineStart+u)),t.nextLine();break}else{c||na(l,t.lineStart-1,t.lineStart);for(let O of e.markers)l.push(O);let f=t.lineStart+e.basePos,d=t.lineStart+e.text.length;f<d&&na(l,f,d)}}return t.addNode(t.buffer.writeElements(l,-n).finish(ge.FencedCode,t.prevLineEnd()-n),n),!0},Blockquote(t,e){let i=P_(e);return i<0?!1:(t.startContext(ge.Blockquote,e.pos),t.addNode(ge.QuoteMark,t.lineStart+e.pos,t.lineStart+e.pos+1),e.moveBase(e.pos+i),null)},HorizontalRule(t,e){if(rv(e,t,!1)<0)return!1;let i=t.lineStart+e.pos;return t.nextLine(),t.addNode(ge.HorizontalRule,i),!0},BulletList(t,e){let i=ov(e,t,!1);if(i<0)return!1;t.block.type!=ge.BulletList&&t.startContext(ge.BulletList,e.basePos,e.next);let n=p_(e,e.pos+1);return t.startContext(ge.ListItem,e.basePos,n-e.baseIndent),t.addNode(ge.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+i),e.moveBaseColumn(n),null},OrderedList(t,e){let i=sv(e,t,!1);if(i<0)return!1;t.block.type!=ge.OrderedList&&t.startContext(ge.OrderedList,e.basePos,e.text.charCodeAt(e.pos+i-1));let n=p_(e,e.pos+i);return t.startContext(ge.ListItem,e.basePos,n-e.baseIndent),t.addNode(ge.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+i),e.moveBaseColumn(n),null},ATXHeading(t,e){let i=Q_(e);if(i<0)return!1;let n=e.pos,r=t.lineStart+n,o=O_(e.text,e.text.length,n),s=o;for(;s>n&&e.text.charCodeAt(s-1)==e.next;)s--;(s==o||s==n||!Pn(e.text.charCodeAt(s-1)))&&(s=e.text.length);let a=t.buffer.write(ge.HeaderMark,0,i).writeElements(t.parser.parseInline(e.text.slice(n+i+1,s),r+i+1),-r);s<e.text.length&&a.write(ge.HeaderMark,s-n,o-n);let l=a.finish(ge.ATXHeading1-1+i,e.text.length-n);return t.nextLine(),t.addNode(l,r),!0},HTMLBlock(t,e){let i=X_(e,t,!1);if(i<0)return!1;let n=t.lineStart+e.pos,r=Fx[i][1],o=[],s=r!=Yx;for(;!r.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=r==A_?ge.CommentBlock:r==$_?ge.ProcessingInstructionBlock:ge.HTMLBlock,l=t.prevLineEnd();return t.addNode(t.buffer.writeElements(o,-n).finish(a,l-n),n),!0},SetextHeading:void 0},Hx=class{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,i,n){if(this.stage==-1)return!1;let r=n.content+`
`+i.scrub(),o=this.advance(r);return o>-1&&o<r.length?this.complete(e,n,o):!1}finish(e,i){return(this.stage==2||this.stage==3)&&cf(i.content,this.pos)==i.content.length?this.complete(e,i,i.content.length):!1}complete(e,i,n){return e.addLeafElement(i,et(ge.LinkReference,this.start,this.start+n,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(M_(e,this.pos,this.start,!0)))return-1;if(e.charCodeAt(this.pos)!=58)return this.stage=-1;this.elts.push(et(ge.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(this.stage==1){if(!this.nextStage(z_(e,cf(e,this.pos),this.start)))return-1}else if(this.stage==2){let i=cf(e,this.pos),n=0;if(i>this.pos){let r=U_(e,i,this.start);if(r){let o=Wx(e,r.to-this.start);o>0&&(this.nextStage(r),n=o)}}return n||(n=Wx(e,this.pos)),n>0&&n<e.length?n:-1}else return Wx(e,this.pos)}}};function Wx(t,e){for(;e<t.length;e++){let i=t.charCodeAt(e);if(i==10)break;if(!Pn(i))return-1}return e}var Gx=class{nextLine(e,i,n){let r=i.depth<e.stack.length?-1:__(i),o=i.next;if(r<0)return!1;let s=et(ge.HeaderMark,e.lineStart+i.pos,e.lineStart+r);return e.nextLine(),e.addLeafElement(n,et(o==61?ge.SetextHeading1:ge.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),s])),!0}finish(){return!1}},CY={LinkReference(t,e){return e.content.charCodeAt(0)==91?new Hx(e):null},SetextHeading(){return new Gx}},QY=[(t,e)=>Q_(e)>=0,(t,e)=>E_(e)>=0,(t,e)=>P_(e)>=0,(t,e)=>ov(e,t,!0)>=0,(t,e)=>sv(e,t,!0)>=0,(t,e)=>rv(e,t,!0)>=0,(t,e)=>X_(e,t,!0)>=0],_Y={text:"",end:0},Kx=class{constructor(e,i,n,r){this.parser=e,this.input=i,this.ranges=r,this.line=new Bx,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=r[r.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=r[0].from,this.block=Sp.create(ge.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new iv(n,i):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 n=0;;){let r=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;n<e.markers.length&&(!r||e.markers[n].from<r.end);){let o=e.markers[n++];this.addNode(o.type,o.from,o.to)}if(!r)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 n of this.parser.blockParsers)if(n){let r=n(this,e);if(r!=!1){if(r==!0)return null;e.forward();continue e}}break}let i=new Zx(this.lineStart+e.pos,e.text.slice(e.pos));for(let n of this.parser.leafBlockParsers)if(n){let r=n(this,i);r&&i.parsers.push(r)}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let n of this.parser.endLeafBlock)if(n(this,e,i))break e}for(let n of i.parsers)if(n.nextLine(this,e,i))return null;i.content+=`
`+e.scrub();for(let n of e.markers)i.marks.push(n)}return this.finishLeaf(i),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 i=this.fragments.takeNodes(this);return i?(this.absoluteLineStart+=i,this.lineStart=N_(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 i=_Y;if(i.end=e,e>=this.to)i.text="";else if(i.text=this.lineChunkAt(e),i.end+=i.text.length,this.ranges.length>1){let n=this.absoluteLineStart,r=this.rangeI;for(;this.ranges[r].to<i.end;){r++;let o=this.ranges[r].from,s=this.lineChunkAt(o);i.end=o+s.length,i.text=i.text.slice(0,this.ranges[r-1].to-n)+s,n=i.end-i.text.length}}return i}readLine(){let{line:e}=this,{text:i,end:n}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=n,e.reset(i);e.depth<this.stack.length;e.depth++){let r=this.stack[e.depth],o=this.parser.skipContextMarkup[r.type];if(!o)throw new Error("Unhandled block context "+ge[r.type]);if(!o(r,this,e))break;e.forward()}}lineChunkAt(e){let i=this.input.chunk(e),n;if(this.input.lineChunks)n=i==`
`?"":i;else{let r=i.indexOf(`
`);n=r<0?i:i.slice(0,r)}return e+n.length>this.to?n.slice(0,this.to-e):n}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,i,n=0){this.block=Sp.create(e,n,this.lineStart+i,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,i,n=0){this.startContext(this.parser.getNodeType(e),i,n)}addNode(e,i,n){typeof e=="number"&&(e=new Ze(this.parser.nodeSet.types[e],Cl,Cl,(n!=null?n:this.prevLineEnd())-i)),this.block.addChild(e,i-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,i){this.addNode(this.buffer.writeElements(tv(i.children,e.marks),-i.from).finish(i.type,i.to-i.from),i.from)}finishContext(){let e=this.stack.pop(),i=this.stack[this.stack.length-1];i.addChild(e.toTree(this.parser.nodeSet),e.from-i.from),this.block=i}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?R_(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let n of e.parsers)if(n.finish(this,e))return;let i=tv(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(i,-e.start).finish(ge.Paragraph,e.content.length),e.start)}elt(e,i,n,r){return typeof e=="string"?et(this.parser.getNodeType(e),i,n,r):new Ep(e,i)}get buffer(){return new Tp(this.parser.nodeSet)}};function R_(t,e,i,n,r){let o=t[e].to,s=[],a=[],l=i.from+n;function c(u,f){for(;f?u>=o:u>o;){let d=t[e+1].from-o;n+=d,u+=d,e++,o=t[e].to}}for(let u=i.firstChild;u;u=u.nextSibling){c(u.from+n,!0);let f=u.from+n,d,O=r.get(u.tree);O?d=O:u.to+n>o?(d=R_(t,e,u,n,r),c(u.to+n,!1)):d=u.toTree(),s.push(d),a.push(f-l)}return c(i.to+n,!1),new Ze(i.type,s,a,i.to+n-l,i.tree?i.tree.propValues:void 0)}var ff=class t extends Vr{constructor(e,i,n,r,o,s,a,l,c){super(),this.nodeSet=e,this.blockParsers=i,this.leafBlockParsers=n,this.blockNames=r,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,i,n){let r=new Kx(this,e,i,n);for(let o of this.wrappers)r=o(r,e,i,n);return r}configure(e){let i=Jx(e);if(!i)return this;let{nodeSet:n,skipContextMarkup:r}=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(af(i.defineNodes)){r=Object.assign({},r);let d=n.types.slice(),O;for(let m of i.defineNodes){let{name:x,block:v,composite:w,style:T}=typeof m=="string"?{name:m}:m;if(d.some(D=>D.name==x))continue;w&&(r[d.length]=(D,P,N)=>w(P,N,D.value));let A=d.length,L=w?["Block","BlockContext"]:v?A>=ge.ATXHeading1&&A<=ge.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;d.push($t.define({id:A,name:x,props:L&&[[_e.group,L]]})),T&&(O||(O={}),Array.isArray(T)||T instanceof Sn?O[x]=T:Object.assign(O,T))}n=new jr(d),O&&(n=n.extend(Tt(O)))}if(af(i.props)&&(n=n.extend(...i.props)),af(i.remove))for(let d of i.remove){let O=this.blockNames.indexOf(d),m=this.inlineNames.indexOf(d);O>-1&&(o[O]=s[O]=void 0),m>-1&&(l[m]=void 0)}if(af(i.parseBlock))for(let d of i.parseBlock){let O=a.indexOf(d.name);if(O>-1)o[O]=d.parse,s[O]=d.leaf;else{let m=d.before?kp(a,d.before):d.after?kp(a,d.after)+1:a.length-1;o.splice(m,0,d.parse),s.splice(m,0,d.leaf),a.splice(m,0,d.name)}d.endLeaf&&u.push(d.endLeaf)}if(af(i.parseInline))for(let d of i.parseInline){let O=c.indexOf(d.name);if(O>-1)l[O]=d.parse;else{let m=d.before?kp(c,d.before):d.after?kp(c,d.after)+1:c.length-1;l.splice(m,0,d.parse),c.splice(m,0,d.name)}}return i.wrap&&(f=f.concat(i.wrap)),new t(n,o,s,a,u,r,l,c,f)}getNodeType(e){let i=this.nodeTypes[e];if(i==null)throw new RangeError(`Unknown node type '${e}'`);return i}parseInline(e,i){let n=new ev(this,e,i);e:for(let r=i;r<n.end;){let o=n.char(r);for(let s of this.inlineParsers)if(s){let a=s(n,o,r);if(a>=0){r=a;continue e}}r++}return n.resolveMarkers(0)}};function af(t){return t!=null&&t.length>0}function Jx(t){if(!Array.isArray(t))return t;if(t.length==0)return null;let e=Jx(t[0]);if(t.length==1)return e;let i=Jx(t.slice(1));if(!i||!e)return e||i;let n=(s,a)=>(s||Cl).concat(a||Cl),r=e.wrap,o=i.wrap;return{props:n(e.props,i.props),defineNodes:n(e.defineNodes,i.defineNodes),parseBlock:n(e.parseBlock,i.parseBlock),parseInline:n(e.parseInline,i.parseInline),remove:n(e.remove,i.remove),wrap:r?o?(s,a,l,c)=>r(o(s,a,l,c),a,l,c):r:o}}function kp(t,e){let i=t.indexOf(e);if(i<0)throw new RangeError(`Position specified relative to unknown parser ${e}`);return i}var L_=[$t.none];for(let t=1,e;e=ge[t];t++)L_[t]=$t.define({id:t,name:e,props:t>=ge.Escape?[]:[[_e.group,t in T_?["Block","BlockContext"]:["Block","LeafBlock"]]],top:e=="Document"});var Cl=[],Tp=class{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,i,n,r=0){return this.content.push(e,i,n,4+r*4),this}writeElements(e,i=0){for(let n of e)n.writeTo(this,i);return this}finish(e,i){return Ze.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:i})}},ra=class{constructor(e,i,n,r=Cl){this.type=e,this.from=i,this.to=n,this.children=r}writeTo(e,i){let n=e.content.length;e.writeElements(this.children,i),e.content.push(this.type,this.from+i,this.to+i,e.content.length+4-n)}toTree(e){return new Tp(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}},Ep=class{constructor(e,i){this.tree=e,this.from=i}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return Cl}writeTo(e,i){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+i,this.to+i,-1)}toTree(){return this.tree}};function et(t,e,i,n){return new ra(t,e,i,n)}var I_={resolve:"Emphasis",mark:"EmphasisMark"},D_={resolve:"Emphasis",mark:"EmphasisMark"},lf={},m_={},sn=class{constructor(e,i,n,r){this.type=e,this.from=i,this.to=n,this.side=r}},g_="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",hf=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{hf=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch(t){}var Vx={Escape(t,e,i){if(e!=92||i==t.end-1)return-1;let n=t.char(i+1);for(let r=0;r<g_.length;r++)if(g_.charCodeAt(r)==n)return t.append(et(ge.Escape,i,i+2));return-1},Entity(t,e,i){if(e!=38)return-1;let n=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(t.slice(i+1,i+31));return n?t.append(et(ge.Entity,i,i+1+n[0].length)):-1},InlineCode(t,e,i){if(e!=96||i&&t.char(i-1)==96)return-1;let n=i+1;for(;n<t.end&&t.char(n)==96;)n++;let r=n-i,o=0;for(;n<t.end;n++)if(t.char(n)==96){if(o++,o==r&&t.char(n+1)!=96)return t.append(et(ge.InlineCode,i,n+1,[et(ge.CodeMark,i,i+r),et(ge.CodeMark,n+1-r,n+1)]))}else o=0;return-1},HTMLTag(t,e,i){if(e!=60||i==t.end-1)return-1;let n=t.slice(i+1,t.end),r=/^(?:[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(n);if(r)return t.append(et(ge.Autolink,i,i+1+r[0].length,[et(ge.LinkMark,i,i+1),et(ge.URL,i+1,i+r[0].length),et(ge.LinkMark,i+r[0].length,i+1+r[0].length)]));let o=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(n);if(o)return t.append(et(ge.Comment,i,i+1+o[0].length));let s=/^\?[^]*?\?>/.exec(n);if(s)return t.append(et(ge.ProcessingInstruction,i,i+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(n);return a?t.append(et(ge.HTMLTag,i,i+1+a[0].length)):-1},Emphasis(t,e,i){if(e!=95&&e!=42)return-1;let n=i+1;for(;t.char(n)==e;)n++;let r=t.slice(i-1,i),o=t.slice(n,n+1),s=hf.test(r),a=hf.test(o),l=/\s|^$/.test(r),c=/\s|^$/.test(o),u=!c&&(!a||l||s),f=!l&&(!s||c||a),d=u&&(e==42||!f||s),O=f&&(e==42||!u||a);return t.append(new sn(e==95?I_:D_,i,n,(d?1:0)|(O?2:0)))},HardBreak(t,e,i){if(e==92&&t.char(i+1)==10)return t.append(et(ge.HardBreak,i,i+2));if(e==32){let n=i+1;for(;t.char(n)==32;)n++;if(t.char(n)==10&&n>=i+2)return t.append(et(ge.HardBreak,i,n+1))}return-1},Link(t,e,i){return e==91?t.append(new sn(lf,i,i+1,1)):-1},Image(t,e,i){return e==33&&t.char(i+1)==91?t.append(new sn(m_,i,i+2,1)):-1},LinkEnd(t,e,i){if(e!=93)return-1;for(let n=t.parts.length-1;n>=0;n--){let r=t.parts[n];if(r instanceof sn&&(r.type==lf||r.type==m_)){if(!r.side||t.skipSpace(r.to)==i&&!/[(\[]/.test(t.slice(i+1,i+2)))return t.parts[n]=null,-1;let o=t.takeContent(n),s=t.parts[n]=AY(t,o,r.type==lf?ge.Link:ge.Image,r.from,i+1);if(r.type==lf)for(let a=0;a<n;a++){let l=t.parts[a];l instanceof sn&&l.type==lf&&(l.side=0)}return s.to}}return-1}};function AY(t,e,i,n,r){let{text:o}=t,s=t.char(r),a=r;if(e.unshift(et(ge.LinkMark,n,n+(i==ge.Image?2:1))),e.push(et(ge.LinkMark,r-1,r)),s==40){let l=t.skipSpace(r+1),c=z_(o,l-t.offset,t.offset),u;c&&(l=t.skipSpace(c.to),l!=c.to&&(u=U_(o,l-t.offset,t.offset),u&&(l=t.skipSpace(u.to)))),t.char(l)==41&&(e.push(et(ge.LinkMark,r,r+1)),a=l+1,c&&e.push(c),u&&e.push(u),e.push(et(ge.LinkMark,l,a)))}else if(s==91){let l=M_(o,r-t.offset,t.offset,!1);l&&(e.push(l),a=l.to)}return et(i,n,a,e)}function z_(t,e,i){if(t.charCodeAt(e)==60){for(let r=e+1;r<t.length;r++){let o=t.charCodeAt(r);if(o==62)return et(ge.URL,e+i,r+1+i);if(o==60||o==10)return!1}return null}else{let r=0,o=e;for(let s=!1;o<t.length;o++){let a=t.charCodeAt(o);if(Pn(a))break;if(s)s=!1;else if(a==40)r++;else if(a==41){if(!r)break;r--}else a==92&&(s=!0)}return o>e?et(ge.URL,e+i,o+i):o==t.length?null:!1}}function U_(t,e,i){let n=t.charCodeAt(e);if(n!=39&&n!=34&&n!=40)return!1;let r=n==40?41:n;for(let o=e+1,s=!1;o<t.length;o++){let a=t.charCodeAt(o);if(s)s=!1;else{if(a==r)return et(ge.LinkTitle,e+i,o+1+i);a==92&&(s=!0)}}return null}function M_(t,e,i,n){for(let r=!1,o=e+1,s=Math.min(t.length,o+999);o<s;o++){let a=t.charCodeAt(o);if(r)r=!1;else{if(a==93)return n?!1:et(ge.LinkLabel,e+i,o+1+i);if(n&&!Pn(a)&&(n=!1),a==91)return!1;a==92&&(r=!0)}}return null}var ev=class{constructor(e,i,n){this.parser=e,this.text=i,this.offset=n,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,i){return this.text.slice(e-this.offset,i-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,i,n,r,o){return this.append(new sn(e,i,n,(r?1:0)|(o?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let n=e;n<this.parts.length;n++){let r=this.parts[n];if(!(r instanceof sn&&r.type.resolve&&r.side&2))continue;let o=r.type==I_||r.type==D_,s=r.to-r.from,a,l=n-1;for(;l>=e;l--){let x=this.parts[l];if(x instanceof sn&&x.side&1&&x.type==r.type&&!(o&&(r.side&1||x.side&2)&&(x.to-x.from+s)%3==0&&((x.to-x.from)%3||s%3))){a=x;break}}if(!a)continue;let c=r.type.resolve,u=[],f=a.from,d=r.to;if(o){let x=Math.min(2,a.to-a.from,s);f=a.to-x,d=r.from+x,c=x==1?"Emphasis":"StrongEmphasis"}a.type.mark&&u.push(this.elt(a.type.mark,f,a.to));for(let x=l+1;x<n;x++)this.parts[x]instanceof ra&&u.push(this.parts[x]),this.parts[x]=null;r.type.mark&&u.push(this.elt(r.type.mark,r.from,d));let O=this.elt(c,f,d,u);this.parts[l]=o&&a.from!=f?new sn(a.type,a.from,f,a.side):null,(this.parts[n]=o&&r.to!=d?new sn(r.type,d,r.to,r.side):null)?this.parts.splice(n,0,O):this.parts[n]=O}let i=[];for(let n=e;n<this.parts.length;n++){let r=this.parts[n];r instanceof ra&&i.push(r)}return i}findOpeningDelimiter(e){for(let i=this.parts.length-1;i>=0;i--){let n=this.parts[i];if(n instanceof sn&&n.type==e)return i}return null}takeContent(e){let i=this.resolveMarkers(e);return this.parts.length=e,i}skipSpace(e){return cf(this.text,e-this.offset)+this.offset}elt(e,i,n,r){return typeof e=="string"?et(this.parser.getNodeType(e),i,n,r):new Ep(e,i)}};function tv(t,e){if(!e.length)return t;if(!t.length)return e;let i=t.slice(),n=0;for(let r of e){for(;n<i.length&&i[n].to<r.to;)n++;if(n<i.length&&i[n].from<r.from){let o=i[n];o instanceof ra&&(i[n]=new ra(o.type,o.from,o.to,tv(o.children,[r])))}else i.splice(n++,0,r)}return i}var $Y=[ge.CodeBlock,ge.ListItem,ge.OrderedList,ge.BulletList],iv=class{constructor(e,i){this.fragments=e,this.input=i,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,i){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 n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=i;if(!n.childAfter(r))return!1}}matches(e){let i=this.cursor.tree;return i&&i.prop(_e.contextHash)==e}takeNodes(e){let i=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),o=e.absoluteLineStart,s=o,a=e.block.children.length,l=s,c=a;for(;;){if(i.to-n>r){if(i.type.isAnonymous&&i.firstChild())continue;break}let u=N_(i.from-n,e.ranges);if(i.to-n<=e.ranges[e.rangeI].to)e.addNode(i.tree,u);else{let f=new Ze(e.parser.nodeSet.types[ge.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(f,i.tree),e.addNode(f,u)}if(i.type.is("Block")&&($Y.indexOf(i.type.id)<0?(s=i.to-n,a=e.block.children.length):(s=l,a=c,l=i.to-n,c=e.block.children.length)),!i.nextSibling())break}for(;e.block.children.length>a;)e.block.children.pop(),e.block.positions.pop();return s-o}};function N_(t,e){let i=t;for(let n=1;n<e.length;n++){let r=e[n-1].to,o=e[n].from;r<t&&(i-=o-r)}return i}var XY=Tt({"Blockquote/...":E.quote,HorizontalRule:E.contentSeparator,"ATXHeading1/... SetextHeading1/...":E.heading1,"ATXHeading2/... SetextHeading2/...":E.heading2,"ATXHeading3/...":E.heading3,"ATXHeading4/...":E.heading4,"ATXHeading5/...":E.heading5,"ATXHeading6/...":E.heading6,"Comment CommentBlock":E.comment,Escape:E.escape,Entity:E.character,"Emphasis/...":E.emphasis,"StrongEmphasis/...":E.strong,"Link/... Image/...":E.link,"OrderedList/... BulletList/...":E.list,"BlockQuote/...":E.quote,"InlineCode CodeText":E.monospace,"URL Autolink":E.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":E.processingInstruction,"CodeInfo LinkLabel":E.labelName,LinkTitle:E.string,Paragraph:E.content}),q_=new ff(new jr(L_).extend(XY),Object.keys(wp).map(t=>wp[t]),Object.keys(wp).map(t=>CY[t]),Object.keys(wp),QY,T_,Object.keys(Vx).map(t=>Vx[t]),Object.keys(Vx),[]);function RY(t,e,i){let n=[];for(let r=t.firstChild,o=e;;r=r.nextSibling){let s=r?r.from:i;if(s>o&&n.push({from:o,to:s}),!r)break;o=r.to}return n}function j_(t){let{codeParser:e,htmlParser:i}=t;return{wrap:yu((r,o)=>{let s=r.type.id;if(e&&(s==ge.CodeBlock||s==ge.FencedCode)){let a="";if(s==ge.FencedCode){let c=r.node.getChild(ge.CodeInfo);c&&(a=o.read(c.from,c.to))}let l=e(a);if(l)return{parser:l,overlay:c=>c.type.id==ge.CodeText}}else if(i&&(s==ge.HTMLBlock||s==ge.HTMLTag))return{parser:i,overlay:RY(r.node,r.from,r.to)};return null})}}var LY={resolve:"Strikethrough",mark:"StrikethroughMark"},IY={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":E.strikethrough}},{name:"StrikethroughMark",style:E.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,i){if(e!=126||t.char(i+1)!=126||t.char(i+2)==126)return-1;let n=t.slice(i-1,i),r=t.slice(i+2,i+3),o=/\s|^$/.test(n),s=/\s|^$/.test(r),a=hf.test(n),l=hf.test(r);return t.addDelimiter(LY,i,i+2,!s&&(!l||o||a),!o&&(!a||s||l))},after:"Emphasis"}]};function uf(t,e,i=0,n,r=0){let o=0,s=!0,a=-1,l=-1,c=!1,u=()=>{n.push(t.elt("TableCell",r+a,r+l,t.parser.parseInline(e.slice(a,l),r+a)))};for(let f=i;f<e.length;f++){let d=e.charCodeAt(f);d==124&&!c?((!s||a>-1)&&o++,s=!1,n&&(a>-1&&u(),n.push(t.elt("TableDelimiter",f+r,f+r+1))),a=l=-1):(c||d!=32&&d!=9)&&(a<0&&(a=f),l=f+1),c=!c&&d==92}return a>-1&&(o++,n&&u()),o}function b_(t,e){for(let i=e;i<t.length;i++){let n=t.charCodeAt(i);if(n==124)return!0;n==92&&i++}return!1}var W_=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/,Pp=class{constructor(){this.rows=null}nextLine(e,i,n){if(this.rows==null){this.rows=!1;let r;if((i.next==45||i.next==58||i.next==124)&&W_.test(r=i.text.slice(i.pos))){let o=[];uf(e,n.content,0,o,n.start)==uf(e,r,i.pos)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,o),e.elt("TableDelimiter",e.lineStart+i.pos,e.lineStart+i.text.length)])}}else if(this.rows){let r=[];uf(e,i.text,i.pos,r,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+i.pos,e.lineStart+i.text.length,r))}return!1}finish(e,i){return this.rows?(e.addLeafElement(i,e.elt("Table",i.start,i.start+i.content.length,this.rows)),!0):!1}},DY={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":E.heading}},"TableRow",{name:"TableCell",style:E.content},{name:"TableDelimiter",style:E.processingInstruction}],parseBlock:[{name:"Table",leaf(t,e){return b_(e.content,0)?new Pp:null},endLeaf(t,e,i){if(i.parsers.some(r=>r instanceof Pp)||!b_(e.text,e.basePos))return!1;let n=t.scanLine(t.absoluteLineEnd+1).text;return W_.test(n)&&uf(t,e.text,e.basePos)==uf(t,n,e.basePos)},before:"SetextHeading"}]},nv=class{nextLine(){return!1}finish(e,i){return e.addLeafElement(i,e.elt("Task",i.start,i.start+i.content.length,[e.elt("TaskMarker",i.start,i.start+3),...e.parser.parseInline(i.content.slice(3),i.start+3)])),!0}},zY={defineNodes:[{name:"Task",block:!0,style:E.list},{name:"TaskMarker",style:E.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\][ \t]/.test(e.content)&&t.parentType().name=="ListItem"?new nv:null},after:"SetextHeading"}]},y_=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,x_=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,UY=/[\w-]+\.[\w-]+($|\/)/,v_=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,w_=/\/[a-zA-Z\d@.]+/gy;function k_(t,e,i,n){let r=0;for(let o=e;o<i;o++)t[o]==n&&r++;return r}function MY(t,e){x_.lastIndex=e;let i=x_.exec(t);if(!i||UY.exec(i[0])[0].indexOf("_")>-1)return-1;let n=e+i[0].length;for(;;){let r=t[n-1],o;if(/[?!.,:*_~]/.test(r)||r==")"&&k_(t,e,n,")")>k_(t,e,n,"("))n--;else if(r==";"&&(o=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e,n))))n=e+o.index;else break}return n}function S_(t,e){v_.lastIndex=e;let i=v_.exec(t);if(!i)return-1;let n=i[0][i[0].length-1];return n=="_"||n=="-"?-1:e+i[0].length-(n=="."?1:0)}var NY={parseInline:[{name:"Autolink",parse(t,e,i){let n=i-t.offset;y_.lastIndex=n;let r=y_.exec(t.text),o=-1;return!r||(r[1]||r[2]?o=MY(t.text,n+r[0].length):r[3]?o=S_(t.text,n):(o=S_(t.text,n+r[0].length),o>-1&&r[0]=="xmpp:"&&(w_.lastIndex=o,r=w_.exec(t.text),r&&(o=r.index+r[0].length))),o<0)?-1:(t.addElement(t.elt("URL",i,o+t.offset)),o+t.offset)}}]},V_=[DY,zY,IY,NY];function Z_(t,e,i){return(n,r,o)=>{if(r!=t||n.char(o+1)==t)return-1;let s=[n.elt(i,o,o+1)];for(let a=o+1;a<n.end;a++){let l=n.char(a);if(l==t)return n.addElement(n.elt(e,o,a+1,s.concat(n.elt(i,a,a+1))));if(l==92&&s.push(n.elt("Escape",a,a+++2)),Pn(l))break}return-1}}var B_={defineNodes:[{name:"Superscript",style:E.special(E.content)},{name:"SuperscriptMark",style:E.processingInstruction}],parseInline:[{name:"Superscript",parse:Z_(94,"Superscript","SuperscriptMark")}]},Y_={defineNodes:[{name:"Subscript",style:E.special(E.content)},{name:"SubscriptMark",style:E.processingInstruction}],parseInline:[{name:"Subscript",parse:Z_(126,"Subscript","SubscriptMark")}]},F_={defineNodes:[{name:"Emoji",style:E.character}],parseInline:[{name:"Emoji",parse(t,e,i){let n;return e!=58||!(n=/^[a-zA-Z_0-9]+:/.exec(t.slice(i+1,t.end)))?-1:t.addElement(t.elt("Emoji",i,i+1+n[0].length))}}]};var cv=class t{constructor(e,i,n,r,o,s,a,l,c,u=0,f){this.p=e,this.stack=i,this.state=n,this.reducePos=r,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,i)=>i%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,i,n=0){let r=e.parser.context;return new t(e,[],i,n,n,0,[],0,r?new Cp(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,i){this.stack.push(this.state,i,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var i;let n=e>>19,r=e&65535,{parser:o}=this.p;this.reducePos<this.pos-25&&this.setLookAhead(this.pos);let s=o.dynamicPrecedence(r);if(s&&(this.score+=s),n==0){this.pushState(o.getGoto(this.state,r,!0),this.reducePos),r<o.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,4,!0),this.reduceContext(r,this.reducePos);return}let a=this.stack.length-(n-1)*3-(e&262144?6:0),l=a?this.stack[a-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(!((i=this.p.parser.nodeSet.types[r])===null||i===void 0)&&i.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(r<o.minRepeatTerm||e&131072){let d=o.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,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,r,!0)}for(;this.stack.length>a;)this.stack.pop();this.reduceContext(r,l)}storeNode(e,i,n,r=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(i==n)return;if(s.buffer[a-2]>=i){s.buffer[a-2]=n;return}}}if(!o||this.pos==n)this.buffer.push(e,i,n,r);else{let s=this.buffer.length;if(s>0&&this.buffer[s-4]!=0)for(;s>0&&this.buffer[s-2]>n;)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,r>4&&(r-=4);this.buffer[s]=e,this.buffer[s+1]=i,this.buffer[s+2]=n,this.buffer[s+3]=r}}shift(e,i,n,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(i,n),i<=this.p.parser.maxNode&&this.buffer.push(i,n,r,4);else{let o=e,{parser:s}=this.p;(r>this.pos||i<=s.maxNode)&&(this.pos=r,s.stateFlag(o,1)||(this.reducePos=r)),this.pushState(o,n),this.shiftContext(i,n),i<=s.maxNode&&this.buffer.push(i,n,r,4)}}apply(e,i,n,r){e&65536?this.reduce(e):this.shift(e,i,n,r)}useNode(e,i){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(i,r),this.buffer.push(n,r,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,i=e.buffer.length;for(;i>0&&e.buffer[i-2]>e.reducePos;)i-=4;let n=e.buffer.slice(i),r=e.bufferBase+i;for(;e&&r==e.bufferBase;)e=e.parent;return new t(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,i){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,i,4),this.storeNode(0,this.pos,i,n?8:4),this.pos=this.reducePos=i,this.score-=190}canShift(e){for(let i=new uv(this);;){let n=this.p.parser.stateSlot(i.state,4)||this.p.parser.hasAction(i.state,e);if(n==0)return!1;if(!(n&65536))return!0;i.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let i=this.p.parser.nextStates(this.state);if(i.length>8||this.stack.length>=120){let r=[];for(let o=0,s;o<i.length;o+=2)(s=i[o+1])!=this.state&&this.p.parser.hasAction(s,e)&&r.push(i[o],s);if(this.stack.length<120)for(let o=0;r.length<8&&o<i.length;o+=2){let s=i[o+1];r.some((a,l)=>l&1&&a==s)||r.push(i[o],s)}i=r}let n=[];for(let r=0;r<i.length&&n.length<4;r+=2){let o=i[r+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(i[r],this.pos),s.reducePos=this.pos,s.score-=200,n.push(s)}return n}forceReduce(){let{parser:e}=this.p,i=e.stateSlot(this.state,5);if(!(i&65536))return!1;if(!e.validAction(this.state,i)){let n=i>>19,r=i&65535,o=this.stack.length-n*3;if(o<0||e.getGoto(this.stack[o],r,!1)<0){let s=this.findForcedReduction();if(s==null)return!1;i=s}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(i),!0}findForcedReduction(){let{parser:e}=this.p,i=[],n=(r,o)=>{if(!i.includes(r))return i.push(r),e.allActions(r,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=n(s,o+1);if(a!=null)return a}})};return n(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 i=0;i<this.stack.length;i+=3)if(this.stack[i]!=e.stack[i])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,i){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(i)))}reduceContext(e,i){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(i)))}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 i=new Cp(this.curContext.tracker,e);i.hash!=this.curContext.hash&&this.emitContext(),this.curContext=i}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}},Cp=class{constructor(e,i){this.tracker=e,this.context=i,this.hash=e.strict?e.hash(i):0}},uv=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let i=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],i,!0);this.state=r}},fv=class t{constructor(e,i,n){this.stack=e,this.pos=i,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,i=e.bufferBase+e.buffer.length){return new t(e,i,i-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 df(t,e=Uint16Array){if(typeof t!="string")return t;let i=null;for(let n=0,r=0;n<t.length;){let o=0;for(;;){let s=t.charCodeAt(n++),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}i?i[r++]=o:i=new e(o)}return i}var Ql=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}},H_=new Ql,hv=class{constructor(e,i){this.input=e,this.ranges=i,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=H_,this.rangeIndex=0,this.pos=this.chunkPos=i[0].from,this.range=i[0],this.end=i[i.length-1].to,this.readNext()}resolveOffset(e,i){let n=this.range,r=this.rangeIndex,o=this.pos+e;for(;o<n.from;){if(!r)return null;let s=this.ranges[--r];o-=n.from-s.to,n=s}for(;i<0?o>n.to:o>=n.to;){if(r==this.ranges.length-1)return null;let s=this.ranges[++r];o+=s.from-n.to,n=s}return o}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let i of this.ranges)if(i.to>e)return Math.max(e,i.from);return this.end}peek(e){let i=this.chunkOff+e,n,r;if(i>=0&&i<this.chunk.length)n=this.pos+e,r=this.chunk.charCodeAt(i);else{let o=this.resolveOffset(e,1);if(o==null)return-1;if(n=o,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let s=this.rangeIndex,a=this.range;for(;a.to<=n;)a=this.ranges[++s];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>a.to&&(this.chunk2=this.chunk2.slice(0,a.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,i=0){let n=i?this.resolveOffset(i,-1):this.pos;if(n==null||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,i){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:i}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=i,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),i=this.pos+e.length;this.chunk=i>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,i){if(i?(this.token=i,i.start=e,i.lookAhead=e+1,i.value=i.extended=-1):this.token=H_,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,i){if(e>=this.chunkPos&&i<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,i-this.chunkPos);if(e>=this.chunk2Pos&&i<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,i-this.chunk2Pos);if(e>=this.range.from&&i<=this.range.to)return this.input.read(e,i);let n="";for(let r of this.ranges){if(r.from>=i)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,i)))}return n}},es=class{constructor(e,i){this.data=e,this.id=i}token(e,i){let{parser:n}=i.p;tA(this.data,e,i,this.id,n.data,n.tokenPrecTable)}};es.prototype.contextual=es.prototype.fallback=es.prototype.extend=!1;var ts=class{constructor(e,i,n){this.precTable=i,this.elseToken=n,this.data=typeof e=="string"?df(e):e}token(e,i){let n=e.pos,r=0;for(;;){let o=e.next<0,s=e.resolveOffset(1,1);if(tA(this.data,e,i,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(o||r++,s==null)break;e.reset(s,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}};ts.prototype.contextual=es.prototype.fallback=es.prototype.extend=!1;var ze=class{constructor(e,i={}){this.token=e,this.contextual=!!i.contextual,this.fallback=!!i.fallback,this.extend=!!i.extend}};function tA(t,e,i,n,r,o){let s=0,a=1<<n,{dialect:l}=i.p.parser;e:for(;a&t[s];){let c=t[s+1];for(let O=s+3;O<c;O+=2)if((t[O+1]&a)>0){let m=t[O];if(l.allows(m)&&(e.token.value==-1||e.token.value==m||jY(m,e.token.value,r,o))){e.acceptToken(m);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 O=f+d>>1,m=c+O+(O<<1),x=t[m],v=t[m+1]||65536;if(u<x)d=O;else if(u>=v)f=O+1;else{s=t[m+2],e.advance();continue e}}break}}function G_(t,e,i){for(let n=e,r;(r=t[n])!=65535;n++)if(r==i)return n-e;return-1}function jY(t,e,i,n){let r=G_(i,n,e);return r<0||G_(i,n,t)<r}var an=typeof process!="undefined"&&process.env&&/\bparse\b/.test(process.env.LOG),av=null;function K_(t,e,i){let n=t.cursor(rt.IncludeAnonymous);for(n.moveTo(e);;)if(!(i<0?n.childBefore(e):n.childAfter(e)))for(;;){if((i<0?n.to<e:n.from>e)&&!n.type.isError)return i<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(i<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return i<0?0:t.length}}var dv=class{constructor(e,i){this.fragments=e,this.nodeSet=i,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?K_(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?K_(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 i=this.trees.length-1;if(i<0)return this.nextFragment(),null;let n=this.trees[i],r=this.index[i];if(r==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let o=n.children[r],s=this.start[i]+n.positions[r];if(s>e)return this.nextStart=s,null;if(o instanceof Ze){if(s==e){if(s<this.safeFrom)return null;let a=s+o.length;if(a<=this.safeTo){let l=o.prop(_e.lookAhead);if(!l||a+l<this.fragment.to)return o}}this.index[i]++,s+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(s),this.index.push(0))}else this.index[i]++,this.nextStart=s+o.length}}},Ov=class{constructor(e,i){this.stream=i,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Ql)}getActions(e){let i=0,n=null,{parser:r}=e.p,{tokenizers:o}=r,s=r.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(!(n&&!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=i;if(f.extended>-1&&(i=this.addActions(e,f.extended,f.end,i)),i=this.addActions(e,f.value,f.end,i),!u.extend&&(n=f,i>d))break}}for(;this.actions.length>i;)this.actions.pop();return l&&e.setLookAhead(l),!n&&e.pos==this.stream.end&&(n=new Ql,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,i=this.addActions(e,n.value,n.end,i)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let i=new Ql,{pos:n,p:r}=e;return i.start=n,i.end=Math.min(n+1,r.stream.end),i.value=n==r.stream.end?r.parser.eofTerm:0,i}updateCachedToken(e,i,n){let r=this.stream.clipPos(n.pos);if(i.token(this.stream.reset(r,e),n),e.value>-1){let{parser:o}=n.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),n);if(a>=0&&n.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(r+1)}putAction(e,i,n,r){for(let o=0;o<r;o+=3)if(this.actions[o]==e)return r;return this.actions[r++]=e,this.actions[r++]=i,this.actions[r++]=n,r}addActions(e,i,n,r){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=eo(a,c+2);else{r==0&&a[c+1]==2&&(r=this.putAction(eo(a,c+2),i,n,r));break}a[c]==i&&(r=this.putAction(eo(a,c+1),i,n,r))}return r}},pv=class{constructor(e,i,n,r){this.parser=e,this.input=i,this.ranges=r,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 hv(i,r),this.tokens=new Ov(e,this.stream),this.topTerm=e.top[1];let{from:o}=r[0];this.stacks=[cv.start(this,e.top[0],o)],this.fragments=n.length&&this.stream.end-o>e.bufferLength*4?new dv(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,i=this.minStackPos,n=this.stacks=[],r,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>i)n.push(a);else{if(this.advanceStack(a,n,e))continue;{r||(r=[],o=[]),r.push(a);let l=this.tokens.getMainToken(a);o.push(l.value,l.end)}}break}}if(!n.length){let s=r&&WY(r);if(s)return an&&console.log("Finish with "+this.stackID(s)),this.stackToTree(s);if(this.parser.strict)throw an&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&r){let s=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,o,n);if(s)return an&&console.log("Force-finish "+this.stackID(s)),this.stackToTree(s.forceAll())}if(this.recovering){let s=this.recovering==1?1:this.recovering*3;if(n.length>s)for(n.sort((a,l)=>l.score-a.score);n.length>s;)n.pop();n.some(a=>a.reducePos>i)&&this.recovering--}else if(n.length>1){e:for(let s=0;s<n.length-1;s++){let a=n[s];for(let l=s+1;l<n.length;l++){let c=n[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)n.splice(l--,1);else{n.splice(s--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let s=1;s<n.length;s++)n[s].pos<this.minStackPos&&(this.minStackPos=n[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,i,n){let r=e.pos,{parser:o}=this,s=an?this.stackID(e)+" -> ":"";if(this.stoppedAt!=null&&r>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(r);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(_e.contextHash)||0)==u))return e.useNode(f,d),an&&console.log(s+this.stackID(e)+` (via reuse of ${o.getName(f.type.id)})`),!0;if(!(f instanceof Ze)||f.children.length==0||f.positions[0]>0)break;let O=f.children[0];if(O instanceof Ze&&f.positions[0]==0)f=O;else break}}let a=o.stateSlot(e.state,4);if(a>0)return e.reduce(a),an&&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++],O=c==l.length||!n,m=O?e:e.split(),x=this.tokens.mainToken;if(m.apply(u,f,x?x.start:m.pos,d),an&&console.log(s+this.stackID(m)+` (via ${u&65536?`reduce of ${o.getName(u&65535)}`:"shift"} for ${o.getName(f)} @ ${r}${m==e?"":", split"})`),O)return!0;m.pos>r?i.push(m):n.push(m)}return!1}advanceFully(e,i){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return J_(e,i),!0}}runRecovery(e,i,n){let r=null,o=!1;for(let s=0;s<e.length;s++){let a=e[s],l=i[s<<1],c=i[(s<<1)+1],u=an?this.stackID(a)+" -> ":"";if(a.deadEnd&&(o||(o=!0,a.restart(),an&&console.log(u+this.stackID(a)+" (restarted)"),this.advanceFully(a,n))))continue;let f=a.split(),d=u;for(let O=0;f.forceReduce()&&O<10&&(an&&console.log(d+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,n));O++)an&&(d=this.stackID(f)+" -> ");for(let O of a.recoverByInsert(l))an&&console.log(u+this.stackID(O)+" (via recover-insert)"),this.advanceFully(O,n);this.stream.end>a.pos?(c==a.pos&&(c++,l=0),a.recoverByDelete(l,c),an&&console.log(u+this.stackID(a)+` (via recover-delete ${this.parser.getName(l)})`),J_(a,n)):(!r||r.score<a.score)&&(r=a)}return r}stackToTree(e){return e.close(),Ze.build({buffer:fv.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 i=(av||(av=new WeakMap)).get(e);return i||av.set(e,i=String.fromCodePoint(this.nextStackID++)),i+e}};function J_(t,e){for(let i=0;i<e.length;i++){let n=e[i];if(n.pos==t.pos&&n.sameState(t)){e[i].score<t.score&&(e[i]=t);return}}e.push(t)}var mv=class{constructor(e,i,n){this.source=e,this.flags=i,this.disabled=n}allows(e){return!this.disabled||this.disabled[e]==0}},lv=t=>t,Cn=class{constructor(e){this.start=e.start,this.shift=e.shift||lv,this.reduce=e.reduce||lv,this.reuse=e.reuse||lv,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}},Mt=class t extends Vr{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let i=e.nodeNames.split(" ");this.minRepeatTerm=i.length;for(let a=0;a<e.repeatNodeCount;a++)i.push("");let n=Object.keys(e.topRules).map(a=>e.topRules[a][1]),r=[];for(let a=0;a<i.length;a++)r.push([]);function o(a,l,c){r[a].push([l,l.deserialize(String(c))])}if(e.nodeProps)for(let a of e.nodeProps){let l=a[0];typeof l=="string"&&(l=_e[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 jr(i.map((a,l)=>$t.define({name:l>=this.minRepeatTerm?void 0:a,id:l,props:r[l],top:n.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=df(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(eA),this.states=df(e.states,Uint32Array),this.data=df(e.stateData),this.goto=df(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(a=>typeof a=="number"?new es(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,i,n){let r=new pv(this,e,i,n);for(let o of this.wrappers)r=o(r,e,i,n);return r}getGoto(e,i,n=!1){let r=this.goto;if(i>=r[0])return-1;for(let o=r[i+1];;){let s=r[o++],a=s&1,l=r[o++];if(a&&n)return l;for(let c=o+(s>>1);o<c;o++)if(r[o]==e)return l;if(a)return-1}}hasAction(e,i){let n=this.data;for(let r=0;r<2;r++)for(let o=this.stateSlot(e,r?2:1),s;;o+=3){if((s=n[o])==65535)if(n[o+1]==1)s=n[o=eo(n,o+2)];else{if(n[o+1]==2)return eo(n,o+2);break}if(s==i||s==0)return eo(n,o+1)}return 0}stateSlot(e,i){return this.states[e*6+i]}stateFlag(e,i){return(this.stateSlot(e,0)&i)>0}validAction(e,i){return!!this.allActions(e,n=>n==i?!0:null)}allActions(e,i){let n=this.stateSlot(e,4),r=n?i(n):void 0;for(let o=this.stateSlot(e,1);r==null;o+=3){if(this.data[o]==65535)if(this.data[o+1]==1)o=eo(this.data,o+2);else break;r=i(eo(this.data,o+1))}return r}nextStates(e){let i=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=eo(this.data,n+2);else break;if(!(this.data[n+2]&1)){let r=this.data[n+1];i.some((o,s)=>s&1&&o==r)||i.push(this.data[n],r)}}return i}configure(e){let i=Object.assign(Object.create(t.prototype),this);if(e.props&&(i.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);i.top=n}return e.tokenizers&&(i.tokenizers=this.tokenizers.map(n=>{let r=e.tokenizers.find(o=>o.from==n);return r?r.to:n})),e.specializers&&(i.specializers=this.specializers.slice(),i.specializerSpecs=this.specializerSpecs.map((n,r)=>{let o=e.specializers.find(a=>a.from==n.external);if(!o)return n;let s=Object.assign(Object.assign({},n),{external:o.to});return i.specializers[r]=eA(s),s})),e.contextTracker&&(i.context=e.contextTracker),e.dialect&&(i.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(i.strict=e.strict),e.wrap&&(i.wrappers=i.wrappers.concat(e.wrap)),e.bufferLength!=null&&(i.bufferLength=e.bufferLength),i}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 i=this.dynamicPrecedences;return i==null?0:i[e]||0}parseDialect(e){let i=Object.keys(this.dialects),n=i.map(()=>!1);if(e)for(let o of e.split(" ")){let s=i.indexOf(o);s>=0&&(n[s]=!0)}let r=null;for(let o=0;o<i.length;o++)if(!n[o])for(let s=this.dialects[i[o]],a;(a=this.data[s++])!=65535;)(r||(r=new Uint8Array(this.maxTerm+1)))[a]=1;return new mv(e,n,r)}static deserialize(e){return new t(e)}};function eo(t,e){return t[e]|t[e+1]<<16}function WY(t){let e=null;for(let i of t){let n=i.p.stoppedAt;(i.pos==i.p.stream.end||n!=null&&i.pos>n)&&i.p.parser.stateFlag(i.state,2)&&(!e||e.score<i.score)&&(e=i)}return e}function eA(t){if(t.external){let e=t.extend?1:0;return(i,n)=>t.external(i,n)<<1|e}return t.get}var VY=54,ZY=1,BY=55,YY=2,FY=56,HY=3,iA=4,GY=5,Qp=6,uA=7,fA=8,hA=9,dA=10,KY=11,JY=12,eF=13,gv=57,tF=14,nA=58,OA=20,iF=22,pA=23,nF=24,yv=26,mA=27,rF=28,oF=31,sF=34,aF=36,lF=37,cF=0,uF=1,fF={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},hF={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},rA={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 dF(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function gA(t){return t==9||t==10||t==13||t==32}var oA=null,sA=null,aA=0;function xv(t,e){let i=t.pos+e;if(aA==i&&sA==t)return oA;let n=t.peek(e);for(;gA(n);)n=t.peek(++e);let r="";for(;dF(n);)r+=String.fromCharCode(n),n=t.peek(++e);return sA=t,aA=i,oA=r?r.toLowerCase():n==OF||n==pF?void 0:null}var bA=60,_p=62,vv=47,OF=63,pF=33,mF=45;function lA(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let i=0;i<t.length;i++)this.hash+=(this.hash<<4)+t.charCodeAt(i)+(t.charCodeAt(i)<<8)}var gF=[Qp,dA,uA,fA,hA],bF=new Cn({start:null,shift(t,e,i,n){return gF.indexOf(e)>-1?new lA(xv(n,1)||"",t):t},reduce(t,e){return e==OA&&t?t.parent:t},reuse(t,e,i,n){let r=e.type.id;return r==Qp||r==aF?new lA(xv(n,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),yF=new ze((t,e)=>{if(t.next!=bA){t.next<0&&e.context&&t.acceptToken(gv);return}t.advance();let i=t.next==vv;i&&t.advance();let n=xv(t,0);if(n===void 0)return;if(!n)return t.acceptToken(i?tF:Qp);let r=e.context?e.context.name:null;if(i){if(n==r)return t.acceptToken(KY);if(r&&hF[r])return t.acceptToken(gv,-2);if(e.dialectEnabled(cF))return t.acceptToken(JY);for(let o=e.context;o;o=o.parent)if(o.name==n)return;t.acceptToken(eF)}else{if(n=="script")return t.acceptToken(uA);if(n=="style")return t.acceptToken(fA);if(n=="textarea")return t.acceptToken(hA);if(fF.hasOwnProperty(n))return t.acceptToken(dA);r&&rA[r]&&rA[r][n]?t.acceptToken(gv,-1):t.acceptToken(Qp)}},{contextual:!0}),xF=new ze(t=>{for(let e=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(nA);break}if(t.next==mF)e++;else if(t.next==_p&&e>=2){i>=3&&t.acceptToken(nA,-2);break}else e=0;t.advance()}});function vF(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}var wF=new ze((t,e)=>{if(t.next==vv&&t.peek(1)==_p){let i=e.dialectEnabled(uF)||vF(e.context);t.acceptToken(i?GY:iA,2)}else t.next==_p&&t.acceptToken(iA,1)});function wv(t,e,i){let n=2+t.length;return new ze(r=>{for(let o=0,s=0,a=0;;a++){if(r.next<0){a&&r.acceptToken(e);break}if(o==0&&r.next==bA||o==1&&r.next==vv||o>=2&&o<n&&r.next==t.charCodeAt(o-2))o++,s++;else if((o==2||o==n)&&gA(r.next))s++;else if(o==n&&r.next==_p){a>s?r.acceptToken(e,-s):r.acceptToken(i,-(s-2));break}else if((r.next==10||r.next==13)&&a){r.acceptToken(e,1);break}else o=s=0;r.advance()}})}var kF=wv("script",VY,ZY),SF=wv("style",BY,YY),TF=wv("textarea",FY,HY),EF=Tt({"Text RawText":E.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":E.angleBracket,TagName:E.tagName,"MismatchedCloseTag/TagName":[E.tagName,E.invalid],AttributeName:E.attributeName,"AttributeValue UnquotedAttributeValue":E.attributeValue,Is:E.definitionOperator,"EntityReference CharacterReference":E.character,Comment:E.blockComment,ProcessingInst:E.processingInstruction,DoctypeDecl:E.documentMeta}),yA=Mt.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$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ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OhyO~OS!OOhyO~OS!QOhyO~OS!SOT!TOhyO~OS!TOhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26A0 StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag 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:bF,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:[EF],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!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT`POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*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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:[kF,SF,TF,wF,yF,xF,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:485},tokenPrec:487});function xA(t,e){let i=Object.create(null);for(let n of t.getChildren(pA)){let r=n.getChild(nF),o=n.getChild(yv)||n.getChild(mA);r&&(i[e.read(r.from,r.to)]=o?o.type.id==yv?e.read(o.from+1,o.to-1):e.read(o.from,o.to):"")}return i}function cA(t,e){let i=t.getChild(iF);return i?e.read(i.from,i.to):" "}function bv(t,e,i){let n;for(let r of i)if(!r.attrs||r.attrs(n||(n=xA(t.node.parent.firstChild,e))))return{parser:r.parser};return null}function kv(t=[],e=[]){let i=[],n=[],r=[],o=[];for(let a of t)(a.tag=="script"?i:a.tag=="style"?n:a.tag=="textarea"?r: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 yu((a,l)=>{let c=a.type.id;if(c==rF)return bv(a,l,i);if(c==oF)return bv(a,l,n);if(c==sF)return bv(a,l,r);if(c==OA&&o.length){let u=a.node,f=u.firstChild,d=f&&cA(f,l),O;if(d){for(let m of o)if(m.tag==d&&(!m.attrs||m.attrs(O||(O=xA(u,l))))){let x=u.lastChild,v=x.type.id==lF?x.from:u.to;if(v>f.to)return{parser:m.parser,overlay:[{from:f.to,to:v}]}}}}if(s&&c==pA){let u=a.node,f;if(f=u.firstChild){let d=s[l.read(f.from,f.to)];if(d)for(let O of d){if(O.tagName&&O.tagName!=cA(u.parent,l))continue;let m=u.lastChild;if(m.type.id==yv){let x=m.from+1,v=m.lastChild,w=m.to-(v&&v.isError?0:1);if(w>x)return{parser:O.parser,overlay:[{from:x,to:w}]}}else if(m.type.id==mA)return{parser:O.parser,overlay:[{from:m.from,to:m.to}]}}}}return null})}var PF=99,vA=1,CF=100,QF=101,wA=2,kA=[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],_F=58,AF=40,SA=95,$F=91,Ap=45,XF=46,RF=35,LF=37,IF=38,DF=92,zF=10;function Of(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function UF(t){return t>=48&&t<=57}var MF=new ze((t,e)=>{for(let i=!1,n=0,r=0;;r++){let{next:o}=t;if(Of(o)||o==Ap||o==SA||i&&UF(o))!i&&(o!=Ap||r>0)&&(i=!0),n===r&&o==Ap&&n++,t.advance();else if(o==DF&&t.peek(1)!=zF)t.advance(),t.next>-1&&t.advance(),i=!0;else{i&&t.acceptToken(o==AF?CF:n==2&&e.canShift(wA)?wA:QF);break}}}),NF=new ze(t=>{if(kA.includes(t.peek(-1))){let{next:e}=t;(Of(e)||e==SA||e==RF||e==XF||e==$F||e==_F&&Of(t.peek(1))||e==Ap||e==IF)&&t.acceptToken(PF)}}),qF=new ze(t=>{if(!kA.includes(t.peek(-1))){let{next:e}=t;if(e==LF&&(t.advance(),t.acceptToken(vA)),Of(e)){do t.advance();while(Of(t.next));t.acceptToken(vA)}}}),jF=Tt({"AtKeyword import charset namespace keyframes media supports":E.definitionKeyword,"from to selector":E.keyword,NamespaceName:E.namespace,KeyframeName:E.labelName,KeyframeRangeName:E.operatorKeyword,TagName:E.tagName,ClassName:E.className,PseudoClassName:E.constant(E.className),IdName:E.labelName,"FeatureName PropertyName":E.propertyName,AttributeName:E.attributeName,NumberLiteral:E.number,KeywordQuery:E.keyword,UnaryQueryOp:E.operatorKeyword,"CallTag ValueName":E.atom,VariableName:E.variableName,Callee:E.operatorKeyword,Unit:E.unit,"UniversalSelector NestingSelector":E.definitionOperator,MatchOp:E.compareOperator,"ChildOp SiblingOp, LogicOp":E.logicOperator,BinOp:E.arithmeticOperator,Important:E.modifier,Comment:E.blockComment,ColorLiteral:E.color,"ParenthesizedContent StringLiteral":E.string,":":E.punctuation,"PseudoOp #":E.derefOperator,"; ,":E.separator,"( )":E.paren,"[ ]":E.squareBracket,"{ }":E.brace}),WF={__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},VF={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},ZF={__proto__:null,not:132,only:132},TA=Mt.deserialize({version:14,states:":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'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SgPwQ!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:[jF],skippedNodes:[0,3,87],repeatNodeCount:11,tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7o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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:[NF,qF,MF,1,2,3,4,new ts("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:t=>WF[t]||-1},{term:58,get:t=>VF[t]||-1},{term:101,get:t=>ZF[t]||-1}],tokenPrec:1200});var Sv=null;function Tv(){if(!Sv&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],i=new Set;for(let n in t)n!="cssText"&&n!="cssFloat"&&typeof t[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,r=>"-"+r.toLowerCase())),i.has(n)||(e.push(n),i.add(n)));Sv=e.sort().map(n=>({type:"property",label:n,apply:n+": "}))}return Sv||[]}var EA=["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})),PA=["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}))),BF=["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})),YF=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(t=>({type:"keyword",label:t})),to=/^(\w[\w-]*|-\w[\w-]*|)$/,FF=/^-(-[\w-]*)?$/;function HF(t,e){var i;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let n=(i=t.parent)===null||i===void 0?void 0:i.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}var CA=new Wo,GF=["Declaration"];function KF(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function QA(t,e,i){if(e.to-e.from>4096){let n=CA.get(e);if(n)return n;let r=[],o=new Set,s=e.cursor(rt.IncludeAnonymous);if(s.firstChild())do for(let a of QA(t,s.node,i))o.has(a.label)||(o.add(a.label),r.push(a));while(s.nextSibling());return CA.set(e,r),r}else{let n=[],r=new Set;return e.cursor().iterate(o=>{var s;if(i(o)&&o.matchContext(GF)&&((s=o.node.nextSibling)===null||s===void 0?void 0:s.name)==":"){let a=t.sliceString(o.from,o.to);r.has(a)||(r.add(a),n.push({label:a,type:"variable"}))}}),n}}var JF=t=>e=>{let{state:i,pos:n}=e,r=qe(i).resolveInner(n,-1),o=r.type.isError&&r.from==r.to-1&&i.doc.sliceString(r.from,r.to)=="-";if(r.name=="PropertyName"||(o||r.name=="TagName")&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:Tv(),validFor:to};if(r.name=="ValueName")return{from:r.from,options:PA,validFor:to};if(r.name=="PseudoClassName")return{from:r.from,options:EA,validFor:to};if(t(r)||(e.explicit||o)&&HF(r,i.doc))return{from:t(r)||o?r.from:n,options:QA(i.doc,KF(r),t),validFor:FF};if(r.name=="TagName"){for(let{parent:l}=r;l;l=l.parent)if(l.name=="Block")return{from:r.from,options:Tv(),validFor:to};return{from:r.from,options:BF,validFor:to}}if(r.name=="AtKeyword")return{from:r.from,options:YF,validFor:to};if(!e.explicit)return null;let s=r.resolve(n),a=s.childBefore(n);return a&&a.name==":"&&s.name=="PseudoClassSelector"?{from:n,options:EA,validFor:to}:a&&a.name==":"&&s.name=="Declaration"||s.name=="ArgList"?{from:n,options:PA,validFor:to}:s.name=="Block"||s.name=="Styles"?{from:n,options:Tv(),validFor:to}:null},eH=JF(t=>t.name=="VariableName"),pf=Vt.define({name:"css",parser:TA.configure({props:[zt.add({Declaration:Si()}),Ut.add({"Block KeyframeList":En})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function $p(){return new mt(pf,pf.data.of({autocomplete:eH}))}var tH=309,_A=1,iH=2,nH=3,rH=310,oH=312,sH=313,aH=4,lH=5,cH=0,Pv=[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],AA=125,uH=59,Cv=47,fH=42,hH=43,dH=45,OH=60,pH=44,mH=new Cn({start:!1,shift(t,e){return e==aH||e==lH||e==oH?t:e==sH},strict:!1}),gH=new ze((t,e)=>{let{next:i}=t;(i==AA||i==-1||e.context)&&t.acceptToken(rH)},{contextual:!0,fallback:!0}),bH=new ze((t,e)=>{let{next:i}=t,n;Pv.indexOf(i)>-1||i==Cv&&((n=t.peek(1))==Cv||n==fH)||i!=AA&&i!=uH&&i!=-1&&!e.context&&t.acceptToken(tH)},{contextual:!0}),yH=new ze((t,e)=>{let{next:i}=t;if((i==hH||i==dH)&&(t.advance(),i==t.next)){t.advance();let n=!e.context&&e.canShift(_A);t.acceptToken(n?_A:iH)}},{contextual:!0});function Ev(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}var xH=new ze((t,e)=>{if(t.next!=OH||!e.dialectEnabled(cH)||(t.advance(),t.next==Cv))return;let i=0;for(;Pv.indexOf(t.next)>-1;)t.advance(),i++;if(Ev(t.next,!0)){for(t.advance(),i++;Ev(t.next,!1);)t.advance(),i++;for(;Pv.indexOf(t.next)>-1;)t.advance(),i++;if(t.next==pH)return;for(let n=0;;n++){if(n==7){if(!Ev(t.next,!0))return;break}if(t.next!="extends".charCodeAt(n))break;t.advance(),i++}}t.acceptToken(nH,-i)}),vH=Tt({"get set async static":E.modifier,"for while do if else switch try catch finally return throw break continue default case":E.controlKeyword,"in of await yield void typeof delete instanceof":E.operatorKeyword,"let var const using function class extends":E.definitionKeyword,"import export from":E.moduleKeyword,"with debugger as new":E.keyword,TemplateString:E.special(E.string),super:E.atom,BooleanLiteral:E.bool,this:E.self,null:E.null,Star:E.modifier,VariableName:E.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":E.function(E.variableName),VariableDefinition:E.definition(E.variableName),Label:E.labelName,PropertyName:E.propertyName,PrivatePropertyName:E.special(E.propertyName),"CallExpression/MemberExpression/PropertyName":E.function(E.propertyName),"FunctionDeclaration/VariableDefinition":E.function(E.definition(E.variableName)),"ClassDeclaration/VariableDefinition":E.definition(E.className),PropertyDefinition:E.definition(E.propertyName),PrivatePropertyDefinition:E.definition(E.special(E.propertyName)),UpdateOp:E.updateOperator,"LineComment Hashbang":E.lineComment,BlockComment:E.blockComment,Number:E.number,String:E.string,Escape:E.escape,ArithOp:E.arithmeticOperator,LogicOp:E.logicOperator,BitOp:E.bitwiseOperator,CompareOp:E.compareOperator,RegExp:E.regexp,Equals:E.definitionOperator,Arrow:E.function(E.punctuation),": Spread":E.punctuation,"( )":E.paren,"[ ]":E.squareBracket,"{ }":E.brace,"InterpolationStart InterpolationEnd":E.special(E.brace),".":E.derefOperator,", ;":E.separator,"@":E.meta,TypeName:E.typeName,TypeDefinition:E.definition(E.typeName),"type enum interface implements namespace module declare":E.definitionKeyword,"abstract global Privacy readonly override":E.modifier,"is keyof unique infer":E.operatorKeyword,JSXAttributeValue:E.attributeValue,JSXText:E.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":E.angleBracket,"JSXIdentifier JSXNameSpacedName":E.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":E.attributeName,"JSXBuiltin/JSXIdentifier":E.standard(E.tagName)}),wH={__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},kH={__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},SH={__proto__:null,"<":143},$A=Mt.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'#EPO9aQWO'#GmO:RQ7[O'#CnO:aQWO'#EjO:lQWO'#EuO:qQ7[O'#FbO;`QWO'#GmOOQO'#KV'#KVO;eQWO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rQ.n(vQ.r:cQ.t:fQ.u:gQ.v:jQ/V)yQ0_+OQ2W,yQ2Z,|Q2k-fQ2r-zQ3Y.lQ3_:kQ3`:lQ3a:mQ3b:nQ3c:oQ3d:pQ3e:qQ3f:rQ3g:sQ3h:tQ3i:uQ3j:vQ3k.sQ3n:{Q3o;YQ3t:wQ4k0aQ4s0qQ6U;ZQ6[2mQ6a2sQ6o3ZQ6p;[Q6y;^Q6z;eQ7r5WQ8a6SQ8e6]Q8n;fQ8t;oQ8u;pQ9k8gQ9{9WQ:S9iQ:e#RR<P<]R#ZWR'U!eY!tQ'Z-Y1[5]S'Q!e-QQ'f!rS'p!u!xS'r!y5_S,}'R'YS-i'g'hQ-k'iQ2b-WR2p-jR(t#wR(w#xQ!fQT-X'Z-Y]!qQ!r'Z-Y1[5]Q#o]R'd:dT#jZ%bS#iZ%bS%hm,dU(a#g#h#kS-}(b(cQ.R(dQ0c+TQ2u.OU2v.P.Q.SS6c2w2xR8h6d`#]W#V#Y%e'}(W+Q-xr#fZm#g#h#k%b(b(c(d+T.O.P.Q.S2w2x6dQ1q,dQ2X,zQ6Q2PQ8`6RT;w'S+RT#`W%eS#_W%eS(O#V(WS(T#Y+QS-P'S+RT-s'}-xT'X!e%fQ$kfR)s$pT)h$k)iR3r.zT*X$x*ZR*a${Q0g+]Q2z.ZQ5`1^Q6h3OQ7z5cQ8k6gQ9Y7yQ9l8jQ9}9[Q:V9nQ:[:OR:_:WnqOXst!Z#c%j&m&o&p&r,h,m1w1zQ&g!VR,]&dtmOXst!U!V!Z#c%j&d&m&o&p&r,h,m1w1zR,d&jT%im,dR1W+|R,[&bQ&Q|R+t&RR+j%{T&k!W&nT&l!W&nT1y,m1z",nodeNames:"\u26A0 ArithOp ArithOp JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape 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:mH,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:[vH],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%d_$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p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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 ts("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=>wH[t]||-1},{term:334,get:t=>kH[t]||-1},{term:70,get:t=>SH[t]||-1}],tokenPrec:14626});var IA=[xt("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),xt("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),xt("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),xt("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),xt("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),xt(`try {
\${}
} catch (\${error}) {
\${}
}`,{label:"try",detail:"/ catch block",type:"keyword"}),xt("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),xt(`if (\${}) {
\${}
} else {
\${}
}`,{label:"if",detail:"/ else block",type:"keyword"}),xt(`class \${name} {
constructor(\${params}) {
\${}
}
}`,{label:"class",detail:"definition",type:"keyword"}),xt('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),xt('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],TH=IA.concat([xt("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),xt("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),xt("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),XA=new Wo,DA=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function mf(t){return(e,i)=>{let n=e.node.getChild("VariableDefinition");return n&&i(n,t),!0}}var EH=["FunctionDeclaration"],PH={FunctionDeclaration:mf("function"),ClassDeclaration:mf("class"),ClassExpression:()=>!0,EnumDeclaration:mf("constant"),TypeAliasDeclaration:mf("type"),NamespaceDeclaration:mf("namespace"),VariableDefinition(t,e){t.matchContext(EH)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function zA(t,e){let i=XA.get(e);if(i)return i;let n=[],r=!0;function o(s,a){let l=t.sliceString(s.from,s.to);n.push({label:l,type:a})}return e.cursor(rt.IncludeAnonymous).iterate(s=>{if(r)r=!1;else if(s.name){let a=PH[s.name];if(a&&a(s,o)||DA.has(s.name))return!1}else if(s.to-s.from>8192){for(let a of zA(t,s.node))n.push(a);return!1}}),XA.set(e,n),n}var RA=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,UA=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function CH(t){let e=qe(t.state).resolveInner(t.pos,-1);if(UA.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&RA.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let n=[];for(let r=e;r;r=r.parent)DA.has(r.name)&&(n=n.concat(zA(t.state.doc,r)));return{options:n,from:i?e.from:t.pos,validFor:RA}}var Zn=Vt.define({name:"javascript",parser:$A.configure({props:[zt.add({IfStatement:Si({except:/^\s*({|else\b)/}),TryStatement:Si({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:dp,SwitchBody:t=>{let e=t.textAfter,i=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return t.baseIndent+(i?0:n?1:2)*t.unit},Block:Oi({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":Si({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}}),Ut.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":En,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),MA={test:t=>/^JSX/.test(t.name),facet:wl({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Qv=Zn.configure({dialect:"ts"},"typescript"),_v=Zn.configure({dialect:"jsx",props:[hp.add(t=>t.isTop?[MA]:void 0)]}),Av=Zn.configure({dialect:"jsx ts",props:[hp.add(t=>t.isTop?[MA]:void 0)]},"typescript"),NA=t=>({label:t,type:"keyword"}),qA="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(NA),QH=qA.concat(["declare","implements","private","protected","public"].map(NA));function Xp(t={}){let e=t.jsx?t.typescript?Av:_v:t.typescript?Qv:Zn,i=t.typescript?TH.concat(QH):IA.concat(qA);return new mt(e,[Zn.data.of({autocomplete:Pl(UA,ia(i))}),Zn.data.of({autocomplete:CH}),t.jsx?$H:[]])}function _H(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 LA(t,e,i=t.length){for(let n=e==null?void 0:e.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return t.sliceString(n.from,Math.min(n.to,i));return""}var AH=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),$H=fe.inputHandler.of((t,e,i,n,r)=>{if((AH?t.composing:t.compositionStarted)||t.state.readOnly||e!=i||n!=">"&&n!="/"||!Zn.isActiveAt(t.state,e,-1))return!1;let o=r(),{state:s}=o,a=s.changeByRange(l=>{var c;let{head:u}=l,f=qe(s).resolveInner(u-1,-1),d;if(f.name=="JSXStartTag"&&(f=f.parent),!(s.doc.sliceString(u-1,u)!=n||f.name=="JSXAttributeValue"&&f.to>u)){if(n==">"&&f.name=="JSXFragmentTag")return{range:l,changes:{from:u,insert:"</>"}};if(n=="/"&&f.name=="JSXStartCloseTag"){let O=f.parent,m=O.parent;if(m&&O.from==u-2&&((d=LA(s.doc,m.firstChild,u))||((c=m.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let x=`${d}>`;return{range:K.cursor(u+x.length,-1),changes:{from:u,insert:x}}}}else if(n==">"){let O=_H(f);if(O&&O.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(s.doc.sliceString(u,u+2))&&(d=LA(s.doc,O,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 gf=["_blank","_self","_top","_parent"],$v=["ascii","utf-8","utf-16","latin1","latin1"],Xv=["get","post","put","delete"],Rv=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],ln=["true","false"],Ce={},XH={a:{attrs:{href:null,ping:null,type:null,media:null,target:gf,hreflang:null}},abbr:Ce,address:Ce,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:Ce,aside:Ce,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:Ce,base:{attrs:{href:null,target:gf}},bdi:Ce,bdo:Ce,blockquote:{attrs:{cite:null}},body:Ce,br:Ce,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Rv,formmethod:Xv,formnovalidate:["novalidate"],formtarget:gf,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:Ce,center:Ce,cite:Ce,code:Ce,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:Ce,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:Ce,div:Ce,dl:Ce,dt:Ce,em:Ce,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:Ce,figure:Ce,footer:Ce,form:{attrs:{action:null,name:null,"accept-charset":$v,autocomplete:["on","off"],enctype:Rv,method:Xv,novalidate:["novalidate"],target:gf}},h1:Ce,h2:Ce,h3:Ce,h4:Ce,h5:Ce,h6:Ce,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:Ce,hgroup:Ce,hr:Ce,html:{attrs:{manifest:null}},i:Ce,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:Rv,formmethod:Xv,formnovalidate:["novalidate"],formtarget:gf,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:Ce,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:Ce,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:Ce,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:$v,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:Ce,noscript:Ce,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:Ce,param:{attrs:{name:null,value:null}},pre:Ce,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:Ce,rt:Ce,ruby:Ce,samp:Ce,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:$v}},section:Ce,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:Ce,source:{attrs:{src:null,type:null,media:null}},span:Ce,strong:Ce,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:Ce,summary:Ce,sup:Ce,table:Ce,tbody:Ce,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:Ce,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:Ce,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:Ce,time:{attrs:{datetime:null}},title:Ce,tr:Ce,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:Ce,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:Ce},ZA={accesskey:null,class:null,contenteditable:ln,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:ln,autocorrect:ln,autocapitalize:ln,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":ln,"aria-autocomplete":["inline","list","both","none"],"aria-busy":ln,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":ln,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":ln,"aria-hidden":ln,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":ln,"aria-multiselectable":ln,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":ln,"aria-relevant":null,"aria-required":ln,"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},BA="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 BA)ZA[t]=null;var oa=class{constructor(e,i){this.tags=Object.assign(Object.assign({},XH),e),this.globalAttrs=Object.assign(Object.assign({},ZA),i),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};oa.default=new oa;function _l(t,e,i=t.length){if(!e)return"";let n=e.firstChild,r=n&&n.getChild("TagName");return r?t.sliceString(r.from,Math.min(r.to,i)):""}function Al(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function YA(t,e,i){let n=i.tags[_l(t,Al(e))];return(n==null?void 0:n.children)||i.allTags}function Lv(t,e){let i=[];for(let n=Al(e);n&&!n.type.isTop;n=Al(n.parent)){let r=_l(t,n);if(r&&n.lastChild.name=="CloseTag")break;r&&i.indexOf(r)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&i.push(r)}return i}var FA=/^[:\-\.\w\u00b7-\uffff]*$/;function jA(t,e,i,n,r){let o=/\s*>/.test(t.sliceDoc(r,r+5))?"":">",s=Al(i,!0);return{from:n,to:r,options:YA(t.doc,s,e).map(a=>({label:a,type:"type"})).concat(Lv(t.doc,i).map((a,l)=>({label:"/"+a,apply:"/"+a+o,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function WA(t,e,i,n){let r=/\s*>/.test(t.sliceDoc(n,n+5))?"":">";return{from:i,to:n,options:Lv(t.doc,e).map((o,s)=>({label:o,apply:o+r,type:"type",boost:99-s})),validFor:FA}}function RH(t,e,i,n){let r=[],o=0;for(let s of YA(t.doc,i,e))r.push({label:"<"+s,type:"type"});for(let s of Lv(t.doc,i))r.push({label:"</"+s+">",type:"type",boost:99-o++});return{from:n,to:n,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function LH(t,e,i,n,r){let o=Al(i),s=o?e.tags[_l(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:n,to:r,options:l.map(c=>({label:c,type:"property"})),validFor:FA}}function IH(t,e,i,n,r){var o;let s=(o=i.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=Al(i),d=f?e.tags[_l(t.doc,f)]:null;u=(d==null?void 0:d.attrs)&&d.attrs[c]}if(u){let f=t.sliceDoc(n,r).toLowerCase(),d='"',O='"';/^['"]/.test(f)?(l=f[0]=='"'?/^[^"]*$/:/^[^']*$/,d="",O=t.sliceDoc(r,r+1)==f[0]?"":f[0],f=f.slice(1),n++):l=/^[^\s<>='"]*$/;for(let m of u)a.push({label:m,apply:d+m+O,type:"constant"})}}return{from:n,to:r,options:a,validFor:l}}function HA(t,e){let{state:i,pos:n}=e,r=qe(i).resolveInner(n,-1),o=r.resolve(n);for(let s=n,a;o==r&&(a=r.childBefore(s));){let l=a.lastChild;if(!l||!l.type.isError||l.from<l.to)break;o=r=a,s=l.from}return r.name=="TagName"?r.parent&&/CloseTag$/.test(r.parent.name)?WA(i,r,r.from,n):jA(i,t,r,r.from,n):r.name=="StartTag"?jA(i,t,r,n,n):r.name=="StartCloseTag"||r.name=="IncompleteCloseTag"?WA(i,r,n,n):r.name=="OpenTag"||r.name=="SelfClosingTag"||r.name=="AttributeName"?LH(i,t,r,r.name=="AttributeName"?r.from:n,n):r.name=="Is"||r.name=="AttributeValue"||r.name=="UnquotedAttributeValue"?IH(i,t,r,r.name=="Is"?n:r.from,n):e.explicit&&(o.name=="Element"||o.name=="Text"||o.name=="Document")?RH(i,t,r,n):null}function GA(t){return HA(oa.default,t)}function DH(t){let{extraTags:e,extraGlobalAttributes:i}=t,n=i||e?new oa(e,i):oa.default;return r=>HA(n,r)}var zH=Zn.parser.configure({top:"SingleExpression"}),KA=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:Qv.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:_v.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:Av.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:zH},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:Zn.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:pf.parser}],JA=[{name:"style",parser:pf.parser.configure({top:"Styles"})}].concat(BA.map(t=>({name:t,parser:Zn.parser}))),e$=Vt.define({name:"html",parser:yA.configure({props:[zt.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,i;for(let n=t.node;;){let r=n.lastChild;if(!r||r.name!="Element"||r.to!=n.to)break;e=n=r}return e&&!((i=e.lastChild)&&(i.name=="CloseTag"||i.name=="SelfClosingTag"))?t.lineIndent(e.from)+t.unit:null}}),Ut.add({Element(t){let e=t.firstChild,i=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:i.name=="CloseTag"?i.from:t.to}}}),ef.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Rp=e$.configure({wrap:kv(KA,JA)});function Lp(t={}){let e="",i;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(i=kv((t.nestedLanguages||[]).concat(KA),(t.nestedAttributes||[]).concat(JA)));let n=i?e$.configure({wrap:i,dialect:e}):e?Rp.configure({dialect:e}):Rp;return new mt(n,[Rp.data.of({autocomplete:DH(t)}),t.autoCloseTags!==!1?UH:[],Xp().support,$p().support])}var VA=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),UH=fe.inputHandler.of((t,e,i,n,r)=>{if(t.composing||t.state.readOnly||e!=i||n!=">"&&n!="/"||!Rp.isActiveAt(t.state,e,-1))return!1;let o=r(),{state:s}=o,a=s.changeByRange(l=>{var c,u,f;let d=s.doc.sliceString(l.from-1,l.to)==n,{head:O}=l,m=qe(s).resolveInner(O,-1),x;if(d&&n==">"&&m.name=="EndTag"){let v=m.parent;if(((u=(c=v.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(x=_l(s.doc,v.parent,O))&&!VA.has(x)){let w=O+(s.doc.sliceString(O,O+1)===">"?1:0),T=`</${x}>`;return{range:l,changes:{from:O,to:w,insert:T}}}}else if(d&&n=="/"&&m.name=="IncompleteCloseTag"){let v=m.parent;if(m.from==O-2&&((f=v.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(x=_l(s.doc,v,O))&&!VA.has(x)){let w=O+(s.doc.sliceString(O,O+1)===">"?1:0),T=`${x}>`;return{range:K.cursor(O+T.length,-1),changes:{from:O,to:w,insert:T}}}}return{range:l}});return a.changes.empty?!1:(t.dispatch([o,s.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var n$=wl({commentTokens:{block:{open:"<!--",close:"-->"}}}),r$=new _e,o$=q_.configure({props:[Ut.add(t=>!t.is("Block")||t.is("Document")||zv(t)!=null||MH(t)?void 0:(e,i)=>({from:i.doc.lineAt(e.from).to,to:e.to})),r$.add(zv),zt.add({Document:()=>null}),Hr.add({Document:n$})]});function zv(t){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(t.name);return e?+e[1]:void 0}function MH(t){return t.name=="OrderedList"||t.name=="BulletList"}function NH(t,e){let i=t;for(;;){let n=i.nextSibling,r;if(!n||(r=zv(n.type))!=null&&r<=e)break;i=n}return i.to}var qH=wx.of((t,e,i)=>{for(let n=qe(t).resolveInner(i,-1);n&&!(n.from<e);n=n.parent){let r=n.type.prop(r$);if(r==null)continue;let o=NH(n,r);if(o>i)return{from:i,to:o}}return null});function Uv(t){return new di(n$,t,[qH],"markdown")}var jH=Uv(o$),WH=o$.configure([V_,Y_,B_,F_,{props:[Ut.add({Table:(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}]),Ip=Uv(WH);function VH(t,e){return i=>{if(i&&t){let n=null;if(i=/\S*/.exec(i)[0],typeof t=="function"?n=t(i):n=_t.matchLanguageName(t,i,!0),n instanceof _t)return n.support?n.support.language.parser:Hs.getSkippingParser(n.load());if(n)return n.parser}return e?e.parser:null}}var bf=class{constructor(e,i,n,r,o,s,a){this.node=e,this.from=i,this.to=n,this.spaceBefore=r,this.spaceAfter=o,this.type=s,this.item=a}blank(e,i=!0){let n=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;n.length<e;)n+=" ";return n}else{for(let r=this.to-this.from-n.length-this.spaceAfter.length;r>0;r--)n+=" ";return n+(i?this.spaceAfter:"")}}marker(e,i){let n=this.node.name=="OrderedList"?String(+a$(this.item,e)[2]+i):"";return this.spaceBefore+n+this.type+this.spaceAfter}};function s$(t,e){let i=[],n=[];for(let r=t;r;r=r.parent){if(r.name=="FencedCode")return n;(r.name=="ListItem"||r.name=="Blockquote")&&i.push(r)}for(let r=i.length-1;r>=0;r--){let o=i[r],s,a=e.lineAt(o.from),l=o.from-a.from;if(o.name=="Blockquote"&&(s=/^ *>( ?)/.exec(a.text.slice(l))))n.push(new bf(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),n.push(new bf(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]/," ")),n.push(new bf(o.parent,l,l+u,s[1],c,f,o))}}return n}function a$(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function Iv(t,e,i,n=0){for(let r=-1,o=t;;){if(o.name=="ListItem"){let a=a$(o,e),l=+a[2];if(r>=0){if(l!=r+1)return;i.push({from:o.from+a[1].length,to:o.from+a[0].length,insert:String(r+2+n)})}r=l}let s=o.nextSibling;if(!s)break;o=s}}function Mv(t,e){let i=/^[ \t]*/.exec(t)[0].length;if(!i||e.facet(Vn)!=" ")return t;let n=Xi(t,4,i),r="";for(let o=n;o>0;)o>=4?(r+=" ",o-=4):(r+=" ",o--);return r+t.slice(i)}var ZH=({state:t,dispatch:e})=>{let i=qe(t),{doc:n}=t,r=null,o=t.changeByRange(s=>{if(!s.empty||!Ip.isActiveAt(t,s.from,0))return r={range:s};let a=s.from,l=n.lineAt(a),c=s$(i.resolveInner(a,-1),n);for(;c.length&&c[c.length-1].from>a-l.from;)c.pop();if(!c.length)return r={range:s};let u=c[c.length-1];if(u.to-u.spaceAfter.length>a-l.from)return r={range:s};let f=a>=u.to-u.spaceAfter.length&&!/\S/.test(l.text.slice(u.to));if(u.item&&f){let v=u.node.firstChild,w=u.node.getChild("ListItem","ListItem");if(v.to>=a||w&&w.to<a||l.from>0&&!/[^\s>]/.test(n.lineAt(l.from-1).text)){let T=c.length>1?c[c.length-2]:null,A,L="";T&&T.item?(A=l.from+T.from,L=T.marker(n,1)):A=l.from+(T?T.to:0);let D=[{from:A,to:a,insert:L}];return u.node.name=="OrderedList"&&Iv(u.item,n,D,-2),T&&T.node.name=="OrderedList"&&Iv(T.item,n,D),{range:K.cursor(A+L.length),changes:D}}else{let T=i$(c,t,l);return{range:K.cursor(a+T.length+1),changes:{from:l.from,insert:T+t.lineBreak}}}}if(u.node.name=="Blockquote"&&f&&l.from){let v=n.lineAt(l.from-1),w=/>\s*$/.exec(v.text);if(w&&w.index==u.from){let T=t.changes([{from:v.from+w.index,to:v.to},{from:l.from+u.from,to:l.to}]);return{range:s.map(T),changes:T}}}let d=[];u.node.name=="OrderedList"&&Iv(u.item,n,d);let O=u.item&&u.item.from<l.from,m="";if(!O||/^[\s\d.)\-+*>]*/.exec(l.text)[0].length>=u.to)for(let v=0,w=c.length-1;v<=w;v++)m+=v==w&&!O?c[v].marker(n,1):c[v].blank(v<w?Xi(l.text,4,c[v+1].from)-m.length:null);let x=a;for(;x>l.from&&/\s/.test(l.text.charAt(x-l.from-1));)x--;return m=Mv(m,t),BH(u.node,t.doc)&&(m=i$(c,t,l)+t.lineBreak+m),d.push({from:x,to:a,insert:t.lineBreak+m}),{range:K.cursor(x+m.length+1),changes:d}});return r?!1:(e(t.update(o,{scrollIntoView:!0,userEvent:"input"})),!0)};function t$(t){return t.name=="QuoteMark"||t.name=="ListMark"}function BH(t,e){if(t.name!="OrderedList"&&t.name!="BulletList")return!1;let i=t.firstChild,n=t.getChild("ListItem","ListItem");if(!n)return!1;let r=e.lineAt(i.to),o=e.lineAt(n.from),s=/^[\s>]*$/.test(r.text);return r.number+(s?0:1)<o.number}function i$(t,e,i){let n="";for(let r=0,o=t.length-2;r<=o;r++)n+=t[r].blank(r<o?Xi(i.text,4,Math.min(i.text.length,t[r+1].from))-n.length:null,r<o);return Mv(n,e)}function YH(t,e){let i=t.resolveInner(e,-1),n=e;t$(i)&&(n=i.from,i=i.parent);for(let r;r=i.childBefore(n);)if(t$(r))n=r.from;else if(r.name=="OrderedList"||r.name=="BulletList")i=r.lastChild,n=i.to;else break;return i}var FH=({state:t,dispatch:e})=>{let i=qe(t),n=null,r=t.changeByRange(o=>{let s=o.from,{doc:a}=t;if(o.empty&&Ip.isActiveAt(t,o.from)){let l=a.lineAt(s),c=s$(YH(i,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:K.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 O=u.blank(Xi(l.text,4,u.to)-Xi(l.text,4,u.from));return d==l.from&&(O=Mv(O,t)),{range:K.cursor(d+O.length),changes:{from:d,to:l.from+u.to,insert:O}}}if(d<s)return{range:K.cursor(d),changes:{from:d,to:s}}}}}return n={range:o}});return n?!1:(e(t.update(r,{scrollIntoView:!0,userEvent:"delete"})),!0)},HH=[{key:"Enter",run:ZH},{key:"Backspace",run:FH}],l$=Lp({matchClosingTags:!1});function c$(t={}){let{codeLanguages:e,defaultCodeLanguage:i,addKeymap:n=!0,base:{parser:r}=jH,completeHTMLTags:o=!0,htmlTagLanguage:s=l$}=t;if(!(r instanceof ff))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let a=t.extensions?[t.extensions]:[],l=[s.support],c;i instanceof mt?(l.push(i.support),c=i.language):i&&(c=i);let u=e||c?VH(e,c):void 0;a.push(j_({codeParser:u,htmlParser:s.language.parser})),n&&l.push(Dt.high(hi.of(HH)));let f=Uv(r.configure(a));return o&&l.push(f.data.of({autocomplete:GH})),new mt(f,l)}function GH(t){let{state:e,pos:i}=t,n=/<[:\-\.\w\u00b7-\uffff]*$/.exec(e.sliceDoc(i-25,i));if(!n)return null;let r=qe(e).resolveInner(i,-1);for(;r&&!r.type.isTop;){if(r.name=="CodeBlock"||r.name=="FencedCode"||r.name=="ProcessingInstructionBlock"||r.name=="CommentBlock"||r.name=="Link"||r.name=="Image")return null;r=r.parent}return{from:i-n[0].length,to:i,options:KH(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}var Dv=null;function KH(){if(Dv)return Dv;let t=GA(new Sl(ot.create({extensions:l$}),0,!0));return Dv=t?t.options:[]}var JH=36,u$=1,eG=2,$l=3,Nv=4,tG=5,iG=6,nG=7,rG=8,oG=9,sG=10,aG=11,lG=12,cG=13,uG=14,fG=15,hG=16,dG=17,f$=18,OG=19,y$=20,x$=21,h$=22,pG=23,mG=24;function jv(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function gG(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function aa(t,e,i){for(let n=!1;;){if(t.next<0)return;if(t.next==e&&!n){t.advance();return}n=i&&!n&&t.next==92,t.advance()}}function bG(t,e){e:for(;;){if(t.next<0)return;if(t.next==36){t.advance();for(let i=0;i<e.length;i++){if(t.next!=e.charCodeAt(i))continue e;t.advance()}if(t.next==36){t.advance();return}}else t.advance()}}function yG(t,e){let i="[{<(".indexOf(String.fromCharCode(e)),n=i<0?e:"]}>)".charCodeAt(i);for(;;){if(t.next<0)return;if(t.next==n&&t.peek(1)==39){t.advance(2);return}t.advance()}}function Wv(t,e){for(;!(t.next!=95&&!jv(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function xG(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),aa(t,e,!1)}else Wv(t)}function d$(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function O$(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 p$(t){for(;!(t.next<0||t.next==10);)t.advance()}function sa(t,e){for(let i=0;i<e.length;i++)if(e.charCodeAt(i)==t)return!0;return!1}var qv=` \r
`;function v$(t,e,i){let n=Object.create(null);n.true=n.false=tG,n.null=n.unknown=iG;for(let r of t.split(" "))r&&(n[r]=y$);for(let r of e.split(" "))r&&(n[r]=x$);for(let r of(i||"").split(" "))r&&(n[r]=mG);return n}var la="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 ",ca="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 ",Vv={backslashEscapes:!1,hashComments:!1,spaceAfterDashes:!1,slashComments:!1,doubleQuotedStrings:!1,doubleDollarQuotedStrings:!1,unquotedBitLiterals:!1,treatBitsAsBytes:!1,charSetCasts:!1,plsqlQuotingMechanism:!1,operatorChars:"*+-%<>!=&|~^/",specialVar:"?",identifierQuotes:'"',caseInsensitiveIdentifiers:!1,words:v$(ca,la)};function vG(t,e,i,n){let r={};for(let o in Vv)r[o]=(t.hasOwnProperty(o)?t:Vv)[o];return e&&(r.words=v$(e,i||"",n)),r}function w$(t){return new ze(e=>{var i;let{next:n}=e;if(e.advance(),sa(n,qv)){for(;sa(e.next,qv);)e.advance();e.acceptToken(JH)}else if(n==36&&t.doubleDollarQuotedStrings){let r=Wv(e,"");e.next==36&&(e.advance(),bG(e,r),e.acceptToken($l))}else if(n==39||n==34&&t.doubleQuotedStrings)aa(e,n,t.backslashEscapes),e.acceptToken($l);else if(n==35&&t.hashComments||n==47&&e.next==47&&t.slashComments)p$(e),e.acceptToken(u$);else if(n==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))p$(e),e.acceptToken(u$);else if(n==47&&e.next==42){e.advance();for(let r=1;;){let o=e.next;if(e.next<0)break;if(e.advance(),o==42&&e.next==47){if(r--,e.advance(),!r)break}else o==47&&e.next==42&&(r++,e.advance())}e.acceptToken(eG)}else if((n==101||n==69)&&e.next==39)e.advance(),aa(e,39,!0),e.acceptToken($l);else if((n==110||n==78)&&e.next==39&&t.charSetCasts)e.advance(),aa(e,39,t.backslashEscapes),e.acceptToken($l);else if(n==95&&t.charSetCasts)for(let r=0;;r++){if(e.next==39&&r>1){e.advance(),aa(e,39,t.backslashEscapes),e.acceptToken($l);break}if(!jv(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(n==113||n==81)&&e.next==39&&e.peek(1)>0&&!sa(e.peek(1),qv)){let r=e.peek(1);e.advance(2),yG(e,r),e.acceptToken($l)}else if(n==40)e.acceptToken(nG);else if(n==41)e.acceptToken(rG);else if(n==123)e.acceptToken(oG);else if(n==125)e.acceptToken(sG);else if(n==91)e.acceptToken(aG);else if(n==93)e.acceptToken(lG);else if(n==59)e.acceptToken(cG);else if(t.unquotedBitLiterals&&n==48&&e.next==98)e.advance(),d$(e),e.acceptToken(h$);else if((n==98||n==66)&&(e.next==39||e.next==34)){let r=e.next;e.advance(),t.treatBitsAsBytes?(aa(e,r,t.backslashEscapes),e.acceptToken(pG)):(d$(e,r),e.acceptToken(h$))}else if(n==48&&(e.next==120||e.next==88)||(n==120||n==88)&&e.next==39){let r=e.next==39;for(e.advance();gG(e.next);)e.advance();r&&e.next==39&&e.advance(),e.acceptToken(Nv)}else if(n==46&&e.next>=48&&e.next<=57)O$(e,!0),e.acceptToken(Nv);else if(n==46)e.acceptToken(uG);else if(n>=48&&n<=57)O$(e,!1),e.acceptToken(Nv);else if(sa(n,t.operatorChars)){for(;sa(e.next,t.operatorChars);)e.advance();e.acceptToken(fG)}else if(sa(n,t.specialVar))e.next==n&&e.advance(),xG(e),e.acceptToken(dG);else if(sa(n,t.identifierQuotes))aa(e,n,!1),e.acceptToken(OG);else if(n==58||n==44)e.acceptToken(hG);else if(jv(n)){let r=Wv(e,String.fromCharCode(n));e.acceptToken(e.next==46||e.peek(-r.length-1)==46?f$:(i=t.words[r.toLowerCase()])!==null&&i!==void 0?i:f$)}})}var k$=w$(Vv),wG=Mt.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,k$],topRules:{Script:[0,25]},tokenPrec:0});function Zv(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function yf(t,e){let i=t.sliceString(e.from,e.to),n=/^([`'"])(.*)\1$/.exec(i);return n?n[2]:i}function Dp(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function kG(t,e){if(e.name=="CompositeIdentifier"){let i=[];for(let n=e.firstChild;n;n=n.nextSibling)Dp(n)&&i.push(yf(t,n));return i}return[yf(t,e)]}function m$(t,e){for(let i=[];;){if(!e||e.name!=".")return i;let n=Zv(e);if(!Dp(n))return i;i.unshift(yf(t,n)),e=Zv(n)}}function SG(t,e){let i=qe(t).resolveInner(e,-1),n=EG(t.doc,i);return i.name=="Identifier"||i.name=="QuotedIdentifier"||i.name=="Keyword"?{from:i.from,quoted:i.name=="QuotedIdentifier"?t.doc.sliceString(i.from,i.from+1):null,parents:m$(t.doc,Zv(i)),aliases:n}:i.name=="."?{from:e,quoted:null,parents:m$(t.doc,i),aliases:n}:{from:e,quoted:null,parents:[],empty:!0,aliases:n}}var TG=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function EG(t,e){let i;for(let r=e;!i;r=r.parent){if(!r)return null;r.name=="Statement"&&(i=r)}let n=null;for(let r=i.firstChild,o=!1,s=null;r;r=r.nextSibling){let a=r.name=="Keyword"?t.sliceString(r.from,r.to).toLowerCase():null,l=null;if(!o)o=a=="from";else if(a=="as"&&s&&Dp(r.nextSibling))l=yf(t,r.nextSibling);else{if(a&&TG.has(a))break;s&&Dp(r)&&(l=yf(t,r))}l&&(n||(n=Object.create(null)),n[l]=kG(t,s)),s=/Identifier$/.test(r.name)?r:null}return n}function PG(t,e){return t?e.map(i=>Object.assign(Object.assign({},i),{label:i.label[0]==t?i.label:t+i.label+t,apply:void 0})):e}var CG=/^\w*$/,QG=/^[`'"]?\w*[`'"]?$/;function g$(t){return t.self&&typeof t.self.label=="string"}var Bv=class t{constructor(e,i){this.idQuote=e,this.idCaseInsensitive=i,this.list=[],this.children=void 0}child(e){let i=this.children||(this.children=Object.create(null)),n=i[e];return n||(e&&!this.list.some(r=>r.label==e)&&this.list.push(b$(e,"type",this.idQuote,this.idCaseInsensitive)),i[e]=new t(this.idQuote,this.idCaseInsensitive))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let i=this.list.findIndex(n=>n.label==e.label);i>-1?this.list[i]=e:this.list.push(e)}addCompletions(e){for(let i of e)this.addCompletion(typeof i=="string"?b$(i,"property",this.idQuote,this.idCaseInsensitive):i)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):g$(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let i of Object.keys(e)){let n=e[i],r=null,o=i.replace(/\\?\./g,a=>a=="."?"\0":a).split("\0"),s=this;g$(n)&&(r=n.self,n=n.children);for(let a=0;a<o.length;a++)r&&a==o.length-1&&s.addCompletion(r),s=s.child(o[a].replace(/\\\./g,"."));s.addNamespace(n)}}};function b$(t,e,i,n){return new RegExp("^[a-z_][a-z_\\d]*$",n?"i":"").test(t)?{label:t,type:e}:{label:t,type:e,apply:i+t+i}}function _G(t,e,i,n,r,o){var s;let a=((s=o==null?void 0:o.spec.identifierQuotes)===null||s===void 0?void 0:s[0])||'"',l=new Bv(a,!!(o!=null&&o.spec.caseInsensitiveIdentifiers)),c=r?l.child(r):null;return l.addNamespace(t),e&&(c||l).addCompletions(e),i&&l.addCompletions(i),c&&l.addCompletions(c.list),n&&l.addCompletions((c||l).child(n).list),u=>{let{parents:f,from:d,quoted:O,empty:m,aliases:x}=SG(u.state,u.pos);if(m&&!u.explicit)return null;x&&f.length==1&&(f=x[f[0]]||f);let v=l;for(let A of f){for(;!v.children||!v.children[A];)if(v==l&&c)v=c;else if(v==c&&n)v=v.child(n);else return null;let L=v.maybeChild(A);if(!L)return null;v=L}let w=O&&u.state.sliceDoc(u.pos,u.pos+1)==O,T=v.list;return v==l&&x&&(T=T.concat(Object.keys(x).map(A=>({label:A,type:"constant"})))),{from:d,to:w?u.pos+1:void 0,options:PG(O,T),validFor:O?QG:CG}}}function AG(t){return t==x$?"type":t==y$?"keyword":"variable"}function $G(t,e,i){let n=Object.keys(t).map(r=>i(e?r.toUpperCase():r,AG(t[r])));return Pl(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],ia(n))}var XG=wG.configure({props:[zt.add({Statement:Si()}),Ut.add({Statement(t,e){return{from:Math.min(t.from+100,e.doc.lineAt(t.from).to),to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),Tt({Keyword:E.keyword,Type:E.typeName,Builtin:E.standard(E.name),Bits:E.number,Bytes:E.string,Bool:E.bool,Null:E.null,Number:E.number,String:E.string,Identifier:E.name,QuotedIdentifier:E.special(E.string),SpecialVar:E.special(E.name),LineComment:E.lineComment,BlockComment:E.blockComment,Operator:E.operator,"Semi Punctuation":E.punctuation,"( )":E.paren,"{ }":E.brace,"[ ]":E.squareBracket})]}),yr=class t{constructor(e,i,n){this.dialect=e,this.language=i,this.spec=n}get extension(){return this.language.extension}static define(e){let i=vG(e,e.keywords,e.types,e.builtin),n=Vt.define({name:"sql",parser:XG.configure({tokenizers:[{from:k$,to:w$(i)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new t(i,n,e)}};function RG(t,e){return{label:t,type:e,boost:-1}}function LG(t,e=!1,i){return $G(t.dialect.words,e,i||RG)}function IG(t){return t.schema?_G(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||Yv):()=>null}function DG(t){return t.schema?(t.dialect||Yv).language.data.of({autocomplete:IG(t)}):[]}function S$(t={}){let e=t.dialect||Yv;return new mt(e.language,[DG(t),e.language.data.of({autocomplete:LG(e,t.upperCaseKeywords,t.keywordCompletion)})])}var Yv=yr.define({}),u2e=yr.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:ca+"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 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 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 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 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 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 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:la+"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"}),T$="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",E$=la+"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",P$="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",f2e=yr.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:ca+"group_concat "+T$,types:E$,builtin:P$}),h2e=yr.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:ca+"always generated groupby_concat hard persistent shutdown soft virtual "+T$,types:E$,builtin:P$}),d2e=yr.define({keywords:ca+"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:la+"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:"@"}),O2e=yr.define({keywords:ca+"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:la+"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:"@:?$"}),p2e=yr.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:la+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),m2e=yr.define({keywords:ca+"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:la+"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 zG=Tt({String:E.string,Number:E.number,"True False":E.bool,PropertyName:E.propertyName,Null:E.null,",":E.separator,"[ ]":E.squareBracket,"{ }":E.brace}),C$=Mt.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:[zG],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 UG=Vt.define({name:"json",parser:C$.configure({props:[zt.add({Object:Si({except:/^\s*\}/}),Array:Si({except:/^\s*\]/})}),Ut.add({"Object Array":En})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function Q$(){return new mt(UG)}var Fv=1,MG=2,NG=3,qG=4,jG=5,WG=35,VG=36,ZG=37,BG=11,YG=13;function FG(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function HG(t){return t==9||t==10||t==13||t==32}var _$=null,A$=null,$$=0;function Hv(t,e){let i=t.pos+e;if(A$==t&&$$==i)return _$;for(;HG(t.peek(e));)e++;let n="";for(;;){let r=t.peek(e);if(!FG(r))break;n+=String.fromCharCode(r),e++}return A$=t,$$=i,_$=n||null}function X$(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let i=0;i<t.length;i++)this.hash+=(this.hash<<4)+t.charCodeAt(i)+(t.charCodeAt(i)<<8)}var GG=new Cn({start:null,shift(t,e,i,n){return e==Fv?new X$(Hv(n,1)||"",t):t},reduce(t,e){return e==BG&&t?t.parent:t},reuse(t,e,i,n){let r=e.type.id;return r==Fv||r==YG?new X$(Hv(n,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),KG=new ze((t,e)=>{if(t.next==60){if(t.advance(),t.next==47){t.advance();let i=Hv(t,0);if(!i)return t.acceptToken(jG);if(e.context&&i==e.context.name)return t.acceptToken(MG);for(let n=e.context;n;n=n.parent)if(n.name==i)return t.acceptToken(NG,-2);t.acceptToken(qG)}else if(t.next!=33&&t.next!=63)return t.acceptToken(Fv)}},{contextual:!0});function Gv(t,e){return new ze(i=>{let n=0,r=e.charCodeAt(0);e:for(;!(i.next<0);i.advance(),n++)if(i.next==r){for(let o=1;o<e.length;o++)if(i.peek(o)!=e.charCodeAt(o))continue e;break}n&&i.acceptToken(t)})}var JG=Gv(WG,"-->"),eK=Gv(VG,"?>"),tK=Gv(ZG,"]]>"),iK=Tt({Text:E.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":E.angleBracket,TagName:E.tagName,"MismatchedCloseTag/Tagname":[E.tagName,E.invalid],AttributeName:E.attributeName,AttributeValue:E.attributeValue,Is:E.definitionOperator,"EntityReference CharacterReference":E.character,Comment:E.blockComment,ProcessingInst:E.processingInstruction,DoctypeDecl:E.documentMeta,Cdata:E.special(E.string)}),R$=Mt.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,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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:GG,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],propSources:[iK],skippedNodes:[0],repeatNodeCount:8,tokenData:"Jy~R!XOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs'ssv$nvw(Zw}$n}!O,^!O!P$n!P!Q.m!Q![$n![!]0V!]!^$n!^!_3h!_!`El!`!aF_!a!bGQ!b!c$n!c!}0V!}#P$n#P#QHj#Q#R$n#R#S0V#S#T$n#T#o0V#o%W$n%W%o0V%o%p$n%p&a0V&a&b$n&b1p0V1p4U$n4U4d0V4d4e$n4e$IS0V$IS$I`$n$I`$Ib0V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Or$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:[KG,JG,eK,tK,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function zp(t,e){let i=e&&e.getChild("TagName");return i?t.sliceString(i.from,i.to):""}function Kv(t,e){let i=e&&e.firstChild;return!i||i.name!="OpenTag"?"":zp(t,i)}function nK(t,e,i){let n=e&&e.getChildren("Attribute").find(o=>o.from<=i&&o.to>=i),r=n&&n.getChild("AttributeName");return r?t.sliceString(r.from,r.to):""}function Jv(t){for(let e=t&&t.parent;e;e=e.parent)if(e.name=="Element")return e;return null}function rK(t,e){var i;let n=qe(t).resolveInner(e,-1),r=null;for(let o=n;!r&&o.parent;o=o.parent)(o.name=="OpenTag"||o.name=="CloseTag"||o.name=="SelfClosingTag"||o.name=="MismatchedCloseTag")&&(r=o);if(r&&(r.to>e||r.lastChild.type.isError)){let o=r.parent;if(n.name=="TagName")return r.name=="CloseTag"||r.name=="MismatchedCloseTag"?{type:"closeTag",from:n.from,context:o}:{type:"openTag",from:n.from,context:Jv(o)};if(n.name=="AttributeName")return{type:"attrName",from:n.from,context:r};if(n.name=="AttributeValue")return{type:"attrValue",from:n.from,context:r};let s=n==r||n.name=="Attribute"?n.childBefore(e):n;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:e,context:Jv(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:r}:s?{type:"attrName",from:e,context:r}:null}else if(n.name=="StartCloseTag")return{type:"closeTag",from:e,context:n.parent};for(;n.parent&&n.to==e&&!(!((i=n.lastChild)===null||i===void 0)&&i.type.isError);)n=n.parent;return n.name=="Element"||n.name=="Text"||n.name=="Document"?{type:"tag",from:e,context:n.name=="Element"?n:Jv(n)}:null}var tw=class{constructor(e,i,n){this.attrs=i,this.attrValues=n,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(r=>({label:r,type:"text"})):[]}},ew=/^[:\-\.\w\u00b7-\uffff]*$/;function L$(t){return Object.assign(Object.assign({type:"property"},t.completion||{}),{label:t.name})}function I$(t){return typeof t=="string"?{label:`"${t}"`,type:"constant"}:/^"/.test(t.label)?t:Object.assign(Object.assign({},t),{label:`"${t.label}"`})}function oK(t,e){let i=[],n=[],r=Object.create(null);for(let l of e){let c=L$(l);i.push(c),l.global&&n.push(c),l.values&&(r[l.name]=l.values.map(I$))}let o=[],s=[],a=Object.create(null);for(let l of t){let c=n,u=r;l.attributes&&(c=c.concat(l.attributes.map(d=>typeof d=="string"?i.find(O=>O.label==d)||{label:d,type:"property"}:(d.values&&(u==r&&(u=Object.create(u)),u[d.name]=d.values.map(I$)),L$(d)))));let f=new tw(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=rK(l.state,l.pos);if(!f||f.type=="tag"&&!l.explicit)return null;let{type:d,from:O,context:m}=f;if(d=="openTag"){let x=s,v=Kv(u,m);if(v){let w=a[v];x=(w==null?void 0:w.children)||o}return{from:O,options:x.map(w=>w.completion),validFor:ew}}else if(d=="closeTag"){let x=Kv(u,m);return x?{from:O,to:l.pos+(u.sliceString(l.pos,l.pos+1)==">"?1:0),options:[((c=a[x])===null||c===void 0?void 0:c.closeNameCompletion)||{label:x+">",type:"type"}],validFor:ew}:null}else if(d=="attrName"){let x=a[zp(u,m)];return{from:O,options:(x==null?void 0:x.attrs)||n,validFor:ew}}else if(d=="attrValue"){let x=nK(u,m,O);if(!x)return null;let v=a[zp(u,m)],w=((v==null?void 0:v.attrValues)||r)[x];return!w||!w.length?null:{from:O,to:l.pos+(u.sliceString(l.pos,l.pos+1)=='"'?1:0),options:w,validFor:/^"[^"]*"?$/}}else if(d=="tag"){let x=Kv(u,m),v=a[x],w=[],T=m&&m.lastChild;x&&(!T||T.name!="CloseTag"||zp(u,T)!=x)&&w.push(v?v.closeCompletion:{label:"</"+x+">",type:"type",boost:2});let A=w.concat(((v==null?void 0:v.children)||(m?o:s)).map(L=>L.openCompletion));if(m&&(v!=null&&v.text.length)){let L=m.firstChild;L.to>l.pos-20&&!/\S/.test(l.state.sliceDoc(L.to,l.pos))&&(A=A.concat(v.text))}return{from:O,options:A,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}var iw=Vt.define({name:"xml",parser:R$.configure({props:[zt.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}}),Ut.add({Element(t){let e=t.firstChild,i=t.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:i.name=="CloseTag"?i.from:t.to}}}),ef.add({"OpenTag CloseTag":t=>t.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function z$(t={}){let e=[iw.data.of({autocomplete:oK(t.elements||[],t.attributes||[])})];return t.autoCloseTags!==!1&&e.push(sK),new mt(iw,e)}function D$(t,e,i=t.length){if(!e)return"";let n=e.firstChild,r=n&&n.getChild("TagName");return r?t.sliceString(r.from,Math.min(r.to,i)):""}var sK=fe.inputHandler.of((t,e,i,n,r)=>{if(t.composing||t.state.readOnly||e!=i||n!=">"&&n!="/"||!iw.isActiveAt(t.state,e,-1))return!1;let o=r(),{state:s}=o,a=s.changeByRange(l=>{var c,u,f;let{head:d}=l,O=s.doc.sliceString(d-1,d)==n,m=qe(s).resolveInner(d,-1),x;if(O&&n==">"&&m.name=="EndTag"){let v=m.parent;if(((u=(c=v.parent)===null||c===void 0?void 0:c.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(x=D$(s.doc,v.parent,d))){let w=d+(s.doc.sliceString(d,d+1)===">"?1:0),T=`</${x}>`;return{range:l,changes:{from:d,to:w,insert:T}}}}else if(O&&n=="/"&&m.name=="StartCloseTag"){let v=m.parent;if(m.from==d-2&&((f=v.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(x=D$(s.doc,v,d))){let w=d+(s.doc.sliceString(d,d+1)===">"?1:0),T=`${x}>`;return{range:K.cursor(d+T.length,-1),changes:{from:d,to:w,insert:T}}}}return{range:l}});return a.changes.empty?!1:(t.dispatch([o,s.update(a,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var aK=1,j$=194,W$=195,lK=196,U$=197,cK=198,uK=199,fK=200,hK=2,V$=3,M$=201,dK=24,OK=25,pK=49,mK=50,gK=55,bK=56,yK=57,xK=59,vK=60,wK=61,kK=62,SK=63,TK=65,EK=238,PK=71,CK=241,QK=242,_K=243,AK=244,$K=245,XK=246,RK=247,LK=248,Z$=72,IK=249,DK=250,zK=251,UK=252,MK=253,NK=254,qK=255,jK=256,WK=73,VK=77,ZK=263,BK=112,YK=130,FK=151,HK=152,GK=155,ua=10,xf=13,sw=32,Np=9,aw=35,KK=40,JK=46,ow=123,N$=125,B$=39,Y$=34,eJ=92,tJ=111,iJ=120,nJ=78,rJ=117,oJ=85,sJ=new Set([OK,pK,mK,ZK,TK,YK,bK,yK,EK,kK,SK,Z$,WK,VK,vK,wK,FK,HK,GK,BK]);function nw(t){return t==ua||t==xf}function rw(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}var aJ=new ze((t,e)=>{let i;if(t.next<0)t.acceptToken(uK);else if(e.context.flags&Up)nw(t.next)&&t.acceptToken(cK,1);else if(((i=t.peek(-1))<0||nw(i))&&e.canShift(U$)){let n=0;for(;t.next==sw||t.next==Np;)t.advance(),n++;(t.next==ua||t.next==xf||t.next==aw)&&t.acceptToken(U$,-n)}else nw(t.next)&&t.acceptToken(lK,1)},{contextual:!0}),lJ=new ze((t,e)=>{let i=e.context;if(i.flags)return;let n=t.peek(-1);if(n==ua||n==xf){let r=0,o=0;for(;;){if(t.next==sw)r++;else if(t.next==Np)r+=8-r%8;else break;t.advance(),o++}r!=i.indent&&t.next!=ua&&t.next!=xf&&t.next!=aw&&(r<i.indent?t.acceptToken(W$,-o):t.acceptToken(j$))}}),Up=1,F$=2,io=4,no=8,ro=16,oo=32;function Mp(t,e,i){this.parent=t,this.indent=e,this.flags=i,this.hash=(t?t.hash+t.hash<<8:0)+e+(e<<4)+i+(i<<6)}var cJ=new Mp(null,0,0);function uJ(t){let e=0;for(let i=0;i<t.length;i++)e+=t.charCodeAt(i)==Np?8-e%8:1;return e}var q$=new Map([[CK,0],[QK,io],[_K,no],[AK,no|io],[$K,ro],[XK,ro|io],[RK,ro|no],[LK,ro|no|io],[IK,oo],[DK,oo|io],[zK,oo|no],[UK,oo|no|io],[MK,oo|ro],[NK,oo|ro|io],[qK,oo|ro|no],[jK,oo|ro|no|io]].map(([t,e])=>[t,e|F$])),fJ=new Cn({start:cJ,reduce(t,e,i,n){return t.flags&Up&&sJ.has(e)||(e==PK||e==Z$)&&t.flags&F$?t.parent:t},shift(t,e,i,n){return e==j$?new Mp(t,uJ(n.read(n.pos,i.pos)),0):e==W$?t.parent:e==dK||e==gK||e==xK||e==V$?new Mp(t,0,Up):q$.has(e)?new Mp(t,0,q$.get(e)|t.flags&Up):t},hash(t){return t.hash}}),hJ=new ze(t=>{for(let e=0;e<5;e++){if(t.next!="print".charCodeAt(e))return;t.advance()}if(!/\w/.test(String.fromCharCode(t.next)))for(let e=0;;e++){let i=t.peek(e);if(!(i==sw||i==Np)){i!=KK&&i!=JK&&i!=ua&&i!=xf&&i!=aw&&t.acceptToken(aK);return}}}),dJ=new ze((t,e)=>{let{flags:i}=e.context,n=i&io?Y$:B$,r=(i&no)>0,o=!(i&ro),s=(i&oo)>0,a=t.pos;for(;!(t.next<0);)if(s&&t.next==ow)if(t.peek(1)==ow)t.advance(2);else{if(t.pos==a){t.acceptToken(V$,1);return}break}else if(o&&t.next==eJ){if(t.pos==a){t.advance();let l=t.next;l>=0&&(t.advance(),OJ(t,l)),t.acceptToken(hK);return}break}else if(t.next==n&&(!r||t.peek(1)==n&&t.peek(2)==n)){if(t.pos==a){t.acceptToken(M$,r?3:1);return}break}else if(t.next==ua){if(r)t.advance();else if(t.pos==a){t.acceptToken(M$);return}break}else t.advance();t.pos>a&&t.acceptToken(fK)});function OJ(t,e){if(e==tJ)for(let i=0;i<2&&t.next>=48&&t.next<=55;i++)t.advance();else if(e==iJ)for(let i=0;i<2&&rw(t.next);i++)t.advance();else if(e==rJ)for(let i=0;i<4&&rw(t.next);i++)t.advance();else if(e==oJ)for(let i=0;i<8&&rw(t.next);i++)t.advance();else if(e==nJ&&t.next==ow){for(t.advance();t.next>=0&&t.next!=N$&&t.next!=B$&&t.next!=Y$&&t.next!=ua;)t.advance();t.next==N$&&t.advance()}}var pJ=Tt({'async "*" "**" FormatConversion FormatSpec':E.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":E.controlKeyword,"in not and or is del":E.operatorKeyword,"from def class global nonlocal lambda":E.definitionKeyword,import:E.moduleKeyword,"with as print":E.keyword,Boolean:E.bool,None:E.null,VariableName:E.variableName,"CallExpression/VariableName":E.function(E.variableName),"FunctionDefinition/VariableName":E.function(E.definition(E.variableName)),"ClassDefinition/VariableName":E.definition(E.className),PropertyName:E.propertyName,"CallExpression/MemberExpression/PropertyName":E.function(E.propertyName),Comment:E.lineComment,Number:E.number,String:E.string,FormatString:E.special(E.string),Escape:E.escape,UpdateOp:E.updateOperator,"ArithOp!":E.arithmeticOperator,BitOp:E.bitwiseOperator,CompareOp:E.compareOperator,AssignOp:E.definitionOperator,Ellipsis:E.punctuation,At:E.meta,"( )":E.paren,"[ ]":E.squareBracket,"{ }":E.brace,".":E.derefOperator,", ;":E.separator}),mJ={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},H$=Mt.deserialize({version:14,states:"##jO`QeOOP$}OSOOO&WQtO'#HUOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HTOOQS'#HU'#HUOOQS'#DU'#DUOOQS'#HT'#HTO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DuO,VOWO'#DvO.[QtO'#GuOOQS'#Gu'#GuO'vQdO'#GtO0ZQtO'#GtOOQS'#Eb'#EbO0rQdO'#EcOOQS'#Gs'#GsO0|QdO'#GrOOQV'#Gr'#GrO1XQdO'#FYOOQS'#G^'#G^O1^QdO'#FXOOQV'#IS'#ISOOQV'#Gq'#GqOOQV'#Fq'#FqQ`QeOOO'vQdO'#CqO1lQdO'#C}O1sQdO'#DRO2RQdO'#HYO2cQtO'#EVO'vQdO'#EWOOQS'#EY'#EYOOQS'#E['#E[OOQS'#E^'#E^O2wQdO'#E`O3_QdO'#EdO3rQdO'#EfO3zQtO'#EfO1XQdO'#EiO0rQdO'#ElO1XQdO'#EnO0rQdO'#EtO0rQdO'#EwO4VQdO'#EyO4^QdO'#FOO4iQdO'#EzO0rQdO'#FOO1XQdO'#FQO1XQdO'#FVO4nQdO'#F[P4uOdO'#GpPOOO)CBd)CBdOOQ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#c#p$R$d$p$u$v$w$x$y$z%e%j%p%q&`'O'g(q(|)j*o*x+w,v/q0gR%T!kT#]^#_Q%x#[R,{+YQ(m%xS+_(n(oQ,}+`Q-x,{S.n-y-zR/^.oT+Z(k+]Q$`}Q&g$QQ)o'PR+{)pQ$XzQ)W&qR+i)XQ$XzQ&o$WQ)W&qR+i)XQ#khW$Vz$W&q)XQ$[{Q&r$ZZ)R&l)S+f+g-RR$^|R)c&wXlOn)t,PQ$f!RR'Q$gQ$m!UR'R$hR*X'_Q*V'_V-g,`-h.TQ.d-lQ/P.^R/Q._U.]-l.^._Q/U.aQ/b.tQ/g.zU/i.|/j/yQ/n/RQ/|/oQ0O/tU0Q/u0S0[Q0]0UQ0a0ZR0b0^R/T.`R/d.t",nodeNames:"\u26A0 print Escape { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:277,context:fJ,nodeProps:[["isolate",-5,4,71,72,73,77,""],["group",-15,6,85,87,88,90,92,94,96,98,99,100,102,105,108,110,"Statement Statement",-22,8,18,21,25,40,49,50,56,57,60,61,62,63,64,67,70,71,72,79,80,81,82,"Expression",-10,114,116,119,121,122,126,128,133,135,138,"Statement",-9,143,144,147,148,150,151,152,153,154,"Pattern"],["openedBy",23,"(",54,"[",58,"{"],["closedBy",24,")",55,"]",59,"}"]],propSources:[pJ],skippedNodes:[0,4],repeatNodeCount:34,tokenData:"!2|~R!`OX%TXY%oY[%T[]%o]p%Tpq%oqr'ars)Yst*xtu%Tuv,dvw-hwx.Uxy/tyz0[z{0r{|2S|}2p}!O3W!O!P4_!P!Q:Z!Q!R;k!R![>_![!]Do!]!^Es!^!_FZ!_!`Gk!`!aHX!a!b%T!b!cIf!c!dJU!d!eK^!e!hJU!h!i!#f!i!tJU!t!u!,|!u!wJU!w!x!.t!x!}JU!}#O!0S#O#P&o#P#Q!0j#Q#R!1Q#R#SJU#S#T%T#T#UJU#U#VK^#V#YJU#Y#Z!#f#Z#fJU#f#g!,|#g#iJU#i#j!.t#j#oJU#o#p!1n#p#q!1s#q#r!2a#r#s!2f#s$g%T$g;'SJU;'S;=`KW<%lOJU`%YT&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T`%lP;=`<%l%To%v]&n`%c_OX%TXY%oY[%T[]%o]p%Tpq%oq#O%T#O#P&o#P#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To&tX&n`OY%TYZ%oZ]%T]^%o^#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc'f[&n`O!_%T!_!`([!`#T%T#T#U(r#U#f%T#f#g(r#g#h(r#h#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc(cTmR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T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wo,J$=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function qp(t){return(e,i,n)=>{if(n)return!1;let r=e.node.getChild("VariableName");return r&&i(r,t),!0}}var gJ={FunctionDefinition:qp("function"),ClassDefinition:qp("class"),ForStatement(t,e,i){if(i){for(let n=t.node.firstChild;n;n=n.nextSibling)if(n.name=="VariableName")e(n,"variable");else if(n.name=="in")break}},ImportStatement(t,e){var i,n;let{node:r}=t,o=((i=r.firstChild)===null||i===void 0?void 0:i.name)=="from";for(let s=r.getChild("import");s;s=s.nextSibling)s.name=="VariableName"&&((n=s.nextSibling)===null||n===void 0?void 0:n.name)!="as"&&e(s,o?"variable":"namespace")},AssignStatement(t,e){for(let i=t.node.firstChild;i;i=i.nextSibling)if(i.name=="VariableName")e(i,"variable");else if(i.name==":"||i.name=="AssignOp")break},ParamList(t,e){for(let i=null,n=t.node.firstChild;n;n=n.nextSibling)n.name=="VariableName"&&(!i||!/\*|AssignOp/.test(i.name))&&e(n,"variable"),i=n},CapturePattern:qp("variable"),AsPattern:qp("variable"),__proto__:null};function eX(t,e){let i=G$.get(e);if(i)return i;let n=[],r=!0;function o(s,a){let l=t.sliceString(s.from,s.to);n.push({label:l,type:a})}return e.cursor(rt.IncludeAnonymous).iterate(s=>{if(s.name){let a=gJ[s.name];if(a&&a(s,o,r)||!r&&J$.has(s.name))return!1;r=!1}else if(s.to-s.from>8192){for(let a of eX(t,s.node))n.push(a);return!1}}),G$.set(e,n),n}var K$=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,tX=["String","FormatString","Comment","PropertyName"];function bJ(t){let e=qe(t.state).resolveInner(t.pos,-1);if(tX.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&K$.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let n=[];for(let r=e;r;r=r.parent)J$.has(r.name)&&(n=n.concat(eX(t.state.doc,r)));return{options:n,from:i?e.from:t.pos,validFor:K$}}var yJ=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(t=>({label:t,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(t=>({label:t,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(t=>({label:t,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(t=>({label:t,type:"function"}))),xJ=[xt("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),xt("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),xt("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),xt("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),xt(`if \${}:
`,{label:"if",detail:"block",type:"keyword"}),xt("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),xt("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),xt("import ${module}",{label:"import",detail:"statement",type:"keyword"}),xt("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],vJ=Pl(tX,ia(yJ.concat(xJ)));function lw(t){let{node:e,pos:i}=t,n=t.lineIndent(i,-1),r=null;for(;;){let o=e.childBefore(i);if(o)if(o.name=="Comment")i=o.from;else if(o.name=="Body"||o.name=="MatchBody")t.baseIndentFor(o)+t.unit<=n&&(r=o),e=o;else if(o.name=="MatchClause")e=o;else if(o.type.is("Statement"))e=o;else break;else break}return r}function cw(t,e){let i=t.baseIndentFor(e),n=t.lineAt(t.pos,-1),r=n.from+n.text.length;return/^\s*($|#)/.test(n.text)&&t.node.to<r+100&&!/\S/.test(t.state.sliceDoc(r,t.node.to))&&t.lineIndent(t.pos,-1)<=i||/^\s*(else:|elif |except |finally:|case\s+[^=:]+:)/.test(t.textAfter)&&t.lineIndent(t.pos,-1)>i?null:i+t.unit}var uw=Vt.define({name:"python",parser:H$.configure({props:[zt.add({Body:t=>{var e;let i=lw(t);return(e=cw(t,i||t.node))!==null&&e!==void 0?e:t.continue()},MatchBody:t=>{var e;let i=lw(t);return(e=cw(t,i||t.node))!==null&&e!==void 0?e:t.continue()},IfStatement:t=>/^\s*(else:|elif )/.test(t.textAfter)?t.baseIndent:t.continue(),"ForStatement WhileStatement":t=>/^\s*else:/.test(t.textAfter)?t.baseIndent:t.continue(),TryStatement:t=>/^\s*(except |finally:|else:)/.test(t.textAfter)?t.baseIndent:t.continue(),MatchStatement:t=>/^\s*case /.test(t.textAfter)?t.baseIndent+t.unit:t.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":Oi({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":Oi({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":Oi({closing:"]"}),"String FormatString":()=>null,Script:t=>{var e;let i=lw(t);return(e=i&&cw(t,i))!==null&&e!==void 0?e:t.continue()}}),Ut.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":En,Body:(t,e)=>({from:t.from+1,to:t.to-(t.to==e.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:|case\s+[^:]*:?)$/}});function iX(){return new mt(uw,[uw.data.of({autocomplete:bJ}),uw.data.of({autocomplete:vJ})])}var Xl=63,nX=64,wJ=1,kJ=2,sX=3,SJ=4,aX=5,TJ=6,EJ=7,lX=65,PJ=66,CJ=8,QJ=9,_J=10,AJ=11,$J=12,cX=13,XJ=19,RJ=20,LJ=29,IJ=33,DJ=34,zJ=47,UJ=0,mw=1,hw=2,wf=3,dw=4,so=class{constructor(e,i,n){this.parent=e,this.depth=i,this.type=n,this.hash=(e?e.hash+e.hash<<8:0)+i+(i<<4)+n}};so.top=new so(null,-1,UJ);function vf(t,e){for(let i=0,n=e-t.pos-1;;n--,i++){let r=t.peek(n);if(ao(r)||r==-1)return i}}function Ow(t){return t==32||t==9}function ao(t){return t==10||t==13}function uX(t){return Ow(t)||ao(t)}function fa(t){return t<0||uX(t)}var MJ=new Cn({start:so.top,reduce(t,e){return t.type==wf&&(e==RJ||e==DJ)?t.parent:t},shift(t,e,i,n){if(e==sX)return new so(t,vf(n,n.pos),mw);if(e==lX||e==aX)return new so(t,vf(n,n.pos),hw);if(e==Xl)return t.parent;if(e==XJ||e==IJ)return new so(t,0,wf);if(e==cX&&t.type==dw)return t.parent;if(e==zJ){let r=/[1-9]/.exec(n.read(n.pos,i.pos));if(r)return new so(t,t.depth+ +r[0],dw)}return t},hash(t){return t.hash}});function Rl(t,e,i=0){return t.peek(i)==e&&t.peek(i+1)==e&&t.peek(i+2)==e&&fa(t.peek(i+3))}var NJ=new ze((t,e)=>{if(t.next==-1&&e.canShift(nX))return t.acceptToken(nX);let i=t.peek(-1);if((ao(i)||i<0)&&e.context.type!=wf){if(Rl(t,45))if(e.canShift(Xl))t.acceptToken(Xl);else return t.acceptToken(wJ,3);if(Rl(t,46))if(e.canShift(Xl))t.acceptToken(Xl);else return t.acceptToken(kJ,3);let n=0;for(;t.next==32;)n++,t.advance();(n<e.context.depth||n==e.context.depth&&e.context.type==mw&&(t.next!=45||!fa(t.peek(1))))&&t.next!=-1&&!ao(t.next)&&t.next!=35&&t.acceptToken(Xl,-n)}},{contextual:!0}),qJ=new ze((t,e)=>{if(e.context.type==wf){t.next==63&&(t.advance(),fa(t.next)&&t.acceptToken(EJ));return}if(t.next==45)t.advance(),fa(t.next)&&t.acceptToken(e.context.type==mw&&e.context.depth==vf(t,t.pos-1)?SJ:sX);else if(t.next==63)t.advance(),fa(t.next)&&t.acceptToken(e.context.type==hw&&e.context.depth==vf(t,t.pos-1)?TJ:aX);else{let i=t.pos;for(;;)if(Ow(t.next)){if(t.pos==i)return;t.advance()}else if(t.next==33)fX(t);else if(t.next==38)pw(t);else if(t.next==42){pw(t);break}else if(t.next==39||t.next==34){if(gw(t,!0))break;return}else if(t.next==91||t.next==123){if(!WJ(t))return;break}else{hX(t,!0,!1,0);break}for(;Ow(t.next);)t.advance();if(t.next==58){if(t.pos==i&&e.canShift(LJ))return;let n=t.peek(1);fa(n)&&t.acceptTokenTo(e.context.type==hw&&e.context.depth==vf(t,i)?PJ:lX,i)}}},{contextual:!0});function jJ(t){return t>32&&t<127&&t!=34&&t!=37&&t!=44&&t!=60&&t!=62&&t!=92&&t!=94&&t!=96&&t!=123&&t!=124&&t!=125}function rX(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function oX(t,e){return t.next==37?(t.advance(),rX(t.next)&&t.advance(),rX(t.next)&&t.advance(),!0):jJ(t.next)||e&&t.next==44?(t.advance(),!0):!1}function fX(t){if(t.advance(),t.next==60){for(t.advance();;)if(!oX(t,!0)){t.next==62&&t.advance();break}}else for(;oX(t,!1););}function pw(t){for(t.advance();!fa(t.next)&&jp(t.tag)!="f";)t.advance()}function gw(t,e){let i=t.next,n=!1,r=t.pos;for(t.advance();;){let o=t.next;if(o<0)break;if(t.advance(),o==i)if(o==39)if(t.next==39)t.advance();else break;else break;else if(o==92&&i==34)t.next>=0&&t.advance();else if(ao(o)){if(e)return!1;n=!0}else if(e&&t.pos>=r+1024)return!1}return!n}function WJ(t){for(let e=[],i=t.pos+1024;;)if(t.next==91||t.next==123)e.push(t.next),t.advance();else if(t.next==39||t.next==34){if(!gw(t,!0))return!1}else if(t.next==93||t.next==125){if(e[e.length-1]!=t.next-2)return!1;if(e.pop(),t.advance(),!e.length)return!0}else{if(t.next<0||t.pos>i||ao(t.next))return!1;t.advance()}}var VJ="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function jp(t){return t<33?"u":t>125?"s":VJ[t-33]}function fw(t,e){let i=jp(t);return i!="u"&&!(e&&i=="f")}function hX(t,e,i,n){if(jp(t.next)=="s"||(t.next==63||t.next==58||t.next==45)&&fw(t.peek(1),i))t.advance();else return!1;let r=t.pos;for(;;){let o=t.next,s=0,a=n+1;for(;uX(o);){if(ao(o)){if(e)return!1;a=0}else a++;o=t.peek(++s)}if(!(o>=0&&(o==58?fw(t.peek(s+1),i):o==35?t.peek(s-1)!=32:fw(o,i)))||!i&&a<=n||a==0&&!i&&(Rl(t,45,s)||Rl(t,46,s)))break;if(e&&jp(o)=="f")return!1;for(let c=s;c>=0;c--)t.advance();if(e&&t.pos>r+1024)return!1}return!0}var ZJ=new ze((t,e)=>{if(t.next==33)fX(t),t.acceptToken($J);else if(t.next==38||t.next==42){let i=t.next==38?_J:AJ;pw(t),t.acceptToken(i)}else t.next==39||t.next==34?(gw(t,!1),t.acceptToken(QJ)):hX(t,!1,e.context.type==wf,e.context.depth)&&t.acceptToken(CJ)}),BJ=new ze((t,e)=>{let i=e.context.type==dw?e.context.depth:-1,n=t.pos;e:for(;;){let r=0,o=t.next;for(;o==32;)o=t.peek(++r);if(!r&&(Rl(t,45,r)||Rl(t,46,r))||!ao(o)&&(i<0&&(i=Math.max(e.context.depth+1,r)),r<i))break;for(;;){if(t.next<0)break e;let s=ao(t.next);if(t.advance(),s)continue e;n=t.pos}}t.acceptTokenTo(cX,n)}),YJ=Tt({DirectiveName:E.keyword,DirectiveContent:E.attributeValue,"DirectiveEnd DocEnd":E.meta,QuotedLiteral:E.string,BlockLiteralHeader:E.special(E.string),BlockLiteralContent:E.content,Literal:E.content,"Key/Literal Key/QuotedLiteral":E.definition(E.propertyName),"Anchor Alias":E.labelName,Tag:E.typeName,Comment:E.lineComment,": , -":E.separator,"?":E.punctuation,"[ ]":E.squareBracket,"{ }":E.brace}),dX=Mt.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|Qf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!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"\u26A0 DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:MJ,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[YJ],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%O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atNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),HJ=Vt.define({name:"yaml",parser:dX.configure({props:[zt.add({Stream:t=>{for(let e=t.node.resolve(t.pos,-1);e&&e.to>=t.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.from<e.to)return t.baseIndentFor(e);if(e.name=="BlockLiteral")return t.baseIndentFor(e)+t.unit;if(e.name=="BlockSequence"||e.name=="BlockMapping")return t.column(e.from,1);if(e.name=="QuotedLiteral")return null;if(e.name=="Literal"){let i=t.column(e.from,1);if(i==t.lineIndent(e.from,1))return i;if(e.to>t.pos)return null}}return null},FlowMapping:Oi({closing:"}"}),FlowSequence:Oi({closing:"]"})}),Ut.add({"FlowMapping FlowSequence":En,"Item Pair BlockLiteral":(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function OX(){return new mt(HJ)}var Y2e=Vt.define({name:"yaml-frontmatter",parser:FJ.configure({props:[Tt({DashLine:E.meta})]})});var GJ=["-type","-spec","-export_type","-opaque"],KJ=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],JJ=/[\->,;]/,eee=["->",";",","],tee=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],iee=/[\+\-\*\/<>=\|:!]/,nee=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],ree=/[<\(\[\{]/,yw=["<<","(","[","{"],oee=/[>\)\]\}]/,yX=["}","]",")",">>"],see=["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"],aee=["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"],Wp=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,lee=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function cee(t,e){if(e.in_string)return e.in_string=!gX(t),it(e,t,"string");if(e.in_atom)return e.in_atom=!bX(t),it(e,t,"atom");if(t.eatSpace())return it(e,t,"whitespace");if(!kf(e)&&t.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return Ti(t.current(),GJ)?it(e,t,"type"):it(e,t,"attribute");var i=t.next();if(i=="%")return t.skipToEnd(),it(e,t,"comment");if(i==":")return it(e,t,"colon");if(i=="?")return t.eatSpace(),t.eatWhile(Wp),it(e,t,"macro");if(i=="#")return t.eatSpace(),t.eatWhile(Wp),it(e,t,"record");if(i=="$")return t.next()=="\\"&&!t.match(lee)?it(e,t,"error"):it(e,t,"number");if(i==".")return it(e,t,"dot");if(i=="'"){if(!(e.in_atom=!bX(t))){if(t.match(/\s*\/\s*[0-9]/,!1))return t.match(/\s*\/\s*[0-9]/,!0),it(e,t,"fun");if(t.match(/\s*\(/,!1)||t.match(/\s*:/,!1))return it(e,t,"function")}return it(e,t,"atom")}if(i=='"')return e.in_string=!gX(t),it(e,t,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(i))return t.eatWhile(Wp),it(e,t,"variable");if(/[a-z_ß-öø-ÿ]/.test(i)){if(t.eatWhile(Wp),t.match(/\s*\/\s*[0-9]/,!1))return t.match(/\s*\/\s*[0-9]/,!0),it(e,t,"fun");var n=t.current();return Ti(n,KJ)?it(e,t,"keyword"):Ti(n,tee)?it(e,t,"operator"):t.match(/\s*\(/,!1)?Ti(n,aee)&&(kf(e).token!=":"||kf(e,2).token=="erlang")?it(e,t,"builtin"):Ti(n,see)?it(e,t,"guard"):it(e,t,"function"):uee(t)==":"?n=="erlang"?it(e,t,"builtin"):it(e,t,"function"):Ti(n,["true","false"])?it(e,t,"boolean"):it(e,t,"atom")}var r=/[0-9]/,o=/[0-9a-zA-Z]/;return r.test(i)?(t.eatWhile(r),t.eat("#")?t.eatWhile(o)||t.backUp(1):t.eat(".")&&(t.eatWhile(r)?t.eat(/[eE]/)&&(t.eat(/[-+]/)?t.eatWhile(r)||t.backUp(2):t.eatWhile(r)||t.backUp(1)):t.backUp(1)),it(e,t,"number")):pX(t,ree,yw)?it(e,t,"open_paren"):pX(t,oee,yX)?it(e,t,"close_paren"):mX(t,JJ,eee)?it(e,t,"separator"):mX(t,iee,nee)?it(e,t,"operator"):it(e,t,null)}function pX(t,e,i){if(t.current().length==1&&e.test(t.current())){for(t.backUp(1);e.test(t.peek());)if(t.next(),Ti(t.current(),i))return!0;t.backUp(t.current().length-1)}return!1}function mX(t,e,i){if(t.current().length==1&&e.test(t.current())){for(;e.test(t.peek());)t.next();for(;0<t.current().length;){if(Ti(t.current(),i))return!0;t.backUp(1)}t.next()}return!1}function gX(t){return xX(t,'"',"\\")}function bX(t){return xX(t,"'","\\")}function xX(t,e,i){for(;!t.eol();){var n=t.next();if(n==e)return!0;n==i&&t.next()}return!1}function uee(t){var e=t.match(/^\s*([^\s%])/,!1);return e?e[1]:""}function Ti(t,e){return-1<e.indexOf(t)}function it(t,e,i){switch(dee(t,fee(i,e)),i){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 vX(t,e,i,n){return{token:t,column:e,indent:i,type:n}}function fee(t,e){return vX(e.current(),e.column(),e.indentation(),t)}function hee(t){return vX(t,0,0,t)}function kf(t,e){var i=t.tokenStack.length,n=e||1;return i<n?!1:t.tokenStack[i-n]}function dee(t,e){e.type=="comment"||e.type=="whitespace"||(t.tokenStack=Oee(t.tokenStack,e),t.tokenStack=pee(t.tokenStack))}function Oee(t,e){var i=t.length-1;return 0<i&&t[i].type==="record"&&e.type==="dot"?t.pop():(0<i&&t[i].type==="group"&&t.pop(),t.push(e)),t}function pee(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 Bn(t,{g:["{"]});case"]":return Bn(t,{i:["["]});case")":return Bn(t,{i:["("]});case">>":return Bn(t,{i:["<<"]});case"end":return Bn(t,{i:["begin","case","fun","if","receive","try"]});case",":return Bn(t,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return Bn(t,{r:["when"],m:["try","if","case","receive"]});case";":return Bn(t,{E:["case","fun","if","receive","try","when"]});case"catch":return Bn(t,{e:["try"]});case"of":return Bn(t,{e:["case"]});case"after":return Bn(t,{e:["receive","try"]});default:return t}}function Bn(t,e){for(var i in e)for(var n=t.length-1,r=e[i],o=n-1;-1<o;o--)if(Ti(t[o].token,r)){var s=t.slice(0,o);switch(i){case"m":return s.concat(t[o]).concat(t[n]);case"r":return s.concat(t[n]);case"i":return s;case"g":return s.concat(hee("group"));case"E":return s.concat(t[o]);case"e":return s.concat(t[o])}}return i=="E"?[]:t}function mee(t,e,i){var n,r=gee(e),o=kf(t,1),s=kf(t,2);return t.in_string||t.in_atom?null:s?o.token=="when"?o.column+i.unit:r==="when"&&s.type==="function"?s.indent+i.unit:r==="("&&o.token==="fun"?o.column+3:r==="catch"&&(n=bw(t,["try"]))?n.column:Ti(r,["end","after","of"])?(n=bw(t,["begin","case","fun","if","receive","try"]),n?n.column:null):Ti(r,yX)?(n=bw(t,yw),n?n.column:null):Ti(o.token,[",","|","||"])||Ti(r,[",","|","||"])?(n=bee(t),n?n.column+n.token.length:i.unit):o.token=="->"?Ti(s.token,["receive","case","if","try"])?s.column+i.unit+i.unit:s.column+i.unit:Ti(o.token,yw)?o.column+o.token.length:(n=yee(t),ha(n)?n.column+i.unit:0):0}function gee(t){var e=t.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return ha(e)&&e.index===0?e[0]:""}function bee(t){var e=t.tokenStack.slice(0,-1),i=Vp(e,"type",["open_paren"]);return ha(e[i])?e[i]:!1}function yee(t){var e=t.tokenStack,i=Vp(e,"type",["open_paren","separator","keyword"]),n=Vp(e,"type",["operator"]);return ha(i)&&ha(n)&&i<n?e[i+1]:ha(i)?e[i]:!1}function bw(t,e){var i=t.tokenStack,n=Vp(i,"token",e);return ha(i[n])?i[n]:!1}function Vp(t,e,i){for(var n=t.length-1;-1<n;n--)if(Ti(t[n][e],i))return n;return!1}function ha(t){return t!==!1&&t!=null}var wX={name:"erlang",startState(){return{tokenStack:[],in_string:!1,in_atom:!1}},token:cee,indent:mee,languageData:{commentTokens:{line:"%"}}};function kX(t){SX(t,"start");var e={},i=t.languageData||{},n=!1;for(var r in t)if(r!=i&&t.hasOwnProperty(r))for(var o=e[r]=[],s=t[r],a=0;a<s.length;a++){var l=s[a];o.push(new wee(l,t)),(l.indent||l.dedent)&&(n=!0)}return{name:i.name,startState:function(){return{state:"start",pending:null,indent:n?[]: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:kee(e),indent:See(e,i),languageData:i}}function SX(t,e){if(!t.hasOwnProperty(e))throw new Error("Undefined state "+e+" in simple mode")}function xee(t,e){if(!t)return/(?:)/;var i="";return t instanceof RegExp?(t.ignoreCase&&(i="i"),t=t.source):t=String(t),new RegExp((e===!1?"":"^")+"(?:"+t+")",i)}function vee(t){if(!t)return null;if(t.apply)return t;if(typeof t=="string")return t.replace(/\./g," ");for(var e=[],i=0;i<t.length;i++)e.push(t[i]&&t[i].replace(/\./g," "));return e}function wee(t,e){(t.next||t.push)&&SX(e,t.next||t.push),this.regex=xee(t.regex),this.token=vee(t.token),this.data=t}function kee(t){return function(e,i){if(i.pending){var n=i.pending.shift();return i.pending.length==0&&(i.pending=null),e.pos+=n.text.length,n.token}for(var r=t[i.state],o=0;o<r.length;o++){var s=r[o],a=(!s.data.sol||e.sol())&&e.match(s.regex);if(a){s.data.next?i.state=s.data.next:s.data.push?((i.stack||(i.stack=[])).push(i.state),i.state=s.data.push):s.data.pop&&i.stack&&i.stack.length&&(i.state=i.stack.pop()),s.data.indent&&i.indent.push(e.indentation()+e.indentUnit),s.data.dedent&&i.indent.pop();var l=s.token;if(l&&l.apply&&(l=l(a)),a.length>2&&s.token&&typeof s.token!="string"){i.pending=[];for(var c=2;c<a.length;c++)a[c]&&i.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 See(t,e){return function(i,n){if(i.indent==null||e.dontIndentStates&&e.dontIndentStates.indexOf(i.state)>-1)return null;var r=i.indent.length-1,o=t[i.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(n);if(l&&l[0]){r--,(a.next||a.push)&&(o=t[a.next||a.push]),n=n.slice(l[0].length);continue e}}}break}return r<0?0:i.indent[r]}}var TX="from",Tee=new RegExp("^(\\s*)\\b("+TX+")\\b","i"),EX=["run","cmd","entrypoint","shell"],Eee=new RegExp("^(\\s*)("+EX.join("|")+")(\\s+\\[)","i"),PX="expose",Pee=new RegExp("^(\\s*)("+PX+")(\\s+)","i"),Cee=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],Qee=[TX,PX].concat(EX).concat(Cee),CX="("+Qee.join("|")+")",_ee=new RegExp("^(\\s*)"+CX+"(\\s*)(#.*)?$","i"),Aee=new RegExp("^(\\s*)"+CX+"(\\s+)","i"),QX=kX({start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:Tee,token:[null,"keyword"],sol:!0,next:"from"},{regex:_ee,token:[null,"keyword",null,"error"],sol:!0},{regex:Eee,token:[null,"keyword",null],sol:!0,next:"array"},{regex:Pee,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:Aee,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 xw={};function vw(t,e){for(var i=0;i<e.length;i++)xw[e[i]]=t}var _X=["true","false"],AX=["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],$X=["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","nl","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"];vw("atom",_X);vw("keyword",AX);vw("builtin",$X);function $ee(t,e){if(t.eatSpace())return null;var i=t.sol(),n=t.next();if(n==="\\")return t.next(),null;if(n==="'"||n==='"'||n==="`")return e.tokens.unshift(Zp(n,n==="`"?"quote":"string")),Ll(t,e);if(n==="#")return i&&t.eat("!")?(t.skipToEnd(),"meta"):(t.skipToEnd(),"comment");if(n==="$")return e.tokens.unshift(XX),Ll(t,e);if(n==="+"||n==="=")return"operator";if(n==="-")return t.eat("-"),t.eatWhile(/\w/),"attribute";if(n=="<"){if(t.match("<<"))return"operator";var r=t.match(/^<-?\s*(?:['"]([^'"]*)['"]|([^'"\s]*))/);if(r)return e.tokens.unshift(Ree(r[1]||r[2])),"string.special"}if(/\d/.test(n)&&(t.eatWhile(/\d/),t.eol()||!/\w/.test(t.peek())))return"number";t.eatWhile(/[\w-]/);var o=t.current();return t.peek()==="="&&/\w+/.test(o)?"def":xw.hasOwnProperty(o)?xw[o]:null}function Zp(t,e){var i=t=="("?")":t=="{"?"}":t;return function(n,r){for(var o,s=!1;(o=n.next())!=null;){if(o===i&&!s){r.tokens.shift();break}else if(o==="$"&&!s&&t!=="'"&&n.peek()!=i){s=!0,n.backUp(1),r.tokens.unshift(XX);break}else{if(!s&&t!==i&&o===t)return r.tokens.unshift(Zp(t,e)),Ll(n,r);if(!s&&/['"]/.test(o)&&!/['"]/.test(t)){r.tokens.unshift(Xee(o,"string")),n.backUp(1);break}}s=!s&&o==="\\"}return e}}function Xee(t,e){return function(i,n){return n.tokens[0]=Zp(t,e),i.next(),Ll(i,n)}}var XX=function(t,e){e.tokens.length>1&&t.eat("$");var i=t.next();return/['"({]/.test(i)?(e.tokens[0]=Zp(i,i=="("?"quote":i=="{"?"def":"string"),Ll(t,e)):(/\d/.test(i)||t.eatWhile(/\w/),e.tokens.shift(),"def")};function Ree(t){return function(e,i){return e.sol()&&e.string==t&&i.tokens.shift(),e.skipToEnd(),"string.special"}}function Ll(t,e){return(e.tokens[0]||$ee)(t,e)}var RX={name:"shell",startState:function(){return{tokens:[]}},token:function(t,e){return Ll(t,e)},languageData:{autocomplete:_X.concat(AX,$X),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}};var LX={name:"toml",startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(t,e){if(!e.inString&&(t.peek()=='"'||t.peek()=="'")&&(e.stringType=t.peek(),t.next(),e.inString=!0),t.sol()&&e.inArray===0&&(e.lhs=!0),e.inString){for(;e.inString&&!t.eol();)t.peek()===e.stringType?(t.next(),e.inString=!1):t.peek()==="\\"?(t.next(),t.next()):t.match(/^.[^\\\"\']*/);return e.lhs?"property":"string"}else{if(e.inArray&&t.peek()==="]")return t.next(),e.inArray--,"bracket";if(e.lhs&&t.peek()==="["&&t.skipTo("]"))return t.next(),t.peek()==="]"&&t.next(),"atom";if(t.peek()==="#")return t.skipToEnd(),"comment";if(t.eatSpace())return null;if(e.lhs&&t.eatWhile(function(i){return i!="="&&i!=" "}))return"property";if(e.lhs&&t.peek()==="=")return t.next(),e.lhs=!1,null;if(!e.lhs&&t.match(/^\d\d\d\d[\d\-\:\.T]*Z/))return"atom";if(!e.lhs&&(t.match("true")||t.match("false")))return"atom";if(!e.lhs&&t.peek()==="[")return e.inArray++,t.next(),"bracket";if(!e.lhs&&t.match(/^\-?\d+(?:\.\d+)?/))return"number";t.eatSpace()||t.next()}return null},languageData:{commentTokens:{line:"#"}}};var Lee=189,Iee=190,Dee=191,IX=192,DX=193,zX=194,UX=195,MX=1,NX=2,qX=196,zee=197,Uee=198,Mee=3,Nee=4,qee=5,jee=6,Wee=7,Vee=8,Zee=9,Bee=10,Yee=11,Fee=12,Hee=13,Gee=14,Kee=15,Jee=16,ete=17,tte=18,ite=19,nte=20,rte=21,ote=22,ste=23,ate=199,lte=200,jX=9,Gp=10,Qw=13,WX=32,Kp=33,Sf=34,_w=35,cte=37,Bp=38,Tf=39,VX=40,kw=41,Sw=42,Dl=43,ute=44,rs=45,pa=46,xr=47,ZX=48,BX=57,lo=58,YX=59,Yp=60,is=61,Di=62,Aw=63,FX=64,fte=65,hte=90,HX=91,Hp=92,Tw=93,Fp=94,GX=97,ww=99,Il=100,Ew=101,dte=104,Pw=105,Ote=108,pte=109,da=110,os=111,mte=112,gte=114,$w=116,bte=117,yte=119,xte=121,vte=122,KX=123,Oa=124,Cw=125,Ef=126,wte=[{token:Nee,supportsInterpol:!0,endDelimiter:Tf,delimiterLength:1},{token:Mee,supportsInterpol:!0,endDelimiter:Sf,delimiterLength:1},{token:jee,supportsInterpol:!0,endDelimiter:Tf,delimiterLength:3},{token:qee,supportsInterpol:!0,endDelimiter:Sf,delimiterLength:3},{token:Wee,supportsInterpol:!0,endDelimiter:kw,delimiterLength:1},{token:Vee,supportsInterpol:!0,endDelimiter:Cw,delimiterLength:1},{token:Zee,supportsInterpol:!0,endDelimiter:Tw,delimiterLength:1},{token:Bee,supportsInterpol:!0,endDelimiter:Di,delimiterLength:1},{token:Yee,supportsInterpol:!0,endDelimiter:Oa,delimiterLength:1},{token:Fee,supportsInterpol:!0,endDelimiter:xr,delimiterLength:1},{token:Gee,supportsInterpol:!1,endDelimiter:Tf,delimiterLength:1},{token:Hee,supportsInterpol:!1,endDelimiter:Sf,delimiterLength:1},{token:Jee,supportsInterpol:!1,endDelimiter:Tf,delimiterLength:3},{token:Kee,supportsInterpol:!1,endDelimiter:Sf,delimiterLength:3},{token:ete,supportsInterpol:!1,endDelimiter:kw,delimiterLength:1},{token:tte,supportsInterpol:!1,endDelimiter:Cw,delimiterLength:1},{token:ite,supportsInterpol:!1,endDelimiter:Tw,delimiterLength:1},{token:nte,supportsInterpol:!1,endDelimiter:Di,delimiterLength:1},{token:rte,supportsInterpol:!1,endDelimiter:Oa,delimiterLength:1},{token:ote,supportsInterpol:!1,endDelimiter:xr,delimiterLength:1}],kte=new ze((t,e)=>{let i=wte.find(n=>e.canShift(n.token));Ste(t,i)&&t.acceptToken(i.token)});function Ste(t,e){let i=e.delimiterLength===3;for(let n=!1;;n=!0){let r=!1;if(tR(t.next))for(t.advance(),n=!0,r=!0;cn(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&&(!i||r))return n;t.advance(o)}else{if(t.next===_w){if(e.supportsInterpol&&t.peek(1)===KX)return n}else if(t.next===Hp){if(!(i&&t.peek(1)===Gp)){if(e.supportsInterpol||t.peek(1)===e.endDelimiter)return n}}else if(t.next===-1)return n;t.advance()}}return!1}var Tte=new ze((t,e)=>{let i=0;for(;GX<=t.next&&t.next<=vte||fte<=t.next&&t.next<=hte||ZX<=t.next&&t.next<=BX;)t.advance(),i++;i>0&&t.acceptToken(ste)}),Ete=new ze((t,e)=>{cn(t.peek(-1))||(e.canShift(MX)&&t.next===VX?(t.advance(),t.acceptToken(MX)):e.canShift(NX)&&t.next===HX?(t.advance(),t.acceptToken(NX)):e.canShift(qX)&&t.next===lo&&(t.advance(),cn(t.next)&&t.acceptToken(qX)))}),Pte=new ze((t,e)=>{if(Pf(t.next)){for(t.advance();Pf(t.next);)t.advance();if(t.next===Dl){let i=t.peek(1);i!==Dl&&i!==lo&&i!==xr&&!cn(i)&&t.acceptToken(IX)}else if(t.next===rs){let i=t.peek(1);i!==rs&&i!==Di&&i!==lo&&i!==xr&&!cn(i)&&t.acceptToken(IX)}}}),JX=/[\p{ID_Start}_]/u,eR=/[\p{ID_Continue}@]/u,Cte=new ze((t,e)=>{if(t.next===lo){t.advance();let[i,n]=zl(t);if(JX.test(i)){do t.advance(n),[i,n]=zl(t);while(eR.test(i));(t.next===Aw||t.next===Kp)&&t.advance(),t.acceptToken(zee)}}}),Qte=new ze((t,e)=>{let[i,n]=zl(t);if(JX.test(i)){do t.advance(n),[i,n]=zl(t);while(eR.test(i));(t.next===Aw||t.next===Kp)&&t.advance(),t.next===lo&&(t.advance(),cn(t.next)&&t.acceptToken(Uee))}}),_te=/[_\p{Ll}\p{Lm}\p{Lo}\p{Nl}\u1885\u1886\u2118\u212E\u309B\u309C]/u,Ate=/[\p{ID_Continue}]/u,$te=new ze((t,e)=>{let[i,n]=zl(t),o=i==="_"?lte:ate;if(_te.test(i)){do t.advance(n),[i,n]=zl(t);while(Ate.test(i));(t.next===Aw||t.next===Kp)&&t.advance(),t.acceptToken(o)}else t.next===pa&&(t.advance(),t.next===pa&&(t.advance(),t.next===pa&&(t.advance(),ns(t.next)&&t.acceptToken(o))))}),Xte=new ze((t,e)=>{if(t.next===da&&(t.advance(),t.next===os&&(t.advance(),t.next===$w))){for(t.advance();Pf(t.next);)t.advance();t.next===Pw&&(t.advance(),t.next===da&&(t.advance(),ns(t.next)&&t.acceptToken(Lee)))}}),Rte=new ze((t,e)=>{t.next===xr&&(t.advance(),t.next===xr&&(t.advance(),t.acceptToken(Iee)))}),Lte=new ze((t,e)=>{t.next===FX&&(t.advance(),(t.next===Il&&t.peek(1)===os&&t.peek(2)===ww&&cn(t.peek(3))||t.next===pte&&t.peek(1)===os&&t.peek(2)===Il&&t.peek(3)===bte&&t.peek(4)===Ote&&t.peek(5)===Ew&&t.peek(6)===Il&&t.peek(7)===os&&t.peek(8)===ww&&cn(t.peek(9))||t.next===$w&&t.peek(1)===xte&&t.peek(2)===mte&&t.peek(3)===Ew&&t.peek(4)===Il&&t.peek(5)===os&&t.peek(6)===ww&&cn(t.peek(7)))&&t.acceptToken(Dee))}),Ite=new ze((t,e)=>{if(t.next===Qw&&t.advance(),t.next===Gp){t.advance();let i=0,n=!1;for(;cn(t.peek(i));)n=n||tR(t.peek(i)),i++;if(e.canShift(UX)&&t.peek(i)===Il&&t.peek(i+1)===os&&ns(t.peek(i+2))){t.acceptToken(UX);return}if(e.canShift(zX)&&Dte(t,i)){t.acceptToken(zX);return}e.canShift(DX)&&t.peek(i)!==YX&&t.peek(i)!==_w&&!n&&t.acceptToken(DX)}});function Dte(t,e=0){if(t.peek(e)===Bp){if(e++,t.peek(e)===Bp)return e++,t.peek(e)===Bp,Ue(t,e)}else{if(t.peek(e)===is)return t.peek(e)===is?(e++,t.peek(e)===is&&e++,Ue(t,e)):t.peek(e)===Ef?(e++,Ue(t,e)):(t.peek(1)===Di&&e++,Ue(t,e));if(t.peek(e)===lo){if(e++,t.peek(e)===lo)return e++,t.peek(e)===lo?!1:Ue(t,e)}else if(t.peek(e)===Dl){if(e++,t.peek(e)===Dl)return e++,t.peek(e)===Dl&&e++,Ue(t,e)}else if(t.peek(e)===rs){if(e++,t.peek(e)===rs)return e++,t.peek(e)===rs&&e++,Ue(t,e);if(t.peek(e)===Di)return e++,Ue(t,e)}else if(t.peek(e)===Yp){if(e++,t.peek(e)===is||t.peek(e)===rs||t.peek(e)===Di)return e++,Ue(t,e);if(t.peek(e)===Ef)return e++,t.peek(e)===Di&&e++,Ue(t,e);if(t.peek(e)===Oa){if(e++,t.peek(e)===Di)return e++,Ue(t,e)}else if(t.peek(e)===Yp){if(e++,t.peek(e)===Yp||t.peek(e)===Ef)return e++,Ue(t,e)}else return Ue(t,e)}else if(t.peek(e)===Di){if(e++,t.peek(e)===is)return e++,Ue(t,e);if(t.peek(e)===Di){if(e++,t.peek(e)===Di)return e++,Ue(t,e)}else return Ue(t,e)}else if(t.peek(e)===Fp){if(e++,t.peek(e)===Fp&&(e++,t.peek(e)===Fp))return e++,Ue(t,e)}else if(t.peek(e)===Kp){if(e++,t.peek(e)===is)return e++,t.peek(e)===is&&e++,Ue(t,e)}else if(t.peek(e)===Ef){if(e++,t.peek(e)===Di)return e++,t.peek(e)===Di&&e++,Ue(t,e)}else{if(t.peek(e)===Oa)return e++,t.peek(e)===Oa?(e++,t.peek(e)===Oa&&e++,Ue(t,e)):(t.peek(e)===Di&&e++,Ue(t,e));if(t.peek(e)===Sw)return e++,t.peek(e)===Sw&&e++,Ue(t,e);if(t.peek(e)===xr)return e++,t.peek(e)===xr&&e++,Ue(t,e);if(t.peek(e)===pa)return e++,t.peek(e)===pa?(e++,t.peek(e)===pa?!1:Ue(t,e)):Ue(t,e);if(t.peek(e)===Hp){if(e++,t.peek(e)===Hp)return e++,Ue(t,e)}else if(t.peek(e)===yte){if(e++,t.peek(e)===dte&&(e++,t.peek(e)===Ew&&(e++,t.peek(e)===da)))return e++,ns(t.peek(e))&&Ue(t,e)}else if(t.peek(e)===GX){if(e++,t.peek(e)===da&&(e++,t.peek(e)===Il))return e++,ns(t.peek(e))&&Ue(t,e)}else if(t.peek(e)===os){if(e++,t.peek(e)===gte)return e++,ns(t.peek(e))&&Ue(t,e)}else if(t.peek(e)===Pw){if(e++,t.peek(e)===da)return e++,ns(t.peek(e))&&Ue(t,e)}else if(t.peek(e)===da&&(e++,t.peek(e)===os&&(e++,t.peek(e)===$w))){for(e++;Pf(t.peek(e));)e++;if(t.peek(e)===Pw&&(e++,t.peek(e)===da))return e++,ns(t.peek(e))&&Ue(t,e)}}}}function Ue(t,e){if(t.peek(e)===lo)return!cn(t.peek(e+1));for(;Pf(t.peek(e));)e++;if(t.peek(e)===xr){for(e++;cn(t.peek(e));)e++;if(zte(t.peek(e)))return!1}return!0}function Pf(t){return t===WX||t===jX}function cn(t){return t===WX||t===jX||t===Gp||t===Qw}function tR(t){return t===Gp||t===Qw}function zte(t){return ZX<=t&&t<=BX}var Ute=new Set([FX,pa,Dl,rs,Fp,rs,Sw,xr,Yp,Di,Oa,Ef,is,Bp,Hp,cte,KX,Cw,HX,Tw,VX,kw,Sf,Tf,ute,YX,_w]);function ns(t){return Ute.has(t)?!0:cn(t)||t===-1}function zl(t){let e=t.next;if(55296<=e&&e<=56319){let i=t.peek(1);if(56320<=i&&i<=57343)return[String.fromCharCode(e,i),2]}return[String.fromCharCode(e),1]}var Mte=Tt({"Atom QuotedAtom QuotedAtom/QuotedContent Keyword QuotedKeyword QuotedKeyword/QuotedContent":E.atom,Alias:E.namespace,Boolean:E.bool,Nil:E.null,Integer:E.integer,Float:E.float,Char:E.character,Identifier:E.variableName,Comment:E.lineComment,SpecialIdentifier:E.special(E.variableName),UnderscoredIdentifier:E.comment,"String String/QuotedContent":E.string,"Charlist Charlist/QuotedContent":E.string,"StringSigil StringSigil/SigilName StringSigil/SigilModifiers StringSigil/QuotedContent StringSigil/{ StringSigil/} StringSigil/[ StringSigil/] StringSigil/( StringSigil/)":E.string,"Sigil Sigil/SigilName Sigil/SigilModifiers Sigil/QuotedContent Sigil/{ Sigil/} Sigil/[ Sigil/] Sigil/( Sigil/)":E.special(E.string),EscapeSequence:E.escape,"Interpolation/#{ Interpolation/}":E.special(E.brace),"( )":E.paren,"[ ]":E.squareBracket,"% { }":E.brace,", ;":E.separator,"<< >>":E.angleBracket,"fn do end catch rescue after else":E.keyword,Operator:E.operator,WordOperator:E.keyword,"CaptureOperand/Integer":E.operator,"AtOperator/Operator AtOperator/Identifier AtOperator/Boolean AtOperator/Nil AtOperator/Call/Identifier":E.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/StringSigil DocAtOperator/Call/Arguments/StringSigil/QuotedContent DocAtOperator/Call/Arguments/StringSigil/SigilName DocAtOperator/Call/Arguments/StringSigil/SigilModifiers DocAtOperator/Call/Arguments/StringSigil/{ DocAtOperator/Call/Arguments/StringSigil/} DocAtOperator/Call/Arguments/StringSigil/[ DocAtOperator/Call/Arguments/StringSigil/] DocAtOperator/Call/Arguments/StringSigil/( DocAtOperator/Call/Arguments/StringSigil/)":E.docString,"Call/Identifier Call/UnderscoredIdentifier":E.function(E.variableName),"Call/Dot/Right/Identifier Call/Dot/Right/SpecialIdentifier Call/Dot/Right/UnderscoredIdentifier":E.function(E.variableName),"Call/Dot/Atom":E.namespace,"PipeOperator/Right/Identifier":E.function(E.variableName),"FunctionDefinitionCall/Identifier":E.keyword,"FunctionDefinitionCall/Arguments/Identifier FunctionDefinitionCall/Arguments/UnderscoredIdentifier FunctionDefinitionCall/Arguments/SpecialIdentifier":E.definition(E.function(E.variableName)),"FunctionDefinitionCall/Arguments/Call/Identifier FunctionDefinitionCall/Arguments/Call/UnderscoredIdentifier FunctionDefinitionCall/Arguments/Call/SpecialIdentifier":E.definition(E.function(E.variableName)),"FunctionDefinitionCall/Arguments/WhenOperator/Identifier FunctionDefinitionCall/Arguments/WhenOperator/UnderscoredIdentifier FunctionDefinitionCall/Arguments/WhenOperator/SpecialIdentifier":E.definition(E.function(E.variableName)),"FunctionDefinitionCall/Arguments/WhenOperator/Call/Identifier FunctionDefinitionCall/Arguments/WhenOperator/Call/UnderscoredIdentifier FunctionDefinitionCall/Arguments/WhenOperator/Call/SpecialIdentifier":E.definition(E.function(E.variableName)),"FunctionDefinitionCall/Arguments/PipeOperator/Right/Identifier":E.variableName,"KernelCall/Identifier":E.keyword}),Nte={__proto__:null,when:432,def:446,defdelegate:448,defguard:450,defguardp:452,defmacro:454,defmacrop:456,defn:458,defnp:460,defp:462,defexception:464,defimpl:466,defmodule:468,defoverridable:470,defprotocol:472,defstruct:474,alias:476,case:478,cond:480,for:482,if:484,import:486,quote:488,raise:490,receive:492,require:494,reraise:496,super:498,throw:500,try:502,unless:504,unquote:506,unquote_splicing:508,use:510,with:512,true:514,false:516,nil:518,not:588,do:600,after:604,rescue:608,catch:612,else:616,end:618,and:624,in:626,or:628,fn:630},qte={__proto__:null,__MODULE__:436,__DIR__:438,__ENV__:440,__CALLER__:442,__STACKTRACE__:444},iR=Mt.deserialize({version:14,states:"$CWQ'_Q!7uOOP'iOMhOOOOQ<R'#Gq'#GqO'nQ##|O'#GxO'|Q##|O'#GzO([Q!:kO'#CvOOQ<u'#D['#D[OOQ<u'#D^'#D^OOQ<u'#G}'#G}OOQ8a'#Dg'#DgOOQ8a'#Hz'#HzO.gQ##|O'#H}O.uQ##|O'#IPO/TQ!LbO'#DkOOQ8a'#IR'#IRO/cQ!:kO'#DuO/pQ!:kO'#DwO/}Q!:kO'#DxO0[Q!7uO'#FaO6WQ!6UO'#D}O0[Q!7uO'#FaOOQ9]'#EU'#EUOcQ!7uO'#ETO<XQ!7uO'#FaOOQ8a'#Im'#ImQ>YQ!6yOOO>dQ!;_O'#GsOOQ8a'#E]'#E]OEwQ!;_O'#GsOOQ8a'#Ej'#EjO>dQ!;_O'#GsOOQ8a'#Ek'#EkOOQ8a'#Iq'#IqO!&fQ!;_O'#FmO!&pQMxO'#FRO!&uQ!6yO'#IpOOQ8a'#Ip'#IpO!/aQ!7uO'#D{OOQ8a'#FW'#FWOOQ9]'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$aX'v$aX~P#:rO%Z'dX'h'dX~P%(cO!doa%ioa!boa!noa%Soa%Xoa%foavoa'joa'loa'noa'poa'qoa~P<fOQ$WO!r4fO!}#qO#e1cO#f1mO#g1wO#h2^O#i2hO#j2rO#k2|O#l3WO#m3bO#n3vO#o4QO#p4pO#q4pO#r4zO#{4[O#}2SO$X5aO%TwO%U#rO%p!UO't!aO'u!bO'v!`O~O%ioavoa%Xoa%foa'qoa'joa'loa'noa'poa~P,=rO%Soa%Xoa%Zoa%foa%ioa'hoa!doa!boa!noavoa'qoa'joa'loa'noa'poa~P#@POQ$WO!r4mO!}#qO#e1jO#f1tO#g2PO#h2eO#i2oO#j2yO#k3TO#l3_O#m3iO#n3}O#o4XO#p4wO#q4wO#r5RO#{4cO#}2ZO$X5hO%TwO%U#rO%p!UO't!aO'u!bO'v!`O~Ovoa|oa%ioa~P,AYOQ$WO!r4gO!}#qO#e1dO#f1nO#g1xO#h2_O#i2iO#j2sO#k2}O#l3XO#m3cO#n3wO#o4RO#p4qO#q4qO#r4{O#{4]O#}2TO$X5bO%TwO%U#rO%p!UO't!aO'u!bO'v!`O~O!aoa%ioa~P,CZOvoa|oa%Xoa%Zoa%foa%ioa'hoa'joa'loa'noa'poa'qoa~P,0SO!aoa%Zoa%ioa'hoa~P,2pO%i5wO%Sna%Xna%fna!dna!bna!nnavna'qna'jna'lna'nna'pna~P(=hOQna!rna!}na#ena#fna#gna#hna#ina#jna#kna#lna#mna#nna#ona#pna#qna#rna#{na#}na$Xna%Tna%Una%Xna%fna%pna'tna'una'vnavna'jna'lna'nna'pna'qna~O%i5xO%Sna!dna!bna!nna~P,G`O%i5yO~P,G`OQna!ana!rna!}na#ena#fna#gna#hna#ina#jna#kna#lna#mna#nna#ona#pna#qna#rna#{na#}na$Xna%Tna%Una%pna'tna'una'vna~O%i5{O~P,JWOvna|na%pnaQna!rna!}na#ena#fna#gna#hna#ina#jna#kna#lna#mna#nna#ona#pna#qna#rna#{na#}na$Xna%Tna%Una't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4]4^4_4`4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x4y4z4{4|4}5O5P5Q5R5S5T5U5V5W5X5Y5Z5[5]5^5_5`5a5b5c5d5e5f5g5h5k5l5m5n6W6Y6Z9y9z9{:O:P:S:T:U:V:W:Y:Z:[:]:^:`:a:b:c:d:e:f:g:h:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;r;s;x;y;z;{;|;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<[<]<^<_<`<a<b<d<e<f<g<h<i<j<k<l<m<n<o<p<q<r<s<t=l=n=o",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 StringSigil 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:323,nodeProps:[["closedBy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{43:1,79:-1,150:-1},specialized:[{term:199,get:t=>Nte[t]||-1},{term:200,get:t=>qte[t]||-1}],tokenPrec:42923});var nR=Vt.define({name:"elixir",parser:iR.configure({props:[zt.add({"DoBlock AfterBlock ElseBlock CatchBlock RescueBlock":Xw(Si({except:/^\s*(after|else|catch|rescue|end)\b/})),AnonymousFunction:Xw(Oi({closing:"end",align:!1})),Block:Xw(Oi({closing:")",align:!1})),StabClause:Si(),List:Oi({closing:"]",align:!1}),Tuple:Oi({closing:"}",align:!1}),Bitstring:Oi({closing:">>",align:!1}),Arguments:Oi({closing:")",align:!1}),Map:Oi({closing:"}",align:!1}),"String Charlist Sigil":dp,BinaryOperator:Si(),Pair:Si()}),Ut.add({"DoBlock Block List Tuple Bitstring AnonymousFunction":En,Map:jte})]}),languageData:{commentTokens:{line:"#"},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["~s","~S","~r","~R","~c","~C","~D","~N"]},indentOnInput:/^\s*([\}\]\)]|>>|after|else|catch|rescue|end)|.*->$/}});function Xw(t){return e=>{var i,n,r,o;let s=e.node.childBefore(e.pos);return((n=(i=e.node.lastChild)===null||i===void 0?void 0:i.type)===null||n===void 0?void 0:n.name)==="end"&&e.textAfter.endsWith("end")?e.baseIndentFor(e.node):((r=s==null?void 0:s.type)===null||r===void 0?void 0:r.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 jte(t){let e=t.getChild("{"),i=t.getChild("}");return e&&i?{from:e.to,to:i.from}:null}var Wte=t=>{let{state:e,dispatch:i}=t,n=qe(e),r=br(e),o=!0,s=e.changeByRange(a=>{if(!a.empty||!nR.isActiveAt(e,a.from))return o=!1,{range:a};let l=n.resolve(a.from,-1),c=Vte(l);if(c&&!Zte(c)){let u=kl(e,c.from+1)||r,f=Gr(e,u),d=Gr(e,u-r),O=`
${f}`,m=`
${d}end`,x=a.from+O.length;return{range:K.cursor(x),changes:[{from:a.from,to:a.to,insert:O+m}]}}return o=!1,{range:a}});return o?(i(e.update(s,{scrollIntoView:!0,userEvent:"input"})),!0):!1};function Vte(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&&rR(e)?e:null}function rR(t){return t.type.name==="DoBlock"||t.type.name==="AnonymousFunction"}function Zte(t){var e,i;let n=t;for(;n;){if(rR(n)&&((i=(e=n.lastChild)===null||e===void 0?void 0:e.type)===null||i===void 0?void 0:i.name)!=="end")return!1;n=n.parent}return!0}var Bte=[{key:"Enter",run:Wte}];function oR(){let t=[Dt.high(hi.of(Bte))];return new mt(nR,t)}var sR=_t.of({name:"Elixir",support:oR()}),aR=_t.of({name:"Erlang",support:new mt(Js.define(wX))}),lR=_t.of({name:"SQL",support:S$()}),cR=_t.of({name:"Python",support:iX()}),uR=_t.of({name:"YAML",support:OX()}),fR=_t.of({name:"JSON",support:Q$()}),hR=_t.of({name:"XML",support:z$()}),dR=_t.of({name:"CSS",support:$p()}),OR=_t.of({name:"HTML",support:Lp()}),pR=_t.of({name:"JavaScript",support:Xp()}),mR=_t.of({name:"Dockerfile",support:new mt(Js.define(QX))}),gR=_t.of({name:"Shell",support:new mt(Js.define(RX))}),bR=_t.of({name:"TOML",alias:["pyproject.toml"],support:new mt(Js.define(LX))}),Yte=_t.of({name:"Markdown",support:c$({base:Ip,codeLanguages:[sR,aR,lR,cR,uR,fR,hR,dR,OR,pR,mR,gR,bR]})}),Jp=[sR,aR,lR,cR,uR,fR,hR,dR,OR,pR,mR,gR,bR,Yte];function yR(t,{dark:e}){let i={sans:"Inter",mono:"JetBrains Mono, monospace"};return fe.theme({"&":{color:t.text,backgroundColor:t.background,borderRadius:"8px",fontSize:"14px",fontFamily:i.mono,display:"inline-flex !important",width:"100%"},"&.cm-focused":{outline:"none"},".cm-scroller":{fontFamily:"inherit",padding:"0.75rem 0"},".cm-content":{caretColor:t.cursor,padding:"0"},"*":{"&":{scrollbarWidth:"thin",scrollbarColor:`${t.backgroundLightest} transparent`},"&::-webkit-scrollbar":{width:"8px",height:"8px"},"&::-webkit-scrollbar-thumb":{background:t.backgroundLightest},"&::-webkit-scrollbar-track":{background:"transparent"}},".cm-activeLine":{backgroundColor:"transparent"},"&.cm-focused:not(.cm-selecting) .cm-activeLine":{backgroundColor:t.activeLine},".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},"&:not(.cm-focused) .cm-fat-cursor":{outline:"none !important"},".cm-gutters":{backgroundColor:t.background,color:t.gutterText,border:"none"},".cm-gutters .cm-activeLineGutter":{backgroundColor:"transparent"},"&.cm-focused:not(.cm-selecting) .cm-gutters .cm-activeLineGutter":{backgroundColor:t.activeLine},".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:"transparent",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-completionInfoDocs":{padding:"6px"}},".cm-tooltip .cm-hoverDocs":{maxWidth:"800px",maxHeight:"300px",overflowY:"auto",display:"flex",flexDirection:"column","& .cm-hoverDocsDefinitionLink":{padding:"4px 8px",cursor:"pointer",fontSize:"0.875em",fontFamily:i.sans,opacity:.8,borderBottom:`1px solid ${t.separator}`,"& i":{marginRight:"2px"}},"& .cm-hoverDocsContents":{padding:"8px",display:"flex",flexDirection:"column",gap:"64px"}},".cm-hoverDocsSelection":{backgroundColor:t.selectionMatchBackground},".cm-tooltip.cm-signatureHint":{"& .cm-signatureHintStepper":{borderColor:t.separator},"& .cm-signatureHintActiveArgument":{color:t.matchingText}},".cm-tooltip-lint":{display:"flex",flexDirection:"column",gap:"8px",maxWidth:"600px","& .cm-diagnostic":{display:"flex",border:"none",margin:"0","&::before":{content:"'\u279C'",fontVariantLigatures:"common-ligatures",fontSize:"1.5em",lineHeight:"1",whiteSpace:"nowrap",marginRight:"6px"},"&.cm-diagnostic-error::before":{color:"#be5046"},"&.cm-diagnostic-warning::before":{color:"#d19a66"}}},".cm-panel.cm-search":{display:"flex",alignItems:"center",flexWrap:"wrap",padding:"8px",background:t.background,"& br":{content:'" "',display:"block",width:"100%"},"& .cm-textfield":{borderRadius:"4px",border:`1px solid ${t.border}`,"&:focus":{outline:"none"}},"& .cm-button":{borderRadius:"4px",background:t.backgroundLightest,border:"none","&:focus-visible":{outline:`1px solid ${t.text}`}},"& 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"},"&:focus-visible":{outline:`1px solid ${t.text}`}},'& button[name="close"]':{display:"none"}},".cm-markdown":{"&":{fontFamily:i.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"},"& ul":{marginTop:"1rem",marginBottom:"1rem",marginLeft:"2rem",listStylePosition:"outside",listStyleType:"disc","& ul":{listStyleType:"circle","& ul":{listStyleType:"square"}}},"& li":{marginTop:"0.25rem",marginBottom:"0.25rem","& > ul, & > ol":{marginTop:"0",marginBottom:"0"}},"& ol":{marginTop:"1rem",marginBottom:"1rem",marginLeft:"2rem",listStylePosition:"outside",listStyleType:"decimal"},"& code":{background:t.selectionBackground,borderRadius:"3px"},"& pre":{marginTop:"0.5rem",marginBottom:"0.5rem","& code":{background:"transparent",whiteSpace:"pre-wrap"}},"& > :first-child":{marginTop:"0"},"& > :last-child":{marginBottom:"0"}}},{dark:e})}function xR({base:t,lightRed:e,blue:i,gray:n,green:r,purple:o,red:s,teal:a,peach:l,yellow:c}){return xl.define([{tag:E.keyword,color:o},{tag:E.null,color:i},{tag:E.bool,color:i},{tag:E.number,color:i},{tag:E.string,color:r},{tag:E.special(E.string),color:c},{tag:E.character,color:i},{tag:E.escape,color:i},{tag:E.atom,color:i},{tag:E.variableName,color:t},{tag:E.special(E.variableName),color:e},{tag:[E.function(E.variableName),E.function(E.propertyName)],color:i},{tag:E.namespace,color:a},{tag:E.operator,color:l},{tag:E.comment,color:n},{tag:[E.docString,E.docComment],color:n},{tag:[E.paren,E.squareBracket,E.brace,E.angleBracket,E.separator],color:t},{tag:E.special(E.brace),color:s},{tag:E.strong,fontWeight:"bold"},{tag:E.emphasis,fontStyle:"italic"},{tag:E.strikethrough,textDecoration:"line-through"},{tag:E.link,color:i},{tag:E.heading,color:e},{tag:E.monospace,color:r},{tag:E.propertyName,color:e},{tag:E.tagName,color:o},{tag:E.className,color:l}])}var Fte=yR({text:"#c8ccd4",background:"#282c34",backgroundLighter:"#2f343e",backgroundLightest:"#454a56",border:"#363c46",cursor:"#73ade8",activeLine:"#2d323b",selectionBackground:"#394c5f",inactiveSelectionBackground:"#29333d",selectionMatchBackground:"#343f4d",gutterText:"#c8ccd4",lineNumber:"#60646c",lineNumberActive:"#c8ccd4",matchingText:"#73ade8",searchMatchBackground:"#4c6582",searchMatchActiveBackground:"#54789e",separator:"#464b57"},{dark:!0}),Rw=xR({base:"#c8ccd4",lightRed:"#e06c75",blue:"#61afef",gray:"#8c92a3",green:"#98c379",purple:"#c678dd",red:"#be5046",teal:"#56b6c2",peach:"#d19a66",yellow:"#e5c07b"}),vR=[Fte,Sx(Rw)],Hte=yR({text:"#383a41",background:"#fafafa",backgroundLighter:"#ebebec",backgroundLightest:"#cacaca",border:"#dfdfe0",cursor:"#5c79e2",activeLine:"#efeff0",selectionBackground:"#d4dbf4",inactiveSelectionBackground:"#ebeef9",selectionMatchBackground:"#d3d5e1",gutterText:"#383a41",lineNumber:"#b6b7b9",lineNumberActive:"#383a41",matchingText:"#73ade8",searchMatchBackground:"#bbc6f1",searchMatchActiveBackground:"#9daeec",separator:"#c9c9ca"},{dark:!1}),Lw=xR({base:"#304254",lightRed:"#e45649",blue:"#4078F2",gray:"#707177",green:"#50a14f",purple:"#a726a4",red:"#ca1243",teal:"#0084bc",peach:"#986801",yellow:"#c18401"}),wR=[Hte,Sx(Lw)];var AR=Xa(ER()),$R=Xa(CR()),Iw=Xa(_R());function Ul(){return/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)}function ss(t){return t.matches&&t.matches("input, textarea, [contenteditable]")}function Dw(t,e=0){let i=t.getBoundingClientRect();return i.bottom>=-e&&i.top<=window.innerHeight+e}function vr(t){return t.offsetParent===null}function XR(t){let e=null;return new Promise((i,n)=>{vr(t)?(e=new ResizeObserver(r=>{vr(t)||(e.disconnect(),i())}),e.observe(t)):i()})}function om(t,{root:e=null,proximity:i=0}={}){let n=null;return{promise:new Promise((s,a)=>{Gte(t,i)?s():(n=new IntersectionObserver(l=>{l[0].isIntersecting&&(n.disconnect(),n=null,s())},{root:e,rootMargin:`${i}px`}),n.observe(t))}),cancel:()=>{n&&n.disconnect()}}}function Gte(t,e=0){return!vr(t)&&Dw(t,e)}function RR(t,e,i){return Math.min(Math.max(t,e),i)}function LR(t){let e=window.getComputedStyle(t),i=parseInt(e.lineHeight,10);if(Number.isNaN(i)){let n=t.cloneNode();n.innerHTML="<br>",t.appendChild(n);let r=n.clientHeight;n.innerHTML="<br><br>";let o=n.clientHeight;return t.removeChild(n),o-r}else return i}function IR(t){let e=window.getSelection(),i=document.createRange();i.selectNodeContents(t),e.removeAllRanges(),e.addRange(i)}function ma(t){let{height:e}=t.getBoundingClientRect();e<window.innerHeight?t.scrollIntoView({behavior:"smooth",block:"center"}):t.scrollIntoView({behavior:"smooth",block:"start"})}function DR(t){return Math.abs(t.scrollHeight-t.clientHeight-t.scrollTop)<1}function Cf(t){t.scrollTop=t.scrollHeight}function zR(t){return btoa(unescape(encodeURIComponent(t)))}function UR(t){return decodeURIComponent(escape(atob(t)))}function MR(){return qR(24)}function NR(){return qR(40)}function qR(t){let e=new Uint8Array(t);crypto.getRandomValues(e);let i=String.fromCharCode(...e);return btoa(i)}function sm(t){return(0,AR.default)(t).toString(Iw.default)}function jR(t){return(0,$R.default)(t).toString(Iw.default)}function am(t){let e=document.querySelector('[rel="icon"]');e||(e=document.createElement("link"),e.rel="icon",document.head.appendChild(e)),e.href=`/favicons/${t}.svg`}function co(t,e){let i=t.querySelector(e);if(!i)throw new Error(`expected a child matching ${e}, but none was found`);return i}function Qn(t){t.preventDefault(),t.stopPropagation()}var Kte={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39"};function Qf(t){return(t||"").replace(/[&<>"']/g,e=>Kte[e])}function WR(t){let e=atob(t),i=new Uint8Array(e.length),n=i.byteLength;for(let r=0;r<n;r++)i[r]=e.charCodeAt(r);return i.buffer}function lm(){return document.body.hasAttribute("data-within-iframe")?";SameSite=None;Secure":";SameSite=Lax"}function cm(t,e,i=void 0){if(t.hasOwnProperty(e)){let n=t,{[e]:r}=n,o=gi(n,[OS(e)]);return[r,o]}return[i,t]}function VR(t){return new Promise((e,i)=>{setTimeout(()=>e(),t)})}function ZR(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function BR(t,e,i){let n={};for(let r in e)n[r]=t.style[r],t.style[r]=e[r];i(),Object.assign(t.style,n)}var Gt=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 i=this.callbacks.indexOf(e);i!==-1&&this.callbacks.splice(i,1)}dispatch(...e){this.callbacks.forEach(i=>{i(...e)})}};var YR="settings",_f={normal:14,large:16},Jte={default:"default",emacs:"emacs",vim:"vim"},Ml={default:"default",light:"light"},eie={editor_auto_completion:!0,editor_auto_signature:!0,editor_auto_close_brackets:!0,editor_font_size:_f.normal,editor_theme:Ml.default,editor_ligatures:!1,editor_markdown_word_wrap:!0,editor_mode:Jte.default,custom_view_show_section:!0,custom_view_show_markdown:!0,custom_view_show_code:!0,custom_view_show_output:!0,custom_view_spotlight:!1},zw=class{constructor(){lt(this,"_onChange",new Gt);this.settings=eie,this.loadSettings()}get(){return this.settings}update(e){let i=this.settings;this.settings=Y(Y({},this.settings),e),this._onChange.dispatch(this.settings,i),this.storeSettings()}getAndSubscribe(e){return e(this.settings),this._onChange.addListener(e)}loadSettings(){let e=ks(YR);e&&(Object.values(Ml).includes(e.editor_theme)||delete e.editor_theme,this.settings=Y(Y({},this.settings),e))}storeSettings(){za(YR,this.settings)}},gt=new zw;function um(t,e){let i=_t.matchLanguageName(Jp,e);if(!i)return Qf(t);let n=tie();Zi.mount(window.document,n.module);let r=i.support.language.parser.parse(t),o="";return gQ(t,r,n,(s,a)=>{o+=`<span class="${a}">${Qf(s)}</span>`},()=>{o+="<br />"}),o}function tie(){return gt.get().editor_theme==="light"?Lw:Rw}var Af=class{constructor(e){this.size=e,this.cache=new Map}get(e){if(this.cache.has(e)){let i=this.cache.get(e);return this.cache.delete(e),this.cache.set(e,i),i}else return}set(e,i){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size===this.size){let n=this.cache.keys().next().value;this.cache.delete(n)}this.cache.set(e,i)}};var iie=0,nie=()=>`mermaid-graph-${iie++}`,rie="5.15.4",FR=new Af(25);function HR(t,e){let i=sm(t),n=FR.get(i);return n?Promise.resolve(n):oie().then(r=>(sie(t),r.initialize(Y({startOnLoad:!1},e)),r.render(nie(),t).then(({svg:o})=>(FR.set(i,o),o)).catch(o=>`<div class="error-box whitespace-pre-wrap"><span class="font-semibold">Mermaid</span>
${o.message}</div>`)))}function oie(){return import("./mermaid.core-PK4ATILI.js").then(({default:t})=>t)}function sie(t){let e=`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/${rie}/css/all.min.css`;if(t.includes("fa:")&&!document.querySelector(`link[href="${e}"]`)){let i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.href=e,document.head.appendChild(i)}}var Uw=class{constructor(e,i,{baseUrl:n=null,defaultCodeLanguage:r=null,emptyText:o="",allowedUriSchemes:s=[],useDarkTheme:a=!1}={}){this.container=e,this.content=i,this.baseUrl=n,this.defaultCodeLanguage=r,this.emptyText=o,this.allowedUriSchemes=s,this.useDarkTheme=a,this.render()}setContent(e){this.content=e,this.render()}render(){this.getHtml().then(e=>{let i=`<div>${e}</div>`;pT(this.container,i,{childrenOnly:!0})})}getHtml(){return Zh().use(nd).use(dd).use(Od).use(fie).use(lie,{highlight:um,defaultLanguage:this.defaultCodeLanguage}).use(kd,{allowDangerousHtml:!0}).use(Fd).use(cie,{baseUrl:this.baseUrl}).use(Jd,aie(this.allowedUriSchemes)).use(Gd).use(hie,{useDarkTheme:this.useDarkTheme}).use(die,{baseUrl:this.baseUrl}).use(oO,{closeEmptyElements:!0}).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>
`)}},ga=Uw;function aie(t){return Ee(Y({},qn),{attributes:Ee(Y({},qn.attributes),{"*":[...qn.attributes["*"]||[],"className","style"]}),protocols:Ee(Y({},qn.protocols),{href:[...qn.protocols.href,...t]})})}function lie(t){return e=>{let i=[];return yi(e,"code",n=>{let r=n.lang||t.defaultLanguage;if(r){let o=function(a){n.type="html",n.value=`<pre><code>${a}</code></pre>`},s=t.highlight(n.value,r);if(s&&typeof s.then=="function"){let a=Promise.resolve(s).then(o);i.push(a)}else o(s)}}),Promise.all(i).then(()=>null)}}function cie(t){return e=>{t.baseUrl&&yi(e,"element",i=>{if(i.tagName==="a"&&i.properties){let n=i.properties.href;n&&!Mw(n)&&!Nw(n)&&!Oie(n)&&(i.properties.href=GR(t.baseUrl,n))}if(i.tagName==="img"&&i.properties){let n=i.properties.src;n&&!Mw(n)&&!Nw(n)&&(i.properties.src=GR(t.baseUrl,n))}}),yi(e,"element",i=>{i.tagName==="a"&&i.properties&&i.properties.href&&(i.properties.href=i.properties.href.split("/").map(n=>n===".."?"__parent__":n).join("/"))})}}var uie=Zh().use(Kd,{fragment:!0});function fie(t){return e=>{yi(e,"code",(i,n,r)=>{i.lang==="mermaid"&&(i.type="html",i.value=`
<div class="mermaid">${Qf(i.value)}</div>
`)})}}function hie(t){return e=>{let i=[];return yi(e,"element",n=>{if((n.properties&&Array.isArray(n.properties.className)?n.properties.className:[]).includes("mermaid")){let o=function(c){let u=uie.parse(c);b1(u,!0),n.children=u.children},s=pu(n,{whitespace:"pre"}),a=t.useDarkTheme?"dark":"default",l=HR(s,{theme:a}).then(o);i.push(l)}}),Promise.all(i).then(()=>null)}}function die(t){return e=>{yi(e,"element",i=>{if(i.properties&&i.properties.href){let n=i.properties.href;Nw(n)?(i.properties["data-phx-link"]=t.baseUrl&&n.startsWith(t.baseUrl)?"patch":"redirect",i.properties["data-phx-link-state"]="push"):Mw(n)&&(i.properties.target="_blank",i.properties.rel="noreferrer noopener")}})}}function Mw(t){return/^(?:[a-z]+:)?\/\//i.test(t)}function Oie(t){return t.startsWith("#")}function Nw(t){return t.startsWith("/")||t.startsWith(window.location.origin)}function GR(t,e){return t.replace(/\/$/,"")+"/"+e}var Nl=class{constructor(){this.subscribersByTopic={}}subscribe(e,i){return Array.isArray(this.subscribersByTopic[e])||(this.subscribersByTopic[e]=[]),this.subscribersByTopic[e].push(i),{destroy:()=>{this.unsubscribe(e,i)}}}unsubscribe(e,i){let n=this.subscribersByTopic[e].indexOf(i);n!==-1&&(this.subscribersByTopic[e].splice(n,1),this.subscribersByTopic[e].length===0&&delete this.subscribersByTopic[e])}broadcast(e,i){Array.isArray(this.subscribersByTopic[e])&&this.subscribersByTopic[e].forEach(n=>{n(i)})}},at=new Nl;var KR=t=>typeof t=="object"&&t!=null&&t.nodeType===1,JR=(t,e)=>(!e||t!=="hidden")&&t!=="visible"&&t!=="clip",qw=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){let i=getComputedStyle(t,null);return JR(i.overflowY,e)||JR(i.overflowX,e)||(n=>{let r=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch(s){return null}})(n);return!!r&&(r.clientHeight<n.scrollHeight||r.clientWidth<n.scrollWidth)})(t)}return!1},fm=(t,e,i,n,r,o,s,a)=>o<t&&s>e||o>t&&s<e?0:o<=t&&a<=i||s>=e&&a>=i?o-t-n:s>e&&a<i||o<t&&a>i?s-e+r:0,pie=t=>{let e=t.parentElement;return e==null?t.getRootNode().host||null:e},jw=(t,e)=>{var i,n,r,o;if(typeof document=="undefined")return[];let{scrollMode:s,block:a,inline:l,boundary:c,skipOverflowHiddenElements:u}=e,f=typeof c=="function"?c:ne=>ne!==c;if(!KR(t))throw new TypeError("Invalid target");let d=document.scrollingElement||document.documentElement,O=[],m=t;for(;KR(m)&&f(m);){if(m=pie(m),m===d){O.push(m);break}m!=null&&m===document.body&&qw(m)&&!qw(document.documentElement)||m!=null&&qw(m,u)&&O.push(m)}let x=(n=(i=window.visualViewport)==null?void 0:i.width)!=null?n:innerWidth,v=(o=(r=window.visualViewport)==null?void 0:r.height)!=null?o:innerHeight,{scrollX:w,scrollY:T}=window,{height:A,width:L,top:D,right:P,bottom:N,left:le}=t.getBoundingClientRect(),H=a==="start"||a==="nearest"?D:a==="end"?N:D+A/2,M=l==="center"?le+L/2:l==="end"?P:le,ie=[];for(let ne=0;ne<O.length;ne++){let re=O[ne],{height:de,width:pe,top:ve,right:j,bottom:ue,left:Z}=re.getBoundingClientRect();if(s==="if-needed"&&D>=0&&le>=0&&N<=v&&P<=x&&D>=ve&&N<=ue&&le>=Z&&P<=j)return ie;let C=getComputedStyle(re),W=parseInt(C.borderLeftWidth,10),oe=parseInt(C.borderTopWidth,10),I=parseInt(C.borderRightWidth,10),Ne=parseInt(C.borderBottomWidth,10),We=0,Ve=0,Et="offsetWidth"in re?re.offsetWidth-re.clientWidth-W-I:0,Xe="offsetHeight"in re?re.offsetHeight-re.clientHeight-oe-Ne:0,Rt="offsetWidth"in re?re.offsetWidth===0?0:pe/re.offsetWidth:0,Lt="offsetHeight"in re?re.offsetHeight===0?0:de/re.offsetHeight:0;if(d===re)We=a==="start"?H:a==="end"?H-v:a==="nearest"?fm(T,T+v,v,oe,Ne,T+H,T+H+A,A):H-v/2,Ve=l==="start"?M:l==="center"?M-x/2:l==="end"?M-x:fm(w,w+x,x,W,I,w+M,w+M+L,L),We=Math.max(0,We+T),Ve=Math.max(0,Ve+w);else{We=a==="start"?H-ve-oe:a==="end"?H-ue+Ne+Xe:a==="nearest"?fm(ve,ue,de,oe,Ne+Xe,H,H+A,A):H-(ve+de/2)+Xe/2,Ve=l==="start"?M-Z-W:l==="center"?M-(Z+pe/2)+Et/2:l==="end"?M-j+I+Et:fm(Z,j,pe,W,I+Et,M,M+L,L);let{scrollLeft:dn,scrollTop:On}=re;We=Math.max(0,Math.min(On+We/Lt,re.scrollHeight-de/Lt+Xe)),Ve=Math.max(0,Math.min(dn+Ve/Rt,re.scrollWidth-pe/Rt+Et)),H+=On-We,M+=dn-Ve}ie.push({el:re,top:We,left:Ve})}return ie};var mie=t=>t===!1?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&Object.keys(e).length!==0)(t)?t:{block:"start",inline:"nearest"};function hm(t,e){if(!t.isConnected||!(r=>{let o=r;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 i=(r=>{let o=window.getComputedStyle(r);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(t);if((r=>typeof r=="object"&&typeof r.behavior=="function")(e))return e.behavior(jw(t,e));let n=typeof e=="boolean"||e==null?void 0:e.behavior;for(let{el:r,top:o,left:s}of jw(t,mie(e))){let a=o-i.top+i.bottom,l=s-i.left+i.right;r.scroll({top:a,left:l,behavior:n})}}function ba(t){return["code","smart"].includes(t)}function e6(t){return["markdown","code"].includes(t)}var gie={mounted(){this.props=this.getProps(),this.isFocused=!1,this.insertMode=!1,this.liveEditors={},this.updateInsertModeAvailability();let t=this.el.querySelector("[data-el-amplify-outputs-button]");t&&t.addEventListener("click",e=>{this.el.toggleAttribute("data-js-amplified")}),this.props.type==="smart"&&this.el.querySelector("[data-el-toggle-source-button]").addEventListener("click",i=>{this.el.toggleAttribute("data-js-source-visible"),this.updateInsertModeAvailability(),this.maybeFocusCurrentEditor()}),this.el.addEventListener("lb:cell:editor_created",e=>{let{tag:i,liveEditor:n}=e.detail;this.handleCellEditorCreated(i,n)}),this.el.addEventListener("lb:cell:editor_removed",e=>{let{tag:i}=e.detail;this.handleCellEditorRemoved(i)}),this.el.addEventListener("mouseenter",e=>{this.el.setAttribute("data-js-hover","")}),this.el.addEventListener("mouseleave",e=>{this.el.removeAttribute("data-js-hover")}),this.subscriptions=[at.subscribe("navigation:focus_changed",({focusableId:e,scroll:i})=>this.handleElementFocused(e,i)),at.subscribe("navigation:insert_mode_changed",({enabled:e})=>this.handleInsertModeChanged(e)),at.subscribe("cells:cell_moved",({cellId:e})=>this.handleCellMoved(e)),at.subscribe(`cells:${this.props.cellId}:dispatch_queue_evaluation`,({dispatch:e})=>this.handleDispatchQueueEvaluation(e)),at.subscribe(`cells:${this.props.cellId}:jump_to_line`,({line:e,offset:i=0})=>this.handleJumpToLine(e,i))],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 Ot(this.el,["cell-id","type","session-path","evaluation-digest","smart-cell-js-view-ref","allowed-uri-schemes"])},handleElementFocused(t,e){this.props.cellId===t?(this.isFocused=!0,this.el.setAttribute("data-js-focused",""),e&&ma(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(()=>{setTimeout(()=>{this.isFocused&&this.insertMode&&this.currentEditor().focus()},0)}),e.onFocus(()=>{setTimeout(()=>{!this.isFocused||!this.insertMode?this.currentEditor().blur():this.sendCursorHistory()},0)}),e.onSelectionChange(()=>{this.isFocused&&this.sendCursorHistory()}),t==="primary"){let i=e.getSource();if(this.el.toggleAttribute("data-js-empty",i===""),e.onChange(n=>{this.el.toggleAttribute("data-js-empty",n==="")}),this.props.type==="markdown"){let n=this.el.querySelector("[data-el-markdown-container]"),r=new ga(n,i,{baseUrl:this.props.sessionPath,emptyText:"Empty markdown cell",allowedUriSchemes:this.props.allowedUriSchemes});e.onChange(o=>{r.setContent(o)})}ba(this.props.type)&&(this.updateChangeIndicator(),e.onChange(n=>{this.updateChangeIndicator()}),this.handleEvent(`evaluation_finished:${this.props.cellId}`,({code_markers:n})=>{e.setCodeMarkers(n)}),this.handleEvent(`start_evaluation:${this.props.cellId}`,()=>{e.clearDoctests()}),this.handleEvent(`doctest_report:${this.props.cellId}`,n=>{e.updateDoctests([n])}),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 i=this.liveEditors.primary.getSource(),n=sm(i),r=this.props.evaluationDigest!==n;this.el.toggleAttribute("data-js-changed",r)}},handleInsertModeChanged(t){this.isFocused&&!this.insertMode&&t?(this.insertMode=t,this.el.setAttribute("data-js-insert-mode",""),this.currentEditor()&&(this.currentEditor().focus(),this.scrollEditorCursorIntoViewIfNeeded())):this.insertMode&&!t&&(this.insertMode=t,this.el.removeAttribute("data-js-insert-mode"),this.currentEditor()&&this.currentEditor().blur())},handleCellMoved(t){this.isFocused&&t===this.props.cellId&&ma(this.el)},handleDispatchQueueEvaluation(t){this.props.type==="smart"&&this.props.smartCellJsViewRef?at.broadcast(`js_views:${this.props.smartCellJsViewRef}:sync`,{callback:t}):t()},handleJumpToLine(t,e){this.isFocused&&this.currentEditor().moveCursorToLine(t,e)},scrollEditorCursorIntoViewIfNeeded(){let t=this.currentEditor().getElementAtCursor();BR(t,{scrollMarginTop:"128px"},()=>{hm(t,{scrollMode:"if-needed",behavior:"instant",block:"start"})})},sendCursorHistory(){let t=this.currentEditor().getCurrentCursorPosition();t!==null&&at.broadcast("navigation:cursor_moved",{line:t.line,offset:t.offset,cellId:this.props.cellId})}},t6=gie;var Xf=t=>{let{state:e}=t,i=e.doc.lineAt(e.selection.main.from),n=Zw(t.state,i.from);return n.line?bie(t):n.block?yie(t):!1};function Rf(t,e){return({state:i,dispatch:n})=>{if(i.readOnly)return!1;let r=t(e,i);return r?(n(i.update(r)),!0):!1}}var bie=Rf(Bw,0),i6=Rf(Bw,1),n6=Rf(Bw,2),r6=Rf(o6,0);var yie=Rf((t,e)=>o6(t,e,vie(e)),0);function Zw(t,e){let i=t.languageDataAt("commentTokens",e);return i.length?i[0]:{}}var $f=50;function xie(t,{open:e,close:i},n,r){let o=t.sliceDoc(n-$f,n),s=t.sliceDoc(r,r+$f),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+i.length)==i)return{open:{pos:n-a,margin:a&&1},close:{pos:r+l,margin:l&&1}};let u,f;r-n<=2*$f?u=f=t.sliceDoc(n,r):(u=t.sliceDoc(n,n+$f),f=t.sliceDoc(r-$f,r));let d=/^\s*/.exec(u)[0].length,O=/\s*$/.exec(f)[0].length,m=f.length-O-i.length;return u.slice(d,d+e.length)==e&&f.slice(m,m+i.length)==i?{open:{pos:n+d+e.length,margin:/\s/.test(u.charAt(d+e.length))?1:0},close:{pos:r-O-i.length,margin:/\s/.test(f.charAt(m-1))?1:0}}:null}function vie(t){let e=[];for(let i of t.selection.ranges){let n=t.doc.lineAt(i.from),r=i.to<=n.to?n:t.doc.lineAt(i.to);r.from>n.from&&r.from==i.to&&(r=i.to==n.to+1?n:t.doc.lineAt(i.to-1));let o=e.length-1;o>=0&&e[o].to>n.from?e[o].to=r.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:r.to})}return e}function o6(t,e,i=e.selection.ranges){let n=i.map(o=>Zw(e,o.from).block);if(!n.every(o=>o))return null;let r=i.map((o,s)=>xie(e,n[s],o.from,o.to));if(t!=2&&!r.every(o=>o))return{changes:e.changes(i.map((o,s)=>r[s]?[]:[{from:o.from,insert:n[s].open+" "},{from:o.to,insert:" "+n[s].close}]))};if(t!=1&&r.some(o=>o)){let o=[];for(let s=0,a;s<r.length;s++)if(a=r[s]){let l=n[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 Bw(t,e,i=e.selection.ranges){let n=[],r=-1;for(let{from:o,to:s}of i){let a=n.length,l=1e9,c=Zw(e,o).line;if(c){for(let u=o;u<=s;){let f=e.doc.lineAt(u);if(f.from>r&&(o==s||s>f.from)){r=f.from;let d=/^\s*/.exec(f.text)[0].length,O=d==f.length,m=f.text.slice(d,d+c.length)==c?d:-1;d<f.text.length&&d<l&&(l=d),n.push({line:f,comment:m,token:c,indent:d,empty:O,single:!1})}u=f.to+1}if(l<1e9)for(let u=a;u<n.length;u++)n[u].indent<n[u].line.text.length&&(n[u].indent=l);n.length==a+1&&(n[a].single=!0)}}if(t!=2&&n.some(o=>o.comment<0&&(!o.empty||o.single))){let o=[];for(let{line:a,token:l,indent:c,empty:u,single:f}of n)(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&&n.some(o=>o.comment>=0)){let o=[];for(let{line:s,comment:a,token:l}of n)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 Vw=ki.define(),wie=ki.define(),kie=be.define(),s6=be.define({combine(t){return Qt(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,i)=>i},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,i)=>(n,r)=>e(n,r)||i(n,r)})}}),a6=Ge.define({create(){return ya.empty},update(t,e){let i=e.state.facet(s6),n=e.annotation(Vw);if(n){let l=Yn.fromTransaction(e,n.selection),c=n.side,u=c==0?t.undone:t.done;return l?u=Om(u,u.length,i.minDepth,l):u=f6(u,e.startState.selection),new ya(c==0?n.rest:u,c==0?u:n.rest)}let r=e.annotation(wie);if((r=="full"||r=="before")&&(t=t.isolate()),e.annotation(Xt.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let o=Yn.fromTransaction(e),s=e.annotation(Xt.time),a=e.annotation(Xt.userEvent);return o?t=t.addChanges(o,s,a,i,e):e.selection&&(t=t.addSelection(e.startState.selection,s,a,i.newGroupDelay)),(r=="full"||r=="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 ya(t.done.map(Yn.fromJSON),t.undone.map(Yn.fromJSON))}});function l6(t={}){return[a6,s6.of(t),fe.domEventHandlers({beforeinput(e,i){let n=e.inputType=="historyUndo"?xa:e.inputType=="historyRedo"?as:null;return n?(e.preventDefault(),n(i)):!1}})]}function Yw(t,e){return function({state:i,dispatch:n}){if(!e&&i.readOnly)return!1;let r=i.field(a6,!1);if(!r)return!1;let o=r.pop(t,i,e);return o?(n(o),!0):!1}}var xa=Yw(0,!1),as=Yw(1,!1),c6=Yw(0,!0);var Yn=class t{constructor(e,i,n,r,o){this.changes=e,this.effects=i,this.mapped=n,this.startSelection=r,this.selectionsAfter=o}setSelAfter(e){return new t(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,i,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(i=this.mapped)===null||i===void 0?void 0:i.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new t(e.changes&&Ai.fromJSON(e.changes),[],e.mapped&&Zr.fromJSON(e.mapped),e.startSelection&&K.fromJSON(e.startSelection),e.selectionsAfter.map(K.fromJSON))}static fromTransaction(e,i){let n=_n;for(let r of e.startState.facet(kie)){let o=r(e);o.length&&(n=n.concat(o))}return!n.length&&e.changes.empty?null:new t(e.changes.invert(e.startState.doc),n,void 0,i||e.startState.selection,_n)}static selection(e){return new t(void 0,_n,void 0,void 0,e)}};function Om(t,e,i,n){let r=e+1>i+20?e-i-1:0,o=t.slice(r,e);return o.push(n),o}function Sie(t,e){let i=[],n=!1;return t.iterChangedRanges((r,o)=>i.push(r,o)),e.iterChangedRanges((r,o,s,a)=>{for(let l=0;l<i.length;){let c=i[l++],u=i[l++];a>=c&&s<=u&&(n=!0)}}),n}function Tie(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((i,n)=>i.empty!=e.ranges[n].empty).length===0}function u6(t,e){return t.length?e.length?t.concat(e):t:e}var _n=[],Eie=200;function f6(t,e){if(t.length){let i=t[t.length-1],n=i.selectionsAfter.slice(Math.max(0,i.selectionsAfter.length-Eie));return n.length&&n[n.length-1].eq(e)?t:(n.push(e),Om(t,t.length-1,1e9,i.setSelAfter(n)))}else return[Yn.selection([e])]}function Pie(t){let e=t[t.length-1],i=t.slice();return i[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),i}function Ww(t,e){if(!t.length)return t;let i=t.length,n=_n;for(;i;){let r=Cie(t[i-1],e,n);if(r.changes&&!r.changes.empty||r.effects.length){let o=t.slice(0,i);return o[i-1]=r,o}else e=r.mapped,i--,n=r.selectionsAfter}return n.length?[Yn.selection(n)]:_n}function Cie(t,e,i){let n=u6(t.selectionsAfter.length?t.selectionsAfter.map(a=>a.map(e)):_n,i);if(!t.changes)return Yn.selection(n);let r=t.changes.map(e),o=e.mapDesc(t.changes,!0),s=t.mapped?t.mapped.composeDesc(o):o;return new Yn(r,Se.mapEffects(t.effects,e),s,t.startSelection.map(o),n)}var Qie=/^(input\.type|delete)($|\.)/,ya=class t{constructor(e,i,n=0,r=void 0){this.done=e,this.undone=i,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new t(this.done,this.undone):this}addChanges(e,i,n,r,o){let s=this.done,a=s[s.length-1];return a&&a.changes&&!a.changes.empty&&e.changes&&(!n||Qie.test(n))&&(!a.selectionsAfter.length&&i-this.prevTime<r.newGroupDelay&&r.joinToEvent(o,Sie(a.changes,e.changes))||n=="input.type.compose")?s=Om(s,s.length-1,r.minDepth,new Yn(e.changes.compose(a.changes),u6(Se.mapEffects(e.effects,a.changes),a.effects),a.mapped,a.startSelection,_n)):s=Om(s,s.length,r.minDepth,e),new t(s,_n,i,n)}addSelection(e,i,n,r){let o=this.done.length?this.done[this.done.length-1].selectionsAfter:_n;return o.length>0&&i-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&Tie(o[o.length-1],e)?this:new t(f6(this.done,e),this.undone,i,n)}addMapping(e){return new t(Ww(this.done,e),Ww(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,i,n){let r=e==0?this.done:this.undone;if(r.length==0)return null;let o=r[r.length-1],s=o.selectionsAfter[0]||i.selection;if(n&&o.selectionsAfter.length)return i.update({selection:o.selectionsAfter[o.selectionsAfter.length-1],annotations:Vw.of({side:e,rest:Pie(r),selection:s}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:!0});if(o.changes){let a=r.length==1?_n:r.slice(0,r.length-1);return o.mapped&&(a=Ww(a,o.mapped)),i.update({changes:o.changes,selection:o.startSelection,effects:o.effects,annotations:Vw.of({side:e,rest:a,selection:s}),filter:!1,userEvent:e==0?"undo":"redo",scrollIntoView:!0})}else return null}};ya.empty=new ya(_n,_n);function Lf(t,e){return K.create(t.ranges.map(e),t.mainIndex)}function ls(t,e){return t.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function va({state:t,dispatch:e},i){let n=Lf(t.selection,i);return n.eq(t.selection,!0)?!1:(e(ls(t,n)),!0)}function pm(t,e){return K.cursor(e?t.to:t.from)}function mm(t,e){return va(t,i=>i.empty?t.moveByChar(i,e):pm(i,e))}function cs(t){return t.textDirectionAt(t.state.selection.main.head)==st.LTR}var If=t=>mm(t,!cs(t)),Fw=t=>mm(t,cs(t)),h6=t=>mm(t,!0),gm=t=>mm(t,!1);function d6(t,e){return va(t,i=>i.empty?t.moveByGroup(i,e):pm(i,e))}var bm=t=>d6(t,!cs(t)),ym=t=>d6(t,cs(t));var LTe=typeof Intl!="undefined"&&Intl.Segmenter?new Intl.Segmenter(void 0,{granularity:"word"}):null;function O6(t,e){return va(t,i=>{if(!i.empty)return pm(i,e);let n=t.moveVertically(i,e);return n.head!=i.head?n:t.moveToLineBoundary(i,e)})}var Df=t=>O6(t,!1),zf=t=>O6(t,!0);function p6(t){let e=t.scrollDOM.clientHeight<t.scrollDOM.scrollHeight-2,i=0,n=0,r;if(e){for(let o of t.state.facet(fe.scrollMargins)){let s=o(t);s!=null&&s.top&&(i=Math.max(s==null?void 0:s.top,i)),s!=null&&s.bottom&&(n=Math.max(s==null?void 0:s.bottom,n))}r=t.scrollDOM.clientHeight-i-n}else r=(t.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:i,marginBottom:n,selfScroll:e,height:Math.max(t.defaultLineHeight,r-5)}}function m6(t,e){let i=p6(t),{state:n}=t,r=Lf(n.selection,s=>s.empty?t.moveVertically(s,e,i.height):pm(s,e));if(r.eq(n.selection))return!1;let o;if(i.selfScroll){let s=t.coordsAtPos(n.selection.main.head),a=t.scrollDOM.getBoundingClientRect(),l=a.top+i.marginTop,c=a.bottom-i.marginBottom;s&&s.top>l&&s.bottom<c&&(o=fe.scrollIntoView(r.main.head,{y:"start",yMargin:s.top-l}))}return t.dispatch(ls(n,r),{effects:o}),!0}var ql=t=>m6(t,!1),jl=t=>m6(t,!0);function xm(t,e,i){let n=t.lineBlockAt(e.head),r=t.moveToLineBoundary(e,i);if(r.head==e.head&&r.head!=(i?n.to:n.from)&&(r=t.moveToLineBoundary(e,i,!1)),!i&&r.head==n.from&&n.length){let o=/^\s*/.exec(t.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;o&&e.head!=n.from+o&&(r=K.cursor(n.from+o))}return r}var Uf=t=>va(t,e=>xm(t,e,!0)),Mf=t=>va(t,e=>xm(t,e,!1));var vm=t=>va(t,e=>K.cursor(t.lineBlockAt(e.head).from,1)),wm=t=>va(t,e=>K.cursor(t.lineBlockAt(e.head).to,-1));function _ie(t,e,i){let n=!1,r=Lf(t.selection,o=>{let s=Tn(t,o.head,-1)||Tn(t,o.head,1)||o.head>0&&Tn(t,o.head-1,1)||o.head<t.doc.length&&Tn(t,o.head+1,-1);if(!s||!s.end)return o;n=!0;let a=s.start.from==o.head?s.end.to:s.end.from;return i?K.range(o.anchor,a):K.cursor(a)});return n?(e(ls(t,r)),!0):!1}var g6=({state:t,dispatch:e})=>_ie(t,e,!1);function us(t,e){let i=Lf(t.state.selection,n=>{let r=e(n);return K.range(n.anchor,r.head,r.goalColumn,r.bidiLevel||void 0)});return i.eq(t.state.selection)?!1:(t.dispatch(ls(t.state,i)),!0)}function km(t,e){return us(t,i=>t.moveByChar(i,e))}var Hw=t=>km(t,!cs(t)),Gw=t=>km(t,cs(t)),Kw=t=>km(t,!0),Jw=t=>km(t,!1);function Sm(t,e){return us(t,i=>t.moveByGroup(i,e))}var Tm=t=>Sm(t,!cs(t)),Em=t=>Sm(t,cs(t)),b6=t=>Sm(t,!0),y6=t=>Sm(t,!1);function x6(t,e){return us(t,i=>t.moveVertically(i,e))}var Wl=t=>x6(t,!1),Vl=t=>x6(t,!0);function v6(t,e){return us(t,i=>t.moveVertically(i,e,p6(t).height))}var Nf=t=>v6(t,!1),wa=t=>v6(t,!0),ek=t=>us(t,e=>xm(t,e,!0)),tk=t=>us(t,e=>xm(t,e,!1));var qf=t=>us(t,e=>K.cursor(t.lineBlockAt(e.head).from)),jf=t=>us(t,e=>K.cursor(t.lineBlockAt(e.head).to)),Wf=({state:t,dispatch:e})=>(e(ls(t,{anchor:0})),!0),Vf=({state:t,dispatch:e})=>(e(ls(t,{anchor:t.doc.length})),!0),Zl=({state:t,dispatch:e})=>(e(ls(t,{anchor:t.selection.main.anchor,head:0})),!0),Bl=({state:t,dispatch:e})=>(e(ls(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),Pm=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),w6=({state:t,dispatch:e})=>{let i=_m(t).map(({from:n,to:r})=>K.range(n,Math.min(r+1,t.doc.length)));return e(t.update({selection:K.create(i),userEvent:"select"})),!0};function Cm(t,e){if(t.state.readOnly)return!1;let i="delete.selection",{state:n}=t,r=n.changeByRange(o=>{let{from:s,to:a}=o;if(s==a){let l=e(o);l<s?(i="delete.backward",l=dm(t,l,!1)):l>s&&(i="delete.forward",l=dm(t,l,!0)),s=Math.min(s,l),a=Math.max(a,l)}else s=dm(t,s,!1),a=dm(t,a,!0);return s==a?{range:o}:{changes:{from:s,to:a},range:K.cursor(s,s<o.head?-1:1)}});return r.changes.empty?!1:(t.dispatch(n.update(r,{scrollIntoView:!0,userEvent:i,effects:i=="delete.selection"?fe.announce.of(n.phrase("Selection deleted")):void 0})),!0)}function dm(t,e,i){if(t instanceof fe)for(let n of t.state.facet(fe.atomicRanges).map(r=>r(t)))n.between(e,e,(r,o)=>{r<e&&o>e&&(e=i?o:r)});return e}var k6=(t,e,i)=>Cm(t,n=>{let r=n.from,{state:o}=t,s=o.doc.lineAt(r),a,l;if(i&&!e&&r>s.from&&r<s.from+200&&!/[^ \t]/.test(a=s.text.slice(0,r-s.from))){if(a[a.length-1]==" ")return r-1;let c=Xi(a,o.tabSize),u=c%br(o)||br(o);for(let f=0;f<u&&a[a.length-1-f]==" ";f++)r--;l=r}else l=Bt(s.text,r-s.from,e,e)+s.from,l==r&&s.number!=(e?o.doc.lines:1)?l+=e?1:-1:!e&&/[\ufe00-\ufe0f]/.test(s.text.slice(l-s.from,r-s.from))&&(l=Bt(s.text,l-s.from,!1,!1)+s.from);return l}),Yl=t=>k6(t,!1,!0);var Zf=t=>k6(t,!0,!1),S6=(t,e)=>Cm(t,i=>{let n=i.head,{state:r}=t,o=r.doc.lineAt(n),s=r.charCategorizer(n);for(let a=null;;){if(n==(e?o.to:o.from)){n==i.head&&o.number!=(e?r.doc.lines:1)&&(n+=e?1:-1);break}let l=Bt(o.text,n-o.from,e)+o.from,c=o.text.slice(Math.min(n,l)-o.from,Math.max(n,l)-o.from),u=s(c);if(a!=null&&u!=a)break;(c!=" "||n!=i.head)&&(a=u),n=l}return n}),ik=t=>S6(t,!1),T6=t=>S6(t,!0),nk=t=>Cm(t,e=>{let i=t.lineBlockAt(e.head).to;return e.head<i?i:Math.min(t.state.doc.length,e.head+1)}),E6=t=>Cm(t,e=>{let i=t.lineBlockAt(e.head).from;return e.head>i?i:Math.max(0,e.head-1)});var Bf=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:Fe.of(["",""])},range:K.cursor(n.from)}));return e(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0},Qm=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{if(!n.empty||n.from==0||n.from==t.doc.length)return{range:n};let r=n.from,o=t.doc.lineAt(r),s=r==o.from?r-1:Bt(o.text,r-o.from,!1)+o.from,a=r==o.to?r+1:Bt(o.text,r-o.from,!0)+o.from;return{changes:{from:s,to:a,insert:t.doc.slice(r,a).append(t.doc.slice(s,r))},range:K.cursor(a)}});return i.changes.empty?!1:(e(t.update(i,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function _m(t){let e=[],i=-1;for(let n of t.selection.ranges){let r=t.doc.lineAt(n.from),o=t.doc.lineAt(n.to);if(!n.empty&&n.to==o.from&&(o=t.doc.lineAt(n.to-1)),i>=r.number){let s=e[e.length-1];s.to=o.to,s.ranges.push(n)}else e.push({from:r.from,to:o.to,ranges:[n]});i=o.number+1}return e}function P6(t,e,i){if(t.readOnly)return!1;let n=[],r=[];for(let o of _m(t)){if(i?o.to==t.doc.length:o.from==0)continue;let s=t.doc.lineAt(i?o.to+1:o.from-1),a=s.length+1;if(i){n.push({from:o.to,to:s.to},{from:o.from,insert:s.text+t.lineBreak});for(let l of o.ranges)r.push(K.range(Math.min(t.doc.length,l.anchor+a),Math.min(t.doc.length,l.head+a)))}else{n.push({from:s.from,to:o.from},{from:o.to,insert:t.lineBreak+s.text});for(let l of o.ranges)r.push(K.range(l.anchor-a,l.head-a))}}return n.length?(e(t.update({changes:n,scrollIntoView:!0,selection:K.create(r,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}var C6=({state:t,dispatch:e})=>P6(t,e,!1),Q6=({state:t,dispatch:e})=>P6(t,e,!0);function _6(t,e,i){if(t.readOnly)return!1;let n=[];for(let r of _m(t))i?n.push({from:r.from,insert:t.doc.slice(r.from,r.to)+t.lineBreak}):n.push({from:r.to,insert:t.lineBreak+t.doc.slice(r.from,r.to)});return e(t.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}var A6=({state:t,dispatch:e})=>_6(t,e,!1),$6=({state:t,dispatch:e})=>_6(t,e,!0),X6=t=>{if(t.state.readOnly)return!1;let{state:e}=t,i=e.changes(_m(e).map(({from:r,to:o})=>(r>0?r--:o<e.doc.length&&o++,{from:r,to:o}))),n=Lf(e.selection,r=>{let o;if(t.lineWrapping){let s=t.lineBlockAt(r.head),a=t.coordsAtPos(r.head,r.assoc||1);a&&(o=s.bottom+t.documentTop-a.bottom+t.defaultLineHeight/2)}return t.moveVertically(r,!0,o)}).map(i);return t.dispatch({changes:i,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function Aie(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let i=qe(t).resolveInner(e),n=i.childBefore(e),r=i.childAfter(e),o;return n&&r&&n.to<=e&&r.from>=e&&(o=n.type.prop(_e.closedBy))&&o.indexOf(r.name)>-1&&t.doc.lineAt(n.to).from==t.doc.lineAt(r.from).from&&!/\S/.test(t.sliceDoc(n.to,r.from))?{from:n.to,to:r.from}:null}var Yf=L6(!1),R6=L6(!0);function L6(t){return({state:e,dispatch:i})=>{if(e.readOnly)return!1;let n=e.changeByRange(r=>{let{from:o,to:s}=r,a=e.doc.lineAt(o),l=!t&&o==s&&Aie(e,o);t&&(o=s=(s<=a.to?a:e.doc.lineAt(s)).to);let c=new Gs(e,{simulateBreak:o,simulateDoubleBreak:!!l}),u=kl(c,o);for(u==null&&(u=Xi(/^\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=["",Gr(e,u)];return l&&f.push(Gr(e,c.lineIndent(a.from,-1))),{changes:{from:o,to:s,insert:Fe.of(f)},range:K.cursor(o+1+f[1].length)}});return i(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}}function rk(t,e){let i=-1;return t.changeByRange(n=>{let r=[];for(let s=n.from;s<=n.to;){let a=t.doc.lineAt(s);a.number>i&&(n.empty||n.to>a.from)&&(e(a,r,n),i=a.number),s=a.to+1}let o=t.changes(r);return{changes:r,range:K.range(o.mapPos(n.anchor,1),o.mapPos(n.head,1))}})}var I6=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=Object.create(null),n=new Gs(t,{overrideIndentation:o=>{let s=i[o];return s==null?-1:s}}),r=rk(t,(o,s,a)=>{let l=kl(n,o.from);if(l==null)return;/\S/.test(o.text)||(l=0);let c=/^\s*/.exec(o.text)[0],u=Gr(t,l);(c!=u||a.from<o.from+c.length)&&(i[o.from]=l,s.push({from:o.from,to:o.from+c.length,insert:u}))});return r.changes.empty||e(t.update(r,{userEvent:"indent"})),!0},Ff=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(rk(t,(i,n)=>{n.push({from:i.from,insert:t.facet(Vn)})}),{userEvent:"input.indent"})),!0),Hf=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(rk(t,(i,n)=>{let r=/^\s*/.exec(i.text)[0];if(!r)return;let o=Xi(r,t.tabSize),s=0,a=Gr(t,Math.max(0,o-br(t)));for(;s<r.length&&s<a.length&&r.charCodeAt(s)==a.charCodeAt(s);)s++;n.push({from:i.from+s,to:i.from+r.length,insert:a.slice(s)})}),{userEvent:"delete.dedent"})),!0);function ct(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,i=arguments[1];if(i&&typeof i=="object"&&i.nodeType==null&&!Array.isArray(i)){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var r=i[n];typeof r=="string"?t.setAttribute(n,r):r!=null&&(t[n]=r)}e++}for(;e<arguments.length;e++)D6(t,arguments[e]);return t}function D6(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 i=0;i<e.length;i++)D6(t,e[i]);else throw new RangeError("Unsupported child node: "+e)}var z6=typeof String.prototype.normalize=="function"?t=>t.normalize("NFKD"):t=>t,hs=class{constructor(e,i,n=0,r=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(n,r),this.bufferStart=n,this.normalize=o?a=>o(z6(a)):z6,this.query=this.normalize(i)}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 ci(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 i=Tu(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=nn(e);let r=this.normalize(i);if(r.length)for(let o=0,s=n;;o++){let a=r.charCodeAt(o),l=this.match(a,s,this.bufferPos+this.bufferStart);if(o==r.length-1){if(l)return this.value=l,this;break}s==n&&o<i.length&&i.charCodeAt(o)==a&&s++}}}match(e,i,n){let r=null;for(let o=0;o<this.matches.length;o+=2){let s=this.matches[o],a=!1;this.query.charCodeAt(s)==e&&(s==this.query.length-1?r={from:this.matches[o+1],to:n}:(this.matches[o]++,a=!0)),a||(this.matches.splice(o,2),o-=2)}return this.query.charCodeAt(0)==e&&(this.query.length==1?r={from:i,to:n}:this.matches.push(1,i)),r&&this.test&&!this.test(r.from,r.to,this.buffer,this.bufferStart)&&(r=null),r}};typeof Symbol!="undefined"&&(hs.prototype[Symbol.iterator]=function(){return this});var W6={from:-1,to:-1,match:/.*/.exec("")},fk="gm"+(/x/.unicode==null?"":"u"),Gl=class{constructor(e,i,n,r=0,o=e.length){if(this.text=e,this.to=o,this.curLine="",this.done=!1,this.value=W6,/\\[sWDnr]|\n|\r|\[\^/.test(i))return new Rm(e,i,n,r,o);this.re=new RegExp(i,fk+(n!=null&&n.ignoreCase?"i":"")),this.test=n==null?void 0:n.test,this.iter=e.iter();let s=e.lineAt(r);this.curLineStart=s.from,this.matchPos=Lm(e,r),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 i=this.matchPos<=this.to&&this.re.exec(this.curLine);if(i){let n=this.curLineStart+i.index,r=n+i[0].length;if(this.matchPos=Lm(this.text,r+(n==r?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<r||n>this.value.to)&&(!this.test||this.test(n,r,i)))return this.value={from:n,to:r,match:i},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}}},ok=new WeakMap,Xm=class t{constructor(e,i){this.from=e,this.text=i}get to(){return this.from+this.text.length}static get(e,i,n){let r=ok.get(e);if(!r||r.from>=n||r.to<=i){let a=new t(i,e.sliceString(i,n));return ok.set(e,a),a}if(r.from==i&&r.to==n)return r;let{text:o,from:s}=r;return s>i&&(o=e.sliceString(i,s)+o,s=i),r.to<n&&(o+=e.sliceString(r.to,n)),ok.set(e,new t(s,o)),new t(i,o.slice(i-s,n-s))}},Rm=class{constructor(e,i,n,r,o){this.text=e,this.to=o,this.done=!1,this.value=W6,this.matchPos=Lm(e,r),this.re=new RegExp(i,fk+(n!=null&&n.ignoreCase?"i":"")),this.test=n==null?void 0:n.test,this.flat=Xm.get(e,r,this.chunkEnd(r+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,i=this.re.exec(this.flat.text);if(i&&!i[0]&&i.index==e&&(this.re.lastIndex=e+1,i=this.re.exec(this.flat.text)),i){let n=this.flat.from+i.index,r=n+i[0].length;if((this.flat.to>=this.to||i.index+i[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,r,i)))return this.value={from:n,to:r,match:i},this.matchPos=Lm(this.text,r+(n==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Xm.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}};typeof Symbol!="undefined"&&(Gl.prototype[Symbol.iterator]=Rm.prototype[Symbol.iterator]=function(){return this});function Xie(t){try{return new RegExp(t,fk),!0}catch(e){return!1}}function Lm(t,e){if(e>=t.length)return e;let i=t.lineAt(e),n;for(;e<i.to&&(n=i.text.charCodeAt(e-i.from))>=56320&&n<57344;)e++;return e}function sk(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),i=ct("input",{class:"cm-textfield",name:"line",value:e}),n=ct("form",{class:"cm-gotoLine",onkeydown:o=>{o.keyCode==27?(o.preventDefault(),t.dispatch({effects:Gf.of(!1)}),t.focus()):o.keyCode==13&&(o.preventDefault(),r())},onsubmit:o=>{o.preventDefault(),r()}},ct("label",t.state.phrase("Go to line"),": ",i)," ",ct("button",{class:"cm-button",type:"submit"},t.state.phrase("go")),ct("button",{name:"close",onclick:()=>{t.dispatch({effects:Gf.of(!1)}),t.focus()},"aria-label":t.state.phrase("close"),type:"button"},["\xD7"]));function r(){let o=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(i.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,O=c?+c:a.number;if(c&&f){let v=O/100;l&&(v=v*(l=="-"?-1:1)+a.number/s.doc.lines),O=Math.round(s.doc.lines*v)}else c&&l&&(O=O*(l=="-"?-1:1)+a.number);let m=s.doc.line(Math.max(1,Math.min(s.doc.lines,O))),x=K.cursor(m.from+Math.max(0,Math.min(d,m.length)));t.dispatch({effects:[Gf.of(!1),fe.scrollIntoView(x.from,{y:"center"})],selection:x}),t.focus()}return{dom:n}}var Gf=Se.define(),U6=Ge.define({create(){return!0},update(t,e){for(let i of e.effects)i.is(Gf)&&(t=i.value);return t},provide:t=>kn.from(t,e=>e?sk:null)}),V6=t=>{let e=Ys(t,sk);if(!e){let i=[Gf.of(!0)];t.state.field(U6,!1)==null&&i.push(Se.appendConfig.of([U6,Rie])),t.dispatch({effects:i}),e=Ys(t,sk)}return e&&e.dom.querySelector("input").select(),!0},Rie=fe.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px",position:"relative","& label":{fontSize:"80%"},"& [name=close]":{position:"absolute",top:"0",bottom:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:"0"}}}),Lie={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},Z6=be.define({combine(t){return Qt(t,Lie,{highlightWordAroundCursor:(e,i)=>e||i,minSelectionLength:Math.min,maxMatches:Math.min})}});function B6(t){let e=[Mie,Uie];return t&&e.push(Z6.of(t)),e}var Iie=we.mark({class:"cm-selectionMatch"}),Die=we.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function M6(t,e,i,n){return(i==0||t(e.sliceDoc(i-1,i))!=pt.Word)&&(n==e.doc.length||t(e.sliceDoc(n,n+1))!=pt.Word)}function zie(t,e,i,n){return t(e.sliceDoc(i,i+1))==pt.Word&&t(e.sliceDoc(n-1,n))==pt.Word}var Uie=He.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(Z6),{state:i}=t,n=i.selection;if(n.ranges.length>1)return we.none;let r=n.main,o,s=null;if(r.empty){if(!e.highlightWordAroundCursor)return we.none;let l=i.wordAt(r.head);if(!l)return we.none;s=i.charCategorizer(r.head),o=i.sliceDoc(l.from,l.to)}else{let l=r.to-r.from;if(l<e.minSelectionLength||l>200)return we.none;if(e.wholeWords){if(o=i.sliceDoc(r.from,r.to),s=i.charCategorizer(r.head),!(M6(s,i,r.from,r.to)&&zie(s,i,r.from,r.to)))return we.none}else if(o=i.sliceDoc(r.from,r.to),!o)return we.none}let a=[];for(let l of t.visibleRanges){let c=new hs(i.doc,o,l.from,l.to);for(;!c.next().done;){let{from:u,to:f}=c.value;if((!s||M6(s,i,u,f))&&(r.empty&&u<=r.from&&f>=r.to?a.push(Die.range(u,f)):(u>=r.to||f<=r.from)&&a.push(Iie.range(u,f)),a.length>e.maxMatches))return we.none}}return we.set(a)}},{decorations:t=>t.decorations}),Mie=fe.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),Nie=({state:t,dispatch:e})=>{let{selection:i}=t,n=K.create(i.ranges.map(r=>t.wordAt(r.head)||K.cursor(r.head)),i.mainIndex);return n.eq(i)?!1:(e(t.update({selection:n})),!0)};function qie(t,e){let{main:i,ranges:n}=t.selection,r=t.wordAt(i.head),o=r&&r.from==i.from&&r.to==i.to;for(let s=!1,a=new hs(t.doc,e,n[n.length-1].to);;)if(a.next(),a.done){if(s)return null;a=new hs(t.doc,e,0,Math.max(0,n[n.length-1].from-1)),s=!0}else{if(s&&n.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 Y6=({state:t,dispatch:e})=>{let{ranges:i}=t.selection;if(i.some(o=>o.from===o.to))return Nie({state:t,dispatch:e});let n=t.sliceDoc(i[0].from,i[0].to);if(t.selection.ranges.some(o=>t.sliceDoc(o.from,o.to)!=n))return!1;let r=qie(t,n);return r?(e(t.update({selection:t.selection.addRange(K.range(r.from,r.to),!1),effects:fe.scrollIntoView(r.to)})),!0):!1},Jl=be.define({combine(t){return Qt(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new uk(e),scrollToMatch:e=>fe.scrollIntoView(e)})}});var Kl=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||Xie(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(i,n)=>n=="n"?`
`:n=="r"?"\r":n=="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 lk(this):new ak(this)}getCursor(e,i=0,n){let r=e.doc?e:ot.create({doc:e});return n==null&&(n=r.doc.length),this.regexp?Hl(this,r,i,n):Fl(this,r,i,n)}},Im=class{constructor(e){this.spec=e}};function Fl(t,e,i,n){return new hs(e.doc,t.unquoted,i,n,t.caseSensitive?void 0:r=>r.toLowerCase(),t.wholeWord?jie(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function jie(t,e){return(i,n,r,o)=>((o>i||o+r.length<n)&&(o=Math.max(0,i-2),r=t.sliceString(o,Math.min(t.length,n+2))),(e(Dm(r,i-o))!=pt.Word||e(zm(r,i-o))!=pt.Word)&&(e(zm(r,n-o))!=pt.Word||e(Dm(r,n-o))!=pt.Word))}var ak=class extends Im{constructor(e){super(e)}nextMatch(e,i,n){let r=Fl(this.spec,e,n,e.doc.length).nextOverlapping();if(r.done){let o=Math.min(e.doc.length,i+this.spec.unquoted.length);r=Fl(this.spec,e,0,o).nextOverlapping()}return r.done||r.value.from==i&&r.value.to==n?null:r.value}prevMatchInRange(e,i,n){for(let r=n;;){let o=Math.max(i,r-1e4-this.spec.unquoted.length),s=Fl(this.spec,e,o,r),a=null;for(;!s.nextOverlapping().done;)a=s.value;if(a)return a;if(o==i)return null;r-=1e4}}prevMatch(e,i,n){let r=this.prevMatchInRange(e,0,i);return r||(r=this.prevMatchInRange(e,Math.max(0,n-this.spec.unquoted.length),e.doc.length)),r&&(r.from!=i||r.to!=n)?r:null}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,i){let n=Fl(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=i)return null;r.push(n.value)}return r}highlight(e,i,n,r){let o=Fl(this.spec,e,Math.max(0,i-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!o.next().done;)r(o.value.from,o.value.to)}};function Hl(t,e,i,n){return new Gl(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?Wie(e.charCategorizer(e.selection.main.head)):void 0},i,n)}function Dm(t,e){return t.slice(Bt(t,e,!1),e)}function zm(t,e){return t.slice(e,Bt(t,e))}function Wie(t){return(e,i,n)=>!n[0].length||(t(Dm(n.input,n.index))!=pt.Word||t(zm(n.input,n.index))!=pt.Word)&&(t(zm(n.input,n.index+n[0].length))!=pt.Word||t(Dm(n.input,n.index+n[0].length))!=pt.Word)}var lk=class extends Im{nextMatch(e,i,n){let r=Hl(this.spec,e,n,e.doc.length).next();return r.done&&(r=Hl(this.spec,e,0,i).next()),r.done?null:r.value}prevMatchInRange(e,i,n){for(let r=1;;r++){let o=Math.max(i,n-r*1e4),s=Hl(this.spec,e,o,n),a=null;for(;!s.next().done;)a=s.value;if(a&&(o==i||a.from>o+10))return a;if(o==i)return null}}prevMatch(e,i,n){return this.prevMatchInRange(e,0,i)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(i,n)=>{if(n=="&")return e.match[0];if(n=="$")return"$";for(let r=n.length;r>0;r--){let o=+n.slice(0,r);if(o>0&&o<e.match.length)return e.match[o]+n.slice(r)}return i})}matchAll(e,i){let n=Hl(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=i)return null;r.push(n.value)}return r}highlight(e,i,n,r){let o=Hl(this.spec,e,Math.max(0,i-250),Math.min(n+250,e.doc.length));for(;!o.next().done;)r(o.value.from,o.value.to)}},uo=Se.define(),hk=Se.define(),fs=Ge.define({create(t){return new Kf(ck(t).create(),null)},update(t,e){for(let i of e.effects)i.is(uo)?t=new Kf(i.value.create(),t.panel):i.is(hk)&&(t=new Kf(t.query,i.value?pk:null));return t},provide:t=>kn.from(t,e=>e.panel)});var Kf=class{constructor(e,i){this.query=e,this.panel=i}},Vie=we.mark({class:"cm-searchMatch"}),Zie=we.mark({class:"cm-searchMatch cm-searchMatch-selected"}),Bie=He.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(fs))}update(t){let e=t.state.field(fs);(e!=t.startState.field(fs)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return we.none;let{view:i}=this,n=new $i;for(let r=0,o=i.visibleRanges,s=o.length;r<s;r++){let{from:a,to:l}=o[r];for(;r<s-1&&l>o[r+1].from-2*250;)l=o[++r].to;t.highlight(i.state,a,l,(c,u)=>{let f=i.state.selection.ranges.some(d=>d.from==c&&d.to==u);n.add(c,u,f?Zie:Vie)})}return n.finish()}},{decorations:t=>t.decorations});function Jf(t){return e=>{let i=e.state.field(fs,!1);return i&&i.query.spec.valid?t(e,i):ec(e)}}var N6=Jf((t,{query:e})=>{let{to:i}=t.state.selection.main,n=e.nextMatch(t.state,i,i);if(!n)return!1;let r=K.single(n.from,n.to),o=t.state.facet(Jl);return t.dispatch({selection:r,effects:[gk(t,n),o.scrollToMatch(r.main,t)],userEvent:"select.search"}),G6(t),!0}),q6=Jf((t,{query:e})=>{let{state:i}=t,{from:n}=i.selection.main,r=e.prevMatch(i,n,n);if(!r)return!1;let o=K.single(r.from,r.to),s=t.state.facet(Jl);return t.dispatch({selection:o,effects:[gk(t,r),s.scrollToMatch(o.main,t)],userEvent:"select.search"}),G6(t),!0}),dk=Jf((t,{query:e})=>{let i=e.matchAll(t.state,1e3);return!i||!i.length?!1:(t.dispatch({selection:K.create(i.map(n=>K.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),F6=({state:t,dispatch:e})=>{let i=t.selection;if(i.ranges.length>1||i.main.empty)return!1;let{from:n,to:r}=i.main,o=[],s=0;for(let a=new hs(t.doc,t.sliceDoc(n,r));!a.next().done;){if(o.length>1e3)return!1;a.value.from==n&&(s=o.length),o.push(K.range(a.value.from,a.value.to))}return e(t.update({selection:K.create(o,s),userEvent:"select.search.matches"})),!0},j6=Jf((t,{query:e})=>{let{state:i}=t,{from:n,to:r}=i.selection.main;if(i.readOnly)return!1;let o=e.nextMatch(i,n,n);if(!o)return!1;let s=o,a=[],l,c,u=[];if(s.from==n&&s.to==r&&(c=i.toText(e.getReplacement(s)),a.push({from:s.from,to:s.to,insert:c}),s=e.nextMatch(i,s.from,s.to),u.push(fe.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(n).number)+"."))),s){let f=a.length==0||a[0].from>=o.to?0:o.to-o.from-c.length;l=K.single(s.from-f,s.to-f),u.push(gk(t,s)),u.push(i.facet(Jl).scrollToMatch(l.main,t))}return t.dispatch({changes:a,selection:l,effects:u,userEvent:"input.replace"}),!0}),Ok=Jf((t,{query:e})=>{if(t.state.readOnly)return!1;let i=e.matchAll(t.state,1e9).map(r=>{let{from:o,to:s}=r;return{from:o,to:s,insert:e.getReplacement(r)}});if(!i.length)return!1;let n=t.state.phrase("replaced $ matches",i.length)+".";return t.dispatch({changes:i,effects:fe.announce.of(n),userEvent:"input.replace.all"}),!0});function pk(t){return t.state.facet(Jl).createPanel(t)}function ck(t,e){var i,n,r,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(Jl);return new Kl({search:((i=e==null?void 0:e.literal)!==null&&i!==void 0?i:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(n=e==null?void 0:e.caseSensitive)!==null&&n!==void 0?n:c.caseSensitive,literal:(r=e==null?void 0:e.literal)!==null&&r!==void 0?r: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 H6(t){let e=Ys(t,pk);return e&&e.dom.querySelector("[main-field]")}function G6(t){let e=H6(t);e&&e==t.root.activeElement&&e.select()}var ec=t=>{let e=t.state.field(fs,!1);if(e&&e.panel){let i=H6(t);if(i&&i!=t.root.activeElement){let n=ck(t.state,e.query.spec);n.valid&&t.dispatch({effects:uo.of(n)}),i.focus(),i.select()}}else t.dispatch({effects:[hk.of(!0),e?uo.of(ck(t.state,e.query.spec)):Se.appendConfig.of(Fie)]});return!0},mk=t=>{let e=t.state.field(fs,!1);if(!e||!e.panel)return!1;let i=Ys(t,pk);return i&&i.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:hk.of(!1)}),!0};var uk=class{constructor(e){this.view=e;let i=this.query=e.state.field(fs).query.spec;this.commit=this.commit.bind(this),this.searchField=ct("input",{value:i.search,placeholder:un(e,"Find"),"aria-label":un(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=ct("input",{value:i.replace,placeholder:un(e,"Replace"),"aria-label":un(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=ct("input",{type:"checkbox",name:"case",form:"",checked:i.caseSensitive,onchange:this.commit}),this.reField=ct("input",{type:"checkbox",name:"re",form:"",checked:i.regexp,onchange:this.commit}),this.wordField=ct("input",{type:"checkbox",name:"word",form:"",checked:i.wholeWord,onchange:this.commit});function n(r,o,s){return ct("button",{class:"cm-button",name:r,onclick:o,type:"button"},s)}this.dom=ct("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,n("next",()=>N6(e),[un(e,"next")]),n("prev",()=>q6(e),[un(e,"previous")]),n("select",()=>dk(e),[un(e,"all")]),ct("label",null,[this.caseField,un(e,"match case")]),ct("label",null,[this.reField,un(e,"regexp")]),ct("label",null,[this.wordField,un(e,"by word")]),...e.state.readOnly?[]:[ct("br"),this.replaceField,n("replace",()=>j6(e),[un(e,"replace")]),n("replaceAll",()=>Ok(e),[un(e,"replace all")])],ct("button",{name:"close",onclick:()=>mk(e),"aria-label":un(e,"close"),type:"button"},["\xD7"])])}commit(){let e=new Kl({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:uo.of(e)}))}keydown(e){ex(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?q6:N6)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),j6(this.view))}update(e){for(let i of e.transactions)for(let n of i.effects)n.is(uo)&&!n.value.eq(this.query)&&this.setQuery(n.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(Jl).top}};function un(t,e){return t.state.phrase(e)}var Am=30,$m=/[\s\.,:;?!]/;function gk(t,{from:e,to:i}){let n=t.state.doc.lineAt(e),r=t.state.doc.lineAt(i).to,o=Math.max(n.from,e-Am),s=Math.min(r,i+Am),a=t.state.sliceDoc(o,s);if(o!=n.from){for(let l=0;l<Am;l++)if(!$m.test(a[l+1])&&$m.test(a[l])){a=a.slice(l);break}}if(s!=r){for(let l=a.length-1;l>a.length-Am;l--)if(!$m.test(a[l-1])&&$m.test(a[l])){a=a.slice(0,l);break}}return fe.announce.of(`${t.state.phrase("current match")}. ${a} ${t.state.phrase("on line")} ${n.number}.`)}var Yie=fe.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"}}),Fie=[fs,Dt.low(Bie),Yie];var Mm=class{constructor(e,i,n){this.from=e,this.to=i,this.diagnostic=n}},ka=class t{constructor(e,i,n){this.diagnostics=e,this.panel=i,this.selected=n}static init(e,i,n){let r=e,o=n.facet(eh).markerFilter;o&&(r=o(r,n));let s=e.slice().sort((f,d)=>f.from-d.from||f.to-d.to),a=new $i,l=[],c=0;for(let f=0;;){let d=f==s.length?null:s[f];if(!d&&!l.length)break;let O,m;for(l.length?(O=c,m=l.reduce((v,w)=>Math.min(v,w.to),d&&d.from>O?d.from:1e8)):(O=d.from,m=d.to,l.push(d),f++);f<s.length;){let v=s[f];if(v.from==O&&(v.to>v.from||v.to==O))l.push(v),f++,m=Math.min(v.to,m);else{m=Math.min(v.from,m);break}}let x=nne(l);if(l.some(v=>v.from==v.to||v.from==v.to-1&&n.doc.lineAt(v.from).to==v.from))a.add(O,O,we.widget({widget:new bk(x),diagnostics:l.slice()}));else{let v=l.reduce((w,T)=>T.markClass?w+" "+T.markClass:w,"");a.add(O,m,we.mark({class:"cm-lintRange cm-lintRange-"+x+v,diagnostics:l.slice(),inclusiveEnd:l.some(w=>w.to>m)}))}c=m;for(let v=0;v<l.length;v++)l[v].to<=c&&l.splice(v--,1)}let u=a.finish();return new t(u,i,tc(u))}};function tc(t,e=null,i=0){let n=null;return t.between(i,1e9,(r,o,{spec:s})=>{if(!(e&&s.diagnostics.indexOf(e)<0))if(!n)n=new Mm(r,o,e||s.diagnostics[0]);else{if(s.diagnostics.indexOf(n.diagnostic)<0)return!1;n=new Mm(n.from,o,n.diagnostic)}}),n}function Hie(t,e){let i=e.pos,n=e.end||i,r=t.state.facet(eh).hideOn(t,i,n);if(r!=null)return r;let o=t.startState.doc.lineAt(e.pos);return!!(t.effects.some(s=>s.is(yk))||t.changes.touchesRange(o.from,Math.max(o.to,n)))}function J6(t,e){return t.field(fn,!1)?e:e.concat(Se.appendConfig.of(rne))}function eL(t,e){return{effects:J6(t,[yk.of(e)])}}var yk=Se.define(),xk=Se.define(),tL=Se.define(),fn=Ge.define({create(){return new ka(we.none,null,null)},update(t,e){if(e.docChanged&&t.diagnostics.size){let i=t.diagnostics.map(e.changes),n=null,r=t.panel;if(t.selected){let o=e.changes.mapPos(t.selected.from,1);n=tc(i,t.selected.diagnostic,o)||tc(i,null,o)}!i.size&&r&&e.state.facet(eh).autoPanel&&(r=null),t=new ka(i,r,n)}for(let i of e.effects)if(i.is(yk)){let n=e.state.facet(eh).autoPanel?i.value.length?th.open:null:t.panel;t=ka.init(i.value,n,e.state)}else i.is(xk)?t=new ka(t.diagnostics,i.value?th.open:null,t.selected):i.is(tL)&&(t=new ka(t.diagnostics,t.panel,i.value));return t},provide:t=>[kn.from(t,e=>e.panel),fe.decorations.from(t,e=>e.diagnostics)]});var Gie=we.mark({class:"cm-lintRange cm-lintRange-active"});function Kie(t,e,i){let{diagnostics:n}=t.state.field(fn),r,o=-1,s=-1;n.between(e-(i<0?1:0),e+(i>0?1:0),(l,c,{spec:u})=>{if(e>=l&&e<=c&&(l==c||(e>l||i>0)&&(e<c||i<0)))return r=u.diagnostics,o=l,s=c,!1});let a=t.state.facet(eh).tooltipFilter;return r&&a&&(r=a(r,t.state)),r?{pos:o,end:s,above:t.state.doc.lineAt(o).to<s,create(){return{dom:Jie(t,r)}}}:null}function Jie(t,e){return ct("ul",{class:"cm-tooltip-lint"},e.map(i=>oL(t,i,!1)))}var iL=t=>{let e=t.state.field(fn,!1);(!e||!e.panel)&&t.dispatch({effects:J6(t.state,[xk.of(!0)])});let i=Ys(t,th.open);return i&&i.dom.querySelector(".cm-panel-lint ul").focus(),!0},K6=t=>{let e=t.state.field(fn,!1);return!e||!e.panel?!1:(t.dispatch({effects:xk.of(!1)}),!0)},nL=t=>{let e=t.state.field(fn,!1);if(!e)return!1;let i=t.state.selection.main,n=e.diagnostics.iter(i.to+1);return!n.value&&(n=e.diagnostics.iter(0),!n.value||n.from==i.from&&n.to==i.to)?!1:(t.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),!0)};var eh=be.define({combine(t){return Object.assign({sources:t.map(e=>e.source).filter(e=>e!=null)},Qt(t.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(e,i)=>e?i?n=>e(n)||i(n):e:i}))}});function rL(t){let e=[];if(t)e:for(let{name:i}of t){for(let n=0;n<i.length;n++){let r=i[n];if(/[a-zA-Z]/.test(r)&&!e.some(o=>o.toLowerCase()==r.toLowerCase())){e.push(r);continue e}}e.push("")}return e}function oL(t,e,i){var n;let r=i?rL(e.actions):[];return ct("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},ct("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage(t):e.message),(n=e.actions)===null||n===void 0?void 0:n.map((o,s)=>{let a=!1,l=d=>{if(d.preventDefault(),a)return;a=!0;let O=tc(t.state.field(fn).diagnostics,e);O&&o.apply(t,O.from,O.to)},{name:c}=o,u=r[s]?c.indexOf(r[s]):-1,f=u<0?c:[c.slice(0,u),ct("u",c.slice(u,u+1)),c.slice(u+1)];return ct("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${r[s]})"`}.`},f)}),e.source&&ct("div",{class:"cm-diagnosticSource"},e.source))}var bk=class extends ii{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return ct("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}},Nm=class{constructor(e,i){this.diagnostic=i,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=oL(e,i,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}},th=class t{constructor(e){this.view=e,this.items=[];let i=r=>{if(r.keyCode==27)K6(this.view),this.view.focus();else if(r.keyCode==38||r.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(r.keyCode==40||r.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(r.keyCode==36)this.moveSelection(0);else if(r.keyCode==35)this.moveSelection(this.items.length-1);else if(r.keyCode==13)this.view.focus();else if(r.keyCode>=65&&r.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:o}=this.items[this.selectedIndex],s=rL(o.actions);for(let a=0;a<s.length;a++)if(s[a].toUpperCase().charCodeAt(0)==r.keyCode){let l=tc(this.view.state.field(fn).diagnostics,o);l&&o.actions[a].apply(e,l.from,l.to)}}else return;r.preventDefault()},n=r=>{for(let o=0;o<this.items.length;o++)this.items[o].dom.contains(r.target)&&this.moveSelection(o)};this.list=ct("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:i,onclick:n}),this.dom=ct("div",{class:"cm-panel-lint"},this.list,ct("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>K6(this.view)},"\xD7")),this.update()}get selectedIndex(){let e=this.view.state.field(fn).selected;if(!e)return-1;for(let i=0;i<this.items.length;i++)if(this.items[i].diagnostic==e.diagnostic)return i;return-1}update(){let{diagnostics:e,selected:i}=this.view.state.field(fn),n=0,r=!1,o=null,s=new Set;for(e.between(0,this.view.state.doc.length,(a,l,{spec:c})=>{for(let u of c.diagnostics){if(s.has(u))continue;s.add(u);let f=-1,d;for(let O=n;O<this.items.length;O++)if(this.items[O].diagnostic==u){f=O;break}f<0?(d=new Nm(this.view,u),this.items.splice(n,0,d),r=!0):(d=this.items[f],f>n&&(this.items.splice(n,f-n),r=!0)),i&&d.diagnostic==i.diagnostic?d.dom.hasAttribute("aria-selected")||(d.dom.setAttribute("aria-selected","true"),o=d):d.dom.hasAttribute("aria-selected")&&d.dom.removeAttribute("aria-selected"),n++}});n<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)r=!0,this.items.pop();this.items.length==0&&(this.items.push(new Nm(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),r=!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:a,panel:l})=>{let c=l.height/this.list.offsetHeight;a.top<l.top?this.list.scrollTop-=(l.top-a.top)/c:a.bottom>l.bottom&&(this.list.scrollTop+=(a.bottom-l.bottom)/c)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function i(){let n=e;e=n.nextSibling,n.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)i();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)i()}moveSelection(e){if(this.selectedIndex<0)return;let i=this.view.state.field(fn),n=tc(i.diagnostics,this.items[e].diagnostic);n&&this.view.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:tL.of(n)})}static open(e){return new t(e)}};function ene(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 Um(t){return ene(`<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 tne=fe.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:Um("#d11")},".cm-lintRange-warning":{backgroundImage:Um("orange")},".cm-lintRange-info":{backgroundImage:Um("#999")},".cm-lintRange-hint":{backgroundImage:Um("#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}}});function ine(t){return t=="error"?4:t=="warning"?3:t=="info"?2:1}function nne(t){let e="hint",i=1;for(let n of t){let r=ine(n.severity);r>i&&(i=r,e=n.severity)}return e}var rne=[fn,fe.decorations.compute([fn],t=>{let{selected:e,panel:i}=t.field(fn);return!e||!i||e.from==e.to?we.none:we.set([Gie.range(e.from,e.to)])}),rp(Kie,{hideOn:Hie}),tne];var sL=t=>e=>{let i=t==="down",n=e.state.selection;for(let r of n.ranges)n=n.addRange(e.moveVertically(r,i));return e.dispatch({selection:n}),!0},one=sL("up"),sne=sL("down"),ane=t=>{let e=null;for(let i of t.state.selection.ranges)if(!i.empty)for(let n=i.from;n<=i.to;){let r=t.state.doc.lineAt(n),o=Math.min(r.to,i.to);e?e=e.addRange(K.range(o,o)):e=K.single(o),n=r.to+1}return e?(t.dispatch({selection:e}),!0):!1},aL=[{key:"Ctrl-Space",run:Tl},{key:"Escape",run:of},{key:"ArrowDown",run:Jr(!0)},{key:"ArrowUp",run:Jr(!1)},{key:"PageDown",run:Jr(!0,"page")},{key:"PageUp",run:Jr(!1,"page")},{key:"Enter",run:xp},{key:"Tab",run:xp},{key:"Mod-f",run:ec,scope:"editor search-panel"},{key:"Escape",run:mk,scope:"editor search-panel"},{key:"Alt-Enter",run:dk,scope:"editor search-panel"},{key:"Mod-Alt-Enter",run:Ok,scope:"editor search-panel"},{key:"Ctrl-g",run:V6},{key:"Mod-d",run:Y6,preventDefault:!0},{key:"Shift-Mod-l",run:F6},{key:"Enter",run:Yf,shift:Yf},{key:"ArrowLeft",run:If,shift:Hw,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:bm,shift:Tm},{key:"ArrowRight",run:Fw,shift:Gw,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:ym,shift:Em},{key:"ArrowUp",run:Df,shift:Wl,preventDefault:!0},{key:"ArrowDown",run:zf,shift:Vl,preventDefault:!0},{key:"Home",run:Mf,shift:tk},{mac:"Cmd-ArrowLeft",run:Mf,shift:tk},{key:"Mod-Home",run:Wf,shift:Zl},{mac:"Cmd-ArrowUp",run:Wf,shift:Zl},{key:"PageUp",run:ql,shift:Nf},{mac:"Ctrl-ArrowUp",run:ql,shift:Nf},{key:"PageDown",run:jl,shift:wa},{mac:"Ctrl-ArrowDown",run:jl,shift:wa},{key:"End",run:Uf,shift:ek},{mac:"Cmd-ArrowRight",run:Uf,shift:ek},{key:"Mod-Alt-ArrowUp",linux:"Shift-Alt-ArrowUp",run:one,preventDefault:!0},{key:"Mod-Alt-ArrowDown",linux:"Shift-Alt-ArrowDown",run:sne,preventDefault:!0},{key:"Shift-Alt-i",run:ane},{key:"Mod-End",run:Vf,shift:Bl},{mac:"Cmd-ArrowDown",run:Vf,shift:Bl},{key:"Mod-a",run:Pm},{key:"Backspace",run:u_},{key:"Backspace",run:Yl,shift:Yl},{key:"Delete",run:Zf},{key:"Mod-Backspace",mac:"Alt-Backspace",run:ik},{key:"Mod-Delete",mac:"Alt-Delete",run:T6},{mac:"Mod-Backspace",run:E6},{mac:"Mod-Delete",run:nk},{mac:"Ctrl-b",run:If,shift:Hw,preventDefault:!0},{mac:"Ctrl-f",run:Fw,shift:Gw},{mac:"Ctrl-p",run:Df,shift:Wl},{mac:"Ctrl-n",run:zf,shift:Vl},{mac:"Ctrl-a",run:vm,shift:qf},{mac:"Ctrl-e",run:wm,shift:jf},{mac:"Ctrl-d",run:Zf},{mac:"Ctrl-h",run:Yl},{mac:"Ctrl-k",run:nk},{mac:"Ctrl-Alt-h",run:ik},{mac:"Ctrl-o",run:Bf},{mac:"Ctrl-t",run:Qm},{mac:"Ctrl-v",run:jl},{mac:"Alt-v",run:ql},{key:"Shift-Mod-k",run:X6},{key:"Alt-ArrowDown",run:Q6},{key:"Alt-ArrowUp",run:C6},{win:"Shift-Alt-ArrowDown",mac:"Shift-Alt-ArrowDown",run:$6},{win:"Shift-Alt-ArrowUp",mac:"Shift-Alt-ArrowUp",run:A6},{key:"Mod-l",run:w6,preventDefault:!0},{key:"Shift-Mod-\\",run:g6},{key:"Tab",run:Ff,shift:Hf,preventDefault:!0},{key:"Mod-[",run:Hf},{key:"Mod-]",run:Ff},{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:pp},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:$Q},{key:"Mod-k Mod-0",run:RQ},{key:"Mod-k Mod-j",run:LQ},{key:"Mod-k Mod-c",run:i6},{key:"Mod-k Mod-u",run:n6},{key:"Mod-/",run:Xf},{key:"Shift-Alt-a",run:r6},{key:"Mod-z",run:xa,preventDefault:!0},{key:"Mod-y",run:as,preventDefault:!0},{key:"Mod-Shift-z",run:as,preventDefault:!0},{key:"Mod-u",run:c6,preventDefault:!0},{key:"Mod-Shift-m",run:iL},{key:"F8",run:nL}];function lne(t){var e=t.Pos;function i(h,p,b){if(p.line===b.line&&p.ch>=b.ch-1){var y=h.getLine(p.line),k=y.charCodeAt(p.ch);55296<=k&&k<=55551&&(b.ch+=1)}return{start:p,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:"'<register>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`<register>",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:"@<register>",type:"action",action:"replayMacro"},{keys:"q<register>",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<register>",type:"action",action:"setMark"},{keys:'"<register>',type:"action",action:"setRegister"},{keys:"<C-r><register>",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<register>",type:"motion",motion:"textObjectManipulation"},{keys:"i<register>",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"}],r=n.length,o=[{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"}],s=dn("");function a(h){h.setOption("disableInput",!0),h.setOption("showCursorWhenSelecting",!1),t.signal(h,"vim-mode-change",{mode:"normal"}),h.on("cursorActivity",lS),ve(h),t.on(h.getInputField(),"paste",c(h))}function l(h){h.setOption("disableInput",!1),h.off("cursorActivity",lS),t.off(h.getInputField(),"paste",c(h)),h.state.vim=null,fc&&clearTimeout(fc)}function c(h){var p=h.state.vim;return p.onPasteFn||(p.onPasteFn=function(){p.insertMode||(h.setCursor($e(h.getCursor(),0,1)),ce.enterInsertMode(h,{},p))}),p.onPasteFn}var u=/[\d]/,f=[t.isWordChar,function(h){return h&&!t.isWordChar(h)&&!/\s/.test(h)}],d=[function(h){return/\S/.test(h)}],O=["<",">"],m=["-",'"',".",":","_","/","+"],x=/^\w$/,v;try{v=new RegExp("^[\\p{Lu}]$","u")}catch(h){v=/^[A-Z]$/}function w(h,p){return p>=h.firstLine()&&p<=h.lastLine()}function T(h){return/^[a-z]$/.test(h)}function A(h){return"()[]{}".indexOf(h)!=-1}function L(h){return u.test(h)}function D(h){return v.test(h)}function P(h){return/^\s*$/.test(h)}function N(h){return".?!".indexOf(h)!=-1}function le(h,p){for(var b=0;b<p.length;b++)if(p[b]==h)return!0;return!1}var H={};function M(h,p,b,y,k){if(p===void 0&&!k)throw Error("defaultValue is required unless callback is provided");if(b||(b="string"),H[h]={type:b,defaultValue:p,callback:k},y)for(var S=0;S<y.length;S++)H[y[S]]=H[h];p&&ie(h,p)}function ie(h,p,b,y){var k=H[h];y=y||{};var S=y.scope;if(!k)return new Error("Unknown option: "+h);if(k.type=="boolean"){if(p&&p!==!0)return new Error("Invalid argument: "+h+"="+p);p!==!1&&(p=!0)}k.callback?(S!=="local"&&k.callback(p,void 0),S!=="global"&&b&&k.callback(p,b)):(S!=="local"&&(k.value=k.type=="boolean"?!!p:p),S!=="global"&&b&&(b.state.vim.options[h]={value:p}))}function ne(h,p,b){var y=H[h];b=b||{};var k=b.scope;if(!y)return new Error("Unknown option: "+h);if(y.callback){let S=p&&y.callback(void 0,p);return k!=="global"&&S!==void 0?S:k!=="local"?y.callback():void 0}else return(k!=="global"&&p&&p.state.vim.options[h]||k!=="local"&&y||{}).value}M("filetype",void 0,"string",["ft"],function(h,p){if(p!==void 0)if(h===void 0){let b=p.getOption("mode");return b=="null"?"":b}else{let b=h==""?"null":h;p.setOption("mode",b)}}),M("textwidth",80,"number",["tw"],function(h,p){if(p!==void 0)if(h===void 0){var b=p.getOption("textwidth");return b}else{var y=Math.round(h);y>1&&p.setOption("textwidth",y)}});var re=function(){var h=100,p=-1,b=0,y=0,k=new Array(h);function S(X,U,q){var J=p%h,te=k[J];function F(se){var he=++p%h,Ae=k[he];Ae&&Ae.clear(),k[he]=X.setBookmark(se)}if(te){var V=te.find();V&&!vt(V,U)&&F(U)}else F(U);F(q),b=p,y=p-h+1,y<0&&(y=0)}function Q(X,U){p+=U,p>b?p=b:p<y&&(p=y);var q=k[(h+p)%h];if(q&&!q.find()){var J=U>0?1:-1,te,F=X.getCursor();do if(p+=J,q=k[(h+p)%h],q&&(te=q.find())&&!vt(F,te))break;while(p<b&&p>y)}return q}function $(X,U){var q=p,J=Q(X,U);return p=q,J&&J.find()}return{cachedCursor:void 0,add:S,find:$,move:Q}},de=function(h){return h?{changes:h.changes,expectCursorActivityForChange:h.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};class pe{constructor(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=de()}exitMacroRecordMode(){var p=j.macroModeState;p.onRecordingDone&&p.onRecordingDone(),p.onRecordingDone=void 0,p.isRecording=!1}enterMacroRecordMode(p,b){var y=j.registerController.getRegister(b);if(y){if(y.clear(),this.latestRegister=b,p.openDialog){var k=xo("span",{class:"cm-vim-message"},"recording @"+b);this.onRecordingDone=p.openDialog(k,null,{bottom:!0})}this.isRecording=!0}}}function ve(h){return h.state.vim||(h.state.vim={inputState:new On,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:{},expectLiteralNext:!1}),h.state.vim}var j;function ue(){j={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:re(),macroModeState:new pe,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new xg({}),searchHistoryController:new ac,exCommandHistoryController:new ac};for(var h in H){var p=H[h];p.value=p.defaultValue}}var Z,C={enterVimMode:a,leaveVimMode:l,buildKeyMap:function(){},getRegisterController:function(){return j.registerController},resetVimGlobalState_:ue,getVimGlobalState_:function(){return j},maybeInitVimState_:ve,suppressErrorLogging:!1,InsertModeKey:Qg,map:function(h,p,b){In.map(h,p,b)},unmap:function(h,p){return In.unmap(h,p)},noremap:function(h,p,b){In.map(h,p,b,!0)},mapclear:function(h){var p=n.length,b=r,y=n.slice(0,p-b);if(n=n.slice(p-b),h)for(var k=y.length-1;k>=0;k--){var S=y[k];if(h!==S.context)if(S.context)this._mapCommand(S);else{var Q=["normal","insert","visual"];for(var $ in Q)if(Q[$]!==h){var X=Object.assign({},S);X.context=Q[$],this._mapCommand(X)}}}},langmap:Lt,vimKeyFromEvent:Rt,setOption:ie,getOption:ne,defineOption:M,defineEx:function(h,p,b){if(!p)p=h;else if(h.indexOf(p)!==0)throw new Error('(Vim.defineEx) "'+p+'" is not a prefix of "'+h+'", command not registered');oS[h]=b,In.commandMap_[p]={name:h,shortName:p,type:"api"}},handleKey:function(h,p,b){var y=this.findKey(h,p,b);if(typeof y=="function")return y()},multiSelectHandleKey:uD,findKey:function(h,p,b){var y=ve(h),k=h;function S(){var q=j.macroModeState;if(q.isRecording){if(p=="q")return q.exitMacroRecordMode(),Nt(k),!0;b!="mapping"&&aD(q,p)}}function Q(){if(p=="<Esc>"){if(y.visualMode)Jn(k);else if(y.insertMode)vo(k);else return;return Nt(k),!0}}function $(){if(Q())return!0;y.inputState.keyBuffer.push(p);var q=y.inputState.keyBuffer.join(""),J=p.length==1,te=Kn.matchCommand(q,n,y.inputState,"insert"),F=y.inputState.changeQueue;if(te.type=="none")return Nt(k),!1;if(te.type=="partial"){if(te.expectLiteralNext&&(y.expectLiteralNext=!0),Z&&window.clearTimeout(Z),Z=J&&window.setTimeout(function(){y.insertMode&&y.inputState.keyBuffer.length&&Nt(k)},ne("insertModeEscKeysTimeout")),J){var V=k.listSelections();(!F||F.removed.length!=V.length)&&(F=y.inputState.changeQueue=new vh),F.inserted+=p;for(var se=0;se<V.length;se++){var he=At(V[se].anchor,V[se].head),Ae=yo(V[se].anchor,V[se].head),Qe=k.getRange(he,k.state.overwrite?$e(Ae,0,1):Ae);F.removed[se]=(F.removed[se]||"")+Qe}}return!J}if(y.expectLiteralNext=!1,Z&&window.clearTimeout(Z),te.command&&F){for(var V=k.listSelections(),se=0;se<V.length;se++){var Re=V[se].head;k.replaceRange(F.removed[se]||"",$e(Re,0,-F.inserted.length),Re,"+input")}j.macroModeState.lastInsertModeChanges.changes.pop()}return te.command||Nt(k),te.command}function X(){if(S()||Q())return!0;y.inputState.keyBuffer.push(p);var q=y.inputState.keyBuffer.join("");if(/^[1-9]\d*$/.test(q))return!0;var J=/^(\d*)(.*)$/.exec(q);if(!J)return Nt(k),!1;var te=y.visualMode?"visual":"normal",F=J[2]||J[1];y.inputState.operatorShortcut&&y.inputState.operatorShortcut.slice(-1)==F&&(F=y.inputState.operatorShortcut);var V=Kn.matchCommand(F,n,y.inputState,te);return V.type=="none"?(Nt(k),!1):V.type=="partial"?(V.expectLiteralNext&&(y.expectLiteralNext=!0),!0):V.type=="clear"?(Nt(k),!0):(y.expectLiteralNext=!1,y.inputState.keyBuffer.length=0,J=/^(\d*)(.*)$/.exec(q),J&&J[1]&&J[1]!="0"&&y.inputState.pushRepeatDigit(J[1]),V.command)}var U;return y.insertMode?U=$():U=X(),U===!1?!y.insertMode&&p.length===1?function(){return!0}:void 0:U===!0?function(){return!0}:function(){return k.operation(function(){k.curOp.isVimOp=!0;try{U.type=="keyToKey"?We(k,U.toKeys,U):Kn.processCommand(k,y,U)}catch(q){throw k.state.vim=void 0,ve(k),C.suppressErrorLogging||console.log(q),q}return!0})}},handleEx:function(h,p){In.processCommand(h,p)},defineMotion:vg,defineAction:ye,defineOperator:wg,mapCommand:oD,_mapCommand:sS,defineRegister:wh,exitVisualMode:Jn,exitInsertMode:vo},W=[],oe=!1,I;function Ne(h){if(h[0]=="<"){var p=h.toLowerCase().slice(1,-1),b=p.split("-");if(p=b.pop()||"",p=="lt")h="<";else if(p=="space")h=" ";else if(p=="cr")h=`
`;else if(Xe[p]){var y=I.value,k={key:Xe[p],target:{value:y,selectionEnd:y.length,selectionStart:y.length}};I.onKeyDown&&I.onKeyDown(k,I.value,Q),I&&I.onKeyUp&&I.onKeyUp(k,I.value,Q);return}}if(h==`
`){var S=I;I=null,S.onClose&&S.onClose(S.value)}else I.value=(I.value||"")+h;function Q($){typeof $=="string"?I.value=$:I=null}}function We(h,p,b){var y=oe;if(b){if(W.indexOf(b)!=-1)return;W.push(b),oe=b.noremap!=!1}try{for(var k=ve(h),S=/<(?:[CSMA]-)*\w+>|./gi,Q;Q=S.exec(p);){var $=Q[0],X=k.insertMode;if(I){Ne($);continue}var U=C.handleKey(h,$,"mapping");if(!U&&X&&k.insertMode){if($[0]=="<"){var q=$.toLowerCase().slice(1,-1),J=q.split("-");if(q=J.pop()||"",q=="lt")$="<";else if(q=="space")$=" ";else if(q=="cr")$=`
`;else if(Xe.hasOwnProperty(q)){$=Xe[q],hS(h,$);continue}else $=$[0],S.lastIndex=Q.index+1}h.replaceSelection($)}}}finally{if(W.pop(),oe=W.length?y:!1,!W.length&&I){var te=I;I=null,cc(h,te)}}}var Ve={Return:"CR",Backspace:"BS",Delete:"Del",Escape:"Esc",Insert:"Ins",ArrowLeft:"Left",ArrowRight:"Right",ArrowUp:"Up",ArrowDown:"Down",Enter:"CR"," ":"Space"},Et={Shift:1,Alt:1,Command:1,Control:1,CapsLock:1,AltGraph:1,Dead:1,Unidentified:1},Xe={};"Left|Right|Up|Down|End|Home".split("|").concat(Object.keys(Ve)).forEach(function(h){Xe[(Ve[h]||"").toLowerCase()]=Xe[h.toLowerCase()]=h});function Rt(h,p){var S;var b=h.key;if(!Et[b]){b.length>1&&b[0]=="n"&&(b=b.replace("Numpad","")),b=Ve[b]||b;var y="";if(h.ctrlKey&&(y+="C-"),h.altKey&&(y+="A-"),h.metaKey&&(y+="M-"),t.isMac&&h.altKey&&!h.metaKey&&!h.ctrlKey&&(y=y.slice(2)),(y||b.length>1)&&h.shiftKey&&(y+="S-"),p&&!p.expectLiteralNext&&b.length==1){if(s.keymap&&b in s.keymap)(s.remapCtrl!=!1||!y)&&(b=s.keymap[b]);else if(b.charCodeAt(0)>255){var k=((S=h.code)==null?void 0:S.slice(-1))||"";h.shiftKey||(k=k.toLowerCase()),k&&(b=k)}}return y+=b,y.length>1&&(y="<"+y+">"),y}}function Lt(h,p){s.string!==h&&(s=dn(h)),s.remapCtrl=p}function dn(h){let p={};if(!h)return{keymap:p,string:""};function b(y){return y.split(/\\?(.)/).filter(Boolean)}return h.split(/((?:[^\\,]|\\.)+),/).map(y=>{if(!y)return;let k=y.split(/((?:[^\\;]|\\.)+);/);if(k.length==3){let S=b(k[1]),Q=b(k[2]);if(S.length!==Q.length)return;for(let $=0;$<S.length;++$)p[S[$]]=Q[$]}else if(k.length==1){let S=b(y);if(S.length%2!==0)return;for(let Q=0;Q<S.length;Q+=2)p[S[Q]]=S[Q+1]}}),{keymap:p,string:h}}M("langmap",void 0,"string",["lmap"],function(h,p){if(h===void 0)return s.string;Lt(h)});class On{constructor(){this.prefixRepeat=[],this.motionRepeat=[],this.operator=null,this.operatorArgs=null,this.motion=null,this.motionArgs=null,this.keyBuffer=[],this.registerName=null,this.changeQueue=null}pushRepeatDigit(p){this.operator?this.motionRepeat=this.motionRepeat.concat(p):this.prefixRepeat=this.prefixRepeat.concat(p)}getRepeat(){var p=0;return(this.prefixRepeat.length>0||this.motionRepeat.length>0)&&(p=1,this.prefixRepeat.length>0&&(p*=parseInt(this.prefixRepeat.join(""),10)),this.motionRepeat.length>0&&(p*=parseInt(this.motionRepeat.join(""),10))),p}}function Nt(h,p){h.state.vim.inputState=new On,h.state.vim.expectLiteralNext=!1,t.signal(h,"vim-command-done",p)}function vh(){this.removed=[],this.inserted=""}class Hi{constructor(p,b,y){this.clear(),this.keyBuffer=[p||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!b,this.blockwise=!!y}setText(p,b,y){this.keyBuffer=[p||""],this.linewise=!!b,this.blockwise=!!y}pushText(p,b){b&&(this.linewise||this.keyBuffer.push(`
`),this.linewise=!0),this.keyBuffer.push(p)}pushInsertModeChanges(p){this.insertModeChanges.push(de(p))}pushSearchQuery(p){this.searchQueries.push(p)}clear(){this.keyBuffer=[],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!1}toString(){return this.keyBuffer.join("")}}function wh(h,p){var b=j.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]=p,m.push(h)}class xg{constructor(p){this.registers=p,this.unnamedRegister=p['"']=new Hi,p["."]=new Hi,p[":"]=new Hi,p["/"]=new Hi,p["+"]=new Hi}pushText(p,b,y,k,S){if(p!=="_"){k&&y.charAt(y.length-1)!==`
`&&(y+=`
`);var Q=this.isValidRegister(p)?this.getRegister(p):null;if(!Q){switch(b){case"yank":this.registers[0]=new Hi(y,k,S);break;case"delete":case"change":y.indexOf(`
`)==-1?this.registers["-"]=new Hi(y,k):(this.shiftNumericRegisters_(),this.registers[1]=new Hi(y,k));break}this.unnamedRegister.setText(y,k,S);return}var $=D(p);$?Q.pushText(y,k):Q.setText(y,k,S),p==="+"&&navigator.clipboard.writeText(y),this.unnamedRegister.setText(Q.toString(),k)}}getRegister(p){return this.isValidRegister(p)?(p=p.toLowerCase(),this.registers[p]||(this.registers[p]=new Hi),this.registers[p]):this.unnamedRegister}isValidRegister(p){return p&&(le(p,m)||x.test(p))}shiftNumericRegisters_(){for(var p=9;p>=2;p--)this.registers[p]=this.getRegister(""+(p-1))}}class ac{constructor(){this.historyBuffer=[],this.iterator=0,this.initialPrefix=null}nextMatch(p,b){var y=this.historyBuffer,k=b?-1:1;this.initialPrefix===null&&(this.initialPrefix=p);for(var S=this.iterator+k;b?S>=0:S<y.length;S+=k)for(var Q=y[S],$=0;$<=Q.length;$++)if(this.initialPrefix==Q.substring(0,$))return this.iterator=S,Q;if(S>=y.length)return this.iterator=y.length,this.initialPrefix;if(S<0)return p}pushInput(p){var b=this.historyBuffer.indexOf(p);b>-1&&this.historyBuffer.splice(b,1),p.length&&this.historyBuffer.push(p)}reset(){this.initialPrefix=null,this.iterator=this.historyBuffer.length}}var Kn={matchCommand:function(h,p,b,y){var k=Gi(h,p,y,b);if(!k.full&&!k.partial)return{type:"none"};if(!k.full&&k.partial)return{type:"partial",expectLiteralNext:k.partial.length==1&&k.partial[0].keys.slice(-11)=="<character>"};for(var S,Q=0;Q<k.full.length;Q++){var $=k.full[Q];S||(S=$)}if(S.keys.slice(-11)=="<character>"||S.keys.slice(-10)=="<register>"){var X=Rn(h);if(!X||X.length>1)return{type:"clear"};b.selectedCharacter=X}return{type:"full",command:S}},processCommand:function(h,p,b){switch(p.inputState.repeatOverride=b.repeatOverride,b.type){case"motion":this.processMotion(h,p,b);break;case"operator":this.processOperator(h,p,b);break;case"operatorMotion":this.processOperatorMotion(h,p,b);break;case"action":this.processAction(h,p,b);break;case"search":this.processSearch(h,p,b);break;case"ex":case"keyToEx":this.processEx(h,p,b);break}},processMotion:function(h,p,b){p.inputState.motion=b.motion,p.inputState.motionArgs=je(b.motionArgs),this.evalInput(h,p)},processOperator:function(h,p,b){var y=p.inputState;if(y.operator)if(y.operator==b.operator){y.motion="expandToLine",y.motionArgs={linewise:!0,repeat:1},this.evalInput(h,p);return}else Nt(h);y.operator=b.operator,y.operatorArgs=je(b.operatorArgs),b.keys.length>1&&(y.operatorShortcut=b.keys),b.exitVisualBlock&&(p.visualBlock=!1,$a(h)),p.visualMode&&this.evalInput(h,p)},processOperatorMotion:function(h,p,b){var y=p.visualMode,k=je(b.operatorMotionArgs);k&&y&&k.visualLine&&(p.visualLine=!0),this.processOperator(h,p,b),y||this.processMotion(h,p,b)},processAction:function(h,p,b){var y=p.inputState,k=y.getRepeat(),S=!!k,Q=je(b.actionArgs)||{repeat:1};y.selectedCharacter&&(Q.selectedCharacter=y.selectedCharacter),b.operator&&this.processOperator(h,p,b),b.motion&&this.processMotion(h,p,b),(b.motion||b.operator)&&this.evalInput(h,p),Q.repeat=k||1,Q.repeatIsExplicit=S,Q.registerName=y.registerName,Nt(h),p.lastMotion=null,b.isEdit&&this.recordLastEdit(p,y,b),ce[b.action](h,Q,p)},processSearch:function(h,p,b){if(!h.getSearchCursor)return;var y=b.searchArgs.forward,k=b.searchArgs.wholeWordOnly;Ln(h).setReversed(!y);var S=y?"/":"?",Q=Ln(h).getQuery(),$=h.getScrollInfo();function X(se,he,Ae){j.searchHistoryController.pushInput(se),j.searchHistoryController.reset();try{uc(h,se,he,Ae)}catch(Qe){ht(h,"Invalid regex: "+se),Nt(h);return}Kn.processMotion(h,p,{keys:"",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:b.searchArgs.toJumplist}})}function U(se){h.scrollTo($.left,$.top),X(se,!0,!0);var he=j.macroModeState;he.isRecording&&cD(he,se)}function q(se,he,Ae){var Qe=Rt(se),Re,dt;Qe=="<Up>"||Qe=="<Down>"?(Re=Qe=="<Up>",dt=se.target?se.target.selectionEnd:0,he=j.searchHistoryController.nextMatch(he,Re)||"",Ae(he),dt&&se.target&&(se.target.selectionEnd=se.target.selectionStart=Math.min(dt,se.target.value.length))):Qe&&Qe!="<Left>"&&Qe!="<Right>"&&j.searchHistoryController.reset();var mi;try{mi=uc(h,he,!0,!0)}catch(Ht){}mi?h.scrollIntoView(nS(h,!y,mi),30):(Pg(h),h.scrollTo($.left,$.top))}function J(se,he,Ae){var Qe=Rt(se);Qe=="<Esc>"||Qe=="<C-c>"||Qe=="<C-[>"||Qe=="<BS>"&&he==""?(j.searchHistoryController.pushInput(he),j.searchHistoryController.reset(),uc(h,Q),Pg(h),h.scrollTo($.left,$.top),t.e_stop(se),Nt(h),Ae(),h.focus()):Qe=="<Up>"||Qe=="<Down>"?t.e_stop(se):Qe=="<C-u>"&&(t.e_stop(se),Ae(""))}switch(b.searchArgs.querySrc){case"prompt":var te=j.macroModeState;if(te.isPlaying){let he=te.replaySearchQueries.shift();X(he,!0,!1)}else cc(h,{onClose:U,prefix:S,desc:"(JavaScript regexp)",onKeyUp:q,onKeyDown:J});break;case"wordUnderCursor":var F=Tg(h,{noSymbol:!0}),V=!0;if(F||(F=Tg(h,{noSymbol:!1}),V=!1),!F){ht(h,"No word under cursor"),Nt(h);return}let se=h.getLine(F.start.line).substring(F.start.ch,F.end.ch);V&&k?se="\\b"+se+"\\b":se=Q7(se),j.jumpList.cachedCursor=h.getCursor(),h.setCursor(F.start),X(se,!0,!1);break}},processEx:function(h,p,b){function y(S){j.exCommandHistoryController.pushInput(S),j.exCommandHistoryController.reset(),In.processCommand(h,S),h.state.vim&&Nt(h)}function k(S,Q,$){var X=Rt(S),U,q;(X=="<Esc>"||X=="<C-c>"||X=="<C-[>"||X=="<BS>"&&Q=="")&&(j.exCommandHistoryController.pushInput(Q),j.exCommandHistoryController.reset(),t.e_stop(S),Nt(h),$(),h.focus()),X=="<Up>"||X=="<Down>"?(t.e_stop(S),U=X=="<Up>",q=S.target?S.target.selectionEnd:0,Q=j.exCommandHistoryController.nextMatch(Q,U)||"",$(Q),q&&S.target&&(S.target.selectionEnd=S.target.selectionStart=Math.min(q,S.target.value.length))):X=="<C-u>"?(t.e_stop(S),$("")):X&&X!="<Left>"&&X!="<Right>"&&j.exCommandHistoryController.reset()}b.type=="keyToEx"?In.processCommand(h,b.exArgs.input):p.visualMode?cc(h,{onClose:y,prefix:":",value:"'<,'>",onKeyDown:k,selectValueOnOpen:!1}):cc(h,{onClose:y,prefix:":",onKeyDown:k})},evalInput:function(h,p){var b=p.inputState,y=b.motion,k=b.motionArgs||{repeat:1},S=b.operator,Q=b.operatorArgs||{},$=b.registerName,X=p.sel,U=nt(p.visualMode?Pe(h,X.head):h.getCursor("head")),q=nt(p.visualMode?Pe(h,X.anchor):h.getCursor("anchor")),J=nt(U),te=nt(q),F,V,se;if(S&&this.recordLastEdit(p,b),b.repeatOverride!==void 0?se=b.repeatOverride:se=b.getRepeat(),se>0&&k.explicitRepeat?k.repeatIsExplicit=!0:(k.noRepeat||!k.explicitRepeat&&se===0)&&(se=1,k.repeatIsExplicit=!1),b.selectedCharacter&&(k.selectedCharacter=Q.selectedCharacter=b.selectedCharacter),k.repeat=se,Nt(h),y){var he=Xn[y](h,U,k,p,b);if(p.lastMotion=Xn[y],!he)return;if(k.toJumplist){var Ae=j.jumpList,Qe=Ae.cachedCursor;Qe?(W2(h,Qe,he),delete Ae.cachedCursor):W2(h,U,he)}he instanceof Array?(V=he[0],F=he[1]):F=he,F||(F=nt(U)),p.visualMode?(p.visualBlock&&F.ch===1/0||(F=Pe(h,F,J)),V&&(V=Pe(h,V)),V=V||te,X.anchor=V,X.head=F,$a(h),Tr(h,p,"<",ut(V,F)?V:F),Tr(h,p,">",ut(V,F)?F:V)):S||(F=Pe(h,F,J),h.setCursor(F.line,F.ch))}if(S){if(Q.lastSel){V=te;var Re=Q.lastSel,dt=Math.abs(Re.head.line-Re.anchor.line),mi=Math.abs(Re.head.ch-Re.anchor.ch);Re.visualLine?F=new e(te.line+dt,te.ch):Re.visualBlock?F=new e(te.line+dt,te.ch+mi):Re.head.line==Re.anchor.line?F=new e(te.line,te.ch+mi):F=new e(te.line+dt,te.ch),p.visualMode=!0,p.visualLine=Re.visualLine,p.visualBlock=Re.visualBlock,X=p.sel={anchor:V,head:F},$a(h)}else p.visualMode&&(Q.lastSel={anchor:nt(X.anchor),head:nt(X.head),visualBlock:p.visualBlock,visualLine:p.visualLine});var Ht,oi,Ke,tt,Ei;if(p.visualMode){Ht=At(X.head,X.anchor),oi=yo(X.head,X.anchor),Ke=p.visualLine||Q.linewise,tt=p.visualBlock?"block":Ke?"line":"char";var si=i(h,Ht,oi);if(Ei=Sg(h,{anchor:si.start,head:si.end},tt),Ke){var Kt=Ei.ranges;if(tt=="block")for(var tr=0;tr<Kt.length;tr++)Kt[tr].head.ch=ri(h,Kt[tr].head.line);else tt=="line"&&(Kt[0].head=new e(Kt[0].head.line+1,0))}}else{if(Ht=nt(V||te),oi=nt(F||J),ut(oi,Ht)){var Ag=Ht;Ht=oi,oi=Ag}Ke=k.linewise||Q.linewise,Ke?I7(h,Ht,oi):k.forward&&L7(h,Ht,oi),tt="char";var fD=!k.inclusive||Ke,si=i(h,Ht,oi);Ei=Sg(h,{anchor:si.start,head:si.end},tt,fD)}h.setSelections(Ei.ranges,Ei.primary),p.lastMotion=null,Q.repeat=se,Q.registerName=$,Q.linewise=Ke;var $g=lc[S](h,Q,Ei.ranges,te,F);p.visualMode&&Jn(h,$g!=null),$g&&h.setCursor($g)}},recordLastEdit:function(h,p,b){var y=j.macroModeState;y.isPlaying||(h.lastEditInputState=p,h.lastEditActionCommand=b,y.lastInsertModeChanges.changes=[],y.lastInsertModeChanges.expectCursorActivityForChange=!1,y.lastInsertModeChanges.visualBlock=h.visualBlock?h.sel.head.line-h.sel.anchor.line:0)}},Xn={moveToTopLine:function(h,p,b){var y=Cg(h).top+b.repeat-1;return new e(y,er(h.getLine(y)))},moveToMiddleLine:function(h){var p=Cg(h),b=Math.floor((p.top+p.bottom)*.5);return new e(b,er(h.getLine(b)))},moveToBottomLine:function(h,p,b){var y=Cg(h).bottom-b.repeat+1;return new e(y,er(h.getLine(y)))},expandToLine:function(h,p,b){var y=p;return new e(y.line+b.repeat-1,1/0)},findNext:function(h,p,b){var y=Ln(h),k=y.getQuery();if(k){var S=!b.forward;return S=y.isReversed()?!S:S,iS(h,k),nS(h,S,k,b.repeat)}},findAndSelectNextInclusive:function(h,p,b,y,k){var S=Ln(h),Q=S.getQuery();if(Q){var $=!b.forward;$=S.isReversed()?!$:$;var X=tD(h,$,Q,b.repeat,y);if(X){if(k.operator)return X;var U=X[0],q=new e(X[1].line,X[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 J=y.sel.anchor;if(J)return S.isReversed()?b.forward?[J,U]:[J,q]:b.forward?[J,q]:[J,U]}else y.visualMode=!0,y.visualLine=!1,y.visualBlock=!1,t.signal(h,"vim-mode-change",{mode:"visual",subMode:""});return $?[q,U]:[U,q]}}},goToMark:function(h,p,b,y){var k=Sh(h,y,b.selectedCharacter||"");return k?b.linewise?{line:k.line,ch:er(h.getLine(k.line))}:k:null},moveToOtherHighlightedEnd:function(h,p,b,y){if(y.visualBlock&&b.sameLine){var k=y.sel;return[Pe(h,new e(k.anchor.line,k.head.ch)),Pe(h,new e(k.head.line,k.anchor.ch))]}else return[y.sel.head,y.sel.anchor]},jumpToMark:function(h,p,b,y){for(var k=p,S=0;S<b.repeat;S++){var Q=k;for(var $ in y.marks)if(T($)){var X=y.marks[$].find(),U=b.forward?ut(X,Q):ut(Q,X);if(!U&&!(b.linewise&&X.line==Q.line)){var q=vt(Q,k),J=b.forward?M2(Q,X,k):M2(k,X,Q);(q||J)&&(k=X)}}}return b.linewise&&(k=new e(k.line,er(h.getLine(k.line)))),k},moveByCharacters:function(h,p,b){var y=p,k=b.repeat,S=b.forward?y.ch+k:y.ch-k;return new e(y.line,S)},moveByLines:function(h,p,b,y){var k=p,S=k.ch;switch(y.lastMotion){case this.moveByLines:case this.moveByDisplayLines:case this.moveByScroll:case this.moveToColumn:case this.moveToEol:S=y.lastHPos;break;default:y.lastHPos=S}var Q=b.repeat+(b.repeatOffset||0),$=b.forward?k.line+Q:k.line-Q,X=h.firstLine(),U=h.lastLine(),q=h.findPosV(k,b.forward?Q:-Q,"line",y.lastHSPos),J=b.forward?q.line>$:q.line<$;return J&&($=q.line,S=q.ch),$<X&&k.line==X?this.moveToStartOfLine(h,p,b,y):$>U&&k.line==U?Y2(h,p,b,y,!0):(b.toFirstChar&&(S=er(h.getLine($)),y.lastHPos=S),y.lastHSPos=h.charCoords(new e($,S),"div").left,new e($,S))},moveByDisplayLines:function(h,p,b,y){var k=p;switch(y.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break;default:y.lastHSPos=h.charCoords(k,"div").left}var S=b.repeat,Q=h.findPosV(k,b.forward?S:-S,"line",y.lastHSPos);if(Q.hitSide)if(b.forward){var $=h.charCoords(Q,"div"),X={top:$.top+8,left:y.lastHSPos};Q=h.coordsChar(X,"div")}else{var U=h.charCoords(new e(h.firstLine(),0),"div");U.left=y.lastHSPos,Q=h.coordsChar(U,"div")}return y.lastHPos=Q.ch,Q},moveByPage:function(h,p,b){var y=p,k=b.repeat;return h.findPosV(y,b.forward?k:-k,"page")},moveByParagraph:function(h,p,b){var y=b.forward?1:-1;return F2(h,p,b.repeat,y).start},moveBySentence:function(h,p,b){var y=b.forward?1:-1;return j7(h,p,b.repeat,y)},moveByScroll:function(h,p,b,y){var k=h.getScrollInfo(),S=null,Q=b.repeat;Q||(Q=k.clientHeight/(2*h.defaultTextHeight()));var $=h.charCoords(p,"local");if(b.repeat=Q,S=Xn.moveByDisplayLines(h,p,b,y),!S)return null;var X=h.charCoords(S,"local");return h.scrollTo(null,k.top+X.top-$.top),S},moveByWords:function(h,p,b){return M7(h,p,b.repeat,!!b.forward,!!b.wordEnd,!!b.bigWord)},moveTillCharacter:function(h,p,b){var y=b.repeat,k=Eg(h,y,b.forward,b.selectedCharacter,p),S=b.forward?-1:1;return V2(S,b),k?(k.ch+=S,k):null},moveToCharacter:function(h,p,b){var y=b.repeat;return V2(0,b),Eg(h,y,b.forward,b.selectedCharacter,p)||p},moveToSymbol:function(h,p,b){var y=b.repeat;return b.selectedCharacter&&U7(h,y,b.forward,b.selectedCharacter)||p},moveToColumn:function(h,p,b,y){var k=b.repeat;return y.lastHPos=k-1,y.lastHSPos=h.charCoords(p,"div").left,N7(h,k)},moveToEol:function(h,p,b,y){return Y2(h,p,b,y,!1)},moveToFirstNonWhiteSpaceCharacter:function(h,p){var b=p;return new e(b.line,er(h.getLine(b.line)))},moveToMatchedSymbol:function(h,p){for(var b=p,y=b.line,k=b.ch,S=h.getLine(y),Q;k<S.length;k++)if(Q=S.charAt(k),Q&&A(Q)){var $=h.getTokenTypeAt(new e(y,k+1));if($!=="string"&&$!=="comment")break}if(k<S.length){var X=Q==="<"||Q===">"?/[(){}[\]<>]/:/[(){}[\]]/,U=h.findMatchingBracket(new e(y,k),{bracketRegex:X});return U.to}else return b},moveToStartOfLine:function(h,p){return new e(p.line,0)},moveToLineOrEdgeOfDocument:function(h,p,b){var y=b.forward?h.lastLine():h.firstLine();return b.repeatIsExplicit&&(y=b.repeat-h.getOption("firstLineNumber")),new e(y,er(h.getLine(y)))},moveToStartOfDisplayLine:function(h){return h.execCommand("goLineLeft"),h.getCursor()},moveToEndOfDisplayLine:function(h){h.execCommand("goLineRight");var p=h.getCursor();return p.sticky=="before"&&p.ch--,p},textObjectManipulation:function(h,p,b,y){var k={"(":")",")":"(","{":"}","}":"{","[":"]","]":"[","<":">",">":"<"},S={"'":!0,'"':!0,"`":!0},Q=b.selectedCharacter||"";Q=="b"?Q="(":Q=="B"&&(Q="{");var $=!b.textObjectInner,X,U;if(k[Q]){if(U=!0,X=G2(h,p,Q,$),!X){var q=h.getSearchCursor(new RegExp("\\"+Q,"g"),p);q.find()&&(X=G2(h,q.from(),Q,$))}}else if(S[Q])U=!0,X=W7(h,p,Q,$);else if(Q==="W"||Q==="w")for(var J=b.repeat||1;J-- >0;){var te=Tg(h,{inclusive:$,innerWord:!$,bigWord:Q==="W",noSymbol:Q==="W",multiline:!0},X&&X.end);te&&(X||(X=te),X.end=te.end)}else if(Q==="p")if(X=F2(h,p,b.repeat,0,$),b.linewise=!0,y.visualMode)y.visualLine||(y.visualLine=!0);else{var F=y.inputState.operatorArgs;F&&(F.linewise=!0),X.end.line--}else if(Q==="t")X=D7(h,p,$);else if(Q==="s"){var V=h.getLine(p.line);p.ch>0&&N(V[p.ch])&&(p.ch-=1);var se=H2(h,p,b.repeat,1,$),he=H2(h,p,b.repeat,-1,$);P(h.getLine(he.line)[he.ch])&&P(h.getLine(se.line)[se.ch-1])&&(he={line:he.line,ch:he.ch+1}),X={start:he,end:se}}return X?h.state.vim.visualMode?X7(h,X.start,X.end,U):[X.start,X.end]:null},repeatLastCharacterSearch:function(h,p,b){var y=j.lastCharacterSearch,k=b.repeat,S=b.forward===y.forward,Q=(y.increment?1:0)*(S?-1:1);h.moveH(-Q,"char"),b.inclusive=!!S;var $=Eg(h,k,S,y.selectedCharacter);return $?($.ch+=Q,$):(h.moveH(Q,"char"),p)}};function vg(h,p){Xn[h]=p}function kh(h,p){for(var b=[],y=0;y<p;y++)b.push(h);return b}var lc={change:function(h,p,b){var y,k,S=h.state.vim,Q=b[0].anchor,$=b[0].head;if(S.visualMode)if(p.fullLine)$.ch=Number.MAX_VALUE,$.line--,h.setSelection(Q,$),k=h.getSelection(),h.replaceSelection(""),y=Q;else{k=h.getSelection();var q=kh("",b.length);h.replaceSelections(q),y=At(b[0].head,b[0].anchor)}else{k=h.getRange(Q,$);var X=S.lastEditInputState;if((X==null?void 0:X.motion)=="moveByWords"&&!P(k)){var U=/\s+$/.exec(k);U&&X.motionArgs&&X.motionArgs.forward&&($=$e($,0,-U[0].length),k=k.slice(0,-U[0].length))}p.linewise&&(Q=new e(Q.line,er(h.getLine(Q.line))),$.line>Q.line&&($=new e($.line-1,Number.MAX_VALUE))),h.replaceRange("",Q,$),y=Q}j.registerController.pushText(p.registerName,"change",k,p.linewise,b.length>1),ce.enterInsertMode(h,{head:y},h.state.vim)},delete:function(h,p,b){var y,k,S=h.state.vim;if(S.visualBlock){k=h.getSelection();var X=kh("",b.length);h.replaceSelections(X),y=At(b[0].head,b[0].anchor)}else{var Q=b[0].anchor,$=b[0].head;p.linewise&&$.line!=h.firstLine()&&Q.line==h.lastLine()&&Q.line==$.line-1&&(Q.line==h.firstLine()?Q.ch=0:Q=new e(Q.line-1,ri(h,Q.line-1))),k=h.getRange(Q,$),h.replaceRange("",Q,$),y=Q,p.linewise&&(y=Xn.moveToFirstNonWhiteSpaceCharacter(h,Q))}return j.registerController.pushText(p.registerName,"delete",k,p.linewise,S.visualBlock),Pe(h,y)},indent:function(h,p,b){var y=h.state.vim,k=y.visualMode?p.repeat||0:1;if(h.indentMore)for(var S=0;S<k;S++)p.indentRight?h.indentMore():h.indentLess();else{var Q=b[0].anchor.line,$=y.visualBlock?b[b.length-1].anchor.line:b[0].head.line;p.linewise&&$--;for(var X=Q;X<=$;X++)for(var S=0;S<k;S++)h.indentLine(X,p.indentRight)}return Xn.moveToFirstNonWhiteSpaceCharacter(h,b[0].anchor)},indentAuto:function(h,p,b){return h.execCommand("indentAuto"),Xn.moveToFirstNonWhiteSpaceCharacter(h,b[0].anchor)},hardWrap:function(h,p,b,y){if(h.hardWrap){var k=b[0].anchor.line,S=b[0].head.line;p.linewise&&S--;var Q=h.hardWrap({from:k,to:S});return Q>k&&p.linewise&&Q--,p.keepCursor?y:new e(Q,0)}},changeCase:function(h,p,b,y,k){for(var S=h.getSelections(),Q=[],$=p.toLower,X=0;X<S.length;X++){var U=S[X],q="";if($===!0)q=U.toLowerCase();else if($===!1)q=U.toUpperCase();else for(var J=0;J<U.length;J++){var te=U.charAt(J);q+=D(te)?te.toLowerCase():te.toUpperCase()}Q.push(q)}return h.replaceSelections(Q),p.shouldMoveCursor?k:!h.state.vim.visualMode&&p.linewise&&b[0].anchor.line+1==b[0].head.line?Xn.moveToFirstNonWhiteSpaceCharacter(h,y):p.linewise?y:At(b[0].anchor,b[0].head)},yank:function(h,p,b,y){var k=h.state.vim,S=h.getSelection(),Q=k.visualMode?At(k.sel.anchor,k.sel.head,b[0].head,b[0].anchor):y;return j.registerController.pushText(p.registerName,"yank",S,p.linewise,k.visualBlock),Q}};function wg(h,p){lc[h]=p}var ce={jumpListWalk:function(h,p,b){if(!b.visualMode){var y=p.repeat||1,k=p.forward,S=j.jumpList,Q=S.move(h,k?y:-y),$=Q?Q.find():void 0;$=$||h.getCursor(),h.setCursor($)}},scroll:function(h,p,b){if(!b.visualMode){var y=p.repeat||1,k=h.defaultTextHeight(),S=h.getScrollInfo().top,Q=k*y,$=p.forward?S+Q:S-Q,X=nt(h.getCursor()),U=h.charCoords(X,"local");if(p.forward)$>U.top?(X.line+=($-U.top)/k,X.line=Math.ceil(X.line),h.setCursor(X),U=h.charCoords(X,"local"),h.scrollTo(null,U.top)):h.scrollTo(null,$);else{var q=$+h.getScrollInfo().clientHeight;q<U.bottom?(X.line-=(U.bottom-q)/k,X.line=Math.floor(X.line),h.setCursor(X),U=h.charCoords(X,"local"),h.scrollTo(null,U.bottom-h.getScrollInfo().clientHeight)):h.scrollTo(null,$)}}},scrollToCursor:function(h,p){var b=h.getCursor().line,y=h.charCoords(new e(b,0),"local"),k=h.getScrollInfo().clientHeight,S=y.top;switch(p.position){case"center":S=y.bottom-k/2;break;case"bottom":var Q=new e(b,h.getLine(b).length-1),$=h.charCoords(Q,"local"),X=$.bottom-S;S=S-k+X;break}h.scrollTo(null,S)},replayMacro:function(h,p,b){var y=p.selectedCharacter||"",k=p.repeat||1,S=j.macroModeState;for(y=="@"?y=S.latestRegister:S.latestRegister=y;k--;)sD(h,b,S,y)},enterMacroRecordMode:function(h,p){var b=j.macroModeState,y=p.selectedCharacter;j.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,p,b){if(!h.getOption("readOnly")){b.insertMode=!0,b.insertModeRepeat=p&&p.repeat||1;var y=p?p.insertAt:null,k=b.sel,S=p.head||h.getCursor("head"),Q=h.listSelections().length;if(y=="eol")S=new e(S.line,ri(h,S.line));else if(y=="bol")S=new e(S.line,0);else if(y=="charAfter"){var $=i(h,S,$e(S,0,1));S=$.end}else if(y=="firstNonBlank"){var $=i(h,S,Xn.moveToFirstNonWhiteSpaceCharacter(h,S));S=$.end}else if(y=="startOfSelectedArea"){if(!b.visualMode)return;b.visualBlock?(S=new e(Math.min(k.head.line,k.anchor.line),Math.min(k.head.ch,k.anchor.ch)),Q=Math.abs(k.head.line-k.anchor.line)+1):k.head.line<k.anchor.line?S=k.head:S=new e(k.anchor.line,0)}else if(y=="endOfSelectedArea"){if(!b.visualMode)return;b.visualBlock?(S=new e(Math.min(k.head.line,k.anchor.line),Math.max(k.head.ch,k.anchor.ch)+1),Q=Math.abs(k.head.line-k.anchor.line)+1):k.head.line>=k.anchor.line?S=$e(k.head,0,1):S=new e(k.anchor.line,0)}else if(y=="inplace"){if(b.visualMode)return}else y=="lastEdit"&&(S=rS(h)||S);h.setOption("disableInput",!1),p&&p.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"})),j.macroModeState.isPlaying||(h.on("change",aS),b.insertEnd&&b.insertEnd.clear(),b.insertEnd=h.setBookmark(S,{insertLeft:!0}),t.on(h.getInputField(),"keydown",uS)),b.visualMode&&Jn(h),q2(h,S,Q)}},toggleVisualMode:function(h,p,b){var y=p.repeat,k=h.getCursor(),S;if(b.visualMode)b.visualLine!=!!p.linewise||b.visualBlock!=!!p.blockwise?(b.visualLine=!!p.linewise,b.visualBlock=!!p.blockwise,t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""}),$a(h)):Jn(h);else{b.visualMode=!0,b.visualLine=!!p.linewise,b.visualBlock=!!p.blockwise,S=Pe(h,new e(k.line,k.ch+y-1));var Q=i(h,k,S);b.sel={anchor:Q.start,head:Q.end},t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""}),$a(h),Tr(h,b,"<",At(k,S)),Tr(h,b,">",yo(k,S))}},reselectLastSelection:function(h,p,b){var y=b.lastSelection;if(b.visualMode&&j2(h,b),y){var k=y.anchorMark.find(),S=y.headMark.find();if(!k||!S)return;b.sel={anchor:k,head:S},b.visualMode=!0,b.visualLine=y.visualLine,b.visualBlock=y.visualBlock,$a(h),Tr(h,b,"<",At(k,S)),Tr(h,b,">",yo(k,S)),t.signal(h,"vim-mode-change",{mode:"visual",subMode:b.visualLine?"linewise":b.visualBlock?"blockwise":""})}},joinLines:function(h,p,b){var y,k;if(b.visualMode){if(y=h.getCursor("anchor"),k=h.getCursor("head"),ut(k,y)){var S=k;k=y,y=S}k.ch=ri(h,k.line)-1}else{var Q=Math.max(p.repeat,2);y=h.getCursor(),k=Pe(h,new e(y.line+Q-1,1/0))}for(var $=0,X=y.line;X<k.line;X++){$=ri(h,y.line);var U="",q=0;if(!p.keepSpaces){var J=h.getLine(y.line+1);q=J.search(/\S/),q==-1?q=J.length:U=" "}h.replaceRange(U,new e(y.line,$),new e(y.line+1,q))}var te=Pe(h,new e(y.line,$));b.visualMode&&Jn(h,!1),h.setCursor(te)},newLineAndEnterInsertMode:function(h,p,b){b.insertMode=!0;var y=nt(h.getCursor());if(y.line===h.firstLine()&&!p.after)h.replaceRange(`
`,new e(h.firstLine(),0)),h.setCursor(h.firstLine(),0);else{y.line=p.after?y.line:y.line-1,y.ch=ri(h,y.line),h.setCursor(y);var k=t.commands.newlineAndIndentContinueComment||t.commands.newlineAndIndent;k(h)}this.enterInsertMode(h,{repeat:p.repeat},b)},paste:function(h,p,b){var y=j.registerController.getRegister(p.registerName);if(p.registerName==="+")navigator.clipboard.readText().then(S=>{this.continuePaste(h,p,b,S,y)});else{var k=y.toString();this.continuePaste(h,p,b,k,y)}},continuePaste:function(h,p,b,y,k){var S=nt(h.getCursor());if(y){if(p.matchIndent){var Q=h.getOption("tabSize"),$=function(si){var Kt=si.split(" ").length-1,tr=si.split(" ").length-1;return Kt*Q+tr*1},X=h.getLine(h.getCursor().line),U=$(X.match(/^\s*/)[0]),q=y.replace(/\n$/,""),J=y!==q,te=$(y.match(/^\s*/)[0]),y=q.replace(/^\s*/gm,function(si){var Kt=U+($(si)-te);if(Kt<0)return"";if(h.getOption("indentWithTabs")){var tr=Math.floor(Kt/Q);return Array(tr+1).join(" ")}else return Array(Kt+1).join(" ")});y+=J?`
`:""}if(p.repeat>1)var y=Array(p.repeat+1).join(y);var F=k.linewise,V=k.blockwise;if(V){y=y.split(`
`),F&&y.pop();for(var se=0;se<y.length;se++)y[se]=y[se]==""?" ":y[se];S.ch+=p.after?1:0,S.ch=Math.min(ri(h,S.line),S.ch)}else F?b.visualMode?y=b.visualLine?y.slice(0,-1):`
`+y.slice(0,y.length-1)+`
`:p.after?(y=`
`+y.slice(0,y.length-1),S.ch=ri(h,S.line)):S.ch=0:S.ch+=p.after?1:0;var he;if(b.visualMode){b.lastPastedText=y;var Ae,Qe=$7(h,b),Re=Qe[0],dt=Qe[1],mi=h.getSelection(),Ht=h.listSelections(),oi=new Array(Ht.length).join("1").split("1");b.lastSelection&&(Ae=b.lastSelection.headMark.find()),j.registerController.unnamedRegister.setText(mi),V?(h.replaceSelections(oi),dt=new e(Re.line+y.length-1,Re.ch),h.setCursor(Re),N2(h,dt),h.replaceSelections(y),he=Re):b.visualBlock?(h.replaceSelections(oi),h.setCursor(Re),h.replaceRange(y,Re,Re),he=Re):(h.replaceRange(y,Re,dt),he=h.posFromIndex(h.indexFromPos(Re)+y.length-1)),Ae&&(b.lastSelection.headMark=h.setBookmark(Ae)),F&&(he.ch=0)}else if(V){h.setCursor(S);for(var se=0;se<y.length;se++){var Ke=S.line+se;Ke>h.lastLine()&&h.replaceRange(`
`,new e(Ke,0));var tt=ri(h,Ke);tt<S.ch&&_7(h,Ke,S.ch)}h.setCursor(S),N2(h,new e(S.line+y.length-1,S.ch)),h.replaceSelections(y),he=S}else if(h.replaceRange(y,S),F){var Ke=p.after?S.line+1:S.line;he=new e(Ke,er(h.getLine(Ke)))}else he=nt(S),/\n/.test(y)||(he.ch+=y.length-(p.after?1:0));b.visualMode&&Jn(h,!1),h.setCursor(he)}},undo:function(h,p){h.operation(function(){bo(h,t.commands.undo,p.repeat)(),h.setCursor(Pe(h,h.getCursor("start")))})},redo:function(h,p){bo(h,t.commands.redo,p.repeat)()},setRegister:function(h,p,b){b.inputState.registerName=p.selectedCharacter},insertRegister:function(h,p,b){var y=p.selectedCharacter,k=j.registerController.getRegister(y),S=k&&k.toString();S&&h.replaceSelection(S)},oneNormalCommand:function(h,p,b){vo(h,!0),b.insertModeReturn=!0,t.on(h,"vim-command-done",function y(){b.visualMode||(b.insertModeReturn&&(b.insertModeReturn=!1,b.insertMode||ce.enterInsertMode(h,{},b)),t.off(h,"vim-command-done",y))})},setMark:function(h,p,b){var y=p.selectedCharacter;y&&Tr(h,b,y,h.getCursor())},replace:function(h,p,b){var y=p.selectedCharacter||"",k=h.getCursor(),S,Q,$=h.listSelections();if(b.visualMode)k=h.getCursor("start"),Q=h.getCursor("end");else{var X=h.getLine(k.line);S=k.ch+p.repeat,S>X.length&&(S=X.length),Q=new e(k.line,S)}var U=i(h,k,Q);if(k=U.start,Q=U.end,y==`
`)b.visualMode||h.replaceRange("",k,Q),(t.commands.newlineAndIndentContinueComment||t.commands.newlineAndIndent)(h);else{var q=h.getRange(k,Q);if(q=q.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y),q=q.replace(/[^\n]/g,y),b.visualBlock){var J=new Array(h.getOption("tabSize")+1).join(" ");q=h.getSelection(),q=q.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y);var te=q.replace(/\t/g,J).replace(/[^\n]/g,y).split(`
`);h.replaceSelections(te)}else h.replaceRange(q,k,Q);b.visualMode?(k=ut($[0].anchor,$[0].head)?$[0].anchor:$[0].head,h.setCursor(k),Jn(h,!1)):h.setCursor($e(Q,0,-1))}},incrementNumberToken:function(h,p){for(var b=h.getCursor(),y=h.getLine(b.line),k=/(-?)(?:(0x)([\da-f]+)|(0b|0|)(\d+))/gi,S,Q,$,X;(S=k.exec(y))!==null&&(Q=S.index,$=Q+S[0].length,!(b.ch<$)););if(!(!p.backtrack&&$<=b.ch)){if(S){var U=S[2]||S[4],q=S[3]||S[5],J=p.increase?1:-1,te={"0b":2,0:8,"":10,"0x":16}[U.toLowerCase()],F=parseInt(S[1]+q,te)+J*p.repeat;X=F.toString(te);var V=U?new Array(q.length-X.length+1+S[1].length).join("0"):"";X.charAt(0)==="-"?X="-"+U+V+X.substr(1):X=U+V+X;var se=new e(b.line,Q),he=new e(b.line,$);h.replaceRange(X,se,he)}else return;h.setCursor(new e(b.line,Q+X.length-1))}},repeatLastEdit:function(h,p,b){var y=b.lastEditInputState;if(y){var k=p.repeat;k&&p.repeatIsExplicit?y.repeatOverride=k:k=y.repeatOverride||k,fS(h,b,k,!1)}},indent:function(h,p){h.indentLine(h.getCursor().line,p.indentRight)},exitInsertMode:function(h,p){vo(h)}};function ye(h,p){ce[h]=p}function Pe(h,p,b){var y=h.state.vim,k=y.insertMode||y.visualMode,S=Math.min(Math.max(h.firstLine(),p.line),h.lastLine()),Q=h.getLine(S),$=Q.length-1+ +!!k,X=Math.min(Math.max(0,p.ch),$),U=Q.charCodeAt(X);if(56320<=U&&U<=57343){var q=1;b&&b.line==S&&b.ch>X&&(q=-1),X+=q,X>$&&(X-=2)}return new e(S,X)}function je(h){var p={};for(var b in h)h.hasOwnProperty(b)&&(p[b]=h[b]);return p}function $e(h,p,b){return typeof p=="object"&&(b=p.ch,p=p.line),new e(h.line+p,h.ch+b)}function Gi(h,p,b,y){y.operator&&(b="operatorPending");for(var k,S=[],Q=[],$=oe?p.length-r:0,X=$;X<p.length;X++){var U=p[X];b=="insert"&&U.context!="insert"||U.context&&U.context!=b||y.operator&&U.type=="action"||!(k=Sr(h,U.keys))||(k=="partial"&&S.push(U),k=="full"&&Q.push(U))}return{partial:S.length&&S,full:Q.length&&Q}}function Sr(h,p){let b=p.slice(-11)=="<character>",y=p.slice(-10)=="<register>";if(b||y){var k=p.length-(b?11:10),S=h.slice(0,k),Q=p.slice(0,k);return S==Q&&h.length>k?"full":Q.indexOf(S)==0?"partial":!1}else return h==p?"full":p.indexOf(h)==0?"partial":!1}function Rn(h){var p=/^.*(<[^>]+>)$/.exec(h),b=p?p[1]:h.slice(-1);if(b.length>1)switch(b){case"<CR>":case"<S-CR>":b=`
`;break;case"<Space>":case"<S-Space>":b=" ";break;default:b="";break}return b}function bo(h,p,b){return function(){for(var y=0;y<b;y++)p(h)}}function nt(h){return new e(h.line,h.ch)}function vt(h,p){return h.ch==p.ch&&h.line==p.line}function ut(h,p){return h.line<p.line||h.line==p.line&&h.ch<p.ch}function At(h,p){return arguments.length>2&&(p=At.apply(void 0,Array.prototype.slice.call(arguments,1))),ut(h,p)?h:p}function yo(h,p){return arguments.length>2&&(p=yo.apply(void 0,Array.prototype.slice.call(arguments,1))),ut(h,p)?p:h}function M2(h,p,b){var y=ut(h,p),k=ut(p,b);return y&&k}function ri(h,p){return h.getLine(p).length}function kg(h){return h.trim?h.trim():h.replace(/^\s+|\s+$/g,"")}function Q7(h){return h.replace(/([.?*+$\[\]\/\\(){}|\-])/g,"\\$1")}function _7(h,p,b){var y=ri(h,p),k=new Array(b-y+1).join(" ");h.setCursor(new e(p,y)),h.replaceRange(k,h.getCursor())}function N2(h,p){var b=[],y=h.listSelections(),k=nt(h.clipPos(p)),S=!vt(p,k),Q=h.getCursor("head"),$=A7(y,Q),X=vt(y[$].head,y[$].anchor),U=y.length-1,q=U-$>$?U:0,J=y[q].anchor,te=Math.min(J.line,k.line),F=Math.max(J.line,k.line),V=J.ch,se=k.ch,he=y[q].head.ch-V,Ae=se-V;he>0&&Ae<=0?(V++,S||se--):he<0&&Ae>=0?(V--,X||se++):he<0&&Ae==-1&&(V--,se++);for(var Qe=te;Qe<=F;Qe++){var Re={anchor:new e(Qe,V),head:new e(Qe,se)};b.push(Re)}return h.setSelections(b),p.ch=se,J.ch=V,J}function q2(h,p,b){for(var y=[],k=0;k<b;k++){var S=$e(p,k,0);y.push({anchor:S,head:S})}h.setSelections(y,0)}function A7(h,p,b){for(var y=0;y<h.length;y++){var k=b!="head"&&vt(h[y].anchor,p),S=b!="anchor"&&vt(h[y].head,p);if(k||S)return y}return-1}function $7(h,p){var b=p.lastSelection,y=function(){var S=h.listSelections(),Q=S[0],$=S[S.length-1],X=ut(Q.anchor,Q.head)?Q.anchor:Q.head,U=ut($.anchor,$.head)?$.head:$.anchor;return[X,U]},k=function(){var S=h.getCursor(),Q=h.getCursor(),$=b.visualBlock;if($){var X=$.width,U=$.height;Q=new e(S.line+U,S.ch+X);for(var q=[],J=S.line;J<Q.line;J++){var te=new e(J,S.ch),F=new e(J,Q.ch),V={anchor:te,head:F};q.push(V)}h.setSelections(q)}else{var se=b.anchorMark.find(),he=b.headMark.find(),Ae=he.line-se.line,Qe=he.ch-se.ch;Q={line:Q.line+Ae,ch:Ae?Q.ch:Qe+Q.ch},b.visualLine&&(S=new e(S.line,0),Q=new e(Q.line,ri(h,Q.line))),h.setSelection(S,Q)}return[S,Q]};return p.visualMode?y():k()}function j2(h,p){var b=p.sel.anchor,y=p.sel.head;p.lastPastedText&&(y=h.posFromIndex(h.indexFromPos(b)+p.lastPastedText.length),p.lastPastedText=null),p.lastSelection={anchorMark:h.setBookmark(b),headMark:h.setBookmark(y),anchor:nt(b),head:nt(y),visualMode:p.visualMode,visualLine:p.visualLine,visualBlock:p.visualBlock}}function X7(h,p,b,y){var k=h.state.vim.sel,S=y?p:k.head,Q=y?p:k.anchor,$;return ut(b,p)&&($=b,b=p,p=$),ut(S,Q)?(S=At(p,S),Q=yo(Q,b)):(Q=At(p,Q),S=yo(S,b),S=$e(S,0,-1),S.ch==-1&&S.line!=h.firstLine()&&(S=new e(S.line-1,ri(h,S.line-1)))),[Q,S]}function $a(h,p,b){var y=h.state.vim;p=p||y.sel,b||(b=y.visualLine?"line":y.visualBlock?"block":"char");var k=Sg(h,p,b);h.setSelections(k.ranges,k.primary)}function Sg(h,p,b,y){var k=nt(p.head),S=nt(p.anchor);if(b=="char"){var Q=!y&&!ut(p.head,p.anchor)?1:0,$=ut(p.head,p.anchor)?1:0;return k=$e(p.head,0,Q),S=$e(p.anchor,0,$),{ranges:[{anchor:S,head:k}],primary:0}}else if(b=="line"){if(ut(p.head,p.anchor))k.ch=0,S.ch=ri(h,S.line);else{S.ch=0;var X=h.lastLine();k.line>X&&(k.line=X),k.ch=ri(h,k.line)}return{ranges:[{anchor:S,head:k}],primary:0}}else if(b=="block"){var U=Math.min(S.line,k.line),q=S.ch,J=Math.max(S.line,k.line),te=k.ch;q<te?te+=1:q+=1;for(var F=J-U+1,V=k.line==U?0:F-1,se=[],he=0;he<F;he++)se.push({anchor:new e(U+he,q),head:new e(U+he,te)});return{ranges:se,primary:V}}throw"never happens"}function R7(h){var p=h.getCursor("head");return h.getSelection().length==1&&(p=At(p,h.getCursor("anchor"))),p}function Jn(h,p){var b=h.state.vim;p!==!1&&h.setCursor(Pe(h,b.sel.head)),j2(h,b),b.visualMode=!1,b.visualLine=!1,b.visualBlock=!1,b.insertMode||t.signal(h,"vim-mode-change",{mode:"normal"})}function L7(h,p,b){var y=h.getRange(p,b);if(/\n\s*$/.test(y)){var k=y.split(`
`);k.pop();for(var S=k.pop();k.length>0&&S&&P(S);S=k.pop())b.line--,b.ch=0;S?(b.line--,b.ch=ri(h,b.line)):b.ch=0}}function I7(h,p,b){p.ch=0,b.ch=0,b.line++}function er(h){if(!h)return 0;var p=h.search(/\S/);return p==-1?h.length:p}function Tg(h,{inclusive:p,innerWord:b,bigWord:y,noSymbol:k,multiline:S},Q){var $=Q||R7(h),X=h.getLine($.line),U=X,q=$.line,J=q,te=$.ch,F,V=k?f[0]:d[0];if(b&&/\s/.test(X.charAt(te)))V=function(dt){return/\s/.test(dt)};else{for(;!V(X.charAt(te));)if(te++,te>=X.length){if(!S)return null;te--,F=B2(h,$,!0,y,!0);break}y?V=d[0]:(V=f[0],V(X.charAt(te))||(V=f[1]))}for(var se=te,he=te;V(X.charAt(he))&&he>=0;)he--;if(he++,F)se=F.to,J=F.line,U=h.getLine(J),!U&&se==0&&se++;else for(;V(X.charAt(se))&&se<X.length;)se++;if(p){var Ae=se,Qe=$.ch<=he&&/\s/.test(X.charAt($.ch));if(!Qe)for(;/\s/.test(U.charAt(se))&&se<U.length;)se++;if(Ae==se||Qe){for(var Re=he;/\s/.test(X.charAt(he-1))&&he>0;)he--;!he&&!Qe&&(he=Re)}}return{start:new e(q,he),end:new e(J,se)}}function D7(h,p,b){var y=p;if(!t.findMatchingTag||!t.findEnclosingTag)return{start:y,end:y};var k=t.findMatchingTag(h,p)||t.findEnclosingTag(h,p);return!k||!k.open||!k.close?{start:y,end:y}:b?{start:k.open.from,end:k.close.to}:{start:k.open.to,end:k.close.from}}function W2(h,p,b){vt(p,b)||j.jumpList.add(h,p,b)}function V2(h,p){j.lastCharacterSearch.increment=h,j.lastCharacterSearch.forward=p.forward,j.lastCharacterSearch.selectedCharacter=p.selectedCharacter}var z7={"(":"bracket",")":"bracket","{":"bracket","}":"bracket","[":"section","]":"section","*":"comment","/":"comment",m:"method",M:"method","#":"preprocess"},Z2={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 p=h.lastCh==="*"&&h.nextCh==="/";return h.lastCh=h.nextCh,p}},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 p=h.lineText.match(/^#(\w+)/)[1];if(p==="endif"){if(h.forward&&h.depth===0)return!0;h.depth++}else if(p==="if"){if(!h.forward&&h.depth===0)return!0;h.depth--}if(p==="else"&&h.depth===0)return!0}return!1}}};function U7(h,p,b,y){var k=nt(h.getCursor()),S=b?1:-1,Q=b?h.lineCount():-1,$=k.ch,X=k.line,U=h.getLine(X),q={lineText:U,nextCh:U.charAt($),lastCh:null,index:$,symb:y,reverseSymb:(b?{")":"(","}":"{"}:{"(":")","{":"}"})[y],forward:b,depth:0,curMoveThrough:!1},J=z7[y];if(!J)return k;var te=Z2[J].init,F=Z2[J].isComplete;for(te&&te(q);X!==Q&&p;){if(q.index+=S,q.nextCh=q.lineText.charAt(q.index),!q.nextCh){if(X+=S,q.lineText=h.getLine(X)||"",S>0)q.index=0;else{var V=q.lineText.length;q.index=V>0?V-1:0}q.nextCh=q.lineText.charAt(q.index)}F(q)&&(k.line=X,k.ch=q.index,p--)}return q.nextCh||q.curMoveThrough?new e(X,q.index):k}function B2(h,p,b,y,k){var S=p.line,Q=p.ch,$=h.getLine(S),X=b?1:-1,U=y?d:f;if(k&&$==""){if(S+=X,$=h.getLine(S),!w(h,S))return null;Q=b?0:$.length}for(;;){if(k&&$=="")return{from:0,to:0,line:S};for(var q=X>0?$.length:-1,J=q,te=q;Q!=q;){for(var F=!1,V=0;V<U.length&&!F;++V)if(U[V]($.charAt(Q))){for(J=Q;Q!=q&&U[V]($.charAt(Q));)Q+=X;if(te=Q,F=J!=te,J==p.ch&&S==p.line&&te==J+X)continue;return{from:Math.min(J,te+1),to:Math.max(J,te),line:S}}F||(Q+=X)}if(S+=X,!w(h,S))return null;$=h.getLine(S),Q=X>0?0:$.length}}function M7(h,p,b,y,k,S){var Q=nt(p),$=[];(y&&!k||!y&&k)&&b++;for(var X=!(y&&k),U=0;U<b;U++){var q=B2(h,p,y,S,X);if(!q){var J=ri(h,h.lastLine());$.push(y?{line:h.lastLine(),from:J,to:J}:{line:0,from:0,to:0});break}$.push(q),p=new e(q.line,y?q.to-1:q.from)}var te=$.length!=b,F=$[0],V=$.pop();return y&&!k?(!te&&(F.from!=Q.ch||F.line!=Q.line)&&(V=$.pop()),V&&new e(V.line,V.from)):y&&k?V&&new e(V.line,V.to-1):!y&&k?(!te&&(F.to!=Q.ch||F.line!=Q.line)&&(V=$.pop()),V&&new e(V.line,V.to)):V&&new e(V.line,V.from)}function Y2(h,p,b,y,k){var S=p,Q=new e(S.line+b.repeat-1,1/0),$=h.clipPos(Q);return $.ch--,k||(y.lastHPos=1/0,y.lastHSPos=h.charCoords($,"div").left),Q}function Eg(h,p,b,y,k){if(y){for(var S=k||h.getCursor(),Q=S.ch,$,X=0;X<p;X++){var U=h.getLine(S.line);if($=q7(Q,U,y,b,!0),$==-1)return;Q=$}if($!=null)return new e(h.getCursor().line,$)}}function N7(h,p){var b=h.getCursor().line;return Pe(h,new e(b,p-1))}function Tr(h,p,b,y){!le(b,O)&&!x.test(b)||(p.marks[b]&&p.marks[b].clear(),p.marks[b]=h.setBookmark(y))}function q7(h,p,b,y,k){var S;return y?(S=p.indexOf(b,h+1),S!=-1&&!k&&(S-=1)):(S=p.lastIndexOf(b,h-1),S!=-1&&!k&&(S+=1)),S}function F2(h,p,b,y,k){var S=p.line,Q=h.firstLine(),$=h.lastLine(),X,U,q=S;function J(he){return!h.getLine(he)}function te(he,Ae,Qe){return Qe?J(he)!=J(he+Ae):!J(he)&&J(he+Ae)}if(y){for(;Q<=q&&q<=$&&b>0;)te(q,y)&&b--,q+=y;return{start:new e(q,0),end:p}}var F=h.state.vim;if(F.visualLine&&te(S,1,!0)){var V=F.sel.anchor;te(V.line,-1,!0)&&(!k||V.line!=S)&&(S+=1)}var se=J(S);for(q=S;q<=$&&b;q++)te(q,1,!0)&&(!k||J(q)!=se)&&b--;for(U=new e(q,0),q>$&&!se?se=!0:k=!1,q=S;q>Q&&!((!k||J(q)==se||q==S)&&te(q,-1,!0));q--);return X=new e(q,0),{start:X,end:U}}function H2(h,p,b,y,k){function S(U){U.pos+U.dir<0||U.pos+U.dir>=U.line.length?U.line=null:U.pos+=U.dir}function Q(U,q,J,te){var F=U.getLine(q),V={line:F,ln:q,pos:J,dir:te};if(V.line==="")return{ln:V.ln,pos:V.pos};var se=V.pos;for(S(V);V.line!==null;){if(se=V.pos,N(V.line[V.pos]))if(k){for(S(V);V.line!==null&&P(V.line[V.pos]);)se=V.pos,S(V);return{ln:V.ln,pos:se+1}}else return{ln:V.ln,pos:V.pos+1};S(V)}return{ln:V.ln,pos:se+1}}function $(U,q,J,te){var F=U.getLine(q),V={line:F,ln:q,pos:J,dir:te};if(V.line==="")return{ln:V.ln,pos:V.pos};var se=V.pos;for(S(V);V.line!==null;){if(!P(V.line[V.pos])&&!N(V.line[V.pos]))se=V.pos;else if(N(V.line[V.pos]))return k?P(V.line[V.pos+1])?{ln:V.ln,pos:V.pos+1}:{ln:V.ln,pos:se}:{ln:V.ln,pos:se};S(V)}return V.line=F,k&&P(V.line[V.pos])?{ln:V.ln,pos:V.pos}:{ln:V.ln,pos:se}}for(var X={ln:p.line,pos:p.ch};b>0;)y<0?X=$(h,X.ln,X.pos,y):X=Q(h,X.ln,X.pos,y),b--;return new e(X.ln,X.pos)}function j7(h,p,b,y){function k(X,U){if(U.pos+U.dir<0||U.pos+U.dir>=U.line.length){if(U.ln+=U.dir,!w(X,U.ln)){U.line=null,U.ln=null,U.pos=null;return}U.line=X.getLine(U.ln),U.pos=U.dir>0?0:U.line.length-1}else U.pos+=U.dir}function S(X,U,q,J){var he=X.getLine(U),te=he==="",F={line:he,ln:U,pos:q,dir:J},V={ln:F.ln,pos:F.pos},se=F.line==="";for(k(X,F);F.line!==null;){if(V.ln=F.ln,V.pos=F.pos,F.line===""&&!se)return{ln:F.ln,pos:F.pos};if(te&&F.line!==""&&!P(F.line[F.pos]))return{ln:F.ln,pos:F.pos};N(F.line[F.pos])&&!te&&(F.pos===F.line.length-1||P(F.line[F.pos+1]))&&(te=!0),k(X,F)}var he=X.getLine(V.ln);V.pos=0;for(var Ae=he.length-1;Ae>=0;--Ae)if(!P(he[Ae])){V.pos=Ae;break}return V}function Q(X,U,q,J){var se=X.getLine(U),te={line:se,ln:U,pos:q,dir:J},F={ln:te.ln,pos:null},V=te.line==="";for(k(X,te);te.line!==null;){if(te.line===""&&!V)return F.pos!==null?F:{ln:te.ln,pos:te.pos};if(N(te.line[te.pos])&&F.pos!==null&&!(te.ln===F.ln&&te.pos+1===F.pos))return F;te.line!==""&&!P(te.line[te.pos])&&(V=!1,F={ln:te.ln,pos:te.pos}),k(X,te)}var se=X.getLine(F.ln);F.pos=0;for(var he=0;he<se.length;++he)if(!P(se[he])){F.pos=he;break}return F}for(var $={ln:p.line,pos:p.ch};b>0;)y<0?$=Q(h,$.ln,$.pos,y):$=S(h,$.ln,$.pos,y),b--;return new e($.ln,$.pos)}function G2(h,p,b,y){var k=p,S={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/,"<":/[<>]/,">":/[<>]/}[b],Q={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{","<":"<",">":"<"}[b],$=h.getLine(k.line).charAt(k.ch),X=$===Q?1:0,U=h.scanForBracket(new e(k.line,k.ch+X),-1,void 0,{bracketRegex:S}),q=h.scanForBracket(new e(k.line,k.ch+X),1,void 0,{bracketRegex:S});if(!U||!q)return null;var J=U.pos,te=q.pos;if(J.line==te.line&&J.ch>te.ch||J.line>te.line){var F=J;J=te,te=F}return y?te.ch+=1:J.ch+=1,{start:J,end:te}}function W7(h,p,b,y){var k=nt(p),S=h.getLine(k.line),Q=S.split(""),$,X,U,q,J=Q.indexOf(b);if(k.ch<J)k.ch=J;else if(J<k.ch&&Q[k.ch]==b){var te=/string/.test(h.getTokenTypeAt($e(p,0,1))),F=/string/.test(h.getTokenTypeAt(p)),V=te&&!F;V||(X=k.ch,--k.ch)}if(Q[k.ch]==b&&!X)$=k.ch+1;else for(U=k.ch;U>-1&&!$;U--)Q[U]==b&&($=U+1);if($&&!X)for(U=$,q=Q.length;U<q&&!X;U++)Q[U]==b&&(X=U);return!$||!X?{start:k,end:k}:(y&&(--$,++X),{start:new e(k.line,$),end:new e(k.line,X)})}M("pcre",!0,"boolean");class V7{getQuery(){return j.query}setQuery(p){j.query=p}getOverlay(){return this.searchOverlay}setOverlay(p){this.searchOverlay=p}isReversed(){return j.isReversed}setReversed(p){j.isReversed=p}getScrollbarAnnotate(){return this.annotate}setScrollbarAnnotate(p){this.annotate=p}}function Ln(h){var p=h.state.vim;return p.searchState_||(p.searchState_=new V7)}function Z7(h){return K2(h,"/")}function B7(h){return J2(h,"/")}function K2(h,p){var b=J2(h,p)||[];if(!b.length)return[];var y=[];if(b[0]===0){for(var k=0;k<b.length;k++)typeof b[k]=="number"&&y.push(h.substring(b[k]+1,b[k+1]));return y}}function J2(h,p){p||(p="/");for(var b=!1,y=[],k=0;k<h.length;k++){var S=h.charAt(k);!b&&S==p&&y.push(k),b=!b&&S=="\\"}return y}function Y7(h){for(var p="|(){",b="}",y=!1,k=[],S=-1;S<h.length;S++){var Q=h.charAt(S)||"",$=h.charAt(S+1)||"",X=$&&p.indexOf($)!=-1;y?((Q!=="\\"||!X)&&k.push(Q),y=!1):Q==="\\"?(y=!0,$&&b.indexOf($)!=-1&&(X=!0),(!X||$==="\\")&&k.push(Q)):(k.push(Q),X&&$!=="\\"&&k.push("\\"))}return k.join("")}var eS={"\\n":`
`,"\\r":"\r","\\t":" "};function F7(h){for(var p=!1,b=[],y=-1;y<h.length;y++){var k=h.charAt(y)||"",S=h.charAt(y+1)||"";eS[k+S]?(b.push(eS[k+S]),y++):p?(b.push(k),p=!1):k==="\\"?(p=!0,L(S)||S==="$"?b.push("$"):S!=="/"&&S!=="\\"&&b.push("\\")):(k==="$"&&b.push("$"),b.push(k),S==="/"&&b.push("\\"))}return b.join("")}var tS={"\\/":"/","\\\\":"\\","\\n":`
`,"\\r":"\r","\\t":" ","\\&":"&"};function H7(h){for(var p=new t.StringStream(h),b=[];!p.eol();){for(;p.peek()&&p.peek()!="\\";)b.push(p.next());var y=!1;for(var k in tS)if(p.match(k,!0)){y=!0,b.push(tS[k]);break}y||b.push(p.next())}return b.join("")}function G7(h,p,b){var y=j.registerController.getRegister("/");if(y.setText(h),h instanceof RegExp)return h;var k=B7(h),S,Q;if(!k.length)S=h;else{S=h.substring(0,k[0]);var $=h.substring(k[0]);Q=$.indexOf("i")!=-1}if(!S)return null;ne("pcre")||(S=Y7(S)),b&&(p=/^[^A-Z]*$/.test(S));var X=new RegExp(S,p||Q?"im":"m");return X}function xo(h){typeof h=="string"&&(h=document.createElement(h));for(var p,b=1;b<arguments.length;b++)if(p=arguments[b])if(typeof p!="object"&&(p=document.createTextNode(p)),p.nodeType)h.appendChild(p);else for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(y[0]==="$"?h.style[y.slice(1)]=p[y]:h.setAttribute(y,p[y]));return h}function ht(h,p){var b=xo("div",{$color:"red",$whiteSpace:"pre",class:"cm-vim-message"},p);h.openNotification?h.openNotification(b,{bottom:!0,duration:5e3}):alert(b.innerText)}function K7(h,p){return xo("div",{$display:"flex"},xo("span",{$fontFamily:"monospace",$whiteSpace:"pre",$flex:1},h,xo("input",{type:"text",autocorrect:"off",autocapitalize:"off",spellcheck:"false",$width:"100%"})),p&&xo("span",{$color:"#888"},p))}function cc(h,p){if(W.length){p.value||(p.value=""),I=p;return}var b=K7(p.prefix,p.desc);if(h.openDialog)h.openDialog(b,p.onClose,{onKeyDown:p.onKeyDown,onKeyUp:p.onKeyUp,bottom:!0,selectValueOnOpen:!1,value:p.value});else{var y="";typeof p.prefix!="string"&&p.prefix&&(y+=p.prefix.textContent),p.desc&&(y+=" "+p.desc),p.onClose(prompt(y,""))}}function J7(h,p){if(h instanceof RegExp&&p instanceof RegExp){for(var b=["global","multiline","ignoreCase","source"],y=0;y<b.length;y++){var k=b[y];if(h[k]!==p[k])return!1}return!0}return!1}function uc(h,p,b,y){if(p){var k=Ln(h),S=G7(p,!!b,!!y);if(S)return iS(h,S),J7(S,k.getQuery())||k.setQuery(S),S}}function eD(h){if(h.source.charAt(0)=="^")var p=!0;return{token:function(b){if(p&&!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 fc=0;function iS(h,p){clearTimeout(fc);var b=Ln(h);b.highlightTimeout=fc,fc=setTimeout(function(){if(h.state.vim){var y=Ln(h);y.highlightTimeout=null;var k=y.getOverlay();(!k||p!=k.query)&&(k&&h.removeOverlay(k),k=eD(p),h.addOverlay(k),h.showMatchesOnScrollbar&&(y.getScrollbarAnnotate()&&y.getScrollbarAnnotate().clear(),y.setScrollbarAnnotate(h.showMatchesOnScrollbar(p))),y.setOverlay(k))}},50)}function nS(h,p,b,y){return h.operation(function(){y===void 0&&(y=1);for(var k=h.getCursor(),S=h.getSearchCursor(b,k),Q=0;Q<y;Q++){var $=S.find(p);if(Q==0&&$&&vt(S.from(),k)){var X=p?S.from():S.to();$=S.find(p),$&&!$[0]&&vt(S.from(),X)&&h.getLine(X.line).length==X.ch&&($=S.find(p))}if(!$&&(S=h.getSearchCursor(b,p?new e(h.lastLine()):new e(h.firstLine(),0)),!S.find(p)))return}return S.from()})}function tD(h,p,b,y,k){return h.operation(function(){y===void 0&&(y=1);var S=h.getCursor(),Q=h.getSearchCursor(b,S),$=Q.find(!p);!k.visualMode&&$&&vt(Q.from(),S)&&Q.find(!p);for(var X=0;X<y;X++)if($=Q.find(p),!$&&(Q=h.getSearchCursor(b,p?new e(h.lastLine()):new e(h.firstLine(),0)),!Q.find(p)))return;return[Q.from(),Q.to()]})}function Pg(h){var p=Ln(h);p.highlightTimeout&&(clearTimeout(p.highlightTimeout),p.highlightTimeout=null),h.removeOverlay(Ln(h).getOverlay()),p.setOverlay(null),p.getScrollbarAnnotate()&&(p.getScrollbarAnnotate().clear(),p.setScrollbarAnnotate(null))}function iD(h,p,b){return typeof h!="number"&&(h=h.line),p instanceof Array?le(h,p):typeof b=="number"?h>=p&&h<=b:h==p}function Cg(h){var p=h.getScrollInfo(),b=6,y=10,k=h.coordsChar({left:0,top:b+p.top},"local"),S=p.clientHeight-y+p.top,Q=h.coordsChar({left:0,top:S},"local");return{top:k.line,bottom:Q.line}}function Sh(h,p,b){if(b=="'"||b=="`")return j.jumpList.find(h,-1)||new e(0,0);if(b==".")return rS(h);var y=p.marks[b];return y&&y.find()}function rS(h){if(h.getLastEditEnd)return h.getLastEditEnd();for(var p=h.doc.history.done,b=p.length;b--;)if(p[b].changes)return nt(p[b].changes[0].to)}class nD{constructor(){this.commandMap_,this.buildCommandMap_()}processCommand(p,b,y){var k=this;p.operation(function(){p.curOp.isVimOp=!0,k._processCommand(p,b,y)})}_processCommand(p,b,y){var k=p.state.vim,S=j.registerController.getRegister(":"),Q=S.toString(),$=new t.StringStream(b);S.setText(b);var X=y||{};X.input=b;try{this.parseInput_(p,$,X)}catch(J){throw ht(p,J+""),J}k.visualMode&&Jn(p);var U,q;if(!X.commandName)X.line!==void 0&&(q="move");else if(U=this.matchCommand_(X.commandName),U){if(q=U.name,U.excludeFromCommandHistory&&S.setText(Q),this.parseCommandArgs_($,X,U),U.type=="exToKey"){We(p,U.toKeys,U);return}else if(U.type=="exToEx"){this.processCommand(p,U.toInput);return}}if(!q){ht(p,'Not an editor command ":'+b+'"');return}try{oS[q](p,X),(!U||!U.possiblyAsync)&&X.callback&&X.callback()}catch(J){throw ht(p,J+""),J}}parseInput_(p,b,y){var S,Q;b.eatWhile(":"),b.eat("%")?(y.line=p.firstLine(),y.lineEnd=p.lastLine()):(y.line=this.parseLineSpec_(p,b),y.line!==void 0&&b.eat(",")&&(y.lineEnd=this.parseLineSpec_(p,b))),y.line==null?p.state.vim.visualMode?(y.selectionLine=(S=Sh(p,p.state.vim,"<"))==null?void 0:S.line,y.selectionLineEnd=(Q=Sh(p,p.state.vim,">"))==null?void 0:Q.line):y.selectionLine=p.getCursor().line:(y.selectionLine=y.line,y.selectionLineEnd=y.lineEnd);var k=b.match(/^(\w+|!!|@@|[!#&*<=>@~])/);return k?y.commandName=k[1]:y.commandName=b.match(/.*/)[0],y}parseLineSpec_(p,b){var y=b.match(/^(\d+)/);if(y)return parseInt(y[1],10)-1;switch(b.next()){case".":return this.parseLineSpecOffset_(b,p.getCursor().line);case"$":return this.parseLineSpecOffset_(b,p.lastLine());case"'":var k=b.next(),S=Sh(p,p.state.vim,k);if(!S)throw new Error("Mark not set");return this.parseLineSpecOffset_(b,S.line);case"-":case"+":return b.backUp(1),this.parseLineSpecOffset_(b,p.getCursor().line);default:b.backUp(1);return}}parseLineSpecOffset_(p,b){var y=p.match(/^([+-])?(\d+)/);if(y){var k=parseInt(y[2],10);y[1]=="-"?b-=k:b+=k}return b}parseCommandArgs_(p,b,y){if(!p.eol()){b.argString=p.match(/.*/)[0];var k=y.argDelimiter||/\s+/,S=kg(b.argString).split(k);S.length&&S[0]&&(b.args=S)}}matchCommand_(p){for(var b=p.length;b>0;b--){var y=p.substring(0,b);if(this.commandMap_[y]){var k=this.commandMap_[y];if(k.name.indexOf(p)===0)return k}}return null}buildCommandMap_(){this.commandMap_={};for(var p=0;p<o.length;p++){var b=o[p],y=b.shortName||b.name;this.commandMap_[y]=b}}map(p,b,y,k){if(p!=":"&&p.charAt(0)==":"){if(y)throw Error("Mode not supported for ex mappings");var S=p.substring(1);b!=":"&&b.charAt(0)==":"?this.commandMap_[S]={name:S,type:"exToEx",toInput:b.substring(1),user:!0}:this.commandMap_[S]={name:S,type:"exToKey",toKeys:b,user:!0}}else{var Q={keys:p,type:"keyToKey",toKeys:b,noremap:!!k};y&&(Q.context=y),n.unshift(Q)}}unmap(p,b){if(p!=":"&&p.charAt(0)==":"){if(b)throw Error("Mode not supported for ex mappings");var y=p.substring(1);if(this.commandMap_[y]&&this.commandMap_[y].user)return delete this.commandMap_[y],!0}else for(var k=p,S=0;S<n.length;S++)if(k==n[S].keys&&n[S].context===b)return n.splice(S,1),!0}}var oS={colorscheme:function(h,p){if(!p.args||p.args.length<1){ht(h,h.getOption("theme"));return}h.setOption("theme",p.args[0])},map:function(h,p,b,y){var k=p.args;if(!k||k.length<2){h&&ht(h,"Invalid mapping: "+p.input);return}In.map(k[0],k[1],b,y)},imap:function(h,p){this.map(h,p,"insert")},nmap:function(h,p){this.map(h,p,"normal")},vmap:function(h,p){this.map(h,p,"visual")},omap:function(h,p){this.map(h,p,"operatorPending")},noremap:function(h,p){this.map(h,p,void 0,!0)},inoremap:function(h,p){this.map(h,p,"insert",!0)},nnoremap:function(h,p){this.map(h,p,"normal",!0)},vnoremap:function(h,p){this.map(h,p,"visual",!0)},onoremap:function(h,p){this.map(h,p,"operatorPending",!0)},unmap:function(h,p,b){var y=p.args;(!y||y.length<1||!In.unmap(y[0],b))&&h&&ht(h,"No such mapping: "+p.input)},mapclear:function(h,p){C.mapclear()},imapclear:function(h,p){C.mapclear("insert")},nmapclear:function(h,p){C.mapclear("normal")},vmapclear:function(h,p){C.mapclear("visual")},omapclear:function(h,p){C.mapclear("operatorPending")},move:function(h,p){Kn.processCommand(h,h.state.vim,{keys:"",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0},repeatOverride:p.line+1})},set:function(h,p){var b=p.args,y=p.setCfg||{};if(!b||b.length<1){h&&ht(h,"Invalid mapping: "+p.input);return}var k=b[0].split("="),S=k.shift()||"",Q=k.length>0?k.join("="):void 0,$=!1,X=!1;if(S.charAt(S.length-1)=="?"){if(Q)throw Error("Trailing characters: "+p.argString);S=S.substring(0,S.length-1),$=!0}else S.charAt(S.length-1)=="!"&&(S=S.substring(0,S.length-1),X=!0);Q===void 0&&S.substring(0,2)=="no"&&(S=S.substring(2),Q=!1);var U=H[S]&&H[S].type=="boolean";if(U&&(X?Q=!ne(S,h,y):Q==null&&(Q=!0)),!U&&Q===void 0||$){var q=ne(S,h,y);q instanceof Error?ht(h,q.message):q===!0||q===!1?ht(h," "+(q?"":"no")+S):ht(h," "+S+"="+q)}else{var J=ie(S,Q,h,y);J instanceof Error&&ht(h,J.message)}},setlocal:function(h,p){p.setCfg={scope:"local"},this.set(h,p)},setglobal:function(h,p){p.setCfg={scope:"global"},this.set(h,p)},registers:function(h,p){var b=p.args,y=j.registerController.registers,k=`----------Registers----------
`;if(b)for(var $=b.join(""),X=0;X<$.length;X++){var S=$.charAt(X);if(j.registerController.isValidRegister(S)){var U=y[S]||new Hi;k+='"'+S+" "+U.toString()+`
`}}else for(var S in y){var Q=y[S].toString();Q.length&&(k+='"'+S+" "+Q+`
`)}ht(h,k)},sort:function(h,p){var b,y,k,S,Q;function $(){if(p.argString){var Ke=new t.StringStream(p.argString);if(Ke.eat("!")&&(b=!0),Ke.eol())return;if(!Ke.eatSpace())return"Invalid arguments";var tt=Ke.match(/([dinuox]+)?\s*(\/.+\/)?\s*/);if(!tt||!Ke.eol())return"Invalid arguments";if(tt[1]){y=tt[1].indexOf("i")!=-1,k=tt[1].indexOf("u")!=-1;var Ei=tt[1].indexOf("d")!=-1||tt[1].indexOf("n")!=-1,si=tt[1].indexOf("x")!=-1,Kt=tt[1].indexOf("o")!=-1;if(Number(Ei)+Number(si)+Number(Kt)>1)return"Invalid arguments";S=Ei&&"decimal"||si&&"hex"||Kt&&"octal"}tt[2]&&(Q=new RegExp(tt[2].substr(1,tt[2].length-2),y?"i":""))}}var X=$();if(X){ht(h,X+": "+p.argString);return}var U=p.line||h.firstLine(),q=p.lineEnd||p.line||h.lastLine();if(U==q)return;var J=new e(U,0),te=new e(q,ri(h,q)),F=h.getRange(J,te).split(`
`),V=S=="decimal"?/(-?)([\d]+)/:S=="hex"?/(-?)(?:0x)?([0-9a-f]+)/i:S=="octal"?/([0-7]+)/:null,se=S=="decimal"?10:S=="hex"?16:S=="octal"?8:void 0,he=[],Ae=[];if(S||Q)for(var Qe=0;Qe<F.length;Qe++){var Re=Q?F[Qe].match(Q):null;Re&&Re[0]!=""?he.push(Re):V&&V.exec(F[Qe])?he.push(F[Qe]):Ae.push(F[Qe])}else Ae=F;function dt(Ke,tt){if(b){var Ei;Ei=Ke,Ke=tt,tt=Ei}y&&(Ke=Ke.toLowerCase(),tt=tt.toLowerCase());var si=V&&V.exec(Ke),Kt=V&&V.exec(tt);if(!si||!Kt)return Ke<tt?-1:1;var tr=parseInt((si[1]+si[2]).toLowerCase(),se),Ag=parseInt((Kt[1]+Kt[2]).toLowerCase(),se);return tr-Ag}function mi(Ke,tt){if(b){var Ei;Ei=Ke,Ke=tt,tt=Ei}return y&&(Ke[0]=Ke[0].toLowerCase(),tt[0]=tt[0].toLowerCase()),Ke[0]<tt[0]?-1:1}if(he.sort(Q?mi:dt),Q)for(var Qe=0;Qe<he.length;Qe++)he[Qe]=he[Qe].input;else S||Ae.sort(dt);if(F=b?he.concat(Ae):Ae.concat(he),k){var Ht=F,oi;F=[];for(var Qe=0;Qe<Ht.length;Qe++)Ht[Qe]!=oi&&F.push(Ht[Qe]),oi=Ht[Qe]}h.replaceRange(F.join(`
`),J,te)},vglobal:function(h,p){this.global(h,p)},normal:function(h,p){var b=p.argString;if(b&&b[0]=="!"&&(b=b.slice(1),oe=!0),b=b.trimStart(),!b){ht(h,"Argument is required.");return}var y=p.line;if(typeof y=="number")for(var k=isNaN(p.lineEnd)?y:p.lineEnd,S=y;S<=k;S++)h.setCursor(S,0),We(h,p.argString.trimStart()),h.state.vim.insertMode&&vo(h,!0);else We(h,p.argString.trimStart()),h.state.vim.insertMode&&vo(h,!0)},global:function(h,p){var b=p.argString;if(!b){ht(h,"Regular Expression missing from global");return}var y=p.commandName[0]==="v";b[0]==="!"&&p.commandName[0]==="g"&&(y=!0,b=b.slice(1));var k=p.line!==void 0?p.line:h.firstLine(),S=p.lineEnd||p.line||h.lastLine(),Q=Z7(b),$=b,X="";if(Q&&Q.length&&($=Q[0],X=Q.slice(1,Q.length).join("/")),$)try{uc(h,$,!0,!0)}catch(he){ht(h,"Invalid regex: "+$);return}for(var U=Ln(h).getQuery(),q=[],J=k;J<=S;J++){var te=h.getLine(J),F=U.test(te);F!==y&&q.push(X?h.getLineHandle(J):te)}if(!X){ht(h,q.join(`
`));return}var V=0,se=function(){if(V<q.length){var he=q[V++],Ae=h.getLineNumber(he);if(Ae==null){se();return}var Qe=Ae+1+X;In.processCommand(h,Qe,{callback:se})}else h.releaseLineHandles&&h.releaseLineHandles()};se()},substitute:function(h,p){if(!h.getSearchCursor)throw new Error("Search feature not available. Requires searchcursor.js or any other getSearchCursor implementation.");var b=p.argString,y=b?K2(b,b[0]):[],k="",S="",Q,$,X,U=!1,q=!1;if(y&&y.length)k=y[0],ne("pcre")&&k!==""&&(k=new RegExp(k).source),S=y[1],S!==void 0&&(ne("pcre")?S=H7(S.replace(/([^\\])&/g,"$1$$&")):S=F7(S),j.lastSubstituteReplacePart=S),Q=y[2]?y[2].split(" "):[];else if(b&&b.length){ht(h,"Substitutions should be of the form :s/pattern/replace/");return}if(Q&&($=Q[0],X=parseInt(Q[1]),$&&($.indexOf("c")!=-1&&(U=!0),$.indexOf("g")!=-1&&(q=!0),ne("pcre")?k=k+"/"+$:k=k.replace(/\//g,"\\/")+"/"+$)),k)try{uc(h,k,!0,!0)}catch(Ae){ht(h,"Invalid regex: "+k);return}if(S=S||j.lastSubstituteReplacePart,S===void 0){ht(h,"No previous substitute regular expression");return}var J=Ln(h),te=J.getQuery(),F=p.line!==void 0?p.line:h.getCursor().line,V=p.lineEnd||F;F==h.firstLine()&&V==h.lastLine()&&(V=1/0),X&&(F=V,V=F+X-1);var se=Pe(h,new e(F,0)),he=h.getSearchCursor(te,se);rD(h,U,q,F,V,he,te,S,p.callback)},startinsert:function(h,p){We(h,p.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){Pg(h)},yank:function(h){var p=nt(h.getCursor()),b=p.line,y=h.getLine(b);j.registerController.pushText("0","yank",y,!0,!0)},delete:function(h,p){var b=p.selectionLine,y=isNaN(p.selectionLineEnd)?b:p.selectionLineEnd;lc.delete(h,{linewise:!0},[{anchor:new e(b,0),head:new e(y+1,0)}])},join:function(h,p){var b=p.selectionLine,y=isNaN(p.selectionLineEnd)?b:p.selectionLineEnd;h.setCursor(new e(b,0)),ce.joinLines(h,{repeat:y-b},h.state.vim)},delmarks:function(h,p){if(!p.argString||!kg(p.argString)){ht(h,"Argument required");return}for(var b=h.state.vim,y=new t.StringStream(kg(p.argString));!y.eol();){y.eatSpace();var k=y.pos;if(!y.match(/[a-zA-Z]/,!1)){ht(h,"Invalid argument: "+p.argString.substring(k));return}var S=y.next();if(y.match("-",!0)){if(!y.match(/[a-zA-Z]/,!1)){ht(h,"Invalid argument: "+p.argString.substring(k));return}var Q=S,$=y.next();if(Q&&$&&T(Q)==T($)){var X=Q.charCodeAt(0),U=$.charCodeAt(0);if(X>=U){ht(h,"Invalid argument: "+p.argString.substring(k));return}for(var q=0;q<=U-X;q++){var J=String.fromCharCode(X+q);delete b.marks[J]}}else{ht(h,"Invalid argument: "+Q+"-");return}}else S&&delete b.marks[S]}}},In=new nD;function rD(h,p,b,y,k,S,Q,$,X){h.state.vim.exMode=!0;var U=!1,q,J,te;function F(){h.operation(function(){for(;!U;)V(),he();Ae()})}function V(){var Re=h.getRange(S.from(),S.to()),dt=Re.replace(Q,$),mi=S.to().line;S.replace(dt),J=S.to().line,k+=J-mi,te=J<mi}function se(){var Re=q&&nt(S.to()),dt=S.findNext();return dt&&!dt[0]&&Re&&vt(S.from(),Re)&&(dt=S.findNext()),dt}function he(){for(;se()&&iD(S.from(),y,k);)if(!(!b&&S.from().line==J&&!te)){h.scrollIntoView(S.from(),30),h.setSelection(S.from(),S.to()),q=S.from(),U=!1;return}U=!0}function Ae(Re){if(Re&&Re(),h.focus(),q){h.setCursor(q);var dt=h.state.vim;dt.exMode=!1,dt.lastHPos=dt.lastHSPos=q.ch}X&&X()}function Qe(Re,dt,mi){t.e_stop(Re);var Ht=Rt(Re);switch(Ht){case"y":V(),he();break;case"n":he();break;case"a":var oi=X;X=void 0,h.operation(F),X=oi;break;case"l":V();case"q":case"<Esc>":case"<C-c>":case"<C-[>":Ae(mi);break}return U&&Ae(mi),!0}if(he(),U){ht(h,"No matches for "+Q.source);return}if(!p){F(),X&&X();return}cc(h,{prefix:xo("span","replace with ",xo("strong",$)," (y/n/a/q/l)"),onKeyDown:Qe})}function vo(h,p){var b=h.state.vim,y=j.macroModeState,k=j.registerController.getRegister("."),S=y.isPlaying,Q=y.lastInsertModeChanges;S||(h.off("change",aS),b.insertEnd&&b.insertEnd.clear(),b.insertEnd=void 0,t.off(h.getInputField(),"keydown",uS)),!S&&b.insertModeRepeat>1&&(fS(h,b,b.insertModeRepeat-1,!0),b.lastEditInputState.repeatOverride=b.insertModeRepeat),delete b.insertModeRepeat,b.insertMode=!1,p||h.setCursor(h.getCursor().line,h.getCursor().ch-1),h.setOption("keyMap","vim"),h.setOption("disableInput",!0),h.toggleOverwrite(!1),k.setText(Q.changes.join("")),t.signal(h,"vim-mode-change",{mode:"normal"}),y.isRecording&&lD(y)}function sS(h){n.unshift(h)}function oD(h,p,b,y,k){var S={keys:h,type:p};S[p]=b,S[p+"Args"]=y;for(var Q in k)S[Q]=k[Q];sS(S)}M("insertModeEscKeysTimeout",200,"number");function sD(h,p,b,y){var k=j.registerController.getRegister(y);if(y==":"){k.keyBuffer[0]&&In.processCommand(h,k.keyBuffer[0]),b.isPlaying=!1;return}var S=k.keyBuffer,Q=0;b.isPlaying=!0,b.replaySearchQueries=k.searchQueries.slice(0);for(var $=0;$<S.length;$++)for(var X=S[$],U,q,J=/<(?:[CSMA]-)*\w+>|./gi;U=J.exec(X);)if(q=U[0],C.handleKey(h,q,"macro"),p.insertMode){var te=k.insertModeChanges[Q++].changes;j.macroModeState.lastInsertModeChanges.changes=te,dS(h,te,1),vo(h)}b.isPlaying=!1}function aD(h,p){if(!h.isPlaying){var b=h.latestRegister,y=j.registerController.getRegister(b);y&&y.pushText(p)}}function lD(h){if(!h.isPlaying){var p=h.latestRegister,b=j.registerController.getRegister(p);b&&b.pushInsertModeChanges&&b.pushInsertModeChanges(h.lastInsertModeChanges)}}function cD(h,p){if(!h.isPlaying){var b=h.latestRegister,y=j.registerController.getRegister(b);y&&y.pushSearchQuery&&y.pushSearchQuery(p)}}function aS(h,p){var b=j.macroModeState,y=b.lastInsertModeChanges;if(!b.isPlaying)for(var k=h.state.vim;p;){if(y.expectCursorActivityForChange=!0,y.ignoreCount>1)y.ignoreCount--;else if(p.origin=="+input"||p.origin=="paste"||p.origin===void 0){var S=h.listSelections().length;S>1&&(y.ignoreCount=S);var Q=p.text.join(`
`);if(y.maybeReset&&(y.changes=[],y.maybeReset=!1),Q)if(h.state.overwrite&&!/\n/.test(Q))y.changes.push([Q]);else{if(Q.length>1){var $=k&&k.insertEnd&&k.insertEnd.find(),X=h.getCursor();if($&&$.line==X.line){var U=$.ch-X.ch;U>0&&U<Q.length&&(y.changes.push([Q,U]),Q="")}}Q&&y.changes.push(Q)}}p=p.next}}function lS(h){var k;var p=h.state.vim;if(p.insertMode){var b=j.macroModeState;if(b.isPlaying)return;var y=b.lastInsertModeChanges;y.expectCursorActivityForChange?y.expectCursorActivityForChange=!1:(y.maybeReset=!0,p.insertEnd&&p.insertEnd.clear(),p.insertEnd=h.setBookmark(h.getCursor(),{insertLeft:!0}))}else(k=h.curOp)!=null&&k.isVimOp||cS(h,p)}function cS(h,p){var b=h.getCursor("anchor"),y=h.getCursor("head");if(p.visualMode&&!h.somethingSelected()?Jn(h,!1):!p.visualMode&&!p.insertMode&&h.somethingSelected()&&(p.visualMode=!0,p.visualLine=!1,t.signal(h,"vim-mode-change",{mode:"visual"})),p.visualMode){var k=ut(y,b)?0:-1,S=ut(y,b)?-1:0;y=$e(y,0,k),b=$e(b,0,S),p.sel={anchor:b,head:y},Tr(h,p,"<",At(y,b)),Tr(h,p,">",yo(y,b))}else p.insertMode||(p.lastHPos=h.getCursor().ch)}function Qg(h,p){this.keyName=h,this.key=p.key,this.ctrlKey=p.ctrlKey,this.altKey=p.altKey,this.metaKey=p.metaKey,this.shiftKey=p.shiftKey}function uS(h){var p=j.macroModeState,b=p.lastInsertModeChanges,y=t.keyName?t.keyName(h):h.key;y&&(y.indexOf("Delete")!=-1||y.indexOf("Backspace")!=-1)&&(b.maybeReset&&(b.changes=[],b.maybeReset=!1),b.changes.push(new Qg(y,h)))}function fS(h,p,b,y){var k=j.macroModeState;k.isPlaying=!0;var S=p.lastEditActionCommand,Q=p.inputState;function $(){S?Kn.processAction(h,p,S):Kn.evalInput(h,p)}function X(q){if(k.lastInsertModeChanges.changes.length>0){q=p.lastEditActionCommand?q:1;var J=k.lastInsertModeChanges;dS(h,J.changes,q)}}if(p.inputState=p.lastEditInputState,S&&S.interlaceInsertRepeat)for(var U=0;U<b;U++)$(),X(1);else y||$(),X(b);p.inputState=Q,p.insertMode&&!y&&vo(h),k.isPlaying=!1}function hS(h,p){t.lookupKey(p,"vim-insert",function(y){return typeof y=="string"?t.commands[y](h):y(h),!0})}function dS(h,p,b){var y=h.getCursor("head"),k=j.macroModeState.lastInsertModeChanges.visualBlock;k&&(q2(h,y,k+1),b=h.listSelections().length,h.setCursor(y));for(var S=0;S<b;S++){k&&h.setCursor($e(y,S,0));for(var Q=0;Q<p.length;Q++){var $=p[Q];if($ instanceof Qg)hS(h,$.keyName);else if(typeof $=="string")h.replaceSelection($);else{var X=h.getCursor(),U=$e(X,0,$[0].length-($[1]||0));h.replaceRange($[0],X,$[1]?X:U),h.setCursor(U)}}}k&&h.setCursor($e(y,0,1))}function _g(h){var p=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=_g(y)),p[b]=y}}),h.sel&&(p.sel={head:h.sel.head&&nt(h.sel.head),anchor:h.sel.anchor&&nt(h.sel.anchor)}),p}function uD(h,p,b){var S=ve(h),y=h,k=!1,S=C.maybeInitVimState_(y),Q=S.visualBlock||S.wasInVisualBlock,$=y.isInMultiSelectMode();if(S.wasInVisualBlock&&!$?S.wasInVisualBlock=!1:$&&S.visualBlock&&(S.wasInVisualBlock=!0),p=="<Esc>"&&!S.insertMode&&!S.visualMode&&$&&S.status=="<Esc>")Nt(y);else if(Q||!$||y.inVirtualSelectionMode)k=C.handleKey(y,p,b);else{var X=_g(S),U=S.inputState.changeQueueList||[];y.operation(function(){var J;y.curOp&&(y.curOp.isVimOp=!0);var q=0;y.forEachSelection(function(){y.state.vim.inputState.changeQueue=U[q];var te=y.getCursor("head"),F=y.getCursor("anchor"),V=ut(te,F)?0:-1,se=ut(te,F)?-1:0;te=$e(te,0,V),F=$e(F,0,se),y.state.vim.sel.head=te,y.state.vim.sel.anchor=F,k=C.handleKey(y,p,b),y.virtualSelection&&(U[q]=y.state.vim.inputState.changeQueue,y.state.vim=_g(X)),q++}),(J=y.curOp)!=null&&J.cursorActivity&&!k&&(y.curOp.cursorActivity=!1),y.state.vim=S,S.inputState.changeQueueList=U,S.inputState.changeQueue=null},!0)}return k&&!S.visualMode&&!S.insert&&S.visualMode!=y.somethingSelected()&&cS(y,S),k}return ue(),C}function hn(t,e){var i=e.ch,n=e.line+1;n<1&&(n=1,i=0),n>t.lines&&(n=t.lines,i=Number.MAX_VALUE);var r=t.line(n);return Math.min(r.from+Math.max(0,i),r.to)}function An(t,e){let i=t.lineAt(e);return{line:i.number-1,ch:e-i.from}}var $n=class{constructor(e,i){this.line=e,this.ch=i}};function fL(t,e,i){if(t.addEventListener)t.addEventListener(e,i,!1);else{var n=t._handlers||(t._handlers={});n[e]=(n[e]||[]).concat(i)}}function hL(t,e,i){if(t.removeEventListener)t.removeEventListener(e,i,!1);else{var n=t._handlers,r=n&&n[e];if(r){var o=r.indexOf(i);o>-1&&(n[e]=r.slice(0,o).concat(r.slice(o+1)))}}}function dL(t,e,...i){var n,r=(n=t._handlers)===null||n===void 0?void 0:n[e];if(r)for(var o=0;o<r.length;++o)r[o](...i)}function lL(t,...e){if(t)for(var i=0;i<t.length;++i)t[i](...e)}var vk;try{vk=new RegExp("[\\w\\p{Alphabetic}\\p{Number}_]","u")}catch(t){vk=/[\w]/}function ih(t,e){var i=t.cm6;if(!i.state.readOnly){var n="input.type.compose";if(t.curOp&&(t.curOp.lastChange||(n="input.type.compose.start")),e.annotations)try{e.annotations.some(function(r){r.value=="input"&&(r.value=n)})}catch(r){console.error(r)}else e.userEvent=n;return i.dispatch(e)}}function cL(t,e){var i;t.curOp&&(t.curOp.$changeStart=void 0),(e?xa:as)(t.cm6);let n=(i=t.curOp)===null||i===void 0?void 0:i.$changeStart;n!=null&&t.cm6.dispatch({selection:{anchor:n}})}var cne={},Be=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,i,n){return fne(this,e,i,n)}openNotification(e,i){return une(this,e,i)}on(e,i){fL(this,e,i)}off(e,i){hL(this,e,i)}signal(e,i,n){dL(this,e,i,n)}indexFromPos(e){return hn(this.cm6.state.doc,e)}posFromIndex(e){return An(this.cm6.state.doc,e)}foldCode(e){let i=this.cm6,n=i.state.selection.ranges,r=this.cm6.state.doc,o=hn(r,e),s=K.create([K.range(o,o)],0).ranges;i.state.selection.ranges=s,pp(i),i.state.selection.ranges=n}firstLine(){return 0}lastLine(){return this.cm6.state.doc.lines-1}lineCount(){return this.cm6.state.doc.lines}setCursor(e,i){typeof e=="object"&&(i=e.ch,e=e.line);var n=hn(this.cm6.state.doc,{line:e,ch:i||0});this.cm6.dispatch({selection:{anchor:n}},{scrollIntoView:!this.curOp}),this.curOp&&!this.curOp.isVimOp&&this.onBeforeEndOperation()}getCursor(e){var i=this.cm6.state.selection.main,n=e=="head"||!e?i.head:e=="anchor"?i.anchor:e=="start"?i.from:e=="end"?i.to:null;if(n==null)throw new Error("Invalid cursor type");return this.posFromIndex(n)}listSelections(){var e=this.cm6.state.doc;return this.cm6.state.selection.ranges.map(i=>({anchor:An(e,i.anchor),head:An(e,i.head)}))}setSelections(e,i){var n=this.cm6.state.doc,r=e.map(o=>{var s=hn(n,o.head),a=hn(n,o.anchor);return s==a?K.cursor(s,1):K.range(a,s)});this.cm6.dispatch({selection:K.create(r,i)})}setSelection(e,i,n){this.setSelections([{anchor:e,head:i}],0),n&&n.origin=="*mouse"&&this.onBeforeEndOperation()}getLine(e){var i=this.cm6.state.doc;return e<0||e>=i.lines?"":this.cm6.state.doc.line(e+1).text}getLineHandle(e){return this.$lineHandleChanges||(this.$lineHandleChanges=[]),{row:e,index:this.indexFromPos(new $n(e,0))}}getLineNumber(e){var i=this.$lineHandleChanges;if(!i)return null;for(var n=e.index,r=0;r<i.length;r++)if(n=i[r].changes.mapPos(n,1,Ct.TrackAfter),n==null)return null;var o=this.posFromIndex(n);return o.ch==0?o.line:null}releaseLineHandles(){this.$lineHandleChanges=void 0}getRange(e,i){var n=this.cm6.state.doc;return this.cm6.state.sliceDoc(hn(n,e),hn(n,i))}replaceRange(e,i,n,r){n||(n=i);var o=this.cm6.state.doc,s=hn(o,i),a=hn(o,n);ih(this,{changes:{from:s,to:a,insert:e}})}replaceSelection(e){ih(this,this.cm6.state.replaceSelection(e))}replaceSelections(e){var i=this.cm6.state.selection.ranges,n=i.map((r,o)=>({from:r.from,to:r.to,insert:e[o]||""}));ih(this,{changes:n})}getSelection(){return this.getSelections().join(`
`)}getSelections(){var e=this.cm6;return e.state.selection.ranges.map(i=>e.state.sliceDoc(i.from,i.to))}somethingSelected(){return this.cm6.state.selection.ranges.some(e=>!e.empty)}getInputField(){return this.cm6.contentDOM}clipPos(e){var i=this.cm6.state.doc,n=e.ch,r=e.line+1;r<1&&(r=1,n=0),r>i.lines&&(r=i.lines,n=Number.MAX_VALUE);var o=i.line(r);return n=Math.min(Math.max(0,n),o.to-o.from),new $n(r-1,n)}getValue(){return this.cm6.state.doc.toString()}setValue(e){var i=this.cm6;return i.dispatch({changes:{from:0,to:i.state.doc.length,insert:e},selection:K.range(0,0)})}focus(){return this.cm6.focus()}blur(){return this.cm6.contentDOM.blur()}defaultTextHeight(){return this.cm6.defaultLineHeight}findMatchingBracket(e,i){var n=this.cm6.state,r=hn(n.doc,e),o=Tn(n,r+1,-1);return o&&o.end?{to:An(n.doc,o.end.from)}:(o=Tn(n,r,1),o&&o.end?{to:An(n.doc,o.end.from)}:{to:void 0})}scanForBracket(e,i,n,r){return One(this,e,i,n,r)}indentLine(e,i){i?this.indentMore():this.indentLess()}indentMore(){Ff(this.cm6)}indentLess(){Hf(this.cm6)}execCommand(e){if(e=="indentAuto")t.commands.indentAuto(this);else if(e=="goLineLeft")Mf(this.cm6);else if(e=="goLineRight"){Uf(this.cm6);let i=this.cm6.state,n=i.selection.main.head;n<i.doc.length&&i.sliceDoc(n,n+1)!==`
`&&gm(this.cm6)}else console.log(e+" is not implemented")}setBookmark(e,i){var n=i!=null&&i.insertLeft?1:-1,r=this.indexFromPos(e),o=new wk(this,r,n);return o}addOverlay({query:e}){let i=new Kl({regexp:!0,search:e.source,caseSensitive:!/i/.test(e.flags)});if(i.valid){i.forVim=!0,this.cm6Query=i;let n=uo.of(i);return this.cm6.dispatch({effects:n}),i}}removeOverlay(e){if(!this.cm6Query)return;this.cm6Query.forVim=!1;let i=uo.of(this.cm6Query);this.cm6.dispatch({effects:i})}getSearchCursor(e,i){var n=this,r=null,o=null;i.ch==null&&(i.ch=Number.MAX_VALUE);var s=hn(n.cm6.state.doc,i),a=e.source.replace(/(\\.|{(?:\d+(?:,\d*)?|,\d+)})|[{}]/g,function(d,O){return O||"\\"+d});function l(d,O=0,m=d.length){return new Gl(d,a,{ignoreCase:e.ignoreCase},O,m)}function c(d){var O=n.cm6.state.doc;if(d>O.length)return null;let m=l(O,d).next();return m.done?null:m.value}var u=1e4;function f(d,O){var m=n.cm6.state.doc;for(let x=1;;x++){let v=Math.max(d,O-x*u),w=l(m,v,O),T=null;for(;!w.next().done;)T=w.value;if(T&&(v==d||T.from>v+10))return T;if(v==d)return null}}return{findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(d){var O=n.cm6.state.doc;if(d){let m=r?r.from==r.to?r.to-1:r.from:s;r=f(0,m)}else{let m=r?r.from==r.to?r.to+1:r.to:s;r=c(m)}return o=r&&{from:An(O,r.from),to:An(O,r.to),match:r.match},r&&r.match},from:function(){return o==null?void 0:o.from},to:function(){return o==null?void 0:o.to},replace:function(d){r&&(ih(n,{changes:{from:r.from,to:r.to,insert:d}}),r.to=r.from+d.length,o&&(o.to=An(n.cm6.state.doc,r.to)))}}}findPosV(e,i,n,r){let{cm6:o}=this,s=o.state.doc,a=n=="page"?o.dom.clientHeight:0,l=hn(s,e),c=K.cursor(l,1,void 0,r),u=Math.round(Math.abs(i));for(let d=0;d<u;d++)n=="page"?c=o.moveVertically(c,i>0,a):n=="line"&&(c=o.moveVertically(c,i>0));let f=An(s,c.head);return(i<0&&c.head==0&&r!=0&&e.line==0&&e.ch!=0||i>0&&c.head==s.length&&f.ch!=r&&e.line==f.line)&&(f.hitSide=!0),f}charCoords(e,i){var n=this.cm6.contentDOM.getBoundingClientRect(),r=hn(this.cm6.state.doc,e),o=this.cm6.coordsAtPos(r),s=-n.top;return{left:((o==null?void 0:o.left)||0)-n.left,top:((o==null?void 0:o.top)||0)+s,bottom:((o==null?void 0:o.bottom)||0)+s}}coordsChar(e,i){var n=this.cm6.contentDOM.getBoundingClientRect(),r=this.cm6.posAtCoords({x:e.left+n.left,y:e.top+n.top})||0;return An(this.cm6.state.doc,r)}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,i){e!=null&&(this.cm6.scrollDOM.scrollLeft=e),i!=null&&(this.cm6.scrollDOM.scrollTop=i)}scrollIntoView(e,i){if(e){var n=this.indexFromPos(e);this.cm6.dispatch({effects:fe.scrollIntoView(n)})}else this.cm6.dispatch({scrollIntoView:!0,userEvent:"scroll"})}getWrapperElement(){return this.cm6.dom}getMode(){return{name:this.getOption("mode")}}setSize(e,i){this.cm6.dom.style.width=e+4+"px",this.cm6.dom.style.height=i+"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 n in this.marks)this.marks[n].update(e.changes);this.virtualSelection&&(this.virtualSelection.ranges=this.virtualSelection.ranges.map(n=>n.map(e.changes)));var i=this.curOp=this.curOp||{};e.changes.iterChanges((n,r,o,s,a)=>{(i.$changeStart==null||i.$changeStart>o)&&(i.$changeStart=o),this.$lastChangeEndOffset=s;var l={text:a.toJSON()};i.lastChange?i.lastChange.next=i.lastChange=l:i.lastChange=i.change=l},!0),i.changeHandlers||(i.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,i){this.curOp||(this.curOp={$d:0}),this.curOp.$d++;try{var n=e()}finally{this.curOp&&(this.curOp.$d--,this.curOp.$d||this.onBeforeEndOperation())}return n}onBeforeEndOperation(){var e=this.curOp,i=!1;e&&(e.change&&lL(e.changeHandlers,this,e.change),e&&e.cursorActivity&&(lL(e.cursorActivityHandlers,this,null),e.isVimOp&&(i=!0)),this.curOp=null),i&&this.scrollIntoView()}moveH(e,i){if(i=="char"){var n=this.getCursor();this.setCursor(n.line,n.ch+e)}}setOption(e,i){switch(e){case"keyMap":this.state.keyMap=i;break;case"textwidth":this.state.textwidth=i;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(Vn)==" ";case"indentUnit":return this.cm6.state.facet(Vn).length||2;case"textwidth":return this.state.textwidth;case"keyMap":return this.state.keyMap||"vim"}}toggleOverwrite(e){this.state.overwrite=e}getTokenTypeAt(e){var i,n=this.indexFromPos(e),r=vx(this.cm6.state,n),o=r==null?void 0:r.resolve(n),s=((i=o==null?void 0:o.type)===null||i===void 0?void 0:i.name)||"";return/comment/i.test(s)?"comment":/string/i.test(s)?"string":""}overWriteSelection(e){var i=this.cm6.state.doc,n=this.cm6.state.selection,r=n.ranges.map(o=>{if(o.empty){var s=o.to<i.length?i.sliceString(o.from,o.to+1):"";if(s&&!/\n/.test(s))return K.range(o.from,o.to+1)}return o});this.cm6.dispatch({selection:K.create(r,n.mainIndex)}),this.replaceSelection(e)}isInMultiSelectMode(){return this.cm6.state.selection.ranges.length>1}virtualSelectionMode(){return!!this.virtualSelection}forEachSelection(e){var i=this.cm6.state.selection;this.virtualSelection=K.create(i.ranges,i.mainIndex);for(var n=0;n<this.virtualSelection.ranges.length;n++){var r=this.virtualSelection.ranges[n];r&&(this.cm6.dispatch({selection:K.create([r])}),e(),this.virtualSelection.ranges[n]=this.cm6.state.selection.ranges[0])}this.cm6.dispatch({selection:this.virtualSelection}),this.virtualSelection=null}hardWrap(e){return gne(this,e)}};Be.isMac=typeof navigator!="undefined"&&/Mac/.test(navigator.platform);Be.Pos=$n;Be.StringStream=vl;Be.commands={cursorCharLeft:function(t){If(t.cm6)},redo:function(t){cL(t,!1)},undo:function(t){cL(t,!0)},newlineAndIndent:function(t){Yf({state:t.cm6.state,dispatch:e=>ih(t,e)})},indentAuto:function(t){I6(t.cm6)},newlineAndIndentContinueComment:void 0,save:void 0};Be.isWordChar=function(t){return vk.test(t)};Be.keys=cne;Be.addClass=function(t,e){};Be.rmClass=function(t,e){};Be.e_preventDefault=function(t){t.preventDefault()};Be.e_stop=function(t){var e,i;(e=t==null?void 0:t.stopPropagation)===null||e===void 0||e.call(t),(i=t==null?void 0:t.preventDefault)===null||i===void 0||i.call(t)};Be.lookupKey=function(e,i,n){var r=Be.keys[e];r&&n(r)};Be.on=fL;Be.off=hL;Be.signal=dL;Be.findMatchingTag=pne;Be.findEnclosingTag=mne;Be.keyName=void 0;function OL(t,e,i){var n=document.createElement("div");return n.appendChild(e),n}function pL(t,e){t.state.currentNotificationClose&&t.state.currentNotificationClose(),t.state.currentNotificationClose=e}function une(t,e,i){pL(t,a);var n=OL(t,e,i&&i.bottom),r=!1,o,s=i&&typeof i.duration!="undefined"?i.duration:5e3;function a(){r||(r=!0,clearTimeout(o),n.remove(),gL(t,n))}return n.onclick=function(l){l.preventDefault(),a()},mL(t,n),s&&(o=setTimeout(a,s)),a}function mL(t,e){var i=t.state.dialog;t.state.dialog=e,e&&i!==e&&(i&&i.contains(document.activeElement)&&t.focus(),i&&i.parentElement?i.parentElement.replaceChild(e,i):i&&i.remove(),Be.signal(t,"dialog"))}function gL(t,e){t.state.dialog==e&&(t.state.dialog=null,Be.signal(t,"dialog"))}function fne(t,e,i,n){n||(n={}),pL(t,void 0);var r=OL(t,e,n.bottom),o=!1;mL(t,r);function s(l){if(typeof l=="string")a.value=l;else{if(o)return;o=!0,gL(t,r),t.state.dialog||t.focus(),n.onClose&&n.onClose(r)}}var a=r.getElementsByTagName("input")[0];return a&&(n.value&&(a.value=n.value,n.selectValueOnOpen!==!1&&a.select()),n.onInput&&Be.on(a,"input",function(l){n.onInput(l,a.value,s)}),n.onKeyUp&&Be.on(a,"keyup",function(l){n.onKeyUp(l,a.value,s)}),Be.on(a,"keydown",function(l){n&&n.onKeyDown&&n.onKeyDown(l,a.value,s)||(l.keyCode==13&&i(a.value),(l.keyCode==27||n.closeOnEnter!==!1&&l.keyCode==13)&&(a.blur(),Be.e_stop(l),s()))}),n.closeOnBlur!==!1&&Be.on(a,"blur",function(){setTimeout(function(){document.activeElement!==a&&s()})}),a.focus()),s}var hne={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function dne(t){return t&&t.bracketRegex||/[(){}[\]]/}function One(t,e,i,n,r){for(var o=r&&r.maxScanLineLength||1e4,s=r&&r.maxScanLines||1e3,a=[],l=dne(r),c=i>0?Math.min(e.line+s,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-s),u=e.line;u!=c;u+=i){var f=t.getLine(u);if(f){var d=i>0?0:f.length-1,O=i>0?f.length:-1;if(!(f.length>o))for(u==e.line&&(d=e.ch-(i<0?1:0));d!=O;d+=i){var m=f.charAt(d);if(l.test(m)){var x=hne[m];if(x&&x.charAt(1)==">"==i>0)a.push(m);else if(a.length)a.pop();else return{pos:new $n(u,d),ch:m}}}}}return u-i==(i>0?t.lastLine():t.firstLine())?!1:null}function pne(t,e){}function mne(t,e){var i,n,r=t.cm6.state,o=t.indexFromPos(e);if(o<r.doc.length){var s=r.sliceDoc(o,o+1);s=="<"&&o++}for(var a=vx(r,o),l=(a==null?void 0:a.resolve(o))||null;l;){if(((i=l.firstChild)===null||i===void 0?void 0:i.type.name)=="OpenTag"&&((n=l.lastChild)===null||n===void 0?void 0:n.type.name)=="CloseTag")return{open:uL(r.doc,l.firstChild),close:uL(r.doc,l.lastChild)};l=l.parent}}function uL(t,e){return{from:An(t,e.from),to:An(t,e.to)}}var wk=class{constructor(e,i,n){this.cm=e,this.id=e.$mid++,this.offset=i,this.assoc=n,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,Ct.TrackDel))}};function gne(t,e){for(var i,n=e.column||t.getOption("textwidth")||80,r=e.allowMerge!=!1,o=Math.min(e.from,e.to),s=Math.max(e.from,e.to);o<=s;){var a=t.getLine(o);if(a.length>n){var l=m(a,n,5);if(l){var c=(i=/^\s*/.exec(a))===null||i===void 0?void 0:i[0];t.replaceRange(`
`+c,new $n(o,l.start),new $n(o,l.end))}s++}else if(r&&/\S/.test(a)&&o!=s){var u=t.getLine(o+1);if(u&&/\S/.test(u)){var f=a.replace(/\s+$/,""),d=u.replace(/^\s+/,""),O=f+" "+d,l=m(O,n,5);l&&l.start>f.length||O.length<n?(t.replaceRange(" ",new $n(o,f.length),new $n(o+1,u.length-d.length)),o--,s--):f.length<a.length&&t.replaceRange("",new $n(o,f.length),new $n(o,a.length))}}o++}return o;function m(x,v,w){if(!(x.length<v)){var T=x.slice(0,v),A=x.slice(v),L=/^(?:(\s+)|(\S+)(\s+))/.exec(A),D=/(?:(\s+)|(\s+)(\S+))$/.exec(T),P=0,N=0;if(D&&!D[2]&&(P=v-D[1].length,N=v),L&&!L[2]&&(P||(P=v),N=v+L[1].length),P)return{start:P,end:N};if(D&&D[2]&&D.index>w)return{start:D.index,end:D.index+D[2].length};if(L&&L[2])return P=v+L[2].length,{start:P,end:P+L[3].length}}}}var kk=np||function(){let t={cursorBlinkRate:1200};return function(){return t}}(),Sk=class{constructor(e,i,n,r,o,s,a,l,c,u){this.left=e,this.top=i,this.height=n,this.fontFamily=r,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}},Tk=class{constructor(e,i){this.view=e,this.rangePieces=[],this.cursors=[],this.cm=i,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 i=kk(this.cm.cm6.state).cursorBlinkRate;this.cursorLayer.style.animationDuration=i+"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"),bne(e)&&this.setBlinkRate()}scheduleRedraw(){this.view.requestMeasure(this.measureReq)}readPos(){let{state:e}=this.view,i=[];for(let n of e.selection.ranges){let r=n==e.selection.main,o=wne(this.cm,this.view,n,r);o&&i.push(o)}return{cursors:i}}drawSel({cursors:e}){if(e.length!=this.cursors.length||e.some((i,n)=>!i.eq(this.cursors[n]))){let i=this.cursorLayer.children;if(i.length!==e.length){this.cursorLayer.textContent="";for(let n of e)this.cursorLayer.appendChild(n.draw())}else e.forEach((n,r)=>n.adjust(i[r]));this.cursors=e}}destroy(){this.cursorLayer.remove()}};function bne(t){return kk(t.startState)!=kk(t.state)}var yne={".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"}},xne=Dt.highest(fe.theme(yne));function vne(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==st.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function wne(t,e,i,n){var r,o;let s=i.head,a=!1,l=1,c=t.state.vim;if(c&&(!c.insertMode||t.state.overwrite)){if(a=!0,c.visualBlock&&!n)return null;i.anchor<i.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 O=vne(e),m=e.domAtPos(s),x=m?m.node:e.contentDOM;for(;m&&m.node instanceof HTMLElement;)x=m.node,m={node:m.node.childNodes[m.offset],offset:0};if(!(x instanceof HTMLElement)){if(!x.parentNode)return null;x=x.parentNode}let v=getComputedStyle(x),w=d.left,T=(o=(r=e).coordsForChar)===null||o===void 0?void 0:o.call(r,s);if(T&&(w=T.left),!f||f==`
`||f=="\r")f="\xA0";else if(f==" "){f="\xA0";var u=e.coordsAtPos(s+1,-1);u&&(w=u.left-(u.left-d.left)/parseInt(v.tabSize))}else/[\uD800-\uDBFF]/.test(f)&&s<e.state.doc.length-1&&(f+=e.state.sliceDoc(s+1,s+2));let A=d.bottom-d.top;return new Sk(w-O.left,d.top-O.top+A*(1-l),A*l,v.fontFamily,v.fontSize,v.fontWeight,v.color,n?"cm-fat-cursor cm-cursor-primary":"cm-fat-cursor cm-cursor-secondary",f,l!=1)}else return null}var kne=typeof navigator!="undefined"&&/linux/i.test(navigator.platform)&&/ Gecko\/\d+/.exec(navigator.userAgent),Sa=lne(Be),Sne=250,Tne=fe.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"}}),Ene=He.fromClass(class{constructor(t){this.status="",this.query=null,this.decorations=we.none,this.waitForCopy=!1,this.lastKeydown="",this.useNextTextInput=!1,this.compositionText="",this.view=t;let e=this.cm=new Be(t);Sa.enterVimMode(this.cm),this.view.cm=this.cm,this.cm.state.vimPlugin=this,this.blockCursor=new Tk(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",i=>{e.state.vim&&(e.state.vim.mode=i.mode,i.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:bL.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=i=>{Sa.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 i of t.transactions)for(let n of i.effects)if(n.is(uo))if(!((e=n.value)===null||e===void 0?void 0:e.forVim))this.highlight(null);else{let o=n.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 i=this.cm.state.dialog;if(i)i.parentElement!=t&&(t.textContent="",t.appendChild(i));else{t.textContent="";var n=(e.mode||"normal").toUpperCase();e.insertModeReturn&&(n+="(C-O)"),this.statusButton.textContent=`--${n}--`,t.appendChild(this.statusButton)}this.dom.textContent=e.status,t.appendChild(this.dom)}destroy(){Sa.leaveVimMode(this.cm),this.updateClass(),this.blockCursor.destroy(),delete this.view.cm}highlight(t){if(this.query=t,!t)return this.decorations=we.none;let{view:e}=this,i=new $i;for(let n=0,r=e.visibleRanges,o=r.length;n<o;n++){let{from:s,to:a}=r[n];for(;n<o-1&&a>r[n+1].from-2*Sne;)a=r[++n].to;t.highlight(e.state,s,a,(l,c)=>{i.add(l,c,Cne)})}return this.decorations=i.finish()}handleKey(t,e){let i=this.cm,n=i.state.vim;if(!n)return;let r=Sa.vimKeyFromEvent(t,n);if(Be.signal(this.cm,"inputEvent",{type:"handleKey",key:r}),!r)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>"&&!Be.isMac&&i.somethingSelected())return this.waitForCopy=!0,!0;n.status=(n.status||"")+r;let s=Sa.multiSelectHandleKey(i,r,"user");return n=Sa.maybeInitVimState_(i),!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,Be.commands.cursorCharLeft(i))),s&&(Be.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 i=this.cm,n=i.state.vim;n&&(n.insertMode?i.setSelection(i.getCursor(),i.getCursor()):i.operation(()=>{i.curOp&&(i.curOp.isVimOp=!0),Sa.handleKey(i,"<Esc>","user")}))}))},compositionstart:function(t,e){this.useNextTextInput=!0,Be.signal(this.cm,"inputEvent",t)},compositionupdate:function(t,e){Be.signal(this.cm,"inputEvent",t)},compositionend:function(t,e){Be.signal(this.cm,"inputEvent",t)},keypress:function(t,e){Be.signal(this.cm,"inputEvent",t),this.lastKeydown=="Dead"&&this.handleKey(t,e)},keydown:function(t,e){Be.signal(this.cm,"inputEvent",t),this.lastKeydown=t.key,this.lastKeydown=="Unidentified"||this.lastKeydown=="Process"||this.lastKeydown=="Dead"?this.useNextTextInput=!0:(this.useNextTextInput=!1,this.handleKey(t,e))}},provide:()=>[fe.inputHandler.of((t,e,i,n)=>{var r,o,s=$ne(t);if(!s)return!1;var a=(r=s.state)===null||r===void 0?void 0:r.vim,l=s.state.vimPlugin;if(a&&!a.insertMode&&!(!((o=s.curOp)===null||o===void 0)&&o.isVimOp)){if(n==="\0\0")return!0;if(Be.signal(s,"inputEvent",{type:"text",text:n,from:e,to:i}),n.length==1&&l.useNextTextInput){if(a.expectLiteralNext&&t.composing)return l.compositionText=n,!1;if(l.compositionText){var c=l.compositionText;l.compositionText="";var u=t.state.selection.main.head,f=t.state.sliceDoc(u-c.length,u);if(c===f){var d=s.getCursor();s.replaceRange("",s.posFromIndex(u-c.length),d)}}return l.handleKey({key:n,preventDefault:()=>{},stopPropagation:()=>{}}),Pne(t),!0}}return!1})],decorations:t=>t.decorations});function Pne(t){var e=t.scrollDOM.parentElement;if(e){if(kne){t.contentDOM.textContent="\0\0",t.contentDOM.dispatchEvent(new CustomEvent("compositionend"));return}var i=t.scrollDOM.nextSibling,n=window.getSelection(),r=n&&{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset};t.scrollDOM.remove(),e.insertBefore(t.scrollDOM,i);try{r&&n&&(n.setPosition(r.anchorNode,r.anchorOffset),r.focusNode&&n.extend(r.focusNode,r.focusOffset))}catch(o){console.error(o)}t.focus(),t.contentDOM.dispatchEvent(new CustomEvent("compositionend"))}}var Cne=we.mark({class:"cm-searchMatch"}),bL=Se.define(),Qne=Ge.define({create:()=>!1,update(t,e){for(let i of e.effects)i.is(bL)&&(t=i.value);return t},provide:t=>kn.from(t,e=>e?_ne:null)});function _ne(t){let e=document.createElement("div");e.className="cm-vim-panel";let i=t.cm;return i.state.dialog&&e.appendChild(i.state.dialog),{top:!1,dom:e}}function Ane(t){let e=document.createElement("div");e.className="cm-vim-panel";let i=t.cm;return i.state.statusbar=e,i.state.vimPlugin.updateStatus(),{dom:e}}function yL(t={}){return[Tne,Ene,xne,t.status?kn.of(Ane):Qne]}function $ne(t){return t.cm||null}var Pk=np||function(){let t={cursorBlinkRate:1200};return function(){return t}}(),Ck=class{constructor(e,i,n,r,o,s,a,l,c,u){this.left=e,this.top=i,this.height=n,this.fontFamily=r,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}},Qk=class{constructor(e,i){this.view=e,this.rangePieces=[],this.cursors=[],this.em=i,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 i=Pk(this.view.state).cursorBlinkRate;this.cursorLayer.style.animationDuration=i+"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"),Xne(e)&&this.setBlinkRate()}scheduleRedraw(){this.view.requestMeasure(this.measureReq)}readPos(){let{state:e}=this.view,i=[];for(let n of e.selection.ranges){let r=n==e.selection.main,o=Dne(this.em,this.view,n,r);o&&i.push(o)}return{cursors:i}}drawSel({cursors:e}){if(e.length!=this.cursors.length||e.some((i,n)=>!i.eq(this.cursors[n]))){let i=this.cursorLayer.children;if(i.length!==e.length){this.cursorLayer.textContent="";for(let n of e)this.cursorLayer.appendChild(n.draw())}else e.forEach((n,r)=>n.adjust(i[r]));this.cursors=e}}destroy(){this.cursorLayer.remove()}};function Xne(t){return Pk(t.startState)!=Pk(t.state)}var Rne={".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"}},Lne=Dt.highest(fe.theme(Rne));function Ine(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==st.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function Dne(t,e,i,n){var r,o;let s=i.head,a=1;(t.$data.count||t.$data.keyChain)&&(a=.5);{let c=s<e.state.doc.length&&e.state.sliceDoc(s,s+1);c&&/[\uDC00-\uDFFF]/.test(c)&&s>1&&(s--,c=e.state.sliceDoc(s,s+1));let u=e.coordsAtPos(s,1);if(!u)return null;let f=Ine(e),d=e.domAtPos(s),O=d?d.node:e.contentDOM;for(;d&&d.node instanceof HTMLElement;)O=d.node,d={node:d.node.childNodes[d.offset],offset:0};if(!(O instanceof HTMLElement)){if(!O.parentNode)return null;O=O.parentNode}let m=getComputedStyle(O),x=u.left,v=(o=(r=e).coordsForChar)===null||o===void 0?void 0:o.call(r,s);if(v&&(x=v.left),!c||c==`
`||c=="\r")c="\xA0";else if(c==" "){c="\xA0";var l=e.coordsAtPos(s+1,-1);l&&(x=l.left-(l.left-u.left)/parseInt(m.tabSize))}else/[\uD800-\uDBFF]/.test(c)&&s<e.state.doc.length-1&&(c+=e.state.sliceDoc(s+1,s+2));let w=u.bottom-u.top;return new Ck(x-f.left,u.top-f.top+w*(1-a),w*a,m.fontFamily,m.fontSize,m.fontWeight,m.color,n?"cm-fat-cursor cm-cursor-primary":"cm-fat-cursor cm-cursor-secondary",c,a!=1)}}var zne=fe.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"}}),Une=He.fromClass(class{constructor(t){this.status="",this.view=t,this.em=new nh(t),this.blockCursor=new Qk(t,this.em),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:{keydown:function(t,e){var i=this.em.handleKeyboard(t);return i&&this.blockCursor.scheduleRedraw(),!!i},mousedown:function(){this.em.$emacsMark=null}}}),Mne=Se.define(),Nne=Ge.define({create:()=>!1,update(t,e){for(let i of e.effects)i.is(Mne)&&(t=i.value);return t},provide:t=>kn.from(t,e=>e?qne:null)});function qne(t){let e=document.createElement("div");return e.className="cm-vim-panel",{top:!1,dom:e}}function wL(t={}){return[zne,Une,Lne,Nne]}var jne={Return:"Return",Escape:"Esc",Insert:"Ins",ArrowLeft:"Left",ArrowRight:"Right",ArrowUp:"Up",ArrowDown:"Down",Enter:"Return",Divide:"/",Slash:"/",Multiply:"*",Subtract:"-",Minus:"-",Equal:"="},Wne={Shift:1,Alt:1,Command:1,Control:1,CapsLock:1},Ek={},nh=class t{constructor(e){this.view=e,this.$data={count:0,keyChain:"",lastCommand:""},this.$emacsMarkRing=[],this.$emacsMark=null}static bindKey(e,i){e.split("|").forEach(function(n){let r="",o=n.split(/\s+/);o.forEach(function(s,a){let l=s.split(/-(?=.)/),c=l.pop();l.length&&(r+=l.sort().join("-")+"-"),r+=c,a===o.length-1?Ek[r]=i:(Ek[r]="null",r+=" ")})})}static getKey(e){var i=e.code,n=e.key;if(Wne[n])return["","",""];i.length>1&&(i[0]=="N"&&(i=i.replace(/^Numpad/,"")),i[0]=="K"&&(i=i.replace(/^Key/,""))),i=jne[i]||i,i.length==1&&(i=i.toLowerCase());var r="";return e.ctrlKey&&(r+="C-"),e.metaKey&&(r+="CMD-"),e.altKey&&(r+="M-"),e.shiftKey&&(r+="S-"),[i,r,n]}static addCommands(e){Object.keys(e).forEach(function(i){var n=e[i];typeof n=="function"&&(n={exec:n}),t.commands[i]=n})}static execCommand(e,i,n,r=1){var o=void 0;if(r<0&&(r=-r),typeof e=="function")for(var s=0;s<r;s++)e(i.view);else if(e!=="null")if(e.exec){r>1&&e.handlesCount&&(n||(n={}),typeof n=="object"&&(n.count=r),r=1);for(var s=0;s<r;s++)o=e.exec(i,n||{})}else throw new Error("missformed command");return o}handleKeyboard(e){var i=t.getKey(e),n=this.findCommand(i);if(!(/Up|Down/.test(i==null?void 0:i[0])&&h_(this.view.state))){if(n&&n.command){var r=t.execCommand(n.command,this,n.args,n.count);if(r===!1)return}return n}}findCommand([e,i,n]){if(e){var r=this,o=this.$data;if(!i&&e.length==1&&(r.pushEmacsMark(),o.count)){var s=new Array(o.count+1).join(n);return o.count=null,{command:"insertstring",args:s}}if(i=="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"}}i&&(e=i+e),o.keyChain&&(e=o.keyChain+=" "+e);var a=Ek[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===Bf||a===Xf)&&r.pushEmacsMark(),!(typeof a=="string"&&(a=t.commands[a],!a))){!a.readOnly&&!a.keepLastCommand&&(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(i=>this.updateMark(i,e)).filter(Boolean)}updateMark(e,i){if(e){var n=e.map(function(r){return i.mapPos(r,1,Ct.TrackDel)}).filter(r=>r!=null);return n.length==0?null:n}}emacsMark(){return this.$emacsMark}setEmacsMark(e){this.$emacsMark=e}pushEmacsMark(e,i){var n=this.$emacsMark;n&&xL(this.$emacsMarkRing,n),!e||i?this.setEmacsMark(e):xL(this.$emacsMarkRing,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(i=>e.sliceDoc(i.from,i.to)).join(`
`)}clearSelection(){var e=this.view,i=e.state.selection,n=!i.ranges.some(o=>o.from!=o.to);if(n)return!1;var r=i.ranges.map(o=>K.range(o.head,o.head));return e.dispatch({selection:K.create(r,i.mainIndex)}),!0}onPaste(e){var i=this.view,n=i.state.selection,r;if(n.ranges.length>1){var o=e.split(`
`);o.length==n.ranges.length&&(r=o)}var s=0,a=i.state.changeByRange(l=>{var c=r?r[s]:e;return s++,{changes:{from:l.from,to:l.to,insert:c},range:K.cursor(l.from+c.length)}});i.dispatch(a)}selectionToEmacsMark(){var e=this.view.state.selection;return e.ranges.map(i=>i.head)}};nh.commands={};function xL(t,e){t.length&&t[t.length-1]+""==e+""||t.push(e)}var vL={"Up|C-p":{command:"goOrSelect",args:[Df,Wl]},"Down|C-n":{command:"goOrSelect",args:[zf,Vl]},"Left|C-b":{command:"goOrSelect",args:[gm,Jw]},"Right|C-f":{command:"goOrSelect",args:[h6,Kw]},"C-Left|M-b":{command:"goOrSelect",args:[bm,Tm]},"C-Right|M-f":{command:"goOrSelect",args:[ym,Em]},"Home|C-a":{command:"goOrSelect",args:[vm,qf]},"End|C-e":{command:"goOrSelect",args:[wm,jf]},"C-Home|S-M-,":{command:"goOrSelect",args:[Wf,Zl]},"C-End|S-M-.":{command:"goOrSelect",args:[Vf,Bl]},"S-Up|S-C-p":Wl,"S-Down|S-C-n":Vl,"S-Left|S-C-b":Jw,"S-Right|S-C-f":Kw,"S-C-Left|S-M-b":y6,"S-C-Right|S-M-f":b6,"S-Home|S-C-a":qf,"S-End|S-C-e":jf,"S-C-Home":Zl,"S-C-End":Bl,"C-l":"recenterTopBottom","M-s":"centerSelection","M-g":"gotoline","C-x C-p|C-x h":Pm,"PageDown|C-v|C-Down":{command:"goOrSelect",args:[jl,wa]},"PageUp|M-v|C-Up":{command:"goOrSelect",args:[ql,wa]},"S-C-Down":wa,"S-C-Up":Nf,"C-s":ec,"C-r":ec,"M-C-s":"findnext","M-C-r":"findprevious","S-M-5":"replace",Backspace:Yl,"Delete|C-d":Zf,"Return|C-m":{command:"insertstring",args:`
`},"C-o":Bf,"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":Qm,"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-/":Tl,"C-u":"universalArgument","M-;":Xf,"C-/|C-x u|S-C--|C-z":xa,"S-C-/|S-C-x u|C--|S-C-z":as,"C-x r":"selectRectangularRegion","M-x":{command:"focusCommandLine",args:"M-x "},Esc:"unsetTransientMark"};for(let t in vL)vL[t];var fo=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 i=this.ops.pop();return Yi(e)&&Fi(i)?this.append(e).append(i):Yi(e)&&Yi(i)?(this.ops.push({insert:i.insert+e.insert}),this):Fi(e)&&Fi(i)?(this.ops.push({delete:i.delete+e.delete}),this):Fn(e)&&Fn(i)?(this.ops.push({retain:i.retain+e.retain}),this):(this.ops.push(i,e),this)}compose(e){let i=new Ta(this.ops),n=new Ta(e.ops),r=new t;for(;i.hasNext()||n.hasNext();)if(Yi(n.peek()))r.append(n.next());else if(Fi(i.peek()))r.append(i.next());else{let o=Math.min(i.peekLength(),n.peekLength()),s=i.next(o),a=n.next(o);Fn(a)?r.append(s):Fi(a)&&Fn(s)&&r.append(a)}return r._trim()}transform(e,i){if(i!=="left"&&i!=="right")throw new Error(`Invalid priority "${i}", should be either "left" or "right"`);let n=new Ta(this.ops),r=new Ta(e.ops),o=new t;for(;n.hasNext()||r.hasNext();)if(Yi(n.peek())&&(!Yi(r.peek())||i==="left")){let s=qm(n.next());o.retain(s)}else if(Yi(r.peek()))o.append(r.next());else{let s=Math.min(n.peekLength(),r.peekLength()),a=n.next(s),l=r.next(s);if(Fi(a))continue;Fi(l)?o.append(l):o.retain(s)}return o._trim()}_trim(){return this.ops.length>0&&Fn(this.ops[this.ops.length-1])&&this.ops.pop(),this}transformPosition(e){let i=new Ta(this.ops),n=0;for(;i.hasNext()&&n<e;){let r=i.next(),o=qm(r);Fi(r)?e-=Math.min(o,e-n):(Yi(r)&&(e+=o),n+=o)}return e}toCompressed(){return this.ops.map(e=>{if(Yi(e))return e.insert;if(Fn(e))return e.retain;if(Fi(e))return-e.delete;throw new Error(`Invalid operation ${e}`)})}static fromCompressed(e){return e.reduce((i,n)=>{if(typeof n=="string")return i.insert(n);if(typeof n=="number"&&n>=0)return i.retain(n);if(typeof n=="number"&&n<0)return i.delete(-n);throw new Error(`Invalid compressed operation ${n}`)},new this)}applyToString(e){let i="",n=0;return this.ops.forEach(r=>{Fn(r)&&(i+=e.slice(n,n+r.retain),n+=r.retain),Yi(r)&&(i+=r.insert),Fi(r)&&(n+=r.delete)}),i+=e.slice(n),i}},Ta=class{constructor(e){this.ops=e,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(e=1/0){let i=this.ops[this.index];if(i){let n=this.offset,r=qm(i);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,Fi(i))return{delete:e};if(Fn(i))return{retain:e};if(Yi(i))return{insert:i.insert.substr(n,e)}}else return{retain:e}}peek(){return this.ops[this.index]||{retain:1/0}}peekLength(){return this.ops[this.index]?qm(this.ops[this.index])-this.offset:1/0}};function qm(t){if(Yi(t))return t.insert.length;if(Fn(t))return t.retain;if(Fi(t))return t.delete}function Yi(t){return typeof t.insert=="string"}function Fn(t){return typeof t.retain=="number"}function Fi(t){return typeof t.delete=="number"}var TL=be.define({combine(t){return Qt(t,{})}}),kL=ki.define(),Vne=He.fromClass(class{constructor(t){let{collabClient:e}=t.state.facet(TL);this.collabClient=e,this.deltaSubscription=e.onDelta((i,{remote:n})=>{if(n)return t.dispatch({changes:_k(i),selection:ds(t.state.selection,i),annotations:[Xt.addToHistory.of(!1),Xt.remote.of(!0),kL.of(!0)],filter:!1})})}update(t){if(!t.transactions.some(i=>i.annotation(kL))){if(t.docChanged){let i=Zne(t.changes),n=SL(t);this.collabClient.handleClientDelta(i,n)}else if(t.focusChanged||!t.state.selection.eq(t.startState.selection)){let i=SL(t);this.collabClient.handleClientSelection(i)}}}destroy(){this.deltaSubscription.destroy()}});function _k(t){let e=[],i=0;for(let n of t.ops)Fn(n)&&(i+=n.retain),Yi(n)&&e.push({from:i,to:i,insert:n.insert}),Fi(n)&&(e.push({from:i,to:i+n.delete}),i+=n.delete);return e}function Zne(t){let e=[];return t.iterChanges((i,n,r,o,s)=>{let a=new fo;i&&a.retain(i),i!==n&&a.delete(n-i);let l=s.toString();l&&a.insert(l),e.push(a)}),e.reverse().reduce((i,n)=>i.compose(n))}function SL(t){return t.view.hasFocus?t.state.selection:null}function ds(t,e){let i=t.ranges.map(n=>K.range(e.transformPosition(n.anchor),e.transformPosition(n.head)));return K.create(i,t.mainIndex)}function EL(t){return[Vne,TL.of({collabClient:t})]}var Bne=fe.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"}}),CL=be.define({combine(t){return Qt(t,{})}}),Yne=He.fromClass(class{constructor(t){let{collabClient:e}=t.state.facet(CL);this.peers=e.getPeers(),this.decorations=Je.of(Object.values(this.peers).flatMap(PL),!0),this.peersSubscription=e.onPeersChange(i=>{let n=this.peers;if(n===i)return;let r=new Set,o=[];for(let s in i){let a=i[s],l=n[s];l&&a.eq(l)?r.add(s):o.push(a)}this.decorations=this.decorations.update({filter:(s,a,l)=>r.has(l.spec.id),add:o.flatMap(PL),sort:!0}),this.peers=i,setTimeout(()=>{t.update([])},0)})}destroy(){this.peersSubscription.destroy()}},{decorations:t=>t.decorations}),Ak=class extends ii{constructor(e,i,n){super(),this.cursorPos=e,this.color=i,this.label=n}toDOM(e){let i=document.createElement("div");i.classList.add("cm-peerCursor"),e.state.doc.lineAt(this.cursorPos).number===1&&i.classList.add("cm-peerCursor-inline");let r=document.createElement("div");r.classList.add("cm-peerCursorCaret"),r.style.backgroundColor=this.color;let o=document.createElement("div");return o.classList.add("cm-peerCursorLabel"),o.textContent=this.label,o.style.backgroundColor=this.color,i.appendChild(r),i.appendChild(o),i}eq(e){return e.cursorPos===this.cursorPos&&e.color===this.color&&e.label===this.label}};function PL(t){let{id:e,selection:i,meta:{hex_color:n,name:r}}=t;if(!i)return[];let o=we.mark({class:"cm-peerSelection",attributes:{style:`background-color: ${n}30`},id:e}),s=i.ranges.filter(l=>!l.empty).map(({from:l,to:c})=>o.range(l,c)),a=i.ranges.map(l=>{let c=l.head;return we.widget({widget:new Ak(c,n,r),id:e}).range(c)});return s.concat(a)}function QL(t){return[Yne,CL.of({collabClient:t}),Bne]}var Fne=fe.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"}}),_L=Se.define(),AL=Se.define(),$L=Ge.define({create(t){return we.none},update(t,e){t=t.map(e.changes);for(let i of e.effects){if(i.is(_L)){let n=i.value;t=t.update({filter:(r,o,s)=>!n.some(a=>s.spec.report.line===a.line),add:n.flatMap(r=>Hne(r,e.state.doc)),sort:!0})}i.is(AL)&&(t=we.none)}return t},provide(t){return fe.decorations.from(t)}});function Hne(t,e){let i=e.line(t.line).from+t.column,n=[we.mark({class:`cm-doctestStatus cm-doctestStatus-${t.status}`,report:t}).range(i,i+1)];if(t.status==="failed"){let r=e.line(t.end_line+1);n.push(we.widget({widget:new $k(t),block:!0,report:t}).range(r.from))}return n}var $k=class extends ii{constructor(e){super(),this.report=e}toDOM(e){let i=document.createElement("div");i.classList.add("cm-doctestDetails");let n=document.createElement("div");return n.classList.add("cm-doctestDetailsContent"),n.classList.add("editor-theme-aware-ansi"),i.style.marginLeft=`${this.report.column}ch`,n.innerHTML=this.report.details,i.appendChild(n),i}eq(e){return this.report===e.report}};function XL(t,e){let i=[_L.of(e)];t.dispatch({effects:LL(t.state,i)})}function RL(t){let e=[AL.of(null)];t.dispatch({effects:LL(t.state,e)})}var Gne=[$L,Fne];function LL(t,e){return t.field($L,!1)?e:e.concat(Se.appendConfig.of(Gne))}var Kne=fe.baseTheme({".cm-signatureHint":{display:"flex"},".cm-signatureHintStepper":{padding:"4px 8px",borderRight:"1px solid black"},".cm-signatureHintContent":{padding:"4px"},".cm-signatureHintActiveArgument":{color:"gray"}}),rh=be.define({combine(t){return Qt(t,{})}}),zL=be.define({}).from(rh,({triggerCharacters:t,retriggerCharacters:e})=>({triggerCharacters:new Set(t),retriggerCharacters:new Set(t.concat(e))})),UL=Se.define(),ML=Se.define(),Lk=Se.define(),NL=Se.define(),Hn=Ge.define({create(){return{context:null,hint:null}},update({context:t,hint:e},i){e=e&&e.setPosition(i.state.selection.main.head),Jne(i,!!e)&&(t=IL(i.state));for(let r of i.effects)r.is(UL)&&(r.value.signatureResult?e=Xk.build(i.state,r.value.signatureResult):(t=null,e=null)),r.is(ML)&&(t=IL(i.state)),r.is(Lk)&&(t=null,e=null),r.is(NL)&&(e=e&&e.setSelected(r.value));return{context:t,hint:e}},provide(t){return Fr.from(t,e=>e.hint&&e.hint.tooltip)}});function Jne(t,e){let{activateOnTyping:i}=t.state.facet(rh),{triggerCharacters:n,retriggerCharacters:r}=t.state.facet(zL),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 O=t.startState.doc.sliceString(c,u);e&&(l=l||jm(O,r))}if(f<d&&f<=s&&s<=d){let O=t.state.doc.sliceString(f,s);e?l=l||jm(O,r):i&&a&&(l=l||jm(O,n))}}}),l}if(!t.docChanged&&o!==s){let l=t.state.doc.sliceString(Math.min(o,s),Math.max(o,s));if(e)return jm(l,r)}return!1}function jm(t,e){for(let i of t)if(e.has(i))return!0;return!1}function IL(t){let e=t.selection.main.head;return{state:t,pos:e}}var Xk=class t{constructor(e,i,n){this.signatureResult=e,this.selectedIdx=i,this.tooltip=n}static build(e,i){return new t(i,0,{pos:e.selection.main.head,above:!0,create:n=>new Rk(n)})}setSelected(e){return new t(this.signatureResult,e,this.tooltip)}setPosition(e){return e===this.tooltip.pos?this:new t(this.signatureResult,this.selectedIdx,Ee(Y({},this.tooltip),{pos:e}))}},Rk=class{constructor(e){this.view=e;let{signatureResult:i}=e.state.field(Hn).hint;this.dom=document.createElement("div"),this.dom.classList.add("cm-signatureHint"),i.items.length>1&&(this.stepper=document.createElement("div"),this.stepper.classList.add("cm-signatureHintStepper"),this.dom.appendChild(this.stepper));let n=document.createElement("div");n.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"),n.appendChild(this.contentLeft),n.appendChild(this.contentActive),n.appendChild(this.contentRight),this.dom.appendChild(n)}mount(){this.updateSelected()}update(e){let i=e.startState.field(Hn),n=e.state.field(Hn);i!==n&&this.updateSelected()}updateSelected(){let{signatureResult:e,selectedIdx:i}=this.view.state.field(Hn).hint,{activeArgumentIdx:n,items:r}=e,o=r[i],s=o.arguments[n];this.stepper&&(this.stepper.textContent=`${i+1}/${r.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)}},ere=He.fromClass(class{constructor(t){this.view=t,this.query=null}update(t){let e=t.state.field(Hn);e.context!==t.startState.field(Hn).context&&(this.maybeAbortQuery(),e.context&&this.requestSignature(t.state))}destroy(){this.maybeAbortQuery()}requestSignature(t){let{context:e}=t.field(Hn),{source:i}=t.facet(rh),n={aborted:!1};i(e).then(r=>{n.aborted||this.view.dispatch({effects:UL.of({signatureResult:r})})}),this.query=n}maybeAbortQuery(){this.query&&(this.query.aborted=!0,this.query=null)}},{eventHandlers:{blur(t){let e=this.view.state.field(Hn,!1);e&&e.hint&&this.view.state.facet(rh).closeOnBlur&&setTimeout(()=>{this.view.dispatch({effects:[Lk.of(null)]})},0)}}});function tre(t){return t.dispatch({effects:[ML.of(null)]}),!0}function Ik(t){let e=t.state.field(Hn,!1);return!e||!e.hint?!1:(t.dispatch({effects:[Lk.of(null)]}),!0)}var DL=t=>e=>{let i=e.state.field(Hn,!1);if(!i||!i.hint)return!1;let{signatureResult:n,selectedIdx:r}=i.hint;if(n.items.length===1)return!1;let o=n.items.length,s=r+(t?1:-1);return s<0&&(s+=o),s>=o&&(s-=o),e.dispatch({effects:[NL.of(s)]}),!0},ire=[{key:"Mod-Shift-Space",run:tre},{key:"Escape",run:Ik},{key:"ArrowDown",run:DL(!0)},{key:"ArrowUp",run:DL(!1)}];function qL(t,{activateOnTyping:e=!0,closeOnBlur:i=!0,triggerCharacters:n=["(",","],retriggerCharacters:r=[")"]}={}){return[Hn,ere,rh.of({source:t,activateOnTyping:e,closeOnBlur:i,triggerCharacters:n,retriggerCharacters:r}),zL,Dt.high(hi.of(ire)),Kne]}var jL=be.define({combine(t){return Qt(t,{})}}),WL=Se.define(),Wm=Ge.define({create(){return{doc:null}},update({doc:t},e){e.docChanged&&(t=null);for(let i of e.effects)i.is(WL)&&(t=e.state.doc);return{doc:t}}}),nre=He.fromClass(class{constructor(t){this.view=t,this.query=null}update(t){let e=t.state.field(Wm);e.doc!==t.startState.field(Wm).doc&&(this.maybeAbortQuery(),e.doc&&this.requestFormatterChanges(t.state))}destroy(){this.maybeAbortQuery()}requestFormatterChanges(t){let{doc:e}=t.field(Wm),{source:i}=t.facet(jL),n={aborted:!1};i(e).then(r=>{!n.aborted&&r&&this.view.dispatch({changes:r})}),this.query=n}maybeAbortQuery(){this.query&&(this.query.aborted=!0,this.query=null)}});function rre(t){return t.state.readOnly?!1:(t.dispatch({effects:[WL.of(null)]}),!0)}var ore=[{key:"Ctrl-Shift-i",mac:"Alt-Shift-f",win:"Alt-Shift-f",run:rre}];function VL(t){return[Wm,nre,jL.of({source:t}),hi.of(ore)]}function ZL(t,e){let i=e;for(;!t.endsWith(i);)i=i.slice(0,-1);return i.length}var sre=fe.baseTheme({".cm-readOnlyHint":{padding:"4px"}}),BL=Se.define(),Dk=Se.define(),Vm=Ge.define({create(){return{tooltip:null}},update({tooltip:t},e){e.state.selection.eq(e.startState.selection)||(t=null);for(let i of e.effects)i.is(BL)&&(t={pos:e.state.selection.main.head,above:!0,create:are}),i.is(Dk)&&(t=null);return{tooltip:t}},provide(t){return Fr.from(t,e=>e.tooltip)}});function are(t){let e=document.createElement("div");return e.classList.add("cm-readOnlyHint"),e.textContent="This editor is read-only",{dom:e}}var lre=He.fromClass(class{constructor(t){this.view=t}},{eventHandlers:{input(t){this.view.state.readOnly&&(this.view.state.field(Vm).tooltip||this.view.dispatch({effects:BL.of(null)}))},blur(t){this.view.state.readOnly&&this.view.state.field(Vm).tooltip&&setTimeout(()=>{this.view.dispatch({effects:[Dk.of(null)]})},0)}}});function cre(t){let e=t.state.field(Vm,!1);return!e||!e.tooltip?!1:(t.dispatch({effects:[Dk.of(null)]}),!0)}var ure=[{key:"Escape",run:cre}];function YL(){return[Vm,lre,hi.of(ure),sre]}var fre=5e3,oh=class{constructor(e,i){lt(this,"_onDelta",new Gt);lt(this,"onDelta",this._onDelta.event);lt(this,"_onPeersChange",new Gt);lt(this,"onPeersChange",this._onPeersChange.event);this.connection=e,this.revision=i,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,i){this.peers=FL(this.peers,e),this.selection=i,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,i,n){this.revision++;let{inflightDelta:r,bufferDelta:o}=this;r&&([e,r]=[r.transform(e,"right"),e.transform(r,"left")],i=i&&ds(i,r)),o&&([e,o]=[o.transform(e,"right"),e.transform(o,"left")],i=i&&ds(i,o)),this.inflightDelta=r,this.bufferDelta=o,this.selection=this.selection&&ds(this.selection,e);let[s,a]=cm(this.peers,n);a=FL(a,e),s&&(a[n]=new ic(s.id,s.meta,i)),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,i){if(!this.peers.hasOwnProperty(i))return;let{inflightDelta:n,bufferDelta:r}=this;n&&(e=e&&ds(e,n)),r&&(e=e&&ds(e,r));let o=this.peers[i];this.peers=Ee(Y({},this.peers),{[i]:new ic(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 i={};for(let n in e)if(n!==this.clientId){let r=this.peers[n],o=e[n],s=r?r.selection:null;i[n]=new ic(n,o,s)}this.peers=i}maybeScheduleRevisionReport(){!this.inflightDelta&&!this.revisionReportTimeoutId&&(this.revisionReportTimeoutId=setTimeout(()=>{this.sendRevision(),this.revisionReportTimeoutId=null},fre))}maybeCancelRevisionReport(){this.revisionReportTimeoutId!==null&&(clearTimeout(this.revisionReportTimeoutId),this.revisionReportTimeoutId=null)}},ic=class{constructor(e,i,n){this.id=e,this.meta=i,this.selection=n}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 FL(t,e){let i={};for(let n in t){let r=t[n],o=r.selection&&ds(r.selection,e);i[n]=new ic(r.id,r.meta,o)}return i}function HL(t){let e=t.state.selection;return e.ranges.length>1?(t.dispatch({selection:e.asSingle()}),!0):!1}function GL(t){return R6(t)?(of(t),Ik(t),!0):!1}function zk(t,e){for(;t;){if(e.includes(t.type.name))return t;t=t.parent}return null}function KL(t,e){let i=0;for(;i<e.length&&t.parent;){if(t.parent.type.name!==e[i])return null;t=t.parent,i++}return i===e.length&&t?t:null}var hre=fe.editorAttributes.compute(["selection"],t=>t.selection.ranges.every(i=>i.empty)?{}:{class:"cm-selecting"});function JL(){return[hre]}function eI(t){let e=rp(t),i=fe.decorations.from(e.active,n=>{let r=we.mark({class:"cm-hoverDocsSelection"}),o=n.map(s=>r.range(s.pos,s.end));return Je.of(o,!0)});return[e,i]}var sh=class{constructor(e,i,n,r,o,s,a){lt(this,"_onMount",new Gt);lt(this,"onMount",this._onMount.event);lt(this,"_onChange",new Gt);lt(this,"onChange",this._onChange.event);lt(this,"_onBlur",new Gt);lt(this,"onBlur",this._onBlur.event);lt(this,"_onFocus",new Gt);lt(this,"onFocus",this._onFocus.event);lt(this,"_onSelectionChange",new Gt);lt(this,"onSelectionChange",this._onSelectionChange.event);this.container=e,this.source=n,this.language=o,this.intellisense=s,this.readOnly=a,this.initialWidgets={},this.connection=i,this.collabClient=new oh(i,r),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}getCurrentCursorPosition(){if(!this.isMounted())return null;let e=this.view.state.selection.main.head,i=this.view.state.doc.lineAt(e),n=e-i.from;return{line:i.number,offset:n}}focus(){this.isMounted()||this.mount(),this.view.focus()}moveCursorToLine(e,i){let r=this.view.state.doc.line(e).from+i;this.view.dispatch({selection:K.single(r)})}blur(){this.isMounted()&&this.view.hasFocus&&this.view.contentDOM.blur()}destroy(){this.isMounted()&&this.view.destroy(),this.collabClient.destroy(),this.deltaSubscription.destroy()}setLanguage(e,i){this.language=e,this.intellisense=i,this.view.dispatch({effects:this.languageCompartment.reconfigure(this.languageExtensions())})}updateDoctests(e){if(this.isMounted())XL(this.view,e);else{this.initialWidgets.doctestReportsByLine=this.initialWidgets.doctestReportsByLine||{};for(let i of e)this.initialWidgets.doctestReportsByLine[i.line]=i}}clearDoctests(){this.isMounted()?RL(this.view):delete this.initialWidgets.doctestReportsByLine}setCodeMarkers(e){if(this.isMounted()){let i=this.view.state.doc,n=e.map(r=>{let o=i.line(r.line),[,s,a]=o.text.match(/^(\s*).*?(\s*)$/),l=o.from+s.length,c=o.to-a.length;return{from:l,to:c,severity:r.severity,message:r.description}});this.view.dispatch(eL(this.view.state,n))}else this.initialWidgets.codeMarkers=e}mountEditor(){let e=gt.get(),i=c=>c.toString().padStart(3," "),n=c=>{let u=document.createElement("i");return u.classList.add(c?"ri-arrow-down-s-line":"ri-arrow-right-s-line",c?"cm-gutterFoldMarker-open":null),u},r=fe.theme({"&":{fontSize:`${e.editor_font_size}px`}}),o=e.editor_auto_close_brackets,s=fe.theme({"&":{fontVariantLigatures:`${e.editor_ligatures?"normal":"none"}`}}),a=[{key:"Escape",run:HL},{key:"Alt-Enter",run:GL}],l=fe.updateListener.of(c=>this.handleViewUpdate(c));this.languageCompartment=new ul,this.view=new fe({parent:this.container,doc:this.source,extensions:[fQ({formatNumber:i}),sQ(),hQ(),oQ(),B6(),DQ({markerDOM:n}),mp({placeholderText:"\u22EF"}),tQ(),rQ(),aQ(),JL(),lQ(),ot.allowMultipleSelections.of(!0),qQ(),o?a_():[],CQ(),l6(),ot.readOnly.of(this.readOnly),YL(),hi.of(a),hi.of(aL),ot.tabSize.of(2),ot.lineSeparator.of(`
`),fe.contentAttributes.of({tabIndex:-1}),r,e.editor_theme==="light"?wR:vR,s,EL(this.collabClient),QL(this.collabClient),jx({activateOnTyping:e.editor_auto_completion,defaultKeymap:!1}),e.editor_mode==="vim"?[yL()]:[],e.editor_mode==="emacs"?[wL()]:[],this.languageCompartment.of(this.languageExtensions()),fe.domEventHandlers({click:this.handleEditorClick.bind(this),keydown:this.handleEditorKeydown.bind(this),blur:this.handleEditorBlur.bind(this),focus:this.handleEditorFocus.bind(this)}),fe.clickAddsSelectionRange.of(c=>c.altKey),l]})}languageExtensions(){let e=gt.get(),i=this.language==="markdown"&&e.editor_markdown_word_wrap,n=this.language&&_t.matchLanguageName(Jp,this.language,!1);return[i?fe.lineWrapping:[],n?n.support:[],this.intellisense?[jx({override:[this.completionSource.bind(this)]}),eI(this.docsHoverTooltipSource.bind(this)),qL(this.signatureSource.bind(this),{activateOnTyping:e.editor_auto_signature}),VL(this.formatterSource.bind(this))]:[]]}handleEditorClick(e){return(Ul()?e.metaKey:e.ctrlKey)&&this.jumpToDefinition(this.view),!1}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}handleViewUpdate(e){e.state.selection.eq(e.startState.selection)||this._onSelectionChange.dispatch()}completionSource(e){let i=gt.get();if(!e.matchBefore(/[\w?!.]$/)&&!e.explicit)return null;let r=this.getCompletionHint(e);return this.connection.intellisenseRequest("completion",{hint:r,editor_auto_completion:i.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 Ee(Y({},u),{boost:1-c/o.items.length})}),a=ZL(r,o.items[0].insert_text);return{from:e.pos-a,options:s,validFor:/^\w*[!?]?$/}}).catch(()=>null)}getCompletionHint(e){let n=qe(e.state).resolve(e.pos);if(n&&this.language==="elixir"){let r=zk(n,["Map","Bitstring"]);if(r)return e.state.doc.sliceString(r.from,e.pos)}return e.matchBefore(/^.*/).text}completionItemToCompletions(e){let i={label:e.label,type:e.kind,info:r=>e.documentation===null?null:VR(350).then(()=>{let o=document.createElement("div");return o.classList.add("cm-completionInfoDocs"),o.classList.add("cm-markdown"),new ga(o,e.documentation,{defaultCodeLanguage:this.language,useDarkTheme:this.usesDarkTheme()}),o})},n=e.insert_text.includes("${}")?e.insert_text:e.insert_text+"${}";return xt(n,i)}docsHoverTooltipSource(e,i,n){let r=e.state.doc.lineAt(i),o=r.to-r.from,s=r.text,a=i-r.from+(n===1?1:0);return a<1||a>o?null:this.connection.intellisenseRequest("details",{line:s,column:a}).then(l=>({pos:r.from+l.range.from-1,end:r.from+l.range.to-1,above:!0,create:c=>{let u=document.createElement("div");if(u.classList.add("cm-hoverDocs"),l.definition){let d=document.createElement("a");d.classList.add("cm-hoverDocsDefinitionLink"),d.innerHTML='<i class="ri-code-line"></i> Go to definition',u.appendChild(d),d.addEventListener("click",O=>{at.broadcast("jump_to_editor",{line:l.definition.line,file:l.definition.file}),O.preventDefault()})}let f=document.createElement("div");f.classList.add("cm-hoverDocsContents"),u.appendChild(f);for(let d of l.contents){let O=document.createElement("div");O.classList.add("cm-hoverDocsContent"),O.classList.add("cm-markdown"),f.appendChild(O),new ga(O,d,{defaultCodeLanguage:this.language,useDarkTheme:this.usesDarkTheme()})}return{dom:u}}})).catch(()=>null)}jumpToDefinition(e){let i=e.state.selection.main.head,n=e.state.doc.lineAt(i),r=n.to-n.from,o=n.text,s=i-n.from;return s<1||s>r?null:this.connection.intellisenseRequest("details",{line:o,column:s}).then(a=>{a.definition&&at.broadcast("jump_to_editor",{line:a.definition.line,file:a.definition.file})}).catch(()=>null)}signatureSource({state:e,pos:i}){let n=this.getSignatureHint(e,i);return this.connection.intellisenseRequest("signature",{hint:n}).then(r=>({activeArgumentIdx:r.active_argument,items:r.items})).catch(()=>null)}getSignatureHint(e,i){let r=qe(e).resolve(i);if(r&&this.language==="elixir"){let o=zk(r,["Call","FunctionDefinitionCall","KernelCall"]);if(o){let a=KL(o,["Right","PipeOperator"])||o;return e.doc.sliceString(a.from,i)}}return e.doc.sliceString(0,i)}formatterSource(e){return this.connection.intellisenseRequest("format",{code:e.toString()}).then(i=>{if(this.setCodeMarkers(i.code_markers),i.delta){let n=fo.fromCompressed(i.delta);return _k(n)}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={}}usesDarkTheme(){return gt.get().editor_theme!=="light"}};var ah={},nc=class t{constructor(e){this.id=e,this.pubsub=new Nl,this.map={}}static create(e){let i=new t(e);return ah[e]=i,i}static getStore(e){if(!ah.hasOwnProperty(e))throw new Error(`No store found for id "${e}"`);return ah[e]}destroy(){ah[this.id]===this&&delete ah[this.id]}set(e,i){this.map[e]=i,this.pubsub.broadcast(e,i)}get(e){if(!this.map.hasOwnProperty(e))throw new Error(`Key "${e}" not found in the store`);return this.map[e]}watch(e,i){return this.pubsub.subscribe(e,i)}};var lh=class{constructor(e,i,n){lt(this,"_onDelta",new Gt);lt(this,"onDelta",this._onDelta.event);lt(this,"_onAcknowledgement",new Gt);lt(this,"onAcknowledgement",this._onAcknowledgement.event);lt(this,"_onSelection",new Gt);lt(this,"onSelection",this._onSelection.event);lt(this,"_onClientsUpdate",new Gt);lt(this,"onClientsUpdate",this._onClientsUpdate.event);this.hook=e,this.cellId=i,this.tag=n,this.sessionStore=nc.getStore("session"),this.handlerByRef={},this.setupCollaborationHandlers(),this.clientsSubscription=this.sessionStore.watch("clients",r=>{this._onClientsUpdate.dispatch(r)}),this.setupIntellisenseHandlers()}destroy(){this.clientsSubscription.destroy()}getClients(){return this.sessionStore.get("clients")}getClientId(){return this.sessionStore.get("clientId")}sendDelta(e,i,n){this.hook.pushEvent("apply_cell_delta",{cell_id:this.cellId,tag:this.tag,delta:e.toCompressed(),selection:i&&tI(i),revision:n})}sendSelection(e,i){this.hook.pushEvent("report_cell_selection",{cell_id:this.cellId,tag:this.tag,selection:e&&tI(e),revision:i})}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:i,client_id:n})=>{e=fo.fromCompressed(e),i=i&&iI(i),this._onDelta.dispatch(e,i,n)}),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:i})=>{e=e&&iI(e),this._onSelection.dispatch(e,i)})}setupIntellisenseHandlers(){this.hook.handleEvent("intellisense_response",({ref:e,response:i})=>{let n=this.handlerByRef[e];n&&(n(i),delete this.handlerByRef[e])})}intellisenseRequest(e,i){return new Promise((n,r)=>{this.hook.pushEvent("intellisense_request",Y({cell_id:this.cellId,type:e},i),({ref:o})=>{o?this.handlerByRef[o]=s=>{s?n(s):r(new Zm("No relevant intellisense response for the given parameters"))}:r(new Zm("Intellisense request could not be completed"))})})}};function tI(t){return t.ranges.map(({anchor:e,head:i})=>[e,i])}function iI(t){let e=t.map(([i,n])=>K.range(i,n));return K.create(e)}var Zm=class extends Error{constructor(e){super(e),this.name="IntellisenseError"}};var dre={mounted(){this.props=this.getProps(),this.handleEvent(`cell_editor_init:${this.props.cellId}:${this.props.tag}`,({source:t,revision:e,doctest_reports:i,code_markers:n})=>{let r=this.el.querySelector("[data-el-editor-container]"),o=document.createElement("div");r.appendChild(o),this.connection=new lh(this,this.props.cellId,this.props.tag),this.liveEditor=new sh(o,this.connection,t,e,this.props.language,this.props.intellisense,this.props.readOnly),this.liveEditor.setCodeMarkers(n),this.liveEditor.updateDoctests(i);let s=r.querySelector("[data-el-skeleton]"),a=document.createElement("div");a.classList.add("whitespace-pre","overflow-x-auto","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=om(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"),this.el.querySelector("[data-el-editor-container]").removeAttribute("id")},updated(){let t=this.props;this.props=this.getProps(),(this.props.language!==t.language||this.props.intellisense!==t.intellisense)&&this.liveEditor.setLanguage(this.props.language,this.props.intellisense)},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 Ot(this.el,["cell-id","tag","language","intellisense","read-only"])}},nI=dre;var Uk="data-js-dragging",Ore={mounted(){this.el.addEventListener("dragenter",t=>{this.el.setAttribute(Uk,"")}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.removeAttribute(Uk)}),this.el.addEventListener("drop",t=>{this.el.removeAttribute(Uk)})}},rI=Ore;var pre={mounted(){let t=gt.get(),e=this.el.querySelector('[name="editor_auto_completion"][value="true"]'),i=this.el.querySelector('[name="editor_auto_signature"][value="true"]'),n=this.el.querySelector('[name="editor_auto_close_brackets"][value="true"]'),r=this.el.querySelector('[name="editor_font_size"][value="true"]'),o=this.el.querySelector('[name="editor_ligatures"][value="true"]'),s=this.el.querySelector('[name="editor_light_theme"][value="true"]'),a=this.el.querySelector('[name="editor_markdown_word_wrap"][value="true"]'),l=this.el.querySelector('select[name="editor_mode"]');e.checked=t.editor_auto_completion,i.checked=t.editor_auto_signature,n.checked=t.editor_auto_close_brackets,r.checked=t.editor_font_size===_f.large,o.checked=t.editor_ligatures,s.checked=t.editor_theme===Ml.light,a.checked=t.editor_markdown_word_wrap,l.value=t.editor_mode,e.addEventListener("change",c=>{gt.update({editor_auto_completion:c.target.checked})}),i.addEventListener("change",c=>{gt.update({editor_auto_signature:c.target.checked})}),n.addEventListener("change",c=>{gt.update({editor_auto_close_brackets:c.target.checked})}),r.addEventListener("change",c=>{gt.update({editor_font_size:c.target.checked?_f.large:_f.normal})}),o.addEventListener("change",c=>{gt.update({editor_ligatures:c.target.checked})}),s.addEventListener("change",c=>{gt.update({editor_theme:c.target.checked?Ml.light:Ml.default})}),a.addEventListener("change",c=>{gt.update({editor_markdown_word_wrap:c.target.checked})}),l.addEventListener("change",c=>{gt.update({editor_mode:c.target.value})})}},oI=pre;var T2=(t,e,i)=>{if(!e.has(t))throw TypeError("Cannot "+i)},Oo=(t,e,i)=>(T2(t,e,"read from private field"),i?i.call(t):e.get(t)),ho=(t,e,i)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,i)},Zk=(t,e,i,n)=>(T2(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i),Gn=(t,e,i)=>(T2(t,e,"access private method"),i),mre="14.0";function gre(t,e,i){let n=`https://cdn.jsdelivr.net/npm/emojibase-data@${e}/${t}`;return typeof i=="function"?n=i(t,e):typeof i=="string"&&(n=`${i}/${t}`),n}async function E2(t,e={}){let d=e,{local:i=!1,version:n="latest",cdnUrl:r}=d,o=gi(d,["local","version","cdnUrl"]),s=gre(t,n,r),a=i?localStorage:sessionStorage,l=`emojibase/${n}/${t}`,c=a.getItem(l);if(c)return Promise.resolve(JSON.parse(c));let u=await fetch(s,Y({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(O){}return f}var bre={discord:"joypixels",slack:"iamcal"};async function sI(t,e,i){var n;return E2(`${t}/shortcodes/${(n=bre[e])!==null&&n!==void 0?n:e}.json`,i)}function hh(t,e){if(e.length===0)return t;let i=new Set(t.shortcodes);return e.forEach(n=>{let r=n[t.hexcode];Array.isArray(r)?r.forEach(o=>i.add(o)):r&&i.add(r)}),t.shortcodes=[...i],t.skins&&t.skins.forEach(n=>{hh(n,e)}),t}function yre(t,e=[]){let i=[];return t.forEach(n=>{if(n.skins){let r=n,{skins:o}=r,s=gi(r,["skins"]);i.push(hh(s,e)),o.forEach(a=>{let l=Y({},a);s.tags&&(l.tags=[...s.tags]),i.push(hh(l,e))})}else i.push(hh(n,e))}),i}function xre(t,e){return e.length===0||t.forEach(i=>{hh(i,e)}),t}async function pI(t,e={}){let l=e,{compact:i=!1,flat:n=!1,shortcodes:r=[]}=l,o=gi(l,["compact","flat","shortcodes"]),s=await E2(`${t}/${i?"compact":"data"}.json`,o),a=[];return r.length>0&&(a=await Promise.all(r.map(c=>{let u;if(c.includes("/")){let[f,d]=c.split("/");u=sI(f,d,o)}else u=sI(t,c,o);return u.catch(()=>({}))}))),n?yre(s,a):xre(s,a)}async function mI(t,e){return E2(`${t}/messages.json`,e)}function Mk(t,e){let i=t.target.closest("[data-emoji]");if(i){let n=e.find(r=>r.emoji===i.dataset.emoji);if(n)return n}return null}function gI(t){var e;let i=(e=window.matchMedia)==null?void 0:e.call(window,"(prefers-reduced-motion: reduce)");return t.animate&&!(i!=null&&i.matches)}function aI(t,e){return t.toLowerCase().includes(e.toLowerCase())}function vre(t,e){let i=null;return()=>{i||(i=window.setTimeout(()=>{t(),i=null},e))}}function wre(t,e){let i=null;return(...n)=>{i&&window.clearTimeout(i),i=window.setTimeout(()=>{t(...n),i=null},e)}}function Ea(t,e,i,n){if(gI(n)&&t.animate)return t.animate(e,i).finished;let r=i.direction==="normal"?1:0,o=Object.entries(e).reduce((s,[a,l])=>Ee(Y({},s),{[a]:l[r]}),{});return Object.assign(t.style,o),Promise.resolve()}function Bk(t){var e;let i=document.createElement("template");return i.innerHTML=t,(e=i.content)==null?void 0:e.firstElementChild}async function kre(t){let e=new TextEncoder().encode(t),i=await crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(i)).map(n=>n.toString(16).padStart(2,"0")).join("")}function pi(...t){return t.reduce((e,i)=>Ee(Y({},e),{[i]:P2(i)}),{})}function P2(t){return`picmo__${t}`}function Hm(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function rc(t,...e){Hm(t).append(...e)}function bI(t){try{return window[t].length,!0}catch(e){return!1}}function Sre(){return bI("sessionStorage")}function Tre(){return bI("localStorage")}function Oh(t){var e;return{emoji:t.emoji,label:t.label,tags:t.tags,skins:(e=t.skins)==null?void 0:e.map(i=>Oh(i)),order:t.order,custom:!1,hexcode:t.hexcode,version:t.version}}function ng(t,e,i){var n;return i&&!i.some(r=>r.order===t.group)?!1:aI(t.label,e)||((n=t.tags)==null?void 0:n.some(r=>aI(r,e)))}var rg=class{constructor(e="en"){this.locale=e}},Ere=[(t,e)=>(t.hexcode==="1F91D"&&e<14&&(t.skins=[]),t),(t,e)=>(t.skins&&(t.skins=t.skins.filter(i=>!i.version||i.version<=e)),t)];function Pre(t,e){return Ere.some(i=>i(t,e)===null)?null:t}function og(t,e){return t.filter(i=>Pre(i,e)!==null)}var Nk={};function yI(t){return Nk[t]||(Nk[t]=new Yk(t)),Nk[t]}yI.deleteDatabase=t=>{};var Yk=class extends rg{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 i;let n=this.categories.filter(r=>r.key!=="component");if(e.showRecents&&n.unshift({key:"recents",order:-1}),(i=e.custom)!=null&&i.length&&n.push({key:"custom",order:10}),e.categories){let r=e.categories;n=n.filter(o=>r.includes(o.key)),n.sort((o,s)=>r.indexOf(o.key)-r.indexOf(s.key))}else n.sort((r,o)=>r.order-o.order);return Promise.resolve(n)}getEmojis(e,i){let n=this.emojis.filter(r=>r.group===e.order).filter(r=>r.version<=i).sort((r,o)=>r.order!=null&&o.order!=null?r.order-o.order:0).map(Oh);return Promise.resolve(og(n,i))}searchEmojis(e,i,n,r){let o=this.emojis.filter(l=>ng(l,e,r)&&l.version<=n).map(Oh),s=i.filter(l=>ng(l,e,r)),a=[...og(o,n),...s];return Promise.resolve(a)}setMeta(e){this.meta=e}};function Cre(t,e){let i=`https://cdn.jsdelivr.net/npm/emojibase-data@${t}/${e}`;return{emojisUrl:`${i}/data.json`,messagesUrl:`${i}/messages.json`}}async function lI(t){try{return(await fetch(t,{method:"HEAD"})).headers.get("etag")}catch(e){return null}}function Qre(t){let{emojisUrl:e,messagesUrl:i}=Cre("latest",t);try{return Promise.all([lI(e),lI(i)])}catch(n){return Promise.all([null,null])}}async function _re(t,e,i){let n;try{n=await t.getEtags()}catch(s){n={}}let{storedEmojisEtag:r,storedMessagesEtag:o}=n;if(i!==o||e!==r){let[s,a]=await Promise.all([mI(t.locale),pI(t.locale)]);await t.populate({groups:s.groups,emojis:a,emojisEtag:e,messagesEtag:i})}}async function Are(t,e){let i=await t.getHash();return e!==i}async function xI(t,e,i){let n=i||e(t);try{await n.open()}catch(r){console.warn("[picmo] IndexedDB not available, falling back to InMemoryStoreFactory"),n=yI(t)}return n}async function $re(t,e,i){if(!Sre()&&typeof window<"u")throw new Error("Session storage is required to use CDN emoji data.");let n=await xI(t,e,i),[r,o]=await Qre(t);if(await n.isPopulated())r&&o&&await _re(n,r,o);else{let[s,a]=await Promise.all([mI(t),pI(t)]);await n.populate({groups:s.groups,emojis:a,emojisEtag:r,messagesEtag:o})}return n}async function Xre(t,e,i,n,r){let o=await xI(t,e,r),s=await kre(n);return(!await o.isPopulated()||await Are(o,s))&&await o.populate({groups:i.groups,emojis:n,hash:s}),o}async function vI(t,e,i,n,r){return i&&n?Xre(t,e,i,n,r):$re(t,e,r)}var ph=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,i,n){e.target===i&&(n.focus(),e.preventDefault())}handleKeyDown(e){e.key==="Tab"&&this.checkFocus(e,e.shiftKey?this.firstFocusableElement:this.lastFocusableElement,e.shiftKey?this.lastFocusableElement:this.firstFocusableElement)}},{light:Rre,dark:H5e,auto:G5e}=pi("light","dark","auto"),Me=class{constructor({template:e,classes:i,parent:n}){this.isDestroyed=!1,this.appEvents={},this.uiEvents=[],this.uiElements={},this.ui={},this.template=e,this.classes=i,this.parent=n,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,...i){this.events.emit(e,...i)}setI18n(e){this.i18n=e}setRenderer(e){this.renderer=e}setEmojiData(e){this.emojiDataPromise=e,e.then(i=>{this.emojiData=i})}updateEmojiData(e){this.emojiData=e,this.emojiDataPromise=Promise.resolve(e)}setOptions(e){this.options=e}renderSync(e={}){return this.el=this.template.renderSync(Y({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(Y({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 i=this.keyBindings[e.key];i&&i.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,i)=>Ee(Y({},e),{[i]:this.el.querySelector(this.uiElements[i])}),{})}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(i=>{let[n]=i;n.type==="childList"&&n.addedNodes[0]===this.el&&(gI(this.options)&&this.animateShow&&this.animateShow(),e.disconnect)});e.observe(this.parent,{childList:!0})}}static childEvent(e,i,n,r={}){return{target:e,event:i,handler:n,options:r}}static uiEvent(e,i,n={}){return{event:e,handler:i,options:n}}static byClass(e){return`.${e}`}},Lre='<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>',Ire='<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>',Dre='<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>',zre='<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>',Ure='<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>',Mre='<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>',Nre='<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>',qre='<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>',jre=`<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>`,Wre='<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>',Vre='<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>',Zre='<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>',Bre='<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>',Yre='<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>',Fre=`<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>`,Hre='<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 Gre(t,e){let i=Bk(e);return i.dataset.icon=t,i.classList.add(P2("icon")),i}var cI={clock:Lre,flag:Ire,frown:Dre,gamepad:zre,lightbulb:Ure,mug:Mre,plane:Nre,robot:qre,sad:jre,search:Wre,smiley:Vre,symbols:Zre,tree:Bre,users:Yre,warning:Fre,xmark:Hre},cg={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 wI(t,e){if(!(t in cI))return console.warn(`Unknown icon: "${t}"`),document.createElement("div");let i=Gre(t,cI[t]);return e&&i.classList.add(P2(`icon-${e}`)),i}var Kre={mode:"sync"},fh,Gm,Km,Fk,Jm,Hk,eg,Gk,Ft=class{constructor(e,i={}){ho(this,Km),ho(this,Jm),ho(this,eg),ho(this,fh,void 0),ho(this,Gm,void 0),Zk(this,fh,e),Zk(this,Gm,i.mode||Kre.mode)}renderSync(e={}){let i=Bk(Oo(this,fh).call(this,e));return Gn(this,eg,Gk).call(this,i,e),Gn(this,Jm,Hk).call(this,i),Gn(this,Km,Fk).call(this,i,e),i}async renderAsync(e={}){let i=Bk(Oo(this,fh).call(this,e));return Gn(this,eg,Gk).call(this,i,e),Gn(this,Jm,Hk).call(this,i),await Gn(this,Km,Fk).call(this,i,e),i}render(e){return Oo(this,Gm)==="sync"?this.renderSync(e):this.renderAsync(e)}};fh=new WeakMap,Gm=new WeakMap,Km=new WeakSet,Fk=async function(t,e){let i=t.querySelectorAll("[data-view]"),n=[];for(let r of i){let o=e[r.dataset.view];o?r.dataset.render!=="sync"?n.push(o.render().then(s=>(r.replaceWith(s),s))):r.replaceWith(o.renderSync()):r.remove()}return Promise.all(n)},Jm=new WeakSet,Hk=function(t){t.querySelectorAll("i[data-icon]").forEach(e=>{let{icon:i,size:n}=e.dataset;e.replaceWith(wI(i,n))})},eg=new WeakSet,Gk=function(t,e){return t.querySelectorAll("[data-placeholder]").forEach(i=>{let n=i.dataset.placeholder;if(n&&e[n]){let r=e[n];i.replaceWith(...[r].flat())}else console.warn(`Missing placeholder element for key "${n}"`)}),t};var Jre=pi("imagePlaceholder","placeholder"),eoe=new Ft(({classes:t})=>`
<div class="${t.placeholder} ${t.imagePlaceholder}"></div>
`),Kk=class extends Me{constructor({classNames:e}={}){super({template:eoe,classes:Jre}),this.classNames=e}load(e){let i=document.createElement("img");this.classNames&&(i.className=this.classNames),i.addEventListener("load",()=>{this.el.replaceWith(i)},{once:!0}),Promise.resolve(e).then(n=>i.src=n)}renderSync(){return super.renderSync(),this.classNames&&this.classNames.split(" ").forEach(e=>this.el.classList.add(e)),this.el}},toe=pi("customEmoji"),Jk=class{renderElement(e){return{content:e}}renderImage(e="",i){let n=new Kk({classNames:e});return n.renderSync(),{content:n,resolver:()=>(n.load(i()),n.el)}}doRender(e,i,n){if(e.custom)return this.renderCustom(e,i,n);let{content:r,resolver:o}=this.render(e,n),s=r instanceof Element?r:r.el;return o&&o(),s}doEmit(e){return e.custom?this.emitCustom(e):this.emit(e)}emitCustom({url:e,label:i,emoji:n,data:r}){return{url:e,label:i,emoji:n,data:r}}renderCustom(e,i,n=""){let r=[toe.customEmoji,n].join(" ").trim(),{content:o,resolver:s}=this.renderImage(r,()=>e.url),a=o instanceof Element?o:o.el;return s&&s(),a}},ioe=new Ft(({emoji:t})=>`<span>${t}</span>`),e2=class extends Jk{render(e){return this.renderElement(ioe.renderSync({emoji:e.emoji}))}emit({emoji:e,hexcode:i,label:n}){return{emoji:e,hexcode:i,label:n}}},noe={"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..."},t2="PicMo";function kI(t){return new i2(t)}kI.deleteDatabase=t=>new Promise((e,i)=>{let n=indexedDB.deleteDatabase(`${t2}-${t}`);n.addEventListener("success",e),n.addEventListener("error",i)});var i2=class extends rg{async open(){let e=indexedDB.open(`${t2}-${this.locale}`);return new Promise((i,n)=>{e.addEventListener("success",r=>{var o;this.db=(o=r.target)==null?void 0:o.result,i()}),e.addEventListener("error",n),e.addEventListener("upgradeneeded",async r=>{var o;this.db=(o=r.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(`${t2}-${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"),[i,n]=await Promise.all([this.waitForRequest(e.get("emojisEtag")),this.waitForRequest(e.get("messagesEtag"))]);return{storedEmojisEtag:i.target.result,storedMessagesEtag:n.target.result}}async setMeta(e){let i=this.db.transaction("meta","readwrite"),n=i.objectStore("meta");return new Promise(r=>{i.oncomplete=r,Object.keys(e).filter(Boolean).forEach(o=>{n.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:i,emojisEtag:n,messagesEtag:r,hash:o}){await this.removeAllObjects("category","emoji");let s=[this.addObjects("category",e),this.addObjects("emoji",i),this.setMeta({emojisEtag:n,messagesEtag:r,hash:o})];await Promise.all(s)}async getCategories(e){var i;let n=this.db.transaction("category","readonly").objectStore("category"),r=(await this.waitForRequest(n.getAll())).target.result.filter(o=>o.key!=="component");if(e.showRecents&&r.unshift({key:"recents",order:-1}),(i=e.custom)!=null&&i.length&&r.push({key:"custom",order:10}),e.categories){let o=e.categories;r=r.filter(s=>o.includes(s.key)),r.sort((s,a)=>o.indexOf(s.key)-o.indexOf(a.key))}else r.sort((o,s)=>o.order-s.order);return r}async getEmojis(e,i){let n=this.db.transaction("emoji","readonly").objectStore("emoji").index("category"),r=(await this.waitForRequest(n.getAll(e.order))).target.result.filter(o=>o.version<=i).sort((o,s)=>o.order!=null&&s.order!=null?o.order-s.order:0).map(Oh);return og(r,i)}async searchEmojis(e,i,n,r){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([...og(o,n),...i.filter(O=>ng(O,e))]);let d=f.value;ng(d,e,r)&&d.version<=n&&o.push(Oh(d)),f.continue()}),l.addEventListener("error",c=>{a(c)})})}async waitForRequest(e){return new Promise((i,n)=>{e.onsuccess=i,e.onerror=n})}withTransaction(e,i="readwrite",n){return new Promise((r,o)=>{let s=this.db.transaction(e,i);s.oncomplete=r,s.onerror=o,n(s)})}async removeAllObjects(...e){let i=this.db.transaction(e,"readwrite"),n=e.map(r=>i.objectStore(r));await Promise.all(n.map(r=>this.waitForRequest(r.clear())))}async addObjects(e,i){return this.withTransaction(e,"readwrite",n=>{let r=n.objectStore(e);i.forEach(o=>{r.add(o)})})}};function roe(){let t={};return{getItem:e=>t[e],setItem:(e,i)=>t[e]=i,length:Object.keys(t).length,clear:()=>t={},key:e=>Object.keys(t)[e],removeItem:e=>delete t[e]}}var n2=class{},qk="PicMo:recents",r2=class extends n2{constructor(e){super(),this.storage=e}clear(){this.storage.removeItem(qk)}getRecents(e){var i;try{return JSON.parse((i=this.storage.getItem(qk))!=null?i:"[]").slice(0,e)}catch(n){return[]}}addOrUpdateRecent(e,i){let n=[e,...this.getRecents(i).filter(r=>r.hexcode!==e.hexcode)].slice(0,i);try{this.storage.setItem(qk,JSON.stringify(n))}catch(r){console.warn("storage is not available, recent emojis will not be saved")}}},o2=class extends r2{constructor(){super(Tre()?localStorage:roe())}},ooe={dataStore:kI,theme:Rre,animate:!0,showCategoryTabs:!0,showPreview:!0,showRecents:!0,showSearch:!0,showVariants:!0,emojisPerRow:8,visibleRows:6,emojiVersion:"auto",i18n:noe,locale:"en",maxRecents:50,custom:[]};function C2(t={}){return Ee(Y(Y({},ooe),t),{renderer:t.renderer||new e2,recentsProvider:t.recentsProvider||new o2})}var Pa,dh,sg,tg,s2,Ca=class{constructor(){ho(this,dh),ho(this,tg),ho(this,Pa,new Map)}on(e,i,n){Gn(this,tg,s2).call(this,e,i,n)}once(e,i,n){Gn(this,tg,s2).call(this,e,i,n,!0)}off(e,i){let n=Gn(this,dh,sg).call(this,e);Oo(this,Pa).set(e,n.filter(r=>r.handler!==i))}emit(e,...i){Gn(this,dh,sg).call(this,e).forEach(n=>{n.handler.apply(n.context,i),n.once&&this.off(e,n.handler)})}removeAll(){Oo(this,Pa).clear()}};Pa=new WeakMap,dh=new WeakSet,sg=function(t){return Oo(this,Pa).has(t)||Oo(this,Pa).set(t,[]),Oo(this,Pa).get(t)},tg=new WeakSet,s2=function(t,e,i,n=!1){Gn(this,dh,sg).call(this,t).push({context:i,handler:e,once:n})};var soe={injectStyles:!0},a2=class extends Ca{},l2=class extends Ca{},c2=pi("emojiCategory","categoryName","noRecents","recentEmojis"),mh=class extends Me{constructor({template:e,category:i,showVariants:n,lazyLoader:r}){super({template:e,classes:c2}),this.baseUIElements={categoryName:Me.byClass(c2.categoryName)},this.category=i,this.showVariants=n,this.lazyLoader=r}setActive(e,i,n){this.emojiContainer.setActive(e,i,n)}},aoe=new Ft(({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>
`),loe=pi("emojiButton"),ag=class extends Me{constructor({emoji:e,lazyLoader:i,category:n}){super({template:aoe,classes:loe}),this.emoji=e,this.lazyLoader=i,this.category=n}initialize(){this.uiEvents=[Me.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)})}},u2=class{constructor(e,i,n=0,r=0,o=!1){this.events=new Ca,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(i/e),this.columnCount=e,this.focusedRow=n,this.focusedColumn=r,this.emojiCount=i,this.wrap=o,this.handleKeyDown=this.handleKeyDown.bind(this)}destroy(){this.events.removeAll()}on(e,i){this.events.on(e,i)}handleKeyDown(e){e.key in this.keyHandlers&&(e.preventDefault(),this.keyHandlers[e.key]())}setCell(e,i,n=!0){let r=this.getIndex();this.focusedRow=e,i!==void 0&&(this.focusedColumn=Math.min(this.columnCount,i)),(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:r,to:this.getIndex(),performFocus:n})}setFocusedIndex(e,i=!0){let n=Math.floor(e/this.columnCount),r=e%this.columnCount;this.setCell(n,r,i)}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}},coe=new Ft(({classes:t})=>`
<div class="${t.emojiContainer}">
<div data-placeholder="emojis"></div>
</div>
`),uoe=pi("emojiContainer"),Qa=class extends Me{constructor({emojis:e,showVariants:i,preview:n=!0,lazyLoader:r,category:o,fullHeight:s=!1}){super({template:coe,classes:uoe}),this.fullHeight=!1,this.showVariants=i,this.lazyLoader=r,this.preview=n,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 u2(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=[Me.uiEvent("click",this.selectEmoji),Me.uiEvent("keydown",this.grid.handleKeyDown)],this.preview&&this.uiEvents.push(Me.uiEvent("mouseover",this.showPreview),Me.uiEvent("mouseout",this.hidePreview),Me.uiEvent("focus",this.showPreview,{capture:!0}),Me.uiEvent("blur",this.hidePreview,{capture:!0})),super.initialize()}setFocusedView(e,i){if(e)if(typeof e=="string"){let n=this.emojis.findIndex(r=>r.emoji===e);this.grid.setFocusedIndex(n,!1),setTimeout(()=>{var r,o,s,a;let l=this.emojiViews[n].el;l.scrollIntoView();let c=(r=l.parentElement)==null?void 0:r.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,i):e.row==="last"&&this.grid.setCell(this.grid.getRowCount()-1,e.offset,i)}setActive(e,i,n){var r;e?this.setFocusedView(i,n):(r=this.emojiViews[this.grid.getIndex()])==null||r.deactivateFocus()}renderSync(){return this.emojiViews=this.emojis.map(e=>this.viewFactory.create(ag,{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:i,performFocus:n}){var r,o;(r=this.emojiViews[e])==null||r.deactivateFocus(),(o=this.emojiViews[i])==null||o.activateFocus(n)}selectEmoji(e){e.stopPropagation();let i=Mk(e,this.emojis);i&&this.events.emit("emoji:select",{emoji:i,showVariants:this.showVariants})}showPreview(e){let i=e.target.closest("button"),n=i==null?void 0:i.firstElementChild,r=Mk(e,this.emojis);r&&this.events.emit("preview:show",r,n==null?void 0:n.cloneNode(!0))}hidePreview(e){Mk(e,this.emojis)&&this.events.emit("preview:hide")}get emojiCount(){return this.emojis.length}},foe=new Ft(({classes:t,category:e,pickerId:i,icon:n,i18n:r})=>`
<section class="${t.emojiCategory}" role="tabpanel" aria-labelledby="${i}-category-${e.key}">
<h3 data-category="${e.key}" class="${t.categoryName}">
<i data-icon="${n}"></i>
${r.get(`categories.${e.key}`,e.message||e.key)}
</h3>
<div data-view="emojis" data-render="sync"></div>
</section>
`),f2=class extends mh{constructor({category:e,showVariants:i,lazyLoader:n,emojiVersion:r}){super({category:e,showVariants:i,lazyLoader:n,template:foe}),this.showVariants=i,this.lazyLoader=n,this.emojiVersion=r}initialize(){this.uiElements=Y({},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(Qa,{emojis:e,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:e.length,icon:cg[this.category.key]})}},h2=class extends Qa{constructor({category:e,emojis:i,preview:n=!0,lazyLoader:r}){super({category:e,emojis:i,showVariants:!1,preview:n,lazyLoader:r})}async addOrUpdate(e){let i=this.el.querySelector(`[data-emoji="${e.emoji}"]`);i&&(this.el.removeChild(i),this.emojis=this.emojis.filter(r=>r!==e));let n=this.viewFactory.create(ag,{emoji:e});if(this.el.insertBefore(n.renderSync(),this.el.firstChild),this.emojis=[e,...this.emojis.filter(r=>r!==e)],this.emojis.length>this.options.maxRecents){this.emojis=this.emojis.slice(0,this.options.maxRecents);let r=this.el.childElementCount-this.options.maxRecents;for(let o=0;o<r;o++)this.el.lastElementChild&&this.el.removeChild(this.el.lastElementChild)}}},hoe=new Ft(({emojiCount:t,classes:e,category:i,pickerId:n,icon:r,i18n:o})=>`
<section class="${e.emojiCategory}" role="tabpanel" aria-labelledby="${n}-category-${i.key}">
<h3 data-category="${i.key}" class="${e.categoryName}">
<i data-icon="${r}"></i>
${o.get(`categories.${i.key}`,i.message||i.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"}),d2=class extends mh{constructor({category:e,lazyLoader:i,provider:n}){super({category:e,showVariants:!1,lazyLoader:i,template:hoe}),this.provider=n}initialize(){this.uiElements=Ee(Y({},this.baseUIElements),{recents:Me.byClass(c2.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 i=(e=this.provider)==null?void 0:e.getRecents(this.options.maxRecents);return this.emojiContainer=this.viewFactory.create(h2,{emojis:i,showVariants:!1,lazyLoader:this.lazyLoader,category:this.category.key}),await super.render({category:this.category,emojis:this.emojiContainer,emojiCount:i.length,icon:cg[this.category.key]}),this.el}},doe=new Ft(({classes:t,category:e,pickerId:i,icon:n,i18n:r})=>`
<section class="${t.emojiCategory}" role="tabpanel" aria-labelledby="${i}-category-${e.key}">
<h3 data-category="${e.key}" class="${t.categoryName}">
<i data-icon="${n}"></i>
${r.get(`categories.${e.key}`,e.message||e.key)}
</h3>
<div data-view="emojis" data-render="sync"></div>
</section>
`),O2=class extends mh{constructor({category:e,lazyLoader:i}){super({template:doe,showVariants:!1,lazyLoader:i,category:e})}initialize(){this.uiElements=Y({},this.baseUIElements),super.initialize()}async render(){return this.emojiContainer=this.viewFactory.create(Qa,{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:cg[this.category.key]})}},lg=class{constructor(){this.elements=new Map}lazyLoad(e,i){return this.elements.set(e,i),e}observe(e){if(window.IntersectionObserver){let i=new IntersectionObserver(n=>{n.filter(r=>r.intersectionRatio>0).map(r=>r.target).forEach(r=>{let o=this.elements.get(r);o==null||o(),i.unobserve(r)})},{root:e});this.elements.forEach((n,r)=>{i.observe(r)})}else this.elements.forEach(i=>{i()})}},uI=pi("emojiArea"),Ooe=new Ft(({classes:t})=>`
<div class="${t.emojiArea}">
<div data-placeholder="emojis"></div>
</div>
`,{mode:"async"}),poe={recents:d2,custom:O2};function moe(t){return poe[t.key]||f2}function goe(t){return!t||t==="button"?{row:"first",offset:0}:t}var p2=class extends Me{constructor({categoryTabs:e,categories:i,emojiVersion:n}){super({template:Ooe,classes:uI}),this.selectedCategory=0,this.scrollListenerState="active",this.lazyLoader=new lg,this.categoryTabs=e,this.categories=i,this.emojiVersion=n,this.handleScroll=vre(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:Me.byClass(uI.emojiArea)},this.uiEvents=[Me.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((i,n)=>{e[`emojis-${i.key}`]=this.emojiCategories[n]}),await super.render({emojis:await Promise.all(this.emojiCategories.map(i=>i.render()))}),this.lazyLoader.observe(this.el),this.el}destroy(){super.destroy(),this.emojiCategories.forEach(e=>{var i;(i=this.observer)==null||i.unobserve(e.el),e.destroy()})}handleCategorySelect(e,i){this.el.style.overflow="hidden",this.selectCategory(e,i),this.el.style.overflow="auto"}createCategory(e){let i=moe(e);return this.viewFactory.create(i,{category:e,showVariants:!0,lazyLoader:this.lazyLoader,emojiVersion:this.emojiVersion,provider:this.options.recentsProvider})}determineInitialCategory(){var e;return this.options.initialCategory&&this.categories.find(i=>i.key===this.options.initialCategory)?this.options.initialCategory:(e=this.categories.find(i=>i.key!=="recents"))==null?void 0:e.key}determineFocusTarget(e){let i=this.emojiCategories.find(n=>n.category.key===e);return this.options.initialEmoji&&(i!=null&&i.el.querySelector(`[data-emoji="${this.options.initialEmoji}"]`))?this.options.initialEmoji:"button"}reset(e=!0){this.events.emit("preview:hide");let i=this.determineInitialCategory();i&&(this.selectCategory(i,{focus:this.determineFocusTarget(i),performFocus:e,scroll:"jump"}),this.selectedCategory=this.getCategoryIndex(i))}getCategoryIndex(e){return this.categories.findIndex(i=>i.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,i){this.selectCategory(e,{focus:i,performFocus:!0})}async selectCategory(e,i={}){var n;this.scrollListenerState="suspend";let{focus:r,performFocus:o,scroll:s}=Y({performFocus:!1},i);this.emojiCategories[this.selectedCategory].setActive(!1);let a=this.selectedCategory=typeof e=="number"?e:this.getCategoryIndex(e);(n=this.categoryTabs)==null||n.setActiveTab(this.selectedCategory,{performFocus:o,scroll:r==="button"});let l=this.emojiCategories[a].el.offsetTop;this.emojiCategories[a].setActive(!0,goe(r),r!=="button"&&o),s&&(this.el.scrollTop=l),this.scrollListenerState="resume"}updateFocusedCategory(e){var i;this.categories[this.selectedCategory].key!==e&&(this.scrollListenerState="suspend",this.selectedCategory=this.getCategoryIndex(e),(i=this.categoryTabs)==null||i.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,i=this.el.scrollHeight-this.el.offsetHeight,n=this.emojiCategories.findIndex((o,s)=>{var a;return e<((a=this.emojiCategories[s+1])==null?void 0:a.el.offsetTop)}),r={changeFocusable:!1,performFocus:!1,scroll:!1};e===0?this.categoryTabs.setActiveTab(0,r):Math.floor(e)===Math.floor(i)||n<0?this.categoryTabs.setActiveTab(this.categories.length-1,r):this.categoryTabs.setActiveTab(n,r)}},boe=new Ft(({classList:t,classes:e,icon:i,message:n})=>`
<div class="${t}" role="alert">
<div class="${e.iconContainer}"><i data-size="10x" data-icon="${i}"></i></div>
<h3 class="${e.title}">${n}</h3>
</div>
`),fI=pi("error","iconContainer","title"),gh=class extends Me{constructor({message:e,icon:i="warning",template:n=boe,className:r}){super({template:n,classes:fI}),this.message=e,this.icon=i,this.className=r}renderSync(){let e=[fI.error,this.className].join(" ").trim();return super.renderSync({message:this.message,icon:this.icon,classList:e})}},yoe=new Ft(({classList:t,classes:e,icon:i,i18n:n,message:r})=>`
<div class="${t}" role="alert">
<div class="${e.icon}"><i data-size="10x" data-icon="${i}"></i></div>
<h3 class="${e.title}">${r}</h3>
<button type="button">${n.get("retry")}</button>
</div>
`),xoe=pi("dataError"),m2=class extends gh{constructor({message:e}){super({message:e,template:yoe,className:xoe.dataError})}initialize(){this.uiElements={retryButton:"button"},this.uiEvents=[Me.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 vI(this.options.locale,this.options.dataStore,this.options.messages,this.options.emojiData,this.emojiData);this.viewFactory.setEmojiData(e),this.events.emit("data:ready",e)}},ch=pi("preview","previewEmoji","previewName","tagList","tag"),voe=new Ft(({classes:t,tag:e})=>`
<li class="${t.tag}">${e}</li>
`),woe=new Ft(({classes:t})=>`
<div class="${t.preview}">
<div class="${t.previewEmoji}"></div>
<div class="${t.previewName}"></div>
<ul class="${t.tagList}"></ul>
</div>
`),g2=class extends Me{constructor(){super({template:woe,classes:ch})}initialize(){this.uiElements={emoji:Me.byClass(ch.previewEmoji),name:Me.byClass(ch.previewName),tagList:Me.byClass(ch.tagList)},this.appEvents={"preview:show":this.showPreview,"preview:hide":this.hidePreview},super.initialize()}showPreview(e,i){if(rc(this.ui.emoji,i),this.ui.name.textContent=e.label,e.tags){this.ui.tagList.style.display="flex";let n=e.tags.map(r=>voe.renderSync({tag:r,classes:ch}));rc(this.ui.tagList,...n)}}hidePreview(){Hm(this.ui.emoji),Hm(this.ui.name),Hm(this.ui.tagList)}},koe=new Ft(({classes:t,i18n:e})=>`
<button title="${e.get("search.clear")}" class="${t.clearSearchButton}">
<i data-icon="xmark"></i>
</button>
`),Soe=new Ft(({classes:t,i18n:e})=>`
<div class="${t.searchContainer}">
<input class="${t.searchField}" placeholder="${e.get("search")}">
<span class="${t.searchAccessory}"></span>
</div>
`,{mode:"async"}),uh=pi("searchContainer","searchField","clearButton","searchAccessory","clearSearchButton","notFound"),b2=class extends Me{constructor({categories:e,emojiVersion:i}){super({template:Soe,classes:uh}),this.categories=e.filter(n=>n.key!=="recents"),this.emojiVersion=i,this.search=wre(this.search.bind(this),100)}initialize(){this.uiElements={searchField:Me.byClass(uh.searchField),searchAccessory:Me.byClass(uh.searchAccessory)},this.uiEvents=[Me.childEvent("searchField","keydown",this.onKeyDown),Me.childEvent("searchField","input",this.onSearchInput)],super.initialize()}async render(){return await super.render(),this.searchIcon=wI("search"),this.notFoundMessage=this.viewFactory.create(gh,{message:this.i18n.get("search.notFound"),className:uh.notFound,icon:"sad"}),this.notFoundMessage.renderSync(),this.errorMessage=this.viewFactory.create(gh,{message:this.i18n.get("search.error")}),this.errorMessage.renderSync(),this.clearSearchButton=koe.render({classes:uh,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){rc(this.ui.searchAccessory,e)}clear(){this.searchField.value="",this.showSearchIcon()}focus(){this.searchField.focus()}onClearSearch(e){var i;e.stopPropagation(),this.searchField.value="",(i=this.resultsContainer)==null||i.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 i;e.key==="Escape"&&this.searchField.value?this.onClearSearch(e):(e.key==="Enter"||e.key==="ArrowDown")&&this.resultsContainer&&(e.preventDefault(),(i=this.resultsContainer.el.querySelector('[tabindex="0"]'))==null||i.focus())}onSearchInput(e){this.searchField.value?(this.showClearSearchButton(),this.search()):this.onClearSearch(e)}async search(){var e;if(this.searchField.value)try{let i=await this.emojiData.searchEmojis(this.searchField.value,this.customEmojis,this.emojiVersion,this.categories);if(this.events.emit("preview:hide"),i.length){let n=new lg;this.resultsContainer=this.viewFactory.create(Qa,{emojis:i,fullHeight:!0,showVariants:!0,lazyLoader:n}),this.resultsContainer.renderSync(),(e=this.resultsContainer)!=null&&e.el&&(n.observe(this.resultsContainer.el),this.resultsContainer.setActive(!0,{row:0,offset:0},!1),this.resultsContainer.el.addEventListener("keydown",r=>this.handleResultsKeydown(r)),this.events.emit("content:show",this.resultsContainer))}else this.events.emit("content:show",this.notFoundMessage)}catch(i){this.events.emit("content:show",this.errorMessage)}}},Toe=new Ft(({classes:t})=>`
<div class="${t.variantOverlay}">
<div class="${t.variantPopup}">
<div data-view="emojis" data-render="sync"></div>
</div>
</div>
`),hI=pi("variantOverlay","variantPopup"),jk={easing:"ease-in-out",duration:250,fill:"both"},dI={opacity:[0,1]},OI={opacity:[0,1],transform:["scale3d(0.8, 0.8, 0.8)","scale3d(1, 1, 1)"]},y2=class extends Me{constructor({emoji:e,parent:i}){super({template:Toe,classes:hI,parent:i}),this.focusedEmojiIndex=0,this.focusTrap=new ph,this.animateShow=()=>Promise.all([Ea(this.el,dI,jk,this.options),Ea(this.ui.popup,OI,jk,this.options)]),this.emoji=e}initialize(){this.uiElements={popup:Me.byClass(hI.variantPopup)},this.uiEvents=[Me.uiEvent("click",this.handleClick),Me.uiEvent("keydown",this.handleKeydown)],super.initialize()}animateHide(){let e=Ee(Y({},jk),{direction:"reverse"});return Promise.all([Ea(this.el,dI,e,this.options),Ea(this.ui.popup,OI,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 i=this.getEmoji(this.focusedEmojiIndex);i.tabIndex=-1,this.focusedEmojiIndex=e;let n=this.getEmoji(this.focusedEmojiIndex);n.tabIndex=0,n.focus()}destroy(){this.emojiContainer.destroy(),this.focusTrap.deactivate(),super.destroy()}renderSync(){let e=Ee(Y({},this.emoji),{skins:null}),i=(this.emoji.skins||[]).map(r=>Ee(Y({},r),{label:this.emoji.label,tags:this.emoji.tags})),n=[e,...i];return this.emojiContainer=this.viewFactory.create(Qa,{emojis:n,preview:!1}),super.renderSync({emojis:this.emojiContainer}),n.length<this.options.emojisPerRow&&this.el.style.setProperty("--emojis-per-row",n.length.toString()),this.el}activate(){this.emojiContainer.setActive(!0,{row:0,offset:0},!0),this.focusTrap.activate(this.el)}},Eoe=new Ft(({classes:t,i18n:e,category:i,pickerId:n,icon:r})=>`
<li class="${t.categoryTab}">
<button
aria-selected="false"
role="tab"
class="${t.categoryButton}"
tabindex="-1"
title="${e.get(`categories.${i.key}`,i.message||i.key)}"
type="button"
data-category="${i.key}"
id="${n}-category-${i.key}"
>
<i data-icon="${r}"></i>
</li>
`),Wk=pi("categoryTab","categoryTabActive","categoryButton"),x2=class extends Me{constructor({category:e,icon:i}){super({template:Eoe,classes:Wk}),this.isActive=!1,this.category=e,this.icon=i}initialize(){this.uiElements={button:Me.byClass(Wk.categoryButton)},this.uiEvents=[Me.childEvent("button","click",this.selectCategory),Me.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,i={}){let{changeFocusable:n,performFocus:r,scroll:o}=Y({changeFocusable:!0,performFocus:!0,scroll:!0},i);this.el.classList.toggle(Wk.categoryTabActive,e),n&&(this.ui.button.tabIndex=e?0:-1,this.ui.button.ariaSelected=e.toString()),e&&r&&(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})}},Poe=new Ft(({classes:t})=>`
<div class="${t.categoryButtonsContainer}">
<ul role="tablist" class="${t.categoryButtons}">
<div data-placeholder="tabs"></div>
</ul>
</div>
`),Coe=pi("categoryButtons","categoryButtonsContainer"),v2=class extends Me{constructor({categories:e}){super({template:Poe,classes:Coe}),this.activeCategoryIndex=0,this.categories=e}initialize(){this.keyBindings={ArrowLeft:this.stepSelectedTab(-1),ArrowRight:this.stepSelectedTab(1)},this.uiEvents=[Me.uiEvent("scroll",this.checkOverflow)],super.initialize()}checkOverflow(){let e=Math.abs(this.el.scrollLeft-(this.el.scrollWidth-this.el.offsetWidth))>1,i=this.el.scrollLeft>0;this.el.className="categoryButtonsContainer",i&&e?this.el.classList.add("has-overflow-both"):i?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(x2,{category:e,icon:cg[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,i={}){this.checkOverflow();let n=this.currentTabView,r=this.tabViews[e];n.setActive(!1,i),r.setActive(!0,i),this.activeCategoryIndex=e}getTargetCategory(e){return e<0?this.categories.length-1:e>=this.categories.length?0:e}stepSelectedTab(e){return()=>{let i=this.activeCategoryIndex+e;this.setActiveTab(this.getTargetCategory(i),{changeFocusable:!0,performFocus:!0})}}},Qoe=[{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 _oe(){var t;let e=Qoe.find(i=>Aoe(i.emoji));return(t=e==null?void 0:e.version)!=null?t:1}function Aoe(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 Vk(t,e){return Array.from({length:t},()=>e).join("")}function $oe({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 Xoe(t){let{classes:e,theme:i,className:n=""}=t;return`
<div class="picmo__picker ${e.picker} ${i} ${n}">
${$oe(t)}
<div class="${e.content}">
<div data-view="emojiArea"></div>
</div>
<div data-view="preview"></div>
</div>
`}function Roe(t){let{emojiCount:e,classes:i,theme:n,className:r,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}">
${Vk(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}">
${Vk(3,`<li class="${f.placeholder} ${f.tag}"></li>`)}
</ul>
</div>
`:"";return`
<div class="picmo__picker ${i.skeleton} ${i.picker} ${n} ${r}">
${l(t)}
<div class="${i.contentSkeleton}">
<div class="${i.placeholder} ${i.categoryName}"></div>
<div class="${i.emojiGrid}">
${Vk(e,`<div class="${i.placeholder} ${i.emoji}"></div>`)}
</div>
</div>
${c(t)}
</div>
`}var Loe=new Ft(t=>t.isLoaded?Xoe(t):Roe(t)),Bm=pi("picker","skeleton","placeholder","searchSkeleton","searchInput","categoryTabsSkeleton","headerSkeleton","categoryTab","contentSkeleton","categoryName","emojiGrid","emoji","previewSkeleton","previewEmoji","previewName","tagList","tag","overlay","content","fullHeight","pluginContainer","header"),Ym={emojisPerRow:"--emojis-per-row",visibleRows:"--row-count",emojiSize:"--emoji-size"},w2=class extends Me{constructor(){super({template:Loe,classes:Bm}),this.pickerReady=!1,this.externalEvents=new l2,this.updaters={styleProperty:e=>i=>this.el.style.setProperty(Ym[e],i.toString()),theme:e=>{let i=this.options.theme,n=this.el.closest(`.${i}`);this.el.classList.remove(i),n==null||n.classList.remove(i),this.el.classList.add(e),n==null||n.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:Me.byClass(Bm.content),header:Me.byClass(Bm.header)},this.uiEvents=[Me.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,i;super.destroy(),(e=this.search)==null||e.destroy(),this.emojiArea.destroy(),(i=this.categoryTabs)==null||i.destroy(),this.events.removeAll(),this.externalEvents.removeAll()}clearRecents(){this.options.recentsProvider.clear()}addEventListener(e,i){this.externalEvents.on(e,i)}removeEventListener(e,i){this.externalEvents.off(e,i)}initializePickerView(){this.pickerReady&&(this.showContent(),this.emojiArea.reset(!1))}handleKeyDown(e){let i=e.ctrlKey||e.metaKey;e.key==="s"&&i&&this.search&&(e.preventDefault(),this.search.focus())}buildChildViews(){return this.options.showPreview&&(this.preview=this.viewFactory.create(g2)),this.options.showSearch&&(this.search=this.viewFactory.create(b2,{categories:this.categories,emojiVersion:this.emojiVersion})),this.options.showCategoryTabs&&(this.categoryTabs=this.viewFactory.create(v2,{categories:this.categories})),this.currentView=this.emojiArea=this.viewFactory.create(p2,{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(Ym).forEach(e=>{this.options[e]&&this.el.style.setProperty(Ym[e],this.options[e].toString())})}updateStyleProperty(e,i){this.el.style.setProperty(Ym[e],i.toString())}reinitialize(){this.renderSync()}onError(e){let i=this.viewFactory.createWithOptions({data:!1},m2,{message:this.i18n.get("error.load")}),n=this.el.offsetHeight||375;throw this.el.style.height=`${n}px`,rc(this.el,i.renderSync()),e}async onDataReady(e){let i=this.el;try{e?this.emojiData=e:await this.emojiDataPromise,this.options.emojiVersion==="auto"?this.emojiVersion=_oe()||parseFloat(mre):this.emojiVersion=this.options.emojiVersion,this.categories=await this.emojiData.getCategories(this.options);let[n,r,o,s]=this.buildChildViews();await super.render({isLoaded:!0,search:r,categoryTabs:s,emojiArea:o,preview:n,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,i.replaceWith(this.el),this.setStyleProperties(),this.initializePickerView(),this.setInitialFocus(),this.externalEvents.emit("data:ready")}catch(n){this.events.emit("error",n)}}renderSync(){var e;let i=((e=this.options.categories)==null?void 0:e.length)||10;if(this.options.showRecents&&(i+=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:i}),this.el.style.setProperty("--category-count",i.toString()),!this.options.rootElement)throw new Error("Picker must be given a root element via the rootElement option");return rc(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 i;this.pickerReady&&(this.emojiArea.reset(e),this.showContent(this.emojiArea)),(i=this.search)==null||i.clear(),this.hideVariantPopup()}showContent(e=this.emojiArea){var i,n;e!==this.currentView&&(this.currentView!==this.emojiArea&&((i=this.currentView)==null||i.destroy()),this.ui.pickerContent.classList.toggle(Bm.fullHeight,e!==this.emojiArea),rc(this.ui.pickerContent,e.el),this.currentView=e,e===this.emojiArea?(this.emojiArea.reset(),this.categoryTabs&&this.ui.header.appendChild(this.categoryTabs.el)):(n=this.categoryTabs)==null||n.el.remove())}hideVariantPopup(){var e;(e=this.variantPopup)==null||e.destroy()}isPickerClick(e){var i,n;let r=e.target,o=this.el.contains(r),s=(n=(i=this.variantPopup)==null?void 0:i.el)==null?void 0:n.contains(r);return o||s}async selectEmoji({emoji:e}){var i,n;(i=e.skins)!=null&&i.length&&this.options.showVariants&&!this.isVariantPopupOpen?this.showVariantPopup(e):(await((n=this.variantPopup)==null?void 0:n.animateHide()),this.events.emit("variantPopup:hide"),await this.emitEmoji(e))}get isVariantPopupOpen(){return this.variantPopup&&!this.variantPopup.isDestroyed}async showVariantPopup(e){let i=document.activeElement;this.events.once("variantPopup:hide",()=>{i==null||i.focus()}),this.variantPopup=this.viewFactory.create(y2,{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(i=>{this.updaters[i](e[i])}),Object.assign(this.options,e)}},k2=class{constructor({events:e,i18n:i,renderer:n,emojiData:r,options:o,customEmojis:s=[],pickerId:a}){this.events=e,this.i18n=i,this.renderer=n,this.emojiData=r,this.options=o,this.customEmojis=s,this.pickerId=a}setEmojiData(e){this.emojiData=Promise.resolve(e)}createWithOptions(e={},i,...n){let r=new i(...n);return r.setPickerId(this.pickerId),r.setEvents(this.events),r.setI18n(this.i18n),r.setRenderer(this.renderer),e.data!==!1&&r.setEmojiData(this.emojiData),r.setOptions(this.options),r.setCustomEmojis(this.customEmojis),r.viewFactory=this,r.initialize(),r}create(e,...i){return this.createWithOptions({},e,...i)}},ig,S2=class{constructor(e={}){ho(this,ig,void 0),Zk(this,ig,new Map(Object.entries(e)))}get(e,i=e){return Oo(this,ig).get(e)||i}};ig=new WeakMap;function Ioe(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(!t||typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",i==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}function Q2(){let t=!1;return function(e){soe.injectStyles&&!t&&(Ioe(e),t=!0)}}var Doe=`.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 zoe(t){return vI(t.locale,t.dataStore,t.messages,t.emojiData)}var Uoe=0,Fm;function Moe(){return`picmo-${Date.now()}-${Uoe++}`}var Noe=Q2();function SI(t){Noe(Doe);let e=C2(t),i=((e==null?void 0:e.custom)||[]).map(s=>Ee(Y({},s),{custom:!0,tags:["custom",...s.tags||[]]})),n=new a2;Fm||(Fm=zoe(e));let r=new S2(e.i18n);Fm.then(s=>{n.emit("data:ready",s)}).catch(s=>{n.emit("error",s)});let o=new k2({events:n,i18n:r,customEmojis:i,renderer:e.renderer,options:e,emojiData:Fm,pickerId:Moe()}).create(w2);return o.renderSync(),o}function _a(t){return t.split("-")[0]}function oc(t){return t.split("-")[1]}function Og(t){return["top","bottom"].includes(_a(t))?"x":"y"}function RI(t){return t==="y"?"height":"width"}function TI(t,e,i){let{reference:n,floating:r}=t,o=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2,a=Og(e),l=RI(a),c=n[l]/2-r[l]/2,u=_a(e),f=a==="x",d;switch(u){case"top":d={x:o,y:n.y-r.height};break;case"bottom":d={x:o,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:s};break;case"left":d={x:n.x-r.width,y:s};break;default:d={x:n.x,y:n.y}}switch(oc(e)){case"start":d[a]-=c*(i&&f?-1:1);break;case"end":d[a]+=c*(i&&f?-1:1);break}return d}var qoe=async(t,e,i)=>{let{placement:n="bottom",strategy:r="absolute",middleware:o=[],platform:s}=i,a=await(s.isRTL==null?void 0:s.isRTL(e)),l=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:c,y:u}=TI(l,n,a),f=n,d={},O=0;for(let m=0;m<o.length;m++){let{name:x,fn:v}=o[m],{x:w,y:T,data:A,reset:L}=await v({x:c,y:u,initialPlacement:n,placement:f,strategy:r,middlewareData:d,rects:l,platform:s,elements:{reference:t,floating:e}});if(c=w!=null?w:c,u=T!=null?T:u,d=Ee(Y({},d),{[x]:Y(Y({},d[x]),A)}),L&&O<=50){O++,typeof L=="object"&&(L.placement&&(f=L.placement),L.rects&&(l=L.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:r}):L.rects),{x:c,y:u}=TI(l,f,a)),m=-1;continue}}return{x:c,y:u,placement:f,strategy:r,middlewareData:d}};function joe(t){return Y({top:0,right:0,bottom:0,left:0},t)}function Woe(t){return typeof t!="number"?joe(t):{top:t,right:t,bottom:t,left:t}}function ug(t){return Ee(Y({},t),{top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height})}async function X2(t,e){var i;e===void 0&&(e={});let{x:n,y:r,platform:o,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:O=0}=e,m=Woe(O),x=a[d?f==="floating"?"reference":"floating":f],v=ug(await o.getClippingRect({element:(i=await(o.isElement==null?void 0:o.isElement(x)))==null||i?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),w=ug(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?Ee(Y({},s.floating),{x:n,y:r}):s.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:l}):s[f]);return{top:v.top-w.top+m.top,bottom:w.bottom-v.bottom+m.bottom,left:v.left-w.left+m.left,right:w.right-v.right+m.right}}var Voe=Math.min,Zoe=Math.max;function EI(t,e,i){return Zoe(t,Voe(e,i))}var Boe={left:"right",right:"left",bottom:"top",top:"bottom"};function fg(t){return t.replace(/left|right|bottom|top/g,e=>Boe[e])}function LI(t,e,i){i===void 0&&(i=!1);let n=oc(t),r=Og(t),o=RI(r),s=r==="x"?n===(i?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(s=fg(s)),{main:s,cross:fg(s)}}var Yoe={start:"end",end:"start"};function _2(t){return t.replace(/start|end/g,e=>Yoe[e])}var Foe=["top","right","bottom","left"],Hoe=Foe.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);function Goe(t,e,i){return(t?[...i.filter(n=>oc(n)===t),...i.filter(n=>oc(n)!==t)]:i.filter(n=>_a(n)===n)).filter(n=>t?oc(n)===t||(e?_2(n)!==n:!1):!0)}var Koe=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var i,n,r,o,s;let{x:a,y:l,rects:c,middlewareData:u,placement:f,platform:d,elements:O}=e,de=t,{alignment:m=null,allowedPlacements:x=Hoe,autoAlignment:v=!0}=de,w=gi(de,["alignment","allowedPlacements","autoAlignment"]),T=Goe(m,v,x),A=await X2(e,w),L=(i=(n=u.autoPlacement)==null?void 0:n.index)!=null?i:0,D=T[L];if(D==null)return{};let{main:P,cross:N}=LI(D,c,await(d.isRTL==null?void 0:d.isRTL(O.floating)));if(f!==D)return{x:a,y:l,reset:{placement:T[0]}};let le=[A[_a(D)],A[P],A[N]],H=[...(r=(o=u.autoPlacement)==null?void 0:o.overflows)!=null?r:[],{placement:D,overflows:le}],M=T[L+1];if(M)return{data:{index:L+1,overflows:H},reset:{placement:M}};let ie=H.slice().sort((pe,ve)=>pe.overflows[0]-ve.overflows[0]),ne=(s=ie.find(pe=>{let{overflows:ve}=pe;return ve.every(j=>j<=0)}))==null?void 0:s.placement,re=ne!=null?ne:ie[0].placement;return re!==f?{data:{index:L+1,overflows:H},reset:{placement:re}}:{}}}};function Joe(t){let e=fg(t);return[_2(t),e,_2(e)]}var ese=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var i;let{placement:n,middlewareData:r,rects:o,initialPlacement:s,platform:a,elements:l}=e,le=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:O=!0}=le,m=gi(le,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","flipAlignment"]),x=_a(n),v=f||(x===s||!O?[fg(s)]:Joe(s)),w=[s,...v],T=await X2(e,m),A=[],L=((i=r.flip)==null?void 0:i.overflows)||[];if(c&&A.push(T[x]),u){let{main:H,cross:M}=LI(n,o,await(a.isRTL==null?void 0:a.isRTL(l.floating)));A.push(T[H],T[M])}if(L=[...L,{placement:n,overflows:A}],!A.every(H=>H<=0)){var D,P;let H=((D=(P=r.flip)==null?void 0:P.index)!=null?D:0)+1,M=w[H];if(M)return{data:{index:H,overflows:L},reset:{placement:M}};let ie="bottom";switch(d){case"bestFit":{var N;let ne=(N=L.map(re=>[re,re.overflows.filter(de=>de>0).reduce((de,pe)=>de+pe,0)]).sort((re,de)=>re[1]-de[1])[0])==null?void 0:N[0].placement;ne&&(ie=ne);break}case"initialPlacement":ie=s;break}if(n!==ie)return{reset:{placement:ie}}}return{}}}};async function tse(t,e){let{placement:i,platform:n,elements:r}=t,o=await(n.isRTL==null?void 0:n.isRTL(r.floating)),s=_a(i),a=oc(i),l=Og(i)==="x",c=["left","top"].includes(s)?-1:1,u=o&&l?-1:1,f=typeof e=="function"?e(t):e,{mainAxis:d,crossAxis:O,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:Y({mainAxis:0,crossAxis:0,alignmentAxis:null},f);return a&&typeof m=="number"&&(O=a==="end"?m*-1:m),l?{x:O*u,y:d*c}:{x:d*c,y:O*u}}var PI=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){let{x:i,y:n}=e,r=await tse(e,t);return{x:i+r.x,y:n+r.y,data:r}}}};function ise(t){return t==="x"?"y":"x"}var CI=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:i,y:n,placement:r}=e,v=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:T,y:A}=w;return{x:T,y:A}}}}=v,l=gi(v,["mainAxis","crossAxis","limiter"]),c={x:i,y:n},u=await X2(e,l),f=Og(_a(r)),d=ise(f),O=c[f],m=c[d];if(o){let w=f==="y"?"top":"left",T=f==="y"?"bottom":"right",A=O+u[w],L=O-u[T];O=EI(A,O,L)}if(s){let w=d==="y"?"top":"left",T=d==="y"?"bottom":"right",A=m+u[w],L=m-u[T];m=EI(A,m,L)}let x=a.fn(Ee(Y({},e),{[f]:O,[d]:m}));return Ee(Y({},x),{data:{x:x.x-i,y:x.y-n}})}}};function II(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function go(t){if(t==null)return window;if(!II(t)){let e=t.ownerDocument;return e&&e.defaultView||window}return t}function wr(t){return go(t).getComputedStyle(t)}function po(t){return II(t)?"":t?(t.nodeName||"").toLowerCase():""}function DI(){let t=navigator.userAgentData;return t!=null&&t.brands?t.brands.map(e=>e.brand+"/"+e.version).join(" "):navigator.userAgent}function kr(t){return t instanceof go(t).HTMLElement}function Os(t){return t instanceof go(t).Element}function nse(t){return t instanceof go(t).Node}function sc(t){if(typeof ShadowRoot>"u")return!1;let e=go(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function pg(t){let{overflow:e,overflowX:i,overflowY:n}=wr(t);return/auto|scroll|overlay|hidden/.test(e+n+i)}function rse(t){return["table","td","th"].includes(po(t))}function zI(t){let e=/firefox/i.test(DI()),i=wr(t);return i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].includes(i.willChange)||e&&i.willChange==="filter"||e&&(i.filter?i.filter!=="none":!1)}function UI(){return!/^((?!chrome|android).)*safari/i.test(DI())}var QI=Math.min,bh=Math.max,hg=Math.round;function mo(t,e,i){var n,r,o,s;e===void 0&&(e=!1),i===void 0&&(i=!1);let a=t.getBoundingClientRect(),l=1,c=1;e&&kr(t)&&(l=t.offsetWidth>0&&hg(a.width)/t.offsetWidth||1,c=t.offsetHeight>0&&hg(a.height)/t.offsetHeight||1);let u=Os(t)?go(t):window,f=!UI()&&i,d=(a.left+(f&&(n=(r=u.visualViewport)==null?void 0:r.offsetLeft)!=null?n:0))/l,O=(a.top+(f&&(o=(s=u.visualViewport)==null?void 0:s.offsetTop)!=null?o:0))/c,m=a.width/l,x=a.height/c;return{width:m,height:x,top:O,right:d+m,bottom:O+x,left:d,x:d,y:O}}function ps(t){return((nse(t)?t.ownerDocument:t.document)||window.document).documentElement}function mg(t){return Os(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function MI(t){return mo(ps(t)).left+mg(t).scrollLeft}function ose(t){let e=mo(t);return hg(e.width)!==t.offsetWidth||hg(e.height)!==t.offsetHeight}function sse(t,e,i){let n=kr(e),r=ps(e),o=mo(t,n&&ose(e),i==="fixed"),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};if(n||!n&&i!=="fixed")if((po(e)!=="body"||pg(r))&&(s=mg(e)),kr(e)){let l=mo(e,!0);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else r&&(a.x=MI(r));return{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function NI(t){return po(t)==="html"?t:t.assignedSlot||t.parentNode||(sc(t)?t.host:null)||ps(t)}function _I(t){return!kr(t)||wr(t).position==="fixed"?null:ase(t)}function ase(t){let{offsetParent:e}=t,i=t,n=!1;for(;i&&i!==e;){let{assignedSlot:r}=i;if(r){let o=r.offsetParent;if(wr(r).display==="contents"){let s=r.hasAttribute("style"),a=r.style.display;r.style.display=wr(i).display,o=r.offsetParent,r.style.display=a,s||r.removeAttribute("style")}i=r,e!==o&&(e=o,n=!0)}else if(sc(i)&&i.host&&n)break;i=sc(i)&&i.host||i.parentNode}return e}function lse(t){let e=NI(t);for(sc(e)&&(e=e.host);kr(e)&&!["html","body"].includes(po(e));){if(zI(e))return e;{let i=e.parentNode;e=sc(i)?i.host:i}}return null}function A2(t){let e=go(t),i=_I(t);for(;i&&rse(i)&&wr(i).position==="static";)i=_I(i);return i&&(po(i)==="html"||po(i)==="body"&&wr(i).position==="static"&&!zI(i))?e:i||lse(t)||e}function AI(t){if(kr(t))return{width:t.offsetWidth,height:t.offsetHeight};let e=mo(t);return{width:e.width,height:e.height}}function cse(t){let{rect:e,offsetParent:i,strategy:n}=t,r=kr(i),o=ps(i);if(i===o)return e;let s={scrollLeft:0,scrollTop:0},a={x:0,y:0};if((r||!r&&n!=="fixed")&&((po(i)!=="body"||pg(o))&&(s=mg(i)),kr(i))){let l=mo(i,!0);a.x=l.x+i.clientLeft,a.y=l.y+i.clientTop}return Ee(Y({},e),{x:e.x-s.scrollLeft+a.x,y:e.y-s.scrollTop+a.y})}function use(t,e){let i=go(t),n=ps(t),r=i.visualViewport,o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(r){o=r.width,s=r.height;let c=UI();(c||!c&&e==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:o,height:s,x:a,y:l}}function fse(t){var e;let i=ps(t),n=mg(t),r=(e=t.ownerDocument)==null?void 0:e.body,o=bh(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=bh(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+MI(t),l=-n.scrollTop;return wr(r||i).direction==="rtl"&&(a+=bh(i.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function qI(t){let e=NI(t);return["html","body","#document"].includes(po(e))?t.ownerDocument.body:kr(e)&&pg(e)?e:qI(e)}function dg(t,e){var i;e===void 0&&(e=[]);let n=qI(t),r=n===((i=t.ownerDocument)==null?void 0:i.body),o=go(n),s=r?[o].concat(o.visualViewport||[],pg(n)?n:[]):n,a=e.concat(s);return r?a:a.concat(dg(s))}function hse(t,e){let i=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e))return!0;if(i&&sc(i)){let n=e;do{if(n&&t===n)return!0;n=n.parentNode||n.host}while(n)}return!1}function dse(t,e){let i=mo(t,!1,e==="fixed"),n=i.top+t.clientTop,r=i.left+t.clientLeft;return{top:n,left:r,x:r,y:n,right:r+t.clientWidth,bottom:n+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}function $I(t,e,i){return e==="viewport"?ug(use(t,i)):Os(e)?dse(e,i):ug(fse(ps(t)))}function Ose(t){let e=dg(t),i=["absolute","fixed"].includes(wr(t).position)&&kr(t)?A2(t):t;return Os(i)?e.filter(n=>Os(n)&&hse(n,i)&&po(n)!=="body"):[]}function pse(t){let{element:e,boundary:i,rootBoundary:n,strategy:r}=t,o=[...i==="clippingAncestors"?Ose(e):[].concat(i),n],s=o[0],a=o.reduce((l,c)=>{let u=$I(e,c,r);return l.top=bh(u.top,l.top),l.right=QI(u.right,l.right),l.bottom=QI(u.bottom,l.bottom),l.left=bh(u.left,l.left),l},$I(e,s,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}var mse={getClippingRect:pse,convertOffsetParentRelativeRectToViewportRelativeRect:cse,isElement:Os,getDimensions:AI,getOffsetParent:A2,getDocumentElement:ps,getElementRects:t=>{let{reference:e,floating:i,strategy:n}=t;return{reference:sse(e,A2(i),n),floating:Ee(Y({},AI(i)),{x:0,y:0})}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>wr(t).direction==="rtl"};function gse(t,e,i,n){n===void 0&&(n={});let{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:s=!0,animationFrame:a=!1}=n,l=r&&!a,c=o&&!a,u=l||c?[...Os(t)?dg(t):[],...dg(e)]:[];u.forEach(x=>{l&&x.addEventListener("scroll",i,{passive:!0}),c&&x.addEventListener("resize",i)});let f=null;if(s){let x=!0;f=new ResizeObserver(()=>{x||i(),x=!1}),Os(t)&&!a&&f.observe(t),f.observe(e)}let d,O=a?mo(t):null;a&&m();function m(){let x=mo(t);O&&(x.x!==O.x||x.y!==O.y||x.width!==O.width||x.height!==O.height)&&i(),O=x,d=requestAnimationFrame(m)}return i(),()=>{var x;u.forEach(v=>{l&&v.removeEventListener("scroll",i),c&&v.removeEventListener("resize",i)}),(x=f)==null||x.disconnect(),f=null,a&&cancelAnimationFrame(d)}}var bse=(t,e,i)=>qoe(t,e,Y({platform:mse},i));async function yse(t,e,i,n){if(!n)throw new Error("Must provide a positioning option");return await(typeof n=="string"?xse(t,e,i,n):vse(e,n))}async function xse(t,e,i,n){if(!i)throw new Error("Reference element is required for relative positioning");let r;return n==="auto"?r={middleware:[Koe(),CI(),PI({mainAxis:5,crossAxis:12})]}:r={placement:n,middleware:[ese(),CI(),PI(5)]},gse(i,e,async()=>{if((!i.isConnected||!i.offsetParent)&&wse(t))return;let{x:o,y:s}=await bse(i,e,r);Object.assign(e.style,{position:"absolute",left:`${o}px`,top:`${s}px`})})}function vse(t,e){return t.style.position="fixed",Object.entries(e).forEach(([i,n])=>{t.style[i]=n}),()=>{}}function wse(t){switch(t.options.onPositionLost){case"close":return t.close(),!0;case"destroy":return t.destroy(),!0;case"hold":return!0}}var kse={hideOnClickOutside:!0,hideOnEmojiSelect:!0,hideOnEscape:!0,position:"auto",showCloseButton:!0,onPositionLost:"none"};function Sse(t={}){return Y(Ee(Y({},kse),{rootElement:document.body}),t)}var Tse='<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>',XI=pi("popupContainer","closeButton"),$2=class{constructor(e,i){this.isOpen=!1,this.externalEvents=new Ca,this.options=Y(Y({},Sse(i)),C2(e)),this.popupEl=document.createElement("div"),this.popupEl.classList.add(XI.popupContainer),this.popupEl.classList.add(this.options.theme),i.className&&this.popupEl.classList.add(i.className),this.options.showCloseButton&&(this.closeButton=document.createElement("button"),this.closeButton.type="button",this.closeButton.classList.add(XI.closeButton),this.closeButton.innerHTML=Tse,this.closeButton.addEventListener("click",()=>{this.close()}),this.popupEl.appendChild(this.closeButton));let n=document.createElement("div");this.popupEl.appendChild(n),this.picker=SI(Ee(Y({},this.options),{rootElement:n})),this.focusTrap=new ph,this.picker.addEventListener("data:ready",()=>{this.focusTrap.activate(this.picker.el),this.picker.setInitialFocus()}),this.options.hideOnEmojiSelect&&this.picker.addEventListener("emoji:select",()=>{var r;this.close(),(r=this.triggerElement)==null||r.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,i){this.externalEvents.on(e,i),this.picker.addEventListener(e,i)}removeEventListener(e,i){this.externalEvents.off(e,i),this.picker.removeEventListener(e,i)}handleKeydown(e){var i;e.key==="Escape"&&(this.close(),(i=this.triggerElement)==null||i.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:i}={}){this.isOpen||(e&&(this.triggerElement=e),i&&(this.referenceElement=i),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 yse(this,this.popupEl,this.referenceElement,this.options.position)}awaitPendingAnimations(){return Promise.all(this.getRunningAnimations().map(e=>e.finished))}onDocumentClick(e){var i;let n=e.target,r=(i=this.triggerElement)==null?void 0:i.contains(n);this.isOpen&&!this.picker.isPickerClick(e)&&!r&&this.close()}animatePopup(e){return Ea(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 Ea(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()}},Ese=`.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}
`,Pse=Q2();function jI(t,e){return Pse(Ese),new $2(Y({autoFocus:"auto"},t),e)}var Cse={mounted(){let t=this.el.querySelector("[data-emoji-button]"),e=this.el.querySelector("[data-emoji-preview]"),i=this.el.querySelector("[data-emoji-input]"),n=jI({showPreview:!1},{triggerElement:t,referenceElement:t,position:"bottom"});n.addEventListener("emoji:select",({emoji:r})=>{e.innerHTML=r,i.value=r}),t.addEventListener("click",r=>{n.toggle()})}},WI=Cse;var Qse={mounted(){this.focus()},updated(){this.el!==document.activeElement&&this.focus()},focus(){ss(document.activeElement)||(this.el.focus(),this.el.selectionStart=this.el.selectionEnd=this.el.value.length,this.el.scrollLeft=this.el.scrollWidth)}},VI=Qse;var _se={mounted(){this.props=this.getProps(),this.isFocused=!1,this.insertMode=!1,this.initializeHeadingEl(),this.subscriptions=[at.subscribe("navigation:focus_changed",({focusableId:t,scroll:e})=>this.handleElementFocused(t,e)),at.subscribe("navigation:insert_mode_changed",({enabled:t})=>this.handleInsertModeChanged(t))]},updated(){this.props=this.getProps(),this.initializeHeadingEl()},destroyed(){this.subscriptions.forEach(t=>t.destroy())},getProps(){return Ot(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 i=e.clipboardData.getData("text/plain").replace(`
`," ");document.execCommand("insertText",!1,i)}),this.headingEl.addEventListener("keydown",e=>{e.key==="Enter"&&e.preventDefault()}),this.headingEl.addEventListener("blur",e=>{setTimeout(()=>{this.isFocused&&this.insertMode&&(this.headingEl.focus(),ZI(this.headingEl))},0)}))},handleElementFocused(t,e){this.props.id===t?(this.isFocused=!0,this.el.setAttribute("data-js-focused",""),e&&ma(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(),ZI(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 ZI(t){let e=document.createRange();e.selectNodeContents(t),e.collapse(!1);let i=window.getSelection();i.removeAllRanges(),i.addRange(e)}var BI=_se;var Ase={mounted(){this.props=this.getProps(),this.sourceEl=co(this.el,"[data-source]"),this.targetEl=co(this.el,"[data-target]"),this.updateDOM()},updated(){this.props=this.getProps(),this.updateDOM()},getProps(){return Ot(this.el,["language"])},updateDOM(){let t=this.sourceEl.innerText,e=um(t,this.props.language);this.targetEl.innerHTML=e,this.sourceEl.style.display="none"}},YI=Ase;var R2=["bg-yellow-100","border-yellow-300"],$se={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(...R2)}),this.el.addEventListener("dragleave",t=>{this.el.contains(t.relatedTarget)||this.el.classList.remove(...R2)}),this.el.addEventListener("drop",t=>{this.el.classList.remove(...R2)}),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 i=e.dataset.cameraId;this.openCameraView(i)}}),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 Ot(this.el,["id","phx-target","height","width","format","fit","image-url","value-height","value-width"])},updateImagePreview(){this.props.imageUrl?Lse(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=i=>{let n=document.createElement("img");n.addEventListener("load",r=>{let o=this.toCanvas(n,n.width,n.height);this.pushImage(o)}),n.src=i.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(i=>i.kind==="videoinput").map(i=>({deviceId:i.deviceId,label:i.label}));[{deviceId:"system_default",label:"System Default"},...e].forEach(({deviceId:i,label:n})=>{let r=this.cameraItemTemplateEl.cloneNode(!0);r.querySelector("[data-camera-id]").setAttribute("data-camera-id",i),r.querySelector("[data-label]").innerHTML=n,this.cameraListEl.appendChild(r)})}).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){Xse(t,this.props.format).then(e=>{let i={height:t.height,width:t.width},n=new Blob([e]);n.meta=()=>i,this.uploadTo(this.props.phxTarget,"file",[n])})},toCanvas(t,e,i){let{width:n,height:r}=this.props,o=document.createElement("canvas"),s=o.getContext("2d");if(n===null&&r===null||n===e&&r===i)o.width=e,o.height=i,o.getContext("2d").drawImage(t,0,0,e,i,0,0,e,i);else if(this.props.fit==="contain"){let a=n/e,l=r/i,c=Math.min(a,l),u=Math.round(e*c),f=Math.round(i*c);o.width=u,o.height=f,s.drawImage(t,0,0,e,i,0,0,u,f)}else if(this.props.fit==="crop"){let a=n/e,l=r/i,c=Math.max(a,l),u=Math.round(e*c),f=Math.round(i*c);o.width=n,o.height=r,s.drawImage(t,Math.round((u-n)/c/2),Math.round((f-r)/c/2),e-Math.round((u-n)/c),i-Math.round((f-r)/c),0,0,n,r)}else if(this.props.fit==="pad"){let a=n/e,l=r/i,c=Math.min(a,l),u=Math.round(e*c),f=Math.round(i*c);o.width=n,o.height=r,s.fillStyle="black",s.fillRect(0,0,o.width,o.height),s.drawImage(t,0,0,e,i,Math.round((n-u)/2),Math.round((r-f)/2),u,f)}else o.width=n,o.height=r,s.drawImage(t,0,0,e,i,0,0,n,r);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 Xse(t,e){if(e==="png"||e==="jpeg")return new Promise((i,n)=>{t.toBlob(r=>{r.arrayBuffer().then(o=>{i(o)})},`image/${e}`)});if(e==="rgb"){let i=t.getContext("2d").getImageData(0,0,t.width,t.height),n=Rse(i);return Promise.resolve(n)}throw new Error(`Unexpected format: ${e}`)}function Rse(t){let e=t.width*t.height,i=new Uint8ClampedArray(e*3);for(let n=0;n<e;n++)i[n*3]=t.data[n*4],i[n*3+1]=t.data[n*4+1],i[n*3+2]=t.data[n*4+2];return i.buffer}function Lse(t,e,i,n){if(n==="png"||n==="jpeg"){let r=document.createElement("img");return r.src=t,Promise.resolve(r)}if(n==="rgb")return fetch(t).then(r=>r.arrayBuffer()).then(r=>{let o=document.createElement("canvas");o.height=e,o.width=i;let s=Ise(r,i,e);return o.getContext("2d").putImageData(s,0,0),o});throw new Error(`Unexpected format: ${n}`)}function Ise(t,e,i){let n=e*i,r=new Uint8Array(t),o=new Uint8ClampedArray(n*4);for(let s=0;s<n;s++)o[s*4]=r[s*3],o[s*4+1]=r[s*3+1],o[s*4+2]=r[s*3+2],o[s*4+3]=255;return new ImageData(o,e,i)}var FI=$se;var Dse={mounted(){this.updateSrc()},updated(){this.updateSrc()},updateSrc(){let t=this.el.src,e="data:image/x-pixel;base64,",i=t.slice(e.length);if(t.startsWith(e)){let n=WR(i),r=new DataView(n),o=r.getUint32(0,!1),s=r.getUint32(4,!1),a=r.getUint8(8),l=n.slice(9),c=zse(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 zse(t,e,i,n){let r=e*i,o=new Uint8Array(t),s=new Uint8ClampedArray(r*4);for(let a=0;a<r;a++)n===1?(s[a*4]=o[a],s[a*4+1]=o[a],s[a*4+2]=o[a],s[a*4+3]=255):n===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]):n===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):n===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,i)}var HI=Dse;var Use=document.querySelector("meta[name='csrf-token']").getAttribute("content"),L2=new Ch(window.LIVEBOOK_BASE_URL_PATH+"/socket",{params:{_csrf_token:Use}}),Aa=null;function GI(t){return Aa||(L2.connect(),Aa=L2.channel("js_view",{session_token:t}),Aa.join()),Aa}function KI(){Aa&&(Aa.leave(),Aa=null,L2.disconnect())}function JI(t,e){if(Array.isArray(e)&&e[1]&&e[1].constructor===ArrayBuffer){let[i,n]=e;return aT([t,i],n)}else return{root:[t,e]}}function I2(t){if(t.constructor===ArrayBuffer){let[[e,i],n]=lT(t);return[e,[i,n]]}else{let{root:[e,i]}=t;return[e,i]}}var e7="wcqj5QWCo66osdAWDnEgPRFyL7nfe8oNqNggnw4vvW8=";function t7(t,e,i){let n=Mse(e,i);return Nse(n).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; bluetooth; serial",t.src=n})}function Mse(t,e){let i=window.location.protocol;return e?e.replace(/^https?:/,i):i==="https:"?"https://livebookusercontent.com/iframe/v5.html":`http://${window.location.hostname}:${t}/iframe/v5.html`}var D2=null;function Nse(t){return D2||(D2=fetch(t).then(e=>e.text()).then(e=>{if(jR(e)!==e7)throw new Error(`The iframe loaded from ${t} doesn't have the expected checksum ${e7}`)})),D2}var qse={mounted(){this.props=this.getProps(),this.id=MR(),this.childToken=NR(),this.childReadyPromise=null,this.childReady=!1,this.initReceived=!1,this.syncCallbackQueue=[],this.pongCallbackQueue=[],this.initTimeout=setTimeout(()=>this.handleInitTimeout(),2e3),this.channel=GI(this.props.sessionToken),this.iframeActions=this.createIframe(),this.childReadyPromise=new Promise((r,o)=>{this._handleWindowMessage=s=>{s.source===this.iframe.contentWindow&&this.handleChildMessage(s.data,r)},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}`,r=>{let[,o]=I2(r);this.handleServerInit(o)}),e=this.channel.on(`event:${this.props.ref}`,r=>{let[[o],s]=I2(r);this.handleServerEvent(o,s)}),i=this.channel.on(`error:${this.props.ref}`,({message:r,init:o})=>{this.handleServerError(r,o)}),n=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}`,i),this.channel.off(`pong:${this.props.ref}`,n)},this.subscriptions=[at.subscribe(`js_views:${this.props.ref}:sync`,({callback:r})=>this.handleSync(r)),at.subscribe(`js_views:${this.props.ref}:secret_selected`,({secretName:r})=>this.handleSecretSelected(r)),at.subscribe("navigation:focus_changed",({focusableId:r})=>this.handleElementFocused(r))],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 Ot(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]"),i=new ResizeObserver(l=>{this.repositionIframe()});i.observe(e),i.observe(t);let n=vr(this.iframePlaceholder),r=new ResizeObserver(l=>{let c=vr(this.iframePlaceholder);n!==c&&(n=c,this.repositionIframe())});r.observe(this.iframePlaceholder);let o=at.subscribe("js_views:reposition",l=>this.repositionIframe());this.iframe.addEventListener("mouseenter",l=>{this.iframePlaceholder.dispatchEvent(new MouseEvent("mouseenter",{bubbles:!0}))}),this.iframe.addEventListener("mouseleave",l=>{this.iframePlaceholder.dispatchEvent(new MouseEvent("mouseleave",{bubbles:!0}))});let s=om(this.iframePlaceholder,{root:t,proximity:2e3});this.iframe.toggleAttribute("data-js-focused",!!this.el.closest("[data-js-focused]"));let a=()=>{i.disconnect(),r.disconnect(),o.destroy(),s.cancel(),this.iframe.remove(),this.iframePlaceholder.remove()};return{visibilityPromise:s.promise,remove:a}},repositionIframe(){let{iframe:t,iframePlaceholder:e}=this,i=document.querySelector("[data-el-notebook]");if(vr(e))t.classList.add("hidden");else{t.classList.remove("hidden");let n=i.getBoundingClientRect(),r=e.getBoundingClientRect(),o=r.top-n.top+i.scrollTop;t.style.top=`${o}px`;let s=r.left-n.left+i.scrollLeft;t.style.left=`${s}px`,t.style.height=`${r.height}px`,t.style.width=`${r.width}px`}},loadIframe(){let t=document.querySelector("[data-el-js-view-iframes]");t7(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(i=>{this.postMessage({type:"readyReply",token:this.childToken,baseUrl:i,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 i=this.replicateDomEvent(t.event);t.isTargetEditable?this.hiddenInput.dispatchEvent(i):this.el.dispatchEvent(i)}else if(t.type==="event"){let{event:i,payload:n}=t,r=JI([i,this.props.ref],n);this.channel.push("event",r)}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})}},getAssetsBaseUrl(){return gg().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()()},handleSync(t){this.syncCallbackQueue.push(t),this.postMessage({type:"sync"})},handleSecretSelected(t){this.postMessage({type:"secretSelected",secretName:t})},handleElementFocused(t){let e=this.el.closest("[data-focusable-id]"),i=e?e.dataset.focusableId:null;this.iframe.toggleAttribute("data-js-focused",i===t)}};function gg(){let t=window.LIVEBOOK_PUBLIC_BASE_URL_PATH+"/public/health";return gg.promise=gg.promise||fetch(t).then(e=>e.status===200).catch(e=>!1),gg.promise}var i7=qse;var jse={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 Ot(this.el,["cell-id","default-handlers","keydown-enabled","keyup-enabled","target"])},handleDocumentKeyDown(t){if(this.isKeyboardToggle(t)&&!ss(document.activeElement)){Qn(t),this.keyboardEnabled()?this.disableKeyboard():this.enableKeyboard();return}if(this.keyboardEnabled()){if(this.props.defaultHandlers!=="on"&&Qn(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"&&Qn(t),this.props.keyupEnabled)){let{key:e}=t;this.pushEventTo(this.props.target,"keyup",{key:e})}},handleDocumentFocus(t){this.props.keydownEnabled&&ss(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:i,key:n}=t;return(Ul()?e:i)&&n==="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}},n7=jse;var Wse={mounted(){this.props=this.getProps(),this.templateEl=co(this.el,"[data-template]"),this.contentEl=co(this.el,"[data-content]"),this.markdown=new ga(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 Ot(this.el,["base-path","allowed-uri-schemes"])}},r7=Wse;var Vse={mounted(){this.scroll()},updated(){this.scroll()},scroll(){Cf(this.el)}},o7=Vse;var yh=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 i=this.buffer.slice(-e.length),n=e.every((r,o)=>r===i[o]);return n&&this.reset(),n}};var xh=class{constructor(){lt(this,"entries",[]);lt(this,"index",-1)}push(e,i,n){let r={cellId:e,line:i,offset:n};this.isSameCell(e)?this.entries[this.index]=r:(this.entries[this.index+1]!==void 0&&(this.entries=this.entries.slice(0,this.index+1)),this.entries.push(r),this.index++),this.entries.length>20&&(this.entries.shift(),this.index--)}removeAllFromCell(e){let i=0;for(let n=0;n<=this.index;n++)this.get(n).cellId===e&&i++;this.entries=this.entries.filter(n=>n.cellId!==e),this.index=this.index-i,this.index===-1&&this.entries.length>0&&(this.index=0)}canGoBack(){return this.canGetFromHistory(-1)}goBack(){return this.getFromHistory(-1)}canGoForward(){return this.canGetFromHistory(1)}goForward(){return this.getFromHistory(1)}getCurrent(){return this.get(this.index)}getEntries(){return this.entries}get(e){return this.entries.length<=0?null:this.entries[e]}getFromHistory(e){return this.canGetFromHistory(e)?(this.index=Math.max(0,this.index+e),this.entries[this.index]):null}canGetFromHistory(e){if(this.entries.length===0)return!1;let i=this.index+e;return 0<=i&&i<this.entries.length}isSameCell(e){let i=this.get(this.index);return i!==null&&e===i.cellId}};var Zse={mounted(){this.props=this.getProps(),this.focusedId=null,this.insertMode=!1,this.view=null,this.viewOptions=null,this.keyBuffer=new yh,this.lastLocationReportByClientId={},this.cursorHistory=new xh,this.followedClientId=null,this.store=nc.create("session"),am(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("outline").addEventListener("click",t=>{this.handleOutlineClick(t),this.handleCellIndicatorsClick(t)}),this.getElement("clients-list").addEventListener("click",t=>this.handleClientsListClick(t)),this.getElement("outline-toggle").addEventListener("click",t=>this.toggleOutline()),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.subscriptions=[at.subscribe("jump_to_editor",({line:t,file:e})=>this.jumpToLine(e,t)),at.subscribe("navigation:cursor_moved",({cellId:t,line:e,offset:i})=>this.cursorHistory.push(t,e,i))],this.initializeDragAndDrop(),window.addEventListener("phx:page-loading-stop",()=>{this.initializeFocus()},{once:!0}),this.handleEvent("session_init",({clients:t,client_id:e})=>{let i={};for(let n of t)i[n.id]=n;this.store.set("clients",i),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 i={focusableId:e};this.handleLocationReport(t,i)})},updated(){let t=this.props;this.props=this.getProps(),this.props.globalStatus!==t.globalStatus&&am(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),am("favicon"),this.keepChannel||KI(),this.subscriptions.forEach(t=>t.destroy()),this.store.destroy()},getProps(){return Ot(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=Ul()?t.metaKey:t.ctrlKey,i=t.ctrlKey,n=t.altKey,r=t.shiftKey,o=t.key,s=this.keyBuffer;if(!(ss(t.target)&&t.target.closest("[data-el-outputs-container]"))){if(t.code==="Minus"&&i&&n){Qn(t),this.cursorHistoryGoBack();return}else if(o==="="&&i&&n){Qn(t),this.cursorHistoryGoForward();return}else if(e&&r&&!n&&o==="Enter"){Qn(t),this.queueFullCellsEvaluation(!0);return}else if(!e&&r&&!n&&o==="Enter"){Qn(t),ba(this.focusedCellType())&&this.queueFocusedCellEvaluation(),this.moveFocus(1);return}else if(e&&!n&&o==="Enter"){Qn(t),ba(this.focusedCellType())&&this.queueFocusedCellEvaluation();return}else if(e&&o==="s"){Qn(t),this.saveNotebook();return}else if(e||n)return}this.insertMode?(s.reset(),!t.target.closest("[data-el-editor-container]")&&o==="Escape"&&this.escapeInsertMode()):ss(t.target)?(s.reset(),o==="Escape"&&t.target.blur()):(s.push(t.key),s.tryMatch(["d","d"])?this.deleteFocusedCell():s.tryMatch(["e","a"])?this.queueFullCellsEvaluation(!1):s.tryMatch(["e","e"])?ba(this.focusedCellType())&&this.queueFocusedCellEvaluation():s.tryMatch(["e","s"])?this.queueFocusedSectionEvaluation():s.tryMatch(["s","o"])?this.toggleOutline():s.tryMatch(["s","s"])?this.toggleSecretsList():s.tryMatch(["s","a"])?this.toggleAppInfo():s.tryMatch(["s","u"])?this.toggleClientsList():s.tryMatch(["s","f"])?this.toggleFilesList():s.tryMatch(["s","r"])?this.toggleRuntimeInfo():s.tryMatch(["s","b"])?this.showBin():s.tryMatch(["s","p"])?this.showPackageSearch():s.tryMatch(["e","x"])?this.cancelFocusedCellEvaluation():s.tryMatch(["0","0"])?this.reconnectRuntime():s.tryMatch(["Escape","Escape"])?this.setFocusedEl(null):s.tryMatch(["?"])?this.showShortcuts():s.tryMatch(["i"])||t.target.matches("body, [data-el-cell-body], [data-el-heading], [data-focusable-id]")&&this.focusedId&&o==="Enter"?(Qn(t),this.isInsertModeAvailable()&&this.enterInsertMode()):s.tryMatch(["j"])?this.moveFocus(1):s.tryMatch(["k"])?this.moveFocus(-1):s.tryMatch(["J"])?this.moveFocusedCell(1):s.tryMatch(["K"])?this.moveFocusedCell(-1):s.tryMatch(["n"])?this.insertCellBelowFocused("code"):s.tryMatch(["N"])?this.insertCellAboveFocused("code"):s.tryMatch(["m"])?(!this.view||this.viewOptions.showMarkdown)&&this.insertCellBelowFocused("markdown"):s.tryMatch(["M"])?(!this.view||this.viewOptions.showMarkdown)&&this.insertCellAboveFocused("markdown"):s.tryMatch(["v","z"])?this.toggleView("code-zen"):s.tryMatch(["v","p"])?this.toggleView("presentation"):s.tryMatch(["v","c"])?this.toggleView("custom"):s.tryMatch(["c"])?(!this.view||this.viewOptions.showSection)&&this.toggleCollapseSection():s.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(".cm-tooltip")){this.insertMode&&this.setInsertMode(!1);return}if(t.target.closest("[data-el-insert-buttons] button"))return;let e=t.target.closest("[data-focusable-id]"),i=e?e.dataset.focusableId:null,n=this.editableElementClicked(t,e);i!==this.focusedId&&this.setFocusedEl(i,{scroll:!1,focusElement:!1}),!t.target.closest("[data-el-actions]")&&this.insertMode!==n&&this.setInsertMode(n)},editableElementClicked(t,e){if(e){let i=t.target.closest("[data-el-editor-container], [data-el-heading]");return i&&e.contains(i)}return!1},handleDocumentFocus(t){let e=t.target.closest&&t.target.closest("[data-focusable-id]");if(e){let i=e.dataset.focusableId;i!==this.focusedId&&this.setFocusedEl(i,{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 n=e.getAttribute("data-cell-id"),r=e.hasAttribute("data-disable-dependencies-cache");this.queueCellEvaluation(n,r)}let i=window.location.hash;if(i){let n=i.replace(/^#/,"");!document.getElementById(n).contains(t.target)&&!t.target.closest("a")&&history.pushState(null,document.title,window.location.pathname+window.location.search)}},handleOutlineClick(t){let e=t.target.closest("[data-el-outline-item]");if(e){let n=e.getAttribute("data-section-id");this.getSectionById(n).scrollIntoView({behavior:"instant",block:"start"})}let i=t.target.closest("[data-el-outline-definition-item]");if(i){let n=i.getAttribute("data-file"),r=i.getAttribute("data-line");this.jumpToLine(n,r)}},handleClientsListClick(t){let e=t.target.closest("[data-el-clients-list-item]");if(e){let i=e.getAttribute("data-client-id");t.target.closest("[data-el-client-link]")&&this.handleClientLinkClick(i),t.target.closest("[data-el-client-follow-toggle]")&&this.handleClientFollowToggleClick(i,e)}},handleClientLinkClick(t){this.mirrorClientFocus(t)},handleClientFollowToggleClick(t,e){let i=this.el.querySelector("[data-el-clients-list-item][data-js-followed]");i&&i.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 i=e.getAttribute("data-target");this.setFocusedEl(i)}},initializeFocus(){let t=window.location.hash;if(t){let e=t.replace(/^#/,""),i=document.getElementById(e);if(i){let n=i.closest("[data-focusable-id]");n?this.setFocusedEl(n.dataset.focusableId):i.scrollIntoView()}}else this.props.autofocusCellId&&(this.setFocusedEl(this.props.autofocusCellId,{scroll:!1}),this.setInsertMode(!0))},updateSectionListHighlight(){let t=this.el.querySelector("[data-el-outline-item][data-js-is-viewed]");t&&t.removeAttribute("data-js-is-viewed");let e=this.getSections().reverse().find(i=>{let{top:n}=i.getBoundingClientRect(),r=document.documentElement.scrollTop;return n<=r+window.innerHeight*.35});if(e){let i=e.getAttribute("data-section-id");this.el.querySelector(`[data-el-outline-item][data-section-id="${i}"]`).setAttribute("data-js-is-viewed","")}},initializeDragAndDrop(){let t=!1,e=null,i=null,n=(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)}},r=()=>{t&&(t=!1,this.el.removeAttribute("data-js-dragging"))};this.el.addEventListener("dragstart",o=>{n(o.target)}),this.el.addEventListener("dragenter",o=>{n()}),this.el.addEventListener("dragleave",o=>{ZR()||this.el.contains(o.relatedTarget)||r()}),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)i=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&&(i=o.dataTransfer.files,this.pushEvent("handle_file_drop",{}));r()}),this.handleEvent("finish_file_drop",o=>{let s=document.querySelector('#add-file-entry-modal input[type="file"]');s&&(s.files=i,s.dispatchEvent(new Event("change",{bubbles:!0})))})},toggleOutline(t=null){this.toggleSidePanelContent("outline",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){ba(this.focusedCellType())?at.broadcast(`cells:${this.focusedId}: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 i=this.getSectionIds();i.length>0&&this.pushEvent("insert_cell_below",{type:e,section_id:i[0]})}},setFocusedEl(t,{scroll:e=!0,focusElement:i=!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 r=this.getSectionIdByFocusableId(t);r&&this.getSectionById(r).removeAttribute("data-js-collapsed")}let n=this.getFocusableEl(t);i&&(n.querySelector("[data-el-cell-body]")||n.querySelector("[data-el-heading]")||n).focus({preventScroll:!0})}at.broadcast("navigation:focus_changed",{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"),at.broadcast("navigation:insert_mode_changed",{enabled:t})},handleViewsClick(t){let e=t.target.closest("[data-el-view-toggle]");if(e){let i=e.getAttribute("data-el-view-toggle");this.toggleView(i)}},toggleView(t){t===this.view?(this.unsetView(),t==="custom"&&this.customViewSettingsSubscription.destroy()):t==="code-zen"?this.setView(t,{showSection:!1,showMarkdown:!1,showCode:!0,showOutput:!0,spotlight:!1}):t==="presentation"?this.setView(t,{showSection:!0,showMarkdown:!0,showCode:!0,showOutput:!0,spotlight:!0}):t==="custom"&&(this.customViewSettingsSubscription=gt.getAndSubscribe(i=>{this.setView(t,{showSection:i.custom_view_show_section,showMarkdown:i.custom_view_show_markdown,showCode:i.custom_view_show_code,showOutput:i.custom_view_show_output,spotlight:i.custom_view_spotlight})}),this.pushEvent("open_custom_view_settings"));let e=this.focusedId||this.nearbyFocusableId(null,0);if(e){let i=this.ensureVisibleFocusableEl(e);i!==this.focused&&this.setFocusedEl(i,{scroll:!1}),i&&this.getFocusableEl(i).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-code",!e.showCode),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-code"),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),e6(this.focusedCellType())&&this.setInsertMode(!0)},handleCellDeleted(t,e){if(this.cursorHistory.removeAllFromCell(t),this.focusedId===t)if(this.view){let i=this.ensureVisibleFocusableEl(e);this.setFocusedEl(i)}else this.setFocusedEl(e)},handleCellRestored(t){this.setFocusedEl(t)},handleCellMoved(t){this.repositionJSViews(),this.focusedId===t&&at.broadcast("cells:cell_moved",{cellId:t})},handleSectionInserted(t){let i=this.getSectionById(t).querySelector("[data-el-section-headline]"),{focusableId:n}=i.dataset;this.setFocusedEl(n),this.setInsertMode(!0),IR(document.activeElement)},handleSectionDeleted(t){this.focusedId&&!this.getFocusableEl(this.focusedId)&&this.setFocusedEl(null)},handleSectionMoved(t){this.repositionJSViews();let e=this.getSectionById(t);ma(e)},handleClientJoined(t){let e=this.store.get("clients");this.store.set("clients",Ee(Y({},e),{[t.id]:t}))},handleClientLeft(t){let e=this.store.get("clients"),i=e[t];if(i){let[,n]=cm(e,t);this.store.set("clients",n),i.id===this.followedClientId&&(this.followedClientId=null)}},handleClientsUpdated(t){let e=this.store.get("clients"),i=Y({},e);for(let n of t)i[n.id]=n;this.store.set("clients",i)},handleSecretSelected(t,e){at.broadcast(`js_views:${t}:secret_selected`,{secretName:e})},handleLocationReport(t,e){let i=this.store.get("clients")[t];this.lastLocationReportByClientId[t]=e,i&&i.id===this.followedClientId&&e.focusableId!==this.focusedId&&this.setFocusedEl(e.focusableId)},repositionJSViews(){at.broadcast("js_views: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 i=this.getFocusableIds();if(i.length===0)return null;let n=i.indexOf(t);if(n===-1){let r=this.getFocusableEls().find(Dw);return r?r.getAttribute("data-focusable-id"):i[0]}else{let r=RR(n+e,0,i.length-1);return i[r]}},ensureVisibleFocusableEl(t){let e=this.getFocusableEl(t),i=Array.from(this.el.querySelectorAll("[data-focusable-id]")),n=i.indexOf(e),r=[...i.slice(n,-1),...i.slice(0,n).reverse()].find(o=>!vr(o));return r&&r.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=>!vr(t))},getFocusableIds(){return this.getFocusableEls().map(t=>t.getAttribute("data-focusable-id"))},getSectionIdByFocusableId(t){let i=this.getFocusableEl(t).closest("[data-el-section]");return i&&i.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}]`)},jumpToLine(t,e){let[i,n]=t.split("#cell:");this.setFocusedEl(n,{scroll:!1}),this.setInsertMode(!0),at.broadcast(`cells:${n}:jump_to_line`,{line:e})},cursorHistoryGoBack(){if(this.cursorHistory.canGoBack()){let{cellId:t,line:e,offset:i}=this.cursorHistory.goBack();this.setFocusedEl(t,{scroll:!1}),this.setInsertMode(!0),at.broadcast(`cells:${t}:jump_to_line`,{line:e,offset:i})}},cursorHistoryGoForward(){if(this.cursorHistory.canGoForward()){let{cellId:t,line:e,offset:i}=this.cursorHistory.goForward();this.setFocusedEl(t,{scroll:!1}),this.setInsertMode(!0),at.broadcast(`cells:${t}:jump_to_line`,{line:e,offset:i})}}},s7=Zse;var Bse={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`}},a7=Bse;var Yse=100,Fse={mounted(){this.props=this.getProps(),this.interval=setInterval(()=>this.updateDOM(),Yse)},updated(){this.props=this.getProps(),this.updateDOM()},destroyed(){clearInterval(this.interval)},getProps(){return Ot(this.el,["start"])},updateDOM(){let e=(Date.now()-new Date(this.props.start))/1e3;this.el.innerHTML=`${e.toFixed(1)}s`}},l7=Fse;var c7="lb_user_data";function u7(t){let e=JSON.stringify(t),i=zR(e);Gse(c7,i,15768e4)}function f7(){let t=Hse(c7);if(t){let e=UR(t);return JSON.parse(e)}else return null}function Hse(t){let e=document.cookie.split("; ").find(i=>i.startsWith(`${t}=`));return e?e.replace(`${t}=`,""):null}function Gse(t,e,i){let n=`${t}=${e};max-age=${i};path=/${lm()}`;document.cookie=n}var Kse={mounted(){this.el.addEventListener("submit",t=>{let e=this.el.user_form_name.value,i=this.el.user_form_hex_color.value;u7({name:e,hex_color:i})})}},h7=Kse;var Jse={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 Ot(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"),i=e.getFullYear().toString(),n=(e.getMonth()+1).toString().padStart(2,"0"),r=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`${i}-${n}-${r}T${o}:${s}:${a}`},datetimeLocalToUtc(t){if(!t)return null;let e=new Date(t),i=e.getUTCFullYear().toString(),n=(e.getUTCMonth()+1).toString().padStart(2,"0"),r=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`${i}-${n}-${r}T${o}:${s}:${a}`}},d7=Jse;var eae={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 Ot(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 i=e.getHours().toString().padStart(2,"0"),n=e.getMinutes().toString().padStart(2,"0"),r=e.getSeconds().toString().padStart(2,"0");return`${i}:${n}:${r}`},timeLocalToUtc(t){if(!t)return null;let e=new Date;e.setHours(...t.split(":"));let i=e.getUTCHours().toString().padStart(2,"0"),n=e.getUTCMinutes().toString().padStart(2,"0"),r=e.getUTCSeconds().toString().padStart(2,"0");return`${i}:${n}:${r}`}},O7=eae;var g7=Xa(m7());var tae={mounted(){this.props=this.getProps(),this.lineHeight=LR(this.el),this.templateEl=co(this.el,"[data-template]"),this.contentEl=co(this.el,"[data-content]"),this.capLines();let t=this.hyperListConfig();this.virtualizedList=new g7.default(this.contentEl,t),this.props.follow&&Cf(this.contentEl)},updated(){this.props=this.getProps(),this.capLines();let t=this.props.follow&&DR(this.contentEl),e=this.hyperListConfig();this.virtualizedList.refresh(this.contentEl,e),t&&Cf(this.contentEl)},getProps(){return Ot(this.el,["max-height","follow","max-lines","ignore-trailing-empty-line"])},hyperListConfig(){let t=this.getLineElements(),e=t.length,i=Math.min(this.props.maxHeight,this.lineHeight*e);return{height:i,total:e,itemHeight:this.lineHeight,generate:n=>{let r=t[n].cloneNode(!0);return r.removeAttribute("id"),r},afterRender:()=>{this.contentEl.scrollWidth>this.contentEl.clientWidth?this.contentEl.style.height=`${i+12}px`:this.contentEl.style.height=`${i}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),[i,...n]=e;n.forEach(r=>r.remove()),i&&(i.innerHTML="...")}}},b7=tae;var iae={mounted(){let t=gt.get(),e=this.el.querySelector('[name="show_section"][value="true"]'),i=this.el.querySelector('[name="show_markdown"][value="true"]'),n=this.el.querySelector('[name="show_code"][value="true"]'),r=this.el.querySelector('[name="show_output"][value="true"]'),o=this.el.querySelector('[name="spotlight"][value="true"]');e.checked=t.custom_view_show_section,i.checked=t.custom_view_show_markdown,n.checked=t.custom_view_show_code,r.checked=t.custom_view_show_output,o.checked=t.custom_view_spotlight,e.addEventListener("change",s=>{gt.update({custom_view_show_section:s.target.checked})}),i.addEventListener("change",s=>{gt.update({custom_view_show_markdown:s.target.checked})}),n.addEventListener("change",s=>{gt.update({custom_view_show_code:s.target.checked})}),r.addEventListener("change",s=>{gt.update({custom_view_show_output:s.target.checked})}),o.addEventListener("change",s=>{gt.update({custom_view_spotlight:s.target.checked})})}},y7=iae;var x7={AppAuth:oT,AudioInput:cT,Cell:t6,CellEditor:nI,Dropzone:rI,EditorSettings:oI,EmojiPicker:WI,FocusOnUpdate:VI,Headline:BI,Highlight:YI,ImageInput:FI,ImageOutput:HI,JSView:i7,KeyboardControl:n7,MarkdownRenderer:r7,ScrollOnUpdate:o7,Session:s7,TextareaAutosize:a7,Timer:l7,UserForm:h7,UtcDateTimeInput:d7,UtcTimeInput:O7,VirtualizedLines:b7,CustomViewSettings:y7};var v7={onBeforeElUpdated(t,e){for(let i of t.attributes)i.name.startsWith("data-js-")&&e.setAttribute(i.name,i.value),i.name==="data-keep-attribute"&&(t.hasAttribute(i.value)?e.setAttribute(i.value,t.getAttribute(i.value)):e.removeAttribute(i.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 yg=Xa(k7());function S7(){yg.default.config({barColors:{0:"#b2c1ff"},shadowColor:"rgba(0, 0, 0, .3)"}),window.addEventListener("phx:page-loading-start",()=>{yg.default.show(500)}),window.addEventListener("phx:page-loading-stop",()=>{yg.default.hide()})}function T7(){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=>{let e=t.detail||{};XR(t.target).then(()=>{hm(t.target,Y({scrollMode:"if-needed",behavior:"smooth",block:"nearest",inline:"nearest"},e))})}),window.addEventListener("phx:lb:exec_js",t=>{let e=t.detail.to||"body";document.querySelectorAll(e).forEach(i=>{window.liveSocket.execJS(i,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']"),i=document.querySelector("#edit-sessions [name='close_all']");e.parentElement.classList.toggle("pointer-events-none",!t),e.parentElement.classList.toggle("opacity-50",!t),i.parentElement.classList.toggle("pointer-events-none",!t),i.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 E7(){let t=/AppleWebKit/.test(navigator.userAgent),e="ontouchstart"in window||navigator.maxTouchPoints>0;if(t&&e){let i=document.querySelector("meta[name='viewport']");i&&(i.content+=", maximum-scale=1.0")}}var U2="confirm-opted-out-ids";function P7(){return ks(U2)||[]}function C7(){window.addEventListener("phx:add_confirm_opt_out_id",t=>{let e=ks(U2)||[],i=t.detail.opt_out_id;e.push(i),za(U2,e)})}function nae(){let t=document.querySelector("meta[name='csrf-token']").getAttribute("content"),e=new eT(window.LIVEBOOK_BASE_URL_PATH+"/live",Ch,{params:i=>({_csrf_token:t,user_data:f7(),app_auth_token:rT(),confirm_opt_out_ids:P7()}),hooks:x7,dom:v7});S7(),T7(),C7(),E7(),gt.getAndSubscribe(i=>{document.body.setAttribute("data-editor-theme",i.editor_theme)}),e.connect(),window.liveSocket=e}if(rae())nae();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="px-5 py-2 font-medium text-sm inline-flex rounded-lg border whitespace-nowrap items-center justify-center gap-1 border-transparent bg-blue-600 text-white hover:bg-blue-700 focus:bg-blue-700"
target="_blank"
>
Open app
</a>
</div>
</div>
</div>
`,t.querySelector("#open-app").href=window.location,document.body.appendChild(t)}function rae(){return document.cookie=`lb_probe_cookie=;path=/${lm()}`,document.cookie.split("; ").some(t=>t.startsWith("lb_probe_cookie="))}
/*! Bundled license information:
topbar/topbar.min.js:
(**
* @license MIT
* topbar 3.0.0
* http://buunguyen.github.io/topbar
* Copyright (c) 2024 Buu Nguyen
*)
*/