297 lines
716 KiB
JavaScript
297 lines
716 KiB
JavaScript
import{a6 as ju,a7 as L7,a8 as Ha,a9 as OD,aa as gc,ab as Ib,ac as R7,ad as Ob,ae as $u,af as M7,ag as Lb,ah as Rb,ai as LD,aj as Mb,ak as j7,al as jb,am as $b,an as $7,ao as qb,ap as q7,aq as V7,ar as Vb,as as qu,at as U7,au as Ub,av as W7,aw as G7,ax as rf,ay as Eo,az as H7,aA as z7,aB as X7,aC as J7,aD as Y7,aE as K7,aF as Q7,aG as Z7,aH as _7,aI as eL,aJ as Wb,aK as rL,aL as tL,aM as nL,aN as Vu,aO as uL,aP as aL,aQ as iL,aR as oL,aS as sL,aT as cL,aU as Gb,aV as lL,aW as pL,aX as RD,aY as fL,aZ as Hb,a_ as dL,a$ as zb,b0 as hL,b1 as DL,b2 as gL,b3 as mL,b4 as vL,b5 as yL,b6 as EL,b7 as CL,b8 as AL,b9 as bL,ba as go,bb as Xb,$ as FL,bc as SL}from"./iframe.f102d98f.js";import"./es.regexp.flags.63d9d7a0.js";var TL=ju,xL=L7.codeAt;TL({target:"String",proto:!0},{codePointAt:function(N){return xL(this,N)}});var wL=ju;wL({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991});var BL=ju,kL=Ha,NL=OD,PL=RangeError,tb=String.fromCharCode,nb=String.fromCodePoint,IL=kL([].join),OL=!!nb&&nb.length!=1;BL({target:"String",stat:!0,arity:1,forced:OL},{fromCodePoint:function(N){for(var M=[],U=arguments.length,ee=0,fe;U>ee;){if(fe=+arguments[ee++],NL(fe,1114111)!==fe)throw PL(fe+" is not a valid code point");M[ee]=fe<65536?tb(fe):tb(((fe-=65536)>>10)+55296,fe%1024+56320)}return IL(M,"")}});var LL=ju,RL=gc;LL({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return RL(URL.prototype.toString,this)}});var yo={exports:{}},ML=R7,MD=Ob,ut=$u,Jb=M7,tf=Lb,Mu=Rb,jD=LD,jL=q7,$L=Mb,AD=V7,qL=Ib.f,VL=Vb,nf=j7,Co=jb,UL=$b,WL=$7,Yb=qb,Kb=Yb.enforce,GL=Yb.get,Qp=ut.Int8Array,bD=Qp&&Qp.prototype,ub=ut.Uint8ClampedArray,ab=ub&&ub.prototype,wn=Qp&&nf(Qp),sn=bD&&nf(bD),HL=Object.prototype,$D=ut.TypeError,ib=UL("toStringTag"),FD=WL("TYPED_ARRAY_TAG"),Zp="TypedArrayConstructor",Zn=ML&&!!Co&&jD(ut.opera)!=="Opera",Qb=!1,pt,Ru,mo,_n={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},qD={BigInt64Array:8,BigUint64Array:8},zL=function(N){if(!tf(N))return!1;var M=jD(N);return M==="DataView"||Mu(_n,M)||Mu(qD,M)},Zb=function(B){var N=nf(B);if(!!tf(N)){var M=GL(N);return M&&Mu(M,Zp)?M[Zp]:Zb(N)}},_b=function(B){if(!tf(B))return!1;var N=jD(B);return Mu(_n,N)||Mu(qD,N)},XL=function(B){if(_b(B))return B;throw $D("Target is not a typed array")},JL=function(B){if(Jb(B)&&(!Co||VL(wn,B)))return B;throw $D(jL(B)+" is not a typed array constructor")},YL=function(B,N,M,U){if(!!MD){if(M)for(var ee in _n){var fe=ut[ee];if(fe&&Mu(fe.prototype,B))try{delete fe.prototype[B]}catch{try{fe.prototype[B]=N}catch{}}}(!sn[B]||M)&&AD(sn,B,M?N:Zn&&bD[B]||N,U)}},KL=function(B,N,M){var U,ee;if(!!MD){if(Co){if(M){for(U in _n)if(ee=ut[U],ee&&Mu(ee,B))try{delete ee[B]}catch{}}if(!wn[B]||M)try{return AD(wn,B,M?N:Zn&&wn[B]||N)}catch{}else return}for(U in _n)ee=ut[U],ee&&(!ee[B]||M)&&AD(ee,B,N)}};for(pt in _n)Ru=ut[pt],mo=Ru&&Ru.prototype,mo?Kb(mo)[Zp]=Ru:Zn=!1;for(pt in qD)Ru=ut[pt],mo=Ru&&Ru.prototype,mo&&(Kb(mo)[Zp]=Ru);if((!Zn||!Jb(wn)||wn===Function.prototype)&&(wn=function(){throw $D("Incorrect invocation")},Zn))for(pt in _n)ut[pt]&&Co(ut[pt],wn);if((!Zn||!sn||sn===HL)&&(sn=wn.prototype,Zn))for(pt in _n)ut[pt]&&Co(ut[pt].prototype,sn);Zn&&nf(ab)!==sn&&Co(ab,sn);if(MD&&!Mu(sn,ib)){Qb=!0,qL(sn,ib,{get:function(){return tf(this)?this[FD]:void 0}});for(pt in _n)ut[pt]&&$L(ut[pt],FD,pt)}var rr={NATIVE_ARRAY_BUFFER_VIEWS:Zn,TYPED_ARRAY_TAG:Qb&&FD,aTypedArray:XL,aTypedArrayConstructor:JL,exportTypedArrayMethod:YL,exportTypedArrayStaticMethod:KL,getTypedArrayConstructor:Zb,isView:zL,isTypedArray:_b,TypedArray:wn,TypedArrayPrototype:sn},eF=$u,mD=qu,QL=U7,ZL=rr.NATIVE_ARRAY_BUFFER_VIEWS,_L=eF.ArrayBuffer,Wa=eF.Int8Array,eR=!ZL||!mD(function(){Wa(1)})||!mD(function(){new Wa(-1)})||!QL(function(B){new Wa,new Wa(null),new Wa(1.5),new Wa(B)},!0)||mD(function(){return new Wa(new _L(2),1,void 0).length!==1}),rR=Ub,tR=RangeError,nR=function(B){var N=rR(B);if(N<0)throw tR("The argument can't be less than 0");return N},uR=nR,aR=RangeError,rF=function(B,N){var M=uR(B);if(M%N)throw aR("Wrong offset");return M},iR=W7,oR=gc,sR=G7,cR=rf,lR=Eo,pR=H7,fR=z7,dR=X7,hR=rr.aTypedArrayConstructor,DR=function(N){var M=sR(this),U=cR(N),ee=arguments.length,fe=ee>1?arguments[1]:void 0,Ve=fe!==void 0,ge=fR(U),De,Ge,cn,kn,ln,bt;if(ge&&!dR(ge))for(ln=pR(U,ge),bt=ln.next,U=[];!(kn=oR(bt,ln)).done;)U.push(kn.value);for(Ve&&ee>2&&(fe=iR(fe,arguments[2])),Ge=lR(U),cn=new(hR(M))(Ge),De=0;Ge>De;De++)cn[De]=Ve?fe(U[De],De):U[De];return cn},ob=ju,tF=$u,sb=gc,gR=Ob,mR=eR,Ao=rr,nF=K7,cb=_7,vR=Q7,pc=Mb,yR=eL,ER=Wb,lb=rL,vD=rF,uF=Z7,fc=Rb,CR=LD,SD=Lb,AR=tL,bR=nL,FR=Vb,zp=jb,SR=J7.f,pb=DR,TR=Vu.forEach,xR=uL,aF=Ib,iF=Y7,VD=qb,wR=aL,TD=VD.get,BR=VD.set,kR=VD.enforce,UD=aF.f,NR=iF.f,PR=Math.round,yD=tF.RangeError,oF=nF.ArrayBuffer,IR=oF.prototype,OR=nF.DataView,Xp=Ao.NATIVE_ARRAY_BUFFER_VIEWS,fb=Ao.TYPED_ARRAY_TAG,db=Ao.TypedArray,dc=Ao.TypedArrayPrototype,LR=Ao.aTypedArrayConstructor,xD=Ao.isTypedArray,Jp="BYTES_PER_ELEMENT",ED="Wrong length",hb=function(B,N){LR(B);for(var M=0,U=N.length,ee=new B(U);U>M;)ee[M]=N[M++];return ee},Yp=function(B,N){UD(B,N,{get:function(){return TD(this)[N]}})},Db=function(B){var N;return FR(IR,B)||(N=CR(B))=="ArrayBuffer"||N=="SharedArrayBuffer"},sF=function(B,N){return xD(B)&&!AR(N)&&N in B&&yR(+N)&&N>=0},gb=function(N,M){return M=uF(M),sF(N,M)?vR(2,N[M]):NR(N,M)},mb=function(N,M,U){return M=uF(M),sF(N,M)&&SD(U)&&fc(U,"value")&&!fc(U,"get")&&!fc(U,"set")&&!U.configurable&&(!fc(U,"writable")||U.writable)&&(!fc(U,"enumerable")||U.enumerable)?(N[M]=U.value,N):UD(N,M,U)};gR?(Xp||(iF.f=gb,aF.f=mb,Yp(dc,"buffer"),Yp(dc,"byteOffset"),Yp(dc,"byteLength"),Yp(dc,"length")),ob({target:"Object",stat:!0,forced:!Xp},{getOwnPropertyDescriptor:gb,defineProperty:mb}),yo.exports=function(B,N,M){var U=B.match(/\d+$/)[0]/8,ee=B+(M?"Clamped":"")+"Array",fe="get"+B,Ve="set"+B,ge=tF[ee],De=ge,Ge=De&&De.prototype,cn={},kn=function(Dr,Ye){var fr=TD(Dr);return fr.view[fe](Ye*U+fr.byteOffset,!0)},ln=function(Dr,Ye,fr){var Ft=TD(Dr);M&&(fr=(fr=PR(fr))<0?0:fr>255?255:fr&255),Ft.view[Ve](Ye*U+Ft.byteOffset,fr,!0)},bt=function(Dr,Ye){UD(Dr,Ye,{get:function(){return kn(this,Ye)},set:function(fr){return ln(this,Ye,fr)},enumerable:!0})};Xp?mR&&(De=N(function(Dr,Ye,fr,Ft){return cb(Dr,Ge),wR(function(){return SD(Ye)?Db(Ye)?Ft!==void 0?new ge(Ye,vD(fr,U),Ft):fr!==void 0?new ge(Ye,vD(fr,U)):new ge(Ye):xD(Ye)?hb(De,Ye):sb(pb,De,Ye):new ge(lb(Ye))}(),Dr,De)}),zp&&zp(De,db),TR(SR(ge),function(Dr){Dr in De||pc(De,Dr,ge[Dr])}),De.prototype=Ge):(De=N(function(Dr,Ye,fr,Ft){cb(Dr,Ge);var Nn=0,Gt=0,eu,ft,pn;if(!SD(Ye))pn=lb(Ye),ft=pn*U,eu=new oF(ft);else if(Db(Ye)){eu=Ye,Gt=vD(fr,U);var Wu=Ye.byteLength;if(Ft===void 0){if(Wu%U||(ft=Wu-Gt,ft<0))throw yD(ED)}else if(ft=ER(Ft)*U,ft+Gt>Wu)throw yD(ED);pn=ft/U}else return xD(Ye)?hb(De,Ye):sb(pb,De,Ye);for(BR(Dr,{buffer:eu,byteOffset:Gt,byteLength:ft,length:pn,view:new OR(eu)});Nn<pn;)bt(Dr,Nn++)}),zp&&zp(De,db),Ge=De.prototype=bR(dc)),Ge.constructor!==De&&pc(Ge,"constructor",De),kR(Ge).TypedArrayConstructor=De,fb&&pc(Ge,fb,ee);var Uu=De!=ge;cn[ee]=De,ob({global:!0,constructor:!0,forced:Uu,sham:!Xp},cn),Jp in De||pc(De,Jp,U),Jp in Ge||pc(Ge,Jp,U),xR(ee)}):yo.exports=function(){};var RR=yo.exports;RR("Uint8",function(B){return function(M,U,ee){return B(this,M,U,ee)}});var MR=rf,CD=OD,jR=Eo,$R=iL,qR=Math.min,VR=[].copyWithin||function(N,M){var U=MR(this),ee=jR(U),fe=CD(N,ee),Ve=CD(M,ee),ge=arguments.length>2?arguments[2]:void 0,De=qR((ge===void 0?ee:CD(ge,ee))-Ve,ee-fe),Ge=1;for(Ve<fe&&fe<Ve+De&&(Ge=-1,Ve+=De-1,fe+=De-1);De-- >0;)Ve in U?U[fe]=U[Ve]:$R(U,fe),fe+=Ge,Ve+=Ge;return U},UR=Ha,cF=rr,WR=VR,GR=UR(WR),HR=cF.aTypedArray,zR=cF.exportTypedArrayMethod;zR("copyWithin",function(N,M){return GR(HR(this),N,M,arguments.length>2?arguments[2]:void 0)});var lF=rr,XR=Vu.every,JR=lF.aTypedArray,YR=lF.exportTypedArrayMethod;YR("every",function(N){return XR(JR(this),N,arguments.length>1?arguments[1]:void 0)});var KR=oL,QR=TypeError,ZR=function(B){var N=KR(B,"number");if(typeof N=="number")throw QR("Can't convert number to bigint");return BigInt(N)},pF=rr,_R=sL,eM=ZR,rM=LD,tM=gc,nM=Ha,uM=qu,aM=pF.aTypedArray,iM=pF.exportTypedArrayMethod,oM=nM("".slice),sM=uM(function(){var B=0;return new Int8Array(2).fill({valueOf:function(){return B++}}),B!==1});iM("fill",function(N){var M=arguments.length;aM(this);var U=oM(rM(this),0,3)==="Big"?eM(N):+N;return tM(_R,this,U,M>1?arguments[1]:void 0,M>2?arguments[2]:void 0)},sM);var cM=Eo,lM=function(B,N){for(var M=0,U=cM(N),ee=new B(U);U>M;)ee[M]=N[M++];return ee},fF=rr,pM=cL,fM=fF.aTypedArrayConstructor,dM=fF.getTypedArrayConstructor,uf=function(B){return fM(pM(B,dM(B)))},hM=lM,DM=uf,gM=function(B,N){return hM(DM(B),N)},dF=rr,mM=Vu.filter,vM=gM,yM=dF.aTypedArray,EM=dF.exportTypedArrayMethod;EM("filter",function(N){var M=mM(yM(this),N,arguments.length>1?arguments[1]:void 0);return vM(this,M)});var hF=rr,CM=Vu.find,AM=hF.aTypedArray,bM=hF.exportTypedArrayMethod;bM("find",function(N){return CM(AM(this),N,arguments.length>1?arguments[1]:void 0)});var DF=rr,FM=Vu.findIndex,SM=DF.aTypedArray,TM=DF.exportTypedArrayMethod;TM("findIndex",function(N){return FM(SM(this),N,arguments.length>1?arguments[1]:void 0)});var gF=rr,xM=Vu.forEach,wM=gF.aTypedArray,BM=gF.exportTypedArrayMethod;BM("forEach",function(N){xM(wM(this),N,arguments.length>1?arguments[1]:void 0)});var mF=rr,kM=Gb.includes,NM=mF.aTypedArray,PM=mF.exportTypedArrayMethod;PM("includes",function(N){return kM(NM(this),N,arguments.length>1?arguments[1]:void 0)});var vF=rr,IM=Gb.indexOf,OM=vF.aTypedArray,LM=vF.exportTypedArrayMethod;LM("indexOf",function(N){return IM(OM(this),N,arguments.length>1?arguments[1]:void 0)});var RM=$u,MM=qu,WD=Ha,yF=rr,GD=lL,jM=$b,HD=jM("iterator"),vb=RM.Uint8Array,$M=WD(GD.values),qM=WD(GD.keys),VM=WD(GD.entries),zD=yF.aTypedArray,af=yF.exportTypedArrayMethod,ho=vb&&vb.prototype,of=!MM(function(){ho[HD].call([1])}),EF=!!ho&&ho.values&&ho[HD]===ho.values&&ho.values.name==="values",CF=function(){return $M(zD(this))};af("entries",function(){return VM(zD(this))},of);af("keys",function(){return qM(zD(this))},of);af("values",CF,of||!EF,{name:"values"});af(HD,CF,of||!EF,{name:"values"});var AF=rr,UM=Ha,WM=AF.aTypedArray,GM=AF.exportTypedArrayMethod,HM=UM([].join);GM("join",function(N){return HM(WM(this),N)});var zM=RD,XM=fL,JM=Ub,YM=Eo,KM=pL,QM=Math.min,wD=[].lastIndexOf,bF=!!wD&&1/[1].lastIndexOf(1,-0)<0,ZM=KM("lastIndexOf"),_M=bF||!ZM,ej=_M?function(N){if(bF)return zM(wD,this,arguments)||0;var M=XM(this),U=YM(M),ee=U-1;for(arguments.length>1&&(ee=QM(ee,JM(arguments[1]))),ee<0&&(ee=U+ee);ee>=0;ee--)if(ee in M&&M[ee]===N)return ee||0;return-1}:wD,FF=rr,rj=RD,tj=ej,nj=FF.aTypedArray,uj=FF.exportTypedArrayMethod;uj("lastIndexOf",function(N){var M=arguments.length;return rj(tj,nj(this),M>1?[N,arguments[1]]:[N])});var SF=rr,aj=Vu.map,ij=uf,oj=SF.aTypedArray,sj=SF.exportTypedArrayMethod;sj("map",function(N){return aj(oj(this),N,arguments.length>1?arguments[1]:void 0,function(M,U){return new(ij(M))(U)})});var cj=Hb,lj=rf,pj=dL,fj=Eo,dj=TypeError,yb=function(B){return function(N,M,U,ee){cj(M);var fe=lj(N),Ve=pj(fe),ge=fj(fe),De=B?ge-1:0,Ge=B?-1:1;if(U<2)for(;;){if(De in Ve){ee=Ve[De],De+=Ge;break}if(De+=Ge,B?De<0:ge<=De)throw dj("Reduce of empty array with no initial value")}for(;B?De>=0:ge>De;De+=Ge)De in Ve&&(ee=M(ee,Ve[De],De,fe));return ee}},TF={left:yb(!1),right:yb(!0)},xF=rr,hj=TF.left,Dj=xF.aTypedArray,gj=xF.exportTypedArrayMethod;gj("reduce",function(N){var M=arguments.length;return hj(Dj(this),N,M,M>1?arguments[1]:void 0)});var wF=rr,mj=TF.right,vj=wF.aTypedArray,yj=wF.exportTypedArrayMethod;yj("reduceRight",function(N){var M=arguments.length;return mj(vj(this),N,M,M>1?arguments[1]:void 0)});var BF=rr,Ej=BF.aTypedArray,Cj=BF.exportTypedArrayMethod,Aj=Math.floor;Cj("reverse",function(){for(var N=this,M=Ej(N).length,U=Aj(M/2),ee=0,fe;ee<U;)fe=N[ee],N[ee++]=N[--M],N[M]=fe;return N});var kF=$u,NF=gc,XD=rr,bj=Eo,Fj=rF,Sj=rf,PF=qu,Tj=kF.RangeError,BD=kF.Int8Array,Eb=BD&&BD.prototype,IF=Eb&&Eb.set,xj=XD.aTypedArray,wj=XD.exportTypedArrayMethod,kD=!PF(function(){var B=new Uint8ClampedArray(2);return NF(IF,B,{length:1,0:3},1),B[1]!==3}),Bj=kD&&XD.NATIVE_ARRAY_BUFFER_VIEWS&&PF(function(){var B=new BD(2);return B.set(1),B.set("2",1),B[0]!==0||B[1]!==2});wj("set",function(N){xj(this);var M=Fj(arguments.length>1?arguments[1]:void 0,1),U=Sj(N);if(kD)return NF(IF,this,U,M);var ee=this.length,fe=bj(U),Ve=0;if(fe+M>ee)throw Tj("Wrong length");for(;Ve<fe;)this[M+Ve]=U[Ve++]},!kD||Bj);var OF=rr,kj=uf,Nj=qu,Pj=zb,Ij=OF.aTypedArray,Oj=OF.exportTypedArrayMethod,Lj=Nj(function(){new Int8Array(1).slice()});Oj("slice",function(N,M){for(var U=Pj(Ij(this),N,M),ee=kj(this),fe=0,Ve=U.length,ge=new ee(Ve);Ve>fe;)ge[fe]=U[fe++];return ge},Lj);var LF=rr,Rj=Vu.some,Mj=LF.aTypedArray,jj=LF.exportTypedArrayMethod;jj("some",function(N){return Rj(Mj(this),N,arguments.length>1?arguments[1]:void 0)});var $j=$u,qj=Ha,ND=qu,Vj=Hb,Uj=hL,RF=rr,Cb=DL,Wj=gL,Ab=mL,bb=vL,Gj=RF.aTypedArray,Hj=RF.exportTypedArrayMethod,hc=$j.Uint16Array,vo=hc&&qj(hc.prototype.sort),zj=!!vo&&!(ND(function(){vo(new hc(2),null)})&&ND(function(){vo(new hc(2),{})})),Fb=!!vo&&!ND(function(){if(Ab)return Ab<74;if(Cb)return Cb<67;if(Wj)return!0;if(bb)return bb<602;var B=new hc(516),N=Array(516),M,U;for(M=0;M<516;M++)U=M%4,B[M]=515-M,N[M]=M-2*U+3;for(vo(B,function(ee,fe){return(ee/4|0)-(fe/4|0)}),M=0;M<516;M++)if(B[M]!==N[M])return!0}),Xj=function(B){return function(N,M){return B!==void 0?+B(N,M)||0:M!==M?-1:N!==N?1:N===0&&M===0?1/N>0&&1/M<0?1:-1:N>M}};Hj("sort",function(N){return N!==void 0&&Vj(N),Fb?vo(this,N):Uj(Gj(this),Xj(N))},!Fb||zj);var MF=rr,Jj=Wb,Sb=OD,Yj=uf,Kj=MF.aTypedArray,Qj=MF.exportTypedArrayMethod;Qj("subarray",function(N,M){var U=Kj(this),ee=U.length,fe=Sb(N,ee),Ve=Yj(U);return new Ve(U.buffer,U.byteOffset+fe*U.BYTES_PER_ELEMENT,Jj((M===void 0?ee:Sb(M,ee))-fe))});var Zj=$u,_j=RD,jF=rr,PD=qu,Tb=zb,_p=Zj.Int8Array,xb=jF.aTypedArray,e$=jF.exportTypedArrayMethod,$F=[].toLocaleString,r$=!!_p&&PD(function(){$F.call(new _p(1))}),t$=PD(function(){return[1,2].toLocaleString()!=new _p([1,2]).toLocaleString()})||!PD(function(){_p.prototype.toLocaleString.call([1,2])});e$("toLocaleString",function(){return _j($F,r$?Tb(xb(this)):xb(this),Tb(arguments))},t$);var n$=rr.exportTypedArrayMethod,u$=qu,a$=$u,i$=Ha,wb=a$.Uint8Array,o$=wb&&wb.prototype||{},ef=[].toString,s$=i$([].join);u$(function(){ef.call({})})&&(ef=function(){return s$(this)});var c$=o$.toString!=ef;n$("toString",ef,c$);var l$=yL;l$("asyncIterator");var p$=yo.exports;p$("Uint16",function(B){return function(M,U,ee){return B(this,M,U,ee)}});var f$=yo.exports;f$("Float32",function(B){return function(M,U,ee){return B(this,M,U,ee)}});var d$=yo.exports;d$("Float64",function(B){return function(M,U,ee){return B(this,M,U,ee)}});var h$=EL.start,D$=CL,qF=D$("trimStart")?function(){return h$(this)}:"".trimStart,g$=ju,Bb=qF;g$({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==Bb},{trimLeft:Bb});var m$=ju,kb=qF;m$({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==kb},{trimStart:kb});var v$=ju,y$=AL,E$=bL;v$({target:"String",proto:!0,forced:E$("anchor")},{anchor:function(N){return y$(this,"a","name",N)}});function Do(B){var N=typeof Map=="function"?new Map:void 0;return Do=function(U){if(U===null||!C$(U))return U;if(typeof U!="function")throw new TypeError("Super expression must either be null or a function");if(typeof N<"u"){if(N.has(U))return N.get(U);N.set(U,ee)}function ee(){return Kp(U,arguments,Bn(this).constructor)}return ee.prototype=Object.create(U.prototype,{constructor:{value:ee,enumerable:!1,writable:!0,configurable:!0}}),Dc(ee,U)},Do(B)}function Kp(B,N,M){return UF()?Kp=Reflect.construct:Kp=function(ee,fe,Ve){var ge=[null];ge.push.apply(ge,fe);var De=Function.bind.apply(ee,ge),Ge=new De;return Ve&&Dc(Ge,Ve.prototype),Ge},Kp.apply(null,arguments)}function C$(B){return Function.toString.call(B).indexOf("[native code]")!==-1}function Nb(B){return HF(B)||WF(B)||sf(B)||GF()}function Ga(){return typeof Reflect<"u"&&Reflect.get?Ga=Reflect.get:Ga=function(N,M,U){var ee=A$(N,M);if(!!ee){var fe=Object.getOwnPropertyDescriptor(ee,M);return fe.get?fe.get.call(arguments.length<3?N:U):fe.value}},Ga.apply(this,arguments)}function A$(B,N){for(;!Object.prototype.hasOwnProperty.call(B,N)&&(B=Bn(B),B!==null););return B}function br(B,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(N&&N.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),Object.defineProperty(B,"prototype",{writable:!1}),N&&Dc(B,N)}function Dc(B,N){return Dc=Object.setPrototypeOf||function(U,ee){return U.__proto__=ee,U},Dc(B,N)}function Fr(B){var N=UF();return function(){var U=Bn(B),ee;if(N){var fe=Bn(this).constructor;ee=Reflect.construct(U,arguments,fe)}else ee=U.apply(this,arguments);return VF(this,ee)}}function VF(B,N){if(N&&(Se(N)==="object"||typeof N=="function"))return N;if(N!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return b$(B)}function b$(B){if(B===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}function UF(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Bn(B){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(M){return M.__proto__||Object.getPrototypeOf(M)},Bn(B)}function le(B,N){var M=typeof Symbol<"u"&&B[Symbol.iterator]||B["@@iterator"];if(!M){if(Array.isArray(B)||(M=sf(B))||N&&B&&typeof B.length=="number"){M&&(B=M);var U=0,ee=function(){};return{s:ee,n:function(){return U>=B.length?{done:!0}:{done:!1,value:B[U++]}},e:function(Ge){throw Ge},f:ee}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var fe=!0,Ve=!1,ge;return{s:function(){M=M.call(B)},n:function(){var Ge=M.next();return fe=Ge.done,Ge},e:function(Ge){Ve=!0,ge=Ge},f:function(){try{!fe&&M.return!=null&&M.return()}finally{if(Ve)throw ge}}}}function Qn(B,N,M){return N in B?Object.defineProperty(B,N,{value:M,enumerable:!0,configurable:!0,writable:!0}):B[N]=M,B}function _(B){return S$(B)||WF(B)||sf(B)||F$()}function F$(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WF(B){if(typeof Symbol<"u"&&B[Symbol.iterator]!=null||B["@@iterator"]!=null)return Array.from(B)}function S$(B){if(Array.isArray(B))return ID(B)}function ke(B,N){return HF(B)||T$(B,N)||sf(B,N)||GF()}function GF(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sf(B,N){if(!!B){if(typeof B=="string")return ID(B,N);var M=Object.prototype.toString.call(B).slice(8,-1);if(M==="Object"&&B.constructor&&(M=B.constructor.name),M==="Map"||M==="Set")return Array.from(B);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return ID(B,N)}}function ID(B,N){(N==null||N>B.length)&&(N=B.length);for(var M=0,U=new Array(N);M<N;M++)U[M]=B[M];return U}function T$(B,N){var M=B==null?null:typeof Symbol<"u"&&B[Symbol.iterator]||B["@@iterator"];if(M!=null){var U=[],ee=!0,fe=!1,Ve,ge;try{for(M=M.call(B);!(ee=(Ve=M.next()).done)&&(U.push(Ve.value),!(N&&U.length===N));ee=!0);}catch(De){fe=!0,ge=De}finally{try{!ee&&M.return!=null&&M.return()}finally{if(fe)throw ge}}return U}}function HF(B){if(Array.isArray(B))return B}function Se(B){return Se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(N){return typeof N}:function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},Se(B)}function se(B,N){if(!(B instanceof N))throw new TypeError("Cannot call a class as a function")}function Pb(B,N){for(var M=0;M<N.length;M++){var U=N[M];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(B,U.key,U)}}function ce(B,N,M){return N&&Pb(B.prototype,N),M&&Pb(B,M),Object.defineProperty(B,"prototype",{writable:!1}),B}var zF={exports:{}};(function(B,N){(function(M,U){B.exports=U()})(go,function(){var M=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof go<"u"?go:typeof self<"u"?self:{};function U(E){var h={exports:{}};return E(h,h.exports),h.exports}var ee=U(function(E,h){function g(m){return h.$0<=m&&m<=h.$9}/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/Object.defineProperty(h,"__esModule",{value:!0}),h.$EOF=0,h.$BSPACE=8,h.$TAB=9,h.$LF=10,h.$VTAB=11,h.$FF=12,h.$CR=13,h.$SPACE=32,h.$BANG=33,h.$DQ=34,h.$HASH=35,h.$$=36,h.$PERCENT=37,h.$AMPERSAND=38,h.$SQ=39,h.$LPAREN=40,h.$RPAREN=41,h.$STAR=42,h.$PLUS=43,h.$COMMA=44,h.$MINUS=45,h.$PERIOD=46,h.$SLASH=47,h.$COLON=58,h.$SEMICOLON=59,h.$LT=60,h.$EQ=61,h.$GT=62,h.$QUESTION=63,h.$0=48,h.$7=55,h.$9=57,h.$A=65,h.$E=69,h.$F=70,h.$X=88,h.$Z=90,h.$LBRACKET=91,h.$BACKSLASH=92,h.$RBRACKET=93,h.$CARET=94,h.$_=95,h.$a=97,h.$b=98,h.$e=101,h.$f=102,h.$n=110,h.$r=114,h.$t=116,h.$u=117,h.$v=118,h.$x=120,h.$z=122,h.$LBRACE=123,h.$BAR=124,h.$RBRACE=125,h.$NBSP=160,h.$PIPE=124,h.$TILDA=126,h.$AT=64,h.$BT=96,h.isWhitespace=function(m){return m>=h.$TAB&&m<=h.$SPACE||m==h.$NBSP},h.isDigit=g,h.isAsciiLetter=function(m){return m>=h.$a&&m<=h.$z||m>=h.$A&&m<=h.$Z},h.isAsciiHexDigit=function(m){return m>=h.$a&&m<=h.$f||m>=h.$A&&m<=h.$F||g(m)},h.isNewLine=function(m){return m===h.$LF||m===h.$CR},h.isOctalDigit=function(m){return h.$0<=m&&m<=h.$7}});/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/var fe=function(){function E(h,g,m){se(this,E),this.filePath=h,this.name=g,this.members=m}return ce(E,[{key:"assertNoMembers",value:function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),E}(),Ve=fe,ge=function(){function E(){se(this,E),this.cache=new Map}return ce(E,[{key:"get",value:function(g,m,C){var T=(C=C||[]).length?".".concat(C.join(".")):"",L='"'.concat(g,'".').concat(m).concat(T),j=this.cache.get(L);return j||(j=new fe(g,m,C),this.cache.set(L,j)),j}}]),E}(),De=Object.defineProperty({StaticSymbol:Ve,StaticSymbolCache:ge},"__esModule",{value:!0});/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/var Ge=/-+([a-z0-9])/g,cn=function(h){return h.replace(Ge,function(){for(var g=arguments.length,m=new Array(g),C=0;C<g;C++)m[C]=arguments[C];return m[1].toUpperCase()})},kn=function(h,g){return bt(h,":",g)},ln=function(h,g){return bt(h,".",g)};function bt(E,h,g){var m=E.indexOf(h);return m==-1?g:[E.slice(0,m).trim(),E.slice(m+1).trim()]}function Uu(E,h,g){return Array.isArray(E)?h.visitArray(E,g):Se(m=E)=="object"&&m!==null&&Object.getPrototypeOf(m)===cf?h.visitStringMap(E,g):E==null||typeof E=="string"||typeof E=="number"||typeof E=="boolean"?h.visitPrimitive(E,g):h.visitOther(E,g);var m}var Dr=Uu,Ye=function(h){return h!=null},fr=function(h){return h===void 0?null:h},Ft=function(){function E(){se(this,E)}return ce(E,[{key:"visitArray",value:function(g,m){var C=this;return g.map(function(T){return Uu(T,C,m)})}},{key:"visitStringMap",value:function(g,m){var C=this,T={};return Object.keys(g).forEach(function(L){T[L]=Uu(g[L],C,m)}),T}},{key:"visitPrimitive",value:function(g,m){return g}},{key:"visitOther",value:function(g,m){return g}}]),E}(),Nn={assertSync:function(h){if(ru(h))throw new Error("Illegal state: value cannot be a promise");return h},then:function(h,g){return ru(h)?h.then(g):g(h)},all:function(h){return h.some(ru)?Promise.all(h):h}},Gt=function(h){throw new Error("Internal Error: ".concat(h))},eu=function(h,g){var m=Error(h);return m[ft]=!0,g&&(m[pn]=g),m},ft="ngSyntaxError",pn="ngParseErrors",Wu=function(h){return h[ft]},mc=function(h){return h[pn]||[]},vc=function(h){return h.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},cf=Object.getPrototypeOf({}),lf=function(h){for(var g="",m=0;m<h.length;m++){var C=h.charCodeAt(m);if(C>=55296&&C<=56319&&h.length>m+1){var T=h.charCodeAt(m+1);T>=56320&&T<=57343&&(m++,C=(C-55296<<10)+T-56320+65536)}C<=127?g+=String.fromCharCode(C):C<=2047?g+=String.fromCharCode(C>>6&31|192,63&C|128):C<=65535?g+=String.fromCharCode(C>>12|224,C>>6&63|128,63&C|128):C<=2097151&&(g+=String.fromCharCode(C>>18&7|240,C>>12&63|128,C>>6&63|128,63&C|128))}return g},pf=function E(h){if(typeof h=="string")return h;if(h instanceof Array)return"["+h.map(E).join(", ")+"]";if(h==null)return""+h;if(h.overriddenName)return"".concat(h.overriddenName);if(h.name)return"".concat(h.name);if(!h.toString)return"object";var g=h.toString();if(g==null)return""+g;var m=g.indexOf(`
|
|
`);return m===-1?g:g.substring(0,m)},ff=function(h){return typeof h=="function"&&h.hasOwnProperty("__forward_ref__")?h():h};function ru(E){return!!E&&typeof E.then=="function"}var bo=ru,yc=ce(function E(h){se(this,E),this.full=h;var g=h.split(".");this.major=g[0],this.minor=g[1],this.patch=g.slice(2).join(".")}),Ec=typeof window<"u"&&window,Cc=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,za=M!==void 0&&M||Ec||Cc,Xa=Object.defineProperty({dashCaseToCamelCase:cn,splitAtColon:kn,splitAtPeriod:ln,visitValue:Dr,isDefined:Ye,noUndefined:fr,ValueTransformer:Ft,SyncAsync:Nn,error:Gt,syntaxError:eu,isSyntaxError:Wu,getParseErrors:mc,escapeRegExp:vc,utf8Encode:lf,stringify:pf,resolveForwardRef:ff,isPromise:bo,Version:yc,global:za},"__esModule",{value:!0}),Fo=U(function(E,h){/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/Object.defineProperty(h,"__esModule",{value:!0});var g=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function m(z){return z.replace(/\W/g,"_")}h.sanitizeIdentifier=m;var C=0;function T(z){if(!z||!z.reference)return null;var V=z.reference;if(V instanceof De.StaticSymbol)return V.name;if(V.__anonymousType)return V.__anonymousType;var J=Xa.stringify(V);return J.indexOf("(")>=0?(J="anonymous_".concat(C++),V.__anonymousType=J):J=m(J),J}var L;h.identifierName=T,h.identifierModuleUrl=function(z){var V=z.reference;return V instanceof De.StaticSymbol?V.filePath:"./".concat(Xa.stringify(V))},h.viewClassName=function(z,V){return"View_".concat(T({reference:z}),"_").concat(V)},h.rendererTypeName=function(z){return"RenderType_".concat(T({reference:z}))},h.hostViewClassName=function(z){return"HostView_".concat(T({reference:z}))},h.componentFactoryName=function(z){return"".concat(T({reference:z}),"NgFactory")},function(z){z[z.Pipe=0]="Pipe",z[z.Directive=1]="Directive",z[z.NgModule=2]="NgModule",z[z.Injectable=3]="Injectable"}(L=h.CompileSummaryKind||(h.CompileSummaryKind={})),h.tokenName=function(z){return z.value!=null?m(z.value):T(z.identifier)},h.tokenReference=function(z){return z.identifier!=null?z.identifier.reference:z.value},h.CompileStylesheetMetadata=function(){function z(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},J=V.moduleUrl,Ee=V.styles,re=V.styleUrls;se(this,z),this.moduleUrl=J||null,this.styles=Q(Ee),this.styleUrls=Q(re)}return ce(z)}(),h.CompileTemplateMetadata=function(){function z(V){var J=V.encapsulation,Ee=V.template,re=V.templateUrl,me=V.htmlAst,ve=V.styles,xe=V.styleUrls,Be=V.externalStylesheets,G=V.animations,Y=V.ngContentSelectors,P=V.interpolation,W=V.isInline,te=V.preserveWhitespaces;if(se(this,z),this.encapsulation=J,this.template=Ee,this.templateUrl=re,this.htmlAst=me,this.styles=Q(ve),this.styleUrls=Q(xe),this.externalStylesheets=Q(Be),this.animations=G?pe(G):[],this.ngContentSelectors=Y||[],P&&P.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=P,this.isInline=W,this.preserveWhitespaces=te}return ce(z,[{key:"toSummary",value:function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),z}();var j=function(){function z(V){var J=V.isHost,Ee=V.type,re=V.isComponent,me=V.selector,ve=V.exportAs,xe=V.changeDetection,Be=V.inputs,G=V.outputs,Y=V.hostListeners,P=V.hostProperties,W=V.hostAttributes,te=V.providers,ie=V.viewProviders,Ie=V.queries,je=V.guards,Xe=V.viewQueries,Sr=V.entryComponents,gr=V.template,Or=V.componentViewType,ot=V.rendererType,Nt=V.componentFactory;se(this,z),this.isHost=!!J,this.type=Ee,this.isComponent=re,this.selector=me,this.exportAs=ve,this.changeDetection=xe,this.inputs=Be,this.outputs=G,this.hostListeners=Y,this.hostProperties=P,this.hostAttributes=W,this.providers=Q(te),this.viewProviders=Q(ie),this.queries=Q(Ie),this.guards=je,this.viewQueries=Q(Xe),this.entryComponents=Q(Sr),this.template=gr,this.componentViewType=Or,this.rendererType=ot,this.componentFactory=Nt}return ce(z,[{key:"toSummary",value:function(){return{summaryKind:L.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}],[{key:"create",value:function(J){var Ee=J.isHost,re=J.type,me=J.isComponent,ve=J.selector,xe=J.exportAs,Be=J.changeDetection,G=J.inputs,Y=J.outputs,P=J.host,W=J.providers,te=J.viewProviders,ie=J.queries,Ie=J.guards,je=J.viewQueries,Xe=J.entryComponents,Sr=J.template,gr=J.componentViewType,Or=J.rendererType,ot=J.componentFactory,Nt={},dt={},mn={};P!=null&&Object.keys(P).forEach(function(Lr){var Tr=P[Lr],Ze=Lr.match(g);Ze===null?mn[Lr]=Tr:Ze[1]!=null?dt[Ze[1]]=Tr:Ze[2]!=null&&(Nt[Ze[2]]=Tr)});var Du={};G!=null&&G.forEach(function(Lr){var Tr=Xa.splitAtColon(Lr,[Lr,Lr]);Du[Tr[0]]=Tr[1]});var gu={};return Y!=null&&Y.forEach(function(Lr){var Tr=Xa.splitAtColon(Lr,[Lr,Lr]);gu[Tr[0]]=Tr[1]}),new z({isHost:Ee,type:re,isComponent:!!me,selector:ve,exportAs:xe,changeDetection:Be,inputs:Du,outputs:gu,hostListeners:Nt,hostProperties:dt,hostAttributes:mn,providers:W,viewProviders:te,queries:ie,guards:Ie,viewQueries:je,entryComponents:Xe,template:Sr,componentViewType:gr,rendererType:Or,componentFactory:ot})}}]),z}();h.CompileDirectiveMetadata=j,h.CompilePipeMetadata=function(){function z(V){var J=V.type,Ee=V.name,re=V.pure;se(this,z),this.type=J,this.name=Ee,this.pure=!!re}return ce(z,[{key:"toSummary",value:function(){return{summaryKind:L.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),z}(),h.CompileShallowModuleMetadata=function(){function z(){se(this,z)}return ce(z)}(),h.CompileNgModuleMetadata=function(){function z(V){var J=V.type,Ee=V.providers,re=V.declaredDirectives,me=V.exportedDirectives,ve=V.declaredPipes,xe=V.exportedPipes,Be=V.entryComponents,G=V.bootstrapComponents,Y=V.importedModules,P=V.exportedModules,W=V.schemas,te=V.transitiveModule,ie=V.id;se(this,z),this.type=J||null,this.declaredDirectives=Q(re),this.exportedDirectives=Q(me),this.declaredPipes=Q(ve),this.exportedPipes=Q(xe),this.providers=Q(Ee),this.entryComponents=Q(Be),this.bootstrapComponents=Q(G),this.importedModules=Q(Y),this.exportedModules=Q(P),this.schemas=Q(W),this.id=ie||null,this.transitiveModule=te||null}return ce(z,[{key:"toSummary",value:function(){var J=this.transitiveModule;return{summaryKind:L.NgModule,type:this.type,entryComponents:J.entryComponents,providers:J.providers,modules:J.modules,exportedDirectives:J.exportedDirectives,exportedPipes:J.exportedPipes}}}]),z}();function Q(z){return z||[]}h.TransitiveCompileNgModuleMetadata=function(){function z(){se(this,z),this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return ce(z,[{key:"addProvider",value:function(J,Ee){this.providers.push({provider:J,module:Ee})}},{key:"addDirective",value:function(J){this.directivesSet.has(J.reference)||(this.directivesSet.add(J.reference),this.directives.push(J))}},{key:"addExportedDirective",value:function(J){this.exportedDirectivesSet.has(J.reference)||(this.exportedDirectivesSet.add(J.reference),this.exportedDirectives.push(J))}},{key:"addPipe",value:function(J){this.pipesSet.has(J.reference)||(this.pipesSet.add(J.reference),this.pipes.push(J))}},{key:"addExportedPipe",value:function(J){this.exportedPipesSet.has(J.reference)||(this.exportedPipesSet.add(J.reference),this.exportedPipes.push(J))}},{key:"addModule",value:function(J){this.modulesSet.has(J.reference)||(this.modulesSet.add(J.reference),this.modules.push(J))}},{key:"addEntryComponent",value:function(J){this.entryComponentsSet.has(J.componentType)||(this.entryComponentsSet.add(J.componentType),this.entryComponents.push(J))}}]),z}();function pe(z){return z.reduce(function(V,J){var Ee=Array.isArray(J)?pe(J):J;return V.concat(Ee)},[])}function he(z){return z.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}h.ProviderMeta=function(){function z(V,J){var Ee=J.useClass,re=J.useValue,me=J.useExisting,ve=J.useFactory,xe=J.deps,Be=J.multi;se(this,z),this.token=V,this.useClass=Ee||null,this.useValue=re,this.useExisting=me,this.useFactory=ve||null,this.dependencies=xe||null,this.multi=!!Be}return ce(z)}(),h.flatten=pe,h.templateSourceUrl=function(z,V,J){var Ee;return Ee=J.isInline?V.type.reference instanceof De.StaticSymbol?"".concat(V.type.reference.filePath,".").concat(V.type.reference.name,".html"):"".concat(T(z),"/").concat(T(V.type),".html"):J.templateUrl,V.type.reference instanceof De.StaticSymbol?Ee:he(Ee)},h.sharedStylesheetJitUrl=function(z,V){var J=z.moduleUrl.split(/\/\\/g),Ee=J[J.length-1];return he("css/".concat(V).concat(Ee,".ngstyle.js"))},h.ngModuleJitUrl=function(z){return he("".concat(T(z.type),"/module.ngfactory.js"))},h.templateJitUrl=function(z,V){return he("".concat(T(z),"/").concat(T(V.type),".ngfactory.js"))}}),ar=U(function(E,h){Object.defineProperty(h,"__esModule",{value:!0});/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/var g=function(){function L(j,Q,pe,he){se(this,L),this.file=j,this.offset=Q,this.line=pe,this.col=he}return ce(L,[{key:"toString",value:function(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function(Q){for(var pe=this.file.content,he=pe.length,z=this.offset,V=this.line,J=this.col;z>0&&Q<0;)if(z--,Q++,pe.charCodeAt(z)==ee.$LF){V--;var Ee=pe.substr(0,z-1).lastIndexOf(String.fromCharCode(ee.$LF));J=Ee>0?z-Ee:z}else J--;for(;z<he&&Q>0;){var re=pe.charCodeAt(z);z++,Q--,re==ee.$LF?(V++,J=0):J++}return new L(this.file,z,V,J)}},{key:"getContext",value:function(Q,pe){var he=this.file.content,z=this.offset;if(z!=null){z>he.length-1&&(z=he.length-1);for(var V=z,J=0,Ee=0;J<Q&&z>0&&(z--,J++,he[z]!=`
|
|
`||++Ee!=pe););for(J=0,Ee=0;J<Q&&V<he.length-1&&(V++,J++,he[V]!=`
|
|
`||++Ee!=pe););return{before:he.substring(z,this.offset),after:he.substring(this.offset,V+1)}}return null}}]),L}();h.ParseLocation=g;var m=ce(function L(j,Q){se(this,L),this.content=j,this.url=Q});h.ParseSourceFile=m;var C=function(){function L(j,Q){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;se(this,L),this.start=j,this.end=Q,this.details=pe}return ce(L,[{key:"toString",value:function(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),L}(),T;h.ParseSourceSpan=C,h.EMPTY_PARSE_LOCATION=new g(new m("",""),0,0,0),h.EMPTY_SOURCE_SPAN=new C(h.EMPTY_PARSE_LOCATION,h.EMPTY_PARSE_LOCATION),function(L){L[L.WARNING=0]="WARNING",L[L.ERROR=1]="ERROR"}(T=h.ParseErrorLevel||(h.ParseErrorLevel={})),h.ParseError=function(){function L(j,Q){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:T.ERROR;se(this,L),this.span=j,this.msg=Q,this.level=pe}return ce(L,[{key:"contextualMessage",value:function(){var Q=this.span.start.getContext(100,3);return Q?"".concat(this.msg,' ("').concat(Q.before,"[").concat(T[this.level]," ->]").concat(Q.after,'")'):this.msg}},{key:"toString",value:function(){var Q=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(Q)}}]),L}(),h.typeSourceSpan=function(L,j){var Q=Fo.identifierModuleUrl(j),pe=Q!=null?"in ".concat(L," ").concat(Fo.identifierName(j)," in ").concat(Q):"in ".concat(L," ").concat(Fo.identifierName(j)),he=new m("",pe);return new C(new g(he,-1,-1,-1),new g(he,-1,-1,-1))},h.r3JitTypeSourceSpan=function(L,j,Q){var pe="in ".concat(L," ").concat(j," in ").concat(Q),he=new m("",pe);return new C(new g(he,-1,-1,-1),new g(he,-1,-1,-1))}}),So=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>[\\S\\s]*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)"),df=function(h){var g=h.match(So);if(!g)return{content:h};var m=g.groups,C=m.startDelimiter,T=m.language,L=m.value,j=L===void 0?"":L,Q=m.endDelimiter,pe=T.trim()||"yaml";if(C==="+++"&&(pe="toml"),pe!=="yaml"&&C!==Q)return{content:h};var he=ke(g,1),z=he[0];return{frontMatter:{type:"front-matter",lang:pe,value:j,startDelimiter:C,endDelimiter:Q,raw:z.replace(/\n$/,"")},content:z.replace(/[^\n]/g," ")+h.slice(z.length)}},To=function(h){return h[h.length-1]},tu=function(h,g){var m=new SyntaxError(h+" ("+g.start.line+":"+g.start.column+")");return m.loc=g,m},xo=function(h){return typeof h=="string"?h.replace(function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=g.onlyFirst,C=m===void 0?!1:m,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,C?void 0:"g")}(),""):h},wo=function(h){return!Number.isNaN(h)&&h>=4352&&(h<=4447||h===9001||h===9002||11904<=h&&h<=12871&&h!==12351||12880<=h&&h<=19903||19968<=h&&h<=42182||43360<=h&&h<=43388||44032<=h&&h<=55203||63744<=h&&h<=64255||65040<=h&&h<=65049||65072<=h&&h<=65131||65281<=h&&h<=65376||65504<=h&&h<=65510||110592<=h&&h<=110593||127488<=h&&h<=127569||131072<=h&&h<=262141)},Bo=wo,Ac=wo;Bo.default=Ac;var Gu=function(h){if(typeof h!="string"||h.length===0||(h=xo(h)).length===0)return 0;h=h.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," ");for(var g=0,m=0;m<h.length;m++){var C=h.codePointAt(m);C<=31||C>=127&&C<=159||C>=768&&C<=879||(C>65535&&m++,g+=Bo(C)?2:1)}return g},ko=Gu,bc=Gu;ko.default=bc;var Fc=function(h){if(typeof h!="string")throw new TypeError("Expected a string");return h.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function nu(E,h){return h||(h=E.slice(0)),Object.freeze(Object.defineProperties(E,{raw:{value:Object.freeze(h)}}))}var Ja=function(h){for(var g=-1,m=h==null?0:h.length,C={};++g<m;){var T=h[g];C[T[0]]=T[1]}return C},Pn=Pn!==void 0?Pn:typeof self<"u"?self:typeof window<"u"?window:{};function No(){throw new Error("setTimeout has not been defined")}function Po(){throw new Error("clearTimeout has not been defined")}var Vr=No,Ht=Po;function Io(E){if(Vr===setTimeout)return setTimeout(E,0);if((Vr===No||!Vr)&&setTimeout)return Vr=setTimeout,setTimeout(E,0);try{return Vr(E,0)}catch{try{return Vr.call(null,E,0)}catch{return Vr.call(this,E,0)}}}typeof Pn.setTimeout=="function"&&(Vr=setTimeout),typeof Pn.clearTimeout=="function"&&(Ht=clearTimeout);var zt,Xt=[],uu=!1,Ya=-1;function hf(){uu&&zt&&(uu=!1,zt.length?Xt=zt.concat(Xt):Ya=-1,Xt.length&&Sc())}function Sc(){if(!uu){var E=Io(hf);uu=!0;for(var h=Xt.length;h;){for(zt=Xt,Xt=[];++Ya<h;)zt&&zt[Ya].run();Ya=-1,h=Xt.length}zt=null,uu=!1,function(g){if(Ht===clearTimeout)return clearTimeout(g);if((Ht===Po||!Ht)&&clearTimeout)return Ht=clearTimeout,clearTimeout(g);try{Ht(g)}catch{try{return Ht.call(null,g)}catch{return Ht.call(this,g)}}}(E)}}function Tc(E,h){this.fun=E,this.array=h}Tc.prototype.run=function(){this.fun.apply(null,this.array)};function In(){}var Ka=In,xc=In,au=In,wc=In,Oo=In,Bc=In,kc=In,iu=Pn.performance||{},Df=iu.now||iu.mozNow||iu.msNow||iu.oNow||iu.webkitNow||function(){return new Date().getTime()},Hu=new Date,Qa={nextTick:function(h){var g=new Array(arguments.length-1);if(arguments.length>1)for(var m=1;m<arguments.length;m++)g[m-1]=arguments[m];Xt.push(new Tc(h,g)),Xt.length!==1||uu||Io(Sc)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Ka,addListener:xc,once:au,off:wc,removeListener:Oo,removeAllListeners:Bc,emit:kc,binding:function(h){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(h){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(h){var g=.001*Df.call(iu),m=Math.floor(g),C=Math.floor(g%1*1e9);return h&&(m-=h[0],(C-=h[1])<0&&(m--,C+=1e9)),[m,C]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Hu)/1e3}},ou=Se(Qa)=="object"&&Qa.env&&Qa.env.NODE_DEBUG&&/\bsemver\b/i.test(Qa.env.NODE_DEBUG)?function(){for(var E,h=arguments.length,g=new Array(h),m=0;m<h;m++)g[m]=arguments[m];return(E=console).error.apply(E,["SEMVER"].concat(g))}:function(){},Za={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Nc=U(function(E,h){var g=Za.MAX_SAFE_COMPONENT_LENGTH,m=(h=E.exports={}).re=[],C=h.src=[],T=h.t={},L=0,j=function(pe,he,z){var V=L++;ou(V,he),T[pe]=V,C[V]=he,m[V]=new RegExp(he,z?"g":void 0)};j("NUMERICIDENTIFIER","0|[1-9]\\d*"),j("NUMERICIDENTIFIERLOOSE","[0-9]+"),j("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),j("MAINVERSION","(".concat(C[T.NUMERICIDENTIFIER],")\\.")+"(".concat(C[T.NUMERICIDENTIFIER],")\\.")+"(".concat(C[T.NUMERICIDENTIFIER],")")),j("MAINVERSIONLOOSE","(".concat(C[T.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(C[T.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(C[T.NUMERICIDENTIFIERLOOSE],")")),j("PRERELEASEIDENTIFIER","(?:".concat(C[T.NUMERICIDENTIFIER],"|").concat(C[T.NONNUMERICIDENTIFIER],")")),j("PRERELEASEIDENTIFIERLOOSE","(?:".concat(C[T.NUMERICIDENTIFIERLOOSE],"|").concat(C[T.NONNUMERICIDENTIFIER],")")),j("PRERELEASE","(?:-(".concat(C[T.PRERELEASEIDENTIFIER],"(?:\\.").concat(C[T.PRERELEASEIDENTIFIER],")*))")),j("PRERELEASELOOSE","(?:-?(".concat(C[T.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(C[T.PRERELEASEIDENTIFIERLOOSE],")*))")),j("BUILDIDENTIFIER","[0-9A-Za-z-]+"),j("BUILD","(?:\\+(".concat(C[T.BUILDIDENTIFIER],"(?:\\.").concat(C[T.BUILDIDENTIFIER],")*))")),j("FULLPLAIN","v?".concat(C[T.MAINVERSION]).concat(C[T.PRERELEASE],"?").concat(C[T.BUILD],"?")),j("FULL","^".concat(C[T.FULLPLAIN],"$")),j("LOOSEPLAIN","[v=\\s]*".concat(C[T.MAINVERSIONLOOSE]).concat(C[T.PRERELEASELOOSE],"?").concat(C[T.BUILD],"?")),j("LOOSE","^".concat(C[T.LOOSEPLAIN],"$")),j("GTLT","((?:<|>)?=?)"),j("XRANGEIDENTIFIERLOOSE","".concat(C[T.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),j("XRANGEIDENTIFIER","".concat(C[T.NUMERICIDENTIFIER],"|x|X|\\*")),j("XRANGEPLAIN","[v=\\s]*(".concat(C[T.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(C[T.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(C[T.XRANGEIDENTIFIER],")")+"(?:".concat(C[T.PRERELEASE],")?").concat(C[T.BUILD],"?")+")?)?"),j("XRANGEPLAINLOOSE","[v=\\s]*(".concat(C[T.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(C[T.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(C[T.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(C[T.PRERELEASELOOSE],")?").concat(C[T.BUILD],"?")+")?)?"),j("XRANGE","^".concat(C[T.GTLT],"\\s*").concat(C[T.XRANGEPLAIN],"$")),j("XRANGELOOSE","^".concat(C[T.GTLT],"\\s*").concat(C[T.XRANGEPLAINLOOSE],"$")),j("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(g,"})")+"(?:\\.(\\d{1,".concat(g,"}))?")+"(?:\\.(\\d{1,".concat(g,"}))?")+"(?:$|[^\\d])"),j("COERCERTL",C[T.COERCE],!0),j("LONETILDE","(?:~>?)"),j("TILDETRIM","(\\s*)".concat(C[T.LONETILDE],"\\s+"),!0),h.tildeTrimReplace="$1~",j("TILDE","^".concat(C[T.LONETILDE]).concat(C[T.XRANGEPLAIN],"$")),j("TILDELOOSE","^".concat(C[T.LONETILDE]).concat(C[T.XRANGEPLAINLOOSE],"$")),j("LONECARET","(?:\\^)"),j("CARETTRIM","(\\s*)".concat(C[T.LONECARET],"\\s+"),!0),h.caretTrimReplace="$1^",j("CARET","^".concat(C[T.LONECARET]).concat(C[T.XRANGEPLAIN],"$")),j("CARETLOOSE","^".concat(C[T.LONECARET]).concat(C[T.XRANGEPLAINLOOSE],"$")),j("COMPARATORLOOSE","^".concat(C[T.GTLT],"\\s*(").concat(C[T.LOOSEPLAIN],")$|^$")),j("COMPARATOR","^".concat(C[T.GTLT],"\\s*(").concat(C[T.FULLPLAIN],")$|^$")),j("COMPARATORTRIM","(\\s*)".concat(C[T.GTLT],"\\s*(").concat(C[T.LOOSEPLAIN],"|").concat(C[T.XRANGEPLAIN],")"),!0),h.comparatorTrimReplace="$1$2$3",j("HYPHENRANGE","^\\s*(".concat(C[T.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(C[T.XRANGEPLAIN],")")+"\\s*$"),j("HYPHENRANGELOOSE","^\\s*(".concat(C[T.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(C[T.XRANGEPLAINLOOSE],")")+"\\s*$"),j("STAR","(<|>)?=?\\s*\\*"),j("GTE0","^\\s*>=\\s*0.0.0\\s*$"),j("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),Pc=["includePrerelease","loose","rtl"],Ic=function(h){return h?Se(h)!="object"?{loose:!0}:Pc.filter(function(g){return h[g]}).reduce(function(g,m){return g[m]=!0,g},{}):{}},Oc=/^[0-9]+$/,Lo=function(h,g){var m=Oc.test(h),C=Oc.test(g);return m&&C&&(h=+h,g=+g),h===g?0:m&&!C?-1:C&&!m?1:h<g?-1:1},or={compareIdentifiers:Lo,rcompareIdentifiers:function(h,g){return Lo(g,h)}},_a=Za.MAX_LENGTH,Pr=Za.MAX_SAFE_INTEGER,Ro=Nc.re,Mo=Nc.t,at=or.compareIdentifiers,fn=function(){function E(h,g){if(se(this,E),g=Ic(g),h instanceof E){if(h.loose===!!g.loose&&h.includePrerelease===!!g.includePrerelease)return h;h=h.version}else if(typeof h!="string")throw new TypeError("Invalid Version: ".concat(h));if(h.length>_a)throw new TypeError("version is longer than ".concat(_a," characters"));ou("SemVer",h,g),this.options=g,this.loose=!!g.loose,this.includePrerelease=!!g.includePrerelease;var m=h.trim().match(g.loose?Ro[Mo.LOOSE]:Ro[Mo.FULL]);if(!m)throw new TypeError("Invalid Version: ".concat(h));if(this.raw=h,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>Pr||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Pr||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Pr||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(function(C){if(/^[0-9]+$/.test(C)){var T=+C;if(T>=0&&T<Pr)return T}return C}):this.prerelease=[],this.build=m[5]?m[5].split("."):[],this.format()}return ce(E,[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(g){if(ou("SemVer.compare",this.version,this.options,g),!(g instanceof E)){if(typeof g=="string"&&g===this.version)return 0;g=new E(g,this.options)}return g.version===this.version?0:this.compareMain(g)||this.comparePre(g)}},{key:"compareMain",value:function(g){return g instanceof E||(g=new E(g,this.options)),at(this.major,g.major)||at(this.minor,g.minor)||at(this.patch,g.patch)}},{key:"comparePre",value:function(g){if(g instanceof E||(g=new E(g,this.options)),this.prerelease.length&&!g.prerelease.length)return-1;if(!this.prerelease.length&&g.prerelease.length)return 1;if(!this.prerelease.length&&!g.prerelease.length)return 0;var m=0;do{var C=this.prerelease[m],T=g.prerelease[m];if(ou("prerelease compare",m,C,T),C===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(C===void 0)return-1;if(C!==T)return at(C,T)}while(++m)}},{key:"compareBuild",value:function(g){g instanceof E||(g=new E(g,this.options));var m=0;do{var C=this.build[m],T=g.build[m];if(ou("prerelease compare",m,C,T),C===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(C===void 0)return-1;if(C!==T)return at(C,T)}while(++m)}},{key:"inc",value:function(g,m){switch(g){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",m);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",m);break;case"prepatch":this.prerelease.length=0,this.inc("patch",m),this.inc("pre",m);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",m),this.inc("pre",m);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var C=this.prerelease.length;--C>=0;)typeof this.prerelease[C]=="number"&&(this.prerelease[C]++,C=-2);C===-1&&this.prerelease.push(0)}m&&(this.prerelease[0]===m?isNaN(this.prerelease[1])&&(this.prerelease=[m,0]):this.prerelease=[m,0]);break;default:throw new Error("invalid increment argument: ".concat(g))}return this.format(),this.raw=this.version,this}}]),E}(),jo=fn,Jt=function(h,g,m){return new jo(h,m).compare(new jo(g,m))},Yt=function(h,g,m){return Jt(h,g,m)<0},On,zu,Lc,$o,qo,dn,gf=function(h,g,m){return Jt(h,g,m)>=0},mf="2.3.0",vf=U(function(E,h){function g(){for(var me=[],ve=0;ve<arguments.length;ve++)me[ve]=arguments[ve]}function m(){return typeof WeakMap<"u"?new WeakMap:{add:g,delete:g,get:g,set:g,has:function(ve){return!1}}}Object.defineProperty(h,"__esModule",{value:!0}),h.outdent=void 0;var C=Object.prototype.hasOwnProperty,T=function(ve,xe){return C.call(ve,xe)};function L(me,ve){for(var xe in ve)T(ve,xe)&&(me[xe]=ve[xe]);return me}var j=/^[ \t]*(?:\r\n|\r|\n)/,Q=/(?:\r\n|\r|\n)[ \t]*$/,pe=/^(?:[\r\n]|$)/,he=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,z=/^[ \t]*[\r\n][ \t\r\n]*$/;function V(me,ve,xe){var Be=0,G=me[0].match(he);G&&(Be=G[1].length);var Y=new RegExp("(\\r\\n|\\r|\\n).{0,"+Be+"}","g");ve&&(me=me.slice(1));var P=xe.newline,W=xe.trimLeadingNewline,te=xe.trimTrailingNewline,ie=typeof P=="string",Ie=me.length;return me.map(function(je,Xe){return je=je.replace(Y,"$1"),Xe===0&&W&&(je=je.replace(j,"")),Xe===Ie-1&&te&&(je=je.replace(Q,"")),ie&&(je=je.replace(/\r\n|\n|\r/g,function(Sr){return P})),je})}function J(me,ve){for(var xe="",Be=0,G=me.length;Be<G;Be++)xe+=me[Be],Be<G-1&&(xe+=ve[Be]);return xe}function Ee(me){return T(me,"raw")&&T(me,"length")}var re=function me(ve){var xe=m(),Be=m();return L(function G(Y){for(var P=[],W=1;W<arguments.length;W++)P[W-1]=arguments[W];if(Ee(Y)){var te=Y,ie=(P[0]===G||P[0]===re)&&z.test(te[0])&&pe.test(te[1]),Ie=ie?Be:xe,je=Ie.get(te);if(je||(je=V(te,ie,ve),Ie.set(te,je)),P.length===0)return je[0];var Xe=J(je,ie?P.slice(1):P);return Xe}return me(L(L({},ve),Y||{}))},{string:function(Y){return V([Y],!1,ve)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});h.outdent=re,h.default=re;try{E.exports=re,Object.defineProperty(re,"__esModule",{value:!0}),re.default=re,re.outdent=re}catch{}}),su=vf.outdent,Vo="Config",ei="Editor",ri="Other",Ur="Global",Ln="Special",yf={cursorOffset:{since:"1.4.0",category:Ln,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:su(On||(On=nu([`
|
|
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
This option cannot be used with --range-start and --range-end.
|
|
`]))),cliCategory:ei},endOfLine:{since:"1.15.0",category:Ur,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:su(zu||(zu=nu([`
|
|
Maintain existing
|
|
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
`])))}]},filepath:{since:"1.4.0",category:Ln,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:ri,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Ln,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:ri},parser:{since:"0.0.10",category:Ur,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:function(h){return typeof h=="string"||typeof h=="function"},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:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{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:"2.3.0",description:"Ember / 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:Ur,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:function(h){return typeof h=="string"||Se(h)=="object"},cliName:"plugin",cliCategory:Vo},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Ur,description:su(Lc||(Lc=nu([`
|
|
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
Multiple values are accepted.
|
|
`]))),exception:function(h){return typeof h=="string"||Se(h)=="object"},cliName:"plugin-search-dir",cliCategory:Vo},printWidth:{since:"0.0.0",category:Ur,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:Ln,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:su($o||($o=nu([`
|
|
Format code ending at a given character offset (exclusive).
|
|
The range will extend forwards to the end of the selected statement.
|
|
This option cannot be used with --cursor-offset.
|
|
`]))),cliCategory:ei},rangeStart:{since:"1.4.0",category:Ln,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:su(qo||(qo=nu([`
|
|
Format code starting at a given character offset.
|
|
The range will extend backwards to the start of the first line containing the selected statement.
|
|
This option cannot be used with --cursor-offset.
|
|
`]))),cliCategory:ei},requirePragma:{since:"1.7.0",category:Ln,type:"boolean",default:!1,description:su(dn||(dn=nu([`
|
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
in order for it to be formatted.
|
|
`]))),cliCategory:ri},tabWidth:{type:"int",category:Ur,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Ur,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Ur,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."}]}},Ir={compare:Jt,lt:Yt,gte:gf},Xu=mf,Uo=yf,Rc={getSupportInfo:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=h.plugins,m=g===void 0?[]:g,C=h.showUnreleased,T=C===void 0?!1:C,L=h.showDeprecated,j=L===void 0?!1:L,Q=h.showInternal,pe=Q===void 0?!1:Q,he=Xu.split("-",1)[0],z=m.reduce(function(re,me){return[].concat(_(re),_(me.languages||[]))},[]).filter(J),V=function(re,me){return Object.entries(re).map(function(ve){var xe=ke(ve,2),Be=xe[0],G=xe[1];return Object.assign(Qn({},me,Be),G)})}(Object.assign.apply(Object,[{}].concat(_(m.map(function(re){var me=re.options;return me})),[Uo])),"name").filter(function(re){return J(re)&&Ee(re)}).sort(function(re,me){return re.name===me.name?0:re.name<me.name?-1:1}).map(function(re){return pe?re:function(me,ve){if(me==null)return{};var xe,Be,G={},Y=Object.keys(me);for(Be=0;Be<Y.length;Be++)xe=Y[Be],ve.indexOf(xe)>=0||(G[xe]=me[xe]);return G}(re,["cliName","cliCategory","cliDescription"])}).map(function(re){re=Object.assign({},re),Array.isArray(re.default)&&(re.default=re.default.length===1?re.default[0].value:re.default.filter(J).sort(function(ve,xe){return Ir.compare(xe.since,ve.since)})[0].value),Array.isArray(re.choices)&&(re.choices=re.choices.filter(function(ve){return J(ve)&&Ee(ve)}),re.name==="parser"&&function(ve,xe,Be){var G=new Set(ve.choices.map(function(je){return je.value})),Y=le(xe),P;try{for(Y.s();!(P=Y.n()).done;){var W=P.value;if(W.parsers){var te=le(W.parsers),ie;try{var Ie=function(){var Xe=ie.value;if(!G.has(Xe)){G.add(Xe);var Sr=Be.find(function(Or){return Or.parsers&&Or.parsers[Xe]}),gr=W.name;Sr&&Sr.name&&(gr+=" (plugin: ".concat(Sr.name,")")),ve.choices.push({value:Xe,description:gr})}};for(te.s();!(ie=te.n()).done;)Ie()}catch(je){te.e(je)}finally{te.f()}}}}catch(je){Y.e(je)}finally{Y.f()}}(re,z,m));var me=Ja(m.filter(function(ve){return ve.defaultOptions&&ve.defaultOptions[re.name]!==void 0}).map(function(ve){return[ve.name,ve.defaultOptions[re.name]]}));return Object.assign({},re,{pluginDefaults:me})});return{languages:z,options:V};function J(re){return T||!("since"in re)||re.since&&Ir.gte(he,re.since)}function Ee(re){return j||!("deprecated"in re)||re.deprecated&&Ir.lt(he,re.deprecated)}}},Ef=Rc.getSupportInfo,Cf=/[^\x20-\x7F]/;function cu(E){return function(h,g,m){var C=m&&m.backwards;if(g===!1)return!1;for(var T=h.length,L=g;L>=0&&L<T;){var j=h.charAt(L);if(E instanceof RegExp){if(!E.test(j))return L}else if(!E.includes(j))return L;C?L--:L++}return(L===-1||L===T)&&L}}var Mc=cu(/\s/),Rn=cu(" "),Wo=cu(",; "),Ju=cu(/[^\n\r]/);function ti(E,h){if(h===!1)return!1;if(E.charAt(h)==="/"&&E.charAt(h+1)==="*"){for(var g=h+2;g<E.length;++g)if(E.charAt(g)==="*"&&E.charAt(g+1)==="/")return g+2}return h}function ni(E,h){return h!==!1&&(E.charAt(h)==="/"&&E.charAt(h+1)==="/"?Ju(E,h):h)}function St(E,h,g){var m=g&&g.backwards;if(h===!1)return!1;var C=E.charAt(h);if(m){if(E.charAt(h-1)==="\r"&&C===`
|
|
`)return h-2;if(C===`
|
|
`||C==="\r"||C==="\u2028"||C==="\u2029")return h-1}else{if(C==="\r"&&E.charAt(h+1)===`
|
|
`)return h+2;if(C===`
|
|
`||C==="\r"||C==="\u2028"||C==="\u2029")return h+1}return h}function jc(E,h){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},m=Rn(E,g.backwards?h-1:h,g);return m!==St(E,m,g)}function Go(E,h){for(var g=null,m=h;m!==g;)g=m,m=Wo(E,m),m=ti(E,m),m=Rn(E,m);return m=ni(E,m),m=St(E,m),m!==!1&&jc(E,m)}function ui(E,h){for(var g=null,m=h;m!==g;)g=m,m=Rn(E,m),m=ti(E,m),m=ni(E,m),m=St(E,m);return m}function $c(E,h,g){return ui(E,g(h))}function Ho(E,h){for(var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,m=0,C=g;C<E.length;++C)E[C]===" "?m=m+h-m%h:m++;return m}function zo(E,h){var g=E.slice(1,-1),m={quote:'"',regex:/"/g},C={quote:"'",regex:/'/g},T=h==="'"?C:m,L=T===C?m:C,j=T.quote;return(g.includes(T.quote)||g.includes(L.quote))&&(j=(g.match(T.regex)||[]).length>(g.match(L.regex)||[]).length?L.quote:T.quote),j}function Xo(E,h,g){var m=h==='"'?"'":'"',C=E.replace(/\\([\S\s])|(["'])/g,function(T,L,j){return L===m?L:j===h?"\\"+j:j||(g&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(L)?L:"\\"+L)});return h+C+h}function ai(E,h){(E.comments||(E.comments=[])).push(h),h.printed=!1,h.nodeDescription=function(g){var m=g.type||g.kind||"(unknown type)",C=String(g.name||g.id&&(Se(g.id)=="object"?g.id.name:g.id)||g.key&&(Se(g.key)=="object"?g.key.name:g.key)||g.value&&(Se(g.value)=="object"?"":String(g.value))||g.operator||"");return C.length>20&&(C=C.slice(0,19)+"\u2026"),m+(C?" "+C:"")}(E)}var Yu={inferParserByLanguage:function(h,g){var m=Ef({plugins:g.plugins}),C=m.languages,T=C.find(function(L){var j=L.name;return j.toLowerCase()===h})||C.find(function(L){var j=L.aliases;return Array.isArray(j)&&j.includes(h)})||C.find(function(L){var j=L.extensions;return Array.isArray(j)&&j.includes(".".concat(h))});return T&&T.parsers[0]},replaceEndOfLineWith:function(h,g){var m=[],C=le(h.split(`
|
|
`)),T;try{for(C.s();!(T=C.n()).done;){var L=T.value;m.length>0&&m.push(g),m.push(L)}}catch(j){C.e(j)}finally{C.f()}return m},getStringWidth:function(h){return h?Cf.test(h)?ko(h):h.length:0},getMaxContinuousCount:function(h,g){var m=h.match(new RegExp("(".concat(Fc(g),")+"),"g"));return m===null?0:m.reduce(function(C,T){return Math.max(C,T.length/g.length)},0)},getMinNotPresentContinuousCount:function(h,g){var m=h.match(new RegExp("(".concat(Fc(g),")+"),"g"));if(m===null)return 0;var C=new Map,T=0,L=le(m),j;try{for(L.s();!(j=L.n()).done;){var Q=j.value,pe=Q.length/g.length;C.set(pe,!0),pe>T&&(T=pe)}}catch(z){L.e(z)}finally{L.f()}for(var he=1;he<T;he++)if(!C.get(he))return he;return T+1},getPenultimate:function(h){return h[h.length-2]},getLast:To,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:ui,getNextNonSpaceNonCommentCharacterIndex:$c,getNextNonSpaceNonCommentCharacter:function(h,g,m){return h.charAt($c(h,g,m))},skip:cu,skipWhitespace:Mc,skipSpaces:Rn,skipToLineEnd:Wo,skipEverythingButNewLine:Ju,skipInlineComment:ti,skipTrailingComment:ni,skipNewline:St,isNextLineEmptyAfterIndex:Go,isNextLineEmpty:function(h,g,m){return Go(h,m(g))},isPreviousLineEmpty:function(h,g,m){var C=m(g)-1;return C=Rn(h,C,{backwards:!0}),C=St(h,C,{backwards:!0}),C=Rn(h,C,{backwards:!0}),C!==St(h,C,{backwards:!0})},hasNewline:jc,hasNewlineInRange:function(h,g,m){for(var C=g;C<m;++C)if(h.charAt(C)===`
|
|
`)return!0;return!1},hasSpaces:function(h,g){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Rn(h,m.backwards?g-1:g,m)!==g},getAlignmentSize:Ho,getIndentSize:function(h,g){var m=h.lastIndexOf(`
|
|
`);return m===-1?0:Ho(h.slice(m+1).match(/^[\t ]*/)[0],g)},getPreferredQuote:zo,printString:function(h,g){return Xo(h.slice(1,-1),g.parser==="json"||g.parser==="json5"&&g.quoteProps==="preserve"&&!g.singleQuote?'"':g.__isInHtmlAttribute?"'":zo(h,g.singleQuote?"'":'"'),!(g.parser==="css"||g.parser==="less"||g.parser==="scss"||g.__embeddedInHtml))},printNumber:function(h){return h.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:Xo,addLeadingComment:function(h,g){g.leading=!0,g.trailing=!1,ai(h,g)},addDanglingComment:function(h,g,m){g.leading=!1,g.trailing=!1,m&&(g.marker=m),ai(h,g)},addTrailingComment:function(h,g){g.leading=!1,g.trailing=!0,ai(h,g)},isFrontMatterNode:function(h){return h&&h.type==="front-matter"},getShebang:function(h){if(!h.startsWith("#!"))return"";var g=h.indexOf(`
|
|
`);return g===-1?h:h.slice(0,g)},isNonEmptyArray:function(h){return Array.isArray(h)&&h.length>0},createGroupIdMapper:function(h){var g=new WeakMap;return function(m){return g.has(m)||g.set(m,Symbol(h)),g.get(m)}}},qc={"*":["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:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["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"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]},Af=Yu.inferParserByLanguage,Jo=Yu.isFrontMatterNode,Kt={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"},Yo=Kt.CSS_DISPLAY_TAGS,ii=Kt.CSS_DISPLAY_DEFAULT,oi=Kt.CSS_WHITE_SPACE_TAGS,Qt=Kt.CSS_WHITE_SPACE_DEFAULT,Mn=Uc(["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"]),bf=function(E,h){for(var g=Object.create(null),m=0,C=Object.entries(E);m<C.length;m++){var T=ke(C[m],2),L=T[0],j=T[1];g[L]=h(j,L)}return g}(qc,Uc),Ko=new Set([" ",`
|
|
`,"\f","\r"," "]),Vc=function(h){return h.replace(/[\t\n\f\r ]+$/,"")};function Uc(E){var h=Object.create(null),g=le(E),m;try{for(g.s();!(m=g.n()).done;){var C=m.value;h[C]=!0}}catch(T){g.e(T)}finally{g.f()}return h}function si(E,h){return!(E.type!=="ieConditionalComment"||!E.lastChild||E.lastChild.isSelfClosing||E.lastChild.endSourceSpan)||E.type==="ieConditionalComment"&&!E.complete||!(!qn(E)||!E.children.some(function(g){return g.type!=="text"&&g.type!=="interpolation"}))||!(!Zu(E,h)||jn(E)||E.type==="interpolation")}function Wc(E){return E.type==="attribute"||!E.parent||typeof E.index!="number"||E.index===0?!1:function(h){return h.type==="comment"&&h.value.trim()==="prettier-ignore"}(E.parent.children[E.index-1])}function jn(E){return E.type==="element"&&(E.fullName==="script"||E.fullName==="style"||E.fullName==="svg:style"||Ku(E)&&(E.name==="script"||E.name==="style"))}function lu(E){return pi(E).startsWith("pre")}function Gc(E){return E.type==="element"&&E.children.length>0&&(["html","head","ul","ol","select"].includes(E.name)||E.cssDisplay.startsWith("table")&&E.cssDisplay!=="table-cell")}function hn(E){return li(E)||E.type==="element"&&E.fullName==="br"||Qo(E)}function Qo(E){return Zo(E)&&ci(E)}function Zo(E){return E.hasLeadingSpaces&&(E.prev?E.prev.sourceSpan.end.line<E.sourceSpan.start.line:E.parent.type==="root"||E.parent.startSourceSpan.end.line<E.sourceSpan.start.line)}function ci(E){return E.hasTrailingSpaces&&(E.next?E.next.sourceSpan.start.line>E.sourceSpan.end.line:E.parent.type==="root"||E.parent.endSourceSpan&&E.parent.endSourceSpan.start.line>E.sourceSpan.end.line)}function li(E){switch(E.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(E.name)}return!1}function $n(E){var h=E.attrMap,g=h.type,m=h.lang;return g==="module"||g==="text/javascript"||g==="text/babel"||g==="application/javascript"||m==="jsx"?"babel":g==="application/x-typescript"||m==="ts"||m==="tsx"?"typescript":g==="text/markdown"?"markdown":g==="text/html"?"html":g&&(g.endsWith("json")||g.endsWith("importmap"))?"json":g==="text/x-handlebars-template"?"glimmer":void 0}function pu(E){return E==="block"||E==="list-item"||E.startsWith("table")}function qn(E){return pi(E).startsWith("pre")}function Ku(E){return E.type==="element"&&!E.hasExplicitNamespace&&!["html","svg"].includes(E.namespace)}function pi(E){return E.type==="element"&&(!E.namespace||Ku(E))&&oi[E.name]||Qt}var Hc=new Set(["template","style","script"]);function Qu(E,h){return fi(E,h)&&!Hc.has(E.fullName)}function fi(E,h){return h.parser==="vue"&&E.type==="element"&&E.parent.type==="root"&&E.fullName.toLowerCase()!=="html"}function Zu(E,h){return fi(E,h)&&(Qu(E,h)||E.attrMap.lang&&E.attrMap.lang!=="html")}var X={HTML_ELEMENT_ATTRIBUTES:bf,HTML_TAGS:Mn,htmlTrim:function(h){return function(g){return g.replace(/^[\t\n\f\r ]+/,"")}(Vc(h))},htmlTrimPreserveIndentation:function(h){return function(g){return g.replace(/^[\t\f\r ]*?\n/g,"")}(Vc(h))},splitByHtmlWhitespace:function(h){return h.split(/[\t\n\f\r ]+/)},hasHtmlWhitespace:function(h){return/[\t\n\f\r ]/.test(h)},getLeadingAndTrailingHtmlWhitespace:function(h){var g=h.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/),m=ke(g,4),C=m[1],T=m[2],L=m[3];return{leadingWhitespace:C,trailingWhitespace:L,text:T}},canHaveInterpolation:function(h){return h.children&&!jn(h)},countChars:function(h,g){for(var m=0,C=0;C<h.length;C++)h[C]===g&&m++;return m},countParents:function(h,g){for(var m=0,C=h.stack.length-1;C>=0;C--){var T=h.stack[C];T&&Se(T)=="object"&&!Array.isArray(T)&&g(T)&&m++}return m},dedentString:function(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(m){var C=Number.POSITIVE_INFINITY,T=le(m.split(`
|
|
`)),L;try{for(T.s();!(L=T.n()).done;){var j=L.value;if(j.length!==0){if(!Ko.has(j[0]))return 0;var Q=(pe=j,pe.match(/^[\t\n\f\r ]*/)[0]).length;j.length!==Q&&Q<C&&(C=Q)}}}catch(he){T.e(he)}finally{T.f()}var pe;return C===Number.POSITIVE_INFINITY?0:C}(h);return g===0?h:h.split(`
|
|
`).map(function(m){return m.slice(g)}).join(`
|
|
`)},forceBreakChildren:Gc,forceBreakContent:function(h){return Gc(h)||h.type==="element"&&h.children.length>0&&(["body","script","style"].includes(h.name)||h.children.some(function(g){return function(m){return m.children&&m.children.some(function(C){return C.type!=="text"})}(g)}))||h.firstChild&&h.firstChild===h.lastChild&&h.firstChild.type!=="text"&&Zo(h.firstChild)&&(!h.lastChild.isTrailingSpaceSensitive||ci(h.lastChild))},forceNextEmptyLine:function(h){return Jo(h)||h.next&&h.sourceSpan.end&&h.sourceSpan.end.line+1<h.next.sourceSpan.start.line},getLastDescendant:function E(h){return h.lastChild?E(h.lastChild):h},getNodeCssStyleDisplay:function(h,g){if(h.prev&&h.prev.type==="comment"){var m=h.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(m)return m[1]}var C=!1;if(h.type==="element"&&h.namespace==="svg"){if(!function(T,L){for(var j=T;j;){if(L(j))return!0;j=j.parent}return!1}(h,function(T){return T.fullName==="svg:foreignObject"}))return h.name==="svg"?"inline-block":"block";C=!0}switch(g.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return g.parser==="vue"&&h.parent&&h.parent.type==="root"?"block":h.type==="element"&&(!h.namespace||C||Ku(h))&&Yo[h.name]||ii}},getNodeCssStyleWhiteSpace:pi,getPrettierIgnoreAttributeCommentData:function(h){var g=h.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!g&&(!g[1]||g[1].split(/\s+/))},hasPrettierIgnore:Wc,inferScriptParser:function(h,g){return h.name!=="script"||h.attrMap.src?h.name==="style"?function(m){var C=m.attrMap.lang;return C&&C!=="postcss"&&C!=="css"?C==="scss"?"scss":C==="less"?"less":void 0:"css"}(h):g&&Zu(h,g)?$n(h)||!("src"in h.attrMap)&&Af(h.attrMap.lang,g):void 0:h.attrMap.lang||h.attrMap.type?$n(h):"babel"},isVueCustomBlock:Qu,isVueNonHtmlBlock:Zu,isVueSlotAttribute:function(h){var g=h.fullName;return g.charAt(0)==="#"||g==="slot-scope"||g==="v-slot"||g.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(h,g){var m=h.parent;if(!fi(m,g))return!1;var C=m.fullName,T=h.fullName;return C==="script"&&T==="setup"||C==="style"&&T==="vars"},isDanglingSpaceSensitiveNode:function(h){return g=h.cssDisplay,!(pu(g)||g==="inline-block"||jn(h));var g},isIndentationSensitiveNode:lu,isLeadingSpaceSensitiveNode:function(h,g){var m=function(){if(Jo(h))return!1;if((h.type==="text"||h.type==="interpolation")&&h.prev&&(h.prev.type==="text"||h.prev.type==="interpolation"))return!0;if(!h.parent||h.parent.cssDisplay==="none")return!1;if(qn(h.parent))return!0;if(!h.prev&&(h.parent.type==="root"||qn(h)&&h.parent||jn(h.parent)||Qu(h.parent,g)||(C=h.parent.cssDisplay,pu(C)||C==="inline-block")))return!1;var C;return!(h.prev&&!function(T){return!pu(T)}(h.prev.cssDisplay))}();return m&&!h.prev&&h.parent&&h.parent.tagDefinition&&h.parent.tagDefinition.ignoreFirstLf?h.type==="interpolation":m},isPreLikeNode:qn,isScriptLikeTag:jn,isTextLikeNode:function(h){return h.type==="text"||h.type==="comment"},isTrailingSpaceSensitiveNode:function(h,g){return!Jo(h)&&(!(h.type!=="text"&&h.type!=="interpolation"||!h.next||h.next.type!=="text"&&h.next.type!=="interpolation")||!(!h.parent||h.parent.cssDisplay==="none")&&(!!qn(h.parent)||!(!h.next&&(h.parent.type==="root"||qn(h)&&h.parent||jn(h.parent)||Qu(h.parent,g)||(m=h.parent.cssDisplay,pu(m)||m==="inline-block")))&&!(h.next&&!function(C){return!pu(C)}(h.next.cssDisplay))));var m},isWhitespaceSensitiveNode:function(h){return jn(h)||h.type==="interpolation"||lu(h)},isUnknownNamespace:Ku,preferHardlineAsLeadingSpaces:function(h){return li(h)||h.prev&&hn(h.prev)||Qo(h)},preferHardlineAsTrailingSpaces:hn,shouldNotPrintClosingTag:function(h,g){return!h.isSelfClosing&&!h.endSourceSpan&&(Wc(h)||si(h.parent,g))},shouldPreserveContent:si,unescapeQuoteEntities:function(h){return h.replace(/'/g,"'").replace(/"/g,'"')}},fu={hasPragma:function(h){return/^\s*<!--\s*@(format|prettier)\s*-->/.test(h)},insertPragma:function(h){return`<!-- @format -->
|
|
|
|
`+h.replace(/^\s*\n/,"")}},zc=Yu.isNonEmptyArray,Dn={attrs:!0,children:!0},du=function(){function E(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};se(this,E);for(var g=0,m=Object.entries(h);g<m.length;g++){var C=ke(m[g],2),T=C[0],L=C[1];T in Dn?this._setNodes(T,L):this[T]=L}}return ce(E,[{key:"_setNodes",value:function(g,m){m!==this[g]&&(this[g]=function(C,T){for(var L=C.map(function(z){return z instanceof E?z.clone():new E(z)}),j=null,Q=L[0],pe=L[1]||null,he=0;he<L.length;he++)_u(Q,{index:he,siblings:L,prev:j,next:pe,parent:T}),j=Q,Q=pe,pe=L[he+2]||null;return L}(m,this),g==="attrs"&&_u(this,{attrMap:Ja(this[g].map(function(C){return[C.fullName,C.value]}))}))}},{key:"map",value:function(g){var m=null;for(var C in Dn){var T=this[C];if(T){var L=Xc(T,function(J){return J.map(g)});m!==T&&(m||(m=new E),m._setNodes(C,L))}}if(m){for(var j in this)j in Dn||(m[j]=this[j]);var Q=this.index,pe=this.siblings,he=this.prev,z=this.next,V=this.parent;_u(m,{index:Q,siblings:pe,prev:he,next:z,parent:V})}return g(m||this)}},{key:"clone",value:function(g){return new E(g?Object.assign({},this,g):this)}},{key:"firstChild",get:function(){return zc(this.children)?this.children[0]:null}},{key:"lastChild",get:function(){return zc(this.children)?To(this.children):null}},{key:"rawName",get:function(){return this.hasExplicitNamespace?this.fullName:this.name}},{key:"fullName",get:function(){return this.namespace?this.namespace+":"+this.name:this.name}}]),E}();function Xc(E,h){var g=E.map(h);return g.some(function(m,C){return m!==E[C]})?g:E}function _u(E,h){var g=Ja(Object.entries(h).map(function(m){var C=ke(m,2),T=C[0],L=C[1];return[T,{value:L,enumerable:!1}]}));Object.defineProperties(E,g)}var ea={Node:du},di=ar.ParseSourceSpan,Ff=[{regex:/^(\[if([^\]]*?)\]>)([\s\S]*?)<!\s*\[endif\]$/,parse:function(h,g,m){var C=ke(m,4),T=C[1],L=C[2],j=C[3],Q=4+T.length,pe=h.sourceSpan.start.moveBy(Q),he=pe.moveBy(j.length),z=function(){try{return[!0,g(j,pe).children]}catch{return[!1,[{type:"text",value:j,sourceSpan:new di(pe,he)}]]}}(),V=ke(z,2),J=V[0],Ee=V[1];return{type:"ieConditionalComment",complete:J,children:Ee,condition:L.trim().replace(/\s+/g," "),sourceSpan:h.sourceSpan,startSourceSpan:new di(h.sourceSpan.start,pe),endSourceSpan:new di(he,h.sourceSpan.end)}}},{regex:/^\[if([^\]]*?)]><!$/,parse:function(h,g,m){var C=ke(m,2),T=C[1];return{type:"ieConditionalStartComment",condition:T.trim().replace(/\s+/g," "),sourceSpan:h.sourceSpan}}},{regex:/^<!\s*\[endif]$/,parse:function(h){return{type:"ieConditionalEndComment",sourceSpan:h.sourceSpan}}}],Jc={parseIeConditionalComment:function(h,g){if(h.value){var m=le(Ff),C;try{for(m.s();!(C=m.n()).done;){var T=C.value,L=T.regex,j=T.parse,Q=h.value.match(L);if(Q)return j(h,g,Q)}}catch(pe){m.e(pe)}finally{m.f()}}return null}},Yc={locStart:function(h){return h.sourceSpan.start.offset},locEnd:function(h){return h.sourceSpan.end.offset}},vr=U(function(E,h){function g(m){if(m[0]!=":")return[null,m];var C=m.indexOf(":",1);if(C==-1)throw new Error('Unsupported format "'.concat(m,'" expecting ":namespace:name"'));return[m.slice(1,C),m.slice(C+1)]}/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/Object.defineProperty(h,"__esModule",{value:!0}),function(m){m[m.RAW_TEXT=0]="RAW_TEXT",m[m.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",m[m.PARSABLE_DATA=2]="PARSABLE_DATA"}(h.TagContentType||(h.TagContentType={})),h.splitNsName=g,h.isNgContainer=function(m){return g(m)[1]==="ng-container"},h.isNgContent=function(m){return g(m)[1]==="ng-content"},h.isNgTemplate=function(m){return g(m)[1]==="ng-template"},h.getNsPrefix=function(m){return m===null?null:g(m)[0]},h.mergeNsAndName=function(m,C){return m?":".concat(m,":").concat(C):C},h.NAMED_ENTITIES={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",AMP:"&",amp:"&",And:"\u2A53",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",ap:"\u2248",apacir:"\u2A6F",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250C",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252C",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxUL:"\u255D",boxUl:"\u255C",boxuL:"\u255B",boxul:"\u2518",boxUR:"\u255A",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256C",boxVh:"\u256B",boxvH:"\u256A",boxvh:"\u253C",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255F",boxvR:"\u255E",boxvr:"\u251C",bprime:"\u2035",Breve:"\u02D8",breve:"\u02D8",brvbar:"\xA6",Bscr:"\u212C",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22D2",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",CenterDot:"\xB7",centerdot:"\xB7",Cfr:"\u212D",cfr:"\u{1D520}",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",Conint:"\u222F",conint:"\u222E",ContourIntegral:"\u222E",Copf:"\u2102",copf:"\u{1D554}",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xA9",copy:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",Cross:"\u2A2F",cross:"\u2717",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",Cup:"\u22D3",cup:"\u222A",cupbrcap:"\u2A48",CupCap:"\u224D",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21A1",dArr:"\u21D3",darr:"\u2193",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",Diamond:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21D3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",ecir:"\u2256",Ecirc:"\xCA",ecirc:"\xEA",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212F",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",ForAll:"\u2200",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\u{1D4BB}",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",Gg:"\u22D9",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gnE:"\u2269",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",GT:">",Gt:"\u226B",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",hArr:"\u21D4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",Hfr:"\u210C",hfr:"\u{1D525}",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",Hopf:"\u210D",hopf:"\u{1D559}",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210B",hscr:"\u{1D4BD}",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",Ifr:"\u2111",ifr:"\u{1D526}",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",Int:"\u222C",int:"\u222B",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",Iscr:"\u2110",iscr:"\u{1D4BE}",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",Lang:"\u27EA",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",Larr:"\u219E",lArr:"\u21D0",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",lAtail:"\u291B",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lBarr:"\u290E",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",Leftarrow:"\u21D0",leftarrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22D8",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lnE:"\u2268",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftarrow:"\u27F5",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\u{1D4C1}",Lsh:"\u21B0",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",LT:"<",Lt:"\u226A",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",Mscr:"\u2133",mscr:"\u{1D4C2}",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21D7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlArr:"\u21CD",nlarr:"\u219A",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21CD",nleftarrow:"\u219A",nLeftrightarrow:"\u21CE",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",nopf:"\u{1D55F}",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nRightarrow:"\u21CF",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nVDash:"\u22AF",nVdash:"\u22AE",nvDash:"\u22AD",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwArr:"\u21D6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",Ocirc:"\xD4",ocirc:"\xF4",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",Or:"\u2A54",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",Otimes:"\u2A37",otimes:"\u2297",otimesas:"\u2A36",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",Popf:"\u2119",popf:"\u{1D561}",pound:"\xA3",Pr:"\u2ABB",pr:"\u227A",prap:"\u2AB7",prcue:"\u227C",prE:"\u2AB3",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",Qopf:"\u211A",qopf:"\u{1D562}",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",QUOT:'"',quot:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",Rang:"\u27EB",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",Rarr:"\u21A0",rArr:"\u21D2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",rAtail:"\u291C",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",RBarr:"\u2910",rBarr:"\u290F",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",REG:"\xAE",reg:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",Rfr:"\u211C",rfr:"\u{1D52F}",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",Rightarrow:"\u21D2",rightarrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",Ropf:"\u211D",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",Rscr:"\u211B",rscr:"\u{1D4C7}",Rsh:"\u21B1",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",Sc:"\u2ABC",sc:"\u227B",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227D",scE:"\u2AB4",sce:"\u2AB0",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",seArr:"\u21D8",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",Square:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",Sub:"\u22D0",sub:"\u2282",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",Subset:"\u22D0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",Sum:"\u2211",sum:"\u2211",sung:"\u266A",Sup:"\u22D1",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",Supset:"\u22D1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swArr:"\u21D9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",Tilde:"\u223C",tilde:"\u02DC",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",Uarr:"\u219F",uArr:"\u21D1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrow:"\u2191",Uparrow:"\u21D1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",Updownarrow:"\u21D5",updownarrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",upsi:"\u03C5",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",vArr:"\u21D5",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",Vbar:"\u2AEB",vBar:"\u2AE8",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22AB",Vdash:"\u22A9",vDash:"\u22A8",vdash:"\u22A2",Vdashl:"\u2AE6",Vee:"\u22C1",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",Wedge:"\u22C0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",Xi:"\u039E",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",Yuml:"\u0178",yuml:"\xFF",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",Zfr:"\u2128",zfr:"\u{1D537}",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",Zopf:"\u2124",zopf:"\u{1D56B}",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},h.NGSP_UNICODE="\uE500",h.NAMED_ENTITIES.ngsp=h.NGSP_UNICODE});/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/var Me=function(){function E(){var h=this,g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=g.closedByChildren,C=g.implicitNamespacePrefix,T=g.contentType,L=T===void 0?vr.TagContentType.PARSABLE_DATA:T,j=g.closedByParent,Q=j===void 0?!1:j,pe=g.isVoid,he=pe===void 0?!1:pe,z=g.ignoreFirstLf,V=z===void 0?!1:z;se(this,E),this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,m&&m.length>0&&m.forEach(function(J){return h.closedByChildren[J]=!0}),this.isVoid=he,this.closedByParent=Q||he,this.implicitNamespacePrefix=C||null,this.contentType=L,this.ignoreFirstLf=V}return ce(E,[{key:"isClosedByChild",value:function(g){return this.isVoid||g.toLowerCase()in this.closedByChildren}}]),E}(),Kc=Me,hi,Vn,Qc=function(h){return Vn||(hi=new Me,Vn={base:new Me({isVoid:!0}),meta:new Me({isVoid:!0}),area:new Me({isVoid:!0}),embed:new Me({isVoid:!0}),link:new Me({isVoid:!0}),img:new Me({isVoid:!0}),input:new Me({isVoid:!0}),param:new Me({isVoid:!0}),hr:new Me({isVoid:!0}),br:new Me({isVoid:!0}),source:new Me({isVoid:!0}),track:new Me({isVoid:!0}),wbr:new Me({isVoid:!0}),p:new Me({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new Me({closedByChildren:["tbody","tfoot"]}),tbody:new Me({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Me({closedByChildren:["tbody"],closedByParent:!0}),tr:new Me({closedByChildren:["tr"],closedByParent:!0}),td:new Me({closedByChildren:["td","th"],closedByParent:!0}),th:new Me({closedByChildren:["td","th"],closedByParent:!0}),col:new Me({isVoid:!0}),svg:new Me({implicitNamespacePrefix:"svg"}),math:new Me({implicitNamespacePrefix:"math"}),li:new Me({closedByChildren:["li"],closedByParent:!0}),dt:new Me({closedByChildren:["dt","dd"]}),dd:new Me({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Me({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Me({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Me({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Me({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Me({closedByChildren:["optgroup"],closedByParent:!0}),option:new Me({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Me({ignoreFirstLf:!0}),listing:new Me({ignoreFirstLf:!0}),style:new Me({contentType:vr.TagContentType.RAW_TEXT}),script:new Me({contentType:vr.TagContentType.RAW_TEXT}),title:new Me({contentType:vr.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new Me({contentType:vr.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Vn[h]||hi},Zt=Object.defineProperty({HtmlTagDefinition:Kc,getHtmlTagDefinition:Qc},"__esModule",{value:!0}),Sf=function(){function E(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;se(this,E),this.path=h,this.position=g}return ce(E,[{key:"empty",get:function(){return!this.path||!this.path.length}},{key:"head",get:function(){return this.path[0]}},{key:"tail",get:function(){return this.path[this.path.length-1]}},{key:"parentOf",value:function(g){return g&&this.path[this.path.indexOf(g)-1]}},{key:"childOf",value:function(g){return this.path[this.path.indexOf(g)+1]}},{key:"first",value:function(g){for(var m=this.path.length-1;m>=0;m--){var C=this.path[m];if(C instanceof g)return C}}},{key:"push",value:function(g){this.path.push(g)}},{key:"pop",value:function(){return this.path.pop()}}]),E}(),Tf=Object.defineProperty({AstPath:Sf},"__esModule",{value:!0}),_o=function(){function E(h,g,m){se(this,E),this.value=h,this.sourceSpan=g,this.i18n=m,this.type="text"}return ce(E,[{key:"visit",value:function(g,m){return g.visitText(this,m)}}]),E}(),Di=function(){function E(h,g){se(this,E),this.value=h,this.sourceSpan=g,this.type="cdata"}return ce(E,[{key:"visit",value:function(g,m){return g.visitCdata(this,m)}}]),E}(),Zc=function(){function E(h,g,m,C,T,L){se(this,E),this.switchValue=h,this.type=g,this.cases=m,this.sourceSpan=C,this.switchValueSourceSpan=T,this.i18n=L}return ce(E,[{key:"visit",value:function(g,m){return g.visitExpansion(this,m)}}]),E}(),_c=function(){function E(h,g,m,C,T){se(this,E),this.value=h,this.expression=g,this.sourceSpan=m,this.valueSourceSpan=C,this.expSourceSpan=T}return ce(E,[{key:"visit",value:function(g,m){return g.visitExpansionCase(this,m)}}]),E}(),ra=function(){function E(h,g,m){var C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,T=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,L=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;se(this,E),this.name=h,this.value=g,this.sourceSpan=m,this.valueSpan=C,this.nameSpan=T,this.i18n=L,this.type="attribute"}return ce(E,[{key:"visit",value:function(g,m){return g.visitAttribute(this,m)}}]),E}(),es=function(){function E(h,g,m,C){var T=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,L=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,j=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,Q=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;se(this,E),this.name=h,this.attrs=g,this.children=m,this.sourceSpan=C,this.startSourceSpan=T,this.endSourceSpan=L,this.nameSpan=j,this.i18n=Q,this.type="element"}return ce(E,[{key:"visit",value:function(g,m){return g.visitElement(this,m)}}]),E}(),el=es,rs=function(){function E(h,g){se(this,E),this.value=h,this.sourceSpan=g,this.type="comment"}return ce(E,[{key:"visit",value:function(g,m){return g.visitComment(this,m)}}]),E}(),ts=function(){function E(h,g){se(this,E),this.value=h,this.sourceSpan=g,this.type="docType"}return ce(E,[{key:"visit",value:function(g,m){return g.visitDocType(this,m)}}]),E}();function hu(E,h){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,m=[],C=E.visit?function(T){return E.visit(T,g)||T.visit(E,g)}:function(T){return T.visit(E,g)};return h.forEach(function(T){var L=C(T);L&&m.push(L)}),m}var xf=hu,gi=function(){function E(){se(this,E)}return ce(E,[{key:"visitElement",value:function(g,m){this.visitChildren(m,function(C){C(g.attrs),C(g.children)})}},{key:"visitAttribute",value:function(g,m){}},{key:"visitText",value:function(g,m){}},{key:"visitCdata",value:function(g,m){}},{key:"visitComment",value:function(g,m){}},{key:"visitDocType",value:function(g,m){}},{key:"visitExpansion",value:function(g,m){return this.visitChildren(m,function(C){C(g.cases)})}},{key:"visitExpansionCase",value:function(g,m){}},{key:"visitChildren",value:function(g,m){var C=[],T=this;return m(function(L){L&&C.push(hu(T,L,g))}),Array.prototype.concat.apply([],C)}}]),E}(),rl=gi;function Tt(E){var h=E.sourceSpan.start.offset,g=E.sourceSpan.end.offset;return E instanceof es&&(E.endSourceSpan?g=E.endSourceSpan.end.offset:E.children&&E.children.length&&(g=Tt(E.children[E.children.length-1]).end)),{start:h,end:g}}var de=function(h,g){var m=[];return hu(new(function(C){br(L,C);var T=Fr(L);function L(){return se(this,L),T.apply(this,arguments)}return ce(L,[{key:"visit",value:function(Q,pe){var he=Tt(Q);if(!(he.start<=g&&g<he.end))return!0;m.push(Q)}}]),L}(gi)),h),new Tf.AstPath(m,g)},xt=Object.defineProperty({Text:_o,CDATA:Di,Expansion:Zc,ExpansionCase:_c,Attribute:ra,Element:el,Comment:rs,DocType:ts,visitAll:xf,RecursiveVisitor:rl,findNode:de},"__esModule",{value:!0}),tl=function(h,g){if(g!=null){if(!Array.isArray(g))throw new Error("Expected '".concat(h,"' to be an array of strings."));for(var m=0;m<g.length;m+=1)if(typeof g[m]!="string")throw new Error("Expected '".concat(h,"' to be an array of strings."))}},wf=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],ns=function(h,g){if(!(g==null||Array.isArray(g)&&g.length==2))throw new Error("Expected '".concat(h,"' to be an array, [start, end]."));if(g!=null){var m=g[0],C=g[1];wf.forEach(function(T){if(T.test(m)||T.test(C))throw new Error("['".concat(m,"', '").concat(C,"'] contains unusable interpolation symbol."))})}},mi=Object.defineProperty({assertArrayOfStrings:tl,assertInterpolationSymbols:ns},"__esModule",{value:!0}),us=U(function(E,h){/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/Object.defineProperty(h,"__esModule",{value:!0});var g=function(){function m(C,T){se(this,m),this.start=C,this.end=T}return ce(m,null,[{key:"fromArray",value:function(T){return T?(mi.assertInterpolationSymbols("interpolation",T),new m(T[0],T[1])):h.DEFAULT_INTERPOLATION_CONFIG}}]),m}();h.InterpolationConfig=g,h.DEFAULT_INTERPOLATION_CONFIG=new g("{{","}}")}),Ue=U(function(E,h){/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/Object.defineProperty(h,"__esModule",{value:!0});var g=ee,m;(function(G){G[G.TAG_OPEN_START=0]="TAG_OPEN_START",G[G.TAG_OPEN_END=1]="TAG_OPEN_END",G[G.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",G[G.TAG_CLOSE=3]="TAG_CLOSE",G[G.TEXT=4]="TEXT",G[G.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",G[G.RAW_TEXT=6]="RAW_TEXT",G[G.COMMENT_START=7]="COMMENT_START",G[G.COMMENT_END=8]="COMMENT_END",G[G.CDATA_START=9]="CDATA_START",G[G.CDATA_END=10]="CDATA_END",G[G.ATTR_NAME=11]="ATTR_NAME",G[G.ATTR_QUOTE=12]="ATTR_QUOTE",G[G.ATTR_VALUE=13]="ATTR_VALUE",G[G.DOC_TYPE_START=14]="DOC_TYPE_START",G[G.DOC_TYPE_END=15]="DOC_TYPE_END",G[G.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",G[G.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",G[G.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",G[G.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",G[G.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",G[G.EOF=21]="EOF"})(m=h.TokenType||(h.TokenType={}));var C=ce(function G(Y,P,W){se(this,G),this.type=Y,this.parts=P,this.sourceSpan=W});h.Token=C;var T=function(G){br(P,G);var Y=Fr(P);function P(W,te,ie){var Ie;return se(this,P),Ie=Y.call(this,ie,W),Ie.tokenType=te,Ie}return ce(P)}(ar.ParseError);h.TokenError=T;var L=ce(function G(Y,P){se(this,G),this.tokens=Y,this.errors=P});h.TokenizeResult=L,h.tokenize=function(G,Y,P){var W=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new z(new ar.ParseSourceFile(G,Y),P,W).tokenize()};var j=/\r\n?/g;function Q(G){var Y=G===g.$EOF?"EOF":String.fromCharCode(G);return'Unexpected character "'.concat(Y,'"')}function pe(G){return'Unknown entity "'.concat(G,'" - use the "&#<decimal>;" or "&#x<hex>;" syntax')}var he=ce(function G(Y){se(this,G),this.error=Y}),z=function(){function G(Y,P,W){se(this,G),this._getTagContentType=P,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=W.tokenizeExpansionForms||!1,this._interpolationConfig=W.interpolationConfig||us.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=W.leadingTriviaChars&&W.leadingTriviaChars.map(function(ie){return ie.codePointAt(0)||0}),this._canSelfClose=W.canSelfClose||!1,this._allowHtmComponentClosingTags=W.allowHtmComponentClosingTags||!1;var te=W.range||{endPos:Y.content.length,startPos:0,startLine:0,startCol:0};this._cursor=W.escapedString?new xe(Y,te):new ve(Y,te);try{this._cursor.init()}catch(ie){this.handleError(ie)}}return ce(G,[{key:"_processCarriageReturns",value:function(P){return P.replace(j,`
|
|
`)}},{key:"tokenize",value:function(){for(;this._cursor.peek()!==g.$EOF;){var P=this._cursor.clone();try{if(this._attemptCharCode(g.$LT))if(this._attemptCharCode(g.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(P):this._attemptStr("--")?this._consumeComment(P):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(P):this._consumeBogusComment(P);else if(this._attemptCharCode(g.$SLASH))this._consumeTagClose(P);else{var W=this._cursor.clone();this._attemptCharCode(g.$QUESTION)?(this._cursor=W,this._consumeBogusComment(P)):this._consumeTagOpen(P)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(te){this.handleError(te)}}return this._beginToken(m.EOF),this._endToken([]),new L(function(te){for(var ie=[],Ie,je=0;je<te.length;je++){var Xe=te[je];Ie&&Ie.type==m.TEXT&&Xe.type==m.TEXT?(Ie.parts[0]+=Xe.parts[0],Ie.sourceSpan.end=Xe.sourceSpan.end):(Ie=Xe,ie.push(Ie))}return ie}(this.tokens),this.errors)}},{key:"_tokenizeExpansionForm",value:function(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(((P=this._cursor.peek())===g.$EQ||g.isAsciiLetter(P)||g.isDigit(P))&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;var P;if(this._cursor.peek()===g.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}},{key:"_beginToken",value:function(P){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=W,this._currentTokenType=P}},{key:"_endToken",value:function(P){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new T("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(W));if(this._currentTokenType===null)throw new T("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));var te=new C(this._currentTokenType,P,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(te),this._currentTokenStart=null,this._currentTokenType=null,te}},{key:"_createError",value:function(P,W){this._isInExpansionForm()&&(P+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);var te=new T(P,this._currentTokenType,W);return this._currentTokenStart=null,this._currentTokenType=null,new he(te)}},{key:"handleError",value:function(P){if(P instanceof Be&&(P=this._createError(P.msg,this._cursor.getSpan(P.cursor))),!(P instanceof he))throw P;this.errors.push(P.error)}},{key:"_attemptCharCode",value:function(P){return this._cursor.peek()===P&&(this._cursor.advance(),!0)}},{key:"_attemptCharCodeCaseInsensitive",value:function(P){return W=this._cursor.peek(),te=P,me(W)==me(te)&&(this._cursor.advance(),!0);var W,te}},{key:"_requireCharCode",value:function(P){var W=this._cursor.clone();if(!this._attemptCharCode(P))throw this._createError(Q(this._cursor.peek()),this._cursor.getSpan(W))}},{key:"_attemptStr",value:function(P){var W=P.length;if(this._cursor.charsLeft()<W)return!1;for(var te=this._cursor.clone(),ie=0;ie<W;ie++)if(!this._attemptCharCode(P.charCodeAt(ie)))return this._cursor=te,!1;return!0}},{key:"_attemptStrCaseInsensitive",value:function(P){for(var W=0;W<P.length;W++)if(!this._attemptCharCodeCaseInsensitive(P.charCodeAt(W)))return!1;return!0}},{key:"_requireStr",value:function(P){var W=this._cursor.clone();if(!this._attemptStr(P))throw this._createError(Q(this._cursor.peek()),this._cursor.getSpan(W))}},{key:"_requireStrCaseInsensitive",value:function(P){var W=this._cursor.clone();if(!this._attemptStrCaseInsensitive(P))throw this._createError(Q(this._cursor.peek()),this._cursor.getSpan(W))}},{key:"_attemptCharCodeUntilFn",value:function(P){for(;!P(this._cursor.peek());)this._cursor.advance()}},{key:"_requireCharCodeUntilFn",value:function(P,W){var te=this._cursor.clone();if(this._attemptCharCodeUntilFn(P),this._cursor.clone().diff(te)<W)throw this._createError(Q(this._cursor.peek()),this._cursor.getSpan(te))}},{key:"_attemptUntilChar",value:function(P){for(;this._cursor.peek()!==P;)this._cursor.advance()}},{key:"_readChar",value:function(P){if(P&&this._cursor.peek()===g.$AMPERSAND)return this._decodeEntity();{var W=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),W}}},{key:"_decodeEntity",value:function(){var P=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(g.$HASH)){var W=this._cursor.clone();if(this._attemptCharCodeUntilFn(re),this._cursor.peek()!=g.$SEMICOLON)return this._cursor=W,"&";var te=this._cursor.getChars(W);this._cursor.advance();var ie=vr.NAMED_ENTITIES[te];if(!ie)throw this._createError(pe(te),this._cursor.getSpan(P));return ie}{var Ie=this._attemptCharCode(g.$x)||this._attemptCharCode(g.$X),je=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ee),this._cursor.peek()!=g.$SEMICOLON)throw this._createError(Q(this._cursor.peek()),this._cursor.getSpan());var Xe=this._cursor.getChars(je);this._cursor.advance();try{var Sr=parseInt(Xe,Ie?16:10);return String.fromCharCode(Sr)}catch{throw this._createError(pe(this._cursor.getChars(P)),this._cursor.getSpan())}}}},{key:"_consumeRawText",value:function(P,W){this._beginToken(P?m.ESCAPABLE_RAW_TEXT:m.RAW_TEXT);for(var te=[];;){var ie=this._cursor.clone(),Ie=W();if(this._cursor=ie,Ie)break;te.push(this._readChar(P))}return this._endToken([this._processCarriageReturns(te.join(""))])}},{key:"_consumeComment",value:function(P){var W=this;this._beginToken(m.COMMENT_START,P),this._endToken([]),this._consumeRawText(!1,function(){return W._attemptStr("-->")}),this._beginToken(m.COMMENT_END),this._requireStr("-->"),this._endToken([])}},{key:"_consumeBogusComment",value:function(P){var W=this;this._beginToken(m.COMMENT_START,P),this._endToken([]),this._consumeRawText(!1,function(){return W._cursor.peek()===g.$GT}),this._beginToken(m.COMMENT_END),this._cursor.advance(),this._endToken([])}},{key:"_consumeCdata",value:function(P){var W=this;this._beginToken(m.CDATA_START,P),this._endToken([]),this._consumeRawText(!1,function(){return W._attemptStr("]]>")}),this._beginToken(m.CDATA_END),this._requireStr("]]>"),this._endToken([])}},{key:"_consumeDocType",value:function(P){var W=this;this._beginToken(m.DOC_TYPE_START,P),this._endToken([]),this._consumeRawText(!1,function(){return W._cursor.peek()===g.$GT}),this._beginToken(m.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}},{key:"_consumePrefixAndName",value:function(){for(var P=this._cursor.clone(),W="";this._cursor.peek()!==g.$COLON&&!(((te=this._cursor.peek())<g.$a||g.$z<te)&&(te<g.$A||g.$Z<te)&&(te<g.$0||te>g.$9));)this._cursor.advance();var te,ie;return this._cursor.peek()===g.$COLON?(W=this._cursor.getChars(P),this._cursor.advance(),ie=this._cursor.clone()):ie=P,this._requireCharCodeUntilFn(J,W===""?0:1),[W,this._cursor.getChars(ie)]}},{key:"_consumeTagOpen",value:function(P){var W,te,ie,Ie=this.tokens.length,je=this._cursor.clone(),Xe=[];try{if(!g.isAsciiLetter(this._cursor.peek()))throw this._createError(Q(this._cursor.peek()),this._cursor.getSpan(P));for(ie=this._consumeTagOpenStart(P),te=ie.parts[0],W=ie.parts[1],this._attemptCharCodeUntilFn(V);this._cursor.peek()!==g.$SLASH&&this._cursor.peek()!==g.$GT;){var Sr=this._consumeAttributeName(),gr=ke(Sr,2),Or=gr[0],ot=gr[1];if(this._attemptCharCodeUntilFn(V),this._attemptCharCode(g.$EQ)){this._attemptCharCodeUntilFn(V);var Nt=this._consumeAttributeValue();Xe.push({prefix:Or,name:ot,value:Nt})}else Xe.push({prefix:Or,name:ot});this._attemptCharCodeUntilFn(V)}this._consumeTagOpenEnd()}catch(mn){if(mn instanceof he)return this._cursor=je,ie&&(this.tokens.length=Ie),this._beginToken(m.TEXT,P),void this._endToken(["<"]);throw mn}if(!(this._canSelfClose&&this.tokens[this.tokens.length-1].type===m.TAG_OPEN_END_VOID)){var dt=this._getTagContentType(W,te,this._fullNameStack.length>0,Xe);this._handleFullNameStackForTagOpen(te,W),dt===vr.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(te,W,!1):dt===vr.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(te,W,!0)}}},{key:"_consumeRawTextWithTagClose",value:function(P,W,te){var ie=this;this._consumeRawText(te,function(){return!!ie._attemptCharCode(g.$LT)&&!!ie._attemptCharCode(g.$SLASH)&&(ie._attemptCharCodeUntilFn(V),!!ie._attemptStrCaseInsensitive(P?"".concat(P,":").concat(W):W)&&(ie._attemptCharCodeUntilFn(V),ie._attemptCharCode(g.$GT)))}),this._beginToken(m.TAG_CLOSE),this._requireCharCodeUntilFn(function(Ie){return Ie===g.$GT},3),this._cursor.advance(),this._endToken([P,W]),this._handleFullNameStackForTagClose(P,W)}},{key:"_consumeTagOpenStart",value:function(P){this._beginToken(m.TAG_OPEN_START,P);var W=this._consumePrefixAndName();return this._endToken(W)}},{key:"_consumeAttributeName",value:function(){var P=this._cursor.peek();if(P===g.$SQ||P===g.$DQ)throw this._createError(Q(P),this._cursor.getSpan());this._beginToken(m.ATTR_NAME);var W=this._consumePrefixAndName();return this._endToken(W),W}},{key:"_consumeAttributeValue",value:function(){var P;if(this._cursor.peek()===g.$SQ||this._cursor.peek()===g.$DQ){this._beginToken(m.ATTR_QUOTE);var W=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(W)]),this._beginToken(m.ATTR_VALUE);for(var te=[];this._cursor.peek()!==W;)te.push(this._readChar(!0));P=this._processCarriageReturns(te.join("")),this._endToken([P]),this._beginToken(m.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(W)])}else{this._beginToken(m.ATTR_VALUE);var ie=this._cursor.clone();this._requireCharCodeUntilFn(J,1),P=this._processCarriageReturns(this._cursor.getChars(ie)),this._endToken([P])}return P}},{key:"_consumeTagOpenEnd",value:function(){var P=this._attemptCharCode(g.$SLASH)?m.TAG_OPEN_END_VOID:m.TAG_OPEN_END;this._beginToken(P),this._requireCharCode(g.$GT),this._endToken([])}},{key:"_consumeTagClose",value:function(P){if(this._beginToken(m.TAG_CLOSE,P),this._attemptCharCodeUntilFn(V),this._allowHtmComponentClosingTags&&this._attemptCharCode(g.$SLASH))this._attemptCharCodeUntilFn(V),this._requireCharCode(g.$GT),this._endToken([]);else{var W=this._consumePrefixAndName(),te=ke(W,2),ie=te[0],Ie=te[1];this._attemptCharCodeUntilFn(V),this._requireCharCode(g.$GT),this._endToken([ie,Ie]),this._handleFullNameStackForTagClose(ie,Ie)}}},{key:"_consumeExpansionFormStart",value:function(){this._beginToken(m.EXPANSION_FORM_START),this._requireCharCode(g.$LBRACE),this._endToken([]),this._expansionCaseStack.push(m.EXPANSION_FORM_START),this._beginToken(m.RAW_TEXT);var P=this._readUntil(g.$COMMA);this._endToken([P]),this._requireCharCode(g.$COMMA),this._attemptCharCodeUntilFn(V),this._beginToken(m.RAW_TEXT);var W=this._readUntil(g.$COMMA);this._endToken([W]),this._requireCharCode(g.$COMMA),this._attemptCharCodeUntilFn(V)}},{key:"_consumeExpansionCaseStart",value:function(){this._beginToken(m.EXPANSION_CASE_VALUE);var P=this._readUntil(g.$LBRACE).trim();this._endToken([P]),this._attemptCharCodeUntilFn(V),this._beginToken(m.EXPANSION_CASE_EXP_START),this._requireCharCode(g.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(V),this._expansionCaseStack.push(m.EXPANSION_CASE_EXP_START)}},{key:"_consumeExpansionCaseEnd",value:function(){this._beginToken(m.EXPANSION_CASE_EXP_END),this._requireCharCode(g.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(V),this._expansionCaseStack.pop()}},{key:"_consumeExpansionFormEnd",value:function(){this._beginToken(m.EXPANSION_FORM_END),this._requireCharCode(g.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}},{key:"_consumeText",value:function(){var P=this._cursor.clone();this._beginToken(m.TEXT,P);var W=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(W.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(W.push(this._interpolationConfig.end),this._inInterpolation=!1):W.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(W.join(""))])}},{key:"_isTextEnd",value:function(){return!!(this._cursor.peek()===g.$LT||this._cursor.peek()===g.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===g.$RBRACE&&this._isInExpansionCase()))}},{key:"_readUntil",value:function(P){var W=this._cursor.clone();return this._attemptUntilChar(P),this._cursor.getChars(W)}},{key:"_isInExpansionCase",value:function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===m.EXPANSION_CASE_EXP_START}},{key:"_isInExpansionForm",value:function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===m.EXPANSION_FORM_START}},{key:"isExpansionFormStart",value:function(){if(this._cursor.peek()!==g.$LBRACE)return!1;if(this._interpolationConfig){var P=this._cursor.clone(),W=this._attemptStr(this._interpolationConfig.start);return this._cursor=P,!W}return!0}},{key:"_handleFullNameStackForTagOpen",value:function(P,W){var te=vr.mergeNsAndName(P,W);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]!==te||this._fullNameStack.push(te)}},{key:"_handleFullNameStackForTagClose",value:function(P,W){var te=vr.mergeNsAndName(P,W);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===te&&this._fullNameStack.pop()}}]),G}();function V(G){return!g.isWhitespace(G)||G===g.$EOF}function J(G){return g.isWhitespace(G)||G===g.$GT||G===g.$SLASH||G===g.$SQ||G===g.$DQ||G===g.$EQ}function Ee(G){return G==g.$SEMICOLON||G==g.$EOF||!g.isAsciiHexDigit(G)}function re(G){return G==g.$SEMICOLON||G==g.$EOF||!g.isAsciiLetter(G)}function me(G){return G>=g.$a&&G<=g.$z?G-g.$a+g.$A:G}var ve=function(){function G(Y,P){if(se(this,G),Y instanceof G)this.file=Y.file,this.input=Y.input,this.end=Y.end,this.state=Object.assign({},Y.state);else{if(!P)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=Y,this.input=Y.content,this.end=P.endPos,this.state={peek:-1,offset:P.startPos,line:P.startLine,column:P.startCol}}}return ce(G,[{key:"clone",value:function(){return new G(this)}},{key:"peek",value:function(){return this.state.peek}},{key:"charsLeft",value:function(){return this.end-this.state.offset}},{key:"diff",value:function(P){return this.state.offset-P.state.offset}},{key:"advance",value:function(){this.advanceState(this.state)}},{key:"init",value:function(){this.updatePeek(this.state)}},{key:"getSpan",value:function(P,W){if(P=P||this,W)for(P=P.clone();this.diff(P)>0&&W.indexOf(P.peek())!==-1;)P.advance();return new ar.ParseSourceSpan(new ar.ParseLocation(P.file,P.state.offset,P.state.line,P.state.column),new ar.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}},{key:"getChars",value:function(P){return this.input.substring(P.state.offset,this.state.offset)}},{key:"charAt",value:function(P){return this.input.charCodeAt(P)}},{key:"advanceState",value:function(P){if(P.offset>=this.end)throw this.state=P,new Be('Unexpected character "EOF"',this);var W=this.charAt(P.offset);W===g.$LF?(P.line++,P.column=0):g.isNewLine(W)||P.column++,P.offset++,this.updatePeek(P)}},{key:"updatePeek",value:function(P){P.peek=P.offset>=this.end?g.$EOF:this.charAt(P.offset)}}]),G}(),xe=function(G){br(P,G);var Y=Fr(P);function P(W,te){var ie;return se(this,P),W instanceof P?(ie=Y.call(this,W),ie.internalState=Object.assign({},W.internalState)):(ie=Y.call(this,W,te),ie.internalState=ie.state),VF(ie)}return ce(P,[{key:"advance",value:function(){this.state=this.internalState,Ga(Bn(P.prototype),"advance",this).call(this),this.processEscapeSequence()}},{key:"init",value:function(){Ga(Bn(P.prototype),"init",this).call(this),this.processEscapeSequence()}},{key:"clone",value:function(){return new P(this)}},{key:"getChars",value:function(te){for(var ie=te.clone(),Ie="";ie.internalState.offset<this.internalState.offset;)Ie+=String.fromCodePoint(ie.peek()),ie.advance();return Ie}},{key:"processEscapeSequence",value:function(){var te=this,ie=function(){return te.internalState.peek};if(ie()===g.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),ie()===g.$n)this.state.peek=g.$LF;else if(ie()===g.$r)this.state.peek=g.$CR;else if(ie()===g.$v)this.state.peek=g.$VTAB;else if(ie()===g.$t)this.state.peek=g.$TAB;else if(ie()===g.$b)this.state.peek=g.$BSPACE;else if(ie()===g.$f)this.state.peek=g.$FF;else if(ie()===g.$u)if(this.advanceState(this.internalState),ie()===g.$LBRACE){this.advanceState(this.internalState);for(var Ie=this.clone(),je=0;ie()!==g.$RBRACE;)this.advanceState(this.internalState),je++;this.state.peek=this.decodeHexDigits(Ie,je)}else{var Xe=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(Xe,4)}else if(ie()===g.$x){this.advanceState(this.internalState);var Sr=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(Sr,2)}else if(g.isOctalDigit(ie())){for(var gr="",Or=0,ot=this.clone();g.isOctalDigit(ie())&&Or<3;)ot=this.clone(),gr+=String.fromCodePoint(ie()),this.advanceState(this.internalState),Or++;this.state.peek=parseInt(gr,8),this.internalState=ot.internalState}else g.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}},{key:"decodeHexDigits",value:function(te,ie){var Ie=this.input.substr(te.internalState.offset,ie),je=parseInt(Ie,16);if(isNaN(je))throw te.state=te.internalState,new Be("Invalid hexadecimal escape sequence",te);return je}}]),P}(ve),Be=ce(function G(Y,P){se(this,G),this.msg=Y,this.cursor=P});h.CursorError=Be});/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/var wt=function(E){br(g,E);var h=Fr(g);function g(m,C,T){var L;return se(this,g),L=h.call(this,C,T),L.elementName=m,L}return ce(g,null,[{key:"create",value:function(C,T,L){return new g(C,T,L)}}]),g}(ar.ParseError),nl=wt,vi=ce(function E(h,g){se(this,E),this.rootNodes=h,this.errors=g}),ul=vi,al=function(){function E(h){se(this,E),this.getTagDefinition=h}return ce(E,[{key:"parse",value:function(g,m,C){var T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,L=arguments.length>4?arguments[4]:void 0,j=function(ve){return function(xe){for(var Be=arguments.length,G=new Array(Be>1?Be-1:0),Y=1;Y<Be;Y++)G[Y-1]=arguments[Y];return ve.apply(void 0,[xe.toLowerCase()].concat(G))}},Q=T?this.getTagDefinition:j(this.getTagDefinition),pe=function(ve){return Q(ve).contentType},he=T?L:j(L),z=L?function(me,ve,xe,Be){var G=he(me,ve,xe,Be);return G!==void 0?G:pe(me)}:pe,V=Ue.tokenize(g,m,z,C),J=C&&C.canSelfClose||!1,Ee=C&&C.allowHtmComponentClosingTags||!1,re=new Bf(V.tokens,Q,J,Ee,T).build();return new vi(re.rootNodes,V.errors.concat(re.errors))}}]),E}(),Bf=function(){function E(h,g,m,C,T){se(this,E),this.tokens=h,this.getTagDefinition=g,this.canSelfClose=m,this.allowHtmComponentClosingTags=C,this.isTagNameCaseSensitive=T,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return ce(E,[{key:"build",value:function(){for(;this._peek.type!==Ue.TokenType.EOF;)this._peek.type===Ue.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===Ue.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===Ue.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Ue.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Ue.TokenType.TEXT||this._peek.type===Ue.TokenType.RAW_TEXT||this._peek.type===Ue.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Ue.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===Ue.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new vi(this._rootNodes,this._errors)}},{key:"_advance",value:function(){var g=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],g}},{key:"_advanceIf",value:function(g){return this._peek.type===g?this._advance():null}},{key:"_consumeCdata",value:function(g){var m=this._advance(),C=this._getText(m),T=this._advanceIf(Ue.TokenType.CDATA_END);this._addToParent(new xt.CDATA(C,new ar.ParseSourceSpan(g.sourceSpan.start,(T||m).sourceSpan.end)))}},{key:"_consumeComment",value:function(g){var m=this._advanceIf(Ue.TokenType.RAW_TEXT),C=this._advanceIf(Ue.TokenType.COMMENT_END),T=m!=null?m.parts[0].trim():null,L=new ar.ParseSourceSpan(g.sourceSpan.start,(C||m||g).sourceSpan.end);this._addToParent(new xt.Comment(T,L))}},{key:"_consumeDocType",value:function(g){var m=this._advanceIf(Ue.TokenType.RAW_TEXT),C=this._advanceIf(Ue.TokenType.DOC_TYPE_END),T=m!=null?m.parts[0].trim():null,L=new ar.ParseSourceSpan(g.sourceSpan.start,(C||m||g).sourceSpan.end);this._addToParent(new xt.DocType(T,L))}},{key:"_consumeExpansion",value:function(g){for(var m=this._advance(),C=this._advance(),T=[];this._peek.type===Ue.TokenType.EXPANSION_CASE_VALUE;){var L=this._parseExpansionCase();if(!L)return;T.push(L)}if(this._peek.type!==Ue.TokenType.EXPANSION_FORM_END)return void this._errors.push(wt.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));var j=new ar.ParseSourceSpan(g.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new xt.Expansion(m.parts[0],C.parts[0],T,j,m.sourceSpan)),this._advance()}},{key:"_parseExpansionCase",value:function(){var g=this._advance();if(this._peek.type!==Ue.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(wt.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;var m=this._advance(),C=this._collectExpansionExpTokens(m);if(!C)return null;var T=this._advance();C.push(new Ue.Token(Ue.TokenType.EOF,[],T.sourceSpan));var L=new E(C,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(L.errors.length>0)return this._errors=this._errors.concat(L.errors),null;var j=new ar.ParseSourceSpan(g.sourceSpan.start,T.sourceSpan.end),Q=new ar.ParseSourceSpan(m.sourceSpan.start,T.sourceSpan.end);return new xt.ExpansionCase(g.parts[0],L.rootNodes,j,g.sourceSpan,Q)}},{key:"_collectExpansionExpTokens",value:function(g){for(var m=[],C=[Ue.TokenType.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==Ue.TokenType.EXPANSION_FORM_START&&this._peek.type!==Ue.TokenType.EXPANSION_CASE_EXP_START||C.push(this._peek.type),this._peek.type===Ue.TokenType.EXPANSION_CASE_EXP_END){if(!yi(C,Ue.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(wt.create(null,g.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(C.pop(),C.length==0)return m}if(this._peek.type===Ue.TokenType.EXPANSION_FORM_END){if(!yi(C,Ue.TokenType.EXPANSION_FORM_START))return this._errors.push(wt.create(null,g.sourceSpan,"Invalid ICU message. Missing '}'.")),null;C.pop()}if(this._peek.type===Ue.TokenType.EOF)return this._errors.push(wt.create(null,g.sourceSpan,"Invalid ICU message. Missing '}'.")),null;m.push(this._advance())}}},{key:"_getText",value:function(g){var m=g.parts[0];if(m.length>0&&m[0]==`
|
|
`){var C=this._getParentElement();C!=null&&C.children.length==0&&this.getTagDefinition(C.name).ignoreFirstLf&&(m=m.substring(1))}return m}},{key:"_consumeText",value:function(g){var m=this._getText(g);m.length>0&&this._addToParent(new xt.Text(m,g.sourceSpan))}},{key:"_closeVoidElement",value:function(){var g=this._getParentElement();g&&this.getTagDefinition(g.name).isVoid&&this._elementStack.pop()}},{key:"_consumeStartTag",value:function(g){for(var m=g.parts[0],C=g.parts[1],T=[];this._peek.type===Ue.TokenType.ATTR_NAME;)T.push(this._consumeAttr(this._advance()));var L=this._getElementFullName(m,C,this._getParentElement()),j=!1;if(this._peek.type===Ue.TokenType.TAG_OPEN_END_VOID){this._advance(),j=!0;var Q=this.getTagDefinition(L);this.canSelfClose||Q.canSelfClose||vr.getNsPrefix(L)!==null||Q.isVoid||this._errors.push(wt.create(L,g.sourceSpan,'Only void and foreign elements can be self closed "'.concat(g.parts[1],'"')))}else this._peek.type===Ue.TokenType.TAG_OPEN_END&&(this._advance(),j=!1);var pe=this._peek.sourceSpan.start,he=new ar.ParseSourceSpan(g.sourceSpan.start,pe),z=new ar.ParseSourceSpan(g.sourceSpan.start.moveBy(1),g.sourceSpan.end),V=new xt.Element(L,T,[],he,he,void 0,z);this._pushElement(V),j&&(this._popElement(L),V.endSourceSpan=he)}},{key:"_pushElement",value:function(g){var m=this._getParentElement();m&&this.getTagDefinition(m.name).isClosedByChild(g.name)&&this._elementStack.pop(),this._addToParent(g),this._elementStack.push(g)}},{key:"_consumeEndTag",value:function(g){var m=this.allowHtmComponentClosingTags&&g.parts.length===0?null:this._getElementFullName(g.parts[0],g.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=g.sourceSpan),m&&this.getTagDefinition(m).isVoid)this._errors.push(wt.create(m,g.sourceSpan,'Void elements do not have end tags "'.concat(g.parts[1],'"')));else if(!this._popElement(m)){var C='Unexpected closing tag "'.concat(m,'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags');this._errors.push(wt.create(m,g.sourceSpan,C))}}},{key:"_popElement",value:function(g){for(var m=this._elementStack.length-1;m>=0;m--){var C=this._elementStack[m];if(!g||(vr.getNsPrefix(C.name)?C.name==g:C.name.toLowerCase()==g.toLowerCase()))return this._elementStack.splice(m,this._elementStack.length-m),!0;if(!this.getTagDefinition(C.name).closedByParent)return!1}return!1}},{key:"_consumeAttr",value:function(g){var m=vr.mergeNsAndName(g.parts[0],g.parts[1]),C,T,L=g.sourceSpan.end,j="";if(this._peek.type===Ue.TokenType.ATTR_QUOTE&&(T=this._advance().sourceSpan.start),this._peek.type===Ue.TokenType.ATTR_VALUE){var Q=this._advance();j=Q.parts[0],L=Q.sourceSpan.end,C=Q.sourceSpan}return this._peek.type===Ue.TokenType.ATTR_QUOTE&&(L=this._advance().sourceSpan.end,C=new ar.ParseSourceSpan(T,L)),new xt.Attribute(m,j,new ar.ParseSourceSpan(g.sourceSpan.start,L),C,g.sourceSpan)}},{key:"_getParentElement",value:function(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}},{key:"_getParentElementSkippingContainers",value:function(){for(var g=null,m=this._elementStack.length-1;m>=0;m--){if(!vr.isNgContainer(this._elementStack[m].name))return{parent:this._elementStack[m],container:g};g=this._elementStack[m]}return{parent:null,container:g}}},{key:"_addToParent",value:function(g){var m=this._getParentElement();m!=null?m.children.push(g):this._rootNodes.push(g)}},{key:"_insertBeforeContainer",value:function(g,m,C){if(m){if(g){var T=g.children.indexOf(m);g.children[T]=C}else this._rootNodes.push(C);C.children.push(m),this._elementStack.splice(this._elementStack.indexOf(m),0,C)}else this._addToParent(C),this._elementStack.push(C)}},{key:"_getElementFullName",value:function(g,m,C){return g===""&&(g=this.getTagDefinition(m).implicitNamespacePrefix||"")===""&&C!=null&&(g=vr.getNsPrefix(C.name)),vr.mergeNsAndName(g,m)}}]),E}();function yi(E,h){return E.length>0&&E[E.length-1]===h}var il=Object.defineProperty({TreeError:nl,ParseTreeResult:ul,Parser:al},"__esModule",{value:!0}),ol=il,Bt=ol.ParseTreeResult,it=ol.TreeError;/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/var kf=function(E){br(g,E);var h=Fr(g);function g(){return se(this,g),h.call(this,Zt.getHtmlTagDefinition)}return ce(g,[{key:"parse",value:function(C,T,L){var j=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Q=arguments.length>4?arguments[4]:void 0;return Ga(Bn(g.prototype),"parse",this).call(this,C,T,L,j,Q)}}]),g}(il.Parser),as=kf,sl=Object.defineProperty({ParseTreeResult:Bt,TreeError:it,HtmlParser:as},"__esModule",{value:!0}),Nf=vr.TagContentType,Ei=null,Ci=function(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=g.canSelfClose,C=m===void 0?!1:m,T=g.allowHtmComponentClosingTags,L=T===void 0?!1:T,j=g.isTagNameCaseSensitive,Q=j===void 0?!1:j,pe=g.getTagContentType;return(Ei||(Ei=new sl.HtmlParser),Ei).parse(h,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:C,allowHtmComponentClosingTags:L},Q,pe)},is=Object.defineProperty({TagContentType:Nf,parse:Ci},"__esModule",{value:!0}),Ai=ar.ParseSourceSpan,os=ar.ParseLocation,ss=ar.ParseSourceFile,_t=Yu.inferParserByLanguage,Z=X.HTML_ELEMENT_ATTRIBUTES,cl=X.HTML_TAGS,cs=X.isUnknownNamespace,ls=fu.hasPragma,ps=ea.Node,fs=Jc.parseIeConditionalComment,kt=Yc.locStart,ll=Yc.locEnd;function Pf(E,h,g){var m=h.recognizeSelfClosing,C=h.normalizeTagName,T=h.normalizeAttributeName,L=h.allowHtmComponentClosingTags,j=h.isTagNameCaseSensitive,Q=h.getTagContentType,pe=is,he=xt.RecursiveVisitor,z=xt.visitAll,V=ar.ParseSourceSpan,J=Zt.getHtmlTagDefinition,Ee=pe.parse(E,{canSelfClose:m,allowHtmComponentClosingTags:L,isTagNameCaseSensitive:j,getTagContentType:Q}),re=Ee.rootNodes,me=Ee.errors;if(g.parser==="vue")if(re.some(function(Rr){return Rr.type==="docType"&&Rr.value==="html"||Rr.type==="element"&&Rr.name.toLowerCase()==="html"})){m=!0,C=!0,T=!0,L=!0,j=!1;var ve=pe.parse(E,{canSelfClose:m,allowHtmComponentClosingTags:L,isTagNameCaseSensitive:j});re=ve.rootNodes,me=ve.errors}else{var xe=function(mr){if(!mr||mr.type!=="element"||mr.name!=="template")return!1;var yr=mr.attrs.find(function(jr){return jr.name==="lang"}),Mr=yr&&yr.value;return!Mr||_t(Mr,g)==="html"};if(re.some(xe))for(var Be,G=function(){return pe.parse(E,{canSelfClose:m,allowHtmComponentClosingTags:L,isTagNameCaseSensitive:j})},Y=function(){return Be||(Be=G())},P=function(mr){return Y().rootNodes.find(function(yr){var Mr=yr.startSourceSpan;return Mr&&Mr.start.offset===mr.startSourceSpan.start.offset})},W=0;W<re.length;W++){var te=re[W],ie=te.endSourceSpan,Ie=te.startSourceSpan;if(ie===null)me=Y().errors,re[W]=P(te)||te;else if(xe(te)){var je=Y(),Xe=Ie.end.offset,Sr=ie.start.offset,gr=le(je.errors),Or;try{for(gr.s();!(Or=gr.n()).done;){var ot=Or.value,Nt=ot.span.start.offset;if(Xe<Nt&&Nt<Sr){me=[ot];break}}}catch(Rr){gr.e(Rr)}finally{gr.f()}re[W]=P(te)||te}}}if(me.length>0){var dt=me[0],mn=dt.msg,Du=dt.span,gu=Du.start,Lr=Du.end;throw tu(mn,{start:{line:gu.line+1,column:gu.col+1},end:{line:Lr.line+1,column:Lr.col+1}})}var Tr=function(mr){var yr=mr.name.startsWith(":")?mr.name.slice(1).split(":")[0]:null,Mr=mr.nameSpan.toString(),jr=yr!==null&&Mr.startsWith("".concat(yr,":")),$e=jr?Mr.slice(yr.length+1):Mr;mr.name=$e,mr.namespace=yr,mr.hasExplicitNamespace=jr},Ze=function(mr,yr){var Mr=mr.toLowerCase();return yr(Mr)?Mr:mr};return z(new(function(Rr){br(yr,Rr);var mr=Fr(yr);function yr(){return se(this,yr),mr.apply(this,arguments)}return ce(yr,[{key:"visit",value:function(jr){(function($e){if($e.type==="element"){Tr($e);var ht=le($e.attrs),Un;try{for(ht.s();!(Un=ht.n()).done;){var Dt=Un.value;Tr(Dt),Dt.valueSpan?(Dt.value=Dt.valueSpan.toString(),/["']/.test(Dt.value[0])&&(Dt.value=Dt.value.slice(1,-1))):Dt.value=null}}catch(Pt){ht.e(Pt)}finally{ht.f()}}else $e.type==="comment"?$e.value=$e.sourceSpan.toString().slice(4,-3):$e.type==="text"&&($e.value=$e.sourceSpan.toString())})(jr),function($e){if($e.type==="element"){var ht=J(j?$e.name:$e.name.toLowerCase());!$e.namespace||$e.namespace===ht.implicitNamespacePrefix||cs($e)?$e.tagDefinition=ht:$e.tagDefinition=J("")}}(jr),function($e){$e.type==="element"&&(!C||$e.namespace&&$e.namespace!==$e.tagDefinition.implicitNamespacePrefix&&!cs($e)||($e.name=Ze($e.name,function(ht){return ht in cl})),T)&&function(){var ht=Z[$e.name]||Object.create(null),Un=le($e.attrs),Dt;try{for(Un.s();!(Dt=Un.n()).done;){var Pt=Dt.value;Pt.namespace||(Pt.name=Ze(Pt.name,function(Wn){return $e.name in Z&&(Wn in Z["*"]||Wn in ht)}))}}catch(Wn){Un.e(Wn)}finally{Un.f()}}()}(jr),function($e){$e.sourceSpan&&$e.endSourceSpan&&($e.sourceSpan=new V($e.sourceSpan.start,$e.endSourceSpan.end))}(jr)}}]),yr}(he)),re),re}function gn(E,h,g){var m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,C=m?df(E):{frontMatter:null,content:E},T=C.frontMatter,L=C.content,j=new ss(E,h.filepath),Q=new os(j,0,0,0),pe=Q.moveBy(E.length),he={type:"root",sourceSpan:new Ai(Q,pe),children:Pf(L,g,h)};if(T){var z=new os(j,0,0,0),V=z.moveBy(T.raw.length);T.sourceSpan=new Ai(z,V),he.children.unshift(T)}var J=new ps(he),Ee=function(me,ve){var xe=ve.offset,Be=gn(E.slice(0,xe).replace(/[^\n\r]/g," ")+me,h,g,!1);Be.sourceSpan=new Ai(ve,To(Be.children).sourceSpan.end);var G=Be.children[0];return G.length===xe?Be.children.shift():(G.sourceSpan=new Ai(G.sourceSpan.start.moveBy(xe),G.sourceSpan.end),G.value=G.value.slice(xe)),Be};return J.map(function(re){if(re.type==="comment"){var me=fs(re,Ee);if(me)return me}return re})}function ta(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=E.recognizeSelfClosing,g=h===void 0?!1:h,m=E.normalizeTagName,C=m===void 0?!1:m,T=E.normalizeAttributeName,L=T===void 0?!1:T,j=E.allowHtmComponentClosingTags,Q=j===void 0?!1:j,pe=E.isTagNameCaseSensitive,he=pe===void 0?!1:pe,z=E.getTagContentType;return{parse:function(J,Ee,re){return gn(J,re,{recognizeSelfClosing:g,normalizeTagName:C,normalizeAttributeName:L,allowHtmComponentClosingTags:Q,isTagNameCaseSensitive:he,getTagContentType:z})},hasPragma:ls,astFormat:"html",locStart:kt,locEnd:ll}}return{parsers:{html:ta({recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:ta(),vue:ta({recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:function(h,g,m,C){if(h.toLowerCase()!=="html"&&!m&&(h!=="template"||C.some(function(T){var L=T.name,j=T.value;return L==="lang"&&j!=="html"})))return is.TagContentType.RAW_TEXT}}),lwc:ta()}}})})(zF);var x$=Xb(zF.exports),XF={exports:{}};(function(B,N){(function(M,U){B.exports=U()})(go,function(){function M(r,e){if(r==null)return{};var t,n,u={},a=Object.keys(r);for(n=0;n<a.length;n++)t=a[n],e.indexOf(t)>=0||(u[t]=r[t]);return u}function U(r,e){return e||(e=r.slice(0)),Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(e)}}))}var ee={name:"prettier",version:"2.3.0",description:"Prettier is an opinionated code formatter",bin:"./bin/prettier.js",repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:{node:">=10.13.0"},files:["index.js","standalone.js","src","bin"],dependencies:{"@angular/compiler":"11.2.13","@babel/code-frame":"7.12.13","@babel/parser":"7.14.1","@glimmer/syntax":"0.79.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"4.22.0","angular-estree-parser":"2.3.0","angular-html-parser":"1.8.0",camelcase:"6.2.0",chalk:"4.1.1","ci-info":"3.1.1","cjk-regex":"2.0.1",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"5.0.0",editorconfig:"0.15.3","editorconfig-to-prettier":"0.2.0","escape-string-regexp":"4.0.0",espree:"7.3.1",esutils:"2.0.3","fast-glob":"3.2.5","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.150.1","get-stdin":"8.0.0",globby:"11.0.3",graphql:"15.5.0","html-element-attributes":"2.3.0","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.2.0",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.14.0",lodash:"4.17.21",mem:"8.1.1",meriyah:"4.1.5",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.1",outdent:"0.8.0","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":"3.0.1","remark-parse":"8.0.3",resolve:"1.20.0",semver:"7.3.5","string-width":"4.2.2","strip-ansi":"6.0.0",typescript:"4.2.4","unicode-regex":"3.0.0",unified:"9.2.1",vnopts:"1.0.2",wcwidth:"1.0.1","yaml-unist-parser":"1.3.1"},devDependencies:{"@babel/core":"7.14.0","@babel/preset-env":"7.14.1","@babel/types":"7.14.1","@glimmer/reference":"0.79.0","@rollup/plugin-alias":"3.1.2","@rollup/plugin-babel":"5.3.0","@rollup/plugin-commonjs":"18.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.0","@rollup/plugin-replace":"2.4.2","@types/estree":"0.0.47","@types/node":"15.0.1","babel-jest":"26.6.3","babel-loader":"8.2.2",benchmark:"2.1.4","builtin-modules":"3.2.0","cross-env":"7.0.3",cspell:"4.2.8",eslint:"7.26.0","eslint-config-prettier":"8.3.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.1","eslint-plugin-jest":"24.3.6","eslint-plugin-prettier-internal-rules":"link:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.23.2","eslint-plugin-unicorn":"31.0.0",execa:"5.0.0",jest:"26.6.3","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.2.0","jest-watch-typeahead":"0.6.3","npm-run-all":"4.1.5","path-browserify":"1.0.1",prettier:"2.2.1","pretty-bytes":"5.6.0",rimraf:"3.0.2",rollup:"2.47.0","rollup-plugin-polyfill-node":"0.6.2","rollup-plugin-terser":"7.0.2",shelljs:"0.8.4","snapshot-diff":"0.8.1","synchronous-promise":"2.0.15",tempy:"1.0.1","terser-webpack-plugin":"5.1.1",webpack:"5.36.2"},scripts:{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 --no-inline-config --env=es6,browser --parser-options=ecmaVersion:2018 "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 --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"}},fe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof go<"u"?go:typeof self<"u"?self:{};function Ve(r){return r&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function ge(r){var e={exports:{}};return r(e,e.exports),e.exports}var De=ge(function(r,e){function t(){}function n(a,i,o,s,c){for(var l=0,p=i.length,f=0,d=0;l<p;l++){var D=i[l];if(D.removed){if(D.value=a.join(s.slice(d,d+D.count)),d+=D.count,l&&i[l-1].added){var v=i[l-1];i[l-1]=i[l],i[l]=v}}else{if(!D.added&&c){var y=o.slice(f,f+D.count);y=y.map(function(S,F){var x=s[d+F];return x.length>S.length?x:S}),D.value=a.join(y)}else D.value=a.join(o.slice(f,f+D.count));f+=D.count,D.added||(d+=D.count)}}var b=i[p-1];return p>1&&typeof b.value=="string"&&(b.added||b.removed)&&a.equals("",b.value)&&(i[p-2].value+=b.value,i.pop()),i}function u(a){return{newPos:a.newPos,components:a.components.slice(0)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(i,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c=s.callback;typeof s=="function"&&(c=s,s={}),this.options=s;var l=this;function p(x){return c?(setTimeout(function(){c(void 0,x)},0),!0):x}i=this.castInput(i),o=this.castInput(o),i=this.removeEmpty(this.tokenize(i));var f=(o=this.removeEmpty(this.tokenize(o))).length,d=i.length,D=1,v=f+d,y=[{newPos:-1,components:[]}],b=this.extractCommon(y[0],o,i,0);if(y[0].newPos+1>=f&&b+1>=d)return p([{value:this.join(o),count:o.length}]);function S(){for(var x=-1*D;x<=D;x+=2){var w=void 0,A=y[x-1],k=y[x+1],O=(k?k.newPos:0)-x;A&&(y[x-1]=void 0);var q=A&&A.newPos+1<f,H=k&&0<=O&&O<d;if(q||H){if(!q||H&&A.newPos<k.newPos?(w=u(k),l.pushComponent(w.components,void 0,!0)):((w=A).newPos++,l.pushComponent(w.components,!0,void 0)),O=l.extractCommon(w,o,i,x),w.newPos+1>=f&&O+1>=d)return p(n(l,w.components,o,i,l.useLongestToken));y[x]=w}else y[x]=void 0}D++}if(c)(function x(){setTimeout(function(){if(D>v)return c();S()||x()},0)})();else for(;D<=v;){var F=S();if(F)return F}},pushComponent:function(i,o,s){var c=i[i.length-1];c&&c.added===o&&c.removed===s?i[i.length-1]={count:c.count+1,added:o,removed:s}:i.push({count:1,added:o,removed:s})},extractCommon:function(i,o,s,c){for(var l=o.length,p=s.length,f=i.newPos,d=f-c,D=0;f+1<l&&d+1<p&&this.equals(o[f+1],s[d+1]);)f++,d++,D++;return D&&i.components.push({count:D}),i.newPos=f,d},equals:function(i,o){return this.options.comparator?this.options.comparator(i,o):i===o||this.options.ignoreCase&&i.toLowerCase()===o.toLowerCase()},removeEmpty:function(i){for(var o=[],s=0;s<i.length;s++)i[s]&&o.push(i[s]);return o},castInput:function(i){return i},tokenize:function(i){return i.split("")},join:function(i){return i.join("")}}}),Ge=ge(function(r,e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.diffChars=function(u,a,i){return n.diff(u,a,i)},e.characterDiff=void 0;var n=new((t=De)&&t.__esModule?t:{default:t}).default;e.characterDiff=n}),cn=function(e,t){if(typeof e=="function")t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},kn=Object.defineProperty({generateOptions:cn},"__esModule",{value:!0}),ln=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.diffWords=function(o,s,c){return c=(0,kn.generateOptions)(c,{ignoreWhitespace:!0}),i.diff(o,s,c)},e.diffWordsWithSpace=function(o,s,c){return i.diff(o,s,c)},e.wordDiff=void 0;var t,n=(t=De)&&t.__esModule?t:{default:t},u=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,a=/\S/,i=new n.default;e.wordDiff=i,i.equals=function(o,s){return this.options.ignoreCase&&(o=o.toLowerCase(),s=s.toLowerCase()),o===s||this.options.ignoreWhitespace&&!a.test(o)&&!a.test(s)},i.tokenize=function(o){for(var s=o.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),c=0;c<s.length-1;c++)!s[c+1]&&s[c+2]&&u.test(s[c])&&u.test(s[c+2])&&(s[c]+=s[c+2],s.splice(c+1,2),c--);return s}}),bt=ge(function(r,e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.diffLines=function(u,a,i){return n.diff(u,a,i)},e.diffTrimmedLines=function(u,a,i){var o=(0,kn.generateOptions)(i,{ignoreWhitespace:!0});return n.diff(u,a,o)},e.lineDiff=void 0;var n=new((t=De)&&t.__esModule?t:{default:t}).default;e.lineDiff=n,n.tokenize=function(u){var a=[],i=u.split(/(\n|\r\n)/);i[i.length-1]||i.pop();for(var o=0;o<i.length;o++){var s=i[o];o%2&&!this.options.newlineIsToken?a[a.length-1]+=s:(this.options.ignoreWhitespace&&(s=s.trim()),a.push(s))}return a}}),Uu=ge(function(r,e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.diffSentences=function(u,a,i){return n.diff(u,a,i)},e.sentenceDiff=void 0;var n=new((t=De)&&t.__esModule?t:{default:t}).default;e.sentenceDiff=n,n.tokenize=function(u){return u.split(/(\S.+?[.!?])(?=\s+|$)/)}}),Dr=ge(function(r,e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.diffCss=function(u,a,i){return n.diff(u,a,i)},e.cssDiff=void 0;var n=new((t=De)&&t.__esModule?t:{default:t}).default;e.cssDiff=n,n.tokenize=function(u){return u.split(/([{}:;,]|\s+)/)}}),Ye=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.diffJson=function(s,c,l){return i.diff(s,c,l)},e.canonicalize=o,e.jsonDiff=void 0;var t,n=(t=De)&&t.__esModule?t:{default:t};function u(s){return(u=typeof Symbol=="function"&&Se(Symbol.iterator)=="symbol"?function(c){return Se(c)}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":Se(c)})(s)}var a=Object.prototype.toString,i=new n.default;function o(s,c,l,p,f){var d,D;for(c=c||[],l=l||[],p&&(s=p(f,s)),d=0;d<c.length;d+=1)if(c[d]===s)return l[d];if(a.call(s)==="[object Array]"){for(c.push(s),D=new Array(s.length),l.push(D),d=0;d<s.length;d+=1)D[d]=o(s[d],c,l,p,f);return c.pop(),l.pop(),D}if(s&&s.toJSON&&(s=s.toJSON()),u(s)==="object"&&s!==null){c.push(s),D={},l.push(D);var v,y=[];for(v in s)s.hasOwnProperty(v)&&y.push(v);for(y.sort(),d=0;d<y.length;d+=1)D[v=y[d]]=o(s[v],c,l,p,v);c.pop(),l.pop()}else D=s;return D}e.jsonDiff=i,i.useLongestToken=!0,i.tokenize=bt.lineDiff.tokenize,i.castInput=function(s){var c=this.options,l=c.undefinedReplacement,p=c.stringifyReplacer,f=p===void 0?function(d,D){return D===void 0?l:D}:p;return typeof s=="string"?s:JSON.stringify(o(s,null,null,f),f," ")},i.equals=function(s,c){return n.default.prototype.equals.call(i,s.replace(/,([\r\n])/g,"$1"),c.replace(/,([\r\n])/g,"$1"))}}),fr=ge(function(r,e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=function(u,a,i){return n.diff(u,a,i)},e.arrayDiff=void 0;var n=new((t=De)&&t.__esModule?t:{default:t}).default;e.arrayDiff=n,n.tokenize=function(u){return u.slice()},n.join=n.removeEmpty=function(u){return u}}),Ft=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),u=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=[],i=0;function o(){var l={};for(a.push(l);i<n.length;){var p=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(p))break;var f=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(p);f&&(l.index=f[1]),i++}for(s(l),s(l),l.hunks=[];i<n.length;){var d=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(d))break;if(/^@@/.test(d))l.hunks.push(c());else{if(d&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(d));i++}}}function s(l){var p=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(p){var f=p[1]==="---"?"old":"new",d=p[2].split(" ",2),D=d[0].replace(/\\\\/g,"\\");/^".*"$/.test(D)&&(D=D.substr(1,D.length-2)),l[f+"FileName"]=D,l[f+"Header"]=(d[1]||"").trim(),i++}}function c(){var l=i,p=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),f={oldStart:+p[1],oldLines:p[2]===void 0?1:+p[2],newStart:+p[3],newLines:p[4]===void 0?1:+p[4],lines:[],linedelimiters:[]};f.oldLines===0&&(f.oldStart+=1),f.newLines===0&&(f.newStart+=1);for(var d=0,D=0;i<n.length&&!(n[i].indexOf("--- ")===0&&i+2<n.length&&n[i+1].indexOf("+++ ")===0&&n[i+2].indexOf("@@")===0);i++){var v=n[i].length==0&&i!=n.length-1?" ":n[i][0];if(v!=="+"&&v!=="-"&&v!==" "&&v!=="\\")break;f.lines.push(n[i]),f.linedelimiters.push(u[i]||`
|
|
`),v==="+"?d++:v==="-"?D++:v===" "&&(d++,D++)}if(d||f.newLines!==1||(f.newLines=0),D||f.oldLines!==1||(f.oldLines=0),t.strict){if(d!==f.newLines)throw new Error("Added line count did not match for hunk at line "+(l+1));if(D!==f.oldLines)throw new Error("Removed line count did not match for hunk at line "+(l+1))}return f}for(;i<n.length;)o();return a},Nn,Gt=Object.defineProperty({parsePatch:Ft},"__esModule",{value:!0}),eu=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n,u){var a=!0,i=!1,o=!1,s=1;return function c(){if(a&&!o){if(i?s++:a=!1,t+s<=u)return s;o=!0}if(!i)return o||(a=!0),n<=t-s?-s++:(i=!0,c())}}}),ft=mc,pn=function(e,t){typeof e=="string"&&(e=(0,Gt.parsePatch)(e));var n=0;(function u(){var a=e[n++];if(!a)return t.complete();t.loadFile(a,function(i,o){if(i)return t.complete(i);var s=mc(o,a,t);t.patched(a,s,function(c){if(c)return t.complete(c);u()})})})()},Wu=(Nn=eu)&&Nn.__esModule?Nn:{default:Nn};function mc(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string"&&(e=(0,Gt.parsePatch)(e)),Array.isArray(e)){if(e.length>1)throw new Error("applyPatch only works with a single input.");e=e[0]}var n,u,a=r.split(/\r\n|[\n\v\f\r\x85]/),i=r.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=e.hunks,s=t.compareLine||function(ue,Ce,oe,ae){return Ce===ae},c=0,l=t.fuzzFactor||0,p=0,f=0;function d(ue,Ce){for(var oe=0;oe<ue.lines.length;oe++){var ae=ue.lines[oe],ye=ae.length>0?ae[0]:" ",Le=ae.length>0?ae.substr(1):ae;if(ye===" "||ye==="-"){if(!s(Ce+1,a[Ce],ye,Le)&&++c>l)return!1;Ce++}}return!0}for(var D=0;D<o.length;D++){for(var v=o[D],y=a.length-v.oldLines,b=0,S=f+v.oldStart-1,F=(0,Wu.default)(S,p,y);b!==void 0;b=F())if(d(v,S+b)){v.offset=f+=b;break}if(b===void 0)return!1;p=v.offset+v.oldStart+v.oldLines}for(var x=0,w=0;w<o.length;w++){var A=o[w],k=A.oldStart+A.offset+x-1;x+=A.newLines-A.oldLines;for(var O=0;O<A.lines.length;O++){var q=A.lines[O],H=q.length>0?q[0]:" ",R=q.length>0?q.substr(1):q,$=A.linedelimiters[O];if(H===" ")k++;else if(H==="-")a.splice(k,1),i.splice(k,1);else if(H==="+")a.splice(k,0,R),i.splice(k,0,$),k++;else if(H==="\\"){var K=A.lines[O-1]?A.lines[O-1][0]:null;K==="+"?n=!0:K==="-"&&(u=!0)}}}if(n)for(;!a[a.length-1];)a.pop(),i.pop();else u&&(a.push(""),i.push(`
|
|
`));for(var ne=0;ne<a.length-1;ne++)a[ne]=a[ne]+i[ne];return a.join("")}var vc=Object.defineProperty({applyPatch:ft,applyPatches:pn},"__esModule",{value:!0}),cf=yc,lf=Ec,pf=Cc,ff=function(e,t,n,u,a,i){return Cc(e,e,t,n,u,a,i)};function ru(r){return function(e){if(Array.isArray(e))return bo(e)}(r)||function(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}(r)||function(e,t){if(!!e){if(typeof e=="string")return bo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bo(e,t)}}(r)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function bo(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function yc(r,e,t,n,u,a,i){i||(i={}),i.context===void 0&&(i.context=4);var o=(0,bt.diffLines)(t,n,i);function s(b){return b.map(function(S){return" "+S})}o.push({value:"",lines:[]});for(var c=[],l=0,p=0,f=[],d=1,D=1,v=function(S){var F=o[S],x=F.lines||F.value.replace(/\n$/,"").split(`
|
|
`);if(F.lines=x,F.added||F.removed){var w;if(!l){var A=o[S-1];l=d,p=D,A&&(f=i.context>0?s(A.lines.slice(-i.context)):[],l-=f.length,p-=f.length)}(w=f).push.apply(w,ru(x.map(function(ne){return(F.added?"+":"-")+ne}))),F.added?D+=x.length:d+=x.length}else{if(l)if(x.length<=2*i.context&&S<o.length-2){var k;(k=f).push.apply(k,ru(s(x)))}else{var O,q=Math.min(x.length,i.context);(O=f).push.apply(O,ru(s(x.slice(0,q))));var H={oldStart:l,oldLines:d-l+q,newStart:p,newLines:D-p+q,lines:f};if(S>=o.length-2&&x.length<=i.context){var R=/\n$/.test(t),$=/\n$/.test(n),K=x.length==0&&f.length>H.oldLines;!R&&K&&t.length>0&&f.splice(H.oldLines,0,"\\ No newline at end of file"),(R||K)&&$||f.push("\\ No newline at end of file")}c.push(H),l=0,p=0,f=[]}d+=x.length,D+=x.length}},y=0;y<o.length;y++)v(y);return{oldFileName:r,newFileName:e,oldHeader:u,newHeader:a,hunks:c}}function Ec(r){var e=[];r.oldFileName==r.newFileName&&e.push("Index: "+r.oldFileName),e.push("==================================================================="),e.push("--- "+r.oldFileName+(r.oldHeader===void 0?"":" "+r.oldHeader)),e.push("+++ "+r.newFileName+(r.newHeader===void 0?"":" "+r.newHeader));for(var t=0;t<r.hunks.length;t++){var n=r.hunks[t];n.oldLines===0&&(n.oldStart-=1),n.newLines===0&&(n.newStart-=1),e.push("@@ -"+n.oldStart+","+n.oldLines+" +"+n.newStart+","+n.newLines+" @@"),e.push.apply(e,n.lines)}return e.join(`
|
|
`)+`
|
|
`}function Cc(r,e,t,n,u,a,i){return Ec(yc(r,e,t,n,u,a,i))}var za=Object.defineProperty({structuredPatch:cf,formatPatch:lf,createTwoFilesPatch:pf,createPatch:ff},"__esModule",{value:!0}),Xa=function(e,t){return e.length!==t.length?!1:ar(e,t)},Fo=ar;function ar(r,e){if(e.length>r.length)return!1;for(var t=0;t<e.length;t++)if(e[t]!==r[t])return!1;return!0}var So=Object.defineProperty({arrayEqual:Xa,arrayStartsWith:Fo},"__esModule",{value:!0}),df=wo,To=function(e,t,n){e=Bo(e,n),t=Bo(t,n);var u={};(e.index||t.index)&&(u.index=e.index||t.index),(e.newFileName||t.newFileName)&&(Ac(e)?Ac(t)?(u.oldFileName=Gu(u,e.oldFileName,t.oldFileName),u.newFileName=Gu(u,e.newFileName,t.newFileName),u.oldHeader=Gu(u,e.oldHeader,t.oldHeader),u.newHeader=Gu(u,e.newHeader,t.newHeader)):(u.oldFileName=e.oldFileName,u.newFileName=e.newFileName,u.oldHeader=e.oldHeader,u.newHeader=e.newHeader):(u.oldFileName=t.oldFileName||e.oldFileName,u.newFileName=t.newFileName||e.newFileName,u.oldHeader=t.oldHeader||e.oldHeader,u.newHeader=t.newHeader||e.newHeader)),u.hunks=[];for(var a=0,i=0,o=0,s=0;a<e.hunks.length||i<t.hunks.length;){var c=e.hunks[a]||{oldStart:1/0},l=t.hunks[i]||{oldStart:1/0};if(ko(c,l))u.hunks.push(bc(c,o)),a++,s+=c.newLines-c.oldLines;else if(ko(l,c))u.hunks.push(bc(l,s)),i++,o+=l.newLines-l.oldLines;else{var p={oldStart:Math.min(c.oldStart,l.oldStart),oldLines:0,newStart:Math.min(c.newStart+o,l.oldStart+s),newLines:0,lines:[]};Fc(p,c.oldStart,c.lines,l.oldStart,l.lines),i++,a++,u.hunks.push(p)}}return u};function tu(r){return function(e){if(Array.isArray(e))return xo(e)}(r)||function(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}(r)||function(e,t){if(!!e){if(typeof e=="string")return xo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xo(e,t)}}(r)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function xo(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function wo(r){var e=zt(r.lines),t=e.oldLines,n=e.newLines;t!==void 0?r.oldLines=t:delete r.oldLines,n!==void 0?r.newLines=n:delete r.newLines}function Bo(r,e){if(typeof r=="string"){if(/^@@/m.test(r)||/^Index:/m.test(r))return(0,Gt.parsePatch)(r)[0];if(!e)throw new Error("Must provide a base reference or pass in a patch");return(0,za.structuredPatch)(void 0,void 0,e,r)}return r}function Ac(r){return r.newFileName&&r.newFileName!==r.oldFileName}function Gu(r,e,t){return e===t?e:(r.conflict=!0,{mine:e,theirs:t})}function ko(r,e){return r.oldStart<e.oldStart&&r.oldStart+r.oldLines<e.oldStart}function bc(r,e){return{oldStart:r.oldStart,oldLines:r.oldLines,newStart:r.newStart+e,newLines:r.newLines,lines:r.lines}}function Fc(r,e,t,n,u){var a={offset:e,lines:t,index:0},i={offset:n,lines:u,index:0};for(No(r,a,i),No(r,i,a);a.index<a.lines.length&&i.index<i.lines.length;){var o=a.lines[a.index],s=i.lines[i.index];if(o[0]!=="-"&&o[0]!=="+"||s[0]!=="-"&&s[0]!=="+")if(o[0]==="+"&&s[0]===" "){var c;(c=r.lines).push.apply(c,tu(Vr(a)))}else if(s[0]==="+"&&o[0]===" "){var l;(l=r.lines).push.apply(l,tu(Vr(i)))}else o[0]==="-"&&s[0]===" "?Ja(r,a,i):s[0]==="-"&&o[0]===" "?Ja(r,i,a,!0):o===s?(r.lines.push(o),a.index++,i.index++):Pn(r,Vr(a),Vr(i));else nu(r,a,i)}Po(r,a),Po(r,i),wo(r)}function nu(r,e,t){var n=Vr(e),u=Vr(t);if(Ht(n)&&Ht(u)){var a,i;if((0,So.arrayStartsWith)(n,u)&&Io(t,n,n.length-u.length))return void(a=r.lines).push.apply(a,tu(n));if((0,So.arrayStartsWith)(u,n)&&Io(e,u,u.length-n.length))return void(i=r.lines).push.apply(i,tu(u))}else if((0,So.arrayEqual)(n,u)){var o;return void(o=r.lines).push.apply(o,tu(n))}Pn(r,n,u)}function Ja(r,e,t,n){var u,a=Vr(e),i=function(o,s){for(var c=[],l=[],p=0,f=!1,d=!1;p<s.length&&o.index<o.lines.length;){var D=o.lines[o.index],v=s[p];if(v[0]==="+")break;if(f=f||D[0]!==" ",l.push(v),p++,D[0]==="+")for(d=!0;D[0]==="+";)c.push(D),D=o.lines[++o.index];v.substr(1)===D.substr(1)?(c.push(D),o.index++):d=!0}if((s[p]||"")[0]==="+"&&f&&(d=!0),d)return c;for(;p<s.length;)l.push(s[p++]);return{merged:l,changes:c}}(t,a);i.merged?(u=r.lines).push.apply(u,tu(i.merged)):Pn(r,n?i:a,n?a:i)}function Pn(r,e,t){r.conflict=!0,r.lines.push({conflict:!0,mine:e,theirs:t})}function No(r,e,t){for(;e.offset<t.offset&&e.index<e.lines.length;){var n=e.lines[e.index++];r.lines.push(n),e.offset++}}function Po(r,e){for(;e.index<e.lines.length;){var t=e.lines[e.index++];r.lines.push(t)}}function Vr(r){for(var e=[],t=r.lines[r.index][0];r.index<r.lines.length;){var n=r.lines[r.index];if(t==="-"&&n[0]==="+"&&(t="+"),t!==n[0])break;e.push(n),r.index++}return e}function Ht(r){return r.reduce(function(e,t){return e&&t[0]==="-"},!0)}function Io(r,e,t){for(var n=0;n<t;n++){var u=e[e.length-t+n].substr(1);if(r.lines[r.index+n]!==" "+u)return!1}return r.index+=t,!0}function zt(r){var e=0,t=0;return r.forEach(function(n){if(typeof n!="string"){var u=zt(n.mine),a=zt(n.theirs);e!==void 0&&(u.oldLines===a.oldLines?e+=u.oldLines:e=void 0),t!==void 0&&(u.newLines===a.newLines?t+=u.newLines:t=void 0)}else t===void 0||n[0]!=="+"&&n[0]!==" "||t++,e===void 0||n[0]!=="-"&&n[0]!==" "||e++}),{oldLines:e,newLines:t}}var Xt=Object.defineProperty({calcLineCount:df,merge:To},"__esModule",{value:!0}),uu=function(e){for(var t,n,u=[],a=0;a<e.length;a++)t=e[a],n=t.added?1:t.removed?-1:0,u.push([n,t.value]);return u},Ya=Object.defineProperty({convertChangesToDMP:uu},"__esModule",{value:!0}),hf=function(e){for(var t=[],n=0;n<e.length;n++){var u=e[n];u.added?t.push("<ins>"):u.removed&&t.push("<del>"),t.push(Sc(u.value)),u.added?t.push("</ins>"):u.removed&&t.push("</del>")}return t.join("")};function Sc(r){var e=r;return e=(e=(e=(e=e.replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">")).replace(/"/g,""")}var Tc=Object.defineProperty({convertChangesToXML:hf},"__esModule",{value:!0}),In=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Diff",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"diffChars",{enumerable:!0,get:function(){return Ge.diffChars}}),Object.defineProperty(e,"diffWords",{enumerable:!0,get:function(){return ln.diffWords}}),Object.defineProperty(e,"diffWordsWithSpace",{enumerable:!0,get:function(){return ln.diffWordsWithSpace}}),Object.defineProperty(e,"diffLines",{enumerable:!0,get:function(){return bt.diffLines}}),Object.defineProperty(e,"diffTrimmedLines",{enumerable:!0,get:function(){return bt.diffTrimmedLines}}),Object.defineProperty(e,"diffSentences",{enumerable:!0,get:function(){return Uu.diffSentences}}),Object.defineProperty(e,"diffCss",{enumerable:!0,get:function(){return Dr.diffCss}}),Object.defineProperty(e,"diffJson",{enumerable:!0,get:function(){return Ye.diffJson}}),Object.defineProperty(e,"canonicalize",{enumerable:!0,get:function(){return Ye.canonicalize}}),Object.defineProperty(e,"diffArrays",{enumerable:!0,get:function(){return fr.diffArrays}}),Object.defineProperty(e,"applyPatch",{enumerable:!0,get:function(){return vc.applyPatch}}),Object.defineProperty(e,"applyPatches",{enumerable:!0,get:function(){return vc.applyPatches}}),Object.defineProperty(e,"parsePatch",{enumerable:!0,get:function(){return Gt.parsePatch}}),Object.defineProperty(e,"merge",{enumerable:!0,get:function(){return Xt.merge}}),Object.defineProperty(e,"structuredPatch",{enumerable:!0,get:function(){return za.structuredPatch}}),Object.defineProperty(e,"createTwoFilesPatch",{enumerable:!0,get:function(){return za.createTwoFilesPatch}}),Object.defineProperty(e,"createPatch",{enumerable:!0,get:function(){return za.createPatch}}),Object.defineProperty(e,"convertChangesToDMP",{enumerable:!0,get:function(){return Ya.convertChangesToDMP}}),Object.defineProperty(e,"convertChangesToXML",{enumerable:!0,get:function(){return Tc.convertChangesToXML}});var t=function(n){return n&&n.__esModule?n:{default:n}}(De)});function Ka(r){return{type:"concat",parts:r}}function xc(r){return{type:"indent",contents:r}}function au(r,e){return{type:"align",contents:e,n:r}}function wc(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:e.id,contents:r,break:Boolean(e.shouldBreak),expandedStates:e.expandedStates}}var Oo={type:"break-parent"},Bc={type:"line",hard:!0},kc={type:"line",hard:!0,literal:!0},iu=Ka([Bc,Oo]),Df=Ka([kc,Oo]),Hu={concat:Ka,join:function(e,t){for(var n=[],u=0;u<t.length;u++)u!==0&&n.push(e),n.push(t[u]);return Ka(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:iu,literalline:Df,group:wc,conditionalGroup:function(e,t){return wc(e[0],Object.assign({},t,{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:{type:"cursor",placeholder:Symbol("cursor")},breakParent:Oo,ifBreak:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}},trim:{type:"trim"},indent:xc,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:au,addAlignmentToDoc:function(e,t,n){var u=e;if(t>0){for(var a=0;a<Math.floor(t/n);++a)u=xc(u);u=au(t%n,u),u=au(Number.NEGATIVE_INFINITY,u)}return u},markAsRoot:function(e){return au({type:"root"},e)},dedentToRoot:function(e){return au(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return au(-1,e)},hardlineWithoutBreakParent:Bc,literallineWithoutBreakParent:kc,label:function(e,t){return{type:"label",label:e,contents:t}}},Qa=function(e){return typeof e=="string"?e.replace(function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.onlyFirst,u=n===void 0?!1:n,a=["[\\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(a,u?void 0:"g")}(),""):e},ou=function(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||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)},Za=ou,Nc=ou;Za.default=Nc;var Pc=function(e){if(typeof e!="string"||e.length===0||(e=Qa(e)).length===0)return 0;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," ");for(var t=0,n=0;n<e.length;n++){var u=e.codePointAt(n);u<=31||u>=127&&u<=159||u>=768&&u<=879||(u>65535&&n++,t+=Za(u)?2:1)}return t},Ic=Pc,Oc=Pc;Ic.default=Oc;var Lo=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},or=function(e){return e[e.length-1]},_a=function(e){for(var t=-1,n=e==null?0:e.length,u={};++t<n;){var a=e[t];u[a[0]]=a[1]}return u},Pr=Pr!==void 0?Pr:typeof self<"u"?self:typeof window<"u"?window:{};function Ro(){throw new Error("setTimeout has not been defined")}function Mo(){throw new Error("clearTimeout has not been defined")}var at=Ro,fn=Mo;function jo(r){if(at===setTimeout)return setTimeout(r,0);if((at===Ro||!at)&&setTimeout)return at=setTimeout,setTimeout(r,0);try{return at(r,0)}catch{try{return at.call(null,r,0)}catch{return at.call(this,r,0)}}}typeof Pr.setTimeout=="function"&&(at=setTimeout),typeof Pr.clearTimeout=="function"&&(fn=clearTimeout);var Jt,Yt=[],On=!1,zu=-1;function Lc(){On&&Jt&&(On=!1,Jt.length?Yt=Jt.concat(Yt):zu=-1,Yt.length&&$o())}function $o(){if(!On){var r=jo(Lc);On=!0;for(var e=Yt.length;e;){for(Jt=Yt,Yt=[];++zu<e;)Jt&&Jt[zu].run();zu=-1,e=Yt.length}Jt=null,On=!1,function(t){if(fn===clearTimeout)return clearTimeout(t);if((fn===Mo||!fn)&&clearTimeout)return fn=clearTimeout,clearTimeout(t);try{fn(t)}catch{try{return fn.call(null,t)}catch{return fn.call(this,t)}}}(r)}}function qo(r,e){this.fun=r,this.array=e}qo.prototype.run=function(){this.fun.apply(null,this.array)};function dn(){}var gf=dn,mf=dn,vf=dn,su=dn,Vo=dn,ei=dn,ri=dn,Ur=Pr.performance||{},Ln=Ur.now||Ur.mozNow||Ur.msNow||Ur.oNow||Ur.webkitNow||function(){return new Date().getTime()},yf=new Date,Ir={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Yt.push(new qo(e,t)),Yt.length!==1||On||jo($o)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:gf,addListener:mf,once:vf,off:su,removeListener:Vo,removeAllListeners:ei,emit:ri,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Ln.call(Ur),n=Math.floor(t),u=Math.floor(t%1*1e9);return e&&(n-=e[0],(u-=e[1])<0&&(n--,u+=1e9)),[n,u]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-yf)/1e3}},Xu=Se(Ir)=="object"&&Ir.env&&Ir.env.NODE_DEBUG&&/\bsemver\b/i.test(Ir.env.NODE_DEBUG)?function(){for(var r,e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(r=console).error.apply(r,["SEMVER"].concat(t))}:function(){},Uo={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Rc=ge(function(r,e){var t=Uo.MAX_SAFE_COMPONENT_LENGTH,n=(e=r.exports={}).re=[],u=e.src=[],a=e.t={},i=0,o=function(c,l,p){var f=i++;Xu(f,l),a[c]=f,u[f]=l,n[f]=new RegExp(l,p?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION","(".concat(u[a.NUMERICIDENTIFIER],")\\.")+"(".concat(u[a.NUMERICIDENTIFIER],")\\.")+"(".concat(u[a.NUMERICIDENTIFIER],")")),o("MAINVERSIONLOOSE","(".concat(u[a.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[a.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[a.NUMERICIDENTIFIERLOOSE],")")),o("PRERELEASEIDENTIFIER","(?:".concat(u[a.NUMERICIDENTIFIER],"|").concat(u[a.NONNUMERICIDENTIFIER],")")),o("PRERELEASEIDENTIFIERLOOSE","(?:".concat(u[a.NUMERICIDENTIFIERLOOSE],"|").concat(u[a.NONNUMERICIDENTIFIER],")")),o("PRERELEASE","(?:-(".concat(u[a.PRERELEASEIDENTIFIER],"(?:\\.").concat(u[a.PRERELEASEIDENTIFIER],")*))")),o("PRERELEASELOOSE","(?:-?(".concat(u[a.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(u[a.PRERELEASEIDENTIFIERLOOSE],")*))")),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD","(?:\\+(".concat(u[a.BUILDIDENTIFIER],"(?:\\.").concat(u[a.BUILDIDENTIFIER],")*))")),o("FULLPLAIN","v?".concat(u[a.MAINVERSION]).concat(u[a.PRERELEASE],"?").concat(u[a.BUILD],"?")),o("FULL","^".concat(u[a.FULLPLAIN],"$")),o("LOOSEPLAIN","[v=\\s]*".concat(u[a.MAINVERSIONLOOSE]).concat(u[a.PRERELEASELOOSE],"?").concat(u[a.BUILD],"?")),o("LOOSE","^".concat(u[a.LOOSEPLAIN],"$")),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE","".concat(u[a.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),o("XRANGEIDENTIFIER","".concat(u[a.NUMERICIDENTIFIER],"|x|X|\\*")),o("XRANGEPLAIN","[v=\\s]*(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:".concat(u[a.PRERELEASE],")?").concat(u[a.BUILD],"?")+")?)?"),o("XRANGEPLAINLOOSE","[v=\\s]*(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(u[a.PRERELEASELOOSE],")?").concat(u[a.BUILD],"?")+")?)?"),o("XRANGE","^".concat(u[a.GTLT],"\\s*").concat(u[a.XRANGEPLAIN],"$")),o("XRANGELOOSE","^".concat(u[a.GTLT],"\\s*").concat(u[a.XRANGEPLAINLOOSE],"$")),o("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(t,"})")+"(?:\\.(\\d{1,".concat(t,"}))?")+"(?:\\.(\\d{1,".concat(t,"}))?")+"(?:$|[^\\d])"),o("COERCERTL",u[a.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM","(\\s*)".concat(u[a.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",o("TILDE","^".concat(u[a.LONETILDE]).concat(u[a.XRANGEPLAIN],"$")),o("TILDELOOSE","^".concat(u[a.LONETILDE]).concat(u[a.XRANGEPLAINLOOSE],"$")),o("LONECARET","(?:\\^)"),o("CARETTRIM","(\\s*)".concat(u[a.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",o("CARET","^".concat(u[a.LONECARET]).concat(u[a.XRANGEPLAIN],"$")),o("CARETLOOSE","^".concat(u[a.LONECARET]).concat(u[a.XRANGEPLAINLOOSE],"$")),o("COMPARATORLOOSE","^".concat(u[a.GTLT],"\\s*(").concat(u[a.LOOSEPLAIN],")$|^$")),o("COMPARATOR","^".concat(u[a.GTLT],"\\s*(").concat(u[a.FULLPLAIN],")$|^$")),o("COMPARATORTRIM","(\\s*)".concat(u[a.GTLT],"\\s*(").concat(u[a.LOOSEPLAIN],"|").concat(u[a.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE","^\\s*(".concat(u[a.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(u[a.XRANGEPLAIN],")")+"\\s*$"),o("HYPHENRANGELOOSE","^\\s*(".concat(u[a.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(u[a.XRANGEPLAINLOOSE],")")+"\\s*$"),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0.0.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),Ef=["includePrerelease","loose","rtl"],Cf=function(e){return e?Se(e)!="object"?{loose:!0}:Ef.filter(function(t){return e[t]}).reduce(function(t,n){return t[n]=!0,t},{}):{}},cu=/^[0-9]+$/,Mc=function(e,t){var n=cu.test(e),u=cu.test(t);return n&&u&&(e=+e,t=+t),e===t?0:n&&!u?-1:u&&!n?1:e<t?-1:1},Rn={compareIdentifiers:Mc,rcompareIdentifiers:function(e,t){return Mc(t,e)}},Wo=Uo.MAX_LENGTH,Ju=Uo.MAX_SAFE_INTEGER,ti=Rc.re,ni=Rc.t,St=Rn.compareIdentifiers,jc=function(){function r(e,t){if(se(this,r),t=Cf(t),e instanceof r){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError("Invalid Version: ".concat(e));if(e.length>Wo)throw new TypeError("version is longer than ".concat(Wo," characters"));Xu("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;var n=e.trim().match(t.loose?ti[ni.LOOSE]:ti[ni.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>Ju||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ju||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ju||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(function(u){if(/^[0-9]+$/.test(u)){var a=+u;if(a>=0&&a<Ju)return a}return u}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}return ce(r,[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(t){if(Xu("SemVer.compare",this.version,this.options,t),!(t instanceof r)){if(typeof t=="string"&&t===this.version)return 0;t=new r(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}},{key:"compareMain",value:function(t){return t instanceof r||(t=new r(t,this.options)),St(this.major,t.major)||St(this.minor,t.minor)||St(this.patch,t.patch)}},{key:"comparePre",value:function(t){if(t instanceof r||(t=new r(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var n=0;do{var u=this.prerelease[n],a=t.prerelease[n];if(Xu("prerelease compare",n,u,a),u===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(u===void 0)return-1;if(u!==a)return St(u,a)}while(++n)}},{key:"compareBuild",value:function(t){t instanceof r||(t=new r(t,this.options));var n=0;do{var u=this.build[n],a=t.build[n];if(Xu("prerelease compare",n,u,a),u===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(u===void 0)return-1;if(u!==a)return St(u,a)}while(++n)}},{key:"inc",value:function(t,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n),this.inc("pre",n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n),this.inc("pre",n);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var u=this.prerelease.length;--u>=0;)typeof this.prerelease[u]=="number"&&(this.prerelease[u]++,u=-2);u===-1&&this.prerelease.push(0)}n&&(this.prerelease[0]===n?isNaN(this.prerelease[1])&&(this.prerelease=[n,0]):this.prerelease=[n,0]);break;default:throw new Error("invalid increment argument: ".concat(t))}return this.format(),this.raw=this.version,this}}]),r}(),Go=jc,ui=function(e,t,n){return new Go(e,n).compare(new Go(t,n))},$c=function(e,t,n){return ui(e,t,n)<0},Ho,zo,Xo,ai,Yu,qc,Af=function(e,t,n){return ui(e,t,n)>=0},Jo=ge(function(r,e){function t(){for(var y=[],b=0;b<arguments.length;b++)y[b]=arguments[b]}function n(){return typeof WeakMap<"u"?new WeakMap:{add:t,delete:t,get:t,set:t,has:function(b){return!1}}}Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var u=Object.prototype.hasOwnProperty,a=function(b,S){return u.call(b,S)};function i(y,b){for(var S in b)a(b,S)&&(y[S]=b[S]);return y}var o=/^[ \t]*(?:\r\n|\r|\n)/,s=/(?:\r\n|\r|\n)[ \t]*$/,c=/^(?:[\r\n]|$)/,l=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function f(y,b,S){var F=0,x=y[0].match(l);x&&(F=x[1].length);var w=new RegExp("(\\r\\n|\\r|\\n).{0,"+F+"}","g");b&&(y=y.slice(1));var A=S.newline,k=S.trimLeadingNewline,O=S.trimTrailingNewline,q=typeof A=="string",H=y.length;return y.map(function(R,$){return R=R.replace(w,"$1"),$===0&&k&&(R=R.replace(o,"")),$===H-1&&O&&(R=R.replace(s,"")),q&&(R=R.replace(/\r\n|\n|\r/g,function(K){return A})),R})}function d(y,b){for(var S="",F=0,x=y.length;F<x;F++)S+=y[F],F<x-1&&(S+=b[F]);return S}function D(y){return a(y,"raw")&&a(y,"length")}var v=function y(b){var S=n(),F=n();return i(function x(w){for(var A=[],k=1;k<arguments.length;k++)A[k-1]=arguments[k];if(D(w)){var O=w,q=(A[0]===x||A[0]===v)&&p.test(O[0])&&c.test(O[1]),H=q?F:S,R=H.get(O);if(R||(R=f(O,q,b),H.set(O,R)),A.length===0)return R[0];var $=d(R,q?A.slice(1):A);return $}return y(i(i({},b),w||{}))},{string:function(w){return f([w],!1,b)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});e.outdent=v,e.default=v;try{r.exports=v,Object.defineProperty(v,"__esModule",{value:!0}),v.default=v,v.outdent=v}catch{}}),Kt=Jo.outdent,Yo="Config",ii="Editor",oi="Other",Qt="Global",Mn="Special",bf={cursorOffset:{since:"1.4.0",category:Mn,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Kt(Ho||(Ho=U([`
|
|
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
This option cannot be used with --range-start and --range-end.
|
|
`]))),cliCategory:ii},endOfLine:{since:"1.15.0",category:Qt,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:Kt(zo||(zo=U([`
|
|
Maintain existing
|
|
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
`])))}]},filepath:{since:"1.4.0",category:Mn,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:oi,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Mn,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:oi},parser:{since:"0.0.10",category:Qt,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:function(e){return typeof e=="string"||typeof e=="function"},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:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{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:"2.3.0",description:"Ember / 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:Qt,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:function(e){return typeof e=="string"||Se(e)=="object"},cliName:"plugin",cliCategory:Yo},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Qt,description:Kt(Xo||(Xo=U([`
|
|
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
Multiple values are accepted.
|
|
`]))),exception:function(e){return typeof e=="string"||Se(e)=="object"},cliName:"plugin-search-dir",cliCategory:Yo},printWidth:{since:"0.0.0",category:Qt,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:Mn,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Kt(ai||(ai=U([`
|
|
Format code ending at a given character offset (exclusive).
|
|
The range will extend forwards to the end of the selected statement.
|
|
This option cannot be used with --cursor-offset.
|
|
`]))),cliCategory:ii},rangeStart:{since:"1.4.0",category:Mn,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Kt(Yu||(Yu=U([`
|
|
Format code starting at a given character offset.
|
|
The range will extend backwards to the start of the first line containing the selected statement.
|
|
This option cannot be used with --cursor-offset.
|
|
`]))),cliCategory:ii},requirePragma:{since:"1.7.0",category:Mn,type:"boolean",default:!1,description:Kt(qc||(qc=U([`
|
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
in order for it to be formatted.
|
|
`]))),cliCategory:oi},tabWidth:{type:"int",category:Qt,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Qt,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Qt,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."}]}},Ko={compare:ui,lt:$c,gte:Af},Vc=ee.version,Uc=bf,si={getSupportInfo:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.plugins,n=t===void 0?[]:t,u=e.showUnreleased,a=u===void 0?!1:u,i=e.showDeprecated,o=i===void 0?!1:i,s=e.showInternal,c=s===void 0?!1:s,l=Vc.split("-",1)[0],p=n.reduce(function(v,y){return[].concat(_(v),_(y.languages||[]))},[]).filter(d),f=function(v,y){return Object.entries(v).map(function(b){var S=ke(b,2),F=S[0],x=S[1];return Object.assign(Qn({},y,F),x)})}(Object.assign.apply(Object,[{}].concat(_(n.map(function(v){var y=v.options;return y})),[Uc])),"name").filter(function(v){return d(v)&&D(v)}).sort(function(v,y){return v.name===y.name?0:v.name<y.name?-1:1}).map(function(v){return c?v:M(v,["cliName","cliCategory","cliDescription"])}).map(function(v){v=Object.assign({},v),Array.isArray(v.default)&&(v.default=v.default.length===1?v.default[0].value:v.default.filter(d).sort(function(b,S){return Ko.compare(S.since,b.since)})[0].value),Array.isArray(v.choices)&&(v.choices=v.choices.filter(function(b){return d(b)&&D(b)}),v.name==="parser"&&function(b,S,F){var x=new Set(b.choices.map(function(R){return R.value})),w=le(S),A;try{for(w.s();!(A=w.n()).done;){var k=A.value;if(k.parsers){var O=le(k.parsers),q;try{var H=function(){var $=q.value;if(!x.has($)){x.add($);var K=F.find(function(ue){return ue.parsers&&ue.parsers[$]}),ne=k.name;K&&K.name&&(ne+=" (plugin: ".concat(K.name,")")),b.choices.push({value:$,description:ne})}};for(O.s();!(q=O.n()).done;)H()}catch(R){O.e(R)}finally{O.f()}}}}catch(R){w.e(R)}finally{w.f()}}(v,p,n));var y=_a(n.filter(function(b){return b.defaultOptions&&b.defaultOptions[v.name]!==void 0}).map(function(b){return[b.name,b.defaultOptions[v.name]]}));return Object.assign({},v,{pluginDefaults:y})});return{languages:p,options:f};function d(v){return a||!("since"in v)||v.since&&Ko.gte(l,v.since)}function D(v){return o||!("deprecated"in v)||v.deprecated&&Ko.lt(l,v.deprecated)}}},Wc=si.getSupportInfo,jn=/[^\x20-\x7F]/;function lu(r){return function(e,t,n){var u=n&&n.backwards;if(t===!1)return!1;for(var a=e.length,i=t;i>=0&&i<a;){var o=e.charAt(i);if(r instanceof RegExp){if(!r.test(o))return i}else if(!r.includes(o))return i;u?i--:i++}return(i===-1||i===a)&&i}}var Gc=lu(/\s/),hn=lu(" "),Qo=lu(",; "),Zo=lu(/[^\n\r]/);function ci(r,e){if(e===!1)return!1;if(r.charAt(e)==="/"&&r.charAt(e+1)==="*"){for(var t=e+2;t<r.length;++t)if(r.charAt(t)==="*"&&r.charAt(t+1)==="/")return t+2}return e}function li(r,e){return e!==!1&&(r.charAt(e)==="/"&&r.charAt(e+1)==="/"?Zo(r,e):e)}function $n(r,e,t){var n=t&&t.backwards;if(e===!1)return!1;var u=r.charAt(e);if(n){if(r.charAt(e-1)==="\r"&&u===`
|
|
`)return e-2;if(u===`
|
|
`||u==="\r"||u==="\u2028"||u==="\u2029")return e-1}else{if(u==="\r"&&r.charAt(e+1)===`
|
|
`)return e+2;if(u===`
|
|
`||u==="\r"||u==="\u2028"||u==="\u2029")return e+1}return e}function pu(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=hn(r,t.backwards?e-1:e,t);return n!==$n(r,n,t)}function qn(r,e){for(var t=null,n=e;n!==t;)t=n,n=Qo(r,n),n=ci(r,n),n=hn(r,n);return n=li(r,n),n=$n(r,n),n!==!1&&pu(r,n)}function Ku(r,e){for(var t=null,n=e;n!==t;)t=n,n=hn(r,n),n=ci(r,n),n=li(r,n),n=$n(r,n);return n}function pi(r,e,t){return Ku(r,t(e))}function Hc(r,e){for(var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=0,u=t;u<r.length;++u)r[u]===" "?n=n+e-n%e:n++;return n}function Qu(r,e){var t=r.slice(1,-1),n={quote:'"',regex:/"/g},u={quote:"'",regex:/'/g},a=e==="'"?u:n,i=a===u?n:u,o=a.quote;return(t.includes(a.quote)||t.includes(i.quote))&&(o=(t.match(a.regex)||[]).length>(t.match(i.regex)||[]).length?i.quote:a.quote),o}function fi(r,e,t){var n=e==='"'?"'":'"',u=r.replace(/\\([\S\s])|(["'])/g,function(a,i,o){return i===n?i:o===e?"\\"+o:o||(t&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)});return e+u+e}function Zu(r,e){(r.comments||(r.comments=[])).push(e),e.printed=!1,e.nodeDescription=function(t){var n=t.type||t.kind||"(unknown type)",u=String(t.name||t.id&&(Se(t.id)=="object"?t.id.name:t.id)||t.key&&(Se(t.key)=="object"?t.key.name:t.key)||t.value&&(Se(t.value)=="object"?"":String(t.value))||t.operator||"");return u.length>20&&(u=u.slice(0,19)+"\u2026"),n+(u?" "+u:"")}(r)}var X={inferParserByLanguage:function(e,t){var n=Wc({plugins:t.plugins}),u=n.languages,a=u.find(function(i){var o=i.name;return o.toLowerCase()===e})||u.find(function(i){var o=i.aliases;return Array.isArray(o)&&o.includes(e)})||u.find(function(i){var o=i.extensions;return Array.isArray(o)&&o.includes(".".concat(e))});return a&&a.parsers[0]},replaceEndOfLineWith:function(e,t){var n=[],u=le(e.split(`
|
|
`)),a;try{for(u.s();!(a=u.n()).done;){var i=a.value;n.length>0&&n.push(t),n.push(i)}}catch(o){u.e(o)}finally{u.f()}return n},getStringWidth:function(e){return e?jn.test(e)?Ic(e):e.length:0},getMaxContinuousCount:function(e,t){var n=e.match(new RegExp("(".concat(Lo(t),")+"),"g"));return n===null?0:n.reduce(function(u,a){return Math.max(u,a.length/t.length)},0)},getMinNotPresentContinuousCount:function(e,t){var n=e.match(new RegExp("(".concat(Lo(t),")+"),"g"));if(n===null)return 0;var u=new Map,a=0,i=le(n),o;try{for(i.s();!(o=i.n()).done;){var s=o.value,c=s.length/t.length;u.set(c,!0),c>a&&(a=c)}}catch(p){i.e(p)}finally{i.f()}for(var l=1;l<a;l++)if(!u.get(l))return l;return a+1},getPenultimate:function(e){return e[e.length-2]},getLast:or,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ku,getNextNonSpaceNonCommentCharacterIndex:pi,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(pi(e,t,n))},skip:lu,skipWhitespace:Gc,skipSpaces:hn,skipToLineEnd:Qo,skipEverythingButNewLine:Zo,skipInlineComment:ci,skipTrailingComment:li,skipNewline:$n,isNextLineEmptyAfterIndex:qn,isNextLineEmpty:function(e,t,n){return qn(e,n(t))},isPreviousLineEmpty:function(e,t,n){var u=n(t)-1;return u=hn(e,u,{backwards:!0}),u=$n(e,u,{backwards:!0}),u=hn(e,u,{backwards:!0}),u!==$n(e,u,{backwards:!0})},hasNewline:pu,hasNewlineInRange:function(e,t,n){for(var u=t;u<n;++u)if(e.charAt(u)===`
|
|
`)return!0;return!1},hasSpaces:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return hn(e,n.backwards?t-1:t,n)!==t},getAlignmentSize:Hc,getIndentSize:function(e,t){var n=e.lastIndexOf(`
|
|
`);return n===-1?0:Hc(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:Qu,printString:function(e,t){return fi(e.slice(1,-1),t.parser==="json"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":Qu(e,t.singleQuote?"'":'"'),!(t.parser==="css"||t.parser==="less"||t.parser==="scss"||t.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:fi,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,Zu(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),Zu(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,Zu(e,t)},isFrontMatterNode:function(e){return e&&e.type==="front-matter"},getShebang:function(e){if(!e.startsWith("#!"))return"";var t=e.indexOf(`
|
|
`);return t===-1?e:e.slice(0,t)},isNonEmptyArray:function(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function(e){var t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}},fu={guessEndOfLine:function(e){var t=e.indexOf("\r");return t>=0?e.charAt(t+1)===`
|
|
`?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return`\r
|
|
`;default:return`
|
|
`}},countEndOfLineChars:function(e,t){var n;if(t===`
|
|
`)n=/\n/g;else if(t==="\r")n=/\r/g;else{if(t!==`\r
|
|
`)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}var u=e.match(n);return u?u.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,`
|
|
`)}},zc=Hu.literalline,Dn=function(e){return Array.isArray(e)||e&&e.type==="concat"},du=function(e){if(Array.isArray(e))return e;if(e.type!=="concat"&&e.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},Xc={};function _u(r,e,t,n){for(var u=[r];u.length>0;){var a=u.pop();if(a!==Xc){if(t&&u.push(a,Xc),!e||e(a)!==!1)if(Dn(a)||a.type==="fill")for(var i=du(a),o=i.length-1;o>=0;--o)u.push(i[o]);else if(a.type==="if-break")a.flatContents&&u.push(a.flatContents),a.breakContents&&u.push(a.breakContents);else if(a.type==="group"&&a.expandedStates)if(n)for(var s=a.expandedStates.length-1;s>=0;--s)u.push(a.expandedStates[s]);else u.push(a.contents);else a.contents&&u.push(a.contents)}else t(u.pop())}}function ea(r,e){var t=new Map;return n(r);function n(u){if(t.has(u))return t.get(u);var a=function(i){if(Array.isArray(i))return e(i.map(n));if(i.type==="concat"||i.type==="fill"){var o=i.parts.map(n);return e(Object.assign({},i,{parts:o}))}if(i.type==="if-break"){var s=i.breakContents&&n(i.breakContents),c=i.flatContents&&n(i.flatContents);return e(Object.assign({},i,{breakContents:s,flatContents:c}))}if(i.type==="group"&&i.expandedStates){var l=i.expandedStates.map(n),p=l[0];return e(Object.assign({},i,{contents:p,expandedStates:l}))}if(i.contents){var f=n(i.contents);return e(Object.assign({},i,{contents:f}))}return e(i)}(u);return t.set(u,a),a}}function di(r,e,t){var n=t,u=!1;return _u(r,function(a){var i=e(a);if(i!==void 0&&(u=!0,n=i),u)return!1}),n}function Ff(r){return!(r.type!=="group"||!r.break)||!(r.type!=="line"||!r.hard)||r.type==="break-parent"||void 0}function Jc(r){if(r.length>0){var e=or(r);e.expandedStates||e.break||(e.break="propagated")}return null}function Yc(r){return r.type!=="line"||r.hard?r.type==="if-break"?r.flatContents||"":r:r.soft?"":" "}var vr=function(e,t){return e&&e.type==="line"&&e.hard&&t&&t.type==="break-parent"};function Me(r){if(!r)return r;if(Dn(r)||r.type==="fill"){for(var e=du(r);e.length>1&&vr.apply(void 0,_(e.slice(-2)));)e.length-=2;if(e.length>0){var t=Me(or(e));e[e.length-1]=t}return Array.isArray(r)?e:Object.assign({},r,{parts:e})}switch(r.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{var n=Me(r.contents);return Object.assign({},r,{contents:n})}case"if-break":{var u=Me(r.breakContents),a=Me(r.flatContents);return Object.assign({},r,{breakContents:u,flatContents:a})}}return r}function Kc(r){return ea(r,function(e){return function(t){switch(t.type){case"fill":if(t.parts.length===0||t.parts.every(function(p){return p===""}))return"";break;case"group":if(!(t.contents||t.id||t.break||t.expandedStates))return"";if(t.contents.type==="group"&&t.contents.id===t.id&&t.contents.break===t.break&&t.contents.expandedStates===t.expandedStates)return t.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!t.contents)return"";break;case"if-break":if(!t.flatContents&&!t.breakContents)return""}if(!Dn(t))return t;var n=[],u=le(du(t)),a;try{for(u.s();!(a=u.n()).done;){var i=a.value;if(!!i){var o=Dn(i)?du(i):[i],s=Nb(o),c=s[0],l=s.slice(1);typeof c=="string"&&typeof or(n)=="string"?n[n.length-1]+=c:n.push(c),n.push.apply(n,_(l))}}}catch(p){u.e(p)}finally{u.f()}return n.length===0?"":n.length===1?n[0]:Array.isArray(t)?n:Object.assign({},t,{parts:n})}(e)})}function hi(r){for(var e=[],t=r.filter(Boolean);t.length>0;){var n=t.shift();n&&(Dn(n)?t.unshift.apply(t,_(du(n))):e.length>0&&typeof or(e)=="string"&&typeof n=="string"?e[e.length-1]+=n:e.push(n))}return e}var Vn={isConcat:Dn,getDocParts:du,willBreak:function(e){return di(e,Ff,!1)},traverseDoc:_u,findInDoc:di,mapDoc:ea,propagateBreaks:function(e){var t=new Set,n=[];_u(e,function(u){if(u.type==="break-parent"&&Jc(n),u.type==="group"){if(n.push(u),t.has(u))return!1;t.add(u)}},function(u){u.type==="group"&&n.pop().break&&Jc(n)},!0)},removeLines:function(e){return ea(e,Yc)},stripTrailingHardline:function(e){return Me(Kc(e))},normalizeParts:hi,normalizeDoc:function(e){return ea(e,function(t){return Array.isArray(t)?hi(t):t.parts?Object.assign({},t,{parts:hi(t.parts)}):t})},cleanDoc:Kc,replaceNewlinesWithLiterallines:function(e){return ea(e,function(t){return typeof t=="string"&&t.includes(`
|
|
`)?t.split(/(\n)/g).map(function(n,u){return u%2==0?n:zc}):t})}},Qc=X.getStringWidth,Zt=X.getLast,Sf=fu.convertEndOfLineToChars,Tf=Hu.fill,_o=Hu.cursor,Di=Hu.indent,Zc=Vn.isConcat,_c=Vn.getDocParts,ra;function es(r,e){return rs(r,{type:"indent"},e)}function el(r,e,t){return e===Number.NEGATIVE_INFINITY?r.root||{value:"",length:0,queue:[]}:e<0?rs(r,{type:"dedent"},t):e?e.type==="root"?Object.assign({},r,{root:r}):rs(r,{type:typeof e=="string"?"stringAlign":"numberAlign",n:e},t):r}function rs(r,e,t){var n=e.type==="dedent"?r.queue.slice(0,-1):[].concat(_(r.queue),[e]),u="",a=0,i=0,o=0,s=le(n),c;try{for(s.s();!(c=s.n()).done;){var l=c.value;switch(l.type){case"indent":d(),t.useTabs?p(1):f(t.tabWidth);break;case"stringAlign":d(),u+=l.n,a+=l.n.length;break;case"numberAlign":i+=1,o+=l.n;break;default:throw new Error("Unexpected type '".concat(l.type,"'"))}}}catch(y){s.e(y)}finally{s.f()}return D(),Object.assign({},r,{value:u,length:a,queue:n});function p(y){u+=" ".repeat(y),a+=t.tabWidth*y}function f(y){u+=" ".repeat(y),a+=y}function d(){t.useTabs?function(){i>0&&p(i),v()}():D()}function D(){o>0&&f(o),v()}function v(){i=0,o=0}}function ts(r){if(r.length===0)return 0;for(var e=0;r.length>0&&typeof Zt(r)=="string"&&/^[\t ]*$/.test(Zt(r));)e+=r.pop().length;if(r.length>0&&typeof Zt(r)=="string"){var t=Zt(r).replace(/[\t ]*$/,"");e+=Zt(r).length-t.length,r[r.length-1]=t}return e}function hu(r,e,t,n,u,a){for(var i=e.length,o=[r],s=[];t>=0;){if(o.length===0){if(i===0)return!0;o.push(e[i-1]),i--;continue}var c=o.pop(),l=ke(c,3),p=l[0],f=l[1],d=l[2];if(typeof d=="string")s.push(d),t-=Qc(d);else if(Zc(d))for(var D=_c(d),v=D.length-1;v>=0;v--)o.push([p,f,D[v]]);else switch(d.type){case"indent":o.push([es(p,n),f,d.contents]);break;case"align":o.push([el(p,d.n,n),f,d.contents]);break;case"trim":t+=ts(s);break;case"group":{if(a&&d.break)return!1;var y=d.break?1:f;o.push([p,y,d.expandedStates&&y===1?Zt(d.expandedStates):d.contents]),d.id&&(ra[d.id]=y);break}case"fill":for(var b=d.parts.length-1;b>=0;b--)o.push([p,f,d.parts[b]]);break;case"if-break":case"indent-if-break":{var S=d.groupId?ra[d.groupId]:f;if(S===1){var F=d.type==="if-break"?d.breakContents:d.negate?d.contents:Di(d.contents);F&&o.push([p,f,F])}if(S===2){var x=d.type==="if-break"?d.flatContents:d.negate?Di(d.contents):d.contents;x&&o.push([p,f,x])}break}case"line":switch(f){case 2:if(!d.hard){d.soft||(s.push(" "),t-=1);break}return!0;case 1:return!0}break;case"line-suffix":u=!0;break;case"line-suffix-boundary":if(u)return!1;break;case"label":o.push([p,f,d.contents])}}return!1}var xf={printDocToString:function(e,t){ra={};for(var n=t.printWidth,u=Sf(t.endOfLine),a=0,i=[[{value:"",length:0,queue:[]},1,e]],o=[],s=!1,c=[];i.length>0;){var l=i.pop(),p=ke(l,3),f=p[0],d=p[1],D=p[2];if(typeof D=="string"){var v=u!==`
|
|
`?D.replace(/\n/g,u):D;o.push(v),a+=Qc(v)}else if(Zc(D))for(var y=_c(D),b=y.length-1;b>=0;b--)i.push([f,d,y[b]]);else switch(D.type){case"cursor":o.push(_o.placeholder);break;case"indent":i.push([es(f,t),d,D.contents]);break;case"align":i.push([el(f,D.n,t),d,D.contents]);break;case"trim":a-=ts(o);break;case"group":switch(d){case 2:if(!s){i.push([f,D.break?1:2,D.contents]);break}case 1:{s=!1;var S=[f,2,D.contents],F=n-a,x=c.length>0;if(!D.break&&hu(S,i,F,t,x))i.push(S);else if(D.expandedStates){var w=Zt(D.expandedStates);if(D.break){i.push([f,1,w]);break}for(var A=1;A<D.expandedStates.length+1;A++){if(A>=D.expandedStates.length){i.push([f,1,w]);break}{var k=[f,2,D.expandedStates[A]];if(hu(k,i,F,t,x)){i.push(k);break}}}}else i.push([f,1,D.contents]);break}}D.id&&(ra[D.id]=Zt(i)[1]);break;case"fill":{var O=n-a,q=D.parts;if(q.length===0)break;var H=ke(q,2),R=H[0],$=H[1],K=[f,2,R],ne=[f,1,R],ue=hu(K,[],O,t,c.length>0,!0);if(q.length===1){ue?i.push(K):i.push(ne);break}var Ce=[f,2,$],oe=[f,1,$];if(q.length===2){ue?i.push(Ce,K):i.push(oe,ne);break}q.splice(0,2);var ae=[f,d,Tf(q)];hu([f,2,[R,$,q[0]]],[],O,t,c.length>0,!0)?i.push(ae,Ce,K):ue?i.push(ae,oe,K):i.push(ae,oe,ne);break}case"if-break":case"indent-if-break":{var ye=D.groupId?ra[D.groupId]:d;if(ye===1){var Le=D.type==="if-break"?D.breakContents:D.negate?D.contents:Di(D.contents);Le&&i.push([f,d,Le])}if(ye===2){var Te=D.type==="if-break"?D.flatContents:D.negate?Di(D.contents):D.contents;Te&&i.push([f,d,Te])}break}case"line-suffix":c.push([f,d,D.contents]);break;case"line-suffix-boundary":c.length>0&&i.push([f,d,{type:"line",hard:!0}]);break;case"line":switch(d){case 2:if(!D.hard){D.soft||(o.push(" "),a+=1);break}s=!0;case 1:if(c.length>0){i.push.apply(i,[[f,d,D]].concat(_(c.reverse()))),c=[];break}D.literal?f.root?(o.push(u,f.root.value),a=f.root.length):(o.push(u),a=0):(a-=ts(o),o.push(u+f.value),a=f.length)}break;case"label":i.push([f,d,D.contents])}i.length===0&&c.length>0&&(i.push.apply(i,_(c.reverse())),c=[])}var Ne=o.indexOf(_o.placeholder);if(Ne!==-1){var Oe=o.indexOf(_o.placeholder,Ne+1),We=o.slice(0,Ne).join(""),Re=o.slice(Ne+1,Oe).join("");return{formatted:We+Re+o.slice(Oe+1).join(""),cursorNodeStart:We.length,cursorNodeText:Re}}return{formatted:o.join("")}}},gi=Vn.isConcat,rl=Vn.getDocParts;function Tt(r){if(!r)return"";if(gi(r)){var e=[],t=le(rl(r)),n;try{for(t.s();!(n=t.n()).done;){var u=n.value;if(gi(u))e.push.apply(e,_(Tt(u).parts));else{var a=Tt(u);a!==""&&e.push(a)}}}catch(i){t.e(i)}finally{t.f()}return{type:"concat",parts:e}}return r.type==="if-break"?Object.assign({},r,{breakContents:Tt(r.breakContents),flatContents:Tt(r.flatContents)}):r.type==="group"?Object.assign({},r,{contents:Tt(r.contents),expandedStates:r.expandedStates&&r.expandedStates.map(Tt)}):r.type==="fill"?{type:"fill",parts:r.parts.map(Tt)}:r.contents?Object.assign({},r,{contents:Tt(r.contents)}):r}var de={builders:Hu,printer:xf,utils:Vn,debug:{printDocToDebug:function(e){var t=Object.create(null),n=new Set;return function a(i,o,s){if(typeof i=="string")return JSON.stringify(i);if(gi(i)){var c=rl(i).map(a).filter(Boolean);return c.length===1?c[0]:"[".concat(c.join(", "),"]")}if(i.type==="line"){var l=Array.isArray(s)&&s[o+1]&&s[o+1].type==="break-parent";return i.literal?l?"literalline":"literallineWithoutBreakParent":i.hard?l?"hardline":"hardlineWithoutBreakParent":i.soft?"softline":"line"}if(i.type==="break-parent")return Array.isArray(s)&&s[o-1]&&s[o-1].type==="line"&&s[o-1].hard?void 0:"breakParent";if(i.type==="trim")return"trim";if(i.type==="indent")return"indent("+a(i.contents)+")";if(i.type==="align")return i.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+a(i.contents)+")":i.n<0?"dedent("+a(i.contents)+")":i.n.type==="root"?"markAsRoot("+a(i.contents)+")":"align("+JSON.stringify(i.n)+", "+a(i.contents)+")";if(i.type==="if-break")return"ifBreak("+a(i.breakContents)+(i.flatContents?", "+a(i.flatContents):"")+(i.groupId?(i.flatContents?"":', ""')+", { groupId: ".concat(u(i.groupId)," }"):"")+")";if(i.type==="indent-if-break"){var p=[];i.negate&&p.push("negate: true"),i.groupId&&p.push("groupId: ".concat(u(i.groupId)));var f=p.length>0?", { ".concat(p.join(", ")," }"):"";return"indentIfBreak(".concat(a(i.contents)).concat(f,")")}if(i.type==="group"){var d=[];i.break&&i.break!=="propagated"&&d.push("shouldBreak: true"),i.id&&d.push("id: ".concat(u(i.id)));var D=d.length>0?", { ".concat(d.join(", ")," }"):"";return i.expandedStates?"conditionalGroup([".concat(i.expandedStates.map(function(v){return a(v)}).join(","),"]").concat(D,")"):"group(".concat(a(i.contents)).concat(D,")")}if(i.type==="fill")return"fill([".concat(i.parts.map(function(v){return a(v)}).join(", "),"])");if(i.type==="line-suffix")return"lineSuffix("+a(i.contents)+")";if(i.type==="line-suffix-boundary")return"lineSuffixBoundary";if(i.type==="label")return"label(".concat(JSON.stringify(i.label),", ").concat(a(i.contents),")");throw new Error("Unknown doc type "+i.type)}(Tt(e));function u(a){if(Se(a)!="symbol")return JSON.stringify(String(a));if(a in t)return t[a];for(var i=String(a).slice(7,-1)||"symbol",o=0;;o++){var s=i+(o>0?" #".concat(o):"");if(!n.has(s))return n.add(s),t[a]="Symbol.for(".concat(JSON.stringify(s),")")}}}}},xt=Object.freeze({__proto__:null,default:{}});function tl(r,e){for(var t=0,n=r.length-1;n>=0;n--){var u=r[n];u==="."?r.splice(n,1):u===".."?(r.splice(n,1),t++):t&&(r.splice(n,1),t--)}if(e)for(;t--;t)r.unshift("..");return r}var wf=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ns=function(e){return wf.exec(e).slice(1)};function mi(){for(var r="",e=!1,t=arguments.length-1;t>=-1&&!e;t--){var n=t>=0?arguments[t]:"/";if(typeof n!="string")throw new TypeError("Arguments to path.resolve must be strings");n&&(r=n+"/"+r,e=n.charAt(0)==="/")}return(e?"/":"")+(r=tl(yi(r.split("/"),function(u){return!!u}),!e).join("/"))||"."}function us(r){var e=Ue(r),t=il(r,-1)==="/";return(r=tl(yi(r.split("/"),function(n){return!!n}),!e).join("/"))||e||(r="."),r&&t&&(r+="/"),(e?"/":"")+r}function Ue(r){return r.charAt(0)==="/"}function wt(){var r=Array.prototype.slice.call(arguments,0);return us(yi(r,function(e,t){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function nl(r,e){function t(c){for(var l=0;l<c.length&&c[l]==="";l++);for(var p=c.length-1;p>=0&&c[p]==="";p--);return l>p?[]:c.slice(l,p-l+1)}r=mi(r).substr(1),e=mi(e).substr(1);for(var n=t(r.split("/")),u=t(e.split("/")),a=Math.min(n.length,u.length),i=a,o=0;o<a;o++)if(n[o]!==u[o]){i=o;break}var s=[];for(o=i;o<n.length;o++)s.push("..");return(s=s.concat(u.slice(i))).join("/")}function vi(r){var e=ns(r),t=e[0],n=e[1];return t||n?(n&&(n=n.substr(0,n.length-1)),t+n):"."}function ul(r,e){var t=ns(r)[2];return e&&t.substr(-1*e.length)===e&&(t=t.substr(0,t.length-e.length)),t}function al(r){return ns(r)[3]}var Bf={extname:al,basename:ul,dirname:vi,sep:"/",delimiter:":",relative:nl,join:wt,isAbsolute:Ue,normalize:us,resolve:mi};function yi(r,e){if(r.filter)return r.filter(e);for(var t=[],n=0;n<r.length;n++)e(r[n],n,r)&&t.push(r[n]);return t}var il="ab".substr(-1)==="b"?function(r,e,t){return r.substr(e,t)}:function(r,e,t){return e<0&&(e=r.length+e),r.substr(e,t)},ol=Object.freeze({__proto__:null,resolve:mi,normalize:us,isAbsolute:Ue,join:wt,relative:nl,sep:"/",delimiter:":",dirname:vi,basename:ul,extname:al,default:Bf}),Bt=[],it=[],kf=typeof Uint8Array<"u"?Uint8Array:Array,as=!1;function sl(){as=!0;for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,t=r.length;e<t;++e)Bt[e]=r[e],it[r.charCodeAt(e)]=e;it["-".charCodeAt(0)]=62,it["_".charCodeAt(0)]=63}function Nf(r,e,t){for(var n,u,a=[],i=e;i<t;i+=3)n=(r[i]<<16)+(r[i+1]<<8)+r[i+2],a.push(Bt[(u=n)>>18&63]+Bt[u>>12&63]+Bt[u>>6&63]+Bt[63&u]);return a.join("")}function Ei(r){var e;as||sl();for(var t=r.length,n=t%3,u="",a=[],i=16383,o=0,s=t-n;o<s;o+=i)a.push(Nf(r,o,o+i>s?s:o+i));return n===1?(e=r[t-1],u+=Bt[e>>2],u+=Bt[e<<4&63],u+="=="):n===2&&(e=(r[t-2]<<8)+r[t-1],u+=Bt[e>>10],u+=Bt[e>>4&63],u+=Bt[e<<2&63],u+="="),a.push(u),a.join("")}function Ci(r,e,t,n,u){var a,i,o=8*u-n-1,s=(1<<o)-1,c=s>>1,l=-7,p=t?u-1:0,f=t?-1:1,d=r[e+p];for(p+=f,a=d&(1<<-l)-1,d>>=-l,l+=o;l>0;a=256*a+r[e+p],p+=f,l-=8);for(i=a&(1<<-l)-1,a>>=-l,l+=n;l>0;i=256*i+r[e+p],p+=f,l-=8);if(a===0)a=1-c;else{if(a===s)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,n),a-=c}return(d?-1:1)*i*Math.pow(2,a-n)}function is(r,e,t,n,u,a){var i,o,s,c=8*a-u-1,l=(1<<c)-1,p=l>>1,f=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,D=n?1:-1,v=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(o=isNaN(e)?1:0,i=l):(i=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-i))<1&&(i--,s*=2),(e+=i+p>=1?f/s:f*Math.pow(2,1-p))*s>=2&&(i++,s/=2),i+p>=l?(o=0,i=l):i+p>=1?(o=(e*s-1)*Math.pow(2,u),i+=p):(o=e*Math.pow(2,p-1)*Math.pow(2,u),i=0));u>=8;r[t+d]=255&o,d+=D,o/=256,u-=8);for(i=i<<u|o,c+=u;c>0;r[t+d]=255&i,d+=D,i/=256,c-=8);r[t+d-D]|=128*v}var Ai={}.toString,os=Array.isArray||function(r){return Ai.call(r)=="[object Array]"};function ss(){return Z.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function _t(r,e){if(ss()<e)throw new RangeError("Invalid typed array length");return Z.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e)).__proto__=Z.prototype:(r===null&&(r=new Z(e)),r.length=e),r}function Z(r,e,t){if(!(Z.TYPED_ARRAY_SUPPORT||this instanceof Z))return new Z(r,e,t);if(typeof r=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return ls(this,r)}return cl(this,r,e,t)}function cl(r,e,t,n){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer?function(u,a,i,o){if(a.byteLength,i<0||a.byteLength<i)throw new RangeError("'offset' is out of bounds");if(a.byteLength<i+(o||0))throw new RangeError("'length' is out of bounds");return a=i===void 0&&o===void 0?new Uint8Array(a):o===void 0?new Uint8Array(a,i):new Uint8Array(a,i,o),Z.TYPED_ARRAY_SUPPORT?(u=a).__proto__=Z.prototype:u=ps(u,a),u}(r,e,t,n):typeof e=="string"?function(u,a,i){if(typeof i=="string"&&i!==""||(i="utf8"),!Z.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var o=0|ll(a,i),s=(u=_t(u,o)).write(a,i);return s!==o&&(u=u.slice(0,s)),u}(r,e,t):function(u,a){if(kt(a)){var i=0|fs(a.length);return(u=_t(u,i)).length===0||a.copy(u,0,0,i),u}if(a){if(typeof ArrayBuffer<"u"&&a.buffer instanceof ArrayBuffer||"length"in a)return typeof a.length!="number"||(o=a.length)!=o?_t(u,0):ps(u,a);if(a.type==="Buffer"&&os(a.data))return ps(u,a.data)}var o;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(r,e)}function cs(r){if(typeof r!="number")throw new TypeError('"size" argument must be a number');if(r<0)throw new RangeError('"size" argument must not be negative')}function ls(r,e){if(cs(e),r=_t(r,e<0?0:0|fs(e)),!Z.TYPED_ARRAY_SUPPORT)for(var t=0;t<e;++t)r[t]=0;return r}function ps(r,e){var t=e.length<0?0:0|fs(e.length);r=_t(r,t);for(var n=0;n<t;n+=1)r[n]=255&e[n];return r}function fs(r){if(r>=ss())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ss().toString(16)+" bytes");return 0|r}function kt(r){return!(r==null||!r._isBuffer)}function ll(r,e){if(kt(r))return r.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer))return r.byteLength;typeof r!="string"&&(r=""+r);var t=r.length;if(t===0)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return W(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return te(r).length;default:if(n)return W(r).length;e=(""+e).toLowerCase(),n=!0}}function Pf(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0)<=(e>>>=0))return"";for(r||(r="utf8");;)switch(r){case"hex":return V(this,e,t);case"utf8":case"utf-8":return Q(this,e,t);case"ascii":return he(this,e,t);case"latin1":case"binary":return z(this,e,t);case"base64":return j(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}function gn(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}function ta(r,e,t,n,u){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=u?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(u)return-1;t=r.length-1}else if(t<0){if(!u)return-1;t=0}if(typeof e=="string"&&(e=Z.from(e,n)),kt(e))return e.length===0?-1:E(r,e,t,n,u);if(typeof e=="number")return e&=255,Z.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?u?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):E(r,[e],t,n,u);throw new TypeError("val must be string, number or Buffer")}function E(r,e,t,n,u){var a,i=1,o=r.length,s=e.length;if(n!==void 0&&((n=String(n).toLowerCase())==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;i=2,o/=2,s/=2,t/=2}function c(d,D){return i===1?d[D]:d.readUInt16BE(D*i)}if(u){var l=-1;for(a=t;a<o;a++)if(c(r,a)===c(e,l===-1?0:a-l)){if(l===-1&&(l=a),a-l+1===s)return l*i}else l!==-1&&(a-=a-l),l=-1}else for(t+s>o&&(t=o-s),a=t;a>=0;a--){for(var p=!0,f=0;f<s;f++)if(c(r,a+f)!==c(e,f)){p=!1;break}if(p)return a}return-1}function h(r,e,t,n){t=Number(t)||0;var u=r.length-t;n?(n=Number(n))>u&&(n=u):n=u;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var i=0;i<n;++i){var o=parseInt(e.substr(2*i,2),16);if(isNaN(o))return i;r[t+i]=o}return i}function g(r,e,t,n){return ie(W(e,r.length-t),r,t,n)}function m(r,e,t,n){return ie(function(u){for(var a=[],i=0;i<u.length;++i)a.push(255&u.charCodeAt(i));return a}(e),r,t,n)}function C(r,e,t,n){return m(r,e,t,n)}function T(r,e,t,n){return ie(te(e),r,t,n)}function L(r,e,t,n){return ie(function(u,a){for(var i,o,s,c=[],l=0;l<u.length&&!((a-=2)<0);++l)o=(i=u.charCodeAt(l))>>8,s=i%256,c.push(s),c.push(o);return c}(e,r.length-t),r,t,n)}function j(r,e,t){return e===0&&t===r.length?Ei(r):Ei(r.slice(e,t))}function Q(r,e,t){t=Math.min(r.length,t);for(var n=[],u=e;u<t;){var a,i,o,s,c=r[u],l=null,p=c>239?4:c>223?3:c>191?2:1;if(u+p<=t)switch(p){case 1:c<128&&(l=c);break;case 2:(192&(a=r[u+1]))==128&&(s=(31&c)<<6|63&a)>127&&(l=s);break;case 3:a=r[u+1],i=r[u+2],(192&a)==128&&(192&i)==128&&(s=(15&c)<<12|(63&a)<<6|63&i)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:a=r[u+1],i=r[u+2],o=r[u+3],(192&a)==128&&(192&i)==128&&(192&o)==128&&(s=(15&c)<<18|(63&a)<<12|(63&i)<<6|63&o)>65535&&s<1114112&&(l=s)}l===null?(l=65533,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),u+=p}return function(f){var d=f.length;if(d<=pe)return String.fromCharCode.apply(String,f);for(var D="",v=0;v<d;)D+=String.fromCharCode.apply(String,f.slice(v,v+=pe));return D}(n)}Z.TYPED_ARRAY_SUPPORT=Pr.TYPED_ARRAY_SUPPORT===void 0||Pr.TYPED_ARRAY_SUPPORT,Z.poolSize=8192,Z._augment=function(r){return r.__proto__=Z.prototype,r},Z.from=function(r,e,t){return cl(null,r,e,t)},Z.TYPED_ARRAY_SUPPORT&&(Z.prototype.__proto__=Uint8Array.prototype,Z.__proto__=Uint8Array),Z.alloc=function(r,e,t){return function(n,u,a,i){return cs(u),u<=0?_t(n,u):a!==void 0?typeof i=="string"?_t(n,u).fill(a,i):_t(n,u).fill(a):_t(n,u)}(null,r,e,t)},Z.allocUnsafe=function(r){return ls(null,r)},Z.allocUnsafeSlow=function(r){return ls(null,r)},Z.isBuffer=Ie,Z.compare=function(r,e){if(!kt(r)||!kt(e))throw new TypeError("Arguments must be Buffers");if(r===e)return 0;for(var t=r.length,n=e.length,u=0,a=Math.min(t,n);u<a;++u)if(r[u]!==e[u]){t=r[u],n=e[u];break}return t<n?-1:n<t?1:0},Z.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Z.concat=function(r,e){if(!os(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return Z.alloc(0);var t;if(e===void 0)for(e=0,t=0;t<r.length;++t)e+=r[t].length;var n=Z.allocUnsafe(e),u=0;for(t=0;t<r.length;++t){var a=r[t];if(!kt(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,u),u+=a.length}return n},Z.byteLength=ll,Z.prototype._isBuffer=!0,Z.prototype.swap16=function(){var r=this.length;if(r%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)gn(this,e,e+1);return this},Z.prototype.swap32=function(){var r=this.length;if(r%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)gn(this,e,e+3),gn(this,e+1,e+2);return this},Z.prototype.swap64=function(){var r=this.length;if(r%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)gn(this,e,e+7),gn(this,e+1,e+6),gn(this,e+2,e+5),gn(this,e+3,e+4);return this},Z.prototype.toString=function(){var r=0|this.length;return r===0?"":arguments.length===0?Q(this,0,r):Pf.apply(this,arguments)},Z.prototype.equals=function(r){if(!kt(r))throw new TypeError("Argument must be a Buffer");return this===r||Z.compare(this,r)===0},Z.prototype.inspect=function(){var r="";return this.length>0&&(r=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(r+=" ... ")),"<Buffer "+r+">"},Z.prototype.compare=function(r,e,t,n,u){if(!kt(r))throw new TypeError("Argument must be a Buffer");if(e===void 0&&(e=0),t===void 0&&(t=r?r.length:0),n===void 0&&(n=0),u===void 0&&(u=this.length),e<0||t>r.length||n<0||u>this.length)throw new RangeError("out of range index");if(n>=u&&e>=t)return 0;if(n>=u)return-1;if(e>=t)return 1;if(this===r)return 0;for(var a=(u>>>=0)-(n>>>=0),i=(t>>>=0)-(e>>>=0),o=Math.min(a,i),s=this.slice(n,u),c=r.slice(e,t),l=0;l<o;++l)if(s[l]!==c[l]){a=s[l],i=c[l];break}return a<i?-1:i<a?1:0},Z.prototype.includes=function(r,e,t){return this.indexOf(r,e,t)!==-1},Z.prototype.indexOf=function(r,e,t){return ta(this,r,e,t,!0)},Z.prototype.lastIndexOf=function(r,e,t){return ta(this,r,e,t,!1)},Z.prototype.write=function(r,e,t,n){if(e===void 0)n="utf8",t=this.length,e=0;else if(t===void 0&&typeof e=="string")n=e,t=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(t)?(t|=0,n===void 0&&(n="utf8")):(n=t,t=void 0)}var u=this.length-e;if((t===void 0||t>u)&&(t=u),r.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return h(this,r,e,t);case"utf8":case"utf-8":return g(this,r,e,t);case"ascii":return m(this,r,e,t);case"latin1":case"binary":return C(this,r,e,t);case"base64":return T(this,r,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,r,e,t);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},Z.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var pe=4096;function he(r,e,t){var n="";t=Math.min(r.length,t);for(var u=e;u<t;++u)n+=String.fromCharCode(127&r[u]);return n}function z(r,e,t){var n="";t=Math.min(r.length,t);for(var u=e;u<t;++u)n+=String.fromCharCode(r[u]);return n}function V(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var u="",a=e;a<t;++a)u+=P(r[a]);return u}function J(r,e,t){for(var n=r.slice(e,t),u="",a=0;a<n.length;a+=2)u+=String.fromCharCode(n[a]+256*n[a+1]);return u}function Ee(r,e,t){if(r%1!=0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}function re(r,e,t,n,u,a){if(!kt(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>u||e<a)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError("Index out of range")}function me(r,e,t,n){e<0&&(e=65535+e+1);for(var u=0,a=Math.min(r.length-t,2);u<a;++u)r[t+u]=(e&255<<8*(n?u:1-u))>>>8*(n?u:1-u)}function ve(r,e,t,n){e<0&&(e=4294967295+e+1);for(var u=0,a=Math.min(r.length-t,4);u<a;++u)r[t+u]=e>>>8*(n?u:3-u)&255}function xe(r,e,t,n,u,a){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Be(r,e,t,n,u){return u||xe(r,0,t,4),is(r,e,t,n,23,4),t+4}function G(r,e,t,n,u){return u||xe(r,0,t,8),is(r,e,t,n,52,8),t+8}Z.prototype.slice=function(r,e){var t,n=this.length;if((r=~~r)<0?(r+=n)<0&&(r=0):r>n&&(r=n),(e=e===void 0?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<r&&(e=r),Z.TYPED_ARRAY_SUPPORT)(t=this.subarray(r,e)).__proto__=Z.prototype;else{var u=e-r;t=new Z(u,void 0);for(var a=0;a<u;++a)t[a]=this[a+r]}return t},Z.prototype.readUIntLE=function(r,e,t){r|=0,e|=0,t||Ee(r,e,this.length);for(var n=this[r],u=1,a=0;++a<e&&(u*=256);)n+=this[r+a]*u;return n},Z.prototype.readUIntBE=function(r,e,t){r|=0,e|=0,t||Ee(r,e,this.length);for(var n=this[r+--e],u=1;e>0&&(u*=256);)n+=this[r+--e]*u;return n},Z.prototype.readUInt8=function(r,e){return e||Ee(r,1,this.length),this[r]},Z.prototype.readUInt16LE=function(r,e){return e||Ee(r,2,this.length),this[r]|this[r+1]<<8},Z.prototype.readUInt16BE=function(r,e){return e||Ee(r,2,this.length),this[r]<<8|this[r+1]},Z.prototype.readUInt32LE=function(r,e){return e||Ee(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+16777216*this[r+3]},Z.prototype.readUInt32BE=function(r,e){return e||Ee(r,4,this.length),16777216*this[r]+(this[r+1]<<16|this[r+2]<<8|this[r+3])},Z.prototype.readIntLE=function(r,e,t){r|=0,e|=0,t||Ee(r,e,this.length);for(var n=this[r],u=1,a=0;++a<e&&(u*=256);)n+=this[r+a]*u;return n>=(u*=128)&&(n-=Math.pow(2,8*e)),n},Z.prototype.readIntBE=function(r,e,t){r|=0,e|=0,t||Ee(r,e,this.length);for(var n=e,u=1,a=this[r+--n];n>0&&(u*=256);)a+=this[r+--n]*u;return a>=(u*=128)&&(a-=Math.pow(2,8*e)),a},Z.prototype.readInt8=function(r,e){return e||Ee(r,1,this.length),128&this[r]?-1*(255-this[r]+1):this[r]},Z.prototype.readInt16LE=function(r,e){e||Ee(r,2,this.length);var t=this[r]|this[r+1]<<8;return 32768&t?4294901760|t:t},Z.prototype.readInt16BE=function(r,e){e||Ee(r,2,this.length);var t=this[r+1]|this[r]<<8;return 32768&t?4294901760|t:t},Z.prototype.readInt32LE=function(r,e){return e||Ee(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},Z.prototype.readInt32BE=function(r,e){return e||Ee(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},Z.prototype.readFloatLE=function(r,e){return e||Ee(r,4,this.length),Ci(this,r,!0,23,4)},Z.prototype.readFloatBE=function(r,e){return e||Ee(r,4,this.length),Ci(this,r,!1,23,4)},Z.prototype.readDoubleLE=function(r,e){return e||Ee(r,8,this.length),Ci(this,r,!0,52,8)},Z.prototype.readDoubleBE=function(r,e){return e||Ee(r,8,this.length),Ci(this,r,!1,52,8)},Z.prototype.writeUIntLE=function(r,e,t,n){r=+r,e|=0,t|=0,n||re(this,r,e,t,Math.pow(2,8*t)-1,0);var u=1,a=0;for(this[e]=255&r;++a<t&&(u*=256);)this[e+a]=r/u&255;return e+t},Z.prototype.writeUIntBE=function(r,e,t,n){r=+r,e|=0,t|=0,n||re(this,r,e,t,Math.pow(2,8*t)-1,0);var u=t-1,a=1;for(this[e+u]=255&r;--u>=0&&(a*=256);)this[e+u]=r/a&255;return e+t},Z.prototype.writeUInt8=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,1,255,0),Z.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),this[e]=255&r,e+1},Z.prototype.writeUInt16LE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,2,65535,0),Z.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8):me(this,r,e,!0),e+2},Z.prototype.writeUInt16BE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,2,65535,0),Z.TYPED_ARRAY_SUPPORT?(this[e]=r>>>8,this[e+1]=255&r):me(this,r,e,!1),e+2},Z.prototype.writeUInt32LE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,4,4294967295,0),Z.TYPED_ARRAY_SUPPORT?(this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=255&r):ve(this,r,e,!0),e+4},Z.prototype.writeUInt32BE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,4,4294967295,0),Z.TYPED_ARRAY_SUPPORT?(this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r):ve(this,r,e,!1),e+4},Z.prototype.writeIntLE=function(r,e,t,n){if(r=+r,e|=0,!n){var u=Math.pow(2,8*t-1);re(this,r,e,t,u-1,-u)}var a=0,i=1,o=0;for(this[e]=255&r;++a<t&&(i*=256);)r<0&&o===0&&this[e+a-1]!==0&&(o=1),this[e+a]=(r/i>>0)-o&255;return e+t},Z.prototype.writeIntBE=function(r,e,t,n){if(r=+r,e|=0,!n){var u=Math.pow(2,8*t-1);re(this,r,e,t,u-1,-u)}var a=t-1,i=1,o=0;for(this[e+a]=255&r;--a>=0&&(i*=256);)r<0&&o===0&&this[e+a+1]!==0&&(o=1),this[e+a]=(r/i>>0)-o&255;return e+t},Z.prototype.writeInt8=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,1,127,-128),Z.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),r<0&&(r=255+r+1),this[e]=255&r,e+1},Z.prototype.writeInt16LE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,2,32767,-32768),Z.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8):me(this,r,e,!0),e+2},Z.prototype.writeInt16BE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,2,32767,-32768),Z.TYPED_ARRAY_SUPPORT?(this[e]=r>>>8,this[e+1]=255&r):me(this,r,e,!1),e+2},Z.prototype.writeInt32LE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,4,2147483647,-2147483648),Z.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24):ve(this,r,e,!0),e+4},Z.prototype.writeInt32BE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),Z.TYPED_ARRAY_SUPPORT?(this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=255&r):ve(this,r,e,!1),e+4},Z.prototype.writeFloatLE=function(r,e,t){return Be(this,r,e,!0,t)},Z.prototype.writeFloatBE=function(r,e,t){return Be(this,r,e,!1,t)},Z.prototype.writeDoubleLE=function(r,e,t){return G(this,r,e,!0,t)},Z.prototype.writeDoubleBE=function(r,e,t){return G(this,r,e,!1,t)},Z.prototype.copy=function(r,e,t,n){if(t||(t=0),n||n===0||(n=this.length),e>=r.length&&(e=r.length),e||(e=0),n>0&&n<t&&(n=t),n===t||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(t<0||t>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-e<n-t&&(n=r.length-e+t);var u,a=n-t;if(this===r&&t<e&&e<n)for(u=a-1;u>=0;--u)r[u+e]=this[u+t];else if(a<1e3||!Z.TYPED_ARRAY_SUPPORT)for(u=0;u<a;++u)r[u+e]=this[u+t];else Uint8Array.prototype.set.call(r,this.subarray(t,t+a),e);return a},Z.prototype.fill=function(r,e,t,n){if(typeof r=="string"){if(typeof e=="string"?(n=e,e=0,t=this.length):typeof t=="string"&&(n=t,t=this.length),r.length===1){var u=r.charCodeAt(0);u<256&&(r=u)}if(n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!Z.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else typeof r=="number"&&(r&=255);if(e<0||this.length<e||this.length<t)throw new RangeError("Out of range index");if(t<=e)return this;var a;if(e>>>=0,t=t===void 0?this.length:t>>>0,r||(r=0),typeof r=="number")for(a=e;a<t;++a)this[a]=r;else{var i=kt(r)?r:W(new Z(r,n).toString()),o=i.length;for(a=0;a<t-e;++a)this[a+e]=i[a%o]}return this};var Y=/[^+\/0-9A-Za-z-_]/g;function P(r){return r<16?"0"+r.toString(16):r.toString(16)}function W(r,e){var t;e=e||1/0;for(var n=r.length,u=null,a=[],i=0;i<n;++i){if((t=r.charCodeAt(i))>55295&&t<57344){if(!u){if(t>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(i+1===n){(e-=3)>-1&&a.push(239,191,189);continue}u=t;continue}if(t<56320){(e-=3)>-1&&a.push(239,191,189),u=t;continue}t=65536+(u-55296<<10|t-56320)}else u&&(e-=3)>-1&&a.push(239,191,189);if(u=null,t<128){if((e-=1)<0)break;a.push(t)}else if(t<2048){if((e-=2)<0)break;a.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;a.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return a}function te(r){return function(e){var t,n,u,a,i,o;as||sl();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i=e[s-2]==="="?2:e[s-1]==="="?1:0,o=new kf(3*s/4-i),u=i>0?s-4:s;var c=0;for(t=0,n=0;t<u;t+=4,n+=3)a=it[e.charCodeAt(t)]<<18|it[e.charCodeAt(t+1)]<<12|it[e.charCodeAt(t+2)]<<6|it[e.charCodeAt(t+3)],o[c++]=a>>16&255,o[c++]=a>>8&255,o[c++]=255&a;return i===2?(a=it[e.charCodeAt(t)]<<2|it[e.charCodeAt(t+1)]>>4,o[c++]=255&a):i===1&&(a=it[e.charCodeAt(t)]<<10|it[e.charCodeAt(t+1)]<<4|it[e.charCodeAt(t+2)]>>2,o[c++]=a>>8&255,o[c++]=255&a),o}(function(e){if((e=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(e).replace(Y,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(r))}function ie(r,e,t,n){for(var u=0;u<n&&!(u+t>=e.length||u>=r.length);++u)e[u+t]=r[u];return u}function Ie(r){return r!=null&&(!!r._isBuffer||je(r)||function(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&je(e.slice(0,0))}(r))}function je(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}var Xe=Ve(xt),Sr=function(){function r(e,t){se(this,r),(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd=typeof e=="number"?e:Xe.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}return ce(r,[{key:"_searchInBuffer",value:function(t,n){for(var u=-1,a=0;a<=t.length;a++)if(t[a]===n){u=a;break}return u}},{key:"reset",value:function(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}},{key:"close",value:function(){Xe.closeSync(this.fd),this.fd=null}},{key:"_extractLines",value:function(t){for(var n,u=[],a=0,i=0;;){var o=t[a++];if(o===this.newLineCharacter)n=t.slice(i,a),u.push(n),i=a;else if(o===void 0)break}var s=t.slice(i,a);return s.length&&u.push(s),u}},{key:"_readChunk",value:function(t){var n,u=0,a=[];do{var i=new Z(this.options.readChunk);n=Xe.readSync(this.fd,i,0,this.options.readChunk,this.fdPosition),u+=n,this.fdPosition=this.fdPosition+n,a.push(i)}while(n&&this._searchInBuffer(a[a.length-1],this.options.newLineCharacter)===-1);var o=Z.concat(a);return n<this.options.readChunk&&(this.eofReached=!0,o=o.slice(0,u)),u&&(this.linesCache=this._extractLines(o),t&&(this.linesCache[0]=Z.concat([t,this.linesCache[0]]))),u}},{key:"next",value:function(){if(!this.fd)return!1;var t,n=!1;return this.eofReached&&this.linesCache.length===0?n:(this.linesCache.length||(t=this._readChunk()),this.linesCache.length&&(n=this.linesCache.shift(),n[n.length-1]!==this.newLineCharacter&&(t=this._readChunk(n),t&&(n=this.linesCache.shift()))),this.eofReached&&this.linesCache.length===0&&this.close(),n&&n[n.length-1]===this.newLineCharacter&&(n=n.slice(0,n.length-1)),n)}}]),r}(),gr=function(r){br(t,r);var e=Fr(t);function t(){return se(this,t),e.apply(this,arguments)}return ce(t)}(Do(Error)),Or=function(r){br(t,r);var e=Fr(t);function t(){return se(this,t),e.apply(this,arguments)}return ce(t)}(Do(Error)),ot=function(r){br(t,r);var e=Fr(t);function t(){return se(this,t),e.apply(this,arguments)}return ce(t)}(Do(Error)),Nt=function(r){br(t,r);var e=Fr(t);function t(){return se(this,t),e.apply(this,arguments)}return ce(t)}(Do(Error)),dt={ConfigError:gr,DebugError:Or,UndefinedParserError:ot,ArgExpansionBailout:Nt},mn=function(e,t){return(mn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,u){n.__proto__=u}||function(n,u){for(var a in u)u.hasOwnProperty(a)&&(n[a]=u[a])})(e,t)};/*! *****************************************************************************
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
purpose with or without fee is hereby granted.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
***************************************************************************** */var Du=function(){return(Du=Object.assign||function(e){for(var t,n=1,u=arguments.length;n<u;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function gu(r){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&r[e],n=0;if(t)return t.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Lr(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n,u,a=t.call(r),i=[];try{for(;(e===void 0||e-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(o){u={error:o}}finally{try{n&&!n.done&&(t=a.return)&&t.call(a)}finally{if(u)throw u.error}}return i}function Tr(r){return this instanceof Tr?(this.v=r,this):new Tr(r)}var Ze=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}mn(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return Du},__rest:function(e,t){var n={};for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&t.indexOf(u)<0&&(n[u]=e[u]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function"){var a=0;for(u=Object.getOwnPropertySymbols(e);a<u.length;a++)t.indexOf(u[a])<0&&Object.prototype.propertyIsEnumerable.call(e,u[a])&&(n[u[a]]=e[u[a]])}return n},__decorate:function(e,t,n,u){var a,i=arguments.length,o=i<3?t:u===null?u=Object.getOwnPropertyDescriptor(t,n):u;if((typeof Reflect>"u"?"undefined":Se(Reflect))=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,u);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},__param:function(e,t){return function(n,u){t(n,u,e)}},__metadata:function(e,t){if((typeof Reflect>"u"?"undefined":Se(Reflect))=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)},__awaiter:function(e,t,n,u){return new(n||(n=Promise))(function(a,i){function o(l){try{c(u.next(l))}catch(p){i(p)}}function s(l){try{c(u.throw(l))}catch(p){i(p)}}function c(l){var p;l.done?a(l.value):(p=l.value,p instanceof n?p:new n(function(f){f(p)})).then(o,s)}c((u=u.apply(e,t||[])).next())})},__generator:function(e,t){var n,u,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(l){return function(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,u&&(a=2&p[0]?u.return:p[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,p[1])).done)return a;switch(u=0,a&&(p=[2&p[0],a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,u=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!((a=a.length>0&&a[a.length-1])||p[0]!==6&&p[0]!==2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(f){p=[6,f],u=0}finally{n=a=0}if(5&p[0])throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}([c,l])}}},__createBinding:function(e,t,n,u){u===void 0&&(u=n),e[u]=t[n]},__exportStar:function(e,t){for(var n in e)n==="default"||t.hasOwnProperty(n)||(t[n]=e[n])},__values:gu,__read:Lr,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Lr(arguments[t]));return e},__spreadArrays:function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var u=Array(e),a=0;for(t=0;t<n;t++)for(var i=arguments[t],o=0,s=i.length;o<s;o++,a++)u[a]=i[o];return u},__await:Tr,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u,a=n.apply(e,t||[]),i=[];return u={},o("next"),o("throw"),o("return"),u[Symbol.asyncIterator]=function(){return this},u;function o(f){a[f]&&(u[f]=function(d){return new Promise(function(D,v){i.push([f,d,D,v])>1||s(f,d)})})}function s(f,d){try{(D=a[f](d)).value instanceof Tr?Promise.resolve(D.value.v).then(c,l):p(i[0][2],D)}catch(v){p(i[0][3],v)}var D}function c(f){s("next",f)}function l(f){s("throw",f)}function p(f,d){f(d),i.shift(),i.length&&s(i[0][0],i[0][1])}},__asyncDelegator:function(e){var t,n;return t={},u("next"),u("throw",function(a){throw a}),u("return"),t[Symbol.iterator]=function(){return this},t;function u(a,i){t[a]=e[a]?function(o){return(n=!n)?{value:Tr(e[a](o)),done:a==="return"}:i?i(o):o}: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=gu(e),t={},u("next"),u("throw"),u("return"),t[Symbol.asyncIterator]=function(){return this},t);function u(a){t[a]=e[a]&&function(i){return new Promise(function(o,s){(function(c,l,p,f){Promise.resolve(f).then(function(d){c({value:d,done:p})},l)})(o,s,(i=e[a](i)).done,i.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(e!=null)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}}),Rr=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:function(n){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(n)?n:JSON.stringify(n)},value:function(n){if(n===null||Se(n)!="object")return JSON.stringify(n);if(Array.isArray(n))return"[".concat(n.map(function(a){return e.apiDescriptor.value(a)}).join(", "),"]");var u=Object.keys(n);return u.length===0?"{}":"{ ".concat(u.map(function(a){return"".concat(e.apiDescriptor.key(a),": ").concat(e.apiDescriptor.value(n[a]))}).join(", ")," }")},pair:function(n){var u=n.key,a=n.value;return e.apiDescriptor.value(Qn({},u,a))}}}),mr=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),Ze.__exportStar(Rr,e)}),yr=/[|\\{}()[\]^$+*?.]/g,Mr=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(yr,"\\$&")},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]},$e=ge(function(r){var e={};for(var t in jr)jr.hasOwnProperty(t)&&(e[jr[t]]=t);var n=r.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 u in n)if(n.hasOwnProperty(u)){if(!("channels"in n[u]))throw new Error("missing channels property: "+u);if(!("labels"in n[u]))throw new Error("missing channel labels property: "+u);if(n[u].labels.length!==n[u].channels)throw new Error("channel and label counts mismatch: "+u);var a=n[u].channels,i=n[u].labels;delete n[u].channels,delete n[u].labels,Object.defineProperty(n[u],"channels",{value:a}),Object.defineProperty(n[u],"labels",{value:i})}n.rgb.hsl=function(o){var s,c,l=o[0]/255,p=o[1]/255,f=o[2]/255,d=Math.min(l,p,f),D=Math.max(l,p,f),v=D-d;return D===d?s=0:l===D?s=(p-f)/v:p===D?s=2+(f-l)/v:f===D&&(s=4+(l-p)/v),(s=Math.min(60*s,360))<0&&(s+=360),c=(d+D)/2,[s,100*(D===d?0:c<=.5?v/(D+d):v/(2-D-d)),100*c]},n.rgb.hsv=function(o){var s,c,l,p,f,d=o[0]/255,D=o[1]/255,v=o[2]/255,y=Math.max(d,D,v),b=y-Math.min(d,D,v),S=function(x){return(y-x)/6/b+.5};return b===0?p=f=0:(f=b/y,s=S(d),c=S(D),l=S(v),d===y?p=l-c:D===y?p=1/3+s-l:v===y&&(p=2/3+c-s),p<0?p+=1:p>1&&(p-=1)),[360*p,100*f,100*y]},n.rgb.hwb=function(o){var s=o[0],c=o[1],l=o[2];return[n.rgb.hsl(o)[0],100*(1/255*Math.min(s,Math.min(c,l))),100*(l=1-1/255*Math.max(s,Math.max(c,l)))]},n.rgb.cmyk=function(o){var s,c=o[0]/255,l=o[1]/255,p=o[2]/255;return[100*((1-c-(s=Math.min(1-c,1-l,1-p)))/(1-s)||0),100*((1-l-s)/(1-s)||0),100*((1-p-s)/(1-s)||0),100*s]},n.rgb.keyword=function(o){var s=e[o];if(s)return s;var c,l,p,f=1/0;for(var d in jr)if(jr.hasOwnProperty(d)){var D=jr[d],v=(l=o,p=D,Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)+Math.pow(l[2]-p[2],2));v<f&&(f=v,c=d)}return c},n.keyword.rgb=function(o){return jr[o]},n.rgb.xyz=function(o){var s=o[0]/255,c=o[1]/255,l=o[2]/255;return[100*(.4124*(s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92)+.3576*(c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92)+.1805*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)),100*(.2126*s+.7152*c+.0722*l),100*(.0193*s+.1192*c+.9505*l)]},n.rgb.lab=function(o){var s=n.rgb.xyz(o),c=s[0],l=s[1],p=s[2];return l/=100,p/=108.883,c=(c/=95.047)>.008856?Math.pow(c,1/3):7.787*c+16/116,[116*(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116)-16,500*(c-l),200*(l-(p=p>.008856?Math.pow(p,1/3):7.787*p+16/116))]},n.hsl.rgb=function(o){var s,c,l,p,f,d=o[0]/360,D=o[1]/100,v=o[2]/100;if(D===0)return[f=255*v,f,f];s=2*v-(c=v<.5?v*(1+D):v+D-v*D),p=[0,0,0];for(var y=0;y<3;y++)(l=d+1/3*-(y-1))<0&&l++,l>1&&l--,f=6*l<1?s+6*(c-s)*l:2*l<1?c:3*l<2?s+(c-s)*(2/3-l)*6:s,p[y]=255*f;return p},n.hsl.hsv=function(o){var s=o[0],c=o[1]/100,l=o[2]/100,p=c,f=Math.max(l,.01);return c*=(l*=2)<=1?l:2-l,p*=f<=1?f:2-f,[s,100*(l===0?2*p/(f+p):2*c/(l+c)),100*((l+c)/2)]},n.hsv.rgb=function(o){var s=o[0]/60,c=o[1]/100,l=o[2]/100,p=Math.floor(s)%6,f=s-Math.floor(s),d=255*l*(1-c),D=255*l*(1-c*f),v=255*l*(1-c*(1-f));switch(l*=255,p){case 0:return[l,v,d];case 1:return[D,l,d];case 2:return[d,l,v];case 3:return[d,D,l];case 4:return[v,d,l];case 5:return[l,d,D]}},n.hsv.hsl=function(o){var s,c,l,p=o[0],f=o[1]/100,d=o[2]/100,D=Math.max(d,.01);return l=(2-f)*d,c=f*D,[p,100*(c=(c/=(s=(2-f)*D)<=1?s:2-s)||0),100*(l/=2)]},n.hwb.rgb=function(o){var s,c,l,p,f,d,D,v=o[0]/360,y=o[1]/100,b=o[2]/100,S=y+b;switch(S>1&&(y/=S,b/=S),l=6*v-(s=Math.floor(6*v)),(1&s)!=0&&(l=1-l),p=y+l*((c=1-b)-y),s){default:case 6:case 0:f=c,d=p,D=y;break;case 1:f=p,d=c,D=y;break;case 2:f=y,d=c,D=p;break;case 3:f=y,d=p,D=c;break;case 4:f=p,d=y,D=c;break;case 5:f=c,d=y,D=p}return[255*f,255*d,255*D]},n.cmyk.rgb=function(o){var s=o[0]/100,c=o[1]/100,l=o[2]/100,p=o[3]/100;return[255*(1-Math.min(1,s*(1-p)+p)),255*(1-Math.min(1,c*(1-p)+p)),255*(1-Math.min(1,l*(1-p)+p))]},n.xyz.rgb=function(o){var s,c,l,p=o[0]/100,f=o[1]/100,d=o[2]/100;return c=-.9689*p+1.8758*f+.0415*d,l=.0557*p+-.204*f+1.057*d,s=(s=3.2406*p+-1.5372*f+-.4986*d)>.0031308?1.055*Math.pow(s,1/2.4)-.055:12.92*s,c=c>.0031308?1.055*Math.pow(c,1/2.4)-.055:12.92*c,l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:12.92*l,[255*(s=Math.min(Math.max(0,s),1)),255*(c=Math.min(Math.max(0,c),1)),255*(l=Math.min(Math.max(0,l),1))]},n.xyz.lab=function(o){var s=o[0],c=o[1],l=o[2];return c/=100,l/=108.883,s=(s/=95.047)>.008856?Math.pow(s,1/3):7.787*s+16/116,[116*(c=c>.008856?Math.pow(c,1/3):7.787*c+16/116)-16,500*(s-c),200*(c-(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116))]},n.lab.xyz=function(o){var s,c,l,p=o[0];s=o[1]/500+(c=(p+16)/116),l=c-o[2]/200;var f=Math.pow(c,3),d=Math.pow(s,3),D=Math.pow(l,3);return c=f>.008856?f:(c-16/116)/7.787,s=d>.008856?d:(s-16/116)/7.787,l=D>.008856?D:(l-16/116)/7.787,[s*=95.047,c*=100,l*=108.883]},n.lab.lch=function(o){var s,c=o[0],l=o[1],p=o[2];return(s=360*Math.atan2(p,l)/2/Math.PI)<0&&(s+=360),[c,Math.sqrt(l*l+p*p),s]},n.lch.lab=function(o){var s,c=o[0],l=o[1];return s=o[2]/360*2*Math.PI,[c,l*Math.cos(s),l*Math.sin(s)]},n.rgb.ansi16=function(o){var s=o[0],c=o[1],l=o[2],p=1 in arguments?arguments[1]:n.rgb.hsv(o)[2];if((p=Math.round(p/50))===0)return 30;var f=30+(Math.round(l/255)<<2|Math.round(c/255)<<1|Math.round(s/255));return p===2&&(f+=60),f},n.hsv.ansi16=function(o){return n.rgb.ansi16(n.hsv.rgb(o),o[2])},n.rgb.ansi256=function(o){var s=o[0],c=o[1],l=o[2];return s===c&&c===l?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(c/255*5)+Math.round(l/255*5)},n.ansi16.rgb=function(o){var s=o%10;if(s===0||s===7)return o>50&&(s+=3.5),[s=s/10.5*255,s,s];var c=.5*(1+~~(o>50));return[(1&s)*c*255,(s>>1&1)*c*255,(s>>2&1)*c*255]},n.ansi256.rgb=function(o){if(o>=232){var s=10*(o-232)+8;return[s,s,s]}var c;return o-=16,[Math.floor(o/36)/5*255,Math.floor((c=o%36)/6)/5*255,c%6/5*255]},n.rgb.hex=function(o){var s=(((255&Math.round(o[0]))<<16)+((255&Math.round(o[1]))<<8)+(255&Math.round(o[2]))).toString(16).toUpperCase();return"000000".substring(s.length)+s},n.hex.rgb=function(o){var s=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];var c=s[0];s[0].length===3&&(c=c.split("").map(function(p){return p+p}).join(""));var l=parseInt(c,16);return[l>>16&255,l>>8&255,255&l]},n.rgb.hcg=function(o){var s,c=o[0]/255,l=o[1]/255,p=o[2]/255,f=Math.max(Math.max(c,l),p),d=Math.min(Math.min(c,l),p),D=f-d;return s=D<=0?0:f===c?(l-p)/D%6:f===l?2+(p-c)/D:4+(c-l)/D+4,s/=6,[360*(s%=1),100*D,100*(D<1?d/(1-D):0)]},n.hsl.hcg=function(o){var s=o[1]/100,c=o[2]/100,l=1,p=0;return(l=c<.5?2*s*c:2*s*(1-c))<1&&(p=(c-.5*l)/(1-l)),[o[0],100*l,100*p]},n.hsv.hcg=function(o){var s=o[1]/100,c=o[2]/100,l=s*c,p=0;return l<1&&(p=(c-l)/(1-l)),[o[0],100*l,100*p]},n.hcg.rgb=function(o){var s=o[0]/360,c=o[1]/100,l=o[2]/100;if(c===0)return[255*l,255*l,255*l];var p,f=[0,0,0],d=s%1*6,D=d%1,v=1-D;switch(Math.floor(d)){case 0:f[0]=1,f[1]=D,f[2]=0;break;case 1:f[0]=v,f[1]=1,f[2]=0;break;case 2:f[0]=0,f[1]=1,f[2]=D;break;case 3:f[0]=0,f[1]=v,f[2]=1;break;case 4:f[0]=D,f[1]=0,f[2]=1;break;default:f[0]=1,f[1]=0,f[2]=v}return p=(1-c)*l,[255*(c*f[0]+p),255*(c*f[1]+p),255*(c*f[2]+p)]},n.hcg.hsv=function(o){var s=o[1]/100,c=s+o[2]/100*(1-s),l=0;return c>0&&(l=s/c),[o[0],100*l,100*c]},n.hcg.hsl=function(o){var s=o[1]/100,c=o[2]/100*(1-s)+.5*s,l=0;return c>0&&c<.5?l=s/(2*c):c>=.5&&c<1&&(l=s/(2*(1-c))),[o[0],100*l,100*c]},n.hcg.hwb=function(o){var s=o[1]/100,c=s+o[2]/100*(1-s);return[o[0],100*(c-s),100*(1-c)]},n.hwb.hcg=function(o){var s=o[1]/100,c=1-o[2]/100,l=c-s,p=0;return l<1&&(p=(c-l)/(1-l)),[o[0],100*l,100*p]},n.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]},n.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]},n.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]},n.gray.hsl=n.gray.hsv=function(o){return[0,0,o[0]]},n.gray.hwb=function(o){return[0,100,o[0]]},n.gray.cmyk=function(o){return[0,0,0,o[0]]},n.gray.lab=function(o){return[o[0],0,0]},n.gray.hex=function(o){var s=255&Math.round(o[0]/100*255),c=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(c.length)+c},n.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]}});function ht(r){var e=function(){for(var c={},l=Object.keys($e),p=l.length,f=0;f<p;f++)c[l[f]]={distance:-1,parent:null};return c}(),t=[r];for(e[r].distance=0;t.length;)for(var n=t.pop(),u=Object.keys($e[n]),a=u.length,i=0;i<a;i++){var o=u[i],s=e[o];s.distance===-1&&(s.distance=e[n].distance+1,s.parent=n,t.unshift(o))}return e}function Un(r,e){return function(t){return e(r(t))}}function Dt(r,e){for(var t=[e[r].parent,r],n=$e[e[r].parent][r],u=e[r].parent;e[u].parent;)t.unshift(e[u].parent),n=Un($e[e[u].parent][u],n),u=e[u].parent;return n.conversion=t,n}var Pt={};Object.keys($e).forEach(function(r){Pt[r]={},Object.defineProperty(Pt[r],"channels",{value:$e[r].channels}),Object.defineProperty(Pt[r],"labels",{value:$e[r].labels});var e=function(t){for(var n=ht(t),u={},a=Object.keys(n),i=a.length,o=0;o<i;o++){var s=a[o];n[s].parent!==null&&(u[s]=Dt(s,n))}return u}(r);Object.keys(e).forEach(function(t){var n=e[t];Pt[r][t]=function(u){var a=function(o){if(o==null)return o;arguments.length>1&&(o=Array.prototype.slice.call(arguments));var s=u(o);if(Se(s)=="object")for(var c=s.length,l=0;l<c;l++)s[l]=Math.round(s[l]);return s};return"conversion"in u&&(a.conversion=u.conversion),a}(n),Pt[r][t].raw=function(u){var a=function(o){return o==null?o:(arguments.length>1&&(o=Array.prototype.slice.call(arguments)),u(o))};return"conversion"in u&&(a.conversion=u.conversion),a}(n)})});var Wn,bi=Pt,xr=ge(function(r){var e=function(a,i){return function(){var o=a.apply(bi,arguments);return"\x1B[".concat(o+i,"m")}},t=function(a,i){return function(){var o=a.apply(bi,arguments);return"\x1B[".concat(38+i,";5;").concat(o,"m")}},n=function(a,i){return function(){var o=a.apply(bi,arguments);return"\x1B[".concat(38+i,";2;").concat(o[0],";").concat(o[1],";").concat(o[2],"m")}};Object.defineProperty(r,"exports",{enumerable:!0,get:function(){var a=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(var o=0,s=Object.keys(i);o<s.length;o++){for(var c=s[o],l=i[c],p=0,f=Object.keys(l);p<f.length;p++){var d=f[p],D=l[d];i[d]={open:"\x1B[".concat(D[0],"m"),close:"\x1B[".concat(D[1],"m")},l[d]=i[d],a.set(D[0],D[1])}Object.defineProperty(i,c,{value:l,enumerable:!1}),Object.defineProperty(i,"codes",{value:a,enumerable:!1})}var v=function(A){return A},y=function(A,k,O){return[A,k,O]};i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi={ansi:e(v,0)},i.color.ansi256={ansi256:t(v,0)},i.color.ansi16m={rgb:n(y,0)},i.bgColor.ansi={ansi:e(v,10)},i.bgColor.ansi256={ansi256:t(v,10)},i.bgColor.ansi16m={rgb:n(y,10)};for(var b=0,S=Object.keys(bi);b<S.length;b++){var F=S[b];if(Se(bi[F])=="object"){var x=bi[F];F==="ansi16"&&(F="ansi"),"ansi16"in x&&(i.color.ansi[F]=e(x.ansi16,0),i.bgColor.ansi[F]=e(x.ansi16,10)),"ansi256"in x&&(i.color.ansi256[F]=t(x.ansi256,0),i.bgColor.ansi256[F]=t(x.ansi256,10)),"rgb"in x&&(i.color.ansi16m[F]=n(x.rgb,0),i.bgColor.ansi16m[F]=n(x.rgb,10))}}return i}})});function JD(){if(Wn===void 0){var r=new ArrayBuffer(2),e=new Uint8Array(r),t=new Uint16Array(r);if(e[0]=1,e[1]=2,t[0]===258)Wn="BE";else{if(t[0]!==513)throw new Error("unable to figure out endianess");Wn="LE"}}return Wn}function YD(){return Pr.location!==void 0?Pr.location.hostname:""}function KD(){return[]}function QD(){return 0}function ZD(){return Number.MAX_VALUE}function _D(){return Number.MAX_VALUE}function eg(){return[]}function rg(){return"Browser"}function tg(){return Pr.navigator!==void 0?Pr.navigator.appVersion:""}function ng(){}function ug(){}function ag(){return"javascript"}function ig(){return"browser"}function If(){return"/tmp"}var og=If,JF={EOL:`
|
|
`,arch:ag,platform:ig,tmpdir:og,tmpDir:If,networkInterfaces:ng,getNetworkInterfaces:ug,release:tg,type:rg,cpus:eg,totalmem:_D,freemem:ZD,uptime:QD,loadavg:KD,hostname:YD,endianness:JD},sr=function(e,t){t=t||Ir.argv;var n=e.startsWith("-")?"":e.length===1?"-":"--",u=t.indexOf(n+e),a=t.indexOf("--");return u!==-1&&(a===-1||u<a)},YF=Ve(Object.freeze({__proto__:null,endianness:JD,hostname:YD,loadavg:KD,uptime:QD,freemem:ZD,totalmem:_D,cpus:eg,type:rg,release:tg,networkInterfaces:ng,getNetworkInterfaces:ug,arch:ag,platform:ig,tmpDir:If,tmpdir:og,EOL:`
|
|
`,default:JF})),Wr=Ir.env,Fi;function Of(r){return function(e){return e!==0&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(Fi===!1)return 0;if(sr("color=16m")||sr("color=full")||sr("color=truecolor"))return 3;if(sr("color=256"))return 2;if(e&&!e.isTTY&&Fi!==!0)return 0;var t=Fi?1:0;if("CI"in Wr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(u){return u in Wr})||Wr.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in Wr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Wr.TEAMCITY_VERSION)?1:0;if(Wr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Wr){var n=parseInt((Wr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Wr.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Wr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Wr.TERM)||"COLORTERM"in Wr?1:(Wr.TERM,t)}(r))}sr("no-color")||sr("no-colors")||sr("color=false")?Fi=!1:(sr("color")||sr("colors")||sr("color=true")||sr("color=always"))&&(Fi=!0),"FORCE_COLOR"in Wr&&(Fi=Wr.FORCE_COLOR.length===0||parseInt(Wr.FORCE_COLOR,10)!==0);var KF={supportsColor:Of,stdout:Of(Ir.stdout),stderr:Of(Ir.stderr)},QF=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,sg=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,ZF=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,_F=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,e3=new Map([["n",`
|
|
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function cg(r){return r[0]==="u"&&r.length===5||r[0]==="x"&&r.length===3?String.fromCharCode(parseInt(r.slice(1),16)):e3.get(r)||r}function r3(r,e){var t=[],n=e.trim().split(/\s*,\s*/g),u,a=le(n),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(isNaN(o)){if(!(u=o.match(ZF)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(r,"')"));t.push(u[2].replace(_F,function(s,c,l){return c?cg(c):l}))}else t.push(Number(o))}}catch(s){a.e(s)}finally{a.f()}return t}function t3(r){sg.lastIndex=0;for(var e=[],t;(t=sg.exec(r))!==null;){var n=t[1];if(t[2]){var u=r3(n,t[2]);e.push([n].concat(u))}else e.push([n])}return e}function lg(r,e){var t={},n=le(e),u;try{for(n.s();!(u=n.n()).done;){var a=u.value,i=le(a.styles),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;t[s[0]]=a.inverse?null:s.slice(1)}}catch(d){i.e(d)}finally{i.f()}}}catch(d){n.e(d)}finally{n.f()}for(var c=r,l=0,p=Object.keys(t);l<p.length;l++){var f=p[l];if(Array.isArray(t[f])){if(!(f in c))throw new Error("Unknown Chalk style: ".concat(f));c=t[f].length>0?c[f].apply(c,t[f]):c[f]}}return c}var n3=function(e,t){var n=[],u=[],a=[];if(t.replace(QF,function(o,s,c,l,p,f){if(s)a.push(cg(s));else if(l){var d=a.join("");a=[],u.push(n.length===0?d:lg(e,n)(d)),n.push({inverse:c,styles:t3(l)})}else if(p){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");u.push(lg(e,n)(a.join(""))),a=[],n.pop()}else a.push(f)}),u.push(a.join("")),n.length>0){var i="Chalk template literal is missing ".concat(n.length," closing bracket").concat(n.length===1?"":"s"," (`}`)");throw new Error(i)}return u.join("")},na=ge(function(r){var e=KF.stdout,t=["ansi","ansi","ansi256","ansi16m"],n=new Set(["gray"]),u=Object.create(null);function a(w,A){A=A||{};var k=e?e.level:0;w.level=A.level===void 0?k:A.level,w.enabled="enabled"in A?A.enabled:w.level>0}function i(w){if(!this||!(this instanceof i)||this.template){var A={};return a(A,w),A.template=function(){var k=[].slice.call(arguments);return x.apply(null,[A.template].concat(k))},Object.setPrototypeOf(A,i.prototype),Object.setPrototypeOf(A.template,A),A.template.constructor=i,A.template}a(this,w)}for(var o=function(){var A=c[s];xr[A].closeRe=new RegExp(Mr(xr[A].close),"g"),u[A]={get:function(){var O=xr[A];return S.call(this,this._styles?this._styles.concat(O):[O],this._empty,A)}}},s=0,c=Object.keys(xr);s<c.length;s++)o();u.visible={get:function(){return S.call(this,this._styles||[],!0,"visible")}},xr.color.closeRe=new RegExp(Mr(xr.color.close),"g");for(var l=function(){var A=f[p];n.has(A)||(u[A]={get:function(){var O=this.level;return function(){var q=xr.color[t[O]][A].apply(null,arguments),H={open:q,close:xr.color.close,closeRe:xr.color.closeRe};return S.call(this,this._styles?this._styles.concat(H):[H],this._empty,A)}}})},p=0,f=Object.keys(xr.color.ansi);p<f.length;p++)l();xr.bgColor.closeRe=new RegExp(Mr(xr.bgColor.close),"g");for(var d=function(){var A=v[D];if(n.has(A))return"continue";u["bg"+A[0].toUpperCase()+A.slice(1)]={get:function(){var O=this.level;return function(){var q=xr.bgColor[t[O]][A].apply(null,arguments),H={open:q,close:xr.bgColor.close,closeRe:xr.bgColor.closeRe};return S.call(this,this._styles?this._styles.concat(H):[H],this._empty,A)}}}},D=0,v=Object.keys(xr.bgColor.ansi);D<v.length;D++)var y=d();var b=Object.defineProperties(function(){},u);function S(w,A,k){var O=function H(){return F.apply(H,arguments)};O._styles=w,O._empty=A;var q=this;return Object.defineProperty(O,"level",{enumerable:!0,get:function(){return q.level},set:function(R){q.level=R}}),Object.defineProperty(O,"enabled",{enumerable:!0,get:function(){return q.enabled},set:function(R){q.enabled=R}}),O.hasGrey=this.hasGrey||k==="gray"||k==="grey",O.__proto__=b,O}function F(){var w=arguments,A=w.length,k=String(arguments[0]);if(A===0)return"";if(A>1)for(var O=1;O<A;O++)k+=" "+w[O];if(!this.enabled||this.level<=0||!k)return this._empty?"":k;var q=xr.dim.open,H=le(this._styles.slice().reverse()),R;try{for(H.s();!(R=H.n()).done;){var $=R.value;k=$.open+k.replace($.closeRe,$.open)+$.close,k=k.replace(/\r?\n/g,"".concat($.close,"$&").concat($.open))}}catch(K){H.e(K)}finally{H.f()}return xr.dim.open=q,k}function x(w,A){if(!Array.isArray(A))return[].slice.call(arguments,1).join(" ");for(var k=[].slice.call(arguments,2),O=[A.raw[0]],q=1;q<A.length;q++)O.push(String(k[q-1]).replace(/[{}\\]/g,"\\$&")),O.push(String(A.raw[q]));return n3(w,O.join(""))}Object.defineProperties(i.prototype,u),r.exports=i(),r.exports.supportsColor=e,r.exports.default=r.exports}),pg=Object.defineProperty({commonDeprecatedHandler:function(e,t,n){var u=n.descriptor,a=["".concat(na.default.yellow(typeof e=="string"?u.key(e):u.pair(e))," is deprecated")];return t&&a.push("we now treat it as ".concat(na.default.blue(typeof t=="string"?u.key(t):u.pair(t)))),a.join("; ")+"."}},"__esModule",{value:!0}),u3=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),Ze.__exportStar(pg,e)}),a3=Object.defineProperty({commonInvalidHandler:function(e,t,n){return["Invalid ".concat(na.default.red(n.descriptor.key(e))," value."),"Expected ".concat(na.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(na.default.red(n.descriptor.value(t)),".")].join(" ")}},"__esModule",{value:!0}),fg=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),Ze.__exportStar(a3,e)}),Lf=[],dg=[],hg=Object.defineProperty({levenUnknownHandler:function(e,t,n){var u=n.descriptor,a=n.logger,i=n.schemas,o=["Ignored unknown option ".concat(na.default.yellow(u.pair({key:e,value:t})),".")],s=Object.keys(i).sort().find(function(c){return function(l,p){if(l===p)return 0;var f=l;l.length>p.length&&(l=p,p=f);var d=l.length,D=p.length;if(d===0)return D;if(D===0)return d;for(;d>0&&l.charCodeAt(~-d)===p.charCodeAt(~-D);)d--,D--;if(d===0)return D;for(var v,y,b,S,F=0;F<d&&l.charCodeAt(F)===p.charCodeAt(F);)F++;if(D-=F,(d-=F)==0)return D;for(var x=0,w=0;x<d;)dg[F+x]=l.charCodeAt(F+x),Lf[x]=++x;for(;w<D;)for(v=p.charCodeAt(F+w),b=w++,y=w,x=0;x<d;x++)S=v===dg[F+x]?b:b+1,b=Lf[x],y=Lf[x]=b>y?S>y?y+1:S:S>b?b+1:S;return y}(e,c)<3});s&&o.push("Did you mean ".concat(na.default.blue(u.key(s)),"?")),a.warn(o.join(" "))}},"__esModule",{value:!0}),i3=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),Ze.__exportStar(hg,e)}),o3=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),Ze.__exportStar(u3,e),Ze.__exportStar(fg,e),Ze.__exportStar(i3,e)}),s3=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function Dg(r,e){var t=new r(e),n=Object.create(t),u=le(s3),a;try{for(u.s();!(a=u.n()).done;){var i=a.value;i in e&&(n[i]=p3(e[i],t,gg.prototype[i].length))}}catch(o){u.e(o)}finally{u.f()}return n}var c3=Dg,gg=function(){function r(e){se(this,r),this.name=e.name}return ce(r,[{key:"default",value:function(t){}},{key:"expected",value:function(t){return"nothing"}},{key:"validate",value:function(t,n){return!1}},{key:"deprecated",value:function(t,n){return!1}},{key:"forward",value:function(t,n){}},{key:"redirect",value:function(t,n){}},{key:"overlap",value:function(t,n,u){return t}},{key:"preprocess",value:function(t,n){return t}},{key:"postprocess",value:function(t,n){return t}}],[{key:"create",value:function(t){return Dg(this,t)}}]),r}(),l3=gg;function p3(r,e,t){return typeof r=="function"?function(){for(var n=arguments.length,u=new Array(n),a=0;a<n;a++)u[a]=arguments[a];return r.apply(void 0,_(u.slice(0,t-1)).concat([e],_(u.slice(t-1))))}:function(){return r}}var mu=Object.defineProperty({createSchema:c3,Schema:l3},"__esModule",{value:!0}),f3=function(r){br(t,r);var e=Fr(t);function t(n){var u;return se(this,t),u=e.call(this,n),u._sourceName=n.sourceName,u}return ce(t,[{key:"expected",value:function(u){return u.schemas[this._sourceName].expected(u)}},{key:"validate",value:function(u,a){return a.schemas[this._sourceName].validate(u,a)}},{key:"redirect",value:function(u,a){return this._sourceName}}]),t}(mu.Schema),d3=f3,h3=Object.defineProperty({AliasSchema:d3},"__esModule",{value:!0}),D3=function(r){br(t,r);var e=Fr(t);function t(){return se(this,t),e.apply(this,arguments)}return ce(t,[{key:"expected",value:function(){return"anything"}},{key:"validate",value:function(){return!0}}]),t}(mu.Schema),g3=D3,m3=Object.defineProperty({AnySchema:g3},"__esModule",{value:!0}),v3=function(r){br(t,r);var e=Fr(t);function t(n){var u;se(this,t);var a=n.valueSchema,i=n.name,o=i===void 0?a.name:i,s=Ze.__rest(n,["valueSchema","name"]);return u=e.call(this,Object.assign({},s,{name:o})),u._valueSchema=a,u}return ce(t,[{key:"expected",value:function(u){return"an array of ".concat(this._valueSchema.expected(u))}},{key:"validate",value:function(u,a){if(!Array.isArray(u))return!1;var i=[],o=le(u),s;try{for(o.s();!(s=o.n()).done;){var c=s.value,l=a.normalizeValidateResult(this._valueSchema.validate(c,a),c);l!==!0&&i.push(l.value)}}catch(p){o.e(p)}finally{o.f()}return i.length===0||{value:i}}},{key:"deprecated",value:function(u,a){var i=[],o=le(u),s;try{for(o.s();!(s=o.n()).done;){var c=s.value,l=a.normalizeDeprecatedResult(this._valueSchema.deprecated(c,a),c);l!==!1&&i.push.apply(i,_(l.map(function(p){var f=p.value;return{value:[f]}})))}}catch(p){o.e(p)}finally{o.f()}return i}},{key:"forward",value:function(u,a){var i=[],o=le(u),s;try{for(o.s();!(s=o.n()).done;){var c=s.value,l=a.normalizeForwardResult(this._valueSchema.forward(c,a),c);i.push.apply(i,_(l.map(mg)))}}catch(p){o.e(p)}finally{o.f()}return i}},{key:"redirect",value:function(u,a){var i=[],o=[],s=le(u),c;try{for(s.s();!(c=s.n()).done;){var l=c.value,p=a.normalizeRedirectResult(this._valueSchema.redirect(l,a),l);"remain"in p&&i.push(p.remain),o.push.apply(o,_(p.redirect.map(mg)))}}catch(f){s.e(f)}finally{s.f()}return i.length===0?{redirect:o}:{redirect:o,remain:i}}},{key:"overlap",value:function(u,a){return u.concat(a)}}]),t}(mu.Schema),y3=v3;function mg(r){var e=r.from,t=r.to;return{from:[e],to:t}}var E3=Object.defineProperty({ArraySchema:y3},"__esModule",{value:!0}),C3=function(r){br(t,r);var e=Fr(t);function t(){return se(this,t),e.apply(this,arguments)}return ce(t,[{key:"expected",value:function(){return"true or false"}},{key:"validate",value:function(u){return typeof u=="boolean"}}]),t}(mu.Schema),A3=C3,b3=Object.defineProperty({BooleanSchema:A3},"__esModule",{value:!0}),F3=function(e,t){var n=Object.create(null),u=le(e),a;try{for(u.s();!(a=u.n()).done;){var i=a.value,o=i[t];if(n[o])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(o)));n[o]=i}}catch(s){u.e(s)}finally{u.f()}return n},S3=function(e,t){var n=new Map,u=le(e),a;try{for(u.s();!(a=u.n()).done;){var i=a.value,o=i[t];if(n.has(o))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(o)));n.set(o,i)}}catch(s){u.e(s)}finally{u.f()}return n},T3=function(){var e=Object.create(null);return function(t){var n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},x3=function(e,t){var n=[],u=[],a=le(e),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;t(o)?n.push(o):u.push(o)}}catch(s){a.e(s)}finally{a.f()}return[n,u]},w3=function(e){return e===Math.floor(e)},B3=function(e,t){if(e===t)return 0;var n=Se(e),u=Se(t),a=["undefined","object","boolean","number","string"];return n!==u?a.indexOf(n)-a.indexOf(u):n!=="string"?Number(e)-Number(t):e.localeCompare(t)},k3=function(e){return e===void 0?{}:e},N3=function(e,t){return e===!0||(e===!1?{value:t}:e)},P3=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e!==!1&&(e===!0?!!n||[{value:t}]:"value"in e?[e]:e.length!==0&&e)};function Rf(r,e){return typeof r=="string"||"key"in r?{from:e,to:r}:"from"in r?{from:r.from,to:r.to}:{from:e,to:r.to}}var I3=Rf;function vg(r,e){return r===void 0?[]:Array.isArray(r)?r.map(function(t){return Rf(t,e)}):[Rf(r,e)]}var O3=vg,L3=function(e,t){var n=vg(Se(e)=="object"&&"redirect"in e?e.redirect:e,t);return n.length===0?{remain:t,redirect:n}:Se(e)=="object"&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}},Gr=Object.defineProperty({recordFromArray:F3,mapFromArray:S3,createAutoChecklist:T3,partition:x3,isInt:w3,comparePrimitive:B3,normalizeDefaultResult:k3,normalizeValidateResult:N3,normalizeDeprecatedResult:P3,normalizeTransferResult:I3,normalizeForwardResult:O3,normalizeRedirectResult:L3},"__esModule",{value:!0}),R3=function(r){br(t,r);var e=Fr(t);function t(n){var u;return se(this,t),u=e.call(this,n),u._choices=Gr.mapFromArray(n.choices.map(function(a){return a&&Se(a)=="object"?a:{value:a}}),"value"),u}return ce(t,[{key:"expected",value:function(u){var a=this,i=u.descriptor,o=Array.from(this._choices.keys()).map(function(l){return a._choices.get(l)}).filter(function(l){return!l.deprecated}).map(function(l){return l.value}).sort(Gr.comparePrimitive).map(i.value),s=o.slice(0,-2),c=o.slice(-2);return s.concat(c.join(" or ")).join(", ")}},{key:"validate",value:function(u){return this._choices.has(u)}},{key:"deprecated",value:function(u){var a=this._choices.get(u);return!(!a||!a.deprecated)&&{value:u}}},{key:"forward",value:function(u){var a=this._choices.get(u);return a?a.forward:void 0}},{key:"redirect",value:function(u){var a=this._choices.get(u);return a?a.redirect:void 0}}]),t}(mu.Schema),M3=R3,j3=Object.defineProperty({ChoiceSchema:M3},"__esModule",{value:!0}),$3=function(r){br(t,r);var e=Fr(t);function t(){return se(this,t),e.apply(this,arguments)}return ce(t,[{key:"expected",value:function(){return"a number"}},{key:"validate",value:function(u,a){return typeof u=="number"}}]),t}(mu.Schema),q3=$3,yg=Object.defineProperty({NumberSchema:q3},"__esModule",{value:!0}),V3=function(r){br(t,r);var e=Fr(t);function t(){return se(this,t),e.apply(this,arguments)}return ce(t,[{key:"expected",value:function(){return"an integer"}},{key:"validate",value:function(u,a){return a.normalizeValidateResult(Ga(Bn(t.prototype),"validate",this).call(this,u,a),u)===!0&&Gr.isInt(u)}}]),t}(yg.NumberSchema),U3=V3,W3=Object.defineProperty({IntegerSchema:U3},"__esModule",{value:!0}),G3=function(r){br(t,r);var e=Fr(t);function t(){return se(this,t),e.apply(this,arguments)}return ce(t,[{key:"expected",value:function(){return"a string"}},{key:"validate",value:function(u){return typeof u=="string"}}]),t}(mu.Schema),H3=G3,z3=Object.defineProperty({StringSchema:H3},"__esModule",{value:!0}),X3=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),Ze.__exportStar(h3,e),Ze.__exportStar(m3,e),Ze.__exportStar(E3,e),Ze.__exportStar(b3,e),Ze.__exportStar(j3,e),Ze.__exportStar(W3,e),Ze.__exportStar(yg,e),Ze.__exportStar(z3,e)}),J3=Rr.apiDescriptor,Y3=hg.levenUnknownHandler,K3=fg.commonInvalidHandler,Q3=pg.commonDeprecatedHandler,pl=Object.defineProperty({defaultDescriptor:J3,defaultUnknownHandler:Y3,defaultInvalidHandler:K3,defaultDeprecatedHandler:Q3},"__esModule",{value:!0}),Eg=function(){function r(e,t){se(this,r);var n=t||{},u=n.logger,a=u===void 0?console:u,i=n.descriptor,o=i===void 0?pl.defaultDescriptor:i,s=n.unknown,c=s===void 0?pl.defaultUnknownHandler:s,l=n.invalid,p=l===void 0?pl.defaultInvalidHandler:l,f=n.deprecated,d=f===void 0?pl.defaultDeprecatedHandler:f;this._utils={descriptor:o,logger:a||{warn:function(){}},schemas:Gr.recordFromArray(e,"name"),normalizeDefaultResult:Gr.normalizeDefaultResult,normalizeDeprecatedResult:Gr.normalizeDeprecatedResult,normalizeForwardResult:Gr.normalizeForwardResult,normalizeRedirectResult:Gr.normalizeRedirectResult,normalizeValidateResult:Gr.normalizeValidateResult},this._unknownHandler=c,this._invalidHandler=p,this._deprecatedHandler=d,this.cleanHistory()}return ce(r,[{key:"cleanHistory",value:function(){this._hasDeprecationWarned=Gr.createAutoChecklist()}},{key:"normalize",value:function(t){var n=this,u={},a=[t],i=function(){for(;a.length!==0;){var b=a.shift(),S=n._applyNormalization(b,u);a.push.apply(a,_(S))}};i();for(var o=0,s=Object.keys(this._utils.schemas);o<s.length;o++){var c=s[o],l=this._utils.schemas[c];if(!(c in u)){var p=Gr.normalizeDefaultResult(l.default(this._utils));"value"in p&&a.push(Qn({},c,p.value))}}i();for(var f=0,d=Object.keys(this._utils.schemas);f<d.length;f++){var D=d[f],v=this._utils.schemas[D];D in u&&(u[D]=v.postprocess(u[D],this._utils))}return u}},{key:"_applyNormalization",value:function(t,n){var u=this,a=[],i=Gr.partition(Object.keys(t),function(A){return A in u._utils.schemas}),o=ke(i,2),s=o[0],c=o[1],l=le(s),p;try{var f=function(){var k=p.value,O=u._utils.schemas[k],q=O.preprocess(t[k],u._utils),H=Gr.normalizeValidateResult(O.validate(q,u._utils),q);if(H!==!0){var R=H.value,$=u._invalidHandler(k,R,u._utils);throw typeof $=="string"?new Error($):$}var K=function(Oe){var We=Oe.from,Re=Oe.to;a.push(typeof Re=="string"?Qn({},Re,We):Qn({},Re.key,Re.value))},ne=function(Oe){var We=Oe.value,Re=Oe.redirectTo,Ke=Gr.normalizeDeprecatedResult(O.deprecated(We,u._utils),q,!0);if(Ke!==!1)if(Ke===!0)u._hasDeprecationWarned(k)||u._utils.logger.warn(u._deprecatedHandler(k,Re,u._utils));else{var Fe=le(Ke),be;try{for(Fe.s();!(be=Fe.n()).done;){var Qe=be.value.value,we={key:k,value:Qe};if(!u._hasDeprecationWarned(we)){var Pe=typeof Re=="string"?{key:Re,value:Qe}:Re;u._utils.logger.warn(u._deprecatedHandler(we,Pe,u._utils))}}}catch(He){Fe.e(He)}finally{Fe.f()}}};Gr.normalizeForwardResult(O.forward(q,u._utils),q).forEach(K);var ue=Gr.normalizeRedirectResult(O.redirect(q,u._utils),q);if(ue.redirect.forEach(K),"remain"in ue){var Ce=ue.remain;n[k]=k in n?O.overlap(n[k],Ce,u._utils):Ce,ne({value:Ce})}var oe=le(ue.redirect),ae;try{for(oe.s();!(ae=oe.n()).done;){var ye=ae.value,Le=ye.from,Te=ye.to;ne({value:Le,redirectTo:Te})}}catch(Ne){oe.e(Ne)}finally{oe.f()}};for(l.s();!(p=l.n()).done;)f()}catch(A){l.e(A)}finally{l.f()}var d=le(c),D;try{for(d.s();!(D=d.n()).done;){var v=D.value,y=t[v],b=this._unknownHandler(v,y,this._utils);if(b)for(var S=0,F=Object.keys(b);S<F.length;S++){var x=F[S],w=Qn({},x,b[x]);x in this._utils.schemas?a.push(w):Object.assign(n,w)}}}catch(A){d.e(A)}finally{d.f()}return a}}]),r}(),Z3=Eg,_3=Object.defineProperty({normalize:function(e,t,n){return new Eg(t,n).normalize(e)},Normalizer:Z3},"__esModule",{value:!0}),gt=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),Ze.__exportStar(mr,e),Ze.__exportStar(o3,e),Ze.__exportStar(X3,e),Ze.__exportStar(_3,e),Ze.__exportStar(mu,e)}),Mf=[],Cg=[],Ag=function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);for(var u=e.length,a=t.length;u>0&&e.charCodeAt(~-u)===t.charCodeAt(~-a);)u--,a--;for(var i,o,s,c,l=0;l<u&&e.charCodeAt(l)===t.charCodeAt(l);)l++;if(u-=l,a-=l,u===0)return a;for(var p=0,f=0;p<u;)Cg[p]=e.charCodeAt(l+p),Mf[p]=++p;for(;f<a;)for(i=t.charCodeAt(l+f),s=f++,o=f,p=0;p<u;p++)c=i===Cg[p]?s:s+1,s=Mf[p],o=Mf[p]=s>o?c>o?o+1:c:c>s?s+1:c;return o},bg=Ag,eS=Ag;bg.default=eS;for(var ds={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]},Fg={},jf=0,Sg=Object.keys(ds);jf<Sg.length;jf++){var Tg=Sg[jf];Fg[ds[Tg]]=Tg}for(var Ae={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"]}},ua=Ae,$f=0,xg=Object.keys(Ae);$f<xg.length;$f++){var It=xg[$f];if(!("channels"in Ae[It]))throw new Error("missing channels property: "+It);if(!("labels"in Ae[It]))throw new Error("missing channel labels property: "+It);if(Ae[It].labels.length!==Ae[It].channels)throw new Error("channel and label counts mismatch: "+It);var wg=Ae[It],rS=wg.channels,tS=wg.labels;delete Ae[It].channels,delete Ae[It].labels,Object.defineProperty(Ae[It],"channels",{value:rS}),Object.defineProperty(Ae[It],"labels",{value:tS})}function nS(r){var e=function(){for(var c={},l=Object.keys(ua),p=l.length,f=0;f<p;f++)c[l[f]]={distance:-1,parent:null};return c}(),t=[r];for(e[r].distance=0;t.length;)for(var n=t.pop(),u=Object.keys(ua[n]),a=u.length,i=0;i<a;i++){var o=u[i],s=e[o];s.distance===-1&&(s.distance=e[n].distance+1,s.parent=n,t.unshift(o))}return e}function uS(r,e){return function(t){return e(r(t))}}function aS(r,e){for(var t=[e[r].parent,r],n=ua[e[r].parent][r],u=e[r].parent;e[u].parent;)t.unshift(e[u].parent),n=uS(ua[e[u].parent][u],n),u=e[u].parent;return n.conversion=t,n}Ae.rgb.hsl=function(r){var e=r[0]/255,t=r[1]/255,n=r[2]/255,u=Math.min(e,t,n),a=Math.max(e,t,n),i=a-u,o,s;a===u?o=0:e===a?o=(t-n)/i:t===a?o=2+(n-e)/i:n===a&&(o=4+(e-t)/i),o=Math.min(60*o,360),o<0&&(o+=360);var c=(u+a)/2;return s=a===u?0:c<=.5?i/(a+u):i/(2-a-u),[o,100*s,100*c]},Ae.rgb.hsv=function(r){var e,t,n,u,a,i=r[0]/255,o=r[1]/255,s=r[2]/255,c=Math.max(i,o,s),l=c-Math.min(i,o,s),p=function(d){return(c-d)/6/l+.5};return l===0?(u=0,a=0):(a=l/c,e=p(i),t=p(o),n=p(s),i===c?u=n-t:o===c?u=1/3+e-n:s===c&&(u=2/3+t-e),u<0?u+=1:u>1&&(u-=1)),[360*u,100*a,100*c]},Ae.rgb.hwb=function(r){var e=r[0],t=r[1],n=r[2],u=Ae.rgb.hsl(r)[0],a=1/255*Math.min(e,Math.min(t,n));return n=1-1/255*Math.max(e,Math.max(t,n)),[u,100*a,100*n]},Ae.rgb.cmyk=function(r){var e=r[0]/255,t=r[1]/255,n=r[2]/255,u=Math.min(1-e,1-t,1-n);return[100*((1-e-u)/(1-u)||0),100*((1-t-u)/(1-u)||0),100*((1-n-u)/(1-u)||0),100*u]},Ae.rgb.keyword=function(r){var e=Fg[r];if(e)return e;for(var t,n=1/0,u=0,a=Object.keys(ds);u<a.length;u++){var i=a[u],o=(c=ds[i],Math.pow((s=r)[0]-c[0],2)+Math.pow(s[1]-c[1],2)+Math.pow(s[2]-c[2],2));o<n&&(n=o,t=i)}var s,c;return t},Ae.keyword.rgb=function(r){return ds[r]},Ae.rgb.xyz=function(r){var e=r[0]/255,t=r[1]/255,n=r[2]/255;return e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,[100*(.4124*e+.3576*t+.1805*n),100*(.2126*e+.7152*t+.0722*n),100*(.0193*e+.1192*t+.9505*n)]},Ae.rgb.lab=function(r){var e=Ae.rgb.xyz(r),t=e[0],n=e[1],u=e[2];return t/=95.047,n/=100,u/=108.883,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,u=u>.008856?Math.pow(u,1/3):7.787*u+16/116,[116*n-16,500*(t-n),200*(n-u)]},Ae.hsl.rgb=function(r){var e=r[0]/360,t=r[1]/100,n=r[2]/100,u,a,i;if(t===0)return i=255*n,[i,i,i];u=n<.5?n*(1+t):n+t-n*t;for(var o=2*n-u,s=[0,0,0],c=0;c<3;c++)a=e+1/3*-(c-1),a<0&&a++,a>1&&a--,i=6*a<1?o+6*(u-o)*a:2*a<1?u:3*a<2?o+(u-o)*(2/3-a)*6:o,s[c]=255*i;return s},Ae.hsl.hsv=function(r){var e=r[0],t=r[1]/100,n=r[2]/100,u=t,a=Math.max(n,.01);return n*=2,t*=n<=1?n:2-n,u*=a<=1?a:2-a,[e,100*(n===0?2*u/(a+u):2*t/(n+t)),100*((n+t)/2)]},Ae.hsv.rgb=function(r){var e=r[0]/60,t=r[1]/100,n=r[2]/100,u=Math.floor(e)%6,a=e-Math.floor(e),i=255*n*(1-t),o=255*n*(1-t*a),s=255*n*(1-t*(1-a));switch(n*=255,u){case 0:return[n,s,i];case 1:return[o,n,i];case 2:return[i,n,s];case 3:return[i,o,n];case 4:return[s,i,n];case 5:return[n,i,o]}},Ae.hsv.hsl=function(r){var e=r[0],t=r[1]/100,n=r[2]/100,u=Math.max(n,.01),a,i;i=(2-t)*n;var o=(2-t)*u;return a=t*u,a/=o<=1?o:2-o,a=a||0,i/=2,[e,100*a,100*i]},Ae.hwb.rgb=function(r){var e=r[0]/360,t=r[1]/100,n=r[2]/100,u=t+n,a;u>1&&(t/=u,n/=u);var i=Math.floor(6*e),o=1-n;a=6*e-i,(1&i)!=0&&(a=1-a);var s=t+a*(o-t),c,l,p;switch(i){default:case 6:case 0:c=o,l=s,p=t;break;case 1:c=s,l=o,p=t;break;case 2:c=t,l=o,p=s;break;case 3:c=t,l=s,p=o;break;case 4:c=s,l=t,p=o;break;case 5:c=o,l=t,p=s}return[255*c,255*l,255*p]},Ae.cmyk.rgb=function(r){var e=r[0]/100,t=r[1]/100,n=r[2]/100,u=r[3]/100;return[255*(1-Math.min(1,e*(1-u)+u)),255*(1-Math.min(1,t*(1-u)+u)),255*(1-Math.min(1,n*(1-u)+u))]},Ae.xyz.rgb=function(r){var e=r[0]/100,t=r[1]/100,n=r[2]/100,u,a,i;return u=3.2406*e+-1.5372*t+-.4986*n,a=-.9689*e+1.8758*t+.0415*n,i=.0557*e+-.204*t+1.057*n,u=u>.0031308?1.055*Math.pow(u,1/2.4)-.055:12.92*u,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:12.92*a,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,u=Math.min(Math.max(0,u),1),a=Math.min(Math.max(0,a),1),i=Math.min(Math.max(0,i),1),[255*u,255*a,255*i]},Ae.xyz.lab=function(r){var e=r[0],t=r[1],n=r[2];return e/=95.047,t/=100,n/=108.883,e=e>.008856?Math.pow(e,1/3):7.787*e+16/116,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*t-16,500*(e-t),200*(t-n)]},Ae.lab.xyz=function(r){var e,t,n;t=(r[0]+16)/116,e=r[1]/500+t,n=t-r[2]/200;var u=Math.pow(t,3),a=Math.pow(e,3),i=Math.pow(n,3);return t=u>.008856?u:(t-16/116)/7.787,e=a>.008856?a:(e-16/116)/7.787,n=i>.008856?i:(n-16/116)/7.787,e*=95.047,t*=100,n*=108.883,[e,t,n]},Ae.lab.lch=function(r){var e=r[0],t=r[1],n=r[2],u;return u=360*Math.atan2(n,t)/2/Math.PI,u<0&&(u+=360),[e,Math.sqrt(t*t+n*n),u]},Ae.lch.lab=function(r){var e=r[0],t=r[1],n=r[2]/360*2*Math.PI;return[e,t*Math.cos(n),t*Math.sin(n)]},Ae.rgb.ansi16=function(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,t=ke(r,3),n=t[0],u=t[1],a=t[2],i=e===null?Ae.rgb.hsv(r)[2]:e;if(i=Math.round(i/50),i===0)return 30;var o=30+(Math.round(a/255)<<2|Math.round(u/255)<<1|Math.round(n/255));return i===2&&(o+=60),o},Ae.hsv.ansi16=function(r){return Ae.rgb.ansi16(Ae.hsv.rgb(r),r[2])},Ae.rgb.ansi256=function(r){var e=r[0],t=r[1],n=r[2];return e===t&&t===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(n/255*5)},Ae.ansi16.rgb=function(r){var e=r%10;if(e===0||e===7)return r>50&&(e+=3.5),e=e/10.5*255,[e,e,e];var t=.5*(1+~~(r>50));return[(1&e)*t*255,(e>>1&1)*t*255,(e>>2&1)*t*255]},Ae.ansi256.rgb=function(r){if(r>=232){var e=10*(r-232)+8;return[e,e,e]}var t;return r-=16,[Math.floor(r/36)/5*255,Math.floor((t=r%36)/6)/5*255,t%6/5*255]},Ae.rgb.hex=function(r){var e=(((255&Math.round(r[0]))<<16)+((255&Math.round(r[1]))<<8)+(255&Math.round(r[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},Ae.hex.rgb=function(r){var e=r.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var t=e[0];e[0].length===3&&(t=t.split("").map(function(u){return u+u}).join(""));var n=parseInt(t,16);return[n>>16&255,n>>8&255,255&n]},Ae.rgb.hcg=function(r){var e=r[0]/255,t=r[1]/255,n=r[2]/255,u=Math.max(Math.max(e,t),n),a=Math.min(Math.min(e,t),n),i=u-a,o,s;return o=i<1?a/(1-i):0,s=i<=0?0:u===e?(t-n)/i%6:u===t?2+(n-e)/i:4+(e-t)/i,s/=6,s%=1,[360*s,100*i,100*o]},Ae.hsl.hcg=function(r){var e=r[1]/100,t=r[2]/100,n=t<.5?2*e*t:2*e*(1-t),u=0;return n<1&&(u=(t-.5*n)/(1-n)),[r[0],100*n,100*u]},Ae.hsv.hcg=function(r){var e=r[1]/100,t=r[2]/100,n=e*t,u=0;return n<1&&(u=(t-n)/(1-n)),[r[0],100*n,100*u]},Ae.hcg.rgb=function(r){var e=r[0]/360,t=r[1]/100,n=r[2]/100;if(t===0)return[255*n,255*n,255*n];var u=[0,0,0],a=e%1*6,i=a%1,o=1-i,s=0;switch(Math.floor(a)){case 0:u[0]=1,u[1]=i,u[2]=0;break;case 1:u[0]=o,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=i;break;case 3:u[0]=0,u[1]=o,u[2]=1;break;case 4:u[0]=i,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=o}return s=(1-t)*n,[255*(t*u[0]+s),255*(t*u[1]+s),255*(t*u[2]+s)]},Ae.hcg.hsv=function(r){var e=r[1]/100,t=e+r[2]/100*(1-e),n=0;return t>0&&(n=e/t),[r[0],100*n,100*t]},Ae.hcg.hsl=function(r){var e=r[1]/100,t=r[2]/100*(1-e)+.5*e,n=0;return t>0&&t<.5?n=e/(2*t):t>=.5&&t<1&&(n=e/(2*(1-t))),[r[0],100*n,100*t]},Ae.hcg.hwb=function(r){var e=r[1]/100,t=e+r[2]/100*(1-e);return[r[0],100*(t-e),100*(1-t)]},Ae.hwb.hcg=function(r){var e=r[1]/100,t=1-r[2]/100,n=t-e,u=0;return n<1&&(u=(t-n)/(1-n)),[r[0],100*n,100*u]},Ae.apple.rgb=function(r){return[r[0]/65535*255,r[1]/65535*255,r[2]/65535*255]},Ae.rgb.apple=function(r){return[r[0]/255*65535,r[1]/255*65535,r[2]/255*65535]},Ae.gray.rgb=function(r){return[r[0]/100*255,r[0]/100*255,r[0]/100*255]},Ae.gray.hsl=function(r){return[0,0,r[0]]},Ae.gray.hsv=Ae.gray.hsl,Ae.gray.hwb=function(r){return[0,100,r[0]]},Ae.gray.cmyk=function(r){return[0,0,0,r[0]]},Ae.gray.lab=function(r){return[r[0],0,0]},Ae.gray.hex=function(r){var e=255&Math.round(r[0]/100*255),t=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(t.length)+t},Ae.rgb.gray=function(r){return[(r[0]+r[1]+r[2])/3/255*100]};var Si={};Object.keys(ua).forEach(function(r){Si[r]={},Object.defineProperty(Si[r],"channels",{value:ua[r].channels}),Object.defineProperty(Si[r],"labels",{value:ua[r].labels});var e=function(t){for(var n=nS(t),u={},a=Object.keys(n),i=a.length,o=0;o<i;o++){var s=a[o];n[s].parent!==null&&(u[s]=aS(s,n))}return u}(r);Object.keys(e).forEach(function(t){var n=e[t];Si[r][t]=function(u){var a=function(){for(var o=arguments.length,s=new Array(o),c=0;c<o;c++)s[c]=arguments[c];var l=s[0];if(l==null)return l;l.length>1&&(s=l);var p=u(s);if(Se(p)=="object")for(var f=p.length,d=0;d<f;d++)p[d]=Math.round(p[d]);return p};return"conversion"in u&&(a.conversion=u.conversion),a}(n),Si[r][t].raw=function(u){var a=function(){for(var o=arguments.length,s=new Array(o),c=0;c<o;c++)s[c]=arguments[c];var l=s[0];return l==null?l:(l.length>1&&(s=l),u(s))};return"conversion"in u&&(a.conversion=u.conversion),a}(n)})});var iS=Si,hs=ge(function(r){var e=function(l,p){return function(){var f=l.apply(void 0,arguments);return"\x1B[".concat(f+p,"m")}},t=function(l,p){return function(){var f=l.apply(void 0,arguments);return"\x1B[".concat(38+p,";5;").concat(f,"m")}},n=function(l,p){return function(){var f=l.apply(void 0,arguments);return"\x1B[".concat(38+p,";2;").concat(f[0],";").concat(f[1],";").concat(f[2],"m")}},u=function(l){return l},a=function(l,p,f){return[l,p,f]},i=function(l,p,f){Object.defineProperty(l,p,{get:function(){var D=f();return Object.defineProperty(l,p,{value:D,enumerable:!0,configurable:!0}),D},enumerable:!0,configurable:!0})},o,s=function(l,p,f,d){o===void 0&&(o=iS);for(var D=d?10:0,v={},y=0,b=Object.entries(o);y<b.length;y++){var S=ke(b[y],2),F=S[0],x=S[1],w=F==="ansi16"?"ansi":F;F===p?v[w]=l(f,D):Se(x)=="object"&&(v[w]=l(x[p],D))}return v};Object.defineProperty(r,"exports",{enumerable:!0,get:function(){var l=new Map,p={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]}};p.color.gray=p.color.blackBright,p.bgColor.bgGray=p.bgColor.bgBlackBright,p.color.grey=p.color.blackBright,p.bgColor.bgGrey=p.bgColor.bgBlackBright;for(var f=0,d=Object.entries(p);f<d.length;f++){for(var D=ke(d[f],2),v=D[0],y=D[1],b=0,S=Object.entries(y);b<S.length;b++){var F=ke(S[b],2),x=F[0],w=F[1];p[x]={open:"\x1B[".concat(w[0],"m"),close:"\x1B[".concat(w[1],"m")},y[x]=p[x],l.set(w[0],w[1])}Object.defineProperty(p,v,{value:y,enumerable:!1})}return Object.defineProperty(p,"codes",{value:l,enumerable:!1}),p.color.close="\x1B[39m",p.bgColor.close="\x1B[49m",i(p.color,"ansi",function(){return s(e,"ansi16",u,!1)}),i(p.color,"ansi256",function(){return s(t,"ansi256",u,!1)}),i(p.color,"ansi16m",function(){return s(n,"rgb",a,!1)}),i(p.bgColor,"ansi",function(){return s(e,"ansi16",u,!0)}),i(p.bgColor,"ansi256",function(){return s(t,"ansi256",u,!0)}),i(p.bgColor,"ansi16m",function(){return s(n,"rgb",a,!0)}),p}})});function Bg(){return!1}function kg(){throw new Error("tty.ReadStream is not implemented")}function Ng(){throw new Error("tty.ReadStream is not implemented")}var oS={isatty:Bg,ReadStream:kg,WriteStream:Ng},Ot=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ir.argv,n=e.startsWith("-")?"":e.length===1?"-":"--",u=t.indexOf(n+e),a=t.indexOf("--");return u!==-1&&(a===-1||u<a)},Pg=Ve(Object.freeze({__proto__:null,isatty:Bg,ReadStream:kg,WriteStream:Ng,default:oS})),wr=Ir.env,Ti;function qf(r){return r!==0&&{level:r,hasBasic:!0,has256:r>=2,has16m:r>=3}}function Vf(r,e){if(Ti===0)return 0;if(Ot("color=16m")||Ot("color=full")||Ot("color=truecolor"))return 3;if(Ot("color=256"))return 2;if(r&&!e&&Ti===void 0)return 0;var t=Ti||0;if(wr.TERM==="dumb")return t;if("CI"in wr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(function(u){return u in wr})||wr.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in wr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(wr.TEAMCITY_VERSION)?1:0;if(wr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in wr){var n=parseInt((wr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(wr.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(wr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(wr.TERM)||"COLORTERM"in wr?1:t}Ot("no-color")||Ot("no-colors")||Ot("color=false")||Ot("color=never")?Ti=0:(Ot("color")||Ot("colors")||Ot("color=true")||Ot("color=always"))&&(Ti=1),"FORCE_COLOR"in wr&&(Ti=wr.FORCE_COLOR==="true"?1:wr.FORCE_COLOR==="false"?0:wr.FORCE_COLOR.length===0?1:Math.min(parseInt(wr.FORCE_COLOR,10),3));var Ig={supportsColor:function(e){return qf(Vf(e,e&&e.isTTY))},stdout:qf(Vf(!0,Pg.isatty(1))),stderr:qf(Vf(!0,Pg.isatty(2)))},Og={stringReplaceAll:function(e,t,n){var u=e.indexOf(t);if(u===-1)return e;var a=t.length,i=0,o="";do o+=e.substr(i,u-i)+t+n,i=u+a,u=e.indexOf(t,i);while(u!==-1);return o+=e.substr(i),o},stringEncaseCRLFWithFirstIndex:function(e,t,n,u){var a=0,i="";do{var o=e[u-1]==="\r";i+=e.substr(a,(o?u-1:u)-a)+t+(o?`\r
|
|
`:`
|
|
`)+n,a=u+1,u=e.indexOf(`
|
|
`,a)}while(u!==-1);return i+=e.substr(a),i}},sS=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Lg=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,cS=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,lS=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,pS=new Map([["n",`
|
|
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Rg(r){var e=r[0]==="u",t=r[1]==="{";return e&&!t&&r.length===5||r[0]==="x"&&r.length===3?String.fromCharCode(parseInt(r.slice(1),16)):e&&t?String.fromCodePoint(parseInt(r.slice(2,-1),16)):pS.get(r)||r}function fS(r,e){var t=[],n=e.trim().split(/\s*,\s*/g),u,a=le(n),i;try{for(a.s();!(i=a.n()).done;){var o=i.value,s=Number(o);if(Number.isNaN(s)){if(!(u=o.match(cS)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(r,"')"));t.push(u[2].replace(lS,function(c,l,p){return l?Rg(l):p}))}else t.push(s)}}catch(c){a.e(c)}finally{a.f()}return t}function dS(r){Lg.lastIndex=0;for(var e=[],t;(t=Lg.exec(r))!==null;){var n=t[1];if(t[2]){var u=fS(n,t[2]);e.push([n].concat(u))}else e.push([n])}return e}function Mg(r,e){var t={},n=le(e),u;try{for(n.s();!(u=n.n()).done;){var a=u.value,i=le(a.styles),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;t[s[0]]=a.inverse?null:s.slice(1)}}catch(y){i.e(y)}finally{i.f()}}}catch(y){n.e(y)}finally{n.f()}for(var c=r,l=0,p=Object.entries(t);l<p.length;l++){var f=ke(p[l],2),d=f[0],D=f[1];if(Array.isArray(D)){var v;if(!(d in c))throw new Error("Unknown Chalk style: ".concat(d));c=D.length>0?(v=c)[d].apply(v,_(D)):c[d]}}return c}var hS=function(e,t){var n=[],u=[],a=[];if(t.replace(sS,function(o,s,c,l,p,f){if(s)a.push(Rg(s));else if(l){var d=a.join("");a=[],u.push(n.length===0?d:Mg(e,n)(d)),n.push({inverse:c,styles:dS(l)})}else if(p){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");u.push(Mg(e,n)(a.join(""))),a=[],n.pop()}else a.push(f)}),u.push(a.join("")),n.length>0){var i="Chalk template literal is missing ".concat(n.length," closing bracket").concat(n.length===1?"":"s"," (`}`)");throw new Error(i)}return u.join("")},Uf=Ig.stdout,Wf=Ig.stderr,DS=Og.stringReplaceAll,gS=Og.stringEncaseCRLFWithFirstIndex,fl=Array.isArray,jg=["ansi","ansi","ansi256","ansi16m"],xi=Object.create(null),mS=ce(function r(e){return se(this,r),$g(e)}),$g=function(e){var t={};return function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(u.level&&!(Number.isInteger(u.level)&&u.level>=0&&u.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");var a=Uf?Uf.level:0;n.level=u.level===void 0?a:u.level}(t,e),t.template=function(){for(var n=arguments.length,u=new Array(n),a=0;a<n;a++)u[a]=arguments[a];return Hg.apply(void 0,[t.template].concat(u))},Object.setPrototypeOf(t,dl.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=function(){throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=mS,t.template};function dl(r){return $g(r)}for(var vS=function(){var e=ke(qg[Gf],2),t=e[0],n=e[1];xi[t]={get:function(){var a=hl(this,Xf(n.open,n.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:a}),a}}},Gf=0,qg=Object.entries(hs);Gf<qg.length;Gf++)vS();xi.visible={get:function(){var e=hl(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};for(var Vg=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"],yS=function(){var e=Ug[Hf];xi[e]={get:function(){var n=this.level;return function(){var u,a=Xf((u=hs.color[jg[n]])[e].apply(u,arguments),hs.color.close,this._styler);return hl(this,a,this._isEmpty)}}}},Hf=0,Ug=Vg;Hf<Ug.length;Hf++)yS();for(var ES=function(){var e=Wg[zf];xi["bg"+e[0].toUpperCase()+e.slice(1)]={get:function(){var n=this.level;return function(){var u,a=Xf((u=hs.bgColor[jg[n]])[e].apply(u,arguments),hs.bgColor.close,this._styler);return hl(this,a,this._isEmpty)}}}},zf=0,Wg=Vg;zf<Wg.length;zf++)ES();var CS=Object.defineProperties(function(){},Object.assign({},xi,{level:{enumerable:!0,get:function(){return this._generator.level},set:function(e){this._generator.level=e}}})),Xf=function(e,t,n){var u,a;return n===void 0?(u=e,a=t):(u=n.openAll+e,a=t+n.closeAll),{open:e,close:t,openAll:u,closeAll:a,parent:n}},hl=function(e,t,n){var u=function a(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return fl(o[0])&&fl(o[0].raw)?Gg(a,Hg.apply(void 0,[a].concat(o))):Gg(a,o.length===1?""+o[0]:o.join(" "))};return Object.setPrototypeOf(u,CS),u._generator=e,u._styler=t,u._isEmpty=n,u},Gg=function(e,t){if(e.level<=0||!t)return e._isEmpty?"":t;var n=e._styler;if(n===void 0)return t;var u=n,a=u.openAll,i=u.closeAll;if(t.indexOf("\x1B")!==-1)for(;n!==void 0;)t=DS(t,n.close,n.open),n=n.parent;var o=t.indexOf(`
|
|
`);return o!==-1&&(t=gS(t,i,a,o)),a+t+i},Jf,Hg=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),u=1;u<t;u++)n[u-1]=arguments[u];var a=n[0];if(!fl(a)||!fl(a.raw))return n.join(" ");for(var i=n.slice(1),o=[a.raw[0]],s=1;s<a.length;s++)o.push(String(i[s-1]).replace(/[{}\\]/g,"\\$&"),String(a.raw[s]));return Jf===void 0&&(Jf=hS),Jf(e,o.join(""))};Object.defineProperties(dl.prototype,xi);var Dl=dl();Dl.supportsColor=Uf,Dl.stderr=dl({level:Wf?Wf.level:0}),Dl.stderr.supportsColor=Wf;var zg=Dl,AS=function(e,t){for(var n=-1,u=t.length,a=e.length;++n<u;)e[a+n]=t[n];return e},bS=Se(fe)=="object"&&fe&&fe.Object===Object&&fe,FS=(typeof self>"u"?"undefined":Se(self))=="object"&&self&&self.Object===Object&&self,wi=(bS||FS||Function("return this")()).Symbol,Xg=Object.prototype,SS=Xg.hasOwnProperty,TS=Xg.toString,Ds=wi?wi.toStringTag:void 0,xS=function(e){var t=SS.call(e,Ds),n=e[Ds];try{e[Ds]=void 0;var u=!0}catch{}var a=TS.call(e);return u&&(t?e[Ds]=n:delete e[Ds]),a},wS=Object.prototype.toString,BS=function(e){return wS.call(e)},Jg=wi?wi.toStringTag:void 0,kS=function(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Jg&&Jg in Object(e)?xS(e):BS(e)},Yg=function(e){return e!=null&&Se(e)=="object"},Kg=function(e){return Yg(e)&&kS(e)=="[object Arguments]"},Qg=Object.prototype,NS=Qg.hasOwnProperty,PS=Qg.propertyIsEnumerable,IS=Kg(function(){return arguments}())?Kg:function(r){return Yg(r)&&NS.call(r,"callee")&&!PS.call(r,"callee")},OS=Array.isArray,Zg=wi?wi.isConcatSpreadable:void 0,LS=function(e){return OS(e)||IS(e)||!!(Zg&&e&&e[Zg])},RS=function r(e,t,n,u,a){var i=-1,o=e.length;for(n||(n=LS),a||(a=[]);++i<o;){var s=e[i];t>0&&n(s)?t>1?r(s,t-1,n,u,a):AS(a,s):u||(a[a.length]=s)}return a},Yf=function(e){return e!=null&&e.length?RS(e,1):[]},gl={key:function(e){return e.length===1?"-".concat(e):"--".concat(e)},value:function(e){return gt.apiDescriptor.value(e)},pair:function(e){var t=e.key,n=e.value;return n===!1?"--no-".concat(t):n===!0?gl.key(t):n===""?"".concat(gl.key(t)," without an argument"):"".concat(gl.key(t),"=").concat(n)}},MS=function(r){br(t,r);var e=Fr(t);function t(n){var u,a=n.name,i=n.flags;return se(this,t),u=e.call(this,{name:a,choices:i}),u._flags=_(i).sort(),u}return ce(t,[{key:"preprocess",value:function(u,a){if(typeof u=="string"&&u.length>0&&!this._flags.includes(u)){var i=this._flags.find(function(o){return bg(o,u)<3});if(i)return a.logger.warn(["Unknown flag ".concat(zg.yellow(a.descriptor.value(u)),","),"did you mean ".concat(zg.blue(a.descriptor.value(i)),"?")].join(" ")),i}return u}},{key:"expected",value:function(){return"a flag"}}]),t}(gt.ChoiceSchema),Kf;function _g(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=t.logger,u=t.isCLI,a=u===void 0?!1:u,i=t.passThrough,o=i===void 0?!1:i,s=o?Array.isArray(o)?function(D,v){return o.includes(D)?Qn({},D,v):void 0}:function(D,v){return Qn({},D,v)}:function(D,v,y){var b=M(y.schemas,["_"]);return gt.levenUnknownHandler(D,v,Object.assign({},y,{schemas:b}))},c=a?gl:gt.apiDescriptor,l=function(D,v){var y=v.isCLI,b=[];y&&b.push(gt.AnySchema.create({name:"_"}));var S=le(D),F;try{for(S.s();!(F=S.n()).done;){var x=F.value;b.push(jS(x,{isCLI:y,optionInfos:D})),x.alias&&y&&b.push(gt.AliasSchema.create({name:x.alias,sourceName:x.name}))}}catch(w){S.e(w)}finally{S.f()}return b}(e,{isCLI:a}),p=new gt.Normalizer(l,{logger:n,unknown:s,descriptor:c}),f=n!==!1;f&&Kf&&(p._hasDeprecationWarned=Kf);var d=p.normalize(r);return f&&(Kf=p._hasDeprecationWarned),d}function jS(r,e){var t=e.isCLI,n=e.optionInfos,u,a={name:r.name},i={};switch(r.type){case"int":u=gt.IntegerSchema,t&&(a.preprocess=function(s){return Number(s)});break;case"string":u=gt.StringSchema;break;case"choice":u=gt.ChoiceSchema,a.choices=r.choices.map(function(s){return Se(s)=="object"&&s.redirect?Object.assign({},s,{redirect:{to:{key:r.name,value:s.redirect}}}):s});break;case"boolean":u=gt.BooleanSchema;break;case"flag":u=MS,a.flags=Yf(n.map(function(s){return[s.alias,s.description&&s.name,s.oppositeDescription&&"no-".concat(s.name)].filter(Boolean)}));break;case"path":u=gt.StringSchema;break;default:throw new Error("Unexpected type ".concat(r.type))}if(r.exception?a.validate=function(s,c,l){return r.exception(s)||c.validate(s,l)}:a.validate=function(s,c,l){return s===void 0||c.validate(s,l)},r.redirect&&(i.redirect=function(s){return s?{to:{key:r.redirect.option,value:r.redirect.value}}:void 0}),r.deprecated&&(i.deprecated=!0),t&&!r.array){var o=a.preprocess||function(s){return s};a.preprocess=function(s,c,l){return c.preprocess(o(Array.isArray(s)?or(s):s),l)}}return r.array?gt.ArraySchema.create(Object.assign({},t?{preprocess:function(c){return Array.isArray(c)?c:[c]}}:{},i,{valueSchema:u.create(a)})):u.create(Object.assign({},a,i))}var em={normalizeApiOptions:function(e,t,n){return _g(e,t,n)},normalizeCliOptions:function(e,t,n){return _g(e,t,Object.assign({isCLI:!0},n))}},$S=X.isNonEmptyArray;function ml(r,e){var t=e||{},n=t.ignoreDecorators;if(!n){var u=r.declaration&&r.declaration.decorators||r.decorators;if($S(u))return ml(u[0])}return r.range?r.range[0]:r.start}function Qf(r){return r.range?r.range[1]:r.end}function rm(r,e){return ml(r)===ml(e)}var tr={locStart:ml,locEnd:Qf,hasSameLocStart:rm,hasSameLoc:function(e,t){return rm(e,t)&&function(n,u){return Qf(n)===Qf(u)}(e,t)}},qS=Object.defineProperty({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,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}},"__esModule",{value:!0}),VS=um,US=am,WS=function(e){for(var t=!0,n=0;n<e.length;n++){var u=e.charCodeAt(n);if((64512&u)==55296&&n+1<e.length){var a=e.charCodeAt(++n);(64512&a)==56320&&(u=65536+((1023&u)<<10)+(1023&a))}if(t){if(t=!1,!um(u))return!1}else if(!am(u))return!1}return!t},Zf="\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\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\u09FC\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\u0D04-\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\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1878\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\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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",tm="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",GS=new RegExp("["+Zf+"]"),HS=new RegExp("["+Zf+tm+"]");Zf=tm=null;var nm=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],zS=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function _f(r,e){for(var t=65536,n=0,u=e.length;n<u;n+=2){if(t+=e[n],t>r)return!1;if(t+=e[n+1],t>=r)return!0}return!1}function um(r){return r<65?r===36:r<=90||(r<97?r===95:r<=122||(r<=65535?r>=170&&GS.test(String.fromCharCode(r)):_f(r,nm)))}function am(r){return r<48?r===36:r<58||!(r<65)&&(r<=90||(r<97?r===95:r<=122||(r<=65535?r>=170&&HS.test(String.fromCharCode(r)):_f(r,nm)||_f(r,zS))))}var e0=Object.defineProperty({isIdentifierStart:VS,isIdentifierChar:US,isIdentifierName:WS},"__esModule",{value:!0}),XS=im,JS=om,YS=sm,KS=function(e,t){return om(e,t)||sm(e)},QS=function(e){return e5.has(e)},ZS=["implements","interface","let","package","private","protected","public","static","yield"],_S=["eval","arguments"],e5=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"]),r5=new Set(ZS),t5=new Set(_S);function im(r,e){return e&&r==="await"||r==="enum"}function om(r,e){return im(r,e)||r5.has(r)}function sm(r){return t5.has(r)}var gs=Object.defineProperty({isReservedWord:XS,isStrictReservedWord:JS,isStrictBindOnlyReservedWord:YS,isStrictBindReservedWord:KS,isKeyword:QS},"__esModule",{value:!0}),cm=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isIdentifierName",{enumerable:!0,get:function(){return e0.isIdentifierName}}),Object.defineProperty(e,"isIdentifierChar",{enumerable:!0,get:function(){return e0.isIdentifierChar}}),Object.defineProperty(e,"isIdentifierStart",{enumerable:!0,get:function(){return e0.isIdentifierStart}}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:function(){return gs.isReservedWord}}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return gs.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:function(){return gs.isStrictBindReservedWord}}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:function(){return gs.isStrictReservedWord}}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:function(){return gs.isKeyword}})}),n5=/[|\\{}()[\]^$+*?.]/g,r0=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(n5,"\\$&")},aa={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]},ia=ge(function(r){var e={};for(var t in aa)aa.hasOwnProperty(t)&&(e[aa[t]]=t);var n=r.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 u in n)if(n.hasOwnProperty(u)){if(!("channels"in n[u]))throw new Error("missing channels property: "+u);if(!("labels"in n[u]))throw new Error("missing channel labels property: "+u);if(n[u].labels.length!==n[u].channels)throw new Error("channel and label counts mismatch: "+u);var a=n[u].channels,i=n[u].labels;delete n[u].channels,delete n[u].labels,Object.defineProperty(n[u],"channels",{value:a}),Object.defineProperty(n[u],"labels",{value:i})}n.rgb.hsl=function(o){var s,c,l=o[0]/255,p=o[1]/255,f=o[2]/255,d=Math.min(l,p,f),D=Math.max(l,p,f),v=D-d;return D===d?s=0:l===D?s=(p-f)/v:p===D?s=2+(f-l)/v:f===D&&(s=4+(l-p)/v),(s=Math.min(60*s,360))<0&&(s+=360),c=(d+D)/2,[s,100*(D===d?0:c<=.5?v/(D+d):v/(2-D-d)),100*c]},n.rgb.hsv=function(o){var s,c,l,p,f,d=o[0]/255,D=o[1]/255,v=o[2]/255,y=Math.max(d,D,v),b=y-Math.min(d,D,v),S=function(x){return(y-x)/6/b+.5};return b===0?p=f=0:(f=b/y,s=S(d),c=S(D),l=S(v),d===y?p=l-c:D===y?p=1/3+s-l:v===y&&(p=2/3+c-s),p<0?p+=1:p>1&&(p-=1)),[360*p,100*f,100*y]},n.rgb.hwb=function(o){var s=o[0],c=o[1],l=o[2];return[n.rgb.hsl(o)[0],100*(1/255*Math.min(s,Math.min(c,l))),100*(l=1-1/255*Math.max(s,Math.max(c,l)))]},n.rgb.cmyk=function(o){var s,c=o[0]/255,l=o[1]/255,p=o[2]/255;return[100*((1-c-(s=Math.min(1-c,1-l,1-p)))/(1-s)||0),100*((1-l-s)/(1-s)||0),100*((1-p-s)/(1-s)||0),100*s]},n.rgb.keyword=function(o){var s=e[o];if(s)return s;var c,l,p,f=1/0;for(var d in aa)if(aa.hasOwnProperty(d)){var D=aa[d],v=(l=o,p=D,Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)+Math.pow(l[2]-p[2],2));v<f&&(f=v,c=d)}return c},n.keyword.rgb=function(o){return aa[o]},n.rgb.xyz=function(o){var s=o[0]/255,c=o[1]/255,l=o[2]/255;return[100*(.4124*(s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92)+.3576*(c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92)+.1805*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)),100*(.2126*s+.7152*c+.0722*l),100*(.0193*s+.1192*c+.9505*l)]},n.rgb.lab=function(o){var s=n.rgb.xyz(o),c=s[0],l=s[1],p=s[2];return l/=100,p/=108.883,c=(c/=95.047)>.008856?Math.pow(c,1/3):7.787*c+16/116,[116*(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116)-16,500*(c-l),200*(l-(p=p>.008856?Math.pow(p,1/3):7.787*p+16/116))]},n.hsl.rgb=function(o){var s,c,l,p,f,d=o[0]/360,D=o[1]/100,v=o[2]/100;if(D===0)return[f=255*v,f,f];s=2*v-(c=v<.5?v*(1+D):v+D-v*D),p=[0,0,0];for(var y=0;y<3;y++)(l=d+1/3*-(y-1))<0&&l++,l>1&&l--,f=6*l<1?s+6*(c-s)*l:2*l<1?c:3*l<2?s+(c-s)*(2/3-l)*6:s,p[y]=255*f;return p},n.hsl.hsv=function(o){var s=o[0],c=o[1]/100,l=o[2]/100,p=c,f=Math.max(l,.01);return c*=(l*=2)<=1?l:2-l,p*=f<=1?f:2-f,[s,100*(l===0?2*p/(f+p):2*c/(l+c)),100*((l+c)/2)]},n.hsv.rgb=function(o){var s=o[0]/60,c=o[1]/100,l=o[2]/100,p=Math.floor(s)%6,f=s-Math.floor(s),d=255*l*(1-c),D=255*l*(1-c*f),v=255*l*(1-c*(1-f));switch(l*=255,p){case 0:return[l,v,d];case 1:return[D,l,d];case 2:return[d,l,v];case 3:return[d,D,l];case 4:return[v,d,l];case 5:return[l,d,D]}},n.hsv.hsl=function(o){var s,c,l,p=o[0],f=o[1]/100,d=o[2]/100,D=Math.max(d,.01);return l=(2-f)*d,c=f*D,[p,100*(c=(c/=(s=(2-f)*D)<=1?s:2-s)||0),100*(l/=2)]},n.hwb.rgb=function(o){var s,c,l,p,f,d,D,v=o[0]/360,y=o[1]/100,b=o[2]/100,S=y+b;switch(S>1&&(y/=S,b/=S),l=6*v-(s=Math.floor(6*v)),(1&s)!=0&&(l=1-l),p=y+l*((c=1-b)-y),s){default:case 6:case 0:f=c,d=p,D=y;break;case 1:f=p,d=c,D=y;break;case 2:f=y,d=c,D=p;break;case 3:f=y,d=p,D=c;break;case 4:f=p,d=y,D=c;break;case 5:f=c,d=y,D=p}return[255*f,255*d,255*D]},n.cmyk.rgb=function(o){var s=o[0]/100,c=o[1]/100,l=o[2]/100,p=o[3]/100;return[255*(1-Math.min(1,s*(1-p)+p)),255*(1-Math.min(1,c*(1-p)+p)),255*(1-Math.min(1,l*(1-p)+p))]},n.xyz.rgb=function(o){var s,c,l,p=o[0]/100,f=o[1]/100,d=o[2]/100;return c=-.9689*p+1.8758*f+.0415*d,l=.0557*p+-.204*f+1.057*d,s=(s=3.2406*p+-1.5372*f+-.4986*d)>.0031308?1.055*Math.pow(s,1/2.4)-.055:12.92*s,c=c>.0031308?1.055*Math.pow(c,1/2.4)-.055:12.92*c,l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:12.92*l,[255*(s=Math.min(Math.max(0,s),1)),255*(c=Math.min(Math.max(0,c),1)),255*(l=Math.min(Math.max(0,l),1))]},n.xyz.lab=function(o){var s=o[0],c=o[1],l=o[2];return c/=100,l/=108.883,s=(s/=95.047)>.008856?Math.pow(s,1/3):7.787*s+16/116,[116*(c=c>.008856?Math.pow(c,1/3):7.787*c+16/116)-16,500*(s-c),200*(c-(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116))]},n.lab.xyz=function(o){var s,c,l,p=o[0];s=o[1]/500+(c=(p+16)/116),l=c-o[2]/200;var f=Math.pow(c,3),d=Math.pow(s,3),D=Math.pow(l,3);return c=f>.008856?f:(c-16/116)/7.787,s=d>.008856?d:(s-16/116)/7.787,l=D>.008856?D:(l-16/116)/7.787,[s*=95.047,c*=100,l*=108.883]},n.lab.lch=function(o){var s,c=o[0],l=o[1],p=o[2];return(s=360*Math.atan2(p,l)/2/Math.PI)<0&&(s+=360),[c,Math.sqrt(l*l+p*p),s]},n.lch.lab=function(o){var s,c=o[0],l=o[1];return s=o[2]/360*2*Math.PI,[c,l*Math.cos(s),l*Math.sin(s)]},n.rgb.ansi16=function(o){var s=o[0],c=o[1],l=o[2],p=1 in arguments?arguments[1]:n.rgb.hsv(o)[2];if((p=Math.round(p/50))===0)return 30;var f=30+(Math.round(l/255)<<2|Math.round(c/255)<<1|Math.round(s/255));return p===2&&(f+=60),f},n.hsv.ansi16=function(o){return n.rgb.ansi16(n.hsv.rgb(o),o[2])},n.rgb.ansi256=function(o){var s=o[0],c=o[1],l=o[2];return s===c&&c===l?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(c/255*5)+Math.round(l/255*5)},n.ansi16.rgb=function(o){var s=o%10;if(s===0||s===7)return o>50&&(s+=3.5),[s=s/10.5*255,s,s];var c=.5*(1+~~(o>50));return[(1&s)*c*255,(s>>1&1)*c*255,(s>>2&1)*c*255]},n.ansi256.rgb=function(o){if(o>=232){var s=10*(o-232)+8;return[s,s,s]}var c;return o-=16,[Math.floor(o/36)/5*255,Math.floor((c=o%36)/6)/5*255,c%6/5*255]},n.rgb.hex=function(o){var s=(((255&Math.round(o[0]))<<16)+((255&Math.round(o[1]))<<8)+(255&Math.round(o[2]))).toString(16).toUpperCase();return"000000".substring(s.length)+s},n.hex.rgb=function(o){var s=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];var c=s[0];s[0].length===3&&(c=c.split("").map(function(p){return p+p}).join(""));var l=parseInt(c,16);return[l>>16&255,l>>8&255,255&l]},n.rgb.hcg=function(o){var s,c=o[0]/255,l=o[1]/255,p=o[2]/255,f=Math.max(Math.max(c,l),p),d=Math.min(Math.min(c,l),p),D=f-d;return s=D<=0?0:f===c?(l-p)/D%6:f===l?2+(p-c)/D:4+(c-l)/D+4,s/=6,[360*(s%=1),100*D,100*(D<1?d/(1-D):0)]},n.hsl.hcg=function(o){var s=o[1]/100,c=o[2]/100,l=1,p=0;return(l=c<.5?2*s*c:2*s*(1-c))<1&&(p=(c-.5*l)/(1-l)),[o[0],100*l,100*p]},n.hsv.hcg=function(o){var s=o[1]/100,c=o[2]/100,l=s*c,p=0;return l<1&&(p=(c-l)/(1-l)),[o[0],100*l,100*p]},n.hcg.rgb=function(o){var s=o[0]/360,c=o[1]/100,l=o[2]/100;if(c===0)return[255*l,255*l,255*l];var p,f=[0,0,0],d=s%1*6,D=d%1,v=1-D;switch(Math.floor(d)){case 0:f[0]=1,f[1]=D,f[2]=0;break;case 1:f[0]=v,f[1]=1,f[2]=0;break;case 2:f[0]=0,f[1]=1,f[2]=D;break;case 3:f[0]=0,f[1]=v,f[2]=1;break;case 4:f[0]=D,f[1]=0,f[2]=1;break;default:f[0]=1,f[1]=0,f[2]=v}return p=(1-c)*l,[255*(c*f[0]+p),255*(c*f[1]+p),255*(c*f[2]+p)]},n.hcg.hsv=function(o){var s=o[1]/100,c=s+o[2]/100*(1-s),l=0;return c>0&&(l=s/c),[o[0],100*l,100*c]},n.hcg.hsl=function(o){var s=o[1]/100,c=o[2]/100*(1-s)+.5*s,l=0;return c>0&&c<.5?l=s/(2*c):c>=.5&&c<1&&(l=s/(2*(1-c))),[o[0],100*l,100*c]},n.hcg.hwb=function(o){var s=o[1]/100,c=s+o[2]/100*(1-s);return[o[0],100*(c-s),100*(1-c)]},n.hwb.hcg=function(o){var s=o[1]/100,c=1-o[2]/100,l=c-s,p=0;return l<1&&(p=(c-l)/(1-l)),[o[0],100*l,100*p]},n.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]},n.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]},n.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]},n.gray.hsl=n.gray.hsv=function(o){return[0,0,o[0]]},n.gray.hwb=function(o){return[0,100,o[0]]},n.gray.cmyk=function(o){return[0,0,0,o[0]]},n.gray.lab=function(o){return[o[0],0,0]},n.gray.hex=function(o){var s=255&Math.round(o[0]/100*255),c=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(c.length)+c},n.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]}});function u5(r){var e=function(){for(var c={},l=Object.keys(ia),p=l.length,f=0;f<p;f++)c[l[f]]={distance:-1,parent:null};return c}(),t=[r];for(e[r].distance=0;t.length;)for(var n=t.pop(),u=Object.keys(ia[n]),a=u.length,i=0;i<a;i++){var o=u[i],s=e[o];s.distance===-1&&(s.distance=e[n].distance+1,s.parent=n,t.unshift(o))}return e}function a5(r,e){return function(t){return e(r(t))}}function i5(r,e){for(var t=[e[r].parent,r],n=ia[e[r].parent][r],u=e[r].parent;e[u].parent;)t.unshift(e[u].parent),n=a5(ia[e[u].parent][u],n),u=e[u].parent;return n.conversion=t,n}var Bi={};Object.keys(ia).forEach(function(r){Bi[r]={},Object.defineProperty(Bi[r],"channels",{value:ia[r].channels}),Object.defineProperty(Bi[r],"labels",{value:ia[r].labels});var e=function(t){for(var n=u5(t),u={},a=Object.keys(n),i=a.length,o=0;o<i;o++){var s=a[o];n[s].parent!==null&&(u[s]=i5(s,n))}return u}(r);Object.keys(e).forEach(function(t){var n=e[t];Bi[r][t]=function(u){var a=function(o){if(o==null)return o;arguments.length>1&&(o=Array.prototype.slice.call(arguments));var s=u(o);if(Se(s)=="object")for(var c=s.length,l=0;l<c;l++)s[l]=Math.round(s[l]);return s};return"conversion"in u&&(a.conversion=u.conversion),a}(n),Bi[r][t].raw=function(u){var a=function(o){return o==null?o:(arguments.length>1&&(o=Array.prototype.slice.call(arguments)),u(o))};return"conversion"in u&&(a.conversion=u.conversion),a}(n)})});var ki=Bi,Br=ge(function(r){var e=function(a,i){return function(){var o=a.apply(ki,arguments);return"\x1B[".concat(o+i,"m")}},t=function(a,i){return function(){var o=a.apply(ki,arguments);return"\x1B[".concat(38+i,";5;").concat(o,"m")}},n=function(a,i){return function(){var o=a.apply(ki,arguments);return"\x1B[".concat(38+i,";2;").concat(o[0],";").concat(o[1],";").concat(o[2],"m")}};Object.defineProperty(r,"exports",{enumerable:!0,get:function(){var a=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(var o=0,s=Object.keys(i);o<s.length;o++){for(var c=s[o],l=i[c],p=0,f=Object.keys(l);p<f.length;p++){var d=f[p],D=l[d];i[d]={open:"\x1B[".concat(D[0],"m"),close:"\x1B[".concat(D[1],"m")},l[d]=i[d],a.set(D[0],D[1])}Object.defineProperty(i,c,{value:l,enumerable:!1}),Object.defineProperty(i,"codes",{value:a,enumerable:!1})}var v=function(A){return A},y=function(A,k,O){return[A,k,O]};i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi={ansi:e(v,0)},i.color.ansi256={ansi256:t(v,0)},i.color.ansi16m={rgb:n(y,0)},i.bgColor.ansi={ansi:e(v,10)},i.bgColor.ansi256={ansi256:t(v,10)},i.bgColor.ansi16m={rgb:n(y,10)};for(var b=0,S=Object.keys(ki);b<S.length;b++){var F=S[b];if(Se(ki[F])=="object"){var x=ki[F];F==="ansi16"&&(F="ansi"),"ansi16"in x&&(i.color.ansi[F]=e(x.ansi16,0),i.bgColor.ansi[F]=e(x.ansi16,10)),"ansi256"in x&&(i.color.ansi256[F]=t(x.ansi256,0),i.bgColor.ansi256[F]=t(x.ansi256,10)),"rgb"in x&&(i.color.ansi16m[F]=n(x.rgb,0),i.bgColor.ansi16m[F]=n(x.rgb,10))}}return i}})}),Hr=Ir.env,Ni;function t0(r){return function(e){return e!==0&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(Ni===!1)return 0;if(sr("color=16m")||sr("color=full")||sr("color=truecolor"))return 3;if(sr("color=256"))return 2;if(e&&!e.isTTY&&Ni!==!0)return 0;var t=Ni?1:0;if("CI"in Hr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(u){return u in Hr})||Hr.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in Hr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Hr.TEAMCITY_VERSION)?1:0;if(Hr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Hr){var n=parseInt((Hr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Hr.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Hr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Hr.TERM)||"COLORTERM"in Hr?1:(Hr.TERM,t)}(r))}sr("no-color")||sr("no-colors")||sr("color=false")?Ni=!1:(sr("color")||sr("colors")||sr("color=true")||sr("color=always"))&&(Ni=!0),"FORCE_COLOR"in Hr&&(Ni=Hr.FORCE_COLOR.length===0||parseInt(Hr.FORCE_COLOR,10)!==0);var o5={supportsColor:t0,stdout:t0(Ir.stdout),stderr:t0(Ir.stderr)},s5=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,lm=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,c5=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,l5=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,p5=new Map([["n",`
|
|
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function pm(r){return r[0]==="u"&&r.length===5||r[0]==="x"&&r.length===3?String.fromCharCode(parseInt(r.slice(1),16)):p5.get(r)||r}function f5(r,e){var t=[],n=e.trim().split(/\s*,\s*/g),u,a=le(n),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(isNaN(o)){if(!(u=o.match(c5)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(r,"')"));t.push(u[2].replace(l5,function(s,c,l){return c?pm(c):l}))}else t.push(Number(o))}}catch(s){a.e(s)}finally{a.f()}return t}function d5(r){lm.lastIndex=0;for(var e=[],t;(t=lm.exec(r))!==null;){var n=t[1];if(t[2]){var u=f5(n,t[2]);e.push([n].concat(u))}else e.push([n])}return e}function fm(r,e){var t={},n=le(e),u;try{for(n.s();!(u=n.n()).done;){var a=u.value,i=le(a.styles),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;t[s[0]]=a.inverse?null:s.slice(1)}}catch(d){i.e(d)}finally{i.f()}}}catch(d){n.e(d)}finally{n.f()}for(var c=r,l=0,p=Object.keys(t);l<p.length;l++){var f=p[l];if(Array.isArray(t[f])){if(!(f in c))throw new Error("Unknown Chalk style: ".concat(f));c=t[f].length>0?c[f].apply(c,t[f]):c[f]}}return c}var h5=function(e,t){var n=[],u=[],a=[];if(t.replace(s5,function(o,s,c,l,p,f){if(s)a.push(pm(s));else if(l){var d=a.join("");a=[],u.push(n.length===0?d:fm(e,n)(d)),n.push({inverse:c,styles:d5(l)})}else if(p){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");u.push(fm(e,n)(a.join(""))),a=[],n.pop()}else a.push(f)}),u.push(a.join("")),n.length>0){var i="Chalk template literal is missing ".concat(n.length," closing bracket").concat(n.length===1?"":"s"," (`}`)");throw new Error(i)}return u.join("")},D5=ge(function(r){var e=o5.stdout,t=["ansi","ansi","ansi256","ansi16m"],n=new Set(["gray"]),u=Object.create(null);function a(w,A){A=A||{};var k=e?e.level:0;w.level=A.level===void 0?k:A.level,w.enabled="enabled"in A?A.enabled:w.level>0}function i(w){if(!this||!(this instanceof i)||this.template){var A={};return a(A,w),A.template=function(){var k=[].slice.call(arguments);return x.apply(null,[A.template].concat(k))},Object.setPrototypeOf(A,i.prototype),Object.setPrototypeOf(A.template,A),A.template.constructor=i,A.template}a(this,w)}for(var o=function(){var A=c[s];Br[A].closeRe=new RegExp(r0(Br[A].close),"g"),u[A]={get:function(){var O=Br[A];return S.call(this,this._styles?this._styles.concat(O):[O],this._empty,A)}}},s=0,c=Object.keys(Br);s<c.length;s++)o();u.visible={get:function(){return S.call(this,this._styles||[],!0,"visible")}},Br.color.closeRe=new RegExp(r0(Br.color.close),"g");for(var l=function(){var A=f[p];n.has(A)||(u[A]={get:function(){var O=this.level;return function(){var q=Br.color[t[O]][A].apply(null,arguments),H={open:q,close:Br.color.close,closeRe:Br.color.closeRe};return S.call(this,this._styles?this._styles.concat(H):[H],this._empty,A)}}})},p=0,f=Object.keys(Br.color.ansi);p<f.length;p++)l();Br.bgColor.closeRe=new RegExp(r0(Br.bgColor.close),"g");for(var d=function(){var A=v[D];if(n.has(A))return"continue";u["bg"+A[0].toUpperCase()+A.slice(1)]={get:function(){var O=this.level;return function(){var q=Br.bgColor[t[O]][A].apply(null,arguments),H={open:q,close:Br.bgColor.close,closeRe:Br.bgColor.closeRe};return S.call(this,this._styles?this._styles.concat(H):[H],this._empty,A)}}}},D=0,v=Object.keys(Br.bgColor.ansi);D<v.length;D++)var y=d();var b=Object.defineProperties(function(){},u);function S(w,A,k){var O=function H(){return F.apply(H,arguments)};O._styles=w,O._empty=A;var q=this;return Object.defineProperty(O,"level",{enumerable:!0,get:function(){return q.level},set:function(R){q.level=R}}),Object.defineProperty(O,"enabled",{enumerable:!0,get:function(){return q.enabled},set:function(R){q.enabled=R}}),O.hasGrey=this.hasGrey||k==="gray"||k==="grey",O.__proto__=b,O}function F(){var w=arguments,A=w.length,k=String(arguments[0]);if(A===0)return"";if(A>1)for(var O=1;O<A;O++)k+=" "+w[O];if(!this.enabled||this.level<=0||!k)return this._empty?"":k;var q=Br.dim.open,H=le(this._styles.slice().reverse()),R;try{for(H.s();!(R=H.n()).done;){var $=R.value;k=$.open+k.replace($.closeRe,$.open)+$.close,k=k.replace(/\r?\n/g,"".concat($.close,"$&").concat($.open))}}catch(K){H.e(K)}finally{H.f()}return Br.dim.open=q,k}function x(w,A){if(!Array.isArray(A))return[].slice.call(arguments,1).join(" ");for(var k=[].slice.call(arguments,2),O=[A.raw[0]],q=1;q<A.length;q++)O.push(String(k[q-1]).replace(/[{}\\]/g,"\\$&")),O.push(String(A.raw[q]));return h5(w,O.join(""))}Object.defineProperties(i.prototype,u),r.exports=i(),r.exports.supportsColor=e,r.exports.default=r.exports}),g5=gm,m5=mm,v5=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(gm(t)){var n=mm(t);return function(u,a){var i="",o=le(Dm(a)),s;try{var c=function(){var p=s.value,f=p.type,d=p.value,D=u[f];i+=D?d.split(E5).map(function(v){return D(v)}).join(`
|
|
`):d};for(o.s();!(s=o.n()).done;)c()}catch(l){o.e(l)}finally{o.f()}return i}(function(u){return{keyword:u.cyan,capitalized:u.yellow,jsxIdentifier:u.yellow,punctuator:u.yellow,number:u.magenta,string:u.green,regex:u.magenta,comment:u.grey,invalid:u.white.bgRed.bold}}(n),e)}return e},dm=function(r){if(r&&r.__esModule)return r;if(r===null||Se(r)!="object"&&typeof r!="function")return{default:r};var e=hm();if(e&&e.has(r))return e.get(r);var t={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var a=n?Object.getOwnPropertyDescriptor(r,u):null;a&&(a.get||a.set)?Object.defineProperty(t,u,a):t[u]=r[u]}return t.default=r,e&&e.set(r,t),t}(qS),n0=function(r){return r&&r.__esModule?r:{default:r}}(D5);function hm(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return hm=function(){return r},r}var y5=new Set(["as","async","from","get","of","set"]),E5=/\r\n|[\n\r\u2028\u2029]/,C5=/^[()[\]{}]$/,Dm;{var A5=dm.matchToToken,b5=/^[a-z][\w-]*$/i,F5=function(e,t,n){if(e.type==="name"){if((0,cm.isKeyword)(e.value)||(0,cm.isStrictReservedWord)(e.value,!0)||y5.has(e.value))return"keyword";if(b5.test(e.value)&&(n[t-1]==="<"||n.substr(t-2,2)=="</"))return"jsxIdentifier";if(e.value[0]!==e.value[0].toLowerCase())return"capitalized"}return e.type==="punctuator"&&C5.test(e.value)?"bracket":e.type!=="invalid"||e.value!=="@"&&e.value!=="#"?e.type:"punctuator"};Dm=regeneratorRuntime.mark(function r(e){var t,n;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!(t=dm.default.exec(e))){a.next=6;break}return n=A5(t),a.next=4,{type:F5(n,t.index,e),value:n.value};case 4:a.next=0;break;case 6:case"end":return a.stop()}},r)})}function gm(r){return!!n0.default.supportsColor||r.forceColor}function mm(r){return r.forceColor?new n0.default.constructor({enabled:!0,level:1}):n0.default}var S5=Cm,T5=function(e,t,n){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!ym){ym=!0;var a="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";new Error(a).name="DeprecationWarning",console.warn(new Error(a))}return n=Math.max(n,0),Cm(e,{start:{column:n,line:t}},u)},u0=function(r){if(r&&r.__esModule)return r;if(r===null||Se(r)!="object"&&typeof r!="function")return{default:r};var e=vm();if(e&&e.has(r))return e.get(r);var t={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var a=n?Object.getOwnPropertyDescriptor(r,u):null;a&&(a.get||a.set)?Object.defineProperty(t,u,a):t[u]=r[u]}return t.default=r,e&&e.set(r,t),t}(Object.defineProperty({shouldHighlight:g5,getChalk:m5,default:v5},"__esModule",{value:!0}));function vm(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return vm=function(){return r},r}var ym=!1,Em=/\r\n|[\n\r\u2028\u2029]/;function Cm(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=(t.highlightCode||t.forceColor)&&(0,u0.shouldHighlight)(t),u=(0,u0.getChalk)(t),a=function(v){return{gutter:v.grey,marker:v.red.bold,message:v.red.bold}}(u),i=function(y,b){return n?y(b):b},o=r.split(Em),s=function(v,y,b){var S=Object.assign({column:0,line:-1},v.start),F=Object.assign({},S,v.end),x=b||{},w=x.linesAbove,A=w===void 0?2:w,k=x.linesBelow,O=k===void 0?3:k,q=S.line,H=S.column,R=F.line,$=F.column,K=Math.max(q-(A+1),0),ne=Math.min(y.length,R+O);q===-1&&(K=0),R===-1&&(ne=y.length);var ue=R-q,Ce={};if(ue)for(var oe=0;oe<=ue;oe++){var ae=oe+q;if(H)if(oe===0){var ye=y[ae-1].length;Ce[ae]=[H,ye-H+1]}else if(oe===ue)Ce[ae]=[0,$];else{var Le=y[ae-oe].length;Ce[ae]=[0,Le]}else Ce[ae]=!0}else Ce[q]=H===$?!H||[H,0]:[H,$-H];return{start:K,end:ne,markerLines:Ce}}(e,o,t),c=s.start,l=s.end,p=s.markerLines,f=e.start&&typeof e.start.column=="number",d=String(l).length,D=(n?(0,u0.default)(r,t):r).split(Em).slice(c,l).map(function(v,y){var b=c+1+y,S=" ".concat(b).slice(-d),F=" ".concat(S," |"),x=p[b],w=!p[b+1];if(x){var A="";if(Array.isArray(x)){var k=v.slice(0,Math.max(x[0]-1,0)).replace(/[^\t]/g," "),O=x[1]||1;A=[`
|
|
`,i(a.gutter,F.replace(/\d/g," "))," ",k,i(a.marker,"^").repeat(O)].join(""),w&&t.message&&(A+=" "+i(a.message,t.message))}return[i(a.marker,">"),i(a.gutter,F),v.length>0?" ".concat(v):"",A].join("")}return" ".concat(i(a.gutter,F)).concat(v.length>0?" ".concat(v):"")}).join(`
|
|
`);return t.message&&!f&&(D="".concat(" ".repeat(d+1)).concat(t.message,`
|
|
`).concat(D)),n?u.reset(D):D}var x5=Object.defineProperty({codeFrameColumns:S5,default:T5},"__esModule",{value:!0}),w5=Ve(ol),B5=dt.ConfigError,k5=tr.locStart,N5=tr.locEnd,P5=Object.getOwnPropertyNames,I5=Object.getOwnPropertyDescriptor;function Am(r){var e={},t=le(r.plugins),n;try{for(t.s();!(n=t.n()).done;){var u=n.value;if(u.parsers){var a=le(P5(u.parsers)),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;Object.defineProperty(e,o,I5(u.parsers,o))}}catch(s){a.e(s)}finally{a.f()}}}}catch(s){t.e(s)}finally{t.f()}return e}function bm(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Am(r);if(typeof r.parser=="function")return{parse:r.parser,astFormat:"estree",locStart:k5,locEnd:N5};if(typeof r.parser=="string"){if(Object.prototype.hasOwnProperty.call(e,r.parser))return e[r.parser];throw new B5(`Couldn't resolve parser "`.concat(r.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var oa={parse:function(e,t){var n=Am(t),u=Object.keys(n).reduce(function(s,c){return Object.defineProperty(s,c,{enumerable:!0,get:function(){return n[c].parse}})},{}),a=bm(t,n);try{return a.preprocess&&(e=a.preprocess(e,t)),{text:e,ast:a.parse(e,u,t)}}catch(s){var i=s.loc;if(i){var o=x5.codeFrameColumns;throw s.codeFrame=o(e,i,{highlightCode:!0}),s.message+=`
|
|
`+s.codeFrame,s}throw s.stack}},resolveParser:bm},O5=dt.UndefinedParserError,Fm=si.getSupportInfo,L5=oa.resolveParser,a0={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Sm(r,e){var t=w5.basename(r).toLowerCase(),n=Fm({plugins:e}).languages.filter(function(i){return i.since!==null}),u=n.find(function(i){return i.extensions&&i.extensions.some(function(o){return t.endsWith(o)})||i.filenames&&i.filenames.some(function(o){return o.toLowerCase()===t})});if(!u&&!t.includes(".")){var a=function(i){if(typeof i!="string")return"";var o;try{o=Xe.openSync(i,"r")}catch{return""}try{var s=new Sr(o).next().toString("utf8"),c=s.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(c)return c[1];var l=s.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return l?l[1]:""}catch{return""}finally{try{Xe.closeSync(o)}catch{}}}(r);u=n.find(function(i){return i.interpreters&&i.interpreters.includes(a)})}return u&&u.parsers[0]}var Tm={normalize:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Object.assign({},e),u=Fm({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,a=Object.assign({},a0,_a(u.filter(function(v){return v.default!==void 0}).map(function(v){return[v.name,v.default]})));if(!n.parser)if(n.filepath){if(n.parser=Sm(n.filepath,n.plugins),!n.parser)throw new O5("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";var i=L5(em.normalizeApiOptions(n,[u.find(function(v){return v.name==="parser"})],{passThrough:!0,logger:!1}));n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;var o=function(v){var y=v.astFormat;if(!y)throw new Error("getPlugin() requires astFormat to be set");var b=v.plugins.find(function(S){return S.printers&&S.printers[y]});if(!b)throw new Error(`Couldn't find plugin for AST format "`.concat(y,'"'));return b}(n);n.printer=o.printers[n.astFormat];for(var s=_a(u.filter(function(v){return v.pluginDefaults&&v.pluginDefaults[o.name]!==void 0}).map(function(v){return[v.name,v.pluginDefaults[o.name]]})),c=Object.assign({},a,s),l=0,p=Object.entries(c);l<p.length;l++){var f=ke(p[l],2),d=f[0],D=f[1];n[d]!==null&&n[d]!==void 0||(n[d]=D)}return n.parser==="json"&&(n.trailingComma="none"),em.normalizeApiOptions(n,u,Object.assign({passThrough:Object.keys(a0)},t))},hiddenDefaults:a0,inferParser:Sm},R5=function r(e,t,n){if(Array.isArray(e))return e.map(function(d){return r(d,t,n)}).filter(Boolean);if(!e||Se(e)!="object")return e;var u=t.printer.massageAstNode,a;a=u&&u.ignoredProperties?u.ignoredProperties:new Set;for(var i={},o=0,s=Object.entries(e);o<s.length;o++){var c=ke(s[o],2),l=c[0],p=c[1];a.has(l)||typeof p=="function"||(i[l]=r(p,t,e))}if(u){var f=u(e,i,n);if(f===null)return;if(f)return f}return i},M5=typeof Object.create=="function"?function(r,e){r.super_=e,r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}})}:function(r,e){r.super_=e;var t=function(){};t.prototype=e.prototype,r.prototype=new t,r.prototype.constructor=r};function sa(r,e){var t={seen:[],stylize:$5};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),xm(e)?t.showHidden=e:e&&q5(t,e),Pi(t.showHidden)&&(t.showHidden=!1),Pi(t.depth)&&(t.depth=2),Pi(t.colors)&&(t.colors=!1),Pi(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=j5),vl(t,r,t.depth)}function j5(r,e){var t=sa.styles[e];return t?"\x1B["+sa.colors[t][0]+"m"+r+"\x1B["+sa.colors[t][1]+"m":r}function $5(r,e){return r}function vl(r,e,t){if(r.customInspect&&e&&vs(e.inspect)&&e.inspect!==sa&&(!e.constructor||e.constructor.prototype!==e)){var n=e.inspect(t,r);return Bm(n)||(n=vl(r,n,t)),n}var u=function(d,D){if(Pi(D))return d.stylize("undefined","undefined");if(Bm(D)){var v="'"+JSON.stringify(D).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d.stylize(v,"string")}if(y=D,typeof y=="number")return d.stylize(""+D,"number");var y;if(xm(D))return d.stylize(""+D,"boolean");if(wm(D))return d.stylize("null","null")}(r,e);if(u)return u;var a=Object.keys(e),i=function(d){var D={};return d.forEach(function(v,y){D[v]=!0}),D}(a);if(r.showHidden&&(a=Object.getOwnPropertyNames(e)),Cl(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return i0(e);if(a.length===0){if(vs(e)){var o=e.name?": "+e.name:"";return r.stylize("[Function"+o+"]","special")}if(ms(e))return r.stylize(RegExp.prototype.toString.call(e),"regexp");if(El(e))return r.stylize(Date.prototype.toString.call(e),"date");if(Cl(e))return i0(e)}var s,c,l="",p=!1,f=["{","}"];return s=e,Array.isArray(s)&&(p=!0,f=["[","]"]),vs(e)&&(l=" [Function"+(e.name?": "+e.name:"")+"]"),ms(e)&&(l=" "+RegExp.prototype.toString.call(e)),El(e)&&(l=" "+Date.prototype.toUTCString.call(e)),Cl(e)&&(l=" "+i0(e)),a.length!==0||p&&e.length!=0?t<0?ms(e)?r.stylize(RegExp.prototype.toString.call(e),"regexp"):r.stylize("[Object]","special"):(r.seen.push(e),c=p?function(d,D,v,y,b){for(var S=[],F=0,x=D.length;F<x;++F)Nm(D,String(F))?S.push(o0(d,D,v,y,String(F),!0)):S.push("");return b.forEach(function(w){w.match(/^\d+$/)||S.push(o0(d,D,v,y,w,!0))}),S}(r,e,t,i,a):a.map(function(d){return o0(r,e,t,i,d,p)}),r.seen.pop(),function(d,D,v){return d.reduce(function(y,b){return b.indexOf(`
|
|
`),y+b.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?v[0]+(D===""?"":D+`
|
|
`)+" "+d.join(`,
|
|
`)+" "+v[1]:v[0]+D+" "+d.join(", ")+" "+v[1]}(c,l,f)):f[0]+l+f[1]}function i0(r){return"["+Error.prototype.toString.call(r)+"]"}function o0(r,e,t,n,u,a){var i,o,s;if((s=Object.getOwnPropertyDescriptor(e,u)||{value:e[u]}).get?o=s.set?r.stylize("[Getter/Setter]","special"):r.stylize("[Getter]","special"):s.set&&(o=r.stylize("[Setter]","special")),Nm(n,u)||(i="["+u+"]"),o||(r.seen.indexOf(s.value)<0?(o=wm(t)?vl(r,s.value,null):vl(r,s.value,t-1)).indexOf(`
|
|
`)>-1&&(o=a?o.split(`
|
|
`).map(function(c){return" "+c}).join(`
|
|
`).substr(2):`
|
|
`+o.split(`
|
|
`).map(function(c){return" "+c}).join(`
|
|
`)):o=r.stylize("[Circular]","special")),Pi(i)){if(a&&u.match(/^\d+$/))return o;(i=JSON.stringify(""+u)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=r.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=r.stylize(i,"string"))}return i+": "+o}function xm(r){return typeof r=="boolean"}function wm(r){return r===null}function Bm(r){return typeof r=="string"}function Pi(r){return r===void 0}function ms(r){return yl(r)&&s0(r)==="[object RegExp]"}function yl(r){return Se(r)=="object"&&r!==null}function El(r){return yl(r)&&s0(r)==="[object Date]"}function Cl(r){return yl(r)&&(s0(r)==="[object Error]"||r instanceof Error)}function vs(r){return typeof r=="function"}function km(r){return r===null||typeof r=="boolean"||typeof r=="number"||typeof r=="string"||Se(r)=="symbol"||r===void 0}function s0(r){return Object.prototype.toString.call(r)}function q5(r,e){if(!e||!yl(e))return r;for(var t=Object.keys(e),n=t.length;n--;)r[t[n]]=e[t[n]];return r}function Nm(r,e){return Object.prototype.hasOwnProperty.call(r,e)}function Pm(r,e){if(r===e)return 0;for(var t=r.length,n=e.length,u=0,a=Math.min(t,n);u<a;++u)if(r[u]!==e[u]){t=r[u],n=e[u];break}return t<n?-1:n<t?1:0}sa.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},sa.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var c0,V5=Object.prototype.hasOwnProperty,Im=Object.keys||function(r){var e=[];for(var t in r)V5.call(r,t)&&e.push(t);return e},Om=Array.prototype.slice;function Lm(){return c0!==void 0?c0:c0=function(){}.name==="foo"}function Rm(r){return Object.prototype.toString.call(r)}function Mm(r){return!Ie(r)&&typeof Pr.ArrayBuffer=="function"&&(typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):!!r&&(r instanceof DataView||!!(r.buffer&&r.buffer instanceof ArrayBuffer)))}function _r(r,e){r||et(r,!0,e,"==",ys)}var U5=/\s*function\s+([^\(\s]*)\s*/;function jm(r){if(vs(r)){if(Lm())return r.name;var e=r.toString().match(U5);return e&&e[1]}}function Al(r){this.name="AssertionError",this.actual=r.actual,this.expected=r.expected,this.operator=r.operator,r.message?(this.message=r.message,this.generatedMessage=!1):(this.message=function(o){return $m(qm(o.actual),128)+" "+o.operator+" "+$m(qm(o.expected),128)}(this),this.generatedMessage=!0);var e=r.stackStartFunction||et;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var t=new Error;if(t.stack){var n=t.stack,u=jm(e),a=n.indexOf(`
|
|
`+u);if(a>=0){var i=n.indexOf(`
|
|
`,a+1);n=n.substring(i+1)}this.stack=n}}}function $m(r,e){return typeof r=="string"?r.length<e?r:r.slice(0,e):r}function qm(r){if(Lm()||!vs(r))return sa(r);var e=jm(r);return"[Function"+(e?": "+e:"")+"]"}function et(r,e,t,n,u){throw new Al({message:t,actual:r,expected:e,operator:n,stackStartFunction:u})}function ys(r,e){r||et(r,!0,e,"==",ys)}function l0(r,e,t){r!=e&&et(r,e,t,"==",l0)}function p0(r,e,t){r==e&&et(r,e,t,"!=",p0)}function f0(r,e,t){Ii(r,e,!1)||et(r,e,t,"deepEqual",f0)}function d0(r,e,t){Ii(r,e,!0)||et(r,e,t,"deepStrictEqual",d0)}function Ii(r,e,t,n){if(r===e)return!0;if(Ie(r)&&Ie(e))return Pm(r,e)===0;if(El(r)&&El(e))return r.getTime()===e.getTime();if(ms(r)&&ms(e))return r.source===e.source&&r.global===e.global&&r.multiline===e.multiline&&r.lastIndex===e.lastIndex&&r.ignoreCase===e.ignoreCase;if(r!==null&&Se(r)=="object"||e!==null&&Se(e)=="object"){if(Mm(r)&&Mm(e)&&Rm(r)===Rm(e)&&!(r instanceof Float32Array||r instanceof Float64Array))return Pm(new Uint8Array(r.buffer),new Uint8Array(e.buffer))===0;if(Ie(r)!==Ie(e))return!1;var u=(n=n||{actual:[],expected:[]}).actual.indexOf(r);return u!==-1&&u===n.expected.indexOf(e)||(n.actual.push(r),n.expected.push(e),function(a,i,o,s){if(a==null||i==null)return!1;if(km(a)||km(i))return a===i;if(o&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(i))return!1;var c=Vm(a),l=Vm(i);if(c&&!l||!c&&l)return!1;if(c)return Ii(a=Om.call(a),i=Om.call(i),o);var p,f,d=Im(a),D=Im(i);if(d.length!==D.length)return!1;for(d.sort(),D.sort(),f=d.length-1;f>=0;f--)if(d[f]!==D[f])return!1;for(f=d.length-1;f>=0;f--)if(!Ii(a[p=d[f]],i[p],o,s))return!1;return!0}(r,e,t,n))}return t?r===e:r==e}function Vm(r){return Object.prototype.toString.call(r)=="[object Arguments]"}function h0(r,e,t){Ii(r,e,!1)&&et(r,e,t,"notDeepEqual",h0)}function D0(r,e,t){Ii(r,e,!0)&&et(r,e,t,"notDeepStrictEqual",D0)}function g0(r,e,t){r!==e&&et(r,e,t,"===",g0)}function m0(r,e,t){r===e&&et(r,e,t,"!==",m0)}function Um(r,e){if(!r||!e)return!1;if(Object.prototype.toString.call(e)=="[object RegExp]")return e.test(r);try{if(r instanceof e)return!0}catch{}return!Error.isPrototypeOf(e)&&e.call({},r)===!0}function Wm(r,e,t,n){var u;if(typeof e!="function")throw new TypeError('"block" argument must be a function');typeof t=="string"&&(n=t,t=null),u=function(o){var s;try{o()}catch(c){s=c}return s}(e),n=(t&&t.name?" ("+t.name+").":".")+(n?" "+n:"."),r&&!u&&et(u,t,"Missing expected exception"+n);var a=typeof n=="string",i=!r&&u&&!t;if((!r&&Cl(u)&&a&&Um(u,t)||i)&&et(u,t,"Got unwanted exception"+n),r&&u&&t&&!Um(u,t)||!r&&u)throw u}function Gm(r,e,t){Wm(!0,r,e,t)}function Hm(r,e,t){Wm(!1,r,e,t)}function zm(r){if(r)throw r}_r.AssertionError=Al,M5(Al,Error),_r.fail=et,_r.ok=ys,_r.equal=l0,_r.notEqual=p0,_r.deepEqual=f0,_r.deepStrictEqual=d0,_r.notDeepEqual=h0,_r.notDeepStrictEqual=D0,_r.strictEqual=g0,_r.notStrictEqual=m0,_r.throws=Gm,_r.doesNotThrow=Hm,_r.ifError=zm;var Gn=Ve(Object.freeze({__proto__:null,default:_r,AssertionError:Al,fail:et,ok:ys,assert:ys,equal:l0,notEqual:p0,deepEqual:f0,deepStrictEqual:d0,notDeepEqual:h0,notDeepStrictEqual:D0,strictEqual:g0,notStrictEqual:m0,throws:Gm,doesNotThrow:Hm,ifError:zm})),ca=de.builders,W5=ca.line,vu=ca.hardline,G5=ca.breakParent,H5=ca.indent,Xm=ca.lineSuffix,Jm=ca.join,v0=ca.cursor,Oi=X.hasNewline,z5=X.skipNewline,X5=X.skipSpaces,J5=X.isPreviousLineEmpty,Es=X.addLeadingComment,y0=X.addDanglingComment,Cs=X.addTrailingComment,E0=new WeakMap;function C0(r,e,t){if(!!r){var n=e.printer,u=e.locStart,a=e.locEnd;if(t){if(n.canAttachComment&&n.canAttachComment(r)){var i;for(i=t.length-1;i>=0&&!(u(t[i])<=u(r)&&a(t[i])<=a(r));--i);return void t.splice(i+1,0,r)}}else if(E0.has(r))return E0.get(r);var o=n.getCommentChildNodes&&n.getCommentChildNodes(r,e)||Se(r)=="object"&&Object.entries(r).filter(function(p){var f=ke(p,1),d=f[0];return d!=="enclosingNode"&&d!=="precedingNode"&&d!=="followingNode"&&d!=="tokens"&&d!=="comments"}).map(function(p){var f=ke(p,2),d=f[1];return d});if(o){t||(t=[],E0.set(r,t));var s=le(o),c;try{for(s.s();!(c=s.n()).done;){var l=c.value;C0(l,e,t)}}catch(p){s.e(p)}finally{s.f()}return t}}}function Ym(r,e,t,n){for(var u=t.locStart,a=t.locEnd,i=u(e),o=a(e),s=C0(r,t),c,l,p=0,f=s.length;p<f;){var d=p+f>>1,D=s[d],v=u(D),y=a(D);if(v<=i&&o<=y)return Ym(D,e,t,D);if(y<=i)c=D,p=d+1;else{if(!(o<=v))throw new Error("Comment location overlaps with node location");l=D,f=d}}if(n&&n.type==="TemplateLiteral"){var b=n.quasis,S=F0(b,e,t);c&&F0(b,c,t)!==S&&(c=null),l&&F0(b,l,t)!==S&&(l=null)}return{enclosingNode:n,precedingNode:c,followingNode:l}}var A0=function(){return!1},Km=function(e){return!/[\S\n\u2028\u2029]/.test(e)};function Y5(r,e,t,n){var u=t[n],a=u.comment,i=u.precedingNode,o=e.locStart,s=e.locEnd,c=o(a);if(i)for(var l=n-1;l>=0;l--){var p=t[l],f=p.comment,d=p.precedingNode;if(d!==i||!Km(r.slice(s(f),c)))break;c=o(f)}return Oi(r,c,{backwards:!0})}function K5(r,e,t,n){var u=t[n],a=u.comment,i=u.followingNode,o=e.locStart,s=e.locEnd,c=s(a);if(i)for(var l=n+1;l<t.length;l++){var p=t[l],f=p.comment,d=p.followingNode;if(d!==i||!Km(r.slice(c,o(f))))break;c=s(f)}return Oi(r,c)}function Qm(r,e,t){var n=r.length;if(n!==0){var u=r[0],a=u.precedingNode,i=u.followingNode,o=u.enclosingNode,s=t.printer.getGapRegex&&t.printer.getGapRegex(o)||/^[\s(]*$/,c,l=t.locStart(i);for(c=n;c>0;--c){var p=r[c-1],f=p.comment,d=p.precedingNode,D=p.followingNode;Gn.strictEqual(d,a),Gn.strictEqual(D,i);var v=e.slice(t.locEnd(f),l);if(!s.test(v))break;l=t.locStart(f)}var y=le(r.entries()),b;try{for(y.s();!(b=y.n()).done;){var S=ke(b.value,2),F=S[0],x=S[1].comment;F<c?Cs(a,x):Es(i,x)}}catch(O){y.e(O)}finally{y.f()}for(var w=0,A=[a,i];w<A.length;w++){var k=A[w];k.comments&&k.comments.length>1&&k.comments.sort(function(O,q){return t.locStart(O)-t.locStart(q)})}r.length=0}}function b0(r,e){return r.getValue().printed=!0,e.printer.printComment(r,e)}function F0(r,e,t){for(var n=t.locStart(e)-1,u=1;u<r.length;++u)if(n<t.locStart(r[u]))return u-1;return 0}function Zm(r,e,t){var n=r.getValue();if(!n)return{};var u=n.comments||[];t&&(u=u.filter(function(c){return!t.has(c)}));var a=n===e.cursorNode;if(u.length===0){var i=a?v0:"";return{leading:i,trailing:i}}var o=[],s=[];return r.each(function(){var c=r.getValue();if(!(t&&t.has(c))){var l=c.leading,p=c.trailing;l?o.push(function(f,d){var D=f.getValue(),v=[b0(f,d)],y=d.printer,b=d.originalText,S=d.locStart,F=d.locEnd;if(y.isBlockComment&&y.isBlockComment(D)){var x=Oi(b,F(D))?Oi(b,S(D),{backwards:!0})?vu:W5:" ";v.push(x)}else v.push(vu);var w=z5(b,X5(b,F(D)));return w!==!1&&Oi(b,w)&&v.push(vu),v}(r,e)):p&&s.push(function(f,d){var D=f.getValue(),v=b0(f,d),y=d.printer,b=d.originalText,S=d.locStart,F=y.isBlockComment&&y.isBlockComment(D);if(Oi(b,S(D),{backwards:!0})){var x=J5(b,D,S);return Xm([vu,x?vu:"",v])}var w=[" ",v];return F||(w=[Xm(w),G5]),w}(r,e))}},"comments"),a&&(o.unshift(v0),s.push(v0)),{leading:o,trailing:s}}var nr={attach:function(e,t,n,u){if(!!Array.isArray(e)){var a=[],i=u.locStart,o=u.locEnd,s=u.printer.handleComments,c=s===void 0?{}:s,l=c.avoidAstMutation,p=c.ownLine,f=p===void 0?A0:p,d=c.endOfLine,D=d===void 0?A0:d,v=c.remaining,y=v===void 0?A0:v,b=e.map(function(Le,Te){return Object.assign({},Ym(t,Le,u),{comment:Le,text:n,options:u,ast:t,isLastComment:e.length-1===Te})}),S=le(b.entries()),F;try{for(S.s();!(F=S.n()).done;){var x=ke(F.value,2),w=x[0],A=x[1],k=A.comment,O=A.precedingNode,q=A.enclosingNode,H=A.followingNode,R=A.text,$=A.options,K=A.ast,ne=A.isLastComment;if($.parser==="json"||$.parser==="json5"||$.parser==="__js_expression"||$.parser==="__vue_expression"){if(i(k)-i(K)<=0){Es(K,k);continue}if(o(k)-o(K)>=0){Cs(K,k);continue}}var ue=void 0;if(l?ue=[A]:(k.enclosingNode=q,k.precedingNode=O,k.followingNode=H,ue=[k,R,$,K,ne]),Y5(R,$,b,w))k.placement="ownLine",f.apply(void 0,_(ue))||(H?Es(H,k):O?Cs(O,k):y0(q||K,k));else if(K5(R,$,b,w))k.placement="endOfLine",D.apply(void 0,_(ue))||(O?Cs(O,k):H?Es(H,k):y0(q||K,k));else if(k.placement="remaining",!y.apply(void 0,_(ue)))if(O&&H){var Ce=a.length;Ce>0&&a[Ce-1].followingNode!==H&&Qm(a,R,$),a.push(A)}else O?Cs(O,k):H?Es(H,k):y0(q||K,k)}}catch(Le){S.e(Le)}finally{S.f()}if(Qm(a,n,u),!l){var oe=le(e),ae;try{for(oe.s();!(ae=oe.n()).done;){var ye=ae.value;delete ye.precedingNode,delete ye.enclosingNode,delete ye.followingNode}}catch(Le){oe.e(Le)}finally{oe.f()}}}},printComments:function(e,t,n,u){var a=Zm(e,n,u),i=a.leading,o=a.trailing;return i||o?[i,t,o]:t},printCommentsSeparately:Zm,printDanglingComments:function(e,t,n,u){var a=[],i=e.getValue();return i&&i.comments?(e.each(function(){var o=e.getValue();o.leading||o.trailing||u&&!u(o)||a.push(b0(e,t))},"comments"),a.length===0?"":n?Jm(vu,a):H5([vu,Jm(vu,a)])):""},getSortedChildNodes:C0,ensureAllCommentsPrinted:function(e){if(e){var t=le(e),n;try{for(t.s();!(n=t.n()).done;){var u=n.value;if(!u.printed)throw new Error('Comment "'+u.value.trim()+'" was not printed. Please report this error!');delete u.printed}}catch(a){t.e(a)}finally{t.f()}}}};function _m(r,e){var t=ev(r.stack,e);return t===-1?null:r.stack[t]}function ev(r,e){for(var t=r.length-1;t>=0;t-=2){var n=r[t];if(n&&!Array.isArray(n)&&--e<0)return t}return-1}var Q5=function(){function r(e){se(this,r),this.stack=[e]}return ce(r,[{key:"getName",value:function(){var t=this.stack,n=t.length;return n>1?t[n-2]:null}},{key:"getValue",value:function(){return or(this.stack)}},{key:"getNode",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return _m(this,t)}},{key:"getParentNode",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return _m(this,t+1)}},{key:"call",value:function(t){for(var n=this.stack,u=n.length,a=or(n),i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];for(var c=0,l=o;c<l.length;c++){var p=l[c];a=a[p],n.push(p,a)}var f=t(this);return n.length=u,f}},{key:"callParent",value:function(t){var n,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=ev(this.stack,u+1),i=this.stack.splice(a+1),o=t(this);return(n=this.stack).push.apply(n,_(i)),o}},{key:"each",value:function(t){for(var n=this.stack,u=n.length,a=or(n),i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];for(var c=0,l=o;c<l.length;c++){var p=l[c];a=a[p],n.push(p,a)}for(var f=0;f<a.length;++f)n.push(f,a[f]),t(this,f,a),n.length-=2;n.length=u}},{key:"map",value:function(t){for(var n=[],u=arguments.length,a=new Array(u>1?u-1:0),i=1;i<u;i++)a[i-1]=arguments[i];return this.each.apply(this,[function(o,s,c){n[s]=t(o,s,c)}].concat(a)),n}},{key:"try",value:function(t){var n=this.stack,u=_(n);try{return t()}finally{n.length=0,n.push.apply(n,u)}}},{key:"match",value:function(){for(var t=this.stack.length-1,n=null,u=this.stack[t--],a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];for(var s=0,c=i;s<c.length;s++){var l=c[s];if(u===void 0)return!1;var p=null;if(typeof n=="number"&&(p=n,n=this.stack[t--],u=this.stack[t--]),l&&!l(u,n,p))return!1;n=this.stack[t--],u=this.stack[t--]}return!0}},{key:"findAncestor",value:function(t){for(var n=this.stack.length-1,u=null,a=this.stack[n--];a;){var i=null;if(typeof u=="number"&&(i=u,u=this.stack[n--],a=this.stack[n--]),u!==null&&t(a,u,i))return a;u=this.stack[n--],a=this.stack[n--]}}}]),r}(),Z5=de.utils.stripTrailingHardline,_5=Tm.normalize,eT={printSubtree:function(e,t,n,u){if(n.printer.embed&&n.embeddedLanguageFormatting==="auto")return n.printer.embed(e,t,function(a,i,o){return function(s,c,l,p){var f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},d=f.stripTrailingHardline,D=d===void 0?!1:d,v=_5(Object.assign({},l,c,{parentParser:l.parser,originalText:s}),{passThrough:!0}),y=oa.parse(s,v),b=y.ast;s=y.text;var S=b.comments;delete b.comments,nr.attach(S,b,s,v),v[Symbol.for("comments")]=S||[],v[Symbol.for("tokens")]=b.tokens||[];var F=p(b,v);return nr.ensureAllCommentsPrinted(S),D?typeof F=="string"?F.replace(/(?:\r?\n)*$/,""):Z5(F):F}(a,i,n,u,o)},n)}},rv=de.builders,rT=rv.hardline,tT=rv.addAlignmentToDoc,nT=de.utils.propagateBreaks,uT=nr.printComments;function tv(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=e.printer;n.preprocess&&(r=n.preprocess(r,e));var u=new Map,a=new Q5(r),i=o();return t>0&&(i=tT([rT,i],t,e.tabWidth)),nT(i),i;function o(c,l){return c===void 0||c===a?s(l):Array.isArray(c)?a.call.apply(a,[function(){return s(l)}].concat(_(c))):a.call(function(){return s(l)},c)}function s(c){var l=a.getValue(),p=l&&Se(l)=="object"&&c===void 0;if(p&&u.has(l))return u.get(l);var f=function(d,D,v,y){var b=d.getValue(),S=D.printer,F,x;if(S.hasPrettierIgnore&&S.hasPrettierIgnore(d)){var w=function(A,k){var O=k.originalText,q=k[Symbol.for("comments")],H=k.locStart,R=k.locEnd,$=H(A),K=R(A),ne=new Set,ue=le(q),Ce;try{for(ue.s();!(Ce=ue.n()).done;){var oe=Ce.value;H(oe)>=$&&R(oe)<=K&&(oe.printed=!0,ne.add(oe))}}catch(ae){ue.e(ae)}finally{ue.f()}return{doc:O.slice($,K),printedComments:ne}}(b,D);F=w.doc,x=w.printedComments}else{if(b)try{F=eT.printSubtree(d,v,D,tv)}catch(A){if(fe.PRETTIER_DEBUG)throw A}F||(F=S.print(d,D,v,y))}return S.willPrintOwnComments&&S.willPrintOwnComments(d,D)||(F=uT(d,F,D,x)),F}(a,e,o,c);return p&&u.set(l,f),f}}var S0=tv;function nv(r){for(var e=r.length-1;;){var t=r[e];if(!t||t.type!=="Program"&&t.type!=="File")break;e--}return r.slice(0,e+1)}function bl(r,e,t,n){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0,i=t.locStart,o=t.locEnd,s=i(r),c=o(r);if(!(e>c||e<s||a==="rangeEnd"&&e===s||a==="rangeStart"&&e===c)){var l=le(nr.getSortedChildNodes(r,t)),p;try{for(l.s();!(p=l.n()).done;){var f=p.value,d=bl(f,e,t,n,[r].concat(_(u)),a);if(d)return d}}catch(D){l.e(D)}finally{l.f()}return!n||n(r,u[0])?{node:r,parentNodes:u}:void 0}}var uv=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),aT=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function av(r,e,t){if(!e)return!1;switch(r.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"espree":case"meriyah":return function(n,u){return u!=="DeclareExportDeclaration"&&n!=="TypeParameterDeclaration"&&(n==="Directive"||n==="TypeAlias"||n==="TSExportAssignment"||n.startsWith("Declare")||n.startsWith("TSDeclare")||n.endsWith("Statement")||n.endsWith("Declaration"))}(e.type,t&&t.type);case"json":case"json5":case"json-stringify":return uv.has(e.type);case"graphql":return aT.has(e.kind);case"vue":return e.tag!=="root"}return!1}var iv={calculateRange:function(e,t,n){var u=t.rangeStart,a=t.rangeEnd,i=t.locStart,o=t.locEnd;Gn.ok(a>u);var s=e.slice(u,a).search(/\S/),c=s===-1;if(!c)for(u+=s;a>u&&!/\S/.test(e[a-1]);--a);var l=bl(n,u,t,function(y,b){return av(t,y,b)},[],"rangeStart"),p=c?l:bl(n,a,t,function(y){return av(t,y)},[],"rangeEnd");if(!l||!p)return{rangeStart:0,rangeEnd:0};var f,d;if(function(y){var b=y.parser;return b==="json"||b==="json5"||b==="json-stringify"}(t)){var D=function(y,b){var S=[y.node].concat(_(y.parentNodes)),F=new Set([b.node].concat(_(b.parentNodes)));return S.find(function(x){return uv.has(x.type)&&F.has(x)})}(l,p);f=D,d=D}else{var v=function(y,b,S){var F=S.locStart,x=S.locEnd,w=y.node,A=b.node;if(w===A)return{startNode:w,endNode:A};var k=F(y.node),O=le(nv(b.parentNodes)),q;try{for(O.s();!(q=O.n()).done;){var H=q.value;if(!(F(H)>=k))break;A=H}}catch(ue){O.e(ue)}finally{O.f()}var R=x(b.node),$=le(nv(y.parentNodes)),K;try{for($.s();!(K=$.n()).done;){var ne=K.value;if(!(x(ne)<=R))break;w=ne}}catch(ue){$.e(ue)}finally{$.f()}return{startNode:w,endNode:A}}(l,p,t);f=v.startNode,d=v.endNode}return{rangeStart:Math.min(i(f),i(d)),rangeEnd:Math.max(o(f),o(d))}},findNodeAtOffset:bl},T0=de.printer.printDocToString,iT=de.debug.printDocToDebug,oT=X.getAlignmentSize,sT=fu.guessEndOfLine,ov=fu.convertEndOfLineToChars,sv=fu.countEndOfLineChars,cT=fu.normalizeEndOfLine,As=Tm.normalize,cv=Symbol("cursor");function lv(r,e,t){var n=e.comments;return n&&(delete e.comments,nr.attach(n,e,r,t)),t[Symbol.for("comments")]=n||[],t[Symbol.for("tokens")]=e.tokens||[],t.originalText=r,n}function pv(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!r||r.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};var n=oa.parse(r,e),u=n.ast,a=n.text;if(e.cursorOffset>=0){var i=iv.findNodeAtOffset(u,e.cursorOffset,e);i&&i.node&&(e.cursorNode=i.node)}var o=lv(a,u,e),s=S0(u,e,t),c=T0(s,e);if(nr.ensureAllCommentsPrinted(o),t>0){var l=c.formatted.trim();c.cursorNodeStart!==void 0&&(c.cursorNodeStart-=c.formatted.indexOf(l)),c.formatted=l+ov(e.endOfLine)}if(e.cursorOffset>=0){var p,f,d,D,v;if(e.cursorNode&&c.cursorNodeText?(p=e.locStart(e.cursorNode),f=a.slice(p,e.locEnd(e.cursorNode)),d=e.cursorOffset-p,D=c.cursorNodeStart,v=c.cursorNodeText):(p=0,f=a,d=e.cursorOffset,D=0,v=c.formatted),f===v)return{formatted:c.formatted,cursorOffset:D+d,comments:o};var y=f.split("");y.splice(d,0,cv);var b=v.split(""),S=In.diffArrays(y,b),F=D,x=le(S),w;try{for(x.s();!(w=x.n()).done;){var A=w.value;if(A.removed){if(A.value.includes(cv))break}else F+=A.count}}catch(k){x.e(k)}finally{x.f()}return{formatted:c.formatted,cursorOffset:F,comments:o}}return{formatted:c.formatted,cursorOffset:-1,comments:o}}function x0(r,e,t){return typeof e!="number"||Number.isNaN(e)||e<0||e>r.length?t:e}function fv(r,e){var t=e.cursorOffset,n=e.rangeStart,u=e.rangeEnd;return t=x0(r,t,-1),n=x0(r,n,0),u=x0(r,u,r.length),Object.assign({},e,{cursorOffset:t,rangeStart:n,rangeEnd:u})}function dv(r,e){var t=fv(r,e),n=t.cursorOffset,u=t.rangeStart,a=t.rangeEnd,i=t.endOfLine,o=r.charAt(0)==="\uFEFF";if(o&&(r=r.slice(1),n--,u--,a--),i==="auto"&&(i=sT(r)),r.includes("\r")){var s=function(l){return sv(r.slice(0,Math.max(l,0)),`\r
|
|
`)};n-=s(n),u-=s(u),a-=s(a),r=cT(r)}return{hasBOM:o,text:r,options:fv(r,Object.assign({},e,{cursorOffset:n,rangeStart:u,rangeEnd:a,endOfLine:i}))}}function hv(r,e){var t=oa.resolveParser(e);return!t.hasPragma||t.hasPragma(r)}function Dv(r,e){var t,n=dv(r,As(e)),u=n.hasBOM,a=n.text,i=n.options;return i.rangeStart>=i.rangeEnd&&a!==""||i.requirePragma&&!hv(a,i)?{formatted:r,cursorOffset:e.cursorOffset,comments:[]}:(i.rangeStart>0||i.rangeEnd<a.length?t=function(o,s){var c=oa.parse(o,s),l=c.ast,p=c.text,f=iv.calculateRange(p,s,l),d=f.rangeStart,D=f.rangeEnd,v=p.slice(d,D),y=Math.min(d,p.lastIndexOf(`
|
|
`,d)+1),b=p.slice(y,d).match(/^\s*/)[0],S=oT(b,s.tabWidth),F=pv(v,Object.assign({},s,{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:s.cursorOffset>d&&s.cursorOffset<D?s.cursorOffset-d:-1,endOfLine:"lf"}),S),x=F.formatted.trimEnd(),w=s.cursorOffset;w>=D?w+=x.length-v.length:F.cursorOffset>=0&&(w=F.cursorOffset+d);var A=p.slice(0,d)+x+p.slice(D);if(s.endOfLine!=="lf"){var k=ov(s.endOfLine);w>=0&&k===`\r
|
|
`&&(w+=sv(A.slice(0,w),`
|
|
`)),A=A.replace(/\n/g,k)}return{formatted:A,cursorOffset:w,comments:F.comments}}(a,i):(!i.requirePragma&&i.insertPragma&&i.printer.insertPragma&&!hv(a,i)&&(a=i.printer.insertPragma(a)),t=pv(a,i)),u&&(t.formatted="\uFEFF"+t.formatted,t.cursorOffset>=0&&t.cursorOffset++),t)}var Li={formatWithCursor:Dv,parse:function(e,t,n){var u=dv(e,As(t)),a=u.text,i=u.options,o=oa.parse(a,i);return n&&(o.ast=R5(o.ast,i)),o},formatAST:function(e,t){t=As(t);var n=S0(e,t);return T0(n,t)},formatDoc:function(e,t){return Dv(iT(e),Object.assign({},t,{parser:"__js_expression"})).formatted},printToDoc:function(e,t){t=As(t);var n=oa.parse(e,t),u=n.ast,a=n.text;return lv(a,u,t),S0(u,t)},printDocToString:function(e,t){return T0(e,As(t))}},lT=X.getMaxContinuousCount,pT=X.getStringWidth,fT=X.getAlignmentSize,dT=X.getIndentSize,hT=X.skip,DT=X.skipWhitespace,gT=X.skipSpaces,mT=X.skipNewline,vT=X.skipToLineEnd,yT=X.skipEverythingButNewLine,ET=X.skipInlineComment,CT=X.skipTrailingComment,AT=X.hasNewline,bT=X.hasNewlineInRange,FT=X.hasSpaces,ST=X.isNextLineEmpty,TT=X.isNextLineEmptyAfterIndex,xT=X.isPreviousLineEmpty,wT=X.getNextNonSpaceNonCommentCharacterIndex,BT=X.makeString,kT=X.addLeadingComment,NT=X.addDanglingComment,PT=X.addTrailingComment,IT={getMaxContinuousCount:lT,getStringWidth:pT,getAlignmentSize:fT,getIndentSize:dT,skip:hT,skipWhitespace:DT,skipSpaces:gT,skipNewline:mT,skipToLineEnd:vT,skipEverythingButNewLine:yT,skipInlineComment:ET,skipTrailingComment:CT,hasNewline:AT,hasNewlineInRange:bT,hasSpaces:FT,isNextLineEmpty:ST,isNextLineEmptyAfterIndex:TT,isPreviousLineEmpty:xT,getNextNonSpaceNonCommentCharacterIndex:wT,makeString:BT,addLeadingComment:kT,addDanglingComment:NT,addTrailingComment:PT},cr=function(e,t){var n=e.languageId,u=M(e,["languageId"]);return Object.assign({linguistLanguageId:n},u,t(e))},OT=ge(function(r){(function(){function e(n){if(n==null)return!1;switch(n.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 t(n){switch(n.type){case"IfStatement":return n.alternate!=null?n.alternate:n.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return n.body}return null}r.exports={isExpression:function(u){if(u==null)return!1;switch(u.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:e,isIterationStatement:function(u){if(u==null)return!1;switch(u.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(u){return e(u)||u!=null&&u.type==="FunctionDeclaration"},isProblematicIfStatement:function(u){var a;if(u.type!=="IfStatement"||u.alternate==null)return!1;a=u.consequent;do{if(a.type==="IfStatement"&&a.alternate==null)return!0;a=t(a)}while(a);return!1},trailingStatement:t}})()}),gv=ge(function(r){(function(){var e,t,n,u,a,i;function o(s){return s<=65535?String.fromCharCode(s):String.fromCharCode(Math.floor((s-65536)/1024)+55296)+String.fromCharCode((s-65536)%1024+56320)}for(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-\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]/},e={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]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],u=new Array(128),i=0;i<128;++i)u[i]=i>=97&&i<=122||i>=65&&i<=90||i===36||i===95;for(a=new Array(128),i=0;i<128;++i)a[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||i===36||i===95;r.exports={isDecimalDigit:function(c){return 48<=c&&c<=57},isHexDigit:function(c){return 48<=c&&c<=57||97<=c&&c<=102||65<=c&&c<=70},isOctalDigit:function(c){return c>=48&&c<=55},isWhiteSpace:function(c){return c===32||c===9||c===11||c===12||c===160||c>=5760&&n.indexOf(c)>=0},isLineTerminator:function(c){return c===10||c===13||c===8232||c===8233},isIdentifierStartES5:function(c){return c<128?u[c]:t.NonAsciiIdentifierStart.test(o(c))},isIdentifierPartES5:function(c){return c<128?a[c]:t.NonAsciiIdentifierPart.test(o(c))},isIdentifierStartES6:function(c){return c<128?u[c]:e.NonAsciiIdentifierStart.test(o(c))},isIdentifierPartES6:function(c){return c<128?a[c]:e.NonAsciiIdentifierPart.test(o(c))}}})()}),LT=ge(function(r){(function(){var e=gv;function t(s,c){return!(!c&&s==="yield")&&n(s,c)}function n(s,c){if(c&&function(l){switch(l){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(s))return!0;switch(s.length){case 2:return s==="if"||s==="in"||s==="do";case 3:return s==="var"||s==="for"||s==="new"||s==="try";case 4:return s==="this"||s==="else"||s==="case"||s==="void"||s==="with"||s==="enum";case 5:return s==="while"||s==="break"||s==="catch"||s==="throw"||s==="const"||s==="yield"||s==="class"||s==="super";case 6:return s==="return"||s==="typeof"||s==="delete"||s==="switch"||s==="export"||s==="import";case 7:return s==="default"||s==="finally"||s==="extends";case 8:return s==="function"||s==="continue"||s==="debugger";case 10:return s==="instanceof";default:return!1}}function u(s,c){return s==="null"||s==="true"||s==="false"||t(s,c)}function a(s,c){return s==="null"||s==="true"||s==="false"||n(s,c)}function i(s){var c,l,p;if(s.length===0||(p=s.charCodeAt(0),!e.isIdentifierStartES5(p)))return!1;for(c=1,l=s.length;c<l;++c)if(p=s.charCodeAt(c),!e.isIdentifierPartES5(p))return!1;return!0}function o(s){var c,l,p,f,d;if(s.length===0)return!1;for(d=e.isIdentifierStartES6,c=0,l=s.length;c<l;++c){if(55296<=(p=s.charCodeAt(c))&&p<=56319){if(++c>=l||!(56320<=(f=s.charCodeAt(c))&&f<=57343))return!1;p=1024*(p-55296)+(f-56320)+65536}if(!d(p))return!1;d=e.isIdentifierPartES6}return!0}r.exports={isKeywordES5:t,isKeywordES6:n,isReservedWordES5:u,isReservedWordES6:a,isRestrictedWord:function(c){return c==="eval"||c==="arguments"},isIdentifierNameES5:i,isIdentifierNameES6:o,isIdentifierES5:function(c,l){return i(c)&&!u(c,l)},isIdentifierES6:function(c,l){return o(c)&&!a(c,l)}}})()}),RT=ge(function(r,e){e.ast=OT,e.code=gv,e.keyword=LT}).keyword.isIdentifierNameES5,mv=X.getLast,vv=X.hasNewline,MT=X.skipWhitespace,yv=X.isNonEmptyArray,jT=X.isNextLineEmptyAfterIndex,Ev=tr.locStart,w0=tr.locEnd,Cv=tr.hasSameLocStart,Av="(?:(?=.)\\s)",$T=new RegExp("^".concat(Av,"*:")),qT=new RegExp("^".concat(Av,"*::"));function bv(r){return r.type==="AssignmentExpression"||r.type==="BinaryExpression"||r.type==="LogicalExpression"||r.type==="NGPipeExpression"||r.type==="ConditionalExpression"||la(r)||pa(r)||r.type==="SequenceExpression"||r.type==="TaggedTemplateExpression"||r.type==="BindExpression"||r.type==="UpdateExpression"&&!r.prefix||r.type==="TSAsExpression"||r.type==="TSNonNullExpression"}function bs(r){return r.type==="Block"||r.type==="CommentBlock"||r.type==="MultiLine"}function Fv(r){return r.type==="Line"||r.type==="CommentLine"||r.type==="SingleLine"||r.type==="HashbangComment"||r.type==="HTMLOpen"||r.type==="HTMLClose"}var VT=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Sv(r){return r&&VT.has(r.type)}function B0(r){return r.type==="NumericLiteral"||r.type==="Literal"&&typeof r.value=="number"}function k0(r){return r.type==="StringLiteral"||r.type==="Literal"&&typeof r.value=="string"}function Fs(r){return r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}function N0(r){return la(r)&&r.callee.type==="Identifier"&&(r.callee.name==="async"||r.callee.name==="inject"||r.callee.name==="fakeAsync")}function P0(r){return r.type==="JSXElement"||r.type==="JSXFragment"}function Tv(r){return r.kind==="get"||r.kind==="set"}function xv(r){return Tv(r)||Cv(r,r.value)}var UT=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),WT=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]),wv=/^(skip|[fx]?(it|describe|test))$/;function la(r){return r&&(r.type==="CallExpression"||r.type==="OptionalCallExpression")}function pa(r){return r&&(r.type==="MemberExpression"||r.type==="OptionalMemberExpression")}function I0(r,e){return P0(e)?$0(e):Ri(e,Lt.Leading,function(t){return vv(r,w0(t))})}function Bv(r){return/^(\d+|\d+\.\d+)$/.test(r)}function kv(r){return r.quasis.some(function(e){return e.value.raw.includes(`
|
|
`)})}function Nv(r){return r.extra?r.extra.raw:r.raw}var Pv={"==":!0,"!=":!0,"===":!0,"!==":!0},Fl={"*":!0,"/":!0,"%":!0},O0={">>":!0,">>>":!0,"<<":!0},Iv={},Sl=le([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries()),Ov;try{for(Sl.s();!(Ov=Sl.n()).done;){var Lv=ke(Ov.value,2),GT=Lv[0],HT=Lv[1],Tl=le(HT),Rv;try{for(Tl.s();!(Rv=Tl.n()).done;){var zT=Rv.value;Iv[zT]=GT}}catch(r){Tl.e(r)}finally{Tl.f()}}}catch(r){Sl.e(r)}finally{Sl.f()}function L0(r){return Iv[r]}var R0=new WeakMap;function M0(r){if(R0.has(r))return R0.get(r);var e=[];return r.this&&e.push(r.this),Array.isArray(r.parameters)?e.push.apply(e,_(r.parameters)):Array.isArray(r.params)&&e.push.apply(e,_(r.params)),r.rest&&e.push(r.rest),R0.set(r,e),e}var j0=new WeakMap;function Mv(r){return r.value.trim()==="prettier-ignore"&&!r.unignore}function $0(r){return r&&(r.prettierIgnore||Ri(r,Lt.PrettierIgnore))}var Lt={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},jv=function(e,t){if(typeof e=="function"&&(t=e,e=0),e||t)return function(n,u,a){return!(e&Lt.Leading&&!n.leading||e&Lt.Trailing&&!n.trailing||e&Lt.Dangling&&(n.leading||n.trailing)||e&Lt.Block&&!bs(n)||e&Lt.Line&&!Fv(n)||e&Lt.First&&u!==0||e&Lt.Last&&u!==a.length-1||e&Lt.PrettierIgnore&&!Mv(n)||t&&!t(n))}};function Ri(r,e,t){if(!r||!yv(r.comments))return!1;var n=jv(e,t);return!n||r.comments.some(n)}function $v(r,e,t){if(!r||!Array.isArray(r.comments))return[];var n=jv(e,t);return n?r.comments.filter(n):r.comments}function qv(r){return la(r)||r.type==="NewExpression"||r.type==="ImportExpression"}var I={getFunctionParameters:M0,iterateFunctionParametersPath:function(e,t){var n=e.getValue(),u=0,a=function(o){return t(o,u++)};n.this&&e.call(a,"this"),Array.isArray(n.parameters)?e.each(a,"parameters"):Array.isArray(n.params)&&e.each(a,"params"),n.rest&&e.call(a,"rest")},getCallArguments:function(e){if(j0.has(e))return j0.get(e);var t=e.type==="ImportExpression"?[e.source]:e.arguments;return j0.set(e,t),t},iterateCallArgumentsPath:function(e,t){e.getValue().type==="ImportExpression"?e.call(function(n){return t(n,0)},"source"):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;var t=M0(e);return t.length>0&&mv(t).type==="RestElement"},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){var t=e.getParentNode();return e.getName()==="declaration"&&Sv(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return e==="+"?"+"+t:e==="-"?"-"+t:t},hasFlowAnnotationComment:function(e){return e&&bs(e[0])&&qT.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&yv(e.trailingComments)&&bs(e.trailingComments[0])&&$T.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:I0,hasNakedLeftSide:bv,hasNode:function r(e,t){if(!e||Se(e)!="object")return!1;if(Array.isArray(e))return e.some(function(u){return r(u,t)});var n=t(e);return typeof n=="boolean"?n:Object.values(e).some(function(u){return r(u,t)})},hasIgnoreComment:function(e){return $0(e.getValue())},hasNodeIgnoreComment:$0,identity:function(e){return e},isBinaryish:function(e){return UT.has(e.type)},isBlockComment:bs,isCallLikeExpression:qv,isLineComment:Fv,isPrettierIgnoreComment:Mv,isCallExpression:la,isMemberExpression:pa,isExportDeclaration:Sv,isFlowAnnotationComment:function(e,t){var n=Ev(t),u=MT(e,w0(t));return u!==!1&&e.slice(n,n+2)==="/*"&&e.slice(u,u+2)==="*/"},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;var t=0,n=le(e),u;try{for(n.s();!(u=n.n()).done;){var a=u.value;if(Fs(a)){if(t+=1,t>1)return!0}else if(la(a)){var i=le(a.arguments),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(Fs(s))return!0}}catch(c){i.e(c)}finally{i.f()}}}}catch(c){n.e(c)}finally{n.f()}return!1},isFunctionNotation:xv,isFunctionOrArrowExpression:Fs,isGetterOrSetter:Tv,isJestEachTemplateLiteral:function(e,t){var n=/^[fx]?(describe|it|test)$/;return t.type==="TaggedTemplateExpression"&&t.quasi===e&&t.tag.type==="MemberExpression"&&t.tag.property.type==="Identifier"&&t.tag.property.name==="each"&&(t.tag.object.type==="Identifier"&&n.test(t.tag.object.name)||t.tag.object.type==="MemberExpression"&&t.tag.object.property.type==="Identifier"&&(t.tag.object.property.name==="only"||t.tag.object.property.name==="skip")&&t.tag.object.object.type==="Identifier"&&n.test(t.tag.object.object.name))},isJsxNode:P0,isLiteral:function(e){return e.type==="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"},isLongCurriedCallExpression:function(e){var t=e.getValue(),n=e.getParentNode();return la(t)&&la(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function r(e,t){if(t>=2)return!1;var n=function(i){return r(i,t+1)},u=e.type==="Literal"&&"regex"in e&&e.regex.pattern||e.type==="RegExpLiteral"&&e.pattern;return!(u&&u.length>5)&&(e.type==="Literal"||e.type==="BigIntLiteral"||e.type==="DecimalLiteral"||e.type==="BooleanLiteral"||e.type==="NullLiteral"||e.type==="NumericLiteral"||e.type==="RegExpLiteral"||e.type==="StringLiteral"||e.type==="Identifier"||e.type==="ThisExpression"||e.type==="Super"||e.type==="PrivateName"||e.type==="PrivateIdentifier"||e.type==="ArgumentPlaceholder"||e.type==="Import"||(e.type==="TemplateLiteral"?e.quasis.every(function(a){return!a.value.raw.includes(`
|
|
`)})&&e.expressions.every(n):e.type==="ObjectExpression"?e.properties.every(function(a){return!a.computed&&(a.shorthand||a.value&&n(a.value))}):e.type==="ArrayExpression"?e.elements.every(function(a){return a===null||n(a)}):e.type==="ImportExpression"?n(e.source):qv(e)?r(e.callee,t)&&e.arguments.every(n):pa(e)?r(e.object,t)&&r(e.property,t):e.type!=="UnaryExpression"||e.operator!=="!"&&e.operator!=="-"?e.type==="TSNonNullExpression"&&r(e.expression,t):r(e.argument,t)))},isMemberish:function(e){return pa(e)||e.type==="BindExpression"&&Boolean(e.object)},isNumericLiteral:B0,isSignedNumericLiteral:function(e){return e.type==="UnaryExpression"&&(e.operator==="+"||e.operator==="-")&&B0(e.argument)},isObjectType:function(e){return e.type==="ObjectTypeAnnotation"||e.type==="TSTypeLiteral"},isObjectTypePropertyAFunction:function(e){return!(e.type!=="ObjectTypeProperty"&&e.type!=="ObjectTypeInternalSlot"||e.value.type!=="FunctionTypeAnnotation"||e.static||xv(e))},isSimpleType:function(e){return!!e&&(!(e.type!=="GenericTypeAnnotation"&&e.type!=="TSTypeReference"||e.typeParameters)||!!WT.has(e.type))},isSimpleNumber:Bv,isSimpleTemplateLiteral:function(e){var t="expressions";e.type==="TSTemplateLiteralType"&&(t="types");var n=e[t];return n.length!==0&&n.every(function(u){if(Ri(u))return!1;if(u.type==="Identifier"||u.type==="ThisExpression")return!0;if(pa(u)){for(var a=u;pa(a);)if(a.property.type!=="Identifier"&&a.property.type!=="Literal"&&a.property.type!=="StringLiteral"&&a.property.type!=="NumericLiteral"||(a=a.object,Ri(a)))return!1;return a.type==="Identifier"||a.type==="ThisExpression"}return!1})},isStringLiteral:k0,isStringPropSafeToUnquote:function(e,t){return t.parser!=="json"&&k0(e.key)&&Nv(e.key).slice(1,-1)===e.key.value&&(RT(e.key.value)&&!((t.parser==="typescript"||t.parser==="babel-ts")&&e.type==="ClassProperty")||Bv(e.key.value)&&String(Number(e.key.value))===e.key.value&&(t.parser==="babel"||t.parser==="espree"||t.parser==="meriyah"))},isTemplateOnItsOwnLine:function(e,t){return(e.type==="TemplateLiteral"&&kv(e)||e.type==="TaggedTemplateExpression"&&kv(e.quasi))&&!vv(t,Ev(e),{backwards:!0})},isTestCall:function r(e,t){if(e.type!=="CallExpression")return!1;if(e.arguments.length===1){if(N0(e)&&t&&r(t))return Fs(e.arguments[0]);if(function(n){return n.callee.type==="Identifier"&&/^(before|after)(Each|All)$/.test(n.callee.name)&&n.arguments.length===1}(e))return N0(e.arguments[0])}else if((e.arguments.length===2||e.arguments.length===3)&&(e.callee.type==="Identifier"&&wv.test(e.callee.name)||function(n){return pa(n.callee)&&n.callee.object.type==="Identifier"&&n.callee.property.type==="Identifier"&&wv.test(n.callee.object.name)&&(n.callee.property.name==="only"||n.callee.property.name==="skip")}(e))&&(function(n){return n.type==="TemplateLiteral"}(e.arguments[0])||k0(e.arguments[0])))return!(e.arguments[2]&&!B0(e.arguments[2]))&&((e.arguments.length===2?Fs(e.arguments[1]):function(n){return n.type==="FunctionExpression"||n.type==="ArrowFunctionExpression"&&n.body.type==="BlockStatement"}(e.arguments[1])&&M0(e.arguments[1]).length<=1)||N0(e.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if(e.parentParser!=="markdown"&&e.parentParser!=="mdx")return!1;var n=t.getNode();if(!n.expression||!P0(n.expression))return!1;var u=t.getParentNode();return u.type==="Program"&&u.body.length===1},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!(e.type!=="TypeAnnotation"&&e.type!=="TSTypeAnnotation"||e.typeAnnotation.type!=="FunctionTypeAnnotation"||e.static||Cv(e,e.typeAnnotation))},isNextLineEmpty:function(e,t){var n=t.originalText;return jT(n,w0(e))},needsHardlineAfterDanglingComment:function(e){if(!Ri(e))return!1;var t=mv($v(e,Lt.Dangling));return t&&!bs(t)},rawText:Nv,returnArgumentHasLeadingComment:function(e,t){if(I0(e.originalText,t))return!0;if(bv(t)){for(var n,u=t;n=(a=u).expressions?a.expressions[0]:a.left||a.test||a.callee||a.object||a.tag||a.argument||a.expression;)if(u=n,I0(e.originalText,u))return!0}var a;return!1},shouldPrintComma:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return e.trailingComma==="es5"&&t==="es5"||e.trailingComma==="all"&&(t==="all"||t==="es5")},isBitwiseOperator:function(e){return Boolean(O0[e])||e==="|"||e==="^"||e==="&"},shouldFlatten:function(e,t){return L0(t)===L0(e)&&e!=="**"&&(!Pv[e]||!Pv[t])&&!(t==="%"&&Fl[e]||e==="%"&&Fl[t])&&(t===e||!Fl[t]||!Fl[e])&&(!O0[e]||!O0[t])},startsWithNoLookaheadToken:function r(e,t){switch((e=function(n){for(;n.left;)n=n.left;return n}(e)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return t;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return r(e.object,t);case"TaggedTemplateExpression":return e.tag.type!=="FunctionExpression"&&r(e.tag,t);case"CallExpression":case"OptionalCallExpression":return e.callee.type!=="FunctionExpression"&&r(e.callee,t);case"ConditionalExpression":return r(e.test,t);case"UpdateExpression":return!e.prefix&&r(e.argument,t);case"BindExpression":return e.object&&r(e.object,t);case"SequenceExpression":return r(e.expressions[0],t);case"TSAsExpression":case"TSNonNullExpression":return r(e.expression,t);default:return!1}},getPrecedence:L0,hasComment:Ri,getComments:$v,CommentCheckFlags:Lt},Vv=X.getStringWidth,XT=X.getIndentSize,yu=de.builders,Uv=yu.join,q0=yu.hardline,xl=yu.softline,Wv=yu.group,V0=yu.indent,JT=yu.align,wl=yu.lineSuffixBoundary,YT=yu.addAlignmentToDoc,Gv=de.printer.printDocToString,KT=de.utils.mapDoc,QT=I.isBinaryish,ZT=I.isJestEachTemplateLiteral,_T=I.isSimpleTemplateLiteral,Hv=I.hasComment,ex=I.isMemberExpression;function zv(r){return r.replace(/([\\`]|\${)/g,"\\$1")}var Eu={printTemplateLiteral:function(e,t,n){var u=e.getValue();if(u.type==="TemplateLiteral"&&ZT(u,e.getParentNode())){var a=function(l,p,f){var d=l.getNode(),D=d.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(D.length>1||D.some(function(oe){return oe.length>0})){p.__inJestEach=!0;var v=l.map(f,"expressions");p.__inJestEach=!1;for(var y=[],b=v.map(function(oe){return"${"+Gv(oe,Object.assign({},p,{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"}),S=[{hasLineBreak:!1,cells:[]}],F=1;F<d.quasis.length;F++){var x=or(S),w=b[F-1];x.cells.push(w),w.includes(`
|
|
`)&&(x.hasLineBreak=!0),d.quasis[F].value.raw.includes(`
|
|
`)&&S.push({hasLineBreak:!1,cells:[]})}var A=Math.max.apply(Math,[D.length].concat(_(S.map(function(oe){return oe.cells.length})))),k=Array.from({length:A}).fill(0),O=[{cells:D}].concat(_(S.filter(function(oe){return oe.cells.length>0}))),q=le(O.filter(function(oe){return!oe.hasLineBreak})),H;try{for(q.s();!(H=q.n()).done;){var R=H.value.cells,$=le(R.entries()),K;try{for($.s();!(K=$.n()).done;){var ne=ke(K.value,2),ue=ne[0],Ce=ne[1];k[ue]=Math.max(k[ue],Vv(Ce))}}catch(oe){$.e(oe)}finally{$.f()}}}catch(oe){q.e(oe)}finally{q.f()}return y.push(wl,"`",V0([q0,Uv(q0,O.map(function(oe){return Uv(" | ",oe.cells.map(function(ae,ye){return oe.hasLineBreak?ae:ae+" ".repeat(k[ye]-Vv(ae))}))}))]),q0,"`"),y}}(e,n,t);if(a)return a}var i="expressions";u.type==="TSTemplateLiteralType"&&(i="types");var o=[],s=e.map(t,i),c=_T(u);return c&&(s=s.map(function(l){return Gv(l,Object.assign({},n,{printWidth:Number.POSITIVE_INFINITY})).formatted})),o.push(wl,"`"),e.each(function(l){var p=l.getName();if(o.push(t()),p<s.length){var f=n.tabWidth,d=l.getValue(),D=XT(d.value.raw,f),v=s[p];if(!c){var y=u[i][p];(Hv(y)||ex(y)||y.type==="ConditionalExpression"||y.type==="SequenceExpression"||y.type==="TSAsExpression"||QT(y))&&(v=[V0([xl,v]),xl])}var b=D===0&&d.value.raw.endsWith(`
|
|
`)?JT(Number.NEGATIVE_INFINITY,v):YT(v,D,f);o.push(Wv(["${",b,wl,"}"]))}},"quasis"),o.push("`"),o},printTemplateExpressions:function(e,t){return e.map(function(n){return function(u,a){var i=u.getValue(),o=a();return Hv(i)&&(o=Wv([V0([xl,o]),xl])),["${",o,wl,"}"]}(n,t)},"expressions")},escapeTemplateCharacters:function(e,t){return KT(e,function(n){return typeof n=="string"?t?n.replace(/(\\*)`/g,"$1$1\\`"):zv(n):n})},uncookTemplateElementValue:zv},Bl=de.builders,rx=Bl.indent,Xv=Bl.softline,tx=Bl.literalline,nx=Bl.dedentToRoot,ux=Eu.escapeTemplateCharacters,ax=function(e,t,n){var u=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,function(s,c){return"\\".repeat(c.length/2)+"`"}),a=function(s){var c=s.match(/^([^\S\n]*)\S/m);return c===null?"":c[1]}(u),i=a!=="";i&&(u=u.replace(new RegExp("^".concat(a),"gm"),""));var o=ux(n(u,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",i?rx([Xv,o]):[tx,nx(o)],Xv,"`"]},ix=X.isNonEmptyArray,U0=de.builders,ox=U0.indent,sx=U0.hardline,cx=U0.softline,W0=de.utils,lx=W0.mapDoc,px=W0.replaceNewlinesWithLiterallines,fx=W0.cleanDoc,dx=Eu.printTemplateExpressions,hx=function(e,t,n){var u=e.getValue(),a=u.quasis.map(function(o){return o.value.raw}),i=0;return function(o,s,c){if(s.quasis.length===1&&!s.quasis[0].value.raw.trim())return"``";var l=function(p,f){if(!ix(f))return p;var d=0,D=lx(fx(p),function(v){return typeof v=="string"&&v.includes("@prettier-placeholder")?v.split(/@prettier-placeholder-(\d+)-id/).map(function(y,b){return b%2==0?px(y):(d++,f[y])}):v});return f.length===d?D:null}(o,c);if(!l)throw new Error("Couldn't insert all the expressions");return["`",ox([sx,l]),cx,"`"]}(n(a.reduce(function(o,s,c){return c===0?s:o+"@prettier-placeholder-"+i+++"-id"+s},""),{parser:"scss"},{stripTrailingHardline:!0}),u,dx(e,t))},G0=de.builders,Dx=G0.indent,Jv=G0.join,Ss=G0.hardline,gx=Eu.escapeTemplateCharacters,mx=Eu.printTemplateExpressions;function vx(r){var e=[],t=!1,n=r.map(function(c){return c.trim()}),u=le(n.entries()),a;try{for(u.s();!(a=u.n()).done;){var i=ke(a.value,2),o=i[0],s=i[1];s!==""&&(n[o-1]===""&&t?e.push([Ss,s]):e.push(s),t=!0)}}catch(c){u.e(c)}finally{u.f()}return e.length===0?null:Jv(Ss,e)}var yx=function(e,t,n){var u=e.getValue(),a=u.quasis.length;if(a===1&&u.quasis[0].value.raw.trim()==="")return"``";for(var i=mx(e,t),o=[],s=0;s<a;s++){var c=s===0,l=s===a-1,p=u.quasis[s].value.cooked,f=p.split(`
|
|
`),d=f.length,D=i[s],v=d>2&&f[0].trim()===""&&f[1].trim()==="",y=d>2&&f[d-1].trim()===""&&f[d-2].trim()==="",b=f.every(function(F){return/^\s*(?:#[^\n\r]*)?$/.test(F)});if(!l&&/#[^\n\r]*$/.test(f[d-1]))return null;var S=null;S=b?vx(f):n(p,{parser:"graphql"},{stripTrailingHardline:!0}),S?(S=gx(S,!1),!c&&v&&o.push(""),o.push(S),!l&&y&&o.push("")):c||l||!v||o.push(""),D&&o.push(D)}return["`",Dx([Ss,Jv(Ss,o)]),Ss,"`"]},kl=de.builders,Yv=kl.indent,Ex=kl.line,Cx=kl.hardline,Nl=kl.group,Ax=de.utils.mapDoc,bx=Eu.printTemplateExpressions,Fx=Eu.uncookTemplateElementValue,H0=0,Sx=function(e,t,n,u,a){var i=a.parser,o=e.getValue(),s=H0;H0=H0+1>>>0;var c=function(x){return"PRETTIER_HTML_PLACEHOLDER_".concat(x,"_").concat(s,"_IN_JS")},l=o.quasis.map(function(F,x,w){return x===w.length-1?F.value.cooked:F.value.cooked+c(x)}).join(""),p=bx(e,t);if(p.length===0&&l.trim().length===0)return"``";var f=new RegExp(c("(\\d+)"),"g"),d=0,D=n(l,{parser:i,__onHtmlRoot:function(x){d=x.children.length}},{stripTrailingHardline:!0}),v=Ax(D,function(F){if(typeof F!="string")return F;for(var x=[],w=F.split(f),A=0;A<w.length;A++){var k=w[A];if(A%2==0){k&&(k=Fx(k),u.__embeddedInHtml&&(k=k.replace(/<\/(script)\b/gi,"<\\/$1")),x.push(k));continue}var O=Number(k);x.push(p[O])}return x}),y=/^\s/.test(l)?" ":"",b=/\s$/.test(l)?" ":"",S=u.htmlWhitespaceSensitivity==="ignore"?Cx:y&&b?Ex:null;return Nl(S?["`",Yv([S,Nl(v)]),S,"`"]:["`",y,d>1?Yv(Nl(v)):Nl(v),b,"`"])},Tx=I.hasComment,Kv=I.CommentCheckFlags;function xx(r){return function(e){var t=e.getValue(),n=e.getParentNode(),u=e.getParentNode(1);return u&&t.quasis&&n.type==="JSXExpressionContainer"&&u.type==="JSXElement"&&u.openingElement.name.name==="style"&&u.openingElement.attributes.some(function(a){return a.name.name==="jsx"})||n&&n.type==="TaggedTemplateExpression"&&n.tag.type==="Identifier"&&n.tag.name==="css"||n&&n.type==="TaggedTemplateExpression"&&n.tag.type==="MemberExpression"&&n.tag.object.name==="css"&&(n.tag.property.name==="global"||n.tag.property.name==="resolve")}(r)||function(e){var t=e.getParentNode();if(!t||t.type!=="TaggedTemplateExpression")return!1;var n=t.tag;switch(n.type){case"MemberExpression":return Pl(n.object)||Zv(n);case"CallExpression":return Pl(n.callee)||n.callee.type==="MemberExpression"&&(n.callee.object.type==="MemberExpression"&&(Pl(n.callee.object.object)||Zv(n.callee.object))||n.callee.object.type==="CallExpression"&&Pl(n.callee.object.callee));case"Identifier":return n.name==="css";default:return!1}}(r)||function(e){var t=e.getParentNode(),n=e.getParentNode(1);return n&&t.type==="JSXExpressionContainer"&&n.type==="JSXAttribute"&&n.name.type==="JSXIdentifier"&&n.name.name==="css"}(r)||function(e){return e.match.apply(e,[function(t){return t.type==="TemplateLiteral"},function(t,n){return t.type==="ArrayExpression"&&n==="elements"},function(t,n){return(t.type==="Property"||t.type==="ObjectProperty")&&t.key.type==="Identifier"&&t.key.name==="styles"&&n==="value"}].concat(Qv))}(r)?"css":function(e){var t=e.getValue(),n=e.getParentNode();return _v(t,"GraphQL")||n&&(n.type==="TaggedTemplateExpression"&&(n.tag.type==="MemberExpression"&&n.tag.object.name==="graphql"&&n.tag.property.name==="experimental"||n.tag.type==="Identifier"&&(n.tag.name==="gql"||n.tag.name==="graphql"))||n.type==="CallExpression"&&n.callee.type==="Identifier"&&n.callee.name==="graphql")}(r)?"graphql":function(e){return _v(e.getValue(),"HTML")||e.match(function(t){return t.type==="TemplateLiteral"},function(t,n){return t.type==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="html"&&n==="quasi"})}(r)?"html":function(e){return e.match.apply(e,[function(t){return t.type==="TemplateLiteral"},function(t,n){return(t.type==="Property"||t.type==="ObjectProperty")&&t.key.type==="Identifier"&&t.key.name==="template"&&n==="value"}].concat(Qv))}(r)?"angular":function(e){var t=e.getValue(),n=e.getParentNode();return n&&n.type==="TaggedTemplateExpression"&&t.quasis.length===1&&n.tag.type==="Identifier"&&(n.tag.name==="md"||n.tag.name==="markdown")}(r)?"markdown":void 0}var Qv=[function(r,e){return r.type==="ObjectExpression"&&e==="properties"},function(r,e){return r.type==="CallExpression"&&r.callee.type==="Identifier"&&r.callee.name==="Component"&&e==="arguments"},function(r,e){return r.type==="Decorator"&&e==="expression"}];function Pl(r){return r.type==="Identifier"&&r.name==="styled"}function Zv(r){return/^[A-Z]/.test(r.object.name)&&r.property.name==="extend"}function _v(r,e){return Tx(r,Kv.Block|Kv.Leading,function(t){var n=t.value;return n===" ".concat(e," ")})}var wx=function(e,t,n,u){var a=e.getValue();if(!(a.type!=="TemplateLiteral"||function(o){var s=o.quasis;return s.some(function(c){var l=c.value.cooked;return l===null})}(a))){var i=xx(e);return i?i==="markdown"?ax(e,t,n):i==="css"?hx(e,t,n):i==="graphql"?yx(e,t,n):i==="html"||i==="angular"?Sx(e,t,n,u,{parser:i}):void 0:void 0}},Bx=I.isBlockComment,kx=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Mi=function(e){var t=le(e.quasis),n;try{for(t.s();!(n=t.n()).done;){var u=n.value;delete u.value}}catch(a){t.e(a)}finally{t.f()}};function ey(r,e,t){if(r.type==="Program"&&delete e.sourceType,r.type!=="BigIntLiteral"&&r.type!=="BigIntLiteralTypeAnnotation"||e.value&&(e.value=e.value.toLowerCase()),r.type!=="BigIntLiteral"&&r.type!=="Literal"||e.bigint&&(e.bigint=e.bigint.toLowerCase()),r.type==="DecimalLiteral"&&(e.value=Number(e.value)),r.type==="EmptyStatement"||r.type==="JSXText"||r.type==="JSXExpressionContainer"&&(r.expression.type==="Literal"||r.expression.type==="StringLiteral")&&r.expression.value===" ")return null;if(r.type!=="Property"&&r.type!=="ObjectProperty"&&r.type!=="MethodDefinition"&&r.type!=="ClassProperty"&&r.type!=="ClassMethod"&&r.type!=="PropertyDefinition"&&r.type!=="TSDeclareMethod"&&r.type!=="TSPropertySignature"&&r.type!=="ObjectTypeProperty"||Se(r.key)!="object"||!r.key||r.key.type!=="Literal"&&r.key.type!=="NumericLiteral"&&r.key.type!=="StringLiteral"&&r.key.type!=="Identifier"||delete e.key,r.type==="JSXElement"&&r.openingElement.name.name==="style"&&r.openingElement.attributes.some(function(v){return v.name.name==="jsx"})){var n=le(e.children),u;try{for(n.s();!(u=n.n()).done;){var a=u.value,i=a.type,o=a.expression;i==="JSXExpressionContainer"&&o.type==="TemplateLiteral"&&Mi(o)}}catch(v){n.e(v)}finally{n.f()}}r.type==="JSXAttribute"&&r.name.name==="css"&&r.value.type==="JSXExpressionContainer"&&r.value.expression.type==="TemplateLiteral"&&Mi(e.value.expression),r.type==="JSXAttribute"&&r.value&&r.value.type==="Literal"&&/["']|"|'/.test(r.value.value)&&(e.value.value=e.value.value.replace(/["']|"|'/g,'"'));var s=r.expression||r.callee;if(r.type==="Decorator"&&s.type==="CallExpression"&&s.callee.name==="Component"&&s.arguments.length===1){var c=r.expression.arguments[0].properties,l=le(e.expression.arguments[0].properties.entries()),p;try{for(l.s();!(p=l.n()).done;){var f=ke(p.value,2),d=f[0],D=f[1];switch(c[d].key.name){case"styles":D.value.type==="ArrayExpression"&&Mi(D.value.elements[0]);break;case"template":D.value.type==="TemplateLiteral"&&Mi(D.value)}}}catch(v){l.e(v)}finally{l.f()}}return r.type!=="TaggedTemplateExpression"||r.tag.type!=="MemberExpression"&&(r.tag.type!=="Identifier"||r.tag.name!=="gql"&&r.tag.name!=="graphql"&&r.tag.name!=="css"&&r.tag.name!=="md"&&r.tag.name!=="markdown"&&r.tag.name!=="html")&&r.tag.type!=="CallExpression"||Mi(e.quasi),r.type==="TemplateLiteral"&&(r.leadingComments&&r.leadingComments.some(function(v){return Bx(v)&&["GraphQL","HTML"].some(function(y){return v.value===" ".concat(y," ")})})||t.type==="CallExpression"&&t.callee.name==="graphql"||!r.leadingComments)&&Mi(e),r.type==="InterpreterDirective"&&(e.value=e.value.trimEnd()),r.type!=="TSIntersectionType"&&r.type!=="TSUnionType"||r.types.length!==1?void 0:e.types[0]}ey.ignoredProperties=kx;var Nx=ey,ry=function(e){if(typeof e!="string")throw new TypeError("Expected a string");var t=e.match(/(?:\r?\n)/g)||[];if(t.length!==0){var n=t.filter(function(u){return u===`\r
|
|
`}).length;return n>t.length-n?`\r
|
|
`:`
|
|
`}},ty=ry;ty.graceful=function(r){return typeof r=="string"&&ry(r)||`
|
|
`};var Px=function(e){var t=e.match(ny);return t?t[0].trimLeft():""},Ix=function(e){var t=e.match(ny);return t&&t[0]?e.substring(t[0].length):e},Ox=function(e){return oy(e).pragmas},Lx=oy,Rx=function(e){var t=e.comments,n=t===void 0?"":t,u=e.pragmas,a=u===void 0?{}:u,i=(0,X0().default)(n)||z0().EOL,o=" *",s=Object.keys(a),c=s.map(function(f){return sy(f,a[f])}).reduce(function(f,d){return f.concat(d)},[]).map(function(f){return" * "+f+i}).join("");if(!n){if(s.length===0)return"";if(s.length===1&&!Array.isArray(a[s[0]])){var l=a[s[0]];return"".concat("/**"," ").concat(sy(s[0],l)[0]).concat(" */")}}var p=n.split(i).map(function(f){return"".concat(o," ").concat(f)}).join(i)+i;return"/**"+i+(n?p:"")+(n&&s.length?o+i:"")+c+" */"};function z0(){var r=YF;return z0=function(){return r},r}function X0(){var r=function(e){return e&&e.__esModule?e:{default:e}}(ty);return X0=function(){return r},r}var Mx=/\*\/$/,jx=/^\/\*\*/,ny=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,$x=/(^|\s+)\/\/([^\r\n]*)/g,uy=/^(\r?\n)+/,qx=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,ay=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Vx=/(\r?\n|^) *\* ?/g,iy=[];function oy(r){var e=(0,X0().default)(r)||z0().EOL;r=r.replace(jx,"").replace(Mx,"").replace(Vx,"$1");for(var t="";t!==r;)t=r,r=r.replace(qx,"".concat(e,"$1 $2").concat(e));r=r.replace(uy,"").trimRight();for(var n=Object.create(null),u=r.replace(ay,"").replace(uy,"").trimRight(),a;a=ay.exec(r);){var i=a[2].replace($x,"");typeof n[a[1]]=="string"||Array.isArray(n[a[1]])?n[a[1]]=iy.concat(n[a[1]],i):n[a[1]]=i}return{comments:u,pragmas:n}}function sy(r,e){return iy.concat(e).map(function(t){return"@".concat(r," ").concat(t).trim()})}var Il=Object.defineProperty({extract:Px,strip:Ix,parse:Ox,parseWithComments:Lx,print:Rx},"__esModule",{value:!0}),Ux=Il.parseWithComments,Wx=Il.strip,Gx=Il.extract,Hx=Il.print,zx=X.getShebang,Xx=fu.normalizeEndOfLine;function cy(r){var e=zx(r);e&&(r=r.slice(e.length+1));var t=Gx(r),n=Ux(t),u=n.pragmas,a=n.comments;return{shebang:e,text:r,pragmas:u,comments:a}}var J0={hasPragma:function(e){var t=Object.keys(cy(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){var t=cy(e),n=t.shebang,u=t.text,a=t.pragmas,i=t.comments,o=Wx(u),s=Hx({pragmas:Object.assign({format:""},a),comments:i.trimStart()});return(n?"".concat(n,`
|
|
`):"")+Xx(s)+(o.startsWith(`
|
|
`)?`
|
|
`:`
|
|
|
|
`)+o}},ly=X.getLast,Jx=X.hasNewline,Y0=X.getNextNonSpaceNonCommentCharacterIndexWithStartIndex,fa=X.getNextNonSpaceNonCommentCharacter,Yx=X.hasNewlineInRange,kr=X.addLeadingComment,zr=X.addTrailingComment,Hn=X.addDanglingComment,Kx=X.getNextNonSpaceNonCommentCharacterIndex,py=X.isNonEmptyArray,fy=I.isBlockComment,Ol=I.getFunctionParameters,K0=I.isPrettierIgnoreComment,Qx=I.isJsxNode,Zx=I.hasFlowShorthandAnnotationComment,dy=I.hasFlowAnnotationComment,_x=I.hasIgnoreComment,ew=I.isCallLikeExpression,rw=I.getCallArguments,hy=I.isCallExpression,tw=I.isMemberExpression,Dy=tr.locStart,Rt=tr.locEnd;function ji(r,e){var t=(r.body||r.properties).find(function(n){var u=n.type;return u!=="EmptyStatement"});t?kr(t,e):Hn(r,e)}function Q0(r,e){r.type==="BlockStatement"?ji(r,e):kr(r,e)}function nw(r){var e=r.comment,t=r.followingNode;return!(!t||!Fy(e))&&(kr(t,e),!0)}function Z0(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode,u=r.followingNode,a=r.text;return!n||n.type!=="IfStatement"||!u?!1:fa(a,e,Rt)===")"?(zr(t,e),!0):t===n.consequent&&u===n.alternate?(t.type==="BlockStatement"?zr(t,e):Hn(n,e),!0):u.type==="BlockStatement"?(ji(u,e),!0):u.type==="IfStatement"?(Q0(u.consequent,e),!0):n.consequent===u&&(kr(u,e),!0)}function _0(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode,u=r.followingNode,a=r.text;return!n||n.type!=="WhileStatement"||!u?!1:fa(a,e,Rt)===")"?(zr(t,e),!0):u.type==="BlockStatement"?(ji(u,e),!0):n.body===u&&(kr(u,e),!0)}function gy(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode,u=r.followingNode;return!(!n||n.type!=="TryStatement"&&n.type!=="CatchClause"||!u)&&(n.type==="CatchClause"&&t?(zr(t,e),!0):u.type==="BlockStatement"?(ji(u,e),!0):u.type==="TryStatement"?(Q0(u.finalizer,e),!0):u.type==="CatchClause"&&(Q0(u.body,e),!0))}function uw(r){var e=r.comment,t=r.enclosingNode,n=r.followingNode;return!(!tw(t)||!n||n.type!=="Identifier")&&(kr(t,e),!0)}function aw(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode,u=r.followingNode,a=r.text,i=t&&!Yx(a,Rt(t),Dy(e));return!(t&&i||!n||n.type!=="ConditionalExpression"&&n.type!=="TSConditionalType"||!u)&&(kr(u,e),!0)}function iw(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode;return!(!n||n.type!=="ObjectProperty"&&n.type!=="Property"||!n.shorthand||n.key!==t||n.value.type!=="AssignmentPattern")&&(zr(n.value.left,e),!0)}function my(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode,u=r.followingNode;if(n&&(n.type==="ClassDeclaration"||n.type==="ClassExpression"||n.type==="DeclareClass"||n.type==="DeclareInterface"||n.type==="InterfaceDeclaration"||n.type==="TSInterfaceDeclaration")){if(py(n.decorators)&&(!u||u.type!=="Decorator"))return zr(ly(n.decorators),e),!0;if(n.body&&u===n.body)return ji(n.body,e),!0;if(u)for(var a=0,i=["implements","extends","mixins"];a<i.length;a++){var o=i[a];if(n[o]&&u===n[o][0])return!t||t!==n.id&&t!==n.typeParameters&&t!==n.superClass?Hn(n,e,o):zr(t,e),!0}}return!1}function vy(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode,u=r.text;return(n&&t&&(n.type==="Property"||n.type==="TSDeclareMethod"||n.type==="TSAbstractMethodDefinition")&&t.type==="Identifier"&&n.key===t&&fa(u,t,Rt)!==":"||!(!t||!n||t.type!=="Decorator"||n.type!=="ClassMethod"&&n.type!=="ClassProperty"&&n.type!=="PropertyDefinition"&&n.type!=="TSAbstractClassProperty"&&n.type!=="TSAbstractMethodDefinition"&&n.type!=="TSDeclareMethod"&&n.type!=="MethodDefinition"))&&(zr(t,e),!0)}function ow(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode,u=r.text;return fa(u,e,Rt)==="("&&!(!t||!n||n.type!=="FunctionDeclaration"&&n.type!=="FunctionExpression"&&n.type!=="ClassMethod"&&n.type!=="MethodDefinition"&&n.type!=="ObjectMethod")&&(zr(t,e),!0)}function sw(r){var e=r.comment,t=r.enclosingNode,n=r.text;if(!t||t.type!=="ArrowFunctionExpression")return!1;var u=Kx(n,e,Rt);return u!==!1&&n.slice(u,u+2)==="=>"&&(Hn(t,e),!0)}function cw(r){var e=r.comment,t=r.enclosingNode,n=r.text;return fa(n,e,Rt)===")"&&(t&&(by(t)&&Ol(t).length===0||ew(t)&&rw(t).length===0)?(Hn(t,e),!0):!(!t||t.type!=="MethodDefinition"&&t.type!=="TSAbstractMethodDefinition"||Ol(t.value).length!==0)&&(Hn(t.value,e),!0))}function yy(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode,u=r.followingNode,a=r.text;if(t&&t.type==="FunctionTypeParam"&&n&&n.type==="FunctionTypeAnnotation"&&u&&u.type!=="FunctionTypeParam"||t&&(t.type==="Identifier"||t.type==="AssignmentPattern")&&n&&by(n)&&fa(a,e,Rt)===")")return zr(t,e),!0;if(n&&n.type==="FunctionDeclaration"&&u&&u.type==="BlockStatement"){var i=function(){var o=Ol(n);if(o.length>0)return Y0(a,Rt(ly(o)));var s=Y0(a,Rt(n.id));return s!==!1&&Y0(a,s+1)}();if(Dy(e)>i)return ji(u,e),!0}return!1}function Ey(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="ImportSpecifier")&&(kr(t,e),!0)}function Cy(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="LabeledStatement")&&(kr(t,e),!0)}function lw(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="ContinueStatement"&&t.type!=="BreakStatement"||t.label)&&(zr(t,e),!0)}function pw(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode;return!!(hy(n)&&t&&n.callee===t&&n.arguments.length>0)&&(kr(n.arguments[0],e),!0)}function fw(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode,u=r.followingNode;return!n||n.type!=="UnionTypeAnnotation"&&n.type!=="TSUnionType"?(u&&(u.type==="UnionTypeAnnotation"||u.type==="TSUnionType")&&K0(e)&&(u.types[0].prettierIgnore=!0,e.unignore=!0),!1):(K0(e)&&(u.prettierIgnore=!0,e.unignore=!0),!!t&&(zr(t,e),!0))}function dw(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="Property"&&t.type!=="ObjectProperty")&&(kr(t,e),!0)}function ed(r){var e=r.comment,t=r.enclosingNode,n=r.followingNode,u=r.ast,a=r.isLastComment;return u&&u.body&&u.body.length===0?(a?Hn(u,e):kr(u,e),!0):t&&t.type==="Program"&&t.body.length===0&&t.directives&&t.directives.length===0?(a?Hn(t,e):kr(t,e),!0):!(!n||n.type!=="Program"||n.body.length!==0||!t||t.type!=="ModuleExpression")&&(Hn(n,e),!0)}function hw(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="ForInStatement"&&t.type!=="ForOfStatement")&&(kr(t,e),!0)}function Dw(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode,u=r.text;return!!(t&&t.type==="ImportSpecifier"&&n&&n.type==="ImportDeclaration"&&Jx(u,Rt(e)))&&(zr(t,e),!0)}function gw(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="AssignmentPattern")&&(kr(t,e),!0)}function mw(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="TypeAlias")&&(kr(t,e),!0)}function vw(r){var e=r.comment,t=r.enclosingNode,n=r.followingNode;return!(!t||t.type!=="VariableDeclarator"&&t.type!=="AssignmentExpression"||!n||n.type!=="ObjectExpression"&&n.type!=="ArrayExpression"&&n.type!=="TemplateLiteral"&&n.type!=="TaggedTemplateExpression"&&!fy(e))&&(kr(n,e),!0)}function yw(r){var e=r.comment,t=r.enclosingNode,n=r.followingNode,u=r.text;return!(n||!t||t.type!=="TSMethodSignature"&&t.type!=="TSDeclareFunction"&&t.type!=="TSAbstractMethodDefinition"||fa(u,e,Rt)!==";")&&(zr(t,e),!0)}function Ay(r){var e=r.comment,t=r.enclosingNode,n=r.followingNode;if(K0(e)&&t&&t.type==="TSMappedType"&&n&&n.type==="TSTypeParameter"&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function Ew(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode,u=r.followingNode;return!(!n||n.type!=="TSMappedType")&&(u&&u.type==="TSTypeParameter"&&u.name?(kr(u.name,e),!0):!(!t||t.type!=="TSTypeParameter"||!t.constraint)&&(zr(t.constraint,e),!0))}function by(r){return r.type==="ArrowFunctionExpression"||r.type==="FunctionExpression"||r.type==="FunctionDeclaration"||r.type==="ObjectMethod"||r.type==="ClassMethod"||r.type==="TSDeclareFunction"||r.type==="TSCallSignatureDeclaration"||r.type==="TSConstructSignatureDeclaration"||r.type==="TSMethodSignature"||r.type==="TSConstructorType"||r.type==="TSFunctionType"||r.type==="TSDeclareMethod"}function Fy(r){return fy(r)&&r.value[0]==="*"&&/@type\b/.test(r.value)}var $i={handleOwnLineComment:function(e){return[Ay,yy,uw,Z0,_0,gy,my,Ey,hw,fw,ed,Dw,gw,vy,Cy].some(function(t){return t(e)})},handleEndOfLineComment:function(e){return[nw,yy,aw,Ey,Z0,_0,gy,my,Cy,pw,dw,ed,mw,vw].some(function(t){return t(e)})},handleRemainingComment:function(e){return[Ay,Z0,_0,iw,cw,vy,ed,sw,ow,Ew,lw,yw].some(function(t){return t(e)})},isTypeCastComment:Fy,getCommentChildNodes:function(e,t){if((t.parser==="typescript"||t.parser==="flow"||t.parser==="espree"||t.parser==="meriyah")&&e.type==="MethodDefinition"&&e.value&&e.value.type==="FunctionExpression"&&Ol(e.value).length===0&&!e.value.returnType&&!py(e.value.typeParameters)&&e.value.body)return[].concat(_(e.decorators||[]),[e.key,e.value.body])},willPrintOwnComments:function(e){var t=e.getValue(),n=e.getParentNode();return(t&&(Qx(t)||Zx(t)||hy(n)&&(dy(t.leadingComments)||dy(t.trailingComments)))||n&&(n.type==="JSXSpreadAttribute"||n.type==="JSXSpreadChild"||n.type==="UnionTypeAnnotation"||n.type==="TSUnionType"||(n.type==="ClassDeclaration"||n.type==="ClassExpression")&&n.superClass===t))&&(!_x(e)||n.type==="UnionTypeAnnotation"||n.type==="TSUnionType")}},Cw=I.getFunctionParameters,Aw=I.getLeftSidePathName,bw=I.hasFlowShorthandAnnotationComment,Fw=I.hasNakedLeftSide,Sy=I.hasNode,Sw=I.isBitwiseOperator,Ty=I.startsWithNoLookaheadToken,Tw=I.shouldFlatten,xy=I.getPrecedence,wy=I.isCallExpression,xw=I.isMemberExpression;function rd(r,e){var t=r.getParentNode();if(!t)return!1;var n=r.getName(),u=r.getNode();if(e.__isInHtmlInterpolation&&!e.bracketSpacing&&function(F){switch(F.type){case"ObjectExpression":return!0;default:return!1}}(u)&&Ts(r))return!0;if(function(F){return F.type==="BlockStatement"||F.type==="BreakStatement"||F.type==="ClassBody"||F.type==="ClassDeclaration"||F.type==="ClassMethod"||F.type==="ClassProperty"||F.type==="PropertyDefinition"||F.type==="ClassPrivateProperty"||F.type==="ContinueStatement"||F.type==="DebuggerStatement"||F.type==="DeclareClass"||F.type==="DeclareExportAllDeclaration"||F.type==="DeclareExportDeclaration"||F.type==="DeclareFunction"||F.type==="DeclareInterface"||F.type==="DeclareModule"||F.type==="DeclareModuleExports"||F.type==="DeclareVariable"||F.type==="DoWhileStatement"||F.type==="EnumDeclaration"||F.type==="ExportAllDeclaration"||F.type==="ExportDefaultDeclaration"||F.type==="ExportNamedDeclaration"||F.type==="ExpressionStatement"||F.type==="ForInStatement"||F.type==="ForOfStatement"||F.type==="ForStatement"||F.type==="FunctionDeclaration"||F.type==="IfStatement"||F.type==="ImportDeclaration"||F.type==="InterfaceDeclaration"||F.type==="LabeledStatement"||F.type==="MethodDefinition"||F.type==="ReturnStatement"||F.type==="SwitchStatement"||F.type==="ThrowStatement"||F.type==="TryStatement"||F.type==="TSDeclareFunction"||F.type==="TSEnumDeclaration"||F.type==="TSImportEqualsDeclaration"||F.type==="TSInterfaceDeclaration"||F.type==="TSModuleDeclaration"||F.type==="TSNamespaceExportDeclaration"||F.type==="TypeAlias"||F.type==="VariableDeclaration"||F.type==="WhileStatement"||F.type==="WithStatement"}(u))return!1;if(e.parser!=="flow"&&bw(r.getValue()))return!0;if(u.type==="Identifier")return!!(u.extra&&u.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.name))||n==="left"&&u.name==="async"&&t.type==="ForOfStatement"&&!t.await;switch(t.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(n==="superClass"&&(u.type==="ArrowFunctionExpression"||u.type==="AssignmentExpression"||u.type==="AwaitExpression"||u.type==="BinaryExpression"||u.type==="ConditionalExpression"||u.type==="LogicalExpression"||u.type==="NewExpression"||u.type==="ObjectExpression"||u.type==="ParenthesizedExpression"||u.type==="SequenceExpression"||u.type==="TaggedTemplateExpression"||u.type==="UnaryExpression"||u.type==="UpdateExpression"||u.type==="YieldExpression"||u.type==="TSNonNullExpression"))return!0;break;case"ExportDefaultDeclaration":return By(r,e)||u.type==="SequenceExpression";case"Decorator":if(n==="expression"){for(var a=!1,i=!1,o=u;o;)switch(o.type){case"MemberExpression":i=!0,o=o.object;break;case"CallExpression":if(i||a)return!0;a=!0,o=o.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(Ty(u,!0))return!0;break;case"ArrowFunctionExpression":if(n==="body"&&u.type!=="SequenceExpression"&&Ty(u,!1))return!0}switch(u.type){case"UpdateExpression":if(t.type==="UnaryExpression")return u.prefix&&(u.operator==="++"&&t.operator==="+"||u.operator==="--"&&t.operator==="-");case"UnaryExpression":switch(t.type){case"UnaryExpression":return u.operator===t.operator&&(u.operator==="+"||u.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"BinaryExpression":return n==="left"&&t.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(t.type==="UpdateExpression"||t.type==="PipelineTopicExpression"&&u.operator==="|>"||u.operator==="in"&&function(F){for(var x=0,w=F.getValue();w;){var A=F.getParentNode(x++);if(A&&A.type==="ForStatement"&&A.init===w)return!0;w=A}return!1}(r))return!0;if(u.operator==="|>"&&u.extra&&u.extra.parenthesized){var s=r.getParentNode(1);if(s.type==="BinaryExpression"&&s.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(t.type){case"TSAsExpression":return u.type!=="TSAsExpression";case"ConditionalExpression":return u.type==="TSAsExpression";case"CallExpression":case"NewExpression":case"OptionalCallExpression":return n==="callee";case"ClassExpression":case"ClassDeclaration":return n==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"AssignmentExpression":case"AssignmentPattern":return n==="left"&&(u.type==="TSTypeAssertion"||u.type==="TSAsExpression");case"LogicalExpression":if(u.type==="LogicalExpression")return t.operator!==u.operator;case"BinaryExpression":{var c=u.operator,l=u.type;if(!c&&l!=="TSTypeAssertion")return!0;var p=xy(c),f=t.operator,d=xy(f);return d>p||n==="right"&&d===p||d===p&&!Tw(f,c)||(d<p&&c==="%"?f==="+"||f==="-":!!Sw(f))}default:return!1}case"SequenceExpression":switch(t.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return n!=="expression";case"ArrowFunctionExpression":return n!=="body";default:return!0}case"YieldExpression":if(t.type==="UnaryExpression"||t.type==="AwaitExpression"||t.type==="TSAsExpression"||t.type==="TSNonNullExpression"||n==="expression"&&u.argument&&u.argument.type==="PipelinePrimaryTopicReference"&&t.type==="PipelineTopicExpression")return!0;case"AwaitExpression":switch(t.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"ConditionalExpression":return n==="test";case"BinaryExpression":return!(!u.argument&&t.operator==="|>");default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if(n==="extendsType"&&t.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(n==="checkType"&&t.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((t.type==="TSUnionType"||t.type==="TSIntersectionType")&&t.types.length>1&&(!u.types||u.types.length>1))return!0;case"TSInferType":if(u.type==="TSInferType"&&t.type==="TSRestType")return!1;case"TSTypeOperator":return t.type==="TSArrayType"||t.type==="TSOptionalType"||t.type==="TSRestType"||n==="objectType"&&t.type==="TSIndexedAccessType"||t.type==="TSTypeOperator"||t.type==="TSTypeAnnotation"&&/^TSJSDoc/.test(r.getParentNode(1).type);case"ArrayTypeAnnotation":return t.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return t.type==="ArrayTypeAnnotation"||t.type==="NullableTypeAnnotation"||t.type==="IntersectionTypeAnnotation"||t.type==="UnionTypeAnnotation";case"NullableTypeAnnotation":return t.type==="ArrayTypeAnnotation";case"FunctionTypeAnnotation":{var D=t.type==="NullableTypeAnnotation"?r.getParentNode(1):t;return D.type==="UnionTypeAnnotation"||D.type==="IntersectionTypeAnnotation"||D.type==="ArrayTypeAnnotation"||D.type==="NullableTypeAnnotation"||t.type==="FunctionTypeParam"&&t.name===null&&Cw(u).some(function(F){return F.typeAnnotation&&F.typeAnnotation.type==="NullableTypeAnnotation"})}case"OptionalIndexedAccessType":return n==="objectType"&&t.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof u.value=="string"&&t.type==="ExpressionStatement"&&!t.directive){var v=r.getParentNode(1);return v.type==="Program"||v.type==="BlockStatement"}return n==="object"&&t.type==="MemberExpression"&&typeof u.value=="number";case"AssignmentExpression":{var y=r.getParentNode(1);return n==="body"&&t.type==="ArrowFunctionExpression"||(n!=="key"||t.type!=="ClassProperty"&&t.type!=="PropertyDefinition"||!t.computed)&&(n!=="init"&&n!=="update"||t.type!=="ForStatement")&&(t.type==="ExpressionStatement"?u.left.type==="ObjectPattern":(n!=="key"||t.type!=="TSPropertySignature")&&t.type!=="AssignmentExpression"&&(t.type!=="SequenceExpression"||!y||y.type!=="ForStatement"||y.init!==t&&y.update!==t)&&(n!=="value"||t.type!=="Property"||!y||y.type!=="ObjectPattern"||!y.properties.includes(t))&&t.type!=="NGChainedExpression")}case"ConditionalExpression":switch(t.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 n==="callee";case"ConditionalExpression":return n==="test";case"MemberExpression":case"OptionalMemberExpression":return n==="object";default:return!1}case"FunctionExpression":switch(t.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(t.type){case"PipelineTopicExpression":return Boolean(u.extra&&u.extra.parenthesized);case"BinaryExpression":return t.operator!=="|>"||u.extra&&u.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return n==="test";default:return!1}case"ClassExpression":switch(t.type){case"NewExpression":return n==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{var b=r.getParentNode(1);if(n==="object"&&t.type==="MemberExpression"||n==="callee"&&(t.type==="CallExpression"||t.type==="NewExpression")||t.type==="TSNonNullExpression"&&b.type==="MemberExpression"&&b.object===t)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(n==="callee"&&(t.type==="BindExpression"||t.type==="NewExpression"))for(var S=u;S;)switch(S.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":S=S.object;break;case"TaggedTemplateExpression":S=S.tag;break;case"TSNonNullExpression":S=S.expression;break;default:return!1}return!1;case"BindExpression":return n==="callee"&&(t.type==="BindExpression"||t.type==="NewExpression")||n==="object"&&xw(t);case"NGPipeExpression":return!(t.type==="NGRoot"||t.type==="NGMicrosyntaxExpression"||t.type==="ObjectProperty"&&(!u.extra||!u.extra.parenthesized)||t.type==="ArrayExpression"||wy(t)&&t.arguments[n]===u||n==="right"&&t.type==="NGPipeExpression"||n==="property"&&t.type==="MemberExpression"||t.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return n==="callee"||n==="left"&&t.type==="BinaryExpression"&&t.operator==="<"||t.type!=="ArrayExpression"&&t.type!=="ArrowFunctionExpression"&&t.type!=="AssignmentExpression"&&t.type!=="AssignmentPattern"&&t.type!=="BinaryExpression"&&t.type!=="NewExpression"&&t.type!=="ConditionalExpression"&&t.type!=="ExpressionStatement"&&t.type!=="JsExpressionRoot"&&t.type!=="JSXAttribute"&&t.type!=="JSXElement"&&t.type!=="JSXExpressionContainer"&&t.type!=="JSXFragment"&&t.type!=="LogicalExpression"&&t.type!=="ObjectProperty"&&!wy(t)&&t.type!=="Property"&&t.type!=="ReturnStatement"&&t.type!=="ThrowStatement"&&t.type!=="TypeCastExpression"&&t.type!=="VariableDeclarator"&&t.type!=="YieldExpression";case"TypeAnnotation":return n==="returnType"&&t.type==="ArrowFunctionExpression"&&function(F){return Sy(F,function(x){return x.type==="ObjectTypeAnnotation"&&Sy(x,function(w){return w.type==="FunctionTypeAnnotation"||void 0})||void 0})}(u)}return!1}function Ts(r){var e=r.getValue(),t=r.getParentNode(),n=r.getName();switch(t.type){case"NGPipeExpression":if(typeof n=="number"&&t.arguments[n]===e&&t.arguments.length-1===n)return r.callParent(Ts);break;case"ObjectProperty":if(n==="value"){var u=r.getParentNode(1);return or(u.properties)===t}break;case"BinaryExpression":case"LogicalExpression":if(n==="right")return r.callParent(Ts);break;case"ConditionalExpression":if(n==="alternate")return r.callParent(Ts);break;case"UnaryExpression":if(t.prefix)return r.callParent(Ts)}return!1}function By(r,e){var t=r.getValue(),n=r.getParentNode();return t.type==="FunctionExpression"||t.type==="ClassExpression"?n.type==="ExportDefaultDeclaration"||!rd(r,e):!(!Fw(t)||n.type!=="ExportDefaultDeclaration"&&rd(r,e))&&r.call.apply(r,[function(u){return By(u,e)}].concat(_(Aw(r,t))))}var qi=rd,ky=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}},xs=de.builders,Ny=xs.join,Py=xs.line,ww=xs.group,Iy=xs.softline,Bw=xs.indent,Oy={isVueEventBindingExpression:function r(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return r(e.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,n){var u=e.getValue();if(t.__onHtmlBindingRoot&&e.getName()===null&&t.__onHtmlBindingRoot(u,t),u.type==="File")return t.__isVueForBindingLeft?e.call(function(a){var i=Ny([",",Py],a.map(n,"params")),o=a.getValue(),s=o.params;return s.length===1?i:["(",Bw([Iy,ww(i)]),Iy,")"]},"program","body",0):t.__isVueBindings?e.call(function(a){return Ny([",",Py],a.map(n,"params"))},"program","body",0):void 0}},kw=nr.printComments,Nw=X.getLast,Cu=de.builders,Pw=Cu.join,Ly=Cu.line,Ll=Cu.softline,zn=Cu.group,td=Cu.indent,Iw=Cu.align,Ow=Cu.ifBreak,Lw=Cu.indentIfBreak,nd=de.utils,Rw=nd.cleanDoc,Mw=nd.getDocParts,jw=nd.isConcat,$w=I.hasLeadingOwnLineComment,Ry=I.isBinaryish,My=I.isJsxNode,jy=I.shouldFlatten,$y=I.hasComment,qy=I.CommentCheckFlags,Vy=I.isCallExpression,qw=I.isMemberExpression,Vw=0;function Uy(r,e,t,n,u){var a=[],i=r.getValue();if(Ry(i)){jy(i.operator,i.left.operator)?a=[].concat(_(a),_(r.call(function(y){return Uy(y,e,t,!0,u)},"left"))):a.push(zn(e("left")));var o=Rl(i),s=(i.operator==="|>"||i.type==="NGPipeExpression"||i.operator==="|"&&t.parser==="__vue_expression")&&!$w(t.originalText,i.right),c=i.type==="NGPipeExpression"?"|":i.operator,l=i.type==="NGPipeExpression"&&i.arguments.length>0?zn(td([Ll,": ",Pw([Ll,":",Ow(" ")],r.map(e,"arguments").map(function(y){return Iw(2,zn(y))}))])):"",p=o?[c," ",e("right"),l]:[s?Ly:"",c,s?" ":Ly,e("right"),l],f=r.getParentNode(),d=$y(i.left,qy.Trailing|qy.Line),D=d||!(u&&i.type==="LogicalExpression")&&f.type!==i.type&&i.left.type!==i.type&&i.right.type!==i.type;if(a.push(s?"":" ",D?zn(p,{shouldBreak:d}):p),n&&$y(i)){var v=Rw(kw(r,a,t));a=jw(v)||v.type==="fill"?Mw(v):[v]}}else a.push(zn(e()));return a}function Rl(r){return r.type==="LogicalExpression"&&(r.right.type==="ObjectExpression"&&r.right.properties.length>0||r.right.type==="ArrayExpression"&&r.right.elements.length>0||!!My(r.right))}var ud={printBinaryishExpression:function(e,t,n){var u=e.getValue(),a=e.getParentNode(),i=e.getParentNode(1),o=u!==a.body&&(a.type==="IfStatement"||a.type==="WhileStatement"||a.type==="SwitchStatement"||a.type==="DoWhileStatement"),s=Uy(e,n,t,!1,o);if(o)return s;if(Vy(a)&&a.callee===u||a.type==="UnaryExpression"||qw(a)&&!a.computed)return zn([td([Ll].concat(_(s))),Ll]);var c=a.type==="ReturnStatement"||a.type==="ThrowStatement"||a.type==="JSXExpressionContainer"&&i.type==="JSXAttribute"||u.operator!=="|"&&a.type==="JsExpressionRoot"||u.type!=="NGPipeExpression"&&(a.type==="NGRoot"&&t.parser==="__ng_binding"||a.type==="NGMicrosyntaxExpression"&&i.type==="NGMicrosyntax"&&i.body.length===1)||u===a.body&&a.type==="ArrowFunctionExpression"||u!==a.body&&a.type==="ForStatement"||a.type==="ConditionalExpression"&&i.type!=="ReturnStatement"&&i.type!=="ThrowStatement"&&!Vy(i)||a.type==="TemplateLiteral",l=a.type==="AssignmentExpression"||a.type==="VariableDeclarator"||a.type==="ClassProperty"||a.type==="PropertyDefinition"||a.type==="TSAbstractClassProperty"||a.type==="ClassPrivateProperty"||a.type==="ObjectProperty"||a.type==="Property",p=Ry(u.left)&&jy(u.operator,u.left.operator);if(c||Rl(u)&&!p||!Rl(u)&&l)return zn(s);if(s.length===0)return"";var f=My(u.right),d=s.findIndex(function(F){return typeof F!="string"&&!Array.isArray(F)&&F.type==="group"}),D=s.slice(0,d===-1?1:d+1),v=s.slice(D.length,f?-1:void 0),y=Symbol("logicalChain-"+ ++Vw),b=zn([].concat(_(D),[td(v)]),{id:y});if(!f)return b;var S=Nw(s);return zn([b,Lw(S,{groupId:y})])},shouldInlineLogicalExpression:Rl},ad=de.builders,Uw=ad.join,Wy=ad.line,Ww=ad.group,Gw=I.hasNode,Hw=I.hasComment,zw=I.getComments,Xw=ud.printBinaryishExpression;function Gy(r,e,t){return r.type==="NGMicrosyntaxKeyedExpression"&&r.key.name==="of"&&e===1&&t.body[0].type==="NGMicrosyntaxLet"&&t.body[0].value===null}var Jw={printAngular:function(e,t,n){var u=e.getValue();switch(u.type){case"NGRoot":return[n("node"),Hw(u.node)?" //"+zw(u.node)[0].value.trimEnd():""];case"NGPipeExpression":return Xw(e,t,n);case"NGChainedExpression":return Ww(Uw([";",Wy],e.map(function(s){return function(c){return Gw(c.getValue(),function(l){switch(l.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}(s)?n():["(",n(),")"]},"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[u.prefix,": ",u.value.trim()];case"NGMicrosyntax":return e.map(function(s,c){return[c===0?"":Gy(s.getValue(),c,u)?" ":[";",Wy],n()]},"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(u.name)?u.name:JSON.stringify(u.name);case"NGMicrosyntaxExpression":return[n("expression"),u.alias===null?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":{var a=e.getName(),i=e.getParentNode(),o=Gy(u,a,i)||(a===1&&(u.key.name==="then"||u.key.name==="else")||a===2&&u.key.name==="else"&&i.body[a-1].type==="NGMicrosyntaxKeyedExpression"&&i.body[a-1].key.name==="then")&&i.body[0].type==="NGMicrosyntaxExpression";return[n("key"),o?" ":": ",n("expression")]}case"NGMicrosyntaxLet":return["let ",n("key"),u.value===null?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")]}}},Hy=nr.printComments,zy=nr.printDanglingComments,vn=de.builders,Ml=vn.line,lr=vn.hardline,Xr=vn.softline,da=vn.group,ha=vn.indent,Yw=vn.conditionalGroup,Kw=vn.fill,id=vn.ifBreak,Xy=vn.lineSuffixBoundary,Jy=vn.join,Yy=de.utils.willBreak,ws=X.getLast,Qw=X.getPreferredQuote,jl=I.isJsxNode,Bs=I.rawText,$l=I.isLiteral,Ky=I.isCallExpression,od=I.isStringLiteral,Zw=I.isBinaryish,Mt=I.hasComment,Da=I.CommentCheckFlags,_w=I.hasNodeIgnoreComment,e8=$i.willPrintOwnComments,sd=function(e){return e===""||e===Ml||e===lr||e===Xr};function r8(r,e,t){var n=r.getValue();if(n.type==="JSXElement"&&function(ne){if(ne.children.length===0)return!0;if(ne.children.length>1)return!1;var ue=ne.children[0];return $l(ue)&&!ks(ue)}(n))return[t("openingElement"),t("closingElement")];var u=n.type==="JSXElement"?t("openingElement"):t("openingFragment"),a=n.type==="JSXElement"?t("closingElement"):t("closingFragment");if(n.children.length===1&&n.children[0].type==="JSXExpressionContainer"&&(n.children[0].expression.type==="TemplateLiteral"||n.children[0].expression.type==="TaggedTemplateExpression"))return[u].concat(_(r.map(t,"children")),[a]);n.children=n.children.map(function(ne){return function(ue){return ue.type==="JSXExpressionContainer"&&$l(ue.expression)&&ue.expression.value===" "&&!Mt(ue.expression)}(ne)?{type:"JSXText",value:" ",raw:" "}:ne});for(var i=n.children.filter(jl).length>0,o=n.children.filter(function(ne){return ne.type==="JSXExpressionContainer"}).length>1,s=n.type==="JSXElement"&&n.openingElement.attributes.length>1,c=Yy(u)||i||s||o,l=r.getParentNode().rootMarker==="mdx",p=e.singleQuote?"{' '}":'{" "}',f=l?" ":id([p,Xr]," "),d=function(ne,ue,Ce,oe,ae){var ye=[];return ne.each(function(Le,Te,Ne){var Oe=Le.getValue();if($l(Oe)){var We=Bs(Oe);if(ks(Oe)){var Re=We.split(ql);if(Re[0]===""){if(ye.push(""),Re.shift(),/\n/.test(Re[0])){var Ke=Ne[Te+1];ye.push(Zy(ae,Re[1],Oe,Ke))}else ye.push(oe);Re.shift()}var Fe;if(ws(Re)===""&&(Re.pop(),Fe=Re.pop()),Re.length===0)return;var be=le(Re.entries()),Qe;try{for(be.s();!(Qe=be.n()).done;){var we=ke(Qe.value,2),Pe=we[0],He=we[1];Pe%2==1?ye.push(Ml):ye.push(He)}}catch(on){be.e(on)}finally{be.f()}if(Fe!==void 0)if(/\n/.test(Fe)){var er=Ne[Te+1];ye.push(Zy(ae,ws(ye),Oe,er))}else ye.push(oe);else{var Cr=Ne[Te+1];ye.push(Qy(ae,ws(ye),Oe,Cr))}}else/\n/.test(We)?We.match(/\n/g).length>1&&ye.push("",lr):ye.push("",oe)}else{var Wt=Ce();ye.push(Wt);var Zr=Ne[Te+1];if(Zr&&ks(Zr)){var xn=u8(Bs(Zr)).split(ql)[0];ye.push(Qy(ae,xn,Oe,Zr))}else ye.push(lr)}},"children"),ye}(r,0,t,f,n.openingElement&&n.openingElement.name&&n.openingElement.name.name==="fbt"),D=n.children.some(function(ne){return ks(ne)}),v=d.length-2;v>=0;v--){var y=d[v]===""&&d[v+1]==="",b=d[v]===lr&&d[v+1]===""&&d[v+2]===lr,S=(d[v]===Xr||d[v]===lr)&&d[v+1]===""&&d[v+2]===f,F=d[v]===f&&d[v+1]===""&&(d[v+2]===Xr||d[v+2]===lr),x=d[v]===f&&d[v+1]===""&&d[v+2]===f,w=d[v]===Xr&&d[v+1]===""&&d[v+2]===lr||d[v]===lr&&d[v+1]===""&&d[v+2]===Xr;b&&D||y||S||x||w?d.splice(v,2):F&&d.splice(v+1,2)}for(;d.length>0&&sd(ws(d));)d.pop();for(;d.length>1&&sd(d[0])&&sd(d[1]);)d.shift(),d.shift();var A=[],k=le(d.entries()),O;try{for(k.s();!(O=k.n()).done;){var q=ke(O.value,2),H=q[0],R=q[1];if(R===f){if(H===1&&d[H-1]===""){if(d.length===2){A.push(p);continue}A.push([p,lr]);continue}if(H===d.length-1){A.push(p);continue}if(d[H-1]===""&&d[H-2]===lr){A.push(p);continue}}A.push(R),Yy(R)&&(c=!0)}}catch(ne){k.e(ne)}finally{k.f()}var $=D?Kw(A):da(A,{shouldBreak:!0});if(l)return $;var K=da([u,ha([lr,$]),lr,a]);return c?K:Yw([da([u].concat(_(d),[a])),K])}function Qy(r,e,t,n){return r?"":t.type==="JSXElement"&&!t.closingElement||n&&n.type==="JSXElement"&&!n.closingElement?e.length===1?Xr:lr:Xr}function Zy(r,e,t,n){return r?lr:e.length===1?t.type==="JSXElement"&&!t.closingElement||n&&n.type==="JSXElement"&&!n.closingElement?lr:Xr:lr}function t8(r,e,t){return function(n,u,a){var i=n.getParentNode();if(!i||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[i.type])return u;var o=n.match(void 0,function(c){return c.type==="ArrowFunctionExpression"},Ky,function(c){return c.type==="JSXExpressionContainer"}),s=qi(n,a);return da([s?"":id("("),ha([Xr,u]),Xr,s?"":id(")")],{shouldBreak:o})}(r,Hy(r,r8(r,e,t),e),e)}function _y(r,e,t){var n=r.getValue();return["{",r.call(function(u){var a=["...",t()],i=u.getValue();return Mt(i)&&e8(u)?[ha([Xr,Hy(u,a,e)]),Xr]:a},n.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}var ql=new RegExp(`([
|
|
\r ]+)`),n8=new RegExp(`[^
|
|
\r ]`),u8=function(e){return e.replace(new RegExp("(?:^"+ql.source+"|"+ql.source+"$)"),"")};function ks(r){return $l(r)&&(n8.test(Bs(r))||!/\n/.test(Bs(r)))}var e2={hasJsxIgnoreComment:function(e){var t=e.getValue(),n=e.getParentNode();if(!(n&&t&&jl(t)&&jl(n)))return!1;for(var u=null,a=n.children.indexOf(t);a>0;a--){var i=n.children[a-1];if(i.type!=="JSXText"||ks(i)){u=i;break}}return u&&u.type==="JSXExpressionContainer"&&u.expression.type==="JSXEmptyExpression"&&_w(u.expression)},printJsx:function(e,t,n){var u=e.getValue();switch(u.type){case"JSXAttribute":return function(a,i,o){var s=a.getValue(),c=[];if(c.push(o("name")),s.value){var l;if(od(s.value)){var p=Bs(s.value).replace(/'/g,"'").replace(/"/g,'"'),f=Qw(p,i.jsxSingleQuote?"'":'"'),d=f==="'"?"'":""";p=p.slice(1,-1).replace(new RegExp(f,"g"),d),l=[f,p,f]}else l=o("value");c.push("=",l)}return c}(e,t,n);case"JSXIdentifier":return String(u.name);case"JSXNamespacedName":return Jy(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return Jy(".",[n("object"),n("property")]);case"JSXSpreadAttribute":return _y(e,t,n);case"JSXSpreadChild":return _y(e,t,n);case"JSXExpressionContainer":return function(a,i,o){var s=a.getValue(),c=a.getParentNode(0),l=s.expression.type==="JSXEmptyExpression"||!Mt(s.expression)&&(s.expression.type==="ArrayExpression"||s.expression.type==="ObjectExpression"||s.expression.type==="ArrowFunctionExpression"||Ky(s.expression)||s.expression.type==="FunctionExpression"||s.expression.type==="TemplateLiteral"||s.expression.type==="TaggedTemplateExpression"||s.expression.type==="DoExpression"||jl(c)&&(s.expression.type==="ConditionalExpression"||Zw(s.expression)));return da(l?["{",o("expression"),Xy,"}"]:["{",ha([Xr,o("expression")]),Xr,Xy,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return t8(e,t,n);case"JSXOpeningElement":return function(a,i,o){var s=a.getValue(),c=s.name&&Mt(s.name)||s.typeParameters&&Mt(s.typeParameters);if(s.selfClosing&&s.attributes.length===0&&!c)return["<",o("name"),o("typeParameters")," />"];if(s.attributes&&s.attributes.length===1&&s.attributes[0].value&&od(s.attributes[0].value)&&!s.attributes[0].value.value.includes(`
|
|
`)&&!c&&!Mt(s.attributes[0]))return da(["<",o("name"),o("typeParameters")," "].concat(_(a.map(o,"attributes")),[s.selfClosing?" />":">"]));var l=s.attributes.length>0&&Mt(ws(s.attributes),Da.Trailing),p=s.attributes.length===0&&!c||i.jsxBracketSameLine&&(!c||s.attributes.length>0)&&!l,f=s.attributes&&s.attributes.some(function(d){return d.value&&od(d.value)&&d.value.value.includes(`
|
|
`)});return da(["<",o("name"),o("typeParameters"),ha(a.map(function(){return[Ml,o()]},"attributes")),s.selfClosing?Ml:p?">":Xr,s.selfClosing?"/>":p?"":">"],{shouldBreak:f})}(e,t,n);case"JSXClosingElement":return function(a,i,o){var s=a.getValue(),c=[];c.push("</");var l=o("name");return Mt(s.name,Da.Leading|Da.Line)?c.push(ha([lr,l]),lr):Mt(s.name,Da.Leading|Da.Block)?c.push(" ",l):c.push(l),c.push(">"),c}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(a,i){var o=a.getValue(),s=Mt(o),c=Mt(o,Da.Line),l=o.type==="JSXOpeningFragment";return[l?"<":"</",ha([c?lr:s&&!l?" ":"",zy(a,i,!0)]),c?lr:"",">"]}(e,t);case"JSXEmptyExpression":return function(a,i){var o=a.getValue(),s=Mt(o,Da.Line);return[zy(a,i,!s),s?lr:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement")}}},a8=X.isNonEmptyArray,cd=de.builders,i8=cd.indent,o8=cd.join,s8=cd.line,c8=I.isFlowAnnotationComment,dr={printOptionalToken:function(e){var t=e.getValue();return!t.optional||t.type==="Identifier"&&t===e.getParentNode().key?"":t.type==="OptionalCallExpression"||t.type==="OptionalMemberExpression"&&t.computed?"?.":"?"},printFunctionTypeParameters:function(e,t,n){var u=e.getValue();return u.typeArguments?n("typeArguments"):u.typeParameters?n("typeParameters"):""},printBindExpressionCallee:function(e,t,n){return["::",n("callee")]},printTypeScriptModifiers:function(e,t,n){var u=e.getValue();return a8(u.modifiers)?[o8(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:function(e,t,n){var u=e.getValue();if(!u.typeAnnotation)return"";var a=e.getParentNode(),i=u.definite||a&&a.type==="VariableDeclarator"&&a.definite,o=a.type==="DeclareFunction"&&a.id===u;return c8(t.originalText,u.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[o?"":i?"!: ":": ",n("typeAnnotation")]},adjustClause:function(e,t,n){return e.type==="EmptyStatement"?";":e.type==="BlockStatement"||n?[" ",t]:i8([s8,t])}},r2=nr.printDanglingComments,ga=de.builders,t2=ga.line,Vl=ga.softline,ld=ga.hardline,pd=ga.group,l8=ga.indent,n2=ga.ifBreak,p8=ga.fill,f8=X.getLast,d8=X.hasNewline,h8=I.shouldPrintComma,Ul=I.hasComment,Ns=I.CommentCheckFlags,u2=I.isNextLineEmpty,D8=I.isNumericLiteral,g8=I.isSignedNumericLiteral,m8=tr.locStart,v8=dr.printOptionalToken,y8=dr.printTypeAnnotation;function a2(r,e){return r.elements.length>1&&r.elements.every(function(t){return t&&(D8(t)||g8(t)&&!Ul(t.argument))&&!Ul(t,Ns.Trailing|Ns.Line,function(n){return!d8(e.originalText,m8(n),{backwards:!0})})})}function i2(r,e,t,n){var u=[],a=[];return r.each(function(i){u.push(a,pd(n())),a=[",",t2],i.getValue()&&u2(i.getValue(),e)&&a.push(Vl)},t),u}function E8(r,e,t,n){var u=[];return r.each(function(a,i,o){var s=i===o.length-1;u.push([t(),s?n:","]),s||u.push(u2(a.getValue(),e)?[ld,ld]:Ul(o[i+1],Ns.Leading|Ns.Line)?ld:t2)},"elements"),p8(u)}var Ps={printArray:function(e,t,n){var u=e.getValue(),a=[],i=u.type==="TupleExpression"?"#[":"[";if(u.elements.length===0)Ul(u,Ns.Dangling)?a.push(pd([i,r2(e,t),Vl,"]"])):a.push(i,"]");else{var o=f8(u.elements),s=!(o&&o.type==="RestElement"),c=o===null,l=Symbol("array"),p=!t.__inJestEach&&u.elements.length>1&&u.elements.every(function(D,v,y){var b=D&&D.type;if(b!=="ArrayExpression"&&b!=="ObjectExpression")return!1;var S=y[v+1];if(S&&b!==S.type)return!1;var F=b==="ArrayExpression"?"elements":"properties";return D[F]&&D[F].length>1}),f=a2(u,t),d=s?c?",":h8(t)?f?n2(",","",{groupId:l}):n2(","):"":"";a.push(pd([i,l8([Vl,f?E8(e,t,n,d):[i2(e,t,"elements",n),d],r2(e,t,!0)]),Vl,"]"],{shouldBreak:p,id:l}))}return a.push(v8(e),y8(e,t,n)),a},printArrayItems:i2,isConciselyPrintedArray:a2},C8=nr.printDanglingComments,o2=X.getLast,A8=X.getPenultimate,b8=I.getFunctionParameters,ma=I.hasComment,fd=I.CommentCheckFlags,F8=I.isFunctionCompositionArgs,S8=I.isJsxNode,T8=I.isLongCurriedCallExpression,x8=I.shouldPrintComma,w8=I.getCallArguments,s2=I.iterateCallArgumentsPath,B8=I.isNextLineEmpty,k8=I.isCallExpression,Au=de.builders,Wl=Au.line,Gl=Au.hardline,c2=Au.softline,Hl=Au.group,l2=Au.indent,N8=Au.conditionalGroup,P8=Au.ifBreak,I8=Au.breakParent,zl=de.utils.willBreak,O8=dt.ArgExpansionBailout,L8=Ps.isConciselyPrintedArray;function Is(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return r.type==="ObjectExpression"&&(r.properties.length>0||ma(r))||r.type==="ArrayExpression"&&(r.elements.length>0||ma(r))||r.type==="TSTypeAssertion"&&Is(r.expression)||r.type==="TSAsExpression"&&Is(r.expression)||r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"&&(!r.returnType||!r.returnType.typeAnnotation||r.returnType.typeAnnotation.type!=="TSTypeReference"||(t=r.body).type==="BlockStatement"&&(t.body.some(function(n){return n.type!=="EmptyStatement"})||ma(t,fd.Dangling)))&&(r.body.type==="BlockStatement"||r.body.type==="ArrowFunctionExpression"&&Is(r.body,!0)||r.body.type==="ObjectExpression"||r.body.type==="ArrayExpression"||!e&&(k8(r.body)||r.body.type==="ConditionalExpression")||S8(r.body))||r.type==="DoExpression"||r.type==="ModuleExpression";var t}var dd=function(e,t,n){var u=e.getValue(),a=u.type==="ImportExpression",i=w8(u);if(i.length===0)return["(",C8(e,t,!0),")"];if(function(b){return b.length===2&&b[0].type==="ArrowFunctionExpression"&&b8(b[0]).length===0&&b[0].body.type==="BlockStatement"&&b[1].type==="ArrayExpression"&&!b.some(function(S){return ma(S)})}(i))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];var o=!1,s=!1,c=i.length-1,l=[];s2(e,function(b,S){var F=b.getNode(),x=[n()];S===c||(B8(F,t)?(S===0&&(s=!0),o=!0,x.push(",",Gl,Gl)):x.push(",",Wl)),l.push(x)});var p=a||u.callee&&u.callee.type==="Import"||!x8(t,"all")?"":",";function f(){return Hl(["(",l2([Wl].concat(l)),p,Wl,")"],{shouldBreak:!0})}if(o||e.getParentNode().type!=="Decorator"&&F8(i))return f();var d=function(b){if(b.length!==2)return!1;var S=ke(b,2),F=S[0],x=S[1];return F.type==="ModuleExpression"&&function(w){return w.type==="ObjectExpression"&&w.properties.length===1&&w.properties[0].type==="ObjectProperty"&&w.properties[0].key.type==="Identifier"&&w.properties[0].key.name==="type"&&w.properties[0].value.type==="StringLiteral"&&w.properties[0].value.value==="module"}(x)?!0:!ma(F)&&(F.type==="FunctionExpression"||F.type==="ArrowFunctionExpression"&&F.body.type==="BlockStatement")&&x.type!=="FunctionExpression"&&x.type!=="ArrowFunctionExpression"&&x.type!=="ConditionalExpression"&&!Is(x)}(i),D=function(b,S){var F=o2(b),x=A8(b);return!ma(F,fd.Leading)&&!ma(F,fd.Trailing)&&Is(F)&&(!x||x.type!==F.type)&&(b.length!==2||x.type!=="ArrowFunctionExpression"||F.type!=="ArrayExpression")&&!(b.length>1&&F.type==="ArrayExpression"&&L8(F,S))}(i,t);if(d||D){if(d?l.slice(1).some(zl):l.slice(0,-1).some(zl))return f();var v=[];try{e.try(function(){s2(e,function(b,S){d&&S===0&&(v=[[n([],{expandFirstArg:!0}),l.length>1?",":"",s?Gl:Wl,s?Gl:""]].concat(_(l.slice(1)))),D&&S===c&&(v=[].concat(_(l.slice(0,-1)),[n([],{expandLastArg:!0})]))})})}catch(b){if(b instanceof O8)return f();throw b}return[l.some(zl)?I8:"",N8([["("].concat(_(v),[")"]),d?["(",Hl(v[0],{shouldBreak:!0})].concat(_(v.slice(1)),[")"]):["("].concat(_(l.slice(0,-1)),[Hl(o2(v),{shouldBreak:!0}),")"]),f()])]}var y=["(",l2([c2].concat(l)),P8(p),c2,")"];return T8(e)?y:Hl(y,{shouldBreak:l.some(zl)||o})},Xl=de.builders,hd=Xl.softline,p2=Xl.group,f2=Xl.indent,R8=Xl.label,M8=I.isNumericLiteral,d2=I.isMemberExpression,h2=I.isCallExpression,j8=dr.printOptionalToken;function D2(r,e,t){var n=t("property"),u=r.getValue(),a=j8(r);return u.computed?!u.property||M8(u.property)?[a,"[",n,"]"]:p2([a,"[",f2([hd,n]),hd,"]"]):[a,".",n]}var g2={printMemberExpression:function(e,t,n){var u=e.getValue(),a=e.getParentNode(),i,o=0;do i=e.getParentNode(o),o++;while(i&&(d2(i)||i.type==="TSNonNullExpression"));var s=n("object"),c=D2(e,t,n),l=i&&(i.type==="NewExpression"||i.type==="BindExpression"||i.type==="AssignmentExpression"&&i.left.type!=="Identifier")||u.computed||u.object.type==="Identifier"&&u.property.type==="Identifier"&&!d2(a)||(a.type==="AssignmentExpression"||a.type==="VariableDeclarator")&&(h2(u.object)&&u.object.arguments.length>0||u.object.type==="TSNonNullExpression"&&h2(u.object.expression)&&u.object.expression.arguments.length>0||s.label==="member-chain");return R8(s.label==="member-chain"?"member-chain":"member",[s,l?c:p2(f2([hd,c]))])},printMemberLookup:D2},Dd=nr.printComments,Vi=X.getLast,$8=X.isNextLineEmptyAfterIndex,q8=X.getNextNonSpaceNonCommentCharacterIndex,bu=I.isCallExpression,gd=I.isMemberExpression,V8=I.isFunctionOrArrowExpression,U8=I.isLongCurriedCallExpression,Os=I.isMemberish,m2=I.isNumericLiteral,W8=I.isSimpleCallArgument,Ls=I.hasComment,Jl=I.CommentCheckFlags,G8=I.isNextLineEmpty,H8=tr.locEnd,va=de.builders,z8=va.join,Yl=va.hardline,md=va.group,X8=va.indent,J8=va.conditionalGroup,Y8=va.breakParent,K8=va.label,vd=de.utils.willBreak,Q8=g2.printMemberLookup,v2=dr.printOptionalToken,y2=dr.printFunctionTypeParameters,Z8=dr.printBindExpressionCallee,_8=function(e,t,n){var u=e.getParentNode(),a=!u||u.type==="ExpressionStatement",i=[];function o(R){var $=t.originalText,K=q8($,R,H8);return $.charAt(K)===")"?K!==!1&&$8($,K+1):G8(R,t)}function s(R){var $=R.getValue();bu($)&&(Os($.callee)||bu($.callee))?(i.unshift({node:$,printed:[Dd(R,[v2(R),y2(R,t,n),dd(R,t,n)],t),o($)?Yl:""]}),R.call(function(K){return s(K)},"callee")):Os($)?(i.unshift({node:$,needsParens:qi(R,t),printed:Dd(R,gd($)?Q8(R,t,n):Z8(R,t,n),t)}),R.call(function(K){return s(K)},"object")):$.type==="TSNonNullExpression"?(i.unshift({node:$,printed:Dd(R,"!",t)}),R.call(function(K){return s(K)},"expression")):i.unshift({node:$,printed:n()})}var c=e.getValue();i.unshift({node:c,printed:[v2(e),y2(e,t,n),dd(e,t,n)]}),c.callee&&e.call(function(R){return s(R)},"callee");for(var l=[],p=[i[0]],f=1;f<i.length&&(i[f].node.type==="TSNonNullExpression"||bu(i[f].node)||gd(i[f].node)&&i[f].node.computed&&m2(i[f].node.property));++f)p.push(i[f]);if(!bu(i[0].node))for(;f+1<i.length&&Os(i[f].node)&&Os(i[f+1].node);++f)p.push(i[f]);l.push(p),p=[];for(var d=!1;f<i.length;++f){if(d&&Os(i[f].node)){if(i[f].node.computed&&m2(i[f].node.property)){p.push(i[f]);continue}l.push(p),p=[],d=!1}(bu(i[f].node)||i[f].node.type==="ImportExpression")&&(d=!0),p.push(i[f]),Ls(i[f].node,Jl.Trailing)&&(l.push(p),p=[],d=!1)}function D(R){return/^[A-Z]|^[$_]+$/.test(R)}p.length>0&&l.push(p);var v=l.length>=2&&!Ls(l[1][0].node)&&function(R){var $=R[1].length>0&&R[1][0].node.computed;if(R[0].length===1){var K=R[0][0].node;return K.type==="ThisExpression"||K.type==="Identifier"&&(D(K.name)||a&&function(ue){return ue.length<=t.tabWidth}(K.name)||$)}var ne=Vi(R[0]).node;return gd(ne)&&ne.property.type==="Identifier"&&(D(ne.property.name)||$)}(l);function y(R){var $=R.map(function(K){return K.printed});return R.length>0&&Vi(R).needsParens?["("].concat(_($),[")"]):$}var b=l.map(y),S=b,F=v?3:2,x=Yf(l),w=x.slice(1,-1).some(function(R){return Ls(R.node,Jl.Leading)})||x.slice(0,-1).some(function(R){return Ls(R.node,Jl.Trailing)})||l[F]&&Ls(l[F][0].node,Jl.Leading);if(l.length<=F&&!w)return U8(e)?S:md(S);var A=Vi(l[v?1:0]).node,k=!bu(A)&&o(A),O=[y(l[0]),v?l.slice(1,2).map(y):"",k?Yl:"",function(R){return R.length===0?"":X8(md([Yl,z8(Yl,R.map(y))]))}(l.slice(v?2:1))],q=i.map(function(R){var $=R.node;return $}).filter(bu),H;return H=w||q.length>2&&q.some(function(R){return!R.arguments.every(function($){return W8($,0)})})||b.slice(0,-1).some(vd)||function(){var R=Vi(Vi(l)).node,$=Vi(b);return bu(R)&&vd($)&&q.slice(0,-1).some(function(K){return K.arguments.some(V8)})}()?md(O):[vd(S)||k?Y8:"",J8([S,O])],K8("member-chain",H)},E2=de.builders,eB=E2.join,rB=E2.group,C2=I.getCallArguments,tB=I.hasFlowAnnotationComment,nB=I.isCallExpression,uB=I.isMemberish,aB=I.isStringLiteral,iB=I.isTemplateOnItsOwnLine,oB=I.isTestCall,sB=I.iterateCallArgumentsPath,cB=dr.printOptionalToken,A2=dr.printFunctionTypeParameters,b2={printCallExpression:function(e,t,n){var u=e.getValue(),a=e.getParentNode(),i=u.type==="NewExpression",o=u.type==="ImportExpression",s=cB(e),c=C2(u);if(c.length>0&&(!o&&!i&&function(d,D){if(d.callee.type!=="Identifier")return!1;if(d.callee.name==="require")return!0;if(d.callee.name==="define"){var v=C2(d);return D.type==="ExpressionStatement"&&(v.length===1||v.length===2&&v[0].type==="ArrayExpression"||v.length===3&&aB(v[0])&&v[1].type==="ArrayExpression")}return!1}(u,a)||c.length===1&&iB(c[0],t.originalText)||!i&&oB(u,a))){var l=[];return sB(e,function(){l.push(n())}),[i?"new ":"",n("callee"),s,A2(e,t,n),"(",eB(", ",l),")"]}var p=(t.parser==="babel"||t.parser==="babel-flow")&&u.callee&&u.callee.type==="Identifier"&&tB(u.callee.trailingComments);if(p&&(u.callee.trailingComments[0].printed=!0),!o&&!i&&uB(u.callee)&&!e.call(function(d){return qi(d,t)},"callee"))return _8(e,t,n);var f=[i?"new ":"",o?"import":n("callee"),s,p?"/*:: ".concat(u.callee.trailingComments[0].value.slice(2).trim()," */"):"",A2(e,t,n),dd(e,t,n)];return o||nB(u.callee)?rB(f):f}},lB=X.isNonEmptyArray,pB=X.getStringWidth,Kl=de.builders,Ql=Kl.line,mt=Kl.group,yd=Kl.indent,fB=Kl.indentIfBreak,dB=de.utils.cleanDoc,hB=I.hasLeadingOwnLineComment,F2=I.isBinaryish,S2=I.isStringLiteral,DB=I.isLiteral,gB=I.isNumericLiteral,mB=I.isCallExpression,vB=I.isMemberExpression,yB=I.getCallArguments,EB=I.rawText,T2=I.hasComment,CB=I.isSignedNumericLiteral,x2=ud.shouldInlineLogicalExpression,AB=b2.printCallExpression;function Ed(r,e,t,n,u,a){var i=function(c,l,p,f,d){var D=c.getValue(),v=D[d];if(!v)return"only-left";var y=!Zl(v);if(c.match(Zl,w2,function(S){return!y||S.type!=="ExpressionStatement"&&S.type!=="VariableDeclaration"}))return y?v.type==="ArrowFunctionExpression"&&v.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!y&&Zl(v.right)||hB(l.originalText,v))return"break-after-operator";if(v.type==="CallExpression"&&v.callee.name==="require"||l.parser==="json5"||l.parser==="json")return"never-break-after-operator";if(function(S){if(w2(S)){var F=S.left||S.id;return F.type==="ObjectPattern"&&F.properties.length>2&&F.properties.some(function(x){return(x.type==="ObjectProperty"||x.type==="Property")&&(!x.shorthand||x.value&&x.value.type==="AssignmentPattern")})}return!1}(D))return"break-lhs";var b=function(S,F,x){if(S.type!=="ObjectProperty"&&S.type!=="Property")return!1;F=dB(F);var w=3;return typeof F=="string"&&pB(F)<x.tabWidth+w}(D,f,l);return c.call(function(){return function(S,F,x,w){var A=S.getValue();if(F2(A)&&!x2(A))return!0;switch(A.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{var k=A.test;return F2(k)&&!x2(k)}case"ClassExpression":return lB(A.decorators)}if(w)return!1;for(var O=A,q=[];;)if(O.type==="UnaryExpression")O=O.argument,q.push("argument");else{if(O.type!=="TSNonNullExpression")break;O=O.expression,q.push("expression")}return!!(S2(O)||S.call.apply(S,[function(){return B2(S,F,x)}].concat(q)))}(c,l,p,b)},d)?"break-after-operator":b||v.type==="TemplateLiteral"||v.type==="TaggedTemplateExpression"||v.type==="BooleanLiteral"||gB(v)||v.type==="ClassExpression"?"never-break-after-operator":"fluid"}(r,e,t,n,a),o=t(a,{assignmentLayout:i});switch(i){case"break-after-operator":return mt([mt(n),u,mt(yd([Ql,o]))]);case"never-break-after-operator":return mt([mt(n),u," ",o]);case"fluid":{var s=Symbol("assignment");return mt([mt(n),u,mt(yd(Ql),{id:s}),fB(o,{groupId:s})])}case"break-lhs":return mt([n,u," ",mt(o)]);case"chain":return[mt(n),u,Ql,o];case"chain-tail":return[mt(n),u,yd([Ql,o])];case"chain-tail-arrow-chain":return[mt(n),u,o];case"only-left":return n}}function Zl(r){return r.type==="AssignmentExpression"}function w2(r){return Zl(r)||r.type==="VariableDeclarator"}function B2(r,e,t){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,u=r.getValue(),a=function(){return B2(r,e,t,!0)};if(u.type==="TSNonNullExpression")return r.call(a,"expression");if(mB(u)){if(AB(r,e,t).label==="member-chain")return!1;var i=yB(u);return!!(i.length===0||i.length===1&&function(o,s){var c=s.printWidth;if(T2(o))return!1;var l=.25*c;if(o.type==="ThisExpression"||o.type==="Identifier"&&o.name.length<=l||CB(o)&&!T2(o.argument))return!0;var p=o.type==="Literal"&&"regex"in o&&o.regex.pattern||o.type==="RegExpLiteral"&&o.pattern;return p?p.length<=l:S2(o)?EB(o).length<=l:o.type==="TemplateLiteral"?o.expressions.length===0&&o.quasis[0].value.raw.length<=l&&!o.quasis[0].value.raw.includes(`
|
|
`):DB(o)}(i[0],e))&&r.call(a,"callee")}return vB(u)?r.call(a,"object"):n&&(u.type==="Identifier"||u.type==="ThisExpression")}var Rs={printVariableDeclarator:function(e,t,n){return Ed(e,t,n,n("id")," =","init")},printAssignmentExpression:function(e,t,n){var u=e.getValue();return Ed(e,t,n,n("left"),[" ",u.operator],"right")},printAssignment:Ed},bB=X.getNextNonSpaceNonCommentCharacter,FB=nr.printDanglingComments,Ui=de.builders,SB=Ui.line,k2=Ui.hardline,N2=Ui.softline,TB=Ui.group,xB=Ui.indent,wB=Ui.ifBreak,P2=de.utils,I2=P2.removeLines,Cd=P2.willBreak,Ad=I.getFunctionParameters,BB=I.iterateFunctionParametersPath,kB=I.isSimpleType,NB=I.isTestCall,PB=I.isTypeAnnotationAFunction,bd=I.isObjectType,IB=I.isObjectTypePropertyAFunction,OB=I.hasRestParameter,LB=I.shouldPrintComma,RB=I.hasComment,MB=I.isNextLineEmpty,jB=tr.locEnd,$B=dt.ArgExpansionBailout,qB=dr.printFunctionTypeParameters;function O2(r){if(!r)return!1;var e=Ad(r);if(e.length!==1)return!1;var t=ke(e,1),n=t[0];return!RB(n)&&(n.type==="ObjectPattern"||n.type==="ArrayPattern"||n.type==="Identifier"&&n.typeAnnotation&&(n.typeAnnotation.type==="TypeAnnotation"||n.typeAnnotation.type==="TSTypeAnnotation")&&bd(n.typeAnnotation.typeAnnotation)||n.type==="FunctionTypeParam"&&bd(n.typeAnnotation)||n.type==="AssignmentPattern"&&(n.left.type==="ObjectPattern"||n.left.type==="ArrayPattern")&&(n.right.type==="Identifier"||n.right.type==="ObjectExpression"&&n.right.properties.length===0||n.right.type==="ArrayExpression"&&n.right.elements.length===0))}var ya={printFunctionParameters:function(e,t,n,u,a){var i=e.getValue(),o=Ad(i),s=a?qB(e,n,t):"";if(o.length===0)return[s,"(",FB(e,n,!0,function(D){return bB(n.originalText,D,jB)===")"}),")"];var c=e.getParentNode(),l=NB(c),p=O2(i),f=[];if(BB(e,function(D,v){var y=v===o.length-1;y&&i.rest&&f.push("..."),f.push(t()),y||(f.push(","),l||p?f.push(" "):MB(o[v],n)?f.push(k2,k2):f.push(SB))}),u){if(Cd(s)||Cd(f))throw new $B;return TB([I2(s),"(",I2(f),")"])}var d=o.every(function(D){return!D.decorators});return p&&d||l?[s,"("].concat(f,[")"]):(IB(c)||PB(c)||c.type==="TypeAlias"||c.type==="UnionTypeAnnotation"||c.type==="TSUnionType"||c.type==="IntersectionTypeAnnotation"||c.type==="FunctionTypeAnnotation"&&c.returnType===i)&&o.length===1&&o[0].name===null&&i.this!==o[0]&&o[0].typeAnnotation&&i.typeParameters===null&&kB(o[0].typeAnnotation)&&!i.rest?n.arrowParens==="always"?["("].concat(f,[")"]):f:[s,"(",xB([N2].concat(f)),wB(!OB(i)&&LB(n,"all")?",":""),N2,")"]},shouldHugFunctionParameters:O2,shouldGroupFunctionParameters:function(e,t){var n=function(i){var o;return i.returnType?(o=i.returnType,o.typeAnnotation&&(o=o.typeAnnotation)):i.typeAnnotation&&(o=i.typeAnnotation),o}(e);if(!n)return!1;var u=e.typeParameters&&e.typeParameters.params;if(u){if(u.length>1)return!1;if(u.length===1){var a=u[0];if(a.constraint||a.default)return!1}}return Ad(e).length===1&&(bd(n)||Cd(t))}},VB=nr.printComments,UB=nr.printDanglingComments,WB=X.getLast,Ea=de.builders,Ca=Ea.group,L2=Ea.join,Fd=Ea.line,Ms=Ea.softline,Aa=Ea.indent,GB=Ea.align,_l=Ea.ifBreak,R2=tr.locStart,HB=I.isSimpleType,js=I.isObjectType,M2=I.hasLeadingOwnLineComment,zB=I.isObjectTypePropertyAFunction,XB=I.shouldPrintComma,JB=Rs.printAssignment,YB=ya.printFunctionParameters,KB=ya.shouldGroupFunctionParameters,QB=Ps.printArrayItems;function j2(r){if(HB(r)||js(r))return!0;if(r.type==="UnionTypeAnnotation"||r.type==="TSUnionType"){var e=r.types.filter(function(n){return n.type==="VoidTypeAnnotation"||n.type==="TSVoidKeyword"||n.type==="NullLiteralTypeAnnotation"||n.type==="TSNullKeyword"}).length,t=r.types.some(function(n){return n.type==="ObjectTypeAnnotation"||n.type==="TSTypeLiteral"||n.type==="GenericTypeAnnotation"||n.type==="TSTypeReference"});if(r.types.length-1===e&&t)return!0}return!1}var rt={printOpaqueType:function(e,t,n){var u=t.semi?";":"",a=e.getValue(),i=[];return i.push("opaque type ",n("id"),n("typeParameters")),a.supertype&&i.push(": ",n("supertype")),a.impltype&&i.push(" = ",n("impltype")),i.push(u),i},printTypeAlias:function(e,t,n){var u=t.semi?";":"",a=e.getValue(),i=[];a.declare&&i.push("declare "),i.push("type ",n("id"),n("typeParameters"));var o=a.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[JB(e,t,n,i," =",o),u]},printIntersectionType:function(e,t,n){for(var u=e.getValue(),a=e.map(n,"types"),i=[],o=!1,s=0;s<a.length;++s)s===0?i.push(a[s]):js(u.types[s-1])&&js(u.types[s])?i.push([" & ",o?Aa(a[s]):a[s]]):js(u.types[s-1])||js(u.types[s])?(s>1&&(o=!0),i.push(" & ",s>1?Aa(a[s]):a[s])):i.push(Aa([" &",Fd,a[s]]));return Ca(i)},printUnionType:function(e,t,n){var u=e.getValue(),a=e.getParentNode(),i=!(a.type==="TypeParameterInstantiation"||a.type==="TSTypeParameterInstantiation"||a.type==="GenericTypeAnnotation"||a.type==="TSTypeReference"||a.type==="TSTypeAssertion"||a.type==="TupleTypeAnnotation"||a.type==="TSTupleType"||a.type==="FunctionTypeParam"&&!a.name&&e.getParentNode(1).this!==a||(a.type==="TypeAlias"||a.type==="VariableDeclarator"||a.type==="TSTypeAliasDeclaration")&&M2(t.originalText,u)),o=j2(u),s=e.map(function(p){var f=n();return o||(f=GB(2,f)),VB(p,f,t)},"types");if(o)return L2(" | ",s);var c=i&&!M2(t.originalText,u),l=[_l([c?Fd:"","| "]),L2([Fd,"| "],s)];return qi(e,t)?Ca([Aa(l),Ms]):a.type==="TupleTypeAnnotation"&&a.types.length>1||a.type==="TSTupleType"&&a.elementTypes.length>1?Ca([Aa([_l(["(",Ms]),l]),Ms,_l(")")]):Ca(i?Aa(l):l)},printFunctionType:function(e,t,n){var u=e.getValue(),a=[],i=e.getParentNode(0),o=e.getParentNode(1),s=e.getParentNode(2),c=u.type==="TSFunctionType"||!((i.type==="ObjectTypeProperty"||i.type==="ObjectTypeInternalSlot")&&!i.variance&&!i.optional&&R2(i)===R2(u)||i.type==="ObjectTypeCallProperty"||s&&s.type==="DeclareFunction"),l=c&&(i.type==="TypeAnnotation"||i.type==="TSTypeAnnotation"),p=l&&c&&(i.type==="TypeAnnotation"||i.type==="TSTypeAnnotation")&&o.type==="ArrowFunctionExpression";zB(i)&&(c=!0,l=!0),p&&a.push("(");var f=YB(e,n,t,!1,!0),d=u.returnType||u.predicate||u.typeAnnotation?[c?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",D=KB(u,d);return a.push(D?Ca(f):f),d&&a.push(d),p&&a.push(")"),Ca(a)},printTupleType:function(e,t,n){var u=e.getValue(),a=u.type==="TSTupleType"?"elementTypes":"types",i=u[a].length>0&&WB(u[a]).type==="TSRestType";return Ca(["[",Aa([Ms,QB(e,t,a,n)]),_l(XB(t,"all")&&!i?",":""),UB(e,t,!0),Ms,"]"])},printIndexedAccessType:function(e,t,n){var u=e.getValue(),a=u.type==="OptionalIndexedAccessType"&&u.optional?"?.[":"[";return[n("objectType"),a,n("indexType"),"]"]},shouldHugType:j2},ZB=nr.printDanglingComments,ba=de.builders,$2=ba.join,_B=ba.line,e6=ba.hardline,q2=ba.softline,r6=ba.group,t6=ba.indent,n6=ba.ifBreak,u6=I.isTestCall,V2=I.hasComment,U2=I.CommentCheckFlags,a6=I.isTSXFile,i6=I.shouldPrintComma,o6=I.getFunctionParameters,s6=X.createGroupIdMapper,c6=rt.shouldHugType,W2=s6("typeParameters");function l6(r,e){var t=r.getValue();if(!V2(t,U2.Dangling))return"";var n=!V2(t,U2.Line),u=ZB(r,e,n);return n?u:[u,e6]}var Wi={printTypeParameter:function(e,t,n){var u=e.getValue(),a=[],i=e.getParentNode();return i.type==="TSMappedType"?(a.push("[",n("name")),u.constraint&&a.push(" in ",n("constraint")),i.nameType&&a.push(" as ",e.callParent(function(){return n("nameType")})),a.push("]"),a):(u.variance&&a.push(n("variance")),a.push(n("name")),u.bound&&a.push(": ",n("bound")),u.constraint&&a.push(" extends ",n("constraint")),u.default&&a.push(" = ",n("default")),a)},printTypeParameters:function(e,t,n,u){var a=e.getValue();if(!a[u])return"";if(!Array.isArray(a[u]))return n(u);var i=e.getNode(2);if(i&&u6(i)||a[u].length===0||a[u].length===1&&(c6(a[u][0])||a[u][0].type==="NullableTypeAnnotation"))return["<",$2(", ",e.map(n,u)),l6(e,t),">"];var o=a.type==="TSTypeParameterInstantiation"?"":o6(a).length===1&&a6(t)&&!a[u][0].constraint&&e.getParentNode().type==="ArrowFunctionExpression"?",":i6(t,"all")?n6(","):"";return r6(["<",t6([q2,$2([",",_B],e.map(n,u))]),o,q2,">"],{id:W2(a)})},getTypeParametersGroupId:W2},G2=nr.printComments,p6=X.printString,Sd=X.printNumber,f6=I.isNumericLiteral,d6=I.isSimpleNumber,h6=I.isStringLiteral,H2=I.isStringPropSafeToUnquote,z2=I.rawText,D6=Rs.printAssignment,ep=new WeakMap;function X2(r,e,t){var n=r.getNode();if(n.computed)return["[",t("key"),"]"];var u=r.getParentNode(),a=n.key;if(n.type==="ClassPrivateProperty"&&a.type==="Identifier")return["#",t("key")];if(e.quoteProps==="consistent"&&!ep.has(u)){var i=(u.properties||u.body||u.members).some(function(s){return!s.computed&&s.key&&h6(s.key)&&!H2(s,e)});ep.set(u,i)}if((a.type==="Identifier"||f6(a)&&d6(Sd(z2(a)))&&String(a.value)===Sd(z2(a))&&e.parser!=="typescript"&&e.parser!=="babel-ts")&&(e.parser==="json"||e.quoteProps==="consistent"&&ep.get(u))){var o=p6(JSON.stringify(a.type==="Identifier"?a.name:a.value.toString()),e);return r.call(function(s){return G2(s,o,e)},"key")}return H2(n,e)&&(e.quoteProps==="as-needed"||e.quoteProps==="consistent"&&!ep.get(u))?r.call(function(s){return G2(s,/^\d/.test(a.value)?Sd(a.value):a.value,e)},"key"):t("key")}var $s={printProperty:function(e,t,n){return e.getValue().shorthand?n("value"):D6(e,t,n,X2(e,t,n),":","value")},printPropertyKey:X2},J2=nr.printDanglingComments,g6=nr.printCommentsSeparately,m6=X.getNextNonSpaceNonCommentCharacterIndex,Fu=de.builders,Td=Fu.line,Fa=Fu.softline,st=Fu.group,Gi=Fu.indent,Hi=Fu.ifBreak,Y2=Fu.hardline,v6=Fu.join,y6=Fu.indentIfBreak,xd=I.getFunctionParameters,E6=I.hasLeadingOwnLineComment,C6=I.isFlowAnnotationComment,A6=I.isJsxNode,b6=I.isTemplateOnItsOwnLine,F6=I.shouldPrintComma,S6=I.startsWithNoLookaheadToken,T6=I.returnArgumentHasLeadingComment,x6=I.isBinaryish,w6=I.isLineComment,rp=I.hasComment,B6=I.getComments,K2=I.CommentCheckFlags,k6=I.isCallLikeExpression,N6=tr.locEnd,wd=ya.printFunctionParameters,Q2=ya.shouldGroupFunctionParameters,P6=$s.printPropertyKey,Z2=dr.printFunctionTypeParameters;function Bd(r,e,t){var n=r.getNode(),u=wd(r,t,e),a=kd(r,t,e),i=Q2(n,a),o=[Z2(r,e,t),st([i?st(u):u,a])];return n.body?o.push(" ",t("body")):o.push(e.semi?";":""),o}function _2(r,e){return e.arrowParens==="always"?!1:e.arrowParens==="avoid"?function(t){var n=xd(t);return!(n.length!==1||t.typeParameters||rp(t,K2.Dangling)||n[0].type!=="Identifier"||n[0].typeAnnotation||rp(n[0])||n[0].optional||t.predicate||t.returnType)}(r.getValue()):!1}function kd(r,e,t){var n=r.getValue(),u=e("returnType");if(n.returnType&&C6(t.originalText,n.returnType))return[" /*: ",u," */"];var a=[u];return n.returnType&&n.returnType.typeAnnotation&&a.unshift(": "),n.predicate&&a.push(n.returnType?" ":": ",e("predicate")),a}function e1(r,e,t){var n=r.getValue(),u=e.semi?";":"",a=[];n.argument&&(T6(e,n.argument)?a.push([" (",Gi([Y2,t("argument")]),Y2,")"]):x6(n.argument)||n.argument.type==="SequenceExpression"?a.push(st([Hi(" ("," "),Gi([Fa,t("argument")]),Fa,Hi(")")])):a.push(" ",t("argument")));var i=B6(n),o=or(i),s=o&&w6(o);return s&&a.push(u),rp(n,K2.Dangling)&&a.push(" ",J2(r,e,!0)),s||a.push(u),a}var Xn={printFunctionDeclaration:function(e,t,n,u){var a=e.getValue(),i=[];a.type==="TSDeclareFunction"&&a.declare&&i.push("declare "),a.async&&i.push("async "),a.generator?i.push("function* "):i.push("function "),a.id&&i.push(t("id"));var o=wd(e,t,n,u),s=kd(e,t,n),c=Q2(a,s);return i.push(Z2(e,n,t),st([c?st(o):o,s]),a.body?" ":"",t("body")),!n.semi||!a.declare&&a.body||i.push(";"),i},printArrowFunctionExpression:function(e,t,n,u){var a=e.getValue(),i=[],o=[],s=!1;if(function d(){var D=function(S,F,x,w){var A=[];S.getValue().async&&A.push("async "),_2(S,F)?A.push(x(["params",0])):A.push(st([wd(S,x,F,w&&(w.expandLastArg||w.expandFirstArg),!0),kd(S,x,F)]));var k=J2(S,F,!0,function(O){var q=m6(F.originalText,O,N6);return q!==!1&&F.originalText.slice(q,q+2)==="=>"});return k&&A.push(" ",k),A}(e,t,n,u);if(i.length===0)i.push(D);else{var v=g6(e,t),y=v.leading,b=v.trailing;i.push([y,D]),o.unshift(b)}s=s||a.returnType&&xd(a).length>0||a.typeParameters||xd(a).some(function(S){return S.type!=="Identifier"}),a.body.type!=="ArrowFunctionExpression"||u&&u.expandLastArg?o.unshift(n("body",u)):(a=a.body,e.call(d,"body"))}(),i.length>1)return function(d,D,v,y,b,S){var F=d.getName(),x=d.getParentNode(),w=k6(x)&&F==="callee",A=Boolean(D&&D.assignmentLayout),k=S.body.type!=="BlockStatement"&&S.body.type!=="ObjectExpression",O=w&&k||D&&D.assignmentLayout==="chain-tail-arrow-chain",q=Symbol("arrow-chain");return st([st(Gi([w||A?Fa:"",st(v6([" =>",Td],v),{shouldBreak:y})]),{id:q,shouldBreak:O})," =>",y6(k?Gi([Td,b]):[" ",b],{groupId:q}),w?Hi(Fa,"",{groupId:q}):""])}(e,u,i,s,o,a);var c=i;if(c.push(" =>"),!E6(t.originalText,a.body)&&(a.body.type==="ArrayExpression"||a.body.type==="ObjectExpression"||a.body.type==="BlockStatement"||A6(a.body)||b6(a.body,t.originalText)||a.body.type==="ArrowFunctionExpression"||a.body.type==="DoExpression"))return st([].concat(c,[" ",o]));if(a.body.type==="SequenceExpression")return st([].concat(c,[st([" (",Gi([Fa,o]),Fa,")"])]));var l=(u&&u.expandLastArg||e.getParentNode().type==="JSXExpressionContainer")&&!rp(a),p=u&&u.expandLastArg&&F6(t,"all"),f=a.body.type==="ConditionalExpression"&&!S6(a.body,!1);return st([].concat(c,[st([Gi([Td,f?Hi("","("):"",o,f?Hi("",")"):""]),l?[Hi(p?",":""),Fa]:""])]))},printMethod:function(e,t,n){var u=e.getNode(),a=u.kind,i=u.value||u,o=[];return a&&a!=="init"&&a!=="method"&&a!=="constructor"?(Gn.ok(a==="get"||a==="set"),o.push(a," ")):i.async&&o.push("async "),i.generator&&o.push("*"),o.push(P6(e,t,n),u.optional||u.key.optional?"?":""),u===i?o.push(Bd(e,t,n)):i.type==="FunctionExpression"?o.push(e.call(function(s){return Bd(s,t,n)},"value")):o.push(n("value")),o},printReturnStatement:function(e,t,n){return["return",e1(e,t,n)]},printThrowStatement:function(e,t,n){return["throw",e1(e,t,n)]},printMethodInternal:Bd,shouldPrintParamsWithoutParens:_2},r1=X.isNonEmptyArray,I6=X.hasNewline,qs=de.builders,tp=qs.line,np=qs.hardline,Nd=qs.join,O6=qs.breakParent,L6=qs.group,t1=tr.locStart,R6=tr.locEnd,M6=I.getParentExportDeclaration;function n1(r,e){return r.decorators.some(function(t){return I6(e.originalText,R6(t))})}function u1(r){if(r.type!=="ExportDefaultDeclaration"&&r.type!=="ExportNamedDeclaration"&&r.type!=="DeclareExportDeclaration")return!1;var e=r.declaration&&r.declaration.decorators;return r1(e)&&t1(r,{ignoreDecorators:!0})>t1(e[0])}var up={printDecorators:function(e,t,n){var u=e.getValue(),a=u.decorators;if(!(!r1(a)||u1(e.getParentNode()))){var i=u.type==="ClassExpression"||u.type==="ClassDeclaration"||n1(u,t);return[M6(e)?np:i?O6:"",Nd(tp,e.map(n,"decorators")),tp]}},printClassMemberDecorators:function(e,t,n){var u=e.getValue();return L6([Nd(tp,e.map(n,"decorators")),n1(u,t)?np:tp])},printDecoratorsBeforeExport:function(e,t,n){return[Nd(np,e.map(n,"declaration","decorators")),np]},hasDecoratorsBeforeExport:u1},zi=X.isNonEmptyArray,j6=X.createGroupIdMapper,$6=nr.printComments,q6=nr.printDanglingComments,Sa=de.builders,V6=Sa.join,Vs=Sa.line,a1=Sa.hardline,i1=Sa.softline,ap=Sa.group,ip=Sa.indent,Pd=Sa.ifBreak,Id=I.hasComment,Od=I.CommentCheckFlags,U6=Wi.getTypeParametersGroupId,W6=Xn.printMethod,G6=dr.printOptionalToken,H6=dr.printTypeAnnotation,z6=$s.printPropertyKey,X6=Rs.printAssignment,o1=up.printClassMemberDecorators,s1=j6("heritageGroup");function c1(r){return r.typeParameters&&!Id(r.typeParameters,Od.Trailing|Od.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter(function(t){return Boolean(e[t])}).length>1}(r)}function Ld(r,e,t,n){var u=r.getValue();if(!zi(u[n]))return"";var a=q6(r,e,!0,function(i){var o=i.marker;return o===n});return[c1(u)?Pd(" ",Vs,{groupId:U6(u.typeParameters)}):Vs,a,a&&a1,n,ap(ip([Vs,V6([",",Vs],r.map(t,n))]))]}function J6(r,e,t){var n=t("superClass");return r.getParentNode().type==="AssignmentExpression"?ap(Pd(["(",ip([i1,n]),i1,")"],n)):n}var Su={printClass:function(e,t,n){var u=e.getValue(),a=[];u.declare&&a.push("declare "),u.abstract&&a.push("abstract "),a.push("class");var i=u.id&&Id(u.id,Od.Trailing)||u.superClass&&Id(u.superClass)||zi(u.extends)||zi(u.mixins)||zi(u.implements),o=[],s=[];if(u.id&&o.push(" ",n("id")),o.push(n("typeParameters")),u.superClass){var c=["extends ",J6(e,t,n),n("superTypeParameters")],l=e.call(function(f){return $6(f,c,t)},"superClass");i?s.push(Vs,ap(l)):s.push(" ",l)}else s.push(Ld(e,t,n,"extends"));if(s.push(Ld(e,t,n,"mixins"),Ld(e,t,n,"implements")),i){var p;p=c1(u)?[].concat(o,[ip(s)]):ip([].concat(o,[s])),a.push(ap(p,{id:s1(u)}))}else a.push.apply(a,o.concat(s));return a.push(" ",n("body")),a},printClassMethod:function(e,t,n){var u=e.getValue(),a=[];return zi(u.decorators)&&a.push(o1(e,t,n)),u.accessibility&&a.push(u.accessibility+" "),u.readonly&&a.push("readonly "),u.declare&&a.push("declare "),u.static&&a.push("static "),u.override&&a.push("override "),(u.type==="TSAbstractMethodDefinition"||u.abstract)&&a.push("abstract "),a.push(W6(e,t,n)),a},printClassProperty:function(e,t,n){var u=e.getValue(),a=[],i=t.semi?";":"";return zi(u.decorators)&&a.push(o1(e,t,n)),u.accessibility&&a.push(u.accessibility+" "),u.declare&&a.push("declare "),u.static&&a.push("static "),u.override&&a.push("override "),(u.type==="TSAbstractClassProperty"||u.abstract)&&a.push("abstract "),u.readonly&&a.push("readonly "),u.variance&&a.push(n("variance")),a.push(z6(e,t,n),G6(e),H6(e,t,n)),[X6(e,t,n,a," =","value"),i]},printHardlineAfterHeritage:function(e){return Pd(a1,"",{groupId:s1(e)})}},l1=X.isNonEmptyArray,Us=de.builders,Y6=Us.join,Rd=Us.line,Md=Us.group,jd=Us.indent,K6=Us.ifBreak,p1=I.hasComment,Q6=I.identity,$d=I.CommentCheckFlags,Z6=Wi.getTypeParametersGroupId,_6=dr.printTypeScriptModifiers,qd={printInterface:function(e,t,n){var u=e.getValue(),a=[];u.declare&&a.push("declare "),u.type==="TSInterfaceDeclaration"&&a.push(u.abstract?"abstract ":"",_6(e,t,n)),a.push("interface");var i=[],o=[];u.type!=="InterfaceTypeAnnotation"&&i.push(" ",n("id"),n("typeParameters"));var s=u.typeParameters&&!p1(u.typeParameters,$d.Trailing|$d.Line);return l1(u.extends)&&o.push(s?K6(" ",Rd,{groupId:Z6(u.typeParameters)}):Rd,"extends ",(u.extends.length===1?Q6:jd)(Y6([",",Rd],e.map(n,"extends")))),u.id&&p1(u.id,$d.Trailing)||l1(u.extends)?s?a.push(Md([].concat(i,[jd(o)]))):a.push(Md(jd([].concat(i,o)))):a.push.apply(a,i.concat(o)),a.push(" ",n("body")),Md(a)}},Vd=X.isNonEmptyArray,Ta=de.builders,f1=Ta.softline,ek=Ta.group,rk=Ta.indent,Ud=Ta.join,Wd=Ta.line,tk=Ta.ifBreak,nk=Ta.hardline,uk=nr.printDanglingComments,d1=I.hasComment,ak=I.CommentCheckFlags,ik=I.shouldPrintComma,ok=I.needsHardlineAfterDanglingComment,h1=tr.locStart,sk=tr.hasSameLoc,ck=up.hasDecoratorsBeforeExport,lk=up.printDecoratorsBeforeExport;function Gd(r,e,t){var n=r.getValue();if(!n.source)return"";var u=[];return g1(n,e)||u.push(" from"),u.push(" ",t("source")),u}function D1(r,e,t){var n=r.getValue();if(g1(n,e))return"";var u=[" "];if(Vd(n.specifiers)){var a=[],i=[];r.each(function(){var o=r.getValue().type;if(o==="ExportNamespaceSpecifier"||o==="ExportDefaultSpecifier"||o==="ImportNamespaceSpecifier"||o==="ImportDefaultSpecifier")a.push(t());else{if(o!=="ExportSpecifier"&&o!=="ImportSpecifier")throw new Error("Unknown specifier type ".concat(JSON.stringify(o)));i.push(t())}},"specifiers"),u.push(Ud(", ",a)),i.length>0&&(a.length>0&&u.push(", "),i.length>1||a.length>0||n.specifiers.some(function(o){return d1(o)})?u.push(ek(["{",rk([e.bracketSpacing?Wd:f1,Ud([",",Wd],i)]),tk(ik(e)?",":""),e.bracketSpacing?Wd:f1,"}"])):u.push(["{",e.bracketSpacing?" ":""].concat(i,[e.bracketSpacing?" ":"","}"])))}else u.push("{}");return u}function g1(r,e){var t=r.type,n=r.importKind,u=r.source,a=r.specifiers;return t==="ImportDeclaration"&&!Vd(a)&&n!=="type"&&!/{\s*}/.test(e.originalText.slice(h1(r),h1(u)))}function Hd(r,e,t){var n=r.getNode();return Vd(n.assertions)?[" assert {",e.bracketSpacing?" ":"",Ud(", ",r.map(t,"assertions")),e.bracketSpacing?" ":"","}"]:""}var Xi={printImportDeclaration:function(e,t,n){var u=e.getValue(),a=t.semi?";":"",i=[],o=u.importKind;return i.push("import"),o&&o!=="value"&&i.push(" ",o),i.push(D1(e,t,n),Gd(e,t,n),Hd(e,t,n),a),i},printExportDeclaration:function(e,t,n){var u=e.getValue(),a=[];ck(u)&&a.push(lk(e,t,n));var i=u.type,o=u.exportKind,s=u.declaration;return a.push("export"),(u.default||i==="ExportDefaultDeclaration")&&a.push(" default"),d1(u,ak.Dangling)&&(a.push(" ",uk(e,t,!0)),ok(u)&&a.push(nk)),s?a.push(" ",n("declaration")):a.push(o==="type"?" type":"",D1(e,t,n),Gd(e,t,n),Hd(e,t,n)),function(c,l){if(!l.semi)return!1;var p=c.type,f=c.declaration,d=c.default||p==="ExportDefaultDeclaration";if(!f)return!0;var D=f.type;return!!(d&&D!=="ClassDeclaration"&&D!=="FunctionDeclaration"&&D!=="TSInterfaceDeclaration"&&D!=="DeclareClass"&&D!=="DeclareFunction"&&D!=="TSDeclareFunction"&&D!=="EnumDeclaration")}(u,t)&&a.push(";"),a},printExportAllDeclaration:function(e,t,n){var u=e.getValue(),a=t.semi?";":"",i=[],o=u.exportKind,s=u.exported;return i.push("export"),o==="type"&&i.push(" type"),i.push(" *"),s&&i.push(" as ",n("exported")),i.push(Gd(e,t,n),Hd(e,t,n),a),i},printModuleSpecifier:function(e,t,n){var u=e.getNode(),a=u.type,i=u.importKind,o=[];a==="ImportSpecifier"&&i&&o.push(i," ");var s=a.startsWith("Import"),c=s?"imported":"local",l=s?"local":"exported",p="",f="";return a==="ExportNamespaceSpecifier"||a==="ImportNamespaceSpecifier"?p="*":u[c]&&(p=n(c)),!u[l]||u[c]&&sk(u[c],u[l])||(f=n(l)),o.push(p,p&&f?" as ":"",f),o}},pk=I.getParentExportDeclaration,fk=Su.printClass,m1=rt.printOpaqueType,v1=rt.printTypeAlias,dk=rt.printIntersectionType,hk=rt.printUnionType,Dk=rt.printFunctionType,gk=rt.printTupleType,mk=rt.printIndexedAccessType,vk=qd.printInterface,yk=Wi.printTypeParameters,Ek=Xi.printExportDeclaration,Ck=Xi.printExportAllDeclaration;function yn(r,e){var t=pk(r);return t?(Gn.strictEqual(t.type,"DeclareExportDeclaration"),e):["declare ",e]}var Ak={printFlow:function(e,t,n){var u=e.getValue(),a=t.semi?";":"";switch(u.type){case"DeclareClass":return yn(e,fk(e,t,n));case"DeclareFunction":return yn(e,["function ",n("id"),u.predicate?" ":"",n("predicate"),a]);case"DeclareModule":return yn(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return yn(e,["module.exports",": ",n("typeAnnotation"),a]);case"DeclareVariable":return yn(e,["var ",n("id"),a]);case"DeclareOpaqueType":return yn(e,m1(e,t,n));case"DeclareInterface":return yn(e,vk(e,t,n));case"DeclareTypeAlias":return yn(e,v1(e,t,n));case"DeclareExportDeclaration":return yn(e,Ek(e,t,n));case"DeclareExportAllDeclaration":return yn(e,Ck(e,t,n));case"OpaqueType":return m1(e,t,n);case"TypeAlias":return v1(e,t,n);case"IntersectionTypeAnnotation":return dk(e,t,n);case"UnionTypeAnnotation":return hk(e,t,n);case"FunctionTypeAnnotation":return Dk(e,t,n);case"TupleTypeAnnotation":return gk(e,t,n);case"GenericTypeAnnotation":return[n("id"),yk(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return mk(e,t,n);case"TypeAnnotation":return n("typeAnnotation")}}},bk=X.hasNewlineInRange,op=I.isJsxNode,Fk=I.isBlockComment,zd=I.getComments,Sk=I.isCallExpression,y1=I.isMemberExpression,Tk=tr.locStart,xk=tr.locEnd,Tu=de.builders,E1=Tu.line,Ws=Tu.softline,C1=Tu.group,sp=Tu.indent,cp=Tu.align,lp=Tu.ifBreak,wk=Tu.dedent,Bk=Tu.breakParent;function kk(r,e,t){var n=r.getValue(),u=n.type==="ConditionalExpression",a=u?"alternate":"falseType",i=r.getParentNode(),o=u?t("test"):[t("checkType")," ","extends"," ",t("extendsType")];return i.type===n.type&&i[a]===n?cp(2,o):o}var Nk=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]),A1={printTernary:function(e,t,n){var u=e.getValue(),a=u.type==="ConditionalExpression",i=a?"consequent":"trueType",o=a?"alternate":"falseType",s=a?["test"]:["checkType","extendsType"],c=u[i],l=u[o],p=[],f=!1,d=e.getParentNode(),D=d.type===u.type&&s.some(function(K){return d[K]===u}),v,y,b=d.type===u.type&&!D,S=0;do y=v||u,v=e.getParentNode(S),S++;while(v&&v.type===u.type&&s.every(function(K){return v[K]!==y}));var F=v||d,x=y;if(a&&(op(u[s[0]])||op(c)||op(l)||function(K){for(var ne=[K],ue=0;ue<ne.length;ue++)for(var Ce=ne[ue],oe=0,ae=["test","consequent","alternate"];oe<ae.length;oe++){var ye=ae[oe],Le=Ce[ye];if(op(Le))return!0;Le.type==="ConditionalExpression"&&ne.push(Le)}return!1}(x))){f=!0,b=!0;var w=function(ne){return[lp("("),sp([Ws,ne]),Ws,lp(")")]},A=function(ne){return ne.type==="NullLiteral"||ne.type==="Literal"&&ne.value===null||ne.type==="Identifier"&&ne.name==="undefined"};p.push(" ? ",A(c)?n(i):w(n(i))," : ",l.type===u.type||A(l)?n(o):w(n(o)))}else{var k=[E1,"? ",c.type===u.type?lp("","("):"",cp(2,n(i)),c.type===u.type?lp("",")"):"",E1,": ",l.type===u.type?n(o):cp(2,n(o))];p.push(d.type!==u.type||d[o]===u||D?k:t.useTabs?wk(sp(k)):cp(Math.max(0,t.tabWidth-2),k))}var O=Yf([].concat(_(s.map(function(K){return zd(u[K])})),[zd(c),zd(l)])).some(function(K){return Fk(K)&&bk(t.originalText,Tk(K),xk(K))}),q=!f&&(y1(d)||d.type==="NGPipeExpression"&&d.left===u)&&!d.computed,H=function(K){var ne=K.getValue();if(ne.type!=="ConditionalExpression")return!1;for(var ue,Ce=ne,oe=0;!ue;oe++){var ae=K.getParentNode(oe);Sk(ae)&&ae.callee===Ce||y1(ae)&&ae.object===Ce||ae.type==="TSNonNullExpression"&&ae.expression===Ce?Ce=ae:ae.type==="NewExpression"&&ae.callee===Ce||ae.type==="TSAsExpression"&&ae.expression===Ce?(ue=K.getParentNode(oe+1),Ce=ae):ue=ae}return Ce!==ne&&ue[Nk.get(ue.type)]===Ce}(e),R=($=[kk(e,0,n),b?p:sp(p),a&&q&&!H?Ws:""],d===F?C1($,{shouldBreak:O}):O?[$,Bk]:$),$;return D||H?C1([sp([Ws,R]),Ws]):R}},b1=nr.printDanglingComments,Ji=de.builders,pp=Ji.line,Xd=Ji.softline,Jd=Ji.group,Pk=Ji.indent,F1=Ji.ifBreak,S1=Ji.hardline,T1=X.getLast,Ik=X.hasNewlineInRange,Ok=X.hasNewline,Lk=X.isNonEmptyArray,Rk=I.shouldPrintComma,Gs=I.hasComment,Mk=I.getComments,Hs=I.CommentCheckFlags,jk=I.isNextLineEmpty,zs=tr.locStart,$k=tr.locEnd,x1=dr.printOptionalToken,Yd=dr.printTypeAnnotation,w1=ya.shouldHugFunctionParameters,qk=rt.shouldHugType,Vk=Su.printHardlineAfterHeritage,B1={printObject:function(e,t,n){var u=t.semi?";":"",a=e.getValue(),i;i=a.type==="TSTypeLiteral"?"members":a.type==="TSInterfaceBody"?"body":"properties";var o=a.type==="ObjectTypeAnnotation",s=[i];o&&s.push("indexers","callProperties","internalSlots");for(var c=s.map(function(R){return a[R][0]}).sort(function(R,$){return zs(R)-zs($)})[0],l=e.getParentNode(0),p=o&&l&&(l.type==="InterfaceDeclaration"||l.type==="DeclareInterface"||l.type==="DeclareClass")&&e.getName()==="body",f=a.type==="TSInterfaceBody"||p||a.type==="ObjectPattern"&&l.type!=="FunctionDeclaration"&&l.type!=="FunctionExpression"&&l.type!=="ArrowFunctionExpression"&&l.type!=="ObjectMethod"&&l.type!=="ClassMethod"&&l.type!=="ClassPrivateMethod"&&l.type!=="AssignmentPattern"&&l.type!=="CatchClause"&&a.properties.some(function(R){return R.value&&(R.value.type==="ObjectPattern"||R.value.type==="ArrayPattern")})||a.type!=="ObjectPattern"&&c&&Ik(t.originalText,zs(a),zs(c)),d=p?";":a.type==="TSInterfaceBody"||a.type==="TSTypeLiteral"?F1(u,";"):",",D=a.type==="RecordExpression"?"#{":a.exact?"{|":"{",v=a.exact?"|}":"}",y=[],b=0,S=s;b<S.length;b++){var F=S[b];e.each(function(R){var $=R.getValue();y.push({node:$,printed:n(),loc:zs($)})},F)}s.length>1&&y.sort(function(R,$){return R.loc-$.loc});var x=[],w=y.map(function(R){var $=[].concat(_(x),[Jd(R.printed)]);return x=[d,pp],R.node.type!=="TSPropertySignature"&&R.node.type!=="TSMethodSignature"&&R.node.type!=="TSConstructSignatureDeclaration"||!Gs(R.node,Hs.PrettierIgnore)||x.shift(),jk(R.node,t)&&x.push(S1),$});if(a.inexact){var A;if(Gs(a,Hs.Dangling)){var k=Gs(a,Hs.Line);A=[b1(e,t,!0),k||Ok(t.originalText,$k(T1(Mk(a))))?S1:pp,"..."]}else A=["..."];w.push([].concat(_(x),_(A)))}var O=T1(a[i]),q=!(a.inexact||O&&O.type==="RestElement"||O&&(O.type==="TSPropertySignature"||O.type==="TSCallSignatureDeclaration"||O.type==="TSMethodSignature"||O.type==="TSConstructSignatureDeclaration")&&Gs(O,Hs.PrettierIgnore)),H;if(w.length===0){if(!Gs(a,Hs.Dangling))return[D,v,Yd(e,t,n)];H=Jd([D,b1(e,t),Xd,v,x1(e),Yd(e,t,n)])}else H=[p&&Lk(a.properties)?Vk(l):"",D,Pk([t.bracketSpacing?pp:Xd].concat(_(w))),F1(q&&(d!==","||Rk(t))?d:""),t.bracketSpacing?pp:Xd,v,x1(e),Yd(e,t,n)];return e.match(function(R){return R.type==="ObjectPattern"&&!R.decorators},function(R,$,K){return w1(R)&&($==="params"||$==="parameters"||$==="this"||$==="rest")&&K===0})||e.match(qk,function(R,$){return $==="typeAnnotation"},function(R,$){return $==="typeAnnotation"},function(R,$,K){return w1(R)&&($==="params"||$==="parameters"||$==="this"||$==="rest")&&K===0})||!f&&e.match(function(R){return R.type==="ObjectPattern"},function(R){return R.type==="AssignmentExpression"||R.type==="VariableDeclarator"})?H:Jd(H,{shouldBreak:f})}},k1=de.builders.hardline,Uk=I.getLeftSidePathName,Wk=I.hasNakedLeftSide,Gk=I.isJsxNode,Hk=I.isTheOnlyJsxElementInMarkdown,zk=I.hasComment,Xk=I.CommentCheckFlags,Jk=I.isNextLineEmpty,Yk=Xn.shouldPrintParamsWithoutParens;function N1(r,e,t,n){var u=r.getValue(),a=[],i=u.type==="ClassBody",o=function(s){for(var c=s.length-1;c>=0;c--){var l=s[c];if(l.type!=="EmptyStatement")return l}}(u[n]);return r.each(function(s,c,l){var p=s.getValue();if(p.type!=="EmptyStatement"){var f=t();e.semi||i||Hk(e,s)||!function(d,D){return d.getNode().type!=="ExpressionStatement"?!1:d.call(function(v){return P1(v,D)},"expression")}(s,e)?a.push(f):zk(p,Xk.Leading)?a.push(t([],{needsSemi:!0})):a.push(";",f),!e.semi&&i&&Kk(p)&&function(d,D){var v=d.key&&d.key.name;if(!(v!=="static"&&v!=="get"&&v!=="set"||d.value||d.typeAnnotation))return!0;if(!D||D.static||D.accessibility)return!1;if(!D.computed){var y=D.key&&D.key.name;if(y==="in"||y==="instanceof")return!0}switch(D.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractClassProperty":return D.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((D.value?D.value.async:D.async)||D.kind==="get"||D.kind==="set")return!1;var b=D.value?D.value.generator:D.generator;return!(!D.computed&&!b)}case"TSIndexSignature":return!0}return!1}(p,l[c+1])&&a.push(";"),p!==o&&(a.push(k1),Jk(p,e)&&a.push(k1))}},n),a}function P1(r,e){var t=r.getValue();switch(t.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!Yk(r,e))return!0;break;case"UnaryExpression":{var n=t.prefix,u=t.operator;if(n&&(u==="+"||u==="-"))return!0;break}case"BindExpression":if(!t.object)return!0;break;case"Literal":if(t.regex)return!0;break;default:if(Gk(t))return!0}return!!qi(r,e)||!!Wk(t)&&r.call.apply(r,[function(a){return P1(a,e)}].concat(_(Uk(r,t))))}var Kk=function(e){var t=e.type;return t==="ClassProperty"||t==="PropertyDefinition"||t==="ClassPrivateProperty"},I1={printBody:function(e,t,n){return N1(e,t,n,"body")},printSwitchCaseConsequent:function(e,t,n){return N1(e,t,n,"consequent")}},Qk=nr.printDanglingComments,O1=X.isNonEmptyArray,L1=de.builders,Yi=L1.hardline,Zk=L1.indent,_k=I.hasComment,eN=I.CommentCheckFlags,rN=I.isNextLineEmpty,tN=Su.printHardlineAfterHeritage,nN=I1.printBody;function R1(r,e,t){var n=r.getValue(),u=O1(n.directives),a=n.body.some(function(c){return c.type!=="EmptyStatement"}),i=_k(n,eN.Dangling);if(!u&&!a&&!i)return"";var o=[];if(u&&r.each(function(c,l,p){o.push(t()),(l<p.length-1||a||i)&&(o.push(Yi),rN(c.getValue(),e)&&o.push(Yi))},"directives"),a&&o.push(nN(r,e,t)),i&&o.push(Qk(r,e,!0)),n.type==="Program"){var s=r.getParentNode();s&&s.type==="ModuleExpression"||o.push(Yi)}return o}var Kd={printBlock:function(e,t,n){var u=e.getValue(),a=[];if(u.type==="StaticBlock"&&a.push("static "),u.type==="ClassBody"&&O1(u.body)){var i=e.getParentNode();a.push(tN(i))}a.push("{");var o=R1(e,t,n);if(o)a.push(Zk([Yi,o]),Yi);else{var s=e.getParentNode(),c=e.getParentNode(1);s.type==="ArrowFunctionExpression"||s.type==="FunctionExpression"||s.type==="FunctionDeclaration"||s.type==="ObjectMethod"||s.type==="ClassMethod"||s.type==="ClassPrivateMethod"||s.type==="ForStatement"||s.type==="WhileStatement"||s.type==="DoWhileStatement"||s.type==="DoExpression"||s.type==="CatchClause"&&!c.finalizer||s.type==="TSModuleDeclaration"||s.type==="TSDeclareFunction"||u.type==="StaticBlock"||u.type==="ClassBody"||a.push(Yi)}return a.push("}"),a},printBlockBody:R1},Qd=nr.printDanglingComments,uN=X.hasNewlineInRange,xu=de.builders,M1=xu.join,j1=xu.line,$1=xu.hardline,jt=xu.softline,tt=xu.group,Ki=xu.indent,aN=xu.conditionalGroup,fp=xu.ifBreak,iN=I.isLiteral,q1=I.getTypeScriptMappedTypeModifier,V1=I.shouldPrintComma,oN=I.isCallExpression,sN=I.isMemberExpression,Zd=tr.locStart,cN=tr.locEnd,U1=dr.printOptionalToken,_d=dr.printTypeScriptModifiers,lN=A1.printTernary,W1=ya.printFunctionParameters,pN=ya.shouldGroupFunctionParameters,fN=Eu.printTemplateLiteral,dN=Ps.printArrayItems,hN=B1.printObject,DN=Su.printClassProperty,gN=Su.printClassMethod,mN=Wi.printTypeParameter,eh=Wi.printTypeParameters,vN=$s.printPropertyKey,yN=Xn.printFunctionDeclaration,EN=Xn.printMethodInternal,CN=qd.printInterface,AN=Kd.printBlock,bN=rt.printTypeAlias,FN=rt.printIntersectionType,SN=rt.printUnionType,TN=rt.printFunctionType,xN=rt.printTupleType,wN=rt.printIndexedAccessType,BN={printTypescript:function(e,t,n){var u=e.getValue(),a=t.semi?";":"",i=[];switch(u.type){case"TSTypeAssertion":{var o=!(u.expression.type==="ArrayExpression"||u.expression.type==="ObjectExpression"),s=tt(["<",Ki([jt,n("typeAnnotation")]),jt,">"]),c=[fp("("),Ki([jt,n("expression")]),jt,fp(")")];return o?aN([[s,n("expression")],[s,tt(c,{shouldBreak:!0})],[s,n("expression")]]):tt([s,n("expression")])}case"TSDeclareFunction":return yN(e,n,t);case"TSExportAssignment":return["export = ",n("expression"),a];case"TSModuleBlock":return AN(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return hN(e,t,n);case"TSTypeAliasDeclaration":return bN(e,t,n);case"TSQualifiedName":return M1(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return gN(e,t,n);case"TSAbstractClassProperty":return DN(e,t,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return i.push(n("expression")),u.typeParameters&&i.push(n("typeParameters")),i;case"TSTemplateLiteralType":return fN(e,n,t);case"TSNamedTupleMember":return[n("label"),u.optional?"?":"",": ",n("elementType")];case"TSRestType":return["...",n("typeAnnotation")];case"TSOptionalType":return[n("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return CN(e,t,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return eh(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":return mN(e,t,n);case"TypeofTypeAnnotation":return["typeof ",n("argument")];case"TSAbstractKeyword":return"abstract";case"TSAsyncKeyword":return"async";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSStaticKeyword":return"static";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSIntrinsicKeyword":return"intrinsic";case"TSAsExpression":{i.push(n("expression")," as ",n("typeAnnotation"));var l=e.getParentNode();return oN(l)&&l.callee===u||sN(l)&&l.object===u?tt([Ki([jt].concat(i)),jt]):i}case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return u.export&&i.push("export "),u.accessibility&&i.push(u.accessibility+" "),u.static&&i.push("static "),u.readonly&&i.push("readonly "),i.push(vN(e,t,n),U1(e)),u.typeAnnotation&&i.push(": ",n("typeAnnotation")),u.initializer&&i.push(" = ",n("initializer")),i;case"TSParameterProperty":return u.accessibility&&i.push(u.accessibility+" "),u.export&&i.push("export "),u.static&&i.push("static "),u.readonly&&i.push("readonly "),i.push(n("parameter")),i;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":{var p=e.getParentNode(),f=u.parameters.length>1?fp(V1(t)?",":""):"",d=tt([Ki([jt,M1([", ",jt],e.map(n,"parameters"))]),f,jt]);return[u.export?"export ":"",u.accessibility?[u.accessibility," "]:"",u.static?"static ":"",u.readonly?"readonly ":"",u.declare?"declare ":"","[",u.parameters?d:"",u.typeAnnotation?"]: ":"]",u.typeAnnotation?n("typeAnnotation"):"",p.type==="ClassBody"?a:""]}case"TSTypePredicate":return[u.asserts?"asserts ":"",n("parameterName"),u.typeAnnotation?[" is ",n("typeAnnotation")]:""];case"TSNonNullExpression":return[n("expression"),"!"];case"TSImportType":return[u.isTypeOf?"typeof ":"","import(",n(u.parameter?"parameter":"argument"),")",u.qualifier?[".",n("qualifier")]:"",eh(e,t,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return wN(e,t,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if(u.type==="TSConstructorType"&&u.abstract&&i.push("abstract "),u.type!=="TSCallSignatureDeclaration"&&i.push("new "),i.push(tt(W1(e,n,t,!1,!0))),u.returnType||u.typeAnnotation){var D=u.type==="TSConstructorType";i.push(D?" => ":": ",n("returnType"),n("typeAnnotation"))}return i;case"TSTypeOperator":return[u.operator," ",n("typeAnnotation")];case"TSMappedType":{var v=uN(t.originalText,Zd(u),cN(u));return tt(["{",Ki([t.bracketSpacing?j1:jt,u.readonly?[q1(u.readonly,"readonly")," "]:"",_d(e,t,n),n("typeParameter"),u.optional?q1(u.optional,"?"):"",u.typeAnnotation?": ":"",n("typeAnnotation"),fp(a)]),Qd(e,t,!0),t.bracketSpacing?j1:jt,"}"],{shouldBreak:v})}case"TSMethodSignature":{var y=u.kind&&u.kind!=="method"?"".concat(u.kind," "):"";i.push(u.accessibility?[u.accessibility," "]:"",y,u.export?"export ":"",u.static?"static ":"",u.readonly?"readonly ":"",u.abstract?"abstract ":"",u.declare?"declare ":"",u.computed?"[":"",n("key"),u.computed?"]":"",U1(e));var b=W1(e,n,t,!1,!0),S=u.returnType?"returnType":"typeAnnotation",F=u[S],x=F?n(S):"",w=pN(u,x);return i.push(w?tt(b):b),F&&i.push(": ",tt(x)),tt(i)}case"TSNamespaceExportDeclaration":return i.push("export as namespace ",n("id")),t.semi&&i.push(";"),tt(i);case"TSEnumDeclaration":return u.declare&&i.push("declare "),u.modifiers&&i.push(_d(e,t,n)),u.const&&i.push("const "),i.push("enum ",n("id")," "),u.members.length===0?i.push(tt(["{",Qd(e,t),jt,"}"])):i.push(tt(["{",Ki([$1,dN(e,t,"members",n),V1(t,"es5")?",":""]),Qd(e,t,!0),$1,"}"])),i;case"TSEnumMember":return i.push(n("id")),u.initializer&&i.push(" = ",n("initializer")),i;case"TSImportEqualsDeclaration":return u.isExport&&i.push("export "),i.push("import "),u.importKind&&u.importKind!=="value"&&i.push(u.importKind," "),i.push(n("id")," = ",n("moduleReference")),t.semi&&i.push(";"),tt(i);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":{var A=e.getParentNode(),k=iN(u.id),O=A.type==="TSModuleDeclaration",q=u.body&&u.body.type==="TSModuleDeclaration";if(O)i.push(".");else{u.declare&&i.push("declare "),i.push(_d(e,t,n));var H=t.originalText.slice(Zd(u),Zd(u.id));u.id.type==="Identifier"&&u.id.name==="global"&&!/namespace|module/.test(H)||i.push(k||/(^|\s)module(\s|$)/.test(H)?"module ":"namespace ")}return i.push(n("id")),q?i.push(n("body")):u.body?i.push(" ",tt(n("body"))):i.push(a),i}case"TSPrivateIdentifier":return u.escapedText;case"TSConditionalType":return lN(e,t,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return FN(e,t,n);case"TSUnionType":return SN(e,t,n);case"TSFunctionType":return TN(e,t,n);case"TSTupleType":return xN(e,t,n);case"TSTypeReference":return[n("typeName"),eh(e,t,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return EN(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",n("typeAnnotation")];case"TSJSDocNonNullableType":return["!",n("typeAnnotation")];case"TSJSDocFunctionType":return["function(","): ",n("typeAnnotation")]}}},kN=X.hasNewline,G1=de.builders,NN=G1.join,H1=G1.hardline,PN=de.utils.replaceNewlinesWithLiterallines,IN=I.isLineComment,ON=I.isBlockComment,z1=tr.locStart,X1=tr.locEnd,LN={printComment:function(e,t){var n=e.getValue();if(IN(n))return t.originalText.slice(z1(n),X1(n)).trimEnd();if(ON(n)){if(function(o){var s="*".concat(o.value,"*").split(`
|
|
`);return s.length>1&&s.every(function(c){return c.trim()[0]==="*"})}(n)){var u=function(o){var s=o.value.split(`
|
|
`);return["/*",NN(H1,s.map(function(c,l){return l===0?c.trimEnd():" "+(l<s.length-1?c.trim():c.trimStart())})),"*/"]}(n);return n.trailing&&!kN(t.originalText,z1(n),{backwards:!0})?[H1,u]:u}var a=X1(n),i=t.originalText.slice(a-3,a)==="*-/";return["/*",PN(n.value),i?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(n))}},J1=X.printString,rh=X.printNumber;function Y1(r){return r.toLowerCase()}function K1(r){var e=r.pattern,t=r.flags;return t=t.split("").sort().join(""),"/".concat(e,"/").concat(t)}var RN={printLiteral:function(e,t){var n=e.getNode();switch(n.type){case"RegExpLiteral":return K1(n);case"BigIntLiteral":return Y1(n.bigint||n.extra.raw);case"NumericLiteral":return rh(n.extra.raw);case"StringLiteral":return J1(n.extra.raw,t);case"NullLiteral":return"null";case"BooleanLiteral":return String(n.value);case"DecimalLiteral":return rh(n.value)+"m";case"Literal":{if(n.regex)return K1(n.regex);if(n.bigint)return Y1(n.raw);var u=n.value;return typeof u=="number"?rh(n.raw):typeof u=="string"?J1(n.raw,t):String(u)}}}},dp=nr.printDanglingComments,Q1=X.hasNewline,MN=X.printString,Z1=X.printNumber,xa=de.builders,th=xa.join,Xs=xa.line,$r=xa.hardline,hr=xa.softline,jN=xa.literalline,ir=xa.group,qr=xa.indent,$N=J0.insertPragma,qN=I.getCallArguments,VN=I.hasFlowShorthandAnnotationComment,Qi=I.hasComment,nh=I.CommentCheckFlags,UN=I.isFunctionNotation,WN=I.isGetterOrSetter,GN=I.isTheOnlyJsxElementInMarkdown,uh=I.isBlockComment,HN=I.isLineComment,_1=I.isNextLineEmpty,zN=I.needsHardlineAfterDanglingComment,eE=I.rawText,XN=I.shouldPrintComma,JN=I.hasIgnoreComment,rE=I.isCallExpression,YN=I.isMemberExpression,tE=tr.locStart,nE=tr.locEnd,KN=Oy.printHtmlBinding,QN=Oy.isVueEventBindingExpression,ZN=Jw.printAngular,_N=e2.printJsx,e9=e2.hasJsxIgnoreComment,r9=Ak.printFlow,t9=BN.printTypescript,hp=dr.printOptionalToken,n9=dr.printBindExpressionCallee,ah=dr.printTypeAnnotation,wu=dr.adjustClause,u9=Xi.printImportDeclaration,a9=Xi.printExportDeclaration,i9=Xi.printExportAllDeclaration,o9=Xi.printModuleSpecifier,s9=A1.printTernary,c9=Eu.printTemplateLiteral,l9=Ps.printArray,p9=Ps.printArrayItems,f9=B1.printObject,d9=Su.printClass,h9=Su.printClassMethod,D9=Su.printClassProperty,g9=Wi.printTypeParameters,m9=$s.printPropertyKey,v9=$s.printProperty,y9=Xn.printFunctionDeclaration,E9=Xn.printArrowFunctionExpression,uE=Xn.printMethod,C9=Xn.printReturnStatement,A9=Xn.printThrowStatement,b9=b2.printCallExpression,F9=qd.printInterface,S9=Rs.printVariableDeclarator,T9=Rs.printAssignmentExpression,x9=ud.printBinaryishExpression,w9=I1.printSwitchCaseConsequent,B9=g2.printMemberExpression,k9=Kd.printBlock,N9=Kd.printBlockBody,P9=LN.printComment,I9=RN.printLiteral,O9=up.printDecorators;function aE(r,e){var t=eE(r),n=t.slice(1,-1);if(n.includes('"')||n.includes("'"))return t;var u=e.singleQuote?"'":'"';return u+n+u}var L9={preprocess:ky,print:function(e,t,n,u){var a=function(f,d,D,v){var y=f.getValue(),b=d.semi?";":"";if(!y)return"";if(typeof y=="string")return y;for(var S=0,F=[I9,KN,ZN,_N,r9,t9];S<F.length;S++){var x=F[S],w=x(f,d,D);if(w!==void 0)return w}var A=[];switch(y.type){case"JsExpressionRoot":return D("node");case"JsonRoot":return[D("node"),$r];case"File":return y.program&&y.program.interpreter&&A.push(D(["program","interpreter"])),A.push(D("program")),A;case"Program":return N9(f,d,D);case"EmptyStatement":return"";case"ExpressionStatement":if(y.directive)return[aE(y.expression,d),b];if(d.parser==="__vue_event_binding"){var k=f.getParentNode();if(k.type==="Program"&&k.body.length===1&&k.body[0]===y)return[D("expression"),QN(y.expression)?";":""]}return[D("expression"),GN(d,f)?"":b];case"ParenthesizedExpression":return!Qi(y.expression)&&(y.expression.type==="ObjectExpression"||y.expression.type==="ArrayExpression")?["(",D("expression"),")"]:ir(["(",qr([hr,D("expression")]),hr,")"]);case"AssignmentExpression":return T9(f,d,D);case"VariableDeclarator":return S9(f,d,D);case"BinaryExpression":case"LogicalExpression":return x9(f,d,D);case"AssignmentPattern":return[D("left")," = ",D("right")];case"OptionalMemberExpression":case"MemberExpression":return B9(f,d,D);case"MetaProperty":return[D("meta"),".",D("property")];case"BindExpression":return y.object&&A.push(D("object")),A.push(ir(qr([hr,n9(f,d,D)]))),A;case"Identifier":return[y.name,hp(f),ah(f,d,D)];case"V8IntrinsicIdentifier":return["%",y.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return["...",D("argument"),ah(f,d,D)];case"FunctionDeclaration":case"FunctionExpression":{var O=!1;if(v&&v.expandLastArg){var q=f.getParentNode();rE(q)&&qN(q).length>1&&(O=!0)}return y9(f,D,d,O)}case"ArrowFunctionExpression":return E9(f,d,D,v);case"YieldExpression":return A.push("yield"),y.delegate&&A.push("*"),y.argument&&A.push(" ",D("argument")),A;case"AwaitExpression":if(A.push("await"),y.argument){A.push(" ",D("argument"));var H=f.getParentNode();if(rE(H)&&H.callee===y||YN(H)&&H.object===y){A=[qr([hr].concat(_(A))),hr];var R=f.findAncestor(function(Ar){return Ar.type==="AwaitExpression"||Ar.type==="BlockStatement"});if(!R||R.type!=="AwaitExpression")return ir(A)}}return A;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return a9(f,d,D);case"ExportAllDeclaration":return i9(f,d,D);case"ImportDeclaration":return u9(f,d,D);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return o9(f,d,D);case"ImportAttribute":return[D("key"),": ",D("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return k9(f,d,D);case"ThrowStatement":return A9(f,d,D);case"ReturnStatement":return C9(f,d,D);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return b9(f,d,D);case"ObjectTypeInternalSlot":return[y.static?"static ":"","[[",D("id"),"]]",hp(f),y.method?"":": ",D("value")];case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"RecordExpression":return f9(f,d,D);case"ObjectProperty":case"Property":return y.method||y.kind==="get"||y.kind==="set"?uE(f,d,D):v9(f,d,D);case"ObjectMethod":return uE(f,d,D);case"Decorator":return["@",D("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return l9(f,d,D);case"SequenceExpression":{var $=f.getParentNode(0);if($.type==="ExpressionStatement"||$.type==="ForStatement"){var K=[];return f.each(function(Ar,fo){fo===0?K.push(D()):K.push(",",qr([Xs,D()]))},"expressions"),ir(K)}return ir(th([",",Xs],f.map(D,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[D("value"),b];case"DirectiveLiteral":return aE(y,d);case"UnaryExpression":return A.push(y.operator),/[a-z]$/.test(y.operator)&&A.push(" "),Qi(y.argument)?A.push(ir(["(",qr([hr,D("argument")]),hr,")"])):A.push(D("argument")),A;case"UpdateExpression":return A.push(D("argument"),y.operator),y.prefix&&A.reverse(),A;case"ConditionalExpression":return s9(f,d,D);case"VariableDeclaration":{var ne=f.map(D,"declarations"),ue=f.getParentNode(),Ce=ue.type==="ForStatement"||ue.type==="ForInStatement"||ue.type==="ForOfStatement",oe=y.declarations.some(function(Ar){return Ar.init}),ae;return ne.length!==1||Qi(y.declarations[0])?ne.length>0&&(ae=qr(ne[0])):ae=ne[0],A=[y.declare?"declare ":"",y.kind,ae?[" ",ae]:"",qr(ne.slice(1).map(function(Ar){return[",",oe&&!Ce?$r:Xs,Ar]}))],Ce&&ue.body!==y||A.push(b),ir(A)}case"WithStatement":return ir(["with (",D("object"),")",wu(y.body,D("body"))]);case"IfStatement":{var ye=wu(y.consequent,D("consequent")),Le=ir(["if (",ir([qr([hr,D("test")]),hr]),")",ye]);if(A.push(Le),y.alternate){var Te=Qi(y.consequent,nh.Trailing|nh.Line)||zN(y),Ne=y.consequent.type==="BlockStatement"&&!Te;A.push(Ne?" ":$r),Qi(y,nh.Dangling)&&A.push(dp(f,d,!0),Te?$r:" "),A.push("else",ir(wu(y.alternate,D("alternate"),y.alternate.type==="IfStatement")))}return A}case"ForStatement":{var Oe=wu(y.body,D("body")),We=dp(f,d,!0),Re=We?[We,hr]:"";return y.init||y.test||y.update?[Re,ir(["for (",ir([qr([hr,D("init"),";",Xs,D("test"),";",Xs,D("update")]),hr]),")",Oe])]:[Re,ir(["for (;;)",Oe])]}case"WhileStatement":return ir(["while (",ir([qr([hr,D("test")]),hr]),")",wu(y.body,D("body"))]);case"ForInStatement":return ir(["for (",D("left")," in ",D("right"),")",wu(y.body,D("body"))]);case"ForOfStatement":return ir(["for",y.await?" await":""," (",D("left")," of ",D("right"),")",wu(y.body,D("body"))]);case"DoWhileStatement":{var Ke=wu(y.body,D("body"));return A=[ir(["do",Ke])],y.body.type==="BlockStatement"?A.push(" "):A.push($r),A.push("while (",ir([qr([hr,D("test")]),hr]),")",b),A}case"DoExpression":return[y.async?"async ":"","do ",D("body")];case"BreakStatement":return A.push("break"),y.label&&A.push(" ",D("label")),A.push(b),A;case"ContinueStatement":return A.push("continue"),y.label&&A.push(" ",D("label")),A.push(b),A;case"LabeledStatement":return y.body.type==="EmptyStatement"?[D("label"),":;"]:[D("label"),": ",D("body")];case"TryStatement":return["try ",D("block"),y.handler?[" ",D("handler")]:"",y.finalizer?[" finally ",D("finalizer")]:""];case"CatchClause":if(y.param){var Fe=Qi(y.param,function(Ar){return!uh(Ar)||Ar.leading&&Q1(d.originalText,nE(Ar))||Ar.trailing&&Q1(d.originalText,tE(Ar),{backwards:!0})}),be=D("param");return["catch ",Fe?["(",qr([hr,be]),hr,") "]:["(",be,") "],D("body")]}return["catch ",D("body")];case"SwitchStatement":return[ir(["switch (",qr([hr,D("discriminant")]),hr,")"])," {",y.cases.length>0?qr([$r,th($r,f.map(function(Ar,fo,Hp){var cc=Ar.getValue();return[D(),fo!==Hp.length-1&&_1(cc,d)?$r:""]},"cases"))]):"",$r,"}"];case"SwitchCase":{y.test?A.push("case ",D("test"),":"):A.push("default:");var Qe=y.consequent.filter(function(Ar){return Ar.type!=="EmptyStatement"});if(Qe.length>0){var we=w9(f,d,D);A.push(Qe.length===1&&Qe[0].type==="BlockStatement"?[" ",we]:qr([$r,we]))}return A}case"DebuggerStatement":return["debugger",b];case"ClassDeclaration":case"ClassExpression":return d9(f,d,D);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return h9(f,d,D);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return D9(f,d,D);case"TemplateElement":return th(jN,y.value.raw.split(/\r?\n/g));case"TemplateLiteral":return c9(f,D,d);case"TaggedTemplateExpression":return[D("tag"),D("typeParameters"),D("quasi")];case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(y.type));case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[D("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(y.value);case"EnumDeclaration":return["enum ",D("id")," ",D("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if(y.type==="EnumSymbolBody"||y.explicitType){var Pe=null;switch(y.type){case"EnumBooleanBody":Pe="boolean";break;case"EnumNumberBody":Pe="number";break;case"EnumStringBody":Pe="string";break;case"EnumSymbolBody":Pe="symbol"}A.push("of ",Pe," ")}if(y.members.length!==0||y.hasUnknownMembers){var He=y.members.length>0?[$r,p9(f,d,"members",D),y.hasUnknownMembers||XN(d)?",":""]:[];A.push(ir(["{",qr([].concat(He,_(y.hasUnknownMembers?[$r,"..."]:[]))),dp(f,d,!0),$r,"}"]))}else A.push(ir(["{",dp(f,d),hr,"}"]));return A;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[D("id")," = ",Se(y.init)=="object"?D("init"):String(y.init)];case"EnumDefaultedMember":return D("id");case"FunctionTypeParam":{var er=y.name?D("name"):f.getParentNode().this===y?"this":"";return[er,hp(f),er?": ":"",D("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return F9(f,d,D);case"ClassImplements":case"InterfaceExtends":return[D("id"),D("typeParameters")];case"NullableTypeAnnotation":return["?",D("typeAnnotation")];case"Variance":{var Cr=y.kind;return Gn.ok(Cr==="plus"||Cr==="minus"),Cr==="plus"?"+":"-"}case"ObjectTypeCallProperty":return y.static&&A.push("static "),A.push(D("value")),A;case"ObjectTypeIndexer":return[y.variance?D("variance"):"","[",D("id"),y.id?": ":"",D("key"),"]: ",D("value")];case"ObjectTypeProperty":{var Wt="";return y.proto?Wt="proto ":y.static&&(Wt="static "),[Wt,WN(y)?y.kind+" ":"",y.variance?D("variance"):"",m9(f,d,D),hp(f),UN(y)?"":": ",D("value")]}case"QualifiedTypeIdentifier":return[D("qualification"),".",D("id")];case"StringLiteralTypeAnnotation":return MN(eE(y),d);case"NumberLiteralTypeAnnotation":Gn.strictEqual(Se(y.value),"number");case"BigIntLiteralTypeAnnotation":return y.extra?Z1(y.extra.raw):Z1(y.raw);case"TypeCastExpression":return["(",D("expression"),ah(f,d,D),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{var Zr=g9(f,d,D,"params");if(d.parser==="flow"){var xn=tE(y),on=nE(y),Lu=d.originalText.lastIndexOf("/*",xn),Ua=d.originalText.indexOf("*/",on);if(Lu!==-1&&Ua!==-1){var po=d.originalText.slice(Lu+2,Ua).trim();if(po.startsWith("::")&&!po.includes("/*")&&!po.includes("*/"))return["/*:: ",Zr," */"]}}return Zr}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",D("value"),")"];case"AnyTypeAnnotation":case"TSAnyKeyword":return"any";case"BooleanTypeAnnotation":case"TSBooleanKeyword":return"boolean";case"BigIntTypeAnnotation":case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"NullLiteralTypeAnnotation":case"TSNullKeyword":return"null";case"NumberTypeAnnotation":case"TSNumberKeyword":return"number";case"SymbolTypeAnnotation":case"TSSymbolKeyword":return"symbol";case"StringTypeAnnotation":case"TSStringKeyword":return"string";case"VoidTypeAnnotation":case"TSVoidKeyword":return"void";case"ThisTypeAnnotation":case"TSThisType":return"this";case"PrivateIdentifier":return["#",D("name")];case"PrivateName":return["#",D("id")];case"InterpreterDirective":return A.push("#!",y.value,$r),_1(y,d)&&A.push($r),A;case"PipelineBareFunction":return D("callee");case"PipelineTopicExpression":return D("expression");case"PipelinePrimaryTopicReference":return"#";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{A.push("module {");var sc=D("body");return sc&&A.push(qr([$r,sc]),$r),A.push("}"),A}default:throw new Error("unknown type: "+JSON.stringify(y.type))}}(e,t,n,u);if(!a)return"";var i=e.getValue(),o=i.type;if(o==="ClassMethod"||o==="ClassPrivateMethod"||o==="ClassProperty"||o==="PropertyDefinition"||o==="TSAbstractClassProperty"||o==="ClassPrivateProperty"||o==="MethodDefinition"||o==="TSAbstractMethodDefinition"||o==="TSDeclareMethod")return a;var s=O9(e,t,n);if(s)return ir([].concat(_(s),[a]));if(!qi(e,t))return u&&u.needsSemi?[";",a]:a;var c=[u&&u.needsSemi?";(":"(",a];if(VN(i)){var l=ke(i.trailingComments,1),p=l[0];c.push(" /*",p.value.trimStart(),"*/"),p.printed=!0}return c.push(")"),c},embed:wx,insertPragma:$N,massageAstNode:Nx,hasPrettierIgnore:function(e){return JN(e)||e9(e)},willPrintOwnComments:$i.willPrintOwnComments,canAttachComment:function(e){return e.type&&!uh(e)&&!HN(e)&&e.type!=="EmptyStatement"&&e.type!=="TemplateElement"&&e.type!=="Import"&&e.type!=="TSEmptyBodyFunctionExpression"},printComment:P9,isBlockComment:uh,handleComments:{avoidAstMutation:!0,ownLine:$i.handleOwnLineComment,endOfLine:$i.handleEndOfLineComment,remaining:$i.handleRemainingComment},getCommentChildNodes:$i.getCommentChildNodes},ih=de.builders,wa=ih.hardline,iE=ih.indent,oE=ih.join,R9=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function sE(r,e){var t=r.type;if(t!=="ObjectProperty"||r.key.type!=="Identifier"){if(t==="UnaryExpression"&&r.operator==="+")return e.argument;if(t!=="ArrayExpression")return t==="TemplateLiteral"?{type:"StringLiteral",value:r.quasis[0].value.cooked}:void 0;var n=le(r.elements.entries()),u;try{for(n.s();!(u=n.n()).done;){var a=ke(u.value,2),i=a[0],o=a[1];o===null&&e.elements.splice(i,0,{type:"NullLiteral"})}}catch(s){n.e(s)}finally{n.f()}}else e.key={type:"StringLiteral",value:r.key.name}}sE.ignoredProperties=R9;var M9={preprocess:ky,print:function(e,t,n){var u=e.getValue();switch(u.type){case"JsonRoot":return[n("node"),wa];case"ArrayExpression":{if(u.elements.length===0)return"[]";var a=e.map(function(){return e.getValue()===null?"null":n()},"elements");return["[",iE([wa,oE([",",wa],a)]),wa,"]"]}case"ObjectExpression":return u.properties.length===0?"{}":["{",iE([wa,oE([",",wa],e.map(n,"properties"))]),wa,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return[u.operator==="+"?"":u.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return u.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(u.value);case"Identifier":{var i=e.getParentNode();return i&&i.type==="ObjectProperty"&&i.key===u?JSON.stringify(u.name):u.name}case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(u.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(u.type))}},massageAstNode:sE},oh="Common",Jn={bracketSpacing:{since:"0.0.0",category:oh,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:oh,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:oh,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]}},Zi="JavaScript",j9={arrowParens:{since:"1.9.0",category:Zi,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:Jn.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:Zi,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:Zi,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Jn.singleQuote,jsxSingleQuote:{since:"1.15.0",category:Zi,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:Zi,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:Zi,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)."}]}},sh={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},$9={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},q9={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},cE={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},V9={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".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"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},U9={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},W9={languages:[cr(sh,function(r){return{since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[].concat(_(r.extensions.filter(function(e){return e!==".jsx"})),[".wxs"])}}),cr(sh,function(){return{name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}}),cr(sh,function(){return{name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0}}),cr($9,function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}}),cr(q9,function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}}),cr(cE,function(){return{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}}),cr(cE,function(r){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:r.extensions.filter(function(e){return e!==".jsonl"})}}),cr(V9,function(r){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[].concat(_(r.filenames),[".eslintrc"])}}),cr(U9,function(){return{since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}})],options:j9,printers:{estree:L9,"estree-json":M9},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},get espree(){return{}.parsers.espree},get meriyah(){return{}.parsers.meriyah}}},lE=X.isFrontMatterNode,G9=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function pE(r,e,t){if(lE(r)&&r.lang==="yaml"&&delete e.value,r.type==="css-comment"&&t.type==="css-root"&&t.nodes.length>0&&((t.nodes[0]===r||lE(t.nodes[0])&&t.nodes[1]===r)&&(delete e.text,/^\*\s*@(format|prettier)\s*$/.test(r.text))||t.type==="css-root"&&or(t.nodes)===r))return null;if(r.type==="value-root"&&delete e.text,r.type!=="media-query"&&r.type!=="media-query-list"&&r.type!=="media-feature-expression"||delete e.value,r.type==="css-rule"&&delete e.params,r.type==="selector-combinator"&&(e.value=e.value.replace(/\s+/g," ")),r.type==="media-feature"&&(e.value=e.value.replace(/ /g,"")),(r.type==="value-word"&&(r.isColor&&r.isHex||["initial","inherit","unset","revert"].includes(e.value.replace().toLowerCase()))||r.type==="media-feature"||r.type==="selector-root-invalid"||r.type==="selector-pseudo")&&(e.value=e.value.toLowerCase()),r.type==="css-decl"&&(e.prop=e.prop.toLowerCase()),r.type!=="css-atrule"&&r.type!=="css-import"||(e.name=e.name.toLowerCase()),r.type==="value-number"&&(e.unit=e.unit.toLowerCase()),r.type!=="media-feature"&&r.type!=="media-keyword"&&r.type!=="media-type"&&r.type!=="media-unknown"&&r.type!=="media-url"&&r.type!=="media-value"&&r.type!=="selector-attribute"&&r.type!=="selector-string"&&r.type!=="selector-class"&&r.type!=="selector-combinator"&&r.type!=="value-string"||!e.value||(e.value=e.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),r.type==="selector-attribute"&&(e.attribute=e.attribute.trim(),e.namespace&&typeof e.namespace=="string"&&(e.namespace=e.namespace.trim(),e.namespace.length===0&&(e.namespace=!0)),e.value&&(e.value=e.value.trim().replace(/^["']|["']$/g,""),delete e.quoted)),r.type!=="media-value"&&r.type!=="media-type"&&r.type!=="value-number"&&r.type!=="selector-root-invalid"&&r.type!=="selector-class"&&r.type!=="selector-combinator"&&r.type!=="selector-tag"||!e.value||(e.value=e.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,function(u,a,i){var o=Number(a);return Number.isNaN(o)?u:o+i.toLowerCase()})),r.type==="selector-tag"){var n=r.value.toLowerCase();["from","to"].includes(n)&&(e.value=n)}r.type==="css-atrule"&&r.name.toLowerCase()==="supports"&&delete e.value,r.type==="selector-unknown"&&delete e.value}pE.ignoredProperties=G9;var H9=pE,fE=de.builders,dE=fE.hardline,z9=fE.markAsRoot,ch=function(e,t){if(e.lang==="yaml"){var n=e.value.trim(),u=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return z9([e.startDelimiter,dE,u,u?dE:"",e.endDelimiter])}},X9=de.builders.hardline,J9=function(e,t,n){var u=e.getValue();if(u.type==="front-matter"){var a=ch(u,n);return a?[a,X9]:""}},Y9=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>[\\S\\s]*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)"),Dp=function(e){var t=e.match(Y9);if(!t)return{content:e};var n=t.groups,u=n.startDelimiter,a=n.language,i=n.value,o=i===void 0?"":i,s=n.endDelimiter,c=a.trim()||"yaml";if(u==="+++"&&(c="toml"),c!=="yaml"&&u!==s)return{content:e};var l=ke(t,1),p=l[0];return{frontMatter:{type:"front-matter",lang:c,value:o,startDelimiter:u,endDelimiter:s,raw:p.replace(/\n$/,"")},content:p.replace(/[^\n]/g," ")+e.slice(p.length)}},K9={hasPragma:function(e){return J0.hasPragma(Dp(e).content)},insertPragma:function(e){var t=Dp(e),n=t.frontMatter,u=t.content;return(n?n.raw+`
|
|
|
|
`:"")+J0.insertPragma(u)}},hE=X.isNonEmptyArray,Q9=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 DE(r,e){for(var t=Array.isArray(e)?e:[e],n,u=-1;n=r.getParentNode(++u);)if(t.includes(n.type))return u;return-1}function Bu(r,e){var t=DE(r,e);return t===-1?null:r.getParentNode(t)}function gE(r){return r.type==="value-operator"&&r.value==="*"}function mE(r){return r.type==="value-operator"&&r.value==="/"}function vE(r){return r.type==="value-operator"&&r.value==="+"}function yE(r){return r.type==="value-operator"&&r.value==="-"}function EE(r){return r.type==="value-operator"&&r.value==="%"}function lh(r){return r.type==="value-comma_group"&&r.groups&&r.groups[1]&&r.groups[1].type==="value-colon"}function gp(r){return r.type==="value-paren_group"&&r.groups&&r.groups[0]&&lh(r.groups[0])}function CE(r){return r&&r.type==="value-colon"}var qe={getAncestorCounter:DE,getAncestorNode:Bu,getPropOfDeclNode:function(e){var t=Bu(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(hE(e)){for(var t=e.length-1;t>0;t--)if(e[t].type==="word"&&e[t].value==="{"&&e[t-1].type==="word"&&e[t-1].value.endsWith("#"))return!0}return!1},hasStringOrFunction:function(e){if(hE(e)){for(var t=0;t<e.length;t++)if(e[t].type==="string"||e[t].type==="func")return!0}return!1},maybeToLowerCase:function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},insideValueFunctionNode:function(e,t){var n=Bu(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},insideICSSRuleNode:function(e){var t=Bu(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"))},insideAtRuleNode:function(e,t){var n=Array.isArray(t)?t:[t],u=Bu(e,"css-atrule");return u&&n.includes(u.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){var t=e.getValue(),n=Bu(e,"css-atrule");return n&&n.name==="import"&&t.groups[0].value==="url"&&t.groups.length===2},isKeyframeAtRuleKeywords:function(e,t){var n=Bu(e,"css-atrule");return n&&n.name&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},isWideKeywords:function(e){return["initial","inherit","unset","revert"].includes(e.toLowerCase())},isSCSS:function(e,t){return e==="less"||e==="scss"?e==="scss":/(\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)},isSCSSVariable:function(e){return Boolean(e&&e.type==="word"&&e.value.startsWith("$"))},isLastNode:function(e,t){var n=e.getParentNode();if(!n)return!1;var u=n.nodes;return u&&u.indexOf(t)===u.length-1},isLessParser:function(e){return e.parser==="css"||e.parser==="less"},isSCSSControlDirectiveNode:function(e){return e.type==="css-atrule"&&["if","else","for","each","while"].includes(e.name)},isDetachedRulesetDeclarationNode:function(e){return!!e.selector&&(typeof e.selector=="string"&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))},isRelationalOperatorNode:function(e){return e.type==="value-word"&&["<",">","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return e.type==="value-word"&&["==","!="].includes(e.value)},isMultiplicationNode:gE,isDivisionNode:mE,isAdditionNode:vE,isSubtractionNode:yE,isModuloNode:EE,isMathOperatorNode:function(e){return gE(e)||mE(e)||vE(e)||yE(e)||EE(e)},isEachKeywordNode:function(e){return e.type==="value-word"&&e.value==="in"},isForKeywordNode:function(e){return e.type==="value-word"&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return e.type==="value-func"&&e.value.toLowerCase()==="url"},isIfElseKeywordNode:function(e){return e.type==="value-word"&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){return e.value&&e.value.type==="value-root"&&e.value.group&&e.value.group.type==="value-value"&&e.prop.toLowerCase()==="composes"},hasParensAroundNode:function(e){return e.value&&e.value.group&&e.value.group.group&&e.value.group.group.type==="value-paren_group"&&e.value.group.group.open!==null&&e.value.group.group.close!==null},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==="$$"&&e.type==="value-func"&&t&&t.type==="value-word"&&!t.raws.before},isKeyValuePairNode:lh,isKeyValuePairInParenGroupNode:gp,isKeyInValuePairNode:function(e,t){if(!lh(t))return!1;var n=t.groups,u=n.indexOf(e);return u!==-1&&CE(n[u+1])},isSCSSMapItemNode:function(e){var t=e.getValue();if(t.groups.length===0)return!1;var n=e.getParentNode(1);if(!(gp(t)||n&&gp(n)))return!1;var u=Bu(e,"css-decl");return!!(u&&u.prop&&u.prop.startsWith("$"))||!!gp(n)||n.type==="value-func"},isInlineValueCommentNode:function(e){return e.type==="value-comment"&&e.inline},isHashNode:function(e){return e.type==="value-word"&&e.value==="#"},isLeftCurlyBraceNode:function(e){return e.type==="value-word"&&e.value==="{"},isRightCurlyBraceNode:function(e){return e.type==="value-word"&&e.value==="}"},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:CE,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return e.type==="value-func"&&Q9.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function r(e){if(e.groups)return(e.open&&e.open.value?e.open.value:"")+e.groups.reduce(function(u,a,i){return u+r(a)+(e.groups[0].type==="comma_group"&&i!==e.groups.length-1?",":"")},"")+(e.close&&e.close.value?e.close.value:"");var t=e.raws&&e.raws.before?e.raws.before:"",n=e.raws&&e.raws.quote?e.raws.quote:"";return t+n+(e.type==="atword"?"@":"")+(e.value?e.value:"")+n+(e.unit?e.unit:"")+(e.group?r(e.group):"")+(e.raws&&e.raws.after?e.raws.after:"")},isAtWordPlaceholderNode:function(e){return e&&e.type==="value-atword"&&e.value.startsWith("prettier-placeholder-")}},AE=function(e,t){for(var n=0,u=0;u<e.line-1;++u)n=t.indexOf(`
|
|
`,n)+1;return n+e.column},Z9=X.getLast,_9=X.skipEverythingButNewLine;function bE(r,e){return typeof r.sourceIndex=="number"?r.sourceIndex:r.source?AE(r.source.start,e)-1:null}function FE(r,e){if(r.type==="css-comment"&&r.inline)return _9(e,r.source.startOffset);var t=r.nodes&&Z9(r.nodes);return t&&r.source&&!r.source.end&&(r=t),r.source&&r.source.end?AE(r.source.end,e):null}function SE(r,e,t){r.source&&(r.source.startOffset=bE(r,t)+e,r.source.endOffset=FE(r,t)+e);for(var n in r){var u=r[n];n!=="source"&&u&&Se(u)=="object"&&SE(u,e,t)}}function eP(r){var e=r.source.startOffset;return typeof r.prop=="string"&&(e+=r.prop.length),r.type==="css-atrule"&&typeof r.name=="string"&&(e+=1+r.name.length+r.raws.afterName.match(/^\s*:?\s*/)[0].length),r.type!=="css-atrule"&&r.raws&&typeof r.raws.between=="string"&&(e+=r.raws.between.length),e}var TE={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function r(e,t){e.source&&(e.source.startOffset=bE(e,t),e.source.endOffset=FE(e,t));for(var n in e){var u=e[n];n!=="source"&&u&&Se(u)=="object"&&(u.type==="value-root"||u.type==="value-unknown"?SE(u,eP(e),u.text||u.value):r(u,t))}},replaceQuotesInInlineComments:function(e){for(var t,n="initial",u="initial",a=!1,i=[],o=0;o<e.length;o++){var s=e[o];switch(n){case"initial":if(s==="'"){n="single-quotes";continue}if(s==='"'){n="double-quotes";continue}if((s==="u"||s==="U")&&e.slice(o,o+4).toLowerCase()==="url("){n="url",o+=3;continue}if(s==="*"&&e[o-1]==="/"){n="comment-block";continue}if(s==="/"&&e[o-1]==="/"){n="comment-inline",t=o-1;continue}continue;case"single-quotes":if(s==="'"&&e[o-1]!=="\\"&&(n=u,u="initial"),s===`
|
|
`||s==="\r")return e;continue;case"double-quotes":if(s==='"'&&e[o-1]!=="\\"&&(n=u,u="initial"),s===`
|
|
`||s==="\r")return e;continue;case"url":if(s===")"&&(n="initial"),s===`
|
|
`||s==="\r")return e;if(s==="'"){n="single-quotes",u="url";continue}if(s==='"'){n="double-quotes",u="url";continue}continue;case"comment-block":s==="/"&&e[o-1]==="*"&&(n="initial");continue;case"comment-inline":s!=='"'&&s!=="'"&&s!=="*"||(a=!0),s!==`
|
|
`&&s!=="\r"||(a&&i.push([t,o]),n="initial",a=!1);continue}}for(var c=0,l=i;c<l.length;c++){var p=ke(l[c],2),f=p[0],d=p[1];e=e.slice(0,f)+e.slice(f,d).replace(/["'*]/g," ")+e.slice(d)}return e}},rP=X.printNumber,xE=X.printString,tP=X.hasNewline,wE=X.isFrontMatterNode,nP=X.isNextLineEmpty,uP=X.isNonEmptyArray,En=de.builders,_i=En.join,ct=En.line,nt=En.hardline,ku=En.softline,en=En.group,ph=En.fill,$t=En.indent,mp=En.dedent,BE=En.ifBreak,kE=En.breakParent,NE=de.utils,aP=NE.removeLines,PE=NE.getDocParts,iP=K9.insertPragma,fh=qe.getAncestorNode,oP=qe.getPropOfDeclNode,Ba=qe.maybeToLowerCase,vp=qe.insideValueFunctionNode,sP=qe.insideICSSRuleNode,dh=qe.insideAtRuleNode,cP=qe.insideURLFunctionInImportAtRuleNode,lP=qe.isKeyframeAtRuleKeywords,pP=qe.isWideKeywords,fP=qe.isSCSS,hh=qe.isLastNode,IE=qe.isLessParser,Dh=qe.isSCSSControlDirectiveNode,dP=qe.isDetachedRulesetDeclarationNode,hP=qe.isRelationalOperatorNode,DP=qe.isEqualityOperatorNode,OE=qe.isMultiplicationNode,gh=qe.isDivisionNode,ka=qe.isAdditionNode,Js=qe.isSubtractionNode,mh=qe.isMathOperatorNode,gP=qe.isEachKeywordNode,mP=qe.isForKeywordNode,vP=qe.isURLFunctionNode,yP=qe.isIfElseKeywordNode,EP=qe.hasComposesNode,CP=qe.hasParensAroundNode,eo=qe.hasEmptyRawBefore,AP=qe.isKeyValuePairNode,bP=qe.isKeyInValuePairNode,LE=qe.isDetachedRulesetCallNode,RE=qe.isTemplatePlaceholderNode,FP=qe.isTemplatePropNode,SP=qe.isPostcssSimpleVarNode,TP=qe.isSCSSMapItemNode,ME=qe.isInlineValueCommentNode,vh=qe.isHashNode,jE=qe.isLeftCurlyBraceNode,yh=qe.isRightCurlyBraceNode,yp=qe.isWordNode,$E=qe.isColonNode,xP=qe.isMediaAndSupportsKeywords,wP=qe.isColorAdjusterFuncNode,Ys=qe.lastLineHasInlineComment,Eh=qe.isAtWordPlaceholderNode,Na=TE.locStart,Nu=TE.locEnd;function BP(r){return r.trailingComma==="es5"||r.trailingComma==="all"}function Ks(r,e,t){var n=[];return r.each(function(u,a,i){var o=i[a-1];if(o&&o.type==="css-comment"&&o.text.trim()==="prettier-ignore"){var s=u.getValue();n.push(e.originalText.slice(Na(s),Nu(s)))}else n.push(t());a!==i.length-1&&(i[a+1].type==="css-comment"&&!tP(e.originalText,Na(i[a+1]),{backwards:!0})&&!wE(i[a])||i[a+1].type==="css-atrule"&&i[a+1].name==="else"&&i[a].type!=="css-comment"?n.push(" "):(n.push(e.__isHTMLStyleAttribute?ct:nt),nP(e.originalText,u.getValue(),Nu)&&!wE(i[a])&&n.push(nt)))},"nodes"),n}var qE=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,kP=new RegExp(qE.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 Cn(r,e){return r.replace(qE,function(t){return xE(t,e)})}function NP(r,e){var t=e.singleQuote?"'":'"';return r.includes('"')||r.includes("'")?r:t+r+t}function ro(r){return r.replace(kP,function(e,t,n,u,a){return!n&&u?VE(u)+Ba(a||""):e})}function VE(r){return rP(r).replace(/\.0(?=$|e)/,"")}var PP={print:function(e,t,n){var u=e.getValue();if(!u)return"";if(typeof u=="string")return u;switch(u.type){case"front-matter":return[u.raw,nt];case"css-root":{var a=Ks(e,t,n),i=u.raws.after.trim();return[a,i?" ".concat(i):"",PE(a).length>0?nt:""]}case"css-comment":{var o=u.inline||u.raws.inline,s=t.originalText.slice(Na(u),Nu(u));return o?s.trimEnd():s}case"css-rule":return[n("selector"),u.important?" !important":"",u.nodes?[u.selector&&u.selector.type==="selector-unknown"&&Ys(u.selector.value)?ct:" ","{",u.nodes.length>0?$t([nt,Ks(e,t,n)]):"",nt,"}",dP(u)?";":""]:";"];case"css-decl":{var c=e.getParentNode(),l=u.raws.between,p=l.trim(),f=p===":",d=EP(u)?aP(n("value")):n("value");return!f&&Ys(p)&&(d=$t([nt,mp(d)])),[u.raws.before.replace(/[\s;]/g,""),sP(e)?u.prop:Ba(u.prop),p.startsWith("//")?" ":"",p,u.extend?"":" ",IE(t)&&u.extend&&u.selector?["extend(",n("selector"),")"]:"",d,u.raws.important?u.raws.important.replace(/\s*!\s*important/i," !important"):u.important?" !important":"",u.raws.scssDefault?u.raws.scssDefault.replace(/\s*!default/i," !default"):u.scssDefault?" !default":"",u.raws.scssGlobal?u.raws.scssGlobal.replace(/\s*!global/i," !global"):u.scssGlobal?" !global":"",u.nodes?[" {",$t([ku,Ks(e,t,n)]),ku,"}"]:FP(u)&&!c.raws.semicolon&&t.originalText[Nu(u)-1]!==";"?"":t.__isHTMLStyleAttribute&&hh(e,u)?BE(";"):";"]}case"css-atrule":{var D=e.getParentNode(),v=RE(u)&&!D.raws.semicolon&&t.originalText[Nu(u)-1]!==";";if(IE(t)){if(u.mixin)return[n("selector"),u.important?" !important":"",v?"":";"];if(u.function)return[u.name,n("params"),v?"":";"];if(u.variable)return["@",u.name,": ",u.value?n("value"):"",u.raws.between.trim()?u.raws.between.trim()+" ":"",u.nodes?["{",$t([u.nodes.length>0?ku:"",Ks(e,t,n)]),ku,"}"]:"",v?"":";"]}return["@",LE(u)||u.name.endsWith(":")?u.name:Ba(u.name),u.params?[LE(u)?"":RE(u)?u.raws.afterName===""?"":u.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(u.raws.afterName)?[nt,nt]:/^\s*\n/.test(u.raws.afterName)?nt:" ":" ",n("params")]:"",u.selector?$t([" ",n("selector")]):"",u.value?en([" ",n("value"),Dh(u)?CP(u)?" ":ct:""]):u.name==="else"?" ":"",u.nodes?[Dh(u)?"":u.selector&&!u.selector.nodes&&typeof u.selector.value=="string"&&Ys(u.selector.value)||!u.selector&&typeof u.params=="string"&&Ys(u.params)?ct:" ","{",$t([u.nodes.length>0?ku:"",Ks(e,t,n)]),ku,"}"]:v?"":";"]}case"media-query-list":{var y=[];return e.each(function(lc){var Kn=lc.getValue();Kn.type==="media-query"&&Kn.value===""||y.push(n())},"nodes"),en($t(_i(ct,y)))}case"media-query":return[_i(" ",e.map(n,"nodes")),hh(e,u)?"":","];case"media-type":return ro(Cn(u.value,t));case"media-feature-expression":return u.nodes?["("].concat(_(e.map(n,"nodes")),[")"]):u.value;case"media-feature":return Ba(Cn(u.value.replace(/ +/g," "),t));case"media-colon":return[u.value," "];case"media-value":return ro(Cn(u.value,t));case"media-keyword":return Cn(u.value,t);case"media-url":return Cn(u.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return u.value;case"selector-root":return en([dh(e,"custom-selector")?[fh(e,"css-atrule").customSelector,ct]:"",_i([",",dh(e,["extend","custom-selector","nest"])?ct:nt],e.map(n,"nodes"))]);case"selector-selector":return en($t(e.map(n,"nodes")));case"selector-comment":return u.value;case"selector-string":return Cn(u.value,t);case"selector-tag":{var b=e.getParentNode(),S=b&&b.nodes.indexOf(u),F=S&&b.nodes[S-1];return[u.namespace?[u.namespace===!0?"":u.namespace.trim(),"|"]:"",F.type==="selector-nesting"?u.value:ro(lP(e,u.value)?u.value.toLowerCase():u.value)]}case"selector-id":return["#",u.value];case"selector-class":return[".",ro(Cn(u.value,t))];case"selector-attribute":return["[",u.namespace?[u.namespace===!0?"":u.namespace.trim(),"|"]:"",u.attribute.trim(),u.operator?u.operator:"",u.value?NP(Cn(u.value.trim(),t),t):"",u.insensitive?" i":"","]"];case"selector-combinator":if(u.value==="+"||u.value===">"||u.value==="~"||u.value===">>>"){var x=e.getParentNode();return[x.type==="selector-selector"&&x.nodes[0]===u?"":ct,u.value,hh(e,u)?"":" "]}return[u.value.trim().startsWith("(")?ct:"",ro(Cn(u.value.trim(),t))||ct];case"selector-universal":return[u.namespace?[u.namespace===!0?"":u.namespace.trim(),"|"]:"",u.value];case"selector-pseudo":return[Ba(u.value),uP(u.nodes)?["(",_i(", ",e.map(n,"nodes")),")"]:""];case"selector-nesting":return u.value;case"selector-unknown":{var w=fh(e,"css-rule");if(w&&w.isSCSSNesterProperty)return ro(Cn(Ba(u.value),t));var A=e.getParentNode();if(A.raws&&A.raws.selector){var k=Na(A),O=k+A.raws.selector.length;return t.originalText.slice(k,O).trim()}var q=e.getParentNode(1);if(A.type==="value-paren_group"&&q&&q.type==="value-func"&&q.value==="selector"){var H=Na(A.open)+1,R=Nu(A.close)-1,$=t.originalText.slice(H,R).trim();return Ys($)?[kE,$]:$}return u.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(Na(u),Nu(u));case"value-comma_group":{for(var K=e.getParentNode(),ne=e.getParentNode(1),ue=oP(e),Ce=ue&&K.type==="value-value"&&(ue==="grid"||ue.startsWith("grid-template")),oe=fh(e,"css-atrule"),ae=oe&&Dh(oe),ye=u.groups.some(function(lc){return ME(lc)}),Le=e.map(n,"groups"),Te=[],Ne=vp(e,"url"),Oe=!1,We=!1,Re=0;Re<u.groups.length;++Re){Te.push(Le[Re]);var Ke=u.groups[Re-1],Fe=u.groups[Re],be=u.groups[Re+1],Qe=u.groups[Re+2];if(Ne){(be&&ka(be)||ka(Fe))&&Te.push(" ");continue}if(!!be&&!(Fe.type==="value-word"&&Fe.value.endsWith("-")&&Eh(be))){var we=Fe.type==="value-string"&&Fe.value.startsWith("#{"),Pe=Oe&&be.type==="value-string"&&be.value.endsWith("}");if(we||Pe){Oe=!Oe;continue}if(!Oe&&!($E(Fe)||$E(be))&&!(Fe.type==="value-atword"&&Fe.value==="")&&Fe.value!=="~"&&!(Fe.value&&Fe.value.includes("\\")&&be&&be.type!=="value-comment")&&!(Ke&&Ke.value&&Ke.value.indexOf("\\")===Ke.value.length-1&&Fe.type==="value-operator"&&Fe.value==="/")&&Fe.value!=="\\"&&!SP(Fe,be)&&!(vh(Fe)||jE(Fe)||yh(be)||jE(be)&&eo(be)||yh(Fe)&&eo(be))&&!(Fe.value==="--"&&vh(be))){var He=mh(Fe),er=mh(be);if(!((He&&vh(be)||er&&yh(Fe))&&eo(be))&&!(!Ke&&gh(Fe))&&!(vp(e,"calc")&&(ka(Fe)||ka(be)||Js(Fe)||Js(be))&&eo(be))){var Cr=(ka(Fe)||Js(Fe))&&Re===0&&(be.type==="value-number"||be.isHex)&&ne&&wP(ne)&&!eo(be),Wt=Qe&&Qe.type==="value-func"||Qe&&yp(Qe)||Fe.type==="value-func"||yp(Fe),Zr=be.type==="value-func"||yp(be)||Ke&&Ke.type==="value-func"||Ke&&yp(Ke);if(OE(be)||OE(Fe)||vp(e,"calc")||Cr||!(gh(be)&&!Wt||gh(Fe)&&!Zr||ka(be)&&!Wt||ka(Fe)&&!Zr||Js(be)||Js(Fe))||!(eo(be)||He&&(!Ke||Ke&&mh(Ke))))if(ME(Fe)){if(K.type==="value-paren_group"){Te.push(mp(nt));continue}Te.push(nt)}else ae&&(DP(be)||hP(be)||yP(be)||gP(Fe)||mP(Fe))||oe&&oe.name.toLowerCase()==="namespace"?Te.push(" "):Ce?Fe.source&&be.source&&Fe.source.start.line!==be.source.start.line?(Te.push(nt),We=!0):Te.push(" "):er?Te.push(" "):be&&be.value==="..."||Eh(Fe)&&Eh(be)&&Nu(Fe)===Na(be)||Te.push(ct)}}}}return ye&&Te.push(kE),We&&Te.unshift(nt),ae?en($t(Te)):cP(e)?en(ph(Te)):en($t(ph(Te)))}case"value-paren_group":{var xn=e.getParentNode();if(xn&&vP(xn)&&(u.groups.length===1||u.groups.length>0&&u.groups[0].type==="value-comma_group"&&u.groups[0].groups.length>0&&u.groups[0].groups[0].type==="value-word"&&u.groups[0].groups[0].value.startsWith("data:")))return[u.open?n("open"):"",_i(",",e.map(n,"groups")),u.close?n("close"):""];if(!u.open){for(var on=e.map(n,"groups"),Lu=[],Ua=0;Ua<on.length;Ua++)Ua!==0&&Lu.push([",",ct]),Lu.push(on[Ua]);return en($t(ph(Lu)))}var po=TP(e),sc=or(u.groups),Ar=sc&&sc.type==="value-comment",fo=bP(u,xn),Hp=en([u.open?n("open"):"",$t([ku,_i([",",ct],e.map(function(lc){var Kn=lc.getValue(),gD=n();if(AP(Kn)&&Kn.type==="value-comma_group"&&Kn.groups&&Kn.groups[0].type!=="value-paren_group"&&Kn.groups[2]&&Kn.groups[2].type==="value-paren_group"){var rb=PE(gD.contents.contents);return rb[1]=en(rb[1]),en(mp(gD))}return gD},"groups"))]),BE(!Ar&&fP(t.parser,t.originalText)&&po&&BP(t)?",":""),ku,u.close?n("close"):""],{shouldBreak:po&&!fo});return fo?mp(Hp):Hp}case"value-func":return[u.value,dh(e,"supports")&&xP(u)?" ":"",n("group")];case"value-paren":return u.value;case"value-number":return[VE(u.value),Ba(u.unit)];case"value-operator":return u.value;case"value-word":return u.isColor&&u.isHex||pP(u.value)?u.value.toLowerCase():u.value;case"value-colon":{var cc=e.getParentNode(),eb=cc&&cc.groups.indexOf(u),DD=eb&&cc.groups[eb-1];return[u.value,DD&&typeof DD.value=="string"&&or(DD.value)==="\\"||vp(e,"url")?"":ct]}case"value-comma":return[u.value," "];case"value-string":return xE(u.raws.quote+u.value+u.raws.quote,t);case"value-atword":return["@",u.value];case"value-unicode-range":case"value-unknown":return u.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(u.type)))}},embed:J9,insertPragma:iP,massageAstNode:H9},IP={singleQuote:Jn.singleQuote},OP={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},LP={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},RP={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},MP={languages:[cr({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},function(r){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[].concat(_(r.extensions),[".wxss"])}}),cr(OP,function(){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}}),cr(LP,function(){return{since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}}),cr(RP,function(){return{since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}})],options:IP,printers:{postcss:PP},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}},UE={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}};function WE(r,e){if(r.type==="TextNode"){var t=r.chars.trim();if(!t)return null;e.chars=t.replace(/[\t\n\f\r ]+/g," ")}r.type==="AttrNode"&&r.name.toLowerCase()==="class"&&delete e.value}WE.ignoredProperties=new Set(["loc","selfClosing"]);var jP=WE,$P=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function GE(r){return Pa(r,["TextNode"])&&!/\S/.test(r.chars)}function Pa(r,e){return r&&e.includes(r.type)}function Ch(r,e){return Pa(r.getParentNode(0),e)}function HE(r,e){var t=r.getValue(),n=r.getParentNode(0)||{},u=n.children||n.body||n.parts||[],a=u.indexOf(t);return a!==-1&&u[a+e]}function Ah(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return HE(r,-e)}function zE(r){return HE(r,1)}function XE(r){return Pa(r,["MustacheCommentStatement"])&&typeof r.value=="string"&&r.value.trim()==="prettier-ignore"}var An={getNextNode:zE,getPreviousNode:Ah,hasPrettierIgnore:function(e){var t=e.getValue(),n=Ah(e,2);return XE(t)||XE(n)},isLastNodeOfSiblings:function(e){var t=e.getValue(),n=e.getParentNode(0);return!(!Ch(e,["ElementNode"])||or(n.children)!==t)||!(!Ch(e,["Block"])||or(n.body)!==t)},isNextNodeOfSomeType:function(e,t){return Pa(zE(e),t)},isNodeOfSomeType:Pa,isParentOfSomeType:Ch,isPreviousNodeOfSomeType:function(e,t){return Pa(Ah(e),t)},isVoid:function(e){return function(t){return Pa(t,["ElementNode"])&&typeof t.tag=="string"&&(function(n){return n.toUpperCase()===n}(t.tag[0])||t.tag.includes("."))}(e)&&e.children.every(function(t){return GE(t)})||$P.has(e.tag)},isWhitespaceNode:GE},bn=de.builders,JE=bn.dedent,YE=bn.fill,Fn=bn.group,to=bn.hardline,KE=bn.ifBreak,vt=bn.indent,Ep=bn.join,lt=bn.line,Yn=bn.softline,qP=bn.literalline,VP=de.utils.getDocParts,QE=X.isNonEmptyArray,UP=X.replaceEndOfLineWith,bh=UE.locStart,Fh=UE.locEnd,WP=An.getNextNode,GP=An.getPreviousNode,HP=An.hasPrettierIgnore,ZE=An.isLastNodeOfSiblings,Cp=An.isNextNodeOfSomeType,Sh=An.isNodeOfSomeType,Ap=An.isParentOfSomeType,Th=An.isPreviousNodeOfSomeType,_E=An.isVoid,eC=An.isWhitespaceNode;function rC(r,e,t){var n=r.getValue().children.every(function(u){return eC(u)});return e.htmlWhitespaceSensitivity==="ignore"&&n?"":r.map(function(u,a){var i=t();return a===0&&e.htmlWhitespaceSensitivity==="ignore"?[Yn,i]:i},"children")}function zP(r){return _E(r)?KE([Yn,"/>"],[" />",Yn]):KE([Yn,">"],">")}function bp(r){return[r.escaped===!1?"{{{":"{{",r.strip&&r.strip.open?"~":""]}function Fp(r){var e=r.escaped===!1?"}}}":"}}";return[r.strip&&r.strip.close?"~":"",e]}function tC(r){return[bp(r),r.closeStrip.open?"~":"","/"]}function nC(r){var e=Fp(r);return[r.closeStrip.close?"~":"",e]}function uC(r){return[bp(r),r.inverseStrip.open?"~":""]}function aC(r){var e=Fp(r);return[r.inverseStrip.close?"~":"",e]}function XP(r,e){var t=r.getValue(),n=function(s){return[bp(s),s.openStrip.open?"~":"","#"]}(t),u=function(s){var c=Fp(s);return[s.openStrip.close?"~":"",c]}(t),a=[wh(r,e)],i=Sp(r,e);if(i&&a.push(lt,i),QE(t.program.blockParams)){var o=fC(t.program);a.push(lt,o)}return Fn([n,vt(a),Yn,u])}function JP(r,e){return[e.htmlWhitespaceSensitivity==="ignore"?to:"",uC(r),"else",aC(r)]}function YP(r,e){var t=r.getParentNode(1);return[uC(t),"else if ",Sp(r,e),aC(t)]}function KP(r,e,t){var n=r.getValue();return t.htmlWhitespaceSensitivity==="ignore"?[iC(n)?Yn:to,tC(n),e("path"),nC(n)]:[tC(n),e("path"),nC(n)]}function iC(r){return Sh(r,["BlockStatement"])&&r.program.body.every(function(e){return eC(e)})}function oC(r){return Sh(r,["BlockStatement"])&&r.inverse}function sC(r,e,t){if(iC(r.getValue()))return"";var n=e("program");return t.htmlWhitespaceSensitivity==="ignore"?vt([to,n]):vt(n)}function cC(r,e,t){var n=r.getValue(),u=e("inverse"),a=t.htmlWhitespaceSensitivity==="ignore"?[to,u]:u;return function(i){return oC(i)&&i.inverse.body.length===1&&Sh(i.inverse.body[0],["BlockStatement"])&&i.inverse.body[0].path.parts[0]==="if"}(n)?a:oC(n)?[JP(n,t),vt(a)]:""}function lC(r){return VP(Ep(lt,function(e){return e.split(/[\t\n\f\r ]+/)}(r)))}function no(r){return(r=typeof r=="string"?r:"").split(`
|
|
`).length-1}function Qs(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Array(Math.min(r,2)).fill(to)}function xh(r,e){var t={quote:'"',regex:/"/g},n={quote:"'",regex:/'/g},u=r.singleQuote?n:t,a=u===n?t:n,i=!1;return(e.includes(u.quote)||e.includes(a.quote))&&(i=(e.match(u.regex)||[]).length>(e.match(a.regex)||[]).length),i?a:u}function QP(r,e){var t=wh(r,e),n=Sp(r,e);return n?vt([t,lt,Fn(n)]):t}function pC(r,e){var t=wh(r,e),n=Sp(r,e);return n?[vt([t,lt,n]),Yn]:t}function wh(r,e){return e("path")}function Sp(r,e){var t=r.getValue(),n=[];if(t.params.length>0){var u=r.map(e,"params");n.push.apply(n,_(u))}if(t.hash&&t.hash.pairs.length>0){var a=e("hash");n.push(a)}return n.length===0?"":Ep(lt,n)}function fC(r){return["as |",r.blockParams.join(" "),"|"]}var ZP={print:function(e,t,n){var u=e.getValue();if(!u)return"";if(HP(e))return t.originalText.slice(bh(u),Fh(u));switch(u.type){case"Block":case"Program":case"Template":return Fn(e.map(n,"body"));case"ElementNode":{var a=Fn(function(we,Pe){var He=we.getValue(),er=["attributes","modifiers","comments","blockParams"].filter(function(Cr){return QE(He[Cr])}).map(function(Cr){return[lt,Cr==="blockParams"?fC(He):Ep(lt,we.map(Pe,Cr))]});return["<",He.tag,vt(er),zP(He)]}(e,n)),i=t.htmlWhitespaceSensitivity==="ignore"&&Cp(e,["ElementNode"])?Yn:"";if(_E(u))return[a,i];var o=["</",u.tag,">"];return u.children.length===0?[a,vt(o),i]:t.htmlWhitespaceSensitivity==="ignore"?[a,vt(rC(e,t,n)),to,vt(o),i]:[a,vt(Fn(rC(e,t,n))),vt(o),i]}case"BlockStatement":{var s=e.getParentNode(1);return s&&s.inverse&&s.inverse.body.length===1&&s.inverse.body[0]===u&&s.inverse.body[0].path.parts[0]==="if"?[YP(e,n),sC(e,n,t),cC(e,n,t)]:[XP(e,n),Fn([sC(e,n,t),cC(e,n,t),KP(e,n,t)])]}case"ElementModifierStatement":return Fn(["{{",pC(e,n),"}}"]);case"MustacheStatement":return Fn([bp(u),pC(e,n),Fp(u)]);case"SubExpression":return Fn(["(",QP(e,n),Yn,")"]);case"AttrNode":{var c=u.value.type==="TextNode";if(c&&u.value.chars===""&&bh(u.value)===Fh(u.value))return u.name;var l=c?xh(t,u.value.chars).quote:u.value.type==="ConcatStatement"?xh(t,u.value.parts.filter(function(we){return we.type==="TextNode"}).map(function(we){return we.chars}).join("")).quote:"",p=n("value");return[u.name,"=",l,u.name==="class"&&l?Fn(vt(p)):p,l]}case"ConcatStatement":return e.map(n,"parts");case"Hash":return Ep(lt,e.map(n,"pairs"));case"HashPair":return[u.key,"=",n("value")];case"TextNode":{var f=u.chars.replace(/{{/g,"\\{{"),d=function(we){for(var Pe=0;Pe<2;Pe++){var He=we.getParentNode(Pe);if(He&&He.type==="AttrNode")return He.name.toLowerCase()}}(e);if(d){if(d==="class"){var D=f.trim().split(/\s+/).join(" "),v=!1,y=!1;return Ap(e,["ConcatStatement"])&&(Th(e,["MustacheStatement"])&&/^\s/.test(f)&&(v=!0),Cp(e,["MustacheStatement"])&&/\s$/.test(f)&&D!==""&&(y=!0)),[v?lt:"",D,y?lt:""]}return UP(f,qP)}var b=/^[\t\n\f\r ]*$/.test(f),S=!GP(e),F=!WP(e);if(t.htmlWhitespaceSensitivity!=="ignore"){var x=/^[\t\n\f\r ]*/,w=/[\t\n\f\r ]*$/,A=F&&Ap(e,["Template"]),k=S&&Ap(e,["Template"]);if(b){if(k||A)return"";var O=[lt],q=no(f);return q&&(O=Qs(q)),ZE(e)&&(O=O.map(function(we){return JE(we)})),O}var H=f.match(x),R=ke(H,1),$=R[0],K=f.match(w),ne=ke(K,1),ue=ne[0],Ce=[];if($){Ce=[lt];var oe=no($);oe&&(Ce=Qs(oe)),f=f.replace(x,"")}var ae=[];if(ue){if(!A){ae=[lt];var ye=no(ue);ye&&(ae=Qs(ye)),ZE(e)&&(ae=ae.map(function(we){return JE(we)}))}f=f.replace(w,"")}return[].concat(_(Ce),[YE(lC(f))],_(ae))}var Le=no(f),Te=function(we){return no(((we=typeof we=="string"?we:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(f),Ne=function(we){return no(((we=typeof we=="string"?we:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(f);if((S||F)&&b&&Ap(e,["Block","ElementNode","Template"]))return"";b&&Le?(Te=Math.min(Le,2),Ne=0):(Cp(e,["BlockStatement","ElementNode"])&&(Ne=Math.max(Ne,1)),Th(e,["BlockStatement","ElementNode"])&&(Te=Math.max(Te,1)));var Oe="",We="";return Ne===0&&Cp(e,["MustacheStatement"])&&(We=" "),Te===0&&Th(e,["MustacheStatement"])&&(Oe=" "),S&&(Te=0,Oe=""),F&&(Ne=0,We=""),f=f.replace(/^[\t\n\f\r ]+/g,Oe).replace(/[\t\n\f\r ]+$/,We),[].concat(_(Qs(Te)),[YE(lC(f))],_(Qs(Ne)))}case"MustacheCommentStatement":{var Re=bh(u),Ke=Fh(u),Fe=t.originalText.charAt(Re+2)==="~",be=t.originalText.charAt(Ke-3)==="~",Qe=u.value.includes("}}")?"--":"";return["{{",Fe?"~":"","!",Qe,u.value,Qe,be?"~":"","}}"]}case"PathExpression":return u.original;case"BooleanLiteral":return String(u.value);case"CommentStatement":return["<!--",u.value,"-->"];case"StringLiteral":return function(we,Pe){var He=xh(Pe,we),er=He.quote,Cr=He.regex;return[er,we.replace(Cr,"\\".concat(er)),er]}(u.value,t);case"NumberLiteral":return String(u.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(u.type))}},massageAstNode:jP},_P={languages:[cr({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},function(){return{since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}})],printers:{glimmer:ZP},parsers:{get glimmer(){return{}.parsers.glimmer}}},e4={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return`# @format
|
|
|
|
`+e}},dC={locStart:function(e){return typeof e.start=="number"?e.start:e.loc&&e.loc.start},locEnd:function(e){return typeof e.end=="number"?e.end:e.loc&&e.loc.end}},Ia=de.builders,Nr=Ia.join,ze=Ia.hardline,uo=Ia.line,ur=Ia.softline,yt=Ia.group,Jr=Ia.indent,rn=Ia.ifBreak,hC=X.isNextLineEmpty,Bh=X.isNonEmptyArray,r4=e4.insertPragma,t4=dC.locStart,DC=dC.locEnd;function Yr(r,e,t){if(t.directives.length===0)return"";var n=Nr(uo,r.map(e,"directives"));return t.kind==="FragmentDefinition"||t.kind==="OperationDefinition"?yt([uo,n]):[" ",yt(Jr([ur,n]))]}function Sn(r,e,t){var n=r.getValue().length;return r.map(function(u,a){var i=t();return hC(e.originalText,u.getValue(),DC)&&a<n-1?[i,ze]:i})}function gC(r,e,t){for(var n=r.getNode(),u=[],a=n.interfaces,i=r.map(function(d){return t(d)},"interfaces"),o=0;o<a.length;o++){var s=a[o];u.push(i[o]);var c=a[o+1];if(c){var l=e.originalText.slice(s.loc.end,c.loc.start),p=l.includes("#"),f=l.replace(/#.*/g,"").trim();u.push(f===","?",":" &",p?uo:" ")}}return u}function mC(){}mC.ignoredProperties=new Set(["loc","comments"]);var n4={print:function(e,t,n){var u=e.getValue();if(!u)return"";if(typeof u=="string")return u;switch(u.kind){case"Document":{var a=[];return e.each(function(s,c,l){a.push(n()),c!==l.length-1&&(a.push(ze),hC(t.originalText,s.getValue(),DC)&&a.push(ze))},"definitions"),[].concat(a,[ze])}case"OperationDefinition":{var i=t.originalText[t4(u)]!=="{",o=Boolean(u.name);return[i?u.operation:"",i&&o?[" ",n("name")]:"",i&&!o&&Bh(u.variableDefinitions)?" ":"",Bh(u.variableDefinitions)?yt(["(",Jr([ur,Nr([rn("",", "),ur],e.map(n,"variableDefinitions"))]),ur,")"]):"",Yr(e,n,u),u.selectionSet&&(i||o)?" ":"",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),Bh(u.variableDefinitions)?yt(["(",Jr([ur,Nr([rn("",", "),ur],e.map(n,"variableDefinitions"))]),ur,")"]):""," on ",n("typeCondition"),Yr(e,n,u)," ",n("selectionSet")];case"SelectionSet":return["{",Jr([ze,Nr(ze,e.call(function(s){return Sn(s,t,n)},"selections"))]),ze,"}"];case"Field":return yt([u.alias?[n("alias"),": "]:"",n("name"),u.arguments.length>0?yt(["(",Jr([ur,Nr([rn("",", "),ur],e.call(function(s){return Sn(s,t,n)},"arguments"))]),ur,")"]):"",Yr(e,n,u),u.selectionSet?" ":"",n("selectionSet")]);case"Name":return u.value;case"StringValue":return u.block?['"""',ze,Nr(ze,u.value.replace(/"""/g,"\\$&").split(`
|
|
`)),ze,'"""']:['"',u.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"IntValue":case"FloatValue":case"EnumValue":return u.value;case"BooleanValue":return u.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return yt(["[",Jr([ur,Nr([rn("",", "),ur],e.map(n,"values"))]),ur,"]"]);case"ObjectValue":return yt(["{",t.bracketSpacing&&u.fields.length>0?" ":"",Jr([ur,Nr([rn("",", "),ur],e.map(n,"fields"))]),ur,rn("",t.bracketSpacing&&u.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),u.arguments.length>0?yt(["(",Jr([ur,Nr([rn("",", "),ur],e.call(function(s){return Sn(s,t,n)},"arguments"))]),ur,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),u.defaultValue?[" = ",n("defaultValue")]:"",Yr(e,n,u)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),u.description?ze:"",u.kind==="ObjectTypeExtension"?"extend ":"","type ",n("name"),u.interfaces.length>0?[" implements "].concat(_(gC(e,t,n))):"",Yr(e,n,u),u.fields.length>0?[" {",Jr([ze,Nr(ze,e.call(function(s){return Sn(s,t,n)},"fields"))]),ze,"}"]:""];case"FieldDefinition":return[n("description"),u.description?ze:"",n("name"),u.arguments.length>0?yt(["(",Jr([ur,Nr([rn("",", "),ur],e.call(function(s){return Sn(s,t,n)},"arguments"))]),ur,")"]):"",": ",n("type"),Yr(e,n,u)];case"DirectiveDefinition":return[n("description"),u.description?ze:"","directive ","@",n("name"),u.arguments.length>0?yt(["(",Jr([ur,Nr([rn("",", "),ur],e.call(function(s){return Sn(s,t,n)},"arguments"))]),ur,")"]):"",u.repeatable?" repeatable":""," on ",Nr(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),u.description?ze:"",u.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),Yr(e,n,u),u.values.length>0?[" {",Jr([ze,Nr(ze,e.call(function(s){return Sn(s,t,n)},"values"))]),ze,"}"]:""];case"EnumValueDefinition":return[n("description"),u.description?ze:"",n("name"),Yr(e,n,u)];case"InputValueDefinition":return[n("description"),u.description?u.description.block?ze:uo:"",n("name"),": ",n("type"),u.defaultValue?[" = ",n("defaultValue")]:"",Yr(e,n,u)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),u.description?ze:"",u.kind==="InputObjectTypeExtension"?"extend ":"","input ",n("name"),Yr(e,n,u),u.fields.length>0?[" {",Jr([ze,Nr(ze,e.call(function(s){return Sn(s,t,n)},"fields"))]),ze,"}"]:""];case"SchemaDefinition":return["schema",Yr(e,n,u)," {",u.operationTypes.length>0?Jr([ze,Nr(ze,e.call(function(s){return Sn(s,t,n)},"operationTypes"))]):"",ze,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),u.description?ze:"",u.kind==="InterfaceTypeExtension"?"extend ":"","interface ",n("name"),u.interfaces.length>0?[" implements "].concat(_(gC(e,t,n))):"",Yr(e,n,u),u.fields.length>0?[" {",Jr([ze,Nr(ze,e.call(function(s){return Sn(s,t,n)},"fields"))]),ze,"}"]:""];case"FragmentSpread":return["...",n("name"),Yr(e,n,u)];case"InlineFragment":return["...",u.typeCondition?[" on ",n("typeCondition")]:"",Yr(e,n,u)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return yt([n("description"),u.description?ze:"",yt([u.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),Yr(e,n,u),u.types.length>0?[" =",rn(""," "),Jr([rn([uo," "]),Nr([uo,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),u.description?ze:"",u.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),Yr(e,n,u)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(u.kind))}},massageAstNode:mC,hasPrettierIgnore:function(e){var t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some(function(n){return n.value.trim()==="prettier-ignore"})},insertPragma:r4,printComment:function(e){var t=e.getValue();if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&e.kind!=="Comment"}},u4={bracketSpacing:Jn.bracketSpacing},a4={languages:[cr({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},function(){return{since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}})],options:u4,printers:{graphql:n4},parsers:{get graphql(){return{}.parsers.graphql}}},Tp={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}},vC=X.getLast,yC=Tp.locStart,EC=Tp.locEnd,kh={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\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]"},Nh=kh.cjkPattern,i4=kh.kPattern,CC=kh.punctuationPattern,AC=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],o4=[].concat(AC,["tableCell","paragraph","heading"]),s4=new RegExp(i4),Ph=new RegExp(CC);function xp(r,e){var t=e.slice(r.position.start.offset,r.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/),n=ke(t,4),u=n[1],a=n[2],i=n[3];return{numberText:u,marker:a,leadingSpaces:i}}var tn={mapAst:function(e,t){return function n(u,a,i){var o=Object.assign({},t(u,a,i));return o.children&&(o.children=o.children.map(function(s,c){return n(s,c,[o].concat(_(i)))})),o}(e,null,[])},splitText:function(e,t){var n="non-cjk",u="cj-letter",a="cjk-punctuation",i=[],o=(t.proseWrap==="preserve"?e:e.replace(new RegExp("(".concat(Nh,`)
|
|
(`).concat(Nh,")"),"g"),"$1$2")).split(/([\t\n ]+)/),s=le(o.entries()),c;try{for(s.s();!(c=s.n()).done;){var l=ke(c.value,2),p=l[0],f=l[1];if(p%2==1){i.push({type:"whitespace",value:/\n/.test(f)?`
|
|
`:" "});continue}if(!((p===0||p===o.length-1)&&f==="")){var d=f.split(new RegExp("(".concat(Nh,")"))),D=le(d.entries()),v;try{for(D.s();!(v=D.n()).done;){var y=ke(v.value,2),b=y[0],S=y[1];(b!==0&&b!==d.length-1||S!=="")&&(b%2!=0?F(Ph.test(S)?{type:"word",value:S,kind:a,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:S,kind:s4.test(S)?"k-letter":u,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):S!==""&&F({type:"word",value:S,kind:n,hasLeadingPunctuation:Ph.test(S[0]),hasTrailingPunctuation:Ph.test(vC(S))}))}}catch(x){D.e(x)}finally{D.f()}}}}catch(x){s.e(x)}finally{s.f()}return i;function F(x){var w=vC(i),A,k;w&&w.type==="word"&&(w.kind===n&&x.kind===u&&!w.hasTrailingPunctuation||w.kind===u&&x.kind===n&&!x.hasLeadingPunctuation?i.push({type:"whitespace",value:" "}):(A=n,k=a,w.kind===A&&x.kind===k||w.kind===k&&x.kind===A||[w.value,x.value].some(function(O){return/\u3000/.test(O)})||i.push({type:"whitespace",value:""}))),i.push(x)}},punctuationPattern:CC,getFencedCodeBlockValue:function(e,t){var n=e.value;return e.position.end.offset===t.length&&n.endsWith(`
|
|
`)&&t.endsWith(`
|
|
`)?n.slice(0,-1):n},getOrderedListItemInfo:xp,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;var n=Number(xp(e.children[0],t.originalText).numberText),u=Number(xp(e.children[1],t.originalText).numberText);if(n===0&&e.children.length>2){var a=Number(xp(e.children[2],t.originalText).numberText);return u===1&&a===1}return u===1},INLINE_NODE_TYPES:AC,INLINE_NODE_WRAPPER_TYPES:o4,isAutolink:function(e){if(!e||e.type!=="link"||e.children.length!==1)return!1;var t=e.children[0];return t&&yC(e)===yC(t)&&EC(e)===EC(t)}},c4=X.inferParserByLanguage,l4=X.getMaxContinuousCount,bC=de.builders,Ih=bC.hardline,p4=bC.markAsRoot,f4=de.utils.replaceNewlinesWithLiterallines,d4=tn.getFencedCodeBlockValue,h4=function(e,t,n,u){var a=e.getValue();if(a.type==="code"&&a.lang!==null){var i=c4(a.lang,u);if(i){var o=u.__inJsTemplate?"~":"`",s=o.repeat(Math.max(3,l4(a.value,o)+1)),c=n(d4(a,u.originalText),{parser:i},{stripTrailingHardline:!0});return p4([s,a.lang,a.meta?" "+a.meta:"",Ih,f4(c),Ih,s])}}switch(a.type){case"front-matter":return ch(a,n);case"importExport":return[n(a.value,{parser:"babel"},{stripTrailingHardline:!0}),Ih];case"jsx":return n("<$>".concat(a.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null},FC=["format","prettier"];function SC(r){var e="@(".concat(FC.join("|"),")"),t=new RegExp(["<!--\\s*".concat(e,"\\s*-->"),`<!--.*\r?
|
|
[\\s\\S]*(^|
|
|
)[^\\S
|
|
]*`.concat(e,`[^\\S
|
|
]*($|
|
|
)[\\s\\S]*
|
|
.*-->`)].join("|"),"m"),n=r.match(t);return n&&n.index===0}var TC={startWithPragma:SC,hasPragma:function(e){return SC(Dp(e).content.trimStart())},insertPragma:function(e){var t=Dp(e),n="<!-- @".concat(FC[0]," -->");return t.frontMatter?"".concat(t.frontMatter.raw,`
|
|
|
|
`).concat(n,`
|
|
|
|
`).concat(t.content):"".concat(n,`
|
|
|
|
`).concat(t.content)}},xC=tn.getOrderedListItemInfo,Oa=tn.mapAst,D4=tn.splitText,g4=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function wC(r,e,t){return Oa(r,function(n){if(!n.children)return n;var u=n.children.reduce(function(a,i){var o=or(a);return o&&e(o,i)?a.splice(-1,1,t(o,i)):a.push(i),a},[]);return Object.assign({},n,{children:u})})}var m4=function(e,t){return e=function(n){return wC(n,function(u,a){return u.type==="importExport"&&a.type==="importExport"},function(u,a){return{type:"importExport",value:u.value+`
|
|
|
|
`+a.value,position:{start:u.position.start,end:a.position.end}}})}(e=function(n){return Oa(n,function(u){return u.type!=="import"&&u.type!=="export"?u:Object.assign({},u,{type:"importExport"})})}(e=function(n,u){return Oa(n,function(a,i,o){var s=ke(o,1),c=s[0];if(a.type!=="text")return a;var l=a.value;return c.type==="paragraph"&&(i===0&&(l=l.trimStart()),i===c.children.length-1&&(l=l.trimEnd())),{type:"sentence",position:a.position,children:D4(l,u)}})}(e=function(n,u){return Oa(n,function(o,s,c){if(o.type==="list"&&o.children.length>0){for(var l=0;l<c.length;l++){var p=c[l];if(p.type==="list"&&!p.isAligned)return o.isAligned=!1,o}o.isAligned=i(o)}return o});function a(o){return o.children.length===0?-1:o.children[0].position.start.column-1}function i(o){if(!o.ordered)return!0;var s=ke(o.children,2),c=s[0],l=s[1];if(xC(c,u.originalText).leadingSpaces.length>1)return!0;var p=a(c);return p===-1?!1:o.children.length===1?p%u.tabWidth==0:p!==a(l)?!1:p%u.tabWidth==0?!0:xC(l,u.originalText).leadingSpaces.length>1}}(e=function(n,u){return Oa(n,function(a,i,o){if(a.type==="code"){var s=/^\n?( {4,}|\t)/.test(u.originalText.slice(a.position.start.offset,a.position.end.offset));if(a.isIndented=s,s)for(var c=0;c<o.length;c++){var l=o[c];if(l.hasIndentedCodeblock)break;l.type==="list"&&(l.hasIndentedCodeblock=!0)}}return a})}(e=function(n){return Oa(n,function(u){return u.type!=="inlineCode"?u:Object.assign({},u,{value:u.value.replace(/\s+/g," ")})})}(e=function(n){return wC(n,function(u,a){return u.type==="text"&&a.type==="text"},function(u,a){return{type:"text",value:u.value+a.value,position:{start:u.position.start,end:a.position.end}}})}(e=function(n,u){return Oa(n,function(a){return a.type==="text"&&a.value!=="*"&&a.value!=="_"&&g4.test(a.value)&&a.position.end.offset-a.position.start.offset!==a.value.length?Object.assign({},a,{value:u.originalText.slice(a.position.start.offset,a.position.end.offset)}):a})}(e,t))),t),t),t)))},v4=X.isFrontMatterNode,y4=TC.startWithPragma,E4=new Set(["position","raw"]);function BC(r,e,t){return r.type!=="front-matter"&&r.type!=="code"&&r.type!=="yaml"&&r.type!=="import"&&r.type!=="export"&&r.type!=="jsx"||delete e.value,r.type==="list"&&delete e.isAligned,r.type!=="list"&&r.type!=="listItem"||(delete e.spread,delete e.loose),r.type==="text"?null:(r.type==="inlineCode"&&(e.value=r.value.replace(/[\t\n ]+/g," ")),r.type==="wikiLink"&&(e.value=r.value.trim().replace(/[\t\n]+/g," ")),r.type!=="definition"&&r.type!=="linkReference"||(e.label=r.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),r.type!=="definition"&&r.type!=="link"&&r.type!=="image"||!r.title||(e.title=r.title.replace(/\\(["')])/g,"$1")),t&&t.type==="root"&&t.children.length>0&&(t.children[0]===r||v4(t.children[0])&&t.children[1]===r)&&r.type==="html"&&y4(r.value)?null:void 0)}BC.ignoredProperties=E4;var C4=BC,wp=X.getLast,A4=X.getMinNotPresentContinuousCount,b4=X.getMaxContinuousCount,F4=X.getStringWidth,S4=X.isNonEmptyArray,Et=de.builders,kC=Et.breakParent,NC=Et.join,PC=Et.line,IC=Et.literalline,OC=Et.markAsRoot,Kr=Et.hardline,Oh=Et.softline,T4=Et.ifBreak,x4=Et.fill,ao=Et.align,w4=Et.indent,Bp=Et.group,LC=Et.hardlineWithoutBreakParent,B4=de.utils.normalizeDoc,k4=de.printer.printDocToString,Zs=X.replaceEndOfLineWith,N4=TC.insertPragma,P4=Tp.locStart,I4=Tp.locEnd,O4=tn.getFencedCodeBlockValue,L4=tn.hasGitDiffFriendlyOrderedList,R4=tn.splitText,RC=tn.punctuationPattern,M4=tn.INLINE_NODE_TYPES,j4=tn.INLINE_NODE_WRAPPER_TYPES,MC=tn.isAutolink,jC=new Set(["importExport"]),$4=["heading","tableCell","link","wikiLink"],q4=new Set(["listItem","definition","footnoteDefinition"]);function $C(r,e,t,n){var u=r.getValue(),a=u.checked===null?"":u.checked?"[x] ":"[ ] ";return[a,Qr(r,e,t,{processor:function(o,s){if(s===0&&o.getValue().type!=="list")return ao(" ".repeat(a.length),t());var c=" ".repeat((l=e.tabWidth-n.length,f=3,l<(p=0)?p:l>f?f:l)),l,p,f;return[c,ao(c,t())]}})]}function qC(r,e){return function(t,n,u){var a=-1,i=le(n.children),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(s.type===t.type&&u(s)?a++:a=-1,s===t)return a}}catch(c){i.e(c)}finally{i.f()}}(r,e,function(t){return t.ordered===r.ordered})}function VC(r,e){for(var t=Array.isArray(e)?e:[e],n,u=-1;n=r.getParentNode(++u);)if(t.includes(n.type))return u;return-1}function Lh(r,e){var t=VC(r,e);return t===-1?null:r.getParentNode(t)}function UC(r,e,t){if(t.proseWrap==="preserve"&&e===`
|
|
`)return Kr;var n=t.proseWrap==="always"&&!Lh(r,$4);return e!==""?n?PC:" ":n?Oh:""}function V4(r,e,t){var n=[],u=null,a=r.getValue(),i=a.children,o=le(i.entries()),s;try{for(o.s();!(s=o.n()).done;){var c=ke(s.value,2),l=c[0],p=c[1];switch(Rh(p)){case"start":u===null&&(u={index:l,offset:p.position.end.offset});break;case"end":u!==null&&(n.push({start:u,end:{index:l,offset:p.position.start.offset}}),u=null)}}}catch(f){o.e(f)}finally{o.f()}return Qr(r,e,t,{processor:function(d,D){if(n.length>0){var v=n[0];if(D===v.start.index)return[i[v.start.index].value,e.originalText.slice(v.start.offset,v.end.offset),i[v.end.index].value];if(v.start.index<D&&D<v.end.index)return!1;if(D===v.end.index)return n.shift(),!1}return t()}})}function Qr(r,e,t){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},u=n.postprocessor,a=n.processor||function(){return t()},i=r.getValue(),o=[],s;return r.each(function(c,l){var p=c.getValue(),f=a(c,l);if(f!==!1){var d={parts:o,prevNode:s,parentNode:i,options:e};(function(D,v){var y=v.parts.length===0,b=M4.includes(D.type),S=D.type==="html"&&j4.includes(v.parentNode.type);return!y&&!b&&!S})(p,d)&&(o.push(Kr),s&&jC.has(s.type)||(function(D,v){var y=(v.prevNode&&v.prevNode.type)===D.type&&q4.has(D.type),b=v.parentNode.type==="listItem"&&!v.parentNode.loose,S=v.prevNode&&v.prevNode.type==="listItem"&&v.prevNode.loose,F=Rh(v.prevNode)==="next",x=D.type==="html"&&v.prevNode&&v.prevNode.type==="html"&&v.prevNode.position.end.line+1===D.position.start.line,w=D.type==="html"&&v.parentNode.type==="listItem"&&v.prevNode&&v.prevNode.type==="paragraph"&&v.prevNode.position.end.line+1===D.position.start.line;return S||!(y||b||F||x||w)}(p,d)||WC(p,d))&&o.push(Kr),WC(p,d)&&o.push(Kr)),o.push(f),s=p}},"children"),u?u(o):o}function U4(r){for(var e=r;S4(e.children);)e=wp(e.children);return e}function Rh(r){if(r.type!=="html")return!1;var e=r.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);return e!==null&&(e[1]?e[1]:"next")}function WC(r,e){var t=e.prevNode&&e.prevNode.type==="list",n=r.type==="code"&&r.isIndented;return t&&n}function Mh(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=[" "].concat(_(Array.isArray(e)?e:[e]));return new RegExp(t.map(function(n){return"\\".concat(n)}).join("|")).test(r)?"<".concat(r,">"):r}function kp(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!r)return"";if(t)return" "+kp(r,e,!1);if((r=r.replace(/\\(["')])/g,"$1")).includes('"')&&r.includes("'")&&!r.includes(")"))return"(".concat(r,")");var n=r.split("'").length-1,u=r.split('"').length-1,a=n>u?'"':u>n||e.singleQuote?"'":'"';return r=(r=r.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(a,")"),"g"),"\\$1"),"".concat(a).concat(r).concat(a)}var W4={preprocess:m4,print:function(e,t,n){var u=e.getValue();if(function(ae){var ye=Lh(ae,["linkReference","imageReference"]);return ye&&(ye.type!=="linkReference"||ye.referenceType!=="full")}(e))return R4(t.originalText.slice(u.position.start.offset,u.position.end.offset),t).map(function(ae){return ae.type==="word"?ae.value:ae.value===""?"":UC(e,ae.value,t)});switch(u.type){case"front-matter":return t.originalText.slice(u.position.start.offset,u.position.end.offset);case"root":return u.children.length===0?"":[B4(V4(e,t,n)),jC.has(U4(u).type)?"":Kr];case"paragraph":return Qr(e,t,n,{postprocessor:x4});case"sentence":return Qr(e,t,n);case"word":{var a=u.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(RC,")(_+)"),"(_+)(".concat(RC,"|$)")].join("|"),"g"),function(ae,ye,Le,Te,Ne){return(Le?"".concat(ye).concat(Le):"".concat(Te).concat(Ne)).replace(/_/g,"\\_")}),i=function(ye,Le,Te){return ye.type==="sentence"&&Te===0},o=function(ye,Le,Te){return MC(ye.children[Te-1])};return a!==u.value&&(e.match(void 0,i,o)||e.match(void 0,i,function(ae,ye,Le){return ae.type==="emphasis"&&Le===0},o))&&(a=a.replace(/^(\\?[*_])+/,function(ae){return ae.replace(/\\/g,"")})),a}case"whitespace":{var s=e.getParentNode(),c=s.children.indexOf(u),l=s.children[c+1],p=l&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(l.value)?"never":t.proseWrap;return UC(e,u.value,{proseWrap:p})}case"emphasis":{var f;if(MC(u.children[0]))f=t.originalText[u.position.start.offset];else{var d=e.getParentNode(),D=d.children.indexOf(u),v=d.children[D-1],y=d.children[D+1];f=v&&v.type==="sentence"&&v.children.length>0&&wp(v.children).type==="word"&&!wp(v.children).hasTrailingPunctuation||y&&y.type==="sentence"&&y.children.length>0&&y.children[0].type==="word"&&!y.children[0].hasLeadingPunctuation||Lh(e,"emphasis")?"*":"_"}return[f,Qr(e,t,n),f]}case"strong":return["**",Qr(e,t,n),"**"];case"delete":return["~~",Qr(e,t,n),"~~"];case"inlineCode":{var b=A4(u.value,"`"),S="`".repeat(b||1),F=b&&!/^\s/.test(u.value)?" ":"";return[S,F,u.value,F,S]}case"wikiLink":{var x="";return x=t.proseWrap==="preserve"?u.value:u.value.replace(/[\t\n]+/g," "),["[[",x,"]]"]}case"link":switch(t.originalText[u.position.start.offset]){case"<":{var w="mailto:";return["<",u.url.startsWith(w)&&t.originalText.slice(u.position.start.offset+1,u.position.start.offset+1+w.length)!==w?u.url.slice(w.length):u.url,">"]}case"[":return["[",Qr(e,t,n),"](",Mh(u.url,")"),kp(u.title,t),")"];default:return t.originalText.slice(u.position.start.offset,u.position.end.offset)}case"image":return[""),kp(u.title,t),")"];case"blockquote":return["> ",ao("> ",Qr(e,t,n))];case"heading":return["#".repeat(u.depth)+" ",Qr(e,t,n)];case"code":{if(u.isIndented){var A=" ".repeat(4);return ao(A,[A].concat(_(Zs(u.value,Kr))))}var k=t.__inJsTemplate?"~":"`",O=k.repeat(Math.max(3,b4(u.value,k)+1));return[O,u.lang||"",u.meta?" "+u.meta:"",Kr].concat(_(Zs(O4(u,t.originalText),Kr)),[Kr,O])}case"html":{var q=e.getParentNode(),H=q.type==="root"&&wp(q.children)===u?u.value.trimEnd():u.value,R=/^<!--[\S\s]*-->$/.test(H);return Zs(H,R?Kr:OC(IC))}case"list":{var $=qC(u,e.getParentNode()),K=L4(u,t);return Qr(e,t,n,{processor:function(ye,Le){var Te=function(){var Oe=u.ordered?(Le===0?u.start:K?1:u.start+Le)+($%2==0?". ":") "):$%2==0?"- ":"* ";return u.isAligned||u.hasIndentedCodeblock?function(We,Re){var Ke=Fe();return We+" ".repeat(Ke>=4?0:Ke);function Fe(){var be=We.length%Re.tabWidth;return be===0?0:Re.tabWidth-be}}(Oe,t):Oe}(),Ne=ye.getValue();return Ne.children.length===2&&Ne.children[1].type==="html"&&Ne.children[0].position.start.column!==Ne.children[1].position.start.column?[Te,$C(ye,t,n,Te)]:[Te,ao(" ".repeat(Te.length),$C(ye,t,n,Te))]}})}case"thematicBreak":{var ne=VC(e,"list");return ne===-1?"---":qC(e.getParentNode(ne),e.getParentNode(ne+1))%2==0?"***":"---"}case"linkReference":return["[",Qr(e,t,n),"]",u.referenceType==="full"?["[",u.identifier,"]"]:u.referenceType==="collapsed"?"[]":""];case"imageReference":switch(u.referenceType){case"full":return["![",u.alt||"","][",u.identifier,"]"];default:return["![",u.alt,"]",u.referenceType==="collapsed"?"[]":""]}case"definition":{var ue=t.proseWrap==="always"?PC:" ";return Bp(["[",u.identifier,"]:",w4([ue,Mh(u.url),u.title===null?"":[ue,kp(u.title,t,!1)]])])}case"footnote":return["[^",Qr(e,t,n),"]"];case"footnoteReference":return["[^",u.identifier,"]"];case"footnoteDefinition":{var Ce=e.getParentNode().children[e.getName()+1],oe=u.children.length===1&&u.children[0].type==="paragraph"&&(t.proseWrap==="never"||t.proseWrap==="preserve"&&u.children[0].position.start.line===u.children[0].position.end.line);return["[^",u.identifier,"]: ",oe?Qr(e,t,n):Bp([ao(" ".repeat(4),Qr(e,t,n,{processor:function(ye,Le){return Le===0?Bp([Oh,n()]):n()}})),Ce&&Ce.type==="footnoteDefinition"?Oh:""])]}case"table":return function(ae,ye,Le){var Te=ae.getValue(),Ne=[],Oe=ae.map(function(Qe){return Qe.map(function(we,Pe){var He=k4(Le(),ye).formatted,er=F4(He);return Ne[Pe]=Math.max(Ne[Pe]||3,er),{text:He,width:er}},"children")},"children"),We=Ke(!1);if(ye.proseWrap!=="never")return[kC,We];var Re=Ke(!0);return[kC,Bp(T4(Re,We))];function Ke(Qe){var we=[be(Oe[0],Qe),Fe(Qe)];return Oe.length>1&&we.push(NC(LC,Oe.slice(1).map(function(Pe){return be(Pe,Qe)}))),NC(LC,we)}function Fe(Qe){var we=Ne.map(function(Pe,He){var er=Te.align[He],Cr=er==="center"||er==="left"?":":"-",Wt=er==="center"||er==="right"?":":"-",Zr=Qe?"-":"-".repeat(Pe-2);return"".concat(Cr).concat(Zr).concat(Wt)});return"| ".concat(we.join(" | ")," |")}function be(Qe,we){var Pe=Qe.map(function(He,er){var Cr=He.text,Wt=He.width;if(we)return Cr;var Zr=Ne[er]-Wt,xn=Te.align[er],on=0;xn==="right"?on=Zr:xn==="center"&&(on=Math.floor(Zr/2));var Lu=Zr-on;return"".concat(" ".repeat(on)).concat(Cr).concat(" ".repeat(Lu))});return"| ".concat(Pe.join(" | ")," |")}}(e,t,n);case"tableCell":return Qr(e,t,n);case"break":return/\s/.test(t.originalText[u.position.start.offset])?[" ",OC(IC)]:["\\",Kr];case"liquidNode":return Zs(u.value,Kr);case"importExport":return[u.value,Kr];case"jsx":return u.value;case"math":return["$$",Kr,u.value?[].concat(_(Zs(u.value,Kr)),[Kr]):"","$$"];case"inlineMath":return t.originalText.slice(P4(u),I4(u));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(u.type)))}},embed:h4,massageAstNode:C4,hasPrettierIgnore:function(e){var t=Number(e.getName());return t!==0&&Rh(e.getParentNode().children[t-1])==="next"},insertPragma:N4},G4={proseWrap:Jn.proseWrap,singleQuote:Jn.singleQuote},GC={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222},H4={languages:[cr(GC,function(r){return{since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[].concat(_(r.filenames),["README"]),extensions:r.extensions.filter(function(e){return e!==".mdx"})}}),cr(GC,function(){return{name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}})],options:G4,printers:{mdast:W4},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}},z4=X.isFrontMatterNode,X4=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function HC(r,e){return r.type==="text"||r.type==="comment"||z4(r)||r.type==="yaml"||r.type==="toml"?null:(r.type==="attribute"&&delete e.value,void(r.type==="docType"&&delete e.value))}HC.ignoredProperties=X4;var J4=HC,Y4={"*":["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:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["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"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]},K4=X.inferParserByLanguage,jh=X.isFrontMatterNode,Np={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"},Q4=Np.CSS_DISPLAY_TAGS,Z4=Np.CSS_DISPLAY_DEFAULT,_4=Np.CSS_WHITE_SPACE_TAGS,eI=Np.CSS_WHITE_SPACE_DEFAULT,rI=XC(["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"]),tI=function(r,e){for(var t=Object.create(null),n=0,u=Object.entries(r);n<u.length;n++){var a=ke(u[n],2),i=a[0],o=a[1];t[i]=e(o,i)}return t}(Y4,XC),nI=new Set([" ",`
|
|
`,"\f","\r"," "]),zC=function(e){return e.replace(/[\t\n\f\r ]+$/,"")},uI=function(e){return e.match(/^[\t\n\f\r ]*/)[0]};function XC(r){var e=Object.create(null),t=le(r),n;try{for(t.s();!(n=t.n()).done;){var u=n.value;e[u]=!0}}catch(a){t.e(a)}finally{t.f()}return e}function JC(r,e){return!(r.type!=="ieConditionalComment"||!r.lastChild||r.lastChild.isSelfClosing||r.lastChild.endSourceSpan)||r.type==="ieConditionalComment"&&!r.complete||!(!io(r)||!r.children.some(function(t){return t.type!=="text"&&t.type!=="interpolation"}))||!(!Vh(r,e)||La(r)||r.type==="interpolation")}function YC(r){return r.type==="attribute"||!r.parent||typeof r.index!="number"||r.index===0?!1:function(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}(r.parent.children[r.index-1])}function La(r){return r.type==="element"&&(r.fullName==="script"||r.fullName==="style"||r.fullName==="svg:style"||Pp(r)&&(r.name==="script"||r.name==="style"))}function KC(r){return $h(r).startsWith("pre")}function QC(r){return r.type==="element"&&r.children.length>0&&(["html","head","ul","ol","select"].includes(r.name)||r.cssDisplay.startsWith("table")&&r.cssDisplay!=="table-cell")}function ZC(r){return tA(r)||r.type==="element"&&r.fullName==="br"||_C(r)}function _C(r){return eA(r)&&rA(r)}function eA(r){return r.hasLeadingSpaces&&(r.prev?r.prev.sourceSpan.end.line<r.sourceSpan.start.line:r.parent.type==="root"||r.parent.startSourceSpan.end.line<r.sourceSpan.start.line)}function rA(r){return r.hasTrailingSpaces&&(r.next?r.next.sourceSpan.start.line>r.sourceSpan.end.line:r.parent.type==="root"||r.parent.endSourceSpan&&r.parent.endSourceSpan.start.line>r.sourceSpan.end.line)}function tA(r){switch(r.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(r.name)}return!1}function nA(r){var e=r.attrMap,t=e.type,n=e.lang;return t==="module"||t==="text/javascript"||t==="text/babel"||t==="application/javascript"||n==="jsx"?"babel":t==="application/x-typescript"||n==="ts"||n==="tsx"?"typescript":t==="text/markdown"?"markdown":t==="text/html"?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":t==="text/x-handlebars-template"?"glimmer":void 0}function _s(r){return r==="block"||r==="list-item"||r.startsWith("table")}function io(r){return $h(r).startsWith("pre")}function Pp(r){return r.type==="element"&&!r.hasExplicitNamespace&&!["html","svg"].includes(r.namespace)}function $h(r){return r.type==="element"&&(!r.namespace||Pp(r))&&_4[r.name]||eI}var aI=new Set(["template","style","script"]);function Ip(r,e){return qh(r,e)&&!aI.has(r.fullName)}function qh(r,e){return e.parser==="vue"&&r.type==="element"&&r.parent.type==="root"&&r.fullName.toLowerCase()!=="html"}function Vh(r,e){return qh(r,e)&&(Ip(r,e)||r.attrMap.lang&&r.attrMap.lang!=="html")}var Je={HTML_ELEMENT_ATTRIBUTES:tI,HTML_TAGS:rI,htmlTrim:function(e){return function(t){return t.replace(/^[\t\n\f\r ]+/,"")}(zC(e))},htmlTrimPreserveIndentation:function(e){return function(t){return t.replace(/^[\t\f\r ]*?\n/g,"")}(zC(e))},splitByHtmlWhitespace:function(e){return e.split(/[\t\n\f\r ]+/)},hasHtmlWhitespace:function(e){return/[\t\n\f\r ]/.test(e)},getLeadingAndTrailingHtmlWhitespace:function(e){var t=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/),n=ke(t,4),u=n[1],a=n[2],i=n[3];return{leadingWhitespace:u,trailingWhitespace:i,text:a}},canHaveInterpolation:function(e){return e.children&&!La(e)},countChars:function(e,t){for(var n=0,u=0;u<e.length;u++)e[u]===t&&n++;return n},countParents:function(e,t){for(var n=0,u=e.stack.length-1;u>=0;u--){var a=e.stack[u];a&&Se(a)=="object"&&!Array.isArray(a)&&t(a)&&n++}return n},dedentString:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(n){var u=Number.POSITIVE_INFINITY,a=le(n.split(`
|
|
`)),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o.length!==0){if(!nI.has(o[0]))return 0;var s=uI(o).length;o.length!==s&&s<u&&(u=s)}}}catch(c){a.e(c)}finally{a.f()}return u===Number.POSITIVE_INFINITY?0:u}(e);return t===0?e:e.split(`
|
|
`).map(function(n){return n.slice(t)}).join(`
|
|
`)},forceBreakChildren:QC,forceBreakContent:function(e){return QC(e)||e.type==="element"&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(function(t){return function(n){return n.children&&n.children.some(function(u){return u.type!=="text"})}(t)}))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&eA(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||rA(e.lastChild))},forceNextEmptyLine:function(e){return jh(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function r(e){return e.lastChild?r(e.lastChild):e},getNodeCssStyleDisplay:function(e,t){if(e.prev&&e.prev.type==="comment"){var n=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(n)return n[1]}var u=!1;if(e.type==="element"&&e.namespace==="svg"){if(!function(a,i){for(var o=a;o;){if(i(o))return!0;o=o.parent}return!1}(e,function(a){return a.fullName==="svg:foreignObject"}))return e.name==="svg"?"inline-block":"block";u=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return t.parser==="vue"&&e.parent&&e.parent.type==="root"?"block":e.type==="element"&&(!e.namespace||u||Pp(e))&&Q4[e.name]||Z4}},getNodeCssStyleWhiteSpace:$h,getPrettierIgnoreAttributeCommentData:function(e){var t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:YC,inferScriptParser:function(e,t){return e.name!=="script"||e.attrMap.src?e.name==="style"?function(n){var u=n.attrMap.lang;return u&&u!=="postcss"&&u!=="css"?u==="scss"?"scss":u==="less"?"less":void 0:"css"}(e):t&&Vh(e,t)?nA(e)||!("src"in e.attrMap)&&K4(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?nA(e):"babel"},isVueCustomBlock:Ip,isVueNonHtmlBlock:Vh,isVueSlotAttribute:function(e){var t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){var n=e.parent;if(!qh(n,t))return!1;var u=n.fullName,a=e.fullName;return u==="script"&&a==="setup"||u==="style"&&a==="vars"},isDanglingSpaceSensitiveNode:function(e){return t=e.cssDisplay,!(_s(t)||t==="inline-block"||La(e));var t},isIndentationSensitiveNode:KC,isLeadingSpaceSensitiveNode:function(e,t){var n=function(){if(jh(e))return!1;if((e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation"))return!0;if(!e.parent||e.parent.cssDisplay==="none")return!1;if(io(e.parent))return!0;if(!e.prev&&(e.parent.type==="root"||io(e)&&e.parent||La(e.parent)||Ip(e.parent,t)||(u=e.parent.cssDisplay,_s(u)||u==="inline-block")))return!1;var u;return!(e.prev&&!function(a){return!_s(a)}(e.prev.cssDisplay))}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?e.type==="interpolation":n},isPreLikeNode:io,isScriptLikeTag:La,isTextLikeNode:function(e){return e.type==="text"||e.type==="comment"},isTrailingSpaceSensitiveNode:function(e,t){return!jh(e)&&(!(e.type!=="text"&&e.type!=="interpolation"||!e.next||e.next.type!=="text"&&e.next.type!=="interpolation")||!(!e.parent||e.parent.cssDisplay==="none")&&(!!io(e.parent)||!(!e.next&&(e.parent.type==="root"||io(e)&&e.parent||La(e.parent)||Ip(e.parent,t)||(n=e.parent.cssDisplay,_s(n)||n==="inline-block")))&&!(e.next&&!function(u){return!_s(u)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return La(e)||e.type==="interpolation"||KC(e)},isUnknownNamespace:Pp,preferHardlineAsLeadingSpaces:function(e){return tA(e)||e.prev&&ZC(e.prev)||_C(e)},preferHardlineAsTrailingSpaces:ZC,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(YC(e)||JC(e.parent,t))},shouldPreserveContent:JC,unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')}},Uh=ge(function(r,e){function t(n){return e.$0<=n&&n<=e.$9}/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=function(n){return n>=e.$TAB&&n<=e.$SPACE||n==e.$NBSP},e.isDigit=t,e.isAsciiLetter=function(n){return n>=e.$a&&n<=e.$z||n>=e.$A&&n<=e.$Z},e.isAsciiHexDigit=function(n){return n>=e.$a&&n<=e.$f||n>=e.$A&&n<=e.$F||t(n)},e.isNewLine=function(n){return n===e.$LF||n===e.$CR},e.isOctalDigit=function(n){return e.$0<=n&&n<=e.$7}});/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/var uA=function(){function r(e,t,n){se(this,r),this.filePath=e,this.name=t,this.members=n}return ce(r,[{key:"assertNoMembers",value:function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),r}(),iI=uA,oI=function(){function r(){se(this,r),this.cache=new Map}return ce(r,[{key:"get",value:function(t,n,u){var a=(u=u||[]).length?".".concat(u.join(".")):"",i='"'.concat(t,'".').concat(n).concat(a),o=this.cache.get(i);return o||(o=new uA(t,n,u),this.cache.set(i,o)),o}}]),r}(),Op=Object.defineProperty({StaticSymbol:iI,StaticSymbolCache:oI},"__esModule",{value:!0});/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/var sI=/-+([a-z0-9])/g,cI=function(e){return e.replace(sI,function(){for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];return n[1].toUpperCase()})},lI=function(e,t){return aA(e,":",t)},pI=function(e,t){return aA(e,".",t)};function aA(r,e,t){var n=r.indexOf(e);return n==-1?t:[r.slice(0,n).trim(),r.slice(n+1).trim()]}function Wh(r,e,t){return Array.isArray(r)?e.visitArray(r,t):function(n){return Se(n)=="object"&&n!==null&&Object.getPrototypeOf(n)===AI}(r)?e.visitStringMap(r,t):r==null||typeof r=="string"||typeof r=="number"||typeof r=="boolean"?e.visitPrimitive(r,t):e.visitOther(r,t)}var fI=Wh,dI=function(e){return e!=null},hI=function(e){return e===void 0?null:e},DI=function(){function r(){se(this,r)}return ce(r,[{key:"visitArray",value:function(t,n){var u=this;return t.map(function(a){return Wh(a,u,n)})}},{key:"visitStringMap",value:function(t,n){var u=this,a={};return Object.keys(t).forEach(function(i){a[i]=Wh(t[i],u,n)}),a}},{key:"visitPrimitive",value:function(t,n){return t}},{key:"visitOther",value:function(t,n){return t}}]),r}(),gI={assertSync:function(e){if(Lp(e))throw new Error("Illegal state: value cannot be a promise");return e},then:function(e,t){return Lp(e)?e.then(t):t(e)},all:function(e){return e.some(Lp)?Promise.all(e):e}},mI=function(e){throw new Error("Internal Error: ".concat(e))},vI=function(e,t){var n=Error(e);return n[iA]=!0,t&&(n[oA]=t),n},iA="ngSyntaxError",oA="ngParseErrors",yI=function(e){return e[iA]},EI=function(e){return e[oA]||[]},CI=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},AI=Object.getPrototypeOf({}),bI=function(e){for(var t="",n=0;n<e.length;n++){var u=e.charCodeAt(n);if(u>=55296&&u<=56319&&e.length>n+1){var a=e.charCodeAt(n+1);a>=56320&&a<=57343&&(n++,u=(u-55296<<10)+a-56320+65536)}u<=127?t+=String.fromCharCode(u):u<=2047?t+=String.fromCharCode(u>>6&31|192,63&u|128):u<=65535?t+=String.fromCharCode(u>>12|224,u>>6&63|128,63&u|128):u<=2097151&&(t+=String.fromCharCode(u>>18&7|240,u>>12&63|128,u>>6&63|128,63&u|128))}return t},FI=function r(e){if(typeof e=="string")return e;if(e instanceof Array)return"["+e.map(r).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);if(!e.toString)return"object";var t=e.toString();if(t==null)return""+t;var n=t.indexOf(`
|
|
`);return n===-1?t:t.substring(0,n)},SI=function(e){return typeof e=="function"&&e.hasOwnProperty("__forward_ref__")?e():e};function Lp(r){return!!r&&typeof r.then=="function"}var TI=Lp,xI=ce(function r(e){se(this,r),this.full=e;var t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}),wI=typeof window<"u"&&window,BI=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,kI=fe!==void 0&&fe||wI||BI,Rp=Object.defineProperty({dashCaseToCamelCase:cI,splitAtColon:lI,splitAtPeriod:pI,visitValue:fI,isDefined:dI,noUndefined:hI,ValueTransformer:DI,SyncAsync:gI,error:mI,syntaxError:vI,isSyntaxError:yI,getParseErrors:EI,escapeRegExp:CI,utf8Encode:bI,stringify:FI,resolveForwardRef:SI,isPromise:TI,Version:xI,global:kI},"__esModule",{value:!0}),Gh=ge(function(r,e){/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/Object.defineProperty(e,"__esModule",{value:!0});var t=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function n(p){return p.replace(/\W/g,"_")}e.sanitizeIdentifier=n;var u=0;function a(p){if(!p||!p.reference)return null;var f=p.reference;if(f instanceof Op.StaticSymbol)return f.name;if(f.__anonymousType)return f.__anonymousType;var d=Rp.stringify(f);return d.indexOf("(")>=0?(d="anonymous_".concat(u++),f.__anonymousType=d):d=n(d),d}var i;e.identifierName=a,e.identifierModuleUrl=function(p){var f=p.reference;return f instanceof Op.StaticSymbol?f.filePath:"./".concat(Rp.stringify(f))},e.viewClassName=function(p,f){return"View_".concat(a({reference:p}),"_").concat(f)},e.rendererTypeName=function(p){return"RenderType_".concat(a({reference:p}))},e.hostViewClassName=function(p){return"HostView_".concat(a({reference:p}))},e.componentFactoryName=function(p){return"".concat(a({reference:p}),"NgFactory")},function(p){p[p.Pipe=0]="Pipe",p[p.Directive=1]="Directive",p[p.NgModule=2]="NgModule",p[p.Injectable=3]="Injectable"}(i=e.CompileSummaryKind||(e.CompileSummaryKind={})),e.tokenName=function(p){return p.value!=null?n(p.value):a(p.identifier)},e.tokenReference=function(p){return p.identifier!=null?p.identifier.reference:p.value},e.CompileStylesheetMetadata=function(){function p(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=f.moduleUrl,D=f.styles,v=f.styleUrls;se(this,p),this.moduleUrl=d||null,this.styles=s(D),this.styleUrls=s(v)}return ce(p)}(),e.CompileTemplateMetadata=function(){function p(f){var d=f.encapsulation,D=f.template,v=f.templateUrl,y=f.htmlAst,b=f.styles,S=f.styleUrls,F=f.externalStylesheets,x=f.animations,w=f.ngContentSelectors,A=f.interpolation,k=f.isInline,O=f.preserveWhitespaces;if(se(this,p),this.encapsulation=d,this.template=D,this.templateUrl=v,this.htmlAst=y,this.styles=s(b),this.styleUrls=s(S),this.externalStylesheets=s(F),this.animations=x?c(x):[],this.ngContentSelectors=w||[],A&&A.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=A,this.isInline=k,this.preserveWhitespaces=O}return ce(p,[{key:"toSummary",value:function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),p}();var o=function(){function p(f){var d=f.isHost,D=f.type,v=f.isComponent,y=f.selector,b=f.exportAs,S=f.changeDetection,F=f.inputs,x=f.outputs,w=f.hostListeners,A=f.hostProperties,k=f.hostAttributes,O=f.providers,q=f.viewProviders,H=f.queries,R=f.guards,$=f.viewQueries,K=f.entryComponents,ne=f.template,ue=f.componentViewType,Ce=f.rendererType,oe=f.componentFactory;se(this,p),this.isHost=!!d,this.type=D,this.isComponent=v,this.selector=y,this.exportAs=b,this.changeDetection=S,this.inputs=F,this.outputs=x,this.hostListeners=w,this.hostProperties=A,this.hostAttributes=k,this.providers=s(O),this.viewProviders=s(q),this.queries=s(H),this.guards=R,this.viewQueries=s($),this.entryComponents=s(K),this.template=ne,this.componentViewType=ue,this.rendererType=Ce,this.componentFactory=oe}return ce(p,[{key:"toSummary",value:function(){return{summaryKind:i.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}],[{key:"create",value:function(d){var D=d.isHost,v=d.type,y=d.isComponent,b=d.selector,S=d.exportAs,F=d.changeDetection,x=d.inputs,w=d.outputs,A=d.host,k=d.providers,O=d.viewProviders,q=d.queries,H=d.guards,R=d.viewQueries,$=d.entryComponents,K=d.template,ne=d.componentViewType,ue=d.rendererType,Ce=d.componentFactory,oe={},ae={},ye={};A!=null&&Object.keys(A).forEach(function(Ne){var Oe=A[Ne],We=Ne.match(t);We===null?ye[Ne]=Oe:We[1]!=null?ae[We[1]]=Oe:We[2]!=null&&(oe[We[2]]=Oe)});var Le={};x!=null&&x.forEach(function(Ne){var Oe=Rp.splitAtColon(Ne,[Ne,Ne]);Le[Oe[0]]=Oe[1]});var Te={};return w!=null&&w.forEach(function(Ne){var Oe=Rp.splitAtColon(Ne,[Ne,Ne]);Te[Oe[0]]=Oe[1]}),new p({isHost:D,type:v,isComponent:!!y,selector:b,exportAs:S,changeDetection:F,inputs:Le,outputs:Te,hostListeners:oe,hostProperties:ae,hostAttributes:ye,providers:k,viewProviders:O,queries:q,guards:H,viewQueries:R,entryComponents:$,template:K,componentViewType:ne,rendererType:ue,componentFactory:Ce})}}]),p}();e.CompileDirectiveMetadata=o,e.CompilePipeMetadata=function(){function p(f){var d=f.type,D=f.name,v=f.pure;se(this,p),this.type=d,this.name=D,this.pure=!!v}return ce(p,[{key:"toSummary",value:function(){return{summaryKind:i.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),p}(),e.CompileShallowModuleMetadata=function(){function p(){se(this,p)}return ce(p)}(),e.CompileNgModuleMetadata=function(){function p(f){var d=f.type,D=f.providers,v=f.declaredDirectives,y=f.exportedDirectives,b=f.declaredPipes,S=f.exportedPipes,F=f.entryComponents,x=f.bootstrapComponents,w=f.importedModules,A=f.exportedModules,k=f.schemas,O=f.transitiveModule,q=f.id;se(this,p),this.type=d||null,this.declaredDirectives=s(v),this.exportedDirectives=s(y),this.declaredPipes=s(b),this.exportedPipes=s(S),this.providers=s(D),this.entryComponents=s(F),this.bootstrapComponents=s(x),this.importedModules=s(w),this.exportedModules=s(A),this.schemas=s(k),this.id=q||null,this.transitiveModule=O||null}return ce(p,[{key:"toSummary",value:function(){var d=this.transitiveModule;return{summaryKind:i.NgModule,type:this.type,entryComponents:d.entryComponents,providers:d.providers,modules:d.modules,exportedDirectives:d.exportedDirectives,exportedPipes:d.exportedPipes}}}]),p}();function s(p){return p||[]}e.TransitiveCompileNgModuleMetadata=function(){function p(){se(this,p),this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return ce(p,[{key:"addProvider",value:function(d,D){this.providers.push({provider:d,module:D})}},{key:"addDirective",value:function(d){this.directivesSet.has(d.reference)||(this.directivesSet.add(d.reference),this.directives.push(d))}},{key:"addExportedDirective",value:function(d){this.exportedDirectivesSet.has(d.reference)||(this.exportedDirectivesSet.add(d.reference),this.exportedDirectives.push(d))}},{key:"addPipe",value:function(d){this.pipesSet.has(d.reference)||(this.pipesSet.add(d.reference),this.pipes.push(d))}},{key:"addExportedPipe",value:function(d){this.exportedPipesSet.has(d.reference)||(this.exportedPipesSet.add(d.reference),this.exportedPipes.push(d))}},{key:"addModule",value:function(d){this.modulesSet.has(d.reference)||(this.modulesSet.add(d.reference),this.modules.push(d))}},{key:"addEntryComponent",value:function(d){this.entryComponentsSet.has(d.componentType)||(this.entryComponentsSet.add(d.componentType),this.entryComponents.push(d))}}]),p}();function c(p){return p.reduce(function(f,d){var D=Array.isArray(d)?c(d):d;return f.concat(D)},[])}function l(p){return p.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=function(){function p(f,d){var D=d.useClass,v=d.useValue,y=d.useExisting,b=d.useFactory,S=d.deps,F=d.multi;se(this,p),this.token=f,this.useClass=D||null,this.useValue=v,this.useExisting=y,this.useFactory=b||null,this.dependencies=S||null,this.multi=!!F}return ce(p)}(),e.flatten=c,e.templateSourceUrl=function(p,f,d){var D;return D=d.isInline?f.type.reference instanceof Op.StaticSymbol?"".concat(f.type.reference.filePath,".").concat(f.type.reference.name,".html"):"".concat(a(p),"/").concat(a(f.type),".html"):d.templateUrl,f.type.reference instanceof Op.StaticSymbol?D:l(D)},e.sharedStylesheetJitUrl=function(p,f){var d=p.moduleUrl.split(/\/\\/g),D=d[d.length-1];return l("css/".concat(f).concat(D,".ngstyle.js"))},e.ngModuleJitUrl=function(p){return l("".concat(a(p.type),"/module.ngfactory.js"))},e.templateJitUrl=function(p,f){return l("".concat(a(p),"/").concat(a(f.type),".ngfactory.js"))}}),NI=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0});/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/var t=function(){function i(o,s,c,l){se(this,i),this.file=o,this.offset=s,this.line=c,this.col=l}return ce(i,[{key:"toString",value:function(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function(s){for(var c=this.file.content,l=c.length,p=this.offset,f=this.line,d=this.col;p>0&&s<0;)if(p--,s++,c.charCodeAt(p)==Uh.$LF){f--;var D=c.substr(0,p-1).lastIndexOf(String.fromCharCode(Uh.$LF));d=D>0?p-D:p}else d--;for(;p<l&&s>0;){var v=c.charCodeAt(p);p++,s--,v==Uh.$LF?(f++,d=0):d++}return new i(this.file,p,f,d)}},{key:"getContext",value:function(s,c){var l=this.file.content,p=this.offset;if(p!=null){p>l.length-1&&(p=l.length-1);for(var f=p,d=0,D=0;d<s&&p>0&&(p--,d++,l[p]!=`
|
|
`||++D!=c););for(d=0,D=0;d<s&&f<l.length-1&&(f++,d++,l[f]!=`
|
|
`||++D!=c););return{before:l.substring(p,this.offset),after:l.substring(this.offset,f+1)}}return null}}]),i}();e.ParseLocation=t;var n=ce(function i(o,s){se(this,i),this.content=o,this.url=s});e.ParseSourceFile=n;var u=function(){function i(o,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;se(this,i),this.start=o,this.end=s,this.details=c}return ce(i,[{key:"toString",value:function(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),i}(),a;e.ParseSourceSpan=u,e.EMPTY_PARSE_LOCATION=new t(new n("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new u(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),function(i){i[i.WARNING=0]="WARNING",i[i.ERROR=1]="ERROR"}(a=e.ParseErrorLevel||(e.ParseErrorLevel={})),e.ParseError=function(){function i(o,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a.ERROR;se(this,i),this.span=o,this.msg=s,this.level=c}return ce(i,[{key:"contextualMessage",value:function(){var s=this.span.start.getContext(100,3);return s?"".concat(this.msg,' ("').concat(s.before,"[").concat(a[this.level]," ->]").concat(s.after,'")'):this.msg}},{key:"toString",value:function(){var s=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(s)}}]),i}(),e.typeSourceSpan=function(i,o){var s=Gh.identifierModuleUrl(o),c=s!=null?"in ".concat(i," ").concat(Gh.identifierName(o)," in ").concat(s):"in ".concat(i," ").concat(Gh.identifierName(o)),l=new n("",c);return new u(new t(l,-1,-1,-1),new t(l,-1,-1,-1))},e.r3JitTypeSourceSpan=function(i,o,s){var c="in ".concat(i," ").concat(o," in ").concat(s),l=new n("",c);return new u(new t(l,-1,-1,-1),new t(l,-1,-1,-1))}}),Pu=NI.ParseSourceSpan,PI=Je.htmlTrim,II=Je.getLeadingAndTrailingHtmlWhitespace,OI=Je.hasHtmlWhitespace,LI=Je.canHaveInterpolation,RI=Je.getNodeCssStyleDisplay,MI=Je.isDanglingSpaceSensitiveNode,jI=Je.isIndentationSensitiveNode,$I=Je.isLeadingSpaceSensitiveNode,qI=Je.isTrailingSpaceSensitiveNode,VI=Je.isWhitespaceSensitiveNode,UI=[function(r){return r.map(function(e){if(e.type==="element"&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&e.children[0].type==="text"&&e.children[0].value[0]===`
|
|
`){var t=Nb(e.children),n=t[0],u=t.slice(1);return e.clone({children:n.value.length===1?u:[n.clone({value:n.value.slice(1)})].concat(_(u))})}return e})},function(r){var e=function(n){return n.type==="element"&&n.prev&&n.prev.type==="ieConditionalStartComment"&&n.prev.sourceSpan.end.offset===n.startSourceSpan.start.offset&&n.firstChild&&n.firstChild.type==="ieConditionalEndComment"&&n.firstChild.sourceSpan.start.offset===n.startSourceSpan.end.offset};return r.map(function(t){if(t.children){var n=t.children.map(e);if(n.some(Boolean)){for(var u=[],a=0;a<t.children.length;a++){var i=t.children[a];if(!n[a+1])if(n[a]){var o=i.prev,s=i.firstChild,c=new Pu(o.sourceSpan.start,s.sourceSpan.end),l=new Pu(c.start,i.sourceSpan.end);u.push(i.clone({condition:o.condition,sourceSpan:l,startSourceSpan:c,children:i.children.slice(1)}))}else u.push(i)}return t.clone({children:u})}}return t})},function(r){return function(e,t,n){return e.map(function(u){if(u.children){var a=u.children.map(t);if(a.some(Boolean)){for(var i=[],o=0;o<u.children.length;o++){var s=u.children[o];if(s.type!=="text"&&!a[o]){i.push(s);continue}var c=s.type==="text"?s:s.clone({type:"text",value:n(s)});if(i.length===0||or(i).type!=="text"){i.push(c);continue}var l=i.pop();i.push(l.clone({value:l.value+c.value,sourceSpan:new Pu(l.sourceSpan.start,c.sourceSpan.end)}))}return u.clone({children:i})}}return u})}(r,function(e){return e.type==="cdata"},function(e){return"<![CDATA[".concat(e.value,"]]>")})},function(r,e){if(e.parser==="html")return r;var t=/{{([\S\s]+?)}}/g;return r.map(function(n){if(!LI(n))return n;var u=[],a=le(n.children),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o.type!=="text"){u.push(o);continue}for(var s=o.sourceSpan.start,c=null,l=o.value.split(t),p=0;p<l.length;p++,s=c){var f=l[p];p%2!=0?(c=s.moveBy(f.length+4),u.push({type:"interpolation",sourceSpan:new Pu(s,c),children:f.length===0?[]:[{type:"text",value:f,sourceSpan:new Pu(s.moveBy(2),c.moveBy(-2))}]})):(c=s.moveBy(f.length),f.length>0&&u.push({type:"text",value:f,sourceSpan:new Pu(s,c)}))}}}catch(d){a.e(d)}finally{a.f()}return n.clone({children:u})})},function(r){var e="whitespace";return r.map(function(t){if(!t.children)return t;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&PI(t.children[0].value).length===0)return t.clone({children:[],hasDanglingSpaces:t.children.length>0});var n=VI(t),u=jI(t);return t.clone({isWhitespaceSensitive:n,isIndentationSensitive:u,children:t.children.reduce(function(a,i){if(i.type!=="text"||n)return[].concat(_(a),[i]);var o=[],s=II(i.value),c=s.leadingWhitespace,l=s.text,p=s.trailingWhitespace;return c&&o.push({type:e}),l&&o.push({type:"text",value:l,sourceSpan:new Pu(i.sourceSpan.start.moveBy(c.length),i.sourceSpan.end.moveBy(-p.length))}),p&&o.push({type:e}),[].concat(_(a),o)},[]).reduce(function(a,i,o,s){if(i.type===e)return a;var c=o!==0&&s[o-1].type===e,l=o!==s.length-1&&s[o+1].type===e;return[].concat(_(a),[Object.assign({},i,{hasLeadingSpaces:c,hasTrailingSpaces:l})])},[])})})},function(r,e){return r.map(function(t){return Object.assign(t,{cssDisplay:RI(t,e)})})},function(r){return r.map(function(e){return Object.assign(e,{isSelfClosing:!e.children||e.type==="element"&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})})},function(r,e){return r.map(function(t){return t.type!=="element"?t:Object.assign(t,{hasHtmComponentClosingTag:t.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(e.originalText.slice(t.endSourceSpan.start.offset,t.endSourceSpan.end.offset))})})},function(r,e){return r.map(function(t){return t.children?t.children.length===0?t.clone({isDanglingSpaceSensitive:MI(t)}):t.clone({children:t.children.map(function(n){return Object.assign({},n,{isLeadingSpaceSensitive:$I(n,e),isTrailingSpaceSensitive:qI(n,e)})}).map(function(n,u,a){return Object.assign({},n,{isLeadingSpaceSensitive:(u===0||a[u-1].isTrailingSpaceSensitive)&&n.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(u===a.length-1||a[u+1].isLeadingSpaceSensitive)&&n.isTrailingSpaceSensitive})})}):t})},function(r){var e=function(n){return n.type==="element"&&n.attrs.length===0&&n.children.length===1&&n.firstChild.type==="text"&&!OI(n.children[0].value)&&!n.firstChild.hasLeadingSpaces&&!n.firstChild.hasTrailingSpaces&&n.isLeadingSpaceSensitive&&!n.hasLeadingSpaces&&n.isTrailingSpaceSensitive&&!n.hasTrailingSpaces&&n.prev&&n.prev.type==="text"&&n.next&&n.next.type==="text"};return r.map(function(t){if(t.children){var n=t.children.map(e);if(n.some(Boolean)){for(var u=[],a=0;a<t.children.length;a++){var i=t.children[a];if(n[a]){var o=u.pop(),s=t.children[++a],c=s.isTrailingSpaceSensitive,l=s.hasTrailingSpaces;u.push(o.clone({value:o.value+"<".concat(i.rawName,">")+i.firstChild.value+"</".concat(i.rawName,">")+s.value,sourceSpan:new Pu(o.sourceSpan.start,s.sourceSpan.end),isTrailingSpaceSensitive:c,hasTrailingSpaces:l}))}else u.push(i)}return t.clone({children:u})}}return t})}],WI=function(e,t){var n=le(UI),u;try{for(n.s();!(u=n.n()).done;){var a=u.value;e=a(e,t)}}catch(i){n.e(i)}finally{n.f()}return e},GI={hasPragma:function(e){return/^\s*<!--\s*@(format|prettier)\s*-->/.test(e)},insertPragma:function(e){return`<!-- @format -->
|
|
|
|
`+e.replace(/^\s*\n/,"")}},sA={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}},HI=de.builders.group,Hh={isVueEventBindingExpression:function(e){var 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){var n=function(o){var s=/([^]*?)\s+(in|of)\s+([^]*)/,c=/,([^,\]}]*)(?:,([^,\]}]*))?$/,l=/^\(|\)$/g,p=o.match(s);if(!!p){var f={};f.for=p[3].trim();var d=p[1].trim().replace(l,""),D=d.match(c);return D?(f.alias=d.replace(c,""),f.iterator1=D[1].trim(),D[2]&&(f.iterator2=D[2].trim())):f.alias=d,{left:"".concat([f.alias,f.iterator1,f.iterator2].filter(Boolean).join(",")),operator:p[2],right:f.for}}}(e),u=n.left,a=n.operator,i=n.right;return[HI(t("function _(".concat(u,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",a," ",t(i,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})}},zI=ge(function(r){(function(e,t){r.exports?r.exports=t():e.parseSrcset=t()})(fe,function(){return function(e,t){var n=t&&t.logger||console;function u(A){return A===" "||A===" "||A===`
|
|
`||A==="\f"||A==="\r"}function a(A){var k,O=A.exec(e.substring(S));if(O)return k=O[0],S+=k.length,k}for(var i,o,s,c,l,p=e.length,f=/^[ \t\n\r\u000c]+/,d=/^[, \t\n\r\u000c]+/,D=/^[^ \t\n\r\u000c]+/,v=/[,]+$/,y=/^\d+$/,b=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,S=0,F=[];;){if(a(d),S>=p)return F;i=a(D),o=[],i.slice(-1)===","?(i=i.replace(v,""),w()):x()}function x(){for(a(f),s="",c="in descriptor";;){if(l=e.charAt(S),c==="in descriptor")if(u(l))s&&(o.push(s),s="",c="after descriptor");else{if(l===",")return S+=1,s&&o.push(s),void w();if(l==="(")s+=l,c="in parens";else{if(l==="")return s&&o.push(s),void w();s+=l}}else if(c==="in parens")if(l===")")s+=l,c="in descriptor";else{if(l==="")return o.push(s),void w();s+=l}else if(c==="after descriptor"&&!u(l)){if(l==="")return void w();c="in descriptor",S-=1}S+=1}}function w(){var A,k,O,q,H,R,$,K,ne,ue=!1,Ce={};for(q=0;q<o.length;q++)R=(H=o[q])[H.length-1],$=H.substring(0,H.length-1),K=parseInt($,10),ne=parseFloat($),y.test($)&&R==="w"?((A||k)&&(ue=!0),K===0?ue=!0:A=K):b.test($)&&R==="x"?((A||k||O)&&(ue=!0),ne<0?ue=!0:k=ne):y.test($)&&R==="h"?((O||k)&&(ue=!0),K===0?ue=!0:O=K):ue=!0;ue?n&&n.error&&n.error("Invalid srcset descriptor found in '"+e+"' at '"+H+"'."):(Ce.url=i,A&&(Ce.w=A),k&&(Ce.d=k),O&&(Ce.h=O),F.push(Ce))}}})}),oo=de.builders,XI=oo.group,JI=oo.ifBreak,YI=oo.indent,zh=oo.join,Xh=oo.line,cA=oo.softline,KI=["__","--","_","-"];function QI(r){var e=r.search(/[^_-]/);if(e!==-1){var t=le(KI),n;try{for(t.s();!(n=t.n()).done;){var u=n.value,a=r.indexOf(u,e);if(a!==-1)return r.slice(0,a)}}catch(i){t.e(i)}finally{t.f()}}return r}var lA={printImgSrcset:function(e){var t=zI(e,{logger:{error:function(D){throw new Error(D)}}}),n=t.some(function(d){var D=d.w;return D}),u=t.some(function(d){var D=d.h;return D});if(n+u+t.some(function(d){var D=d.d;return D})>1)throw new Error("Mixed descriptor in srcset is not supported");var a=n?"w":u?"h":"d",i=n?"w":u?"h":"x",o=function(D){return Math.max.apply(Math,_(D))},s=t.map(function(d){return d.url}),c=o(s.map(function(d){return d.length})),l=t.map(function(d){return d[a]}).map(function(d){return d?d.toString():""}),p=l.map(function(d){var D=d.indexOf(".");return D===-1?d.length:D}),f=o(p);return zh([",",Xh],s.map(function(d,D){var v=[d],y=l[D];if(y){var b=c-d.length+1,S=f-p[D],F=" ".repeat(b+S);v.push(JI(F," "),y+i)}return v}))},printClassNames:function(e){for(var t=e.trim().split(/\s+/),n=[],u,a=0;a<t.length;a++){var i=QI(t[a]);i!==u&&i!==t[a-1]&&n.push([]),or(n).push(t[a]),u=i}return[YI([cA,zh(Xh,n.map(function(o){return XI(zh(Xh,o))}))]),cA]}},qt=de.builders,Jh=qt.breakParent,ZI=qt.dedentToRoot,pA=qt.fill,Ct=qt.group,Er=qt.hardline,Yh=qt.ifBreak,_I=qt.indentIfBreak,ec=qt.indent,fA=qt.join,At=qt.line,Tn=qt.literalline,nn=qt.softline,Mp=de.utils,eO=Mp.mapDoc,rO=Mp.cleanDoc,dA=Mp.getDocParts,tO=Mp.isConcat,un=X.replaceEndOfLineWith,nO=X.isNonEmptyArray,hA=Je.htmlTrimPreserveIndentation,uO=Je.splitByHtmlWhitespace,DA=Je.countChars,aO=Je.countParents,gA=Je.dedentString,iO=Je.forceBreakChildren,oO=Je.forceBreakContent,jp=Je.forceNextEmptyLine,mA=Je.getLastDescendant,sO=Je.getPrettierIgnoreAttributeCommentData,vA=Je.hasPrettierIgnore,yA=Je.inferScriptParser,cO=Je.isVueCustomBlock,lO=Je.isVueNonHtmlBlock,pO=Je.isVueSlotAttribute,fO=Je.isVueSfcBindingsAttribute,Kh=Je.isScriptLikeTag,Vt=Je.isTextLikeNode,Qh=Je.preferHardlineAsLeadingSpaces,EA=Je.shouldNotPrintClosingTag,dO=Je.shouldPreserveContent,CA=Je.unescapeQuoteEntities,hO=Je.isPreLikeNode,DO=GI.insertPragma,Zh=sA.locStart,_h=sA.locEnd,gO=Hh.printVueFor,mO=Hh.printVueBindings,vO=Hh.isVueEventBindingExpression,yO=lA.printImgSrcset,EO=lA.printClassNames;function AA(r,e,t){var n=r.getValue();if(iO(n))return[Jh].concat(_(r.map(function(o){var s=o.getValue(),c=s.prev?i(s.prev,s):"";return[c?[c,jp(s.prev)?Er:""]:"",a(o)]},"children")));var u=n.children.map(function(){return Symbol("")});return r.map(function(o,s){var c=o.getValue();if(Vt(c)){if(c.prev&&Vt(c.prev)){var l=i(c.prev,c);if(l)return jp(c.prev)?[Er,Er,a(o)]:[l,a(o)]}return a(o)}var p=[],f=[],d=[],D=[],v=c.prev?i(c.prev,c):"",y=c.next?i(c,c.next):"";return v&&(jp(c.prev)?p.push(Er,Er):v===Er?p.push(Er):Vt(c.prev)?f.push(v):f.push(Yh("",nn,{groupId:u[s-1]}))),y&&(jp(c)?Vt(c.next)&&D.push(Er,Er):y===Er?Vt(c.next)&&D.push(Er):d.push(y)),[].concat(p,[Ct([].concat(f,[Ct([a(o)].concat(d),{id:u[s]})]))],D)},"children");function a(o){var s=o.getValue();return vA(s)?[Ma(s,e)].concat(_(un(e.originalText.slice(Zh(s)+(s.prev&&Vp(s.prev)?tD(s).length:0),_h(s)-(s.next&&Ra(s.next)?nc(s,e).length:0)),Tn)),[ja(s,e)]):t()}function i(o,s){return Vt(o)&&Vt(s)?o.isTrailingSpaceSensitive?o.hasTrailingSpaces?Qh(s)?Er:At:"":Qh(s)?Er:nn:Vp(o)&&(vA(s)||s.firstChild||s.isSelfClosing||s.type==="element"&&s.attrs.length>0)||o.type==="element"&&o.isSelfClosing&&Ra(s)?"":!s.isLeadingSpaceSensitive||Qh(s)||Ra(s)&&o.lastChild&&tc(o.lastChild)&&o.lastChild.lastChild&&tc(o.lastChild.lastChild)?Er:s.hasLeadingSpaces?At:nn}}function bA(r,e){var t=r.startSourceSpan.end.offset;r.firstChild&&Up(r.firstChild)&&(t-=nD(r).length);var n=r.endSourceSpan.start.offset;return r.lastChild&&tc(r.lastChild)?n+=uD(r,e).length:rc(r)&&(n-=nc(r.lastChild,e).length),e.originalText.slice(t,n)}function CO(r,e,t){var n=r.getValue();if(!nO(n.attrs))return n.isSelfClosing?" ":"";var u=n.prev&&n.prev.type==="comment"&&sO(n.prev.value),a=typeof u=="boolean"?function(){return u}:Array.isArray(u)?function(c){return u.includes(c.rawName)}:function(){return!1},i=r.map(function(c){var l=c.getValue();return a(l)?un(e.originalText.slice(Zh(l),_h(l)),Tn):t()},"attrs"),o=n.type==="element"&&n.fullName==="script"&&n.attrs.length===1&&n.attrs[0].fullName==="src"&&n.children.length===0,s=[ec([o?" ":At,fA(At,i)])];return n.firstChild&&Up(n.firstChild)||n.isSelfClosing&&rc(n.parent)||o?s.push(n.isSelfClosing?" ":""):s.push(n.isSelfClosing?At:nn),s}function eD(r,e,t){var n=r.getValue();return[$p(n,e),CO(r,e,t),n.isSelfClosing?"":AO(n)]}function $p(r,e){return r.prev&&Vp(r.prev)?"":[Ma(r,e),tD(r)]}function AO(r){return r.firstChild&&Up(r.firstChild)?"":nD(r)}function rD(r,e){return[r.isSelfClosing?"":bO(r,e),qp(r,e)]}function bO(r,e){return r.lastChild&&tc(r.lastChild)?"":[FO(r,e),uD(r,e)]}function qp(r,e){return(r.next?Ra(r.next):rc(r.parent))?"":[nc(r,e),ja(r,e)]}function Vp(r){return r.next&&!Vt(r.next)&&Vt(r)&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces}function Up(r){return!r.prev&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces}function Ra(r){return r.prev&&r.prev.type!=="docType"&&!Vt(r.prev)&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces}function rc(r){return r.lastChild&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces&&!Vt(mA(r.lastChild))&&!hO(r)}function tc(r){return!r.next&&!r.hasTrailingSpaces&&r.isTrailingSpaceSensitive&&Vt(mA(r))}function Ma(r,e){return Up(r)?nD(r.parent):Ra(r)?nc(r.prev,e):""}function FO(r,e){return rc(r)?nc(r.lastChild,e):""}function ja(r,e){return tc(r)?uD(r.parent,e):Vp(r)?tD(r.next):""}function tD(r){switch(r.type){case"ieConditionalComment":case"ieConditionalStartComment":return"<!--[if ".concat(r.condition);case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(r.condition)return"<!--[if ".concat(r.condition,"]><!--><").concat(r.rawName);default:return"<".concat(r.rawName)}}function nD(r){switch(Gn(!r.isSelfClosing),r.type){case"ieConditionalComment":return"]>";case"element":if(r.condition)return"><!--<![endif]-->";default:return">"}}function uD(r,e){if(Gn(!r.isSelfClosing),EA(r,e))return"";switch(r.type){case"ieConditionalComment":return"<!";case"element":if(r.hasHtmComponentClosingTag)return"<//";default:return"</".concat(r.rawName)}}function nc(r,e){if(EA(r,e))return"";switch(r.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(r.isSelfClosing)return"/>";default:return">"}}function FA(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r.value;return r.parent.isWhitespaceSensitive?r.parent.isIndentationSensitive?un(e,Tn):un(gA(hA(e)),Er):dA(fA(At,uO(e)))}var SO={preprocess:WI,print:function(e,t,n){var u=e.getValue();switch(u.type){case"front-matter":return un(u.raw,Tn);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(u),[Ct(AA(e,t,n)),Er];case"element":case"ieConditionalComment":{if(dO(u,t))return[Ma(u,t),Ct(eD(e,t,n))].concat(_(un(bA(u,t),Tn)),_(rD(u,t)),[ja(u,t)]);var a=u.children.length===1&&u.firstChild.type==="interpolation"&&u.firstChild.isLeadingSpaceSensitive&&!u.firstChild.hasLeadingSpaces&&u.lastChild.isTrailingSpaceSensitive&&!u.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id");return[Ct([Ct(eD(e,t,n),{id:i}),u.children.length===0?u.hasDanglingSpaces&&u.isDanglingSpaceSensitive?At:"":[oO(u)?Jh:"",(d=[a?Yh(nn,"",{groupId:i}):u.firstChild.hasLeadingSpaces&&u.firstChild.isLeadingSpaceSensitive?At:u.firstChild.type==="text"&&u.isWhitespaceSensitive&&u.isIndentationSensitive?ZI(nn):nn,AA(e,t,n)],a?_I(d,{groupId:i}):!Kh(u)&&!cO(u,t)||u.parent.type!=="root"||t.parser!=="vue"||t.vueIndentScriptAndStyle?ec(d):d),(u.next?Ra(u.next):rc(u.parent))?u.lastChild.hasTrailingSpaces&&u.lastChild.isTrailingSpaceSensitive?" ":"":a?Yh(nn,"",{groupId:i}):u.lastChild.hasTrailingSpaces&&u.lastChild.isTrailingSpaceSensitive?At:(u.lastChild.type==="comment"||u.lastChild.type==="text"&&u.isWhitespaceSensitive&&u.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*aO(e,function(D){return D.parent&&D.parent.type!=="root"}),"}$")).test(u.lastChild.value)?"":nn]]),rD(u,t)]}case"ieConditionalStartComment":case"ieConditionalEndComment":return[$p(u),qp(u)];case"interpolation":return[$p(u,t)].concat(_(e.map(n,"children")),[qp(u,t)]);case"text":{if(u.parent.type==="interpolation"){var o=/\n[^\S\n]*?$/,s=o.test(u.value),c=s?u.value.replace(o,""):u.value;return[].concat(_(un(c,Tn)),[s?Er:""])}var l=rO([Ma(u,t)].concat(_(FA(u)),[ja(u,t)]));return tO(l)||l.type==="fill"?pA(dA(l)):l}case"docType":return[Ct([$p(u,t)," ",u.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),qp(u,t)];case"comment":return[Ma(u,t)].concat(_(un(t.originalText.slice(Zh(u),_h(u)),Tn)),[ja(u,t)]);case"attribute":{if(u.value===null)return u.rawName;var p=CA(u.value),f=DA(p,"'")<DA(p,'"')?"'":'"';return[u.rawName,"=",f].concat(_(un(f==='"'?p.replace(/"/g,"""):p.replace(/'/g,"'"),Tn)),[f])}default:throw new Error("Unexpected node type ".concat(u.type))}var d},insertPragma:DO,massageAstNode:J4,embed:function(e,t,n,u){var a=e.getValue();switch(a.type){case"element":if(Kh(a)||a.type==="interpolation")return;if(!a.isSelfClosing&&lO(a,u)){var i=yA(a,u);if(!i)return;var o=bA(a,u),s=/^\s*$/.test(o),c="";return s||(c=n(hA(o),{parser:i,__embeddedInHtml:!0},{stripTrailingHardline:!0}),s=c===""),[Ma(a,u),Ct(eD(e,u,t)),s?"":Er,c,s?"":Er,rD(a,u),ja(a,u)]}break;case"text":if(Kh(a.parent)){var l=yA(a.parent);if(l){var p=l==="markdown"?gA(a.value.replace(/^[^\S\n]*?\n/,"")):a.value,f={parser:l,__embeddedInHtml:!0};if(u.parser==="html"&&l==="babel"){var d="script",D=a.parent.attrMap;D&&(D.type==="module"||D.type==="text/babel"&&D["data-type"]==="module")&&(d="module"),f.__babelSourceType=d}return[Jh,Ma(a,u),n(p,f,{stripTrailingHardline:!0}),ja(a,u)]}}else if(a.parent.type==="interpolation"){var v={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return u.parser==="angular"?(v.parser="__ng_interpolation",v.trailingComma="none"):u.parser==="vue"?v.parser="__vue_expression":v.parser="__js_expression",[ec([At,n(a.value,v,{stripTrailingHardline:!0})]),a.parent.next&&Ra(a.parent.next)?" ":At]}break;case"attribute":{if(!a.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.originalText.slice(a.valueSpan.start.offset,a.valueSpan.end.offset)))return[a.rawName,"=",a.value];if(u.parser==="lwc"&&/^{[\S\s]*}$/.test(u.originalText.slice(a.valueSpan.start.offset,a.valueSpan.end.offset)))return[a.rawName,"=",a.value];var y=function(b,S,F){var x=function(Pe){return new RegExp(Pe.join("|")).test(b.fullName)},w=function(){return CA(b.value)},A=!1,k=function(Pe,He){var er=Pe.type==="NGRoot"?Pe.node.type==="NGMicrosyntax"&&Pe.node.body.length===1&&Pe.node.body[0].type==="NGMicrosyntaxExpression"?Pe.node.body[0].expression:Pe.node:Pe.type==="JsExpressionRoot"?Pe.node:Pe;!er||er.type!=="ObjectExpression"&&er.type!=="ArrayExpression"&&(He.parser!=="__vue_expression"||er.type!=="TemplateLiteral"&&er.type!=="StringLiteral")||(A=!0)},O=function(Pe){return Ct(Pe)},q=function(Pe){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Ct([ec([nn,Pe]),He?nn:""])},H=function(Pe){return A?O(Pe):q(Pe)},R=function(Pe,He){return S(Pe,Object.assign({__onHtmlBindingRoot:k,__embeddedInHtml:!0},He),{stripTrailingHardline:!0})};if(b.fullName==="srcset"&&(b.parent.fullName==="img"||b.parent.fullName==="source"))return q(yO(w()));if(b.fullName==="class"&&!F.parentParser){var $=w();if(!$.includes("{{"))return EO($)}if(b.fullName==="style"&&!F.parentParser){var K=w();if(!K.includes("{{"))return q(R(K,{parser:"css",__isHTMLStyleAttribute:!0}))}if(F.parser==="vue"){if(b.fullName==="v-for")return gO(w(),R);if(pO(b)||fO(b,F))return mO(w(),R);var ne=["^:","^v-bind:"],ue=["^v-"];if(x(["^@","^v-on:"])){var Ce=w();return H(R(Ce,{parser:vO(Ce)?"__js_expression":"__vue_event_binding"}))}if(x(ne))return H(R(w(),{parser:"__vue_expression"}));if(x(ue))return H(R(w(),{parser:"__js_expression"}))}if(F.parser==="angular"){var oe=function(Pe,He){return R(Pe,Object.assign({},He,{trailingComma:"none"}))},ae=["^\\*"],ye=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],Le=["^i18n(-.+)?$"];if(x(["^\\(.+\\)$","^on-"]))return H(oe(w(),{parser:"__ng_action"}));if(x(ye))return H(oe(w(),{parser:"__ng_binding"}));if(x(Le)){var Te=w().trim();return q(pA(FA(b,Te)),!Te.includes("@@"))}if(x(ae))return H(oe(w(),{parser:"__ng_directive"}));var Ne=/{{([\S\s]+?)}}/g,Oe=w();if(Ne.test(Oe)){var We=[],Re=le(Oe.split(Ne).entries()),Ke;try{for(Re.s();!(Ke=Re.n()).done;){var Fe=ke(Ke.value,2),be=Fe[0],Qe=Fe[1];if(be%2==0)We.push(un(Qe,Tn));else try{We.push(Ct(["{{",ec([At,oe(Qe,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),At,"}}"]))}catch{We.push("{{",un(Qe,Tn),"}}")}}}catch(we){Re.e(we)}finally{Re.f()}return Ct(We)}}return null}(a,function(b,S){return n(b,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},S),{stripTrailingHardline:!0})},u);if(y)return[a.rawName,'="',Ct(eO(y,function(b){return typeof b=="string"?b.replace(/"/g,"""):b})),'"'];break}case"front-matter":return ch(a,n)}}},SA="HTML",TO={htmlWhitespaceSensitivity:{since:"1.15.0",category:SA,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:SA,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},aD={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146},xO={name:"Vue",type:"markup",color:"#2c3e50",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391},wO={languages:[cr(aD,function(){return{name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}}),cr(aD,function(r){return{since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[].concat(_(r.extensions),[".mjml"])}}),cr(aD,function(){return{name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}}),cr(xO,function(){return{since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}})],printers:{html:SO},options:TO,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}},TA={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
|
|
|
|
`.concat(e)}},BO={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}},kO=function(e,t,n,u){if(e.getValue().type==="root"&&u.filepath&&/(?:[/\\]|^)\.prettierrc$/.test(u.filepath))return n(u.originalText,Object.assign({},u,{parser:"json"}))},Ut=X.getLast,uc=X.isNonEmptyArray;function xA(r,e){return r&&typeof r.type=="string"&&(!e||e.includes(r.type))}function wA(r){return r.value.trim()==="prettier-ignore"}function iD(r){return r&&uc(r.leadingComments)}function BA(r){return r&&uc(r.middleComments)}function kA(r){return r&&r.indicatorComment}function NA(r){return r&&r.trailingComment}function oD(r){return r&&uc(r.endComments)}function PA(r){var e=[],t,n=le(r.split(/( +)/g)),u;try{for(n.s();!(u=n.n()).done;){var a=u.value;a!==" "?t===" "?e.push(a):e.push((e.pop()||"")+a):t===void 0&&e.unshift(""),t=a}}catch(i){n.e(i)}finally{n.f()}return t===" "&&e.push((e.pop()||"")+" "),e[0]===""&&(e.shift(),e.unshift(" "+(e.shift()||""))),e}var _e={getLast:Ut,getAncestorCount:function(e,t){for(var n=0,u=e.stack.length-1,a=0;a<u;a++){var i=e.stack[a];xA(i)&&t(i)&&n++}return n},isNode:xA,isEmptyNode:function(e){return!uc(e.children)&&!function(t){return iD(t)||BA(t)||kA(t)||NA(t)||oD(t)}(e)},isInlineNode:function(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}},mapNode:function r(e,t,n){return t("children"in e?Object.assign({},e,{children:e.children.map(function(u){return r(u,t,e)})}):e,n)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){for(var n=0,u=t.length,a=e.position.end.offset-1;a<u;a++){var i=t[a];if(i===`
|
|
`&&n++,n===1&&/\S/.test(i))return!1;if(n===2)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}for(var t=e.stack.length,n=1;n<t;n++){var u=e.stack[n],a=e.stack[n-1];if(Array.isArray(a)&&typeof u=="number"&&u!==a.length-1)return!1}return!0},getBlockValueLineContents:function(e,t){var n=t.parentIndent,u=t.isLastDescendant,a=t.options,i=e.position.start.line===e.position.end.line?"":a.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*?\n([\S\s]*)$/)[1],o=e.indent===null?(s=i.match(/^( *)\S/m))?s[1].length:Number.POSITIVE_INFINITY:e.indent-1+n,s,c=i.split(`
|
|
`).map(function(p){return p.slice(o)});return a.proseWrap==="preserve"||e.type==="blockLiteral"?l(c.map(function(p){return p.length===0?[]:[p]})):l(c.map(function(p){return p.length===0?[]:PA(p)}).reduce(function(p,f,d){return d!==0&&c[d-1].length>0&&f.length>0&&!/^\s/.test(f[0])&&!/^\s|\s$/.test(Ut(p))?[].concat(_(p.slice(0,-1)),[[].concat(_(Ut(p)),_(f))]):[].concat(_(p),[f])},[]).map(function(p){return p.reduce(function(f,d){return f.length>0&&/\s$/.test(Ut(f))?[].concat(_(f.slice(0,-1)),[Ut(f)+" "+d]):[].concat(_(f),[d])},[])}).map(function(p){return a.proseWrap==="never"?[p.join(" ")]:p}));function l(p){if(e.chomping==="keep")return Ut(p).length===0?p.slice(0,-1):p;for(var f=0,d=p.length-1;d>=0&&p[d].length===0;d--)f++;return f===0?p:f>=2&&!u?p.slice(0,-(f-1)):p.slice(0,-f)}},getFlowScalarLineContents:function(e,t,n){var u=t.split(`
|
|
`).map(function(a,i,o){return i===0&&i===o.length-1?a:i!==0&&i!==o.length-1?a.trim():i===0?a.trimEnd():a.trimStart()});return n.proseWrap==="preserve"?u.map(function(a){return a.length===0?[]:[a]}):u.map(function(a){return a.length===0?[]:PA(a)}).reduce(function(a,i,o){return o!==0&&u[o-1].length>0&&i.length>0&&(e!=="quoteDouble"||!Ut(Ut(a)).endsWith("\\"))?[].concat(_(a.slice(0,-1)),[[].concat(_(Ut(a)),_(i))]):[].concat(_(a),[i])},[]).map(function(a){return n.proseWrap==="never"?[a.join(" ")]:a})},getLastDescendantNode:function r(e){return uc(e.children)?r(Ut(e.children)):e},hasPrettierIgnore:function(e){var t=e.getValue();if(t.type==="documentBody"){var n=e.getParentNode();return oD(n.head)&&wA(Ut(n.head.endComments))}return iD(t)&&wA(Ut(t.leadingComments))},hasLeadingComments:iD,hasMiddleComments:BA,hasIndicatorComment:kA,hasTrailingComment:NA,hasEndComments:oD},ac=_e.defineShortcut,NO=_e.mapNode;function PO(r){switch(r.type){case"document":ac(r,"head",function(){return r.children[0]}),ac(r,"body",function(){return r.children[1]});break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":ac(r,"content",function(){return r.children[0]});break;case"mappingItem":case"flowMappingItem":ac(r,"key",function(){return r.children[0]}),ac(r,"value",function(){return r.children[1]})}return r}var IO=function(e){return NO(e,PO)},IA=de.builders,OO=IA.softline,LO=IA.align,RO=_e.hasEndComments,MO=_e.isNextLineEmpty,jO=_e.isNode,sD=new WeakMap;function OA(r){return RO(r)&&!jO(r,["documentHead","documentBody","flowMapping","flowSequence"])}var $a={alignWithSpaces:function(e,t){return LO(" ".repeat(e),t)},shouldPrintEndComments:OA,printNextEmptyLine:function(e,t){var n=e.getValue(),u=e.stack[0],a;return sD.has(u)?a=sD.get(u):(a=new Set,sD.set(u,a)),a.has(n.position.end.line)||(a.add(n.position.end.line),!MO(n,t)||OA(e.getParentNode()))?"":OO}},ic=de.builders,$O=ic.ifBreak,LA=ic.line,qO=ic.softline,RA=ic.hardline,VO=ic.join,MA=_e.isEmptyNode,UO=_e.getLast,WO=_e.hasEndComments,GO=$a.printNextEmptyLine,HO=$a.alignWithSpaces;function jA(r,e,t){var n=r.getValue(),u=n.type==="flowMapping",a=u?"{":"[",i=u?"}":"]",o=qO;u&&n.children.length>0&&t.bracketSpacing&&(o=LA);var s=UO(n.children),c=s&&s.type==="flowMappingItem"&&MA(s.key)&&MA(s.value);return[a,HO(t.tabWidth,[o,zO(r,e,t),t.trailingComma==="none"?"":$O(","),WO(n)?[RA,VO(RA,r.map(e,"endComments"))]:""]),c?"":o,i]}function zO(r,e,t){var n=r.getValue();return r.map(function(u,a){return[e(),a===n.children.length-1?"":[",",LA,n.children[a].position.start.line!==n.children[a+1].position.start.line?GO(u,t.originalText):""]]},"children")}var $A={printFlowMapping:jA,printFlowSequence:jA},so=de.builders,XO=so.conditionalGroup,qA=so.group,Wp=so.hardline,VA=so.ifBreak,JO=so.join,YO=so.line,Gp=_e.hasLeadingComments,UA=_e.hasMiddleComments,cD=_e.hasTrailingComment,lD=_e.hasEndComments,WA=_e.isNode,GA=_e.isEmptyNode,HA=_e.isInlineNode,qa=$a.alignWithSpaces;function zA(r,e){if(!r)return!0;switch(r.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(e.proseWrap==="preserve")return r.position.start.line===r.position.end.line;if(/\\$/m.test(e.originalText.slice(r.position.start.offset,r.position.end.offset)))return!1;switch(e.proseWrap){case"never":return!r.value.includes(`
|
|
`);case"always":return!/[\n ]/.test(r.value);default:return!1}}var KO=function(e,t,n,u,a){var i=e.key,o=e.value,s=GA(i),c=GA(o);if(s&&c)return": ";var l=u("key"),p=function(S){return S.key.content&&S.key.content.type==="alias"}(e)?" ":"";if(c)return e.type==="flowMappingItem"&&t.type==="flowMapping"?l:e.type!=="mappingItem"||!zA(i.content,a)||cD(i.content)||t.tag&&t.tag.value==="tag:yaml.org,2002:set"?["? ",qa(2,l)]:[l,p,":"];var f=u("value");if(s)return[": ",qa(2,f)];if(Gp(o)||!HA(i.content))return["? ",qa(2,l),Wp,JO("",n.map(u,"value","leadingComments").map(function(S){return[S,Wp]})),": ",qa(2,f)];if(function(S){if(!S)return!0;switch(S.type){case"plain":case"quoteDouble":case"quoteSingle":return S.position.start.line===S.position.end.line;case"alias":return!0;default:return!1}}(i.content)&&!Gp(i.content)&&!UA(i.content)&&!cD(i.content)&&!lD(i)&&!Gp(o.content)&&!UA(o.content)&&!lD(o)&&zA(o.content,a))return[l,p,": ",f];var d=Symbol("mappingKey"),D=qA([VA("? "),qA(qa(2,l),{id:d})]),v=[Wp,": ",qa(2,f)],y=[p,":"];Gp(o.content)||lD(o)&&o.content&&!WA(o.content,["mapping","sequence"])||t.type==="mapping"&&cD(i.content)&&HA(o.content)||WA(o.content,["mapping","sequence"])&&o.content.tag===null&&o.content.anchor===null?y.push(Wp):o.content&&y.push(YO),y.push(f);var b=qa(a.tabWidth,y);return XO([[D,VA(v,b,{groupId:d})]])},Iu=de.builders,QO=Iu.dedent,XA=Iu.dedentToRoot,ZO=Iu.fill,pD=Iu.hardline,_O=Iu.join,e7=Iu.line,JA=Iu.literalline,r7=Iu.markAsRoot,t7=de.utils.getDocParts,n7=_e.getAncestorCount,u7=_e.getBlockValueLineContents,a7=_e.hasIndicatorComment,i7=_e.isLastDescendantNode,o7=_e.isNode,YA=$a.alignWithSpaces,s7=function(e,t,n){var u=e.getValue(),a=n7(e,function(v){return o7(v,["sequence","mapping"])}),i=i7(e),o=[u.type==="blockFolded"?">":"|"];u.indent!==null&&o.push(u.indent.toString()),u.chomping!=="clip"&&o.push(u.chomping==="keep"?"+":"-"),a7(u)&&o.push(" ",t("indicatorComment"));var s=u7(u,{parentIndent:a,isLastDescendant:i,options:n}),c=[],l=le(s.entries()),p;try{for(l.s();!(p=l.n()).done;){var f=ke(p.value,2),d=f[0],D=f[1];d===0&&c.push(pD),c.push(ZO(t7(_O(e7,D)))),d!==s.length-1?c.push(D.length===0?pD:r7(JA)):u.chomping==="keep"&&i&&c.push(XA(D.length===0?pD:JA))}}catch(v){l.e(v)}finally{l.f()}return u.indent===null?o.push(QO(YA(n.tabWidth,c))):o.push(XA(YA(u.indent-1+a,c))),o},Ou=de.builders,c7=Ou.breakParent,l7=Ou.fill,p7=Ou.group,pr=Ou.hardline,an=Ou.join,f7=Ou.line,d7=Ou.lineSuffix,h7=Ou.literalline,D7=de.utils.getDocParts,g7=X.replaceEndOfLineWith,m7=X.isPreviousLineEmpty,v7=TA.insertPragma,y7=TA.isPragma,fD=BO.locStart,E7=_e.getFlowScalarLineContents,KA=_e.getLastDescendantNode,C7=_e.hasLeadingComments,QA=_e.hasMiddleComments,co=_e.hasTrailingComment,dD=_e.hasEndComments,A7=_e.hasPrettierIgnore,b7=_e.isLastDescendantNode,lo=_e.isNode,F7=_e.isInlineNode,ZA=$a.alignWithSpaces,S7=$a.printNextEmptyLine,T7=$a.shouldPrintEndComments,x7=$A.printFlowMapping,w7=$A.printFlowSequence;function _A(r,e){return co(r)||e&&(e.head.children.length>0||dD(e.head))}function oc(r,e,t){var n=E7(r,e,t);return an(pr,n.map(function(u){return l7(D7(an(f7,u)))}))}var B7={preprocess:IO,embed:kO,print:function(e,t,n){var u=e.getValue(),a=[];u.type!=="mappingValue"&&C7(u)&&a.push([an(pr,e.map(n,"leadingComments")),pr]);var i=u.tag,o=u.anchor;i&&a.push(n("tag")),i&&o&&a.push(" "),o&&a.push(n("anchor"));var s="";lo(u,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!b7(e)&&(s=S7(e,t.originalText)),(i||o)&&(lo(u,["sequence","mapping"])&&!QA(u)?a.push(pr):a.push(" ")),QA(u)&&a.push([u.middleComments.length===1?"":pr,an(pr,e.map(n,"middleComments")),pr]);var c=e.getParentNode();return A7(e)?a.push(g7(t.originalText.slice(u.position.start.offset,u.position.end.offset).trimEnd(),h7)):a.push(p7(function(l,p,f,d,D){switch(l.type){case"root":{var v=l.children,y=[];f.each(function($,K){var ne=v[K],ue=v[K+1];K!==0&&y.push(pr),y.push(D()),_A(ne,ue)?(y.push(pr,"..."),co(ne)&&y.push(" ",D("trailingComment"))):ue&&!co(ue.head)&&y.push(pr,"---")},"children");var b=KA(l);return lo(b,["blockLiteral","blockFolded"])&&b.chomping==="keep"||y.push(pr),y}case"document":{var S=[];return function($,K,ne,ue){return ne.children[0]===$&&/---(\s|$)/.test(ue.originalText.slice(fD($),fD($)+4))||$.head.children.length>0||dD($.head)||co($.head)?"head":_A($,K)?!1:!!K&&"root"}(l,p.children[f.getName()+1],p,d)==="head"&&((l.head.children.length>0||l.head.endComments.length>0)&&S.push(D("head")),co(l.head)?S.push(["---"," ",D(["head","trailingComment"])]):S.push("---")),function($){return $.body.children.length>0||dD($.body)}(l)&&S.push(D("body")),an(pr,S)}case"documentHead":return an(pr,[].concat(_(f.map(D,"children")),_(f.map(D,"endComments"))));case"documentBody":{var F=l.children,x=l.endComments,w="";if(F.length>0&&x.length>0){var A=KA(l);lo(A,["blockFolded","blockLiteral"])?A.chomping!=="keep"&&(w=[pr,pr]):w=pr}return[an(pr,f.map(D,"children")),w,an(pr,f.map(D,"endComments"))]}case"directive":return["%",an(" ",[l.name].concat(_(l.parameters)))];case"comment":return["#",l.value];case"alias":return["*",l.value];case"tag":return d.originalText.slice(l.position.start.offset,l.position.end.offset);case"anchor":return["&",l.value];case"plain":return oc(l.type,d.originalText.slice(l.position.start.offset,l.position.end.offset),d);case"quoteDouble":case"quoteSingle":{var k="'",O='"',q=d.originalText.slice(l.position.start.offset+1,l.position.end.offset-1);if(l.type==="quoteSingle"&&q.includes("\\")||l.type==="quoteDouble"&&/\\[^"]/.test(q)){var H=l.type==="quoteDouble"?O:k;return[H,oc(l.type,q,d),H]}if(q.includes(O))return[k,oc(l.type,l.type==="quoteDouble"?q.replace(/\\"/g,O).replace(/'/g,k.repeat(2)):q,d),k];if(q.includes(k))return[O,oc(l.type,l.type==="quoteSingle"?q.replace(/''/g,k):q,d),O];var R=d.singleQuote?k:O;return[R,oc(l.type,q,d),R]}case"blockFolded":case"blockLiteral":return s7(f,D,d);case"mapping":case"sequence":return an(pr,f.map(D,"children"));case"sequenceItem":return["- ",ZA(2,l.content?D("content"):"")];case"mappingKey":case"mappingValue":return l.content?D("content"):"";case"mappingItem":case"flowMappingItem":return KO(l,p,f,D,d);case"flowMapping":return x7(f,D,d);case"flowSequence":return w7(f,D,d);case"flowSequenceItem":return D("content");default:throw new Error("Unexpected node type ".concat(l.type))}}(u,c,e,t,n))),co(u)&&!lo(u,["document","documentHead"])&&a.push(d7([u.type!=="mappingValue"||u.content?" ":"",c.type==="mappingKey"&&e.getParentNode(2).type==="mapping"&&F7(u)?"":c7,n("trailingComment")])),T7(u)&&a.push(ZA(u.type==="sequenceItem"?2:0,[pr,an(pr,e.map(function(l){return[m7(t.originalText,l.getValue(),fD)?pr:"",n()]},"endComments"))])),a.push(s),a},massageAstNode:function(e,t){if(lo(t))switch(delete t.position,t.type){case"comment":if(y7(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:v7},k7={bracketSpacing:Jn.bracketSpacing,singleQuote:Jn.singleQuote,proseWrap:Jn.proseWrap},N7=[W9,MP,_P,a4,H4,wO,{languages:[cr({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},function(r){return{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[].concat(_(r.filenames.filter(function(e){return e!=="yarn.lock"})),[".prettierrc"])}})],printers:{yaml:B7},options:k7,parsers:{get yaml(){return{}.parsers.yaml}}}],P7=ee.version,I7=si.getSupportInfo,O7=N7.map(function(r){return M(r,["parsers"])});function Va(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];var a=n[e]||{},i=a.plugins||[];return n[e]=Object.assign({},a,{plugins:[].concat(_(O7),_(Array.isArray(i)?i:Object.values(i)))}),r.apply(void 0,n)}}var hD=Va(Li.formatWithCursor);return{formatWithCursor:hD,format:function(e,t){return hD(e,t).formatted},check:function(e,t){var n=hD(e,t),u=n.formatted;return u===e},doc:de,getSupportInfo:Va(I7,0),version:P7,util:IT,__debug:{parse:Va(Li.parse),formatAST:Va(Li.formatAST),formatDoc:Va(Li.formatDoc),printToDoc:Va(Li.printToDoc),printDocToString:Va(Li.printDocToString)}}})})(XF);var w$=Xb(XF.exports),N$=FL(2)(function(B,N){return B===!1?N:B==="dedent"||B===!0?SL(N):w$.format(N,{parser:B,plugins:[x$],htmlWhitespaceSensitivity:"ignore"}).trim()});export{N$ as formatter};
|
|
//# sourceMappingURL=formatter-9dc562d4.f0d358b6.js.map
|