(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00bb":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,r){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,r.encryptBlock(i,0);for(var a=0;a=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,o+=24,o>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}function d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],a=i*o+h,c+=a/67108864|0,h=67108863&a}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215,n=0!==o||a!==this.length-1?l[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,a--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var f=c[e],d=h[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modn(d).toString(e);p=p.idivn(d),n=p.isZero()?m+n:l[f-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===t,l=new e(o),c=this.clone();if(u){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),l[s]=a;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],w=8191&b,x=b>>>13,_=0|a[4],D=8191&_,C=_>>>13,k=0|a[5],S=8191&k,E=k>>>13,M=0|a[6],A=8191&M,T=M>>>13,O=0|a[7],j=8191&O,F=O>>>13,N=0|a[8],I=8191&N,P=N>>>13,B=0|a[9],L=8191&B,R=B>>>13,q=0|s[0],$=8191&q,z=q>>>13,U=0|s[1],V=8191&U,H=U>>>13,W=0|s[2],G=8191&W,K=W>>>13,X=0|s[3],Y=8191&X,J=X>>>13,Z=0|s[4],Q=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,le=se>>>13,ce=0|s[8],he=8191&ce,fe=ce>>>13,de=0|s[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,$),i=Math.imul(h,z),i=i+Math.imul(f,$)|0,o=Math.imul(f,z);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,$),i=Math.imul(p,z),i=i+Math.imul(m,$)|0,o=Math.imul(m,z),r=r+Math.imul(h,V)|0,i=i+Math.imul(h,H)|0,i=i+Math.imul(f,V)|0,o=o+Math.imul(f,H)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,$),i=Math.imul(v,z),i=i+Math.imul(y,$)|0,o=Math.imul(y,z),r=r+Math.imul(p,V)|0,i=i+Math.imul(p,H)|0,i=i+Math.imul(m,V)|0,o=o+Math.imul(m,H)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,$),i=Math.imul(w,z),i=i+Math.imul(x,$)|0,o=Math.imul(x,z),r=r+Math.imul(v,V)|0,i=i+Math.imul(v,H)|0,i=i+Math.imul(y,V)|0,o=o+Math.imul(y,H)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(D,$),i=Math.imul(D,z),i=i+Math.imul(C,$)|0,o=Math.imul(C,z),r=r+Math.imul(w,V)|0,i=i+Math.imul(w,H)|0,i=i+Math.imul(x,V)|0,o=o+Math.imul(x,H)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(S,$),i=Math.imul(S,z),i=i+Math.imul(E,$)|0,o=Math.imul(E,z),r=r+Math.imul(D,V)|0,i=i+Math.imul(D,H)|0,i=i+Math.imul(C,V)|0,o=o+Math.imul(C,H)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(A,$),i=Math.imul(A,z),i=i+Math.imul(T,$)|0,o=Math.imul(T,z),r=r+Math.imul(S,V)|0,i=i+Math.imul(S,H)|0,i=i+Math.imul(E,V)|0,o=o+Math.imul(E,H)|0,r=r+Math.imul(D,G)|0,i=i+Math.imul(D,K)|0,i=i+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,ae)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,ae)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(j,$),i=Math.imul(j,z),i=i+Math.imul(F,$)|0,o=Math.imul(F,z),r=r+Math.imul(A,V)|0,i=i+Math.imul(A,H)|0,i=i+Math.imul(T,V)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(S,G)|0,i=i+Math.imul(S,K)|0,i=i+Math.imul(E,G)|0,o=o+Math.imul(E,K)|0,r=r+Math.imul(D,Y)|0,i=i+Math.imul(D,J)|0,i=i+Math.imul(C,Y)|0,o=o+Math.imul(C,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,ae)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(I,$),i=Math.imul(I,z),i=i+Math.imul(P,$)|0,o=Math.imul(P,z),r=r+Math.imul(j,V)|0,i=i+Math.imul(j,H)|0,i=i+Math.imul(F,V)|0,o=o+Math.imul(F,H)|0,r=r+Math.imul(A,G)|0,i=i+Math.imul(A,K)|0,i=i+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,r=r+Math.imul(S,Y)|0,i=i+Math.imul(S,J)|0,i=i+Math.imul(E,Y)|0,o=o+Math.imul(E,J)|0,r=r+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,ae)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,$),i=Math.imul(L,z),i=i+Math.imul(R,$)|0,o=Math.imul(R,z),r=r+Math.imul(I,V)|0,i=i+Math.imul(I,H)|0,i=i+Math.imul(P,V)|0,o=o+Math.imul(P,H)|0,r=r+Math.imul(j,G)|0,i=i+Math.imul(j,K)|0,i=i+Math.imul(F,G)|0,o=o+Math.imul(F,K)|0,r=r+Math.imul(A,Y)|0,i=i+Math.imul(A,J)|0,i=i+Math.imul(T,Y)|0,o=o+Math.imul(T,J)|0,r=r+Math.imul(S,Q)|0,i=i+Math.imul(S,ee)|0,i=i+Math.imul(E,Q)|0,o=o+Math.imul(E,ee)|0,r=r+Math.imul(D,ne)|0,i=i+Math.imul(D,re)|0,i=i+Math.imul(C,ne)|0,o=o+Math.imul(C,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,ae)|0,i=i+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(L,V),i=Math.imul(L,H),i=i+Math.imul(R,V)|0,o=Math.imul(R,H),r=r+Math.imul(I,G)|0,i=i+Math.imul(I,K)|0,i=i+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(j,Y)|0,i=i+Math.imul(j,J)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,J)|0,r=r+Math.imul(A,Q)|0,i=i+Math.imul(A,ee)|0,i=i+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(S,ne)|0,i=i+Math.imul(S,re)|0,i=i+Math.imul(E,ne)|0,o=o+Math.imul(E,re)|0,r=r+Math.imul(D,oe)|0,i=i+Math.imul(D,ae)|0,i=i+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(x,ue)|0,o=o+Math.imul(x,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,G),i=Math.imul(L,K),i=i+Math.imul(R,G)|0,o=Math.imul(R,K),r=r+Math.imul(I,Y)|0,i=i+Math.imul(I,J)|0,i=i+Math.imul(P,Y)|0,o=o+Math.imul(P,J)|0,r=r+Math.imul(j,Q)|0,i=i+Math.imul(j,ee)|0,i=i+Math.imul(F,Q)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(A,ne)|0,i=i+Math.imul(A,re)|0,i=i+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(S,oe)|0,i=i+Math.imul(S,ae)|0,i=i+Math.imul(E,oe)|0,o=o+Math.imul(E,ae)|0,r=r+Math.imul(D,ue)|0,i=i+Math.imul(D,le)|0,i=i+Math.imul(C,ue)|0,o=o+Math.imul(C,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(x,he)|0,o=o+Math.imul(x,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,Y),i=Math.imul(L,J),i=i+Math.imul(R,Y)|0,o=Math.imul(R,J),r=r+Math.imul(I,Q)|0,i=i+Math.imul(I,ee)|0,i=i+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,r=r+Math.imul(j,ne)|0,i=i+Math.imul(j,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(A,oe)|0,i=i+Math.imul(A,ae)|0,i=i+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(S,ue)|0,i=i+Math.imul(S,le)|0,i=i+Math.imul(E,ue)|0,o=o+Math.imul(E,le)|0,r=r+Math.imul(D,he)|0,i=i+Math.imul(D,fe)|0,i=i+Math.imul(C,he)|0,o=o+Math.imul(C,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(x,pe)|0,o=o+Math.imul(x,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,Q),i=Math.imul(L,ee),i=i+Math.imul(R,Q)|0,o=Math.imul(R,ee),r=r+Math.imul(I,ne)|0,i=i+Math.imul(I,re)|0,i=i+Math.imul(P,ne)|0,o=o+Math.imul(P,re)|0,r=r+Math.imul(j,oe)|0,i=i+Math.imul(j,ae)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,ae)|0,r=r+Math.imul(A,ue)|0,i=i+Math.imul(A,le)|0,i=i+Math.imul(T,ue)|0,o=o+Math.imul(T,le)|0,r=r+Math.imul(S,he)|0,i=i+Math.imul(S,fe)|0,i=i+Math.imul(E,he)|0,o=o+Math.imul(E,fe)|0,r=r+Math.imul(D,pe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(C,pe)|0,o=o+Math.imul(C,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,ne),i=Math.imul(L,re),i=i+Math.imul(R,ne)|0,o=Math.imul(R,re),r=r+Math.imul(I,oe)|0,i=i+Math.imul(I,ae)|0,i=i+Math.imul(P,oe)|0,o=o+Math.imul(P,ae)|0,r=r+Math.imul(j,ue)|0,i=i+Math.imul(j,le)|0,i=i+Math.imul(F,ue)|0,o=o+Math.imul(F,le)|0,r=r+Math.imul(A,he)|0,i=i+Math.imul(A,fe)|0,i=i+Math.imul(T,he)|0,o=o+Math.imul(T,fe)|0,r=r+Math.imul(S,pe)|0,i=i+Math.imul(S,me)|0,i=i+Math.imul(E,pe)|0,o=o+Math.imul(E,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(L,oe),i=Math.imul(L,ae),i=i+Math.imul(R,oe)|0,o=Math.imul(R,ae),r=r+Math.imul(I,ue)|0,i=i+Math.imul(I,le)|0,i=i+Math.imul(P,ue)|0,o=o+Math.imul(P,le)|0,r=r+Math.imul(j,he)|0,i=i+Math.imul(j,fe)|0,i=i+Math.imul(F,he)|0,o=o+Math.imul(F,fe)|0,r=r+Math.imul(A,pe)|0,i=i+Math.imul(A,me)|0,i=i+Math.imul(T,pe)|0,o=o+Math.imul(T,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,ue),i=Math.imul(L,le),i=i+Math.imul(R,ue)|0,o=Math.imul(R,le),r=r+Math.imul(I,he)|0,i=i+Math.imul(I,fe)|0,i=i+Math.imul(P,he)|0,o=o+Math.imul(P,fe)|0,r=r+Math.imul(j,pe)|0,i=i+Math.imul(j,me)|0,i=i+Math.imul(F,pe)|0,o=o+Math.imul(F,me)|0;var je=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(L,he),i=Math.imul(L,fe),i=i+Math.imul(R,he)|0,o=Math.imul(R,fe),r=r+Math.imul(I,pe)|0,i=i+Math.imul(I,me)|0,i=i+Math.imul(P,pe)|0,o=o+Math.imul(P,me)|0;var Fe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,r=Math.imul(L,pe),i=Math.imul(L,me),i=i+Math.imul(R,pe)|0,o=Math.imul(R,me);var Ne=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=xe,u[6]=_e,u[7]=De,u[8]=Ce,u[9]=ke,u[10]=Se,u[11]=Ee,u[12]=Me,u[13]=Ae,u[14]=Te,u[15]=Oe,u[16]=je,u[17]=Fe,u[18]=Ne,0!==l&&(u[19]=l,n.length++),n};function m(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=a>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function g(e,t,n){var r=new v;return r.mulp(e,t,n)}function v(e,t){this.x=e,this.y=t}Math.imul||(p=d),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?p(this,e,t):r<63?d(this,e,t):r<1024?m(this,e,t):g(this,e,t),n},v.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},v.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=f(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&s}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,a=0|i.words[i.length-1],s=this._countBits(a);n=26-s,0!==n&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),a=new o(0),s=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(h)),i.iushrn(1),a.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(s.isOdd()||u.isOdd())&&(s.iadd(c),u.isub(h)),s.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(u)):(n.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,a=new o(1),s=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return i=0===t.cmpn(1)?a:s,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function x(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function D(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(w,b),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new x;else if("p192"===e)t=new _;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new D}return y[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),a=0;while(!i.isZero()&&0===i.andln(1))a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=a;while(0!==d.cmp(s)){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;a!==r[0]&&(a=this.sqr(a)),0!==f||0!==s?(s<<=1,s|=f,u++,(u===n||0===i&&0===h)&&(a=this.mul(a,r[s]),u=0,s=0)):u=0}l=26}return a},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,C),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},k.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"0145":function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},"0184":function(e,t,n){"use strict";var r=n("da3e");function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;while(tu)r(s,n=t[u++])&&(~o(l,n)||l.push(n));return l}},"03e2":function(e,t,n){"use strict";var r=n("74b3"),i=n("d779"),o=n("0f22"),a=n("76da");function s(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}var u=function(e){e=e||{};var t,n=e.SecretId,r=e.SecretKey,o=e.KeyTime,a=(e.method||e.Method||"get").toLowerCase(),u=v(e.Query||e.params||{}),l=v(e.Headers||e.headers||{}),c=e.Key||"";if(e.UseRawKey?t=e.Pathname||e.pathname||"/"+c:(t=e.Pathname||e.pathname||c,0!==t.indexOf("/")&&(t="/"+t)),!n)return console.error("missing param SecretId");if(!r)return console.error("missing param SecretKey");var h=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t.sort((function(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),e===t?0:e>t?1:-1}))},f=function(e){var t,n,r,i=[],o=h(e);for(t=0;tparseInt(t[n])?1:-1;return 0},t=function(t){var n=(t.match(/Chrome\/([.\d]+)/)||[])[1],r=(t.match(/QBCore\/([.\d]+)/)||[])[1],i=(t.match(/QQBrowser\/([.\d]+)/)||[])[1],o=n&&e(n,"53.0.2785.116")<0&&r&&e(r,"3.53.991.400")<0&&i&&e(i,"9.0.2524.400")<=0||!1;return o};return t(navigator&&navigator.userAgent)}(),d=function(e,t,n,r,i){var o;if(e.slice?o=e.slice(t,n):e.mozSlice?o=e.mozSlice(t,n):e.webkitSlice&&(o=e.webkitSlice(t,n)),r&&f){var a=new FileReader;a.onload=function(e){o=null,i(new Blob([a.result]))},a.readAsArrayBuffer(o)}else i(o)},p=function(e,t,n,r){n=n||l,e?"string"===typeof t?n(F.md5(t,!0)):Blob&&t instanceof Blob?F.getFileMd5(t,(function(e,t){n(t)}),r):n():n()},m=1048576,g=function(e,t,n){var i=e.size,o=0,a=r.getCtx(),s=function(r){if(r>=i){var u=a.digest("hex");t(null,u)}else{var l=Math.min(i,r+m);F.fileSlice(e,r,l,!1,(function(e){h(e,(function(t){e=null,a=a.update(t,!0),o+=t.length,t=null,n&&n({loaded:o,total:i,percent:Math.round(o/i*1e4)/1e4}),s(r+m)}))}))}};s(0)};function v(e){return D(e,(function(e){return"object"===typeof e?v(e):e}))}function y(e,t){return _(t,(function(n,r){e[r]=t[r]})),e}function b(e){return e instanceof Array}function w(e,t){for(var n=!1,r=0;r-1||"deleteMultipleObject"===e||"multipartList"===e||"listObjectVersions"===e){if(!n)return"Bucket";if(!r)return"Region"}else if(e.indexOf("Object")>-1||e.indexOf("multipart")>-1||"sliceUploadFile"===e||"abortUploadTask"===e){if(!n)return"Bucket";if(!r)return"Region";if(!i)return"Key"}return!1},M=function(e,t){if(t=y({},t),"getAuth"!==e&&"getV4Auth"!==e&&"getObjectUrl"!==e){var n=t.Headers||{};if(t&&"object"===typeof t){(function(){for(var e in t)t.hasOwnProperty(e)&&e.indexOf("x-cos-")>-1&&(n[e]=t[e])})();var r={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext"};F.each(r,(function(e,r){void 0!==t[e]&&(n[r]=t[e])})),t.Headers=c(n)}}return t},A=function(e,t){return function(n,r){"function"===typeof n&&(r=n,n={}),n=M(e,n);var i=function(e){return e&&e.headers&&(e.headers["x-cos-version-id"]&&(e.VersionId=e.headers["x-cos-version-id"]),e.headers["x-cos-delete-marker"]&&(e.DeleteMarker=e.headers["x-cos-delete-marker"])),e},o=function(e,t){r&&r(i(e),i(t))};if("getService"!==e&&"abortUploadTask"!==e){var a;if(a=E(e,n))return void o({error:"missing param "+a});if(n.Region){if(n.Region.indexOf("cos.")>-1)return void o({error:'param Region should not be start with "cos."'});if(!/^([a-z\d-]+)$/.test(n.Region))return void o({error:"Region format error."});this.options.CompatibilityMode||-1!==n.Region.indexOf("-")||"yfb"===n.Region||"default"===n.Region||console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(n.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(n.Bucket))if(n.AppId)n.Bucket=n.Bucket+"-"+n.AppId;else{if(!this.options.AppId)return void o({error:'Bucket should format as "test-1250000000".'});n.Bucket=n.Bucket+"-"+this.options.AppId}n.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete n.AppId)}!this.options.UseRawKey&&n.Key&&"/"===n.Key.substr(0,1)&&(n.Key=n.Key.substr(1))}var s=t.call(this,n,o);if("getAuth"===e||"getObjectUrl"===e)return s}},T=function(e,t){var n,r,i=this,o=0,a=0,s=Date.now();function u(){if(r=0,t&&"function"===typeof t){n=Date.now();var i,u=Math.max(0,Math.round((a-o)/((n-s)/1e3)*100)/100);i=0===a&&0===e?1:Math.round(a/e*100)/100||0,s=n,o=a;try{t({loaded:a,total:e,speed:u,percent:i})}catch(l){}}}return function(t,n){if(t&&(a=t.loaded,e=t.total),n)clearTimeout(r),u();else{if(r)return;r=setTimeout(u,i.options.ProgressInterval)}}},O=function(e,t,n){var r;"string"===typeof t.Body&&(t.Body=new Blob([t.Body],{type:"text/plain"})),t.Body&&(t.Body instanceof Blob||"[object File]"===t.Body.toString()||"[object Blob]"===t.Body.toString())?(r=t.Body.size,t.ContentLength=r,n(null,r)):n({error:"params body format error, Only allow File|Blob|String."})},j=function(e){return Date.now()+(e||0)},F={noop:l,formatParams:M,apiWrapper:A,xml2json:o,json2xml:a,md5:r,clearKey:c,fileSlice:d,getBodyMd5:p,getFileMd5:g,binaryBase64:k,extend:y,isArray:b,isInArray:w,makeArray:x,each:_,map:D,filter:C,clone:v,uuid:S,camSafeUrlEncode:s,throttleOnProgress:T,getFileSize:O,getSkewTime:j,getAuth:u,isBrowser:!0};e.exports=F},"051a":function(e,t,n){var r=s(n("64b2")),i=u(r);t.XML=d(r,i);var o=s(n("f0f2")),a=u(o);function s(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function u(e){var t=[],n=[];return Object.keys(e).forEach((function(e){1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.HTML=d(o,a);var l=/[^\0-\x7F]/g,c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function h(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function f(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=1024*(t-55296)+n-56320+65536;return"&#x"+r.toString(16).toUpperCase()+";"}function d(e,t){function n(t){return e[t]}return function(e){return e.replace(t,n).replace(c,f).replace(l,h)}}var p=u(r);function m(e){return e.replace(p,h).replace(c,f).replace(l,h)}t.escape=m},"051b":function(e,t,n){var r=n("1a14"),i=n("10db");e.exports=n("0bad")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"057f":function(e,t,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},"05f0":function(e,t,n){"use strict";var r=n("d113").codes.ERR_INVALID_OPT_VALUE;function i(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}function o(e,t,n,o){var a=i(t,o,n);if(null!=a){if(!isFinite(a)||Math.floor(a)!==a||a<0){var s=o?n:"highWaterMark";throw new r(s,a)}return Math.floor(a)}return e.objectMode?16:16384}e.exports={getHighWaterMark:o}},"05f5":function(e,t,n){var r=n("7a41"),i=n("ef08").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"0632":function(e,t,n){ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ var r=n("b639"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},"06cf":function(e,t,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),u=n("5135"),l=n("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),l)try{return c(e,t)}catch(n){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},"072d":function(e,t,n){"use strict";var r=n("0bad"),i=n("9876"),o=n("fed5"),a=n("1917"),s=n("0983"),u=n("9fbb"),l=Object.assign;e.exports=!l||n("4b8b")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){var n=s(e),l=arguments.length,c=1,h=o.f,f=a.f;while(l>c){var d,p=u(arguments[c++]),m=h?i(p).concat(h(p)):i(p),g=m.length,v=0;while(g>v)d=m[v++],r&&!f.call(p,d)||(n[d]=p[d])}return n}:l},"07f2":function(e,t,n){"use strict";var r=n("c3c0"),i=n("6eed");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},"087f":function(e,t,n){var r=n("3fb5"),i=n("b672"),o=n("8707").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function l(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function h(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t=this._w,n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,u=0;u<16;++u)t[u]=e.readInt32BE(4*u);for(;u<80;++u)t[u]=t[u-3]^t[u-8]^t[u-14]^t[u-16];for(var f=0;f<80;++f){var d=~~(f/20),p=l(n)+h(d,r,i,o)+s+t[f]+a[d]|0;s=o,o=i,i=c(r),r=n,n=p}this._a=n+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0},u.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},"0960":function(e,t,n){e.exports=n("b19a")},"0983":function(e,t,n){var r=n("c901");e.exports=function(e){return Object(r(e))}},"09dc":function(e,t,n){"use strict";e.exports=c;var r=n("9d8a").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,u=n("e666");function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length=0;i--)t===r[i]&&r.splice(i,1)},e.emit=function(e,t){for(var r=n(e).map((function(e){return e})),i=0;il)u.call(e,a=s[l++])&&t.push(a)}return t}},"0ae3":function(e,t,n){"use strict";e.exports=i;var r=n("09dc");function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n("3fb5")(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},"0b99":function(e,t,n){"use strict";var r=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0be8":function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},"0bfb":function(e,t,n){var r,i,o,a,s=!1,u=!1,l=n("115b")("parse"),c=n("c415");function h(e,t){var n,s;t||(t={}),r=!!t.comments,o=!!t.position,i=0,a=Array.isArray(e)?e.slice():c(e);var h,f=[];u&&(n=Date.now());while(h=d())s=x(h),s&&f.push(s);return u&&l("ran in",Date.now()-n+"ms"),{type:"stylesheet",stylesheet:{rules:f}}}function f(e,t){var n;t||(t={});for(var r=["type","name","value"],i={},a=0;au&&(l=l.slice(0,u)),e?c+l:l+c)}};e.exports={start:s(!1),end:s(!0)}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d3b":function(e,t,n){var r=n("d039"),i=n("b622"),o=n("c430"),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0da4":function(e,t,n){"use strict";var r=n("da3e"),i=n("3fb5"),o={};function a(e){r.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t-1}function Ye(e,t){var n=this.__data__,r=dt(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function Je(e){var t=-1,n=e?e.length:0;this.clear();while(++tl))return!1;var h=o.get(e);if(h&&o.get(t))return h==t;var f=-1,d=!0,p=i&a?new rt:void 0;o.set(e,t),o.set(t,e);while(++f-1&&e%1==0&&e-1&&e%1==0&&e<=l}function cn(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function hn(e){return!!e&&"object"==typeof e}function fn(e){return"symbol"==typeof e||hn(e)&&ye.call(e)==C}var dn=ee?oe(ee):kt;function pn(e){return null==e?"":Ot(e)}function mn(e,t,n){var r=null==e?void 0:yt(e,t);return void 0===r?n:r}function gn(e,t){return null!=e&&zt(e,t,wt)}function vn(e){return an(e)?ft(e):Et(e)}function yn(e){return e}function bn(e){return Vt(e)?re(Jt(e)):Tt(e)}n.exports=Qt}).call(this,n("c8ba"),n("62e4")(e))},"0db5":function(e,t,n){var r,i,o=n("03e2"),a="cos_sdk_upload_cache",s=2592e3,u=function(){if(!r){r=JSON.parse(localStorage.getItem(a)||"[]")||[];for(var e=!1,t=Math.round(Date.now()/1e3),n=r.length-1;n>=0;n--){var i=r[n][2];(!i||i+s=0;i--){var o=r[i];o[0]===e&&o[1]===t&&r.splice(i,1)}r.unshift([e,t,Math.round(Date.now()/1e3)]),r.length>n&&r.splice(n),l()}},removeUploadId:function(e){u(),delete c.using[e];for(var t=r.length-1;t>=0;t--)r[t][1]===e&&r.splice(t,1);l()}};e.exports=c},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e15":function(e,t,n){var r=n("597f");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},"0f22":function(e,t,n){var r=n("29d8").DOMParser,i=function(){this.version="1.3.5";var e={mergeCDATA:!0,normalize:!0,stripElemPrefix:!0},t=new RegExp(/(?!xmlns)^.*:/);new RegExp(/^\s+|\s+$/g);return this.grokType=function(e){return/^\s*$/.test(e)?null:/^(?:true|false)$/i.test(e)?"true"===e.toLowerCase():isFinite(e)?parseFloat(e):e},this.parseString=function(e,t){if(e){var n=this.stringToXML(e);return n.getElementsByTagName("parsererror").length?null:this.parseXML(n,t)}return null},this.parseXML=function(n,r){for(var o in r)e[o]=r[o];var a={},s=0,u="",l=n.childNodes.length;if(l)for(var c,h,f,d=0;d=t.length){o++;break}var a=t.slice(2,i-1);if(("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++,a.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}function d(e,t){e=c.from(e),t=c.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;while(++id||new a(t).cmp(u.modulus)>=0)throw new Error("decryption error");o=n?l(new a(t),u):s(t,u);var p=c.alloc(d-o.length);if(o=c.concat([p,o],d),4===i)return h(u,o);if(1===i)return f(u,o,n);if(3===i)return o;throw new Error("unknown padding")}},"0f7c":function(e,t,n){},"0f94":function(e,t,n){var r=e.exports;[n("68b4"),n("26f9"),n("7a39"),n("733c"),n("9f20"),n("f67e")].forEach((function(e){Object.keys(e).forEach((function(t){r[t]=e[t].bind(r)}))}))},"0fae":function(e,t,n){},1098:function(e,t,n){"use strict";t.__esModule=!0;var r=n("17ed"),i=u(r),o=n("f893"),a=u(o),s="function"===typeof a.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function u(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===s(i.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"10b7":function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){ /** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ return function(t){var n=e,r=n.lib,i=r.WordArray,o=r.Hasher,a=n.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=i.create([0,1518500249,1859775393,2400959708,2840853838]),f=i.create([1352829926,1548603684,1836072691,2053994217,0]),d=a.RIPEMD160=o.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,a,d,w,x,_,D,C,k,S,E,M=this._hash.words,A=h.words,T=f.words,O=s.words,j=u.words,F=l.words,N=c.words;_=o=M[0],D=a=M[1],C=d=M[2],k=w=M[3],S=x=M[4];for(n=0;n<80;n+=1)E=o+e[t+O[n]]|0,E+=n<16?p(a,d,w)+A[0]:n<32?m(a,d,w)+A[1]:n<48?g(a,d,w)+A[2]:n<64?v(a,d,w)+A[3]:y(a,d,w)+A[4],E|=0,E=b(E,F[n]),E=E+x|0,o=x,x=w,w=b(d,10),d=a,a=E,E=_+e[t+j[n]]|0,E+=n<16?y(D,C,k)+T[0]:n<32?v(D,C,k)+T[1]:n<48?g(D,C,k)+T[2]:n<64?m(D,C,k)+T[3]:p(D,C,k)+T[4],E|=0,E=b(E,N[n]),E=E+S|0,_=S,S=k,k=b(C,10),C=D,D=E;E=M[1]+d+k|0,M[1]=M[2]+w+S|0,M[2]=M[3]+x+_|0,M[3]=M[4]+o+D|0,M[4]=M[0]+a+C|0,M[0]=E},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,a=0;a<5;a++){var s=o[a];o[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function v(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function b(e,t){return e<>>32-t}n.RIPEMD160=o._createHelper(d),n.HmacRIPEMD160=o._createHmacHelper(d)}(Math),e.RIPEMD160}))},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"111b":function(e,t,n){(function(e){e(n("56b3"),n("7b00"))})((function(e){"use strict";var t={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1,not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};e.registerHelper("hint","css",(function(n){var r=n.getCursor(),i=n.getTokenAt(r),o=e.innerMode(n.getMode(),i.state);if("css"==o.mode.name){if("keyword"==i.type&&0=="!important".indexOf(i.string))return{list:["!important"],from:e.Pos(r.line,i.start),to:e.Pos(r.line,i.end)};var a=i.start,s=r.ch,u=i.string.slice(0,s-a);/[^\w$_-]/.test(u)&&(u="",a=s=r.ch);var l=e.resolveMode("text/css"),c=[],h=o.state.state;return"pseudo"==h||"variable-3"==i.type?f(t):"block"==h||"maybeprop"==h?f(l.propertyKeywords):"prop"==h||"parens"==h||"at"==h||"params"==h?(f(l.valueKeywords),f(l.colorKeywords)):"media"!=h&&"media_parens"!=h||(f(l.mediaTypes),f(l.mediaFeatures)),c.length?{list:c,from:e.Pos(r.line,a),to:e.Pos(r.line,s)}:void 0}function f(e){for(var t in e)u&&0!=t.lastIndexOf(u,0)||c.push(t)}}))}))},1132:function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.enc;i.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o>>2]>>>24-o%4*8&255,s=t[o+1>>>2]>>>24-(o+1)%4*8&255,u=t[o+2>>>2]>>>24-(o+2)%4*8&255,l=a<<16|s<<8|u,c=0;c<4&&o+.75*c>>6*(3-c)&63));var h=r.charAt(64);if(h)while(i.length%4)i.push(h);return i.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var i=0;i>>6-a%4*2,l=s|u;i[o>>>2]|=l<<24-o%4*8,o++}return r.create(i,o)}}(),e.enc.Base64}))},1148:function(e,t,n){"use strict";var r=n("a691"),i=n("1d80");e.exports="".repeat||function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},"115b":function(e,t,n){(function(t){function n(e){return r.bind(null,e)}function r(e){var n=[].slice.call(arguments,1);n.unshift("["+e+"]"),t.stderr.write(n.join(" ")+"\n")}e.exports=n}).call(this,n("4362"))},"116d":function(e,t,n){e.exports=n("b4e8")},"11dc":function(e,t,n){"use strict";(function(t,r){var i=65536,o=4294967295;function a(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var s=n("8707").Buffer,u=t.crypto||t.msCrypto;function l(e,t){if(e>o)throw new RangeError("requested too many random bytes");var n=s.allocUnsafe(e);if(e>0)if(e>i)for(var a=0;a1||"".split(/.?/).length?function(e,n){var r=String(a(this)),o=void 0===n?m:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,o);var s,u,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,g=new RegExp(e.source,f+"g");while(s=h.call(g,r)){if(u=g.lastIndex,u>p&&(c.push(r.slice(p,s.index)),s.length>1&&s.index=o))break;g.lastIndex===s.index&&g.lastIndex++}return p===r.length?!l&&g.test("")||c.push(""):c.push(r.slice(p)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=a(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var h=o(e),f=String(this),d=s(h,RegExp),v=h.unicode,y=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(g?"y":"g"),b=new d(g?h:"^(?:"+h.source+")",y),w=void 0===i?m:i>>>0;if(0===w)return[];if(0===f.length)return null===c(b,f)?[f]:[];var x=0,_=0,D=[];while(_>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var o=t.words,a=o[0],s=o[1],u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=u>>>16|4294901760&c,f=c<<16|65535&u;i[0]^=u,i[1]^=h,i[2]^=c,i[3]^=f,i[4]^=u,i[5]^=h,i[6]^=c,i[7]^=f;for(n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,o=r>>>16,u=((i*i>>>17)+i*o>>>15)+o*o,l=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=u^l}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=r._createHelper(u)}(),e.Rabbit}))},"13ca":function(e,t){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",a=/^(?:0|[1-9]\d*)$/;function s(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function u(e,t){var n=-1,r=Array(e);while(++n1?n[i-1]:void 0,a=i>2?n[2]:void 0;o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&_(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);while(++r-1&&e%1==0&&e-1&&e%1==0&&e<=n}function j(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function F(e){return!!e&&"object"==typeof e}var N=w((function(e,t,n,r){b(t,P(t),e,r)})),I=y((function(e){return e.push(void 0,m),s(N,void 0,e)}));function P(e){return M(e)?p(e,!0):v(e)}e.exports=I},"13e2":function(e,t,n){"use strict";var r=n("c3c0"),i=n("edc9"),o=n("aa56"),a=r.rotl32,s=r.sum32,u=r.sum32_5,l=o.ft_1,c=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(f,c),e.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r1?arguments[1]:void 0)}},"17e1":function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,n=t.lib,r=n.WordArray,i=r.init,o=r.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r>>2]|=e[r]<<24-r%4*8;i.call(this,n,t)}else i.apply(this,arguments)};o.prototype=r}}(),e.lib.WordArray}))},"17ed":function(e,t,n){e.exports={default:n("511f"),__esModule:!0}},1836:function(e,t,n){var r=n("6ca1"),i=n("6438").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},1880:function(e,t,n){var r=n("4d1e"),i=n("e282"),o={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};function a(e,t){if(e){var n,r="";for(var o in e)n=e[o],r&&(r+=" "),r+=o,(null!==n&&""!==n||t.xmlMode)&&(r+='="'+(t.decodeEntities?i.encodeXML(n):n)+'"');return r}}var s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},u=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",i=0;i",e.children&&(n+=u(e.children,t)),s[e.name]&&!t.xmlMode||(n+="")):n+="/>",n}function c(e){return"<"+e.data+">"}function h(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in o||(n=i.encodeXML(n)),n}function f(e){return""}function d(e){return"\x3c!--"+e.data+"--\x3e"}},"18a5":function(e,t,n){"use strict";var r=n("23e7"),i=n("857a"),o=n("af03");r({target:"String",proto:!0,forced:o("anchor")},{anchor:function(e){return i(this,"a","name",e)}})},1917:function(e,t){t.f={}.propertyIsEnumerable},"191b":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("94f8"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.algo,o=i.SHA256,a=i.SHA224=o.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=o._createHelper(a),t.HmacSHA224=o._createHmacHelper(a)}(),e.SHA224}))},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"19ea":function(e,t,n){"use strict";(function(t,r){function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){H(t,e)}}var o;e.exports=M,M.WritableState=E;var a={deprecate:n("b7d1")},s=n("5bbb"),u=n("b639").Buffer,l=t.Uint8Array||function(){};function c(e){return u.from(e)}function h(e){return u.isBuffer(e)||e instanceof l}var f,d=n("493f"),p=n("b9b5"),m=p.getHighWaterMark,g=n("9d8a").codes,v=g.ERR_INVALID_ARG_TYPE,y=g.ERR_METHOD_NOT_IMPLEMENTED,b=g.ERR_MULTIPLE_CALLBACK,w=g.ERR_STREAM_CANNOT_PIPE,x=g.ERR_STREAM_DESTROYED,_=g.ERR_STREAM_NULL_VALUES,D=g.ERR_STREAM_WRITE_AFTER_END,C=g.ERR_UNKNOWN_ENCODING,k=d.errorOrDestroy;function S(){}function E(e,t,r){o=o||n("e666"),e=e||{},"boolean"!==typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=m(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){P(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function M(e){o=o||n("e666");var t=this instanceof o;if(!t&&!f.call(M,this))return new M(e);this._writableState=new E(e,this,t),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),s.call(this)}function A(e,t){var n=new D;k(e,n),r.nextTick(t,n)}function T(e,t,n,i){var o;return null===n?o=new _:"string"===typeof n||t.objectMode||(o=new v("chunk",["string","Buffer"],n)),!o||(k(e,o),r.nextTick(i,o),!1)}function O(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=u.from(t,n)),t}function j(e,t,n,r,i,o){if(!n){var a=O(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length-1))throw new C(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(e,t,n){n(new y("_write()"))},M.prototype._writev=null,M.prototype.end=function(e,t,n){var r=this._writableState;return"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||V(this,r,n),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),M.prototype.destroy=d.destroy,M.prototype._undestroy=d.undestroy,M.prototype._destroy=function(e,t){t(e)}}).call(this,n("c8ba"),n("4362"))},"19fa":function(e,t,n){var r=n("fc5e"),i=n("c901");e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536)}}},"1a14":function(e,t,n){var r=n("77e9"),i=n("faf5"),o=n("3397"),a=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1a2a":function(e,t,n){"use strict";var r=n("3fb5"),i=n("d424"),o=n("6430"),a=n("8707").Buffer,s=n("5a76"),u=n("b5ca"),l=n("69f2"),c=a.alloc(128);function h(e,t){o.call(this,"digest"),"string"===typeof t&&(t=a.from(t));var n="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>n){var r="rmd160"===e?new u:l(e);t=r.update(t).digest()}else t.lengthv)return t(null,!1);if(n>1){var r=Math.max(e[0].Size,e[1].Size);if(r!==g)return t(null,!1)}var i=function(r){if(r=o.length)_.emit("has_and_check_upload_id",t);else{var i=o[e];if(!a.isInArray(t,i))return r.removeUploadId(i),void l(e+1);r.using[i]?l(e+1):c.call(d,{Bucket:s,Region:u,Key:h,UploadId:i},(function(t,o){d._isRunningTask(n)&&(t?(r.removeUploadId(i),l(e+1)):_.emit("upload_id_available",{UploadId:i,PartList:o.PartList}))}))}};l(0)}else _.emit("has_and_check_upload_id",t)})),_.on("get_remote_upload_id_list",(function(t){l.call(d,{Bucket:s,Region:u,Key:h},(function(t,i){if(d._isRunningTask(n)){if(t)return _.emit("error",t);var o=a.filter(i.UploadList,(function(e){return e.Key===h&&(!f||e.StorageClass.toUpperCase()===f.toUpperCase())})).reverse().map((function(e){return e.UploadId||e.UploadID}));if(o.length)_.emit("seek_local_avail_upload_id",o);else{var u,l=r.getFileId(e.Body,e.ChunkSize,s,h);l&&(u=r.getUploadIdList(l))&&a.each(u,(function(e){r.removeUploadId(e)})),_.emit("no_available_upload_id")}}}))})),_.emit("get_remote_upload_id_list")}function l(e,t){var n=this,r=[],i={Bucket:e.Bucket,Region:e.Region,Prefix:e.Key},o=function(){n.multipartList(i,(function(e,n){if(e)return t(e);r.push.apply(r,n.Upload||[]),"true"===n.IsTruncated?(i.KeyMarker=n.NextKeyMarker,i.UploadIdMarker=n.NextUploadIdMarker,o()):t(null,{UploadList:r})}))};o()}function c(e,t){var n=this,r=[],i={Bucket:e.Bucket,Region:e.Region,Key:e.Key,UploadId:e.UploadId},o=function(){n.multipartListPart(i,(function(e,n){if(e)return t(e);r.push.apply(r,n.Part||[]),"true"===n.IsTruncated?(i.PartNumberMarker=n.NextPartNumberMarker,o()):t(null,{PartList:r})}))};o()}function h(e,t){var n=this,r=e.TaskId,o=e.Bucket,s=e.Region,u=e.Key,l=e.UploadData,c=e.FileSize,h=e.SliceSize,d=Math.min(e.AsyncLimit||n.options.ChunkParallelLimit||1,256),p=e.Body,m=Math.ceil(c/h),g=0,v=e.ServerSideEncryption,y=a.filter(l.PartList,(function(e){return e["Uploaded"]&&(g+=e["PartNumber"]>=m&&c%h||h),!e["Uploaded"]})),b=e.onProgress;i.eachLimit(y,d,(function(e,t){if(n._isRunningTask(r)){var i=e["PartNumber"],d=Math.min(c,e["PartNumber"]*h)-(e["PartNumber"]-1)*h,m=0;f.call(n,{TaskId:r,Bucket:o,Region:s,Key:u,SliceSize:h,FileSize:c,PartNumber:i,ServerSideEncryption:v,Body:p,UploadData:l,onProgress:function(e){g+=e.loaded-m,m=e.loaded,b({loaded:g,total:c})}},(function(i,o){n._isRunningTask(r)&&(!a.isBrowser||i||o.ETag||(i='get ETag error, please add "ETag" to CORS ExposeHeader setting.'),i?g-=m:(g+=d-m,e.ETag=o.ETag),t(i||null,o))}))}}),(function(e){if(n._isRunningTask(r))return e?t(e):void t(null,{UploadId:l.UploadId,SliceList:l.PartList})}))}function f(e,t){var n=this,r=e.TaskId,o=e.Bucket,s=e.Region,u=e.Key,l=e.FileSize,c=e.Body,h=1*e.PartNumber,f=e.SliceSize,d=e.ServerSideEncryption,p=e.UploadData,m=n.options.ChunkRetryTimes+1,g=f*(h-1),v=f,y=g+f;y>l&&(y=l,v=y-g);var b=p.PartList[h-1];i.retry(m,(function(t){n._isRunningTask(r)&&a.fileSlice(c,g,y,!0,(function(i){n.multipartUpload({TaskId:r,Bucket:o,Region:s,Key:u,ContentLength:v,PartNumber:h,UploadId:p.UploadId,ServerSideEncryption:d,Body:i,onProgress:e.onProgress},(function(e,i){if(n._isRunningTask(r))return e?t(e):(b.Uploaded=!0,t(null,i))}))}))}),(function(e,i){if(n._isRunningTask(r))return t(e,i)}))}function d(e,t){var n=e.Bucket,r=e.Region,o=e.Key,a=e.UploadId,s=e.SliceList,u=this,l=this.options.ChunkRetryTimes+1,c=s.map((function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));i.retry(l,(function(e){u.multipartComplete({Bucket:n,Region:r,Key:o,UploadId:a,Parts:c},e)}),(function(e,n){t(e,n)}))}function p(e,t){var n=e.Bucket,r=e.Region,i=e.Key,a=e.UploadId,s=e.Level||"task",u=e.AsyncLimit,c=this,h=new o;if(h.on("error",(function(e){return t(e)})),h.on("get_abort_array",(function(o){m.call(c,{Bucket:n,Region:r,Key:i,Headers:e.Headers,AsyncLimit:u,AbortArray:o},(function(e,n){if(e)return t(e);t(null,n)}))})),"bucket"===s)l.call(c,{Bucket:n,Region:r},(function(e,n){if(e)return t(e);h.emit("get_abort_array",n.UploadList||[])}));else if("file"===s){if(!i)return t({error:"abort_upload_task_no_key"});l.call(c,{Bucket:n,Region:r,Key:i},(function(e,n){if(e)return t(e);h.emit("get_abort_array",n.UploadList||[])}))}else{if("task"!==s)return t({error:"abort_unknown_level"});if(!a)return t({error:"abort_upload_task_no_id"});if(!i)return t({error:"abort_upload_task_no_key"});h.emit("get_abort_array",[{Key:i,UploadId:a}])}}function m(e,t){var n=e.Bucket,r=e.Region,o=e.Key,a=e.AbortArray,s=e.AsyncLimit||1,u=this,l=0,c=new Array(a.length);i.eachLimit(a,s,(function(t,i){var a=l;if(o&&o!==t.Key)return c[a]={error:{KeyNotMatch:!0}},void i(null);var s=t.UploadId||t.UploadID;u.multipartAbort({Bucket:n,Region:r,Key:t.Key,Headers:e.Headers,UploadId:s},(function(e,o){var u={Bucket:n,Region:r,Key:t.Key,UploadId:s};c[a]={error:e,task:u},i(null)})),l++}),(function(e){if(e)return t(e);for(var n=[],r=[],i=0,o=c.length;i=r?"sliceUploadFile":"putObject";f.push({api:b,params:e,callback:y})})()})),n._addTasks(f)}function v(e,t){var n=new o,r=this,s=e.Bucket,u=e.Region,l=e.Key,c=e.CopySource,h=c.match(/^([^.]+-\d+)\.cos(v6)?\.([^.]+)\.[^/]+\/(.+)$/);if(h){var f=h[1],d=h[3],p=decodeURIComponent(h[4]),m=void 0===e.CopySliceSize?r.options.CopySliceSize:e.CopySliceSize;m=Math.max(0,m);var g,v,b=e.CopyChunkSize||this.options.CopyChunkSize,w=this.options.CopyChunkParallelLimit,x=0;n.on("copy_slice_complete",(function(e){r.multipartComplete({Bucket:s,Region:u,Key:l,UploadId:e.UploadId,Parts:e.PartList},(function(e,n){if(e)return v(null,!0),t(e);v({loaded:g,total:g},!0),t(null,n)}))})),n.on("get_copy_data_finish",(function(e){i.eachLimit(e.PartList,w,(function(t,n){var i=t.PartNumber,o=t.CopySourceRange,a=t.end-t.start,h=0;y.call(r,{Bucket:s,Region:u,Key:l,CopySource:c,UploadId:e.UploadId,PartNumber:i,CopySourceRange:o,onProgress:function(e){x+=e.loaded-h,h=e.loaded,v({loaded:x,total:g})}},(function(e,r){if(e)return n(e);v({loaded:x,total:g}),x+=a-h,t.ETag=r.ETag,n(e||null,r)}))}),(function(r){if(r)return v(null,!0),t(r);n.emit("copy_slice_complete",e)}))})),n.on("get_file_size_finish",(function(i){var o;if(function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],n=1048576,i=0;in.length&&(u[t]=e)})),n.emit("get_file_size_finish",u)}else t({error:'get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.'})}))}else t({error:"CopySource format error"})}function y(e,t){var n=e.TaskId,r=e.Bucket,o=e.Region,a=e.Key,s=e.CopySource,u=e.UploadId,l=1*e.PartNumber,c=e.CopySourceRange,h=this.options.ChunkRetryTimes+1,f=this;i.retry(h,(function(t){f.uploadPartCopy({TaskId:n,Bucket:r,Region:o,Key:a,CopySource:s,UploadId:u,PartNumber:l,CopySourceRange:c,onProgress:e.onProgress},(function(e,n){t(e||null,n)}))}),(function(e,n){return t(e,n)}))}var b={sliceUploadFile:s,abortUploadTask:p,uploadFiles:g,sliceCopyFile:v};e.exports.init=function(e,t){t.transferToTaskMethod(b,"sliceUploadFile"),a.each(b,(function(t,n){e.prototype[n]=a.apiWrapper(n,t)}))}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c46":function(e,t,n){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=n("11dc"),t.createHash=t.Hash=n("98e6"),t.createHmac=t.Hmac=n("1a2a");var r=n("116d"),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return o};var a=n("a099");t.pbkdf2=a.pbkdf2,t.pbkdf2Sync=a.pbkdf2Sync;var s=n("956a");t.Cipher=s.Cipher,t.createCipher=s.createCipher,t.Cipheriv=s.Cipheriv,t.createCipheriv=s.createCipheriv,t.Decipher=s.Decipher,t.createDecipher=s.createDecipher,t.Decipheriv=s.Decipheriv,t.createDecipheriv=s.createDecipheriv,t.getCiphers=s.getCiphers,t.listCiphers=s.listCiphers;var u=n("00dc");t.DiffieHellmanGroup=u.DiffieHellmanGroup,t.createDiffieHellmanGroup=u.createDiffieHellmanGroup,t.getDiffieHellman=u.getDiffieHellman,t.createDiffieHellman=u.createDiffieHellman,t.DiffieHellman=u.DiffieHellman;var l=n("b692");t.createSign=l.createSign,t.Sign=l.Sign,t.createVerify=l.createVerify,t.Verify=l.Verify,t.createECDH=n("e1d3");var c=n("6442");t.publicEncrypt=c.publicEncrypt,t.privateEncrypt=c.privateEncrypt,t.publicDecrypt=c.publicDecrypt,t.privateDecrypt=c.privateDecrypt;var h=n("75cc");t.randomFill=h.randomFill,t.randomFillSync=h.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},"1c7e":function(e,t,n){var r=n("b622"),i=r("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(u){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(u){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=51||!r((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1e3c":function(e,t,n){var r=n("6430"),i=n("1545"),o=n("3fb5"),a=n("8707").Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function u(e){r.call(this);var t,n=e.mode.toLowerCase(),i=s[n];t=e.decrypt?"decrypt":"encrypt";var o=e.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=a.concat([o,o.slice(0,8)]));var u=e.iv;a.isBuffer(u)||(u=a.from(u)),this._des=i.create({key:o,iv:u,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=u,o(u,r),u.prototype._update=function(e){return a.from(this._des.update(e))},u.prototype._final=function(){return a.from(this._des.final())}},"1fb5":function(e,t,n){"use strict";t.byteLength=c,t.toByteArray=f,t.fromByteArray=m;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function h(e,t,n){return 3*(t+n)/4-n}function f(e){var t,n,r=l(e),a=r[0],s=r[1],u=new o(h(e,a,s)),c=0,f=s>0?a-4:a;for(n=0;n>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u}function d(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(e,t,n){for(var r,i=[],o=t;ou?u:s+a));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fec":function(e,t,n){"use strict";var r=n("da3e"),i=n("3fb5"),o=n("0184"),a=n("4e2b");function s(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:n}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:n})]}function u(e){o.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}i(u,o),e.exports=u,u.create=function(e){return new u(e)},u.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},u.prototype._pad=a.prototype._pad,u.prototype._unpad=a.prototype._unpad},2015:function(e,t,n){e.exports=a;var r=n("99e4"),i=r.trueFunc,o=r.falseFunc;function a(e){var t=e[0],n=e[1]-1;if(n<0&&t<=0)return o;if(-1===t)return function(e){return e<=n};if(0===t)return function(e){return e===n};if(1===t)return n<0?i:function(e){return e>=n};var r=n%t;return r<0&&(r+=t),t>1?function(e){return e>=n&&e%t===r}:(t*=-1,function(e){return e<=n&&e%t===r})}},"205b":function(e){e.exports=JSON.parse('{"_from":"cheerio@^0.22.0","_id":"cheerio@0.22.0","_inBundle":false,"_integrity":"sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=","_location":"/cheerio","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"cheerio@^0.22.0","name":"cheerio","escapedName":"cheerio","rawSpec":"^0.22.0","saveSpec":null,"fetchSpec":"^0.22.0"},"_requiredBy":["/juice"],"_resolved":"https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz","_shasum":"a9baa860a3f9b595a6b81b1a86873121ed3a269e","_spec":"cheerio@^0.22.0","_where":"/home/runner/work/md/md/node_modules/juice","author":{"name":"Matt Mueller","email":"mattmuelle@gmail.com","url":"mat.io"},"bugs":{"url":"https://github.com/cheeriojs/cheerio/issues"},"bundleDependencies":false,"dependencies":{"css-select":"~1.2.0","dom-serializer":"~0.1.0","entities":"~1.1.1","htmlparser2":"^3.9.1","lodash.assignin":"^4.0.9","lodash.bind":"^4.1.4","lodash.defaults":"^4.0.1","lodash.filter":"^4.4.0","lodash.flatten":"^4.2.0","lodash.foreach":"^4.3.0","lodash.map":"^4.4.0","lodash.merge":"^4.4.0","lodash.pick":"^4.2.1","lodash.reduce":"^4.4.0","lodash.reject":"^4.4.0","lodash.some":"^4.4.0"},"deprecated":false,"description":"Tiny, fast, and elegant implementation of core jQuery designed specifically for the server","devDependencies":{"benchmark":"^2.1.0","coveralls":"^2.11.9","expect.js":"~0.3.1","istanbul":"^0.4.3","jquery":"^3.0.0","jsdom":"^9.2.1","jshint":"^2.9.2","mocha":"^2.5.3","xyz":"~0.5.0"},"engines":{"node":">= 0.6"},"files":["index.js","lib"],"homepage":"https://github.com/cheeriojs/cheerio#readme","keywords":["htmlparser","jquery","selector","scraper","parser","html"],"license":"MIT","main":"./index.js","name":"cheerio","repository":{"type":"git","url":"git://github.com/cheeriojs/cheerio.git"},"scripts":{"test":"make test"},"version":"0.22.0"}')},"206d":function(e,t,n){(function(t,r){var i,o=n("8707").Buffer,a=n("7d2a"),s=n("9f9d"),u=n("e07b"),l=n("8be6"),c=t.crypto&&t.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[];function d(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==f[e])return f[e];i=i||o.alloc(8);var n=p(i,i,10,128,e).then((function(){return!0})).catch((function(){return!1}));return f[e]=n,n}function p(e,t,n,r,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return o.from(e)}))}function m(e,t){e.then((function(e){r.nextTick((function(){t(null,e)}))}),(function(e){r.nextTick((function(){t(e)}))}))}e.exports=function(e,n,i,o,c,f){"function"===typeof c&&(f=c,c=void 0),c=c||"sha1";var g=h[c.toLowerCase()];if(!g||"function"!==typeof t.Promise)return r.nextTick((function(){var t;try{t=u(e,n,i,o,c)}catch(r){return f(r)}f(null,t)}));if(a(i,o),e=l(e,s,"Password"),n=l(n,s,"Salt"),"function"!==typeof f)throw new Error("No callback provided to pbkdf2");m(d(g).then((function(t){return t?p(e,n,i,o,g):u(e,n,i,o,c)})),f)}}).call(this,n("c8ba"),n("4362"))},"20f6":function(e,t,n){"use strict";const r=t;r.der=n("cfbd"),r.pem=n("8df7")},2137:function(e,t,n){"use strict";var r=n("c3c0"),i=n("da3e");function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(o=0;o>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},d=h.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},p=h.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},m=u.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=4*a,u=o/s;u=t?e.ceil(u):e.max((0|u)-this._minBufferSize,0);var l=u*a,h=e.min(4*l,o);if(l){for(var f=0;ff;f++)if(p=D(e[f]),p&&p instanceof l)return p;return new l(!1)}c=h.call(e)}m=c.next;while(!(g=m.call(c)).done){try{p=D(g.value)}catch(C){throw u(c),C}if("object"==typeof p&&p&&p instanceof l)return p}return new l(!1)}},"22ab":function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";var t=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return c.alloc(0);var t=c.allocUnsafe(e>>>0),n=this.head,r=0;while(n)p(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),e-=o,0===e){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=c.allocUnsafe(e),n=this.head,r=1;n.data.copy(t),e-=n.data.length;while(n=n.next){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),e-=o,0===e){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:d,value:function(e,t){return f(this,i({},t,{depth:0,customInspect:!1}))}}]),e}()},"23cb":function(e,t,n){var r=n("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),u=n("e893"),l=n("94ca");e.exports=function(e,t){var n,c,h,f,d,p,m=e.target,g=e.global,v=e.stat;if(c=g?r:v?r[m]||s(m,{}):(r[m]||{}).prototype,c)for(h in t){if(d=t[h],e.noTargetGet?(p=i(c,h),f=p&&p.value):f=c[h],n=l(g?h:m+(v?".":"#")+h,e.forced),!n&&void 0!==f){if(typeof d===typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(c,h,d,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},2444:function(e,t,n){"use strict";(function(t){var r=n("c532"),i=n("c8af"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function s(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}var u={adapter:s(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u}).call(this,n("4362"))},2562:function(e,t,n){"use strict";var r=/([-.*+?^${}()|[\]\/\\])/g,i=/\\/g,o=function(e){return(e+"").replace(r,"\\$1")},a=function(e){return(e+"").replace(i,"")},s=RegExp("^(?:\\s*(,)\\s*|\\s*(+)\\s*|(\\s+)|(+|\\*)|\\#(+)|\\.(+)|\\[\\s*(+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(//,"["+o(">+~`!@$%^&={}\\;/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(//g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),u=function(e){this.combinator=e||" ",this.tag="*"};u.prototype.toString=function(){if(!this.raw){var e,t,n="";if(n+=this.tag||"*",this.id&&(n+="#"+this.id),this.classes&&(n+="."+this.classList.join(".")),this.attributes)for(e=0;t=this.attributes[e++];)n+="["+t.name+(t.operator?t.operator+'"'+t.value+'"':"")+"]";if(this.pseudos)for(e=0;t=this.pseudos[e++];)n+=":"+t.name,t.value&&(n+="("+t.value+")");this.raw=n}return this.raw};var l=function(){this.length=0};l.prototype.toString=function(){if(!this.raw){for(var e,t="",n=0;e=this[n++];)1!==n&&(t+=" ")," "!==e.combinator&&(t+=e.combinator+" "),t+=e;this.raw=t}return this.raw};var c=function(e,t,n,r,i,s,c,h,f,d,p,m,g,v,y,b){var w,x;if((t||!this.length)&&(w=this[this.length++]=new l,t))return"";if(w||(w=this[this.length-1]),(n||r||!w.length)&&(x=w[w.length++]=new u(n)),x||(x=w[w.length-1]),i)x.tag=a(i);else if(s)x.id=a(s);else if(c){var _=a(c),D=x.classes||(x.classes={});if(!D[_]){D[_]=o(c);var C=x.classList||(x.classList=[]);C.push(_),C.sort()}}else g?(b=b||y,(x.pseudos||(x.pseudos=[])).push({type:1==m.length?"class":"element",name:a(g),escapedName:o(g),value:b?a(b):null,escapedValue:b?o(b):null})):h&&(p=p?o(p):null,(x.attributes||(x.attributes=[])).push({operator:f,name:a(h),escapedName:o(h),value:p?a(p):null,escapedValue:p?o(p):null}));return""},h=function(e){this.length=0;var t,n=this,r=e;while(e){if(t=e.replace(s,(function(){return c.apply(n,arguments)})),t===e)throw new Error(r+" is an invalid expression");e=t}};h.prototype.toString=function(){if(!this.raw){for(var e,t=[],n=0;e=this[n++];)t.push(e);this.raw=t.join(", ")}return this.raw};var f={},d=function(e){return null==e?null:(e=(""+e).replace(/^\s+|\s+$/g,""),f[e]||(f[e]=new h(e)))};e.exports=d},"25f0":function(e,t,n){"use strict";var r=n("6eeb"),i=n("825a"),o=n("d039"),a=n("ad6d"),s="toString",u=RegExp.prototype,l=u[s],c=o((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),h=l.name!=s;(c||h)&&r(RegExp.prototype,s,(function(){var e=i(this),t=String(e.source),n=e.flags,r=String(void 0===n&&e instanceof RegExp&&!("flags"in u)?a.call(e):n);return"/"+t+"/"+r}),{unsafe:!0})},2626:function(e,t,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},"26dd":function(e,t,n){"use strict";var r=n("6f4f"),i=n("10db"),o=n("92f0"),a={};n("051b")(a,n("cc15")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},"26f9":function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},"27b0":function(e,t){e.exports=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}}},"27bf":function(e,t,n){"use strict";e.exports=a;var r=n("b19a"),i=Object.create(n("3a7c"));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n=t+n||t?new java.lang.String(e,t,n)+"":e}function l(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}r.prototype.parseFromString=function(e,t){var n=this.options,r=new c,a=n.domBuilder||new o,s=n.errorHandler,u=n.locator,l=n.xmlns||{},h={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return u&&a.setDocumentLocator(u),r.errorHandler=i(s,a,u),r.domBuilder=n.domBuilder||a,/\/x?html?$/.test(t)&&(h.nbsp=" ",h.copy="©",l[""]="http://www.w3.org/1999/xhtml"),l.xml=l.xml||"http://www.w3.org/XML/1998/namespace",e?r.parse(e,l,h):r.errorHandler.error("invalid doc source"),a.doc},o.prototype={startDocument:function(){this.doc=(new h).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),s=r.length;l(this,o),this.currentElement=o,this.locator&&a(this.locator,o);for(var u=0;uu&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},"2a62":function(e,t,n){var r=n("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return r(t.call(e)).value}},"2a66":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding}))},"2aee":function(e,t,n){var r=n("4111"),i=n("d70e"),o=n("4dd0"),a=n("fda6"),s=n("a099"),u=n("8707").Buffer;function l(e){var t;"object"!==typeof e||u.isBuffer(e)||(t=e.passphrase,e=e.key),"string"===typeof e&&(e=u.from(e));var n,i,a=o(e,t),s=a.tag,l=a.data;switch(s){case"CERTIFICATE":i=r.certificate.decode(l,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=r.PublicKey.decode(l,"der")),n=i.algorithm.algorithm.join("."),n){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(i.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return i.subjectPrivateKey=i.subjectPublicKey,{type:"ec",data:i};case"1.2.840.10040.4.1":return i.algorithm.params.pub_key=r.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":l=r.EncryptedPrivateKey.decode(l,"der"),l=c(l,t);case"PRIVATE KEY":switch(i=r.PrivateKey.decode(l,"der"),n=i.algorithm.algorithm.join("."),n){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:r.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=r.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(l,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(l,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(l,"der")};case"EC PRIVATE KEY":return l=r.ECPrivateKey.decode(l,"der"),{curve:l.parameters.value,privateKey:l.privateKey};default:throw new Error("unknown key type "+s)}}function c(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,h=parseInt(o.split("-")[1],10)/8,f=s.pbkdf2Sync(t,n,r,h,"sha1"),d=a.createDecipheriv(o,f,l),p=[];return p.push(d.update(c)),p.push(d.final()),u.concat(p)}e.exports=l,l.signature=r.signature},"2b0e":function(e,t,n){"use strict";n.r(t),function(e){ /*! * Vue.js v2.6.12 * (c) 2014-2020 Evan You * Released under the MIT License. */ var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function u(e){return null!==e&&"object"===typeof e}var l=Object.prototype.toString;function c(e){return"[object Object]"===l.call(e)}function h(e){return"[object RegExp]"===l.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(e,t){return b.call(e,t)}function x(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var _=/-(\w)/g,D=x((function(e){return e.replace(_,(function(e,t){return t?t.toUpperCase():""}))})),C=x((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),k=/\B([A-Z])/g,S=x((function(e){return e.replace(k,"-$1").toLowerCase()}));function E(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function M(e,t){return e.bind(t)}var A=Function.prototype.bind?M:E;function T(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function j(e){for(var t={},n=0;n0,ne=Q&&Q.indexOf("edge/")>0,re=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===Z),ie=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),oe={}.watch,ae=!1;if(Y)try{var se={};Object.defineProperty(se,"passive",{get:function(){ae=!0}}),window.addEventListener("test-passive",null,se)}catch(Da){}var ue=function(){return void 0===K&&(K=!Y&&!J&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),K},le=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var he,fe="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);he="undefined"!==typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var de=F,pe=0,me=function(){this.id=pe++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){y(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(o&&!w(i,"default"))a=!1;else if(""===a||a===S(e)){var u=et(String,i.type);(u<0||s0&&(a=Et(a,(t||"")+"_"+n),St(a[0])&&St(l)&&(c[u]=_e(l.text+a[0].text),a.shift()),c.push.apply(c,a)):s(a)?St(l)?c[u]=_e(l.text+a):""!==a&&c.push(_e(a)):St(a)&&St(l)?c[u]=_e(l.text+a.text):(o(e._isVList)&&i(a.tag)&&r(a.key)&&i(t)&&(a.key="__vlist"+t+"_"+n+"__"),c.push(a)));return c}function Mt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function At(e){var t=Tt(e.$options.inject,e);t&&(Ae(!1),Object.keys(t).forEach((function(n){Ne(e,n,t[n])})),Ae(!0))}function Tt(e,t){if(e){for(var n=Object.create(null),r=fe?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=Nt(t,u,e[u]))}else i={};for(var l in t)l in i||(i[l]=It(t,l));return e&&Object.isExtensible(e)&&(e._normalized=i),H(i,"$stable",a),H(i,"$key",s),H(i,"$hasNormal",o),i}function Nt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:kt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function It(e,t){return function(){return e[t]}}function Pt(e,t){var n,r,o,a,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,o=e.length;r1?T(n):n;for(var r=T(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Kn=function(){return Xn.now()})}function Yn(){var e,t;for(Gn=Kn(),Vn=!0,qn.sort((function(e,t){return e.id-t.id})),Hn=0;HnHn&&qn[n].id>e.id)n--;qn.splice(n+1,0,e)}else qn.push(e);Un||(Un=!0,pt(Yn))}}var tr=0,nr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++tr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new he,this.newDepIds=new he,this.expression="","function"===typeof t?this.getter=t:(this.getter=G(t),this.getter||(this.getter=F)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var e;ve(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Da){if(!this.user)throw Da;tt(Da,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&>(e),ye(),this.cleanupDeps()}return e},nr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},nr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},nr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Da){tt(Da,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:F,set:F};function ir(e,t,n){rr.get=function(){return this[t][n]},rr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,rr)}function or(e){e._watchers=[];var t=e.$options;t.props&&ar(e,t.props),t.methods&&pr(e,t.methods),t.data?sr(e):Fe(e._data={},!0),t.computed&&cr(e,t.computed),t.watch&&t.watch!==oe&&mr(e,t.watch)}function ar(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Ae(!1);var a=function(o){i.push(o);var a=Ye(o,t,n,e);Ne(r,o,a),o in e||ir(e,"_props",o)};for(var s in t)a(s);Ae(!0)}function sr(e){var t=e.$options.data;t=e._data="function"===typeof t?ur(t,e):t||{},c(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var o=n[i];0,r&&w(r,o)||V(o)||ir(e,"_data",o)}Fe(t,!0)}function ur(e,t){ve();try{return e.call(t,t)}catch(Da){return tt(Da,t,"data()"),{}}finally{ye()}}var lr={lazy:!0};function cr(e,t){var n=e._computedWatchers=Object.create(null),r=ue();for(var i in t){var o=t[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new nr(e,a||F,F,lr)),i in e||hr(e,i,o)}}function hr(e,t,n){var r=!ue();"function"===typeof n?(rr.get=r?fr(t):dr(n),rr.set=F):(rr.get=n.get?r&&!1!==n.cache?fr(t):dr(n.get):F,rr.set=n.set||F),Object.defineProperty(e,t,rr)}function fr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function dr(e){return function(){return e.call(this,this)}}function pr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?F:A(t[n],e)}function mr(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=T(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function kr(e){e.mixin=function(e){return this.options=Ke(this.options,e),this}}function Sr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=Ke(n.options,e),a["super"]=n,a.options.props&&Er(a),a.options.computed&&Mr(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,q.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=O({},a.options),i[r]=a,a}}function Er(e){var t=e.options.props;for(var n in t)ir(e.prototype,"_props",n)}function Mr(e){var t=e.options.computed;for(var n in t)hr(e.prototype,n,t[n])}function Ar(e){q.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Tr(e){return e&&(e.Ctor.options.name||e.tag)}function Or(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!h(e)&&e.test(t)}function jr(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=Tr(a.componentOptions);s&&!t(s)&&Fr(n,o,r,i)}}}function Fr(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,y(n,t)}br(Dr),vr(Dr),An(Dr),Fn(Dr),yn(Dr);var Nr=[String,RegExp,Array],Ir={name:"keep-alive",abstract:!0,props:{include:Nr,exclude:Nr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Fr(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){jr(e,(function(e){return Or(t,e)}))})),this.$watch("exclude",(function(t){jr(e,(function(e){return!Or(t,e)}))}))},render:function(){var e=this.$slots.default,t=Dn(e),n=t&&t.componentOptions;if(n){var r=Tr(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!Or(o,r))||a&&r&&Or(a,r))return t;var s=this,u=s.cache,l=s.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;u[c]?(t.componentInstance=u[c].componentInstance,y(l,c),l.push(c)):(u[c]=t,l.push(c),this.max&&l.length>parseInt(this.max)&&Fr(u,l[0],l,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Pr={KeepAlive:Ir};function Br(e){var t={get:function(){return z}};Object.defineProperty(e,"config",t),e.util={warn:de,extend:O,mergeOptions:Ke,defineReactive:Ne},e.set=Ie,e.delete=Pe,e.nextTick=pt,e.observable=function(e){return Fe(e),e},e.options=Object.create(null),q.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,Pr),Cr(e),kr(e),Sr(e),Ar(e)}Br(Dr),Object.defineProperty(Dr.prototype,"$isServer",{get:ue}),Object.defineProperty(Dr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Dr,"FunctionalRenderContext",{value:Jt}),Dr.version="2.6.12";var Lr=g("style,class"),Rr=g("input,textarea,option,select,progress"),qr=function(e,t,n){return"value"===n&&Rr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},$r=g("contenteditable,draggable,spellcheck"),zr=g("events,caret,typing,plaintext-only"),Ur=function(e,t){return Kr(t)||"false"===t?"false":"contenteditable"===e&&zr(t)?t:"true"},Vr=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Hr="http://www.w3.org/1999/xlink",Wr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Gr=function(e){return Wr(e)?e.slice(6,e.length):""},Kr=function(e){return null==e||!1===e};function Xr(e){var t=e.data,n=e,r=e;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Yr(r.data,t));while(i(n=n.parent))n&&n.data&&(t=Yr(t,n.data));return Jr(t.staticClass,t.class)}function Yr(e,t){return{staticClass:Zr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Jr(e,t){return i(e)||i(t)?Zr(e,Qr(t)):""}function Zr(e,t){return e?t?e+" "+t:e:t||""}function Qr(e){return Array.isArray(e)?ei(e):u(e)?ti(e):"string"===typeof e?e:""}function ei(e){for(var t,n="",r=0,o=e.length;r-1?si[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:si[e]=/HTMLUnknownElement/.test(t.toString())}var li=g("text,number,password,search,email,tel,url");function ci(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function hi(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fi(e,t){return document.createElementNS(ni[e],t)}function di(e){return document.createTextNode(e)}function pi(e){return document.createComment(e)}function mi(e,t,n){e.insertBefore(t,n)}function gi(e,t){e.removeChild(t)}function vi(e,t){e.appendChild(t)}function yi(e){return e.parentNode}function bi(e){return e.nextSibling}function wi(e){return e.tagName}function xi(e,t){e.textContent=t}function _i(e,t){e.setAttribute(t,"")}var Di=Object.freeze({createElement:hi,createElementNS:fi,createTextNode:di,createComment:pi,insertBefore:mi,removeChild:gi,appendChild:vi,parentNode:yi,nextSibling:bi,tagName:wi,setTextContent:xi,setStyleScope:_i}),Ci={create:function(e,t){ki(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ki(e,!0),ki(t))},destroy:function(e){ki(e,!0)}};function ki(e,t){var n=e.data.ref;if(i(n)){var r=e.context,o=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?y(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Si=new be("",{},[]),Ei=["create","activate","update","remove","destroy"];function Mi(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&Ai(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function Ai(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,o=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===o||li(r)&&li(o)}function Ti(e,t,n){var r,o,a={};for(r=t;r<=n;++r)o=e[r].key,i(o)&&(a[o]=r);return a}function Oi(e){var t,n,a={},u=e.modules,l=e.nodeOps;for(t=0;tm?(h=r(n[y+1])?null:n[y+1].elm,D(e,h,n,p,y,o)):p>y&&k(t,f,m)}function M(e,t,n,r){for(var o=n;o-1?zi(e,t,n):Vr(t)?Kr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):$r(t)?e.setAttribute(t,Ur(t,n)):Wr(t)?Kr(n)?e.removeAttributeNS(Hr,Gr(t)):e.setAttributeNS(Hr,t,n):zi(e,t,n)}function zi(e,t,n){if(Kr(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Ui={create:qi,update:qi};function Vi(e,t){var n=t.elm,o=t.data,a=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Xr(t),u=n._transitionClasses;i(u)&&(s=Zr(s,Qr(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Hi,Wi={create:Vi,update:Vi},Gi="__r",Ki="__c";function Xi(e){if(i(e[Gi])){var t=ee?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}i(e[Ki])&&(e.change=[].concat(e[Ki],e.change||[]),delete e[Ki])}function Yi(e,t,n){var r=Hi;return function i(){var o=t.apply(null,arguments);null!==o&&Qi(e,i,n,r)}}var Ji=at&&!(ie&&Number(ie[1])<=53);function Zi(e,t,n,r){if(Ji){var i=Gn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Hi.addEventListener(e,t,ae?{capture:n,passive:r}:n)}function Qi(e,t,n,r){(r||Hi).removeEventListener(e,t._wrapper||t,n)}function eo(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Hi=t.elm,Xi(n),wt(n,i,Zi,Qi,Yi,t.context),Hi=void 0}}var to,no={create:eo,update:eo};function ro(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,o,a=t.elm,s=e.data.domProps||{},u=t.data.domProps||{};for(n in i(u.__ob__)&&(u=t.data.domProps=O({},u)),s)n in u||(a[n]="");for(n in u){if(o=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var l=r(o)?"":String(o);io(a,l)&&(a.value=l)}else if("innerHTML"===n&&ii(a.tagName)&&r(a.innerHTML)){to=to||document.createElement("div"),to.innerHTML=""+o+"";var c=to.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(c.firstChild)a.appendChild(c.firstChild)}else if(o!==s[n])try{a[n]=o}catch(Da){}}}}function io(e,t){return!e.composing&&("OPTION"===e.tagName||oo(e,t)||ao(e,t))}function oo(e,t){var n=!0;try{n=document.activeElement!==e}catch(Da){}return n&&e.value!==t}function ao(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var so={create:ro,update:ro},uo=x((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function lo(e){var t=co(e.style);return e.staticStyle?O(e.staticStyle,t):t}function co(e){return Array.isArray(e)?j(e):"string"===typeof e?uo(e):e}function ho(e,t){var n,r={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=lo(i.data))&&O(r,n)}(n=lo(e.data))&&O(r,n);var o=e;while(o=o.parent)o.data&&(n=lo(o.data))&&O(r,n);return r}var fo,po=/^--/,mo=/\s*!important$/,go=function(e,t,n){if(po.test(t))e.style.setProperty(t,n);else if(mo.test(n))e.style.setProperty(S(t),n.replace(mo,""),"important");else{var r=yo(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(xo).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Do(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(xo).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Co(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&O(t,ko(e.name||"v")),O(t,e),t}return"string"===typeof e?ko(e):void 0}}var ko=x((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),So=Y&&!te,Eo="transition",Mo="animation",Ao="transition",To="transitionend",Oo="animation",jo="animationend";So&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ao="WebkitTransition",To="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oo="WebkitAnimation",jo="webkitAnimationEnd"));var Fo=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function No(e){Fo((function(){Fo(e)}))}function Io(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),_o(e,t))}function Po(e,t){e._transitionClasses&&y(e._transitionClasses,t),Do(e,t)}function Bo(e,t,n){var r=Ro(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Eo?To:jo,u=0,l=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++u>=a&&l()};setTimeout((function(){u0&&(n=Eo,c=a,h=o.length):t===Mo?l>0&&(n=Mo,c=l,h=u.length):(c=Math.max(a,l),n=c>0?a>l?Eo:Mo:null,h=n?n===Eo?o.length:u.length:0);var f=n===Eo&&Lo.test(r[Ao+"Property"]);return{type:n,timeout:c,propCount:h,hasTransform:f}}function qo(e,t){while(e.length1}function Wo(e,t){!0!==t.data.show&&zo(t)}var Go=Y?{create:Wo,activate:Wo,remove:function(e,t){!0!==e.data.show?Uo(e,t):t()}}:{},Ko=[Ui,Wi,no,so,wo,Go],Xo=Ko.concat(Ri),Yo=Oi({nodeOps:Di,modules:Xo});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&ia(e,"input")}));var Jo={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?xt(n,"postpatch",(function(){Jo.componentUpdated(e,t,n)})):Zo(e,t,n.context),e._vOptions=[].map.call(e.options,ta)):("textarea"===n.tag||li(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",na),e.addEventListener("compositionend",ra),e.addEventListener("change",ra),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Zo(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,ta);if(i.some((function(e,t){return!P(e,r[t])}))){var o=e.multiple?t.value.some((function(e){return ea(e,i)})):t.value!==t.oldValue&&ea(t.value,i);o&&ia(e,"change")}}}};function Zo(e,t,n){Qo(e,t,n),(ee||ne)&&setTimeout((function(){Qo(e,t,n)}),0)}function Qo(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(P(ta(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function ea(e,t){return t.every((function(t){return!P(t,e)}))}function ta(e){return"_value"in e?e._value:e.value}function na(e){e.target.composing=!0}function ra(e){e.target.composing&&(e.target.composing=!1,ia(e.target,"input"))}function ia(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function oa(e){return!e.componentInstance||e.data&&e.data.transition?e:oa(e.componentInstance._vnode)}var aa={bind:function(e,t,n){var r=t.value;n=oa(n);var i=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,zo(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!==!i){n=oa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?zo(n,(function(){e.style.display=e.__vOriginalDisplay})):Uo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},sa={model:Jo,show:aa},ua={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function la(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?la(Dn(t.children)):e}function ca(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[D(o)]=i[o];return t}function ha(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function fa(e){while(e=e.parent)if(e.data.transition)return!0}function da(e,t){return t.key===e.key&&t.tag===e.tag}var pa=function(e){return e.tag||_n(e)},ma=function(e){return"show"===e.name},ga={name:"transition",props:ua,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(pa),n.length)){0;var r=this.mode;0;var i=n[0];if(fa(this.$vnode))return i;var o=la(i);if(!o)return i;if(this._leaving)return ha(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var u=(o.data||(o.data={})).transition=ca(this),l=this._vnode,c=la(l);if(o.data.directives&&o.data.directives.some(ma)&&(o.data.show=!0),c&&c.data&&!da(o,c)&&!_n(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=O({},u);if("out-in"===r)return this._leaving=!0,xt(h,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ha(e,i);if("in-out"===r){if(_n(o))return l;var f,d=function(){f()};xt(u,"afterEnter",d),xt(u,"enterCancelled",d),xt(h,"delayLeave",(function(e){f=e}))}}return i}}},va=O({tag:String,moveClass:String},ua);delete va.mode;var ya={props:va,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=On(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ca(this),s=0;s4)return e;for(n=[],r=0;r1&&"0"==i.charAt(0)&&(o=F.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?I:8==o?N:P).test(i))return e;a=parseInt(i,o)}n.push(a)}for(r=0;r=k(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r6)return;r=0;while(f()){if(i=null,r>0){if(!("."==f()&&r<4))return;h++}if(!j.test(f()))return;while(j.test(f())){if(o=parseInt(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;h++}u[l]=256*u[l]+i,r++,2!=r&&4!=r||l++}if(4!=r)return;break}if(":"==f()){if(h++,!f())return}else if(f())return;u[l++]=t}else{if(null!==c)return;h++,l++,c=l}}if(null!==c){a=l-c,l=7;while(0!=l&&a>0)s=u[l],u[l--]=u[c+a-1],u[c+--a]=s}else if(8!=l)return;return u},V=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t},H=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=C(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=V(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},W={},G=f({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),K=f({},G,{"#":1,"?":1,"{":1,"}":1}),X=f({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var n=p(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},J={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return h(J,e.scheme)},Q=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&T.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},re=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},ie=function(e){return"."===e||"%2e"===e.toLowerCase()},oe=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ae={},se={},ue={},le={},ce={},he={},fe={},de={},pe={},me={},ge={},ve={},ye={},be={},we={},xe={},_e={},De={},Ce={},ke={},Se={},Ee=function(e,t,n,i){var o,a,s,u,l=n||ae,c=0,f="",p=!1,m=!1,g=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(R,"")),t=t.replace(q,""),o=d(t);while(c<=o.length){switch(a=o[c],l){case ae:if(!a||!T.test(a)){if(n)return E;l=ue;continue}f+=a.toLowerCase(),l=se;break;case se:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))f+=a.toLowerCase();else{if(":"!=a){if(n)return E;f="",l=ue,c=0;continue}if(n&&(Z(e)!=h(J,f)||"file"==f&&(Q(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,n)return void(Z(e)&&J[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?l=be:Z(e)&&i&&i.scheme==e.scheme?l=le:Z(e)?l=de:"/"==o[c+1]?(l=ce,c++):(e.cannotBeABaseURL=!0,e.path.push(""),l=Ce)}break;case ue:if(!i||i.cannotBeABaseURL&&"#"!=a)return E;if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,l=Se;break}l="file"==i.scheme?be:he;continue;case le:if("/"!=a||"/"!=o[c+1]){l=he;continue}l=pe,c++;break;case ce:if("/"==a){l=me;break}l=De;continue;case he:if(e.scheme=i.scheme,a==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&Z(e))l=fe;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",l=ke;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),l=De;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=Se}break;case fe:if(!Z(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,l=De;continue}l=me}else l=pe;break;case de:if(l=pe,"/"!=a||"/"!=f.charAt(c+1))continue;c++;break;case pe:if("/"!=a&&"\\"!=a){l=me;continue}break;case me:if("@"==a){p&&(f="%40"+f),p=!0,s=d(f);for(var v=0;v65535)return A;e.port=Z(e)&&w===J[e.scheme]?null:w,f=""}if(n)return;l=_e;continue}return A}f+=a;break;case be:if(e.scheme="file","/"==a||"\\"==a)l=we;else{if(!i||"file"!=i.scheme){l=De;continue}if(a==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",l=ke;else{if("#"!=a){ne(o.slice(c).join(""))||(e.host=i.host,e.path=i.path.slice(),re(e)),l=De;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=Se}}break;case we:if("/"==a||"\\"==a){l=xe;break}i&&"file"==i.scheme&&!ne(o.slice(c).join(""))&&(te(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),l=De;continue;case xe:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&te(f))l=De;else if(""==f){if(e.host="",n)return;l=_e}else{if(u=$(e,f),u)return u;if("localhost"==e.host&&(e.host=""),n)return;f="",l=_e}continue}f+=a;break;case _e:if(Z(e)){if(l=De,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=De,"/"!=a))continue}else e.fragment="",l=Se;else e.query="",l=ke;break;case De:if(a==r||"/"==a||"\\"==a&&Z(e)||!n&&("?"==a||"#"==a)){if(oe(f)?(re(e),"/"==a||"\\"==a&&Z(e)||e.path.push("")):ie(f)?"/"==a||"\\"==a&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(a==r||"?"==a||"#"==a))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==a?(e.query="",l=ke):"#"==a&&(e.fragment="",l=Se)}else f+=Y(a,K);break;case Ce:"?"==a?(e.query="",l=ke):"#"==a?(e.fragment="",l=Se):a!=r&&(e.path[0]+=Y(a,W));break;case ke:n||"#"!=a?a!=r&&("'"==a&&Z(e)?e.query+="%27":e.query+="#"==a?"%23":Y(a,W)):(e.fragment="",l=Se);break;case Se:a!=r&&(e.fragment+=Y(a,G));break}c++}},Me=function(e){var t,n,r=c(this,Me,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=_(r,{type:"URL"});if(void 0!==i)if(i instanceof Me)t=D(i);else if(n=Ee(t={},String(i)),n)throw TypeError(n);if(n=Ee(s,a,null,t),n)throw TypeError(n);var u=s.searchParams=new w,l=x(u);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(u)||null},o||(r.href=Te.call(r),r.origin=Oe.call(r),r.protocol=je.call(r),r.username=Fe.call(r),r.password=Ne.call(r),r.host=Ie.call(r),r.hostname=Pe.call(r),r.port=Be.call(r),r.pathname=Le.call(r),r.search=Re.call(r),r.searchParams=qe.call(r),r.hash=$e.call(r))},Ae=Me.prototype,Te=function(){var e=D(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,u=e.fragment,l=t+":";return null!==i?(l+="//",Q(e)&&(l+=n+(r?":"+r:"")+"@"),l+=H(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(l+="?"+s),null!==u&&(l+="#"+u),l},Oe=function(){var e=D(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&Z(e)?t+"://"+H(e.host)+(null!==n?":"+n:""):"null"},je=function(){return D(this).scheme+":"},Fe=function(){return D(this).username},Ne=function(){return D(this).password},Ie=function(){var e=D(this),t=e.host,n=e.port;return null===t?"":null===n?H(t):H(t)+":"+n},Pe=function(){var e=D(this).host;return null===e?"":H(e)},Be=function(){var e=D(this).port;return null===e?"":String(e)},Le=function(){var e=D(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Re=function(){var e=D(this).query;return e?"?"+e:""},qe=function(){return D(this).searchParams},$e=function(){var e=D(this).fragment;return e?"#"+e:""},ze=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&u(Ae,{href:ze(Te,(function(e){var t=D(this),n=String(e),r=Ee(t,n);if(r)throw TypeError(r);x(t.searchParams).updateSearchParams(t.query)})),origin:ze(Oe),protocol:ze(je,(function(e){var t=D(this);Ee(t,String(e)+":",ae)})),username:ze(Fe,(function(e){var t=D(this),n=d(String(e));if(!ee(t)){t.username="";for(var r=0;rn)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete w[e]},f?r=function(e){g.nextTick(D(e))}:y&&y.now?r=function(e){y.now(D(e))}:v&&!h?(i=new v,o=i.port2,i.port1.onmessage=C,r=u(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!s(k)?(r=k,a.addEventListener("message",C,!1)):r=x in c("script")?function(e){l.appendChild(c("script"))[x]=function(){l.removeChild(this),_(e)}}:function(e){setTimeout(D(e),0)}),e.exports={set:p,clear:m}},"2d00":function(e,t,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,u=s&&s.versions,l=u&&u.v8;l?(r=l.split("."),i=r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2e90":function(e,t,n){e.exports=f,e.exports.compileUnsafe=p,e.exports.compileToken=x;var r=n("5bfe"),i=n("0f94"),o=i.isTag,a=n("fce4"),s=n("50ea"),u=n("99e4"),l=u.trueFunc,c=u.falseFunc,h=n("e700");function f(e,t,n){var r=p(e,t,n);return d(r)}function d(e){return function(t){return o(t)&&e(t)}}function p(e,t,n){var i=r(e,t);return x(i,t,n)}function m(e){return"pseudo"===e.type&&("scope"===e.name||Array.isArray(e.data)&&e.data.some((function(e){return e.some(m)})))}var g={type:"descendant"},v={type:"pseudo",name:"scope"},y={},b=i.getParent;function w(e,t){var n=!!t&&!!t.length&&t.every((function(e){return e===y||!!b(e)}));e.forEach((function(e){if(e.length>0&&_(e[0])&&"descendant"!==e[0].type);else{if(!n||m(e))return;e.unshift(g)}e.unshift(v)}))}function x(e,t,n){e=e.filter((function(e){return e.length>0})),e.forEach(s);var r=Array.isArray(n);return n=t&&t.context||n,n&&!r&&(n=[n]),w(e,n),e.map((function(e){return D(e,t,n,r)})).reduce(C,c)}function _(e){return h[e.type]<0}function D(e,t,n,r){var i=r&&"scope"===e[0].name&&"descendant"===e[1].type;return e.reduce((function(e,r,o){return e===c?e:a[r.type](e,r,t,n,i&&1===o)}),t&&t.rootFunc||l)}function C(e,t){return t===c||e===l?e:e===c||t===l?t:function(n){return e(n)||t(n)}}var k=n("9ebc"),S=k.filters,E=i.existsOne,M=(o=i.isTag,i.getChildren);function A(e){return e.some(_)}S.not=function(e,t,n,r){var i={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict)};if(i.strict&&(t.length>1||t.some(A)))throw new SyntaxError("complex selectors in :not aren't allowed in strict mode");var o=x(t,i,r);return o===c?e:o===l?c:function(t){return!o(t)&&e(t)}},S.has=function(e,t,n){var r={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict)},i=t.some(A)?[y]:null,a=x(t,r,i);return a===c?c:a===l?function(t){return M(t).some(o)&&e(t)}:(a=d(a),i?function(t){return e(t)&&(i[0]=t,E(a,M(t)))}:function(t){return e(t)&&E(a,M(t))})},S.matches=function(e,t,n,r){var i={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict),rootFunc:e};return x(t,i,r)}},"2f62":function(e,t,n){"use strict";(function(e){ /*! * vuex v3.5.1 * (c) 2020 Evan You * @license MIT */ function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return N})),n.d(t,"c",(function(){return F}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function u(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=u(e[n],t)})),r}function l(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function h(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var d=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(e,t){this._children[e]=t},d.prototype.removeChild=function(e){delete this._children[e]},d.prototype.getChild=function(e){return this._children[e]},d.prototype.hasChild=function(e){return e in this._children},d.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},d.prototype.forEachChild=function(e){l(this._children,e)},d.prototype.forEachGetter=function(e){this._rawModule.getters&&l(this._rawModule.getters,e)},d.prototype.forEachAction=function(e){this._rawModule.actions&&l(this._rawModule.actions,e)},d.prototype.forEachMutation=function(e){this._rawModule.mutations&&l(this._rawModule.mutations,e)},Object.defineProperties(d.prototype,p);var m=function(e){this.register([],e,!1)};function g(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;g(e.concat(r),t.getChild(r),n.modules[r])}}m.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},m.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},m.prototype.update=function(e){g([],this.root,e)},m.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new d(t,n);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&l(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},m.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},m.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return t.hasChild(n)};var v;var y=function(e){var t=this;void 0===e&&(e={}),!v&&"undefined"!==typeof window&&window.Vue&&j(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,u=o.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return u.call(i,e,t,n)},this.strict=r;var l=this._modules.root.state;D(this,l,[],this._modules.root),_(this,l),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:v.config.devtools;c&&a(this)},b={state:{configurable:!0}};function w(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function x(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;D(e,n,[],e._modules.root,!0),_(e,n,t)}function _(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};l(i,(function(t,n){o[n]=f(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=v.config.silent;v.config.silent=!0,e._vm=new v({data:{$$state:t},computed:o}),v.config.silent=a,e.strict&&A(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),v.nextTick((function(){return r.$destroy()})))}function D(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!i){var s=T(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit((function(){v.set(s,u,r.state)}))}var l=r.context=C(e,a,n);r.forEachMutation((function(t,n){var r=a+n;S(e,r,t,l)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,i=t.handler||t;E(e,r,i,l)})),r.forEachGetter((function(t,n){var r=a+n;M(e,r,t,l)})),r.forEachChild((function(r,o){D(e,t,n.concat(o),r,i)}))}function C(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=O(n,r,i),a=o.payload,s=o.options,u=o.type;return s&&s.root||(u=t+u),e.dispatch(u,a)},commit:r?e.commit:function(n,r,i){var o=O(n,r,i),a=o.payload,s=o.options,u=o.type;s&&s.root||(u=t+u),e.commit(u,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return k(e,t)}},state:{get:function(){return T(e.state,n)}}}),i}function k(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function S(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function E(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return h(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function M(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function A(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function T(e,t){return t.reduce((function(e,t){return e[t]}),e)}function O(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function j(e){v&&e===v||(v=e,r(v))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},y.prototype.commit=function(e,t,n){var r=this,i=O(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},y.prototype.dispatch=function(e,t){var n=this,r=O(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(l){0}var u=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){u.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(l){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(l){0}t(e)}))}))}},y.prototype.subscribe=function(e,t){return w(e,this._subscribers,t)},y.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return w(n,this._actionSubscribers,t)},y.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},y.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},y.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),D(this,this.state,e,this._modules.get(e),n.preserveState),_(this,this.state)},y.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=T(t.state,e.slice(0,-1));v.delete(n,e[e.length-1])})),x(this)},y.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},y.prototype.hotUpdate=function(e){this._modules.update(e),x(this,!0)},y.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(y.prototype,b);var F=q((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=$(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),N=q((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=$(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),I=q((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||$(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),P=q((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=$(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),B=function(e){return{mapState:F.bind(null,e),mapGetters:I.bind(null,e),mapMutations:N.bind(null,e),mapActions:P.bind(null,e)}};function L(e){return R(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function R(e){return Array.isArray(e)||c(e)}function q(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function $(e,t,n){var r=e._modulesNamespaceMap[n];return r}function z(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var h=u(e.state);"undefined"!==typeof c&&(s&&e.subscribe((function(e,o){var a=u(o);if(n(e,h,a)){var s=H(),l=i(e),f="mutation "+e.type+s;U(c,f,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(h)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),V(c)}h=a})),l&&e.subscribeAction((function(e,n){if(o(e,n)){var r=H(),i=a(e),s="action "+e.type+r;U(c,s,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),V(c)}})))}}function U(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function V(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function H(){var e=new Date;return" @ "+G(e.getHours(),2)+":"+G(e.getMinutes(),2)+":"+G(e.getSeconds(),2)+"."+G(e.getMilliseconds(),3)}function W(e,t){return new Array(t+1).join(e)}function G(e,t){return W("0",t-e.toString().length)+e}var K={Store:y,install:j,version:"3.5.1",mapState:F,mapMutations:N,mapGetters:I,mapActions:P,createNamespacedHelpers:B,createLogger:z};t["a"]=K}).call(this,n("c8ba"))},"2f9a":function(e,t){e.exports=function(){}},"2fb4":function(e,t,n){(function(t){var n=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",a="object"==typeof t&&t&&t.Object===Object&&t,s="object"==typeof self&&self&&self.Object===Object&&self,u=a||s||Function("return this")();function l(e,t){var n=-1,r=t.length,i=e.length;while(++n0&&n(s)?t>1?g(s,t-1,n,r,i):l(i,s):r||(i[i.length]=s)}return i}function v(e){return w(e)||b(e)||!!(m&&e&&e[m])}function y(e){var t=e?e.length:0;return t?g(e,1):[]}function b(e){return _(e)&&h.call(e,"callee")&&(!p.call(e,"callee")||f.call(e)==r)}var w=Array.isArray;function x(e){return null!=e&&C(e.length)&&!D(e)}function _(e){return S(e)&&x(e)}function D(e){var t=k(e)?f.call(e):"";return t==i||t==o}function C(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}function k(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function S(e){return!!e&&"object"==typeof e}e.exports=y}).call(this,n("c8ba"))},"301c":function(e,t,n){n("e198")("asyncIterator")},"30b5":function(e,t,n){"use strict";var r=n("c532");function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"31c5":function(e,t,n){(function(e){e(n("56b3"))})((function(e){"use strict";var t="CodeMirror-activeline",n="CodeMirror-activeline-background",r="CodeMirror-activeline-gutter";function i(e){for(var i=0;i=0||(i[n]=e[n]);return i}function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var r="Prettier is an opinionated code formatter",i="./bin/prettier.js",o={node:">=10.13.0"},a=["index.js","standalone.js","src","bin"],s={"@angular/compiler":"10.0.12","@babel/code-frame":"7.10.4","@babel/parser":"7.11.2","@glimmer/syntax":"0.59.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"3.10.0","angular-estree-parser":"2.2.0","angular-html-parser":"1.7.1",camelcase:"6.0.0",chalk:"4.1.0","ci-info":"watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540","cjk-regex":"2.0.0",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"4.0.2",editorconfig:"0.15.3","editorconfig-to-prettier":"0.1.1","escape-string-regexp":"4.0.0",esutils:"2.0.3","fast-glob":"3.2.4","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.132.0","get-stream":"6.0.0",globby:"11.0.1",graphql:"15.3.0","html-element-attributes":"2.2.1","html-styles":"1.0.0","html-tag-names":"1.1.5","html-void-elements":"1.0.5",ignore:"4.0.6","jest-docblock":"26.0.0",json5:"2.1.3",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.10.0",lodash:"4.17.20",mem:"6.1.0",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.0",outdent:"0.7.1","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.1.1","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-footnotes":"2.0.0","remark-math":"1.0.6","remark-parse":"8.0.3",resolve:"1.17.0",semver:"7.3.2","string-width":"4.2.0",typescript:"4.0.2","unicode-regex":"3.0.0",unified:"9.2.0",vnopts:"1.0.2","yaml-unist-parser":"1.3.1"},u={"@babel/core":"7.11.4","@babel/preset-env":"7.11.0","@babel/types":"7.11.0","@glimmer/reference":"0.59.0","@rollup/plugin-alias":"3.1.1","@rollup/plugin-babel":"5.2.0","@rollup/plugin-commonjs":"14.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"9.0.0","@rollup/plugin-replace":"2.3.3","@types/estree":"0.0.45","@types/node":"14.6.0","@typescript-eslint/types":"3.10.0","babel-loader":"8.1.0",benchmark:"2.1.4","builtin-modules":"3.1.0","cross-env":"7.0.2",cspell:"4.1.0",eslint:"7.7.0","eslint-config-prettier":"6.11.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.0","eslint-plugin-jest":"23.20.0","eslint-plugin-prettier-internal-rules":"file:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.20.6","eslint-plugin-unicorn":"21.0.0",execa:"4.0.3",jest:"26.4.2","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.1.0","jest-watch-typeahead":"0.6.0","npm-run-all":"4.1.5",prettier:"2.1.1",rimraf:"3.0.2",rollup:"2.26.5","rollup-plugin-node-globals":"1.4.0","rollup-plugin-terser":"7.0.0",shelljs:"0.8.4","snapshot-diff":"0.8.1","strip-ansi":"6.0.0","synchronous-promise":"2.0.13",tempy:"0.6.0","terser-webpack-plugin":"4.1.0",webpack:"4.44.1"},l={prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","test:integration":"jest tests_integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"run-p lint:*","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2016 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":'cspell "**/*" ".github/**/*"',"lint:deps":"node ./scripts/check-deps.js",fix:"run-s fix:eslint fix:prettier","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write",build:"node ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"},c={name:"prettier",version:"2.1.2",description:r,bin:i,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:o,files:a,dependencies:s,devDependencies:u,scripts:l},h=Object.freeze({__proto__:null,name:"prettier",version:"2.1.2",description:r,bin:i,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:o,files:a,dependencies:s,devDependencies:u,scripts:l,default:c});function f(){}function d(e,t,n,r,i){for(var o=0,a=t.length,s=0,u=0;oe.length?n:e})),l.value=e.join(h)}else l.value=e.join(n.slice(s,s+l.count));s+=l.count,l.added||(u+=l.count)}}var f=t[a-1];return a>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[a-2].value+=f.value,t.pop()),t}function p(e){return{newPos:e.newPos,components:e.components.slice(0)}}f.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function o(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,l=a+s,c=[{newPos:-1,components:[]}],h=this.extractCommon(c[0],t,e,0);if(c[0].newPos+1>=a&&h+1>=s)return o([{value:this.join(t),count:t.length}]);function f(){for(var n=-1*u;n<=u;n+=2){var r=void 0,l=c[n-1],h=c[n+1],f=(h?h.newPos:0)-n;l&&(c[n-1]=void 0);var m=l&&l.newPos+1=a&&f+1>=s)return o(d(i,r.components,t,e,i.useLongestToken));c[n]=r}else c[n]=void 0}u++}if(r)!function e(){setTimeout((function(){if(u>l)return r();f()||e()}),0)}();else for(;u<=l;){var m=f();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,o=n.length,a=e.newPos,s=a-r,u=0;a+11&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=[],o=0;function a(){var e={};for(i.push(e);o2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=T(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,i,o=e.split(/\r\n|[\n\v\f\r\x85]/),a=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,u=n.compareLine||function(e,t,n,r){return t===r},l=0,c=n.fuzzFactor||0,h=0,f=0;function d(e,t){for(var n=0;n0?r[0]:" ",a=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!u(t+1,o[t],i,a)&&++l>c)return!1;t++}}return!0}for(var p=0;p0?k[0]:" ",E=k.length>0?k.substr(1):k,M=_.linedelimiters[C];if(" "===S)D++;else if("-"===S)o.splice(D,1),a.splice(D,1);else if("+"===S)o.splice(D,0,E),a.splice(D,0,M),D++;else if("\\"===S){var A=_.lines[C-1]?_.lines[C-1][0]:null;"+"===A?r=!0:"-"===A&&(i=!0)}}}if(r)for(;!o[o.length-1];)o.pop(),a.pop();else i&&(o.push(""),a.push("\n"));for(var j=0;j0?u(m.lines.slice(-a.context)):[],c-=f.length,h-=f.length)}(o=f).push.apply(o,k(i.map((function(e){return(t.added?"+":"-")+e})))),t.added?p+=i.length:d+=i.length}else{if(c)if(i.length<=2*a.context&&e=s.length-2&&i.length<=a.context){var w=/\n$/.test(n),x=/\n$/.test(r),_=0==i.length&&f.length>b.oldLines;!w&&_&&f.splice(b.oldLines,0,"\\ No newline at end of file"),(w||_)&&x||f.push("\\ No newline at end of file")}l.push(b),c=0,h=0,f=[]}d+=i.length,p+=i.length}},g=0;ge.length)return!1;for(var n=0;n/g,">")).replace(/"/g,""")}A.tokenize=function(e){return e.slice()},A.join=A.removeEmpty=function(e){return e};var Z=Object.freeze({__proto__:null,Diff:f,diffChars:function(e,t,n){return m.diff(e,t,n)},diffWords:function(e,t,n){return n=g(n,{ignoreWhitespace:!0}),b.diff(e,t,n)},diffWordsWithSpace:function(e,t,n){return b.diff(e,t,n)},diffLines:x,diffTrimmedLines:function(e,t,n){var r=g(n,{ignoreWhitespace:!0});return w.diff(e,t,r)},diffSentences:function(e,t,n){return _.diff(e,t,n)},diffCss:function(e,t,n){return D.diff(e,t,n)},diffJson:function(e,t,n){return E.diff(e,t,n)},diffArrays:function(e,t,n){return A.diff(e,t,n)},structuredPatch:F,createTwoFilesPatch:N,createPatch:function(e,t,n,r,i,o){return N(e,e,t,n,r,i,o)},applyPatch:j,applyPatches:function(e,t){"string"==typeof e&&(e=T(e));var n=0;!function r(){var i=e[n++];if(!i)return t.complete();t.loadFile(i,(function(e,n){if(e)return t.complete(e);var o=j(n,i,t);t.patched(i,o,(function(e){if(e)return t.complete(e);r()}))}))}()},parsePatch:T,merge:function(e,t,n){e=B(e,n),t=B(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(L(e)?L(t)?(r.oldFileName=R(r,e.oldFileName,t.oldFileName),r.newFileName=R(r,e.newFileName,t.newFileName),r.oldHeader=R(r,e.oldHeader,t.oldHeader),r.newHeader=R(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var i=0,o=0,a=0,s=0;i"):r.removed&&t.push(""),t.push(J(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")},canonicalize:M});function Q(e){return{type:"concat",parts:e}}function ee(e){return{type:"indent",contents:e}}function te(e,t){return{type:"align",contents:t,n:e}}function ne(e,t){return{type:"group",id:(t=t||{}).id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}const re={type:"break-parent"},ie=Q([{type:"line",hard:!0},re]),oe=Q([{type:"line",hard:!0,literal:!0},re]);var ae={concat:Q,join:function(e,t){const n=[];for(let r=0;r0){for(let e=0;e"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")})(),""):e;const ue=e=>!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141);var le=ue,ce=ue;le.default=ce;const he=e=>{if("string"!=typeof(e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===e.length)return 0;e=se(e);let t=0;for(let n=0;n=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=le(r)?2:1)}return t};var fe=he,de=he;fe.default=de;var pe=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},me=e=>e[e.length-1],ge="undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function ve(){throw new Error("setTimeout has not been defined")}function ye(){throw new Error("clearTimeout has not been defined")}var be=ve,we=ye;function xe(e){if(be===setTimeout)return setTimeout(e,0);if((be===ve||!be)&&setTimeout)return be=setTimeout,setTimeout(e,0);try{return be(e,0)}catch(n){try{return be.call(null,e,0)}catch(n){return be.call(this,e,0)}}}"function"==typeof ge.setTimeout&&(be=setTimeout),"function"==typeof ge.clearTimeout&&(we=clearTimeout);var _e,De=[],Ce=!1,ke=-1;function Se(){Ce&&_e&&(Ce=!1,_e.length?De=_e.concat(De):ke=-1,De.length&&Ee())}function Ee(){if(!Ce){var e=xe(Se);Ce=!0;for(var t=De.length;t;){for(_e=De,De=[];++ke1)for(var n=1;nconsole.error("SEMVER",...e):()=>{},ze={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{};function Ve(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}function He(e){return e&&e.default||e}var We=Ve((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=ze,r=(t=e.exports={}).re=[],i=t.src=[],o=t.t={};let a=0;const s=(e,t,n)=>{const s=a++;$e(s,t),o[e]=s,i[s]=t,r[s]=new RegExp(t,n?"g":void 0)};s("NUMERICIDENTIFIER","0|[1-9]\\d*"),s("NUMERICIDENTIFIERLOOSE","[0-9]+"),s("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),s("MAINVERSION","(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")")),s("MAINVERSIONLOOSE","(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")")),s("PRERELEASEIDENTIFIER","(?:".concat(i[o.NUMERICIDENTIFIER],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASEIDENTIFIERLOOSE","(?:".concat(i[o.NUMERICIDENTIFIERLOOSE],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASE","(?:-(".concat(i[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIER],")*))")),s("PRERELEASELOOSE","(?:-?(".concat(i[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIERLOOSE],")*))")),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD","(?:\\+(".concat(i[o.BUILDIDENTIFIER],"(?:\\.").concat(i[o.BUILDIDENTIFIER],")*))")),s("FULLPLAIN","v?".concat(i[o.MAINVERSION]).concat(i[o.PRERELEASE],"?").concat(i[o.BUILD],"?")),s("FULL","^".concat(i[o.FULLPLAIN],"$")),s("LOOSEPLAIN","[v=\\s]*".concat(i[o.MAINVERSIONLOOSE]).concat(i[o.PRERELEASELOOSE],"?").concat(i[o.BUILD],"?")),s("LOOSE","^".concat(i[o.LOOSEPLAIN],"$")),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(i[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(i[o.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:".concat(i[o.PRERELEASE],")?").concat(i[o.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(i[o.PRERELEASELOOSE],")?").concat(i[o.BUILD],"?")+")?)?"),s("XRANGE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",i[o.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(i[o.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",s("TILDE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(i[o.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",s("CARET","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(i[o.GTLT],"\\s*(").concat(i[o.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],"|").concat(i[o.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(i[o.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const Ge=/^[0-9]+$/,Ke=(e,t)=>{const n=Ge.test(e),r=Ge.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:eKe(t,e)};const{MAX_LENGTH:Ye,MAX_SAFE_INTEGER:Je}=ze,{re:Ze,t:Qe}=We,{compareIdentifiers:et}=Xe;class tt{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof tt){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>Ye)throw new TypeError("version is longer than ".concat(Ye," characters"));$e("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?Ze[Qe.LOOSE]:Ze[Qe.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Je||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Je||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Je||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}var nt=tt,rt=(e,t,n)=>new nt(e,n).compare(new nt(t,n)),it=(e,t,n)=>rt(e,t,n)<0,ot=(e,t,n)=>rt(e,t,n)>=0,at=Ve((function(e,t){function n(){for(var e=[],t=0;t"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:null,description:"Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:dt(ct()),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:dt(lt()),cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:dt(ut()),cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:dt(st()),cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:"Global",type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}}},mt=He(h);const gt={compare:rt,lt:it,gte:ot},vt=mt.version,yt=pt.options;var bt={getSupportInfo:function({plugins:t=[],showUnreleased:n=!1,showDeprecated:r=!1,showInternal:i=!1}={}){const o=vt.split("-",1)[0],a=t.reduce((e,t)=>e.concat(t.languages||[]),[]).filter(u),s=((e,t)=>Object.entries(e).map(([e,n])=>Object.assign({[t]:e},n)))(Object.assign({},...t.map(({options:e})=>e),yt),"name").filter(e=>u(e)&&l(e)).sort((e,t)=>e.name===t.name?0:e.name{e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(u).sort((e,t)=>gt.compare(t.since,e.since))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter(e=>u(e)&&l(e)),"parser"===e.name&&function(e,t,n){const r=new Set(e.choices.map(e=>e.value));for(const i of t)if(i.parsers)for(const t of i.parsers)if(!r.has(t)){r.add(t);const o=n.find(e=>e.parsers&&e.parsers[t]);let a=i.name;o&&o.name&&(a+=" (plugin: ".concat(o.name,")")),e.choices.push({value:t,description:a})}}(e,a,t));const n=t.filter(t=>t.defaultOptions&&void 0!==t.defaultOptions[e.name]).reduce((t,n)=>(t[n.name]=n.defaultOptions[e.name],t),{});return Object.assign({},e,{pluginDefaults:n})});return{languages:a,options:s};function u(e){return n||!("since"in e)||e.since&>.gte(o,e.since)}function l(e){return r||!("deprecated"in e)||e.deprecated&>.lt(o,e.deprecated)}}};const wt=/[^\x20-\x7F]/;function xt(e){return(t,n,r)=>{const i=r&&r.backwards;if(!1===n)return!1;const{length:o}=t;let a=n;for(;a>=0&&a(n.match(a.regex)||[]).length?a.quote:o.quote),s}function It(e,t,n){const r='"'===t?"'":'"',i=e.replace(/\\([\S\s])|(["'])/g,(e,i,o)=>i===r?i:o===t?"\\"+o:o||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i));return t+i+t}function Pt(e){return e&&(e.comments&&e.comments.length>0&&e.comments.some(e=>Bt(e)&&!e.unignore)||e.prettierIgnore)}function Bt(e){return"prettier-ignore"===e.value.trim()}function Lt(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var Rt={replaceEndOfLineWith:function(e,t){const n=[];for(const r of e.split("\n"))0!==n.length&&n.push(t),n.push(r);return n},getStringWidth:function(e){return e?wt.test(e)?fe(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(pe(t),")+"),"g"));return null===n?0:n.reduce((e,n)=>Math.max(e,n.length/t.length),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(pe(t),")+"),"g"));if(null===n)return 0;const r=new Map;let i=0;for(const o of n){const e=o.length/t.length;r.set(e,!0),e>i&&(i=e)}for(let o=1;ot.name.toLowerCase()===e||t.aliases&&t.aliases.includes(e)||t.extensions&&t.extensions.some(t=>t===".".concat(e)));return n?n.parsers[0]:null},getPenultimate:e=>e[e.length-2],getLast:me,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ot,getNextNonSpaceNonCommentCharacterIndex:jt,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(jt(e,t,n))},skip:xt,skipWhitespace:_t,skipSpaces:Dt,skipToLineEnd:Ct,skipEverythingButNewLine:kt,skipInlineComment:St,skipTrailingComment:Et,skipNewline:Mt,isNextLineEmptyAfterIndex:Tt,isNextLineEmpty:function(e,t,n){return Tt(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=Dt(e,r,{backwards:!0}),r=Mt(e,r,{backwards:!0}),r=Dt(e,r,{backwards:!0}),r!==Mt(e,r,{backwards:!0})},hasNewline:At,hasNewlineInRange:function(e,t,n){for(let r=t;r=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}const r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const{getStringWidth:$t}=Rt,{convertEndOfLineToChars:zt}=qt,{concat:Ut,fill:Vt,cursor:Ht}=ae;let Wt;function Gt(e,t){return Xt(e,{type:"indent"},t)}function Kt(e,t,n){return t===-1/0?e.root||{value:"",length:0,queue:[]}:t<0?Xt(e,{type:"dedent"},n):t?"root"===t.type?Object.assign({},e,{root:e}):Xt(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function Xt(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):e.queue.concat(t);let i="",o=0,a=0,s=0;for(const d of r)switch(d.type){case"indent":c(),n.useTabs?u(1):l(n.tabWidth);break;case"stringAlign":c(),i+=d.n,o+=d.n.length;break;case"numberAlign":a+=1,s+=d.n;break;default:throw new Error("Unexpected type '".concat(d.type,"'"))}return h(),Object.assign({},e,{value:i,length:o,queue:r});function u(e){i+="\t".repeat(e),o+=n.tabWidth*e}function l(e){i+=" ".repeat(e),o+=e}function c(){n.useTabs?function(){a>0&&u(a),f()}():h()}function h(){s>0&&l(s),f()}function f(){a=0,s=0}}function Yt(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof e[e.length-1]&&e[e.length-1].match(/^[\t ]*$/);)t+=e.pop().length;if(e.length&&"string"==typeof e[e.length-1]){const n=e[e.length-1].replace(/[\t ]*$/,"");t+=e[e.length-1].length-n.length,e[e.length-1]=n}return t}function Jt(e,t,n,r,i){let o=t.length;const a=[e],s=[];for(;n>=0;){if(0===a.length){if(0===o)return!0;a.push(t[o-1]),o--;continue}const[e,u,l]=a.pop();if("string"==typeof l)s.push(l),n-=$t(l);else switch(l.type){case"concat":for(let t=l.parts.length-1;t>=0;t--)a.push([e,u,l.parts[t]]);break;case"indent":a.push([Gt(e,r),u,l.contents]);break;case"align":a.push([Kt(e,l.n,r),u,l.contents]);break;case"trim":n+=Yt(s);break;case"group":if(i&&l.break)return!1;a.push([e,l.break?1:u,l.contents]),l.id&&(Wt[l.id]=a[a.length-1][1]);break;case"fill":for(let t=l.parts.length-1;t>=0;t--)a.push([e,u,l.parts[t]]);break;case"if-break":{const t=l.groupId?Wt[l.groupId]:u;1===t&&l.breakContents&&a.push([e,u,l.breakContents]),2===t&&l.flatContents&&a.push([e,u,l.flatContents]);break}case"line":switch(u){case 2:if(!l.hard){l.soft||(s.push(" "),n-=1);break}return!0;case 1:return!0}}}return!1}var Zt={printDocToString:function(e,t){Wt={};const n=t.printWidth,r=zt(t.endOfLine);let i=0;const o=[[{value:"",length:0,queue:[]},1,e]],a=[];let s=!1,u=[];for(;0!==o.length;){const[e,l,c]=o.pop();if("string"==typeof c){const e="\n"!==r&&c.includes("\n")?c.replace(/\n/g,r):c;a.push(e),i+=$t(e)}else switch(c.type){case"cursor":a.push(Ht.placeholder);break;case"concat":for(let t=c.parts.length-1;t>=0;t--)o.push([e,l,c.parts[t]]);break;case"indent":o.push([Gt(e,t),l,c.contents]);break;case"align":o.push([Kt(e,c.n,t),l,c.contents]);break;case"trim":i-=Yt(a);break;case"group":switch(l){case 2:if(!s){o.push([e,c.break?1:2,c.contents]);break}case 1:{s=!1;const r=[e,2,c.contents],a=n-i;if(!c.break&&Jt(r,o,a,t))o.push(r);else if(c.expandedStates){const n=c.expandedStates[c.expandedStates.length-1];if(c.break){o.push([e,1,n]);break}for(let r=1;r=c.expandedStates.length){o.push([e,1,n]);break}{const n=[e,2,c.expandedStates[r]];if(Jt(n,o,a,t)){o.push(n);break}}}}else o.push([e,1,c.contents]);break}}c.id&&(Wt[c.id]=o[o.length-1][1]);break;case"fill":{const r=n-i,{parts:a}=c;if(0===a.length)break;const[s,u]=a,h=[e,2,s],f=[e,1,s],d=Jt(h,[],r,t,!0);if(1===a.length){d?o.push(h):o.push(f);break}const p=[e,2,u],m=[e,1,u];if(2===a.length){d?(o.push(p),o.push(h)):(o.push(m),o.push(f));break}a.splice(0,2);const g=[e,l,Vt(a)],v=a[0];Jt([e,2,Ut([s,u,v])],[],r,t,!0)?(o.push(g),o.push(p),o.push(h)):d?(o.push(g),o.push(m),o.push(h)):(o.push(g),o.push(m),o.push(f));break}case"if-break":{const t=c.groupId?Wt[c.groupId]:l;1===t&&c.breakContents&&o.push([e,l,c.breakContents]),2===t&&c.flatContents&&o.push([e,l,c.flatContents]);break}case"line-suffix":u.push([e,l,c.contents]);break;case"line-suffix-boundary":u.length>0&&o.push([e,l,{type:"line",hard:!0}]);break;case"line":switch(l){case 2:if(!c.hard){c.soft||(a.push(" "),i+=1);break}s=!0;case 1:if(u.length){o.push([e,l,c]),o.push(...u.reverse()),u=[];break}c.literal?e.root?(a.push(r,e.root.value),i=e.root.length):(a.push(r),i=0):(i-=Yt(a),a.push(r+e.value),i=e.length)}}}const l=a.indexOf(Ht.placeholder);if(-1!==l){const e=a.indexOf(Ht.placeholder,l+1),t=a.slice(0,l).join(""),n=a.slice(l+1,e).join("");return{formatted:t+n+a.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:a.join("")}}};const{literalline:Qt,concat:en}=ae,tn={};function nn(e,t,n,r){const i=[e];for(;0!==i.length;){const e=i.pop();if(e!==tn){if(n&&i.push(e,tn),!t||!1!==t(e))if("concat"===e.type||"fill"===e.type)for(let t=e.parts.length-1;t>=0;--t)i.push(e.parts[t]);else if("if-break"===e.type)e.flatContents&&i.push(e.flatContents),e.breakContents&&i.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(r)for(let t=e.expandedStates.length-1;t>=0;--t)i.push(e.expandedStates[t]);else i.push(e.contents);else e.contents&&i.push(e.contents)}else n(i.pop())}}function rn(e,t){if("concat"===e.type||"fill"===e.type){const n=e.parts.map(e=>rn(e,t));return t(Object.assign({},e,{parts:n}))}if("if-break"===e.type){const n=e.breakContents&&rn(e.breakContents,t),r=e.flatContents&&rn(e.flatContents,t);return t(Object.assign({},e,{breakContents:n,flatContents:r}))}if(e.contents){const n=rn(e.contents,t);return t(Object.assign({},e,{contents:n}))}return t(e)}function on(e,t,n){let r=n,i=!1;return nn(e,(function(e){const n=t(e);if(void 0!==n&&(i=!0,r=n),i)return!1})),r}function an(e){return"string"!=typeof e&&("line"===e.type||void 0)}function sn(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function un(e){if(e.length>0){const t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function ln(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function cn(e){const t=[],n=e.filter(Boolean);for(;0!==n.length;){const e=n.shift();e&&("concat"!==e.type?0===t.length||"string"!=typeof t[t.length-1]||"string"!=typeof e?t.push(e):t[t.length-1]+=e:n.unshift(...e.parts))}return t}function hn(e){if("concat"===e.type){const t=[];for(let n=0;n0&&!t;r--)t=n[r-1];return"group"===t.type&&(n=t.contents.parts),n}(t):t.parts,i=r[r.length-1];if("concat"===i.type)return 2===i.parts.length&&i.parts[0].hard&&"break-parent"===i.parts[1].type?{type:"concat",parts:r.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(i))}}return t},normalizeParts:cn,normalizeDoc:function(e){return rn(e,e=>e.parts?Object.assign({},e,{parts:cn(e.parts)}):e)},replaceNewlinesWithLiterallines:function(e){return rn(e,e=>"string"==typeof e&&e.includes("\n")?en(e.split(/(\n)/g).map((e,t)=>t%2==0?e:Qt)):e)}},debug:{printDocToDebug:e=>fn(hn(e))}},pn=Object.freeze({__proto__:null,default:{}});const mn=/[/\\]/;function gn(e){return e.split(mn).pop()}var vn=Object.freeze({__proto__:null,extname:function(e){const t=gn(e),n=t.lastIndexOf(".");return-1===n?"":t.slice(n)},basename:gn,isAbsolute:function(){return!0}}),yn=[],bn=[],wn="undefined"!=typeof Uint8Array?Uint8Array:Array,xn=!1;function _n(){xn=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+yn[i>>12&63]+yn[i>>6&63]+yn[63&i]);return o.join("")}function Cn(e){var t;xn||_n();for(var n=e.length,r=n%3,i="",o=[],a=0,s=n-r;as?s:a+16383));return 1===r?(t=e[n-1],i+=yn[t>>2],i+=yn[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=yn[t>>10],i+=yn[t>>4&63],i+=yn[t<<2&63],i+="="),o.push(i),o.join("")}function kn(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,c=-7,h=n?i-1:0,f=n?-1:1,d=e[t+h];for(h+=f,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+h],h+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+h],h+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=l}return(d?-1:1)*a*Math.pow(2,o-r)}function Sn(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+h>=1?f/u:f*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(t*u-1)*Math.pow(2,i),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<0;e[n+d]=255&a,d+=p,a/=256,l-=8);e[n+d-p]|=128*m}var En={}.toString,Mn=Array.isArray||function(e){return"[object Array]"==En.call(e)};function An(){return On.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Tn(e,t){if(An()=An())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+An().toString(16)+" bytes");return 0|e}function Bn(e){return!(null==e||!e._isBuffer)}function Ln(e,t){if(Bn(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return cr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return hr(e).length;default:if(r)return cr(e).length;t=(""+t).toLowerCase(),r=!0}}function Rn(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Qn(this,t,n);case"utf8":case"utf-8":return Yn(this,t,n);case"ascii":return Jn(this,t,n);case"latin1":case"binary":return Zn(this,t,n);case"base64":return Xn(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return er(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function qn(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function $n(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=On.from(t,r)),Bn(t))return 0===t.length?-1:zn(e,t,n,r,i);if("number"==typeof t)return t&=255,On.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):zn(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function zn(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var h=!0,f=0;fi&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function Xn(e,t,n){return 0===t&&n===e.length?Cn(e):Cn(e.slice(t,n))}function Yn(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+h<=n)switch(h){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,h=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function nr(e,t,n,r,i,o){if(!Bn(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function rr(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function ir(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function or(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function ar(e,t,n,r,i){return i||or(e,0,n,4),Sn(e,t,n,r,23,4),n+4}function sr(e,t,n,r,i){return i||or(e,0,n,8),Sn(e,t,n,r,52,8),n+8}On.TYPED_ARRAY_SUPPORT=void 0===ge.TYPED_ARRAY_SUPPORT||ge.TYPED_ARRAY_SUPPORT,On.poolSize=8192,On._augment=function(e){return e.__proto__=On.prototype,e},On.from=function(e,t,n){return jn(null,e,t,n)},On.TYPED_ARRAY_SUPPORT&&(On.prototype.__proto__=Uint8Array.prototype,On.__proto__=Uint8Array),On.alloc=function(e,t,n){return function(e,t,n,r){return Fn(t),t<=0?Tn(e,t):void 0!==n?"string"==typeof r?Tn(e,t).fill(n,r):Tn(e,t).fill(n):Tn(e,t)}(null,e,t,n)},On.allocUnsafe=function(e){return Nn(null,e)},On.allocUnsafeSlow=function(e){return Nn(null,e)},On.isBuffer=function(e){return null!=e&&(!!e._isBuffer||dr(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&dr(e.slice(0,0))}(e))},On.compare=function(e,t){if(!Bn(e)||!Bn(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},On.prototype.compare=function(e,t,n,r,i){if(!Bn(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(r,i),l=e.slice(t,n),c=0;ci)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return Un(this,e,t,n);case"utf8":case"utf-8":return Vn(this,e,t,n);case"ascii":return Hn(this,e,t,n);case"latin1":case"binary":return Wn(this,e,t,n);case"base64":return Gn(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kn(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},On.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},On.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},On.prototype.readUInt8=function(e,t){return t||tr(e,1,this.length),this[e]},On.prototype.readUInt16LE=function(e,t){return t||tr(e,2,this.length),this[e]|this[e+1]<<8},On.prototype.readUInt16BE=function(e,t){return t||tr(e,2,this.length),this[e]<<8|this[e+1]},On.prototype.readUInt32LE=function(e,t){return t||tr(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},On.prototype.readUInt32BE=function(e,t){return t||tr(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},On.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||tr(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},On.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||tr(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},On.prototype.readInt8=function(e,t){return t||tr(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},On.prototype.readInt16LE=function(e,t){t||tr(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},On.prototype.readInt16BE=function(e,t){t||tr(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},On.prototype.readInt32LE=function(e,t){return t||tr(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},On.prototype.readInt32BE=function(e,t){return t||tr(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},On.prototype.readFloatLE=function(e,t){return t||tr(e,4,this.length),kn(this,e,!0,23,4)},On.prototype.readFloatBE=function(e,t){return t||tr(e,4,this.length),kn(this,e,!1,23,4)},On.prototype.readDoubleLE=function(e,t){return t||tr(e,8,this.length),kn(this,e,!0,52,8)},On.prototype.readDoubleBE=function(e,t){return t||tr(e,8,this.length),kn(this,e,!1,52,8)},On.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||nr(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},On.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||nr(this,e,t,1,255,0),On.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},On.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||nr(this,e,t,2,65535,0),On.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):rr(this,e,t,!0),t+2},On.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||nr(this,e,t,2,65535,0),On.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):rr(this,e,t,!1),t+2},On.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||nr(this,e,t,4,4294967295,0),On.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):ir(this,e,t,!0),t+4},On.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||nr(this,e,t,4,4294967295,0),On.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):ir(this,e,t,!1),t+4},On.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);nr(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},On.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);nr(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},On.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||nr(this,e,t,1,127,-128),On.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},On.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||nr(this,e,t,2,32767,-32768),On.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):rr(this,e,t,!0),t+2},On.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||nr(this,e,t,2,32767,-32768),On.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):rr(this,e,t,!1),t+2},On.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||nr(this,e,t,4,2147483647,-2147483648),On.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):ir(this,e,t,!0),t+4},On.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||nr(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),On.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):ir(this,e,t,!1),t+4},On.prototype.writeFloatLE=function(e,t,n){return ar(this,e,t,!0,n)},On.prototype.writeFloatBE=function(e,t,n){return ar(this,e,t,!1,n)},On.prototype.writeDoubleLE=function(e,t,n){return sr(this,e,t,!0,n)},On.prototype.writeDoubleBE=function(e,t,n){return sr(this,e,t,!1,n)},On.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!On.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function hr(e){return function(e){var t,n,r,i,o,a;xn||_n();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new wn(3*s/4-o),r=o>0?s-4:s;var u=0;for(t=0,n=0;t>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=bn[e.charCodeAt(t)]<<2|bn[e.charCodeAt(t+1)]>>4,a[u++]=255&i):1===o&&(i=bn[e.charCodeAt(t)]<<10|bn[e.charCodeAt(t+1)]<<4|bn[e.charCodeAt(t+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(ur,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function fr(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function dr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var pr=He(pn),mr=class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:pr.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}_searchInBuffer(e,t){let n=-1;for(let r=0;r<=e.length;r++)if(e[r]===t){n=r;break}return n}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}close(){pr.closeSync(this.fd),this.fd=null}_extractLines(e){let t;const n=[];let r=0,i=0;for(;;){let o=e[r++];if(o===this.newLineCharacter)t=e.slice(i,r),n.push(t),i=r;else if(!o)break}let o=e.slice(i,r);return o.length&&n.push(o),n}_readChunk(e){let t,n=0;const r=[];do{const e=new On(this.options.readChunk);t=pr.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(e)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let i=On.concat(r);return t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Cr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function kr(e){return this instanceof kr?(this.v=e,this):new kr(e)}var Sr=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}xr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return _r},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!((i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof kr?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function u(e){s("next",e)}function l(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:kr(e[r](t)),done:"return"===r}:i?i(t):t}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Dr(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),Er=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map(e=>t.apiDescriptor.value(e)).join(", "),"]");const n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map(n=>"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))).join(", ")," }")},pair:({key:e,value:n})=>t.apiDescriptor.value({[e]:n})}})),Mr=He(Sr),Ar=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Mr.__exportStar(Er,t)})),Tr=/[|\\{}()[\]^$+*?.]/g,Or=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Tr,"\\$&")},jr={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Fr=Ve((function(e){var t={};for(var n in jr)jr.hasOwnProperty(n)&&(t[jr[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,a=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:a})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a;return s===a?t=0:r===s?t=(i-o)/u:i===s?t=2+(o-r)/u:o===s&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?u/(s+a):u/(2-s-a)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,s=e[1]/255,u=e[2]/255,l=Math.max(a,s,u),c=l-Math.min(a,s,u),h=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=h(a),n=h(s),r=h(u),a===l?i=r-n:s===l?i=1/3+t-r:u===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,a=1/0;for(var s in jr)if(jr.hasOwnProperty(s)){var u=jr[s],l=(i=e,o=u,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0===s)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,a,s,u=e[0]/360,l=e[1]/100,c=e[2]/100,h=l+c;switch(h>1&&(l/=h,c/=h),r=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,a=i,s=l;break;case 1:o=i,a=n,s=l;break;case 2:o=l,a=n,s=i;break;case 3:o=l,a=i,s=n;break;case 4:o=i,a=l,s=n;break;case 5:o=n,a=l,s=i}return[255*o,255*a,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),s=o-a;return t=s<=0?0:o===n?(r-i)/s%6:o===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function Nr(e){var t=function(){for(var e={},t=Object.keys(Fr),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Lr=Br,Rr=Ve((function(e){const t=(e,t)=>function(){const n=e.apply(Lr,arguments);return"[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(Lr,arguments);return"[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(Lr,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const o=e=>e,a=(e,t,n)=>[e,t,n];i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(a,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(a,10)};for(let s of Object.keys(Lr)){if("object"!=typeof Lr[s])continue;const e=Lr[s];"ansi16"===s&&(s="ansi"),"ansi16"in e&&(i.color.ansi[s]=t(e.ansi16,0),i.bgColor.ansi[s]=t(e.ansi16,10)),"ansi256"in e&&(i.color.ansi256[s]=n(e.ansi256,0),i.bgColor.ansi256[s]=n(e.ansi256,10)),"rgb"in e&&(i.color.ansi16m[s]=r(e.rgb,0),i.bgColor.ansi16m[s]=r(e.rgb,10))}return i}})})),qr={EOL:"\n"},$r=(e,t)=>{t=t||qe.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r=2,has16m:e>=3}}(function(e){if(!1===Ur)return 0;if($r("color=16m")||$r("color=full")||$r("color=truecolor"))return 3;if($r("color=256"))return 2;if(e&&!e.isTTY&&!0!==Ur)return 0;const t=Ur?1:0;if("win32"===qe.platform){const e=qr.release().split(".");return Number(qe.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in zr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in zr)||"codeship"===zr.CI_NAME?1:t;if("TEAMCITY_VERSION"in zr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(zr.TEAMCITY_VERSION)?1:0;if("truecolor"===zr.COLORTERM)return 3;if("TERM_PROGRAM"in zr){const e=parseInt((zr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(zr.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(zr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(zr.TERM)||"COLORTERM"in zr?1:(zr.TERM,t)}(e))}$r("no-color")||$r("no-colors")||$r("color=false")?Ur=!1:($r("color")||$r("colors")||$r("color=true")||$r("color=always"))&&(Ur=!0),"FORCE_COLOR"in zr&&(Ur=0===zr.FORCE_COLOR.length||0!==parseInt(zr.FORCE_COLOR,10));var Hr={supportsColor:Vr,stdout:Vr(qe.stdout),stderr:Vr(qe.stderr)};const Wr=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Gr=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Kr=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Xr=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Yr=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Jr(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Yr.get(e)||e}function Zr(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r)if(isNaN(o)){if(!(i=o.match(Kr)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(Xr,(e,t,n)=>t?Jr(t):n))}else n.push(Number(o));return n}function Qr(e){Gr.lastIndex=0;const t=[];let n;for(;null!==(n=Gr.exec(e));){const e=n[1];if(n[2]){const r=Zr(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function ei(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}var ti=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Wr,(t,o,a,s,u,l)=>{if(o)i.push(Jr(o));else if(s){const t=i.join("");i=[],r.push(0===n.length?t:ei(e,n)(t)),n.push({inverse:a,styles:Qr(s)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ei(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},ni=Ve((function(e){const t=Hr.stdout,n="win32"===qe.platform&&!(qe.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function a(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){const t={};return a(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,s.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=s,t.template}a(this,e)}n&&(Rr.blue.open="");for(const f of Object.keys(Rr))Rr[f].closeRe=new RegExp(Or(Rr[f].close),"g"),o[f]={get(){const e=Rr[f];return l.call(this,this._styles?this._styles.concat(e):[e],this._empty,f)}};o.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},Rr.color.closeRe=new RegExp(Or(Rr.color.close),"g");for(const f of Object.keys(Rr.color.ansi))i.has(f)||(o[f]={get(){const e=this.level;return function(){const t=Rr.color[r[e]][f].apply(null,arguments),n={open:t,close:Rr.color.close,closeRe:Rr.color.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});Rr.bgColor.closeRe=new RegExp(Or(Rr.bgColor.close),"g");for(const f of Object.keys(Rr.bgColor.ansi))i.has(f)||(o["bg"+f[0].toUpperCase()+f.slice(1)]={get(){const e=this.level;return function(){const t=Rr.bgColor[r[e]][f].apply(null,arguments),n={open:t,close:Rr.bgColor.close,closeRe:Rr.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});const u=Object.defineProperties(()=>{},o);function l(e,t,n){const r=function e(){return c.apply(e,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=u,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n{const r=["".concat(ni.default.yellow("string"==typeof e?n.key(e):n.pair(e))," is deprecated")];return t&&r.push("we now treat it as ".concat(ni.default.blue("string"==typeof t?n.key(t):n.pair(t)))),r.join("; ")+"."}})),ii=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Mr.__exportStar(ri,t)})),oi=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonInvalidHandler=(e,t,n)=>["Invalid ".concat(ni.default.red(n.descriptor.key(e))," value."),"Expected ".concat(ni.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(ni.default.red(n.descriptor.value(t)),".")].join(" ")})),ai=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Mr.__exportStar(oi,t)})),si=[],ui=[],li=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.levenUnknownHandler=(e,t,{descriptor:n,logger:r,schemas:i})=>{const o=["Ignored unknown option ".concat(ni.default.yellow(n.pair({key:e,value:t})),".")],a=Object.keys(i).sort().find(t=>function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,i=t.length;if(0===r)return i;if(0===i)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;if(0===r)return i;for(var o,a,s,u,l=0;la?u>a?a+1:u:u>s?s+1:u;return a}(e,t)<3);a&&o.push("Did you mean ".concat(ni.default.blue(n.key(a)),"?")),r.warn(o.join(" "))}})),ci=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Mr.__exportStar(li,t)})),hi=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Mr.__exportStar(ii,t),Mr.__exportStar(ai,t),Mr.__exportStar(ci,t)})),fi=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,t){const r=new e(t),a=Object.create(r);for(const s of n)s in t&&(a[s]=o(t[s],r,i.prototype[s].length));return a}t.createSchema=r;class i{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}}function o(e,t,n){return"function"==typeof e?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}t.Schema=i})),di=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends fi.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}}t.AliasSchema=n})),pi=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends fi.Schema{expected(){return"anything"}validate(){return!0}}t.AnySchema=n})),mi=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends fi.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=Mr.__rest(e,["valueSchema","name"]);super(Object.assign({},r,{name:n})),this._valueSchema=t}expected(e){return"an array of ".concat(this._valueSchema.expected(e))}validate(e,t){if(!Array.isArray(e))return!1;const n=[];for(const r of e){const e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){const n=[];for(const r of e){const e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map(({value:e})=>({value:[e]})))}return n}forward(e,t){const n=[];for(const i of e){const e=t.normalizeForwardResult(this._valueSchema.forward(i,t),i);n.push(...e.map(r))}return n}redirect(e,t){const n=[],i=[];for(const o of e){const e=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in e&&n.push(e.remain),i.push(...e.redirect.map(r))}return 0===n.length?{redirect:i}:{redirect:i,remain:n}}overlap(e,t){return e.concat(t)}}function r({from:e,to:t}){return{from:[e],to:t}}t.ArraySchema=n})),gi=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends fi.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}t.BooleanSchema=n})),vi=Ve((function(e,t){function n(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function r(e,t){return void 0===e?[]:Array.isArray(e)?e.map(e=>n(e,t)):[n(e,t)]}Object.defineProperty(t,"__esModule",{value:!0}),t.recordFromArray=function(e,t){const n=Object.create(null);for(const r of e){const e=r[t];if(n[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n[e]=r}return n},t.mapFromArray=function(e,t){const n=new Map;for(const r of e){const e=r[t];if(n.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n.set(e,r)}return n},t.createAutoChecklist=function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},t.partition=function(e,t){const n=[],r=[];for(const i of e)t(i)?n.push(i):r.push(i);return[n,r]},t.isInt=function(e){return e===Math.floor(e)},t.comparePrimitive=function(e,t){if(e===t)return 0;const n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},t.normalizeDefaultResult=function(e){return void 0===e?{}:e},t.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},t.normalizeDeprecatedResult=function(e,t,n=!1){return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},t.normalizeTransferResult=n,t.normalizeForwardResult=r,t.normalizeRedirectResult=function(e,t){const n=r("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}})),yi=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends fi.Schema{constructor(e){super(e),this._choices=vi.mapFromArray(e.choices.map(e=>e&&"object"==typeof e?e:{value:e}),"value")}expected({descriptor:e}){const t=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(vi.comparePrimitive).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return n.concat(r.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){const t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){const t=this._choices.get(e);return t?t.forward:void 0}redirect(e){const t=this._choices.get(e);return t?t.redirect:void 0}}t.ChoiceSchema=n})),bi=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends fi.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}}t.NumberSchema=n})),wi=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends bi.NumberSchema{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&vi.isInt(e)}}t.IntegerSchema=n})),xi=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends fi.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}t.StringSchema=n})),_i=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Mr.__exportStar(di,t),Mr.__exportStar(pi,t),Mr.__exportStar(mi,t),Mr.__exportStar(gi,t),Mr.__exportStar(yi,t),Mr.__exportStar(wi,t),Mr.__exportStar(bi,t),Mr.__exportStar(xi,t)})),Di=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultDescriptor=Er.apiDescriptor,t.defaultUnknownHandler=li.levenUnknownHandler,t.defaultInvalidHandler=ai.commonInvalidHandler,t.defaultDeprecatedHandler=ri.commonDeprecatedHandler})),Ci=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=(e,t,r)=>new n(t,r).normalize(e);class n{constructor(e,t){const{logger:n=console,descriptor:r=Di.defaultDescriptor,unknown:i=Di.defaultUnknownHandler,invalid:o=Di.defaultInvalidHandler,deprecated:a=Di.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:vi.recordFromArray(e,"name"),normalizeDefaultResult:vi.normalizeDefaultResult,normalizeDeprecatedResult:vi.normalizeDeprecatedResult,normalizeForwardResult:vi.normalizeForwardResult,normalizeRedirectResult:vi.normalizeRedirectResult,normalizeValidateResult:vi.normalizeValidateResult},this._unknownHandler=i,this._invalidHandler=o,this._deprecatedHandler=a,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=vi.createAutoChecklist()}normalize(e){const t={},n=[e],r=()=>{for(;0!==n.length;){const e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};r();for(const i of Object.keys(this._utils.schemas)){const e=this._utils.schemas[i];if(!(i in t)){const t=vi.normalizeDefaultResult(e.default(this._utils));"value"in t&&n.push({[i]:t.value})}}r();for(const i of Object.keys(this._utils.schemas)){const e=this._utils.schemas[i];i in t&&(t[i]=e.postprocess(t[i],this._utils))}return t}_applyNormalization(e,t){const n=[],[r,i]=vi.partition(Object.keys(e),e=>e in this._utils.schemas);for(const o of r){const r=this._utils.schemas[o],i=r.preprocess(e[o],this._utils),a=vi.normalizeValidateResult(r.validate(i,this._utils),i);if(!0!==a){const{value:e}=a,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?new Error(t):t}const s=({from:e,to:t})=>{n.push("string"==typeof t?{[t]:e}:{[t.key]:t.value})},u=({value:e,redirectTo:t})=>{const n=vi.normalizeDeprecatedResult(r.deprecated(e,this._utils),i,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,t,this._utils));else for(const{value:r}of n){const e={key:o,value:r};if(!this._hasDeprecationWarned(e)){const n="string"==typeof t?{key:t,value:r}:t;this._utils.logger.warn(this._deprecatedHandler(e,n,this._utils))}}};vi.normalizeForwardResult(r.forward(i,this._utils),i).forEach(s);const l=vi.normalizeRedirectResult(r.redirect(i,this._utils),i);if(l.redirect.forEach(s),"remain"in l){const e=l.remain;t[o]=o in t?r.overlap(t[o],e,this._utils):e,u({value:e})}for(const{from:e,to:t}of l.redirect)u({value:e,redirectTo:t})}for(const o of i){const r=e[o],i=this._unknownHandler(o,r,this._utils);if(i)for(const e of Object.keys(i)){const r={[e]:i[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}}t.Normalizer=n})),ki=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Mr.__exportStar(Ar,t),Mr.__exportStar(hi,t),Mr.__exportStar(_i,t),Mr.__exportStar(Ci,t),Mr.__exportStar(fi,t)}));const Si=[],Ei=[],Mi=(e,t)=>{if(e===t)return 0;const n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let o,a,s,u,l=0;for(;la?u>a?a+1:u:u>s?s+1:u;return a};var Ai=Mi,Ti=Mi;Ai.default=Ti;var Oi={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const ji={};for(const t of Object.keys(Oi))ji[Oi[t]]=t;const Fi={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Ni=Fi;for(const t of Object.keys(Fi)){if(!("channels"in Fi[t]))throw new Error("missing channels property: "+t);if(!("labels"in Fi[t]))throw new Error("missing channel labels property: "+t);if(Fi[t].labels.length!==Fi[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=Fi[t];delete Fi[t].channels,delete Fi[t].labels,Object.defineProperty(Fi[t],"channels",{value:e}),Object.defineProperty(Fi[t],"labels",{value:n})}function Ii(e){const t=function(){const e={},t=Object.keys(Ni);for(let n=t.length,r=0;r1&&(i-=1)),[360*i,100*o,100*l]},Fi.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const i=Fi.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,100*o,100*r]},Fi.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},Fi.rgb.keyword=function(e){const t=ji[e];if(t)return t;let n,r=1/0;for(const a of Object.keys(Oi)){const t=(o=Oi[a],((i=e)[0]-o[0])**2+(i[1]-o[1])**2+(i[2]-o[2])**2);t.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Fi.rgb.lab=function(e){const t=Fi.rgb.xyz(e);let n=t[0],r=t[1],i=t[2];return n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,[116*r-16,500*(n-r),200*(r-i)]},Fi.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,o,a;if(0===n)return a=255*r,[a,a,a];i=r<.5?r*(1+n):r+n-r*n;const s=2*r-i,u=[0,0,0];for(let l=0;l<3;l++)o=t+1/3*-(l-1),o<0&&o++,o>1&&o--,a=6*o<1?s+6*(i-s)*o:2*o<1?i:3*o<2?s+(i-s)*(2/3-o)*6:s,u[l]=255*a;return u},Fi.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const o=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},Fi.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},Fi.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let o,a;a=(2-n)*r;const s=(2-n)*i;return o=n*i,o/=s<=1?s:2-s,o=o||0,a/=2,[t,100*o,100*a]},Fi.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let o;i>1&&(n/=i,r/=i);const a=Math.floor(6*t),s=1-r;o=6*t-a,0!=(1&a)&&(o=1-o);const u=n+o*(s-n);let l,c,h;switch(a){default:case 6:case 0:l=s,c=u,h=n;break;case 1:l=u,c=s,h=n;break;case 2:l=n,c=s,h=u;break;case 3:l=n,c=u,h=s;break;case 4:l=u,c=n,h=s;break;case 5:l=s,c=n,h=u}return[255*l,255*c,255*h]},Fi.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},Fi.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,o,a;return i=3.2406*t+-1.5372*n+-.4986*r,o=-.9689*t+1.8758*n+.0415*r,a=.0557*t+-.204*n+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[255*i,255*o,255*a]},Fi.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(t-n),200*(n-r)]},Fi.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const i=n**3,o=t**3,a=r**3;return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},Fi.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;return i=360*Math.atan2(r,n)/2/Math.PI,i<0&&(i+=360),[t,Math.sqrt(n*n+r*r),i]},Fi.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Fi.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let o=null===t?Fi.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),0===o)return 30;let a=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(a+=60),a},Fi.hsv.ansi16=function(e){return Fi.rgb.ansi16(Fi.hsv.rgb(e),e[2])},Fi.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Fi.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Fi.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Fi.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Fi.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Fi.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),o=Math.min(Math.min(t,n),r),a=i-o;let s,u;return s=a<1?o/(1-a):0,u=a<=0?0:i===t?(n-r)/a%6:i===n?2+(r-t)/a:4+(t-n)/a,u/=6,u%=1,[360*u,100*a,100*s]},Fi.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},Fi.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Fi.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const i=[0,0,0],o=t%1*6,a=o%1,s=1-a;let u=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return u=(1-n)*r,[255*(n*i[0]+u),255*(n*i[1]+u),255*(n*i[2]+u)]},Fi.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Fi.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Fi.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Fi.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Fi.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Fi.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Fi.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Fi.gray.hsl=function(e){return[0,0,e[0]]},Fi.gray.hsv=Fi.gray.hsl,Fi.gray.hwb=function(e){return[0,100,e[0]]},Fi.gray.cmyk=function(e){return[0,0,0,e[0]]},Fi.gray.lab=function(e){return[e[0],0,0]},Fi.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Fi.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const Li={};Object.keys(Ni).forEach(e=>{Li[e]={},Object.defineProperty(Li[e],"channels",{value:Ni[e].channels}),Object.defineProperty(Li[e],"labels",{value:Ni[e].labels});const t=function(e){const t=Ii(e),n={},r=Object.keys(t);for(let i=r.length,o=0;o{const r=t[n];Li[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,i=0;i1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})});var Ri=Li,qi=Ve((function(e){const t=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(r+t,"m")},n=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(38+t,";5;").concat(r,"m")},r=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(38+t,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")},i=e=>e,o=(e,t,n)=>[e,t,n],a=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let s;const u=(e,t,n,r)=>{void 0===s&&(s=Ri);const i=r?10:0,o={};for(const[a,u]of Object.entries(s)){const r="ansi16"===a?"ansi":a;a===t?o[r]=e(n,i):"object"==typeof u&&(o[r]=e(u[t],i))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[t,n]of Object.entries(s)){for(const[t,r]of Object.entries(n))s[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=s[t],e.set(r[0],r[1]);Object.defineProperty(s,t,{value:n,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="",s.bgColor.close="",a(s.color,"ansi",()=>u(t,"ansi16",i,!1)),a(s.color,"ansi256",()=>u(n,"ansi256",i,!1)),a(s.color,"ansi16m",()=>u(r,"rgb",o,!1)),a(s.bgColor,"ansi",()=>u(t,"ansi16",i,!0)),a(s.bgColor,"ansi256",()=>u(n,"ansi256",i,!0)),a(s.bgColor,"ansi16m",()=>u(r,"rgb",o,!0)),s}})})),$i={isatty:()=>!1},zi=(e,t=qe.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r=2,has16m:e>=3}}function Wi(e,t){if(0===Vi)return 0;if(zi("color=16m")||zi("color=full")||zi("color=truecolor"))return 3;if(zi("color=256"))return 2;if(e&&!t&&void 0===Vi)return 0;const n=Vi||0;if("dumb"===Ui.TERM)return n;if("win32"===qe.platform){const e=qr.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Ui)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Ui)||"codeship"===Ui.CI_NAME?1:n;if("TEAMCITY_VERSION"in Ui)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ui.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in Ui)return 1;if("truecolor"===Ui.COLORTERM)return 3;if("TERM_PROGRAM"in Ui){const e=parseInt((Ui.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ui.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ui.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ui.TERM)||"COLORTERM"in Ui?1:n}zi("no-color")||zi("no-colors")||zi("color=false")||zi("color=never")?Vi=0:(zi("color")||zi("colors")||zi("color=true")||zi("color=always"))&&(Vi=1),"FORCE_COLOR"in Ui&&(Vi="true"===Ui.FORCE_COLOR?1:"false"===Ui.FORCE_COLOR?0:0===Ui.FORCE_COLOR.length?1:Math.min(parseInt(Ui.FORCE_COLOR,10),3));var Gi={supportsColor:function(e){return Hi(Wi(e,e&&e.isTTY))},stdout:Hi(Wi(!0,$i.isatty(1))),stderr:Hi(Wi(!0,$i.isatty(2)))},Ki={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const i=t.length;let o=0,a="";do{a+=e.substr(o,r-o)+t+n,o=r+i,r=e.indexOf(t,o)}while(-1!==r);return a+=e.substr(o),a},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let i=0,o="";do{const a="\r"===e[r-1];o+=e.substr(i,(a?r-1:r)-i)+t+(a?"\r\n":"\n")+n,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return o+=e.substr(i),o}};const Xi=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Yi=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ji=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Zi=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Qi=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function eo(e){const t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):Qi.get(e)||e}function to(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r){const t=Number(o);if(Number.isNaN(t)){if(!(i=o.match(Ji)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(Zi,(e,t,n)=>t?eo(t):n))}else n.push(t)}return n}function no(e){Yi.lastIndex=0;const t=[];let n;for(;null!==(n=Yi.exec(e));){const e=n[1];if(n[2]){const r=to(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function ro(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const[i,o]of Object.entries(n))if(Array.isArray(o)){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=o.length>0?r[i](...o):r[i]}return r}var io=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Xi,(t,o,a,s,u,l)=>{if(o)i.push(eo(o));else if(s){const t=i.join("");i=[],r.push(0===n.length?t:ro(e,n)(t)),n.push({inverse:a,styles:no(s)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ro(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};const{stdout:oo,stderr:ao}=Gi,{stringReplaceAll:so,stringEncaseCRLFWithFirstIndex:uo}=Ki,{isArray:lo}=Array,co=["ansi","ansi","ansi256","ansi16m"],ho=Object.create(null);class fo{constructor(e){return po(e)}}const po=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=oo?oo.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>_o(t.template,...e),Object.setPrototypeOf(t,mo.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=fo,t.template};function mo(e){return po(e)}for(const[t,Pk]of Object.entries(qi))ho[t]={get(){const e=bo(this,yo(Pk.open,Pk.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:e}),e}};ho.visible={get(){const e=bo(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const go=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of go)ho[t]={get(){const{level:e}=this;return function(...n){const r=yo(qi.color[co[e]][t](...n),qi.color.close,this._styler);return bo(this,r,this._isEmpty)}}};for(const t of go)ho["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const{level:e}=this;return function(...n){const r=yo(qi.bgColor[co[e]][t](...n),qi.bgColor.close,this._styler);return bo(this,r,this._isEmpty)}}};const vo=Object.defineProperties(()=>{},Object.assign({},ho,{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),yo=(e,t,n)=>{let r,i;return void 0===n?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},bo=(e,t,n)=>{const r=(...e)=>lo(e[0])&&lo(e[0].raw)?wo(r,_o(r,...e)):wo(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,vo),r._generator=e,r._styler=t,r._isEmpty=n,r},wo=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:i}=n;if(-1!==t.indexOf(""))for(;void 0!==n;)t=so(t,n.close,n.open),n=n.parent;const o=t.indexOf("\n");return-1!==o&&(t=uo(t,i,r,o)),r+t+i};let xo;const _o=(e,...t)=>{const[n]=t;if(!lo(n)||!lo(n.raw))return t.join(" ");const r=t.slice(1),i=[n.raw[0]];for(let o=1;o0&&r(u)?n>1?e(u,n-1,r,i,o):ko(o,u):i||(o[o.length]=u)}return o},Ko=function(e){return null!=e&&e.length?Go(e,1):[]};const Xo={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>ki.apiDescriptor.value(e),pair:({key:e,value:t})=>!1===t?"--no-".concat(e):!0===t?Xo.key(e):""===t?"".concat(Xo.key(e)," without an argument"):"".concat(Xo.key(e),"=").concat(t)};class Yo extends ki.ChoiceSchema{constructor({name:e,flags:t}){super({name:e,choices:t}),this._flags=t.slice().sort()}preprocess(e,t){if("string"==typeof e&&0!==e.length&&!this._flags.includes(e)){const n=this._flags.find(t=>Ai(t,e)<3);if(n)return t.logger.warn(["Unknown flag ".concat(Co.yellow(t.descriptor.value(e)),","),"did you mean ".concat(Co.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}expected(){return"a flag"}}let Jo;function Zo(t,n,{logger:r,isCLI:i=!1,passThrough:o=!1}={}){const a=o?Array.isArray(o)?(e,t)=>o.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(t,n,r)=>{const i=e(r.schemas,["_"]);return ki.levenUnknownHandler(t,n,Object.assign({},r,{schemas:i}))},s=i?Xo:ki.apiDescriptor,u=function(e,{isCLI:t}){const n=[];t&&n.push(ki.AnySchema.create({name:"_"}));for(const r of e)n.push(Qo(r,{isCLI:t,optionInfos:e})),r.alias&&t&&n.push(ki.AliasSchema.create({name:r.alias,sourceName:r.name}));return n}(n,{isCLI:i}),l=new ki.Normalizer(u,{logger:r,unknown:a,descriptor:s}),c=!1!==r;c&&Jo&&(l._hasDeprecationWarned=Jo);const h=l.normalize(t);return c&&(Jo=l._hasDeprecationWarned),h}function Qo(e,{isCLI:t,optionInfos:n}){let r;const i={name:e.name},o={};switch(e.type){case"int":r=ki.IntegerSchema,t&&(i.preprocess=e=>Number(e));break;case"string":r=ki.StringSchema;break;case"choice":r=ki.ChoiceSchema,i.choices=e.choices.map(t=>"object"==typeof t&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t);break;case"boolean":r=ki.BooleanSchema;break;case"flag":r=Yo,i.flags=Ko(n.map(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;case"path":r=ki.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?i.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):i.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(o.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(o.deprecated=!0),t&&!e.array){const e=i.preprocess||(e=>e);i.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?t[t.length-1]:t),r)}return e.array?ki.ArraySchema.create(Object.assign({},t?{preprocess:e=>[].concat(e)}:{},o,{valueSchema:r.create(i)})):r.create(Object.assign({},i,o))}var ea={normalizeApiOptions:function(e,t,n){return Zo(e,t,n)},normalizeCliOptions:function(e,t,n){return Zo(e,t,Object.assign({isCLI:!0},n))}};function ta(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(t&&t.length>0)return ta(t[0])}return e.range?e.range[0]:e.start}function na(e){const t=e.range?e.range[1]:e.end;return e.typeAnnotation?Math.max(t,na(e.typeAnnotation)):t}var ra={locStart:ta,locEnd:na,composeLoc:function(e,t=e){const n=ta(e);return[n,"number"==typeof t?n+t:na(t)]}},ia=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}})),oa=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierStart=l,t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let n=0,r=Array.from(e);ne)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function l(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):u(e,a)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&o.test(String.fromCharCode(e)):u(e,a)||u(e,s))))}})),aa=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isReservedWord=s,t.isStrictReservedWord=u,t.isStrictBindOnlyReservedWord=l,t.isStrictBindReservedWord=function(e,t){return u(e,t)||l(e)},t.isKeyword=function(e){return i.has(e)};const n=["implements","interface","let","package","private","protected","public","static","yield"],r=["eval","arguments"],i=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),o=new Set(n),a=new Set(r);function s(e,t){return t&&"await"===e||"enum"===e}function u(e,t){return s(e,t)||o.has(e)}function l(e){return a.has(e)}})),sa=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return oa.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return oa.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return oa.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return aa.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return aa.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return aa.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return aa.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return aa.isKeyword}})})),ua=/[|\\{}()[\]^$+*?.]/g,la=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(ua,"\\$&")},ca={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ha=Ve((function(e){var t={};for(var n in ca)ca.hasOwnProperty(n)&&(t[ca[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,a=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:a})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a;return s===a?t=0:r===s?t=(i-o)/u:i===s?t=2+(o-r)/u:o===s&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?u/(s+a):u/(2-s-a)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,s=e[1]/255,u=e[2]/255,l=Math.max(a,s,u),c=l-Math.min(a,s,u),h=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=h(a),n=h(s),r=h(u),a===l?i=r-n:s===l?i=1/3+t-r:u===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,a=1/0;for(var s in ca)if(ca.hasOwnProperty(s)){var u=ca[s],l=(i=e,o=u,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0===s)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,a,s,u=e[0]/360,l=e[1]/100,c=e[2]/100,h=l+c;switch(h>1&&(l/=h,c/=h),r=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,a=i,s=l;break;case 1:o=i,a=n,s=l;break;case 2:o=l,a=n,s=i;break;case 3:o=l,a=i,s=n;break;case 4:o=i,a=l,s=n;break;case 5:o=n,a=l,s=i}return[255*o,255*a,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),s=o-a;return t=s<=0?0:o===n?(r-i)/s%6:o===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function fa(e){var t=function(){for(var e={},t=Object.keys(ha),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var ga=ma,va=Ve((function(e){const t=(e,t)=>function(){const n=e.apply(ga,arguments);return"[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(ga,arguments);return"[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(ga,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const o=e=>e,a=(e,t,n)=>[e,t,n];i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(a,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(a,10)};for(let s of Object.keys(ga)){if("object"!=typeof ga[s])continue;const e=ga[s];"ansi16"===s&&(s="ansi"),"ansi16"in e&&(i.color.ansi[s]=t(e.ansi16,0),i.bgColor.ansi[s]=t(e.ansi16,10)),"ansi256"in e&&(i.color.ansi256[s]=n(e.ansi256,0),i.bgColor.ansi256[s]=n(e.ansi256,10)),"rgb"in e&&(i.color.ansi16m[s]=r(e.rgb,0),i.bgColor.ansi16m[s]=r(e.rgb,10))}return i}})}));const ya=qe.env;let ba;function wa(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===ba)return 0;if($r("color=16m")||$r("color=full")||$r("color=truecolor"))return 3;if($r("color=256"))return 2;if(e&&!e.isTTY&&!0!==ba)return 0;const t=ba?1:0;if("win32"===qe.platform){const e=qr.release().split(".");return Number(qe.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in ya)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in ya)||"codeship"===ya.CI_NAME?1:t;if("TEAMCITY_VERSION"in ya)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ya.TEAMCITY_VERSION)?1:0;if("truecolor"===ya.COLORTERM)return 3;if("TERM_PROGRAM"in ya){const e=parseInt((ya.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ya.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ya.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ya.TERM)||"COLORTERM"in ya?1:(ya.TERM,t)}(e))}$r("no-color")||$r("no-colors")||$r("color=false")?ba=!1:($r("color")||$r("colors")||$r("color=true")||$r("color=always"))&&(ba=!0),"FORCE_COLOR"in ya&&(ba=0===ya.FORCE_COLOR.length||0!==parseInt(ya.FORCE_COLOR,10));var xa={supportsColor:wa,stdout:wa(qe.stdout),stderr:wa(qe.stderr)};const _a=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Da=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ca=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ka=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Sa=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Ea(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Sa.get(e)||e}function Ma(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r)if(isNaN(o)){if(!(i=o.match(Ca)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(ka,(e,t,n)=>t?Ea(t):n))}else n.push(Number(o));return n}function Aa(e){Da.lastIndex=0;const t=[];let n;for(;null!==(n=Da.exec(e));){const e=n[1];if(n[2]){const r=Ma(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Ta(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}var Oa=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(_a,(t,o,a,s,u,l)=>{if(o)i.push(Ea(o));else if(s){const t=i.join("");i=[],r.push(0===n.length?t:Ta(e,n)(t)),n.push({inverse:a,styles:Aa(s)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Ta(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},ja=Ve((function(e){const t=xa.stdout,n="win32"===qe.platform&&!(qe.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function a(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){const t={};return a(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,s.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=s,t.template}a(this,e)}n&&(va.blue.open="");for(const f of Object.keys(va))va[f].closeRe=new RegExp(la(va[f].close),"g"),o[f]={get(){const e=va[f];return l.call(this,this._styles?this._styles.concat(e):[e],this._empty,f)}};o.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},va.color.closeRe=new RegExp(la(va.color.close),"g");for(const f of Object.keys(va.color.ansi))i.has(f)||(o[f]={get(){const e=this.level;return function(){const t=va.color[r[e]][f].apply(null,arguments),n={open:t,close:va.color.close,closeRe:va.color.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});va.bgColor.closeRe=new RegExp(la(va.bgColor.close),"g");for(const f of Object.keys(va.bgColor.ansi))i.has(f)||(o["bg"+f[0].toUpperCase()+f.slice(1)]={get(){const e=this.level;return function(){const t=va.bgColor[r[e]][f].apply(null,arguments),n={open:t,close:va.bgColor.close,closeRe:va.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});const u=Object.defineProperties(()=>{},o);function l(e,t,n){const r=function e(){return c.apply(e,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=u,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;ni(e)).join("\n"):t[0]}))}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(n),e)}return e};var n,r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(ia),i=(n=ja)&&n.__esModule?n:{default:n};function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}const a=/\r\n|[\n\r\u2028\u2029]/,s=/^[a-z][\w-]*$/i,u=/^[()[\]{}]$/;function l(e){return i.default.supportsColor||e.forceColor}function c(e){let t=i.default;return e.forceColor&&(t=new i.default.constructor({enabled:!0,level:1})),t}})),Na=Ve((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=a,t.default=function(e,t,n,r={}){if(!i){i=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";qe.emitWarning?qe.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return n=Math.max(n,0),a(e,{start:{column:n,line:t}},r)};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(Fa);function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}let i=!1;const o=/\r\n|[\n\r\u2028\u2029]/;function a(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r),a=(0,n.getChalk)(r),s=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(a),u=(e,t)=>i?e(t):t,l=e.split(o),{start:c,end:h,markerLines:f}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:o=2,linesBelow:a=3}=n||{},s=r.line,u=r.column,l=i.line,c=i.column;let h=Math.max(s-(o+1),0),f=Math.min(t.length,l+a);-1===s&&(h=0),-1===l&&(f=t.length);const d=l-s,p={};if(d)for(let m=0;m<=d;m++){const e=m+s;if(u)if(0===m){const n=t[e-1].length;p[e]=[u,n-u+1]}else if(m===d)p[e]=[0,c];else{const n=t[e-m].length;p[e]=[0,n]}else p[e]=!0}else p[s]=u===c?!u||[u,0]:[u,c-u];return{start:h,end:f,markerLines:p}}(t,l,r),d=t.start&&"number"==typeof t.start.column,p=String(h).length;let m=(i?(0,n.default)(e,r):e).split(o).slice(c,h).map((e,t)=>{const n=c+1+t,i=" ".concat(n).slice(-p),o=" ".concat(i," | "),a=f[n],l=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," "),i=a[1]||1;t=["\n ",u(s.gutter,o.replace(/\d/g," ")),n,u(s.marker,"^").repeat(i)].join(""),l&&r.message&&(t+=" "+u(s.message,r.message))}return[u(s.marker,">"),u(s.gutter,o),e,t].join("")}return" ".concat(u(s.gutter,o)).concat(e)}).join("\n");return r.message&&!d&&(m="".concat(" ".repeat(p+1)).concat(r.message,"\n").concat(m)),i?a.reset(m):m}}));const{ConfigError:Ia}=wr,{locStart:Pa,locEnd:Ba}=ra,La=Object.getOwnPropertyNames,Ra=Object.getOwnPropertyDescriptor;function qa(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of La(n.parsers))Object.defineProperty(t,e,Ra(n.parsers,e));return t}function $a(e,t){if(t=t||qa(e),"function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Pa,locEnd:Ba};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new Ia("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var za={parse:function(e,t){const n=qa(t),r=Object.keys(n).reduce((e,t)=>Object.defineProperty(e,t,{enumerable:!0,get:()=>n[t].parse}),{}),i=$a(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(t){const{loc:n}=t;if(n){const r=Na;throw t.codeFrame=r.codeFrameColumns(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:$a};const{UndefinedParserError:Ua}=wr,{getSupportInfo:Va}=bt,{resolveParser:Ha}=za,Wa={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Ga(e,t){const n=vn.basename(e).toLowerCase(),r=Va({plugins:t}).languages.filter(e=>null!==e.since);let i=r.find(e=>e.extensions&&e.extensions.some(e=>n.endsWith(e))||e.filenames&&e.filenames.some(e=>e.toLowerCase()===n));if(!i&&!n.includes(".")){const t=function(e){if("string"!=typeof e)return"";let t;try{t=pr.openSync(e,"r")}catch(e){return""}try{const n=new mr(t).next().toString("utf8"),r=n.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(r)return r[1];const i=n.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return i?i[1]:""}catch(e){return""}finally{try{pr.closeSync(t)}catch(e){}}}(e);i=r.find(e=>e.interpreters&&e.interpreters.includes(t))}return i&&i.parsers[0]}var Ka={normalize:function(e,t){t=t||{};const n=Object.assign({},e),r=Va({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,i=Object.assign({},Wa,gr(r.filter(e=>void 0!==e.default).map(e=>[e.name,e.default])));if(!n.parser)if(n.filepath){if(n.parser=Ga(n.filepath,n.plugins),!n.parser)throw new Ua("No parser could be inferred for file: ".concat(n.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";const o=Ha(ea.normalizeApiOptions(n,[r.find(e=>"parser"===e.name)],{passThrough:!0,logger:!1}));n.astFormat=o.astFormat,n.locEnd=o.locEnd,n.locStart=o.locStart;const a=function(e){const{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");const n=e.plugins.find(e=>e.printers&&e.printers[t]);if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(n);n.printer=a.printers[n.astFormat];const s=r.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[a.name]).reduce((e,t)=>Object.assign(e,{[t.name]:t.pluginDefaults[a.name]}),{}),u=Object.assign({},i,s);return Object.keys(u).forEach(e=>{null==n[e]&&(n[e]=u[e])}),"json"===n.parser&&(n.trailingComma="none"),ea.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(Wa)},t))},hiddenDefaults:Wa,inferParser:Ga},Xa=function e(t,n,r){if(Array.isArray(t))return t.map(t=>e(t,n,r)).filter(Boolean);if(!t||"object"!=typeof t)return t;const i={};for(const o of Object.keys(t))"function"!=typeof t[o]&&(i[o]=e(t[o],n,t));if(n.printer.massageAstNode){const e=n.printer.massageAstNode(t,i,r);if(null===e)return;if(e)return e}return i};function Ya(){}Ya.ok=function(){},Ya.strictEqual=function(){};const{concat:Ja,line:Za,hardline:Qa,breakParent:es,indent:ts,lineSuffix:ns,join:rs,cursor:is}=dn.builders,{hasNewline:os,skipNewline:as,skipSpaces:ss,isPreviousLineEmpty:us,addLeadingComment:ls,addDanglingComment:cs,addTrailingComment:hs}=Rt,fs=Symbol("child-nodes");function ds(e,t,n){if(!e)return;const{printer:r,locStart:i,locEnd:o}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(i(n[t])<=i(e)&&o(n[t])<=o(e));--t);return void n.splice(t+1,0,e)}}else if(e[fs])return e[fs];const a=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.keys(e).filter(e=>"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e).map(t=>e[t]);return a?(n||Object.defineProperty(e,fs,{value:n=[],enumerable:!1}),a.forEach(e=>{ds(e,t,n)}),n):void 0}function ps(e,t,n){const r=e.length;if(0===r)return;const{precedingNode:i,followingNode:o,enclosingNode:a}=e[0],s=n.printer.getGapRegex&&n.printer.getGapRegex(a)||/^[\s(]*$/;let u,l=n.locStart(o);for(u=r;u>0;--u){const r=e[u-1];Ya.strictEqual(r.precedingNode,i),Ya.strictEqual(r.followingNode,o);const a=t.slice(n.locEnd(r),l);if(!s.test(a))break;l=n.locStart(r)}e.forEach((e,t)=>{t1&&c.comments.sort((e,t)=>n.locStart(e)-n.locStart(t));e.length=0}function ms(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function gs(e,t,n){const r=n.locStart(t)-1;for(let i=1;i{if("json"===r.parser||"json5"===r.parser||"__js_expression"===r.parser||"__vue_expression"===r.parser){if(o(s)-o(t)<=0)return void ls(t,s);if(a(s)-a(t)>=0)return void hs(t,s)}!function e(t,n,r){const{locStart:i,locEnd:o}=r,a=ds(t,r);let s,u,l=0,c=a.length;for(;l>1,h=a[t];if(i(h)-i(n)<=0&&o(n)-o(h)<=0)return n.enclosingNode=h,void e(h,n,r);if(o(h)-i(n)<=0)s=h,l=t+1;else{if(!(o(n)-i(h)<=0))throw new Error("Comment location overlaps with node location");u=h,c=t}}if(n.enclosingNode&&"TemplateLiteral"===n.enclosingNode.type){const{quasis:e}=n.enclosingNode,t=gs(e,n,r);s&&gs(e,s,r)!==t&&(s=null),u&&gs(e,u,r)!==t&&(u=null)}s&&(n.precedingNode=s),u&&(n.followingNode=u)}(t,s,r);const{precedingNode:l,enclosingNode:c,followingNode:h}=s,f=r.printer.handleComments&&r.printer.handleComments.ownLine?r.printer.handleComments.ownLine:()=>!1,d=r.printer.handleComments&&r.printer.handleComments.endOfLine?r.printer.handleComments.endOfLine:()=>!1,p=r.printer.handleComments&&r.printer.handleComments.remaining?r.printer.handleComments.remaining:()=>!1,m=e.length-1===u;if(os(n,o(s),{backwards:!0}))f(s,n,r,t,m)||(h?ls(h,s):l?hs(l,s):cs(c||t,s));else if(os(n,a(s)))d(s,n,r,t,m)||(l?hs(l,s):h?ls(h,s):cs(c||t,s));else if(p(s,n,r,t,m));else if(l&&h){const e=i.length;e>0&&i[e-1].followingNode!==s.followingNode&&ps(i,n,r),i.push(s)}else l?hs(l,s):h?ls(h,s):cs(c||t,s)}),ps(i,n,r),e.forEach(e=>{delete e.precedingNode,delete e.enclosingNode,delete e.followingNode})},printComments:function(e,t,n,r){const i=e.getValue(),o=t(e),a=i&&i.comments;if(!a||0===a.length)return vs(e,n,o);const s=[],u=[r?";":"",o];return e.each(e=>{const t=e.getValue(),{leading:r,trailing:i}=t;if(r){const r=function(e,t){const n=e.getValue(),r=ms(e,t);if(!r)return"";if(t.printer.isBlockComment&&t.printer.isBlockComment(n)){const e=os(t.originalText,t.locEnd(n))?os(t.originalText,t.locStart(n),{backwards:!0})?Qa:Za:" ";return Ja([r,e])}return Ja([r,Qa])}(e,n);if(!r)return;s.push(r);const i=n.originalText,o=as(i,ss(i,n.locEnd(t)));!1!==o&&os(i,o)&&s.push(Qa)}else i&&u.push(function(e,t){const n=e.getValue(),r=ms(e,t);if(!r)return"";const{printer:i,originalText:o,locStart:a}=t,s=i.isBlockComment&&i.isBlockComment(n);if(os(o,a(n),{backwards:!0})){const e=us(o,n,a);return ns(Ja([Qa,e?Qa:"",r]))}let u=Ja([" ",r]);return s||(u=Ja([ns(u),es])),u}(e,n))},"comments"),vs(e,n,Ja(s.concat(u)))},printDanglingComments:function(e,t,n,r){const i=[],o=e.getValue();return o&&o.comments?(e.each(e=>{const n=e.getValue();!n||n.leading||n.trailing||r&&!r(n)||i.push(ms(e,t))},"comments"),0===i.length?"":n?rs(Qa,i):ts(Ja([Qa,rs(Qa,i)]))):""},getSortedChildNodes:ds,ensureAllCommentsPrinted:function(e){e&&e.forEach(e=>{if(!e.printed)throw new Error('Comment "'+e.value.trim()+'" was not printed. Please report this error!');delete e.printed})}};function bs(e,t){const n=ws(e.stack,t);return-1===n?null:e.stack[n]}function ws(e,t){for(let n=e.length-1;n>=0;n-=2){const r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var xs=class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return me(this.stack)}getNode(e=0){return bs(this,e)}getParentNode(e=0){return bs(this,e+1)}call(e,...t){const{stack:n}=this,{length:r}=n;let i=me(n);for(const a of t)i=i[a],n.push(a,i);const o=e(this);return n.length=r,o}callParent(e,t=0){const n=ws(this.stack,t+1),r=this.stack.splice(n+1),i=e(this);return this.stack.push(...r),i}each(e,...t){const{stack:n}=this,{length:r}=n;let i=me(n);for(const o of t)i=i[o],n.push(o,i);for(let o=0;ofunction(e,t,n,r,{stripTrailingHardline:i=!1}={}){const o=Ds(Object.assign({},n,t,{parentParser:n.parser,embeddedInHtml:!(!n.embeddedInHtml&&"html"!==n.parser&&"vue"!==n.parser&&"angular"!==n.parser&&"lwc"!==n.parser),originalText:e}),{passThrough:!0}),a=za.parse(e,o),{ast:s}=a;e=a.text;const u=s.comments;delete s.comments,ys.attach(u,s,e,o),o[Symbol.for("comments")]=u||[],o[Symbol.for("tokens")]=s.tokens||[];const l=r(s,o);return ys.ensureAllCommentsPrinted(u),i?"string"==typeof l?l.replace(/(?:\r?\n)*$/,""):_s(l,!0):l}(e,t,n,r,i),n)}};const ks=dn,Ss=ks.builders,{concat:Es,hardline:Ms,addAlignmentToDoc:As}=Ss,Ts=ks.utils;function Os(e,t,n=0){const{printer:r}=t;r.preprocess&&(e=r.preprocess(e,t));const i=new Map;let o=function e(n,o){const a=n.getValue(),s=a&&"object"==typeof a&&void 0===o;if(s&&i.has(a))return i.get(a);let u;return u=r.willPrintOwnComments&&r.willPrintOwnComments(n,t)?js(n,t,e,o):ys.printComments(n,n=>js(n,t,e,o),t,o&&o.needsSemi),s&&i.set(a,u),u}(new xs(e));return n>0&&(o=As(Es([Ms,o]),n,t.tabWidth)),Ts.propagateBreaks(o),o}function js(e,t,n,r){Ya.ok(e instanceof xs);const i=e.getValue(),{printer:o}=t;if(o.hasPrettierIgnore&&o.hasPrettierIgnore(e))return function(e,t){const{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:o}=t,a=i(e),s=o(e);for(const u of r)i(u)>=a&&o(u)<=s&&(u.printed=!0);return n.slice(a,s)}(i,t);if(i)try{const r=Cs.printSubtree(e,n,t,Os);if(r)return r}catch(e){if(Ue.PRETTIER_DEBUG)throw e}return o.print(e,t,n,r)}var Fs=Os;function Ns(e,t,n,r,i=[]){if(!(tn.locEnd(e))){for(const o of ys.getSortedChildNodes(e,n)){const a=Ns(o,t,n,r,[e,...i]);if(a)return a}return!r||r(e)?{node:e,parentNodes:i}:void 0}}const Is=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral"]),Ps=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function Bs(e,t){if(null==t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":return function(e){return"Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration")}(t.type);case"json":return Is.has(t.type);case"graphql":return Ps.has(t.kind);case"vue":return"root"!==t.tag}return!1}var Ls={calculateRange:function(e,t,n){const r=e.slice(t.rangeStart,t.rangeEnd),i=Math.max(t.rangeStart+r.search(/\S/),t.rangeStart);let o;for(o=t.rangeEnd;o>t.rangeStart&&!/\S/.test(e[o-1]);--o);const a=Ns(n,i,t,e=>Bs(t,e)),s=Ns(n,o,t,e=>Bs(t,e));if(!a||!s)return{rangeStart:0,rangeEnd:0};const{startNode:u,endNode:l}=function(e,t,n){let r=e.node,i=t.node;if(r===i)return{startNode:r,endNode:i};for(const o of t.parentNodes){if(!("Program"!==o.type&&"File"!==o.type&&n.locStart(o)>=n.locStart(e.node)))break;i=o}for(const o of e.parentNodes){if(!("Program"!==o.type&&"File"!==o.type&&n.locEnd(o)<=n.locEnd(t.node)))break;r=o}return{startNode:r,endNode:i}}(a,s,t);return{rangeStart:Math.min(t.locStart(u),t.locStart(l)),rangeEnd:Math.max(t.locEnd(u),t.locEnd(l))}},findNodeAtOffset:Ns},Rs=He(Z);const{printer:{printDocToString:qs},debug:{printDocToDebug:$s}}=dn,{getAlignmentSize:zs}=Rt,{guessEndOfLine:Us,convertEndOfLineToChars:Vs,countEndOfLineChars:Hs,normalizeEndOfLine:Ws}=qt,Gs=Ka.normalize,Ks=Symbol("cursor");function Xs(e,t,n){const r=t.comments;return r&&(delete t.comments,ys.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function Ys(e,t,n){if(!e||!e.trim().length)return{formatted:"",cursorOffset:-1};n=n||0;const r=za.parse(e,t),{ast:i}=r;if(e=r.text,t.cursorOffset>=0){const e=Ls.findNodeAtOffset(i,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}const o=Xs(e,i,t),a=Fs(i,t,n),s=qs(a,t);if(ys.ensureAllCommentsPrinted(o),n>0){const e=s.formatted.trim();void 0!==s.cursorNodeStart&&(s.cursorNodeStart-=s.formatted.indexOf(e)),s.formatted=e+Vs(t.endOfLine)}if(t.cursorOffset>=0){let n,r,i,o,a;if(t.cursorNode&&s.cursorNodeText?(n=t.locStart(t.cursorNode),r=e.slice(n,t.locEnd(t.cursorNode)),i=t.cursorOffset-n,o=s.cursorNodeStart,a=s.cursorNodeText):(n=0,r=e,i=t.cursorOffset,o=0,a=s.formatted),r===a)return{formatted:s.formatted,cursorOffset:o+i};const u=r.split("");u.splice(i,0,Ks);const l=a.split(""),c=Rs.diffArrays(u,l);let h=o;for(const e of c)if(e.removed){if(e.value.includes(Ks))break}else h+=e.count;return{formatted:s.formatted,cursorOffset:h}}return{formatted:s.formatted,cursorOffset:-1}}function Js(e,t){const n=za.resolveParser(t),r="\ufeff"===e.charAt(0);let i=r?e.slice(1):e;const o=t.cursorOffset>=0;o||(t.cursorOffset=-1);const a=!n.hasPragma||n.hasPragma(i);if(t.requirePragma&&!a)return{formatted:e,cursorOffset:t.cursorOffset};"auto"===t.endOfLine&&(t.endOfLine=Us(i));const s=t.rangeStart>0,u=t.rangeEndHs(i.slice(0,e),"\r\n");o&&(t.cursorOffset-=e(t.cursorOffset)),s&&(t.rangeStart-=e(t.rangeStart)),u&&(t.rangeEnd-=e(t.rangeEnd)),i=Ws(i)}let l;return t.rangeStart<0&&(t.rangeStart=0),t.rangeEnd>i.length&&(t.rangeEnd=i.length),s||u?l=function(e,t){const n=za.parse(e,t),{ast:r}=n;e=n.text;const{rangeStart:i,rangeEnd:o}=Ls.calculateRange(e,t,r),a=e.slice(i,o),s=Math.min(i,e.lastIndexOf("\n",i)+1),u=e.slice(s,i).match(/^\s*/)[0],l=zs(u,t.tabWidth),c=Ys(a,Object.assign({},t,{rangeStart:0,rangeEnd:1/0,cursorOffset:t.cursorOffset>i&&t.cursorOffset=o?f=t.cursorOffset+(h.length-a.length):c.cursorOffset>=0&&(f=c.cursorOffset+i);let d=e.slice(0,i)+h+e.slice(o);if("lf"!==t.endOfLine){const e=Vs(t.endOfLine);f>=0&&"\r\n"===e&&(f+=Hs(d.slice(0,f),"\n")),d=d.replace(/\n/g,e)}return{formatted:d,cursorOffset:f}}(i,t):(!a&&t.insertPragma&&t.printer.insertPragma&&(i=t.printer.insertPragma(i)),l=Ys(i,t)),r&&(l.formatted="\ufeff"+l.formatted,o&&l.cursorOffset>=0&&l.cursorOffset++),l}var Zs={formatWithCursor:(e,t)=>Js(e,t=Gs(t)),parse(e,t,n){t=Gs(t),e=Ws("\ufeff"===e.charAt(0)?e.slice(1):e);const r=za.parse(e,t);return n&&(r.ast=Xa(r.ast,t)),r},formatAST(e,t){t=Gs(t);const n=Fs(e,t);return qs(n,t)},formatDoc(e,t){return t=Gs(Object.assign({},t,{parser:"babel"})),Js($s(e),t).formatted},printToDoc(e,t){t=Gs(t);const n=za.parse(e,t),{ast:r,text:i}=n;return Xs(i,r,t),Fs(r,t)},printDocToString:(e,t)=>qs(e,Gs(t))};const{getMaxContinuousCount:Qs,getStringWidth:eu,getAlignmentSize:tu,getIndentSize:nu,skip:ru,skipWhitespace:iu,skipSpaces:ou,skipNewline:au,skipToLineEnd:su,skipEverythingButNewLine:uu,skipInlineComment:lu,skipTrailingComment:cu,hasNewline:hu,hasNewlineInRange:fu,hasSpaces:du,isNextLineEmpty:pu,isNextLineEmptyAfterIndex:mu,isPreviousLineEmpty:gu,getNextNonSpaceNonCommentCharacterIndex:vu,makeString:yu,addLeadingComment:bu,addDanglingComment:wu,addTrailingComment:xu}=Rt;var _u={getMaxContinuousCount:Qs,getStringWidth:eu,getAlignmentSize:tu,getIndentSize:nu,skip:ru,skipWhitespace:iu,skipSpaces:ou,skipNewline:au,skipToLineEnd:su,skipEverythingButNewLine:uu,skipInlineComment:lu,skipTrailingComment:cu,hasNewline:hu,hasNewlineInRange:fu,hasSpaces:du,isNextLineEmpty:pu,isNextLineEmptyAfterIndex:mu,isPreviousLineEmpty:gu,getNextNonSpaceNonCommentCharacterIndex:vu,makeString:yu,addLeadingComment:bu,addDanglingComment:wu,addTrailingComment:xu},Du=function(t,n){const{languageId:r}=t,i=e(t,["languageId"]);return Object.assign({linguistLanguageId:r},i,n(t))};const{getLast:Cu,hasNewline:ku,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Su,getNextNonSpaceNonCommentCharacter:Eu,hasNewlineInRange:Mu,isNodeIgnoreComment:Au,addLeadingComment:Tu,addTrailingComment:Ou,addDanglingComment:ju,getNextNonSpaceNonCommentCharacterIndex:Fu}=Rt;function Nu(e,t){const n=(e.body||e.properties).filter(e=>"EmptyStatement"!==e.type);0===n.length?ju(e,t):Tu(n[0],t)}function Iu(e,t){"BlockStatement"===e.type?Nu(e,t):Tu(e,t)}function Pu(e,t,n,r,i,o){return!(!n||"IfStatement"!==n.type||!r)&&(")"===Eu(e,i,o.locEnd)?(Ou(t,i),!0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?Ou(t,i):ju(n,i),!0):"BlockStatement"===r.type?(Nu(r,i),!0):"IfStatement"===r.type?(Iu(r.consequent,i),!0):n.consequent===r&&(Tu(r,i),!0))}function Bu(e,t,n,r,i,o){return!(!n||"WhileStatement"!==n.type||!r)&&(")"===Eu(e,i,o.locEnd)?(Ou(t,i),!0):"BlockStatement"===r.type&&(Nu(r,i),!0))}function Lu(e,t,n,r){return!(!e||"TryStatement"!==e.type&&"CatchClause"!==e.type||!n)&&("CatchClause"===e.type&&t?(Ou(t,r),!0):"BlockStatement"===n.type?(Nu(n,r),!0):"TryStatement"===n.type?(Iu(n.finalizer,r),!0):"CatchClause"===n.type&&(Iu(n.body,r),!0))}function Ru(e,t,n,r){if(e&&("ClassDeclaration"===e.type||"ClassExpression"===e.type||"DeclareClass"===e.type||"DeclareInterface"===e.type||"InterfaceDeclaration"===e.type||"TSInterfaceDeclaration"===e.type)){if(e.decorators&&e.decorators.length>0&&(!n||"Decorator"!==n.type))return Ou(e.decorators[e.decorators.length-1],r),!0;if(e.body&&n===e.body)return Nu(e.body,r),!0;if(n)for(const i of["implements","extends","mixins"])if(e[i]&&n===e[i][0])return!t||t!==e.id&&t!==e.typeParameters&&t!==e.superClass?ju(e,r,i):Ou(t,r),!0}return!1}function qu(e,t,n,r,i){return(t&&n&&("Property"===t.type||"TSDeclareMethod"===t.type||"TSAbstractMethodDefinition"===t.type)&&"Identifier"===n.type&&t.key===n&&":"!==Eu(e,n,i.locEnd)||!(!n||!t||"Decorator"!==n.type||"ClassMethod"!==t.type&&"ClassProperty"!==t.type&&"TSAbstractClassProperty"!==t.type&&"TSAbstractMethodDefinition"!==t.type&&"TSDeclareMethod"!==t.type&&"MethodDefinition"!==t.type))&&(Ou(n,r),!0)}function $u(e,t,n,r,i,o){if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type)return Ou(t,i),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&Wu(n)&&")"===Eu(e,i,o.locEnd))return Ou(t,i),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){const t=(()=>{if(0!==(n.params||n.parameters).length)return Su(e,o.locEnd(Cu(n.params||n.parameters)));const t=Su(e,o.locEnd(n.id));return!1!==t&&Su(e,t+1)})();if(o.locStart(i)>t)return Nu(r,i),!0}return!1}function zu(e,t){return!(!e||"ImportSpecifier"!==e.type)&&(Tu(e,t),!0)}function Uu(e,t){return!(!e||"LabeledStatement"!==e.type)&&(Tu(e,t),!0)}function Vu(e,t,n,r){return t&&t.body&&0===t.body.length?(r?ju(t,n):Tu(t,n),!0):!(!e||"Program"!==e.type||0!==e.body.length||!e.directives||0!==e.directives.length)&&(r?ju(e,n):Tu(e,n),!0)}function Hu(e){return"Block"===e.type||"CommentBlock"===e.type}function Wu(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function Gu(e){return Hu(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var Ku={handleOwnLineComment:function(e,t,n,r,i){const{precedingNode:o,enclosingNode:a,followingNode:s}=e;return $u(t,o,a,s,e,n)||function(e,t,n){return!(!e||"MemberExpression"!==e.type&&"OptionalMemberExpression"!==e.type||!t||"Identifier"!==t.type)&&(Tu(e,n),!0)}(a,s,e)||Pu(t,o,a,s,e,n)||Bu(t,o,a,s,e,n)||Lu(a,o,s,e)||Ru(a,o,s,e)||zu(a,e)||function(e,t,n){return!(!e||"ForInStatement"!==e.type&&"ForOfStatement"!==e.type)&&(Tu(e,n),!0)}(a,0,e)||function(e,t,n,r){return!t||"UnionTypeAnnotation"!==t.type&&"TSUnionType"!==t.type?(n&&("UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)&&Au(r)&&(n.types[0].prettierIgnore=!0,r.unignore=!0),!1):(Au(r)&&(n.prettierIgnore=!0,r.unignore=!0),!!e&&(Ou(e,r),!0))}(o,a,s,e)||Vu(a,r,e,i)||function(e,t,n,r,i){return!!(n&&"ImportSpecifier"===n.type&&t&&"ImportDeclaration"===t.type&&ku(e,i.locEnd(r)))&&(Ou(n,r),!0)}(t,a,o,e,n)||function(e,t){return!(!e||"AssignmentPattern"!==e.type)&&(Tu(e,t),!0)}(a,e)||qu(t,a,o,e,n)||Uu(a,e)},handleEndOfLineComment:function(e,t,n,r,i){const{precedingNode:o,enclosingNode:a,followingNode:s}=e;return function(e,t){return!(!e||!Gu(t))&&(Tu(e,t),!0)}(s,e)||$u(t,o,a,s,e,n)||function(e,t,n,r,i,o){const a=t&&!Mu(i,o.locEnd(t),o.locStart(r));return!(t&&a||!e||"ConditionalExpression"!==e.type&&"TSConditionalType"!==e.type||!n)&&(Tu(n,r),!0)}(a,o,s,e,t,n)||zu(a,e)||Pu(t,o,a,s,e,n)||Bu(t,o,a,s,e,n)||Lu(a,o,s,e)||Ru(a,o,s,e)||Uu(a,e)||function(e,t,n){return!!(t&&("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&e&&t.callee===e&&t.arguments.length>0)&&(Tu(t.arguments[0],n),!0)}(o,a,e)||function(e,t){return!(!e||"Property"!==e.type&&"ObjectProperty"!==e.type)&&(Tu(e,t),!0)}(a,e)||Vu(a,r,e,i)||function(e,t,n){return!(!e||"TypeAlias"!==e.type)&&(Tu(e,n),!0)}(a,0,e)||function(e,t,n){return!(!e||"VariableDeclarator"!==e.type&&"AssignmentExpression"!==e.type||!t||"ObjectExpression"!==t.type&&"ArrayExpression"!==t.type&&"TemplateLiteral"!==t.type&&"TaggedTemplateExpression"!==t.type&&!Hu(n))&&(Tu(t,n),!0)}(a,s,e)},handleRemainingComment:function(e,t,n,r,i){const{precedingNode:o,enclosingNode:a,followingNode:s}=e;return!!(Pu(t,o,a,s,e,n)||Bu(t,o,a,s,e,n)||function(e,t,n){return!(!e||"ObjectProperty"!==e.type&&"Property"!==e.type||!e.shorthand||e.key!==t||"AssignmentPattern"!==e.value.type)&&(Ou(e.value.left,n),!0)}(a,o,e)||function(e,t,n,r){return")"===Eu(e,n,r.locEnd)&&(t&&(Wu(t)&&0===(t.params||t.parameters).length||("CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type)&&0===t.arguments.length)?(ju(t,n),!0):!(!t||"MethodDefinition"!==t.type||0!==t.value.params.length)&&(ju(t.value,n),!0))}(t,a,e,n)||qu(t,a,o,e,n)||Vu(a,r,e,i)||function(e,t,n,r){if(!t||"ArrowFunctionExpression"!==t.type)return!1;const i=Fu(e,n,r.locEnd);return!1!==i&&"=>"===e.slice(i,i+2)&&(ju(t,n),!0)}(t,a,e,n)||function(e,t,n,r,i){return"("===Eu(e,r,i.locEnd)&&(!(!n||!t||"FunctionDeclaration"!==t.type&&"FunctionExpression"!==t.type&&"ClassMethod"!==t.type&&"MethodDefinition"!==t.type&&"ObjectMethod"!==t.type)&&(Ou(n,r),!0))}(t,a,o,e,n)||function(e,t,n,r,i){return!(!t||"TSMappedType"!==t.type)&&(r&&"TSTypeParameter"===r.type&&r.name?(Tu(r.name,i),!0):!(!n||"TSTypeParameter"!==n.type||!n.constraint)&&(Ou(n.constraint,i),!0))}(0,a,o,s,e)||function(e,t){return!(!e||"ContinueStatement"!==e.type&&"BreakStatement"!==e.type||e.label)&&(Ou(e,t),!0)}(a,e)||function(e,t,n,r,i){return!(n||!t||"TSMethodSignature"!==t.type&&"TSDeclareFunction"!==t.type&&"TSAbstractMethodDefinition"!==t.type||";"!==Eu(e,r,i.locEnd))&&(Ou(t,r),!0)}(t,a,s,e,n))},hasLeadingComment:function(e,t=(()=>!0)){return e.leadingComments?e.leadingComments.some(t):!!e.comments&&e.comments.some(e=>e.leading&&t(e))},isBlockComment:Hu,isTypeCastComment:Gu,getGapRegex:function(e){if(e&&"BinaryExpression"!==e.type&&"LogicalExpression"!==e.type)return/^[\s&(|]*$/},getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===e.value.params.length&&!e.value.returnType&&(!e.value.typeParameters||0===e.value.typeParameters.length)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}};const{builders:{indent:Xu,join:Yu,line:Ju,hardline:Zu,softline:Qu,literalline:el,concat:tl,group:nl,dedentToRoot:rl},utils:{mapDoc:il,replaceNewlinesWithLiterallines:ol}}=dn,{isBlockComment:al,hasLeadingComment:sl}=Ku;function ul(e){return e.replace(/([\\`]|\${)/g,"\\$1")}function ll(e,t){return il(e,e=>{if(!e.parts)return e;const n=e.parts.map(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):ul(e):e);return Object.assign({},e,{parts:n})})}function cl(e){const t=[];let n=!1;return e.map(e=>e.trim()).forEach((e,r,i)=>{""!==e&&(""===i[r-1]&&n?t.push(tl([Zu,e])):t.push(e),n=!0)}),0===t.length?null:Yu(Zu,t)}function hl(e){const t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some(e=>"jsx"===e.name.name)||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}function fl(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"ArrayExpression"===e.type&&"elements"===t,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t,...dl)}const dl=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function pl(e){const t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;const{tag:n}=t;switch(n.type){case"MemberExpression":return gl(n.object)||vl(n);case"CallExpression":return gl(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(gl(n.callee.object.object)||vl(n.callee.object))||"CallExpression"===n.callee.object.type&&gl(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}function ml(e){const t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}function gl(e){return"Identifier"===e.type&&"styled"===e.name}function vl(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function yl(e,t){return sl(e,e=>al(e)&&e.value===" ".concat(t," "))}let bl=0;var wl=function(e,t,n,r){const i=e.getValue(),o=e.getParentNode(),a=e.getParentNode(1);switch(i.type){case"TemplateLiteral":{if([hl,pl,ml,fl].some(t=>t(e))){const r=i.quasis.map(e=>e.value.raw);let o=0;const a=r.reduce((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+o+++"-id"+t,"");return function(e,t,n){const r=t.getValue();if(1===r.quasis.length&&!r.quasis[0].value.raw.trim())return"``";const i=r.expressions?t.map(n,"expressions"):[],o=function(e,t){if(!t||!t.length)return e;let n=0;const r=il(e,e=>{if(!e||!e.parts||!e.parts.length)return e;let{parts:r}=e;const i=r.indexOf("@"),o=i+1;if(i>-1&&"string"==typeof r[o]&&r[o].startsWith("prettier-placeholder")){const e=r[i],t=r[o],n=r.slice(o+1);r=r.slice(0,i).concat([e+t]).concat(n)}const a=[];return r.forEach(e=>{"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).forEach((e,r)=>{r%2!=0?(a.push("${",t[e],"}"),n++):a.push(ol(e))}):a.push(e)}),Object.assign({},e,{parts:a})});return t.length===n?r:null}(e,i);if(!o)throw new Error("Couldn't insert all the expressions");return tl(["`",Xu(tl([Zu,o])),Qu,"`"])}(n(a,{parser:"scss"},{stripTrailingHardline:!0}),e,t)}if(function(e){const t=e.getValue(),n=e.getParentNode();return yl(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)){const r=i.expressions?e.map(t,"expressions"):[],o=i.quasis.length;if(1===o&&""===i.quasis[0].value.raw.trim())return"``";const a=[];for(let e=0;e2&&""===l[0].trim()&&""===l[1].trim(),d=c>2&&""===l[c-1].trim()&&""===l[c-2].trim(),p=l.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!s&&/#[^\n\r]*$/.test(l[c-1]))return null;let m=null;m=p?cl(l):n(u,{parser:"graphql"},{stripTrailingHardline:!0}),m?(m=ll(m,!1),!t&&f&&a.push(""),a.push(m),!s&&d&&a.push("")):t||s||!f||a.push(""),h&&a.push(tl(["${",h,"}"]))}return tl(["`",Xu(tl([Zu,Yu(Zu,a)])),Zu,"`"])}const o=function(e){return yl(e.getValue(),"HTML")||e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t)}(e)?"html":function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t,...dl)}(e)?"angular":void 0;if(o)return function(e,t,n,r,i){const o=e.getValue(),a=bl;bl=bl+1>>>0;const s=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(a,"_IN_JS"),u=o.quasis.map((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+s(t)).join(""),l=e.map(t,"expressions");if(0===l.length&&0===u.trim().length)return"``";const c=new RegExp(s("(\\d+)"),"g");let h=0;const f=il(n(u,{parser:r,__onHtmlRoot(e){h=e.children.length}},{stripTrailingHardline:!0}),e=>{if("string"!=typeof e)return e;const t=[],n=e.split(c);for(let r=0;r1?Xu(nl(f)):nl(f),p,"`"]))}(e,t,n,o,r);break}case"TemplateElement":if(a&&"TaggedTemplateExpression"===a.type&&1===o.quasis.length&&"Identifier"===a.tag.type&&("md"===a.tag.name||"markdown"===a.tag.name)){const e=o.quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>"\\".repeat(t.length/2)+"`"),t=function(e){const t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(e);return tl([""!==t?Xu(tl([Qu,s(e.replace(new RegExp("^".concat(t),"gm"),""))])):tl([el,rl(s(e))]),Qu])}}function s(e){return ll(n(e,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0)}},xl=function(e,t,n){if(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"].forEach(e=>{delete t[e]}),"Program"===e.type&&delete t.sourceType,"BigIntLiteral"===e.type&&(t.value&&(t.value=t.value.toLowerCase()),t.bigint&&(t.bigint=t.bigint.toLowerCase())),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;"Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=typeof e.key||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"OptionalMemberExpression"===e.type&&!1===e.optional&&(t.type="MemberExpression",delete t.optional),"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some(e=>"jsx"===e.name.name)&&t.children.filter(e=>"JSXExpressionContainer"===e.type&&"TemplateLiteral"===e.expression.type).map(e=>e.expression).reduce((e,t)=>e.concat(t.quasis),[]).forEach(e=>delete e.value),"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&t.value.expression.quasis.forEach(e=>delete e.value),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const n=e.expression.arguments[0].properties;t.expression.arguments[0].properties.forEach((e,t)=>{let r=null;switch(n[t].key.name){case"styles":"ArrayExpression"===e.value.type&&(r=e.value.elements[0]);break;case"template":"TemplateLiteral"===e.value.type&&(r=e.value)}r&&r.quasis.forEach(e=>delete e.value)})}"TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||t.quasi.quasis.forEach(e=>delete e.value),"TemplateLiteral"===e.type&&((e.leadingComments&&e.leadingComments.some(e=>"CommentBlock"===e.type&&["GraphQL","HTML"].some(t=>e.value===" ".concat(t," ")))||"CallExpression"===n.type&&"graphql"===n.callee.name)&&t.quasis.forEach(e=>delete e.value),e.leadingComments||t.quasis.forEach(e=>{e.value&&delete e.value.cooked})),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd())};const _l=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const n=t.filter(e=>"\r\n"===e).length;return n>t.length-n?"\r\n":"\n"};var Dl=_l;Dl.graceful=e=>"string"==typeof e&&_l(e)||"\n";var Cl=Ve((function(e,t){function n(){const e=qr;return n=function(){return e},e}function r(){const e=(t=Dl)&&t.__esModule?t:{default:t};var t;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){const t=e.match(a);return t?t[0].trimLeft():""},t.strip=function(e){const t=e.match(a);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return d(e).pragmas},t.parseWithComments=d,t.print=function({comments:e="",pragmas:t={}}){const i=(0,r().default)(e)||n().EOL,o=Object.keys(t),a=o.map(e=>p(e,t[e])).reduce((e,t)=>e.concat(t),[]).map(e=>" * "+e+i).join("");if(!e){if(0===o.length)return"";if(1===o.length&&!Array.isArray(t[o[0]])){const e=t[o[0]];return"".concat("/**"," ").concat(p(o[0],e)[0]).concat(" */")}}const s=e.split(i).map(e=>"".concat(" *"," ").concat(e)).join(i)+i;return"/**"+i+(e?s:"")+(e&&o.length?" *"+i:"")+a+" */"};const i=/\*\/$/,o=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,s=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,h=/(\r?\n|^) *\* ?/g,f=[];function d(e){const t=(0,r().default)(e)||n().EOL;e=e.replace(o,"").replace(i,"").replace(h,"$1");let a="";for(;a!==e;)a=e,e=e.replace(l,"".concat(t,"$1 $2").concat(t));e=e.replace(u,"").trimRight();const d=Object.create(null),p=e.replace(c,"").replace(u,"").trimRight();let m;for(;m=c.exec(e);){const e=m[2].replace(s,"");"string"==typeof d[m[1]]||Array.isArray(d[m[1]])?d[m[1]]=f.concat(d[m[1]],e):d[m[1]]=e}return{comments:p,pragmas:d}}function p(e,t){return f.concat(t).map(t=>"@".concat(e," ").concat(t).trim())}}));const{parseWithComments:kl,strip:Sl,extract:El,print:Ml}=Cl,{getShebang:Al}=Rt,{normalizeEndOfLine:Tl}=qt;function Ol(e){const t=Al(e);t&&(e=e.slice(t.length+1));const n=El(e),{pragmas:r,comments:i}=kl(n);return{shebang:t,text:e,pragmas:r,comments:i}}var jl={hasPragma:function(e){const t=Object.keys(Ol(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:i}=Ol(e),o=Sl(n),a=Ml({pragmas:Object.assign({format:""},r),comments:i.trimStart()});return(t?"".concat(t,"\n"):"")+Tl(a)+(o.startsWith("\n")?"\n":"\n\n")+o}},Fl=Ve((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),Nl=Ve((function(e){!function(){var t,n,r,i,o,a;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),a=0;a<128;++a)i[a]=a>=97&&a<=122||a>=65&&a<=90||36===a||95===a;for(o=new Array(128),a=0;a<128;++a)o[a]=a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||36===a||95===a;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierPart.test(s(e))}}}()})),Il=Ve((function(e){!function(){var t=Nl;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function i(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function a(e){var n,r,i;if(0===e.length)return!1;if(i=e.charCodeAt(0),!t.isIdentifierStartES5(i))return!1;for(n=1,r=e.length;n=r)return!1;if(!(56320<=(o=e.charCodeAt(n))&&o<=57343))return!1;i=1024*(i-55296)+(o-56320)+65536}if(!a(i))return!1;a=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:i,isReservedWordES6:o,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:a,isIdentifierNameES6:s,isIdentifierES5:function(e,t){return a(e)&&!i(e,t)},isIdentifierES6:function(e,t){return s(e)&&!o(e,t)}}}()}));const Pl=Ve((function(e,t){t.ast=Fl,t.code=Nl,t.keyword=Il})).keyword.isIdentifierNameES5,{getLast:Bl,hasNewline:Ll,hasNewlineInRange:Rl,hasIgnoreComment:ql,hasNodeIgnoreComment:$l,skipWhitespace:zl}=Rt,Ul=new RegExp("^".concat("(?:(?=.)\\s)","*:")),Vl=new RegExp("^".concat("(?:(?=.)\\s)","*::"));function Hl(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some(e=>Hl(e,t));const n=t(e);return"boolean"==typeof n?n:Object.keys(e).some(n=>Hl(e[n],t))}function Wl(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||"CallExpression"===e.type||"OptionalCallExpression"===e.type||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}const Gl=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Kl(e){return e&&Gl.has(e.type)}function Xl(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type}function Yl(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function Jl(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function Zl(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function Ql(e){return!("CallExpression"!==e.type&&"OptionalCallExpression"!==e.type||"Identifier"!==e.callee.type||"async"!==e.callee.name&&"inject"!==e.callee.name&&"fakeAsync"!==e.callee.name)}function ec(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function tc(e){return"get"===e.kind||"set"===e.kind}function nc(e,t,n){return n.locStart(e)===n.locStart(t)}function rc(e,t){return tc(e)||nc(e,e.value,t)}const ic=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),oc=new Set(["AnyTypeAnnotation","NullLiteralTypeAnnotation","GenericTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation","BooleanTypeAnnotation","BooleanLiteralTypeAnnotation","StringTypeAnnotation"]),ac=/^(skip|[fx]?(it|describe|test))$/;function sc(e){return"CallExpression"===e.type||"OptionalCallExpression"===e.type}const uc=new RegExp("([ \n\r\t]+)"),lc=new RegExp("[^ \n\r\t]");function cc(e){return Xl(e)&&(lc.test(pc(e))||!/\n/.test(pc(e)))}function hc(e,t,n){return ec(t)?$l(t):t.comments&&t.comments.some(t=>t.leading&&Ll(e,n.locEnd(t)))}function fc(e){return/^(\d+|\d+\.\d+)$/.test(e)}function dc(e){return e.quasis.some(e=>e.value.raw.includes("\n"))}function pc(e){return e.extra?e.extra.raw:e.raw}const mc={"==":!0,"!=":!0,"===":!0,"!==":!0},gc={"*":!0,"/":!0,"%":!0},vc={">>":!0,">>>":!0,"<<":!0},yc={};function bc(e){return yc[e]}[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((e,t)=>{e.forEach(e=>{yc[e]=t})});var wc={classChildNeedsASIProtection:function(e){if(e){if(e.static||e.accessibility)return!1;if(!e.computed){const t=e.key&&e.key.name;if("in"===t||"instanceof"===t)return!0}switch(e.type){case"ClassProperty":case"TSAbstractClassProperty":return e.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{const t=e.value?e.value.async:e.async,n=e.value?e.value.generator:e.generator;return!t&&"get"!==e.kind&&"set"!==e.kind&&!(!e.computed&&!n)}case"TSIndexSignature":return!0;default:return!1}}},classPropMayCauseASIProblems:function(e){const t=e.getNode();if("ClassProperty"!==t.type)return!1;const n=t.key&&t.key.name;return!("static"!==n&&"get"!==n&&"set"!==n||t.value||t.typeAnnotation)||void 0},getFlowVariance:function(e){if(!e.variance)return null;const t=e.variance.kind||e.variance;switch(t){case"plus":return"+";case"minus":return"-";default:return t}},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){const t=e.getParentNode();return"declaration"===e.getName()&&Kl(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasDanglingComments:function(e){return e.comments&&e.comments.some(e=>!e.leading&&!e.trailing)},hasFlowAnnotationComment:function(e){return e&&Vl.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&e.trailingComments&&Ul.test(e.trailingComments[0].value)},hasLeadingComment:function(e){return e.comments&&e.comments.some(e=>e.leading)},hasLeadingOwnLineComment:hc,hasNakedLeftSide:Wl,hasNewlineBetweenOrAfterDecorators:function(e,t){return Rl(t.originalText,t.locStart(e.decorators[0]),t.locEnd(Bl(e.decorators)))||Ll(t.originalText,t.locEnd(Bl(e.decorators)))},hasNgSideEffect:function(e){return Hl(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})},hasNode:Hl,hasPrettierIgnore:function(e){return ql(e)||function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&ec(t)&&ec(n)))return!1;let r=null;for(let i=n.children.indexOf(t);i>0;i--){const e=n.children[i-1];if("JSXText"!==e.type||cc(e)){r=e;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&r.expression.comments&&r.expression.comments.some(e=>"prettier-ignore"===e.value.trim())}(e)},hasTrailingComment:function(e){return e.comments&&e.comments.some(e=>e.trailing)},hasTrailingLineComment:function(e){return e.comments&&e.comments.some(e=>e.trailing&&!Ku.isBlockComment(e))},identity:function(e){return e},isBinaryish:function(e){return ic.has(e.type)},isCallOrOptionalCallExpression:sc,isEmptyJSXElement:function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return Xl(t)&&!cc(t)},isExportDeclaration:Kl,isFlowAnnotationComment:function(e,t,n){const r=n.locStart(t),i=zl(e,n.locEnd(t));return!1!==i&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(i,i+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const n of e)if(Zl(n)){if(t+=1,t>1)return!0}else if(sc(n))for(const e of n.arguments)if(Zl(e))return!0;return!1},isFunctionNotation:rc,isFunctionOrArrowExpression:Zl,isGetterOrSetter:tc,isJestEachTemplateLiteral:function(e,t){const n=/^[fx]?(describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJSXNode:ec,isJSXWhitespaceExpression:function(e){return"JSXExpressionContainer"===e.type&&Xl(e.expression)&&" "===e.expression.value&&!e.expression.comments},isLastStatement:function(e){const t=e.getParentNode();if(!t)return!0;const n=e.getValue(),r=(t.body||t.consequent).filter(e=>"EmptyStatement"!==e.type);return r[r.length-1]===n},isLiteral:Xl,isLongCurriedCallExpression:function(e){const t=e.getValue(),n=e.getParentNode();return sc(t)&&sc(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;const r=t=>e(t,n+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&i.length>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every(e=>!e.computed&&(e.shorthand||e.value&&r(e.value))):"ArrayExpression"===t.type?t.elements.every(e=>null===e||r(e)):"ImportExpression"===t.type?r(t.source):"CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type?e(t.callee,n)&&t.arguments.every(r):"MemberExpression"===t.type||"OptionalMemberExpression"===t.type?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMeaningfulJSXText:cc,isMemberExpressionChain:function e(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&("Identifier"===t.object.type||e(t.object))},isMemberish:function(e){return"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"BindExpression"===e.type&&Boolean(e.object)},isNgForOf:function(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value},isNumericLiteral:Yl,isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function(e,t){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||rc(e,t))},isSimpleFlowType:function(e){return e&&oc.has(e.type)&&!("GenericTypeAnnotation"===e.type&&e.typeParameters)},isSimpleNumber:fc,isSimpleTemplateLiteral:function(e){return 0!==e.expressions.length&&e.expressions.every(e=>{if(e.comments)return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if("MemberExpression"===e.type||"OptionalMemberExpression"===e.type){let t=e;for(;"MemberExpression"===t.type||"OptionalMemberExpression"===t.type;){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,t.comments)return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1})},isStringLiteral:Jl,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&Jl(e.key)&&pc(e.key).slice(1,-1)===e.key.value&&(Pl(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||fc(e.key.value)&&String(Number(e.key.value))===e.key.value&&"babel"===t.parser)},isTemplateOnItsOwnLine:function(e,t,n){return("TemplateLiteral"===e.type&&dc(e)||"TaggedTemplateExpression"===e.type&&dc(e.quasi))&&!Ll(t,n.locStart(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(Ql(t)&&n&&e(n))return Zl(t.arguments[0]);if("Identifier"===(r=t).callee.type&&/^(before|after)(Each|All)$/.test(r.callee.name)&&1===r.arguments.length)return Ql(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&ac.test(t.callee.name)||function(e){return("MemberExpression"===e.callee.type||"OptionalMemberExpression"===e.callee.type)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&ac.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||Jl(t.arguments[0])))return!(t.arguments[2]&&!Yl(t.arguments[2]))&&((2===t.arguments.length?Zl(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&t.arguments[1].params.length<=1)||Ql(t.arguments[1]));var r;return!1},isTheOnlyJSXElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const n=t.getNode();if(!n.expression||!ec(n.expression))return!1;const r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e,t){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||nc(e,e.typeAnnotation,t))},matchJsxWhitespaceRegex:uc,needsHardlineAfterDanglingComment:function(e){if(!e.comments)return!1;const t=Bl(e.comments.filter(e=>!e.leading&&!e.trailing));return t&&!Ku.isBlockComment(t)},rawText:pc,returnArgumentHasLeadingComment:function(e,t){if(hc(e.originalText,t,e))return!0;if(Wl(t)){let r,i=t;for(;r=(n=i).expressions?n.expressions[0]:n.left||n.test||n.callee||n.object||n.tag||n.argument||n.expression;)if(i=r,hc(e.originalText,i,e))return!0}var n;return!1},shouldPrintComma:function(e,t="es5"){return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return!!vc[e]||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return bc(t)===bc(e)&&"**"!==e&&(!mc[e]||!mc[t])&&!("%"===t&&gc[e]||"%"===e&&gc[t])&&(t===e||!gc[t]||!gc[e])&&(!vc[e]||!vc[t])},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":return e(t.expression,n);default:return!1}},getPrecedence:bc};const{getLeftSidePathName:xc,hasFlowShorthandAnnotationComment:_c,hasNakedLeftSide:Dc,hasNode:Cc,isBitwiseOperator:kc,startsWithNoLookaheadToken:Sc,shouldFlatten:Ec,getPrecedence:Mc}=wc;function Ac(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),i=e.getNode();if(e.getValue()!==i)return!1;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(i)&&Tc(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(i))return!1;if("flow"!==t.parser&&_c(e.getValue()))return!0;if("Identifier"===i.type)return!!(i.extra&&i.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(i.name));if("ParenthesizedExpression"===n.type)return!1;if(!("ClassDeclaration"!==n.type&&"ClassExpression"!==n.type||n.superClass!==i||"ArrowFunctionExpression"!==i.type&&"AssignmentExpression"!==i.type&&"AwaitExpression"!==i.type&&"BinaryExpression"!==i.type&&"ConditionalExpression"!==i.type&&"LogicalExpression"!==i.type&&"NewExpression"!==i.type&&"ObjectExpression"!==i.type&&"ParenthesizedExpression"!==i.type&&"SequenceExpression"!==i.type&&"TaggedTemplateExpression"!==i.type&&"UnaryExpression"!==i.type&&"UpdateExpression"!==i.type&&"YieldExpression"!==i.type))return!0;if("ExportDefaultDeclaration"===n.type)return function e(t,n){const r=t.getValue(),i=t.getParentNode();return"FunctionExpression"===r.type||"ClassExpression"===r.type?"ExportDefaultDeclaration"===i.type||!Ac(t,n):!(!Dc(r)||"ExportDefaultDeclaration"!==i.type&&Ac(t,n))&&t.call(t=>e(t,n),...xc(t,r))}(e,t)||"SequenceExpression"===i.type;if("Decorator"===n.type&&n.expression===i){let e=!1,t=!1,n=i;for(;n;)switch(n.type){case"MemberExpression":t=!0,n=n.object;break;case"CallExpression":if(t||e)return!0;e=!0,n=n.callee;break;case"Identifier":return!1;default:return!0}return!0}if("ArrowFunctionExpression"===n.type&&n.body===i&&"SequenceExpression"!==i.type&&Sc(i,!1)||"ExpressionStatement"===n.type&&Sc(i,!0))return!0;switch(i.type){case"SpreadElement":case"SpreadProperty":return"MemberExpression"===n.type&&"object"===r&&n.object===i;case"UpdateExpression":if("UnaryExpression"===n.type)return i.prefix&&("++"===i.operator&&"+"===n.operator||"--"===i.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return i.operator===n.operator&&("+"===i.operator||"-"===i.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"**"===n.operator&&"left"===r;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if("UpdateExpression"===n.type||"PipelineTopicExpression"===n.type&&"|>"===i.operator)return!0;const t=t=>{let n=0;for(;t;){const r=e.getParentNode(n++);if(!r)return!1;if("ForStatement"===r.type&&r.init===t)return!0;t=r}return!1};if("in"===i.operator&&t(i))return!0;if("|>"===i.operator&&i.extra&&i.extra.parenthesized){const t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"ConditionalExpression":return"TSAsExpression"===i.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r&&n.superClass===i;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSAsExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":return n.left===i&&("TSTypeAssertion"===i.type||"TSAsExpression"===i.type);case"LogicalExpression":if("LogicalExpression"===i.type)return n.operator!==i.operator;case"BinaryExpression":{if(!i.operator&&"TSTypeAssertion"!==i.type)return!0;const e=n.operator,t=Mc(e),o=i.operator,a=Mc(o);return t>a||(t===a&&"right"===r?(Ya.strictEqual(n.right,i),!0):t===a&&!Ec(e,o)||(t"===n.operator);default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if("TSConditionalType"===n.type&&i===n.extendsType)return!0;case"TSFunctionType":case"TSConstructorType":if("TSConditionalType"===n.type&&i===n.checkType)return!0;case"TSUnionType":case"TSIntersectionType":if("TSUnionType"===n.type||"TSIntersectionType"===n.type)return!0;case"TSInferType":if("TSInferType"===i.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"TSIndexedAccessType"===n.type&&i===n.objectType||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":{const t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&i.params&&i.params.some(e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type)}case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof i.value&&"ExpressionStatement"===n.type&&!n.directive){const t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"MemberExpression"===n.type&&"number"==typeof i.value&&"object"===r&&n.object===i;case"AssignmentExpression":{const t=e.getParentNode(1);return"ArrowFunctionExpression"===n.type&&n.body===i||("ClassProperty"!==n.type||n.key!==i||!n.computed)&&("TSPropertySignature"!==n.type||n.name!==i)&&("ForStatement"!==n.type||n.init!==i&&n.update!==i)&&("ExpressionStatement"===n.type?"ObjectPattern"===i.left.type:("TSPropertySignature"!==n.type||n.key!==i)&&"AssignmentExpression"!==n.type&&("SequenceExpression"!==n.type||!t||"ForStatement"!==t.type||t.init!==n&&t.update!==n)&&("Property"!==n.type||n.value!==i)&&"NGChainedExpression"!==n.type)}case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r&&n.test===i;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return!(!i.extra||!i.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||i.extra&&i.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":switch(n.type){case"NewExpression":return"callee"===r&&n.callee===i;default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{const t=e.getParentNode(1);if("MemberExpression"===n.type&&"object"===r||("CallExpression"===n.type||"NewExpression"===n.type)&&"callee"===r||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(("BindExpression"===n.type||"NewExpression"===n.type)&&"callee"===r){let e=i;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return("BindExpression"===n.type||"NewExpression"===n.type)&&"callee"===r||("MemberExpression"===n.type||"OptionalMemberExpression"===n.type)&&"object"===r;case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||!("ObjectProperty"!==n.type||i.extra&&i.extra.parenthesized)||"ArrayExpression"===n.type||("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&n.arguments[r]===i||"NGPipeExpression"===n.type&&"right"===r||"MemberExpression"===n.type&&"property"===r||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"BinaryExpression"===n.type&&"<"===n.operator&&"left"===r||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"CallExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&"ObjectProperty"!==n.type&&"OptionalCallExpression"!==n.type&&"Property"!==n.type&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return Cc(e,e=>"ObjectTypeAnnotation"===e.type&&Cc(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0)}(i)}return!1}function Tc(e){const t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(Tc);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return t.properties[t.properties.length-1]===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(Tc);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(Tc);break;case"UnaryExpression":if(n.prefix)return e.callParent(Tc)}return!1}var Oc=Ac;const{builders:{concat:jc,join:Fc,line:Nc}}=dn;var Ic={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,n){const r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call(e=>{const{params:t}=e.getValue();return jc([t.length>1?"(":"",Fc(jc([",",Nc]),e.map(n,"params")),t.length>1?")":""])},"program","body",0):t.__isVueSlotScope?e.call(e=>Fc(jc([",",Nc]),e.map(n,"params")),"program","body",0):void 0}},Pc=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}};const{getLast:Bc,getPenultimate:Lc,isNextLineEmpty:Rc}=Rt,{hasLeadingComment:qc,hasTrailingComment:$c,isFunctionCompositionArgs:zc,isJSXNode:Uc,isLongCurriedCallExpression:Vc,shouldPrintComma:Hc}=wc,{builders:{concat:Wc,line:Gc,hardline:Kc,softline:Xc,group:Yc,indent:Jc,conditionalGroup:Zc,ifBreak:Qc,breakParent:eh},utils:{willBreak:th}}=dn;function nh(e){return"ObjectExpression"===e.type&&(e.properties.length>0||e.comments)||"ArrayExpression"===e.type&&(e.elements.length>0||e.comments)||"TSTypeAssertion"===e.type&&nh(e.expression)||"TSAsExpression"===e.type&&nh(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type)&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||"CallExpression"===e.body.type||"OptionalCallExpression"===e.body.type||"ConditionalExpression"===e.body.type||Uc(e.body))}var rh=function(e,t,n){const r=e.getValue(),i="ImportExpression"===r.type,o=i?[r.source]:r.arguments;if(0===o.length)return Wc(["(",ys.printDanglingComments(e,t,!0),")"]);if(2===o.length&&"ArrowFunctionExpression"===o[0].type&&0===o[0].params.length&&"BlockStatement"===o[0].body.type&&"ArrayExpression"===o[1].type&&!o.some(e=>e.comments))return Wc(["(",e.call(n,"arguments",0),", ",e.call(n,"arguments",1),")"]);let a=!1,s=!1,u=!1;const l=o.length-1,c=(e,r)=>{const i=e.getNode(),o=[n(e)];return r===l||(Rc(t.originalText,i,t.locEnd)?(0===r&&(u=!0),a=!0,o.push(",",Kc,Kc)):o.push(",",Gc)),s=function(e,t){if(!e||"ArrowFunctionExpression"!==e.type||!e.body||"BlockStatement"!==e.body.type||!e.params||e.params.length<1)return!1;let r=!1;return t.each(e=>{const t=Wc([n(e)]);r=r||th(t)},"params"),r}(i,e),Wc(o)},h=i?[e.call(e=>c(e,0),"source")]:e.map(c,"arguments"),f=i||r.callee&&"Import"===r.callee.type||!Hc(t,"all")?"":",";function d(){return Yc(Wc(["(",Jc(Wc([Gc,Wc(h)])),f,Gc,")"]),{shouldBreak:!0})}if("Decorator"!==e.getParentNode().type&&zc(o))return d();const p=function(e){if(2!==e.length)return!1;const[t,n]=e;return!(t.comments&&t.comments.length||"FunctionExpression"!==t.type&&("ArrowFunctionExpression"!==t.type||"BlockStatement"!==t.body.type)||"FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type||"ConditionalExpression"===n.type||nh(n))}(o),m=function(e){const t=Bc(e),n=Lc(e);return!qc(t)&&!$c(t)&&nh(t)&&(!n||n.type!==t.type)}(o);if(p||m){const t=(p?h.slice(1).some(th):h.slice(0,-1).some(th))||a||s;let l=[],c=0;const f=e=>{p&&0===c&&(l=[Wc([e.call(e=>n(e,{expandFirstArg:!0})),h.length>1?",":"",u?Kc:Gc,u?Kc:""])].concat(h.slice(1))),m&&c===o.length-1&&(l=h.slice(0,-1).concat(e.call(e=>n(e,{expandLastArg:!0})))),c++};i?e.call(f,"source"):e.each(f,"arguments");const g=h.some(th),v=Wc(["(",Wc(l),")"]);return Wc([g?eh:"",Zc([g||r.typeArguments||r.typeParameters?Qc(d(),v):v,Wc(p?["(",Yc(l[0],{shouldBreak:!0}),Wc(l.slice(1)),")"]:["(",Wc(h.slice(0,-1)),Yc(Bc(l),{shouldBreak:!0}),")"]),d()],{shouldBreak:t})])}const g=Wc(["(",Jc(Wc([Xc,Wc(h)])),Qc(f),Xc,")"]);return Vc(e)?g:Yc(g,{shouldBreak:h.some(th)||a})};const{isNumericLiteral:ih}=wc,{builders:{concat:oh,softline:ah,group:sh,indent:uh}}=dn;function lh(e){const t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"}var ch={printOptionalToken:lh,printFunctionTypeParameters:function(e,t,n){const r=e.getValue();return r.typeArguments?e.call(n,"typeArguments"):r.typeParameters?e.call(n,"typeParameters"):""},printMemberLookup:function(e,t,n){const r=e.call(n,"property"),i=e.getValue(),o=lh(e);return i.computed?!i.property||ih(i.property)?oh([o,"[",r,"]"]):sh(oh([o,"[",uh(oh([ah,r])),ah,"]"])):oh([o,".",r])},printBindExpressionCallee:function(e,t,n){return oh(["::",e.call(n,"callee")])}};const{getLast:hh,isNextLineEmpty:fh,isNextLineEmptyAfterIndex:dh,getNextNonSpaceNonCommentCharacterIndex:ph}=Rt,{hasLeadingComment:mh,hasTrailingComment:gh,isCallOrOptionalCallExpression:vh,isFunctionOrArrowExpression:yh,isLongCurriedCallExpression:bh,isMemberish:wh,isNumericLiteral:xh,isSimpleCallArgument:_h}=wc,{builders:{concat:Dh,join:Ch,hardline:kh,group:Sh,indent:Eh,conditionalGroup:Mh,breakParent:Ah},utils:{willBreak:Th}}=dn,{printOptionalToken:Oh,printFunctionTypeParameters:jh,printMemberLookup:Fh,printBindExpressionCallee:Nh}=ch;var Ih=function(e,t,n){const r=e.getParentNode(),i=!r||"ExpressionStatement"===r.type,o=[];function a(e){const{originalText:n}=t,r=ph(n,e,t.locEnd);return")"===n.charAt(r)?!1!==r&&dh(n,r+1):fh(n,e,t.locEnd)}const s=e.getValue();o.unshift({node:s,printed:Dh([Oh(e),jh(e,t,n),rh(e,t,n)])}),s.callee&&e.call(e=>function e(r){const i=r.getValue();vh(i)&&(wh(i.callee)||vh(i.callee))?(o.unshift({node:i,printed:Dh([ys.printComments(r,()=>Dh([Oh(r),jh(r,t,n),rh(r,t,n)]),t),a(i)?kh:""])}),r.call(t=>e(t),"callee")):wh(i)?(o.unshift({node:i,needsParens:Oc(r,t),printed:ys.printComments(r,()=>"OptionalMemberExpression"===i.type||"MemberExpression"===i.type?Fh(r,t,n):Nh(r,t,n),t)}),r.call(t=>e(t),"object")):"TSNonNullExpression"===i.type?(o.unshift({node:i,printed:ys.printComments(r,()=>"!",t)}),r.call(t=>e(t),"expression")):o.unshift({node:i,printed:r.call(n)})}(e),"callee");const u=[];let l=[o[0]],c=1;for(;ce.trailing)&&(u.push(l),l=[],h=!1)}function f(e){return/^[A-Z]|^[$_]+$/.test(e)}l.length>0&&u.push(l);const d=u.length>=2&&!u[1][0].node.comments&&function(e){const n=e[1].length&&e[1][0].node.computed;if(1===e[0].length){const r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(f(r.name)||i&&function(e){return e.length<=t.tabWidth}(r.name)||n)}const r=hh(e[0]).node;return("MemberExpression"===r.type||"OptionalMemberExpression"===r.type)&&"Identifier"===r.property.type&&(f(r.property.name)||n)}(u);function p(e){const t=e.map(e=>e.printed);return e.length>0&&e[e.length-1].needsParens?Dh(["(",...t,")"]):Dh(t)}const m=u.map(p),g=Dh(m),v=d?3:2,y=Ko(u),b=y.slice(1,-1).some(e=>mh(e.node))||y.slice(0,-1).some(e=>gh(e.node))||u[v]&&mh(u[v][0].node);if(u.length<=v&&!b)return bh(e)?g:Sh(g);const w=hh(u[d?1:0]).node,x=!vh(w)&&a(w),_=Dh([p(u[0]),d?Dh(u.slice(1,2).map(p)):"",x?kh:"",function(e){return 0===e.length?"":Eh(Sh(Dh([kh,Ch(kh,e.map(p))])))}(u.slice(d?2:1))]),D=o.map(({node:e})=>e).filter(vh);return b||D.length>2&&D.some(e=>!e.arguments.every(e=>_h(e,0)))||m.slice(0,-1).some(Th)||function(){const e=hh(hh(u)).node,t=hh(m);return vh(e)&&Th(t)&&D.slice(0,-1).some(e=>e.arguments.some(yh))}()?Sh(_):Dh([Th(g)||x?Ah:"",Mh([g,_])])};const{builders:{concat:Ph,softline:Bh,group:Lh,indent:Rh,join:qh,line:$h,ifBreak:zh}}=dn,{shouldPrintComma:Uh}=wc;var Vh={printModuleSource:function(e,t,n){return e.getValue().source?Ph([" from ",e.call(n,"source")]):""},printModuleSpecifiers:function(e,t,n){const r=e.getValue(),i=["ImportDeclaration"===r.type?" ":""];if(r.specifiers&&r.specifiers.length>0){const o=[],a=[];e.each(t=>{const r=e.getValue().type;if("ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportDefaultSpecifier"===r)o.push(n(t));else{if("ExportSpecifier"!==r&&"ImportSpecifier"!==r)throw new Error("Unknown specifier type ".concat(JSON.stringify(r)));a.push(n(t))}},"specifiers"),i.push(qh(", ",o)),0!==a.length&&(0!==o.length&&i.push(", "),a.length>1||o.length>0||r.specifiers.some(e=>e.comments)?i.push(Lh(Ph(["{",Rh(Ph([t.bracketSpacing?$h:Bh,qh(Ph([",",$h]),a)])),zh(Uh(t)?",":""),t.bracketSpacing?$h:Bh,"}"]))):i.push(Ph(["{",t.bracketSpacing?" ":"",Ph(a),t.bracketSpacing?" ":"","}"])))}else i.push("{}");return Ph(i)}};const{isJSXNode:Hh}=wc,{hasNewlineInRange:Wh}=Rt,{builders:{concat:Gh,line:Kh,softline:Xh,group:Yh,indent:Jh,align:Zh,ifBreak:Qh,dedent:ef,breakParent:tf}}=dn;var nf=function(e,t,n,r){const i=e.getValue(),o=i[r.consequentNodePropertyName],a=i[r.alternateNodePropertyName],s=[];let u=!1;const l=e.getParentNode(),c=l.type===r.conditionalNodeType&&r.testNodePropertyNames.some(e=>l[e]===i);let h,f,d=l.type===r.conditionalNodeType&&!c,p=0;do{f=h||i,h=e.getParentNode(p),p++}while(h&&h.type===r.conditionalNodeType&&r.testNodePropertyNames.every(e=>h[e]!==f));const m=h||l,g=f;if(r.shouldCheckJsx&&(Hh(i[r.testNodePropertyNames[0]])||Hh(o)||Hh(a)||function(e){return function(e){const t=[];return function e(n){"ConditionalExpression"===n.type?(e(n.test),e(n.consequent),e(n.alternate)):t.push(n)}(e),t}(e).some(Hh)}(g))){u=!0,d=!0;const t=e=>Gh([Qh("(",""),Jh(Gh([Xh,e])),Xh,Qh(")","")]),i=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;s.push(" ? ",i(o)?e.call(n,r.consequentNodePropertyName):t(e.call(n,r.consequentNodePropertyName))," : ",a.type===r.conditionalNodeType||i(a)?e.call(n,r.alternateNodePropertyName):t(e.call(n,r.alternateNodePropertyName)))}else{const u=Gh([Kh,"? ",o.type===r.conditionalNodeType?Qh("","("):"",Zh(2,e.call(n,r.consequentNodePropertyName)),o.type===r.conditionalNodeType?Qh("",")"):"",Kh,": ",a.type===r.conditionalNodeType?e.call(n,r.alternateNodePropertyName):Zh(2,e.call(n,r.alternateNodePropertyName))]);s.push(l.type!==r.conditionalNodeType||l[r.alternateNodePropertyName]===i||c?u:t.useTabs?ef(Jh(u)):Zh(Math.max(0,t.tabWidth-2),u))}const v=Ko([...r.testNodePropertyNames.map(e=>i[e].comments),o.comments,a.comments]).filter(Boolean).some(e=>Ku.isBlockComment(e)&&Wh(t.originalText,t.locStart(e),t.locEnd(e))),y=!u&&("MemberExpression"===l.type||"OptionalMemberExpression"===l.type||"NGPipeExpression"===l.type&&l.left===i)&&!l.computed,b=(e=>l===m?Yh(e,{shouldBreak:v}):v?Gh([e,tf]):e)(Gh([].concat((w=Gh(r.beforeParts()),l.type===r.conditionalNodeType&&l[r.alternateNodePropertyName]===i?Zh(2,w):w),d?Gh(s):Jh(Gh(s)),r.afterParts(y))));var w;return c?Yh(Gh([Jh(Gh([Xh,b])),Xh])):b};const{getNextNonSpaceNonCommentCharacter:rf,hasNewline:of,hasNewlineInRange:af,getLast:sf,getStringWidth:uf,printString:lf,printNumber:cf,hasIgnoreComment:hf,hasNodeIgnoreComment:ff,getIndentSize:df,getPreferredQuote:pf}=Rt,{isNextLineEmpty:mf,getNextNonSpaceNonCommentCharacterIndex:gf}=_u,{builders:{concat:vf,join:yf,line:bf,hardline:wf,softline:xf,literalline:_f,group:Df,indent:Cf,align:kf,conditionalGroup:Sf,fill:Ef,ifBreak:Mf,lineSuffixBoundary:Af,addAlignmentToDoc:Tf},utils:{willBreak:Of,isLineNext:jf,isEmpty:Ff,removeLines:Nf,normalizeParts:If},printer:{printDocToString:Pf}}=dn,{insertPragma:Bf}=jl,{printHtmlBinding:Lf,isVueEventBindingExpression:Rf}=Ic,{classChildNeedsASIProtection:qf,classPropMayCauseASIProblems:$f,getFlowVariance:zf,getLeftSidePathName:Uf,getParentExportDeclaration:Vf,getTypeScriptMappedTypeModifier:Hf,hasDanglingComments:Wf,hasFlowAnnotationComment:Gf,hasFlowShorthandAnnotationComment:Kf,hasLeadingOwnLineComment:Xf,hasNakedLeftSide:Yf,hasNewlineBetweenOrAfterDecorators:Jf,hasNgSideEffect:Zf,hasPrettierIgnore:Qf,hasTrailingComment:ed,hasTrailingLineComment:td,identity:nd,isBinaryish:rd,isCallOrOptionalCallExpression:id,isEmptyJSXElement:od,isExportDeclaration:ad,isFlowAnnotationComment:sd,isFunctionNotation:ud,isGetterOrSetter:ld,isJestEachTemplateLiteral:cd,isJSXNode:hd,isJSXWhitespaceExpression:fd,isLastStatement:dd,isLiteral:pd,isMeaningfulJSXText:md,isMemberExpressionChain:gd,isMemberish:vd,isNgForOf:yd,isNumericLiteral:bd,isObjectType:wd,isObjectTypePropertyAFunction:xd,isSimpleFlowType:_d,isSimpleNumber:Dd,isSimpleTemplateLiteral:Cd,isStringLiteral:kd,isStringPropSafeToUnquote:Sd,isTemplateOnItsOwnLine:Ed,isTestCall:Md,isTheOnlyJSXElementInMarkdown:Ad,isTSXFile:Td,isTypeAnnotationAFunction:Od,matchJsxWhitespaceRegex:jd,needsHardlineAfterDanglingComment:Fd,rawText:Nd,returnArgumentHasLeadingComment:Id,shouldPrintComma:Pd,shouldFlatten:Bd,startsWithNoLookaheadToken:Ld}=wc,{printOptionalToken:Rd,printFunctionTypeParameters:qd,printMemberLookup:$d,printBindExpressionCallee:zd}=ch,{printModuleSource:Ud,printModuleSpecifiers:Vd}=Vh,Hd=new WeakMap;let Wd=0;function Gd(e,t,n){const r=e.getValue();return Df(vf([yf(bf,e.map(n,"decorators")),Jf(r,t)?wf:bf]))}function Kd(e,t,n){const r=[],i=e.getNode(),o="ClassBody"===i.type;return e.map((e,a)=>{const s=e.getValue();if(!s)return;if("EmptyStatement"===s.type)return;const u=n(e),l=t.originalText,c=[];if(t.semi||o||Ad(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call(e=>function e(t,n){const r=t.getValue();return!!(Oc(t,n)||"ParenthesizedExpression"===r.type||"TypeCastExpression"===r.type||"ArrowFunctionExpression"===r.type&&!ep(t,n)||"ArrayExpression"===r.type||"ArrayPattern"===r.type||"UnaryExpression"===r.type&&r.prefix&&("+"===r.operator||"-"===r.operator)||"TemplateLiteral"===r.type||"TemplateElement"===r.type||hd(r)||"BindExpression"===r.type&&!r.object||"RegExpLiteral"===r.type||"Literal"===r.type&&r.pattern||"Literal"===r.type&&r.regex)||!!Yf(r)&&t.call(t=>e(t,n),...Uf(t,r))}(e,t),"expression")}(e,t)?c.push(u):s.comments&&s.comments.some(e=>e.leading)?c.push(n(e,{needsSemi:!0})):c.push(";",u),!t.semi&&o)if($f(e))c.push(";");else if("ClassProperty"===s.type){const e=i.body[a+1];qf(e)&&c.push(";")}mf(l,s,t.locEnd)&&!dd(e)&&c.push(wf),r.push(vf(c))}),yf(wf,r)}function Xd(e,t,n){const r=e.getNode();if(r.computed)return vf(["[",e.call(n,"key"),"]"]);const i=e.getParentNode(),{key:o}=r;if("ClassPrivateProperty"===r.type&&"Identifier"===o.type)return vf(["#",e.call(n,"key")]);if("consistent"===t.quoteProps&&!Hd.has(i)){const e=(i.properties||i.body||i.members).some(e=>!e.computed&&e.key&&kd(e.key)&&!Sd(e,t));Hd.set(i,e)}if(("Identifier"===o.type||bd(o)&&Dd(cf(Nd(o)))&&String(o.value)===cf(Nd(o))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&Hd.get(i))){const n=lf(JSON.stringify("Identifier"===o.type?o.name:o.value.toString()),t);return e.call(e=>ys.printComments(e,()=>n,t),"key")}return Sd(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!Hd.get(i))?e.call(e=>ys.printComments(e,()=>/^\d/.test(o.value)?cf(o.value):o.value,t),"key"):e.call(n,"key")}function Yd(e,t,n){const r=e.getNode(),{kind:i}=r,o=r.value||r,a=[];return i&&"init"!==i&&"method"!==i&&"constructor"!==i?(Ya.ok("get"===i||"set"===i),a.push(i," ")):(o.async&&a.push("async "),o.generator&&a.push("*")),a.push(Xd(e,t,n),r.optional||r.key.optional?"?":"",r===o?Jd(e,t,n):e.call(e=>Jd(e,t,n),"value")),vf(a)}function Jd(e,t,n){const r=[qd(e,t,n),Df(vf([Qd(e,n,t),np(e,n,t)]))];return e.getNode().body?r.push(" ",e.call(n,"body")):r.push(t.semi?";":""),vf(r)}function Zd(e,t,n){const r=e.getValue();if(!r.typeAnnotation)return"";const i=e.getParentNode(),o=r.definite||i&&"VariableDeclarator"===i.type&&i.definite,a="DeclareFunction"===i.type&&i.id===r;return sd(t.originalText,r.typeAnnotation,t)?vf([" /*: ",e.call(n,"typeAnnotation")," */"]):vf([a?"":o?"!: ":": ",e.call(n,"typeAnnotation")])}function Qd(e,t,n,r,i){const o=e.getValue(),a=e.getParentNode(),s=o.parameters?"parameters":"params",u=Md(a),l=bp(o),c=r&&!(o[s]&&o[s].some(e=>e.comments)),h=i?qd(e,n,t):"";let f=[];if(o[s]){const r=o[s].length-1;f=e.map((e,i)=>{const a=[],s=e.getValue();return a.push(t(e)),i===r?o.rest&&a.push(",",bf):u||l||c?a.push(", "):mf(n.originalText,s,n.locEnd)?a.push(",",wf,wf):a.push(",",bf),vf(a)},s)}if(o.rest&&f.push(vf(["...",e.call(t,"rest")])),0===f.length)return vf([h,"(",ys.printDanglingComments(e,n,!0,e=>")"===rf(n.originalText,e,n.locEnd)),")"]);const d=sf(o[s]);if(c)return Df(vf([Nf(h),"(",vf(f.map(Nf)),")"]));const p=o[s].every(e=>!e.decorators);if(l&&p)return vf([h,"(",vf(f),")"]);if(u)return vf([h,"(",vf(f),")"]);if((xd(a,n)||Od(a,n)||"TypeAlias"===a.type||"UnionTypeAnnotation"===a.type||"TSUnionType"===a.type||"IntersectionTypeAnnotation"===a.type||"FunctionTypeAnnotation"===a.type&&a.returnType===o)&&1===o[s].length&&null===o[s][0].name&&o[s][0].typeAnnotation&&null===o.typeParameters&&_d(o[s][0].typeAnnotation)&&!o.rest)return"always"===n.arrowParens?vf(["(",vf(f),")"]):vf(f);const m=!(d&&"RestElement"===d.type||o.rest);return vf([h,"(",Cf(vf([xf,vf(f)])),Mf(m&&Pd(n,"all")?",":""),xf,")"])}function ep(e,t){return"always"!==t.arrowParens&&("avoid"===t.arrowParens&&function(e){return!(1!==e.params.length||e.rest||e.typeParameters||Wf(e)||"Identifier"!==e.params[0].type||e.params[0].typeAnnotation||e.params[0].comments||e.params[0].optional||e.predicate||e.returnType)}(e.getValue()))}function tp(e,t,n){const r=e.getValue(),i=[];return r.async&&i.push("async "),r.generator?i.push("function* "):i.push("function "),r.id&&i.push(e.call(t,"id")),i.push(qd(e,n,t),Df(vf([Qd(e,t,n),np(e,t,n)])),r.body?" ":"",e.call(t,"body")),vf(i)}function np(e,t,n){const r=e.getValue(),i=e.call(t,"returnType");if(r.returnType&&sd(n.originalText,r.returnType,n))return vf([" /*: ",i," */"]);const o=[i];return r.returnType&&r.returnType.typeAnnotation&&o.unshift(": "),r.predicate&&o.push(r.returnType?" ":": ",e.call(t,"predicate")),vf(o)}function rp(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=["export "],a=r.default||"ExportDefaultDeclaration"===r.type;return a&&o.push("default "),o.push(ys.printDanglingComments(e,t,!0)),Fd(r)&&o.push(wf),r.declaration?(o.push(e.call(n,"declaration")),a&&"ClassDeclaration"!==r.declaration.type&&"FunctionDeclaration"!==r.declaration.type&&"TSInterfaceDeclaration"!==r.declaration.type&&"DeclareClass"!==r.declaration.type&&"DeclareFunction"!==r.declaration.type&&"TSDeclareFunction"!==r.declaration.type&&"EnumDeclaration"!==r.declaration.type&&o.push(i)):(o.push("type"===r.exportKind?"type ":""),o.push(Vd(e,t,n)),o.push(Ud(e,t,n)),o.push(i)),vf(o)}function ip(e,t){const n=Vf(e);return n?Ya.strictEqual(n.type,"DeclareExportDeclaration"):t.unshift("declare "),vf(t)}function op(e,t,n){const r=e.getValue();return r.modifiers&&r.modifiers.length?vf([yf(" ",e.map(n,"modifiers"))," "]):""}const ap=new WeakMap;function sp(e){return ap.has(e)||ap.set(e,Symbol("typeParameters")),ap.get(e)}function up(e,t,n,r){const i=e.getValue();if(!i[r])return"";if(!Array.isArray(i[r]))return e.call(n,r);const o=e.getNode(2),a=e.getNode(3),s=e.getNode(4);return null!=o&&Md(o)||0===i[r].length||1===i[r].length&&(yp(i[r][0])||"GenericTypeAnnotation"===i[r][0].type&&yp(i[r][0].id)||"TSTypeReference"===i[r][0].type&&yp(i[r][0].typeName)||"NullableTypeAnnotation"===i[r][0].type||s&&"VariableDeclarator"===s.type&&"TSTypeAnnotation"===o.type&&"ArrowFunctionExpression"!==a.type&&"TSUnionType"!==i[r][0].type&&"UnionTypeAnnotation"!==i[r][0].type&&"TSIntersectionType"!==i[r][0].type&&"IntersectionTypeAnnotation"!==i[r][0].type&&"TSConditionalType"!==i[r][0].type&&"TSMappedType"!==i[r][0].type&&"TSTypeOperator"!==i[r][0].type&&"TSIndexedAccessType"!==i[r][0].type&&"TSArrayType"!==i[r][0].type)?vf(["<",yf(", ",e.map(n,r)),function(n){if(!Wf(n))return"";const r=n.comments.every(Ku.isBlockComment),i=ys.printDanglingComments(e,t,r);return r?i:vf([i,wf])}(i),">"]):Df(vf(["<",Cf(vf([xf,yf(vf([",",bf]),e.map(n,r))])),Mf("typescript"!==t.parser&&"babel-ts"!==t.parser&&Pd(t,"all")?",":""),xf,">"]),{id:sp(i)})}function lp(e,t,n){const r=e.getValue(),i=[];r.abstract&&i.push("abstract "),i.push("class");const o=r.id&&ed(r.id)||r.superClass&&r.superClass.comments&&0!==r.superClass.comments.length||r.extends&&0!==r.extends.length||r.mixins&&0!==r.mixins.length||r.implements&&0!==r.implements.length,a=[],s=[];r.id&&a.push(" ",e.call(n,"id")),a.push(e.call(n,"typeParameters"));const u=["superClass","extends","mixins","implements"].filter(e=>!!r[e]).length>1,l=r.typeParameters&&!td(r.typeParameters)&&!u;function c(i){if(r[i]&&0!==r[i].length){const o=ys.printDanglingComments(e,t,!0,({marker:e})=>e===i);s.push(l?Mf(" ",bf,{groupId:sp(r.typeParameters)}):bf,o,o&&wf,i,Df(Cf(vf([bf,yf(vf([",",bf]),e.map(n,i))]))))}}if(r.superClass){const r=vf(["extends ",e.call(n,"superClass"),e.call(n,"superTypeParameters")]),i=e.call(e=>ys.printComments(e,()=>r,t),"superClass");o?s.push(bf,Df(i)):s.push(" ",i)}else c("extends");if(c("mixins"),c("implements"),o){const e=vf(s);l?i.push(Df(vf(a.concat(Mf(Cf(e),e))))):i.push(Df(Cf(vf(a.concat(e)))))}else i.push(...a,...s);return i.push(" ",e.call(n,"body")),i}function cp(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?xf:wf:xf}function hp(e,t,n,r){return e?wf:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?wf:xf:wf}function fp(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&0!==e.right.properties.length||"ArrayExpression"===e.right.type&&0!==e.right.elements.length||!!hd(e.right))}function dp(e,t,n,r){return Xf(r.originalText,t,r)?Cf(vf([bf,n])):rd(t)&&!fp(t)||"ConditionalExpression"===t.type&&rd(t.test)&&!fp(t.test)||"StringLiteralTypeAnnotation"===t.type||"ClassExpression"===t.type&&t.decorators&&t.decorators.length||("Identifier"===e.type||kd(e)||"MemberExpression"===e.type)&&(kd(t)||gd(t))&&"json"!==r.parser&&"json5"!==r.parser||"SequenceExpression"===t.type?Df(Cf(vf([bf,n]))):vf([" ",n])}function pp(e,t,n,r,i,o){if(!r)return t;const a=dp(e,r,i,o);return Df(vf([t,n,a]))}function mp(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?vf([" ",t]):Cf(vf([bf,t]))}function gp(e,t,n){const r=Nd(e),i=n||"DirectiveLiteral"===e.type;return lf(r,t,i)}function vp(e){const t=e.flags.split("").sort().join("");return"/".concat(e.pattern,"/").concat(t)}function yp(e){if(_d(e)||wd(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){const t=e.types.filter(e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type).length,n=e.types.some(e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type);if(e.types.length-1===t&&n)return!0}return!1}function bp(e){if(!e||e.rest)return!1;const t=e.params||e.parameters;if(!t||1!==t.length)return!1;const n=t[0];return!n.comments&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&wd(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&wd(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}function wp(e,t,n,r){const i=[];let o=[];return e.each(e=>{i.push(vf(o)),i.push(Df(r(e))),o=[",",bf],e.getValue()&&mf(t.originalText,e.getValue(),t.locEnd)&&o.push(xf)},n),vf(i)}function xp(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=[];r.argument&&(Id(t,r.argument)?o.push(vf([" (",Cf(vf([wf,e.call(n,"argument")])),wf,")"])):rd(r.argument)||"SequenceExpression"===r.argument.type?o.push(Df(vf([Mf(" ("," "),Cf(vf([xf,e.call(n,"argument")])),xf,Mf(")")]))):o.push(" ",e.call(n,"argument")));const a=Array.isArray(r.comments)&&r.comments[r.comments.length-1],s=a&&("CommentLine"===a.type||"Line"===a.type);return s&&o.push(i),Wf(r)&&o.push(" ",ys.printDanglingComments(e,t,!0)),s||o.push(i),vf(o)}function _p(e){const t=e.getValue(),n=e.getParentNode();return(t&&(hd(t)||Kf(t)||n&&("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&(Gf(t.leadingComments)||Gf(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!hf(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}var Dp={preprocess:Pc,print:function(e,t,n,r){const i=e.getValue();let o=!1;const a=function(e,t,n,r){const i=e.getValue(),o=t.semi?";":"";if(!i)return"";if("string"==typeof i)return i;const a=Lf(e,t,n);if(a)return a;let s=[];switch(i.type){case"JsExpressionRoot":return e.call(n,"node");case"JsonRoot":return vf([e.call(n,"node"),wf]);case"File":return i.program&&i.program.interpreter&&s.push(e.call(e=>e.call(n,"interpreter"),"program")),s.push(e.call(n,"program")),vf(s);case"Program":{const r=!i.body.every(({type:e})=>"EmptyStatement"===e)||i.comments;if(i.directives){const a=i.directives.length;e.map((e,i)=>{s.push(n(e),o,wf),(iKd(e,t,n),"body")),s.push(ys.printDanglingComments(e,t,!0)),r&&s.push(wf),vf(s)}case"EmptyStatement":return"";case"ExpressionStatement":if(i.directive)return vf([gp(i.expression,t,!0),o]);if("__vue_event_binding"===t.parser){const t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===i)return vf([e.call(n,"expression"),Rf(i.expression)?";":""])}return vf([e.call(n,"expression"),Ad(t,e)?"":o]);case"ParenthesizedExpression":return i.expression.comments?Df(vf(["(",Cf(vf([xf,e.call(n,"expression")])),xf,")"])):vf(["(",e.call(n,"expression"),")"]);case"AssignmentExpression":return pp(i.left,e.call(n,"left"),vf([" ",i.operator]),i.right,e.call(n,"right"),t);case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":{const r=e.getParentNode(),o=e.getParentNode(1),a=i!==r.body&&("IfStatement"===r.type||"WhileStatement"===r.type||"SwitchStatement"===r.type||"DoWhileStatement"===r.type),s=function e(t,n,r,i,o){let a=[];const s=t.getValue();if(rd(s)){Bd(s.operator,s.left.operator)?a=a.concat(t.call(t=>e(t,n,r,!0,o),"left")):a.push(Df(t.call(n,"left")));const u=fp(s),l=("|>"===s.operator||"NGPipeExpression"===s.type||"|"===s.operator&&"__vue_expression"===r.parser)&&!Xf(r.originalText,s.right,r),c="NGPipeExpression"===s.type?"|":s.operator,h="NGPipeExpression"===s.type&&0!==s.arguments.length?Df(Cf(vf([xf,": ",yf(vf([xf,":",Mf(" ")]),t.map(n,"arguments").map(e=>kf(2,Df(e))))]))):"",f=vf(u?[c," ",t.call(n,"right"),h]:[l?bf:"",c,l?" ":bf,t.call(n,"right"),h]),d=t.getParentNode(),p=td(s.left),m=p||!(o&&"LogicalExpression"===s.type)&&d.type!==s.type&&s.left.type!==s.type&&s.right.type!==s.type;a.push(l?"":" ",m?Df(f,{shouldBreak:p}):f),i&&s.comments&&(a=If(ys.printComments(t,()=>vf(a),r).parts))}else a.push(Df(t.call(n)));return a}(e,n,t,!1,a);if(a)return vf(s);if(("CallExpression"===r.type||"OptionalCallExpression"===r.type)&&r.callee===i||"UnaryExpression"===r.type||("MemberExpression"===r.type||"OptionalMemberExpression"===r.type)&&!r.computed)return Df(vf([Cf(vf([xf,vf(s)])),xf]));const u="ReturnStatement"===r.type||"ThrowStatement"===r.type||"JSXExpressionContainer"===r.type&&"JSXAttribute"===o.type||"|"!==i.operator&&"JsExpressionRoot"===r.type||"NGPipeExpression"!==i.type&&("NGRoot"===r.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===r.type&&"NGMicrosyntax"===o.type&&1===o.body.length)||i===r.body&&"ArrowFunctionExpression"===r.type||i!==r.body&&"ForStatement"===r.type||"ConditionalExpression"===r.type&&"ReturnStatement"!==o.type&&"ThrowStatement"!==o.type&&"CallExpression"!==o.type&&"OptionalCallExpression"!==o.type||"TemplateLiteral"===r.type,l="AssignmentExpression"===r.type||"VariableDeclarator"===r.type||"ClassProperty"===r.type||"TSAbstractClassProperty"===r.type||"ClassPrivateProperty"===r.type||"ObjectProperty"===r.type||"Property"===r.type,c=rd(i.left)&&Bd(i.operator,i.left.operator);if(u||fp(i)&&!c||!fp(i)&&l)return Df(vf(s));if(0===s.length)return"";const h=hd(i.right),f=s.findIndex(e=>"string"!=typeof e&&"group"===e.type),d=s.slice(0,-1===f?1:f+1),p=vf(s.slice(d.length,h?-1:void 0)),m=Symbol("logicalChain-"+ ++Wd),g=Df(vf([...d,Cf(p)]),{id:m});if(!h)return g;const v=sf(s);return Df(vf([g,Mf(Cf(v),v,{groupId:m})]))}case"AssignmentPattern":return vf([e.call(n,"left")," = ",e.call(n,"right")]);case"TSTypeAssertion":{const t=!("ArrayExpression"===i.expression.type||"ObjectExpression"===i.expression.type),r=Df(vf(["<",Cf(vf([xf,e.call(n,"typeAnnotation")])),xf,">"])),o=vf([Mf("("),Cf(vf([xf,e.call(n,"expression")])),xf,Mf(")")]);return t?Sf([vf([r,e.call(n,"expression")]),vf([r,Df(o,{shouldBreak:!0})]),vf([r,e.call(n,"expression")])]):Df(vf([r,e.call(n,"expression")]))}case"OptionalMemberExpression":case"MemberExpression":{const r=e.getParentNode();let o,a=0;do{o=e.getParentNode(a),a++}while(o&&("MemberExpression"===o.type||"OptionalMemberExpression"===o.type||"TSNonNullExpression"===o.type));const s=o&&("NewExpression"===o.type||"BindExpression"===o.type||"VariableDeclarator"===o.type&&"Identifier"!==o.id.type||"AssignmentExpression"===o.type&&"Identifier"!==o.left.type)||i.computed||"Identifier"===i.object.type&&"Identifier"===i.property.type&&"MemberExpression"!==r.type&&"OptionalMemberExpression"!==r.type;return vf([e.call(n,"object"),s?$d(e,t,n):Df(Cf(vf([xf,$d(e,t,n)])))])}case"MetaProperty":return vf([e.call(n,"meta"),".",e.call(n,"property")]);case"BindExpression":return i.object&&s.push(e.call(n,"object")),s.push(Df(Cf(vf([xf,zd(e,t,n)])))),vf(s);case"Identifier":return vf([i.name,Rd(e),Zd(e,t,n)]);case"V8IntrinsicIdentifier":return vf(["%",i.name]);case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return vf(["...",e.call(n,"argument"),Zd(e,t,n)]);case"FunctionDeclaration":case"FunctionExpression":return s.push(tp(e,n,t)),i.body||s.push(o),vf(s);case"ArrowFunctionExpression":{i.async&&s.push("async "),ep(e,t)?s.push(e.call(n,"params",0)):s.push(Df(vf([Qd(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),np(e,n,t)])));const o=ys.printDanglingComments(e,t,!0,e=>{const n=gf(t.originalText,e,t.locEnd);return!1!==n&&"=>"===t.originalText.slice(n,n+2)});o&&s.push(" ",o),s.push(" =>");const a=e.call(e=>n(e,r),"body");if(!Xf(t.originalText,i.body,t)&&("ArrayExpression"===i.body.type||"ObjectExpression"===i.body.type||"BlockStatement"===i.body.type||hd(i.body)||Ed(i.body,t.originalText,t)||"ArrowFunctionExpression"===i.body.type||"DoExpression"===i.body.type))return Df(vf([vf(s)," ",a]));if("SequenceExpression"===i.body.type)return Df(vf([vf(s),Df(vf([" (",Cf(vf([xf,a])),xf,")"]))]));const u=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!(i.comments&&i.comments.length),l=r&&r.expandLastArg&&Pd(t,"all"),c="ConditionalExpression"===i.body.type&&!Ld(i.body,!1);return Df(vf([vf(s),Df(vf([Cf(vf([bf,c?Mf("","("):"",a,c?Mf("",")"):""])),u?vf([Mf(l?",":""),xf]):""]))]))}case"YieldExpression":return s.push("yield"),i.delegate&&s.push("*"),i.argument&&s.push(" ",e.call(n,"argument")),vf(s);case"AwaitExpression":{s.push("await"),i.argument&&s.push(" ",e.call(n,"argument"));const t=e.getParentNode();return("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&t.callee===i||("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&t.object===i?Df(vf([Cf(vf([xf,vf(s)])),xf])):vf(s)}case"ImportSpecifier":return i.importKind&&s.push(e.call(n,"importKind")," "),s.push(e.call(n,"imported")),i.local&&i.local.name!==i.imported.name&&s.push(" as ",e.call(n,"local")),vf(s);case"ExportSpecifier":return s.push(e.call(n,"local")),i.exported&&i.exported.name!==i.local.name&&s.push(" as ",e.call(n,"exported")),vf(s);case"ImportNamespaceSpecifier":return s.push("* as "),s.push(e.call(n,"local")),vf(s);case"ImportDefaultSpecifier":return e.call(n,"local");case"TSExportAssignment":return vf(["export = ",e.call(n,"expression"),o]);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return rp(e,t,n);case"DeclareExportDeclaration":return vf(["declare ",rp(e,t,n)]);case"ExportAllDeclaration":return s.push("export"),"type"===i.exportKind&&s.push(" type"),s.push(" *"),i.exported&&s.push(" as ",e.call(n,"exported")),s.push(Ud(e,t,n),o),vf(s);case"ExportNamespaceSpecifier":return vf(["* as ",e.call(n,"exported")]);case"ExportDefaultSpecifier":return e.call(n,"exported");case"ImportDeclaration":return s.push("import"),i.importKind&&"value"!==i.importKind&&s.push(" ",i.importKind),i.specifiers&&i.specifiers.length>0?(s.push(Vd(e,t,n)),s.push(Ud(e,t,n))):i.importKind&&"type"===i.importKind||/{\s*}/.test(t.originalText.slice(t.locStart(i),t.locStart(i.source)))?s.push(" {}",Ud(e,t,n)):s.push(" ",e.call(n,"source")),Array.isArray(i.attributes)&&0!==i.attributes.length&&s.push(" with ",vf(e.map(n,"attributes"))),s.push(o),vf(s);case"ImportAttribute":return vf([e.call(n,"key"),": ",e.call(n,"value")]);case"Import":return"import";case"TSModuleBlock":case"BlockStatement":{const r=e.call(e=>Kd(e,t,n),"body"),a=i.body.some(e=>"EmptyStatement"!==e.type),u=i.directives&&i.directives.length>0,l=e.getParentNode(),c=e.getParentNode(1);return a||u||Wf(i)||"ArrowFunctionExpression"!==l.type&&"FunctionExpression"!==l.type&&"FunctionDeclaration"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"ForStatement"!==l.type&&"WhileStatement"!==l.type&&"DoWhileStatement"!==l.type&&"DoExpression"!==l.type&&("CatchClause"!==l.type||c.finalizer)&&"TSModuleDeclaration"!==l.type?(s.push("{"),u&&e.each(e=>{s.push(Cf(vf([wf,n(e),o]))),mf(t.originalText,e.getValue(),t.locEnd)&&s.push(wf)},"directives"),a&&s.push(Cf(vf([wf,r]))),s.push(ys.printDanglingComments(e,t)),s.push(wf,"}"),vf(s)):"{}"}case"ReturnStatement":return vf(["return",xp(e,t,n)]);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":{const r="NewExpression"===i.type,o="ImportExpression"===i.type,a=Rd(e),s=o?[i.source]:i.arguments;if(!o&&!r&&"Identifier"===i.callee.type&&("require"===i.callee.name||"define"===i.callee.name)||1===s.length&&Ed(s[0],t.originalText,t)||!r&&Md(i,e.getParentNode()))return vf([r?"new ":"",e.call(n,"callee"),a,qd(e,t,n),vf(["(",o?e.call(n,"source"):yf(", ",e.map(n,"arguments")),")"])]);const u=i.callee&&"Identifier"===i.callee.type&&Gf(i.callee.trailingComments);if(u&&(i.callee.trailingComments[0].printed=!0),!o&&!r&&vd(i.callee)&&!e.call(e=>Oc(e,t),"callee"))return Ih(e,t,n);const l=vf([r?"new ":"",o?"import":e.call(n,"callee"),a,u?"/*:: ".concat(i.callee.trailingComments[0].value.slice(2).trim()," */"):"",qd(e,t,n),rh(e,t,n)]);return o||id(i.callee)?Df(l):l}case"ObjectTypeInternalSlot":return vf([i.static?"static ":"","[[",e.call(n,"id"),"]]",Rd(e),i.method?"":": ",e.call(n,"value")]);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"TSInterfaceBody":case"TSTypeLiteral":case"RecordExpression":{let r;r="TSTypeLiteral"===i.type?"members":"TSInterfaceBody"===i.type?"body":"properties";const a="ObjectTypeAnnotation"===i.type,s=[];a&&s.push("indexers","callProperties","internalSlots"),s.push(r);const u=s.map(e=>i[e][0]).sort((e,n)=>t.locStart(e)-t.locStart(n))[0],l=e.getParentNode(0),c=a&&l&&("InterfaceDeclaration"===l.type||"DeclareInterface"===l.type||"DeclareClass"===l.type)&&"body"===e.getName(),h="TSInterfaceBody"===i.type||c||"ObjectPattern"===i.type&&"FunctionDeclaration"!==l.type&&"FunctionExpression"!==l.type&&"ArrowFunctionExpression"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"AssignmentPattern"!==l.type&&"CatchClause"!==l.type&&i.properties.some(e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type))||"ObjectPattern"!==i.type&&u&&af(t.originalText,t.locStart(i),t.locStart(u)),f=c?";":"TSInterfaceBody"===i.type||"TSTypeLiteral"===i.type?Mf(o,";"):",",d="RecordExpression"===i.type?"#{":i.exact?"{|":"{",p=i.exact?"|}":"}",m=[];s.forEach(r=>{e.each(e=>{const r=e.getValue();m.push({node:r,printed:n(e),loc:t.locStart(r)})},r)});let g=[];const v=m.sort((e,t)=>e.loc-t.loc).map(e=>{const n=vf(g.concat(Df(e.printed)));return g=[f,bf],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!ff(e.node)||g.shift(),mf(t.originalText,e.node,t.locEnd)&&g.push(wf),n});if(i.inexact){let n;if(Wf(i)){const r=!i.comments.every(Ku.isBlockComment),o=ys.printDanglingComments(e,t,!0);n=vf([o,r||of(t.originalText,t.locEnd(i.comments[i.comments.length-1]))?wf:bf,"..."])}else n="...";v.push(vf(g.concat(n)))}const y=sf(i[r]),b=!(i.inexact||y&&"RestElement"===y.type);let w;if(0===v.length){if(!Wf(i))return vf([d,p,Zd(e,t,n)]);w=Df(vf([d,ys.printDanglingComments(e,t),xf,p,Rd(e),Zd(e,t,n)]))}else w=vf([d,Cf(vf([t.bracketSpacing?bf:xf,vf(v)])),Mf(b&&(","!==f||Pd(t))?f:""),vf([t.bracketSpacing?bf:xf,p]),Rd(e),Zd(e,t,n)]);return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,n)=>bp(e)&&("params"===t||"parameters"===t)&&0===n)||e.match(yp,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,n)=>bp(e)&&("params"===t||"parameters"===t)&&0===n)?w:Df(w,{shouldBreak:h})}case"ObjectProperty":case"Property":return i.method||"get"===i.kind||"set"===i.kind?Yd(e,t,n):(i.shorthand?s.push(e.call(n,"value")):s.push(pp(i.key,Xd(e,t,n),":",i.value,e.call(n,"value"),t)),vf(s));case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":case"TSAbstractMethodDefinition":case"TSDeclareMethod":return i.decorators&&0!==i.decorators.length&&s.push(Gd(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.static&&s.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&s.push("abstract "),s.push(Yd(e,t,n)),vf(s);case"ObjectMethod":return Yd(e,t,n);case"Decorator":return vf(["@",e.call(n,"expression"),e.call(n,"callee")]);case"ArrayExpression":case"ArrayPattern":case"TupleExpression":{const r="TupleExpression"===i.type?"#[":"[",o="]";if(0===i.elements.length)Wf(i)?s.push(Df(vf([r,ys.printDanglingComments(e,t),xf,o]))):s.push(r,o);else{const a=sf(i.elements),u=!(a&&"RestElement"===a.type),l=u&&null===a,c=!t.__inJestEach&&i.elements.length>1&&i.elements.every((e,t,n)=>{const r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;const i=n[t+1];if(i&&r!==i.type)return!1;const o="ArrayExpression"===r?"elements":"properties";return e[o]&&e[o].length>1});s.push(Df(vf([r,Cf(vf([xf,wp(e,t,"elements",n)])),l?",":"",Mf(u&&!l&&Pd(t)?",":""),ys.printDanglingComments(e,t,!0),xf,o]),{shouldBreak:c}))}return s.push(Rd(e),Zd(e,t,n)),vf(s)}case"SequenceExpression":{const t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){const t=[];return e.each(e=>{0===e.getName()?t.push(n(e)):t.push(",",Cf(vf([bf,n(e)])))},"expressions"),Df(vf(t))}return Df(vf([yf(vf([",",bf]),e.map(n,"expressions"))]))}case"ThisExpression":return"this";case"Super":return"super";case"NullLiteral":return"null";case"RegExpLiteral":return vp(i);case"NumericLiteral":return cf(i.extra.raw);case"DecimalLiteral":return cf(i.value)+"m";case"BigIntLiteral":return(i.bigint||i.extra.raw).toLowerCase();case"BooleanLiteral":case"StringLiteral":case"Literal":return i.regex?vp(i.regex):i.bigint?i.raw.toLowerCase():"number"==typeof i.value?cf(i.raw):"string"!=typeof i.value?""+i.value:gp(i,t);case"Directive":return e.call(n,"value");case"DirectiveLiteral":return gp(i,t);case"UnaryExpression":return s.push(i.operator),/[a-z]$/.test(i.operator)&&s.push(" "),i.argument.comments&&i.argument.comments.length>0?s.push(Df(vf(["(",Cf(vf([xf,e.call(n,"argument")])),xf,")"]))):s.push(e.call(n,"argument")),vf(s);case"UpdateExpression":return s.push(e.call(n,"argument"),i.operator),i.prefix&&s.reverse(),vf(s);case"ConditionalExpression":return nf(e,t,n,{beforeParts:()=>[e.call(n,"test")],afterParts:e=>[e?xf:""],shouldCheckJsx:!0,conditionalNodeType:"ConditionalExpression",consequentNodePropertyName:"consequent",alternateNodePropertyName:"alternate",testNodePropertyNames:["test"]});case"VariableDeclaration":{const t=e.map(e=>n(e),"declarations"),r=e.getParentNode(),a="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,u=i.declarations.some(e=>e.init);let l;return 1!==t.length||i.declarations[0].comments?t.length>0&&(l=Cf(t[0])):l=t[0],s=[i.declare?"declare ":"",i.kind,l?vf([" ",l]):"",Cf(vf(t.slice(1).map(e=>vf([",",u&&!a?wf:bf,e]))))],a&&r.body!==i||s.push(o),Df(vf(s))}case"TSTypeAliasDeclaration":{i.declare&&s.push("declare ");const r=dp(i.id,i.typeAnnotation,i.typeAnnotation&&e.call(n,"typeAnnotation"),t);return s.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,o),Df(vf(s))}case"VariableDeclarator":return pp(i.id,e.call(n,"id")," =",i.init,i.init&&e.call(n,"init"),t);case"WithStatement":return Df(vf(["with (",e.call(n,"object"),")",mp(i.body,e.call(n,"body"))]));case"IfStatement":{const r=mp(i.consequent,e.call(n,"consequent")),o=Df(vf(["if (",Df(vf([Cf(vf([xf,e.call(n,"test")])),xf])),")",r]));if(s.push(o),i.alternate){const r=ed(i.consequent)&&i.consequent.comments.some(e=>e.trailing&&!Ku.isBlockComment(e))||Fd(i),o="BlockStatement"===i.consequent.type&&!r;s.push(o?" ":wf),Wf(i)&&s.push(ys.printDanglingComments(e,t,!0),r?wf:" "),s.push("else",Df(mp(i.alternate,e.call(n,"alternate"),"IfStatement"===i.alternate.type)))}return vf(s)}case"ForStatement":{const r=mp(i.body,e.call(n,"body")),o=ys.printDanglingComments(e,t,!0),a=o?vf([o,xf]):"";return i.init||i.test||i.update?vf([a,Df(vf(["for (",Df(vf([Cf(vf([xf,e.call(n,"init"),";",bf,e.call(n,"test"),";",bf,e.call(n,"update")])),xf])),")",r]))]):vf([a,Df(vf(["for (;;)",r]))])}case"WhileStatement":return Df(vf(["while (",Df(vf([Cf(vf([xf,e.call(n,"test")])),xf])),")",mp(i.body,e.call(n,"body"))]));case"ForInStatement":return Df(vf([i.each?"for each (":"for (",e.call(n,"left")," in ",e.call(n,"right"),")",mp(i.body,e.call(n,"body"))]));case"ForOfStatement":return Df(vf(["for",i.await?" await":""," (",e.call(n,"left")," of ",e.call(n,"right"),")",mp(i.body,e.call(n,"body"))]));case"DoWhileStatement":{const t=mp(i.body,e.call(n,"body")),r=Df(vf(["do",t]));return s=[r],"BlockStatement"===i.body.type?s.push(" "):s.push(wf),s.push("while ("),s.push(Df(vf([Cf(vf([xf,e.call(n,"test")])),xf])),")",o),vf(s)}case"DoExpression":return vf(["do ",e.call(n,"body")]);case"BreakStatement":return s.push("break"),i.label&&s.push(" ",e.call(n,"label")),s.push(o),vf(s);case"ContinueStatement":return s.push("continue"),i.label&&s.push(" ",e.call(n,"label")),s.push(o),vf(s);case"LabeledStatement":return"EmptyStatement"===i.body.type?vf([e.call(n,"label"),":;"]):vf([e.call(n,"label"),": ",e.call(n,"body")]);case"TryStatement":return vf(["try ",e.call(n,"block"),i.handler?vf([" ",e.call(n,"handler")]):"",i.finalizer?vf([" finally ",e.call(n,"finalizer")]):""]);case"CatchClause":if(i.param){const r=i.param.comments&&i.param.comments.some(e=>!Ku.isBlockComment(e)||e.leading&&of(t.originalText,t.locEnd(e))||e.trailing&&of(t.originalText,t.locStart(e),{backwards:!0})),o=e.call(n,"param");return vf(["catch ",vf(r?["(",Cf(vf([xf,o])),xf,") "]:["(",o,") "]),e.call(n,"body")])}return vf(["catch ",e.call(n,"body")]);case"ThrowStatement":return vf(["throw",xp(e,t,n)]);case"SwitchStatement":return vf([Df(vf(["switch (",Cf(vf([xf,e.call(n,"discriminant")])),xf,")"]))," {",i.cases.length>0?Cf(vf([wf,yf(wf,e.map(e=>{const r=e.getValue();return vf([e.call(n),i.cases.indexOf(r)!==i.cases.length-1&&mf(t.originalText,r,t.locEnd)?wf:""])},"cases"))])):"",wf,"}"]);case"SwitchCase":{i.test?s.push("case ",e.call(n,"test"),":"):s.push("default:");const r=i.consequent.filter(e=>"EmptyStatement"!==e.type);if(r.length>0){const i=e.call(e=>Kd(e,t,n),"consequent");s.push(1===r.length&&"BlockStatement"===r[0].type?vf([" ",i]):Cf(vf([wf,i])))}return vf(s)}case"DebuggerStatement":return vf(["debugger",o]);case"JSXAttribute":if(s.push(e.call(n,"name")),i.value){let r;if(kd(i.value)){let e=Nd(i.value).replace(/'/g,"'").replace(/"/g,'"');const n=pf(e,t.jsxSingleQuote?"'":'"'),o="'"===n?"'":""";e=e.slice(1,-1).replace(new RegExp(n,"g"),o),r=vf([n,e,n])}else r=e.call(n,"value");s.push("=",r)}return vf(s);case"JSXIdentifier":return""+i.name;case"JSXNamespacedName":return yf(":",[e.call(n,"namespace"),e.call(n,"name")]);case"JSXMemberExpression":return yf(".",[e.call(n,"object"),e.call(n,"property")]);case"TSQualifiedName":return yf(".",[e.call(n,"left"),e.call(n,"right")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return vf(["{",e.call(e=>{const r=vf(["...",n(e)]),i=e.getValue();return i.comments&&i.comments.length&&_p(e)?vf([Cf(vf([xf,ys.printComments(e,()=>r,t)])),xf]):r},"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]);case"JSXExpressionContainer":{const t=e.getParentNode(0),r=i.expression.comments&&i.expression.comments.length>0,o="JSXEmptyExpression"===i.expression.type||!r&&("ArrayExpression"===i.expression.type||"ObjectExpression"===i.expression.type||"ArrowFunctionExpression"===i.expression.type||"CallExpression"===i.expression.type||"OptionalCallExpression"===i.expression.type||"FunctionExpression"===i.expression.type||"TemplateLiteral"===i.expression.type||"TaggedTemplateExpression"===i.expression.type||"DoExpression"===i.expression.type||hd(t)&&("ConditionalExpression"===i.expression.type||rd(i.expression)));return Df(vf(o?["{",e.call(n,"expression"),Af,"}"]:["{",Cf(vf([xf,e.call(n,"expression")])),xf,Af,"}"]))}case"JSXFragment":case"JSXElement":{const r=ys.printComments(e,()=>function(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&od(r))return vf([e.call(n,"openingElement"),e.call(n,"closingElement")]);const i="JSXElement"===r.type?e.call(n,"openingElement"):e.call(n,"openingFragment"),o="JSXElement"===r.type?e.call(n,"closingElement"):e.call(n,"closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return vf([i,vf(e.map(n,"children")),o]);r.children=r.children.map(e=>fd(e)?{type:"JSXText",value:" ",raw:" "}:e);const a=r.children.filter(hd).length>0,s=r.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,u="JSXElement"===r.type&&r.openingElement.attributes.length>1;let l=Of(i)||a||u||s;const c="mdx"===e.getParentNode().rootMarker,h=t.singleQuote?"{' '}":'{" "}',f=c?vf([" "]):Mf(vf([h,xf])," "),d=r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name,p=function(e,t,n,r,i){const o=e.getValue(),a=[];return e.map((e,t)=>{const s=e.getValue();if(pd(s)){const e=Nd(s);if(md(s)){const n=e.split(jd);if(""===n[0]){if(a.push(""),n.shift(),/\n/.test(n[0])){const e=o.children[t+1];a.push(hp(i,n[1],s,e))}else a.push(r);n.shift()}let u;if(""===sf(n)&&(n.pop(),u=n.pop()),0===n.length)return;if(n.forEach((e,t)=>{t%2==1?a.push(bf):a.push(e)}),void 0!==u)if(/\n/.test(u)){const e=o.children[t+1];a.push(hp(i,sf(a),s,e))}else a.push(r);else{const e=o.children[t+1];a.push(cp(i,sf(a),s,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&(a.push(""),a.push(wf)):(a.push(""),a.push(r))}else{const r=n(e);a.push(r);const u=o.children[t+1];if(u&&md(u)){const e=Nd(u).trim().split(jd)[0];a.push(cp(i,e,s,u))}else a.push(wf)}},"children"),a}(e,0,n,f,d),m=r.children.some(e=>md(e));for(let b=p.length-2;b>=0;b--){const e=""===p[b]&&""===p[b+1],t=p[b]===wf&&""===p[b+1]&&p[b+2]===wf,n=(p[b]===xf||p[b]===wf)&&""===p[b+1]&&p[b+2]===f,r=p[b]===f&&""===p[b+1]&&(p[b+2]===xf||p[b+2]===wf),i=p[b]===f&&""===p[b+1]&&p[b+2]===f,o=p[b]===xf&&""===p[b+1]&&p[b+2]===wf||p[b]===wf&&""===p[b+1]&&p[b+2]===xf;t&&m||e||n||i||o?p.splice(b,2):r&&p.splice(b+1,2)}for(;p.length&&(jf(sf(p))||Ff(sf(p)));)p.pop();for(;p.length&&(jf(p[0])||Ff(p[0]))&&(jf(p[1])||Ff(p[1]));)p.shift(),p.shift();const g=[];p.forEach((e,t)=>{if(e===f){if(1===t&&""===p[t-1])return 2===p.length?void g.push(h):void g.push(vf([h,wf]));if(t===p.length-1)return void g.push(h);if(""===p[t-1]&&p[t-2]===wf)return void g.push(h)}g.push(e),Of(e)&&(l=!0)});const v=m?Ef(g):Df(vf(g),{shouldBreak:!0});if(c)return v;const y=Df(vf([i,Cf(vf([wf,v])),wf,o]));return l?y:Sf([Df(vf([i,vf(p),o])),y])}(e,t,n),t);return function(e,t,n){const r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const i=e.match(void 0,e=>"ArrowFunctionExpression"===e.type,id,e=>"JSXExpressionContainer"===e.type),o=Oc(e,n);return Df(vf([o?"":Mf("("),Cf(vf([xf,t])),xf,o?"":Mf(")")]),{shouldBreak:i})}(e,r,t)}case"JSXOpeningElement":{const r=e.getValue(),i=r.name&&r.name.comments&&r.name.comments.length>0||r.typeParameters&&r.typeParameters.comments&&r.typeParameters.comments.length>0;if(r.selfClosing&&!r.attributes.length&&!i)return vf(["<",e.call(n,"name"),e.call(n,"typeParameters")," />"]);if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&kd(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!i&&(!r.attributes[0].comments||!r.attributes[0].comments.length))return Df(vf(["<",e.call(n,"name"),e.call(n,"typeParameters")," ",vf(e.map(n,"attributes")),r.selfClosing?" />":">"]));const o=r.attributes.length&&ed(sf(r.attributes)),a=!r.attributes.length&&!i||t.jsxBracketSameLine&&(!i||r.attributes.length)&&!o,s=r.attributes&&r.attributes.some(e=>e.value&&kd(e.value)&&e.value.value.includes("\n"));return Df(vf(["<",e.call(n,"name"),e.call(n,"typeParameters"),vf([Cf(vf(e.map(e=>vf([bf,n(e)]),"attributes"))),r.selfClosing?bf:a?">":xf]),r.selfClosing?"/>":a?"":">"]),{shouldBreak:s})}case"JSXClosingElement":return vf([""]);case"JSXOpeningFragment":case"JSXClosingFragment":{const n=i.comments&&i.comments.length,r=n&&!i.comments.every(Ku.isBlockComment),o="JSXOpeningFragment"===i.type;return vf([o?"<":""])}case"JSXText":throw new Error("JSXTest should be handled by JSXElement");case"JSXEmptyExpression":{const n=i.comments&&!i.comments.every(Ku.isBlockComment);return vf([ys.printDanglingComments(e,t,!n),n?wf:""])}case"ClassBody":return i.comments||0!==i.body.length?vf(["{",i.body.length>0?Cf(vf([wf,e.call(e=>Kd(e,t,n),"body")])):ys.printDanglingComments(e,t),wf,"}"]):"{}";case"ClassProperty":case"TSAbstractClassProperty":case"ClassPrivateProperty":{i.decorators&&0!==i.decorators.length&&s.push(Gd(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractClassProperty"===i.type||i.abstract)&&s.push("abstract "),i.readonly&&s.push("readonly ");const r=zf(i);return r&&s.push(r),s.push(Xd(e,t,n),Rd(e),Zd(e,t,n)),i.value&&s.push(" =",dp(i.key,i.value,e.call(n,"value"),t)),s.push(o),Df(vf(s))}case"ClassDeclaration":case"ClassExpression":return i.declare&&s.push("declare "),s.push(vf(lp(e,t,n))),vf(s);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return s.push(e.call(n,"expression")),i.typeParameters&&s.push(e.call(n,"typeParameters")),vf(s);case"TemplateElement":return yf(_f,i.value.raw.split(/\r?\n/g));case"TemplateLiteral":{const r=e.getParentNode();if(cd(i,r)){const r=function(e,t,n){const r=e.getNode(),i=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(i.length>1||i.some(e=>0!==e.length)){t.__inJestEach=!0;const o=e.map(n,"expressions");t.__inJestEach=!1;const a=[],s=o.map(e=>"${"+Pf(e,Object.assign({},t,{printWidth:1/0,endOfLine:"lf"})).formatted+"}"),u=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length)),c=Array.from({length:l}).fill(0),h=[{cells:i},...u.filter(e=>0!==e.cells.length)];for(const{cells:e}of h.filter(e=>!e.hasLineBreak))e.forEach((e,t)=>{c[t]=Math.max(c[t],uf(e))});return a.push(Af,"`",Cf(vf([wf,yf(wf,h.map(e=>yf(" | ",e.cells.map((t,n)=>e.hasLineBreak?t:t+" ".repeat(c[n]-uf(t))))))])),wf,"`"),vf(a)}}(e,t,n);if(r)return r}let o=e.map(n,"expressions");const a=Cd(i);return a&&(o=o.map(e=>Pf(e,Object.assign({},t,{printWidth:1/0})).formatted)),s.push(Af,"`"),e.each(e=>{const r=e.getName();if(s.push(n(e)),r0&&"TSRestType"===sf(i[r]).type;return Df(vf(["[",Cf(vf([xf,wp(e,t,r,n)])),Mf(Pd(t,"all")&&!o?",":""),ys.printDanglingComments(e,t,!0),xf,"]"]))}case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"AnyTypeAnnotation":return"any";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return vf([e.call(n,"elementType"),"[]"]);case"BooleanTypeAnnotation":return"boolean";case"BooleanLiteralTypeAnnotation":return""+i.value;case"DeclareClass":return ip(e,lp(e,t,n));case"TSDeclareFunction":return vf([i.declare?"declare ":"",tp(e,n,t),o]);case"DeclareFunction":return ip(e,["function ",e.call(n,"id"),i.predicate?" ":"",e.call(n,"predicate"),o]);case"DeclareModule":return ip(e,["module ",e.call(n,"id")," ",e.call(n,"body")]);case"DeclareModuleExports":return ip(e,["module.exports",": ",e.call(n,"typeAnnotation"),o]);case"DeclareVariable":return ip(e,["var ",e.call(n,"id"),o]);case"DeclareExportAllDeclaration":return vf(["declare export *",Ud(e,t,n)]);case"DeclareOpaqueType":case"OpaqueType":return s.push("opaque type ",e.call(n,"id"),e.call(n,"typeParameters")),i.supertype&&s.push(": ",e.call(n,"supertype")),i.impltype&&s.push(" = ",e.call(n,"impltype")),s.push(o),"DeclareOpaqueType"===i.type?ip(e,s):vf(s);case"EnumDeclaration":return vf(["enum ",e.call(n,"id")," ",e.call(n,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===i.type||i.explicitType){let e=null;switch(i.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}s.push("of ",e," ")}return 0===i.members.length?s.push(Df(vf(["{",ys.printDanglingComments(e,t),xf,"}"]))):s.push(Df(vf(["{",Cf(vf([wf,wp(e,t,"members",n),Pd(t)?",":""])),ys.printDanglingComments(e,t,!0),wf,"}"]))),vf(s);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return vf([e.call(n,"id")," = ","object"==typeof i.init?e.call(n,"init"):String(i.init)]);case"EnumDefaultedMember":return e.call(n,"id");case"FunctionTypeAnnotation":case"TSFunctionType":{const r=e.getParentNode(0),o=e.getParentNode(1),a=e.getParentNode(2);let u="TSFunctionType"===i.type||!(("ObjectTypeProperty"===r.type||"ObjectTypeInternalSlot"===r.type)&&!zf(r)&&!r.optional&&t.locStart(r)===t.locStart(i)||"ObjectTypeCallProperty"===r.type||a&&"DeclareFunction"===a.type),l=u&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type);const c=l&&u&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type)&&"ArrowFunctionExpression"===o.type;return xd(r,t)&&(u=!0,l=!0),c&&s.push("("),s.push(Qd(e,n,t,!1,!0)),(i.returnType||i.predicate||i.typeAnnotation)&&s.push(u?" => ":": ",e.call(n,"returnType"),e.call(n,"predicate"),e.call(n,"typeAnnotation")),c&&s.push(")"),Df(vf(s))}case"TSRestType":return vf(["...",e.call(n,"typeAnnotation")]);case"TSOptionalType":return vf([e.call(n,"typeAnnotation"),"?"]);case"FunctionTypeParam":return vf([e.call(n,"name"),Rd(e),i.name?": ":"",e.call(n,"typeAnnotation")]);case"GenericTypeAnnotation":return vf([e.call(n,"id"),e.call(n,"typeParameters")]);case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"TSInterfaceDeclaration":{("DeclareInterface"===i.type||i.declare)&&s.push("declare "),"TSInterfaceDeclaration"===i.type&&s.push(i.abstract?"abstract ":"",op(e,t,n)),s.push("interface");const r=[],o=[];"InterfaceTypeAnnotation"!==i.type&&r.push(" ",e.call(n,"id"),e.call(n,"typeParameters"));const a=i.typeParameters&&!td(i.typeParameters);if(i.extends&&0!==i.extends.length&&o.push(a?Mf(" ",bf,{groupId:sp(i.typeParameters)}):bf,"extends ",(1===i.extends.length?nd:Cf)(yf(vf([",",bf]),e.map(n,"extends")))),i.id&&ed(i.id)||i.extends&&0!==i.extends.length){const e=vf(o);a?s.push(Df(vf(r.concat(Mf(Cf(e),e))))):s.push(Df(Cf(vf(r.concat(e)))))}else s.push(...r,...o);return s.push(" ",e.call(n,"body")),Df(vf(s))}case"ClassImplements":case"InterfaceExtends":return vf([e.call(n,"id"),e.call(n,"typeParameters")]);case"TSClassImplements":return vf([e.call(n,"expression"),e.call(n,"typeParameters")]);case"TSIntersectionType":case"IntersectionTypeAnnotation":{const t=e.map(n,"types"),r=[];let o=!1;for(let e=0;e1&&(o=!0),r.push(" & ",e>1?Cf(t[e]):t[e])):r.push(Cf(vf([" &",bf,t[e]])));return Df(vf(r))}case"TSUnionType":case"UnionTypeAnnotation":{const r=e.getParentNode(),o=!("TypeParameterInstantiation"===r.type||"TSTypeParameterInstantiation"===r.type||"GenericTypeAnnotation"===r.type||"TSTypeReference"===r.type||"TSTypeAssertion"===r.type||"TupleTypeAnnotation"===r.type||"TSTupleType"===r.type||"FunctionTypeParam"===r.type&&!r.name||("TypeAlias"===r.type||"VariableDeclarator"===r.type||"TSTypeAliasDeclaration"===r.type)&&Xf(t.originalText,i,t)),a=yp(i),s=e.map(e=>{let r=e.call(n);return a||(r=kf(2,r)),ys.printComments(e,()=>r,t)},"types");if(a)return yf(" | ",s);const u=o&&!Xf(t.originalText,i,t),l=vf([Mf(vf([u?bf:"","| "])),yf(vf([bf,"| "]),s)]);return Oc(e,t)?Df(vf([Cf(l),xf])):"TupleTypeAnnotation"===r.type&&r.types.length>1||"TSTupleType"===r.type&&r.elementTypes.length>1?Df(vf([Cf(vf([Mf(vf(["(",xf])),l])),xf,Mf(")")])):Df(o?Cf(l):l)}case"NullableTypeAnnotation":return vf(["?",e.call(n,"typeAnnotation")]);case"TSNullKeyword":case"NullLiteralTypeAnnotation":return"null";case"ThisTypeAnnotation":return"this";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"ObjectTypeCallProperty":return i.static&&s.push("static "),s.push(e.call(n,"value")),vf(s);case"ObjectTypeIndexer":{const t=zf(i);return vf([t||"","[",e.call(n,"id"),i.id?": ":"",e.call(n,"key"),"]: ",e.call(n,"value")])}case"ObjectTypeProperty":{const r=zf(i);let o="";return i.proto?o="proto ":i.static&&(o="static "),vf([o,ld(i)?i.kind+" ":"",r||"",Xd(e,t,n),Rd(e),ud(i,t)?"":": ",e.call(n,"value")])}case"QualifiedTypeIdentifier":return vf([e.call(n,"qualification"),".",e.call(n,"id")]);case"StringLiteralTypeAnnotation":return gp(i,t);case"NumberLiteralTypeAnnotation":return Ya.strictEqual(typeof i.value,"number"),null!=i.extra?cf(i.extra.raw):cf(i.raw);case"StringTypeAnnotation":return"string";case"DeclareTypeAlias":case"TypeAlias":{("DeclareTypeAlias"===i.type||i.declare)&&s.push("declare ");const r=dp(i.id,i.right,e.call(n,"right"),t);return s.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,o),Df(vf(s))}case"TypeCastExpression":return vf(["(",e.call(n,"expression"),Zd(e,t,n),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const r=e.getValue(),i=t.originalText.slice(0,t.locStart(r)).lastIndexOf("/*");return i>=0&&t.originalText.slice(i).match(/^\/\*\s*::/)?vf(["/*:: ",up(e,t,n,"params")," */"]):up(e,t,n,"params")}case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return up(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":{const r=e.getParentNode();if("TSMappedType"===r.type)return s.push("[",e.call(n,"name")),i.constraint&&s.push(" in ",e.call(n,"constraint")),s.push("]"),vf(s);const o=zf(i);o&&s.push(o),s.push(e.call(n,"name")),i.bound&&(s.push(": "),s.push(e.call(n,"bound"))),i.constraint&&s.push(" extends ",e.call(n,"constraint")),i.default&&s.push(" = ",e.call(n,"default"));const a=e.getNode(2);return r.params&&1===r.params.length&&Td(t)&&!i.constraint&&"ArrowFunctionExpression"===a.type&&s.push(","),vf(s)}case"TypeofTypeAnnotation":return vf(["typeof ",e.call(n,"argument")]);case"VoidTypeAnnotation":return"void";case"InferredPredicate":return"%checks";case"DeclaredPredicate":return vf(["%checks(",e.call(n,"value"),")"]);case"TSAbstractKeyword":return"abstract";case"TSAnyKeyword":return"any";case"TSAsyncKeyword":return"async";case"TSBooleanKeyword":return"boolean";case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSNumberKeyword":return"number";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSSymbolKeyword":return"symbol";case"TSStaticKeyword":return"static";case"TSStringKeyword":return"string";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSVoidKeyword":return"void";case"TSAsExpression":return vf([e.call(n,"expression")," as ",e.call(n,"typeAnnotation")]);case"TSArrayType":return vf([e.call(n,"elementType"),"[]"]);case"TSPropertySignature":return i.export&&s.push("export "),i.accessibility&&s.push(i.accessibility+" "),i.static&&s.push("static "),i.readonly&&s.push("readonly "),s.push(Xd(e,t,n),Rd(e)),i.typeAnnotation&&(s.push(": "),s.push(e.call(n,"typeAnnotation"))),i.initializer&&s.push(" = ",e.call(n,"initializer")),vf(s);case"TSParameterProperty":return i.accessibility&&s.push(i.accessibility+" "),i.export&&s.push("export "),i.static&&s.push("static "),i.readonly&&s.push("readonly "),s.push(e.call(n,"parameter")),vf(s);case"TSTypeReference":return vf([e.call(n,"typeName"),up(e,t,n,"typeParameters")]);case"TSTypeQuery":return vf(["typeof ",e.call(n,"exprName")]);case"TSIndexSignature":{const r=e.getParentNode(),a=i.parameters.length>1?Mf(Pd(t)?",":""):"",s=Df(vf([Cf(vf([xf,yf(vf([", ",xf]),e.map(n,"parameters"))])),a,xf]));return vf([i.export?"export ":"",i.accessibility?vf([i.accessibility," "]):"",i.static?"static ":"",i.readonly?"readonly ":"","[",i.parameters?s:"",i.typeAnnotation?"]: ":"]",i.typeAnnotation?e.call(n,"typeAnnotation"):"","ClassBody"===r.type?o:""])}case"TSTypePredicate":return vf([i.asserts?"asserts ":"",e.call(n,"parameterName"),i.typeAnnotation?vf([" is ",e.call(n,"typeAnnotation")]):""]);case"TSNonNullExpression":return vf([e.call(n,"expression"),"!"]);case"TSThisType":return"this";case"TSImportType":return vf([i.isTypeOf?"typeof ":"","import(",e.call(n,i.parameter?"parameter":"argument"),")",i.qualifier?vf([".",e.call(n,"qualifier")]):"",up(e,t,n,"typeParameters")]);case"TSLiteralType":return e.call(n,"literal");case"TSIndexedAccessType":return vf([e.call(n,"objectType"),"[",e.call(n,"indexType"),"]"]);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSCallSignatureDeclaration"!==i.type&&s.push("new "),s.push(Df(Qd(e,n,t,!1,!0))),i.returnType||i.typeAnnotation){const t="TSConstructorType"===i.type;s.push(t?" => ":": ",e.call(n,"returnType"),e.call(n,"typeAnnotation"))}return vf(s);case"TSTypeOperator":return vf([i.operator," ",e.call(n,"typeAnnotation")]);case"TSMappedType":{const r=af(t.originalText,t.locStart(i),t.locEnd(i));return Df(vf(["{",Cf(vf([t.bracketSpacing?bf:xf,i.readonly?vf([Hf(i.readonly,"readonly")," "]):"",op(e,t,n),e.call(n,"typeParameter"),i.optional?Hf(i.optional,"?"):"",i.typeAnnotation?": ":"",e.call(n,"typeAnnotation"),Mf(o,"")])),ys.printDanglingComments(e,t,!0),t.bracketSpacing?bf:xf,"}"]),{shouldBreak:r})}case"TSMethodSignature":return s.push(i.accessibility?vf([i.accessibility," "]):"",i.export?"export ":"",i.static?"static ":"",i.readonly?"readonly ":"",i.computed?"[":"",e.call(n,"key"),i.computed?"]":"",Rd(e),Qd(e,n,t,!1,!0)),(i.returnType||i.typeAnnotation)&&s.push(": ",e.call(n,"returnType"),e.call(n,"typeAnnotation")),Df(vf(s));case"TSNamespaceExportDeclaration":return s.push("export as namespace ",e.call(n,"id")),t.semi&&s.push(";"),Df(vf(s));case"TSEnumDeclaration":return i.declare&&s.push("declare "),i.modifiers&&s.push(op(e,t,n)),i.const&&s.push("const "),s.push("enum ",e.call(n,"id")," "),0===i.members.length?s.push(Df(vf(["{",ys.printDanglingComments(e,t),xf,"}"]))):s.push(Df(vf(["{",Cf(vf([wf,wp(e,t,"members",n),Pd(t,"es5")?",":""])),ys.printDanglingComments(e,t,!0),wf,"}"]))),vf(s);case"TSEnumMember":return s.push(e.call(n,"id")),i.initializer&&s.push(" = ",e.call(n,"initializer")),vf(s);case"TSImportEqualsDeclaration":return i.isExport&&s.push("export "),s.push("import ",e.call(n,"id")," = ",e.call(n,"moduleReference")),t.semi&&s.push(";"),Df(vf(s));case"TSExternalModuleReference":return vf(["require(",e.call(n,"expression"),")"]);case"TSModuleDeclaration":{const r=e.getParentNode(),a=pd(i.id),u="TSModuleDeclaration"===r.type,l=i.body&&"TSModuleDeclaration"===i.body.type;if(u)s.push(".");else{i.declare&&s.push("declare "),s.push(op(e,t,n));const r=t.originalText.slice(t.locStart(i),t.locStart(i.id));"Identifier"===i.id.type&&"global"===i.id.name&&!/namespace|module/.test(r)||s.push(a||/(^|\s)module(\s|$)/.test(r)?"module ":"namespace ")}return s.push(e.call(n,"id")),l?s.push(e.call(n,"body")):i.body?s.push(" ",Df(e.call(n,"body"))):s.push(o),vf(s)}case"PrivateName":return vf(["#",e.call(n,"id")]);case"TSPrivateIdentifier":return i.escapedText;case"TSConditionalType":return nf(e,t,n,{beforeParts:()=>[e.call(n,"checkType")," ","extends"," ",e.call(n,"extendsType")],afterParts:()=>[],shouldCheckJsx:!1,conditionalNodeType:"TSConditionalType",consequentNodePropertyName:"trueType",alternateNodePropertyName:"falseType",testNodePropertyNames:["checkType","extendsType"]});case"TSInferType":return vf(["infer"," ",e.call(n,"typeParameter")]);case"InterpreterDirective":return s.push("#!",i.value,wf),mf(t.originalText,i,t.locEnd)&&s.push(wf),vf(s);case"NGRoot":return vf([].concat(e.call(n,"node"),i.node.comments&&0!==i.node.comments.length?vf([" //",i.node.comments[0].value.trimEnd()]):[]));case"NGChainedExpression":return Df(yf(vf([";",bf]),e.map(e=>Zf(e)?n(e):vf(["(",n(e),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return vf([i.prefix,": ",i.value.trim()]);case"NGMicrosyntax":return vf(e.map((e,t)=>vf([0===t?"":yd(e.getValue(),t,i)?" ":vf([";",bf]),n(e)]),"body"));case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(i.name)?i.name:JSON.stringify(i.name);case"NGMicrosyntaxExpression":return vf([e.call(n,"expression"),null===i.alias?"":vf([" as ",e.call(n,"alias")])]);case"NGMicrosyntaxKeyedExpression":{const t=e.getName(),r=e.getParentNode(),o=yd(i,t,r)||(1===t&&("then"===i.key.name||"else"===i.key.name)||2===t&&"else"===i.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return vf([e.call(n,"key"),o?" ":": ",e.call(n,"expression")])}case"NGMicrosyntaxLet":return vf(["let ",e.call(n,"key"),null===i.value?"":vf([" = ",e.call(n,"value")])]);case"NGMicrosyntaxAs":return vf([e.call(n,"key")," as ",e.call(n,"alias")]);case"PipelineBareFunction":return e.call(n,"callee");case"PipelineTopicExpression":return e.call(n,"expression");case"PipelinePrimaryTopicReference":return s.push("#"),vf(s);case"ArgumentPlaceholder":return"?";case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return vf(["?",e.call(n,"typeAnnotation")]);case"TSJSDocNonNullableType":return vf(["!",e.call(n,"typeAnnotation")]);case"TSJSDocFunctionType":return vf(["function(","): ",e.call(n,"typeAnnotation")]);default:throw new Error("unknown type: "+JSON.stringify(i.type))}}(e,t,n,r);if(!i||Ff(a))return a;const s=Vf(e),u=[];if("ClassMethod"===i.type||"ClassPrivateMethod"===i.type||"ClassProperty"===i.type||"TSAbstractClassProperty"===i.type||"ClassPrivateProperty"===i.type||"MethodDefinition"===i.type||"TSAbstractMethodDefinition"===i.type||"TSDeclareMethod"===i.type);else if(i.decorators&&i.decorators.length>0&&!(s&&t.locStart(s,{ignoreDecorators:!0})>t.locStart(i.decorators[0]))){const r="ClassExpression"===i.type||"ClassDeclaration"===i.type||Jf(i,t)?wf:bf;e.each(e=>{let t=e.getValue();t=t.expression?t.expression:t.callee,u.push(n(e),r)},"decorators"),s&&u.unshift(wf)}else ad(i)&&i.declaration&&i.declaration.decorators&&i.declaration.decorators.length>0&&t.locStart(i,{ignoreDecorators:!0})>t.locStart(i.declaration.decorators[0])?e.each(e=>{const t="Decorator"===e.getValue().type?"":"@";u.push(t,n(e),wf)},"declaration","decorators"):o=Oc(e,t);const l=[];if(o&&l.unshift("("),l.push(a),o){const t=e.getValue();Kf(t)&&(l.push(" /*"),l.push(t.trailingComments[0].value.trimStart()),l.push("*/"),t.trailingComments[0].printed=!0),l.push(")")}return u.length>0?Df(vf(u.concat(l))):vf(l)},embed:wl,insertPragma:Bf,massageAstNode:xl,hasPrettierIgnore:Qf,willPrintOwnComments:_p,canAttachComment:function(e){return e.type&&"CommentBlock"!==e.type&&"CommentLine"!==e.type&&"Line"!==e.type&&"Block"!==e.type&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type},printComment:function(e,t){const n=e.getValue();switch(n.type){case"CommentBlock":case"Block":{if(function(e){const t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every(e=>"*"===e.trim()[0])}(n)){const e=function(e){const t=e.value.split("\n");return vf(["/*",yf(wf,t.map((e,n)=>0===n?e.trimEnd():" "+(n x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:Ap.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:"JavaScript",type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:"JavaScript",type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Ap.singleQuote,jsxSingleQuote:{since:"1.15.0",category:"JavaScript",type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:"JavaScript",type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:"JavaScript",type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},Op=["js","node"],jp=[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],Fp=["Jakefile"],Np=["chakra","d8","gjs","js","node","qjs","rhino","v8","v8-shell"],Ip={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:Op,extensions:jp,filenames:Fp,interpreters:Np,languageId:183},Pp=Object.freeze({__proto__:null,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:Op,extensions:jp,filenames:Fp,interpreters:Np,languageId:183,default:Ip}),Bp=[".jsx"],Lp={name:"JSX",type:"programming",group:"JavaScript",extensions:Bp,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178},Rp=Object.freeze({__proto__:null,name:"JSX",type:"programming",group:"JavaScript",extensions:Bp,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178,default:Lp}),qp=["ts"],$p=["deno","ts-node"],zp=[".ts"],Up={name:"TypeScript",type:"programming",color:"#2b7489",aliases:qp,interpreters:$p,extensions:zp,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},Vp=Object.freeze({__proto__:null,name:"TypeScript",type:"programming",color:"#2b7489",aliases:qp,interpreters:$p,extensions:zp,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378,default:Up}),Hp=[".tsx"],Wp={name:"TSX",type:"programming",group:"TypeScript",extensions:Hp,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},Gp=Object.freeze({__proto__:null,name:"TSX",type:"programming",group:"TypeScript",extensions:Hp,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924,default:Wp}),Kp=[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],Xp=[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","composer.lock","mcmod.info"],Yp={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:Kp,filenames:Xp,languageId:174},Jp=Object.freeze({__proto__:null,name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:Kp,filenames:Xp,languageId:174,default:Yp}),Zp=["jsonc"],Qp=[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],em=[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","jsconfig.json","language-configuration.json","tsconfig.json"],tm={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:Zp,extensions:Qp,filenames:em,languageId:423},nm=Object.freeze({__proto__:null,name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:Zp,extensions:Qp,filenames:em,languageId:423,default:tm}),rm=[".json5"],im={name:"JSON5",type:"data",extensions:rm,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},om=Object.freeze({__proto__:null,name:"JSON5",type:"data",extensions:rm,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175,default:im}),am=He(Pp),sm=He(Rp),um=He(Vp),lm=He(Gp),cm=He(Jp),hm=He(nm),fm=He(om),dm={languages:[Du(am,e=>({since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript","mongo"],interpreters:e.interpreters.concat(["nodejs"])})),Du(am,()=>({name:"Flow",since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),Du(sm,()=>({since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascriptreact"]})),Du(um,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),Du(lm,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),Du(cm,()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})),Du(cm,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],filenames:e.filenames.concat([".prettierrc"])})),Du(hm,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:e.filenames.concat([".eslintrc"])})),Du(fm,()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],options:Tp,printers:{estree:Dp,"estree-json":Mp},parsers:{get babel(){return{}.parsers.babel},get"babel-flow"(){return{}.parsers["babel-flow"]},get"babel-ts"(){return{}.parsers["babel-ts"]},get json(){return{}.parsers.json},get json5(){return{}.parsers.json5},get"json-stringify"(){return{}.parsers["json-stringify"]},get __js_expression(){return{}.parsers.__js_expression},get __vue_expression(){return{}.parsers.__vue_expression},get __vue_event_binding(){return{}.parsers.__vue_event_binding},get flow(){return{}.parsers.flow},get typescript(){return{}.parsers.typescript},get __ng_action(){return{}.parsers.__ng_action},get __ng_binding(){return{}.parsers.__ng_binding},get __ng_interpolation(){return{}.parsers.__ng_interpolation},get __ng_directive(){return{}.parsers.__ng_directive}}};const{isFrontMatterNode:pm}=Rt;var mm=function(e,t,n){if(["raw","raws","sourceIndex","source","before","after","trailingComma"].forEach(e=>{delete t[e]}),pm(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&0!==n.nodes.length){if((n.nodes[0]===e||pm(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&me(n.nodes)===e)return null}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(e,t,n)=>{const r=Number(t);return isNaN(r)?e:r+n.toLowerCase()})),"selector-tag"===e.type){const n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value};const{builders:{hardline:gm,concat:vm,markAsRoot:ym}}=dn,bm={"---":"yaml","+++":"toml"};var wm={parse:function(e){const t=Object.keys(bm).map(pe).join("|"),n=e.match(new RegExp("^(".concat(t,")([^\\n]*)\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===n)return{frontMatter:null,content:e};const[r,i,o,a]=n;let s=bm[i];return"toml"!==s&&o&&o.trim()&&(s=o.trim()),{frontMatter:{type:"front-matter",lang:s,value:a,raw:r.replace(/\n$/,"")},content:r.replace(/[^\n]/g," ")+e.slice(r.length)}},print:function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return ym(vm(["---",gm,r,r?gm:"","---"]))}}};const{builders:{hardline:xm,concat:_m}}=dn,{print:Dm}=wm;var Cm=function(e,t,n){const r=e.getValue();if("front-matter"===r.type){const e=Dm(r,n);return e?_m([e,xm]):""}};const{parse:km}=wm;var Sm={hasPragma:function(e){return jl.hasPragma(km(e).content)},insertPragma:function(e){const{frontMatter:t,content:n}=km(e);return(t?t.raw+"\n\n":"")+jl.insertPragma(n)}};const Em=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function Mm(e,t){const n=[].concat(t);let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function Am(e,t){const n=Mm(e,t);return-1===n?null:e.getParentNode(n)}function Tm(e){return"value-operator"===e.type&&"*"===e.value}function Om(e){return"value-operator"===e.type&&"/"===e.value}function jm(e){return"value-operator"===e.type&&"+"===e.value}function Fm(e){return"value-operator"===e.type&&"-"===e.value}function Nm(e){return"value-operator"===e.type&&"%"===e.value}function Im(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function Pm(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&Im(e.groups[0])}var Bm={getAncestorCounter:Mm,getAncestorNode:Am,getPropOfDeclNode:function(e){const t=Am(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(e&&e.length)for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1},hasStringOrFunction:function(e){if(e&&e.length)for(let t=0;t","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:Tm,isDivisionNode:Om,isAdditionNode:jm,isSubtractionNode:Fm,isModuloNode:Nm,isMathOperatorNode:function(e){return Tm(e)||Om(e)||jm(e)||Fm(e)||Nm(e)},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function(e){return e.raws&&""===e.raws.before},isSCSSNestedPropertyNode:function(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},isDetachedRulesetCallNode:function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},isKeyValuePairNode:Im,isKeyValuePairInParenGroupNode:Pm,isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(Pm(t)||n&&Pm(n)))return!1;const r=Am(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!Pm(n)||"value-func"===n.type},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:function(e){return"value-colon"===e.type},isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&Em.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function e(t){if(t.groups)return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce((n,r,i)=>n+e(r)+("comma_group"===t.groups[0].type&&i!==t.groups.length-1?",":""),"")+(t.close&&t.close.value?t.close.value:"");const n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")}};const{printNumber:Lm,printString:Rm,hasIgnoreComment:qm,hasNewline:$m,isFrontMatterNode:zm,isNextLineEmpty:Um}=Rt,{builders:{concat:Vm,join:Hm,line:Wm,hardline:Gm,softline:Km,group:Xm,fill:Ym,indent:Jm,dedent:Zm,ifBreak:Qm,breakParent:eg},utils:{removeLines:tg}}=dn,{insertPragma:ng}=Sm,{getAncestorNode:rg,getPropOfDeclNode:ig,maybeToLowerCase:og,insideValueFunctionNode:ag,insideICSSRuleNode:sg,insideAtRuleNode:ug,insideURLFunctionInImportAtRuleNode:lg,isKeyframeAtRuleKeywords:cg,isWideKeywords:hg,isSCSS:fg,isLastNode:dg,isLessParser:pg,isSCSSControlDirectiveNode:mg,isDetachedRulesetDeclarationNode:gg,isRelationalOperatorNode:vg,isEqualityOperatorNode:yg,isMultiplicationNode:bg,isDivisionNode:wg,isAdditionNode:xg,isSubtractionNode:_g,isMathOperatorNode:Dg,isEachKeywordNode:Cg,isForKeywordNode:kg,isURLFunctionNode:Sg,isIfElseKeywordNode:Eg,hasComposesNode:Mg,hasParensAroundNode:Ag,hasEmptyRawBefore:Tg,isKeyValuePairNode:Og,isDetachedRulesetCallNode:jg,isTemplatePlaceholderNode:Fg,isTemplatePropNode:Ng,isPostcssSimpleVarNode:Ig,isSCSSMapItemNode:Pg,isInlineValueCommentNode:Bg,isHashNode:Lg,isLeftCurlyBraceNode:Rg,isRightCurlyBraceNode:qg,isWordNode:$g,isColonNode:zg,isMediaAndSupportsKeywords:Ug,isColorAdjusterFuncNode:Vg,lastLineHasInlineComment:Hg}=Bm;function Wg(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function Gg(e,t,n){const r=e.getValue(),i=[];let o=0;return e.map(e=>{const a=r.nodes[o-1];if(a&&"css-comment"===a.type&&"prettier-ignore"===a.text.trim()){const n=e.getValue();i.push(t.originalText.slice(t.locStart(n),t.locEnd(n)))}else i.push(e.call(n));o!==r.nodes.length-1&&("css-comment"===r.nodes[o+1].type&&!$m(t.originalText,t.locStart(r.nodes[o+1]),{backwards:!0})&&!zm(r.nodes[o])||"css-atrule"===r.nodes[o+1].type&&"else"===r.nodes[o+1].name&&"css-comment"!==r.nodes[o].type?i.push(" "):(i.push(t.__isHTMLStyleAttribute?Wm:Gm),Um(t.originalText,e.getValue(),t.locEnd)&&!zm(r.nodes[o])&&i.push(Gm))),o++},"nodes"),Vm(i)}const Kg=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,Xg=new RegExp(Kg.source+"|"+"(".concat(/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source,")")+"(".concat(/[A-Za-z]+/g.source,")?"),"g");function Yg(e,t){return e.replace(Kg,e=>Rm(e,t))}function Jg(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function Zg(e){return e.replace(Xg,(e,t,n,r,i)=>!n&&r?Qg(r)+og(i||""):e)}function Qg(e){return Lm(e).replace(/\.0(?=$|e)/,"")}var ev={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.type){case"front-matter":return Vm([r.raw,Gm]);case"css-root":{const i=Gg(e,t,n),o=r.raws.after.trim();return Vm([i,o?" ".concat(o):"",i.parts.length&&!t.__isHTMLStyleAttribute?Gm:""])}case"css-comment":{const e=r.inline||r.raws.inline,n=t.originalText.slice(t.locStart(r),t.locEnd(r));return e?n.trimEnd():n}case"css-rule":return Vm([e.call(n,"selector"),r.important?" !important":"",r.nodes?Vm([r.selector&&"selector-unknown"===r.selector.type&&Hg(r.selector.value)?Wm:" ","{",r.nodes.length>0?Jm(Vm([Gm,Gg(e,t,n)])):"",Gm,"}",gg(r)?";":""]):";"]);case"css-decl":{const i=e.getParentNode(),{between:o}=r.raws,a=o.trim(),s=":"===a;let u=Mg(r)?tg(e.call(n,"value")):e.call(n,"value");return!s&&Hg(a)&&(u=Jm(Vm([Gm,Zm(u)]))),Vm([r.raws.before.replace(/[\s;]/g,""),sg(e)?r.prop:og(r.prop),a.startsWith("//")?" ":"",a,r.extend?"":" ",pg(t)&&r.extend&&r.selector?Vm(["extend(",e.call(n,"selector"),")"]):"",u,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?Vm([" {",Jm(Vm([Km,Gg(e,t,n)])),Km,"}"]):Ng(r)&&!i.raws.semicolon&&";"!==t.originalText[t.locEnd(r)-1]?"":t.__isHTMLStyleAttribute&&dg(e,r)?Qm(";",""):";"])}case"css-atrule":{const i=e.getParentNode(),o=Fg(r)&&!i.raws.semicolon&&";"!==t.originalText[t.locEnd(r)-1];if(pg(t)){if(r.mixin)return Vm([e.call(n,"selector"),r.important?" !important":"",o?"":";"]);if(r.function)return Vm([r.name,Vm([e.call(n,"params")]),o?"":";"]);if(r.variable)return Vm(["@",r.name,": ",r.value?Vm([e.call(n,"value")]):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?Vm(["{",Jm(Vm([r.nodes.length>0?Km:"",Gg(e,t,n)])),Km,"}"]):"",o?"":";"])}return Vm(["@",jg(r)||r.name.endsWith(":")?r.name:og(r.name),r.params?Vm([jg(r)?"":Fg(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?Vm([Gm,Gm]):/^\s*\n/.test(r.raws.afterName)?Gm:" ":" ",e.call(n,"params")]):"",r.selector?Jm(Vm([" ",e.call(n,"selector")])):"",r.value?Xm(Vm([" ",e.call(n,"value"),mg(r)?Ag(r)?" ":Wm:""])):"else"===r.name?" ":"",r.nodes?Vm([mg(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&Hg(r.selector.value)||!r.selector&&"string"==typeof r.params&&Hg(r.params)?Wm:" ","{",Jm(Vm([r.nodes.length>0?Km:"",Gg(e,t,n)])),Km,"}"]):o?"":";"])}case"media-query-list":{const t=[];return e.each(e=>{const r=e.getValue();"media-query"===r.type&&""===r.value||t.push(e.call(n))},"nodes"),Xm(Jm(Hm(Wm,t)))}case"media-query":return Vm([Hm(" ",e.map(n,"nodes")),dg(e,r)?"":","]);case"media-type":return Zg(Yg(r.value,t));case"media-feature-expression":return r.nodes?Vm(["(",Vm(e.map(n,"nodes")),")"]):r.value;case"media-feature":return og(Yg(r.value.replace(/ +/g," "),t));case"media-colon":return Vm([r.value," "]);case"media-value":return Zg(Yg(r.value,t));case"media-keyword":return Yg(r.value,t);case"media-url":return Yg(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return r.value;case"selector-root":return Xm(Vm([ug(e,"custom-selector")?Vm([rg(e,"css-atrule").customSelector,Wm]):"",Hm(Vm([",",ug(e,["extend","custom-selector","nest"])?Wm:Gm]),e.map(n,"nodes"))]));case"selector-selector":return Xm(Jm(Vm(e.map(n,"nodes"))));case"selector-comment":return r.value;case"selector-string":return Yg(r.value,t);case"selector-tag":{const t=e.getParentNode(),n=t&&t.nodes.indexOf(r),i=n&&t.nodes[n-1];return Vm([r.namespace?Vm([!0===r.namespace?"":r.namespace.trim(),"|"]):"","selector-nesting"===i.type?r.value:Zg(cg(e,r.value)?r.value.toLowerCase():r.value)])}case"selector-id":return Vm(["#",r.value]);case"selector-class":return Vm([".",Zg(Yg(r.value,t))]);case"selector-attribute":return Vm(["[",r.namespace?Vm([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.attribute.trim(),r.operator?r.operator:"",r.value?Jg(Yg(r.value.trim(),t),t):"",r.insensitive?" i":"","]"]);case"selector-combinator":{if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){const t=e.getParentNode(),n="selector-selector"===t.type&&t.nodes[0]===r?"":Wm;return Vm([n,r.value,dg(e,r)?"":" "])}const n=r.value.trim().startsWith("(")?Wm:"",i=Zg(Yg(r.value.trim(),t))||Wm;return Vm([n,i])}case"selector-universal":return Vm([r.namespace?Vm([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.value]);case"selector-pseudo":return Vm([og(r.value),r.nodes&&r.nodes.length>0?Vm(["(",Hm(", ",e.map(n,"nodes")),")"]):""]);case"selector-nesting":return r.value;case"selector-unknown":{const n=rg(e,"css-rule");if(n&&n.isSCSSNesterProperty)return Zg(Yg(og(r.value),t));const i=e.getParentNode();if(i.raws&&i.raws.selector){const e=t.locStart(i),n=e+i.raws.selector.length;return t.originalText.slice(e,n).trim()}const o=e.getParentNode(1);if("value-paren_group"===i.type&&o&&"value-func"===o.type&&"selector"===o.value){const e=t.locStart(i.open)+1,n=t.locEnd(i.close)-1,r=t.originalText.slice(e,n).trim();return Hg(r)?Vm([eg,r]):r}return r.value}case"value-value":case"value-root":return e.call(n,"group");case"value-comment":return t.originalText.slice(t.locStart(r),t.locEnd(r));case"value-comma_group":{const t=e.getParentNode(),i=e.getParentNode(1),o=ig(e),a=o&&"value-value"===t.type&&("grid"===o||o.startsWith("grid-template")),s=rg(e,"css-atrule"),u=s&&mg(s),l=e.map(n,"groups"),c=[],h=ag(e,"url");let f=!1,d=!1;for(let n=0;n0&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return Vm([r.open?e.call(n,"open"):"",Hm(",",e.map(n,"groups")),r.close?e.call(n,"close"):""]);if(!r.open){const t=e.map(n,"groups"),r=[];for(let e=0;e{const t=e.getValue(),r=n(e);return Og(t)&&"value-comma_group"===t.type&&t.groups&&t.groups[2]&&"value-paren_group"===t.groups[2].type?(r.contents.contents.parts[1]=Xm(r.contents.contents.parts[1]),Xm(Zm(r))):r},"groups"))])),Qm(!s&&fg(t.parser,t.originalText)&&o&&Wg(t)?",":""),Km,r.close?e.call(n,"close"):""]),{shouldBreak:o})}case"value-func":return Vm([r.value,ug(e,"supports")&&Ug(r)?" ":"",e.call(n,"group")]);case"value-paren":return r.value;case"value-number":return Vm([Qg(r.value),og(r.unit)]);case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||hg(r.value)?r.value.toLowerCase():r.value;case"value-colon":{const t=e.getParentNode(),n=t&&t.groups.indexOf(r),i=n&&t.groups[n-1];return Vm([r.value,i&&"\\"===i.value[i.value.length-1]||ag(e,"url")?"":Wm])}case"value-comma":return Vm([r.value," "]);case"value-string":return Rm(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return Vm(["@",r.value]);case"value-unicode-range":case"value-unknown":return r.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:Cm,insertPragma:ng,hasPrettierIgnore:qm,massageAstNode:mm},tv={singleQuote:Ap.singleQuote},nv=[".css"],rv={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:nv,languageId:50},iv=Object.freeze({__proto__:null,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:nv,languageId:50,default:rv}),ov=[".pcss",".postcss"],av={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:ov,aceMode:"text",languageId:262764437},sv=Object.freeze({__proto__:null,name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:ov,aceMode:"text",languageId:262764437,default:av}),uv=[".less"],lv={name:"Less",type:"markup",group:"CSS",extensions:uv,tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},cv=Object.freeze({__proto__:null,name:"Less",type:"markup",group:"CSS",extensions:uv,tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198,default:lv}),hv=[".scss"],fv={name:"SCSS",type:"markup",tmScope:"source.css.scss",group:"CSS",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:hv,languageId:329},dv=Object.freeze({__proto__:null,name:"SCSS",type:"markup",tmScope:"source.css.scss",group:"CSS",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:hv,languageId:329,default:fv}),pv=He(iv),mv=He(sv),gv=He(cv),vv=He(dv),yv={languages:[Du(pv,()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"]})),Du(mv,()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),Du(gv,()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),Du(vv,()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],options:tv,printers:{postcss:ev},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}},bv=He(Object.freeze({__proto__:null,default:["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}));const wv=new Set(bv);function xv(e){return _v(e,["TextNode"])&&!/\S/.test(e.chars)}function _v(e,t){return e&&t.some(t=>e.type===t)}function Dv(e,t){const n=e.getValue(),r=e.getParentNode(0)||{},i=r.children||r.body||r.parts||[],o=i.indexOf(n);return-1!==o&&i[o+t]}function Cv(e,t=1){return Dv(e,-t)}function kv(e){return Dv(e,1)}function Sv(e){return _v(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var Ev={getNextNode:kv,getPreviousNode:Cv,hasPrettierIgnore:function(e){const t=e.getValue(),n=Cv(e,2);return Sv(t)||Sv(n)},isNextNodeOfSomeType:function(e,t){return _v(kv(e),t)},isNodeOfSomeType:_v,isParentOfSomeType:function(e,t){return _v(e.getParentNode(0),t)},isPreviousNodeOfSomeType:function(e,t){return _v(Cv(e),t)},isVoid:function(e){return function(e){return _v(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&(0===e.children||e.children.every(e=>xv(e)))||wv.has(e.tag)},isWhitespaceNode:xv};const{concat:Mv,group:Av,hardline:Tv,ifBreak:Ov,indent:jv,join:Fv,line:Nv,softline:Iv}=dn.builders,{getNextNode:Pv,getPreviousNode:Bv,hasPrettierIgnore:Lv,isNextNodeOfSomeType:Rv,isNodeOfSomeType:qv,isParentOfSomeType:$v,isPreviousNodeOfSomeType:zv,isVoid:Uv,isWhitespaceNode:Vv}=Ev;function Hv(e,t){const n=e.getValue();return Mv(["<",n.tag,Wv(e,t),yy(n),Kv(n)])}function Wv(e,t){const n=e.getValue();return jv(Mv([n.attributes.length?Nv:"",Fv(Nv,e.map(t,"attributes")),n.modifiers.length?Nv:"",Fv(Nv,e.map(t,"modifiers")),n.comments.length?Nv:"",Fv(Nv,e.map(t,"comments"))]))}function Gv(e,t,n){return Mv(e.map((e,r)=>0===r?Mv([Iv,n(e,t,n)]):n(e,t,n),"children"))}function Kv(e){return Uv(e)?Ov(Mv([Iv,"/>"]),Mv([" />",Iv])):Ov(Mv([Iv,">"]),">")}function Xv(e){const t=!1===e.escaped?"{{{":"{{",n=e.strip&&e.strip.open?"~":"";return Mv([t,n])}function Yv(e){const t=!1===e.escaped?"}}}":"}}",n=e.strip&&e.strip.close?"~":"";return Mv([n,t])}function Jv(e){const t=Xv(e),n=e.openStrip.open?"~":"";return Mv([t,n,"#"])}function Zv(e){const t=Yv(e),n=e.openStrip.close?"~":"";return Mv([n,t])}function Qv(e){const t=Xv(e),n=e.closeStrip.open?"~":"";return Mv([t,n,"/"])}function ey(e){const t=Yv(e),n=e.closeStrip.close?"~":"";return Mv([n,t])}function ty(e){const t=Xv(e),n=e.inverseStrip.open?"~":"";return Mv([t,n])}function ny(e){const t=Yv(e),n=e.inverseStrip.close?"~":"";return Mv([n,t])}function ry(e,t){const n=e.getValue();return Av(Mv([Jv(n),my(e,t),yy(n.program),Iv,Zv(n)]))}function iy(e){return Mv([Tv,ty(e),"else",ny(e)])}function oy(e,t){const n=e.getParentNode(1);return Mv([ty(n),"else ",my(e,t),ny(n)])}function ay(e,t){const n=e.getValue();return Mv([sy(n)?Iv:Tv,Qv(n),e.call(t,"path"),ey(n)])}function sy(e){return qv(e,["BlockStatement"])&&e.program.body.every(e=>Vv(e))}function uy(e){return qv(e,["BlockStatement"])&&e.inverse}function ly(e,t){if(sy(e.getValue()))return"";const n=e.call(t,"program");return jv(Mv([Tv,n]))}function cy(e,t){const n=e.getValue(),r=e.call(t,"inverse"),i=Mv([Tv,r]);return function(e){return uy(e)&&1===e.inverse.body.length&&qv(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(n)?i:uy(n)?Mv([iy(n),jv(i)]):""}function hy(e){return(e="string"==typeof e?e:"").split("\n").length-1}function fy(e=0,t=0){return new Array(Math.min(e,t)).fill(Tv)}function dy(e,t){const n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},i=t.singleQuote?r:n,o=i===r?n:r;let a=!1;(e.includes(i.quote)||e.includes(o.quote))&&(a=(e.match(i.regex)||[]).length>(e.match(o.regex)||[]).length);const s=a?o:i,u=e.replace(s.regex,"\\".concat(s.quote));return Mv([s.quote,u,s.quote])}function py(e,t){const n=gy(e,t),r=vy(e,t);return r?jv(Mv([n,Nv,Av(r)])):n}function my(e,t){const n=gy(e,t),r=vy(e,t);return r?jv(Av(Mv([n,Nv,r]))):n}function gy(e,t){return e.call(t,"path")}function vy(e,t){const n=e.getValue(),r=[];if(n.params.length){const n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){const n=e.call(t,"hash");r.push(n)}return r.length?Fv(Nv,r):""}function yy(e){return e&&e.blockParams.length?Mv([" as |",e.blockParams.join(" "),"|"]):""}function by(e,t,n){let r=0,i=0;for(;;){if(i===e.length)return null;let o=e.indexOf("\n",i);if(-1===o&&(o=e.length),r===t)return i+n>o?null:i+n;if(-1===o)return null;r+=1,i=o+1}}var wy={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(Lv(e)){const e=by(t.originalText,r.loc.start.line-1,r.loc.start.column),n=by(t.originalText,r.loc.end.line-1,r.loc.end.column);return t.originalText.slice(e,n)}switch(r.type){case"Block":case"Program":case"Template":return Av(Mv(e.map(n,"body")));case"ElementNode":{const i=Rv(e,["ElementNode"])?Tv:"";if(Uv(r))return Mv([Av(Hv(e,n)),i]);const o=r.children.every(e=>Vv(e));return Mv([Av(Hv(e,n)),Av(Mv([o?"":jv(Gv(e,t,n)),r.children.length?Tv:"",Mv([""])])),i])}case"BlockStatement":{const t=e.getParentNode(1),i=t&&t.inverse&&1===t.inverse.body.length&&t.inverse.body[0]===r&&"if"===t.inverse.body[0].path.parts[0];return Mv(i?[oy(e,n),ly(e,n),cy(e,n)]:[ry(e,n),Av(Mv([ly(e,n),cy(e,n),ay(e,n)]))])}case"ElementModifierStatement":return Av(Mv(["{{",my(e,n),Iv,"}}"]));case"MustacheStatement":{const t=$v(e,["AttrNode","ConcatStatement"]),i=$v(e,["ElementNode"])&&0===r.hash.pairs.length&&function(e){return 0===e.params.length}(r),o=t||i;return Av(Mv([Xv(r),o?jv(Iv):"",my(e,n),Iv,Yv(r)]))}case"SubExpression":return Av(Mv(["(",py(e,n),Iv,")"]));case"AttrNode":{const i="TextNode"===r.value.type;if(i&&""===r.value.chars&&r.value.loc.start.column===r.value.loc.end.column)return Mv([r.name]);const o=e.call(n,"value"),a=i?dy(o.parts.join(),t):o;return Mv([r.name,"=",a])}case"ConcatStatement":{const r=t.singleQuote?"'":'"';return Mv([r,...e.map(e=>n(e),"parts"),r])}case"Hash":return Mv([Fv(Nv,e.map(n,"pairs"))]);case"HashPair":return Mv([r.key,"=",e.call(n,"value")]);case"TextNode":{const t=2,n=!Bv(e),i=!Pv(e),o=!/\S/.test(r.chars),a=hy(r.chars);let s=function(e){return hy(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(r.chars),u=function(e){return hy(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(r.chars);if((n||i)&&o&&$v(e,["Block","ElementNode","Template"]))return"";if(o&&a?(s=Math.min(a,t),u=0):(Rv(e,["BlockStatement","ElementNode"])&&(u=Math.max(u,1)),zv(e,["BlockStatement","ElementNode"])&&(s=Math.max(s,1))),e.stack.includes("attributes")){if(!function(e,t){return $v(e,["AttrNode"])&&e.getParentNode().name.toLowerCase()===t||$v(e,["ConcatStatement"])&&e.getParentNode(1).name.toLowerCase()===t}(e,"class"))return Mv([r.chars]);let n="",i="";return $v(e,["ConcatStatement"])&&(zv(e,["MustacheStatement"])&&(n=" "),Rv(e,["MustacheStatement"])&&(i=" ")),Mv([...fy(s,t),r.chars.replace(/^\s+/g,n).replace(/\s+$/,i),...fy(u,t)])}let l="",c="";0===u&&Rv(e,["MustacheStatement"])&&(c=" "),0===s&&zv(e,["MustacheStatement"])&&(l=" "),n&&(s=0,l=""),i&&(u=0,c="");let h=r.chars;return h.startsWith("{{")&&h.includes("}}")&&(h="\\"+h),Mv([...fy(s,t),h.replace(/^\s+/g,l).replace(/\s+$/,c),...fy(u,t)])}case"MustacheCommentStatement":{const e=r.value.includes("}}")?"--":"";return Mv(["{{!",e,r.value,e,"}}"])}case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return Mv(["\x3c!--",r.value,"--\x3e"]);case"StringLiteral":return dy(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:function(e,t){if(delete t.loc,delete t.selfClosing,"TextNode"===e.type){const n=e.chars.trim();if(!n)return null;t.chars=n}}},xy=["hbs","htmlbars"],_y=[".handlebars",".hbs"],Dy={name:"Handlebars",type:"markup",group:"HTML",aliases:xy,extensions:_y,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},Cy={languages:[Du(He(Object.freeze({__proto__:null,name:"Handlebars",type:"markup",group:"HTML",aliases:xy,extensions:_y,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155,default:Dy})),()=>({since:null,parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],printers:{glimmer:wy},parsers:{get glimmer(){return{}.parsers.glimmer}}},ky={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}};const{concat:Sy,join:Ey,hardline:My,line:Ay,softline:Ty,group:Oy,indent:jy,ifBreak:Fy}=dn.builders,{hasIgnoreComment:Ny,isNextLineEmpty:Iy}=Rt,{insertPragma:Py}=ky;function By(e,t,n){if(0===n.directives.length)return"";const r=Ey(Ay,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?Oy(Sy([Ay,r])):Sy([" ",Oy(jy(Sy([Ty,r])))])}function Ly(e,t,n){const r=e.getValue().length;return e.map((e,i)=>{const o=n(e);return Iy(t.originalText,e.getValue(),t.locEnd)&&in(e),"interfaces");for(let s=0;s{i.push(Sy([e.call(n)])),o!==r.definitions.length-1&&(i.push(My),Iy(t.originalText,e.getValue(),t.locEnd)&&i.push(My))},"definitions"),Sy([Sy(i),My])}case"OperationDefinition":{const i="{"!==t.originalText[t.locStart(r)],o=!!r.name;return Sy([i?r.operation:"",i&&o?Sy([" ",e.call(n,"name")]):"",r.variableDefinitions&&r.variableDefinitions.length?Oy(Sy(["(",jy(Sy([Ty,Ey(Sy([Fy("",", "),Ty]),e.map(n,"variableDefinitions"))])),Ty,")"])):"",By(e,n,r),r.selectionSet&&(i||o)?" ":"",e.call(n,"selectionSet")])}case"FragmentDefinition":return Sy(["fragment ",e.call(n,"name"),r.variableDefinitions&&r.variableDefinitions.length?Oy(Sy(["(",jy(Sy([Ty,Ey(Sy([Fy("",", "),Ty]),e.map(n,"variableDefinitions"))])),Ty,")"])):""," on ",e.call(n,"typeCondition"),By(e,n,r)," ",e.call(n,"selectionSet")]);case"SelectionSet":return Sy(["{",jy(Sy([My,Ey(My,e.call(e=>Ly(e,t,n),"selections"))])),My,"}"]);case"Field":return Oy(Sy([r.alias?Sy([e.call(n,"alias"),": "]):"",e.call(n,"name"),r.arguments.length>0?Oy(Sy(["(",jy(Sy([Ty,Ey(Sy([Fy("",", "),Ty]),e.call(e=>Ly(e,t,n),"arguments"))])),Ty,")"])):"",By(e,n,r),r.selectionSet?" ":"",e.call(n,"selectionSet")]));case"Name":return r.value;case"StringValue":return r.block?Sy(['"""',My,Ey(My,r.value.replace(/"""/g,"\\$&").split("\n")),My,'"""']):Sy(['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']);case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return Sy(["$",e.call(n,"name")]);case"ListValue":return Oy(Sy(["[",jy(Sy([Ty,Ey(Sy([Fy("",", "),Ty]),e.map(n,"values"))])),Ty,"]"]));case"ObjectValue":return Oy(Sy(["{",t.bracketSpacing&&r.fields.length>0?" ":"",jy(Sy([Ty,Ey(Sy([Fy("",", "),Ty]),e.map(n,"fields"))])),Ty,Fy("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]));case"ObjectField":case"Argument":return Sy([e.call(n,"name"),": ",e.call(n,"value")]);case"Directive":return Sy(["@",e.call(n,"name"),r.arguments.length>0?Oy(Sy(["(",jy(Sy([Ty,Ey(Sy([Fy("",", "),Ty]),e.call(e=>Ly(e,t,n),"arguments"))])),Ty,")"])):""]);case"NamedType":return e.call(n,"name");case"VariableDefinition":return Sy([e.call(n,"variable"),": ",e.call(n,"type"),r.defaultValue?Sy([" = ",e.call(n,"defaultValue")]):"",By(e,n,r)]);case"ObjectTypeExtension":case"ObjectTypeDefinition":return Sy([e.call(n,"description"),r.description?My:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",e.call(n,"name"),r.interfaces.length>0?Sy([" implements ",Sy(Ry(e,t,n))]):"",By(e,n,r),r.fields.length>0?Sy([" {",jy(Sy([My,Ey(My,e.call(e=>Ly(e,t,n),"fields"))])),My,"}"]):""]);case"FieldDefinition":return Sy([e.call(n,"description"),r.description?My:"",e.call(n,"name"),r.arguments.length>0?Oy(Sy(["(",jy(Sy([Ty,Ey(Sy([Fy("",", "),Ty]),e.call(e=>Ly(e,t,n),"arguments"))])),Ty,")"])):"",": ",e.call(n,"type"),By(e,n,r)]);case"DirectiveDefinition":return Sy([e.call(n,"description"),r.description?My:"","directive ","@",e.call(n,"name"),r.arguments.length>0?Oy(Sy(["(",jy(Sy([Ty,Ey(Sy([Fy("",", "),Ty]),e.call(e=>Ly(e,t,n),"arguments"))])),Ty,")"])):"",r.repeatable?" repeatable":"",Sy([" on ",Ey(" | ",e.map(n,"locations"))])]);case"EnumTypeExtension":case"EnumTypeDefinition":return Sy([e.call(n,"description"),r.description?My:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",e.call(n,"name"),By(e,n,r),r.values.length>0?Sy([" {",jy(Sy([My,Ey(My,e.call(e=>Ly(e,t,n),"values"))])),My,"}"]):""]);case"EnumValueDefinition":return Sy([e.call(n,"description"),r.description?My:"",e.call(n,"name"),By(e,n,r)]);case"InputValueDefinition":return Sy([e.call(n,"description"),r.description?r.description.block?My:Ay:"",e.call(n,"name"),": ",e.call(n,"type"),r.defaultValue?Sy([" = ",e.call(n,"defaultValue")]):"",By(e,n,r)]);case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return Sy([e.call(n,"description"),r.description?My:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",e.call(n,"name"),By(e,n,r),r.fields.length>0?Sy([" {",jy(Sy([My,Ey(My,e.call(e=>Ly(e,t,n),"fields"))])),My,"}"]):""]);case"SchemaDefinition":return Sy(["schema",By(e,n,r)," {",r.operationTypes.length>0?jy(Sy([My,Ey(My,e.call(e=>Ly(e,t,n),"operationTypes"))])):"",My,"}"]);case"OperationTypeDefinition":return Sy([e.call(n,"operation"),": ",e.call(n,"type")]);case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return Sy([e.call(n,"description"),r.description?My:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",e.call(n,"name"),r.interfaces.length>0?Sy([" implements ",Sy(Ry(e,t,n))]):"",By(e,n,r),r.fields.length>0?Sy([" {",jy(Sy([My,Ey(My,e.call(e=>Ly(e,t,n),"fields"))])),My,"}"]):""]);case"FragmentSpread":return Sy(["...",e.call(n,"name"),By(e,n,r)]);case"InlineFragment":return Sy(["...",r.typeCondition?Sy([" on ",e.call(n,"typeCondition")]):"",By(e,n,r)," ",e.call(n,"selectionSet")]);case"UnionTypeExtension":case"UnionTypeDefinition":return Oy(Sy([e.call(n,"description"),r.description?My:"",Oy(Sy(["UnionTypeExtension"===r.kind?"extend ":"","union ",e.call(n,"name"),By(e,n,r),r.types.length>0?Sy([" =",Fy(""," "),jy(Sy([Fy(Sy([Ay," "])),Ey(Sy([Ay,"| "]),e.map(n,"types"))]))]):""]))]));case"ScalarTypeExtension":case"ScalarTypeDefinition":return Sy([e.call(n,"description"),r.description?My:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",e.call(n,"name"),By(e,n,r)]);case"NonNullType":return Sy([e.call(n,"type"),"!"]);case"ListType":return Sy(["[",e.call(n,"type"),"]"]);default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:function(e,t){delete t.loc,delete t.comments},hasPrettierIgnore:Ny,insertPragma:Py,printComment:function(e){const t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}},$y={bracketSpacing:Ap.bracketSpacing},zy=[".graphql",".gql",".graphqls"],Uy={name:"GraphQL",type:"data",extensions:zy,tmScope:"source.graphql",aceMode:"text",languageId:139},Vy={languages:[Du(He(Object.freeze({__proto__:null,name:"GraphQL",type:"data",extensions:zy,tmScope:"source.graphql",aceMode:"text",languageId:139,default:Uy})),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],options:$y,printers:{graphql:qy},parsers:{get graphql(){return{}.parsers.graphql}}};const{getLast:Hy}=Rt,{cjkPattern:Wy,kPattern:Gy,punctuationPattern:Ky}={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},Xy=["liquidNode","inlineCode","emphasis","strong","delete","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],Yy=Xy.concat(["tableCell","paragraph","heading"]),Jy=new RegExp(Gy),Zy=new RegExp(Ky);function Qy(e,t){const[,n,r,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:i}}var eb={mapAst:function(e,t){return function e(n,r,i){i=i||[];const o=Object.assign({},t(n,r,i));return o.children&&(o.children=o.children.map((t,n)=>e(t,n,[o].concat(i)))),o}(e,null,null)},splitText:function(e,t){const n=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(Wy,")\n(").concat(Wy,")"),"g"),"$1$2")).split(/([\t\n ]+)/).forEach((e,t,i)=>{t%2!=1?(0!==t&&t!==i.length-1||""!==e)&&e.split(new RegExp("(".concat(Wy,")"))).forEach((e,t,n)=>{(0!==t&&t!==n.length-1||""!==e)&&(t%2!=0?r(Zy.test(e)?{type:"word",value:e,kind:"cjk-punctuation",hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:Jy.test(e)?"k-letter":"cj-letter",hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&r({type:"word",value:e,kind:"non-cjk",hasLeadingPunctuation:Zy.test(e[0]),hasTrailingPunctuation:Zy.test(Hy(e))}))}):n.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})}),n;function r(e){const t=Hy(n);var r,i;t&&"word"===t.type&&("non-cjk"===t.kind&&"cj-letter"===e.kind&&!t.hasTrailingPunctuation||"cj-letter"===t.kind&&"non-cjk"===e.kind&&!e.hasLeadingPunctuation?n.push({type:"whitespace",value:" "}):(r="non-cjk",i="cjk-punctuation",t.kind===r&&e.kind===i||t.kind===i&&e.kind===r||[t.value,e.value].some(e=>/\u3000/.test(e))||n.push({type:"whitespace",value:""}))),n.push(e)}},punctuationPattern:Ky,getFencedCodeBlockValue:function(e,t){const n=t.trimEnd().slice(e.position.start.offset,e.position.end.offset),r=n.match(/^\s*/)[0].length,i=new RegExp("^\\s{0,".concat(r,"}")),o=n.split("\n"),a=n[r],s=n.slice(r).match(new RegExp("^[".concat(a,"]+")))[0],u=new RegExp("^\\s{0,3}".concat(s)).test(o[o.length-1].slice(l(o.length-1)));return o.slice(1,u?-1:void 0).map((e,t)=>e.slice(l(t+1)).replace(i,"")).join("\n");function l(t){return e.position.indent[t-1]-1}},getOrderedListItemInfo:Qy,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const n=Number(Qy(e.children[0],t.originalText).numberText),r=Number(Qy(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const n=Number(Qy(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:Xy,INLINE_NODE_WRAPPER_TYPES:Yy,isAutolink:function(e,t){if(!e||"link"!==e.type||1!==e.children.length)return!1;const n=e.children[0];return n&&t.locStart(e)===t.locStart(n)&&t.locEnd(e)===t.locEnd(n)}};const{getParserName:tb,getMaxContinuousCount:nb}=Rt,{builders:{hardline:rb,concat:ib,markAsRoot:ob},utils:{replaceNewlinesWithLiterallines:ab}}=dn,{print:sb}=wm,{getFencedCodeBlockValue:ub}=eb;var lb=function(e,t,n,r){const i=e.getValue();if("code"===i.type&&null!==i.lang){const e=i.lang.match(/^[\w-]+/),t=e?e[0]:"",o=tb(t,r);if(o){const e=r.__inJsTemplate?"~":"`",t=e.repeat(Math.max(3,nb(i.value,e)+1)),a=n(ub(i,r.originalText),{parser:o},{stripTrailingHardline:!0});return ob(ib([t,i.lang,i.meta?" "+i.meta:"",rb,ab(a),rb,t]))}}switch(i.type){case"front-matter":return sb(i,n);case"importExport":return ib([n(i.value,{parser:"babel"},{stripTrailingHardline:!0}),rb]);case"jsx":return n("<$>".concat(i.value,""),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null};const{parse:cb}=wm,hb=["format","prettier"];function fb(e){const t="@(".concat(hb.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var db={startWithPragma:fb,hasPragma:e=>fb(cb(e).content.trimStart()),insertPragma:e=>{const t=cb(e),n="\x3c!-- @".concat(hb[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)}};const{getOrderedListItemInfo:pb,mapAst:mb,splitText:gb}=eb,vb=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function yb(e,t,n){return mb(e,e=>{if(!e.children)return e;const r=e.children.reduce((e,r)=>{const i=e[e.length-1];return i&&t(i,r)?e.splice(-1,1,n(i,r)):e.push(r),e},[]);return Object.assign({},e,{children:r})})}var bb=function(e,t){return function(e){return yb(e,(e,t)=>"importExport"===e.type&&"importExport"===t.type,(e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}))}(e=function(e){return mb(e,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"}))}(e=function(e,t){return mb(e,(e,n,[r])=>{if("text"!==e.type)return e;let{value:i}=e;return"paragraph"===r.type&&(0===n&&(i=i.trimStart()),n===r.children.length-1&&(i=i.trimEnd())),{type:"sentence",position:e.position,children:gb(i,t)}})}(e=function(e,t){return mb(e,(e,t,n)=>{if("list"===e.type&&0!==e.children.length){for(let t=0;t1)return!0;const o=n(r);return-1!==o&&(1===e.children.length?o%t.tabWidth==0:o===n(i)&&(o%t.tabWidth==0||pb(i,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return mb(e,(e,n,r)=>{if("code"===e.type){const n=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e"inlineCode"!==e.type?e:Object.assign({},e,{value:e.value.replace(/\s+/g," ")}))}(e=function(e){return yb(e,(e,t)=>"text"===e.type&&"text"===t.type,(e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}))}(e=function(e,t){return mb(e,e=>"text"!==e.type?e:Object.assign({},e,{value:"*"!==e.value&&"_"!==e.value&&"$"!==e.value&&vb.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?t.originalText.slice(e.position.start.offset,e.position.end.offset):e.value}))}(e,t))),t),t),t)))};const{getLast:wb,getMinNotPresentContinuousCount:xb,getMaxContinuousCount:_b,getStringWidth:Db}=Rt,{builders:{breakParent:Cb,concat:kb,join:Sb,line:Eb,literalline:Mb,markAsRoot:Ab,hardline:Tb,softline:Ob,ifBreak:jb,fill:Fb,align:Nb,indent:Ib,group:Pb},utils:{normalizeDoc:Bb},printer:{printDocToString:Lb}}=dn,{replaceEndOfLineWith:Rb,isFrontMatterNode:qb}=Rt,{getFencedCodeBlockValue:$b,hasGitDiffFriendlyOrderedList:zb,splitText:Ub,punctuationPattern:Vb,INLINE_NODE_TYPES:Hb,INLINE_NODE_WRAPPER_TYPES:Wb,isAutolink:Gb}=eb,Kb=new Set(["importExport"]),Xb=["heading","tableCell","link"],Yb=new Set(["listItem","definition","footnoteDefinition"]);function Jb(e,t,n,r){const i=e.getValue(),o=null===i.checked?"":i.checked?"[x] ":"[ ] ";return kb([o,rw(e,t,n,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return Nb(" ".repeat(o.length),e.call(n));const a=" ".repeat((s=t.tabWidth-r.length,l=3,s<(u=0)?u:s>l?l:s));var s,u,l;return kb([a,Nb(a,e.call(n))])}})])}function Zb(e,t){return function(e,t,n){n=n||(()=>!0);let r=-1;for(const i of t.children)if(i.type===e.type&&n(i)?r++:r=-1,i===e)return r}(e,t,t=>t.ordered===e.ordered)}function Qb(e,t){const n=[].concat(t);let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function ew(e,t){const n=Qb(e,t);return-1===n?null:e.getParentNode(n)}function tw(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return Tb;const r="always"===n.proseWrap&&!ew(e,Xb);return""!==t?r?Eb:" ":r?Ob:""}function nw(e,t,n){const r=[];let i=null;const{children:o}=e.getValue();return o.forEach((e,t)=>{switch(ow(e)){case"start":null===i&&(i={index:t,offset:e.position.end.offset});break;case"end":null!==i&&(r.push({start:i,end:{index:t,offset:e.position.start.offset}}),i=null)}}),rw(e,t,n,{processor:(e,i)=>{if(0!==r.length){const e=r[0];if(i===e.start.index)return kb([o[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),o[e.end.index].value]);if(e.start.indexe.call(n)),a=e.getValue(),s=[];let u;return e.map((e,n)=>{const r=e.getValue(),i=o(e,n);if(!1!==i){const e={parts:s,prevNode:u,parentNode:a,options:t};(function(e,t){const n=0===t.parts.length,r=Hb.includes(e.type),i="html"===e.type&&Wb.includes(t.parentNode.type);return n||r||i})(r,e)||(s.push(Tb),u&&Kb.has(u.type)||(function(e,t){const n=(t.prevNode&&t.prevNode.type)===e.type&&Yb.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,i=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,o="next"===ow(t.prevNode),a="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,s="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(n||r||o||a||s)}(r,e)||aw(r,e))&&s.push(Tb),aw(r,e)&&s.push(Tb)),s.push(i),u=r}},"children"),i(s)}function iw(e){let t=e;for(;t.children&&0!==t.children.length;)t=t.children[t.children.length-1];return t}function ow(e){if("html"!==e.type)return!1;const t=e.value.match(/^$/);return null!==t&&(t[1]?t[1]:"next")}function aw(e,t){const n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function sw(e,t){const n=[" "].concat(t||[]);return new RegExp(n.map(e=>"\\".concat(e)).join("|")).test(e)?"<".concat(e,">"):e}function uw(e,t,n){if(null==n&&(n=!0),!e)return"";if(n)return" "+uw(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");const r=e.split("'").length-1,i=e.split('"').length-1,o=r>i?'"':i>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(o,")"),"g"),"\\$1"),"".concat(o).concat(e).concat(o)}var lw={preprocess:bb,print:function(e,t,n){const r=e.getValue();if(function(e){const t=ew(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return kb(Ub(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map(n=>"word"===n.type?n.value:""===n.value?"":tw(e,n.value,t)));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":kb([Bb(nw(e,t,n)),Kb.has(iw(r).type)?"":Tb]);case"paragraph":return rw(e,t,n,{postprocessor:Fb});case"sentence":return rw(e,t,n);case"word":{let n=r.value.replace(/[$*]/g,"\\$&").replace(new RegExp(["(^|".concat(Vb,")(_+)"),"(_+)(".concat(Vb,"|$)")].join("|"),"g"),(e,t,n,r,i)=>(n?"".concat(t).concat(n):"".concat(r).concat(i)).replace(/_/g,"\\_"));const i=(e,t,n)=>"sentence"===e.type&&0===n,o=(e,n,r)=>Gb(e.children[r-1],t);return n!==r.value&&(e.match(void 0,i,o)||e.match(void 0,i,(e,t,n)=>"emphasis"===e.type&&0===n,o))&&(n=n.replace(/^(\\?[*_])+/,e=>e.replace(/\\/g,""))),n}case"whitespace":{const n=e.getParentNode(),i=n.children.indexOf(r),o=n.children[i+1],a=o&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(o.value)?"never":t.proseWrap;return tw(e,r.value,{proseWrap:a})}case"emphasis":{let i;if(Gb(r.children[0],t))i=t.originalText[r.position.start.offset];else{const t=e.getParentNode(),n=t.children.indexOf(r),o=t.children[n-1],a=t.children[n+1];i=o&&"sentence"===o.type&&o.children.length>0&&"word"===wb(o.children).type&&!wb(o.children).hasTrailingPunctuation||a&&"sentence"===a.type&&a.children.length>0&&"word"===a.children[0].type&&!a.children[0].hasLeadingPunctuation||ew(e,"emphasis")?"*":"_"}return kb([i,rw(e,t,n),i])}case"strong":return kb(["**",rw(e,t,n),"**"]);case"delete":return kb(["~~",rw(e,t,n),"~~"]);case"inlineCode":{const e=xb(r.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(r.value)?" ":"";return kb([t,n,r.value,n,t])}case"link":switch(t.originalText[r.position.start.offset]){case"<":{const e="mailto:",n=r.url.startsWith(e)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+e.length)!==e?r.url.slice(e.length):r.url;return kb(["<",n,">"])}case"[":return kb(["[",rw(e,t,n),"](",sw(r.url,")"),uw(r.title,t),")"]);default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return kb(["![",r.alt||"","](",sw(r.url,")"),uw(r.title,t),")"]);case"blockquote":return kb(["> ",Nb("> ",rw(e,t,n))]);case"heading":return kb(["#".repeat(r.depth)+" ",rw(e,t,n)]);case"code":{if(r.isIndented){const e=" ".repeat(4);return Nb(e,kb([e,kb(Rb(r.value,Tb))]))}const e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,_b(r.value,e)+1));return kb([n,r.lang||"",r.meta?" "+r.meta:"",Tb,kb(Rb($b(r,t.originalText),Tb)),Tb,n])}case"html":{const t=e.getParentNode(),n="root"===t.type&&wb(t.children)===r?r.value.trimEnd():r.value,i=/^$/.test(n);return kb(Rb(n,i?Tb:Ab(Mb)))}case"list":{const i=Zb(r,e.getParentNode()),o=zb(r,t);return rw(e,t,n,{processor:(e,a)=>{const s=function(){const e=r.ordered?(0===a?r.start:o?1:r.start+a)+(i%2==0?". ":") "):i%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){const n=r();return e+" ".repeat(n>=4?0:n);function r(){const n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),u=e.getValue();return 2===u.children.length&&"html"===u.children[1].type&&u.children[0].position.start.column!==u.children[1].position.start.column?kb([s,Jb(e,t,n,s)]):kb([s,Nb(" ".repeat(s.length),Jb(e,t,n,s))])}})}case"thematicBreak":{const t=Qb(e,"list");return-1===t?"---":Zb(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return kb(["[",rw(e,t,n),"]","full"===r.referenceType?kb(["[",r.identifier,"]"]):"collapsed"===r.referenceType?"[]":""]);case"imageReference":switch(r.referenceType){case"full":return kb(["![",r.alt||"","][",r.identifier,"]"]);default:return kb(["![",r.alt,"]","collapsed"===r.referenceType?"[]":""])}case"definition":{const e="always"===t.proseWrap?Eb:" ";return Pb(kb([kb(["[",r.identifier,"]:"]),Ib(kb([e,sw(r.url),null===r.title?"":kb([e,uw(r.title,t,!1)])]))]))}case"footnote":return kb(["[^",rw(e,t,n),"]"]);case"footnoteReference":return kb(["[^",r.identifier,"]"]);case"footnoteDefinition":{const i=e.getParentNode().children[e.getName()+1],o=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return kb(["[^",r.identifier,"]: ",o?rw(e,t,n):Pb(kb([Nb(" ".repeat(4),rw(e,t,n,{processor:(e,t)=>0===t?Pb(kb([Ob,e.call(n)])):e.call(n)})),i&&"footnoteDefinition"===i.type?Ob:""]))])}case"table":return function(e,t,n){const r=Tb.parts[0],i=e.getValue(),o=[];e.map(e=>{const r=[];e.map(e=>{r.push(Lb(e.call(n),t).formatted)},"children"),o.push(r)},"children");const a=o.reduce((e,t)=>e.map((e,n)=>Math.max(e,Db(t[n]))),o[0].map(()=>3)),s=Sb(r,[c(o[0]),l(),Sb(r,o.slice(1).map(e=>c(e)))]);if("never"!==t.proseWrap)return kb([Cb,s]);const u=Sb(r,[c(o[0],!0),l(!0),Sb(r,o.slice(1).map(e=>c(e,!0)))]);return kb([Cb,Pb(jb(u,s))]);function l(e){return kb(["| ",Sb(" | ",a.map((t,n)=>{const r=e?3:t;switch(i.align[n]){case"left":return":"+"-".repeat(r-1);case"right":return"-".repeat(r-1)+":";case"center":return":"+"-".repeat(r-2)+":";default:return"-".repeat(r)}}))," |"])}function c(e,t){return kb(["| ",Sb(" | ",t?e:e.map((e,t)=>{switch(i.align[t]){case"right":return f(e,a[t]);case"center":return d(e,a[t]);default:return h(e,a[t])}}))," |"])}function h(e,t){const n=t-Db(e);return kb([e," ".repeat(n)])}function f(e,t){const n=t-Db(e);return kb([" ".repeat(n),e])}function d(e,t){const n=t-Db(e),r=Math.floor(n/2),i=n-r;return kb([" ".repeat(r),e," ".repeat(i)])}}(e,t,n);case"tableCell":return rw(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?kb([" ",Ab(Mb)]):kb(["\\",Tb]);case"liquidNode":return kb(Rb(r.value,Tb));case"importExport":case"jsx":return kb([r.value,Tb]);case"math":return kb(["$$",Tb,r.value?kb([kb(Rb(r.value,Tb)),Tb]):"","$$"]);case"inlineMath":return t.originalText.slice(t.locStart(r),t.locEnd(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:lb,massageAstNode:function(e,t,n){return delete t.position,delete t.raw,"front-matter"!==e.type&&"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"list"!==e.type&&"listItem"!==e.type||(delete t.spread,delete t.loose),"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"definition"!==e.type&&"linkReference"!==e.type||(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),"definition"!==e.type&&"link"!==e.type&&"image"!==e.type||!e.title||(t.title=e.title.replace(/\\(["')])/g,"$1")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||qb(n.children[0])&&n.children[1]===e)&&"html"===e.type&&db.startWithPragma(e.value)?null:void 0)},hasPrettierIgnore:function(e){const t=+e.getName();return 0!==t&&"next"===ow(e.getParentNode().children[t-1])},insertPragma:db.insertPragma},cw={proseWrap:Ap.proseWrap,singleQuote:Ap.singleQuote},hw=["pandoc"],fw=[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".workbook"],dw=["contents.lr"],pw={name:"Markdown",type:"prose",aliases:hw,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:fw,filenames:dw,tmScope:"source.gfm",languageId:222},mw=He(Object.freeze({__proto__:null,name:"Markdown",type:"prose",aliases:hw,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:fw,filenames:dw,tmScope:"source.gfm",languageId:222,default:pw})),gw={languages:[Du(mw,e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:e.filenames.concat(["README"]),extensions:e.extensions.filter(e=>".mdx"!==e)})),Du(mw,()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],options:cw,printers:{mdast:lw},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}};const{isFrontMatterNode:vw}=Rt;var yw=Object.freeze({__proto__:null,default:["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]}),bw=["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],ww=["title"],xw=["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],_w=["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],Dw=["autoplay","controls","crossorigin","loop","muted","preload","src"],Cw=["href","target"],kw=["color","face","size"],Sw=["dir"],Ew=["cite"],Mw=["alink","background","bgcolor","link","text","vlink"],Aw=["clear"],Tw=["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],Ow=["height","width"],jw=["align"],Fw=["align","char","charoff","span","valign","width"],Nw=["align","char","charoff","span","valign","width"],Iw=["value"],Pw=["cite","datetime"],Bw=["open"],Lw=["title"],Rw=["open"],qw=["compact"],$w=["align"],zw=["compact"],Uw=["height","src","type","width"],Vw=["disabled","form","name"],Hw=["color","face","size"],Ww=["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],Gw=["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],Kw=["cols","rows"],Xw=["align"],Yw=["align"],Jw=["align"],Zw=["align"],Qw=["align"],ex=["align"],tx=["profile"],nx=["align","noshade","size","width"],rx=["manifest","version"],ix=["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],ox=["align","alt","border","crossorigin","decoding","height","hspace","ismap","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],ax=["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],sx=["cite","datetime"],ux=["prompt"],lx=["accesskey","for","form"],cx=["accesskey","align"],hx=["type","value"],fx=["as","charset","color","crossorigin","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],dx=["name"],px=["compact"],mx=["charset","content","http-equiv","name","scheme"],gx=["high","low","max","min","optimum","value"],vx=["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],yx=["compact","reversed","start","type"],bx=["disabled","label"],wx=["disabled","label","selected","value"],xx=["for","form","name"],_x=["align"],Dx=["name","type","value","valuetype"],Cx=["width"],kx=["max","value"],Sx=["cite"],Ex=["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],Mx=["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],Ax=["name"],Tx=["media","sizes","src","srcset","type"],Ox=["media","nonce","title","type"],jx=["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],Fx=["align","char","charoff","valign"],Nx=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],Ix=["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],Px=["align","char","charoff","valign"],Bx=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],Lx=["align","char","charoff","valign"],Rx=["datetime"],qx=["align","bgcolor","char","charoff","valign"],$x=["default","kind","label","src","srclang"],zx=["compact","type"],Ux=["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"],Vx={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:bw,abbr:ww,applet:xw,area:_w,audio:Dw,base:Cw,basefont:kw,bdo:Sw,blockquote:Ew,body:Mw,br:Aw,button:Tw,canvas:Ow,caption:jw,col:Fw,colgroup:Nw,data:Iw,del:Pw,details:Bw,dfn:Lw,dialog:Rw,dir:qw,div:$w,dl:zw,embed:Uw,fieldset:Vw,font:Hw,form:Ww,frame:Gw,frameset:Kw,h1:Xw,h2:Yw,h3:Jw,h4:Zw,h5:Qw,h6:ex,head:tx,hr:nx,html:rx,iframe:ix,img:ox,input:ax,ins:sx,isindex:ux,label:lx,legend:cx,li:hx,link:fx,map:dx,menu:px,meta:mx,meter:gx,object:vx,ol:yx,optgroup:bx,option:wx,output:xx,p:_x,param:Dx,pre:Cx,progress:kx,q:Sx,script:Ex,select:Mx,slot:Ax,source:Tx,style:Ox,table:jx,tbody:Fx,td:Nx,textarea:Ix,tfoot:Px,th:Bx,thead:Lx,time:Rx,tr:qx,track:$x,ul:zx,video:Ux},Hx=Object.freeze({__proto__:null,a:bw,abbr:ww,applet:xw,area:_w,audio:Dw,base:Cw,basefont:kw,bdo:Sw,blockquote:Ew,body:Mw,br:Aw,button:Tw,canvas:Ow,caption:jw,col:Fw,colgroup:Nw,data:Iw,del:Pw,details:Bw,dfn:Lw,dialog:Rw,dir:qw,div:$w,dl:zw,embed:Uw,fieldset:Vw,font:Hw,form:Ww,frame:Gw,frameset:Kw,h1:Xw,h2:Yw,h3:Jw,h4:Zw,h5:Qw,h6:ex,head:tx,hr:nx,html:rx,iframe:ix,img:ox,input:ax,ins:sx,isindex:ux,label:lx,legend:cx,li:hx,link:fx,map:dx,menu:px,meta:mx,meter:gx,object:vx,ol:yx,optgroup:bx,option:wx,output:xx,p:_x,param:Dx,pre:Cx,progress:kx,q:Sx,script:Ex,select:Mx,slot:Ax,source:Tx,style:Ox,table:jx,tbody:Fx,td:Nx,textarea:Ix,tfoot:Px,th:Bx,thead:Lx,time:Rx,tr:qx,track:$x,ul:zx,video:Ux,default:Vx}),Wx=He(yw),Gx=He(Hx);const{getParserName:Kx,isFrontMatterNode:Xx}=Rt,{CSS_DISPLAY_TAGS:Yx,CSS_DISPLAY_DEFAULT:Jx,CSS_WHITE_SPACE_TAGS:Zx,CSS_WHITE_SPACE_DEFAULT:Qx}={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},e_=o_(Wx),t_=function(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}(Gx,o_),n_=new Set(["\t","\n","\f","\r"," "]),r_=e=>e.replace(/[\t\n\f\r ]+$/,""),i_=e=>e.match(/^[\t\n\f\r ]*/)[0];function o_(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t}function a_(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!y_(e)||!e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type))||!(!C_(e,t)||u_(e)||"interpolation"===e.type)}function s_(e){return"attribute"!==e.type&&(!!e.parent&&("number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])))}function u_(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||b_(e)&&("script"===e.name||"style"===e.name))}function l_(e){return w_(e).startsWith("pre")}function c_(e){return"element"===e.type&&0!==e.children.length&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function h_(e){return m_(e)||"element"===e.type&&"br"===e.fullName||f_(e)}function f_(e){return d_(e)&&p_(e)}function d_(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function m_(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function g_(e){const{type:t,lang:n}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function v_(e){return"block"===e||"list-item"===e||e.startsWith("table")}function y_(e){return w_(e).startsWith("pre")}function b_(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function w_(e){return"element"===e.type&&(!e.namespace||b_(e))&&Zx[e.name]||Qx}const x_=new Set(["template","style","script"]);function __(e,t){return D_(e,t)&&!x_.has(e.fullName)}function D_(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function C_(e,t){return D_(e,t)&&(__(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var k_={HTML_ELEMENT_ATTRIBUTES:t_,HTML_TAGS:e_,htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(r_(e)),htmlTrimPreserveIndentation:e=>(e=>e.replace(/^[\t\f\r ]*?\n/g,""))(r_(e)),splitByHtmlWhitespace:e=>e.split(/[\t\n\f\r ]+/),hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{const[,t,n,r]=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!u_(e)},countChars:function(e,t){let n=0;for(let r=0;r=0;r--){const i=e.stack[r];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&n++}return n},dedentString:function(e,t=function(e){let t=1/0;for(const n of e.split("\n")){if(0===n.length)continue;if(!n_.has(n[0]))return 0;const e=i_(n).length;n.length!==e&&ee.slice(t)).join("\n")},forceBreakChildren:c_,forceBreakContent:function(e){return c_(e)||"element"===e.type&&0!==e.children.length&&(["body","script","style"].includes(e.name)||e.children.some(e=>function(e){return e.children&&e.children.some(e=>"text"!==e.type)}(e)))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&d_(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||p_(e.lastChild))},forceNextEmptyLine:function(e){return Xx(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||n||b_(e))&&Yx[e.name]||Jx}},getNodeCssStyleWhiteSpace:w_,getPrettierIgnoreAttributeCommentData:function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:s_,inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){const{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&C_(e,t)?g_(e)||!("src"in e.attrMap)&&Kx(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?g_(e):"babel"},isVueCustomBlock:__,isVueNonHtmlBlock:C_,isDanglingSpaceSensitiveNode:function(e){return t=e.cssDisplay,!(v_(t)||"inline-block"===t||u_(e));var t},isIndentationSensitiveNode:l_,isLeadingSpaceSensitiveNode:function(e,t){const n=function(){return!Xx(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!y_(e.parent)||!(!e.prev&&("root"===e.parent.type||y_(e)&&e.parent||u_(e.parent)||__(e.parent,t)||(n=e.parent.cssDisplay,v_(n)||"inline-block"===n)))&&!(e.prev&&!function(e){return!v_(e)}(e.prev.cssDisplay))));var n}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:y_,isScriptLikeTag:u_,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!Xx(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!y_(e.parent)||!(!e.next&&("root"===e.parent.type||y_(e)&&e.parent||u_(e.parent)||__(e.parent,t)||(n=e.parent.cssDisplay,v_(n)||"inline-block"===n)))&&!(e.next&&!function(e){return!v_(e)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return u_(e)||"interpolation"===e.type||l_(e)},isUnknownNamespace:b_,preferHardlineAsLeadingSpaces:function(e){return m_(e)||e.prev&&h_(e.prev)||f_(e)},preferHardlineAsTrailingSpaces:h_,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(s_(e)||a_(e.parent,t))},shouldPreserveContent:a_,unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')}};const{htmlTrim:S_,getLeadingAndTrailingHtmlWhitespace:E_,hasHtmlWhitespace:M_,canHaveInterpolation:A_,getNodeCssStyleDisplay:T_,isDanglingSpaceSensitiveNode:O_,isIndentationSensitiveNode:j_,isLeadingSpaceSensitiveNode:F_,isTrailingSpaceSensitiveNode:N_,isWhitespaceSensitiveNode:I_}=k_,P_=[function(e){return e.map(e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&0!==e.children.length&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){const[t,...n]=e.children;return e.clone({children:1===t.value.length?n:[t.clone({value:t.value.slice(1)}),...n]})}return e})},function(e){const t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r{if(e.children){const r=e.children.map(t);if(r.some(Boolean)){const t=[];for(let i=0;i"cdata"===e.type,e=>""))},function(e,t){if("html"===t.parser)return e;const n=/{{([\S\s]+?)}}/g;return e.map(e=>{if(!A_(e))return e;const t=[];for(const r of e.children){if("text"!==r.type){t.push(r);continue}const e=r.sourceSpan.constructor;let i=r.sourceSpan.start,o=null;const a=r.value.split(n);for(let n=0;n{if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===S_(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:0!==e.children.length});const t=I_(e),n=j_(e);return e.clone({isWhitespaceSensitive:t,isIndentationSensitive:n,children:e.children.reduce((e,n)=>{if("text"!==n.type||t)return e.concat(n);const r=[],{leadingWhitespace:i,text:o,trailingWhitespace:a}=E_(n.value);i&&r.push({type:"whitespace"});const s=n.sourceSpan.constructor;return o&&r.push({type:"text",value:o,sourceSpan:new s(n.sourceSpan.start.moveBy(i.length),n.sourceSpan.end.moveBy(-a.length))}),a&&r.push({type:"whitespace"}),e.concat(r)},[]).reduce((e,t,n,r)=>{if("whitespace"===t.type)return e;const i=0!==n&&"whitespace"===r[n-1].type,o=n!==r.length-1&&"whitespace"===r[n+1].type;return e.concat(Object.assign({},t,{hasLeadingSpaces:i,hasTrailingSpaces:o}))},[])})})},function(e,t){return e.map(e=>Object.assign(e,{cssDisplay:T_(e,t)}))},function(e){return e.map(e=>Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))},function(e,t){return e.map(e=>"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))}))},function(e,t){return e.map(e=>e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:O_(e)}):e.clone({children:e.children.map(e=>Object.assign({},e,{isLeadingSpaceSensitive:F_(e,t),isTrailingSpaceSensitive:N_(e,t)})).map((e,t,n)=>Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive}))}):e)},function(e){const t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!M_(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r")+i.firstChild.value+"")+o.value,sourceSpan:new a(n.sourceSpan.start,o.sourceSpan.end),isTrailingSpaceSensitive:s,hasTrailingSpaces:u}))}else t.push(i)}return e.clone({children:t})}}return e})}];var B_=function(e,t){for(const n of P_)e=n(e,t);return e},L_={hasPragma:function(e){return/^\s*/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}};const{builders:{concat:R_,group:q_}}=dn;var $_={isVueEventBindingExpression:function(e){const t=e.trim();return/^([\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){const{left:n,operator:r,right:i}=function(e){const t=/([^]*?)\s+(in|of)\s+([^]*)/,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,i=e.match(t);if(!i)return;const o={};o.for=i[3].trim();const a=i[1].trim().replace(r,""),s=a.match(n);return s?(o.alias=a.replace(n,""),o.iterator1=s[1].trim(),s[2]&&(o.iterator2=s[2].trim())):o.alias=a,{left:"".concat([o.alias,o.iterator1,o.iterator2].filter(Boolean).join(",")),operator:i[2],right:o.for}}(e);return R_([q_(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(i,{parser:"__js_expression"},{stripTrailingHardline:!0})])},printVueSlotScope:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueSlotScope:!0},{stripTrailingHardline:!0})}},z_=Ve((function(e){!function(t,n){e.exports?e.exports=n():t.parseSrcset=n()}(Ue,(function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var n,r=t.exec(e.substring(v));if(r)return n=r[0],v+=n.length,n}for(var o,a,s,u,l,c=e.length,h=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,p=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,v=0,y=[];;){if(i(f),v>=c)return y;o=i(d),a=[],","===o.slice(-1)?(o=o.replace(p,""),w()):b()}function b(){for(i(h),s="",u="in descriptor";;){if(l=e.charAt(v),"in descriptor"===u)if(r(l))s&&(a.push(s),s="",u="after descriptor");else{if(","===l)return v+=1,s&&a.push(s),void w();if("("===l)s+=l,u="in parens";else{if(""===l)return s&&a.push(s),void w();s+=l}}else if("in parens"===u)if(")"===l)s+=l,u="in descriptor";else{if(""===l)return a.push(s),void w();s+=l}else if("after descriptor"===u)if(r(l));else{if(""===l)return void w();u="in descriptor",v-=1}v+=1}}function w(){var t,r,i,s,u,l,c,h,f,d=!1,p={};for(s=0;se),r=t.some(({h:e})=>e);if(n+r+t.some(({d:e})=>e)>1)throw new Error("Mixed descriptor in srcset is not supported");const i=n?"w":r?"h":"d",o=n?"w":r?"h":"x",a=e=>Math.max(...e),s=t.map(e=>e.url),u=a(s.map(e=>e.length)),l=t.map(e=>e[i]).map(e=>e?e.toString():""),c=l.map(e=>{const t=e.indexOf(".");return-1===t?e.length:t}),h=a(c);return H_(U_([",",W_]),s.map((e,t)=>{const n=[e],r=l[t];if(r){const i=u-e.length+1,a=h-c[t],s=" ".repeat(i+a);n.push(V_(s," "),r+o)}return U_(n)}))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}};const{builders:K_,utils:{mapDoc:X_,normalizeParts:Y_}}=dn,{replaceEndOfLineWith:J_}=Rt,{print:Z_}=wm,{breakParent:Q_,dedentToRoot:eD,fill:tD,group:nD,hardline:rD,ifBreak:iD,indent:oD,join:aD,line:sD,literalline:uD,softline:lD}=K_,{htmlTrimPreserveIndentation:cD,splitByHtmlWhitespace:hD,countChars:fD,countParents:dD,dedentString:pD,forceBreakChildren:mD,forceBreakContent:gD,forceNextEmptyLine:vD,getLastDescendant:yD,getPrettierIgnoreAttributeCommentData:bD,hasPrettierIgnore:wD,inferScriptParser:xD,isVueCustomBlock:_D,isVueNonHtmlBlock:DD,isScriptLikeTag:CD,isTextLikeNode:kD,preferHardlineAsLeadingSpaces:SD,shouldNotPrintClosingTag:ED,shouldPreserveContent:MD,unescapeQuoteEntities:AD,isPreLikeNode:TD}=k_,{insertPragma:OD}=L_,{printVueFor:jD,printVueSlotScope:FD,isVueEventBindingExpression:ND}=$_,{printImgSrcset:ID,printClassNames:PD}=G_;function BD(e){const t=Y_(e);return 0===t.length?"":1===t.length?t[0]:K_.concat(t)}function LD(e,t,n){const r=e.getValue();if(mD(r))return BD([Q_,BD(e.map(e=>{const t=e.getValue(),n=t.prev?a(t.prev,t):"";return BD([n?BD([n,vD(t.prev)?rD:""]):"",o(e)])},"children"))]);const i=r.children.map(()=>Symbol(""));return BD(e.map((e,t)=>{const n=e.getValue();if(kD(n)){if(n.prev&&kD(n.prev)){const t=a(n.prev,n);if(t)return vD(n.prev)?BD([rD,rD,o(e)]):BD([t,o(e)])}return o(e)}const r=[],s=[],u=[],l=[],c=n.prev?a(n.prev,n):"",h=n.next?a(n,n.next):"";return c&&(vD(n.prev)?r.push(rD,rD):c===rD?r.push(rD):kD(n.prev)?s.push(c):s.push(iD("",lD,{groupId:i[t-1]}))),h&&(vD(n)?kD(n.next)&&l.push(rD,rD):h===rD?kD(n.next)&&l.push(rD):u.push(h)),BD([].concat(r,nD(BD([BD(s),nD(BD([o(e),BD(u)]),{id:i[t]})])),l))},"children"));function o(e){const r=e.getValue();return wD(r)?BD([].concat(ZD(r,t),J_(t.originalText.slice(t.locStart(r)+(r.prev&&GD(r.prev)?tC(r).length:0),t.locEnd(r)-(r.next&&XD(r.next)?iC(r,t).length:0)),uD),eC(r,t))):n(e)}function a(e,t){return kD(e)&&kD(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?SD(t)?rD:sD:"":SD(t)?rD:lD:GD(e)&&(wD(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&0!==t.attrs.length)||"element"===e.type&&e.isSelfClosing&&XD(t)?"":!t.isLeadingSpaceSensitive||SD(t)||XD(t)&&e.lastChild&&JD(e.lastChild)&&e.lastChild.lastChild&&JD(e.lastChild.lastChild)?rD:t.hasLeadingSpaces?sD:lD}}function RD(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&KD(e.firstChild)&&(n-=nC(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&JD(e.lastChild)?r+=rC(e,t).length:YD(e)&&(r-=iC(e.lastChild,t).length),t.originalText.slice(n,r)}function qD(e,t,n){const r=e.getValue();if(!r.attrs||0===r.attrs.length)return r.isSelfClosing?" ":"";const i=r.prev&&"comment"===r.prev.type&&bD(r.prev.value),o="boolean"==typeof i?()=>i:Array.isArray(i)?e=>i.includes(e.rawName):()=>!1,a=e.map(e=>{const r=e.getValue();return o(r)?BD(J_(t.originalText.slice(t.locStart(r),t.locEnd(r)),uD)):n(e)},"attrs"),s="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,u=[oD(BD([s?" ":sD,aD(sD,a)]))];return r.firstChild&&KD(r.firstChild)||r.isSelfClosing&&YD(r.parent)||s?u.push(r.isSelfClosing?" ":""):u.push(r.isSelfClosing?sD:lD),BD(u)}function $D(e,t,n){const r=e.getValue();return BD([zD(r,t),qD(e,t,n),r.isSelfClosing?"":UD(r)])}function zD(e,t){return e.prev&&GD(e.prev)?"":BD([ZD(e,t),tC(e)])}function UD(e){return e.firstChild&&KD(e.firstChild)?"":nC(e)}function VD(e,t){return BD([e.isSelfClosing?"":HD(e,t),WD(e,t)])}function HD(e,t){return e.lastChild&&JD(e.lastChild)?"":BD([QD(e,t),rC(e,t)])}function WD(e,t){return(e.next?XD(e.next):YD(e.parent))?"":BD([iC(e,t),eC(e,t)])}function GD(e){return e.next&&!kD(e.next)&&kD(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function KD(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function XD(e){return e.prev&&"docType"!==e.prev.type&&!kD(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function YD(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!kD(yD(e.lastChild))&&!TD(e)}function JD(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&kD(yD(e))}function ZD(e,t){return KD(e)?nC(e.parent):XD(e)?iC(e.prev,t):""}function QD(e,t){return YD(e)?iC(e.lastChild,t):""}function eC(e,t){return JD(e)?rC(e.parent,t):GD(e)?tC(e.next):""}function tC(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function nC(e){switch(e.isSelfClosing,e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}function rC(e,t){if(e.isSelfClosing,ED(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function oC(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?J_(t,uD):J_(pD(cD(t)),rD):aD(sD,hD(t)).parts}var aC={preprocess:B_,print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return BD(J_(r.raw,uD));case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),K_.concat([nD(LD(e,t,n)),rD]);case"element":case"ieConditionalComment":{if(MD(r,t))return BD([].concat(ZD(r,t),nD($D(e,t,n)),J_(RD(r,t),uD),VD(r,t),eC(r,t)));const o=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,a=Symbol("element-attr-group-id");return BD([nD(BD([nD($D(e,t,n),{id:a}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?sD:"":BD([gD(r)?Q_:"",(i=BD([o?iD(lD,"",{groupId:a}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?sD:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?eD(lD):lD,LD(e,t,n)]),o?iD(oD(i),i,{groupId:a}):!CD(r)&&!_D(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?oD(i):i),(r.next?XD(r.next):YD(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":o?iD(lD,"",{groupId:a}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?sD:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*dD(e,e=>e.parent&&"root"!==e.parent.type),"}$")).test(r.lastChild.value)?"":lD])])),VD(r,t)])}case"ieConditionalStartComment":case"ieConditionalEndComment":return BD([zD(r),WD(r)]);case"interpolation":return BD([zD(r,t),BD(e.map(n,"children")),WD(r,t)]);case"text":if("interpolation"===r.parent.type){const e=/\n[^\S\n]*?$/,t=e.test(r.value),n=t?r.value.replace(e,""):r.value;return BD([BD(J_(n,uD)),t?rD:""])}return tD(Y_([].concat(ZD(r,t),oC(r),eC(r,t))));case"docType":return BD([nD(BD([zD(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")])),WD(r,t)]);case"comment":return BD([ZD(r,t),BD(J_(t.originalText.slice(t.locStart(r),t.locEnd(r)),uD)),eC(r,t)]);case"attribute":{if(null===r.value)return r.rawName;const e=AD(r.value),t=fD(e,"'")AD(e.value);let o=!1;const a=(e,t)=>{const n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(o=!0)},s=e=>nD(e),u=(e,t=!0)=>nD(BD([oD(BD([lD,e])),t?lD:""])),l=e=>o?s(e):u(e),c=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:a},n),{stripTrailingHardline:!0});if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return u(ID(i()));if("class"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return PD(e)}if("style"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return u(c(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return jD(i(),c);if("slot-scope"===e.fullName)return FD(i(),c);const t=["^:","^v-bind:"],n=["^v-","^#"];if(r(["^@","^v-on:"])){const e=i();return l(c(e,{parser:ND(e)?"__js_expression":"__vue_event_binding"}))}if(r(t))return l(c(i(),{parser:"__vue_expression"}));if(r(n))return l(c(i(),{parser:"__js_expression"}))}if("angular"===n.parser){const t=(e,t)=>c(e,Object.assign({},t,{trailingComma:"none"})),n=["^\\*"],o=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],a=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return l(t(i(),{parser:"__ng_action"}));if(r(o))return l(t(i(),{parser:"__ng_binding"}));if(r(a)){const t=i().trim();return u(tD(oC(e,t)),!t.includes("@@"))}if(r(n))return l(t(i(),{parser:"__ng_directive"}));const s=/{{([\S\s]+?)}}/g,h=i();if(s.test(h)){const e=[];return h.split(s).forEach((n,r)=>{if(r%2==0)e.push(BD(J_(n,uD)));else try{e.push(nD(BD(["{{",oD(BD([sD,t(n,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})])),sD,"}}"])))}catch(t){e.push("{{",BD(J_(n,uD)),"}}")}}),nD(BD(e))}}return null}(i,(e,t)=>n(e,Object.assign({__isInHtmlAttribute:!0},t),{stripTrailingHardline:!0}),r);if(e)return BD([i.rawName,'="',nD(X_(e,e=>"string"==typeof e?e.replace(/"/g,"""):e)),'"']);break}case"front-matter":return Z_(i,n)}}},sC={htmlWhitespaceSensitivity:{since:"1.15.0",category:"HTML",type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:"HTML",type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},uC=["xhtml"],lC=[".html",".htm",".html.hl",".inc",".st",".xht",".xhtml"],cC={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:uC,extensions:lC,languageId:146},hC=Object.freeze({__proto__:null,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:uC,extensions:lC,languageId:146,default:cC}),fC=[".vue"],dC={name:"Vue",type:"markup",color:"#2c3e50",extensions:fC,tmScope:"text.html.vue",aceMode:"html",languageId:391},pC=Object.freeze({__proto__:null,name:"Vue",type:"markup",color:"#2c3e50",extensions:fC,tmScope:"text.html.vue",aceMode:"html",languageId:391,default:dC}),mC=He(hC),gC=He(pC),vC={languages:[Du(mC,()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),Du(mC,e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:e.extensions.concat([".mjml"])})),Du(mC,()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),Du(gC,()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],printers:{html:aC},options:sC,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}},yC={isPragma:function(e){return/^\s*@(prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(prettier|format)\s*?(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n".concat(e)}};const{getLast:bC}=Rt;function wC(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function xC(e){return"prettier-ignore"===e.value.trim()}function _C(e){return e&&e.leadingComments&&0!==e.leadingComments.length}function DC(e){return e&&e.middleComments&&0!==e.middleComments.length}function CC(e){return e&&e.indicatorComment}function kC(e){return e&&e.trailingComment}function SC(e){return e&&e.endComments&&0!==e.endComments.length}function EC(e){const t=[];let n;for(const r of e.split(/( +)/g))" "!==r?" "===n?t.push(r):t.push((t.pop()||"")+r):void 0===n&&t.unshift(""),n=r;return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var MC={getLast:bC,getAncestorCount:function(e,t){let n=0;const r=e.stack.length-1;for(let i=0;ie(r,n,t))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0;const r=t.length;for(let i=e.position.end.offset-1;ie.slice(o));return"preserve"===r.proseWrap||"blockLiteral"===e.type?u(s.map(e=>0===e.length?[]:[e])):u(s.map(e=>0===e.length?[]:EC(e)).reduce((e,t,n)=>0===n||0===s[n-1].length||0===t.length||/^\s/.test(t[0])||/^\s|\s$/.test(bC(e))?e.concat([t]):e.concat([e.pop().concat(t)]),[]).map(e=>e.reduce((e,t)=>0!==e.length&&/\s$/.test(bC(e))?e.concat(e.pop()+" "+t):e.concat(t),[])).map(e=>"never"===r.proseWrap?[e.join(" ")]:e));function u(t){if("keep"===e.chomping)return 0===bC(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!n?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function(e,t,n){const r=t.split("\n").map((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart());return"preserve"===n.proseWrap?r.map(e=>0===e.length?[]:[e]):r.map(e=>0===e.length?[]:EC(e)).reduce((t,n,i)=>0===i||0===r[i-1].length||0===n.length||"quoteDouble"===e&&bC(bC(t)).endsWith("\\")?t.concat([n]):t.concat([t.pop().concat(n)]),[]).map(e=>"never"===n.proseWrap?[e.join(" ")]:e)},getLastDescendantNode:function e(t){return"children"in t&&0!==t.children.length?e(bC(t.children)):t},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const t=e.getParentNode();return SC(t.head)&&xC(bC(t.head.endComments))}return _C(t)&&xC(bC(t.leadingComments))},hasLeadingComments:_C,hasMiddleComments:DC,hasIndicatorComment:CC,hasTrailingComment:kC,hasEndComments:SC};const AC=dn.builders,{conditionalGroup:TC,breakParent:OC,concat:jC,dedent:FC,dedentToRoot:NC,fill:IC,group:PC,hardline:BC,ifBreak:LC,join:RC,line:qC,lineSuffix:$C,literalline:zC,markAsRoot:UC,softline:VC}=AC,{replaceEndOfLineWith:HC,isPreviousLineEmpty:WC}=Rt,{insertPragma:GC,isPragma:KC}=yC,{getAncestorCount:XC,getBlockValueLineContents:YC,getFlowScalarLineContents:JC,getLast:ZC,getLastDescendantNode:QC,hasLeadingComments:ek,hasMiddleComments:tk,hasIndicatorComment:nk,hasTrailingComment:rk,hasEndComments:ik,hasPrettierIgnore:ok,isLastDescendantNode:ak,isNextLineEmpty:sk,isNode:uk,isEmptyNode:lk,defineShortcut:ck,mapNode:hk}=MC;function fk(e){switch(e.type){case"document":ck(e,"head",()=>e.children[0]),ck(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":ck(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":ck(e,"key",()=>e.children[0]),ck(e,"value",()=>e.children[1])}return e}function dk(e,t,n,r,i){switch(e.type){case"root":return jC([RC(BC,n.map((t,r)=>{const o=e.children[r],a=e.children[r+1];return jC([i(t),vk(o,a)?jC([BC,"...",rk(o)?jC([" ",n.call(i,"trailingComment")]):""]):!a||rk(a.head)?"":jC([BC,"---"])])},"children")),0===e.children.length||(a=QC(e),uk(a,["blockLiteral","blockFolded"])&&"keep"===a.chomping)?"":BC]);case"document":{const o=t.children[n.getName()+1];return RC(BC,["head"===yk(e,o,t,r)?RC(BC,[0===e.head.children.length&&0===e.head.endComments.length?"":n.call(i,"head"),jC(["---",rk(e.head)?jC([" ",n.call(i,"head","trailingComment")]):""])].filter(Boolean)):"",gk(e)?n.call(i,"body"):""].filter(Boolean))}case"documentHead":return RC(BC,[].concat(n.map(i,"children"),n.map(i,"endComments")));case"documentBody":{const t=RC(BC,n.map(i,"children")).parts,r=RC(BC,n.map(i,"endComments")).parts,o=0===t.length||0===r.length?"":(e=>uk(e,["blockFolded","blockLiteral"])?"keep"===e.chomping?"":jC([BC,BC]):BC)(QC(e));return jC([].concat(t,o,r))}case"directive":return jC(["%",RC(" ",[e.name].concat(e.parameters))]);case"comment":return jC(["#",e.value]);case"alias":return jC(["*",e.value]);case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return jC(["&",e.value]);case"plain":return Dk(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{const t="'",n='"',i=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){const o="quoteDouble"===e.type?n:t;return jC([o,Dk(e.type,i,r),o])}if(i.includes(n))return jC([t,Dk(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):i,r),t]);if(i.includes(t))return jC([n,Dk(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,r),n]);const o=r.singleQuote?t:n;return jC([o,Dk(e.type,i,r),o])}case"blockFolded":case"blockLiteral":{const t=XC(n,e=>uk(e,["sequence","mapping"])),o=ak(n);return jC(["blockFolded"===e.type?">":"|",null===e.indent?"":e.indent.toString(),"clip"===e.chomping?"":"keep"===e.chomping?"+":"-",nk(e)?jC([" ",n.call(i,"indicatorComment")]):"",(null===e.indent?FC:NC)(pk(null===e.indent?r.tabWidth:e.indent-1+t,jC(YC(e,{parentIndent:t,isLastDescendant:o,options:r}).reduce((t,n,r,i)=>t.concat(0===r?BC:"",IC(RC(qC,n).parts),r!==i.length-1?0===n.length?BC:UC(zC):"keep"===e.chomping&&o?0===n.length?NC(BC):NC(zC):""),[]))))])}case"sequence":return RC(BC,n.map(i,"children"));case"sequenceItem":return jC(["- ",pk(2,e.content?n.call(i,"content"):"")]);case"mappingKey":case"mappingValue":return e.content?n.call(i,"content"):"";case"mapping":return RC(BC,n.map(i,"children"));case"mappingItem":case"flowMappingItem":{const o=lk(e.key),a=lk(e.value);if(o&&a)return jC([": "]);const u=n.call(i,"key"),l=n.call(i,"value");if(a)return"flowMappingItem"===e.type&&"flowMapping"===t.type?u:"mappingItem"!==e.type||!bk(e.key.content,r)||rk(e.key.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?jC(["? ",pk(2,u)]):jC([u,wk(e)?" ":"",":"]);if(o)return jC([": ",pk(2,l)]);const c=Symbol("mappingKey");return ek(e.value)||!mk(e.key.content)?jC(["? ",pk(2,u),BC,RC("",n.map(i,"value","leadingComments").map(e=>jC([e,BC]))),": ",pk(2,l)]):!function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(e.key.content)||ek(e.key.content)||tk(e.key.content)||rk(e.key.content)||ik(e.key)||ek(e.value.content)||tk(e.value.content)||ik(e.value)||!bk(e.value.content,r)?TC([jC([PC(jC([LC("? "),PC(pk(2,u),{id:c})])),LC(jC([BC,": ",pk(2,l)]),s(jC([wk(e)?" ":"",":",ek(e.value.content)||ik(e.value)&&e.value.content&&!uk(e.value.content,["mapping","sequence"])||"mapping"===t.type&&rk(e.key.content)&&mk(e.value.content)||uk(e.value.content,["mapping","sequence"])&&null===e.value.content.tag&&null===e.value.content.anchor?BC:e.value.content?qC:"",l])),{groupId:c})])]):jC([u,wk(e)?" ":"",": ",l])}case"flowMapping":case"flowSequence":{const t="flowMapping"===e.type?"{":"[",a="flowMapping"===e.type?"}":"]",u="flowMapping"===e.type&&0!==e.children.length&&r.bracketSpacing?qC:VC,l=0!==e.children.length&&"flowMappingItem"===(o=ZC(e.children)).type&&lk(o.key)&&lk(o.value);return jC([t,s(jC([u,jC(n.map((t,n)=>jC([i(t),n===e.children.length-1?"":jC([",",qC,e.children[n].position.start.line!==e.children[n+1].position.start.line?_k(t,r.originalText):""])]),"children")),LC(",","")])),l?"":u,a])}case"flowSequenceItem":return n.call(i,"content");default:throw new Error("Unexpected node type ".concat(e.type))}var o,a;function s(e){return AC.align(" ".repeat(r.tabWidth),e)}}function pk(e,t){return"number"==typeof e&&e>0?AC.align(" ".repeat(e),t):AC.align(e,t)}function mk(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}function gk(e){return 0!==e.body.children.length||ik(e.body)}function vk(e,t){return rk(e)||t&&(0!==t.head.children.length||ik(t.head))}function yk(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(r.locStart(e),r.locStart(e)+4))||0!==e.head.children.length||ik(e.head)||rk(e.head)?"head":!vk(e,t)&&!!t&&"root"}function bk(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function wk(e){return e.key.content&&"alias"===e.key.content.type}function xk(e){return ik(e)&&!uk(e,["documentHead","documentBody"])}function _k(e,t){const n=e.getValue(),r=e.stack[0];return r.isNextEmptyLinePrintedChecklist=r.isNextEmptyLinePrintedChecklist||[],r.isNextEmptyLinePrintedChecklist[n.position.end.line]||!sk(n,t)||(r.isNextEmptyLinePrintedChecklist[n.position.end.line]=!0,xk(e.getParentNode()))?"":VC}function Dk(e,t,n){const r=JC(e,t,n);return RC(BC,r.map(e=>IC(RC(qC,e).parts)))}var Ck={preprocess:function(e){return hk(e,fk)},print:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),o=r.tag?e.call(n,"tag"):"",a=r.anchor?e.call(n,"anchor"):"",s=uk(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!ak(e)?_k(e,t.originalText):"";return jC(["mappingValue"!==r.type&&ek(r)?jC([RC(BC,e.map(n,"leadingComments")),BC]):"",o,o&&a?" ":"",a,o||a?uk(r,["sequence","mapping"])&&!tk(r)?BC:" ":"",tk(r)?jC([1===r.middleComments.length?"":BC,RC(BC,e.map(n,"middleComments")),BC]):"",ok(e)?jC(HC(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),zC)):PC(dk(r,i,e,t,n)),rk(r)&&!uk(r,["document","documentHead"])?$C(jC(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===i.type&&"mapping"===e.getParentNode(2).type&&mk(r)?"":OC,e.call(n,"trailingComment")])):"",xk(r)?pk("sequenceItem"===r.type?2:0,jC([BC,RC(BC,e.map(e=>jC([WC(t.originalText,e.getValue(),t.locStart)?BC:"",n(e)]),"endComments"))])):"",s])},massageAstNode:function(e,t){if(uk(t))switch(delete t.position,t.type){case"comment":if(KC(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:GC},kk={bracketSpacing:Ap.bracketSpacing,singleQuote:Ap.singleQuote,proseWrap:Ap.proseWrap},Sk=["yml"],Ek=[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],Mk=[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],Ak={name:"YAML",type:"data",tmScope:"source.yaml",aliases:Sk,extensions:Ek,filenames:Mk,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},Tk=[dm,yv,Cy,Vy,gw,vC,{languages:[Du(He(Object.freeze({__proto__:null,name:"YAML",type:"data",tmScope:"source.yaml",aliases:Sk,extensions:Ek,filenames:Mk,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407,default:Ak})),e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:e.filenames.filter(e=>"yarn.lock"!==e)}))],printers:{yaml:Ck},options:kk,parsers:{get yaml(){return{}.parsers.yaml}}}];const{version:Ok}=mt,{getSupportInfo:jk}=bt,Fk=Tk.map(t=>e(t,["parsers"]));function Nk(e,t=1){return(...n)=>{const r=n[t]||{},i=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[...Fk,...Array.isArray(i)?i:Object.values(i)]}),e(...n)}}const Ik=Nk(Zs.formatWithCursor);return{formatWithCursor:Ik,format:(e,t)=>Ik(e,t).formatted,check(e,t){const{formatted:n}=Ik(e,t);return n===e},doc:dn,getSupportInfo:Nk(jk,0),version:Ok,util:_u,__debug:{parse:Nk(Zs.parse),formatAST:Nk(Zs.formatAST),formatDoc:Nk(Zs.formatDoc),printToDoc:Nk(Zs.printToDoc),printDocToString:Nk(Zs.printDocToString)}}}))}).call(this,n("c8ba"))},3300:function(e,t,n){"use strict";var r=n("f3a3"),i=n("80af"),o=n("3fb5"),a=n("ea53"),s=r.assert;function u(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,n,r){a.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,n,r){a.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(u,a),e.exports=u,u.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var o=this._getEndoRoots(this.p);t=o[0].cmp(o[1])<0?o[0]:o[1],t=t.toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var a=this._getEndoRoots(this.n);0===this.g.mul(a[0]).x.cmp(this.g.x.redMul(t))?n=a[0]:(n=a[1],s(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return r=e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n),{beta:t,lambda:n,basis:r}}},u.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(n),a=r.redAdd(o).fromRed(),s=r.redSub(o).fromRed();return[a,s]},u.prototype._getEndoBasis=function(e){var t,n,r,o,a,s,u,l,c,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,d=this.n.clone(),p=new i(1),m=new i(0),g=new i(0),v=new i(1),y=0;while(0!==f.cmpn(0)){var b=d.div(f);l=d.sub(b.mul(f)),c=g.sub(b.mul(p));var w=v.sub(b.mul(m));if(!r&&l.cmp(h)<0)t=u.neg(),n=p,r=l.neg(),o=c;else if(r&&2===++y)break;u=l,d=f,f=l,g=p,p=c,v=m,m=w}a=l.neg(),s=c;var x=r.sqr().add(o.sqr()),_=a.sqr().add(s.sqr());return _.cmp(x)>=0&&(a=t,s=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:r,b:o},{a:a,b:s}]},u.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),u=i.mul(n.b),l=o.mul(r.b),c=e.sub(a).sub(s),h=u.add(l).neg();return{k1:c,k2:h}},u.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},u.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},u.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},l.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},l.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e},o(c,a.BasePoint),u.prototype.jpoint=function(e,t,n){return new c(this,e,t,n)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(n.redMul(this.z)),s=r.redSub(i),u=o.redSub(a);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),c=l.redMul(s),h=r.redMul(l),f=u.redSqr().redIAdd(c).redISub(h).redISub(h),d=u.redMul(h.redISub(f)).redISub(o.redMul(c)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(f,d,p)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),c=n.redMul(u),h=s.redSqr().redIAdd(l).redISub(c).redISub(c),f=s.redMul(c.redISub(h)).redISub(i.redMul(l)),d=this.z.redMul(a);return this.curve.jpoint(h,f,d)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,n=0;n=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3337:function(e,t,n){"use strict";var r=t;r.version=n("2801").version,r.utils=n("f3a3"),r.rand=n("fdac"),r.curve=n("4136"),r.curves=n("0cbb"),r.ec=n("b9a8"),r.eddsa=n("945d")},"334a":function(e,t,n){t=e.exports=n("4250"),t.Stream=t,t.Readable=t,t.Writable=n("19ea"),t.Duplex=n("e666"),t.Transform=n("09dc"),t.PassThrough=n("0ae3"),t.finished=n("ee93"),t.pipeline=n("fbd5")},3397:function(e,t,n){var r=n("7a41");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"33b7":function(e,t,n){"use strict";var r=n("02cc"),i=n("44d1"),o=function(e,t,n){return t=i.extend({decodeEntities:!1},t||{}),e=n(e),r.load(e,t)},a=function(){var t=[],n=function(n){var r=e.exports.codeBlocks;return Object.keys(r).forEach((function(e){var i=new RegExp(r[e].start+"([\\S\\s]*?)"+r[e].end,"g");n=n.replace(i,(function(e,n){return t.push(e),"JUICE_CODE_BLOCK_"+(t.length-1)+"_"}))})),n},r=function(e){for(var n=0;n"},HBS:{start:"{{",end:"}}"}}},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},3438:function(e,t,n){var r=n("164b");e.exports=r},"343e":function(e,t,n){"use strict";const r=t;r.der=n("3768"),r.pem=n("85b3")},3452:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("3252"),n("17e1"),n("a8ce"),n("1132"),n("72fe"),n("df2f"),n("94f8"),n("191b"),n("d6e6"),n("b86b"),n("e61b"),n("10b7"),n("5980"),n("7bbc"),n("2b79"),n("38ba"),n("00bb"),n("f4ea"),n("aaef"),n("4ba9"),n("81bf"),n("a817"),n("a11b"),n("8cef"),n("2a66"),n("b86c"),n("6d08"),n("c198"),n("a40e"),n("c3b6"),n("1382"),n("3d5a"))})(0,(function(e){return e}))},"34d5":function(e,t,n){t=e.exports=n("cf35"),t.Stream=t,t.Readable=t,t.Writable=n("49ce"),t.Duplex=n("5e7d"),t.Transform=n("f1c8"),t.PassThrough=n("9d28"),t.finished=n("42a7"),t.pipeline=n("ac4f")},3505:function(e,t,n){var r=n("8707").Buffer,i=n("8c8a");function o(e,t,n){var o=t.length,a=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=r.concat([e._prev,n?t:a]),a}t.encrypt=function(e,t,n){var i,a=r.allocUnsafe(0);while(t.length){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){a=r.concat([a,o(e,t,n)]);break}i=e._cache.length,a=r.concat([a,o(e,t.slice(0,i),n)]),t=t.slice(i)}return a}},"35a1":function(e,t,n){var r=n("f5df"),i=n("3f8c"),o=n("b622"),a=o("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||i[r(e)]}},"35ae":function(e,t,n){(function(e,n){var r=200,i="Expected a function",o="__lodash_hash_undefined__",a=1,s=2,u=1/0,l=9007199254740991,c="[object Arguments]",h="[object Array]",f="[object Boolean]",d="[object Date]",p="[object Error]",m="[object Function]",g="[object GeneratorFunction]",v="[object Map]",y="[object Number]",b="[object Object]",w="[object Promise]",x="[object RegExp]",_="[object Set]",D="[object String]",C="[object Symbol]",k="[object WeakMap]",S="[object ArrayBuffer]",E="[object DataView]",M="[object Float32Array]",A="[object Float64Array]",T="[object Int8Array]",O="[object Int16Array]",j="[object Int32Array]",F="[object Uint8Array]",N="[object Uint8ClampedArray]",I="[object Uint16Array]",P="[object Uint32Array]",B=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/,R=/^\./,q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$=/[\\^$.*+?()[\]{}|]/g,z=/\\(\\)?/g,U=/^\[object .+?Constructor\]$/,V=/^(?:0|[1-9]\d*)$/,H={};H[M]=H[A]=H[T]=H[O]=H[j]=H[F]=H[N]=H[I]=H[P]=!0,H[c]=H[h]=H[S]=H[f]=H[E]=H[d]=H[p]=H[m]=H[v]=H[y]=H[b]=H[x]=H[_]=H[D]=H[k]=!1;var W="object"==typeof e&&e&&e.Object===Object&&e,G="object"==typeof self&&self&&self.Object===Object&&self,K=W||G||Function("return this")(),X=t&&!t.nodeType&&t,Y=X&&"object"==typeof n&&n&&!n.nodeType&&n,J=Y&&Y.exports===X,Z=J&&W.process,Q=function(){try{return Z&&Z.binding("util")}catch(e){}}(),ee=Q&&Q.isTypedArray;function te(e,t){var n=-1,r=e?e.length:0,i=Array(r);while(++n-1}function Ye(e,t){var n=this.__data__,r=dt(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function Je(e){var t=-1,n=e?e.length:0;this.clear();while(++tl))return!1;var h=o.get(e);if(h&&o.get(t))return h==t;var f=-1,d=!0,p=i&a?new rt:void 0;o.set(e,t),o.set(t,e);while(++f-1&&e%1==0&&e-1&&e%1==0&&e<=l}function ln(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function cn(e){return!!e&&"object"==typeof e}function hn(e){return"symbol"==typeof e||cn(e)&&ye.call(e)==C}var fn=ee?oe(ee):Ct;function dn(e){return null==e?"":Ot(e)}function pn(e,t,n){var r=null==e?void 0:vt(e,t);return void 0===r?n:r}function mn(e,t){return null!=e&&zt(e,t,bt)}function gn(e){return on(e)?ft(e):St(e)}function vn(e){return e}function yn(e){return Vt(e)?re(Jt(e)):Tt(e)}n.exports=Qt}).call(this,n("c8ba"),n("62e4")(e))},"36cc":function(e,t,n){var r=n("4d1e"),i=/\s+/g,o=n("01d0"),a=n("66ec");function s(e,t,n){"object"===typeof e?(n=t,t=e,e=null):"function"===typeof t&&(n=t,t=u),this._callback=e,this._options=t||u,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var u={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(e){this._parser=e},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(e){if("function"===typeof this._callback)this._callback(e,this.dom);else if(e)throw e},s.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},s.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var n in t="tag"===e.type?Object.create(a):Object.create(o),e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},s.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],n=t?t.children:this.dom,r=n[n.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),r?(e.prev=r,r.next=e):e.prev=null,n.push(e),e.parent=t||null},s.prototype.onopentag=function(e,t){var n={type:"script"===e?r.Script:"style"===e?r.Style:r.Tag,name:e,attribs:t,children:[]},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)},s.prototype.ontext=function(e){var t,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else{n&&(e=e.replace(i," "));var o=this._createDomElement({data:e,type:r.Text});this._addDomElement(o)}},s.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===r.Comment)t.data+=e;else{var n={data:e,type:r.Comment},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)}},s.prototype.oncdatastart=function(){var e={children:[{data:"",type:r.Text}],type:r.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(e,t){var n=this._createDomElement({name:e,data:t,type:r.Directive});this._addDomElement(n)},e.exports=s},3768:function(e,t,n){"use strict";const r=n("3fb5"),i=n("c591").Buffer,o=n("8360"),a=n("8b71");function s(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){o.call(this,"der",e)}function l(e){return e<10?"0"+e:e}function c(e,t,n,r){let i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),a.tagByName.hasOwnProperty(e))i=a.tagByName[e];else{if("number"!==typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);i=e}return i>=31?r.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=a.tagClassByName[n||"universal"]<<6,i)}e.exports=s,s.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(u,o),u.prototype._encodeComposite=function(e,t,n,r){const o=c(e,t,n,this.reporter);if(r.length<128){const e=i.alloc(2);return e[0]=o,e[1]=r.length,this._createEncoderBuffer([e,r])}let a=1;for(let i=r.length;i>=256;i>>=8)a++;const s=i.alloc(2+a);s[0]=o,s[1]=128|a;for(let i=1+a,u=r.length;u>0;i--,u>>=8)s[i]=255&u;return this._createEncoderBuffer([s,r])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=i.alloc(2*e.length);for(let n=0;n=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let r=0;for(let i=0;i=128;t>>=7)r++}const o=i.alloc(r);let a=o.length-1;for(let i=e.length-1;i>=0;i--){let t=e[i];o[a--]=127&t;while((t>>=7)>0)o[a--]=128|127&t}return this._createEncoderBuffer(o)},u.prototype._encodeTime=function(e,t){let n;const r=new Date(e);return"gentime"===t?n=[l(r.getUTCFullYear()),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[l(r.getUTCFullYear()%100),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"===typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!==typeof e&&!i.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=i.from(t)}if(i.isBuffer(e)){let t=e.length;0===e.length&&t++;const n=i.alloc(t);return e.copy(n),0===e.length&&(n[0]=0),this._createEncoderBuffer(n)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let n=1;for(let i=e;i>=256;i>>=8)n++;const r=new Array(n);for(let i=r.length-1;i>=0;i--)r[i]=255&e,e>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,n){const r=this._baseState;let i;if(null===r["default"])return!1;const o=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r["default"],t,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,o+=24,o>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}function d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],a=i*o+h,c+=a/67108864|0,h=67108863&a}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215,n=0!==o||a!==this.length-1?l[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,a--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var f=c[e],d=h[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modn(d).toString(e);p=p.idivn(d),n=p.isZero()?m+n:l[f-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===t,l=new e(o),c=this.clone();if(u){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),l[s]=a;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],w=8191&b,x=b>>>13,_=0|a[4],D=8191&_,C=_>>>13,k=0|a[5],S=8191&k,E=k>>>13,M=0|a[6],A=8191&M,T=M>>>13,O=0|a[7],j=8191&O,F=O>>>13,N=0|a[8],I=8191&N,P=N>>>13,B=0|a[9],L=8191&B,R=B>>>13,q=0|s[0],$=8191&q,z=q>>>13,U=0|s[1],V=8191&U,H=U>>>13,W=0|s[2],G=8191&W,K=W>>>13,X=0|s[3],Y=8191&X,J=X>>>13,Z=0|s[4],Q=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,le=se>>>13,ce=0|s[8],he=8191&ce,fe=ce>>>13,de=0|s[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,$),i=Math.imul(h,z),i=i+Math.imul(f,$)|0,o=Math.imul(f,z);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,$),i=Math.imul(p,z),i=i+Math.imul(m,$)|0,o=Math.imul(m,z),r=r+Math.imul(h,V)|0,i=i+Math.imul(h,H)|0,i=i+Math.imul(f,V)|0,o=o+Math.imul(f,H)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,$),i=Math.imul(v,z),i=i+Math.imul(y,$)|0,o=Math.imul(y,z),r=r+Math.imul(p,V)|0,i=i+Math.imul(p,H)|0,i=i+Math.imul(m,V)|0,o=o+Math.imul(m,H)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,$),i=Math.imul(w,z),i=i+Math.imul(x,$)|0,o=Math.imul(x,z),r=r+Math.imul(v,V)|0,i=i+Math.imul(v,H)|0,i=i+Math.imul(y,V)|0,o=o+Math.imul(y,H)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(D,$),i=Math.imul(D,z),i=i+Math.imul(C,$)|0,o=Math.imul(C,z),r=r+Math.imul(w,V)|0,i=i+Math.imul(w,H)|0,i=i+Math.imul(x,V)|0,o=o+Math.imul(x,H)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(S,$),i=Math.imul(S,z),i=i+Math.imul(E,$)|0,o=Math.imul(E,z),r=r+Math.imul(D,V)|0,i=i+Math.imul(D,H)|0,i=i+Math.imul(C,V)|0,o=o+Math.imul(C,H)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(A,$),i=Math.imul(A,z),i=i+Math.imul(T,$)|0,o=Math.imul(T,z),r=r+Math.imul(S,V)|0,i=i+Math.imul(S,H)|0,i=i+Math.imul(E,V)|0,o=o+Math.imul(E,H)|0,r=r+Math.imul(D,G)|0,i=i+Math.imul(D,K)|0,i=i+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,ae)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,ae)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(j,$),i=Math.imul(j,z),i=i+Math.imul(F,$)|0,o=Math.imul(F,z),r=r+Math.imul(A,V)|0,i=i+Math.imul(A,H)|0,i=i+Math.imul(T,V)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(S,G)|0,i=i+Math.imul(S,K)|0,i=i+Math.imul(E,G)|0,o=o+Math.imul(E,K)|0,r=r+Math.imul(D,Y)|0,i=i+Math.imul(D,J)|0,i=i+Math.imul(C,Y)|0,o=o+Math.imul(C,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,ae)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(I,$),i=Math.imul(I,z),i=i+Math.imul(P,$)|0,o=Math.imul(P,z),r=r+Math.imul(j,V)|0,i=i+Math.imul(j,H)|0,i=i+Math.imul(F,V)|0,o=o+Math.imul(F,H)|0,r=r+Math.imul(A,G)|0,i=i+Math.imul(A,K)|0,i=i+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,r=r+Math.imul(S,Y)|0,i=i+Math.imul(S,J)|0,i=i+Math.imul(E,Y)|0,o=o+Math.imul(E,J)|0,r=r+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,ae)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,$),i=Math.imul(L,z),i=i+Math.imul(R,$)|0,o=Math.imul(R,z),r=r+Math.imul(I,V)|0,i=i+Math.imul(I,H)|0,i=i+Math.imul(P,V)|0,o=o+Math.imul(P,H)|0,r=r+Math.imul(j,G)|0,i=i+Math.imul(j,K)|0,i=i+Math.imul(F,G)|0,o=o+Math.imul(F,K)|0,r=r+Math.imul(A,Y)|0,i=i+Math.imul(A,J)|0,i=i+Math.imul(T,Y)|0,o=o+Math.imul(T,J)|0,r=r+Math.imul(S,Q)|0,i=i+Math.imul(S,ee)|0,i=i+Math.imul(E,Q)|0,o=o+Math.imul(E,ee)|0,r=r+Math.imul(D,ne)|0,i=i+Math.imul(D,re)|0,i=i+Math.imul(C,ne)|0,o=o+Math.imul(C,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,ae)|0,i=i+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(L,V),i=Math.imul(L,H),i=i+Math.imul(R,V)|0,o=Math.imul(R,H),r=r+Math.imul(I,G)|0,i=i+Math.imul(I,K)|0,i=i+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(j,Y)|0,i=i+Math.imul(j,J)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,J)|0,r=r+Math.imul(A,Q)|0,i=i+Math.imul(A,ee)|0,i=i+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(S,ne)|0,i=i+Math.imul(S,re)|0,i=i+Math.imul(E,ne)|0,o=o+Math.imul(E,re)|0,r=r+Math.imul(D,oe)|0,i=i+Math.imul(D,ae)|0,i=i+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(x,ue)|0,o=o+Math.imul(x,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,G),i=Math.imul(L,K),i=i+Math.imul(R,G)|0,o=Math.imul(R,K),r=r+Math.imul(I,Y)|0,i=i+Math.imul(I,J)|0,i=i+Math.imul(P,Y)|0,o=o+Math.imul(P,J)|0,r=r+Math.imul(j,Q)|0,i=i+Math.imul(j,ee)|0,i=i+Math.imul(F,Q)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(A,ne)|0,i=i+Math.imul(A,re)|0,i=i+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(S,oe)|0,i=i+Math.imul(S,ae)|0,i=i+Math.imul(E,oe)|0,o=o+Math.imul(E,ae)|0,r=r+Math.imul(D,ue)|0,i=i+Math.imul(D,le)|0,i=i+Math.imul(C,ue)|0,o=o+Math.imul(C,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(x,he)|0,o=o+Math.imul(x,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,Y),i=Math.imul(L,J),i=i+Math.imul(R,Y)|0,o=Math.imul(R,J),r=r+Math.imul(I,Q)|0,i=i+Math.imul(I,ee)|0,i=i+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,r=r+Math.imul(j,ne)|0,i=i+Math.imul(j,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(A,oe)|0,i=i+Math.imul(A,ae)|0,i=i+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(S,ue)|0,i=i+Math.imul(S,le)|0,i=i+Math.imul(E,ue)|0,o=o+Math.imul(E,le)|0,r=r+Math.imul(D,he)|0,i=i+Math.imul(D,fe)|0,i=i+Math.imul(C,he)|0,o=o+Math.imul(C,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(x,pe)|0,o=o+Math.imul(x,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,Q),i=Math.imul(L,ee),i=i+Math.imul(R,Q)|0,o=Math.imul(R,ee),r=r+Math.imul(I,ne)|0,i=i+Math.imul(I,re)|0,i=i+Math.imul(P,ne)|0,o=o+Math.imul(P,re)|0,r=r+Math.imul(j,oe)|0,i=i+Math.imul(j,ae)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,ae)|0,r=r+Math.imul(A,ue)|0,i=i+Math.imul(A,le)|0,i=i+Math.imul(T,ue)|0,o=o+Math.imul(T,le)|0,r=r+Math.imul(S,he)|0,i=i+Math.imul(S,fe)|0,i=i+Math.imul(E,he)|0,o=o+Math.imul(E,fe)|0,r=r+Math.imul(D,pe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(C,pe)|0,o=o+Math.imul(C,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,ne),i=Math.imul(L,re),i=i+Math.imul(R,ne)|0,o=Math.imul(R,re),r=r+Math.imul(I,oe)|0,i=i+Math.imul(I,ae)|0,i=i+Math.imul(P,oe)|0,o=o+Math.imul(P,ae)|0,r=r+Math.imul(j,ue)|0,i=i+Math.imul(j,le)|0,i=i+Math.imul(F,ue)|0,o=o+Math.imul(F,le)|0,r=r+Math.imul(A,he)|0,i=i+Math.imul(A,fe)|0,i=i+Math.imul(T,he)|0,o=o+Math.imul(T,fe)|0,r=r+Math.imul(S,pe)|0,i=i+Math.imul(S,me)|0,i=i+Math.imul(E,pe)|0,o=o+Math.imul(E,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(L,oe),i=Math.imul(L,ae),i=i+Math.imul(R,oe)|0,o=Math.imul(R,ae),r=r+Math.imul(I,ue)|0,i=i+Math.imul(I,le)|0,i=i+Math.imul(P,ue)|0,o=o+Math.imul(P,le)|0,r=r+Math.imul(j,he)|0,i=i+Math.imul(j,fe)|0,i=i+Math.imul(F,he)|0,o=o+Math.imul(F,fe)|0,r=r+Math.imul(A,pe)|0,i=i+Math.imul(A,me)|0,i=i+Math.imul(T,pe)|0,o=o+Math.imul(T,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,ue),i=Math.imul(L,le),i=i+Math.imul(R,ue)|0,o=Math.imul(R,le),r=r+Math.imul(I,he)|0,i=i+Math.imul(I,fe)|0,i=i+Math.imul(P,he)|0,o=o+Math.imul(P,fe)|0,r=r+Math.imul(j,pe)|0,i=i+Math.imul(j,me)|0,i=i+Math.imul(F,pe)|0,o=o+Math.imul(F,me)|0;var je=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(L,he),i=Math.imul(L,fe),i=i+Math.imul(R,he)|0,o=Math.imul(R,fe),r=r+Math.imul(I,pe)|0,i=i+Math.imul(I,me)|0,i=i+Math.imul(P,pe)|0,o=o+Math.imul(P,me)|0;var Fe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,r=Math.imul(L,pe),i=Math.imul(L,me),i=i+Math.imul(R,pe)|0,o=Math.imul(R,me);var Ne=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=xe,u[6]=_e,u[7]=De,u[8]=Ce,u[9]=ke,u[10]=Se,u[11]=Ee,u[12]=Me,u[13]=Ae,u[14]=Te,u[15]=Oe,u[16]=je,u[17]=Fe,u[18]=Ne,0!==l&&(u[19]=l,n.length++),n};function m(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=a>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function g(e,t,n){var r=new v;return r.mulp(e,t,n)}function v(e,t){this.x=e,this.y=t}Math.imul||(p=d),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?p(this,e,t):r<63?d(this,e,t):r<1024?m(this,e,t):g(this,e,t),n},v.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},v.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=f(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&s}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,a=0|i.words[i.length-1],s=this._countBits(a);n=26-s,0!==n&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),a=new o(0),s=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(h)),i.iushrn(1),a.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(s.isOdd()||u.isOdd())&&(s.iadd(c),u.isub(h)),s.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(u)):(n.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,a=new o(1),s=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return i=0===t.cmpn(1)?a:s,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function x(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function D(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(w,b),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new x;else if("p192"===e)t=new _;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new D}return y[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),a=0;while(!i.isZero()&&0===i.andln(1))a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=a;while(0!==d.cmp(s)){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;a!==r[0]&&(a=this.sqr(a)),0!==f||0!==s?(s<<=1,s|=f,u++,(u===n||0===i&&0===h)&&(a=this.mul(a,r[s]),u=0,s=0)):u=0}l=26}return a},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,C),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},k.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"37e8":function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),a=n("df75");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=a(t),s=r.length,u=0;while(s>u)i.f(e,n=r[u++],t[n]);return e}},"380f":function(e,t,n){"use strict";var r=n("f3a3"),i=r.assert,o=r.parseBytes,a=r.cachedProperty;function s(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},s.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},e.exports=s},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},"38ba":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("2b79"))})(0,(function(e){e.lib.Cipher||function(t){var n=e,r=n.lib,i=r.Base,o=r.WordArray,a=r.BufferedBlockAlgorithm,s=n.enc,u=(s.Utf8,s.Base64),l=n.algo,c=l.EvpKDF,h=r.Cipher=a.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?D:w}return function(t){return{encrypt:function(n,r,i){return e(r).encrypt(t,n,r,i)},decrypt:function(n,r,i){return e(r).decrypt(t,n,r,i)}}}}()}),f=(r.StreamCipher=h.extend({_doFinalize:function(){var e=this._process(!0);return e},blockSize:1}),n.mode={}),d=r.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=f.CBC=function(){var e=d.extend();function n(e,n,r){var i,o=this._iv;o?(i=o,this._iv=t):i=this._prevBlock;for(var a=0;a>>2];e.sigBytes-=t}},v=(r.BlockCipher=h.extend({cfg:h.cfg.extend({mode:p,padding:g}),reset:function(){var e;h.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=n.format={},b=y.OpenSSL={stringify:function(e){var t,n=e.ciphertext,r=e.salt;return t=r?o.create([1398893684,1701076831]).concat(r).concat(n):n,t.toString(u)},parse:function(e){var t,n=u.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=o.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),v.create({ciphertext:n,salt:t})}},w=r.SerializableCipher=i.extend({cfg:i.extend({format:b}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),a=i.cfg;return v.create({ciphertext:o,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=e.createDecryptor(n,r).finalize(t.ciphertext);return i},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),x=n.kdf={},_=x.OpenSSL={execute:function(e,t,n,r){r||(r=o.random(8));var i=c.create({keySize:t+n}).compute(e,r),a=o.create(i.words.slice(t),4*n);return i.sigBytes=4*t,v.create({key:i,iv:a,salt:r})}},D=r.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:_}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=r.kdf.execute(n,e.keySize,e.ivSize);r.iv=i.iv;var o=w.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);r.iv=i.iv;var o=w.decrypt.call(this,e,t,i.key,r);return o}})}()}))},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"393a":function(e,t,n){"use strict";var r=n("e444"),i=n("512c"),o=n("ba01"),a=n("051b"),s=n("8a0d"),u=n("26dd"),l=n("92f0"),c=n("ce7a"),h=n("cc15")("iterator"),f=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,y,b,w){u(n,t,v);var x,_,D,C=function(e){if(!f&&e in M)return M[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",S=y==m,E=!1,M=e.prototype,A=M[h]||M[d]||y&&M[y],T=A||C(y),O=y?S?C("entries"):T:void 0,j="Array"==t&&M.entries||A;if(j&&(D=c(j.call(new e)),D!==Object.prototype&&D.next&&(l(D,k,!0),r||"function"==typeof D[h]||a(D,h,g))),S&&A&&A.name!==m&&(E=!0,T=function(){return A.call(this)}),r&&!w||!f&&!E&&M[h]||a(M,h,T),s[t]=T,s[k]=g,y)if(x={values:S?T:C(m),keys:b?T:C(p),entries:O},w)for(_ in x)_ in M||o(M,_,x[_]);else i(i.P+i.F*(f||E),t,x);return x}},"399f":function(e,t,n){(function(e){(function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a=n(13).Buffer}catch(A){}function s(e,t,n){for(var i=0,o=Math.min(e.length,n),a=0,s=t;s=49&&l<=54?l-49+10:l>=17&&l<=22?l-17+10:l,i|=u,a|=u}return r(!(240&a),"Invalid character in "+e),i}function u(e,t,n,i){for(var o=0,a=0,s=Math.min(e.length,n),u=t;u=49?l-49+10:l>=17?l-17+10:l,r(l>=0&&a0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,o+=24,o>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=c}catch(A){o.prototype.inspect=c}else o.prototype.inspect=c;function c(){return(this.red?""}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215,n=0!==o||a!==this.length-1?h[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,a--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=f[e],c=d[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modrn(c).toString(e);p=p.idivn(c),n=p.isZero()?m+n:h[l-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};var p=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)};function m(e){for(var t=new Array(e.bitLength()),n=0;n>>i&1}return t}function g(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],a=i*o+h,c+=a/67108864|0,h=67108863&a}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n._strip()}o.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=p(e,o),s="le"===t?"LE":"BE";return this["_toArrayLike"+s](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(e[n--]=a>>8&255),n>=0&&(e[n--]=a>>16&255),6===o?(n>=0&&(e[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0){e[n--]=r;while(n>=0)e[n--]=0}},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],w=8191&b,x=b>>>13,_=0|a[4],D=8191&_,C=_>>>13,k=0|a[5],S=8191&k,E=k>>>13,M=0|a[6],A=8191&M,T=M>>>13,O=0|a[7],j=8191&O,F=O>>>13,N=0|a[8],I=8191&N,P=N>>>13,B=0|a[9],L=8191&B,R=B>>>13,q=0|s[0],$=8191&q,z=q>>>13,U=0|s[1],V=8191&U,H=U>>>13,W=0|s[2],G=8191&W,K=W>>>13,X=0|s[3],Y=8191&X,J=X>>>13,Z=0|s[4],Q=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,le=se>>>13,ce=0|s[8],he=8191&ce,fe=ce>>>13,de=0|s[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,$),i=Math.imul(h,z),i=i+Math.imul(f,$)|0,o=Math.imul(f,z);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,$),i=Math.imul(p,z),i=i+Math.imul(m,$)|0,o=Math.imul(m,z),r=r+Math.imul(h,V)|0,i=i+Math.imul(h,H)|0,i=i+Math.imul(f,V)|0,o=o+Math.imul(f,H)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,$),i=Math.imul(v,z),i=i+Math.imul(y,$)|0,o=Math.imul(y,z),r=r+Math.imul(p,V)|0,i=i+Math.imul(p,H)|0,i=i+Math.imul(m,V)|0,o=o+Math.imul(m,H)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,$),i=Math.imul(w,z),i=i+Math.imul(x,$)|0,o=Math.imul(x,z),r=r+Math.imul(v,V)|0,i=i+Math.imul(v,H)|0,i=i+Math.imul(y,V)|0,o=o+Math.imul(y,H)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(D,$),i=Math.imul(D,z),i=i+Math.imul(C,$)|0,o=Math.imul(C,z),r=r+Math.imul(w,V)|0,i=i+Math.imul(w,H)|0,i=i+Math.imul(x,V)|0,o=o+Math.imul(x,H)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(S,$),i=Math.imul(S,z),i=i+Math.imul(E,$)|0,o=Math.imul(E,z),r=r+Math.imul(D,V)|0,i=i+Math.imul(D,H)|0,i=i+Math.imul(C,V)|0,o=o+Math.imul(C,H)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(A,$),i=Math.imul(A,z),i=i+Math.imul(T,$)|0,o=Math.imul(T,z),r=r+Math.imul(S,V)|0,i=i+Math.imul(S,H)|0,i=i+Math.imul(E,V)|0,o=o+Math.imul(E,H)|0,r=r+Math.imul(D,G)|0,i=i+Math.imul(D,K)|0,i=i+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,ae)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,ae)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(j,$),i=Math.imul(j,z),i=i+Math.imul(F,$)|0,o=Math.imul(F,z),r=r+Math.imul(A,V)|0,i=i+Math.imul(A,H)|0,i=i+Math.imul(T,V)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(S,G)|0,i=i+Math.imul(S,K)|0,i=i+Math.imul(E,G)|0,o=o+Math.imul(E,K)|0,r=r+Math.imul(D,Y)|0,i=i+Math.imul(D,J)|0,i=i+Math.imul(C,Y)|0,o=o+Math.imul(C,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,ae)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(I,$),i=Math.imul(I,z),i=i+Math.imul(P,$)|0,o=Math.imul(P,z),r=r+Math.imul(j,V)|0,i=i+Math.imul(j,H)|0,i=i+Math.imul(F,V)|0,o=o+Math.imul(F,H)|0,r=r+Math.imul(A,G)|0,i=i+Math.imul(A,K)|0,i=i+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,r=r+Math.imul(S,Y)|0,i=i+Math.imul(S,J)|0,i=i+Math.imul(E,Y)|0,o=o+Math.imul(E,J)|0,r=r+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,ae)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,$),i=Math.imul(L,z),i=i+Math.imul(R,$)|0,o=Math.imul(R,z),r=r+Math.imul(I,V)|0,i=i+Math.imul(I,H)|0,i=i+Math.imul(P,V)|0,o=o+Math.imul(P,H)|0,r=r+Math.imul(j,G)|0,i=i+Math.imul(j,K)|0,i=i+Math.imul(F,G)|0,o=o+Math.imul(F,K)|0,r=r+Math.imul(A,Y)|0,i=i+Math.imul(A,J)|0,i=i+Math.imul(T,Y)|0,o=o+Math.imul(T,J)|0,r=r+Math.imul(S,Q)|0,i=i+Math.imul(S,ee)|0,i=i+Math.imul(E,Q)|0,o=o+Math.imul(E,ee)|0,r=r+Math.imul(D,ne)|0,i=i+Math.imul(D,re)|0,i=i+Math.imul(C,ne)|0,o=o+Math.imul(C,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,ae)|0,i=i+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(L,V),i=Math.imul(L,H),i=i+Math.imul(R,V)|0,o=Math.imul(R,H),r=r+Math.imul(I,G)|0,i=i+Math.imul(I,K)|0,i=i+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(j,Y)|0,i=i+Math.imul(j,J)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,J)|0,r=r+Math.imul(A,Q)|0,i=i+Math.imul(A,ee)|0,i=i+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(S,ne)|0,i=i+Math.imul(S,re)|0,i=i+Math.imul(E,ne)|0,o=o+Math.imul(E,re)|0,r=r+Math.imul(D,oe)|0,i=i+Math.imul(D,ae)|0,i=i+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(x,ue)|0,o=o+Math.imul(x,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,G),i=Math.imul(L,K),i=i+Math.imul(R,G)|0,o=Math.imul(R,K),r=r+Math.imul(I,Y)|0,i=i+Math.imul(I,J)|0,i=i+Math.imul(P,Y)|0,o=o+Math.imul(P,J)|0,r=r+Math.imul(j,Q)|0,i=i+Math.imul(j,ee)|0,i=i+Math.imul(F,Q)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(A,ne)|0,i=i+Math.imul(A,re)|0,i=i+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(S,oe)|0,i=i+Math.imul(S,ae)|0,i=i+Math.imul(E,oe)|0,o=o+Math.imul(E,ae)|0,r=r+Math.imul(D,ue)|0,i=i+Math.imul(D,le)|0,i=i+Math.imul(C,ue)|0,o=o+Math.imul(C,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(x,he)|0,o=o+Math.imul(x,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,Y),i=Math.imul(L,J),i=i+Math.imul(R,Y)|0,o=Math.imul(R,J),r=r+Math.imul(I,Q)|0,i=i+Math.imul(I,ee)|0,i=i+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,r=r+Math.imul(j,ne)|0,i=i+Math.imul(j,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(A,oe)|0,i=i+Math.imul(A,ae)|0,i=i+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(S,ue)|0,i=i+Math.imul(S,le)|0,i=i+Math.imul(E,ue)|0,o=o+Math.imul(E,le)|0,r=r+Math.imul(D,he)|0,i=i+Math.imul(D,fe)|0,i=i+Math.imul(C,he)|0,o=o+Math.imul(C,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(x,pe)|0,o=o+Math.imul(x,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,Q),i=Math.imul(L,ee),i=i+Math.imul(R,Q)|0,o=Math.imul(R,ee),r=r+Math.imul(I,ne)|0,i=i+Math.imul(I,re)|0,i=i+Math.imul(P,ne)|0,o=o+Math.imul(P,re)|0,r=r+Math.imul(j,oe)|0,i=i+Math.imul(j,ae)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,ae)|0,r=r+Math.imul(A,ue)|0,i=i+Math.imul(A,le)|0,i=i+Math.imul(T,ue)|0,o=o+Math.imul(T,le)|0,r=r+Math.imul(S,he)|0,i=i+Math.imul(S,fe)|0,i=i+Math.imul(E,he)|0,o=o+Math.imul(E,fe)|0,r=r+Math.imul(D,pe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(C,pe)|0,o=o+Math.imul(C,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,ne),i=Math.imul(L,re),i=i+Math.imul(R,ne)|0,o=Math.imul(R,re),r=r+Math.imul(I,oe)|0,i=i+Math.imul(I,ae)|0,i=i+Math.imul(P,oe)|0,o=o+Math.imul(P,ae)|0,r=r+Math.imul(j,ue)|0,i=i+Math.imul(j,le)|0,i=i+Math.imul(F,ue)|0,o=o+Math.imul(F,le)|0,r=r+Math.imul(A,he)|0,i=i+Math.imul(A,fe)|0,i=i+Math.imul(T,he)|0,o=o+Math.imul(T,fe)|0,r=r+Math.imul(S,pe)|0,i=i+Math.imul(S,me)|0,i=i+Math.imul(E,pe)|0,o=o+Math.imul(E,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(L,oe),i=Math.imul(L,ae),i=i+Math.imul(R,oe)|0,o=Math.imul(R,ae),r=r+Math.imul(I,ue)|0,i=i+Math.imul(I,le)|0,i=i+Math.imul(P,ue)|0,o=o+Math.imul(P,le)|0,r=r+Math.imul(j,he)|0,i=i+Math.imul(j,fe)|0,i=i+Math.imul(F,he)|0,o=o+Math.imul(F,fe)|0,r=r+Math.imul(A,pe)|0,i=i+Math.imul(A,me)|0,i=i+Math.imul(T,pe)|0,o=o+Math.imul(T,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,ue),i=Math.imul(L,le),i=i+Math.imul(R,ue)|0,o=Math.imul(R,le),r=r+Math.imul(I,he)|0,i=i+Math.imul(I,fe)|0,i=i+Math.imul(P,he)|0,o=o+Math.imul(P,fe)|0,r=r+Math.imul(j,pe)|0,i=i+Math.imul(j,me)|0,i=i+Math.imul(F,pe)|0,o=o+Math.imul(F,me)|0;var je=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(L,he),i=Math.imul(L,fe),i=i+Math.imul(R,he)|0,o=Math.imul(R,fe),r=r+Math.imul(I,pe)|0,i=i+Math.imul(I,me)|0,i=i+Math.imul(P,pe)|0,o=o+Math.imul(P,me)|0;var Fe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,r=Math.imul(L,pe),i=Math.imul(L,me),i=i+Math.imul(R,pe)|0,o=Math.imul(R,me);var Ne=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=xe,u[6]=_e,u[7]=De,u[8]=Ce,u[9]=ke,u[10]=Se,u[11]=Ee,u[12]=Me,u[13]=Ae,u[14]=Te,u[15]=Oe,u[16]=je,u[17]=Fe,u[18]=Ne,0!==l&&(u[19]=l,n.length++),n};function y(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=a>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function b(e,t,n){return y(e,t,n)}function w(e,t){this.x=e,this.y=t}Math.imul||(v=g),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?v(this,e,t):r<63?g(this,e,t):r<1024?y(this,e,t):b(this,e,t),n},w.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},w.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=m(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&s}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,a=0|i.words[i.length-1],s=this._countBits(a);n=26-s,0!==n&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),a=new o(0),s=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(h)),i.iushrn(1),a.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(s.isOdd()||u.isOdd())&&(s.iadd(c),u.isub(h)),s.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(u)):(n.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,a=new o(1),s=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return i=0===t.cmpn(1)?a:s,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new E(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var x={k256:null,p224:null,p192:null,p25519:null};function _(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function D(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},_.prototype.split=function(e,t){e.iushrn(this.n,0,t)},_.prototype.imulK=function(e){return e.imul(this.k)},i(D,_),D.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},D.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(x[e])return x[e];var t;if("k256"===e)t=new D;else if("p224"===e)t=new C;else if("p192"===e)t=new k;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return x[e]=t,t},E.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(l(e,e.umod(this.m)._forceRed(this)),e)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},E.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),a=0;while(!i.isZero()&&0===i.andln(1))a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=a;while(0!==d.cmp(s)){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;a!==r[0]&&(a=this.sqr(a)),0!==f||0!==s?(s<<=1,s|=f,u++,(u===n||0===i&&0===h)&&(a=this.mul(a,r[s]),u=0,s=0)):u=0}l=26}return a},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new M(e)},i(M,E),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"39a9":function(e,t,n){ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ var r=n("b639"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},"39ad":function(e,t,n){var r=n("6ca1"),i=n("d16a"),o=n("9d11");e.exports=function(e){return function(t,n,a){var s,u=r(t),l=i(u.length),c=o(a,l);if(e&&n!=n){while(l>c)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},"39f5":function(e,t,n){var r=n("8707").Buffer;function i(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=new Array(t),i=0;i>>24]^c[p>>>16&255]^h[m>>>8&255]^f[255&g]^t[v++],a=l[p>>>24]^c[m>>>16&255]^h[g>>>8&255]^f[255&d]^t[v++],s=l[m>>>24]^c[g>>>16&255]^h[d>>>8&255]^f[255&p]^t[v++],u=l[g>>>24]^c[d>>>16&255]^h[p>>>8&255]^f[255&m]^t[v++],d=o,p=a,m=s,g=u;return o=(r[d>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^t[v++],a=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&d])^t[v++],s=(r[m>>>24]<<24|r[g>>>16&255]<<16|r[d>>>8&255]<<8|r[255&p])^t[v++],u=(r[g>>>24]<<24|r[d>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^t[v++],o>>>=0,a>>>=0,s>>>=0,u>>>=0,[o,a,s,u]}var s=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,u=0;u<256;++u){var l=s^s<<1^s<<2^s<<3^s<<4;l=l>>>8^255&l^99,n[a]=l,r[l]=a;var c=e[a],h=e[c],f=e[h],d=257*e[l]^16843008*l;i[0][a]=d<<24|d>>>8,i[1][a]=d<<16|d>>>16,i[2][a]=d<<8|d>>>24,i[3][a]=d,d=16843009*f^65537*h^257*c^16843008*a,o[0][l]=d<<24|d>>>8,o[1][l]=d<<16|d>>>16,o[2][l]=d<<8|d>>>24,o[3][l]=d,0===a?a=s=1:(a=c^e[e[e[f^c]]],s^=e[e[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function l(e){this._key=i(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o>>24,a=u.SBOX[a>>>24]<<24|u.SBOX[a>>>16&255]<<16|u.SBOX[a>>>8&255]<<8|u.SBOX[255&a],a^=s[o/t|0]<<24):t>6&&o%t===4&&(a=u.SBOX[a>>>24]<<24|u.SBOX[a>>>16&255]<<16|u.SBOX[a>>>8&255]<<8|u.SBOX[255&a]),i[o]=i[o-t]^a}for(var l=[],c=0;c>>24]]^u.INV_SUB_MIX[1][u.SBOX[f>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[f>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&f]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return e=i(e),a(e,this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},l.prototype.decryptBlock=function(e){e=i(e);var t=e[1];e[1]=e[3],e[3]=t;var n=a(e,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},l.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=l},"3a7c":function(e,t,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function r(e){return"boolean"===typeof e}function i(e){return null===e}function o(e){return null==e}function a(e){return"number"===typeof e}function s(e){return"string"===typeof e}function u(e){return"symbol"===typeof e}function l(e){return void 0===e}function c(e){return"[object RegExp]"===g(e)}function h(e){return"object"===typeof e&&null!==e}function f(e){return"[object Date]"===g(e)}function d(e){return"[object Error]"===g(e)||e instanceof Error}function p(e){return"function"===typeof e}function m(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=r,t.isNull=i,t.isNullOrUndefined=o,t.isNumber=a,t.isString=s,t.isSymbol=u,t.isUndefined=l,t.isRegExp=c,t.isObject=h,t.isDate=f,t.isError=d,t.isFunction=p,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(this,n("b639").Buffer)},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3c4e":function(e,t,n){"use strict";var r=function(e){return i(e)&&!o(e)};function i(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||u(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function u(e){return e.$$typeof===s}function l(e){return Array.isArray(e)?[]:{}}function c(e,t){var n=t&&!0===t.clone;return n&&r(e)?d(l(e),e,t):e}function h(e,t,n){var i=e.slice();return t.forEach((function(t,o){"undefined"===typeof i[o]?i[o]=c(t,n):r(t)?i[o]=d(e[o],t,n):-1===e.indexOf(t)&&i.push(c(t,n))})),i}function f(e,t,n){var i={};return r(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],n)})),Object.keys(t).forEach((function(o){r(t[o])&&e[o]?i[o]=d(e[o],t[o],n):i[o]=c(t[o],n)})),i}function d(e,t,n){var r=Array.isArray(t),i=Array.isArray(e),o=n||{arrayMerge:h},a=r===i;if(a){if(r){var s=o.arrayMerge||h;return s(e,t,n)}return f(e,t,n)}return c(t,n)}d.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return d(e,n,t)}))};var p=d;e.exports=p},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),a="String Iterator",s=i.set,u=i.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},"3d5a":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,i=t.algo,o=[],a=[],s=[],u=i.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)l.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var o=t.words,a=o[0],s=o[1],u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=u>>>16|4294901760&c,f=c<<16|65535&u;r[0]^=u,r[1]^=h,r[2]^=c,r[3]^=f,r[4]^=u,r[5]^=h,r[6]^=c,r[7]^=f;for(i=0;i<4;i++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,o=r>>>16,u=((i*i>>>17)+i*o>>>15)+o*o,l=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=u^l}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=r._createHelper(u)}(),e.RabbitLegacy}))},"3daf":function(e,t,n){"use strict";var r=n("f3a3"),i=n("80af"),o=n("3fb5"),a=n("ea53"),s=r.assert;function u(e){this.twisted=1!==(0|e.a),this.mOneA=this.twisted&&-1===(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|e.c)}function l(e,t,n,r,o){a.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(u,a),e.exports=u,u.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},u.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},u.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},u.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=r.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var u=s.fromRed().isOdd();return(t&&!u||!t&&u)&&(s=s.redNeg()),this.point(e,s)},u.prototype.pointFromY=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},u.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},o(l,a.BasePoint),u.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},u.prototype.point=function(e,t,n,r){return new l(this,e,t,n,r)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),a=o.redSub(n),s=r.redSub(t),u=i.redMul(a),l=o.redMul(s),c=i.redMul(s),h=a.redMul(o);return this.curve.point(u,l,h,c)},l.prototype._projDbl=function(){var e,t,n,r=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var a=this.curve._mulA(i),s=a.redAdd(o);if(this.zOne)e=r.redSub(i).redSub(o).redMul(s.redSub(this.curve.two)),t=s.redMul(a.redSub(o)),n=s.redSqr().redSub(s).redSub(s);else{var u=this.z.redSqr(),l=s.redSub(u).redISub(u);e=r.redSub(i).redISub(o).redMul(l),t=s.redMul(a.redSub(o)),n=s.redMul(l)}}else{a=i.redAdd(o),u=this.curve._mulC(this.z).redSqr(),l=a.redSub(u).redSub(u);e=this.curve._mulC(r.redISub(a)).redMul(l),t=this.curve._mulC(a).redMul(i.redISub(o)),n=a.redMul(l)}return this.curve.point(e,t,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(t),a=i.redSub(r),s=i.redAdd(r),u=n.redAdd(t),l=o.redMul(a),c=s.redMul(u),h=o.redMul(u),f=a.redMul(s);return this.curve.point(l,c,f,h)},l.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(o).redMul(a),u=i.redSub(s),l=i.redAdd(s),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),h=r.redMul(u).redMul(c);return this.curve.twisted?(t=r.redMul(l).redMul(a.redSub(this.curve._mulA(o))),n=u.redMul(l)):(t=r.redMul(l).redMul(a.redSub(o)),n=this.curve._mulC(u).redMul(l)),this.curve.point(h,t,n)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},l.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},"3f62":function(e,t,n){var r=n("8707").Buffer,i=r.alloc(16,0);function o(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function a(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}s.prototype.ghash=function(e){var t=-1;while(++t0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=a(i)},s.prototype.update=function(e){var t;this.cache=r.concat([this.cache,e]);while(this.cache.length>=16)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(a([0,e,0,t])),this.state},e.exports=s},"3f6b":function(e,t,n){e.exports={default:n("b9c7"),__esModule:!0}},"3f8c":function(e,t){e.exports={}},"3fb5":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},4010:function(e,t,n){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var r=n("6dd8"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a="undefined"===typeof window,s=function(e){var t=e,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,a=o.target.__resizeListeners__||[];a.length&&a.forEach((function(e){e()}))}};t.addResizeListener=function(e,t){a||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new i.default(s),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},"409b":function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},4111:function(e,t,n){"use strict";var r=n("7f7a");t.certificate=n("56b5");var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));t.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=o;var a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));t.PublicKey=a;var s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),u=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=u;var l=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=l;var c=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));t.DSAPrivateKey=c,t.DSAparam=r.define("DSAparam",(function(){this.int()}));var h=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=h;var f=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},4136:function(e,t,n){"use strict";var r=t;r.base=n("ea53"),r.short=n("3300"),r.mont=n("676f"),r.edwards=n("3daf")},4160:function(e,t,n){"use strict";var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"417f":function(e,t,n){"use strict";t.__esModule=!0;var r=n("2b0e"),i=a(r),o=n("5924");function a(e){return e&&e.__esModule?e:{default:e}}var s=[],u="@@clickoutsideContext",l=void 0,c=0;function h(e,t,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||e.contains(r.target)||e.contains(i.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(t.expression&&e[u].methodName&&n.context[e[u].methodName]?n.context[e[u].methodName]():e[u].bindingFn&&e[u].bindingFn())}}!i.default.prototype.$isServer&&(0,o.on)(document,"mousedown",(function(e){return l=e})),!i.default.prototype.$isServer&&(0,o.on)(document,"mouseup",(function(e){s.forEach((function(t){return t[u].documentHandler(e,l)}))})),t.default={bind:function(e,t,n){s.push(e);var r=c++;e[u]={id:r,documentHandler:h(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[u].documentHandler=h(e,t,n),e[u].methodName=t.expression,e[u].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n16)throw new Error("unable to decrypt data");var n=-1;while(++n16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=m,t.createDecipheriv=p},4250:function(e,t,n){"use strict";(function(t,r){var i;e.exports=A,A.ReadableState=M;n("faa1").EventEmitter;var o=function(e,t){return e.listeners(t).length},a=n("5bbb"),s=n("b639").Buffer,u=t.Uint8Array||function(){};function l(e){return s.from(e)}function c(e){return s.isBuffer(e)||e instanceof u}var h,f=n(2);h=f&&f.debuglog?f.debuglog("stream"):function(){};var d,p,m,g=n("96a5"),v=n("493f"),y=n("b9b5"),b=y.getHighWaterMark,w=n("9d8a").codes,x=w.ERR_INVALID_ARG_TYPE,_=w.ERR_STREAM_PUSH_AFTER_EOF,D=w.ERR_METHOD_NOT_IMPLEMENTED,C=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n("3fb5")(A,a);var k=v.errorOrDestroy,S=["error","close","destroy","pause","resume"];function E(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function M(e,t,r){i=i||n("e666"),e=e||{},"boolean"!==typeof r&&(r=t instanceof i),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",r),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=n("7d72").StringDecoder),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function A(e){if(i=i||n("e666"),!(this instanceof A))return new A(e);var t=this instanceof i;this._readableState=new M(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function T(e,t,n,r,i){h("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,P(e,a);else if(i||(o=j(a,t)),o)k(e,o);else if(a.objectMode||t&&t.length>0)if("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=l(t)),r)a.endEmitted?k(e,new C):O(e,a,t,!0);else if(a.ended)k(e,new _);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?O(e,a,t,!1):R(e,a)):O(e,a,t,!1)}else r||(a.reading=!1,R(e,a));return!a.ended&&(a.length=F?e=F:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function I(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=N(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function P(e,t){if(h("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?B(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,L(e)))}}function B(e){var t=e._readableState;h("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(L,e))}function L(e){var t=e._readableState;h("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,W(e)}function R(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(q,e,t))}function q(e,t){while(!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function U(e){h("readable nexttick read 0"),e.read(0)}function V(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(H,e,t))}function H(e,t){h("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),W(e),t.flowing&&!t.reading&&e.read(0)}function W(e){var t=e._readableState;h("flow",t.flowing);while(t.flowing&&null!==e.read());}function G(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function K(e){var t=e._readableState;h("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(X,t,e))}function X(e,t){if(h("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function Y(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?K(this):B(this),null;if(e=I(e,t),0===e&&t.ended)return 0===t.length&&K(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?G(e,t):null,null===r?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&K(this)),null!==r&&this.emit("data",r),r},A.prototype._read=function(e){k(this,new D("_read()"))},A.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,h("pipe count=%d opts=%j",i.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr,s=a?l:y;function u(e,t){h("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,d())}function l(){h("onend"),e.end()}i.endEmitted?r.nextTick(s):n.once("end",s),e.on("unpipe",u);var c=$(n);e.on("drain",c);var f=!1;function d(){h("cleanup"),e.removeListener("close",g),e.removeListener("finish",v),e.removeListener("drain",c),e.removeListener("error",m),e.removeListener("unpipe",u),n.removeListener("end",l),n.removeListener("end",y),n.removeListener("data",p),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c()}function p(t){h("ondata");var r=e.write(t);h("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==Y(i.pipes,e))&&!f&&(h("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function m(t){h("onerror",t),y(),e.removeListener("error",m),0===o(e,"error")&&k(e,t)}function g(){e.removeListener("finish",v),y()}function v(){h("onfinish"),e.removeListener("close",g),y()}function y(){h("unpipe"),n.unpipe(e)}return n.on("data",p),E(e,"error",m),e.once("close",g),e.once("finish",v),e.emit("pipe",n),i.flowing||(h("pipe resume"),n.resume()),e},A.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,h("on readable",i.length,i.reading),i.length?B(this):i.reading||r.nextTick(U,this))),n},A.prototype.addListener=A.prototype.on,A.prototype.removeListener=function(e,t){var n=a.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(z,this),n},A.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(z,this),t},A.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!e.readableListening,V(this,e)),e.paused=!1,this},A.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},A.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(h("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(h("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var o=t.push(i);o||(r=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o=0;s--)(t.fontFaces&&"font-face"===o[s].type||t.mediaQueries&&"media"===o[s].type||t.keyFrames&&"keyframes"===o[s].type||t.pseudos&&o[s].selectors&&this.matchesPseudo(o[s].selectors[0],n))&&a.unshift(r.stringify({stylesheet:{rules:[o[s]]}},{comments:!1,indentation:" "})),o[s].position.start;return 0!==a.length&&"\n"+a.join("\n")+"\n"},t.normalizeLineEndings=function(e){return e.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n")},t.matchesPseudo=function(e,t){return t.find((function(t){return e.indexOf(t)>-1}))},t.compareFunc=function(e,t){for(var n=Math.min(e.length,t.length),r=0;rt[r]?1:-1;return e.length-t.length},t.compare=function(e,n){return 1==t.compareFunc(e,n)?e:n},t.extend=function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);return e},t.getDefaultOptions=function(e){var n=t.extend({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,url:""},e);return n.webResources=n.webResources||{},n}},"44d2":function(e,t,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),a=r("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},"44e7":function(e,t,n){var r=n("861d"),i=n("c6b6"),o=n("b622"),a=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},"466b":function(e,t,n){"use strict";var r=n("33b7"),i=n("492c"),o=i((function(e,t){return r(e,{xmlMode:t&&t.xmlMode},a,[t])})),a=function(e,t){return o.juiceDocument(e,t)};o.inlineContent=function(e,t,n){return r(e,{xmlMode:n&&n.xmlMode},o.inlineDocument,[t,n])},e.exports=o},"467f":function(e,t,n){"use strict";var r=n("2d83");e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},4681:function(e,t,n){"use strict";var r=n("966d");function i(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(a,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(r.nextTick(a,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this)}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function a(e,t){e.emit("error",t)}e.exports={destroy:i,undestroy:o}},4726:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=59)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var u,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(e,t){return u.call(t),c(e,t)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,u):[u]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},14:function(e,t){e.exports=n("14e9")},18:function(e,t){e.exports=n("dcdc")},21:function(e,t){e.exports=n("d397")},26:function(e,t){e.exports=n("92fa")},3:function(e,t){e.exports=n("8122")},31:function(e,t){e.exports=n("2a5e")},32:function(e,t){e.exports=n("e452")},51:function(e,t){e.exports=n("f494")},59:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,(function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})})),1)},i=[];r._withStripped=!0;var o,a,s=n(26),u=n.n(s),l=n(14),c=n.n(l),h=n(18),f=n.n(h),d=n(51),p=n.n(d),m=n(3),g=function(e){return e.stopPropagation()},v={inject:["panel"],components:{ElCheckbox:f.a,ElRadio:p.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some((function(t){return e.isInPath(t)}))},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,r=this.isDisabled,i=this.config,o=i.multiple,a=i.checkStrictly;!a&&r||n.loading||(i.lazy&&!n.loaded?t.lazyLoad(n,(function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var r=!!t&&n.checked;e.handleMultiCheckChange(r)}})):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,r=this.config,i=r.checkStrictly,o=r.multiple;return o?this.renderCheckbox(e):i?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,r=this.isDisabled,i={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(i.nativeOn.click=g),e("el-checkbox",u()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:r}},i]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,r=this.isDisabled;return Object(m["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:r},on:{change:this.handleCheckChange},nativeOn:{click:g}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,r=t.renderLabelFn,i=r?r({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[i||n.label])}},render:function(e){var t=this,n=this.inActivePath,r=this.inCheckedPath,i=this.isChecked,o=this.isLeaf,a=this.isDisabled,s=this.config,l=this.nodeId,c=s.expandTrigger,h=s.checkStrictly,f=s.multiple,d=!h&&a,p={on:{}};return"click"===c?p.on.click=this.handleExpand:(p.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},p.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!o||a||h||f||(p.on.click=this.handleCheckChange),e("li",u()([{attrs:{role:"menuitem",id:l,"aria-expanded":n,tabindex:d?null:-1},class:{"el-cascader-node":!0,"is-selectable":h,"in-active-path":n,"in-checked-path":r,"is-active":i,"is-disabled":d}},p]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},y=v,b=n(0),w=Object(b["a"])(y,o,a,!1,null,null,null);w.options.__file="packages/cascader-panel/src/cascader-node.vue";var x,_,D=w.exports,C=n(6),k=n.n(C),S={name:"ElCascaderMenu",mixins:[k.a],inject:["panel"],components:{ElScrollbar:c.a,CascaderNode:D},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(m["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,r=this.$refs.hoverZone;if(t&&r)if(t.contains(e.target)){clearTimeout(n);var i=this.$el.getBoundingClientRect(),o=i.left,a=e.clientX-o,s=this.$el,u=s.offsetWidth,l=s.offsetHeight,c=t.offsetTop,h=c+t.offsetHeight;r.innerHTML='\n \n \n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,r={on:{}};n&&(r.on.expand=this.handleExpand);var i=this.nodes.map((function(n,i){var o=n.hasChildren;return e("cascader-node",u()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+i,"aria-haspopup":o,"aria-owns":o?t:null}},r]))}));return[].concat(i,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,r={nativeOn:{}};return this.panel.isHoverMenu&&(r.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",u()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},r]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},E=S,M=Object(b["a"])(E,x,_,!1,null,null,null);M.options.__file="packages/cascader-panel/src/cascader-menu.vue";var A=M.exports,T=n(21),O=function(){function e(e,t){for(var n=0;n1?t-1:0),r=1;r1?r-1:0),o=1;o0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},O(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,r=n.disabled,i=n.checkStrictly;return e[r]||!i&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,r=this.children,i=this.config,o=i.lazy,a=i.leaf;if(o){var s=Object(T["isDef"])(e[a])?e[a]:!!t&&!r.length;return this.hasChildren=!s,s}return!n}}]),e}(),I=N;function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var B=function e(t,n){return t.reduce((function(t,r){return r.isLeaf?t.push(r):(!n&&t.push(r),t=t.concat(e(r.children,n))),t}),[])},L=function(){function e(t,n){P(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(m["coerceTruthyValueToArray"])(e),this.nodes=e.map((function(e){return new I(e,t.config)})),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new I(e,this.config,t),r=t?t.children:this.nodes;r.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(m["coerceTruthyValueToArray"])(e),e.forEach((function(e){return n.appendNode(e,t)}))},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:B(this.nodes,e)},e.prototype.getNodeByValue=function(e){if(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter((function(t){return Object(m["valueEquals"])(t.path,e)||t.value===e}));return t&&t.length?t[0]:null}return null},e}(),R=L,q=n(9),$=n.n(q),z=n(32),U=n.n(z),V=n(31),H=n.n(V),W=Object.assign||function(e){for(var t=1;t0){var u=n.store.getNodeByValue(o);u.data[s]||n.lazyLoad(u,(function(){n.handleExpand(u)})),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(r)};r.lazyLoad(e,i)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map((function(e){return e.getValueByOption()}))},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach((function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),r=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");H()(n,r)}}))}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var r=this.getFlattedNodes(e);return r.filter((function(e){return e.checked}))}return Object(m["isEmpty"])(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,r=e.emitPath;n?(this.getCheckedNodes(t).filter((function(e){return!e.isDisabled})).forEach((function(e){return e.doCheck(!1)})),this.calculateMultiCheckedValue()):this.checkedValue=r?[]:null}}},te=ee,ne=Object(b["a"])(te,r,i,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var re=ne.exports;re.install=function(e){e.component(re.name,re)};t["default"]=re},6:function(e,t){e.exports=n("6b7c")},9:function(e,t){e.exports=n("7f4d")}})},4840:function(e,t,n){var r=n("825a"),i=n("1c0b"),o=n("b622"),a=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},"4840e":function(e,t,n){(function(e,n){var r=200,i="Expected a function",o="__lodash_hash_undefined__",a=1,s=2,u=1/0,l=9007199254740991,c="[object Arguments]",h="[object Array]",f="[object Boolean]",d="[object Date]",p="[object Error]",m="[object Function]",g="[object GeneratorFunction]",v="[object Map]",y="[object Number]",b="[object Object]",w="[object Promise]",x="[object RegExp]",_="[object Set]",D="[object String]",C="[object Symbol]",k="[object WeakMap]",S="[object ArrayBuffer]",E="[object DataView]",M="[object Float32Array]",A="[object Float64Array]",T="[object Int8Array]",O="[object Int16Array]",j="[object Int32Array]",F="[object Uint8Array]",N="[object Uint8ClampedArray]",I="[object Uint16Array]",P="[object Uint32Array]",B=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/,R=/^\./,q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$=/[\\^$.*+?()[\]{}|]/g,z=/\\(\\)?/g,U=/^\[object .+?Constructor\]$/,V=/^(?:0|[1-9]\d*)$/,H={};H[M]=H[A]=H[T]=H[O]=H[j]=H[F]=H[N]=H[I]=H[P]=!0,H[c]=H[h]=H[S]=H[f]=H[E]=H[d]=H[p]=H[m]=H[v]=H[y]=H[b]=H[x]=H[_]=H[D]=H[k]=!1;var W="object"==typeof e&&e&&e.Object===Object&&e,G="object"==typeof self&&self&&self.Object===Object&&self,K=W||G||Function("return this")(),X=t&&!t.nodeType&&t,Y=X&&"object"==typeof n&&n&&!n.nodeType&&n,J=Y&&Y.exports===X,Z=J&&W.process,Q=function(){try{return Z&&Z.binding("util")}catch(e){}}(),ee=Q&&Q.isTypedArray;function te(e,t,n,r){var i=-1,o=e?e.length:0;r&&o&&(n=e[++i]);while(++i-1}function Je(e,t){var n=this.__data__,r=pt(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function Ze(e){var t=-1,n=e?e.length:0;this.clear();while(++tl))return!1;var h=o.get(e);if(h&&o.get(t))return h==t;var f=-1,d=!0,p=i&a?new it:void 0;o.set(e,t),o.set(t,e);while(++f-1&&e%1==0&&e-1&&e%1==0&&e<=l}function ln(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function cn(e){return!!e&&"object"==typeof e}function hn(e){return"symbol"==typeof e||cn(e)&&be.call(e)==C}var fn=ee?ae(ee):kt;function dn(e){return null==e?"":Ot(e)}function pn(e,t,n){var r=null==e?void 0:yt(e,t);return void 0===r?n:r}function mn(e,t){return null!=e&&zt(e,t,wt)}function gn(e){return on(e)?dt(e):Et(e)}function vn(e){return e}function yn(e){return Vt(e)?re(Jt(e)):Tt(e)}n.exports=Qt}).call(this,n("c8ba"),n("62e4")(e))},4897:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var r=n("f0d9"),i=h(r),o=n("2b0e"),a=h(o),s=n("3c4e"),u=h(s),l=n("9d7e"),c=h(l);function h(e){return e&&e.__esModule?e:{default:e}}var f=(0,c.default)(a.default),d=i.default,p=!1,m=function(){var e=Object.getPrototypeOf(this||a.default).$t;if("function"===typeof e&&a.default.locale)return p||(p=!0,a.default.locale(a.default.config.lang,(0,u.default)(d,a.default.locale(a.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},g=t.t=function(e,t){var n=m.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var r=e.split("."),i=d,o=0,a=r.length;o=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,o+=24,o>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}function d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],a=i*o+h,c+=a/67108864|0,h=67108863&a}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215,n=0!==o||a!==this.length-1?l[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,a--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var f=c[e],d=h[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modn(d).toString(e);p=p.idivn(d),n=p.isZero()?m+n:l[f-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===t,l=new e(o),c=this.clone();if(u){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),l[s]=a;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],w=8191&b,x=b>>>13,_=0|a[4],D=8191&_,C=_>>>13,k=0|a[5],S=8191&k,E=k>>>13,M=0|a[6],A=8191&M,T=M>>>13,O=0|a[7],j=8191&O,F=O>>>13,N=0|a[8],I=8191&N,P=N>>>13,B=0|a[9],L=8191&B,R=B>>>13,q=0|s[0],$=8191&q,z=q>>>13,U=0|s[1],V=8191&U,H=U>>>13,W=0|s[2],G=8191&W,K=W>>>13,X=0|s[3],Y=8191&X,J=X>>>13,Z=0|s[4],Q=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,le=se>>>13,ce=0|s[8],he=8191&ce,fe=ce>>>13,de=0|s[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,$),i=Math.imul(h,z),i=i+Math.imul(f,$)|0,o=Math.imul(f,z);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,$),i=Math.imul(p,z),i=i+Math.imul(m,$)|0,o=Math.imul(m,z),r=r+Math.imul(h,V)|0,i=i+Math.imul(h,H)|0,i=i+Math.imul(f,V)|0,o=o+Math.imul(f,H)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,$),i=Math.imul(v,z),i=i+Math.imul(y,$)|0,o=Math.imul(y,z),r=r+Math.imul(p,V)|0,i=i+Math.imul(p,H)|0,i=i+Math.imul(m,V)|0,o=o+Math.imul(m,H)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,$),i=Math.imul(w,z),i=i+Math.imul(x,$)|0,o=Math.imul(x,z),r=r+Math.imul(v,V)|0,i=i+Math.imul(v,H)|0,i=i+Math.imul(y,V)|0,o=o+Math.imul(y,H)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(D,$),i=Math.imul(D,z),i=i+Math.imul(C,$)|0,o=Math.imul(C,z),r=r+Math.imul(w,V)|0,i=i+Math.imul(w,H)|0,i=i+Math.imul(x,V)|0,o=o+Math.imul(x,H)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(S,$),i=Math.imul(S,z),i=i+Math.imul(E,$)|0,o=Math.imul(E,z),r=r+Math.imul(D,V)|0,i=i+Math.imul(D,H)|0,i=i+Math.imul(C,V)|0,o=o+Math.imul(C,H)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(A,$),i=Math.imul(A,z),i=i+Math.imul(T,$)|0,o=Math.imul(T,z),r=r+Math.imul(S,V)|0,i=i+Math.imul(S,H)|0,i=i+Math.imul(E,V)|0,o=o+Math.imul(E,H)|0,r=r+Math.imul(D,G)|0,i=i+Math.imul(D,K)|0,i=i+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,ae)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,ae)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(j,$),i=Math.imul(j,z),i=i+Math.imul(F,$)|0,o=Math.imul(F,z),r=r+Math.imul(A,V)|0,i=i+Math.imul(A,H)|0,i=i+Math.imul(T,V)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(S,G)|0,i=i+Math.imul(S,K)|0,i=i+Math.imul(E,G)|0,o=o+Math.imul(E,K)|0,r=r+Math.imul(D,Y)|0,i=i+Math.imul(D,J)|0,i=i+Math.imul(C,Y)|0,o=o+Math.imul(C,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,ae)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(I,$),i=Math.imul(I,z),i=i+Math.imul(P,$)|0,o=Math.imul(P,z),r=r+Math.imul(j,V)|0,i=i+Math.imul(j,H)|0,i=i+Math.imul(F,V)|0,o=o+Math.imul(F,H)|0,r=r+Math.imul(A,G)|0,i=i+Math.imul(A,K)|0,i=i+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,r=r+Math.imul(S,Y)|0,i=i+Math.imul(S,J)|0,i=i+Math.imul(E,Y)|0,o=o+Math.imul(E,J)|0,r=r+Math.imul(D,Q)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,ae)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,$),i=Math.imul(L,z),i=i+Math.imul(R,$)|0,o=Math.imul(R,z),r=r+Math.imul(I,V)|0,i=i+Math.imul(I,H)|0,i=i+Math.imul(P,V)|0,o=o+Math.imul(P,H)|0,r=r+Math.imul(j,G)|0,i=i+Math.imul(j,K)|0,i=i+Math.imul(F,G)|0,o=o+Math.imul(F,K)|0,r=r+Math.imul(A,Y)|0,i=i+Math.imul(A,J)|0,i=i+Math.imul(T,Y)|0,o=o+Math.imul(T,J)|0,r=r+Math.imul(S,Q)|0,i=i+Math.imul(S,ee)|0,i=i+Math.imul(E,Q)|0,o=o+Math.imul(E,ee)|0,r=r+Math.imul(D,ne)|0,i=i+Math.imul(D,re)|0,i=i+Math.imul(C,ne)|0,o=o+Math.imul(C,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,ae)|0,i=i+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(L,V),i=Math.imul(L,H),i=i+Math.imul(R,V)|0,o=Math.imul(R,H),r=r+Math.imul(I,G)|0,i=i+Math.imul(I,K)|0,i=i+Math.imul(P,G)|0,o=o+Math.imul(P,K)|0,r=r+Math.imul(j,Y)|0,i=i+Math.imul(j,J)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,J)|0,r=r+Math.imul(A,Q)|0,i=i+Math.imul(A,ee)|0,i=i+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(S,ne)|0,i=i+Math.imul(S,re)|0,i=i+Math.imul(E,ne)|0,o=o+Math.imul(E,re)|0,r=r+Math.imul(D,oe)|0,i=i+Math.imul(D,ae)|0,i=i+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(x,ue)|0,o=o+Math.imul(x,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,G),i=Math.imul(L,K),i=i+Math.imul(R,G)|0,o=Math.imul(R,K),r=r+Math.imul(I,Y)|0,i=i+Math.imul(I,J)|0,i=i+Math.imul(P,Y)|0,o=o+Math.imul(P,J)|0,r=r+Math.imul(j,Q)|0,i=i+Math.imul(j,ee)|0,i=i+Math.imul(F,Q)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(A,ne)|0,i=i+Math.imul(A,re)|0,i=i+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(S,oe)|0,i=i+Math.imul(S,ae)|0,i=i+Math.imul(E,oe)|0,o=o+Math.imul(E,ae)|0,r=r+Math.imul(D,ue)|0,i=i+Math.imul(D,le)|0,i=i+Math.imul(C,ue)|0,o=o+Math.imul(C,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(x,he)|0,o=o+Math.imul(x,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,Y),i=Math.imul(L,J),i=i+Math.imul(R,Y)|0,o=Math.imul(R,J),r=r+Math.imul(I,Q)|0,i=i+Math.imul(I,ee)|0,i=i+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,r=r+Math.imul(j,ne)|0,i=i+Math.imul(j,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(A,oe)|0,i=i+Math.imul(A,ae)|0,i=i+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(S,ue)|0,i=i+Math.imul(S,le)|0,i=i+Math.imul(E,ue)|0,o=o+Math.imul(E,le)|0,r=r+Math.imul(D,he)|0,i=i+Math.imul(D,fe)|0,i=i+Math.imul(C,he)|0,o=o+Math.imul(C,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(x,pe)|0,o=o+Math.imul(x,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,Q),i=Math.imul(L,ee),i=i+Math.imul(R,Q)|0,o=Math.imul(R,ee),r=r+Math.imul(I,ne)|0,i=i+Math.imul(I,re)|0,i=i+Math.imul(P,ne)|0,o=o+Math.imul(P,re)|0,r=r+Math.imul(j,oe)|0,i=i+Math.imul(j,ae)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,ae)|0,r=r+Math.imul(A,ue)|0,i=i+Math.imul(A,le)|0,i=i+Math.imul(T,ue)|0,o=o+Math.imul(T,le)|0,r=r+Math.imul(S,he)|0,i=i+Math.imul(S,fe)|0,i=i+Math.imul(E,he)|0,o=o+Math.imul(E,fe)|0,r=r+Math.imul(D,pe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(C,pe)|0,o=o+Math.imul(C,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,ne),i=Math.imul(L,re),i=i+Math.imul(R,ne)|0,o=Math.imul(R,re),r=r+Math.imul(I,oe)|0,i=i+Math.imul(I,ae)|0,i=i+Math.imul(P,oe)|0,o=o+Math.imul(P,ae)|0,r=r+Math.imul(j,ue)|0,i=i+Math.imul(j,le)|0,i=i+Math.imul(F,ue)|0,o=o+Math.imul(F,le)|0,r=r+Math.imul(A,he)|0,i=i+Math.imul(A,fe)|0,i=i+Math.imul(T,he)|0,o=o+Math.imul(T,fe)|0,r=r+Math.imul(S,pe)|0,i=i+Math.imul(S,me)|0,i=i+Math.imul(E,pe)|0,o=o+Math.imul(E,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(L,oe),i=Math.imul(L,ae),i=i+Math.imul(R,oe)|0,o=Math.imul(R,ae),r=r+Math.imul(I,ue)|0,i=i+Math.imul(I,le)|0,i=i+Math.imul(P,ue)|0,o=o+Math.imul(P,le)|0,r=r+Math.imul(j,he)|0,i=i+Math.imul(j,fe)|0,i=i+Math.imul(F,he)|0,o=o+Math.imul(F,fe)|0,r=r+Math.imul(A,pe)|0,i=i+Math.imul(A,me)|0,i=i+Math.imul(T,pe)|0,o=o+Math.imul(T,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,ue),i=Math.imul(L,le),i=i+Math.imul(R,ue)|0,o=Math.imul(R,le),r=r+Math.imul(I,he)|0,i=i+Math.imul(I,fe)|0,i=i+Math.imul(P,he)|0,o=o+Math.imul(P,fe)|0,r=r+Math.imul(j,pe)|0,i=i+Math.imul(j,me)|0,i=i+Math.imul(F,pe)|0,o=o+Math.imul(F,me)|0;var je=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(L,he),i=Math.imul(L,fe),i=i+Math.imul(R,he)|0,o=Math.imul(R,fe),r=r+Math.imul(I,pe)|0,i=i+Math.imul(I,me)|0,i=i+Math.imul(P,pe)|0,o=o+Math.imul(P,me)|0;var Fe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,r=Math.imul(L,pe),i=Math.imul(L,me),i=i+Math.imul(R,pe)|0,o=Math.imul(R,me);var Ne=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=xe,u[6]=_e,u[7]=De,u[8]=Ce,u[9]=ke,u[10]=Se,u[11]=Ee,u[12]=Me,u[13]=Ae,u[14]=Te,u[15]=Oe,u[16]=je,u[17]=Fe,u[18]=Ne,0!==l&&(u[19]=l,n.length++),n};function m(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=a>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function g(e,t,n){var r=new v;return r.mulp(e,t,n)}function v(e,t){this.x=e,this.y=t}Math.imul||(p=d),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?p(this,e,t):r<63?d(this,e,t):r<1024?m(this,e,t):g(this,e,t),n},v.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},v.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=f(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&s}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,a=0|i.words[i.length-1],s=this._countBits(a);n=26-s,0!==n&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),a=new o(0),s=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(h)),i.iushrn(1),a.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(s.isOdd()||u.isOdd())&&(s.iadd(c),u.isub(h)),s.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(u)):(n.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,a=new o(1),s=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return i=0===t.cmpn(1)?a:s,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function x(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function D(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(w,b),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new x;else if("p192"===e)t=new _;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new D}return y[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),a=0;while(!i.isZero()&&0===i.andln(1))a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=a;while(0!==d.cmp(s)){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;a!==r[0]&&(a=this.sqr(a)),0!==f||0!==s?(s<<=1,s|=f,u++,(u===n||0===i&&0===h)&&(a=this.mul(a,r[s]),u=0,s=0)):u=0}l=26}return a},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,C),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},k.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"492c":function(e,t,n){"use strict";var r=n("44d1");e.exports=function(e){function t(t,o,s){s=s||{};var u=r.parseCSS(o),l=[],c="style";if(s.styleAttributeName&&(c=s.styleAttributeName),u.forEach(d),l.forEach(p),s.inlinePseudoElements&&l.forEach(m),s.applyWidthAttributes&&l.forEach((function(e){g(e,"width")})),s.applyHeightAttributes&&l.forEach((function(e){g(e,"height")})),s.applyAttributesTableElements&&l.forEach(y),s.insertPreservedExtraCss&&s.extraCss){var h=r.getPreservedText(s.extraCss,{mediaQueries:s.preserveMediaQueries,fontFaces:s.preserveFontFaces,keyFrames:s.preserveKeyFrames});if(h){var f=null;!0!==s.insertPreservedExtraCss?f=t(s.insertPreservedExtraCss):(f=t("head"),f.length||(f=t("body")),f.length||(f=t.root())),f.first().append("")}}function d(n){for(var o,u=n[0],h=n[1],f=new r.Selector(u),d=f.parsed(),p=i(d),m=0;m=0)return}}if(p){var b=d[d.length-1],w=b.pseudos;b.pseudos=a(b.pseudos),u=d.toString(),b.pseudos=w}try{o=t(u)}catch(x){return}o.each((function(){var n=this;if(!(n.name&&e.nonVisualElements.indexOf(n.name.toUpperCase())>=0)){if(p){var i="pseudo"+p,o=n[i];o||(o=n[i]=t("").get(0),o.pseudoElementType=p,o.pseudoElementParent=n,n[i]=o),n=o}if(!n.styleProps){if(n.styleProps={},t(n).attr(c)){var a="* { "+t(n).attr(c)+" } ";u(r.parseCSS(a)[0][1],new r.Selector("