var L7=Object.defineProperty;var i=(k,P)=>L7(k,"name",{value:P,configurable:!0});import{p as Ha,aq as R7,ar as gc,s as kb,T as Vu,as as M7,at as Nb,K as Pb,au as tf,a5 as Ib,ad as Ob,a8 as j7,a9 as Lb,M as Rb,av as $7,af as Mb,aw as V7,L as q7,ax as jb,E as qu,ay as U7,C as $b,az as W7,aA as G7,aB as H7,X as nf,Y as Eo,aC as z7,aD as X7,aE as J7,a4 as Y7,aF as K7,y as Q7,aG as Z7,aH as _7,a7 as eL,aI as rL,a3 as Vb,aJ as tL,aK as nL,aL as Uu,ag as uL,aM as aL,a0 as iL,a2 as qb,D as mc,aa as oL,aN as sL,aO as Ub,aP as cL,aQ as lL,aR as RD,v as pL,aS as Wb,aT as fL,aU as Gb,aV as dL,aW as hL,aX as DL,aY as gL,aZ as mL,a_ as vL,G as yL,U as EL,V as CL,ai as AL}from"./iframe.c2dfa352.js";import{d as bL,e as FL,t as SL,f as TL,g as xL,c as go,h as Hb,i as wL}from"./index.15c59b04.js";import"./es.map.constructor.61480a1d.js";import"./string.4d8be3e6.js";import"./es.string.from-code-point.6aee4022.js";import"./es.regexp.flags.b0b6a672.js";import"./jsx-runtime.33077135.js";import"./es.number.to-fixed.0d07677c.js";var BL=Ha,kL=R7.codeAt;BL({target:"String",proto:!0},{codePointAt:i(function(P){return kL(this,P)},"codePointAt")});var NL=Ha;NL({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991});var PL=Ha,IL=gc;PL({target:"URL",proto:!0,enumerable:!0},{toJSON:i(function(){return IL(URL.prototype.toString,this)},"toJSON")});var yo={exports:{}},OL=bL,MD=kb,at=Vu,zb=M7,uf=Nb,$u=Pb,jD=tf,LL=V7,RL=Ib,FD=q7,ML=Ob,jL=jb,af=j7,Co=Lb,$L=Rb,VL=$7,Xb=Mb,Jb=Xb.enforce,qL=Xb.get,Zp=at.Int8Array,SD=Zp&&Zp.prototype,rb=at.Uint8ClampedArray,tb=rb&&rb.prototype,kn=Zp&&af(Zp),pn=SD&&af(SD),UL=Object.prototype,$D=at.TypeError,nb=$L("toStringTag"),TD=VL("TYPED_ARRAY_TAG"),_p="TypedArrayConstructor",eu=OL&&!!Co&&jD(at.opera)!=="Opera",Yb=!1,ft,ju,mo,ru={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},VD={BigInt64Array:8,BigUint64Array:8},WL=i(function(P){if(!uf(P))return!1;var j=jD(P);return j==="DataView"||$u(ru,j)||$u(VD,j)},"isView"),Kb=i(function(k){var P=af(k);if(!!uf(P)){var j=qL(P);return j&&$u(j,_p)?j[_p]:Kb(P)}},"getTypedArrayConstructor$1"),Qb=i(function(k){if(!uf(k))return!1;var P=jD(k);return $u(ru,P)||$u(VD,P)},"isTypedArray$1"),GL=i(function(k){if(Qb(k))return k;throw $D("Target is not a typed array")},"aTypedArray$m"),HL=i(function(k){if(zb(k)&&(!Co||jL(kn,k)))return k;throw $D(LL(k)+" is not a typed array constructor")},"aTypedArrayConstructor$3"),zL=i(function(k,P,j,W){if(!!MD){if(j)for(var te in ru){var Ee=at[te];if(Ee&&$u(Ee.prototype,k))try{delete Ee.prototype[k]}catch{try{Ee.prototype[k]=P}catch{}}}(!pn[k]||j)&&FD(pn,k,j?P:eu&&SD[k]||P,W)}},"exportTypedArrayMethod$n"),XL=i(function(k,P,j){var W,te;if(!!MD){if(Co){if(j){for(W in ru)if(te=at[W],te&&$u(te,k))try{delete te[k]}catch{}}if(!kn[k]||j)try{return FD(kn,k,j?P:eu&&kn[k]||P)}catch{}else return}for(W in ru)te=at[W],te&&(!te[k]||j)&&FD(te,k,P)}},"exportTypedArrayStaticMethod");for(ft in ru)ju=at[ft],mo=ju&&ju.prototype,mo?Jb(mo)[_p]=ju:eu=!1;for(ft in VD)ju=at[ft],mo=ju&&ju.prototype,mo&&(Jb(mo)[_p]=ju);if((!eu||!zb(kn)||kn===Function.prototype)&&(kn=i(function(){throw $D("Incorrect invocation")},"TypedArray"),eu))for(ft in ru)at[ft]&&Co(at[ft],kn);if((!eu||!pn||pn===UL)&&(pn=kn.prototype,eu))for(ft in ru)at[ft]&&Co(at[ft].prototype,pn);eu&&af(tb)!==pn&&Co(tb,pn);if(MD&&!$u(pn,nb)){Yb=!0,ML(pn,nb,{configurable:!0,get:function(){return uf(this)?this[TD]:void 0}});for(ft in ru)at[ft]&&RL(at[ft],TD,ft)}var tr={NATIVE_ARRAY_BUFFER_VIEWS:eu,TYPED_ARRAY_TAG:Yb&&TD,aTypedArray:GL,aTypedArrayConstructor:HL,exportTypedArrayMethod:zL,exportTypedArrayStaticMethod:XL,getTypedArrayConstructor:Kb,isView:WL,isTypedArray:Qb,TypedArray:kn,TypedArrayPrototype:pn},Zb=Vu,yD=qu,JL=U7,YL=tr.NATIVE_ARRAY_BUFFER_VIEWS,KL=Zb.ArrayBuffer,Wa=Zb.Int8Array,QL=!YL||!yD(function(){Wa(1)})||!yD(function(){new Wa(-1)})||!JL(function(k){new Wa,new Wa(null),new Wa(1.5),new Wa(k)},!0)||yD(function(){return new Wa(new KL(2),1,void 0).length!==1}),ZL=$b,_L=RangeError,eR=i(function(k){var P=ZL(k);if(P<0)throw _L("The argument can't be less than 0");return P},"toPositiveInteger$1"),rR=eR,tR=RangeError,_b=i(function(k,P){var j=rR(k);if(j%P)throw tR("Wrong offset");return j},"toOffset$2"),nR=tf,uR=i(function(k){var P=nR(k);return P=="BigInt64Array"||P=="BigUint64Array"},"isBigIntArray$1"),aR=W7,iR=TypeError,eF=i(function(k){var P=aR(k,"number");if(typeof P=="number")throw iR("Can't convert number to bigint");return BigInt(P)},"toBigInt$2"),oR=G7,sR=gc,cR=H7,lR=nf,pR=Eo,fR=z7,dR=X7,hR=J7,DR=uR,gR=tr.aTypedArrayConstructor,mR=eF,vR=i(function(P){var j=cR(this),W=lR(P),te=arguments.length,Ee=te>1?arguments[1]:void 0,Ue=Ee!==void 0,ge=dR(W),De,He,Ht,Pn,fn,Ft,zt,sr;if(ge&&!hR(ge))for(zt=fR(W,ge),sr=zt.next,W=[];!(Ft=sR(sr,zt)).done;)W.push(Ft.value);for(Ue&&te>2&&(Ee=oR(Ee,arguments[2])),He=pR(W),Ht=new(gR(j))(He),Pn=DR(Ht),De=0;He>De;De++)fn=Ue?Ee(W[De],De):W[De],Ht[De]=Pn?mR(fn):+fn;return Ht},"from"),ub=Ha,rF=Vu,ab=gc,yR=kb,ER=QL,Ao=tr,tF=FL,ib=eL,CR=Z7,pc=Ib,AR=rL,bR=Vb,ob=SL,ED=_b,nF=_7,fc=Pb,FR=tf,xD=Nb,SR=tL,TR=nL,xR=jb,Xp=Lb,wR=Y7.f,sb=vR,BR=Uu.forEach,kR=uL,NR=Ob,uF=K7,aF=Q7,qD=Mb,PR=aL,wD=qD.get,IR=qD.set,OR=qD.enforce,iF=uF.f,LR=aF.f,RR=Math.round,CD=rF.RangeError,oF=tF.ArrayBuffer,MR=oF.prototype,jR=tF.DataView,Jp=Ao.NATIVE_ARRAY_BUFFER_VIEWS,cb=Ao.TYPED_ARRAY_TAG,lb=Ao.TypedArray,dc=Ao.TypedArrayPrototype,$R=Ao.aTypedArrayConstructor,BD=Ao.isTypedArray,Yp="BYTES_PER_ELEMENT",AD="Wrong length",pb=i(function(k,P){$R(k);for(var j=0,W=P.length,te=new k(W);W>j;)te[j]=P[j++];return te},"fromList"),Kp=i(function(k,P){NR(k,P,{configurable:!0,get:function(){return wD(this)[P]}})},"addGetter"),fb=i(function(k){var P;return xR(MR,k)||(P=FR(k))=="ArrayBuffer"||P=="SharedArrayBuffer"},"isArrayBuffer"),sF=i(function(k,P){return BD(k)&&!SR(P)&&P in k&&AR(+P)&&P>=0},"isTypedArrayIndex"),db=i(function(P,j){return j=nF(j),sF(P,j)?CR(2,P[j]):LR(P,j)},"getOwnPropertyDescriptor"),hb=i(function(P,j,W){return j=nF(j),sF(P,j)&&xD(W)&&fc(W,"value")&&!fc(W,"get")&&!fc(W,"set")&&!W.configurable&&(!fc(W,"writable")||W.writable)&&(!fc(W,"enumerable")||W.enumerable)?(P[j]=W.value,P):iF(P,j,W)},"defineProperty");yR?(Jp||(aF.f=db,uF.f=hb,Kp(dc,"buffer"),Kp(dc,"byteOffset"),Kp(dc,"byteLength"),Kp(dc,"length")),ub({target:"Object",stat:!0,forced:!Jp},{getOwnPropertyDescriptor:db,defineProperty:hb}),yo.exports=function(k,P,j){var W=k.match(/\d+/)[0]/8,te=k+(j?"Clamped":"")+"Array",Ee="get"+k,Ue="set"+k,ge=rF[te],De=ge,He=De&&De.prototype,Ht={},Pn=i(function(sr,Ke){var hr=wD(sr);return hr.view[Ee](Ke*W+hr.byteOffset,!0)},"getter"),fn=i(function(sr,Ke,hr){var St=wD(sr);j&&(hr=(hr=RR(hr))<0?0:hr>255?255:hr&255),St.view[Ue](Ke*W+St.byteOffset,hr,!0)},"setter"),Ft=i(function(sr,Ke){iF(sr,Ke,{get:function(){return Pn(this,Ke)},set:function(hr){return fn(this,Ke,hr)},enumerable:!0})},"addElement");Jp?ER&&(De=P(function(sr,Ke,hr,St){return ib(sr,He),PR(function(){return xD(Ke)?fb(Ke)?St!==void 0?new ge(Ke,ED(hr,W),St):hr!==void 0?new ge(Ke,ED(hr,W)):new ge(Ke):BD(Ke)?pb(De,Ke):ab(sb,De,Ke):new ge(ob(Ke))}(),sr,De)}),Xp&&Xp(De,lb),BR(wR(ge),function(sr){sr in De||pc(De,sr,ge[sr])}),De.prototype=He):(De=P(function(sr,Ke,hr,St){ib(sr,He);var In=0,Xt=0,tu,dt,dn;if(!xD(Ke))dn=ob(Ke),dt=dn*W,tu=new oF(dt);else if(fb(Ke)){tu=Ke,Xt=ED(hr,W);var Wu=Ke.byteLength;if(St===void 0){if(Wu%W||(dt=Wu-Xt,dt<0))throw CD(AD)}else if(dt=bR(St)*W,dt+Xt>Wu)throw CD(AD);dn=dt/W}else return BD(Ke)?pb(De,Ke):ab(sb,De,Ke);for(IR(sr,{buffer:tu,byteOffset:Xt,byteLength:dt,length:dn,view:new jR(tu)});In2?arguments[2]:void 0,De=GR((ge===void 0?te:bD(ge,te))-Ue,te-Ee),He=1;for(Ue0;)Ue in W?W[Ee]=W[Ue]:WR(W,Ee),Ee+=He,Ue+=He;return W},"copyWithin"),zR=mc,cF=tr,XR=HR,JR=zR(XR),YR=cF.aTypedArray,KR=cF.exportTypedArrayMethod;KR("copyWithin",i(function(P,j){return JR(YR(this),P,j,arguments.length>2?arguments[2]:void 0)},"copyWithin"));var lF=tr,QR=Uu.every,ZR=lF.aTypedArray,_R=lF.exportTypedArrayMethod;_R("every",i(function(P){return QR(ZR(this),P,arguments.length>1?arguments[1]:void 0)},"every"));var pF=tr,eM=oL,rM=eF,tM=tf,nM=gc,uM=mc,aM=qu,iM=pF.aTypedArray,oM=pF.exportTypedArrayMethod,sM=uM("".slice),cM=aM(function(){var k=0;return new Int8Array(2).fill({valueOf:function(){return k++}}),k!==1});oM("fill",i(function(P){var j=arguments.length;iM(this);var W=sM(tM(this),0,3)==="Big"?rM(P):+P;return nM(eM,this,W,j>1?arguments[1]:void 0,j>2?arguments[2]:void 0)},"fill"),cM);var lM=Eo,pM=i(function(k,P){for(var j=0,W=lM(P),te=new k(W);W>j;)te[j]=P[j++];return te},"arrayFromConstructorAndList$1"),fF=tr,fM=sL,dM=fF.aTypedArrayConstructor,hM=fF.getTypedArrayConstructor,of=i(function(k){return dM(fM(k,hM(k)))},"typedArraySpeciesConstructor$4"),DM=pM,gM=of,mM=i(function(k,P){return DM(gM(k),P)},"typedArrayFromSpeciesAndList"),dF=tr,vM=Uu.filter,yM=mM,EM=dF.aTypedArray,CM=dF.exportTypedArrayMethod;CM("filter",i(function(P){var j=vM(EM(this),P,arguments.length>1?arguments[1]:void 0);return yM(this,j)},"filter"));var hF=tr,AM=Uu.find,bM=hF.aTypedArray,FM=hF.exportTypedArrayMethod;FM("find",i(function(P){return AM(bM(this),P,arguments.length>1?arguments[1]:void 0)},"find"));var DF=tr,SM=Uu.findIndex,TM=DF.aTypedArray,xM=DF.exportTypedArrayMethod;xM("findIndex",i(function(P){return SM(TM(this),P,arguments.length>1?arguments[1]:void 0)},"findIndex"));var gF=tr,wM=Uu.forEach,BM=gF.aTypedArray,kM=gF.exportTypedArrayMethod;kM("forEach",i(function(P){wM(BM(this),P,arguments.length>1?arguments[1]:void 0)},"forEach"));var mF=tr,NM=Ub.includes,PM=mF.aTypedArray,IM=mF.exportTypedArrayMethod;IM("includes",i(function(P){return NM(PM(this),P,arguments.length>1?arguments[1]:void 0)},"includes"));var vF=tr,OM=Ub.indexOf,LM=vF.aTypedArray,RM=vF.exportTypedArrayMethod;RM("indexOf",i(function(P){return OM(LM(this),P,arguments.length>1?arguments[1]:void 0)},"indexOf"));var MM=Vu,jM=qu,UD=mc,yF=tr,WD=cL,$M=Rb,GD=$M("iterator"),Db=MM.Uint8Array,VM=UD(WD.values),qM=UD(WD.keys),UM=UD(WD.entries),HD=yF.aTypedArray,sf=yF.exportTypedArrayMethod,ho=Db&&Db.prototype,cf=!jM(function(){ho[GD].call([1])}),EF=!!ho&&ho.values&&ho[GD]===ho.values&&ho.values.name==="values",CF=i(function(){return VM(HD(this))},"values");sf("entries",i(function(){return UM(HD(this))},"entries"),cf);sf("keys",i(function(){return qM(HD(this))},"keys"),cf);sf("values",CF,cf||!EF,{name:"values"});sf(GD,CF,cf||!EF,{name:"values"});var AF=tr,WM=mc,GM=AF.aTypedArray,HM=AF.exportTypedArrayMethod,zM=WM([].join);HM("join",i(function(P){return zM(GM(this),P)},"join"));var XM=RD,JM=pL,YM=$b,KM=Eo,QM=lL,ZM=Math.min,kD=[].lastIndexOf,bF=!!kD&&1/[1].lastIndexOf(1,-0)<0,_M=QM("lastIndexOf"),ej=bF||!_M,rj=ej?i(function(P){if(bF)return XM(kD,this,arguments)||0;var j=JM(this),W=KM(j),te=W-1;for(arguments.length>1&&(te=ZM(te,YM(arguments[1]))),te<0&&(te=W+te);te>=0;te--)if(te in j&&j[te]===P)return te||0;return-1},"lastIndexOf"):kD,FF=tr,tj=RD,nj=rj,uj=FF.aTypedArray,aj=FF.exportTypedArrayMethod;aj("lastIndexOf",i(function(P){var j=arguments.length;return tj(nj,uj(this),j>1?[P,arguments[1]]:[P])},"lastIndexOf"));var SF=tr,ij=Uu.map,oj=of,sj=SF.aTypedArray,cj=SF.exportTypedArrayMethod;cj("map",i(function(P){return ij(sj(this),P,arguments.length>1?arguments[1]:void 0,function(j,W){return new(oj(j))(W)})},"map"));var lj=Wb,pj=nf,fj=fL,dj=Eo,hj=TypeError,gb=i(function(k){return function(P,j,W,te){lj(j);var Ee=pj(P),Ue=fj(Ee),ge=dj(Ee),De=k?ge-1:0,He=k?-1:1;if(W<2)for(;;){if(De in Ue){te=Ue[De],De+=He;break}if(De+=He,k?De<0:ge<=De)throw hj("Reduce of empty array with no initial value")}for(;k?De>=0:ge>De;De+=He)De in Ue&&(te=j(te,Ue[De],De,Ee));return te}},"createMethod"),TF={left:gb(!1),right:gb(!0)},xF=tr,Dj=TF.left,gj=xF.aTypedArray,mj=xF.exportTypedArrayMethod;mj("reduce",i(function(P){var j=arguments.length;return Dj(gj(this),P,j,j>1?arguments[1]:void 0)},"reduce"));var wF=tr,vj=TF.right,yj=wF.aTypedArray,Ej=wF.exportTypedArrayMethod;Ej("reduceRight",i(function(P){var j=arguments.length;return vj(yj(this),P,j,j>1?arguments[1]:void 0)},"reduceRight"));var BF=tr,Cj=BF.aTypedArray,Aj=BF.exportTypedArrayMethod,bj=Math.floor;Aj("reverse",i(function(){for(var P=this,j=Cj(P).length,W=bj(j/2),te=0,Ee;te1?arguments[1]:void 0,1),W=Tj(P);if(PD)return NF(IF,this,W,j);var te=this.length,Ee=Fj(W),Ue=0;if(Ee+j>te)throw xj("Wrong length");for(;UeEe;)ge[Ee]=W[Ee++];return ge},"slice"),Rj);var LF=tr,Mj=Uu.some,jj=LF.aTypedArray,$j=LF.exportTypedArrayMethod;$j("some",i(function(P){return Mj(jj(this),P,arguments.length>1?arguments[1]:void 0)},"some"));var Vj=Vu,qj=dL,ID=qu,Uj=Wb,Wj=hL,RF=tr,vb=DL,Gj=gL,yb=mL,Eb=vL,Hj=RF.aTypedArray,zj=RF.exportTypedArrayMethod,hc=Vj.Uint16Array,vo=hc&&qj(hc.prototype.sort),Xj=!!vo&&!(ID(function(){vo(new hc(2),null)})&&ID(function(){vo(new hc(2),{})})),Cb=!!vo&&!ID(function(){if(yb)return yb<74;if(vb)return vb<67;if(Gj)return!0;if(Eb)return Eb<602;var k=new hc(516),P=Array(516),j,W;for(j=0;j<516;j++)W=j%4,k[j]=515-j,P[j]=j-2*W+3;for(vo(k,function(te,Ee){return(te/4|0)-(Ee/4|0)}),j=0;j<516;j++)if(k[j]!==P[j])return!0}),Jj=i(function(k){return function(P,j){return k!==void 0?+k(P,j)||0:j!==j?-1:P!==P?1:P===0&&j===0?1/P>0&&1/j<0?1:-1:P>j}},"getSortCompare");zj("sort",i(function(P){return P!==void 0&&Uj(P),Cb?vo(this,P):Wj(Hj(this),Jj(P))},"sort"),!Cb||Xj);var MF=tr,Yj=Vb,Ab=qb,Kj=of,Qj=MF.aTypedArray,Zj=MF.exportTypedArrayMethod;Zj("subarray",i(function(P,j){var W=Qj(this),te=W.length,Ee=Ab(P,te),Ue=Kj(W);return new Ue(W.buffer,W.byteOffset+Ee*W.BYTES_PER_ELEMENT,Yj((j===void 0?te:Ab(j,te))-Ee))},"subarray"));var _j=Vu,e$=RD,jF=tr,OD=qu,bb=Gb,ef=_j.Int8Array,Fb=jF.aTypedArray,r$=jF.exportTypedArrayMethod,$F=[].toLocaleString,t$=!!ef&&OD(function(){$F.call(new ef(1))}),n$=OD(function(){return[1,2].toLocaleString()!=new ef([1,2]).toLocaleString()})||!OD(function(){ef.prototype.toLocaleString.call([1,2])});r$("toLocaleString",i(function(){return e$($F,t$?bb(Fb(this)):Fb(this),bb(arguments))},"toLocaleString"),n$);var u$=tr.exportTypedArrayMethod,a$=qu,i$=Vu,o$=mc,Sb=i$.Uint8Array,s$=Sb&&Sb.prototype||{},rf=[].toString,c$=o$([].join);a$(function(){rf.call({})})&&(rf=i(function(){return c$(this)},"toString"));var l$=s$.toString!=rf;u$("toString",rf,l$);var p$=yL;p$("asyncIterator");var f$=yo.exports;f$("Uint16",function(k){return i(function(j,W,te){return k(this,j,W,te)},"Uint16Array")});var d$=yo.exports;d$("Float32",function(k){return i(function(j,W,te){return k(this,j,W,te)},"Float32Array")});var h$=yo.exports;h$("Float64",function(k){return i(function(j,W,te){return k(this,j,W,te)},"Float64Array")});var D$=EL.start,g$=CL,VF=g$("trimStart")?i(function(){return D$(this)},"trimStart"):"".trimStart,m$=Ha,Tb=VF;m$({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==Tb},{trimLeft:Tb});var v$=Ha,xb=VF;v$({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==xb},{trimStart:xb});var y$=Ha,E$=TL,C$=xL;y$({target:"String",proto:!0,forced:C$("anchor")},{anchor:i(function(P){return E$(this,"a","name",P)},"anchor")});function Do(k){var P=typeof Map=="function"?new Map:void 0;return Do=i(function(W){if(W===null||!A$(W))return W;if(typeof W!="function")throw new TypeError("Super expression must either be null or a function");if(typeof P<"u"){if(P.has(W))return P.get(W);P.set(W,te)}function te(){return Qp(W,arguments,Nn(this).constructor)}return i(te,"Wrapper"),te.prototype=Object.create(W.prototype,{constructor:{value:te,enumerable:!1,writable:!0,configurable:!0}}),Dc(te,W)},"_wrapNativeSuper"),Do(k)}i(Do,"_wrapNativeSuper");function Qp(k,P,j){return UF()?Qp=Reflect.construct:Qp=i(function(te,Ee,Ue){var ge=[null];ge.push.apply(ge,Ee);var De=Function.bind.apply(te,ge),He=new De;return Ue&&Dc(He,Ue.prototype),He},"_construct"),Qp.apply(null,arguments)}i(Qp,"_construct");function A$(k){return Function.toString.call(k).indexOf("[native code]")!==-1}i(A$,"_isNativeFunction");function wb(k){return HF(k)||WF(k)||lf(k)||GF()}i(wb,"_toArray");function Ga(){return typeof Reflect<"u"&&Reflect.get?Ga=Reflect.get:Ga=i(function(P,j,W){var te=b$(P,j);if(!!te){var Ee=Object.getOwnPropertyDescriptor(te,j);return Ee.get?Ee.get.call(arguments.length<3?P:W):Ee.value}},"_get"),Ga.apply(this,arguments)}i(Ga,"_get");function b$(k,P){for(;!Object.prototype.hasOwnProperty.call(k,P)&&(k=Nn(k),k!==null););return k}i(b$,"_superPropBase");function Fr(k,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(P&&P.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),Object.defineProperty(k,"prototype",{writable:!1}),P&&Dc(k,P)}i(Fr,"_inherits");function Dc(k,P){return Dc=Object.setPrototypeOf||i(function(W,te){return W.__proto__=te,W},"_setPrototypeOf"),Dc(k,P)}i(Dc,"_setPrototypeOf");function Sr(k){var P=UF();return i(function(){var W=Nn(k),te;if(P){var Ee=Nn(this).constructor;te=Reflect.construct(W,arguments,Ee)}else te=W.apply(this,arguments);return qF(this,te)},"_createSuperInternal")}i(Sr,"_createSuper");function qF(k,P){if(P&&(Te(P)==="object"||typeof P=="function"))return P;if(P!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return F$(k)}i(qF,"_possibleConstructorReturn");function F$(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}i(F$,"_assertThisInitialized");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}}i(UF,"_isNativeReflectConstruct");function Nn(k){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:i(function(j){return j.__proto__||Object.getPrototypeOf(j)},"_getPrototypeOf"),Nn(k)}i(Nn,"_getPrototypeOf");function pe(k,P){var j=typeof Symbol<"u"&&k[Symbol.iterator]||k["@@iterator"];if(!j){if(Array.isArray(k)||(j=lf(k))||P&&k&&typeof k.length=="number"){j&&(k=j);var W=0,te=i(function(){},"F");return{s:te,n:i(function(){return W>=k.length?{done:!0}:{done:!1,value:k[W++]}},"n"),e:i(function(He){throw He},"e"),f:te}}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 Ee=!0,Ue=!1,ge;return{s:i(function(){j=j.call(k)},"s"),n:i(function(){var He=j.next();return Ee=He.done,He},"n"),e:i(function(He){Ue=!0,ge=He},"e"),f:i(function(){try{!Ee&&j.return!=null&&j.return()}finally{if(Ue)throw ge}},"f")}}i(pe,"_createForOfIteratorHelper");function _n(k,P,j){return P in k?Object.defineProperty(k,P,{value:j,enumerable:!0,configurable:!0,writable:!0}):k[P]=j,k}i(_n,"_defineProperty");function ee(k){return T$(k)||WF(k)||lf(k)||S$()}i(ee,"_toConsumableArray");function S$(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}i(S$,"_nonIterableSpread");function WF(k){if(typeof Symbol<"u"&&k[Symbol.iterator]!=null||k["@@iterator"]!=null)return Array.from(k)}i(WF,"_iterableToArray");function T$(k){if(Array.isArray(k))return LD(k)}i(T$,"_arrayWithoutHoles");function Ne(k,P){return HF(k)||x$(k,P)||lf(k,P)||GF()}i(Ne,"_slicedToArray");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.`)}i(GF,"_nonIterableRest");function lf(k,P){if(!!k){if(typeof k=="string")return LD(k,P);var j=Object.prototype.toString.call(k).slice(8,-1);if(j==="Object"&&k.constructor&&(j=k.constructor.name),j==="Map"||j==="Set")return Array.from(k);if(j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j))return LD(k,P)}}i(lf,"_unsupportedIterableToArray");function LD(k,P){(P==null||P>k.length)&&(P=k.length);for(var j=0,W=new Array(P);j=D.$TAB&&v<=D.$SPACE||v==D.$NBSP},D.isDigit=m,D.isAsciiLetter=function(v){return v>=D.$a&&v<=D.$z||v>=D.$A&&v<=D.$Z},D.isAsciiHexDigit=function(v){return v>=D.$a&&v<=D.$f||v>=D.$A&&v<=D.$F||m(v)},D.isNewLine=function(v){return v===D.$LF||v===D.$CR},D.isOctalDigit=function(v){return D.$0<=v&&v<=D.$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 Ee=function(){function C(D,m,v){ce(this,C),this.filePath=D,this.name=m,this.members=v}return i(C,"n"),le(C,[{key:"assertNoMembers",value:i(function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))},"assertNoMembers")}]),C}(),Ue=Ee,ge=function(){function C(){ce(this,C),this.cache=new Map}return i(C,"i"),le(C,[{key:"get",value:i(function(m,v,A){var x=(A=A||[]).length?".".concat(A.join(".")):"",R='"'.concat(m,'".').concat(v).concat(x),$=this.cache.get(R);return $||($=new Ee(m,v,A),this.cache.set(R,$)),$},"get")}]),C}(),De=Object.defineProperty({StaticSymbol:Ue,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 He=/-+([a-z0-9])/g,Ht=i(function(D){return D.replace(He,function(){for(var m=arguments.length,v=new Array(m),A=0;A=55296&&A<=56319&&D.length>v+1){var x=D.charCodeAt(v+1);x>=56320&&x<=57343&&(v++,A=(A-55296<<10)+x-56320+65536)}A<=127?m+=String.fromCharCode(A):A<=2047?m+=String.fromCharCode(A>>6&31|192,63&A|128):A<=65535?m+=String.fromCharCode(A>>12|224,A>>6&63|128,63&A|128):A<=2097151&&(m+=String.fromCharCode(A>>18&7|240,A>>12&63|128,A>>6&63|128,63&A|128))}return m},"A"),df=i(function C(D){if(typeof D=="string")return D;if(D instanceof Array)return"["+D.map(C).join(", ")+"]";if(D==null)return""+D;if(D.overriddenName)return"".concat(D.overriddenName);if(D.name)return"".concat(D.name);if(!D.toString)return"object";var m=D.toString();if(m==null)return""+m;var v=m.indexOf(` `);return v===-1?m:m.substring(0,v)},"e"),hf=i(function(D){return typeof D=="function"&&D.hasOwnProperty("__forward_ref__")?D():D},"w");function nu(C){return!!C&&typeof C.then=="function"}i(nu,"N");var bo=nu,Ec=le(i(function C(D){ce(this,C),this.full=D;var m=D.split(".");this.major=m[0],this.minor=m[1],this.patch=m.slice(2).join(".")},"x")),Cc=typeof window<"u"&&window,Ac=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,za=j!==void 0&&j||Cc||Ac,Xa=Object.defineProperty({dashCaseToCamelCase:Ht,splitAtColon:Pn,splitAtPeriod:fn,visitValue:sr,isDefined:Ke,noUndefined:hr,ValueTransformer:St,SyncAsync:In,error:Xt,syntaxError:tu,isSyntaxError:Wu,getParseErrors:vc,escapeRegExp:yc,utf8Encode:ff,stringify:df,resolveForwardRef:hf,isPromise:bo,Version:Ec,global:za},"__esModule",{value:!0}),Fo=W(function(C,D){/** * @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(D,"__esModule",{value:!0});var m=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function v(X){return X.replace(/\W/g,"_")}i(v,"n"),D.sanitizeIdentifier=v;var A=0;function x(X){if(!X||!X.reference)return null;var U=X.reference;if(U instanceof De.StaticSymbol)return U.name;if(U.__anonymousType)return U.__anonymousType;var Y=Xa.stringify(U);return Y.indexOf("(")>=0?(Y="anonymous_".concat(A++),U.__anonymousType=Y):Y=v(Y),Y}i(x,"i");var R;D.identifierName=x,D.identifierModuleUrl=function(X){var U=X.reference;return U instanceof De.StaticSymbol?U.filePath:"./".concat(Xa.stringify(U))},D.viewClassName=function(X,U){return"View_".concat(x({reference:X}),"_").concat(U)},D.rendererTypeName=function(X){return"RenderType_".concat(x({reference:X}))},D.hostViewClassName=function(X){return"HostView_".concat(x({reference:X}))},D.componentFactoryName=function(X){return"".concat(x({reference:X}),"NgFactory")},function(X){X[X.Pipe=0]="Pipe",X[X.Directive=1]="Directive",X[X.NgModule=2]="NgModule",X[X.Injectable=3]="Injectable"}(R=D.CompileSummaryKind||(D.CompileSummaryKind={})),D.tokenName=function(X){return X.value!=null?v(X.value):x(X.identifier)},D.tokenReference=function(X){return X.identifier!=null?X.identifier.reference:X.value},D.CompileStylesheetMetadata=function(){function X(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Y=U.moduleUrl,Ce=U.styles,re=U.styleUrls;ce(this,X),this.moduleUrl=Y||null,this.styles=Z(Ce),this.styleUrls=Z(re)}return i(X,"_class"),le(X)}(),D.CompileTemplateMetadata=function(){function X(U){var Y=U.encapsulation,Ce=U.template,re=U.templateUrl,me=U.htmlAst,ve=U.styles,we=U.styleUrls,ke=U.externalStylesheets,H=U.animations,K=U.ngContentSelectors,I=U.interpolation,G=U.isInline,ne=U.preserveWhitespaces;if(ce(this,X),this.encapsulation=Y,this.template=Ce,this.templateUrl=re,this.htmlAst=me,this.styles=Z(ve),this.styleUrls=Z(we),this.externalStylesheets=Z(ke),this.animations=H?fe(H):[],this.ngContentSelectors=K||[],I&&I.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=I,this.isInline=G,this.preserveWhitespaces=ne}return i(X,"_class2"),le(X,[{key:"toSummary",value:i(function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}},"toSummary")}]),X}();var $=function(){function X(U){var Y=U.isHost,Ce=U.type,re=U.isComponent,me=U.selector,ve=U.exportAs,we=U.changeDetection,ke=U.inputs,H=U.outputs,K=U.hostListeners,I=U.hostProperties,G=U.hostAttributes,ne=U.providers,oe=U.viewProviders,Oe=U.queries,$e=U.guards,Je=U.viewQueries,Tr=U.entryComponents,mr=U.template,Lr=U.componentViewType,st=U.rendererType,Pt=U.componentFactory;ce(this,X),this.isHost=!!Y,this.type=Ce,this.isComponent=re,this.selector=me,this.exportAs=ve,this.changeDetection=we,this.inputs=ke,this.outputs=H,this.hostListeners=K,this.hostProperties=I,this.hostAttributes=G,this.providers=Z(ne),this.viewProviders=Z(oe),this.queries=Z(Oe),this.guards=$e,this.viewQueries=Z(Je),this.entryComponents=Z(Tr),this.template=mr,this.componentViewType=Lr,this.rendererType=st,this.componentFactory=Pt}return i(X,"u"),le(X,[{key:"toSummary",value:i(function(){return{summaryKind:R.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}},"toSummary")}],[{key:"create",value:i(function(Y){var Ce=Y.isHost,re=Y.type,me=Y.isComponent,ve=Y.selector,we=Y.exportAs,ke=Y.changeDetection,H=Y.inputs,K=Y.outputs,I=Y.host,G=Y.providers,ne=Y.viewProviders,oe=Y.queries,Oe=Y.guards,$e=Y.viewQueries,Je=Y.entryComponents,Tr=Y.template,mr=Y.componentViewType,Lr=Y.rendererType,st=Y.componentFactory,Pt={},ht={},yn={};I!=null&&Object.keys(I).forEach(function(Rr){var xr=I[Rr],_e=Rr.match(m);_e===null?yn[Rr]=xr:_e[1]!=null?ht[_e[1]]=xr:_e[2]!=null&&(Pt[_e[2]]=xr)});var mu={};H!=null&&H.forEach(function(Rr){var xr=Xa.splitAtColon(Rr,[Rr,Rr]);mu[xr[0]]=xr[1]});var vu={};return K!=null&&K.forEach(function(Rr){var xr=Xa.splitAtColon(Rr,[Rr,Rr]);vu[xr[0]]=xr[1]}),new X({isHost:Ce,type:re,isComponent:!!me,selector:ve,exportAs:we,changeDetection:ke,inputs:mu,outputs:vu,hostListeners:Pt,hostProperties:ht,hostAttributes:yn,providers:G,viewProviders:ne,queries:oe,guards:Oe,viewQueries:$e,entryComponents:Je,template:Tr,componentViewType:mr,rendererType:Lr,componentFactory:st})},"create")}]),X}();D.CompileDirectiveMetadata=$,D.CompilePipeMetadata=function(){function X(U){var Y=U.type,Ce=U.name,re=U.pure;ce(this,X),this.type=Y,this.name=Ce,this.pure=!!re}return i(X,"_class3"),le(X,[{key:"toSummary",value:i(function(){return{summaryKind:R.Pipe,type:this.type,name:this.name,pure:this.pure}},"toSummary")}]),X}(),D.CompileShallowModuleMetadata=function(){function X(){ce(this,X)}return i(X,"_class4"),le(X)}(),D.CompileNgModuleMetadata=function(){function X(U){var Y=U.type,Ce=U.providers,re=U.declaredDirectives,me=U.exportedDirectives,ve=U.declaredPipes,we=U.exportedPipes,ke=U.entryComponents,H=U.bootstrapComponents,K=U.importedModules,I=U.exportedModules,G=U.schemas,ne=U.transitiveModule,oe=U.id;ce(this,X),this.type=Y||null,this.declaredDirectives=Z(re),this.exportedDirectives=Z(me),this.declaredPipes=Z(ve),this.exportedPipes=Z(we),this.providers=Z(Ce),this.entryComponents=Z(ke),this.bootstrapComponents=Z(H),this.importedModules=Z(K),this.exportedModules=Z(I),this.schemas=Z(G),this.id=oe||null,this.transitiveModule=ne||null}return i(X,"_class5"),le(X,[{key:"toSummary",value:i(function(){var Y=this.transitiveModule;return{summaryKind:R.NgModule,type:this.type,entryComponents:Y.entryComponents,providers:Y.providers,modules:Y.modules,exportedDirectives:Y.exportedDirectives,exportedPipes:Y.exportedPipes}},"toSummary")}]),X}();function Z(X){return X||[]}i(Z,"c"),D.TransitiveCompileNgModuleMetadata=function(){function X(){ce(this,X),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 i(X,"_class6"),le(X,[{key:"addProvider",value:i(function(Y,Ce){this.providers.push({provider:Y,module:Ce})},"addProvider")},{key:"addDirective",value:i(function(Y){this.directivesSet.has(Y.reference)||(this.directivesSet.add(Y.reference),this.directives.push(Y))},"addDirective")},{key:"addExportedDirective",value:i(function(Y){this.exportedDirectivesSet.has(Y.reference)||(this.exportedDirectivesSet.add(Y.reference),this.exportedDirectives.push(Y))},"addExportedDirective")},{key:"addPipe",value:i(function(Y){this.pipesSet.has(Y.reference)||(this.pipesSet.add(Y.reference),this.pipes.push(Y))},"addPipe")},{key:"addExportedPipe",value:i(function(Y){this.exportedPipesSet.has(Y.reference)||(this.exportedPipesSet.add(Y.reference),this.exportedPipes.push(Y))},"addExportedPipe")},{key:"addModule",value:i(function(Y){this.modulesSet.has(Y.reference)||(this.modulesSet.add(Y.reference),this.modules.push(Y))},"addModule")},{key:"addEntryComponent",value:i(function(Y){this.entryComponentsSet.has(Y.componentType)||(this.entryComponentsSet.add(Y.componentType),this.entryComponents.push(Y))},"addEntryComponent")}]),X}();function fe(X){return X.reduce(function(U,Y){var Ce=Array.isArray(Y)?fe(Y):Y;return U.concat(Ce)},[])}i(fe,"l");function he(X){return X.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}i(he,"D"),D.ProviderMeta=function(){function X(U,Y){var Ce=Y.useClass,re=Y.useValue,me=Y.useExisting,ve=Y.useFactory,we=Y.deps,ke=Y.multi;ce(this,X),this.token=U,this.useClass=Ce||null,this.useValue=re,this.useExisting=me,this.useFactory=ve||null,this.dependencies=we||null,this.multi=!!ke}return i(X,"_class7"),le(X)}(),D.flatten=fe,D.templateSourceUrl=function(X,U,Y){var Ce;return Ce=Y.isInline?U.type.reference instanceof De.StaticSymbol?"".concat(U.type.reference.filePath,".").concat(U.type.reference.name,".html"):"".concat(x(X),"/").concat(x(U.type),".html"):Y.templateUrl,U.type.reference instanceof De.StaticSymbol?Ce:he(Ce)},D.sharedStylesheetJitUrl=function(X,U){var Y=X.moduleUrl.split(/\/\\/g),Ce=Y[Y.length-1];return he("css/".concat(U).concat(Ce,".ngstyle.js"))},D.ngModuleJitUrl=function(X){return he("".concat(x(X.type),"/module.ngfactory.js"))},D.templateJitUrl=function(X,U){return he("".concat(x(X),"/").concat(x(U.type),".ngfactory.js"))}}),ir=W(function(C,D){Object.defineProperty(D,"__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 m=function(){function R($,Z,fe,he){ce(this,R),this.file=$,this.offset=Z,this.line=fe,this.col=he}return i(R,"n"),le(R,[{key:"toString",value:i(function(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url},"toString")},{key:"moveBy",value:i(function(Z){for(var fe=this.file.content,he=fe.length,X=this.offset,U=this.line,Y=this.col;X>0&&Z<0;)if(X--,Z++,fe.charCodeAt(X)==te.$LF){U--;var Ce=fe.substr(0,X-1).lastIndexOf(String.fromCharCode(te.$LF));Y=Ce>0?X-Ce:X}else Y--;for(;X0;){var re=fe.charCodeAt(X);X++,Z--,re==te.$LF?(U++,Y=0):Y++}return new R(this.file,X,U,Y)},"moveBy")},{key:"getContext",value:i(function(Z,fe){var he=this.file.content,X=this.offset;if(X!=null){X>he.length-1&&(X=he.length-1);for(var U=X,Y=0,Ce=0;Y0&&(X--,Y++,he[X]!=` `||++Ce!=fe););for(Y=0,Ce=0;Y2&&arguments[2]!==void 0?arguments[2]:null;ce(this,R),this.start=$,this.end=Z,this.details=fe}return i(R,"i"),le(R,[{key:"toString",value:i(function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},"toString")}]),R}(),x;D.ParseSourceSpan=A,D.EMPTY_PARSE_LOCATION=new m(new v("",""),0,0,0),D.EMPTY_SOURCE_SPAN=new A(D.EMPTY_PARSE_LOCATION,D.EMPTY_PARSE_LOCATION),function(R){R[R.WARNING=0]="WARNING",R[R.ERROR=1]="ERROR"}(x=D.ParseErrorLevel||(D.ParseErrorLevel={})),D.ParseError=function(){function R($,Z){var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:x.ERROR;ce(this,R),this.span=$,this.msg=Z,this.level=fe}return i(R,"_class8"),le(R,[{key:"contextualMessage",value:i(function(){var Z=this.span.start.getContext(100,3);return Z?"".concat(this.msg,' ("').concat(Z.before,"[").concat(x[this.level]," ->]").concat(Z.after,'")'):this.msg},"contextualMessage")},{key:"toString",value:i(function(){var Z=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(Z)},"toString")}]),R}(),D.typeSourceSpan=function(R,$){var Z=Fo.identifierModuleUrl($),fe=Z!=null?"in ".concat(R," ").concat(Fo.identifierName($)," in ").concat(Z):"in ".concat(R," ").concat(Fo.identifierName($)),he=new v("",fe);return new A(new m(he,-1,-1,-1),new m(he,-1,-1,-1))},D.r3JitTypeSourceSpan=function(R,$,Z){var fe="in ".concat(R," ").concat($," in ").concat(Z),he=new v("",fe);return new A(new m(he,-1,-1,-1),new m(he,-1,-1,-1))}}),So=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?[\\S\\s]*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)"),Df=i(function(D){var m=D.match(So);if(!m)return{content:D};var v=m.groups,A=v.startDelimiter,x=v.language,R=v.value,$=R===void 0?"":R,Z=v.endDelimiter,fe=x.trim()||"yaml";if(A==="+++"&&(fe="toml"),fe!=="yaml"&&A!==Z)return{content:D};var he=Ne(m,1),X=he[0];return{frontMatter:{type:"front-matter",lang:fe,value:$,startDelimiter:A,endDelimiter:Z,raw:X.replace(/\n$/,"")},content:X.replace(/[^\n]/g," ")+D.slice(X.length)}},"$"),To=i(function(D){return D[D.length-1]},"M"),uu=i(function(D,m){var v=new SyntaxError(D+" ("+m.start.line+":"+m.start.column+")");return v.loc=m,v},"U"),xo=i(function(D){return typeof D=="string"?D.replace(function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},v=m.onlyFirst,A=v===void 0?!1:v,x=["[\\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(x,A?void 0:"g")}(),""):D},"V"),wo=i(function(D){return!Number.isNaN(D)&&D>=4352&&(D<=4447||D===9001||D===9002||11904<=D&&D<=12871&&D!==12351||12880<=D&&D<=19903||19968<=D&&D<=42182||43360<=D&&D<=43388||44032<=D&&D<=55203||63744<=D&&D<=64255||65040<=D&&D<=65049||65072<=D&&D<=65131||65281<=D&&D<=65376||65504<=D&&D<=65510||110592<=D&&D<=110593||127488<=D&&D<=127569||131072<=D&&D<=262141)},"G"),Bo=wo,bc=wo;Bo.default=bc;var Gu=i(function(D){if(typeof D!="string"||D.length===0||(D=xo(D)).length===0)return 0;D=D.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 m=0,v=0;v=127&&A<=159||A>=768&&A<=879||(A>65535&&v++,m+=Bo(A)?2:1)}return m},"H"),ko=Gu,Fc=Gu;ko.default=Fc;var Sc=i(function(D){if(typeof D!="string")throw new TypeError("Expected a string");return D.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},"Y");function au(C,D){return D||(D=C.slice(0)),Object.freeze(Object.defineProperties(C,{raw:{value:Object.freeze(D)}}))}i(au,"Q");var Ja=i(function(D){for(var m=-1,v=D==null?0:D.length,A={};++m1)for(var v=1;v)?=?)"),$("XRANGEIDENTIFIERLOOSE","".concat(A[x.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),$("XRANGEIDENTIFIER","".concat(A[x.NUMERICIDENTIFIER],"|x|X|\\*")),$("XRANGEPLAIN","[v=\\s]*(".concat(A[x.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(A[x.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(A[x.XRANGEIDENTIFIER],")")+"(?:".concat(A[x.PRERELEASE],")?").concat(A[x.BUILD],"?")+")?)?"),$("XRANGEPLAINLOOSE","[v=\\s]*(".concat(A[x.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(A[x.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(A[x.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(A[x.PRERELEASELOOSE],")?").concat(A[x.BUILD],"?")+")?)?"),$("XRANGE","^".concat(A[x.GTLT],"\\s*").concat(A[x.XRANGEPLAIN],"$")),$("XRANGELOOSE","^".concat(A[x.GTLT],"\\s*").concat(A[x.XRANGEPLAINLOOSE],"$")),$("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(m,"})")+"(?:\\.(\\d{1,".concat(m,"}))?")+"(?:\\.(\\d{1,".concat(m,"}))?")+"(?:$|[^\\d])"),$("COERCERTL",A[x.COERCE],!0),$("LONETILDE","(?:~>?)"),$("TILDETRIM","(\\s*)".concat(A[x.LONETILDE],"\\s+"),!0),D.tildeTrimReplace="$1~",$("TILDE","^".concat(A[x.LONETILDE]).concat(A[x.XRANGEPLAIN],"$")),$("TILDELOOSE","^".concat(A[x.LONETILDE]).concat(A[x.XRANGEPLAINLOOSE],"$")),$("LONECARET","(?:\\^)"),$("CARETTRIM","(\\s*)".concat(A[x.LONECARET],"\\s+"),!0),D.caretTrimReplace="$1^",$("CARET","^".concat(A[x.LONECARET]).concat(A[x.XRANGEPLAIN],"$")),$("CARETLOOSE","^".concat(A[x.LONECARET]).concat(A[x.XRANGEPLAINLOOSE],"$")),$("COMPARATORLOOSE","^".concat(A[x.GTLT],"\\s*(").concat(A[x.LOOSEPLAIN],")$|^$")),$("COMPARATOR","^".concat(A[x.GTLT],"\\s*(").concat(A[x.FULLPLAIN],")$|^$")),$("COMPARATORTRIM","(\\s*)".concat(A[x.GTLT],"\\s*(").concat(A[x.LOOSEPLAIN],"|").concat(A[x.XRANGEPLAIN],")"),!0),D.comparatorTrimReplace="$1$2$3",$("HYPHENRANGE","^\\s*(".concat(A[x.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(A[x.XRANGEPLAIN],")")+"\\s*$"),$("HYPHENRANGELOOSE","^\\s*(".concat(A[x.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(A[x.XRANGEPLAINLOOSE],")")+"\\s*$"),$("STAR","(<|>)?=?\\s*\\*"),$("GTE0","^\\s*>=\\s*0.0.0\\s*$"),$("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),Ic=["includePrerelease","loose","rtl"],Oc=i(function(D){return D?Te(D)!="object"?{loose:!0}:Ic.filter(function(m){return D[m]}).reduce(function(m,v){return m[v]=!0,m},{}):{}},"be"),Lc=/^[0-9]+$/,Lo=i(function(D,m){var v=Lc.test(D),A=Lc.test(m);return v&&A&&(D=+D,m=+m),D===m?0:v&&!A?-1:A&&!v?1:D_a)throw new TypeError("version is longer than ".concat(_a," characters"));cu("SemVer",D,m),this.options=m,this.loose=!!m.loose,this.includePrerelease=!!m.includePrerelease;var v=D.trim().match(m.loose?Ro[Mo.LOOSE]:Ro[Mo.FULL]);if(!v)throw new TypeError("Invalid Version: ".concat(D));if(this.raw=D,this.major=+v[1],this.minor=+v[2],this.patch=+v[3],this.major>Ir||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ir||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ir||this.patch<0)throw new TypeError("Invalid patch version");v[4]?this.prerelease=v[4].split(".").map(function(A){if(/^[0-9]+$/.test(A)){var x=+A;if(x>=0&&x=0;)typeof this.prerelease[A]=="number"&&(this.prerelease[A]++,A=-2);A===-1&&this.prerelease.push(0)}v&&(this.prerelease[0]===v?isNaN(this.prerelease[1])&&(this.prerelease=[v,0]):this.prerelease=[v,0]);break;default:throw new Error("invalid increment argument: ".concat(m))}return this.format(),this.raw=this.version,this},"inc")}]),C}(),jo=hn,Qt=i(function(D,m,v){return new jo(D,v).compare(new jo(m,v))},"qe"),Zt=i(function(D,m,v){return Qt(D,m,v)<0},"$e"),Rn,zu,Rc,$o,Vo,Dn,vf=i(function(D,m,v){return Qt(D,m,v)>=0},"He"),yf="2.3.0",Ef=W(function(C,D){function m(){for(var me=[],ve=0;ve0&&arguments[0]!==void 0?arguments[0]:{},m=D.plugins,v=m===void 0?[]:m,A=D.showUnreleased,x=A===void 0?!1:A,R=D.showDeprecated,$=R===void 0?!1:R,Z=D.showInternal,fe=Z===void 0?!1:Z,he=Xu.split("-",1)[0],X=v.reduce(function(re,me){return[].concat(ee(re),ee(me.languages||[]))},[]).filter(Y),U=function(re,me){return Object.entries(re).map(function(ve){var we=Ne(ve,2),ke=we[0],H=we[1];return Object.assign(_n({},me,ke),H)})}(Object.assign.apply(Object,[{}].concat(ee(v.map(function(re){var me=re.options;return me})),[Uo])),"name").filter(function(re){return Y(re)&&Ce(re)}).sort(function(re,me){return re.name===me.name?0:re.name=0||(H[we]=me[we]);return H}(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(Y).sort(function(ve,we){return Or.compare(we.since,ve.since)})[0].value),Array.isArray(re.choices)&&(re.choices=re.choices.filter(function(ve){return Y(ve)&&Ce(ve)}),re.name==="parser"&&function(ve,we,ke){var H=new Set(ve.choices.map(function($e){return $e.value})),K=pe(we),I;try{for(K.s();!(I=K.n()).done;){var G=I.value;if(G.parsers){var ne=pe(G.parsers),oe;try{var Oe=i(function(){var Je=oe.value;if(!H.has(Je)){H.add(Je);var Tr=ke.find(function(Lr){return Lr.parsers&&Lr.parsers[Je]}),mr=G.name;Tr&&Tr.name&&(mr+=" (plugin: ".concat(Tr.name,")")),ve.choices.push({value:Je,description:mr})}},"_loop");for(ne.s();!(oe=ne.n()).done;)Oe()}catch($e){ne.e($e)}finally{ne.f()}}}}catch($e){K.e($e)}finally{K.f()}}(re,X,v));var me=Ja(v.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:X,options:U};function Y(re){return x||!("since"in re)||re.since&&Or.gte(he,re.since)}function Ce(re){return $||!("deprecated"in re)||re.deprecated&&Or.lt(he,re.deprecated)}},"getSupportInfo")},Af=Mc.getSupportInfo,bf=/[^\x20-\x7F]/;function pu(C){return function(D,m,v){var A=v&&v.backwards;if(m===!1)return!1;for(var x=D.length,R=m;R>=0&&R2&&arguments[2]!==void 0?arguments[2]:{},v=jn(C,m.backwards?D-1:D,m);return v!==Tt(C,v,m)}i($c,"ft");function Go(C,D){for(var m=null,v=D;v!==m;)m=v,v=Wo(C,v),v=ti(C,v),v=jn(C,v);return v=ni(C,v),v=Tt(C,v),v!==!1&&$c(C,v)}i(Go,"gt");function ui(C,D){for(var m=null,v=D;v!==m;)m=v,v=jn(C,v),v=ti(C,v),v=ni(C,v),v=Tt(C,v);return v}i(ui,"Et");function Vc(C,D,m){return ui(C,m(D))}i(Vc,"Ct");function Ho(C,D){for(var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,v=0,A=m;A(m.match(R.regex)||[]).length?R.quote:x.quote),$}i(zo,"_t");function Xo(C,D,m){var v=D==='"'?"'":'"',A=C.replace(/\\([\S\s])|(["'])/g,function(x,R,$){return R===v?R:$===D?"\\"+$:$||(m&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(R)?R:"\\"+R)});return D+A+D}i(Xo,"St");function ai(C,D){(C.comments||(C.comments=[])).push(D),D.printed=!1,D.nodeDescription=function(m){var v=m.type||m.kind||"(unknown type)",A=String(m.name||m.id&&(Te(m.id)=="object"?m.id.name:m.id)||m.key&&(Te(m.key)=="object"?m.key.name:m.key)||m.value&&(Te(m.value)=="object"?"":String(m.value))||m.operator||"");return A.length>20&&(A=A.slice(0,19)+"\u2026"),v+(A?" "+A:"")}(C)}i(ai,"yt");var Yu={inferParserByLanguage:i(function(D,m){var v=Af({plugins:m.plugins}),A=v.languages,x=A.find(function(R){var $=R.name;return $.toLowerCase()===D})||A.find(function(R){var $=R.aliases;return Array.isArray($)&&$.includes(D)})||A.find(function(R){var $=R.extensions;return Array.isArray($)&&$.includes(".".concat(D))});return x&&x.parsers[0]},"inferParserByLanguage"),replaceEndOfLineWith:i(function(D,m){var v=[],A=pe(D.split(` `)),x;try{for(A.s();!(x=A.n()).done;){var R=x.value;v.length>0&&v.push(m),v.push(R)}}catch($){A.e($)}finally{A.f()}return v},"replaceEndOfLineWith"),getStringWidth:i(function(D){return D?bf.test(D)?ko(D):D.length:0},"getStringWidth"),getMaxContinuousCount:i(function(D,m){var v=D.match(new RegExp("(".concat(Sc(m),")+"),"g"));return v===null?0:v.reduce(function(A,x){return Math.max(A,x.length/m.length)},0)},"getMaxContinuousCount"),getMinNotPresentContinuousCount:i(function(D,m){var v=D.match(new RegExp("(".concat(Sc(m),")+"),"g"));if(v===null)return 0;var A=new Map,x=0,R=pe(v),$;try{for(R.s();!($=R.n()).done;){var Z=$.value,fe=Z.length/m.length;A.set(fe,!0),fe>x&&(x=fe)}}catch(X){R.e(X)}finally{R.f()}for(var he=1;he2&&arguments[2]!==void 0?arguments[2]:{};return jn(D,v.backwards?m-1:m,v)!==m},"hasSpaces"),getAlignmentSize:Ho,getIndentSize:i(function(D,m){var v=D.lastIndexOf(` `);return v===-1?0:Ho(D.slice(v+1).match(/^[\t ]*/)[0],m)},"getIndentSize"),getPreferredQuote:zo,printString:i(function(D,m){return Xo(D.slice(1,-1),m.parser==="json"||m.parser==="json5"&&m.quoteProps==="preserve"&&!m.singleQuote?'"':m.__isInHtmlAttribute?"'":zo(D,m.singleQuote?"'":'"'),!(m.parser==="css"||m.parser==="less"||m.parser==="scss"||m.__embeddedInHtml))},"printString"),printNumber:i(function(D){return D.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},"printNumber"),makeString:Xo,addLeadingComment:i(function(D,m){m.leading=!0,m.trailing=!1,ai(D,m)},"addLeadingComment"),addDanglingComment:i(function(D,m,v){m.leading=!1,m.trailing=!1,v&&(m.marker=v),ai(D,m)},"addDanglingComment"),addTrailingComment:i(function(D,m){m.leading=!1,m.trailing=!0,ai(D,m)},"addTrailingComment"),isFrontMatterNode:i(function(D){return D&&D.type==="front-matter"},"isFrontMatterNode"),getShebang:i(function(D){if(!D.startsWith("#!"))return"";var m=D.indexOf(` `);return m===-1?D:D.slice(0,m)},"getShebang"),isNonEmptyArray:i(function(D){return Array.isArray(D)&&D.length>0},"isNonEmptyArray"),createGroupIdMapper:i(function(D){var m=new WeakMap;return function(v){return m.has(v)||m.set(v,Symbol(D)),m.get(v)}},"createGroupIdMapper")},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"]},Ff=Yu.inferParserByLanguage,Jo=Yu.isFrontMatterNode,_t={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=_t.CSS_DISPLAY_TAGS,ii=_t.CSS_DISPLAY_DEFAULT,oi=_t.CSS_WHITE_SPACE_TAGS,en=_t.CSS_WHITE_SPACE_DEFAULT,$n=Wc(["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"]),Sf=function(C,D){for(var m=Object.create(null),v=0,A=Object.entries(C);v0&&(["html","head","ul","ol","select"].includes(C.name)||C.cssDisplay.startsWith("table")&&C.cssDisplay!=="table-cell")}i(Hc,"Ut");function gn(C){return li(C)||C.type==="element"&&C.fullName==="br"||Qo(C)}i(gn,"Vt");function Qo(C){return Zo(C)&&ci(C)}i(Qo,"Gt");function Zo(C){return C.hasLeadingSpaces&&(C.prev?C.prev.sourceSpan.end.lineC.sourceSpan.end.line:C.parent.type==="root"||C.parent.endSourceSpan&&C.parent.endSourceSpan.start.line>C.sourceSpan.end.line)}i(ci,"Xt");function li(C){switch(C.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(C.name)}return!1}i(li,"Ht");function qn(C){var D=C.attrMap,m=D.type,v=D.lang;return m==="module"||m==="text/javascript"||m==="text/babel"||m==="application/javascript"||v==="jsx"?"babel":m==="application/x-typescript"||v==="ts"||v==="tsx"?"typescript":m==="text/markdown"?"markdown":m==="text/html"?"html":m&&(m.endsWith("json")||m.endsWith("importmap"))?"json":m==="text/x-handlebars-template"?"glimmer":void 0}i(qn,"zt");function du(C){return C==="block"||C==="list-item"||C.startsWith("table")}i(du,"Wt");function Un(C){return pi(C).startsWith("pre")}i(Un,"Yt");function Ku(C){return C.type==="element"&&!C.hasExplicitNamespace&&!["html","svg"].includes(C.namespace)}i(Ku,"Qt");function pi(C){return C.type==="element"&&(!C.namespace||Ku(C))&&oi[C.name]||en}i(pi,"Jt");var zc=new Set(["template","style","script"]);function Qu(C,D){return fi(C,D)&&!zc.has(C.fullName)}i(Qu,"Kt");function fi(C,D){return D.parser==="vue"&&C.type==="element"&&C.parent.type==="root"&&C.fullName.toLowerCase()!=="html"}i(fi,"er");function Zu(C,D){return fi(C,D)&&(Qu(C,D)||C.attrMap.lang&&C.attrMap.lang!=="html")}i(Zu,"tr");var J={HTML_ELEMENT_ATTRIBUTES:Sf,HTML_TAGS:$n,htmlTrim:i(function(D){return function(m){return m.replace(/^[\t\n\f\r ]+/,"")}(Uc(D))},"htmlTrim"),htmlTrimPreserveIndentation:i(function(D){return function(m){return m.replace(/^[\t\f\r ]*?\n/g,"")}(Uc(D))},"htmlTrimPreserveIndentation"),splitByHtmlWhitespace:i(function(D){return D.split(/[\t\n\f\r ]+/)},"splitByHtmlWhitespace"),hasHtmlWhitespace:i(function(D){return/[\t\n\f\r ]/.test(D)},"hasHtmlWhitespace"),getLeadingAndTrailingHtmlWhitespace:i(function(D){var m=D.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/),v=Ne(m,4),A=v[1],x=v[2],R=v[3];return{leadingWhitespace:A,trailingWhitespace:R,text:x}},"getLeadingAndTrailingHtmlWhitespace"),canHaveInterpolation:i(function(D){return D.children&&!Vn(D)},"canHaveInterpolation"),countChars:i(function(D,m){for(var v=0,A=0;A=0;A--){var x=D.stack[A];x&&Te(x)=="object"&&!Array.isArray(x)&&m(x)&&v++}return v},"countParents"),dedentString:i(function(D){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(v){var A=Number.POSITIVE_INFINITY,x=pe(v.split(` `)),R;try{for(x.s();!(R=x.n()).done;){var $=R.value;if($.length!==0){if(!Ko.has($[0]))return 0;var Z=(fe=$,fe.match(/^[\t\n\f\r ]*/)[0]).length;$.length!==Z&&Z0&&(["body","script","style"].includes(D.name)||D.children.some(function(m){return function(v){return v.children&&v.children.some(function(A){return A.type!=="text"})}(m)}))||D.firstChild&&D.firstChild===D.lastChild&&D.firstChild.type!=="text"&&Zo(D.firstChild)&&(!D.lastChild.isTrailingSpaceSensitive||ci(D.lastChild))},"forceBreakContent"),forceNextEmptyLine:i(function(D){return Jo(D)||D.next&&D.sourceSpan.end&&D.sourceSpan.end.line+1/.test(D)},"hasPragma"),insertPragma:i(function(D){return` `+D.replace(/^\s*\n/,"")},"insertPragma")},Xc=Yu.isNonEmptyArray,mn={attrs:!0,children:!0},Du=function(){function C(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ce(this,C);for(var m=0,v=Object.entries(D);m)([\s\S]*?)",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"},D.NGSP_UNICODE="\uE500",D.NAMED_ENTITIES.ngsp=D.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 je=function(){function C(){var D=this,m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},v=m.closedByChildren,A=m.implicitNamespacePrefix,x=m.contentType,R=x===void 0?yr.TagContentType.PARSABLE_DATA:x,$=m.closedByParent,Z=$===void 0?!1:$,fe=m.isVoid,he=fe===void 0?!1:fe,X=m.ignoreFirstLf,U=X===void 0?!1:X;ce(this,C),this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,v&&v.length>0&&v.forEach(function(Y){return D.closedByChildren[Y]=!0}),this.isVoid=he,this.closedByParent=Z||he,this.implicitNamespacePrefix=A||null,this.contentType=R,this.ignoreFirstLf=U}return i(C,"mr"),le(C,[{key:"isClosedByChild",value:i(function(m){return this.isVoid||m.toLowerCase()in this.closedByChildren},"isClosedByChild")}]),C}(),Qc=je,hi,Wn,Zc=i(function(D){return Wn||(hi=new je,Wn={base:new je({isVoid:!0}),meta:new je({isVoid:!0}),area:new je({isVoid:!0}),embed:new je({isVoid:!0}),link:new je({isVoid:!0}),img:new je({isVoid:!0}),input:new je({isVoid:!0}),param:new je({isVoid:!0}),hr:new je({isVoid:!0}),br:new je({isVoid:!0}),source:new je({isVoid:!0}),track:new je({isVoid:!0}),wbr:new je({isVoid:!0}),p:new je({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 je({closedByChildren:["tbody","tfoot"]}),tbody:new je({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new je({closedByChildren:["tbody"],closedByParent:!0}),tr:new je({closedByChildren:["tr"],closedByParent:!0}),td:new je({closedByChildren:["td","th"],closedByParent:!0}),th:new je({closedByChildren:["td","th"],closedByParent:!0}),col:new je({isVoid:!0}),svg:new je({implicitNamespacePrefix:"svg"}),math:new je({implicitNamespacePrefix:"math"}),li:new je({closedByChildren:["li"],closedByParent:!0}),dt:new je({closedByChildren:["dt","dd"]}),dd:new je({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new je({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new je({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new je({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new je({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new je({closedByChildren:["optgroup"],closedByParent:!0}),option:new je({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new je({ignoreFirstLf:!0}),listing:new je({ignoreFirstLf:!0}),style:new je({contentType:yr.TagContentType.RAW_TEXT}),script:new je({contentType:yr.TagContentType.RAW_TEXT}),title:new je({contentType:yr.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new je({contentType:yr.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Wn[D]||hi},"Cr"),rn=Object.defineProperty({HtmlTagDefinition:Qc,getHtmlTagDefinition:Zc},"__esModule",{value:!0}),xf=function(){function C(D){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;ce(this,C),this.path=D,this.position=m}return i(C,"_r"),le(C,[{key:"empty",get:i(function(){return!this.path||!this.path.length},"get")},{key:"head",get:i(function(){return this.path[0]},"get")},{key:"tail",get:i(function(){return this.path[this.path.length-1]},"get")},{key:"parentOf",value:i(function(m){return m&&this.path[this.path.indexOf(m)-1]},"parentOf")},{key:"childOf",value:i(function(m){return this.path[this.path.indexOf(m)+1]},"childOf")},{key:"first",value:i(function(m){for(var v=this.path.length-1;v>=0;v--){var A=this.path[v];if(A instanceof m)return A}},"first")},{key:"push",value:i(function(m){this.path.push(m)},"push")},{key:"pop",value:i(function(){return this.path.pop()},"pop")}]),C}(),wf=Object.defineProperty({AstPath:xf},"__esModule",{value:!0}),_o=function(){function C(D,m,v){ce(this,C),this.value=D,this.sourceSpan=m,this.i18n=v,this.type="text"}return i(C,"yr"),le(C,[{key:"visit",value:i(function(m,v){return m.visitText(this,v)},"visit")}]),C}(),Di=function(){function C(D,m){ce(this,C),this.value=D,this.sourceSpan=m,this.type="cdata"}return i(C,"Fr"),le(C,[{key:"visit",value:i(function(m,v){return m.visitCdata(this,v)},"visit")}]),C}(),_c=function(){function C(D,m,v,A,x,R){ce(this,C),this.switchValue=D,this.type=m,this.cases=v,this.sourceSpan=A,this.switchValueSourceSpan=x,this.i18n=R}return i(C,"vr"),le(C,[{key:"visit",value:i(function(m,v){return m.visitExpansion(this,v)},"visit")}]),C}(),el=function(){function C(D,m,v,A,x){ce(this,C),this.value=D,this.expression=m,this.sourceSpan=v,this.valueSourceSpan=A,this.expSourceSpan=x}return i(C,"Ar"),le(C,[{key:"visit",value:i(function(m,v){return m.visitExpansionCase(this,v)},"visit")}]),C}(),ra=function(){function C(D,m,v){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,R=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;ce(this,C),this.name=D,this.value=m,this.sourceSpan=v,this.valueSpan=A,this.nameSpan=x,this.i18n=R,this.type="attribute"}return i(C,"br"),le(C,[{key:"visit",value:i(function(m,v){return m.visitAttribute(this,v)},"visit")}]),C}(),es=function(){function C(D,m,v,A){var x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,R=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,$=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,Z=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;ce(this,C),this.name=D,this.attrs=m,this.children=v,this.sourceSpan=A,this.startSourceSpan=x,this.endSourceSpan=R,this.nameSpan=$,this.i18n=Z,this.type="element"}return i(C,"wr"),le(C,[{key:"visit",value:i(function(m,v){return m.visitElement(this,v)},"visit")}]),C}(),rl=es,rs=function(){function C(D,m){ce(this,C),this.value=D,this.sourceSpan=m,this.type="comment"}return i(C,"kr"),le(C,[{key:"visit",value:i(function(m,v){return m.visitComment(this,v)},"visit")}]),C}(),ts=function(){function C(D,m){ce(this,C),this.value=D,this.sourceSpan=m,this.type="docType"}return i(C,"xr"),le(C,[{key:"visit",value:i(function(m,v){return m.visitDocType(this,v)},"visit")}]),C}();function gu(C,D){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,v=[],A=C.visit?function(x){return C.visit(x,m)||x.visit(C,m)}:function(x){return x.visit(C,m)};return D.forEach(function(x){var R=A(x);R&&v.push(R)}),v}i(gu,"Ir");var Bf=gu,gi=function(){function C(){ce(this,C)}return i(C,"Rr"),le(C,[{key:"visitElement",value:i(function(m,v){this.visitChildren(v,function(A){A(m.attrs),A(m.children)})},"visitElement")},{key:"visitAttribute",value:i(function(m,v){},"visitAttribute")},{key:"visitText",value:i(function(m,v){},"visitText")},{key:"visitCdata",value:i(function(m,v){},"visitCdata")},{key:"visitComment",value:i(function(m,v){},"visitComment")},{key:"visitDocType",value:i(function(m,v){},"visitDocType")},{key:"visitExpansion",value:i(function(m,v){return this.visitChildren(v,function(A){A(m.cases)})},"visitExpansion")},{key:"visitExpansionCase",value:i(function(m,v){},"visitExpansionCase")},{key:"visitChildren",value:i(function(m,v){var A=[],x=this;return v(function(R){R&&A.push(gu(x,R,m))}),Array.prototype.concat.apply([],A)},"visitChildren")}]),C}(),tl=gi;function xt(C){var D=C.sourceSpan.start.offset,m=C.sourceSpan.end.offset;return C instanceof es&&(C.endSourceSpan?m=C.endSourceSpan.end.offset:C.children&&C.children.length&&(m=xt(C.children[C.children.length-1]).end)),{start:D,end:m}}i(xt,"Lr");var de=i(function(D,m){var v=[];return gu(new(function(A){Fr(R,A);var x=Sr(R);function R(){return ce(this,R),x.apply(this,arguments)}return i(R,"_class9"),le(R,[{key:"visit",value:i(function(Z,fe){var he=xt(Z);if(!(he.start<=m&&m]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],ns=i(function(D,m){if(!(m==null||Array.isArray(m)&&m.length==2))throw new Error("Expected '".concat(D,"' to be an array, [start, end]."));if(m!=null){var v=m[0],A=m[1];kf.forEach(function(x){if(x.test(v)||x.test(A))throw new Error("['".concat(v,"', '").concat(A,"'] contains unusable interpolation symbol."))})}},"Ur"),mi=Object.defineProperty({assertArrayOfStrings:nl,assertInterpolationSymbols:ns},"__esModule",{value:!0}),us=W(function(C,D){/** * @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(D,"__esModule",{value:!0});var m=function(){function v(A,x){ce(this,v),this.start=A,this.end=x}return i(v,"r"),le(v,null,[{key:"fromArray",value:i(function(x){return x?(mi.assertInterpolationSymbols("interpolation",x),new v(x[0],x[1])):D.DEFAULT_INTERPOLATION_CONFIG},"fromArray")}]),v}();D.InterpolationConfig=m,D.DEFAULT_INTERPOLATION_CONFIG=new m("{{","}}")}),We=W(function(C,D){/** * @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(D,"__esModule",{value:!0});var m=te,v;(function(H){H[H.TAG_OPEN_START=0]="TAG_OPEN_START",H[H.TAG_OPEN_END=1]="TAG_OPEN_END",H[H.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",H[H.TAG_CLOSE=3]="TAG_CLOSE",H[H.TEXT=4]="TEXT",H[H.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",H[H.RAW_TEXT=6]="RAW_TEXT",H[H.COMMENT_START=7]="COMMENT_START",H[H.COMMENT_END=8]="COMMENT_END",H[H.CDATA_START=9]="CDATA_START",H[H.CDATA_END=10]="CDATA_END",H[H.ATTR_NAME=11]="ATTR_NAME",H[H.ATTR_QUOTE=12]="ATTR_QUOTE",H[H.ATTR_VALUE=13]="ATTR_VALUE",H[H.DOC_TYPE_START=14]="DOC_TYPE_START",H[H.DOC_TYPE_END=15]="DOC_TYPE_END",H[H.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",H[H.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",H[H.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",H[H.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",H[H.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",H[H.EOF=21]="EOF"})(v=D.TokenType||(D.TokenType={}));var A=le(i(function H(K,I,G){ce(this,H),this.type=K,this.parts=I,this.sourceSpan=G},"i"));D.Token=A;var x=function(H){Fr(I,H);var K=Sr(I);function I(G,ne,oe){var Oe;return ce(this,I),Oe=K.call(this,oe,G),Oe.tokenType=ne,Oe}return i(I,"o"),le(I)}(ir.ParseError);D.TokenError=x;var R=le(i(function H(K,I){ce(this,H),this.tokens=K,this.errors=I},"a"));D.TokenizeResult=R,D.tokenize=function(H,K,I){var G=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new X(new ir.ParseSourceFile(H,K),I,G).tokenize()};var $=/\r\n?/g;function Z(H){var K=H===m.$EOF?"EOF":String.fromCharCode(H);return'Unexpected character "'.concat(K,'"')}i(Z,"c");function fe(H){return'Unknown entity "'.concat(H,'" - use the "&#;" or "&#x;" syntax')}i(fe,"l");var he=le(i(function H(K){ce(this,H),this.error=K},"D")),X=function(){function H(K,I,G){ce(this,H),this._getTagContentType=I,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=G.tokenizeExpansionForms||!1,this._interpolationConfig=G.interpolationConfig||us.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=G.leadingTriviaChars&&G.leadingTriviaChars.map(function(oe){return oe.codePointAt(0)||0}),this._canSelfClose=G.canSelfClose||!1,this._allowHtmComponentClosingTags=G.allowHtmComponentClosingTags||!1;var ne=G.range||{endPos:K.content.length,startPos:0,startLine:0,startCol:0};this._cursor=G.escapedString?new we(K,ne):new ve(K,ne);try{this._cursor.init()}catch(oe){this.handleError(oe)}}return i(H,"p"),le(H,[{key:"_processCarriageReturns",value:i(function(I){return I.replace($,` `)},"_processCarriageReturns")},{key:"tokenize",value:i(function(){for(;this._cursor.peek()!==m.$EOF;){var I=this._cursor.clone();try{if(this._attemptCharCode(m.$LT))if(this._attemptCharCode(m.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(I):this._attemptStr("--")?this._consumeComment(I):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(I):this._consumeBogusComment(I);else if(this._attemptCharCode(m.$SLASH))this._consumeTagClose(I);else{var G=this._cursor.clone();this._attemptCharCode(m.$QUESTION)?(this._cursor=G,this._consumeBogusComment(I)):this._consumeTagOpen(I)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(ne){this.handleError(ne)}}return this._beginToken(v.EOF),this._endToken([]),new R(function(ne){for(var oe=[],Oe,$e=0;$e1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=G,this._currentTokenType=I},"_beginToken")},{key:"_endToken",value:i(function(I){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new x("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(G));if(this._currentTokenType===null)throw new x("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));var ne=new A(this._currentTokenType,I,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(ne),this._currentTokenStart=null,this._currentTokenType=null,ne},"_endToken")},{key:"_createError",value:i(function(I,G){this._isInExpansionForm()&&(I+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);var ne=new x(I,this._currentTokenType,G);return this._currentTokenStart=null,this._currentTokenType=null,new he(ne)},"_createError")},{key:"handleError",value:i(function(I){if(I instanceof ke&&(I=this._createError(I.msg,this._cursor.getSpan(I.cursor))),!(I instanceof he))throw I;this.errors.push(I.error)},"handleError")},{key:"_attemptCharCode",value:i(function(I){return this._cursor.peek()===I&&(this._cursor.advance(),!0)},"_attemptCharCode")},{key:"_attemptCharCodeCaseInsensitive",value:i(function(I){return G=this._cursor.peek(),ne=I,me(G)==me(ne)&&(this._cursor.advance(),!0);var G,ne},"_attemptCharCodeCaseInsensitive")},{key:"_requireCharCode",value:i(function(I){var G=this._cursor.clone();if(!this._attemptCharCode(I))throw this._createError(Z(this._cursor.peek()),this._cursor.getSpan(G))},"_requireCharCode")},{key:"_attemptStr",value:i(function(I){var G=I.length;if(this._cursor.charsLeft()")}),this._beginToken(v.COMMENT_END),this._requireStr("-->"),this._endToken([])},"_consumeComment")},{key:"_consumeBogusComment",value:i(function(I){var G=this;this._beginToken(v.COMMENT_START,I),this._endToken([]),this._consumeRawText(!1,function(){return G._cursor.peek()===m.$GT}),this._beginToken(v.COMMENT_END),this._cursor.advance(),this._endToken([])},"_consumeBogusComment")},{key:"_consumeCdata",value:i(function(I){var G=this;this._beginToken(v.CDATA_START,I),this._endToken([]),this._consumeRawText(!1,function(){return G._attemptStr("]]>")}),this._beginToken(v.CDATA_END),this._requireStr("]]>"),this._endToken([])},"_consumeCdata")},{key:"_consumeDocType",value:i(function(I){var G=this;this._beginToken(v.DOC_TYPE_START,I),this._endToken([]),this._consumeRawText(!1,function(){return G._cursor.peek()===m.$GT}),this._beginToken(v.DOC_TYPE_END),this._cursor.advance(),this._endToken([])},"_consumeDocType")},{key:"_consumePrefixAndName",value:i(function(){for(var I=this._cursor.clone(),G="";this._cursor.peek()!==m.$COLON&&!(((ne=this._cursor.peek())m.$9));)this._cursor.advance();var ne,oe;return this._cursor.peek()===m.$COLON?(G=this._cursor.getChars(I),this._cursor.advance(),oe=this._cursor.clone()):oe=I,this._requireCharCodeUntilFn(Y,G===""?0:1),[G,this._cursor.getChars(oe)]},"_consumePrefixAndName")},{key:"_consumeTagOpen",value:i(function(I){var G,ne,oe,Oe=this.tokens.length,$e=this._cursor.clone(),Je=[];try{if(!m.isAsciiLetter(this._cursor.peek()))throw this._createError(Z(this._cursor.peek()),this._cursor.getSpan(I));for(oe=this._consumeTagOpenStart(I),ne=oe.parts[0],G=oe.parts[1],this._attemptCharCodeUntilFn(U);this._cursor.peek()!==m.$SLASH&&this._cursor.peek()!==m.$GT;){var Tr=this._consumeAttributeName(),mr=Ne(Tr,2),Lr=mr[0],st=mr[1];if(this._attemptCharCodeUntilFn(U),this._attemptCharCode(m.$EQ)){this._attemptCharCodeUntilFn(U);var Pt=this._consumeAttributeValue();Je.push({prefix:Lr,name:st,value:Pt})}else Je.push({prefix:Lr,name:st});this._attemptCharCodeUntilFn(U)}this._consumeTagOpenEnd()}catch(yn){if(yn instanceof he)return this._cursor=$e,oe&&(this.tokens.length=Oe),this._beginToken(v.TEXT,I),void this._endToken(["<"]);throw yn}if(!(this._canSelfClose&&this.tokens[this.tokens.length-1].type===v.TAG_OPEN_END_VOID)){var ht=this._getTagContentType(G,ne,this._fullNameStack.length>0,Je);this._handleFullNameStackForTagOpen(ne,G),ht===yr.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(ne,G,!1):ht===yr.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(ne,G,!0)}},"_consumeTagOpen")},{key:"_consumeRawTextWithTagClose",value:i(function(I,G,ne){var oe=this;this._consumeRawText(ne,function(){return!!oe._attemptCharCode(m.$LT)&&!!oe._attemptCharCode(m.$SLASH)&&(oe._attemptCharCodeUntilFn(U),!!oe._attemptStrCaseInsensitive(I?"".concat(I,":").concat(G):G)&&(oe._attemptCharCodeUntilFn(U),oe._attemptCharCode(m.$GT)))}),this._beginToken(v.TAG_CLOSE),this._requireCharCodeUntilFn(function(Oe){return Oe===m.$GT},3),this._cursor.advance(),this._endToken([I,G]),this._handleFullNameStackForTagClose(I,G)},"_consumeRawTextWithTagClose")},{key:"_consumeTagOpenStart",value:i(function(I){this._beginToken(v.TAG_OPEN_START,I);var G=this._consumePrefixAndName();return this._endToken(G)},"_consumeTagOpenStart")},{key:"_consumeAttributeName",value:i(function(){var I=this._cursor.peek();if(I===m.$SQ||I===m.$DQ)throw this._createError(Z(I),this._cursor.getSpan());this._beginToken(v.ATTR_NAME);var G=this._consumePrefixAndName();return this._endToken(G),G},"_consumeAttributeName")},{key:"_consumeAttributeValue",value:i(function(){var I;if(this._cursor.peek()===m.$SQ||this._cursor.peek()===m.$DQ){this._beginToken(v.ATTR_QUOTE);var G=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(G)]),this._beginToken(v.ATTR_VALUE);for(var ne=[];this._cursor.peek()!==G;)ne.push(this._readChar(!0));I=this._processCarriageReturns(ne.join("")),this._endToken([I]),this._beginToken(v.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(G)])}else{this._beginToken(v.ATTR_VALUE);var oe=this._cursor.clone();this._requireCharCodeUntilFn(Y,1),I=this._processCarriageReturns(this._cursor.getChars(oe)),this._endToken([I])}return I},"_consumeAttributeValue")},{key:"_consumeTagOpenEnd",value:i(function(){var I=this._attemptCharCode(m.$SLASH)?v.TAG_OPEN_END_VOID:v.TAG_OPEN_END;this._beginToken(I),this._requireCharCode(m.$GT),this._endToken([])},"_consumeTagOpenEnd")},{key:"_consumeTagClose",value:i(function(I){if(this._beginToken(v.TAG_CLOSE,I),this._attemptCharCodeUntilFn(U),this._allowHtmComponentClosingTags&&this._attemptCharCode(m.$SLASH))this._attemptCharCodeUntilFn(U),this._requireCharCode(m.$GT),this._endToken([]);else{var G=this._consumePrefixAndName(),ne=Ne(G,2),oe=ne[0],Oe=ne[1];this._attemptCharCodeUntilFn(U),this._requireCharCode(m.$GT),this._endToken([oe,Oe]),this._handleFullNameStackForTagClose(oe,Oe)}},"_consumeTagClose")},{key:"_consumeExpansionFormStart",value:i(function(){this._beginToken(v.EXPANSION_FORM_START),this._requireCharCode(m.$LBRACE),this._endToken([]),this._expansionCaseStack.push(v.EXPANSION_FORM_START),this._beginToken(v.RAW_TEXT);var I=this._readUntil(m.$COMMA);this._endToken([I]),this._requireCharCode(m.$COMMA),this._attemptCharCodeUntilFn(U),this._beginToken(v.RAW_TEXT);var G=this._readUntil(m.$COMMA);this._endToken([G]),this._requireCharCode(m.$COMMA),this._attemptCharCodeUntilFn(U)},"_consumeExpansionFormStart")},{key:"_consumeExpansionCaseStart",value:i(function(){this._beginToken(v.EXPANSION_CASE_VALUE);var I=this._readUntil(m.$LBRACE).trim();this._endToken([I]),this._attemptCharCodeUntilFn(U),this._beginToken(v.EXPANSION_CASE_EXP_START),this._requireCharCode(m.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(U),this._expansionCaseStack.push(v.EXPANSION_CASE_EXP_START)},"_consumeExpansionCaseStart")},{key:"_consumeExpansionCaseEnd",value:i(function(){this._beginToken(v.EXPANSION_CASE_EXP_END),this._requireCharCode(m.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(U),this._expansionCaseStack.pop()},"_consumeExpansionCaseEnd")},{key:"_consumeExpansionFormEnd",value:i(function(){this._beginToken(v.EXPANSION_FORM_END),this._requireCharCode(m.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()},"_consumeExpansionFormEnd")},{key:"_consumeText",value:i(function(){var I=this._cursor.clone();this._beginToken(v.TEXT,I);var G=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(G.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(G.push(this._interpolationConfig.end),this._inInterpolation=!1):G.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(G.join(""))])},"_consumeText")},{key:"_isTextEnd",value:i(function(){return!!(this._cursor.peek()===m.$LT||this._cursor.peek()===m.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===m.$RBRACE&&this._isInExpansionCase()))},"_isTextEnd")},{key:"_readUntil",value:i(function(I){var G=this._cursor.clone();return this._attemptUntilChar(I),this._cursor.getChars(G)},"_readUntil")},{key:"_isInExpansionCase",value:i(function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===v.EXPANSION_CASE_EXP_START},"_isInExpansionCase")},{key:"_isInExpansionForm",value:i(function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===v.EXPANSION_FORM_START},"_isInExpansionForm")},{key:"isExpansionFormStart",value:i(function(){if(this._cursor.peek()!==m.$LBRACE)return!1;if(this._interpolationConfig){var I=this._cursor.clone(),G=this._attemptStr(this._interpolationConfig.start);return this._cursor=I,!G}return!0},"isExpansionFormStart")},{key:"_handleFullNameStackForTagOpen",value:i(function(I,G){var ne=yr.mergeNsAndName(I,G);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]!==ne||this._fullNameStack.push(ne)},"_handleFullNameStackForTagOpen")},{key:"_handleFullNameStackForTagClose",value:i(function(I,G){var ne=yr.mergeNsAndName(I,G);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===ne&&this._fullNameStack.pop()},"_handleFullNameStackForTagClose")}]),H}();function U(H){return!m.isWhitespace(H)||H===m.$EOF}i(U,"h");function Y(H){return m.isWhitespace(H)||H===m.$GT||H===m.$SLASH||H===m.$SQ||H===m.$DQ||H===m.$EQ}i(Y,"d");function Ce(H){return H==m.$SEMICOLON||H==m.$EOF||!m.isAsciiHexDigit(H)}i(Ce,"m");function re(H){return H==m.$SEMICOLON||H==m.$EOF||!m.isAsciiLetter(H)}i(re,"f");function me(H){return H>=m.$a&&H<=m.$z?H-m.$a+m.$A:H}i(me,"g");var ve=function(){function H(K,I){if(ce(this,H),K instanceof H)this.file=K.file,this.input=K.input,this.end=K.end,this.state=Object.assign({},K.state);else{if(!I)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=K,this.input=K.content,this.end=I.endPos,this.state={peek:-1,offset:I.startPos,line:I.startLine,column:I.startCol}}}return i(H,"E"),le(H,[{key:"clone",value:i(function(){return new H(this)},"clone")},{key:"peek",value:i(function(){return this.state.peek},"peek")},{key:"charsLeft",value:i(function(){return this.end-this.state.offset},"charsLeft")},{key:"diff",value:i(function(I){return this.state.offset-I.state.offset},"diff")},{key:"advance",value:i(function(){this.advanceState(this.state)},"advance")},{key:"init",value:i(function(){this.updatePeek(this.state)},"init")},{key:"getSpan",value:i(function(I,G){if(I=I||this,G)for(I=I.clone();this.diff(I)>0&&G.indexOf(I.peek())!==-1;)I.advance();return new ir.ParseSourceSpan(new ir.ParseLocation(I.file,I.state.offset,I.state.line,I.state.column),new ir.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))},"getSpan")},{key:"getChars",value:i(function(I){return this.input.substring(I.state.offset,this.state.offset)},"getChars")},{key:"charAt",value:i(function(I){return this.input.charCodeAt(I)},"charAt")},{key:"advanceState",value:i(function(I){if(I.offset>=this.end)throw this.state=I,new ke('Unexpected character "EOF"',this);var G=this.charAt(I.offset);G===m.$LF?(I.line++,I.column=0):m.isNewLine(G)||I.column++,I.offset++,this.updatePeek(I)},"advanceState")},{key:"updatePeek",value:i(function(I){I.peek=I.offset>=this.end?m.$EOF:this.charAt(I.offset)},"updatePeek")}]),H}(),we=function(H){Fr(I,H);var K=Sr(I);function I(G,ne){var oe;return ce(this,I),G instanceof I?(oe=K.call(this,G),oe.internalState=Object.assign({},G.internalState)):(oe=K.call(this,G,ne),oe.internalState=oe.state),qF(oe)}return i(I,"C"),le(I,[{key:"advance",value:i(function(){this.state=this.internalState,Ga(Nn(I.prototype),"advance",this).call(this),this.processEscapeSequence()},"advance")},{key:"init",value:i(function(){Ga(Nn(I.prototype),"init",this).call(this),this.processEscapeSequence()},"init")},{key:"clone",value:i(function(){return new I(this)},"clone")},{key:"getChars",value:i(function(ne){for(var oe=ne.clone(),Oe="";oe.internalState.offset3&&arguments[3]!==void 0?arguments[3]:!1,R=arguments.length>4?arguments[4]:void 0,$=i(function(ve){return function(we){for(var ke=arguments.length,H=new Array(ke>1?ke-1:0),K=1;K0)return this._errors=this._errors.concat(R.errors),null;var $=new ir.ParseSourceSpan(m.sourceSpan.start,x.sourceSpan.end),Z=new ir.ParseSourceSpan(v.sourceSpan.start,x.sourceSpan.end);return new wt.ExpansionCase(m.parts[0],R.rootNodes,$,m.sourceSpan,Z)},"_parseExpansionCase")},{key:"_collectExpansionExpTokens",value:i(function(m){for(var v=[],A=[We.TokenType.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==We.TokenType.EXPANSION_FORM_START&&this._peek.type!==We.TokenType.EXPANSION_CASE_EXP_START||A.push(this._peek.type),this._peek.type===We.TokenType.EXPANSION_CASE_EXP_END){if(!yi(A,We.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(Bt.create(null,m.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(A.pop(),A.length==0)return v}if(this._peek.type===We.TokenType.EXPANSION_FORM_END){if(!yi(A,We.TokenType.EXPANSION_FORM_START))return this._errors.push(Bt.create(null,m.sourceSpan,"Invalid ICU message. Missing '}'.")),null;A.pop()}if(this._peek.type===We.TokenType.EOF)return this._errors.push(Bt.create(null,m.sourceSpan,"Invalid ICU message. Missing '}'.")),null;v.push(this._advance())}},"_collectExpansionExpTokens")},{key:"_getText",value:i(function(m){var v=m.parts[0];if(v.length>0&&v[0]==` `){var A=this._getParentElement();A!=null&&A.children.length==0&&this.getTagDefinition(A.name).ignoreFirstLf&&(v=v.substring(1))}return v},"_getText")},{key:"_consumeText",value:i(function(m){var v=this._getText(m);v.length>0&&this._addToParent(new wt.Text(v,m.sourceSpan))},"_consumeText")},{key:"_closeVoidElement",value:i(function(){var m=this._getParentElement();m&&this.getTagDefinition(m.name).isVoid&&this._elementStack.pop()},"_closeVoidElement")},{key:"_consumeStartTag",value:i(function(m){for(var v=m.parts[0],A=m.parts[1],x=[];this._peek.type===We.TokenType.ATTR_NAME;)x.push(this._consumeAttr(this._advance()));var R=this._getElementFullName(v,A,this._getParentElement()),$=!1;if(this._peek.type===We.TokenType.TAG_OPEN_END_VOID){this._advance(),$=!0;var Z=this.getTagDefinition(R);this.canSelfClose||Z.canSelfClose||yr.getNsPrefix(R)!==null||Z.isVoid||this._errors.push(Bt.create(R,m.sourceSpan,'Only void and foreign elements can be self closed "'.concat(m.parts[1],'"')))}else this._peek.type===We.TokenType.TAG_OPEN_END&&(this._advance(),$=!1);var fe=this._peek.sourceSpan.start,he=new ir.ParseSourceSpan(m.sourceSpan.start,fe),X=new ir.ParseSourceSpan(m.sourceSpan.start.moveBy(1),m.sourceSpan.end),U=new wt.Element(R,x,[],he,he,void 0,X);this._pushElement(U),$&&(this._popElement(R),U.endSourceSpan=he)},"_consumeStartTag")},{key:"_pushElement",value:i(function(m){var v=this._getParentElement();v&&this.getTagDefinition(v.name).isClosedByChild(m.name)&&this._elementStack.pop(),this._addToParent(m),this._elementStack.push(m)},"_pushElement")},{key:"_consumeEndTag",value:i(function(m){var v=this.allowHtmComponentClosingTags&&m.parts.length===0?null:this._getElementFullName(m.parts[0],m.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=m.sourceSpan),v&&this.getTagDefinition(v).isVoid)this._errors.push(Bt.create(v,m.sourceSpan,'Void elements do not have end tags "'.concat(m.parts[1],'"')));else if(!this._popElement(v)){var A='Unexpected closing tag "'.concat(v,'". 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(Bt.create(v,m.sourceSpan,A))}},"_consumeEndTag")},{key:"_popElement",value:i(function(m){for(var v=this._elementStack.length-1;v>=0;v--){var A=this._elementStack[v];if(!m||(yr.getNsPrefix(A.name)?A.name==m:A.name.toLowerCase()==m.toLowerCase()))return this._elementStack.splice(v,this._elementStack.length-v),!0;if(!this.getTagDefinition(A.name).closedByParent)return!1}return!1},"_popElement")},{key:"_consumeAttr",value:i(function(m){var v=yr.mergeNsAndName(m.parts[0],m.parts[1]),A,x,R=m.sourceSpan.end,$="";if(this._peek.type===We.TokenType.ATTR_QUOTE&&(x=this._advance().sourceSpan.start),this._peek.type===We.TokenType.ATTR_VALUE){var Z=this._advance();$=Z.parts[0],R=Z.sourceSpan.end,A=Z.sourceSpan}return this._peek.type===We.TokenType.ATTR_QUOTE&&(R=this._advance().sourceSpan.end,A=new ir.ParseSourceSpan(x,R)),new wt.Attribute(v,$,new ir.ParseSourceSpan(m.sourceSpan.start,R),A,m.sourceSpan)},"_consumeAttr")},{key:"_getParentElement",value:i(function(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null},"_getParentElement")},{key:"_getParentElementSkippingContainers",value:i(function(){for(var m=null,v=this._elementStack.length-1;v>=0;v--){if(!yr.isNgContainer(this._elementStack[v].name))return{parent:this._elementStack[v],container:m};m=this._elementStack[v]}return{parent:null,container:m}},"_getParentElementSkippingContainers")},{key:"_addToParent",value:i(function(m){var v=this._getParentElement();v!=null?v.children.push(m):this._rootNodes.push(m)},"_addToParent")},{key:"_insertBeforeContainer",value:i(function(m,v,A){if(v){if(m){var x=m.children.indexOf(v);m.children[x]=A}else this._rootNodes.push(A);A.children.push(v),this._elementStack.splice(this._elementStack.indexOf(v),0,A)}else this._addToParent(A),this._elementStack.push(A)},"_insertBeforeContainer")},{key:"_getElementFullName",value:i(function(m,v,A){return m===""&&(m=this.getTagDefinition(v).implicitNamespacePrefix||"")===""&&A!=null&&(m=yr.getNsPrefix(A.name)),yr.mergeNsAndName(m,v)},"_getElementFullName")}]),C}();function yi(C,D){return C.length>0&&C[C.length-1]===D}i(yi,"Jr");var ol=Object.defineProperty({TreeError:ul,ParseTreeResult:al,Parser:il},"__esModule",{value:!0}),sl=ol,kt=sl.ParseTreeResult,ot=sl.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 Pf=function(C){Fr(m,C);var D=Sr(m);function m(){return ce(this,m),D.call(this,rn.getHtmlTagDefinition)}return i(m,"rn"),le(m,[{key:"parse",value:i(function(A,x,R){var $=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Z=arguments.length>4?arguments[4]:void 0;return Ga(Nn(m.prototype),"parse",this).call(this,A,x,R,$,Z)},"parse")}]),m}(ol.Parser),as=Pf,cl=Object.defineProperty({ParseTreeResult:kt,TreeError:ot,HtmlParser:as},"__esModule",{value:!0}),If=yr.TagContentType,Ei=null,Ci=i(function(D){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=m.canSelfClose,A=v===void 0?!1:v,x=m.allowHtmComponentClosingTags,R=x===void 0?!1:x,$=m.isTagNameCaseSensitive,Z=$===void 0?!1:$,fe=m.getTagContentType;return(Ei||(Ei=new cl.HtmlParser),Ei).parse(D,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:A,allowHtmComponentClosingTags:R},Z,fe)},"un"),is=Object.defineProperty({TagContentType:If,parse:Ci},"__esModule",{value:!0}),Ai=ir.ParseSourceSpan,os=ir.ParseLocation,ss=ir.ParseSourceFile,tn=Yu.inferParserByLanguage,_=J.HTML_ELEMENT_ATTRIBUTES,ll=J.HTML_TAGS,cs=J.isUnknownNamespace,ls=hu.hasPragma,ps=ea.Node,fs=Yc.parseIeConditionalComment,Nt=Kc.locStart,pl=Kc.locEnd;function Of(C,D,m){var v=D.recognizeSelfClosing,A=D.normalizeTagName,x=D.normalizeAttributeName,R=D.allowHtmComponentClosingTags,$=D.isTagNameCaseSensitive,Z=D.getTagContentType,fe=is,he=wt.RecursiveVisitor,X=wt.visitAll,U=ir.ParseSourceSpan,Y=rn.getHtmlTagDefinition,Ce=fe.parse(C,{canSelfClose:v,allowHtmComponentClosingTags:R,isTagNameCaseSensitive:$,getTagContentType:Z}),re=Ce.rootNodes,me=Ce.errors;if(m.parser==="vue")if(re.some(function(Mr){return Mr.type==="docType"&&Mr.value==="html"||Mr.type==="element"&&Mr.name.toLowerCase()==="html"})){v=!0,A=!0,x=!0,R=!0,$=!1;var ve=fe.parse(C,{canSelfClose:v,allowHtmComponentClosingTags:R,isTagNameCaseSensitive:$});re=ve.rootNodes,me=ve.errors}else{var we=i(function(vr){if(!vr||vr.type!=="element"||vr.name!=="template")return!1;var Er=vr.attrs.find(function($r){return $r.name==="lang"}),jr=Er&&Er.value;return!jr||tn(jr,m)==="html"},"_r27");if(re.some(we))for(var ke,H=i(function(){return fe.parse(C,{canSelfClose:v,allowHtmComponentClosingTags:R,isTagNameCaseSensitive:$})},"_o5"),K=i(function(){return ke||(ke=H())},"_a2"),I=i(function(vr){return K().rootNodes.find(function(Er){var jr=Er.startSourceSpan;return jr&&jr.start.offset===vr.startSourceSpan.start.offset})},"_c2"),G=0;G0){var ht=me[0],yn=ht.msg,mu=ht.span,vu=mu.start,Rr=mu.end;throw uu(yn,{start:{line:vu.line+1,column:vu.col+1},end:{line:Rr.line+1,column:Rr.col+1}})}var xr=i(function(vr){var Er=vr.name.startsWith(":")?vr.name.slice(1).split(":")[0]:null,jr=vr.nameSpan.toString(),$r=Er!==null&&jr.startsWith("".concat(Er,":")),Ve=$r?jr.slice(Er.length+1):jr;vr.name=Ve,vr.namespace=Er,vr.hasExplicitNamespace=$r},"m"),_e=i(function(vr,Er){var jr=vr.toLowerCase();return Er(jr)?jr:vr},"f");return X(new(function(Mr){Fr(Er,Mr);var vr=Sr(Er);function Er(){return ce(this,Er),vr.apply(this,arguments)}return i(Er,"_class10"),le(Er,[{key:"visit",value:i(function($r){(function(Ve){if(Ve.type==="element"){xr(Ve);var Dt=pe(Ve.attrs),Gn;try{for(Dt.s();!(Gn=Dt.n()).done;){var gt=Gn.value;xr(gt),gt.valueSpan?(gt.value=gt.valueSpan.toString(),/["']/.test(gt.value[0])&&(gt.value=gt.value.slice(1,-1))):gt.value=null}}catch(It){Dt.e(It)}finally{Dt.f()}}else Ve.type==="comment"?Ve.value=Ve.sourceSpan.toString().slice(4,-3):Ve.type==="text"&&(Ve.value=Ve.sourceSpan.toString())})($r),function(Ve){if(Ve.type==="element"){var Dt=Y($?Ve.name:Ve.name.toLowerCase());!Ve.namespace||Ve.namespace===Dt.implicitNamespacePrefix||cs(Ve)?Ve.tagDefinition=Dt:Ve.tagDefinition=Y("")}}($r),function(Ve){Ve.type==="element"&&(!A||Ve.namespace&&Ve.namespace!==Ve.tagDefinition.implicitNamespacePrefix&&!cs(Ve)||(Ve.name=_e(Ve.name,function(Dt){return Dt in ll})),x)&&function(){var Dt=_[Ve.name]||Object.create(null),Gn=pe(Ve.attrs),gt;try{for(Gn.s();!(gt=Gn.n()).done;){var It=gt.value;It.namespace||(It.name=_e(It.name,function(Hn){return Ve.name in _&&(Hn in _["*"]||Hn in Dt)}))}}catch(Hn){Gn.e(Hn)}finally{Gn.f()}}()}($r),function(Ve){Ve.sourceSpan&&Ve.endSourceSpan&&(Ve.sourceSpan=new U(Ve.sourceSpan.start,Ve.endSourceSpan.end))}($r)},"visit")}]),Er}(he)),re),re}i(Of,"Sn");function vn(C,D,m){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,A=v?Df(C):{frontMatter:null,content:C},x=A.frontMatter,R=A.content,$=new ss(C,D.filepath),Z=new os($,0,0,0),fe=Z.moveBy(C.length),he={type:"root",sourceSpan:new Ai(Z,fe),children:Of(R,m,D)};if(x){var X=new os($,0,0,0),U=X.moveBy(x.raw.length);x.sourceSpan=new Ai(X,U),he.children.unshift(x)}var Y=new ps(he),Ce=i(function(me,ve){var we=ve.offset,ke=vn(C.slice(0,we).replace(/[^\n\r]/g," ")+me,D,m,!1);ke.sourceSpan=new Ai(ve,To(ke.children).sourceSpan.end);var H=ke.children[0];return H.length===we?ke.children.shift():(H.sourceSpan=new Ai(H.sourceSpan.start.moveBy(we),H.sourceSpan.end),H.value=H.value.slice(we)),ke},"D");return Y.map(function(re){if(re.type==="comment"){var me=fs(re,Ce);if(me)return me}return re})}i(vn,"yn");function ta(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=C.recognizeSelfClosing,m=D===void 0?!1:D,v=C.normalizeTagName,A=v===void 0?!1:v,x=C.normalizeAttributeName,R=x===void 0?!1:x,$=C.allowHtmComponentClosingTags,Z=$===void 0?!1:$,fe=C.isTagNameCaseSensitive,he=fe===void 0?!1:fe,X=C.getTagContentType;return{parse:i(function(Y,Ce,re){return vn(Y,re,{recognizeSelfClosing:m,normalizeTagName:A,normalizeAttributeName:R,allowHtmComponentClosingTags:Z,isTagNameCaseSensitive:he,getTagContentType:X})},"parse"),hasPragma:ls,astFormat:"html",locStart:Nt,locEnd:pl}}return i(ta,"Fn"),{parsers:{html:ta({recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:ta(),vue:ta({recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:i(function(D,m,v,A){if(D.toLowerCase()!=="html"&&!v&&(D!=="template"||A.some(function(x){var R=x.name,$=x.value;return R==="lang"&&$!=="html"})))return is.TagContentType.RAW_TEXT},"getTagContentType")}),lwc:ta()}}})})(zF);var w$=Hb(zF.exports),XF={exports:{}};(function(k,P){(function(j,W){k.exports=W()})(go,function(){function j(r,e){if(r==null)return{};var t,n,u={},a=Object.keys(r);for(n=0;n=0||(u[t]=r[t]);return u}i(j,"e");function W(r,e){return e||(e=r.slice(0)),Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(e)}}))}i(W,"t");var te={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"}},Ee=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof go<"u"?go:typeof self<"u"?self:{};function Ue(r){return r&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}i(Ue,"o");function ge(r){var e={exports:{}};return r(e,e.exports),e.exports}i(ge,"i");var De=ge(function(r,e){function t(){}i(t,"n");function n(a,o,s,c,l){for(var p=0,f=o.length,d=0,h=0;pT.length?w:T}),g.value=a.join(E)}else g.value=a.join(s.slice(d,d+g.count));d+=g.count,g.added||(h+=g.count)}}var F=o[f-1];return f>1&&typeof F.value=="string"&&(F.added||F.removed)&&a.equals("",F.value)&&(o[f-2].value+=F.value,o.pop()),o}i(n,"r");function u(a){return{newPos:a.newPos,components:a.components.slice(0)}}i(u,"o"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:i(function(o,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=c.callback;typeof c=="function"&&(l=c,c={}),this.options=c;var p=this;function f(w){return l?(setTimeout(function(){l(void 0,w)},0),!0):w}i(f,"s"),o=this.castInput(o),s=this.castInput(s),o=this.removeEmpty(this.tokenize(o));var d=(s=this.removeEmpty(this.tokenize(s))).length,h=o.length,g=1,y=d+h,E=[{newPos:-1,components:[]}],F=this.extractCommon(E[0],s,o,0);if(E[0].newPos+1>=d&&F+1>=h)return f([{value:this.join(s),count:s.length}]);function T(){for(var w=-1*g;w<=g;w+=2){var B=void 0,b=E[w-1],N=E[w+1],L=(N?N.newPos:0)-w;b&&(E[w-1]=void 0);var q=b&&b.newPos+1=d&&L+1>=h)return f(n(p,B.components,s,o,p.useLongestToken));E[w]=B}else E[w]=void 0}g++}if(i(T,"h"),l)i(function w(){setTimeout(function(){if(g>y)return l();T()||w()},0)},"e")();else for(;g<=y;){var S=T();if(S)return S}},"diff"),pushComponent:i(function(o,s,c){var l=o[o.length-1];l&&l.added===s&&l.removed===c?o[o.length-1]={count:l.count+1,added:s,removed:c}:o.push({count:1,added:s,removed:c})},"pushComponent"),extractCommon:i(function(o,s,c,l){for(var p=s.length,f=c.length,d=o.newPos,h=d-l,g=0;d+11&&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=[],o=0;function s(){var p={};for(a.push(p);o2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string"&&(e=(0,Xt.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]/),o=r.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=e.hunks,c=t.compareLine||function(ae,Ae,se,ie){return Ae===ie},l=0,p=t.fuzzFactor||0,f=0,d=0;function h(ae,Ae){for(var se=0;se0?ie[0]:" ",Re=ie.length>0?ie.substr(1):ie;if(ye===" "||ye==="-"){if(!c(Ae+1,a[Ae],ye,Re)&&++l>p)return!1;Ae++}}return!0}i(h,"d");for(var g=0;g0?q[0]:" ",M=q.length>0?q.substr(1):q,V=b.linedelimiters[L];if(z===" ")N++;else if(z==="-")a.splice(N,1),o.splice(N,1);else if(z==="+")a.splice(N,0,M),o.splice(N,0,V),N++;else if(z==="\\"){var Q=b.lines[L-1]?b.lines[L-1][0]:null;Q==="+"?n=!0:Q==="-"&&(u=!0)}}}if(n)for(;!a[a.length-1];)a.pop(),o.pop();else u&&(a.push(""),o.push(` `));for(var ue=0;uer.length)&&(e=r.length);for(var t=0,n=new Array(e);t0?c(b.lines.slice(-o.context)):[],p-=d.length,f-=d.length)}(B=d).push.apply(B,nu(w.map(function(ue){return(S.added?"+":"-")+ue}))),S.added?g+=w.length:h+=w.length}else{if(p)if(w.length<=2*o.context&&T=s.length-2&&w.length<=o.context){var M=/\n$/.test(t),V=/\n$/.test(n),Q=w.length==0&&d.length>z.oldLines;!M&&Q&&t.length>0&&d.splice(z.oldLines,0,"\\ No newline at end of file"),(M||Q)&&V||d.push("\\ No newline at end of file")}l.push(z),p=0,f=0,d=[]}h+=w.length,g+=w.length}},"g"),E=0;Er.length)return!1;for(var t=0;tr.length)&&(e=r.length);for(var t=0,n=new Array(e);t"):u.removed&&t.push(""),t.push(Tc(u.value)),u.added?t.push(""):u.removed&&t.push("")}return t.join("")},"ae");function Tc(r){var e=r;return e=(e=(e=(e=e.replace(/&/g,"&")).replace(//g,">")).replace(/"/g,""")}i(Tc,"ce");var xc=Object.defineProperty({convertChangesToXML:gf},"__esModule",{value:!0}),Ln=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Diff",{enumerable:!0,get:i(function(){return t.default},"get")}),Object.defineProperty(e,"diffChars",{enumerable:!0,get:i(function(){return He.diffChars},"get")}),Object.defineProperty(e,"diffWords",{enumerable:!0,get:i(function(){return fn.diffWords},"get")}),Object.defineProperty(e,"diffWordsWithSpace",{enumerable:!0,get:i(function(){return fn.diffWordsWithSpace},"get")}),Object.defineProperty(e,"diffLines",{enumerable:!0,get:i(function(){return Ft.diffLines},"get")}),Object.defineProperty(e,"diffTrimmedLines",{enumerable:!0,get:i(function(){return Ft.diffTrimmedLines},"get")}),Object.defineProperty(e,"diffSentences",{enumerable:!0,get:i(function(){return zt.diffSentences},"get")}),Object.defineProperty(e,"diffCss",{enumerable:!0,get:i(function(){return sr.diffCss},"get")}),Object.defineProperty(e,"diffJson",{enumerable:!0,get:i(function(){return Ke.diffJson},"get")}),Object.defineProperty(e,"canonicalize",{enumerable:!0,get:i(function(){return Ke.canonicalize},"get")}),Object.defineProperty(e,"diffArrays",{enumerable:!0,get:i(function(){return hr.diffArrays},"get")}),Object.defineProperty(e,"applyPatch",{enumerable:!0,get:i(function(){return yc.applyPatch},"get")}),Object.defineProperty(e,"applyPatches",{enumerable:!0,get:i(function(){return yc.applyPatches},"get")}),Object.defineProperty(e,"parsePatch",{enumerable:!0,get:i(function(){return Xt.parsePatch},"get")}),Object.defineProperty(e,"merge",{enumerable:!0,get:i(function(){return Kt.merge},"get")}),Object.defineProperty(e,"structuredPatch",{enumerable:!0,get:i(function(){return za.structuredPatch},"get")}),Object.defineProperty(e,"createTwoFilesPatch",{enumerable:!0,get:i(function(){return za.createTwoFilesPatch},"get")}),Object.defineProperty(e,"createPatch",{enumerable:!0,get:i(function(){return za.createPatch},"get")}),Object.defineProperty(e,"convertChangesToDMP",{enumerable:!0,get:i(function(){return Ya.convertChangesToDMP},"get")}),Object.defineProperty(e,"convertChangesToXML",{enumerable:!0,get:i(function(){return xc.convertChangesToXML},"get")});var t=function(n){return n&&n.__esModule?n:{default:n}}(De)});function Ka(r){return{type:"concat",parts:r}}i(Ka,"fe");function wc(r){return{type:"indent",contents:r}}i(wc,"de");function ou(r,e){return{type:"align",contents:e,n:r}}i(ou,"he");function Bc(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}}i(Bc,"me");var Oo={type:"break-parent"},kc={type:"line",hard:!0},Nc={type:"line",hard:!0,literal:!0},su=Ka([kc,Oo]),mf=Ka([Nc,Oo]),Hu={concat:Ka,join:i(function(e,t){for(var n=[],u=0;u2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}},"ifBreak"),trim:{type:"trim"},indent:wc,indentIfBreak:i(function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},"indentIfBreak"),align:ou,addAlignmentToDoc:i(function(e,t,n){var u=e;if(t>0){for(var a=0;a0&&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},"ve"),cu=i(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)},"Ae"),Za=cu,Pc=cu;Za.default=Pc;var Ic=i(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=127&&u<=159||u>=768&&u<=879||(u>65535&&n++,t+=Za(u)?2:1)}return t},"Se"),Oc=Ic,Lc=Ic;Oc.default=Lc;var Lo=i(function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},"Be"),cr=i(function(e){return e[e.length-1]},"ke"),_a=i(function(e){for(var t=-1,n=e==null?0:e.length,u={};++t1)for(var n=1;n)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(u[a.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(u[a.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIER],")")+"(?:".concat(u[a.PRERELEASE],")?").concat(u[a.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[a.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(u[a.PRERELEASELOOSE],")?").concat(u[a.BUILD],"?")+")?)?"),s("XRANGE","^".concat(u[a.GTLT],"\\s*").concat(u[a.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(u[a.GTLT],"\\s*").concat(u[a.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(t,"})")+"(?:\\.(\\d{1,".concat(t,"}))?")+"(?:\\.(\\d{1,".concat(t,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",u[a.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(u[a.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",s("TILDE","^".concat(u[a.LONETILDE]).concat(u[a.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(u[a.LONETILDE]).concat(u[a.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(u[a.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",s("CARET","^".concat(u[a.LONECARET]).concat(u[a.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(u[a.LONECARET]).concat(u[a.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(u[a.GTLT],"\\s*(").concat(u[a.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(u[a.GTLT],"\\s*(").concat(u[a.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(u[a.GTLT],"\\s*(").concat(u[a.LOOSEPLAIN],"|").concat(u[a.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(u[a.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(u[a.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(u[a.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(u[a.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}),Af=["includePrerelease","loose","rtl"],bf=i(function(e){return e?Te(e)!="object"?{loose:!0}:Af.filter(function(t){return e[t]}).reduce(function(t,n){return t[n]=!0,t},{}):{}},"st"),pu=/^[0-9]+$/,jc=i(function(e,t){var n=pu.test(e),u=pu.test(t);return n&&u&&(e=+e,t=+t),e===t?0:n&&!u?-1:u&&!n?1:eWo)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=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},"inc")}]),r}(),Go=$c,ui=i(function(e,t,n){return new Go(e,n).compare(new Go(t,n))},"Dt"),Vc=i(function(e,t,n){return ui(e,t,n)<0},"Et"),Ho,zo,Xo,ai,Yu,qc,Ff=i(function(e,t,n){return ui(e,t,n)>=0},"St"),Jo=ge(function(r,e){function t(){for(var E=[],F=0;F0&&arguments[0]!==void 0?arguments[0]:{},t=e.plugins,n=t===void 0?[]:t,u=e.showUnreleased,a=u===void 0?!1:u,o=e.showDeprecated,s=o===void 0?!1:o,c=e.showInternal,l=c===void 0?!1:c,p=Uc.split("-",1)[0],f=n.reduce(function(y,E){return[].concat(ee(y),ee(E.languages||[]))},[]).filter(h),d=function(y,E){return Object.entries(y).map(function(F){var T=Ne(F,2),S=T[0],w=T[1];return Object.assign(_n({},E,S),w)})}(Object.assign.apply(Object,[{}].concat(ee(n.map(function(y){var E=y.options;return E})),[Wc])),"name").filter(function(y){return h(y)&&g(y)}).sort(function(y,E){return y.name===E.name?0:y.name=0&&o2&&arguments[2]!==void 0?arguments[2]:{},n=gn(r,t.backwards?e-1:e,t);return n!==qn(r,n,t)}i(du,"Xt");function Un(r,e){for(var t=null,n=e;n!==t;)t=n,n=Qo(r,n),n=ci(r,n),n=gn(r,n);return n=li(r,n),n=qn(r,n),n!==!1&&du(r,n)}i(Un,"Yt");function Ku(r,e){for(var t=null,n=e;n!==t;)t=n,n=gn(r,n),n=ci(r,n),n=li(r,n),n=qn(r,n);return n}i(Ku,"Kt");function pi(r,e,t){return Ku(r,t(e))}i(pi,"Qt");function zc(r,e){for(var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=0,u=t;u(t.match(o.regex)||[]).length?o.quote:a.quote),s}i(Qu,"en");function fi(r,e,t){var n=e==='"'?"'":'"',u=r.replace(/\\([\S\s])|(["'])/g,function(a,o,s){return o===n?o:s===e?"\\"+s:s||(t&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(o)?o:"\\"+o)});return e+u+e}i(fi,"tn");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&&(Te(t.id)=="object"?t.id.name:t.id)||t.key&&(Te(t.key)=="object"?t.key.name:t.key)||t.value&&(Te(t.value)=="object"?"":String(t.value))||t.operator||"");return u.length>20&&(u=u.slice(0,19)+"\u2026"),n+(u?" "+u:"")}(r)}i(Zu,"nn");var J={inferParserByLanguage:i(function(e,t){var n=Gc({plugins:t.plugins}),u=n.languages,a=u.find(function(o){var s=o.name;return s.toLowerCase()===e})||u.find(function(o){var s=o.aliases;return Array.isArray(s)&&s.includes(e)})||u.find(function(o){var s=o.extensions;return Array.isArray(s)&&s.includes(".".concat(e))});return a&&a.parsers[0]},"inferParserByLanguage"),replaceEndOfLineWith:i(function(e,t){var n=[],u=pe(e.split(` `)),a;try{for(u.s();!(a=u.n()).done;){var o=a.value;n.length>0&&n.push(t),n.push(o)}}catch(s){u.e(s)}finally{u.f()}return n},"replaceEndOfLineWith"),getStringWidth:i(function(e){return e?Vn.test(e)?Oc(e):e.length:0},"getStringWidth"),getMaxContinuousCount:i(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)},"getMaxContinuousCount"),getMinNotPresentContinuousCount:i(function(e,t){var n=e.match(new RegExp("(".concat(Lo(t),")+"),"g"));if(n===null)return 0;var u=new Map,a=0,o=pe(n),s;try{for(o.s();!(s=o.n()).done;){var c=s.value,l=c.length/t.length;u.set(l,!0),l>a&&(a=l)}}catch(f){o.e(f)}finally{o.f()}for(var p=1;p2&&arguments[2]!==void 0?arguments[2]:{};return gn(e,n.backwards?t-1:t,n)!==t},"hasSpaces"),getAlignmentSize:zc,getIndentSize:i(function(e,t){var n=e.lastIndexOf(` `);return n===-1?0:zc(e.slice(n+1).match(/^[\t ]*/)[0],t)},"getIndentSize"),getPreferredQuote:Qu,printString:i(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))},"printString"),printNumber:i(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|$)/,"")},"printNumber"),makeString:fi,addLeadingComment:i(function(e,t){t.leading=!0,t.trailing=!1,Zu(e,t)},"addLeadingComment"),addDanglingComment:i(function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),Zu(e,t)},"addDanglingComment"),addTrailingComment:i(function(e,t){t.leading=!1,t.trailing=!0,Zu(e,t)},"addTrailingComment"),isFrontMatterNode:i(function(e){return e&&e.type==="front-matter"},"isFrontMatterNode"),getShebang:i(function(e){if(!e.startsWith("#!"))return"";var t=e.indexOf(` `);return t===-1?e:e.slice(0,t)},"getShebang"),isNonEmptyArray:i(function(e){return Array.isArray(e)&&e.length>0},"isNonEmptyArray"),createGroupIdMapper:i(function(e){var t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}},"createGroupIdMapper")},hu={guessEndOfLine:i(function(e){var t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` `?"crlf":"cr":"lf"},"guessEndOfLine"),convertEndOfLineToChars:i(function(e){switch(e){case"cr":return"\r";case"crlf":return`\r `;default:return` `}},"convertEndOfLineToChars"),countEndOfLineChars:i(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},"countEndOfLineChars"),normalizeEndOfLine:i(function(e){return e.replace(/\r\n?/g,` `)},"normalizeEndOfLine")},Xc=Hu.literalline,mn=i(function(e){return Array.isArray(e)||e&&e.type==="concat"},"sn"),Du=i(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},"an"),Jc={};function _u(r,e,t,n){for(var u=[r];u.length>0;){var a=u.pop();if(a!==Jc){if(t&&u.push(a,Jc),!e||e(a)!==!1)if(mn(a)||a.type==="fill")for(var o=Du(a),s=o.length-1;s>=0;--s)u.push(o[s]);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 c=a.expandedStates.length-1;c>=0;--c)u.push(a.expandedStates[c]);else u.push(a.contents);else a.contents&&u.push(a.contents)}else t(u.pop())}}i(_u,"ln");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(o){if(Array.isArray(o))return e(o.map(n));if(o.type==="concat"||o.type==="fill"){var s=o.parts.map(n);return e(Object.assign({},o,{parts:s}))}if(o.type==="if-break"){var c=o.breakContents&&n(o.breakContents),l=o.flatContents&&n(o.flatContents);return e(Object.assign({},o,{breakContents:c,flatContents:l}))}if(o.type==="group"&&o.expandedStates){var p=o.expandedStates.map(n),f=p[0];return e(Object.assign({},o,{contents:f,expandedStates:p}))}if(o.contents){var d=n(o.contents);return e(Object.assign({},o,{contents:d}))}return e(o)}(u);return t.set(u,a),a}}i(ea,"pn");function di(r,e,t){var n=t,u=!1;return _u(r,function(a){var o=e(a);if(o!==void 0&&(u=!0,n=o),u)return!1}),n}i(di,"fn");function Tf(r){return!(r.type!=="group"||!r.break)||!(r.type!=="line"||!r.hard)||r.type==="break-parent"||void 0}i(Tf,"dn");function Yc(r){if(r.length>0){var e=cr(r);e.expandedStates||e.break||(e.break="propagated")}return null}i(Yc,"hn");function Kc(r){return r.type!=="line"||r.hard?r.type==="if-break"?r.flatContents||"":r:r.soft?"":" "}i(Kc,"mn");var yr=i(function(e,t){return e&&e.type==="line"&&e.hard&&t&&t.type==="break-parent"},"gn");function je(r){if(!r)return r;if(mn(r)||r.type==="fill"){for(var e=Du(r);e.length>1&&yr.apply(void 0,ee(e.slice(-2)));)e.length-=2;if(e.length>0){var t=je(cr(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=je(r.contents);return Object.assign({},r,{contents:n})}case"if-break":{var u=je(r.breakContents),a=je(r.flatContents);return Object.assign({},r,{breakContents:u,flatContents:a})}}return r}i(je,"yn");function Qc(r){return ea(r,function(e){return function(t){switch(t.type){case"fill":if(t.parts.length===0||t.parts.every(function(f){return f===""}))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(!mn(t))return t;var n=[],u=pe(Du(t)),a;try{for(u.s();!(a=u.n()).done;){var o=a.value;if(!!o){var s=mn(o)?Du(o):[o],c=wb(s),l=c[0],p=c.slice(1);typeof l=="string"&&typeof cr(n)=="string"?n[n.length-1]+=l:n.push(l),n.push.apply(n,ee(p))}}}catch(f){u.e(f)}finally{u.f()}return n.length===0?"":n.length===1?n[0]:Array.isArray(t)?n:Object.assign({},t,{parts:n})}(e)})}i(Qc,"Dn");function hi(r){for(var e=[],t=r.filter(Boolean);t.length>0;){var n=t.shift();n&&(mn(n)?t.unshift.apply(t,ee(Du(n))):e.length>0&&typeof cr(e)=="string"&&typeof n=="string"?e[e.length-1]+=n:e.push(n))}return e}i(hi,"En");var Wn={isConcat:mn,getDocParts:Du,willBreak:i(function(e){return di(e,Tf,!1)},"willBreak"),traverseDoc:_u,findInDoc:di,mapDoc:ea,propagateBreaks:i(function(e){var t=new Set,n=[];_u(e,function(u){if(u.type==="break-parent"&&Yc(n),u.type==="group"){if(n.push(u),t.has(u))return!1;t.add(u)}},function(u){u.type==="group"&&n.pop().break&&Yc(n)},!0)},"propagateBreaks"),removeLines:i(function(e){return ea(e,Kc)},"removeLines"),stripTrailingHardline:i(function(e){return je(Qc(e))},"stripTrailingHardline"),normalizeParts:hi,normalizeDoc:i(function(e){return ea(e,function(t){return Array.isArray(t)?hi(t):t.parts?Object.assign({},t,{parts:hi(t.parts)}):t})},"normalizeDoc"),cleanDoc:Qc,replaceNewlinesWithLiterallines:i(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:Xc}):t})},"replaceNewlinesWithLiterallines")},Zc=J.getStringWidth,rn=J.getLast,xf=hu.convertEndOfLineToChars,wf=Hu.fill,_o=Hu.cursor,Di=Hu.indent,_c=Wn.isConcat,el=Wn.getDocParts,ra;function es(r,e){return rs(r,{type:"indent"},e)}i(es,"kn");function rl(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}i(rl,"Nn");function rs(r,e,t){var n=e.type==="dedent"?r.queue.slice(0,-1):[].concat(ee(r.queue),[e]),u="",a=0,o=0,s=0,c=pe(n),l;try{for(c.s();!(l=c.n()).done;){var p=l.value;switch(p.type){case"indent":h(),t.useTabs?f(1):d(t.tabWidth);break;case"stringAlign":h(),u+=p.n,a+=p.n.length;break;case"numberAlign":o+=1,s+=p.n;break;default:throw new Error("Unexpected type '".concat(p.type,"'"))}}}catch(E){c.e(E)}finally{c.f()}return g(),Object.assign({},r,{value:u,length:a,queue:n});function f(E){u+=" ".repeat(E),a+=t.tabWidth*E}function d(E){u+=" ".repeat(E),a+=E}function h(){t.useTabs?function(){o>0&&f(o),y()}():g()}function g(){s>0&&d(s),y()}function y(){o=0,s=0}}i(rs,"Pn");function ts(r){if(r.length===0)return 0;for(var e=0;r.length>0&&typeof rn(r)=="string"&&/^[\t ]*$/.test(rn(r));)e+=r.pop().length;if(r.length>0&&typeof rn(r)=="string"){var t=rn(r).replace(/[\t ]*$/,"");e+=rn(r).length-t.length,r[r.length-1]=t}return e}i(ts,"On");function gu(r,e,t,n,u,a){for(var o=e.length,s=[r],c=[];t>=0;){if(s.length===0){if(o===0)return!0;s.push(e[o-1]),o--;continue}var l=s.pop(),p=Ne(l,3),f=p[0],d=p[1],h=p[2];if(typeof h=="string")c.push(h),t-=Zc(h);else if(_c(h))for(var g=el(h),y=g.length-1;y>=0;y--)s.push([f,d,g[y]]);else switch(h.type){case"indent":s.push([es(f,n),d,h.contents]);break;case"align":s.push([rl(f,h.n,n),d,h.contents]);break;case"trim":t+=ts(c);break;case"group":{if(a&&h.break)return!1;var E=h.break?1:d;s.push([f,E,h.expandedStates&&E===1?rn(h.expandedStates):h.contents]),h.id&&(ra[h.id]=E);break}case"fill":for(var F=h.parts.length-1;F>=0;F--)s.push([f,d,h.parts[F]]);break;case"if-break":case"indent-if-break":{var T=h.groupId?ra[h.groupId]:d;if(T===1){var S=h.type==="if-break"?h.breakContents:h.negate?h.contents:Di(h.contents);S&&s.push([f,d,S])}if(T===2){var w=h.type==="if-break"?h.flatContents:h.negate?Di(h.contents):h.contents;w&&s.push([f,d,w])}break}case"line":switch(d){case 2:if(!h.hard){h.soft||(c.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":s.push([f,d,h.contents])}}return!1}i(gu,"In");var Bf={printDocToString:i(function(e,t){ra={};for(var n=t.printWidth,u=xf(t.endOfLine),a=0,o=[[{value:"",length:0,queue:[]},1,e]],s=[],c=!1,l=[];o.length>0;){var p=o.pop(),f=Ne(p,3),d=f[0],h=f[1],g=f[2];if(typeof g=="string"){var y=u!==` `?g.replace(/\n/g,u):g;s.push(y),a+=Zc(y)}else if(_c(g))for(var E=el(g),F=E.length-1;F>=0;F--)o.push([d,h,E[F]]);else switch(g.type){case"cursor":s.push(_o.placeholder);break;case"indent":o.push([es(d,t),h,g.contents]);break;case"align":o.push([rl(d,g.n,t),h,g.contents]);break;case"trim":a-=ts(s);break;case"group":switch(h){case 2:if(!c){o.push([d,g.break?1:2,g.contents]);break}case 1:{c=!1;var T=[d,2,g.contents],S=n-a,w=l.length>0;if(!g.break&&gu(T,o,S,t,w))o.push(T);else if(g.expandedStates){var B=rn(g.expandedStates);if(g.break){o.push([d,1,B]);break}for(var b=1;b=g.expandedStates.length){o.push([d,1,B]);break}{var N=[d,2,g.expandedStates[b]];if(gu(N,o,S,t,w)){o.push(N);break}}}}else o.push([d,1,g.contents]);break}}g.id&&(ra[g.id]=rn(o)[1]);break;case"fill":{var L=n-a,q=g.parts;if(q.length===0)break;var z=Ne(q,2),M=z[0],V=z[1],Q=[d,2,M],ue=[d,1,M],ae=gu(Q,[],L,t,l.length>0,!0);if(q.length===1){ae?o.push(Q):o.push(ue);break}var Ae=[d,2,V],se=[d,1,V];if(q.length===2){ae?o.push(Ae,Q):o.push(se,ue);break}q.splice(0,2);var ie=[d,h,wf(q)];gu([d,2,[M,V,q[0]]],[],L,t,l.length>0,!0)?o.push(ie,Ae,Q):ae?o.push(ie,se,Q):o.push(ie,se,ue);break}case"if-break":case"indent-if-break":{var ye=g.groupId?ra[g.groupId]:h;if(ye===1){var Re=g.type==="if-break"?g.breakContents:g.negate?g.contents:Di(g.contents);Re&&o.push([d,h,Re])}if(ye===2){var xe=g.type==="if-break"?g.flatContents:g.negate?Di(g.contents):g.contents;xe&&o.push([d,h,xe])}break}case"line-suffix":l.push([d,h,g.contents]);break;case"line-suffix-boundary":l.length>0&&o.push([d,h,{type:"line",hard:!0}]);break;case"line":switch(h){case 2:if(!g.hard){g.soft||(s.push(" "),a+=1);break}c=!0;case 1:if(l.length>0){o.push.apply(o,[[d,h,g]].concat(ee(l.reverse()))),l=[];break}g.literal?d.root?(s.push(u,d.root.value),a=d.root.length):(s.push(u),a=0):(a-=ts(s),s.push(u+d.value),a=d.length)}break;case"label":o.push([d,h,g.contents])}o.length===0&&l.length>0&&(o.push.apply(o,ee(l.reverse())),l=[])}var Pe=s.indexOf(_o.placeholder);if(Pe!==-1){var Le=s.indexOf(_o.placeholder,Pe+1),Ge=s.slice(0,Pe).join(""),Me=s.slice(Pe+1,Le).join("");return{formatted:Ge+Me+s.slice(Le+1).join(""),cursorNodeStart:Ge.length,cursorNodeText:Me}}return{formatted:s.join("")}},"printDocToString")},gi=Wn.isConcat,tl=Wn.getDocParts;function xt(r){if(!r)return"";if(gi(r)){var e=[],t=pe(tl(r)),n;try{for(t.s();!(n=t.n()).done;){var u=n.value;if(gi(u))e.push.apply(e,ee(xt(u).parts));else{var a=xt(u);a!==""&&e.push(a)}}}catch(o){t.e(o)}finally{t.f()}return{type:"concat",parts:e}}return r.type==="if-break"?Object.assign({},r,{breakContents:xt(r.breakContents),flatContents:xt(r.flatContents)}):r.type==="group"?Object.assign({},r,{contents:xt(r.contents),expandedStates:r.expandedStates&&r.expandedStates.map(xt)}):r.type==="fill"?{type:"fill",parts:r.parts.map(xt)}:r.contents?Object.assign({},r,{contents:xt(r.contents)}):r}i(xt,"Mn");var de={builders:Hu,printer:Bf,utils:Wn,debug:{printDocToDebug:i(function(e){var t=Object.create(null),n=new Set;return i(function a(o,s,c){if(typeof o=="string")return JSON.stringify(o);if(gi(o)){var l=tl(o).map(a).filter(Boolean);return l.length===1?l[0]:"[".concat(l.join(", "),"]")}if(o.type==="line"){var p=Array.isArray(c)&&c[s+1]&&c[s+1].type==="break-parent";return o.literal?p?"literalline":"literallineWithoutBreakParent":o.hard?p?"hardline":"hardlineWithoutBreakParent":o.soft?"softline":"line"}if(o.type==="break-parent")return Array.isArray(c)&&c[s-1]&&c[s-1].type==="line"&&c[s-1].hard?void 0:"breakParent";if(o.type==="trim")return"trim";if(o.type==="indent")return"indent("+a(o.contents)+")";if(o.type==="align")return o.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+a(o.contents)+")":o.n<0?"dedent("+a(o.contents)+")":o.n.type==="root"?"markAsRoot("+a(o.contents)+")":"align("+JSON.stringify(o.n)+", "+a(o.contents)+")";if(o.type==="if-break")return"ifBreak("+a(o.breakContents)+(o.flatContents?", "+a(o.flatContents):"")+(o.groupId?(o.flatContents?"":', ""')+", { groupId: ".concat(u(o.groupId)," }"):"")+")";if(o.type==="indent-if-break"){var f=[];o.negate&&f.push("negate: true"),o.groupId&&f.push("groupId: ".concat(u(o.groupId)));var d=f.length>0?", { ".concat(f.join(", ")," }"):"";return"indentIfBreak(".concat(a(o.contents)).concat(d,")")}if(o.type==="group"){var h=[];o.break&&o.break!=="propagated"&&h.push("shouldBreak: true"),o.id&&h.push("id: ".concat(u(o.id)));var g=h.length>0?", { ".concat(h.join(", ")," }"):"";return o.expandedStates?"conditionalGroup([".concat(o.expandedStates.map(function(y){return a(y)}).join(","),"]").concat(g,")"):"group(".concat(a(o.contents)).concat(g,")")}if(o.type==="fill")return"fill([".concat(o.parts.map(function(y){return a(y)}).join(", "),"])");if(o.type==="line-suffix")return"lineSuffix("+a(o.contents)+")";if(o.type==="line-suffix-boundary")return"lineSuffixBoundary";if(o.type==="label")return"label(".concat(JSON.stringify(o.label),", ").concat(a(o.contents),")");throw new Error("Unknown doc type "+o.type)},"e")(xt(e));function u(a){if(Te(a)!="symbol")return JSON.stringify(String(a));if(a in t)return t[a];for(var o=String(a).slice(7,-1)||"symbol",s=0;;s++){var c=o+(s>0?" #".concat(s):"");if(!n.has(c))return n.add(c),t[a]="Symbol.for(".concat(JSON.stringify(c),")")}}},"printDocToDebug")}},wt=Object.freeze({__proto__:null,default:{}});function nl(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}i(nl,"$n");var kf=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ns=i(function(e){return kf.exec(e).slice(1)},"Wn");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=nl(yi(r.split("/"),function(u){return!!u}),!e).join("/"))||"."}i(mi,"Un");function us(r){var e=We(r),t=ol(r,-1)==="/";return(r=nl(yi(r.split("/"),function(n){return!!n}),!e).join("/"))||e||(r="."),r&&t&&(r+="/"),(e?"/":"")+r}i(us,"zn");function We(r){return r.charAt(0)==="/"}i(We,"Hn");function Bt(){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("/"))}i(Bt,"Gn");function ul(r,e){function t(l){for(var p=0;p=0&&l[f]==="";f--);return p>f?[]:l.slice(p,f-p+1)}i(t,"n"),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),o=a,s=0;s>18&63]+kt[u>>12&63]+kt[u>>6&63]+kt[63&u]);return a.join("")}i(If,"sr");function Ei(r){var e;as||cl();for(var t=r.length,n=t%3,u="",a=[],o=16383,s=0,c=t-n;sc?c:s+o));return n===1?(e=r[t-1],u+=kt[e>>2],u+=kt[e<<4&63],u+="=="):n===2&&(e=(r[t-2]<<8)+r[t-1],u+=kt[e>>10],u+=kt[e>>4&63],u+=kt[e<<2&63],u+="="),a.push(u),a.join("")}i(Ei,"ar");function Ci(r,e,t,n,u){var a,o,s=8*u-n-1,c=(1<>1,p=-7,f=t?u-1:0,d=t?-1:1,h=r[e+f];for(f+=d,a=h&(1<<-p)-1,h>>=-p,p+=s;p>0;a=256*a+r[e+f],f+=d,p-=8);for(o=a&(1<<-p)-1,a>>=-p,p+=n;p>0;o=256*o+r[e+f],f+=d,p-=8);if(a===0)a=1-l;else{if(a===c)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,n),a-=l}return(h?-1:1)*o*Math.pow(2,a-n)}i(Ci,"cr");function is(r,e,t,n,u,a){var o,s,c,l=8*a-u-1,p=(1<>1,d=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:a-1,g=n?1:-1,y=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=p):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),(e+=o+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(o++,c/=2),o+f>=p?(s=0,o=p):o+f>=1?(s=(e*c-1)*Math.pow(2,u),o+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,u),o=0));u>=8;r[t+h]=255&s,h+=g,s/=256,u-=8);for(o=o<0;r[t+h]=255&o,h+=g,o/=256,l-=8);r[t+h-g]|=128*y}i(is,"lr");var Ai={}.toString,os=Array.isArray||function(r){return Ai.call(r)=="[object Array]"};function ss(){return _.TYPED_ARRAY_SUPPORT?2147483647:1073741823}i(ss,"dr");function tn(r,e){if(ss()=ss())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ss().toString(16)+" bytes");return 0|r}i(fs,"br");function Nt(r){return!(r==null||!r._isBuffer)}i(Nt,"Cr");function pl(r,e){if(Nt(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 G(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return ne(r).length;default:if(n)return G(r).length;e=(""+e).toLowerCase(),n=!0}}i(pl,"vr");function Of(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 U(this,e,t);case"utf8":case"utf-8":return Z(this,e,t);case"ascii":return he(this,e,t);case"latin1":case"binary":return X(this,e,t);case"base64":return $(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}i(Of,"Ar");function vn(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}i(vn,"Fr");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=_.from(e,n)),Nt(e))return e.length===0?-1:C(r,e,t,n,u);if(typeof e=="number")return e&=255,_.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?u?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):C(r,[e],t,n,u);throw new TypeError("val must be string, number or Buffer")}i(ta,"xr");function C(r,e,t,n,u){var a,o=1,s=r.length,c=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;o=2,s/=2,c/=2,t/=2}function l(h,g){return o===1?h[g]:h.readUInt16BE(g*o)}if(i(l,"c"),u){var p=-1;for(a=t;as&&(t=s-c),a=t;a>=0;a--){for(var f=!0,d=0;du&&(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 o=0;o>8,c=o%256,l.push(c),l.push(s);return l}(e,r.length-t),r,t,n)}i(R,"Pr");function $(r,e,t){return e===0&&t===r.length?Ei(r):Ei(r.slice(e,t))}i($,"Or");function Z(r,e,t){t=Math.min(r.length,t);for(var n=[],u=e;u239?4:l>223?3:l>191?2:1;if(u+f<=t)switch(f){case 1:l<128&&(p=l);break;case 2:(192&(a=r[u+1]))==128&&(c=(31&l)<<6|63&a)>127&&(p=c);break;case 3:a=r[u+1],o=r[u+2],(192&a)==128&&(192&o)==128&&(c=(15&l)<<12|(63&a)<<6|63&o)>2047&&(c<55296||c>57343)&&(p=c);break;case 4:a=r[u+1],o=r[u+2],s=r[u+3],(192&a)==128&&(192&o)==128&&(192&s)==128&&(c=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&c<1114112&&(p=c)}p===null?(p=65533,f=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|1023&p),n.push(p),u+=f}return function(d){var h=d.length;if(h<=fe)return String.fromCharCode.apply(String,d);for(var g="",y=0;y0&&(r=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(r+=" ... ")),""},_.prototype.compare=function(r,e,t,n,u){if(!Nt(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),o=(t>>>=0)-(e>>>=0),s=Math.min(a,o),c=this.slice(n,u),l=r.slice(e,t),p=0;pu)&&(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 D(this,r,e,t);case"utf8":case"utf-8":return m(this,r,e,t);case"ascii":return v(this,r,e,t);case"latin1":case"binary":return A(this,r,e,t);case"base64":return x(this,r,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,r,e,t);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var fe=4096;function he(r,e,t){var n="";t=Math.min(r.length,t);for(var u=e;un)&&(t=n);for(var u="",a=e;at)throw new RangeError("Trying to access beyond buffer length")}i(Ce,"Vr");function re(r,e,t,n,u,a){if(!Nt(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>u||er.length)throw new RangeError("Index out of range")}i(re,"$r");function me(r,e,t,n){e<0&&(e=65535+e+1);for(var u=0,a=Math.min(r.length-t,2);u>>8*(n?u:1-u)}i(me,"qr");function ve(r,e,t,n){e<0&&(e=4294967295+e+1);for(var u=0,a=Math.min(r.length-t,4);u>>8*(n?u:3-u)&255}i(ve,"Wr");function we(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")}i(we,"Ur");function ke(r,e,t,n,u){return u||we(r,0,t,4),is(r,e,t,n,23,4),t+4}i(ke,"zr");function H(r,e,t,n,u){return u||we(r,0,t,8),is(r,e,t,n,52,8),t+8}i(H,"Hr"),_.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),e0&&(u*=256);)n+=this[r+--e]*u;return n},_.prototype.readUInt8=function(r,e){return e||Ce(r,1,this.length),this[r]},_.prototype.readUInt16LE=function(r,e){return e||Ce(r,2,this.length),this[r]|this[r+1]<<8},_.prototype.readUInt16BE=function(r,e){return e||Ce(r,2,this.length),this[r]<<8|this[r+1]},_.prototype.readUInt32LE=function(r,e){return e||Ce(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+16777216*this[r+3]},_.prototype.readUInt32BE=function(r,e){return e||Ce(r,4,this.length),16777216*this[r]+(this[r+1]<<16|this[r+2]<<8|this[r+3])},_.prototype.readIntLE=function(r,e,t){r|=0,e|=0,t||Ce(r,e,this.length);for(var n=this[r],u=1,a=0;++a=(u*=128)&&(n-=Math.pow(2,8*e)),n},_.prototype.readIntBE=function(r,e,t){r|=0,e|=0,t||Ce(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},_.prototype.readInt8=function(r,e){return e||Ce(r,1,this.length),128&this[r]?-1*(255-this[r]+1):this[r]},_.prototype.readInt16LE=function(r,e){e||Ce(r,2,this.length);var t=this[r]|this[r+1]<<8;return 32768&t?4294901760|t:t},_.prototype.readInt16BE=function(r,e){e||Ce(r,2,this.length);var t=this[r+1]|this[r]<<8;return 32768&t?4294901760|t:t},_.prototype.readInt32LE=function(r,e){return e||Ce(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},_.prototype.readInt32BE=function(r,e){return e||Ce(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},_.prototype.readFloatLE=function(r,e){return e||Ce(r,4,this.length),Ci(this,r,!0,23,4)},_.prototype.readFloatBE=function(r,e){return e||Ce(r,4,this.length),Ci(this,r,!1,23,4)},_.prototype.readDoubleLE=function(r,e){return e||Ce(r,8,this.length),Ci(this,r,!0,52,8)},_.prototype.readDoubleBE=function(r,e){return e||Ce(r,8,this.length),Ci(this,r,!1,52,8)},_.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=0&&(a*=256);)this[e+u]=r/a&255;return e+t},_.prototype.writeUInt8=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,1,255,0),_.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),this[e]=255&r,e+1},_.prototype.writeUInt16LE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,2,65535,0),_.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8):me(this,r,e,!0),e+2},_.prototype.writeUInt16BE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,2,65535,0),_.TYPED_ARRAY_SUPPORT?(this[e]=r>>>8,this[e+1]=255&r):me(this,r,e,!1),e+2},_.prototype.writeUInt32LE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,4,4294967295,0),_.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},_.prototype.writeUInt32BE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,4,4294967295,0),_.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},_.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,o=1,s=0;for(this[e]=255&r;++a>0)-s&255;return e+t},_.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,o=1,s=0;for(this[e+a]=255&r;--a>=0&&(o*=256);)r<0&&s===0&&this[e+a+1]!==0&&(s=1),this[e+a]=(r/o>>0)-s&255;return e+t},_.prototype.writeInt8=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,1,127,-128),_.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),r<0&&(r=255+r+1),this[e]=255&r,e+1},_.prototype.writeInt16LE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,2,32767,-32768),_.TYPED_ARRAY_SUPPORT?(this[e]=255&r,this[e+1]=r>>>8):me(this,r,e,!0),e+2},_.prototype.writeInt16BE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,2,32767,-32768),_.TYPED_ARRAY_SUPPORT?(this[e]=r>>>8,this[e+1]=255&r):me(this,r,e,!1),e+2},_.prototype.writeInt32LE=function(r,e,t){return r=+r,e|=0,t||re(this,r,e,4,2147483647,-2147483648),_.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},_.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),_.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},_.prototype.writeFloatLE=function(r,e,t){return ke(this,r,e,!0,t)},_.prototype.writeFloatBE=function(r,e,t){return ke(this,r,e,!1,t)},_.prototype.writeDoubleLE=function(r,e,t){return H(this,r,e,!0,t)},_.prototype.writeDoubleBE=function(r,e,t){return H(this,r,e,!1,t)},_.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=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=0;--u)r[u+e]=this[u+t];else if(a<1e3||!_.TYPED_ARRAY_SUPPORT)for(u=0;u>>=0,t=t===void 0?this.length:t>>>0,r||(r=0),typeof r=="number")for(a=e;a55295&&t<57344){if(!u){if(t>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+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}i(G,"Xr");function ne(r){return function(e){var t,n,u,a,o,s;as||cl();var c=e.length;if(c%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o=e[c-2]==="="?2:e[c-1]==="="?1:0,s=new Pf(3*c/4-o),u=o>0?c-4:c;var l=0;for(t=0,n=0;t>16&255,s[l++]=a>>8&255,s[l++]=255&a;return o===2?(a=ot[e.charCodeAt(t)]<<2|ot[e.charCodeAt(t+1)]>>4,s[l++]=255&a):o===1&&(a=ot[e.charCodeAt(t)]<<10|ot[e.charCodeAt(t+1)]<<4|ot[e.charCodeAt(t+2)]>>2,s[l++]=a>>8&255,s[l++]=255&a),s}(function(e){if((e=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(e).replace(K,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(r))}i(ne,"Yr");function oe(r,e,t,n){for(var u=0;u=e.length||u>=r.length);++u)e[u+t]=r[u];return u}i(oe,"Kr");function Oe(r){return r!=null&&(!!r._isBuffer||$e(r)||function(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&$e(e.slice(0,0))}(r))}i(Oe,"Qr");function $e(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}i($e,"Zr");var Je=Ue(wt),Tr=function(){function r(e,t){ce(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:Je.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}return i(r,"to"),le(r,[{key:"_searchInBuffer",value:i(function(t,n){for(var u=-1,a=0;a<=t.length;a++)if(t[a]===n){u=a;break}return u},"_searchInBuffer")},{key:"reset",value:i(function(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0},"reset")},{key:"close",value:i(function(){Je.closeSync(this.fd),this.fd=null},"close")},{key:"_extractLines",value:i(function(t){for(var n,u=[],a=0,o=0;;){var s=t[a++];if(s===this.newLineCharacter)n=t.slice(o,a),u.push(n),o=a;else if(s===void 0)break}var c=t.slice(o,a);return c.length&&u.push(c),u},"_extractLines")},{key:"_readChunk",value:i(function(t){var n,u=0,a=[];do{var o=new _(this.options.readChunk);n=Je.readSync(this.fd,o,0,this.options.readChunk,this.fdPosition),u+=n,this.fdPosition=this.fdPosition+n,a.push(o)}while(n&&this._searchInBuffer(a[a.length-1],this.options.newLineCharacter)===-1);var s=_.concat(a);return n=r.length&&(r=void 0),{value:r&&r[n++],done:!r}},"next")};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}i(vu,"co");function Rr(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var n,u,a=t.call(r),o=[];try{for(;(e===void 0||e-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(s){u={error:s}}finally{try{n&&!n.done&&(t=a.return)&&t.call(a)}finally{if(u)throw u.error}}return o}i(Rr,"lo");function xr(r){return this instanceof xr?(this.v=r,this):new xr(r)}i(xr,"po");var _e=Object.freeze({__proto__:null,__extends:i(function(e,t){function n(){this.constructor=e}i(n,"n"),yn(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)},"__extends"),get __assign(){return mu},__rest:i(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"?"undefined":Te(Reflect))=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,n,u);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(s=(o<3?a(s):o>3?a(t,n,s):a(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},"__decorate"),__param:i(function(e,t){return function(n,u){t(n,u,e)}},"__param"),__metadata:i(function(e,t){if((typeof Reflect>"u"?"undefined":Te(Reflect))=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)},"__metadata"),__awaiter:i(function(e,t,n,u){return new(n||(n=Promise))(function(a,o){function s(p){try{l(u.next(p))}catch(f){o(f)}}i(s,"u");function c(p){try{l(u.throw(p))}catch(f){o(f)}}i(c,"s");function l(p){var f;p.done?a(p.value):(f=p.value,f instanceof n?f:new n(function(d){d(f)})).then(s,c)}i(l,"a"),l((u=u.apply(e,t||[])).next())})},"__awaiter"),__generator:i(function(e,t){var n,u,a,o,s={label:0,sent:i(function(){if(1&a[0])throw a[1];return a[1]},"sent"),trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(l){return function(p){return function(f){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,u&&(a=2&f[0]?u.return:f[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,f[1])).done)return a;switch(u=0,a&&(f=[2&f[0],a.value]),f[0]){case 0:case 1:a=f;break;case 4:return s.label++,{value:f[1],done:!1};case 5:s.label++,u=f[1],f=[0];continue;case 7:f=s.ops.pop(),s.trys.pop();continue;default:if(a=s.trys,!((a=a.length>0&&a[a.length-1])||f[0]!==6&&f[0]!==2)){s=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]1||c(d,h)})})}function c(d,h){try{(g=a[d](h)).value instanceof xr?Promise.resolve(g.value.v).then(l,p):f(o[0][2],g)}catch(y){f(o[0][3],y)}var g}function l(d){c("next",d)}function p(d){c("throw",d)}function f(d,h){d(h),o.shift(),o.length&&c(o[0][0],o[0][1])}},"__asyncGenerator"),__asyncDelegator:i(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,o){t[a]=e[a]?function(s){return(n=!n)?{value:xr(e[a](s)),done:a==="return"}:o?o(s):s}:o}},"__asyncDelegator"),__asyncValues:i(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=vu(e),t={},u("next"),u("throw"),u("return"),t[Symbol.asyncIterator]=function(){return this},t);function u(a){t[a]=e[a]&&function(o){return new Promise(function(s,c){(function(l,p,f,d){Promise.resolve(d).then(function(h){l({value:h,done:f})},p)})(s,c,(o=e[a](o)).done,o.value)})}}},"__asyncValues"),__makeTemplateObject:i(function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},"__makeTemplateObject"),__importStar:i(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},"__importStar"),__importDefault:i(function(e){return e&&e.__esModule?e:{default:e}},"__importDefault"),__classPrivateFieldGet:i(function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},"__classPrivateFieldGet"),__classPrivateFieldSet:i(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},"__classPrivateFieldSet")}),Mr=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:i(function(n){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(n)?n:JSON.stringify(n)},"key"),value:i(function(n){if(n===null||Te(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(", ")," }")},"value"),pair:i(function(n){var u=n.key,a=n.value;return e.apiDescriptor.value(_n({},u,a))},"pair")}}),vr=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),_e.__exportStar(Mr,e)}),Er=/[|\\{}()[\]^$+*?.]/g,jr=i(function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(Er,"\\$&")},"yo"),$r={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]},Ve=ge(function(r){var e={};for(var t in $r)$r.hasOwnProperty(t)&&(e[$r[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,o=n[u].labels;delete n[u].channels,delete n[u].labels,Object.defineProperty(n[u],"channels",{value:a}),Object.defineProperty(n[u],"labels",{value:o})}n.rgb.hsl=function(s){var c,l,p=s[0]/255,f=s[1]/255,d=s[2]/255,h=Math.min(p,f,d),g=Math.max(p,f,d),y=g-h;return g===h?c=0:p===g?c=(f-d)/y:f===g?c=2+(d-p)/y:d===g&&(c=4+(p-f)/y),(c=Math.min(60*c,360))<0&&(c+=360),l=(h+g)/2,[c,100*(g===h?0:l<=.5?y/(g+h):y/(2-g-h)),100*l]},n.rgb.hsv=function(s){var c,l,p,f,d,h=s[0]/255,g=s[1]/255,y=s[2]/255,E=Math.max(h,g,y),F=E-Math.min(h,g,y),T=i(function(w){return(E-w)/6/F+.5},"p");return F===0?f=d=0:(d=F/E,c=T(h),l=T(g),p=T(y),h===E?f=p-l:g===E?f=1/3+c-p:y===E&&(f=2/3+l-c),f<0?f+=1:f>1&&(f-=1)),[360*f,100*d,100*E]},n.rgb.hwb=function(s){var c=s[0],l=s[1],p=s[2];return[n.rgb.hsl(s)[0],100*(1/255*Math.min(c,Math.min(l,p))),100*(p=1-1/255*Math.max(c,Math.max(l,p)))]},n.rgb.cmyk=function(s){var c,l=s[0]/255,p=s[1]/255,f=s[2]/255;return[100*((1-l-(c=Math.min(1-l,1-p,1-f)))/(1-c)||0),100*((1-p-c)/(1-c)||0),100*((1-f-c)/(1-c)||0),100*c]},n.rgb.keyword=function(s){var c=e[s];if(c)return c;var l,p,f,d=1/0;for(var h in $r)if($r.hasOwnProperty(h)){var g=$r[h],y=(p=s,f=g,Math.pow(p[0]-f[0],2)+Math.pow(p[1]-f[1],2)+Math.pow(p[2]-f[2],2));y.04045?Math.pow((c+.055)/1.055,2.4):c/12.92)+.3576*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)+.1805*(p=p>.04045?Math.pow((p+.055)/1.055,2.4):p/12.92)),100*(.2126*c+.7152*l+.0722*p),100*(.0193*c+.1192*l+.9505*p)]},n.rgb.lab=function(s){var c=n.rgb.xyz(s),l=c[0],p=c[1],f=c[2];return p/=100,f/=108.883,l=(l/=95.047)>.008856?Math.pow(l,1/3):7.787*l+16/116,[116*(p=p>.008856?Math.pow(p,1/3):7.787*p+16/116)-16,500*(l-p),200*(p-(f=f>.008856?Math.pow(f,1/3):7.787*f+16/116))]},n.hsl.rgb=function(s){var c,l,p,f,d,h=s[0]/360,g=s[1]/100,y=s[2]/100;if(g===0)return[d=255*y,d,d];c=2*y-(l=y<.5?y*(1+g):y+g-y*g),f=[0,0,0];for(var E=0;E<3;E++)(p=h+1/3*-(E-1))<0&&p++,p>1&&p--,d=6*p<1?c+6*(l-c)*p:2*p<1?l:3*p<2?c+(l-c)*(2/3-p)*6:c,f[E]=255*d;return f},n.hsl.hsv=function(s){var c=s[0],l=s[1]/100,p=s[2]/100,f=l,d=Math.max(p,.01);return l*=(p*=2)<=1?p:2-p,f*=d<=1?d:2-d,[c,100*(p===0?2*f/(d+f):2*l/(p+l)),100*((p+l)/2)]},n.hsv.rgb=function(s){var c=s[0]/60,l=s[1]/100,p=s[2]/100,f=Math.floor(c)%6,d=c-Math.floor(c),h=255*p*(1-l),g=255*p*(1-l*d),y=255*p*(1-l*(1-d));switch(p*=255,f){case 0:return[p,y,h];case 1:return[g,p,h];case 2:return[h,p,y];case 3:return[h,g,p];case 4:return[y,h,p];case 5:return[p,h,g]}},n.hsv.hsl=function(s){var c,l,p,f=s[0],d=s[1]/100,h=s[2]/100,g=Math.max(h,.01);return p=(2-d)*h,l=d*g,[f,100*(l=(l/=(c=(2-d)*g)<=1?c:2-c)||0),100*(p/=2)]},n.hwb.rgb=function(s){var c,l,p,f,d,h,g,y=s[0]/360,E=s[1]/100,F=s[2]/100,T=E+F;switch(T>1&&(E/=T,F/=T),p=6*y-(c=Math.floor(6*y)),(1&c)!=0&&(p=1-p),f=E+p*((l=1-F)-E),c){default:case 6:case 0:d=l,h=f,g=E;break;case 1:d=f,h=l,g=E;break;case 2:d=E,h=l,g=f;break;case 3:d=E,h=f,g=l;break;case 4:d=f,h=E,g=l;break;case 5:d=l,h=E,g=f}return[255*d,255*h,255*g]},n.cmyk.rgb=function(s){var c=s[0]/100,l=s[1]/100,p=s[2]/100,f=s[3]/100;return[255*(1-Math.min(1,c*(1-f)+f)),255*(1-Math.min(1,l*(1-f)+f)),255*(1-Math.min(1,p*(1-f)+f))]},n.xyz.rgb=function(s){var c,l,p,f=s[0]/100,d=s[1]/100,h=s[2]/100;return l=-.9689*f+1.8758*d+.0415*h,p=.0557*f+-.204*d+1.057*h,c=(c=3.2406*f+-1.5372*d+-.4986*h)>.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,p=p>.0031308?1.055*Math.pow(p,1/2.4)-.055:12.92*p,[255*(c=Math.min(Math.max(0,c),1)),255*(l=Math.min(Math.max(0,l),1)),255*(p=Math.min(Math.max(0,p),1))]},n.xyz.lab=function(s){var 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.lab.xyz=function(s){var c,l,p,f=s[0];c=s[1]/500+(l=(f+16)/116),p=l-s[2]/200;var d=Math.pow(l,3),h=Math.pow(c,3),g=Math.pow(p,3);return l=d>.008856?d:(l-16/116)/7.787,c=h>.008856?h:(c-16/116)/7.787,p=g>.008856?g:(p-16/116)/7.787,[c*=95.047,l*=100,p*=108.883]},n.lab.lch=function(s){var c,l=s[0],p=s[1],f=s[2];return(c=360*Math.atan2(f,p)/2/Math.PI)<0&&(c+=360),[l,Math.sqrt(p*p+f*f),c]},n.lch.lab=function(s){var c,l=s[0],p=s[1];return c=s[2]/360*2*Math.PI,[l,p*Math.cos(c),p*Math.sin(c)]},n.rgb.ansi16=function(s){var c=s[0],l=s[1],p=s[2],f=1 in arguments?arguments[1]:n.rgb.hsv(s)[2];if((f=Math.round(f/50))===0)return 30;var d=30+(Math.round(p/255)<<2|Math.round(l/255)<<1|Math.round(c/255));return f===2&&(d+=60),d},n.hsv.ansi16=function(s){return n.rgb.ansi16(n.hsv.rgb(s),s[2])},n.rgb.ansi256=function(s){var c=s[0],l=s[1],p=s[2];return c===l&&l===p?c<8?16:c>248?231:Math.round((c-8)/247*24)+232:16+36*Math.round(c/255*5)+6*Math.round(l/255*5)+Math.round(p/255*5)},n.ansi16.rgb=function(s){var c=s%10;if(c===0||c===7)return s>50&&(c+=3.5),[c=c/10.5*255,c,c];var l=.5*(1+~~(s>50));return[(1&c)*l*255,(c>>1&1)*l*255,(c>>2&1)*l*255]},n.ansi256.rgb=function(s){if(s>=232){var c=10*(s-232)+8;return[c,c,c]}var l;return s-=16,[Math.floor(s/36)/5*255,Math.floor((l=s%36)/6)/5*255,l%6/5*255]},n.rgb.hex=function(s){var c=(((255&Math.round(s[0]))<<16)+((255&Math.round(s[1]))<<8)+(255&Math.round(s[2]))).toString(16).toUpperCase();return"000000".substring(c.length)+c},n.hex.rgb=function(s){var c=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!c)return[0,0,0];var l=c[0];c[0].length===3&&(l=l.split("").map(function(f){return f+f}).join(""));var p=parseInt(l,16);return[p>>16&255,p>>8&255,255&p]},n.rgb.hcg=function(s){var c,l=s[0]/255,p=s[1]/255,f=s[2]/255,d=Math.max(Math.max(l,p),f),h=Math.min(Math.min(l,p),f),g=d-h;return c=g<=0?0:d===l?(p-f)/g%6:d===p?2+(f-l)/g:4+(l-p)/g+4,c/=6,[360*(c%=1),100*g,100*(g<1?h/(1-g):0)]},n.hsl.hcg=function(s){var c=s[1]/100,l=s[2]/100,p=1,f=0;return(p=l<.5?2*c*l:2*c*(1-l))<1&&(f=(l-.5*p)/(1-p)),[s[0],100*p,100*f]},n.hsv.hcg=function(s){var c=s[1]/100,l=s[2]/100,p=c*l,f=0;return p<1&&(f=(l-p)/(1-p)),[s[0],100*p,100*f]},n.hcg.rgb=function(s){var c=s[0]/360,l=s[1]/100,p=s[2]/100;if(l===0)return[255*p,255*p,255*p];var f,d=[0,0,0],h=c%1*6,g=h%1,y=1-g;switch(Math.floor(h)){case 0:d[0]=1,d[1]=g,d[2]=0;break;case 1:d[0]=y,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=g;break;case 3:d[0]=0,d[1]=y,d[2]=1;break;case 4:d[0]=g,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=y}return f=(1-l)*p,[255*(l*d[0]+f),255*(l*d[1]+f),255*(l*d[2]+f)]},n.hcg.hsv=function(s){var c=s[1]/100,l=c+s[2]/100*(1-c),p=0;return l>0&&(p=c/l),[s[0],100*p,100*l]},n.hcg.hsl=function(s){var c=s[1]/100,l=s[2]/100*(1-c)+.5*c,p=0;return l>0&&l<.5?p=c/(2*l):l>=.5&&l<1&&(p=c/(2*(1-l))),[s[0],100*p,100*l]},n.hcg.hwb=function(s){var c=s[1]/100,l=c+s[2]/100*(1-c);return[s[0],100*(l-c),100*(1-l)]},n.hwb.hcg=function(s){var c=s[1]/100,l=1-s[2]/100,p=l-c,f=0;return p<1&&(f=(l-p)/(1-p)),[s[0],100*p,100*f]},n.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]},n.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]},n.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]},n.gray.hsl=n.gray.hsv=function(s){return[0,0,s[0]]},n.gray.hwb=function(s){return[0,100,s[0]]},n.gray.cmyk=function(s){return[0,0,0,s[0]]},n.gray.lab=function(s){return[s[0],0,0]},n.gray.hex=function(s){var c=255&Math.round(s[0]/100*255),l=((c<<16)+(c<<8)+c).toString(16).toUpperCase();return"000000".substring(l.length)+l},n.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}});function Dt(r){var e=function(){for(var l={},p=Object.keys(Ve),f=p.length,d=0;d1&&(s=Array.prototype.slice.call(arguments));var c=u(s);if(Te(c)=="object")for(var l=c.length,p=0;p1&&(s=Array.prototype.slice.call(arguments)),u(s))},"t");return"conversion"in u&&(a.conversion=u.conversion),a}(n)})});var Hn,bi=It,wr=ge(function(r){var e=i(function(a,o){return function(){var s=a.apply(bi,arguments);return"\x1B[".concat(s+o,"m")}},"t"),t=i(function(a,o){return function(){var s=a.apply(bi,arguments);return"\x1B[".concat(38+o,";5;").concat(s,"m")}},"n"),n=i(function(a,o){return function(){var s=a.apply(bi,arguments);return"\x1B[".concat(38+o,";2;").concat(s[0],";").concat(s[1],";").concat(s[2],"m")}},"r");Object.defineProperty(r,"exports",{enumerable:!0,get:i(function(){var a=new Map,o={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]}};o.color.grey=o.color.gray;for(var s=0,c=Object.keys(o);s=2,has16m:e>=3}}(function(e){if(Fi===!1)return 0;if(lr("color=16m")||lr("color=full")||lr("color=truecolor"))return 3;if(lr("color=256"))return 2;if(e&&!e.isTTY&&Fi!==!0)return 0;var t=Fi?1:0;if("CI"in Gr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(u){return u in Gr})||Gr.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in Gr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Gr.TEAMCITY_VERSION)?1:0;if(Gr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Gr){var n=parseInt((Gr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Gr.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Gr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Gr.TERM)||"COLORTERM"in Gr?1:(Gr.TERM,t)}(r))}i(Rf,"Go"),lr("no-color")||lr("no-colors")||lr("color=false")?Fi=!1:(lr("color")||lr("colors")||lr("color=true")||lr("color=always"))&&(Fi=!0),"FORCE_COLOR"in Gr&&(Fi=Gr.FORCE_COLOR.length===0||parseInt(Gr.FORCE_COLOR,10)!==0);var KF={supportsColor:Rf,stdout:Rf(Or.stdout),stderr:Rf(Or.stderr)},QF=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,og=/(?:^|\.)(\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 sg(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}i(sg,"ei");function r3(r,e){var t=[],n=e.trim().split(/\s*,\s*/g),u,a=pe(n),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;if(isNaN(s)){if(!(u=s.match(ZF)))throw new Error("Invalid Chalk template style argument: ".concat(s," (in style '").concat(r,"')"));t.push(u[2].replace(_F,function(c,l,p){return l?sg(l):p}))}else t.push(Number(s))}}catch(c){a.e(c)}finally{a.f()}return t}i(r3,"ti");function t3(r){og.lastIndex=0;for(var e=[],t;(t=og.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}i(t3,"ni");function cg(r,e){var t={},n=pe(e),u;try{for(n.s();!(u=n.n()).done;){var a=u.value,o=pe(a.styles),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;t[c[0]]=a.inverse?null:c.slice(1)}}catch(h){o.e(h)}finally{o.f()}}}catch(h){n.e(h)}finally{n.f()}for(var l=r,p=0,f=Object.keys(t);p0?l[d].apply(l,t[d]):l[d]}}return l}i(cg,"ri");var n3=i(function(e,t){var n=[],u=[],a=[];if(t.replace(QF,function(s,c,l,p,f,d){if(c)a.push(sg(c));else if(p){var h=a.join("");a=[],u.push(n.length===0?h:cg(e,n)(h)),n.push({inverse:l,styles:t3(p)})}else if(f){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");u.push(cg(e,n)(a.join(""))),a=[],n.pop()}else a.push(d)}),u.push(a.join("")),n.length>0){var o="Chalk template literal is missing ".concat(n.length," closing bracket").concat(n.length===1?"":"s"," (`}`)");throw new Error(o)}return u.join("")},"oi"),na=ge(function(r){var e=KF.stdout,t=["ansi","ansi","ansi256","ansi16m"],n=new Set(["gray"]),u=Object.create(null);function a(B,b){b=b||{};var N=e?e.level:0;B.level=b.level===void 0?N:b.level,B.enabled="enabled"in b?b.enabled:B.level>0}i(a,"u");function o(B){if(!this||!(this instanceof o)||this.template){var b={};return a(b,B),b.template=function(){var N=[].slice.call(arguments);return w.apply(null,[b.template].concat(N))},Object.setPrototypeOf(b,o.prototype),Object.setPrototypeOf(b.template,b),b.template.constructor=o,b.template}a(this,B)}i(o,"s");for(var s=i(function(){var b=l[c];wr[b].closeRe=new RegExp(jr(wr[b].close),"g"),u[b]={get:i(function(){var L=wr[b];return T.call(this,this._styles?this._styles.concat(L):[L],this._empty,b)},"get")}},"_loop3"),c=0,l=Object.keys(wr);c1)for(var L=1;Lf.length&&(p=f,f=d);var h=p.length,g=f.length;if(h===0)return g;if(g===0)return h;for(;h>0&&p.charCodeAt(~-h)===f.charCodeAt(~-g);)h--,g--;if(h===0)return g;for(var y,E,F,T,S=0;SE?T>E?E+1:T:T>F?F+1:T;return E}(e,l)<3});c&&s.push("Did you mean ".concat(na.default.blue(u.key(c)),"?")),a.warn(s.join(" "))},"levenUnknownHandler")},"__esModule",{value:!0}),i3=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),_e.__exportStar(dg,e)}),o3=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),_e.__exportStar(u3,e),_e.__exportStar(pg,e),_e.__exportStar(i3,e)}),s3=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function hg(r,e){var t=new r(e),n=Object.create(t),u=pe(s3),a;try{for(u.s();!(a=u.n()).done;){var o=a.value;o in e&&(n[o]=p3(e[o],t,Dg.prototype[o].length))}}catch(s){u.e(s)}finally{u.f()}return n}i(hg,"gi");var c3=hg,Dg=function(){function r(e){ce(this,r),this.name=e.name}return i(r,"Di"),le(r,[{key:"default",value:i(function(t){},"_default")},{key:"expected",value:i(function(t){return"nothing"},"expected")},{key:"validate",value:i(function(t,n){return!1},"validate")},{key:"deprecated",value:i(function(t,n){return!1},"deprecated")},{key:"forward",value:i(function(t,n){},"forward")},{key:"redirect",value:i(function(t,n){},"redirect")},{key:"overlap",value:i(function(t,n,u){return t},"overlap")},{key:"preprocess",value:i(function(t,n){return t},"preprocess")},{key:"postprocess",value:i(function(t,n){return t},"postprocess")}],[{key:"create",value:i(function(t){return hg(this,t)},"create")}]),r}(),l3=Dg;function p3(r,e,t){return typeof r=="function"?function(){for(var n=arguments.length,u=new Array(n),a=0;a2&&arguments[2]!==void 0?arguments[2]:!1;return e!==!1&&(e===!0?!!n||[{value:t}]:"value"in e?[e]:e.length!==0&&e)},"Wi");function jf(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}}i(jf,"Ui");var I3=jf;function mg(r,e){return r===void 0?[]:Array.isArray(r)?r.map(function(t){return jf(t,e)}):[jf(r,e)]}i(mg,"Hi");var O3=mg,L3=i(function(e,t){var n=mg(Te(e)=="object"&&"redirect"in e?e.redirect:e,t);return n.length===0?{remain:t,redirect:n}:Te(e)=="object"&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}},"Ji"),Hr=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){Fr(t,r);var e=Sr(t);function t(n){var u;return ce(this,t),u=e.call(this,n),u._choices=Hr.mapFromArray(n.choices.map(function(a){return a&&Te(a)=="object"?a:{value:a}}),"value"),u}return i(t,"Yi"),le(t,[{key:"expected",value:i(function(u){var a=this,o=u.descriptor,s=Array.from(this._choices.keys()).map(function(p){return a._choices.get(p)}).filter(function(p){return!p.deprecated}).map(function(p){return p.value}).sort(Hr.comparePrimitive).map(o.value),c=s.slice(0,-2),l=s.slice(-2);return c.concat(l.join(" or ")).join(", ")},"expected")},{key:"validate",value:i(function(u){return this._choices.has(u)},"validate")},{key:"deprecated",value:i(function(u){var a=this._choices.get(u);return!(!a||!a.deprecated)&&{value:u}},"deprecated")},{key:"forward",value:i(function(u){var a=this._choices.get(u);return a?a.forward:void 0},"forward")},{key:"redirect",value:i(function(u){var a=this._choices.get(u);return a?a.redirect:void 0},"redirect")}]),t}(yu.Schema),M3=R3,j3=Object.defineProperty({ChoiceSchema:M3},"__esModule",{value:!0}),$3=function(r){Fr(t,r);var e=Sr(t);function t(){return ce(this,t),e.apply(this,arguments)}return i(t,"Zi"),le(t,[{key:"expected",value:i(function(){return"a number"},"expected")},{key:"validate",value:i(function(u,a){return typeof u=="number"},"validate")}]),t}(yu.Schema),V3=$3,vg=Object.defineProperty({NumberSchema:V3},"__esModule",{value:!0}),q3=function(r){Fr(t,r);var e=Sr(t);function t(){return ce(this,t),e.apply(this,arguments)}return i(t,"nu"),le(t,[{key:"expected",value:i(function(){return"an integer"},"expected")},{key:"validate",value:i(function(u,a){return a.normalizeValidateResult(Ga(Nn(t.prototype),"validate",this).call(this,u,a),u)===!0&&Hr.isInt(u)},"validate")}]),t}(vg.NumberSchema),U3=q3,W3=Object.defineProperty({IntegerSchema:U3},"__esModule",{value:!0}),G3=function(r){Fr(t,r);var e=Sr(t);function t(){return ce(this,t),e.apply(this,arguments)}return i(t,"iu"),le(t,[{key:"expected",value:i(function(){return"a string"},"expected")},{key:"validate",value:i(function(u){return typeof u=="string"},"validate")}]),t}(yu.Schema),H3=G3,z3=Object.defineProperty({StringSchema:H3},"__esModule",{value:!0}),X3=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),_e.__exportStar(h3,e),_e.__exportStar(m3,e),_e.__exportStar(E3,e),_e.__exportStar(b3,e),_e.__exportStar(j3,e),_e.__exportStar(W3,e),_e.__exportStar(vg,e),_e.__exportStar(z3,e)}),J3=Mr.apiDescriptor,Y3=dg.levenUnknownHandler,K3=pg.commonInvalidHandler,Q3=lg.commonDeprecatedHandler,fl=Object.defineProperty({defaultDescriptor:J3,defaultUnknownHandler:Y3,defaultInvalidHandler:K3,defaultDeprecatedHandler:Q3},"__esModule",{value:!0}),yg=function(){function r(e,t){ce(this,r);var n=t||{},u=n.logger,a=u===void 0?console:u,o=n.descriptor,s=o===void 0?fl.defaultDescriptor:o,c=n.unknown,l=c===void 0?fl.defaultUnknownHandler:c,p=n.invalid,f=p===void 0?fl.defaultInvalidHandler:p,d=n.deprecated,h=d===void 0?fl.defaultDeprecatedHandler:d;this._utils={descriptor:s,logger:a||{warn:i(function(){},"warn")},schemas:Hr.recordFromArray(e,"name"),normalizeDefaultResult:Hr.normalizeDefaultResult,normalizeDeprecatedResult:Hr.normalizeDeprecatedResult,normalizeForwardResult:Hr.normalizeForwardResult,normalizeRedirectResult:Hr.normalizeRedirectResult,normalizeValidateResult:Hr.normalizeValidateResult},this._unknownHandler=l,this._invalidHandler=f,this._deprecatedHandler=h,this.cleanHistory()}return i(r,"hu"),le(r,[{key:"cleanHistory",value:i(function(){this._hasDeprecationWarned=Hr.createAutoChecklist()},"cleanHistory")},{key:"normalize",value:i(function(t){var n=this,u={},a=[t],o=i(function(){for(;a.length!==0;){var F=a.shift(),T=n._applyNormalization(F,u);a.push.apply(a,ee(T))}},"r");o();for(var s=0,c=Object.keys(this._utils.schemas);st.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 o,s,c,l,p=0;ps?l>s?s+1:l:l>c?c+1:l;return s},"bu"),Ag=Cg,eS=Cg;Ag.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]},bg={},Vf=0,Fg=Object.keys(ds);Vf1&&(u-=1)),[360*u,100*a,100*l]},be.rgb.hwb=function(r){var e=r[0],t=r[1],n=r[2],u=be.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]},be.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]},be.rgb.keyword=function(r){var e=bg[r];if(e)return e;for(var t,n=1/0,u=0,a=Object.keys(ds);u.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)]},be.rgb.lab=function(r){var e=be.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)]},be.hsl.rgb=function(r){var e=r[0]/360,t=r[1]/100,n=r[2]/100,u,a,o;if(t===0)return o=255*n,[o,o,o];u=n<.5?n*(1+t):n+t-n*t;for(var s=2*n-u,c=[0,0,0],l=0;l<3;l++)a=e+1/3*-(l-1),a<0&&a++,a>1&&a--,o=6*a<1?s+6*(u-s)*a:2*a<1?u:3*a<2?s+(u-s)*(2/3-a)*6:s,c[l]=255*o;return c},be.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)]},be.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),o=255*n*(1-t),s=255*n*(1-t*a),c=255*n*(1-t*(1-a));switch(n*=255,u){case 0:return[n,c,o];case 1:return[s,n,o];case 2:return[o,n,c];case 3:return[o,s,n];case 4:return[c,o,n];case 5:return[n,o,s]}},be.hsv.hsl=function(r){var e=r[0],t=r[1]/100,n=r[2]/100,u=Math.max(n,.01),a,o;o=(2-t)*n;var s=(2-t)*u;return a=t*u,a/=s<=1?s:2-s,a=a||0,o/=2,[e,100*a,100*o]},be.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 o=Math.floor(6*e),s=1-n;a=6*e-o,(1&o)!=0&&(a=1-a);var c=t+a*(s-t),l,p,f;switch(o){default:case 6:case 0:l=s,p=c,f=t;break;case 1:l=c,p=s,f=t;break;case 2:l=t,p=s,f=c;break;case 3:l=t,p=c,f=s;break;case 4:l=c,p=t,f=s;break;case 5:l=s,p=t,f=c}return[255*l,255*p,255*f]},be.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))]},be.xyz.rgb=function(r){var e=r[0]/100,t=r[1]/100,n=r[2]/100,u,a,o;return u=3.2406*e+-1.5372*t+-.4986*n,a=-.9689*e+1.8758*t+.0415*n,o=.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,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:12.92*o,u=Math.min(Math.max(0,u),1),a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),[255*u,255*a,255*o]},be.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)]},be.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),o=Math.pow(n,3);return t=u>.008856?u:(t-16/116)/7.787,e=a>.008856?a:(e-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,e*=95.047,t*=100,n*=108.883,[e,t,n]},be.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]},be.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)]},be.rgb.ansi16=function(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,t=Ne(r,3),n=t[0],u=t[1],a=t[2],o=e===null?be.rgb.hsv(r)[2]:e;if(o=Math.round(o/50),o===0)return 30;var s=30+(Math.round(a/255)<<2|Math.round(u/255)<<1|Math.round(n/255));return o===2&&(s+=60),s},be.hsv.ansi16=function(r){return be.rgb.ansi16(be.hsv.rgb(r),r[2])},be.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)},be.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]},be.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]},be.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},be.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]},be.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),o=u-a,s,c;return s=o<1?a/(1-o):0,c=o<=0?0:u===e?(t-n)/o%6:u===t?2+(n-e)/o:4+(e-t)/o,c/=6,c%=1,[360*c,100*o,100*s]},be.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]},be.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]},be.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,o=a%1,s=1-o,c=0;switch(Math.floor(a)){case 0:u[0]=1,u[1]=o,u[2]=0;break;case 1:u[0]=s,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=o;break;case 3:u[0]=0,u[1]=s,u[2]=1;break;case 4:u[0]=o,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=s}return c=(1-t)*n,[255*(t*u[0]+c),255*(t*u[1]+c),255*(t*u[2]+c)]},be.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]},be.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]},be.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)]},be.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]},be.apple.rgb=function(r){return[r[0]/65535*255,r[1]/65535*255,r[2]/65535*255]},be.rgb.apple=function(r){return[r[0]/255*65535,r[1]/255*65535,r[2]/255*65535]},be.gray.rgb=function(r){return[r[0]/100*255,r[0]/100*255,r[0]/100*255]},be.gray.hsl=function(r){return[0,0,r[0]]},be.gray.hsv=be.gray.hsl,be.gray.hwb=function(r){return[0,100,r[0]]},be.gray.cmyk=function(r){return[0,0,0,r[0]]},be.gray.lab=function(r){return[r[0],0,0]},be.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},be.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),o=a.length,s=0;s1&&(c=p);var f=u(c);if(Te(f)=="object")for(var d=f.length,h=0;h1&&(c=p),u(c))},"t");return"conversion"in u&&(a.conversion=u.conversion),a}(n)})});var iS=Si,hs=ge(function(r){var e=i(function(p,f){return function(){var d=p.apply(void 0,arguments);return"\x1B[".concat(d+f,"m")}},"t"),t=i(function(p,f){return function(){var d=p.apply(void 0,arguments);return"\x1B[".concat(38+f,";5;").concat(d,"m")}},"n"),n=i(function(p,f){return function(){var d=p.apply(void 0,arguments);return"\x1B[".concat(38+f,";2;").concat(d[0],";").concat(d[1],";").concat(d[2],"m")}},"r"),u=i(function(p){return p},"o"),a=i(function(p,f,d){return[p,f,d]},"i"),o=i(function(p,f,d){Object.defineProperty(p,f,{get:i(function(){var g=d();return Object.defineProperty(p,f,{value:g,enumerable:!0,configurable:!0}),g},"get"),enumerable:!0,configurable:!0})},"u"),s,c=i(function(p,f,d,h){s===void 0&&(s=iS);for(var g=h?10:0,y={},E=0,F=Object.entries(s);E1&&arguments[1]!==void 0?arguments[1]:Or.argv,n=e.startsWith("-")?"":e.length===1?"-":"--",u=t.indexOf(n+e),a=t.indexOf("--");return u!==-1&&(a===-1||u=2,has16m:r>=3}}i(Uf,"$u");function Wf(r,e){if(Ti===0)return 0;if(Lt("color=16m")||Lt("color=full")||Lt("color=truecolor"))return 3;if(Lt("color=256"))return 2;if(r&&!e&&Ti===void 0)return 0;var t=Ti||0;if(Br.TERM==="dumb")return t;if("CI"in Br)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(function(u){return u in Br})||Br.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in Br)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Br.TEAMCITY_VERSION)?1:0;if(Br.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Br){var n=parseInt((Br.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Br.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Br.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Br.TERM)||"COLORTERM"in Br?1:t}i(Wf,"qu"),Lt("no-color")||Lt("no-colors")||Lt("color=false")||Lt("color=never")?Ti=0:(Lt("color")||Lt("colors")||Lt("color=true")||Lt("color=always"))&&(Ti=1),"FORCE_COLOR"in Br&&(Ti=Br.FORCE_COLOR==="true"?1:Br.FORCE_COLOR==="false"?0:Br.FORCE_COLOR.length===0?1:Math.min(parseInt(Br.FORCE_COLOR,10),3));var Pg={supportsColor:i(function(e){return Uf(Wf(e,e&&e.isTTY))},"supportsColor"),stdout:Uf(Wf(!0,Ng.isatty(1))),stderr:Uf(Wf(!0,Ng.isatty(2)))},Ig={stringReplaceAll:i(function(e,t,n){var u=e.indexOf(t);if(u===-1)return e;var a=t.length,o=0,s="";do s+=e.substr(o,u-o)+t+n,o=u+a,u=e.indexOf(t,o);while(u!==-1);return s+=e.substr(o),s},"stringReplaceAll"),stringEncaseCRLFWithFirstIndex:i(function(e,t,n,u){var a=0,o="";do{var s=e[u-1]==="\r";o+=e.substr(a,(s?u-1:u)-a)+t+(s?`\r `:` `)+n,a=u+1,u=e.indexOf(` `,a)}while(u!==-1);return o+=e.substr(a),o},"stringEncaseCRLFWithFirstIndex")},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,Og=/(?:^|\.)(\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 Lg(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}i(Lg,"Yu");function fS(r,e){var t=[],n=e.trim().split(/\s*,\s*/g),u,a=pe(n),o;try{for(a.s();!(o=a.n()).done;){var s=o.value,c=Number(s);if(Number.isNaN(c)){if(!(u=s.match(cS)))throw new Error("Invalid Chalk template style argument: ".concat(s," (in style '").concat(r,"')"));t.push(u[2].replace(lS,function(l,p,f){return p?Lg(p):f}))}else t.push(c)}}catch(l){a.e(l)}finally{a.f()}return t}i(fS,"Ku");function dS(r){Og.lastIndex=0;for(var e=[],t;(t=Og.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}i(dS,"Qu");function Rg(r,e){var t={},n=pe(e),u;try{for(n.s();!(u=n.n()).done;){var a=u.value,o=pe(a.styles),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;t[c[0]]=a.inverse?null:c.slice(1)}}catch(E){o.e(E)}finally{o.f()}}}catch(E){n.e(E)}finally{n.f()}for(var l=r,p=0,f=Object.entries(t);p0?(y=l)[h].apply(y,ee(g)):l[h]}}return l}i(Rg,"Zu");var hS=i(function(e,t){var n=[],u=[],a=[];if(t.replace(sS,function(s,c,l,p,f,d){if(c)a.push(Lg(c));else if(p){var h=a.join("");a=[],u.push(n.length===0?h:Rg(e,n)(h)),n.push({inverse:l,styles:dS(p)})}else if(f){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");u.push(Rg(e,n)(a.join(""))),a=[],n.pop()}else a.push(d)}),u.push(a.join("")),n.length>0){var o="Chalk template literal is missing ".concat(n.length," closing bracket").concat(n.length===1?"":"s"," (`}`)");throw new Error(o)}return u.join("")},"es"),Gf=Pg.stdout,Hf=Pg.stderr,DS=Ig.stringReplaceAll,gS=Ig.stringEncaseCRLFWithFirstIndex,dl=Array.isArray,Mg=["ansi","ansi","ansi256","ansi16m"],xi=Object.create(null),mS=le(i(function r(e){return ce(this,r),jg(e)},"as")),jg=i(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=Gf?Gf.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;a1?t-1:0),u=1;u"u"?"undefined":Te(self))=="object"&&self&&self.Object===Object&&self,wi=(bS||FS||Function("return this")()).Symbol,zg=Object.prototype,SS=zg.hasOwnProperty,TS=zg.toString,Ds=wi?wi.toStringTag:void 0,xS=i(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},"Ts"),wS=Object.prototype.toString,BS=i(function(e){return wS.call(e)},"ks"),Xg=wi?wi.toStringTag:void 0,kS=i(function(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Xg&&Xg in Object(e)?xS(e):BS(e)},"Ps"),Jg=i(function(e){return e!=null&&Te(e)=="object"},"Os"),Yg=i(function(e){return Jg(e)&&kS(e)=="[object Arguments]"},"Is"),Kg=Object.prototype,NS=Kg.hasOwnProperty,PS=Kg.propertyIsEnumerable,IS=Yg(function(){return arguments}())?Yg:function(r){return Jg(r)&&NS.call(r,"callee")&&!PS.call(r,"callee")},OS=Array.isArray,Qg=wi?wi.isConcatSpreadable:void 0,LS=i(function(e){return OS(e)||IS(e)||!!(Qg&&e&&e[Qg])},"$s"),RS=i(function r(e,t,n,u,a){var o=-1,s=e.length;for(n||(n=LS),a||(a=[]);++o0&&n(c)?t>1?r(c,t-1,n,u,a):AS(a,c):u||(a[a.length]=c)}return a},"e"),Qf=i(function(e){return e!=null&&e.length?RS(e,1):[]},"Ws"),ml={key:i(function(e){return e.length===1?"-".concat(e):"--".concat(e)},"key"),value:i(function(e){return mt.apiDescriptor.value(e)},"value"),pair:i(function(e){var t=e.key,n=e.value;return n===!1?"--no-".concat(t):n===!0?ml.key(t):n===""?"".concat(ml.key(t)," without an argument"):"".concat(ml.key(t),"=").concat(n)},"pair")},MS=function(r){Fr(t,r);var e=Sr(t);function t(n){var u,a=n.name,o=n.flags;return ce(this,t),u=e.call(this,{name:a,choices:o}),u._flags=ee(o).sort(),u}return i(t,"zs"),le(t,[{key:"preprocess",value:i(function(u,a){if(typeof u=="string"&&u.length>0&&!this._flags.includes(u)){var o=this._flags.find(function(s){return Ag(s,u)<3});if(o)return a.logger.warn(["Unknown flag ".concat(Hg.yellow(a.descriptor.value(u)),","),"did you mean ".concat(Hg.blue(a.descriptor.value(o)),"?")].join(" ")),o}return u},"preprocess")},{key:"expected",value:i(function(){return"a flag"},"expected")}]),t}(mt.ChoiceSchema),Zf;function Zg(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,o=t.passThrough,s=o===void 0?!1:o,c=s?Array.isArray(s)?function(g,y){return s.includes(g)?_n({},g,y):void 0}:function(g,y){return _n({},g,y)}:function(g,y,E){var F=j(E.schemas,["_"]);return mt.levenUnknownHandler(g,y,Object.assign({},E,{schemas:F}))},l=a?ml:mt.apiDescriptor,p=function(g,y){var E=y.isCLI,F=[];E&&F.push(mt.AnySchema.create({name:"_"}));var T=pe(g),S;try{for(T.s();!(S=T.n()).done;){var w=S.value;F.push(jS(w,{isCLI:E,optionInfos:g})),w.alias&&E&&F.push(mt.AliasSchema.create({name:w.alias,sourceName:w.name}))}}catch(B){T.e(B)}finally{T.f()}return F}(e,{isCLI:a}),f=new mt.Normalizer(p,{logger:n,unknown:c,descriptor:l}),d=n!==!1;d&&Zf&&(f._hasDeprecationWarned=Zf);var h=f.normalize(r);return d&&(Zf=f._hasDeprecationWarned),h}i(Zg,"Gs");function jS(r,e){var t=e.isCLI,n=e.optionInfos,u,a={name:r.name},o={};switch(r.type){case"int":u=mt.IntegerSchema,t&&(a.preprocess=function(c){return Number(c)});break;case"string":u=mt.StringSchema;break;case"choice":u=mt.ChoiceSchema,a.choices=r.choices.map(function(c){return Te(c)=="object"&&c.redirect?Object.assign({},c,{redirect:{to:{key:r.name,value:c.redirect}}}):c});break;case"boolean":u=mt.BooleanSchema;break;case"flag":u=MS,a.flags=Qf(n.map(function(c){return[c.alias,c.description&&c.name,c.oppositeDescription&&"no-".concat(c.name)].filter(Boolean)}));break;case"path":u=mt.StringSchema;break;default:throw new Error("Unexpected type ".concat(r.type))}if(r.exception?a.validate=function(c,l,p){return r.exception(c)||l.validate(c,p)}:a.validate=function(c,l,p){return c===void 0||l.validate(c,p)},r.redirect&&(o.redirect=function(c){return c?{to:{key:r.redirect.option,value:r.redirect.value}}:void 0}),r.deprecated&&(o.deprecated=!0),t&&!r.array){var s=a.preprocess||function(c){return c};a.preprocess=function(c,l,p){return l.preprocess(s(Array.isArray(c)?cr(c):c),p)}}return r.array?mt.ArraySchema.create(Object.assign({},t?{preprocess:i(function(l){return Array.isArray(l)?l:[l]},"preprocess")}:{},o,{valueSchema:u.create(a)})):u.create(Object.assign({},a,o))}i(jS,"Js");var _g={normalizeApiOptions:i(function(e,t,n){return Zg(e,t,n)},"normalizeApiOptions"),normalizeCliOptions:i(function(e,t,n){return Zg(e,t,Object.assign({isCLI:!0},n))},"normalizeCliOptions")},$S=J.isNonEmptyArray;function vl(r,e){var t=e||{},n=t.ignoreDecorators;if(!n){var u=r.declaration&&r.declaration.decorators||r.decorators;if($S(u))return vl(u[0])}return r.range?r.range[0]:r.start}i(vl,"Ks");function _f(r){return r.range?r.range[1]:r.end}i(_f,"Qs");function em(r,e){return vl(r)===vl(e)}i(em,"Zs");var nr={locStart:vl,locEnd:_f,hasSameLocStart:em,hasSameLoc:i(function(e,t){return em(e,t)&&function(n,u){return _f(n)===_f(u)}(e,t)},"hasSameLoc")},VS=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:i(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},"matchToToken")},"__esModule",{value:!0}),qS=nm,US=um,WS=i(function(e){for(var t=!0,n=0;nr)return!1;if(t+=e[n+1],t>=r)return!0}return!1}i(r0,"pa");function nm(r){return r<65?r===36:r<=90||(r<97?r===95:r<=122||(r<=65535?r>=170&&GS.test(String.fromCharCode(r)):r0(r,tm)))}i(nm,"fa");function um(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)):r0(r,tm)||r0(r,zS))))}i(um,"da");var t0=Object.defineProperty({isIdentifierStart:qS,isIdentifierChar:US,isIdentifierName:WS},"__esModule",{value:!0}),XS=am,JS=im,YS=om,KS=i(function(e,t){return im(e,t)||om(e)},"Da"),QS=i(function(e){return e5.has(e)},"Ea"),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 am(r,e){return e&&r==="await"||r==="enum"}i(am,"xa");function im(r,e){return am(r,e)||r5.has(r)}i(im,"Sa");function om(r){return t5.has(r)}i(om,"wa");var gs=Object.defineProperty({isReservedWord:XS,isStrictReservedWord:JS,isStrictBindOnlyReservedWord:YS,isStrictBindReservedWord:KS,isKeyword:QS},"__esModule",{value:!0}),sm=ge(function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isIdentifierName",{enumerable:!0,get:i(function(){return t0.isIdentifierName},"get")}),Object.defineProperty(e,"isIdentifierChar",{enumerable:!0,get:i(function(){return t0.isIdentifierChar},"get")}),Object.defineProperty(e,"isIdentifierStart",{enumerable:!0,get:i(function(){return t0.isIdentifierStart},"get")}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:i(function(){return gs.isReservedWord},"get")}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:i(function(){return gs.isStrictBindOnlyReservedWord},"get")}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:i(function(){return gs.isStrictBindReservedWord},"get")}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:i(function(){return gs.isStrictReservedWord},"get")}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:i(function(){return gs.isKeyword},"get")})}),n5=/[|\\{}()[\]^$+*?.]/g,n0=i(function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(n5,"\\$&")},"Na"),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,o=n[u].labels;delete n[u].channels,delete n[u].labels,Object.defineProperty(n[u],"channels",{value:a}),Object.defineProperty(n[u],"labels",{value:o})}n.rgb.hsl=function(s){var c,l,p=s[0]/255,f=s[1]/255,d=s[2]/255,h=Math.min(p,f,d),g=Math.max(p,f,d),y=g-h;return g===h?c=0:p===g?c=(f-d)/y:f===g?c=2+(d-p)/y:d===g&&(c=4+(p-f)/y),(c=Math.min(60*c,360))<0&&(c+=360),l=(h+g)/2,[c,100*(g===h?0:l<=.5?y/(g+h):y/(2-g-h)),100*l]},n.rgb.hsv=function(s){var c,l,p,f,d,h=s[0]/255,g=s[1]/255,y=s[2]/255,E=Math.max(h,g,y),F=E-Math.min(h,g,y),T=i(function(w){return(E-w)/6/F+.5},"p");return F===0?f=d=0:(d=F/E,c=T(h),l=T(g),p=T(y),h===E?f=p-l:g===E?f=1/3+c-p:y===E&&(f=2/3+l-c),f<0?f+=1:f>1&&(f-=1)),[360*f,100*d,100*E]},n.rgb.hwb=function(s){var c=s[0],l=s[1],p=s[2];return[n.rgb.hsl(s)[0],100*(1/255*Math.min(c,Math.min(l,p))),100*(p=1-1/255*Math.max(c,Math.max(l,p)))]},n.rgb.cmyk=function(s){var c,l=s[0]/255,p=s[1]/255,f=s[2]/255;return[100*((1-l-(c=Math.min(1-l,1-p,1-f)))/(1-c)||0),100*((1-p-c)/(1-c)||0),100*((1-f-c)/(1-c)||0),100*c]},n.rgb.keyword=function(s){var c=e[s];if(c)return c;var l,p,f,d=1/0;for(var h in aa)if(aa.hasOwnProperty(h)){var g=aa[h],y=(p=s,f=g,Math.pow(p[0]-f[0],2)+Math.pow(p[1]-f[1],2)+Math.pow(p[2]-f[2],2));y.04045?Math.pow((c+.055)/1.055,2.4):c/12.92)+.3576*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)+.1805*(p=p>.04045?Math.pow((p+.055)/1.055,2.4):p/12.92)),100*(.2126*c+.7152*l+.0722*p),100*(.0193*c+.1192*l+.9505*p)]},n.rgb.lab=function(s){var c=n.rgb.xyz(s),l=c[0],p=c[1],f=c[2];return p/=100,f/=108.883,l=(l/=95.047)>.008856?Math.pow(l,1/3):7.787*l+16/116,[116*(p=p>.008856?Math.pow(p,1/3):7.787*p+16/116)-16,500*(l-p),200*(p-(f=f>.008856?Math.pow(f,1/3):7.787*f+16/116))]},n.hsl.rgb=function(s){var c,l,p,f,d,h=s[0]/360,g=s[1]/100,y=s[2]/100;if(g===0)return[d=255*y,d,d];c=2*y-(l=y<.5?y*(1+g):y+g-y*g),f=[0,0,0];for(var E=0;E<3;E++)(p=h+1/3*-(E-1))<0&&p++,p>1&&p--,d=6*p<1?c+6*(l-c)*p:2*p<1?l:3*p<2?c+(l-c)*(2/3-p)*6:c,f[E]=255*d;return f},n.hsl.hsv=function(s){var c=s[0],l=s[1]/100,p=s[2]/100,f=l,d=Math.max(p,.01);return l*=(p*=2)<=1?p:2-p,f*=d<=1?d:2-d,[c,100*(p===0?2*f/(d+f):2*l/(p+l)),100*((p+l)/2)]},n.hsv.rgb=function(s){var c=s[0]/60,l=s[1]/100,p=s[2]/100,f=Math.floor(c)%6,d=c-Math.floor(c),h=255*p*(1-l),g=255*p*(1-l*d),y=255*p*(1-l*(1-d));switch(p*=255,f){case 0:return[p,y,h];case 1:return[g,p,h];case 2:return[h,p,y];case 3:return[h,g,p];case 4:return[y,h,p];case 5:return[p,h,g]}},n.hsv.hsl=function(s){var c,l,p,f=s[0],d=s[1]/100,h=s[2]/100,g=Math.max(h,.01);return p=(2-d)*h,l=d*g,[f,100*(l=(l/=(c=(2-d)*g)<=1?c:2-c)||0),100*(p/=2)]},n.hwb.rgb=function(s){var c,l,p,f,d,h,g,y=s[0]/360,E=s[1]/100,F=s[2]/100,T=E+F;switch(T>1&&(E/=T,F/=T),p=6*y-(c=Math.floor(6*y)),(1&c)!=0&&(p=1-p),f=E+p*((l=1-F)-E),c){default:case 6:case 0:d=l,h=f,g=E;break;case 1:d=f,h=l,g=E;break;case 2:d=E,h=l,g=f;break;case 3:d=E,h=f,g=l;break;case 4:d=f,h=E,g=l;break;case 5:d=l,h=E,g=f}return[255*d,255*h,255*g]},n.cmyk.rgb=function(s){var c=s[0]/100,l=s[1]/100,p=s[2]/100,f=s[3]/100;return[255*(1-Math.min(1,c*(1-f)+f)),255*(1-Math.min(1,l*(1-f)+f)),255*(1-Math.min(1,p*(1-f)+f))]},n.xyz.rgb=function(s){var c,l,p,f=s[0]/100,d=s[1]/100,h=s[2]/100;return l=-.9689*f+1.8758*d+.0415*h,p=.0557*f+-.204*d+1.057*h,c=(c=3.2406*f+-1.5372*d+-.4986*h)>.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,p=p>.0031308?1.055*Math.pow(p,1/2.4)-.055:12.92*p,[255*(c=Math.min(Math.max(0,c),1)),255*(l=Math.min(Math.max(0,l),1)),255*(p=Math.min(Math.max(0,p),1))]},n.xyz.lab=function(s){var 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.lab.xyz=function(s){var c,l,p,f=s[0];c=s[1]/500+(l=(f+16)/116),p=l-s[2]/200;var d=Math.pow(l,3),h=Math.pow(c,3),g=Math.pow(p,3);return l=d>.008856?d:(l-16/116)/7.787,c=h>.008856?h:(c-16/116)/7.787,p=g>.008856?g:(p-16/116)/7.787,[c*=95.047,l*=100,p*=108.883]},n.lab.lch=function(s){var c,l=s[0],p=s[1],f=s[2];return(c=360*Math.atan2(f,p)/2/Math.PI)<0&&(c+=360),[l,Math.sqrt(p*p+f*f),c]},n.lch.lab=function(s){var c,l=s[0],p=s[1];return c=s[2]/360*2*Math.PI,[l,p*Math.cos(c),p*Math.sin(c)]},n.rgb.ansi16=function(s){var c=s[0],l=s[1],p=s[2],f=1 in arguments?arguments[1]:n.rgb.hsv(s)[2];if((f=Math.round(f/50))===0)return 30;var d=30+(Math.round(p/255)<<2|Math.round(l/255)<<1|Math.round(c/255));return f===2&&(d+=60),d},n.hsv.ansi16=function(s){return n.rgb.ansi16(n.hsv.rgb(s),s[2])},n.rgb.ansi256=function(s){var c=s[0],l=s[1],p=s[2];return c===l&&l===p?c<8?16:c>248?231:Math.round((c-8)/247*24)+232:16+36*Math.round(c/255*5)+6*Math.round(l/255*5)+Math.round(p/255*5)},n.ansi16.rgb=function(s){var c=s%10;if(c===0||c===7)return s>50&&(c+=3.5),[c=c/10.5*255,c,c];var l=.5*(1+~~(s>50));return[(1&c)*l*255,(c>>1&1)*l*255,(c>>2&1)*l*255]},n.ansi256.rgb=function(s){if(s>=232){var c=10*(s-232)+8;return[c,c,c]}var l;return s-=16,[Math.floor(s/36)/5*255,Math.floor((l=s%36)/6)/5*255,l%6/5*255]},n.rgb.hex=function(s){var c=(((255&Math.round(s[0]))<<16)+((255&Math.round(s[1]))<<8)+(255&Math.round(s[2]))).toString(16).toUpperCase();return"000000".substring(c.length)+c},n.hex.rgb=function(s){var c=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!c)return[0,0,0];var l=c[0];c[0].length===3&&(l=l.split("").map(function(f){return f+f}).join(""));var p=parseInt(l,16);return[p>>16&255,p>>8&255,255&p]},n.rgb.hcg=function(s){var c,l=s[0]/255,p=s[1]/255,f=s[2]/255,d=Math.max(Math.max(l,p),f),h=Math.min(Math.min(l,p),f),g=d-h;return c=g<=0?0:d===l?(p-f)/g%6:d===p?2+(f-l)/g:4+(l-p)/g+4,c/=6,[360*(c%=1),100*g,100*(g<1?h/(1-g):0)]},n.hsl.hcg=function(s){var c=s[1]/100,l=s[2]/100,p=1,f=0;return(p=l<.5?2*c*l:2*c*(1-l))<1&&(f=(l-.5*p)/(1-p)),[s[0],100*p,100*f]},n.hsv.hcg=function(s){var c=s[1]/100,l=s[2]/100,p=c*l,f=0;return p<1&&(f=(l-p)/(1-p)),[s[0],100*p,100*f]},n.hcg.rgb=function(s){var c=s[0]/360,l=s[1]/100,p=s[2]/100;if(l===0)return[255*p,255*p,255*p];var f,d=[0,0,0],h=c%1*6,g=h%1,y=1-g;switch(Math.floor(h)){case 0:d[0]=1,d[1]=g,d[2]=0;break;case 1:d[0]=y,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=g;break;case 3:d[0]=0,d[1]=y,d[2]=1;break;case 4:d[0]=g,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=y}return f=(1-l)*p,[255*(l*d[0]+f),255*(l*d[1]+f),255*(l*d[2]+f)]},n.hcg.hsv=function(s){var c=s[1]/100,l=c+s[2]/100*(1-c),p=0;return l>0&&(p=c/l),[s[0],100*p,100*l]},n.hcg.hsl=function(s){var c=s[1]/100,l=s[2]/100*(1-c)+.5*c,p=0;return l>0&&l<.5?p=c/(2*l):l>=.5&&l<1&&(p=c/(2*(1-l))),[s[0],100*p,100*l]},n.hcg.hwb=function(s){var c=s[1]/100,l=c+s[2]/100*(1-c);return[s[0],100*(l-c),100*(1-l)]},n.hwb.hcg=function(s){var c=s[1]/100,l=1-s[2]/100,p=l-c,f=0;return p<1&&(f=(l-p)/(1-p)),[s[0],100*p,100*f]},n.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]},n.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]},n.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]},n.gray.hsl=n.gray.hsv=function(s){return[0,0,s[0]]},n.gray.hwb=function(s){return[0,100,s[0]]},n.gray.cmyk=function(s){return[0,0,0,s[0]]},n.gray.lab=function(s){return[s[0],0,0]},n.gray.hex=function(s){var c=255&Math.round(s[0]/100*255),l=((c<<16)+(c<<8)+c).toString(16).toUpperCase();return"000000".substring(l.length)+l},n.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}});function u5(r){var e=function(){for(var l={},p=Object.keys(ia),f=p.length,d=0;d1&&(s=Array.prototype.slice.call(arguments));var c=u(s);if(Te(c)=="object")for(var l=c.length,p=0;p1&&(s=Array.prototype.slice.call(arguments)),u(s))},"t");return"conversion"in u&&(a.conversion=u.conversion),a}(n)})});var ki=Bi,kr=ge(function(r){var e=i(function(a,o){return function(){var s=a.apply(ki,arguments);return"\x1B[".concat(s+o,"m")}},"t"),t=i(function(a,o){return function(){var s=a.apply(ki,arguments);return"\x1B[".concat(38+o,";5;").concat(s,"m")}},"n"),n=i(function(a,o){return function(){var s=a.apply(ki,arguments);return"\x1B[".concat(38+o,";2;").concat(s[0],";").concat(s[1],";").concat(s[2],"m")}},"r");Object.defineProperty(r,"exports",{enumerable:!0,get:i(function(){var a=new Map,o={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]}};o.color.grey=o.color.gray;for(var s=0,c=Object.keys(o);s=2,has16m:e>=3}}(function(e){if(Ni===!1)return 0;if(lr("color=16m")||lr("color=full")||lr("color=truecolor"))return 3;if(lr("color=256"))return 2;if(e&&!e.isTTY&&Ni!==!0)return 0;var t=Ni?1:0;if("CI"in zr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(u){return u in zr})||zr.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in zr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(zr.TEAMCITY_VERSION)?1:0;if(zr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in zr){var n=parseInt((zr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(zr.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(zr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(zr.TERM)||"COLORTERM"in zr?1:(zr.TERM,t)}(r))}i(u0,"qa"),lr("no-color")||lr("no-colors")||lr("color=false")?Ni=!1:(lr("color")||lr("colors")||lr("color=true")||lr("color=always"))&&(Ni=!0),"FORCE_COLOR"in zr&&(Ni=zr.FORCE_COLOR.length===0||parseInt(zr.FORCE_COLOR,10)!==0);var o5={supportsColor:u0,stdout:u0(Or.stdout),stderr:u0(Or.stderr)},s5=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,cm=/(?:^|\.)(\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 lm(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}i(lm,"Xa");function f5(r,e){var t=[],n=e.trim().split(/\s*,\s*/g),u,a=pe(n),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;if(isNaN(s)){if(!(u=s.match(c5)))throw new Error("Invalid Chalk template style argument: ".concat(s," (in style '").concat(r,"')"));t.push(u[2].replace(l5,function(c,l,p){return l?lm(l):p}))}else t.push(Number(s))}}catch(c){a.e(c)}finally{a.f()}return t}i(f5,"Ya");function d5(r){cm.lastIndex=0;for(var e=[],t;(t=cm.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}i(d5,"Ka");function pm(r,e){var t={},n=pe(e),u;try{for(n.s();!(u=n.n()).done;){var a=u.value,o=pe(a.styles),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;t[c[0]]=a.inverse?null:c.slice(1)}}catch(h){o.e(h)}finally{o.f()}}}catch(h){n.e(h)}finally{n.f()}for(var l=r,p=0,f=Object.keys(t);p0?l[d].apply(l,t[d]):l[d]}}return l}i(pm,"Qa");var h5=i(function(e,t){var n=[],u=[],a=[];if(t.replace(s5,function(s,c,l,p,f,d){if(c)a.push(lm(c));else if(p){var h=a.join("");a=[],u.push(n.length===0?h:pm(e,n)(h)),n.push({inverse:l,styles:d5(p)})}else if(f){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");u.push(pm(e,n)(a.join(""))),a=[],n.pop()}else a.push(d)}),u.push(a.join("")),n.length>0){var o="Chalk template literal is missing ".concat(n.length," closing bracket").concat(n.length===1?"":"s"," (`}`)");throw new Error(o)}return u.join("")},"Za"),D5=ge(function(r){var e=o5.stdout,t=["ansi","ansi","ansi256","ansi16m"],n=new Set(["gray"]),u=Object.create(null);function a(B,b){b=b||{};var N=e?e.level:0;B.level=b.level===void 0?N:b.level,B.enabled="enabled"in b?b.enabled:B.level>0}i(a,"u");function o(B){if(!this||!(this instanceof o)||this.template){var b={};return a(b,B),b.template=function(){var N=[].slice.call(arguments);return w.apply(null,[b.template].concat(N))},Object.setPrototypeOf(b,o.prototype),Object.setPrototypeOf(b.template,b),b.template.constructor=o,b.template}a(this,B)}i(o,"s");for(var s=i(function(){var b=l[c];kr[b].closeRe=new RegExp(n0(kr[b].close),"g"),u[b]={get:i(function(){var L=kr[b];return T.call(this,this._styles?this._styles.concat(L):[L],this._empty,b)},"get")}},"_loop10"),c=0,l=Object.keys(kr);c1)for(var L=1;L1&&arguments[1]!==void 0?arguments[1]:{};if(Dm(t)){var n=gm(t);return function(u,a){var o="",s=pe(hm(a)),c;try{var l=i(function(){var f=c.value,d=f.type,h=f.value,g=u[d];o+=g?h.split(E5).map(function(y){return g(y)}).join(` `):h},"_loop13");for(s.s();!(c=s.n()).done;)l()}catch(p){s.e(p)}finally{s.f()}return o}(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},"rc"),fm=function(r){if(r&&r.__esModule)return r;if(r===null||Te(r)!="object"&&typeof r!="function")return{default:r};var e=dm();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}(VS),a0=function(r){return r&&r.__esModule?r:{default:r}}(D5);function dm(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return dm=i(function(){return r},"uc"),r}i(dm,"uc");var y5=new Set(["as","async","from","get","of","set"]),E5=/\r\n|[\n\r\u2028\u2029]/,C5=/^[()[\]{}]$/,hm;{var A5=fm.matchToToken,b5=/^[a-z][\w-]*$/i,F5=i(function(e,t,n){if(e.type==="name"){if((0,sm.isKeyword)(e.value)||(0,sm.isStrictReservedWord)(e.value,!0)||y5.has(e.value))return"keyword";if(b5.test(e.value)&&(n[t-1]==="<"||n.substr(t-2,2)=="3&&arguments[3]!==void 0?arguments[3]:{};if(!vm){vm=!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),Em(e,{start:{column:n,line:t}},u)},"hc"),i0=function(r){if(r&&r.__esModule)return r;if(r===null||Te(r)!="object"&&typeof r!="function")return{default:r};var e=mm();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 mm(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return mm=i(function(){return r},"gc"),r}i(mm,"gc");var vm=!1,ym=/\r\n|[\n\r\u2028\u2029]/;function Em(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=(t.highlightCode||t.forceColor)&&(0,i0.shouldHighlight)(t),u=(0,i0.getChalk)(t),a=function(y){return{gutter:y.grey,marker:y.red.bold,message:y.red.bold}}(u),o=i(function(E,F){return n?E(F):F},"u"),s=r.split(ym),c=function(y,E,F){var T=Object.assign({column:0,line:-1},y.start),S=Object.assign({},T,y.end),w=F||{},B=w.linesAbove,b=B===void 0?2:B,N=w.linesBelow,L=N===void 0?3:N,q=T.line,z=T.column,M=S.line,V=S.column,Q=Math.max(q-(b+1),0),ue=Math.min(E.length,M+L);q===-1&&(Q=0),M===-1&&(ue=E.length);var ae=M-q,Ae={};if(ae)for(var se=0;se<=ae;se++){var ie=se+q;if(z)if(se===0){var ye=E[ie-1].length;Ae[ie]=[z,ye-z+1]}else if(se===ae)Ae[ie]=[0,V];else{var Re=E[ie-se].length;Ae[ie]=[0,Re]}else Ae[ie]=!0}else Ae[q]=z===V?!z||[z,0]:[z,V-z];return{start:Q,end:ue,markerLines:Ae}}(e,s,t),l=c.start,p=c.end,f=c.markerLines,d=e.start&&typeof e.start.column=="number",h=String(p).length,g=(n?(0,i0.default)(r,t):r).split(ym).slice(l,p).map(function(y,E){var F=l+1+E,T=" ".concat(F).slice(-h),S=" ".concat(T," |"),w=f[F],B=!f[F+1];if(w){var b="";if(Array.isArray(w)){var N=y.slice(0,Math.max(w[0]-1,0)).replace(/[^\t]/g," "),L=w[1]||1;b=[` `,o(a.gutter,S.replace(/\d/g," "))," ",N,o(a.marker,"^").repeat(L)].join(""),B&&t.message&&(b+=" "+o(a.message,t.message))}return[o(a.marker,">"),o(a.gutter,S),y.length>0?" ".concat(y):"",b].join("")}return" ".concat(o(a.gutter,S)).concat(y.length>0?" ".concat(y):"")}).join(` `);return t.message&&!d&&(g="".concat(" ".repeat(h+1)).concat(t.message,` `).concat(g)),n?u.reset(g):g}i(Em,"Ec");var x5=Object.defineProperty({codeFrameColumns:S5,default:T5},"__esModule",{value:!0}),w5=Ue(sl),B5=ht.ConfigError,k5=nr.locStart,N5=nr.locEnd,P5=Object.getOwnPropertyNames,I5=Object.getOwnPropertyDescriptor;function Cm(r){var e={},t=pe(r.plugins),n;try{for(t.s();!(n=t.n()).done;){var u=n.value;if(u.parsers){var a=pe(P5(u.parsers)),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;Object.defineProperty(e,s,I5(u.parsers,s))}}catch(c){a.e(c)}finally{a.f()}}}}catch(c){t.e(c)}finally{t.f()}return e}i(Cm,"wc");function Am(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Cm(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.'))}}i(Am,"Tc");var oa={parse:i(function(e,t){var n=Cm(t),u=Object.keys(n).reduce(function(c,l){return Object.defineProperty(c,l,{enumerable:!0,get:i(function(){return n[l].parse},"get")})},{}),a=Am(t,n);try{return a.preprocess&&(e=a.preprocess(e,t)),{text:e,ast:a.parse(e,u,t)}}catch(c){var o=c.loc;if(o){var s=x5.codeFrameColumns;throw c.codeFrame=s(e,o,{highlightCode:!0}),c.message+=` `+c.codeFrame,c}throw c.stack}},"parse"),resolveParser:Am},O5=ht.UndefinedParserError,bm=si.getSupportInfo,L5=oa.resolveParser,o0={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Fm(r,e){var t=w5.basename(r).toLowerCase(),n=bm({plugins:e}).languages.filter(function(o){return o.since!==null}),u=n.find(function(o){return o.extensions&&o.extensions.some(function(s){return t.endsWith(s)})||o.filenames&&o.filenames.some(function(s){return s.toLowerCase()===t})});if(!u&&!t.includes(".")){var a=function(o){if(typeof o!="string")return"";var s;try{s=Je.openSync(o,"r")}catch{return""}try{var c=new Tr(s).next().toString("utf8"),l=c.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(l)return l[1];var p=c.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return p?p[1]:""}catch{return""}finally{try{Je.closeSync(s)}catch{}}}(r);u=n.find(function(o){return o.interpreters&&o.interpreters.includes(a)})}return u&&u.parsers[0]}i(Fm,"Ic");var Sm={normalize:i(function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Object.assign({},e),u=bm({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,a=Object.assign({},o0,_a(u.filter(function(y){return y.default!==void 0}).map(function(y){return[y.name,y.default]})));if(!n.parser)if(n.filepath){if(n.parser=Fm(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 o=L5(_g.normalizeApiOptions(n,[u.find(function(y){return y.name==="parser"})],{passThrough:!0,logger:!1}));n.astFormat=o.astFormat,n.locEnd=o.locEnd,n.locStart=o.locStart;var s=function(y){var E=y.astFormat;if(!E)throw new Error("getPlugin() requires astFormat to be set");var F=y.plugins.find(function(T){return T.printers&&T.printers[E]});if(!F)throw new Error(`Couldn't find plugin for AST format "`.concat(E,'"'));return F}(n);n.printer=s.printers[n.astFormat];for(var c=_a(u.filter(function(y){return y.pluginDefaults&&y.pluginDefaults[s.name]!==void 0}).map(function(y){return[y.name,y.pluginDefaults[s.name]]})),l=Object.assign({},a,c),p=0,f=Object.entries(l);p=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),Tm(e)?t.showHidden=e:e&&V5(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),yl(t,r,t.depth)}i(sa,"Mc");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}i(j5,"Rc");function $5(r,e){return r}i($5,"Vc");function yl(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 wm(n)||(n=yl(r,n,t)),n}var u=function(h,g){if(Pi(g))return h.stylize("undefined","undefined");if(wm(g)){var y="'"+JSON.stringify(g).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return h.stylize(y,"string")}if(E=g,typeof E=="number")return h.stylize(""+g,"number");var E;if(Tm(g))return h.stylize(""+g,"boolean");if(xm(g))return h.stylize("null","null")}(r,e);if(u)return u;var a=Object.keys(e),o=function(h){var g={};return h.forEach(function(y,E){g[y]=!0}),g}(a);if(r.showHidden&&(a=Object.getOwnPropertyNames(e)),Al(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return s0(e);if(a.length===0){if(vs(e)){var s=e.name?": "+e.name:"";return r.stylize("[Function"+s+"]","special")}if(ms(e))return r.stylize(RegExp.prototype.toString.call(e),"regexp");if(Cl(e))return r.stylize(Date.prototype.toString.call(e),"date");if(Al(e))return s0(e)}var c,l,p="",f=!1,d=["{","}"];return c=e,Array.isArray(c)&&(f=!0,d=["[","]"]),vs(e)&&(p=" [Function"+(e.name?": "+e.name:"")+"]"),ms(e)&&(p=" "+RegExp.prototype.toString.call(e)),Cl(e)&&(p=" "+Date.prototype.toUTCString.call(e)),Al(e)&&(p=" "+s0(e)),a.length!==0||f&&e.length!=0?t<0?ms(e)?r.stylize(RegExp.prototype.toString.call(e),"regexp"):r.stylize("[Object]","special"):(r.seen.push(e),l=f?function(h,g,y,E,F){for(var T=[],S=0,w=g.length;S60?y[0]+(g===""?"":g+` `)+" "+h.join(`, `)+" "+y[1]:y[0]+g+" "+h.join(", ")+" "+y[1]}(l,p,d)):d[0]+p+d[1]}i(yl,"$c");function s0(r){return"["+Error.prototype.toString.call(r)+"]"}i(s0,"qc");function c0(r,e,t,n,u,a){var o,s,c;if((c=Object.getOwnPropertyDescriptor(e,u)||{value:e[u]}).get?s=c.set?r.stylize("[Getter/Setter]","special"):r.stylize("[Getter]","special"):c.set&&(s=r.stylize("[Setter]","special")),km(n,u)||(o="["+u+"]"),s||(r.seen.indexOf(c.value)<0?(s=xm(t)?yl(r,c.value,null):yl(r,c.value,t-1)).indexOf(` `)>-1&&(s=a?s.split(` `).map(function(l){return" "+l}).join(` `).substr(2):` `+s.split(` `).map(function(l){return" "+l}).join(` `)):s=r.stylize("[Circular]","special")),Pi(o)){if(a&&u.match(/^\d+$/))return s;(o=JSON.stringify(""+u)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=r.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=r.stylize(o,"string"))}return o+": "+s}i(c0,"Wc");function Tm(r){return typeof r=="boolean"}i(Tm,"Uc");function xm(r){return r===null}i(xm,"zc");function wm(r){return typeof r=="string"}i(wm,"Hc");function Pi(r){return r===void 0}i(Pi,"Gc");function ms(r){return El(r)&&l0(r)==="[object RegExp]"}i(ms,"Jc");function El(r){return Te(r)=="object"&&r!==null}i(El,"Xc");function Cl(r){return El(r)&&l0(r)==="[object Date]"}i(Cl,"Yc");function Al(r){return El(r)&&(l0(r)==="[object Error]"||r instanceof Error)}i(Al,"Kc");function vs(r){return typeof r=="function"}i(vs,"Qc");function Bm(r){return r===null||typeof r=="boolean"||typeof r=="number"||typeof r=="string"||Te(r)=="symbol"||r===void 0}i(Bm,"Zc");function l0(r){return Object.prototype.toString.call(r)}i(l0,"el");function V5(r,e){if(!e||!El(e))return r;for(var t=Object.keys(e),n=t.length;n--;)r[t[n]]=e[t[n]];return r}i(V5,"tl");function km(r,e){return Object.prototype.hasOwnProperty.call(r,e)}i(km,"nl");function Nm(r,e){if(r===e)return 0;for(var t=r.length,n=e.length,u=0,a=Math.min(t,n);u=0){var o=n.indexOf(` `,a+1);n=n.substring(o+1)}this.stack=n}}}i(bl,"hl");function jm(r,e){return typeof r=="string"?r.length=0;d--)if(h[d]!==g[d])return!1;for(d=h.length-1;d>=0;d--)if(!Ii(a[f=h[d]],o[f],s,c))return!1;return!0}(r,e,t,n))}return t?r===e:r==e}i(Ii,"Al");function Vm(r){return Object.prototype.toString.call(r)=="[object Arguments]"}i(Vm,"Fl");function g0(r,e,t){Ii(r,e,!1)&&rt(r,e,t,"notDeepEqual",g0)}i(g0,"xl");function m0(r,e,t){Ii(r,e,!0)&&rt(r,e,t,"notDeepStrictEqual",m0)}i(m0,"Sl");function v0(r,e,t){r!==e&&rt(r,e,t,"===",v0)}i(v0,"wl");function y0(r,e,t){r===e&&rt(r,e,t,"!==",y0)}i(y0,"Tl");function qm(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}i(qm,"Bl");function Um(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(s){var c;try{s()}catch(l){c=l}return c}(e),n=(t&&t.name?" ("+t.name+").":".")+(n?" "+n:"."),r&&!u&&rt(u,t,"Missing expected exception"+n);var a=typeof n=="string",o=!r&&u&&!t;if((!r&&Al(u)&&a&&qm(u,t)||o)&&rt(u,t,"Got unwanted exception"+n),r&&u&&t&&!qm(u,t)||!r&&u)throw u}i(Um,"kl");function Wm(r,e,t){Um(!0,r,e,t)}i(Wm,"Nl");function Gm(r,e,t){Um(!1,r,e,t)}i(Gm,"Pl");function Hm(r){if(r)throw r}i(Hm,"Ol"),et.AssertionError=bl,M5(bl,Error),et.fail=rt,et.ok=ys,et.equal=f0,et.notEqual=d0,et.deepEqual=h0,et.deepStrictEqual=D0,et.notDeepEqual=g0,et.notDeepStrictEqual=m0,et.strictEqual=v0,et.notStrictEqual=y0,et.throws=Wm,et.doesNotThrow=Gm,et.ifError=Hm;var zn=Ue(Object.freeze({__proto__:null,default:et,AssertionError:bl,fail:rt,ok:ys,assert:ys,equal:f0,notEqual:d0,deepEqual:h0,deepStrictEqual:D0,notDeepEqual:g0,notDeepStrictEqual:m0,strictEqual:v0,notStrictEqual:y0,throws:Wm,doesNotThrow:Gm,ifError:Hm})),ca=de.builders,W5=ca.line,Eu=ca.hardline,G5=ca.breakParent,H5=ca.indent,zm=ca.lineSuffix,Xm=ca.join,E0=ca.cursor,Oi=J.hasNewline,z5=J.skipNewline,X5=J.skipSpaces,J5=J.isPreviousLineEmpty,Es=J.addLeadingComment,C0=J.addDanglingComment,Cs=J.addTrailingComment,A0=new WeakMap;function b0(r,e,t){if(!!r){var n=e.printer,u=e.locStart,a=e.locEnd;if(t){if(n.canAttachComment&&n.canAttachComment(r)){var o;for(o=t.length-1;o>=0&&!(u(t[o])<=u(r)&&a(t[o])<=a(r));--o);return void t.splice(o+1,0,r)}}else if(A0.has(r))return A0.get(r);var s=n.getCommentChildNodes&&n.getCommentChildNodes(r,e)||Te(r)=="object"&&Object.entries(r).filter(function(f){var d=Ne(f,1),h=d[0];return h!=="enclosingNode"&&h!=="precedingNode"&&h!=="followingNode"&&h!=="tokens"&&h!=="comments"}).map(function(f){var d=Ne(f,2),h=d[1];return h});if(s){t||(t=[],A0.set(r,t));var c=pe(s),l;try{for(c.s();!(l=c.n()).done;){var p=l.value;b0(p,e,t)}}catch(f){c.e(f)}finally{c.f()}return t}}}i(b0,"Yl");function Jm(r,e,t,n){for(var u=t.locStart,a=t.locEnd,o=u(e),s=a(e),c=b0(r,t),l,p,f=0,d=c.length;f>1,g=c[h],y=u(g),E=a(g);if(y<=o&&s<=E)return Jm(g,e,t,g);if(E<=o)l=g,f=h+1;else{if(!(s<=y))throw new Error("Comment location overlaps with node location");p=g,d=h}}if(n&&n.type==="TemplateLiteral"){var F=n.quasis,T=T0(F,e,t);l&&T0(F,l,t)!==T&&(l=null),p&&T0(F,p,t)!==T&&(p=null)}return{enclosingNode:n,precedingNode:l,followingNode:p}}i(Jm,"Kl");var F0=i(function(){return!1},"Ql"),Ym=i(function(e){return!/[\S\n\u2028\u2029]/.test(e)},"Zl");function Y5(r,e,t,n){var u=t[n],a=u.comment,o=u.precedingNode,s=e.locStart,c=e.locEnd,l=s(a);if(o)for(var p=n-1;p>=0;p--){var f=t[p],d=f.comment,h=f.precedingNode;if(h!==o||!Ym(r.slice(c(d),l)))break;l=s(d)}return Oi(r,l,{backwards:!0})}i(Y5,"ep");function K5(r,e,t,n){var u=t[n],a=u.comment,o=u.followingNode,s=e.locStart,c=e.locEnd,l=c(a);if(o)for(var p=n+1;p0;--l){var f=r[l-1],d=f.comment,h=f.precedingNode,g=f.followingNode;zn.strictEqual(h,a),zn.strictEqual(g,o);var y=e.slice(t.locEnd(d),p);if(!c.test(y))break;p=t.locStart(d)}var E=pe(r.entries()),F;try{for(E.s();!(F=E.n()).done;){var T=Ne(F.value,2),S=T[0],w=T[1].comment;S1&&N.comments.sort(function(L,q){return t.locStart(L)-t.locStart(q)})}r.length=0}}i(Km,"np");function S0(r,e){return r.getValue().printed=!0,e.printer.printComment(r,e)}i(S0,"rp");function T0(r,e,t){for(var n=t.locStart(e)-1,u=1;u=0){Cs(Q,N);continue}}var ae=void 0;if(p?ae=[b]:(N.enclosingNode=q,N.precedingNode=L,N.followingNode=z,ae=[N,M,V,Q,ue]),Y5(M,V,F,B))N.placement="ownLine",d.apply(void 0,ee(ae))||(z?Es(z,N):L?Cs(L,N):C0(q||Q,N));else if(K5(M,V,F,B))N.placement="endOfLine",g.apply(void 0,ee(ae))||(L?Cs(L,N):z?Es(z,N):C0(q||Q,N));else if(N.placement="remaining",!E.apply(void 0,ee(ae)))if(L&&z){var Ae=a.length;Ae>0&&a[Ae-1].followingNode!==z&&Km(a,M,V),a.push(b)}else L?Cs(L,N):z?Es(z,N):C0(q||Q,N)}}catch(Re){T.e(Re)}finally{T.f()}if(Km(a,n,u),!p){var se=pe(e),ie;try{for(se.s();!(ie=se.n()).done;){var ye=ie.value;delete ye.precedingNode,delete ye.enclosingNode,delete ye.followingNode}}catch(Re){se.e(Re)}finally{se.f()}}}},"attach"),printComments:i(function(e,t,n,u){var a=Qm(e,n,u),o=a.leading,s=a.trailing;return o||s?[o,t,s]:t},"printComments"),printCommentsSeparately:Qm,printDanglingComments:i(function(e,t,n,u){var a=[],o=e.getValue();return o&&o.comments?(e.each(function(){var s=e.getValue();s.leading||s.trailing||u&&!u(s)||a.push(S0(e,t))},"comments"),a.length===0?"":n?Xm(Eu,a):H5([Eu,Xm(Eu,a)])):""},"printDanglingComments"),getSortedChildNodes:b0,ensureAllCommentsPrinted:i(function(e){if(e){var t=pe(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()}}},"ensureAllCommentsPrinted")};function Zm(r,e){var t=_m(r.stack,e);return t===-1?null:r.stack[t]}i(Zm,"sp");function _m(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}i(_m,"ap");var Q5=function(){function r(e){ce(this,r),this.stack=[e]}return i(r,"cp"),le(r,[{key:"getName",value:i(function(){var t=this.stack,n=t.length;return n>1?t[n-2]:null},"getName")},{key:"getValue",value:i(function(){return cr(this.stack)},"getValue")},{key:"getNode",value:i(function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Zm(this,t)},"getNode")},{key:"getParentNode",value:i(function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Zm(this,t+1)},"getParentNode")},{key:"call",value:i(function(t){for(var n=this.stack,u=n.length,a=cr(n),o=arguments.length,s=new Array(o>1?o-1:0),c=1;c1&&arguments[1]!==void 0?arguments[1]:0,a=_m(this.stack,u+1),o=this.stack.splice(a+1),s=t(this);return(n=this.stack).push.apply(n,ee(o)),s},"callParent")},{key:"each",value:i(function(t){for(var n=this.stack,u=n.length,a=cr(n),o=arguments.length,s=new Array(o>1?o-1:0),c=1;c1?u-1:0),o=1;o4&&arguments[4]!==void 0?arguments[4]:{},h=d.stripTrailingHardline,g=h===void 0?!1:h,y=_5(Object.assign({},p,l,{parentParser:p.parser,originalText:c}),{passThrough:!0}),E=oa.parse(c,y),F=E.ast;c=E.text;var T=F.comments;delete F.comments,ur.attach(T,F,c,y),y[Symbol.for("comments")]=T||[],y[Symbol.for("tokens")]=F.tokens||[];var S=f(F,y);return ur.ensureAllCommentsPrinted(T),g?typeof S=="string"?S.replace(/(?:\r?\n)*$/,""):Z5(S):S}(a,o,n,u,s)},n)},"printSubtree")},ev=de.builders,rT=ev.hardline,tT=ev.addAlignmentToDoc,nT=de.utils.propagateBreaks,uT=ur.printComments;function rv(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),o=s();return t>0&&(o=tT([rT,o],t,e.tabWidth)),nT(o),o;function s(l,p){return l===void 0||l===a?c(p):Array.isArray(l)?a.call.apply(a,[function(){return c(p)}].concat(ee(l))):a.call(function(){return c(p)},l)}function c(l){var p=a.getValue(),f=p&&Te(p)=="object"&&l===void 0;if(f&&u.has(p))return u.get(p);var d=function(h,g,y,E){var F=h.getValue(),T=g.printer,S,w;if(T.hasPrettierIgnore&&T.hasPrettierIgnore(h)){var B=function(b,N){var L=N.originalText,q=N[Symbol.for("comments")],z=N.locStart,M=N.locEnd,V=z(b),Q=M(b),ue=new Set,ae=pe(q),Ae;try{for(ae.s();!(Ae=ae.n()).done;){var se=Ae.value;z(se)>=V&&M(se)<=Q&&(se.printed=!0,ue.add(se))}}catch(ie){ae.e(ie)}finally{ae.f()}return{doc:L.slice(V,Q),printedComments:ue}}(F,g);S=B.doc,w=B.printedComments}else{if(F)try{S=eT.printSubtree(h,y,g,rv)}catch(b){if(Ee.PRETTIER_DEBUG)throw b}S||(S=T.print(h,g,y,E))}return T.willPrintOwnComments&&T.willPrintOwnComments(h,g)||(S=uT(h,S,g,w)),S}(a,e,s,l);return f&&u.set(p,d),d}}i(rv,"yp");var x0=rv;function tv(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)}i(tv,"Ep");function Fl(r,e,t,n){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0,o=t.locStart,s=t.locEnd,c=o(r),l=s(r);if(!(e>l||eu);var c=e.slice(u,a).search(/\S/),l=c===-1;if(!l)for(u+=c;a>u&&!/\S/.test(e[a-1]);--a);var p=Fl(n,u,t,function(E,F){return uv(t,E,F)},[],"rangeStart"),f=l?p:Fl(n,a,t,function(E){return uv(t,E)},[],"rangeEnd");if(!p||!f)return{rangeStart:0,rangeEnd:0};var d,h;if(function(E){var F=E.parser;return F==="json"||F==="json5"||F==="json-stringify"}(t)){var g=function(E,F){var T=[E.node].concat(ee(E.parentNodes)),S=new Set([F.node].concat(ee(F.parentNodes)));return T.find(function(w){return nv.has(w.type)&&S.has(w)})}(p,f);d=g,h=g}else{var y=function(E,F,T){var S=T.locStart,w=T.locEnd,B=E.node,b=F.node;if(B===b)return{startNode:B,endNode:b};var N=S(E.node),L=pe(tv(F.parentNodes)),q;try{for(L.s();!(q=L.n()).done;){var z=q.value;if(!(S(z)>=N))break;b=z}}catch(ae){L.e(ae)}finally{L.f()}var M=w(F.node),V=pe(tv(E.parentNodes)),Q;try{for(V.s();!(Q=V.n()).done;){var ue=Q.value;if(!(w(ue)<=M))break;B=ue}}catch(ae){V.e(ae)}finally{V.f()}return{startNode:B,endNode:b}}(p,f,t);d=y.startNode,h=y.endNode}return{rangeStart:Math.min(o(d),o(h)),rangeEnd:Math.max(s(d),s(h))}},"calculateRange"),findNodeAtOffset:Fl},w0=de.printer.printDocToString,iT=de.debug.printDocToDebug,oT=J.getAlignmentSize,sT=hu.guessEndOfLine,iv=hu.convertEndOfLineToChars,ov=hu.countEndOfLineChars,cT=hu.normalizeEndOfLine,As=Sm.normalize,sv=Symbol("cursor");function cv(r,e,t){var n=e.comments;return n&&(delete e.comments,ur.attach(n,e,r,t)),t[Symbol.for("comments")]=n||[],t[Symbol.for("tokens")]=e.tokens||[],t.originalText=r,n}i(cv,"Ip");function lv(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 o=av.findNodeAtOffset(u,e.cursorOffset,e);o&&o.node&&(e.cursorNode=o.node)}var s=cv(a,u,e),c=x0(u,e,t),l=w0(c,e);if(ur.ensureAllCommentsPrinted(s),t>0){var p=l.formatted.trim();l.cursorNodeStart!==void 0&&(l.cursorNodeStart-=l.formatted.indexOf(p)),l.formatted=p+iv(e.endOfLine)}if(e.cursorOffset>=0){var f,d,h,g,y;if(e.cursorNode&&l.cursorNodeText?(f=e.locStart(e.cursorNode),d=a.slice(f,e.locEnd(e.cursorNode)),h=e.cursorOffset-f,g=l.cursorNodeStart,y=l.cursorNodeText):(f=0,d=a,h=e.cursorOffset,g=0,y=l.formatted),d===y)return{formatted:l.formatted,cursorOffset:g+h,comments:s};var E=d.split("");E.splice(h,0,sv);var F=y.split(""),T=Ln.diffArrays(E,F),S=g,w=pe(T),B;try{for(w.s();!(B=w.n()).done;){var b=B.value;if(b.removed){if(b.value.includes(sv))break}else S+=b.count}}catch(N){w.e(N)}finally{w.f()}return{formatted:l.formatted,cursorOffset:S,comments:s}}return{formatted:l.formatted,cursorOffset:-1,comments:s}}i(lv,"jp");function B0(r,e,t){return typeof e!="number"||Number.isNaN(e)||e<0||e>r.length?t:e}i(B0,"Lp");function pv(r,e){var t=e.cursorOffset,n=e.rangeStart,u=e.rangeEnd;return t=B0(r,t,-1),n=B0(r,n,0),u=B0(r,u,r.length),Object.assign({},e,{cursorOffset:t,rangeStart:n,rangeEnd:u})}i(pv,"_p");function fv(r,e){var t=pv(r,e),n=t.cursorOffset,u=t.rangeStart,a=t.rangeEnd,o=t.endOfLine,s=r.charAt(0)==="\uFEFF";if(s&&(r=r.slice(1),n--,u--,a--),o==="auto"&&(o=sT(r)),r.includes("\r")){var c=i(function(p){return ov(r.slice(0,Math.max(p,0)),`\r `)},"_t98");n-=c(n),u-=c(u),a-=c(a),r=cT(r)}return{hasBOM:s,text:r,options:pv(r,Object.assign({},e,{cursorOffset:n,rangeStart:u,rangeEnd:a,endOfLine:o}))}}i(fv,"Mp");function dv(r,e){var t=oa.resolveParser(e);return!t.hasPragma||t.hasPragma(r)}i(dv,"Rp");function hv(r,e){var t,n=fv(r,As(e)),u=n.hasBOM,a=n.text,o=n.options;return o.rangeStart>=o.rangeEnd&&a!==""||o.requirePragma&&!dv(a,o)?{formatted:r,cursorOffset:e.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEndh&&c.cursorOffset=g?B+=w.length-y.length:S.cursorOffset>=0&&(B=S.cursorOffset+h);var b=f.slice(0,h)+w+f.slice(g);if(c.endOfLine!=="lf"){var N=iv(c.endOfLine);B>=0&&N===`\r `&&(B+=ov(b.slice(0,B),` `)),b=b.replace(/\n/g,N)}return{formatted:b,cursorOffset:B,comments:S.comments}}(a,o):(!o.requirePragma&&o.insertPragma&&o.printer.insertPragma&&!dv(a,o)&&(a=o.printer.insertPragma(a)),t=lv(a,o)),u&&(t.formatted="\uFEFF"+t.formatted,t.cursorOffset>=0&&t.cursorOffset++),t)}i(hv,"Vp");var Li={formatWithCursor:hv,parse:i(function(e,t,n){var u=fv(e,As(t)),a=u.text,o=u.options,s=oa.parse(a,o);return n&&(s.ast=R5(s.ast,o)),s},"parse"),formatAST:i(function(e,t){t=As(t);var n=x0(e,t);return w0(n,t)},"formatAST"),formatDoc:i(function(e,t){return hv(iT(e),Object.assign({},t,{parser:"__js_expression"})).formatted},"formatDoc"),printToDoc:i(function(e,t){t=As(t);var n=oa.parse(e,t),u=n.ast,a=n.text;return cv(a,u,t),x0(u,t)},"printToDoc"),printDocToString:i(function(e,t){return w0(e,As(t))},"printDocToString")},lT=J.getMaxContinuousCount,pT=J.getStringWidth,fT=J.getAlignmentSize,dT=J.getIndentSize,hT=J.skip,DT=J.skipWhitespace,gT=J.skipSpaces,mT=J.skipNewline,vT=J.skipToLineEnd,yT=J.skipEverythingButNewLine,ET=J.skipInlineComment,CT=J.skipTrailingComment,AT=J.hasNewline,bT=J.hasNewlineInRange,FT=J.hasSpaces,ST=J.isNextLineEmpty,TT=J.isNextLineEmptyAfterIndex,xT=J.isPreviousLineEmpty,wT=J.getNextNonSpaceNonCommentCharacterIndex,BT=J.makeString,kT=J.addLeadingComment,NT=J.addDanglingComment,PT=J.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},pr=i(function(e,t){var n=e.languageId,u=j(e,["languageId"]);return Object.assign({linguistLanguageId:n},u,t(e))},"df"),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}i(e,"t");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}i(t,"n"),r.exports={isExpression:i(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},"isExpression"),isStatement:e,isIterationStatement:i(function(u){if(u==null)return!1;switch(u.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},"isIterationStatement"),isSourceElement:i(function(u){return e(u)||u!=null&&u.type==="FunctionDeclaration"},"isSourceElement"),isProblematicIfStatement:i(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},"isProblematicIfStatement"),trailingStatement:t}})()}),Dv=ge(function(r){(function(){var e,t,n,u,a,o;function s(c){return c<=65535?String.fromCharCode(c):String.fromCharCode(Math.floor((c-65536)/1024)+55296)+String.fromCharCode((c-65536)%1024+56320)}for(i(s,"s"),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),o=0;o<128;++o)u[o]=o>=97&&o<=122||o>=65&&o<=90||o===36||o===95;for(a=new Array(128),o=0;o<128;++o)a[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===36||o===95;r.exports={isDecimalDigit:i(function(l){return 48<=l&&l<=57},"isDecimalDigit"),isHexDigit:i(function(l){return 48<=l&&l<=57||97<=l&&l<=102||65<=l&&l<=70},"isHexDigit"),isOctalDigit:i(function(l){return l>=48&&l<=55},"isOctalDigit"),isWhiteSpace:i(function(l){return l===32||l===9||l===11||l===12||l===160||l>=5760&&n.indexOf(l)>=0},"isWhiteSpace"),isLineTerminator:i(function(l){return l===10||l===13||l===8232||l===8233},"isLineTerminator"),isIdentifierStartES5:i(function(l){return l<128?u[l]:t.NonAsciiIdentifierStart.test(s(l))},"isIdentifierStartES5"),isIdentifierPartES5:i(function(l){return l<128?a[l]:t.NonAsciiIdentifierPart.test(s(l))},"isIdentifierPartES5"),isIdentifierStartES6:i(function(l){return l<128?u[l]:e.NonAsciiIdentifierStart.test(s(l))},"isIdentifierStartES6"),isIdentifierPartES6:i(function(l){return l<128?a[l]:e.NonAsciiIdentifierPart.test(s(l))},"isIdentifierPartES6")}})()}),LT=ge(function(r){(function(){var e=Dv;function t(c,l){return!(!l&&c==="yield")&&n(c,l)}i(t,"n");function n(c,l){if(l&&function(p){switch(p){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(c))return!0;switch(c.length){case 2:return c==="if"||c==="in"||c==="do";case 3:return c==="var"||c==="for"||c==="new"||c==="try";case 4:return c==="this"||c==="else"||c==="case"||c==="void"||c==="with"||c==="enum";case 5:return c==="while"||c==="break"||c==="catch"||c==="throw"||c==="const"||c==="yield"||c==="class"||c==="super";case 6:return c==="return"||c==="typeof"||c==="delete"||c==="switch"||c==="export"||c==="import";case 7:return c==="default"||c==="finally"||c==="extends";case 8:return c==="function"||c==="continue"||c==="debugger";case 10:return c==="instanceof";default:return!1}}i(n,"r");function u(c,l){return c==="null"||c==="true"||c==="false"||t(c,l)}i(u,"o");function a(c,l){return c==="null"||c==="true"||c==="false"||n(c,l)}i(a,"i");function o(c){var l,p,f;if(c.length===0||(f=c.charCodeAt(0),!e.isIdentifierStartES5(f)))return!1;for(l=1,p=c.length;l=p||!(56320<=(d=c.charCodeAt(l))&&d<=57343))return!1;f=1024*(f-55296)+(d-56320)+65536}if(!h(f))return!1;h=e.isIdentifierPartES6}return!0}i(s,"s"),r.exports={isKeywordES5:t,isKeywordES6:n,isReservedWordES5:u,isReservedWordES6:a,isRestrictedWord:i(function(l){return l==="eval"||l==="arguments"},"isRestrictedWord"),isIdentifierNameES5:o,isIdentifierNameES6:s,isIdentifierES5:i(function(l,p){return o(l)&&!u(l,p)},"isIdentifierES5"),isIdentifierES6:i(function(l,p){return s(l)&&!a(l,p)},"isIdentifierES6")}})()}),RT=ge(function(r,e){e.ast=OT,e.code=Dv,e.keyword=LT}).keyword.isIdentifierNameES5,gv=J.getLast,mv=J.hasNewline,MT=J.skipWhitespace,vv=J.isNonEmptyArray,jT=J.isNextLineEmptyAfterIndex,yv=nr.locStart,k0=nr.locEnd,Ev=nr.hasSameLocStart,Cv="(?:(?=.)\\s)",$T=new RegExp("^".concat(Cv,"*:")),VT=new RegExp("^".concat(Cv,"*::"));function Av(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"}i(Av,"Bf");function bs(r){return r.type==="Block"||r.type==="CommentBlock"||r.type==="MultiLine"}i(bs,"kf");function bv(r){return r.type==="Line"||r.type==="CommentLine"||r.type==="SingleLine"||r.type==="HashbangComment"||r.type==="HTMLOpen"||r.type==="HTMLClose"}i(bv,"Nf");var qT=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Fv(r){return r&&qT.has(r.type)}i(Fv,"Of");function N0(r){return r.type==="NumericLiteral"||r.type==="Literal"&&typeof r.value=="number"}i(N0,"If");function P0(r){return r.type==="StringLiteral"||r.type==="Literal"&&typeof r.value=="string"}i(P0,"jf");function Fs(r){return r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}i(Fs,"Lf");function I0(r){return la(r)&&r.callee.type==="Identifier"&&(r.callee.name==="async"||r.callee.name==="inject"||r.callee.name==="fakeAsync")}i(I0,"_f");function O0(r){return r.type==="JSXElement"||r.type==="JSXFragment"}i(O0,"Mf");function Sv(r){return r.kind==="get"||r.kind==="set"}i(Sv,"Rf");function Tv(r){return Sv(r)||Ev(r,r.value)}i(Tv,"Vf");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"]),xv=/^(skip|[fx]?(it|describe|test))$/;function la(r){return r&&(r.type==="CallExpression"||r.type==="OptionalCallExpression")}i(la,"Uf");function pa(r){return r&&(r.type==="MemberExpression"||r.type==="OptionalMemberExpression")}i(pa,"zf");function L0(r,e){return O0(e)?q0(e):Ri(e,Rt.Leading,function(t){return mv(r,k0(t))})}i(L0,"Hf");function wv(r){return/^(\d+|\d+\.\d+)$/.test(r)}i(wv,"Gf");function Bv(r){return r.quasis.some(function(e){return e.value.raw.includes(` `)})}i(Bv,"Jf");function kv(r){return r.extra?r.extra.raw:r.raw}i(kv,"Xf");var Nv={"==":!0,"!=":!0,"===":!0,"!==":!0},Sl={"*":!0,"/":!0,"%":!0},R0={">>":!0,">>>":!0,"<<":!0},Pv={},Tl=pe([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries()),Iv;try{for(Tl.s();!(Iv=Tl.n()).done;){var Ov=Ne(Iv.value,2),GT=Ov[0],HT=Ov[1],xl=pe(HT),Lv;try{for(xl.s();!(Lv=xl.n()).done;){var zT=Lv.value;Pv[zT]=GT}}catch(r){xl.e(r)}finally{xl.f()}}}catch(r){Tl.e(r)}finally{Tl.f()}function M0(r){return Pv[r]}i(M0,"ed");var j0=new WeakMap;function $0(r){if(j0.has(r))return j0.get(r);var e=[];return r.this&&e.push(r.this),Array.isArray(r.parameters)?e.push.apply(e,ee(r.parameters)):Array.isArray(r.params)&&e.push.apply(e,ee(r.params)),r.rest&&e.push(r.rest),j0.set(r,e),e}i($0,"nd");var V0=new WeakMap;function Rv(r){return r.value.trim()==="prettier-ignore"&&!r.unignore}i(Rv,"od");function q0(r){return r&&(r.prettierIgnore||Ri(r,Rt.PrettierIgnore))}i(q0,"id");var Rt={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Mv=i(function(e,t){if(typeof e=="function"&&(t=e,e=0),e||t)return function(n,u,a){return!(e&Rt.Leading&&!n.leading||e&Rt.Trailing&&!n.trailing||e&Rt.Dangling&&(n.leading||n.trailing)||e&Rt.Block&&!bs(n)||e&Rt.Line&&!bv(n)||e&Rt.First&&u!==0||e&Rt.Last&&u!==a.length-1||e&Rt.PrettierIgnore&&!Rv(n)||t&&!t(n))}},"sd");function Ri(r,e,t){if(!r||!vv(r.comments))return!1;var n=Mv(e,t);return!n||r.comments.some(n)}i(Ri,"ad");function jv(r,e,t){if(!r||!Array.isArray(r.comments))return[];var n=Mv(e,t);return n?r.comments.filter(n):r.comments}i(jv,"cd");function $v(r){return la(r)||r.type==="NewExpression"||r.type==="ImportExpression"}i($v,"ld");var O={getFunctionParameters:$0,iterateFunctionParametersPath:i(function(e,t){var n=e.getValue(),u=0,a=i(function(s){return t(s,u++)},"o");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")},"iterateFunctionParametersPath"),getCallArguments:i(function(e){if(V0.has(e))return V0.get(e);var t=e.type==="ImportExpression"?[e.source]:e.arguments;return V0.set(e,t),t},"getCallArguments"),iterateCallArgumentsPath:i(function(e,t){e.getValue().type==="ImportExpression"?e.call(function(n){return t(n,0)},"source"):e.each(t,"arguments")},"iterateCallArgumentsPath"),hasRestParameter:i(function(e){if(e.rest)return!0;var t=$0(e);return t.length>0&&gv(t).type==="RestElement"},"hasRestParameter"),getLeftSidePathName:i(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.")},"getLeftSidePathName"),getParentExportDeclaration:i(function(e){var t=e.getParentNode();return e.getName()==="declaration"&&Fv(t)?t:null},"getParentExportDeclaration"),getTypeScriptMappedTypeModifier:i(function(e,t){return e==="+"?"+"+t:e==="-"?"-"+t:t},"getTypeScriptMappedTypeModifier"),hasFlowAnnotationComment:i(function(e){return e&&bs(e[0])&&VT.test(e[0].value)},"hasFlowAnnotationComment"),hasFlowShorthandAnnotationComment:i(function(e){return e.extra&&e.extra.parenthesized&&vv(e.trailingComments)&&bs(e.trailingComments[0])&&$T.test(e.trailingComments[0].value)},"hasFlowShorthandAnnotationComment"),hasLeadingOwnLineComment:L0,hasNakedLeftSide:Av,hasNode:i(function r(e,t){if(!e||Te(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)})},"e"),hasIgnoreComment:i(function(e){return q0(e.getValue())},"hasIgnoreComment"),hasNodeIgnoreComment:q0,identity:i(function(e){return e},"identity"),isBinaryish:i(function(e){return UT.has(e.type)},"isBinaryish"),isBlockComment:bs,isCallLikeExpression:$v,isLineComment:bv,isPrettierIgnoreComment:Rv,isCallExpression:la,isMemberExpression:pa,isExportDeclaration:Fv,isFlowAnnotationComment:i(function(e,t){var n=yv(t),u=MT(e,k0(t));return u!==!1&&e.slice(n,n+2)==="/*"&&e.slice(u,u+2)==="*/"},"isFlowAnnotationComment"),isFunctionCompositionArgs:i(function(e){if(e.length<=1)return!1;var t=0,n=pe(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 o=pe(a.arguments),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;if(Fs(c))return!0}}catch(l){o.e(l)}finally{o.f()}}}}catch(l){n.e(l)}finally{n.f()}return!1},"isFunctionCompositionArgs"),isFunctionNotation:Tv,isFunctionOrArrowExpression:Fs,isGetterOrSetter:Sv,isJestEachTemplateLiteral:i(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))},"isJestEachTemplateLiteral"),isJsxNode:O0,isLiteral:i(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"},"isLiteral"),isLongCurriedCallExpression:i(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},"isLongCurriedCallExpression"),isSimpleCallArgument:i(function r(e,t){if(t>=2)return!1;var n=i(function(o){return r(o,t+1)},"r"),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):$v(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)))},"e"),isMemberish:i(function(e){return pa(e)||e.type==="BindExpression"&&Boolean(e.object)},"isMemberish"),isNumericLiteral:N0,isSignedNumericLiteral:i(function(e){return e.type==="UnaryExpression"&&(e.operator==="+"||e.operator==="-")&&N0(e.argument)},"isSignedNumericLiteral"),isObjectType:i(function(e){return e.type==="ObjectTypeAnnotation"||e.type==="TSTypeLiteral"},"isObjectType"),isObjectTypePropertyAFunction:i(function(e){return!(e.type!=="ObjectTypeProperty"&&e.type!=="ObjectTypeInternalSlot"||e.value.type!=="FunctionTypeAnnotation"||e.static||Tv(e))},"isObjectTypePropertyAFunction"),isSimpleType:i(function(e){return!!e&&(!(e.type!=="GenericTypeAnnotation"&&e.type!=="TSTypeReference"||e.typeParameters)||!!WT.has(e.type))},"isSimpleType"),isSimpleNumber:wv,isSimpleTemplateLiteral:i(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})},"isSimpleTemplateLiteral"),isStringLiteral:P0,isStringPropSafeToUnquote:i(function(e,t){return t.parser!=="json"&&P0(e.key)&&kv(e.key).slice(1,-1)===e.key.value&&(RT(e.key.value)&&!((t.parser==="typescript"||t.parser==="babel-ts")&&e.type==="ClassProperty")||wv(e.key.value)&&String(Number(e.key.value))===e.key.value&&(t.parser==="babel"||t.parser==="espree"||t.parser==="meriyah"))},"isStringPropSafeToUnquote"),isTemplateOnItsOwnLine:i(function(e,t){return(e.type==="TemplateLiteral"&&Bv(e)||e.type==="TaggedTemplateExpression"&&Bv(e.quasi))&&!mv(t,yv(e),{backwards:!0})},"isTemplateOnItsOwnLine"),isTestCall:i(function r(e,t){if(e.type!=="CallExpression")return!1;if(e.arguments.length===1){if(I0(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 I0(e.arguments[0])}else if((e.arguments.length===2||e.arguments.length===3)&&(e.callee.type==="Identifier"&&xv.test(e.callee.name)||function(n){return pa(n.callee)&&n.callee.object.type==="Identifier"&&n.callee.property.type==="Identifier"&&xv.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])||P0(e.arguments[0])))return!(e.arguments[2]&&!N0(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])&&$0(e.arguments[1]).length<=1)||I0(e.arguments[1]));return!1},"e"),isTheOnlyJsxElementInMarkdown:i(function(e,t){if(e.parentParser!=="markdown"&&e.parentParser!=="mdx")return!1;var n=t.getNode();if(!n.expression||!O0(n.expression))return!1;var u=t.getParentNode();return u.type==="Program"&&u.body.length===1},"isTheOnlyJsxElementInMarkdown"),isTSXFile:i(function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},"isTSXFile"),isTypeAnnotationAFunction:i(function(e){return!(e.type!=="TypeAnnotation"&&e.type!=="TSTypeAnnotation"||e.typeAnnotation.type!=="FunctionTypeAnnotation"||e.static||Ev(e,e.typeAnnotation))},"isTypeAnnotationAFunction"),isNextLineEmpty:i(function(e,t){var n=t.originalText;return jT(n,k0(e))},"isNextLineEmpty"),needsHardlineAfterDanglingComment:i(function(e){if(!Ri(e))return!1;var t=gv(jv(e,Rt.Dangling));return t&&!bs(t)},"needsHardlineAfterDanglingComment"),rawText:kv,returnArgumentHasLeadingComment:i(function(e,t){if(L0(e.originalText,t))return!0;if(Av(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,L0(e.originalText,u))return!0}var a;return!1},"returnArgumentHasLeadingComment"),shouldPrintComma:i(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")},"shouldPrintComma"),isBitwiseOperator:i(function(e){return Boolean(R0[e])||e==="|"||e==="^"||e==="&"},"isBitwiseOperator"),shouldFlatten:i(function(e,t){return M0(t)===M0(e)&&e!=="**"&&(!Nv[e]||!Nv[t])&&!(t==="%"&&Sl[e]||e==="%"&&Sl[t])&&(t===e||!Sl[t]||!Sl[e])&&(!R0[e]||!R0[t])},"shouldFlatten"),startsWithNoLookaheadToken:i(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}},"e"),getPrecedence:M0,hasComment:Ri,getComments:jv,CommentCheckFlags:Rt},Vv=J.getStringWidth,XT=J.getIndentSize,Cu=de.builders,qv=Cu.join,U0=Cu.hardline,wl=Cu.softline,Uv=Cu.group,W0=Cu.indent,JT=Cu.align,Bl=Cu.lineSuffixBoundary,YT=Cu.addAlignmentToDoc,Wv=de.printer.printDocToString,KT=de.utils.mapDoc,QT=O.isBinaryish,ZT=O.isJestEachTemplateLiteral,_T=O.isSimpleTemplateLiteral,Gv=O.hasComment,ex=O.isMemberExpression;function Hv(r){return r.replace(/([\\`]|\${)/g,"\\$1")}i(Hv,"Bd");var Au={printTemplateLiteral:i(function(e,t,n){var u=e.getValue();if(u.type==="TemplateLiteral"&&ZT(u,e.getParentNode())){var a=function(p,f,d){var h=p.getNode(),g=h.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(g.length>1||g.some(function(se){return se.length>0})){f.__inJestEach=!0;var y=p.map(d,"expressions");f.__inJestEach=!1;for(var E=[],F=y.map(function(se){return"${"+Wv(se,Object.assign({},f,{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"}),T=[{hasLineBreak:!1,cells:[]}],S=1;S0}))),q=pe(L.filter(function(se){return!se.hasLineBreak})),z;try{for(q.s();!(z=q.n()).done;){var M=z.value.cells,V=pe(M.entries()),Q;try{for(V.s();!(Q=V.n()).done;){var ue=Ne(Q.value,2),ae=ue[0],Ae=ue[1];N[ae]=Math.max(N[ae],Vv(Ae))}}catch(se){V.e(se)}finally{V.f()}}}catch(se){q.e(se)}finally{q.f()}return E.push(Bl,"`",W0([U0,qv(U0,L.map(function(se){return qv(" | ",se.cells.map(function(ie,ye){return se.hasLineBreak?ie:ie+" ".repeat(N[ye]-Vv(ie))}))}))]),U0,"`"),E}}(e,n,t);if(a)return a}var o="expressions";u.type==="TSTemplateLiteralType"&&(o="types");var s=[],c=e.map(t,o),l=_T(u);return l&&(c=c.map(function(p){return Wv(p,Object.assign({},n,{printWidth:Number.POSITIVE_INFINITY})).formatted})),s.push(Bl,"`"),e.each(function(p){var f=p.getName();if(s.push(t()),f2&&d[0].trim()===""&&d[1].trim()==="",E=h>2&&d[h-1].trim()===""&&d[h-2].trim()==="",F=d.every(function(S){return/^\s*(?:#[^\n\r]*)?$/.test(S)});if(!p&&/#[^\n\r]*$/.test(d[h-1]))return null;var T=null;T=F?vx(d):n(f,{parser:"graphql"},{stripTrailingHardline:!0}),T?(T=gx(T,!1),!l&&y&&s.push(""),s.push(T),!p&&E&&s.push("")):l||p||!y||s.push(""),g&&s.push(g)}return["`",Dx([Ss,Xv(Ss,s)]),Ss,"`"]},"Qd"),Nl=de.builders,Jv=Nl.indent,Ex=Nl.line,Cx=Nl.hardline,Pl=Nl.group,Ax=de.utils.mapDoc,bx=Au.printTemplateExpressions,Fx=Au.uncookTemplateElementValue,X0=0,Sx=i(function(e,t,n,u,a){var o=a.parser,s=e.getValue(),c=X0;X0=X0+1>>>0;var l=i(function(w){return"PRETTIER_HTML_PLACEHOLDER_".concat(w,"_").concat(c,"_IN_JS")},"s"),p=s.quasis.map(function(S,w,B){return w===B.length-1?S.value.cooked:S.value.cooked+l(w)}).join(""),f=bx(e,t);if(f.length===0&&p.trim().length===0)return"``";var d=new RegExp(l("(\\d+)"),"g"),h=0,g=n(p,{parser:o,__onHtmlRoot:i(function(w){h=w.children.length},"__onHtmlRoot")},{stripTrailingHardline:!0}),y=Ax(g,function(S){if(typeof S!="string")return S;for(var w=[],B=S.split(d),b=0;b1?Jv(Pl(y)):Pl(y),F,"`"])},"sh"),Tx=O.hasComment,Yv=O.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 Il(n.object)||Qv(n);case"CallExpression":return Il(n.callee)||n.callee.type==="MemberExpression"&&(n.callee.object.type==="MemberExpression"&&(Il(n.callee.object.object)||Qv(n.callee.object))||n.callee.object.type==="CallExpression"&&Il(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(Kv))}(r)?"css":function(e){var t=e.getValue(),n=e.getParentNode();return Zv(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 Zv(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(Kv))}(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}i(xx,"lh");var Kv=[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 Il(r){return r.type==="Identifier"&&r.name==="styled"}i(Il,"fh");function Qv(r){return/^[A-Z]/.test(r.object.name)&&r.property.name==="extend"}i(Qv,"dh");function Zv(r,e){return Tx(r,Yv.Block|Yv.Leading,function(t){var n=t.value;return n===" ".concat(e," ")})}i(Zv,"hh");var wx=i(function(e,t,n,u){var a=e.getValue();if(!(a.type!=="TemplateLiteral"||function(s){var c=s.quasis;return c.some(function(l){var p=l.value.cooked;return p===null})}(a))){var o=xx(e);return o?o==="markdown"?ax(e,t,n):o==="css"?hx(e,t,n):o==="graphql"?yx(e,t,n):o==="html"||o==="angular"?Sx(e,t,n,u,{parser:o}):void 0:void 0}},"mh"),Bx=O.isBlockComment,kx=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Mi=i(function(e){var t=pe(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()}},"Dh");function _v(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"||Te(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(y){return y.name.name==="jsx"})){var n=pe(e.children),u;try{for(n.s();!(u=n.n()).done;){var a=u.value,o=a.type,s=a.expression;o==="JSXExpressionContainer"&&s.type==="TemplateLiteral"&&Mi(s)}}catch(y){n.e(y)}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 c=r.expression||r.callee;if(r.type==="Decorator"&&c.type==="CallExpression"&&c.callee.name==="Component"&&c.arguments.length===1){var l=r.expression.arguments[0].properties,p=pe(e.expression.arguments[0].properties.entries()),f;try{for(p.s();!(f=p.n()).done;){var d=Ne(f.value,2),h=d[0],g=d[1];switch(l[h].key.name){case"styles":g.value.type==="ArrayExpression"&&Mi(g.value.elements[0]);break;case"template":g.value.type==="TemplateLiteral"&&Mi(g.value)}}}catch(y){p.e(y)}finally{p.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(y){return Bx(y)&&["GraphQL","HTML"].some(function(E){return y.value===" ".concat(E," ")})})||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]}i(_v,"Eh"),_v.ignoredProperties=kx;var Nx=_v,ey=i(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 `:` `}},"Ch"),ry=ey;ry.graceful=function(r){return typeof r=="string"&&ey(r)||` `};var Px=i(function(e){var t=e.match(ty);return t?t[0].trimLeft():""},"Ah"),Ix=i(function(e){var t=e.match(ty);return t&&t[0]?e.substring(t[0].length):e},"Fh"),Ox=i(function(e){return iy(e).pragmas},"xh"),Lx=iy,Rx=i(function(e){var t=e.comments,n=t===void 0?"":t,u=e.pragmas,a=u===void 0?{}:u,o=(0,Y0().default)(n)||J0().EOL,s=" *",c=Object.keys(a),l=c.map(function(d){return oy(d,a[d])}).reduce(function(d,h){return d.concat(h)},[]).map(function(d){return" * "+d+o}).join("");if(!n){if(c.length===0)return"";if(c.length===1&&!Array.isArray(a[c[0]])){var p=a[c[0]];return"".concat("/**"," ").concat(oy(c[0],p)[0]).concat(" */")}}var f=n.split(o).map(function(d){return"".concat(s," ").concat(d)}).join(o)+o;return"/**"+o+(n?f:"")+(n&&c.length?s+o:"")+l+" */"},"wh");function J0(){var r=YF;return J0=i(function(){return r},"Th"),r}i(J0,"Th");function Y0(){var r=function(e){return e&&e.__esModule?e:{default:e}}(ry);return Y0=i(function(){return r},"Bh"),r}i(Y0,"Bh");var Mx=/\*\/$/,jx=/^\/\*\*/,ty=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,$x=/(^|\s+)\/\/([^\r\n]*)/g,ny=/^(\r?\n)+/,Vx=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,uy=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,qx=/(\r?\n|^) *\* ?/g,ay=[];function iy(r){var e=(0,Y0().default)(r)||J0().EOL;r=r.replace(jx,"").replace(Mx,"").replace(qx,"$1");for(var t="";t!==r;)t=r,r=r.replace(Vx,"".concat(e,"$1 $2").concat(e));r=r.replace(ny,"").trimRight();for(var n=Object.create(null),u=r.replace(uy,"").replace(ny,"").trimRight(),a;a=uy.exec(r);){var o=a[2].replace($x,"");typeof n[a[1]]=="string"||Array.isArray(n[a[1]])?n[a[1]]=ay.concat(n[a[1]],o):n[a[1]]=o}return{comments:u,pragmas:n}}i(iy,"Rh");function oy(r,e){return ay.concat(e).map(function(t){return"@".concat(r," ").concat(t).trim()})}i(oy,"Vh");var Ol=Object.defineProperty({extract:Px,strip:Ix,parse:Ox,parseWithComments:Lx,print:Rx},"__esModule",{value:!0}),Ux=Ol.parseWithComments,Wx=Ol.strip,Gx=Ol.extract,Hx=Ol.print,zx=J.getShebang,Xx=hu.normalizeEndOfLine;function sy(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}}i(sy,"Jh");var K0={hasPragma:i(function(e){var t=Object.keys(sy(e).pragmas);return t.includes("prettier")||t.includes("format")},"hasPragma"),insertPragma:i(function(e){var t=sy(e),n=t.shebang,u=t.text,a=t.pragmas,o=t.comments,s=Wx(u),c=Hx({pragmas:Object.assign({format:""},a),comments:o.trimStart()});return(n?"".concat(n,` `):"")+Xx(c)+(s.startsWith(` `)?` `:` `)+s},"insertPragma")},cy=J.getLast,Jx=J.hasNewline,Q0=J.getNextNonSpaceNonCommentCharacterIndexWithStartIndex,fa=J.getNextNonSpaceNonCommentCharacter,Yx=J.hasNewlineInRange,Nr=J.addLeadingComment,Xr=J.addTrailingComment,Xn=J.addDanglingComment,Kx=J.getNextNonSpaceNonCommentCharacterIndex,ly=J.isNonEmptyArray,py=O.isBlockComment,Ll=O.getFunctionParameters,Z0=O.isPrettierIgnoreComment,Qx=O.isJsxNode,Zx=O.hasFlowShorthandAnnotationComment,fy=O.hasFlowAnnotationComment,_x=O.hasIgnoreComment,ew=O.isCallLikeExpression,rw=O.getCallArguments,dy=O.isCallExpression,tw=O.isMemberExpression,hy=nr.locStart,Mt=nr.locEnd;function ji(r,e){var t=(r.body||r.properties).find(function(n){var u=n.type;return u!=="EmptyStatement"});t?Nr(t,e):Xn(r,e)}i(ji,"Em");function _0(r,e){r.type==="BlockStatement"?ji(r,e):Nr(r,e)}i(_0,"bm");function nw(r){var e=r.comment,t=r.followingNode;return!(!t||!by(e))&&(Nr(t,e),!0)}i(nw,"Cm");function ed(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,Mt)===")"?(Xr(t,e),!0):t===n.consequent&&u===n.alternate?(t.type==="BlockStatement"?Xr(t,e):Xn(n,e),!0):u.type==="BlockStatement"?(ji(u,e),!0):u.type==="IfStatement"?(_0(u.consequent,e),!0):n.consequent===u&&(Nr(u,e),!0)}i(ed,"vm");function rd(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,Mt)===")"?(Xr(t,e),!0):u.type==="BlockStatement"?(ji(u,e),!0):n.body===u&&(Nr(u,e),!0)}i(rd,"Am");function Dy(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?(Xr(t,e),!0):u.type==="BlockStatement"?(ji(u,e),!0):u.type==="TryStatement"?(_0(u.finalizer,e),!0):u.type==="CatchClause"&&(_0(u.body,e),!0))}i(Dy,"Fm");function uw(r){var e=r.comment,t=r.enclosingNode,n=r.followingNode;return!(!tw(t)||!n||n.type!=="Identifier")&&(Nr(t,e),!0)}i(uw,"xm");function aw(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode,u=r.followingNode,a=r.text,o=t&&!Yx(a,Mt(t),hy(e));return!(t&&o||!n||n.type!=="ConditionalExpression"&&n.type!=="TSConditionalType"||!u)&&(Nr(u,e),!0)}i(aw,"Sm");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")&&(Xr(n.value.left,e),!0)}i(iw,"wm");function gy(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(ly(n.decorators)&&(!u||u.type!=="Decorator"))return Xr(cy(n.decorators),e),!0;if(n.body&&u===n.body)return ji(n.body,e),!0;if(u)for(var a=0,o=["implements","extends","mixins"];a"&&(Xn(t,e),!0)}i(sw,"Nm");function cw(r){var e=r.comment,t=r.enclosingNode,n=r.text;return fa(n,e,Mt)===")"&&(t&&(Ay(t)&&Ll(t).length===0||ew(t)&&rw(t).length===0)?(Xn(t,e),!0):!(!t||t.type!=="MethodDefinition"&&t.type!=="TSAbstractMethodDefinition"||Ll(t.value).length!==0)&&(Xn(t.value,e),!0))}i(cw,"Pm");function vy(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&&Ay(n)&&fa(a,e,Mt)===")")return Xr(t,e),!0;if(n&&n.type==="FunctionDeclaration"&&u&&u.type==="BlockStatement"){var o=function(){var s=Ll(n);if(s.length>0)return Q0(a,Mt(cy(s)));var c=Q0(a,Mt(n.id));return c!==!1&&Q0(a,c+1)}();if(hy(e)>o)return ji(u,e),!0}return!1}i(vy,"Om");function yy(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="ImportSpecifier")&&(Nr(t,e),!0)}i(yy,"Im");function Ey(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="LabeledStatement")&&(Nr(t,e),!0)}i(Ey,"jm");function lw(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="ContinueStatement"&&t.type!=="BreakStatement"||t.label)&&(Xr(t,e),!0)}i(lw,"Lm");function pw(r){var e=r.comment,t=r.precedingNode,n=r.enclosingNode;return!!(dy(n)&&t&&n.callee===t&&n.arguments.length>0)&&(Nr(n.arguments[0],e),!0)}i(pw,"_m");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")&&Z0(e)&&(u.types[0].prettierIgnore=!0,e.unignore=!0),!1):(Z0(e)&&(u.prettierIgnore=!0,e.unignore=!0),!!t&&(Xr(t,e),!0))}i(fw,"Mm");function dw(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="Property"&&t.type!=="ObjectProperty")&&(Nr(t,e),!0)}i(dw,"Rm");function td(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?Xn(u,e):Nr(u,e),!0):t&&t.type==="Program"&&t.body.length===0&&t.directives&&t.directives.length===0?(a?Xn(t,e):Nr(t,e),!0):!(!n||n.type!=="Program"||n.body.length!==0||!t||t.type!=="ModuleExpression")&&(Xn(n,e),!0)}i(td,"Vm");function hw(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="ForInStatement"&&t.type!=="ForOfStatement")&&(Nr(t,e),!0)}i(hw,"$m");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,Mt(e)))&&(Xr(t,e),!0)}i(Dw,"qm");function gw(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="AssignmentPattern")&&(Nr(t,e),!0)}i(gw,"Wm");function mw(r){var e=r.comment,t=r.enclosingNode;return!(!t||t.type!=="TypeAlias")&&(Nr(t,e),!0)}i(mw,"Um");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"&&!py(e))&&(Nr(n,e),!0)}i(vw,"zm");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,Mt)!==";")&&(Xr(t,e),!0)}i(yw,"Hm");function Cy(r){var e=r.comment,t=r.enclosingNode,n=r.followingNode;if(Z0(e)&&t&&t.type==="TSMappedType"&&n&&n.type==="TSTypeParameter"&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}i(Cy,"Gm");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?(Nr(u.name,e),!0):!(!t||t.type!=="TSTypeParameter"||!t.constraint)&&(Xr(t.constraint,e),!0))}i(Ew,"Jm");function Ay(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"}i(Ay,"Xm");function by(r){return py(r)&&r.value[0]==="*"&&/@type\b/.test(r.value)}i(by,"Ym");var $i={handleOwnLineComment:i(function(e){return[Cy,vy,uw,ed,rd,Dy,gy,yy,hw,fw,td,Dw,gw,my,Ey].some(function(t){return t(e)})},"handleOwnLineComment"),handleEndOfLineComment:i(function(e){return[nw,vy,aw,yy,ed,rd,Dy,gy,Ey,pw,dw,td,mw,vw].some(function(t){return t(e)})},"handleEndOfLineComment"),handleRemainingComment:i(function(e){return[Cy,ed,rd,iw,cw,my,td,sw,ow,Ew,lw,yw].some(function(t){return t(e)})},"handleRemainingComment"),isTypeCastComment:by,getCommentChildNodes:i(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"&&Ll(e.value).length===0&&!e.value.returnType&&!ly(e.value.typeParameters)&&e.value.body)return[].concat(ee(e.decorators||[]),[e.key,e.value.body])},"getCommentChildNodes"),willPrintOwnComments:i(function(e){var t=e.getValue(),n=e.getParentNode();return(t&&(Qx(t)||Zx(t)||dy(n)&&(fy(t.leadingComments)||fy(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")},"willPrintOwnComments")},Cw=O.getFunctionParameters,Aw=O.getLeftSidePathName,bw=O.hasFlowShorthandAnnotationComment,Fw=O.hasNakedLeftSide,Fy=O.hasNode,Sw=O.isBitwiseOperator,Sy=O.startsWithNoLookaheadToken,Tw=O.shouldFlatten,Ty=O.getPrecedence,xy=O.isCallExpression,xw=O.isMemberExpression;function nd(r,e){var t=r.getParentNode();if(!t)return!1;var n=r.getName(),u=r.getNode();if(e.__isInHtmlInterpolation&&!e.bracketSpacing&&function(S){switch(S.type){case"ObjectExpression":return!0;default:return!1}}(u)&&Ts(r))return!0;if(function(S){return S.type==="BlockStatement"||S.type==="BreakStatement"||S.type==="ClassBody"||S.type==="ClassDeclaration"||S.type==="ClassMethod"||S.type==="ClassProperty"||S.type==="PropertyDefinition"||S.type==="ClassPrivateProperty"||S.type==="ContinueStatement"||S.type==="DebuggerStatement"||S.type==="DeclareClass"||S.type==="DeclareExportAllDeclaration"||S.type==="DeclareExportDeclaration"||S.type==="DeclareFunction"||S.type==="DeclareInterface"||S.type==="DeclareModule"||S.type==="DeclareModuleExports"||S.type==="DeclareVariable"||S.type==="DoWhileStatement"||S.type==="EnumDeclaration"||S.type==="ExportAllDeclaration"||S.type==="ExportDefaultDeclaration"||S.type==="ExportNamedDeclaration"||S.type==="ExpressionStatement"||S.type==="ForInStatement"||S.type==="ForOfStatement"||S.type==="ForStatement"||S.type==="FunctionDeclaration"||S.type==="IfStatement"||S.type==="ImportDeclaration"||S.type==="InterfaceDeclaration"||S.type==="LabeledStatement"||S.type==="MethodDefinition"||S.type==="ReturnStatement"||S.type==="SwitchStatement"||S.type==="ThrowStatement"||S.type==="TryStatement"||S.type==="TSDeclareFunction"||S.type==="TSEnumDeclaration"||S.type==="TSImportEqualsDeclaration"||S.type==="TSInterfaceDeclaration"||S.type==="TSModuleDeclaration"||S.type==="TSNamespaceExportDeclaration"||S.type==="TypeAlias"||S.type==="VariableDeclaration"||S.type==="WhileStatement"||S.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 wy(r,e)||u.type==="SequenceExpression";case"Decorator":if(n==="expression"){for(var a=!1,o=!1,s=u;s;)switch(s.type){case"MemberExpression":o=!0,s=s.object;break;case"CallExpression":if(o||a)return!0;a=!0,s=s.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(Sy(u,!0))return!0;break;case"ArrowFunctionExpression":if(n==="body"&&u.type!=="SequenceExpression"&&Sy(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(S){for(var w=0,B=S.getValue();B;){var b=S.getParentNode(w++);if(b&&b.type==="ForStatement"&&b.init===B)return!0;B=b}return!1}(r))return!0;if(u.operator==="|>"&&u.extra&&u.extra.parenthesized){var c=r.getParentNode(1);if(c.type==="BinaryExpression"&&c.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 l=u.operator,p=u.type;if(!l&&p!=="TSTypeAssertion")return!0;var f=Ty(l),d=t.operator,h=Ty(d);return h>f||n==="right"&&h===f||h===f&&!Tw(d,l)||(h");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 g=t.type==="NullableTypeAnnotation"?r.getParentNode(1):t;return g.type==="UnionTypeAnnotation"||g.type==="IntersectionTypeAnnotation"||g.type==="ArrayTypeAnnotation"||g.type==="NullableTypeAnnotation"||t.type==="FunctionTypeParam"&&t.name===null&&Cw(u).some(function(S){return S.typeAnnotation&&S.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 y=r.getParentNode(1);return y.type==="Program"||y.type==="BlockStatement"}return n==="object"&&t.type==="MemberExpression"&&typeof u.value=="number";case"AssignmentExpression":{var E=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"||!E||E.type!=="ForStatement"||E.init!==t&&E.update!==t)&&(n!=="value"||t.type!=="Property"||!E||E.type!=="ObjectPattern"||!E.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 F=r.getParentNode(1);if(n==="object"&&t.type==="MemberExpression"||n==="callee"&&(t.type==="CallExpression"||t.type==="NewExpression")||t.type==="TSNonNullExpression"&&F.type==="MemberExpression"&&F.object===t)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(n==="callee"&&(t.type==="BindExpression"||t.type==="NewExpression"))for(var T=u;T;)switch(T.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":T=T.object;break;case"TaggedTemplateExpression":T=T.tag;break;case"TSNonNullExpression":T=T.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"||xy(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"&&!xy(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(S){return Fy(S,function(w){return w.type==="ObjectTypeAnnotation"&&Fy(w,function(B){return B.type==="FunctionTypeAnnotation"||void 0})||void 0})}(u)}return!1}i(nd,"cg");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 cr(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}i(Ts,"lg");function wy(r,e){var t=r.getValue(),n=r.getParentNode();return t.type==="FunctionExpression"||t.type==="ClassExpression"?n.type==="ExportDefaultDeclaration"||!nd(r,e):!(!Fw(t)||n.type!=="ExportDefaultDeclaration"&&nd(r,e))&&r.call.apply(r,[function(u){return wy(u,e)}].concat(ee(Aw(r,t))))}i(wy,"pg");var Vi=nd,By=i(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}},"dg"),xs=de.builders,ky=xs.join,Ny=xs.line,ww=xs.group,Py=xs.softline,Bw=xs.indent,Iy={isVueEventBindingExpression:i(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}},"e"),printHtmlBinding:i(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 o=ky([",",Ny],a.map(n,"params")),s=a.getValue(),c=s.params;return c.length===1?o:["(",Bw([Py,ww(o)]),Py,")"]},"program","body",0):t.__isVueBindings?e.call(function(a){return ky([",",Ny],a.map(n,"params"))},"program","body",0):void 0},"printHtmlBinding")},kw=ur.printComments,Nw=J.getLast,bu=de.builders,Pw=bu.join,Oy=bu.line,Rl=bu.softline,Jn=bu.group,ud=bu.indent,Iw=bu.align,Ow=bu.ifBreak,Lw=bu.indentIfBreak,ad=de.utils,Rw=ad.cleanDoc,Mw=ad.getDocParts,jw=ad.isConcat,$w=O.hasLeadingOwnLineComment,Ly=O.isBinaryish,Ry=O.isJsxNode,My=O.shouldFlatten,jy=O.hasComment,$y=O.CommentCheckFlags,Vy=O.isCallExpression,Vw=O.isMemberExpression,qw=0;function qy(r,e,t,n,u){var a=[],o=r.getValue();if(Ly(o)){My(o.operator,o.left.operator)?a=[].concat(ee(a),ee(r.call(function(E){return qy(E,e,t,!0,u)},"left"))):a.push(Jn(e("left")));var s=Ml(o),c=(o.operator==="|>"||o.type==="NGPipeExpression"||o.operator==="|"&&t.parser==="__vue_expression")&&!$w(t.originalText,o.right),l=o.type==="NGPipeExpression"?"|":o.operator,p=o.type==="NGPipeExpression"&&o.arguments.length>0?Jn(ud([Rl,": ",Pw([Rl,":",Ow(" ")],r.map(e,"arguments").map(function(E){return Iw(2,Jn(E))}))])):"",f=s?[l," ",e("right"),p]:[c?Oy:"",l,c?" ":Oy,e("right"),p],d=r.getParentNode(),h=jy(o.left,$y.Trailing|$y.Line),g=h||!(u&&o.type==="LogicalExpression")&&d.type!==o.type&&o.left.type!==o.type&&o.right.type!==o.type;if(a.push(c?"":" ",g?Jn(f,{shouldBreak:h}):f),n&&jy(o)){var y=Rw(kw(r,a,t));a=jw(y)||y.type==="fill"?Mw(y):[y]}}else a.push(Jn(e()));return a}i(qy,"qg");function Ml(r){return r.type==="LogicalExpression"&&(r.right.type==="ObjectExpression"&&r.right.properties.length>0||r.right.type==="ArrayExpression"&&r.right.elements.length>0||!!Ry(r.right))}i(Ml,"Wg");var id={printBinaryishExpression:i(function(e,t,n){var u=e.getValue(),a=e.getParentNode(),o=e.getParentNode(1),s=u!==a.body&&(a.type==="IfStatement"||a.type==="WhileStatement"||a.type==="SwitchStatement"||a.type==="DoWhileStatement"),c=qy(e,n,t,!1,s);if(s)return c;if(Vy(a)&&a.callee===u||a.type==="UnaryExpression"||Vw(a)&&!a.computed)return Jn([ud([Rl].concat(ee(c))),Rl]);var l=a.type==="ReturnStatement"||a.type==="ThrowStatement"||a.type==="JSXExpressionContainer"&&o.type==="JSXAttribute"||u.operator!=="|"&&a.type==="JsExpressionRoot"||u.type!=="NGPipeExpression"&&(a.type==="NGRoot"&&t.parser==="__ng_binding"||a.type==="NGMicrosyntaxExpression"&&o.type==="NGMicrosyntax"&&o.body.length===1)||u===a.body&&a.type==="ArrowFunctionExpression"||u!==a.body&&a.type==="ForStatement"||a.type==="ConditionalExpression"&&o.type!=="ReturnStatement"&&o.type!=="ThrowStatement"&&!Vy(o)||a.type==="TemplateLiteral",p=a.type==="AssignmentExpression"||a.type==="VariableDeclarator"||a.type==="ClassProperty"||a.type==="PropertyDefinition"||a.type==="TSAbstractClassProperty"||a.type==="ClassPrivateProperty"||a.type==="ObjectProperty"||a.type==="Property",f=Ly(u.left)&&My(u.operator,u.left.operator);if(l||Ml(u)&&!f||!Ml(u)&&p)return Jn(c);if(c.length===0)return"";var d=Ry(u.right),h=c.findIndex(function(S){return typeof S!="string"&&!Array.isArray(S)&&S.type==="group"}),g=c.slice(0,h===-1?1:h+1),y=c.slice(g.length,d?-1:void 0),E=Symbol("logicalChain-"+ ++qw),F=Jn([].concat(ee(g),[ud(y)]),{id:E});if(!d)return F;var T=Nw(c);return Jn([F,Lw(T,{groupId:E})])},"printBinaryishExpression"),shouldInlineLogicalExpression:Ml},od=de.builders,Uw=od.join,Uy=od.line,Ww=od.group,Gw=O.hasNode,Hw=O.hasComment,zw=O.getComments,Xw=id.printBinaryishExpression;function Wy(r,e,t){return r.type==="NGMicrosyntaxKeyedExpression"&&r.key.name==="of"&&e===1&&t.body[0].type==="NGMicrosyntaxLet"&&t.body[0].value===null}i(Wy,"Qg");var Jw={printAngular:i(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([";",Uy],e.map(function(c){return function(l){return Gw(l.getValue(),function(p){switch(p.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}(c)?n():["(",n(),")"]},"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[u.prefix,": ",u.value.trim()];case"NGMicrosyntax":return e.map(function(c,l){return[l===0?"":Wy(c.getValue(),l,u)?" ":[";",Uy],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(),o=e.getParentNode(),s=Wy(u,a,o)||(a===1&&(u.key.name==="then"||u.key.name==="else")||a===2&&u.key.name==="else"&&o.body[a-1].type==="NGMicrosyntaxKeyedExpression"&&o.body[a-1].key.name==="then")&&o.body[0].type==="NGMicrosyntaxExpression";return[n("key"),s?" ":": ",n("expression")]}case"NGMicrosyntaxLet":return["let ",n("key"),u.value===null?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")]}},"printAngular")},Gy=ur.printComments,Hy=ur.printDanglingComments,En=de.builders,jl=En.line,fr=En.hardline,Jr=En.softline,da=En.group,ha=En.indent,Yw=En.conditionalGroup,Kw=En.fill,sd=En.ifBreak,zy=En.lineSuffixBoundary,Xy=En.join,Jy=de.utils.willBreak,ws=J.getLast,Qw=J.getPreferredQuote,$l=O.isJsxNode,Bs=O.rawText,Vl=O.isLiteral,Yy=O.isCallExpression,cd=O.isStringLiteral,Zw=O.isBinaryish,jt=O.hasComment,Da=O.CommentCheckFlags,_w=O.hasNodeIgnoreComment,e8=$i.willPrintOwnComments,ld=i(function(e){return e===""||e===jl||e===fr||e===Jr},"xy");function r8(r,e,t){var n=r.getValue();if(n.type==="JSXElement"&&function(ue){if(ue.children.length===0)return!0;if(ue.children.length>1)return!1;var ae=ue.children[0];return Vl(ae)&&!ks(ae)}(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(ee(r.map(t,"children")),[a]);n.children=n.children.map(function(ue){return function(ae){return ae.type==="JSXExpressionContainer"&&Vl(ae.expression)&&ae.expression.value===" "&&!jt(ae.expression)}(ue)?{type:"JSXText",value:" ",raw:" "}:ue});for(var o=n.children.filter($l).length>0,s=n.children.filter(function(ue){return ue.type==="JSXExpressionContainer"}).length>1,c=n.type==="JSXElement"&&n.openingElement.attributes.length>1,l=Jy(u)||o||c||s,p=r.getParentNode().rootMarker==="mdx",f=e.singleQuote?"{' '}":'{" "}',d=p?" ":sd([f,Jr]," "),h=function(ue,ae,Ae,se,ie){var ye=[];return ue.each(function(Re,xe,Pe){var Le=Re.getValue();if(Vl(Le)){var Ge=Bs(Le);if(ks(Le)){var Me=Ge.split(ql);if(Me[0]===""){if(ye.push(""),Me.shift(),/\n/.test(Me[0])){var Qe=Pe[xe+1];ye.push(Qy(ie,Me[1],Le,Qe))}else ye.push(se);Me.shift()}var Se;if(ws(Me)===""&&(Me.pop(),Se=Me.pop()),Me.length===0)return;var Fe=pe(Me.entries()),Ze;try{for(Fe.s();!(Ze=Fe.n()).done;){var Be=Ne(Ze.value,2),Ie=Be[0],ze=Be[1];Ie%2==1?ye.push(jl):ye.push(ze)}}catch(ln){Fe.e(ln)}finally{Fe.f()}if(Se!==void 0)if(/\n/.test(Se)){var rr=Pe[xe+1];ye.push(Qy(ie,ws(ye),Le,rr))}else ye.push(se);else{var Ar=Pe[xe+1];ye.push(Ky(ie,ws(ye),Le,Ar))}}else/\n/.test(Ge)?Ge.match(/\n/g).length>1&&ye.push("",fr):ye.push("",se)}else{var Gt=Ae();ye.push(Gt);var _r=Pe[xe+1];if(_r&&ks(_r)){var Bn=u8(Bs(_r)).split(ql)[0];ye.push(Ky(ie,Bn,Le,_r))}else ye.push(fr)}},"children"),ye}(r,0,t,d,n.openingElement&&n.openingElement.name&&n.openingElement.name.name==="fbt"),g=n.children.some(function(ue){return ks(ue)}),y=h.length-2;y>=0;y--){var E=h[y]===""&&h[y+1]==="",F=h[y]===fr&&h[y+1]===""&&h[y+2]===fr,T=(h[y]===Jr||h[y]===fr)&&h[y+1]===""&&h[y+2]===d,S=h[y]===d&&h[y+1]===""&&(h[y+2]===Jr||h[y+2]===fr),w=h[y]===d&&h[y+1]===""&&h[y+2]===d,B=h[y]===Jr&&h[y+1]===""&&h[y+2]===fr||h[y]===fr&&h[y+1]===""&&h[y+2]===Jr;F&&g||E||T||w||B?h.splice(y,2):S&&h.splice(y+1,2)}for(;h.length>0&&ld(ws(h));)h.pop();for(;h.length>1&&ld(h[0])&&ld(h[1]);)h.shift(),h.shift();var b=[],N=pe(h.entries()),L;try{for(N.s();!(L=N.n()).done;){var q=Ne(L.value,2),z=q[0],M=q[1];if(M===d){if(z===1&&h[z-1]===""){if(h.length===2){b.push(f);continue}b.push([f,fr]);continue}if(z===h.length-1){b.push(f);continue}if(h[z-1]===""&&h[z-2]===fr){b.push(f);continue}}b.push(M),Jy(M)&&(l=!0)}}catch(ue){N.e(ue)}finally{N.f()}var V=g?Kw(b):da(b,{shouldBreak:!0});if(p)return V;var Q=da([u,ha([fr,V]),fr,a]);return l?Q:Yw([da([u].concat(ee(h),[a])),Q])}i(r8,"Sy");function Ky(r,e,t,n){return r?"":t.type==="JSXElement"&&!t.closingElement||n&&n.type==="JSXElement"&&!n.closingElement?e.length===1?Jr:fr:Jr}i(Ky,"wy");function Qy(r,e,t,n){return r?fr:e.length===1?t.type==="JSXElement"&&!t.closingElement||n&&n.type==="JSXElement"&&!n.closingElement?fr:Jr:fr}i(Qy,"Ty");function t8(r,e,t){return function(n,u,a){var o=n.getParentNode();if(!o||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[o.type])return u;var s=n.match(void 0,function(l){return l.type==="ArrowFunctionExpression"},Yy,function(l){return l.type==="JSXExpressionContainer"}),c=Vi(n,a);return da([c?"":sd("("),ha([Jr,u]),Jr,c?"":sd(")")],{shouldBreak:s})}(r,Gy(r,r8(r,e,t),e),e)}i(t8,"By");function Zy(r,e,t){var n=r.getValue();return["{",r.call(function(u){var a=["...",t()],o=u.getValue();return jt(o)&&e8(u)?[ha([Jr,Gy(u,a,e)]),Jr]:a},n.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}i(Zy,"ky");var ql=new RegExp(`([ \r ]+)`),n8=new RegExp(`[^ \r ]`),u8=i(function(e){return e.replace(new RegExp("(?:^"+ql.source+"|"+ql.source+"$)"),"")},"Oy");function ks(r){return Vl(r)&&(n8.test(Bs(r))||!/\n/.test(Bs(r)))}i(ks,"Iy");var _y={hasJsxIgnoreComment:i(function(e){var t=e.getValue(),n=e.getParentNode();if(!(n&&t&&$l(t)&&$l(n)))return!1;for(var u=null,a=n.children.indexOf(t);a>0;a--){var o=n.children[a-1];if(o.type!=="JSXText"||ks(o)){u=o;break}}return u&&u.type==="JSXExpressionContainer"&&u.expression.type==="JSXEmptyExpression"&&_w(u.expression)},"hasJsxIgnoreComment"),printJsx:i(function(e,t,n){var u=e.getValue();switch(u.type){case"JSXAttribute":return function(a,o,s){var c=a.getValue(),l=[];if(l.push(s("name")),c.value){var p;if(cd(c.value)){var f=Bs(c.value).replace(/'/g,"'").replace(/"/g,'"'),d=Qw(f,o.jsxSingleQuote?"'":'"'),h=d==="'"?"'":""";f=f.slice(1,-1).replace(new RegExp(d,"g"),h),p=[d,f,d]}else p=s("value");l.push("=",p)}return l}(e,t,n);case"JSXIdentifier":return String(u.name);case"JSXNamespacedName":return Xy(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return Xy(".",[n("object"),n("property")]);case"JSXSpreadAttribute":return Zy(e,t,n);case"JSXSpreadChild":return Zy(e,t,n);case"JSXExpressionContainer":return function(a,o,s){var c=a.getValue(),l=a.getParentNode(0),p=c.expression.type==="JSXEmptyExpression"||!jt(c.expression)&&(c.expression.type==="ArrayExpression"||c.expression.type==="ObjectExpression"||c.expression.type==="ArrowFunctionExpression"||Yy(c.expression)||c.expression.type==="FunctionExpression"||c.expression.type==="TemplateLiteral"||c.expression.type==="TaggedTemplateExpression"||c.expression.type==="DoExpression"||$l(l)&&(c.expression.type==="ConditionalExpression"||Zw(c.expression)));return da(p?["{",s("expression"),zy,"}"]:["{",ha([Jr,s("expression")]),Jr,zy,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return t8(e,t,n);case"JSXOpeningElement":return function(a,o,s){var c=a.getValue(),l=c.name&&jt(c.name)||c.typeParameters&&jt(c.typeParameters);if(c.selfClosing&&c.attributes.length===0&&!l)return["<",s("name"),s("typeParameters")," />"];if(c.attributes&&c.attributes.length===1&&c.attributes[0].value&&cd(c.attributes[0].value)&&!c.attributes[0].value.value.includes(` `)&&!l&&!jt(c.attributes[0]))return da(["<",s("name"),s("typeParameters")," "].concat(ee(a.map(s,"attributes")),[c.selfClosing?" />":">"]));var p=c.attributes.length>0&&jt(ws(c.attributes),Da.Trailing),f=c.attributes.length===0&&!l||o.jsxBracketSameLine&&(!l||c.attributes.length>0)&&!p,d=c.attributes&&c.attributes.some(function(h){return h.value&&cd(h.value)&&h.value.value.includes(` `)});return da(["<",s("name"),s("typeParameters"),ha(a.map(function(){return[jl,s()]},"attributes")),c.selfClosing?jl:f?">":Jr,c.selfClosing?"/>":f?"":">"],{shouldBreak:d})}(e,t,n);case"JSXClosingElement":return function(a,o,s){var c=a.getValue(),l=[];l.push(""),l}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(a,o){var s=a.getValue(),c=jt(s),l=jt(s,Da.Line),p=s.type==="JSXOpeningFragment";return[p?"<":""]}(e,t);case"JSXEmptyExpression":return function(a,o){var s=a.getValue(),c=jt(s,Da.Line);return[Hy(a,o,!c),c?fr:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement")}},"printJsx")},a8=J.isNonEmptyArray,pd=de.builders,i8=pd.indent,o8=pd.join,s8=pd.line,c8=O.isFlowAnnotationComment,Dr={printOptionalToken:i(function(e){var t=e.getValue();return!t.optional||t.type==="Identifier"&&t===e.getParentNode().key?"":t.type==="OptionalCallExpression"||t.type==="OptionalMemberExpression"&&t.computed?"?.":"?"},"printOptionalToken"),printFunctionTypeParameters:i(function(e,t,n){var u=e.getValue();return u.typeArguments?n("typeArguments"):u.typeParameters?n("typeParameters"):""},"printFunctionTypeParameters"),printBindExpressionCallee:i(function(e,t,n){return["::",n("callee")]},"printBindExpressionCallee"),printTypeScriptModifiers:i(function(e,t,n){var u=e.getValue();return a8(u.modifiers)?[o8(" ",e.map(n,"modifiers"))," "]:""},"printTypeScriptModifiers"),printTypeAnnotation:i(function(e,t,n){var u=e.getValue();if(!u.typeAnnotation)return"";var a=e.getParentNode(),o=u.definite||a&&a.type==="VariableDeclarator"&&a.definite,s=a.type==="DeclareFunction"&&a.id===u;return c8(t.originalText,u.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[s?"":o?"!: ":": ",n("typeAnnotation")]},"printTypeAnnotation"),adjustClause:i(function(e,t,n){return e.type==="EmptyStatement"?";":e.type==="BlockStatement"||n?[" ",t]:i8([s8,t])},"adjustClause")},e2=ur.printDanglingComments,ga=de.builders,r2=ga.line,Ul=ga.softline,fd=ga.hardline,dd=ga.group,l8=ga.indent,t2=ga.ifBreak,p8=ga.fill,f8=J.getLast,d8=J.hasNewline,h8=O.shouldPrintComma,Wl=O.hasComment,Ns=O.CommentCheckFlags,n2=O.isNextLineEmpty,D8=O.isNumericLiteral,g8=O.isSignedNumericLiteral,m8=nr.locStart,v8=Dr.printOptionalToken,y8=Dr.printTypeAnnotation;function u2(r,e){return r.elements.length>1&&r.elements.every(function(t){return t&&(D8(t)||g8(t)&&!Wl(t.argument))&&!Wl(t,Ns.Trailing|Ns.Line,function(n){return!d8(e.originalText,m8(n),{backwards:!0})})})}i(u2,"sD");function a2(r,e,t,n){var u=[],a=[];return r.each(function(o){u.push(a,dd(n())),a=[",",r2],o.getValue()&&n2(o.getValue(),e)&&a.push(Ul)},t),u}i(a2,"aD");function E8(r,e,t,n){var u=[];return r.each(function(a,o,s){var c=o===s.length-1;u.push([t(),c?n:","]),c||u.push(n2(a.getValue(),e)?[fd,fd]:Wl(s[o+1],Ns.Leading|Ns.Line)?fd:r2)},"elements"),p8(u)}i(E8,"cD");var Ps={printArray:i(function(e,t,n){var u=e.getValue(),a=[],o=u.type==="TupleExpression"?"#[":"[";if(u.elements.length===0)Wl(u,Ns.Dangling)?a.push(dd([o,e2(e,t),Ul,"]"])):a.push(o,"]");else{var s=f8(u.elements),c=!(s&&s.type==="RestElement"),l=s===null,p=Symbol("array"),f=!t.__inJestEach&&u.elements.length>1&&u.elements.every(function(g,y,E){var F=g&&g.type;if(F!=="ArrayExpression"&&F!=="ObjectExpression")return!1;var T=E[y+1];if(T&&F!==T.type)return!1;var S=F==="ArrayExpression"?"elements":"properties";return g[S]&&g[S].length>1}),d=u2(u,t),h=c?l?",":h8(t)?d?t2(",","",{groupId:p}):t2(","):"":"";a.push(dd([o,l8([Ul,d?E8(e,t,n,h):[a2(e,t,"elements",n),h],e2(e,t,!0)]),Ul,"]"],{shouldBreak:f,id:p}))}return a.push(v8(e),y8(e,t,n)),a},"printArray"),printArrayItems:a2,isConciselyPrintedArray:u2},C8=ur.printDanglingComments,i2=J.getLast,A8=J.getPenultimate,b8=O.getFunctionParameters,ma=O.hasComment,hd=O.CommentCheckFlags,F8=O.isFunctionCompositionArgs,S8=O.isJsxNode,T8=O.isLongCurriedCallExpression,x8=O.shouldPrintComma,w8=O.getCallArguments,o2=O.iterateCallArgumentsPath,B8=O.isNextLineEmpty,k8=O.isCallExpression,Fu=de.builders,Gl=Fu.line,Hl=Fu.hardline,s2=Fu.softline,zl=Fu.group,c2=Fu.indent,N8=Fu.conditionalGroup,P8=Fu.ifBreak,I8=Fu.breakParent,Xl=de.utils.willBreak,O8=ht.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,hd.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}i(Is,"LD");var Dd=i(function(e,t,n){var u=e.getValue(),a=u.type==="ImportExpression",o=w8(u);if(o.length===0)return["(",C8(e,t,!0),")"];if(function(F){return F.length===2&&F[0].type==="ArrowFunctionExpression"&&b8(F[0]).length===0&&F[0].body.type==="BlockStatement"&&F[1].type==="ArrayExpression"&&!F.some(function(T){return ma(T)})}(o))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];var s=!1,c=!1,l=o.length-1,p=[];o2(e,function(F,T){var S=F.getNode(),w=[n()];T===l||(B8(S,t)?(T===0&&(c=!0),s=!0,w.push(",",Hl,Hl)):w.push(",",Gl)),p.push(w)});var f=a||u.callee&&u.callee.type==="Import"||!x8(t,"all")?"":",";function d(){return zl(["(",c2([Gl].concat(p)),f,Gl,")"],{shouldBreak:!0})}if(i(d,"p"),s||e.getParentNode().type!=="Decorator"&&F8(o))return d();var h=function(F){if(F.length!==2)return!1;var T=Ne(F,2),S=T[0],w=T[1];return S.type==="ModuleExpression"&&function(B){return B.type==="ObjectExpression"&&B.properties.length===1&&B.properties[0].type==="ObjectProperty"&&B.properties[0].key.type==="Identifier"&&B.properties[0].key.name==="type"&&B.properties[0].value.type==="StringLiteral"&&B.properties[0].value.value==="module"}(w)?!0:!ma(S)&&(S.type==="FunctionExpression"||S.type==="ArrowFunctionExpression"&&S.body.type==="BlockStatement")&&w.type!=="FunctionExpression"&&w.type!=="ArrowFunctionExpression"&&w.type!=="ConditionalExpression"&&!Is(w)}(o),g=function(F,T){var S=i2(F),w=A8(F);return!ma(S,hd.Leading)&&!ma(S,hd.Trailing)&&Is(S)&&(!w||w.type!==S.type)&&(F.length!==2||w.type!=="ArrowFunctionExpression"||S.type!=="ArrayExpression")&&!(F.length>1&&S.type==="ArrayExpression"&&L8(S,T))}(o,t);if(h||g){if(h?p.slice(1).some(Xl):p.slice(0,-1).some(Xl))return d();var y=[];try{e.try(function(){o2(e,function(F,T){h&&T===0&&(y=[[n([],{expandFirstArg:!0}),p.length>1?",":"",c?Hl:Gl,c?Hl:""]].concat(ee(p.slice(1)))),g&&T===l&&(y=[].concat(ee(p.slice(0,-1)),[n([],{expandLastArg:!0})]))})})}catch(F){if(F instanceof O8)return d();throw F}return[p.some(Xl)?I8:"",N8([["("].concat(ee(y),[")"]),h?["(",zl(y[0],{shouldBreak:!0})].concat(ee(y.slice(1)),[")"]):["("].concat(ee(p.slice(0,-1)),[zl(i2(y),{shouldBreak:!0}),")"]),d()])]}var E=["(",c2([s2].concat(p)),P8(f),s2,")"];return T8(e)?E:zl(E,{shouldBreak:p.some(Xl)||s})},"_D"),Jl=de.builders,gd=Jl.softline,l2=Jl.group,p2=Jl.indent,R8=Jl.label,M8=O.isNumericLiteral,f2=O.isMemberExpression,d2=O.isCallExpression,j8=Dr.printOptionalToken;function h2(r,e,t){var n=t("property"),u=r.getValue(),a=j8(r);return u.computed?!u.property||M8(u.property)?[a,"[",n,"]"]:l2([a,"[",p2([gd,n]),gd,"]"]):[a,".",n]}i(h2,"HD");var D2={printMemberExpression:i(function(e,t,n){var u=e.getValue(),a=e.getParentNode(),o,s=0;do o=e.getParentNode(s),s++;while(o&&(f2(o)||o.type==="TSNonNullExpression"));var c=n("object"),l=h2(e,t,n),p=o&&(o.type==="NewExpression"||o.type==="BindExpression"||o.type==="AssignmentExpression"&&o.left.type!=="Identifier")||u.computed||u.object.type==="Identifier"&&u.property.type==="Identifier"&&!f2(a)||(a.type==="AssignmentExpression"||a.type==="VariableDeclarator")&&(d2(u.object)&&u.object.arguments.length>0||u.object.type==="TSNonNullExpression"&&d2(u.object.expression)&&u.object.expression.arguments.length>0||c.label==="member-chain");return R8(c.label==="member-chain"?"member-chain":"member",[c,p?l:l2(p2([gd,l]))])},"printMemberExpression"),printMemberLookup:h2},md=ur.printComments,qi=J.getLast,$8=J.isNextLineEmptyAfterIndex,V8=J.getNextNonSpaceNonCommentCharacterIndex,Su=O.isCallExpression,vd=O.isMemberExpression,q8=O.isFunctionOrArrowExpression,U8=O.isLongCurriedCallExpression,Os=O.isMemberish,g2=O.isNumericLiteral,W8=O.isSimpleCallArgument,Ls=O.hasComment,Yl=O.CommentCheckFlags,G8=O.isNextLineEmpty,H8=nr.locEnd,va=de.builders,z8=va.join,Kl=va.hardline,yd=va.group,X8=va.indent,J8=va.conditionalGroup,Y8=va.breakParent,K8=va.label,Ed=de.utils.willBreak,Q8=D2.printMemberLookup,m2=Dr.printOptionalToken,v2=Dr.printFunctionTypeParameters,Z8=Dr.printBindExpressionCallee,_8=i(function(e,t,n){var u=e.getParentNode(),a=!u||u.type==="ExpressionStatement",o=[];function s(M){var V=t.originalText,Q=V8(V,M,H8);return V.charAt(Q)===")"?Q!==!1&&$8(V,Q+1):G8(M,t)}i(s,"u");function c(M){var V=M.getValue();Su(V)&&(Os(V.callee)||Su(V.callee))?(o.unshift({node:V,printed:[md(M,[m2(M),v2(M,t,n),Dd(M,t,n)],t),s(V)?Kl:""]}),M.call(function(Q){return c(Q)},"callee")):Os(V)?(o.unshift({node:V,needsParens:Vi(M,t),printed:md(M,vd(V)?Q8(M,t,n):Z8(M,t,n),t)}),M.call(function(Q){return c(Q)},"object")):V.type==="TSNonNullExpression"?(o.unshift({node:V,printed:md(M,"!",t)}),M.call(function(Q){return c(Q)},"expression")):o.unshift({node:V,printed:n()})}i(c,"s");var l=e.getValue();o.unshift({node:l,printed:[m2(e),v2(e,t,n),Dd(e,t,n)]}),l.callee&&e.call(function(M){return c(M)},"callee");for(var p=[],f=[o[0]],d=1;d0&&p.push(f);var y=p.length>=2&&!Ls(p[1][0].node)&&function(M){var V=M[1].length>0&&M[1][0].node.computed;if(M[0].length===1){var Q=M[0][0].node;return Q.type==="ThisExpression"||Q.type==="Identifier"&&(g(Q.name)||a&&function(ae){return ae.length<=t.tabWidth}(Q.name)||V)}var ue=qi(M[0]).node;return vd(ue)&&ue.property.type==="Identifier"&&(g(ue.property.name)||V)}(p);function E(M){var V=M.map(function(Q){return Q.printed});return M.length>0&&qi(M).needsParens?["("].concat(ee(V),[")"]):V}i(E,"m");var F=p.map(E),T=F,S=y?3:2,w=Qf(p),B=w.slice(1,-1).some(function(M){return Ls(M.node,Yl.Leading)})||w.slice(0,-1).some(function(M){return Ls(M.node,Yl.Trailing)})||p[S]&&Ls(p[S][0].node,Yl.Leading);if(p.length<=S&&!B)return U8(e)?T:yd(T);var b=qi(p[y?1:0]).node,N=!Su(b)&&s(b),L=[E(p[0]),y?p.slice(1,2).map(E):"",N?Kl:"",function(M){return M.length===0?"":X8(yd([Kl,z8(Kl,M.map(E))]))}(p.slice(y?2:1))],q=o.map(function(M){var V=M.node;return V}).filter(Su),z;return z=B||q.length>2&&q.some(function(M){return!M.arguments.every(function(V){return W8(V,0)})})||F.slice(0,-1).some(Ed)||function(){var M=qi(qi(p)).node,V=qi(F);return Su(M)&&Ed(V)&&q.slice(0,-1).some(function(Q){return Q.arguments.some(q8)})}()?yd(L):[Ed(T)||N?Y8:"",J8([T,L])],K8("member-chain",z)},"CE"),y2=de.builders,eB=y2.join,rB=y2.group,E2=O.getCallArguments,tB=O.hasFlowAnnotationComment,nB=O.isCallExpression,uB=O.isMemberish,aB=O.isStringLiteral,iB=O.isTemplateOnItsOwnLine,oB=O.isTestCall,sB=O.iterateCallArgumentsPath,cB=Dr.printOptionalToken,C2=Dr.printFunctionTypeParameters,A2={printCallExpression:i(function(e,t,n){var u=e.getValue(),a=e.getParentNode(),o=u.type==="NewExpression",s=u.type==="ImportExpression",c=cB(e),l=E2(u);if(l.length>0&&(!s&&!o&&function(h,g){if(h.callee.type!=="Identifier")return!1;if(h.callee.name==="require")return!0;if(h.callee.name==="define"){var y=E2(h);return g.type==="ExpressionStatement"&&(y.length===1||y.length===2&&y[0].type==="ArrayExpression"||y.length===3&&aB(y[0])&&y[1].type==="ArrayExpression")}return!1}(u,a)||l.length===1&&iB(l[0],t.originalText)||!o&&oB(u,a))){var p=[];return sB(e,function(){p.push(n())}),[o?"new ":"",n("callee"),c,C2(e,t,n),"(",eB(", ",p),")"]}var f=(t.parser==="babel"||t.parser==="babel-flow")&&u.callee&&u.callee.type==="Identifier"&&tB(u.callee.trailingComments);if(f&&(u.callee.trailingComments[0].printed=!0),!s&&!o&&uB(u.callee)&&!e.call(function(h){return Vi(h,t)},"callee"))return _8(e,t,n);var d=[o?"new ":"",s?"import":n("callee"),c,f?"/*:: ".concat(u.callee.trailingComments[0].value.slice(2).trim()," */"):"",C2(e,t,n),Dd(e,t,n)];return s||nB(u.callee)?rB(d):d},"printCallExpression")},lB=J.isNonEmptyArray,pB=J.getStringWidth,Ql=de.builders,Zl=Ql.line,vt=Ql.group,Cd=Ql.indent,fB=Ql.indentIfBreak,dB=de.utils.cleanDoc,hB=O.hasLeadingOwnLineComment,b2=O.isBinaryish,F2=O.isStringLiteral,DB=O.isLiteral,gB=O.isNumericLiteral,mB=O.isCallExpression,vB=O.isMemberExpression,yB=O.getCallArguments,EB=O.rawText,S2=O.hasComment,CB=O.isSignedNumericLiteral,T2=id.shouldInlineLogicalExpression,AB=A2.printCallExpression;function Ad(r,e,t,n,u,a){var o=function(l,p,f,d,h){var g=l.getValue(),y=g[h];if(!y)return"only-left";var E=!_l(y);if(l.match(_l,x2,function(T){return!E||T.type!=="ExpressionStatement"&&T.type!=="VariableDeclaration"}))return E?y.type==="ArrowFunctionExpression"&&y.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!E&&_l(y.right)||hB(p.originalText,y))return"break-after-operator";if(y.type==="CallExpression"&&y.callee.name==="require"||p.parser==="json5"||p.parser==="json")return"never-break-after-operator";if(function(T){if(x2(T)){var S=T.left||T.id;return S.type==="ObjectPattern"&&S.properties.length>2&&S.properties.some(function(w){return(w.type==="ObjectProperty"||w.type==="Property")&&(!w.shorthand||w.value&&w.value.type==="AssignmentPattern")})}return!1}(g))return"break-lhs";var F=function(T,S,w){if(T.type!=="ObjectProperty"&&T.type!=="Property")return!1;S=dB(S);var B=3;return typeof S=="string"&&pB(S)3&&arguments[3]!==void 0?arguments[3]:!1,u=r.getValue(),a=i(function(){return w2(r,e,t,!0)},"i");if(u.type==="TSNonNullExpression")return r.call(a,"expression");if(mB(u)){if(AB(r,e,t).label==="member-chain")return!1;var o=yB(u);return!!(o.length===0||o.length===1&&function(s,c){var l=c.printWidth;if(S2(s))return!1;var p=.25*l;if(s.type==="ThisExpression"||s.type==="Identifier"&&s.name.length<=p||CB(s)&&!S2(s.argument))return!0;var f=s.type==="Literal"&&"regex"in s&&s.regex.pattern||s.type==="RegExpLiteral"&&s.pattern;return f?f.length<=p:F2(s)?EB(s).length<=p:s.type==="TemplateLiteral"?s.expressions.length===0&&s.quasis[0].value.raw.length<=p&&!s.quasis[0].value.raw.includes(` `):DB(s)}(o[0],e))&&r.call(a,"callee")}return vB(u)?r.call(a,"object"):n&&(u.type==="Identifier"||u.type==="ThisExpression")}i(w2,"ob");var Rs={printVariableDeclarator:i(function(e,t,n){return Ad(e,t,n,n("id")," =","init")},"printVariableDeclarator"),printAssignmentExpression:i(function(e,t,n){var u=e.getValue();return Ad(e,t,n,n("left"),[" ",u.operator],"right")},"printAssignmentExpression"),printAssignment:Ad},bB=J.getNextNonSpaceNonCommentCharacter,FB=ur.printDanglingComments,Ui=de.builders,SB=Ui.line,B2=Ui.hardline,k2=Ui.softline,TB=Ui.group,xB=Ui.indent,wB=Ui.ifBreak,N2=de.utils,P2=N2.removeLines,bd=N2.willBreak,Fd=O.getFunctionParameters,BB=O.iterateFunctionParametersPath,kB=O.isSimpleType,NB=O.isTestCall,PB=O.isTypeAnnotationAFunction,Sd=O.isObjectType,IB=O.isObjectTypePropertyAFunction,OB=O.hasRestParameter,LB=O.shouldPrintComma,RB=O.hasComment,MB=O.isNextLineEmpty,jB=nr.locEnd,$B=ht.ArgExpansionBailout,VB=Dr.printFunctionTypeParameters;function I2(r){if(!r)return!1;var e=Fd(r);if(e.length!==1)return!1;var t=Ne(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")&&Sd(n.typeAnnotation.typeAnnotation)||n.type==="FunctionTypeParam"&&Sd(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))}i(I2,"kb");var ya={printFunctionParameters:i(function(e,t,n,u,a){var o=e.getValue(),s=Fd(o),c=a?VB(e,n,t):"";if(s.length===0)return[c,"(",FB(e,n,!0,function(g){return bB(n.originalText,g,jB)===")"}),")"];var l=e.getParentNode(),p=NB(l),f=I2(o),d=[];if(BB(e,function(g,y){var E=y===s.length-1;E&&o.rest&&d.push("..."),d.push(t()),E||(d.push(","),p||f?d.push(" "):MB(s[y],n)?d.push(B2,B2):d.push(SB))}),u){if(bd(c)||bd(d))throw new $B;return TB([P2(c),"(",P2(d),")"])}var h=s.every(function(g){return!g.decorators});return f&&h||p?[c,"("].concat(d,[")"]):(IB(l)||PB(l)||l.type==="TypeAlias"||l.type==="UnionTypeAnnotation"||l.type==="TSUnionType"||l.type==="IntersectionTypeAnnotation"||l.type==="FunctionTypeAnnotation"&&l.returnType===o)&&s.length===1&&s[0].name===null&&o.this!==s[0]&&s[0].typeAnnotation&&o.typeParameters===null&&kB(s[0].typeAnnotation)&&!o.rest?n.arrowParens==="always"?["("].concat(d,[")"]):d:[c,"(",xB([k2].concat(d)),wB(!OB(o)&&LB(n,"all")?",":""),k2,")"]},"printFunctionParameters"),shouldHugFunctionParameters:I2,shouldGroupFunctionParameters:i(function(e,t){var n=function(o){var s;return o.returnType?(s=o.returnType,s.typeAnnotation&&(s=s.typeAnnotation)):o.typeAnnotation&&(s=o.typeAnnotation),s}(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 Fd(e).length===1&&(Sd(n)||bd(t))},"shouldGroupFunctionParameters")},qB=ur.printComments,UB=ur.printDanglingComments,WB=J.getLast,Ea=de.builders,Ca=Ea.group,O2=Ea.join,Td=Ea.line,Ms=Ea.softline,Aa=Ea.indent,GB=Ea.align,ep=Ea.ifBreak,L2=nr.locStart,HB=O.isSimpleType,js=O.isObjectType,R2=O.hasLeadingOwnLineComment,zB=O.isObjectTypePropertyAFunction,XB=O.shouldPrintComma,JB=Rs.printAssignment,YB=ya.printFunctionParameters,KB=ya.shouldGroupFunctionParameters,QB=Ps.printArrayItems;function M2(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}i(M2,"Qb");var tt={printOpaqueType:i(function(e,t,n){var u=t.semi?";":"",a=e.getValue(),o=[];return o.push("opaque type ",n("id"),n("typeParameters")),a.supertype&&o.push(": ",n("supertype")),a.impltype&&o.push(" = ",n("impltype")),o.push(u),o},"printOpaqueType"),printTypeAlias:i(function(e,t,n){var u=t.semi?";":"",a=e.getValue(),o=[];a.declare&&o.push("declare "),o.push("type ",n("id"),n("typeParameters"));var s=a.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[JB(e,t,n,o," =",s),u]},"printTypeAlias"),printIntersectionType:i(function(e,t,n){for(var u=e.getValue(),a=e.map(n,"types"),o=[],s=!1,c=0;c1&&(s=!0),o.push(" & ",c>1?Aa(a[c]):a[c])):o.push(Aa([" &",Td,a[c]]));return Ca(o)},"printIntersectionType"),printUnionType:i(function(e,t,n){var u=e.getValue(),a=e.getParentNode(),o=!(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")&&R2(t.originalText,u)),s=M2(u),c=e.map(function(f){var d=n();return s||(d=GB(2,d)),qB(f,d,t)},"types");if(s)return O2(" | ",c);var l=o&&!R2(t.originalText,u),p=[ep([l?Td:"","| "]),O2([Td,"| "],c)];return Vi(e,t)?Ca([Aa(p),Ms]):a.type==="TupleTypeAnnotation"&&a.types.length>1||a.type==="TSTupleType"&&a.elementTypes.length>1?Ca([Aa([ep(["(",Ms]),p]),Ms,ep(")")]):Ca(o?Aa(p):p)},"printUnionType"),printFunctionType:i(function(e,t,n){var u=e.getValue(),a=[],o=e.getParentNode(0),s=e.getParentNode(1),c=e.getParentNode(2),l=u.type==="TSFunctionType"||!((o.type==="ObjectTypeProperty"||o.type==="ObjectTypeInternalSlot")&&!o.variance&&!o.optional&&L2(o)===L2(u)||o.type==="ObjectTypeCallProperty"||c&&c.type==="DeclareFunction"),p=l&&(o.type==="TypeAnnotation"||o.type==="TSTypeAnnotation"),f=p&&l&&(o.type==="TypeAnnotation"||o.type==="TSTypeAnnotation")&&s.type==="ArrowFunctionExpression";zB(o)&&(l=!0,p=!0),f&&a.push("(");var d=YB(e,n,t,!1,!0),h=u.returnType||u.predicate||u.typeAnnotation?[l?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",g=KB(u,h);return a.push(g?Ca(d):d),h&&a.push(h),f&&a.push(")"),Ca(a)},"printFunctionType"),printTupleType:i(function(e,t,n){var u=e.getValue(),a=u.type==="TSTupleType"?"elementTypes":"types",o=u[a].length>0&&WB(u[a]).type==="TSRestType";return Ca(["[",Aa([Ms,QB(e,t,a,n)]),ep(XB(t,"all")&&!o?",":""),UB(e,t,!0),Ms,"]"])},"printTupleType"),printIndexedAccessType:i(function(e,t,n){var u=e.getValue(),a=u.type==="OptionalIndexedAccessType"&&u.optional?"?.[":"[";return[n("objectType"),a,n("indexType"),"]"]},"printIndexedAccessType"),shouldHugType:M2},ZB=ur.printDanglingComments,ba=de.builders,j2=ba.join,_B=ba.line,e6=ba.hardline,$2=ba.softline,r6=ba.group,t6=ba.indent,n6=ba.ifBreak,u6=O.isTestCall,V2=O.hasComment,q2=O.CommentCheckFlags,a6=O.isTSXFile,i6=O.shouldPrintComma,o6=O.getFunctionParameters,s6=J.createGroupIdMapper,c6=tt.shouldHugType,U2=s6("typeParameters");function l6(r,e){var t=r.getValue();if(!V2(t,q2.Dangling))return"";var n=!V2(t,q2.Line),u=ZB(r,e,n);return n?u:[u,e6]}i(l6,"yC");var Wi={printTypeParameter:i(function(e,t,n){var u=e.getValue(),a=[],o=e.getParentNode();return o.type==="TSMappedType"?(a.push("[",n("name")),u.constraint&&a.push(" in ",n("constraint")),o.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)},"printTypeParameter"),printTypeParameters:i(function(e,t,n,u){var a=e.getValue();if(!a[u])return"";if(!Array.isArray(a[u]))return n(u);var o=e.getNode(2);if(o&&u6(o)||a[u].length===0||a[u].length===1&&(c6(a[u][0])||a[u][0].type==="NullableTypeAnnotation"))return["<",j2(", ",e.map(n,u)),l6(e,t),">"];var s=a.type==="TSTypeParameterInstantiation"?"":o6(a).length===1&&a6(t)&&!a[u][0].constraint&&e.getParentNode().type==="ArrowFunctionExpression"?",":i6(t,"all")?n6(","):"";return r6(["<",t6([$2,j2([",",_B],e.map(n,u))]),s,$2,">"],{id:U2(a)})},"printTypeParameters"),getTypeParametersGroupId:U2},W2=ur.printComments,p6=J.printString,xd=J.printNumber,f6=O.isNumericLiteral,d6=O.isSimpleNumber,h6=O.isStringLiteral,G2=O.isStringPropSafeToUnquote,H2=O.rawText,D6=Rs.printAssignment,rp=new WeakMap;function z2(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"&&!rp.has(u)){var o=(u.properties||u.body||u.members).some(function(c){return!c.computed&&c.key&&h6(c.key)&&!G2(c,e)});rp.set(u,o)}if((a.type==="Identifier"||f6(a)&&d6(xd(H2(a)))&&String(a.value)===xd(H2(a))&&e.parser!=="typescript"&&e.parser!=="babel-ts")&&(e.parser==="json"||e.quoteProps==="consistent"&&rp.get(u))){var s=p6(JSON.stringify(a.type==="Identifier"?a.name:a.value.toString()),e);return r.call(function(c){return W2(c,s,e)},"key")}return G2(n,e)&&(e.quoteProps==="as-needed"||e.quoteProps==="consistent"&&!rp.get(u))?r.call(function(c){return W2(c,/^\d/.test(a.value)?xd(a.value):a.value,e)},"key"):t("key")}i(z2,"BC");var $s={printProperty:i(function(e,t,n){return e.getValue().shorthand?n("value"):D6(e,t,n,z2(e,t,n),":","value")},"printProperty"),printPropertyKey:z2},X2=ur.printDanglingComments,g6=ur.printCommentsSeparately,m6=J.getNextNonSpaceNonCommentCharacterIndex,Tu=de.builders,wd=Tu.line,Fa=Tu.softline,ct=Tu.group,Gi=Tu.indent,Hi=Tu.ifBreak,J2=Tu.hardline,v6=Tu.join,y6=Tu.indentIfBreak,Bd=O.getFunctionParameters,E6=O.hasLeadingOwnLineComment,C6=O.isFlowAnnotationComment,A6=O.isJsxNode,b6=O.isTemplateOnItsOwnLine,F6=O.shouldPrintComma,S6=O.startsWithNoLookaheadToken,T6=O.returnArgumentHasLeadingComment,x6=O.isBinaryish,w6=O.isLineComment,tp=O.hasComment,B6=O.getComments,Y2=O.CommentCheckFlags,k6=O.isCallLikeExpression,N6=nr.locEnd,kd=ya.printFunctionParameters,K2=ya.shouldGroupFunctionParameters,P6=$s.printPropertyKey,Q2=Dr.printFunctionTypeParameters;function Nd(r,e,t){var n=r.getNode(),u=kd(r,t,e),a=Pd(r,t,e),o=K2(n,a),s=[Q2(r,e,t),ct([o?ct(u):u,a])];return n.body?s.push(" ",t("body")):s.push(e.semi?";":""),s}i(Nd,"sv");function Z2(r,e){return e.arrowParens==="always"?!1:e.arrowParens==="avoid"?function(t){var n=Bd(t);return!(n.length!==1||t.typeParameters||tp(t,Y2.Dangling)||n[0].type!=="Identifier"||n[0].typeAnnotation||tp(n[0])||n[0].optional||t.predicate||t.returnType)}(r.getValue()):!1}i(Z2,"av");function Pd(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}i(Pd,"cv");function _2(r,e,t){var n=r.getValue(),u=e.semi?";":"",a=[];n.argument&&(T6(e,n.argument)?a.push([" (",Gi([J2,t("argument")]),J2,")"]):x6(n.argument)||n.argument.type==="SequenceExpression"?a.push(ct([Hi(" ("," "),Gi([Fa,t("argument")]),Fa,Hi(")")])):a.push(" ",t("argument")));var o=B6(n),s=cr(o),c=s&&w6(s);return c&&a.push(u),tp(n,Y2.Dangling)&&a.push(" ",X2(r,e,!0)),c||a.push(u),a}i(_2,"lv");var Yn={printFunctionDeclaration:i(function(e,t,n,u){var a=e.getValue(),o=[];a.type==="TSDeclareFunction"&&a.declare&&o.push("declare "),a.async&&o.push("async "),a.generator?o.push("function* "):o.push("function "),a.id&&o.push(t("id"));var s=kd(e,t,n,u),c=Pd(e,t,n),l=K2(a,c);return o.push(Q2(e,n,t),ct([l?ct(s):s,c]),a.body?" ":"",t("body")),!n.semi||!a.declare&&a.body||o.push(";"),o},"printFunctionDeclaration"),printArrowFunctionExpression:i(function(e,t,n,u){var a=e.getValue(),o=[],s=[],c=!1;if(i(function h(){var g=function(T,S,w,B){var b=[];T.getValue().async&&b.push("async "),Z2(T,S)?b.push(w(["params",0])):b.push(ct([kd(T,w,S,B&&(B.expandLastArg||B.expandFirstArg),!0),Pd(T,w,S)]));var N=X2(T,S,!0,function(L){var q=m6(S.originalText,L,N6);return q!==!1&&S.originalText.slice(q,q+2)==="=>"});return N&&b.push(" ",N),b}(e,t,n,u);if(o.length===0)o.push(g);else{var y=g6(e,t),E=y.leading,F=y.trailing;o.push([E,g]),s.unshift(F)}c=c||a.returnType&&Bd(a).length>0||a.typeParameters||Bd(a).some(function(T){return T.type!=="Identifier"}),a.body.type!=="ArrowFunctionExpression"||u&&u.expandLastArg?s.unshift(n("body",u)):(a=a.body,e.call(h,"body"))},"a")(),o.length>1)return function(h,g,y,E,F,T){var S=h.getName(),w=h.getParentNode(),B=k6(w)&&S==="callee",b=Boolean(g&&g.assignmentLayout),N=T.body.type!=="BlockStatement"&&T.body.type!=="ObjectExpression",L=B&&N||g&&g.assignmentLayout==="chain-tail-arrow-chain",q=Symbol("arrow-chain");return ct([ct(Gi([B||b?Fa:"",ct(v6([" =>",wd],y),{shouldBreak:E})]),{id:q,shouldBreak:L})," =>",y6(N?Gi([wd,F]):[" ",F],{groupId:q}),B?Hi(Fa,"",{groupId:q}):""])}(e,u,o,c,s,a);var l=o;if(l.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 ct([].concat(l,[" ",s]));if(a.body.type==="SequenceExpression")return ct([].concat(l,[ct([" (",Gi([Fa,s]),Fa,")"])]));var p=(u&&u.expandLastArg||e.getParentNode().type==="JSXExpressionContainer")&&!tp(a),f=u&&u.expandLastArg&&F6(t,"all"),d=a.body.type==="ConditionalExpression"&&!S6(a.body,!1);return ct([].concat(l,[ct([Gi([wd,d?Hi("","("):"",s,d?Hi("",")"):""]),p?[Hi(f?",":""),Fa]:""])]))},"printArrowFunctionExpression"),printMethod:i(function(e,t,n){var u=e.getNode(),a=u.kind,o=u.value||u,s=[];return a&&a!=="init"&&a!=="method"&&a!=="constructor"?(zn.ok(a==="get"||a==="set"),s.push(a," ")):o.async&&s.push("async "),o.generator&&s.push("*"),s.push(P6(e,t,n),u.optional||u.key.optional?"?":""),u===o?s.push(Nd(e,t,n)):o.type==="FunctionExpression"?s.push(e.call(function(c){return Nd(c,t,n)},"value")):s.push(n("value")),s},"printMethod"),printReturnStatement:i(function(e,t,n){return["return",_2(e,t,n)]},"printReturnStatement"),printThrowStatement:i(function(e,t,n){return["throw",_2(e,t,n)]},"printThrowStatement"),printMethodInternal:Nd,shouldPrintParamsWithoutParens:Z2},e1=J.isNonEmptyArray,I6=J.hasNewline,Vs=de.builders,np=Vs.line,up=Vs.hardline,Id=Vs.join,O6=Vs.breakParent,L6=Vs.group,r1=nr.locStart,R6=nr.locEnd,M6=O.getParentExportDeclaration;function t1(r,e){return r.decorators.some(function(t){return I6(e.originalText,R6(t))})}i(t1,"vv");function n1(r){if(r.type!=="ExportDefaultDeclaration"&&r.type!=="ExportNamedDeclaration"&&r.type!=="DeclareExportDeclaration")return!1;var e=r.declaration&&r.declaration.decorators;return e1(e)&&r1(r,{ignoreDecorators:!0})>r1(e[0])}i(n1,"Av");var ap={printDecorators:i(function(e,t,n){var u=e.getValue(),a=u.decorators;if(!(!e1(a)||n1(e.getParentNode()))){var o=u.type==="ClassExpression"||u.type==="ClassDeclaration"||t1(u,t);return[M6(e)?up:o?O6:"",Id(np,e.map(n,"decorators")),np]}},"printDecorators"),printClassMemberDecorators:i(function(e,t,n){var u=e.getValue();return L6([Id(np,e.map(n,"decorators")),t1(u,t)?up:np])},"printClassMemberDecorators"),printDecoratorsBeforeExport:i(function(e,t,n){return[Id(up,e.map(n,"declaration","decorators")),up]},"printDecoratorsBeforeExport"),hasDecoratorsBeforeExport:n1},zi=J.isNonEmptyArray,j6=J.createGroupIdMapper,$6=ur.printComments,V6=ur.printDanglingComments,Sa=de.builders,q6=Sa.join,qs=Sa.line,u1=Sa.hardline,a1=Sa.softline,ip=Sa.group,op=Sa.indent,Od=Sa.ifBreak,Ld=O.hasComment,Rd=O.CommentCheckFlags,U6=Wi.getTypeParametersGroupId,W6=Yn.printMethod,G6=Dr.printOptionalToken,H6=Dr.printTypeAnnotation,z6=$s.printPropertyKey,X6=Rs.printAssignment,i1=ap.printClassMemberDecorators,o1=j6("heritageGroup");function s1(r){return r.typeParameters&&!Ld(r.typeParameters,Rd.Trailing|Rd.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter(function(t){return Boolean(e[t])}).length>1}(r)}i(s1,"Hv");function Md(r,e,t,n){var u=r.getValue();if(!zi(u[n]))return"";var a=V6(r,e,!0,function(o){var s=o.marker;return s===n});return[s1(u)?Od(" ",qs,{groupId:U6(u.typeParameters)}):qs,a,a&&u1,n,ip(op([qs,q6([",",qs],r.map(t,n))]))]}i(Md,"Gv");function J6(r,e,t){var n=t("superClass");return r.getParentNode().type==="AssignmentExpression"?ip(Od(["(",op([a1,n]),a1,")"],n)):n}i(J6,"Jv");var xu={printClass:i(function(e,t,n){var u=e.getValue(),a=[];u.declare&&a.push("declare "),u.abstract&&a.push("abstract "),a.push("class");var o=u.id&&Ld(u.id,Rd.Trailing)||u.superClass&&Ld(u.superClass)||zi(u.extends)||zi(u.mixins)||zi(u.implements),s=[],c=[];if(u.id&&s.push(" ",n("id")),s.push(n("typeParameters")),u.superClass){var l=["extends ",J6(e,t,n),n("superTypeParameters")],p=e.call(function(d){return $6(d,l,t)},"superClass");o?c.push(qs,ip(p)):c.push(" ",p)}else c.push(Md(e,t,n,"extends"));if(c.push(Md(e,t,n,"mixins"),Md(e,t,n,"implements")),o){var f;f=s1(u)?[].concat(s,[op(c)]):op([].concat(s,[c])),a.push(ip(f,{id:o1(u)}))}else a.push.apply(a,s.concat(c));return a.push(" ",n("body")),a},"printClass"),printClassMethod:i(function(e,t,n){var u=e.getValue(),a=[];return zi(u.decorators)&&a.push(i1(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},"printClassMethod"),printClassProperty:i(function(e,t,n){var u=e.getValue(),a=[],o=t.semi?";":"";return zi(u.decorators)&&a.push(i1(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"),o]},"printClassProperty"),printHardlineAfterHeritage:i(function(e){return Od(u1,"",{groupId:o1(e)})},"printHardlineAfterHeritage")},c1=J.isNonEmptyArray,Us=de.builders,Y6=Us.join,jd=Us.line,$d=Us.group,Vd=Us.indent,K6=Us.ifBreak,l1=O.hasComment,Q6=O.identity,qd=O.CommentCheckFlags,Z6=Wi.getTypeParametersGroupId,_6=Dr.printTypeScriptModifiers,Ud={printInterface:i(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 o=[],s=[];u.type!=="InterfaceTypeAnnotation"&&o.push(" ",n("id"),n("typeParameters"));var c=u.typeParameters&&!l1(u.typeParameters,qd.Trailing|qd.Line);return c1(u.extends)&&s.push(c?K6(" ",jd,{groupId:Z6(u.typeParameters)}):jd,"extends ",(u.extends.length===1?Q6:Vd)(Y6([",",jd],e.map(n,"extends")))),u.id&&l1(u.id,qd.Trailing)||c1(u.extends)?c?a.push($d([].concat(o,[Vd(s)]))):a.push($d(Vd([].concat(o,s)))):a.push.apply(a,o.concat(s)),a.push(" ",n("body")),$d(a)},"printInterface")},Wd=J.isNonEmptyArray,Ta=de.builders,p1=Ta.softline,ek=Ta.group,rk=Ta.indent,Gd=Ta.join,Hd=Ta.line,tk=Ta.ifBreak,nk=Ta.hardline,uk=ur.printDanglingComments,f1=O.hasComment,ak=O.CommentCheckFlags,ik=O.shouldPrintComma,ok=O.needsHardlineAfterDanglingComment,d1=nr.locStart,sk=nr.hasSameLoc,ck=ap.hasDecoratorsBeforeExport,lk=ap.printDecoratorsBeforeExport;function zd(r,e,t){var n=r.getValue();if(!n.source)return"";var u=[];return D1(n,e)||u.push(" from"),u.push(" ",t("source")),u}i(zd,"xA");function h1(r,e,t){var n=r.getValue();if(D1(n,e))return"";var u=[" "];if(Wd(n.specifiers)){var a=[],o=[];r.each(function(){var s=r.getValue().type;if(s==="ExportNamespaceSpecifier"||s==="ExportDefaultSpecifier"||s==="ImportNamespaceSpecifier"||s==="ImportDefaultSpecifier")a.push(t());else{if(s!=="ExportSpecifier"&&s!=="ImportSpecifier")throw new Error("Unknown specifier type ".concat(JSON.stringify(s)));o.push(t())}},"specifiers"),u.push(Gd(", ",a)),o.length>0&&(a.length>0&&u.push(", "),o.length>1||a.length>0||n.specifiers.some(function(s){return f1(s)})?u.push(ek(["{",rk([e.bracketSpacing?Hd:p1,Gd([",",Hd],o)]),tk(ik(e)?",":""),e.bracketSpacing?Hd:p1,"}"])):u.push(["{",e.bracketSpacing?" ":""].concat(o,[e.bracketSpacing?" ":"","}"])))}else u.push("{}");return u}i(h1,"SA");function D1(r,e){var t=r.type,n=r.importKind,u=r.source,a=r.specifiers;return t==="ImportDeclaration"&&!Wd(a)&&n!=="type"&&!/{\s*}/.test(e.originalText.slice(d1(r),d1(u)))}i(D1,"wA");function Xd(r,e,t){var n=r.getNode();return Wd(n.assertions)?[" assert {",e.bracketSpacing?" ":"",Gd(", ",r.map(t,"assertions")),e.bracketSpacing?" ":"","}"]:""}i(Xd,"TA");var Xi={printImportDeclaration:i(function(e,t,n){var u=e.getValue(),a=t.semi?";":"",o=[],s=u.importKind;return o.push("import"),s&&s!=="value"&&o.push(" ",s),o.push(h1(e,t,n),zd(e,t,n),Xd(e,t,n),a),o},"printImportDeclaration"),printExportDeclaration:i(function(e,t,n){var u=e.getValue(),a=[];ck(u)&&a.push(lk(e,t,n));var o=u.type,s=u.exportKind,c=u.declaration;return a.push("export"),(u.default||o==="ExportDefaultDeclaration")&&a.push(" default"),f1(u,ak.Dangling)&&(a.push(" ",uk(e,t,!0)),ok(u)&&a.push(nk)),c?a.push(" ",n("declaration")):a.push(s==="type"?" type":"",h1(e,t,n),zd(e,t,n),Xd(e,t,n)),function(l,p){if(!p.semi)return!1;var f=l.type,d=l.declaration,h=l.default||f==="ExportDefaultDeclaration";if(!d)return!0;var g=d.type;return!!(h&&g!=="ClassDeclaration"&&g!=="FunctionDeclaration"&&g!=="TSInterfaceDeclaration"&&g!=="DeclareClass"&&g!=="DeclareFunction"&&g!=="TSDeclareFunction"&&g!=="EnumDeclaration")}(u,t)&&a.push(";"),a},"printExportDeclaration"),printExportAllDeclaration:i(function(e,t,n){var u=e.getValue(),a=t.semi?";":"",o=[],s=u.exportKind,c=u.exported;return o.push("export"),s==="type"&&o.push(" type"),o.push(" *"),c&&o.push(" as ",n("exported")),o.push(zd(e,t,n),Xd(e,t,n),a),o},"printExportAllDeclaration"),printModuleSpecifier:i(function(e,t,n){var u=e.getNode(),a=u.type,o=u.importKind,s=[];a==="ImportSpecifier"&&o&&s.push(o," ");var c=a.startsWith("Import"),l=c?"imported":"local",p=c?"local":"exported",f="",d="";return a==="ExportNamespaceSpecifier"||a==="ImportNamespaceSpecifier"?f="*":u[l]&&(f=n(l)),!u[p]||u[l]&&sk(u[l],u[p])||(d=n(p)),s.push(f,f&&d?" as ":"",d),s},"printModuleSpecifier")},pk=O.getParentExportDeclaration,fk=xu.printClass,g1=tt.printOpaqueType,m1=tt.printTypeAlias,dk=tt.printIntersectionType,hk=tt.printUnionType,Dk=tt.printFunctionType,gk=tt.printTupleType,mk=tt.printIndexedAccessType,vk=Ud.printInterface,yk=Wi.printTypeParameters,Ek=Xi.printExportDeclaration,Ck=Xi.printExportAllDeclaration;function Cn(r,e){var t=pk(r);return t?(zn.strictEqual(t.type,"DeclareExportDeclaration"),e):["declare ",e]}i(Cn,"WA");var Ak={printFlow:i(function(e,t,n){var u=e.getValue(),a=t.semi?";":"";switch(u.type){case"DeclareClass":return Cn(e,fk(e,t,n));case"DeclareFunction":return Cn(e,["function ",n("id"),u.predicate?" ":"",n("predicate"),a]);case"DeclareModule":return Cn(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return Cn(e,["module.exports",": ",n("typeAnnotation"),a]);case"DeclareVariable":return Cn(e,["var ",n("id"),a]);case"DeclareOpaqueType":return Cn(e,g1(e,t,n));case"DeclareInterface":return Cn(e,vk(e,t,n));case"DeclareTypeAlias":return Cn(e,m1(e,t,n));case"DeclareExportDeclaration":return Cn(e,Ek(e,t,n));case"DeclareExportAllDeclaration":return Cn(e,Ck(e,t,n));case"OpaqueType":return g1(e,t,n);case"TypeAlias":return m1(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")}},"printFlow")},bk=J.hasNewlineInRange,sp=O.isJsxNode,Fk=O.isBlockComment,Jd=O.getComments,Sk=O.isCallExpression,v1=O.isMemberExpression,Tk=nr.locStart,xk=nr.locEnd,wu=de.builders,y1=wu.line,Ws=wu.softline,E1=wu.group,cp=wu.indent,lp=wu.align,pp=wu.ifBreak,wk=wu.dedent,Bk=wu.breakParent;function kk(r,e,t){var n=r.getValue(),u=n.type==="ConditionalExpression",a=u?"alternate":"falseType",o=r.getParentNode(),s=u?t("test"):[t("checkType")," ","extends"," ",t("extendsType")];return o.type===n.type&&o[a]===n?lp(2,s):s}i(kk,"sF");var Nk=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]),C1={printTernary:i(function(e,t,n){var u=e.getValue(),a=u.type==="ConditionalExpression",o=a?"consequent":"trueType",s=a?"alternate":"falseType",c=a?["test"]:["checkType","extendsType"],l=u[o],p=u[s],f=[],d=!1,h=e.getParentNode(),g=h.type===u.type&&c.some(function(Q){return h[Q]===u}),y,E,F=h.type===u.type&&!g,T=0;do E=y||u,y=e.getParentNode(T),T++;while(y&&y.type===u.type&&c.every(function(Q){return y[Q]!==E}));var S=y||h,w=E;if(a&&(sp(u[c[0]])||sp(l)||sp(p)||function(Q){for(var ue=[Q],ae=0;ae1&&E.sort(function(M,V){return M.loc-V.loc});var w=[],B=E.map(function(M){var V=[].concat(ee(w),[Kd(M.printed)]);return w=[h,fp],M.node.type!=="TSPropertySignature"&&M.node.type!=="TSMethodSignature"&&M.node.type!=="TSConstructSignatureDeclaration"||!Gs(M.node,Hs.PrettierIgnore)||w.shift(),jk(M.node,t)&&w.push(F1),V});if(a.inexact){var b;if(Gs(a,Hs.Dangling)){var N=Gs(a,Hs.Line);b=[A1(e,t,!0),N||Ok(t.originalText,$k(S1(Mk(a))))?F1:fp,"..."]}else b=["..."];B.push([].concat(ee(w),ee(b)))}var L=S1(a[o]),q=!(a.inexact||L&&L.type==="RestElement"||L&&(L.type==="TSPropertySignature"||L.type==="TSCallSignatureDeclaration"||L.type==="TSMethodSignature"||L.type==="TSConstructSignatureDeclaration")&&Gs(L,Hs.PrettierIgnore)),z;if(B.length===0){if(!Gs(a,Hs.Dangling))return[g,y,Qd(e,t,n)];z=Kd([g,A1(e,t),Yd,y,T1(e),Qd(e,t,n)])}else z=[f&&Lk(a.properties)?qk(p):"",g,Pk([t.bracketSpacing?fp:Yd].concat(ee(B))),b1(q&&(h!==","||Rk(t))?h:""),t.bracketSpacing?fp:Yd,y,T1(e),Qd(e,t,n)];return e.match(function(M){return M.type==="ObjectPattern"&&!M.decorators},function(M,V,Q){return x1(M)&&(V==="params"||V==="parameters"||V==="this"||V==="rest")&&Q===0})||e.match(Vk,function(M,V){return V==="typeAnnotation"},function(M,V){return V==="typeAnnotation"},function(M,V,Q){return x1(M)&&(V==="params"||V==="parameters"||V==="this"||V==="rest")&&Q===0})||!d&&e.match(function(M){return M.type==="ObjectPattern"},function(M){return M.type==="AssignmentExpression"||M.type==="VariableDeclarator"})?z:Kd(z,{shouldBreak:d})},"printObject")},B1=de.builders.hardline,Uk=O.getLeftSidePathName,Wk=O.hasNakedLeftSide,Gk=O.isJsxNode,Hk=O.isTheOnlyJsxElementInMarkdown,zk=O.hasComment,Xk=O.CommentCheckFlags,Jk=O.isNextLineEmpty,Yk=Yn.shouldPrintParamsWithoutParens;function k1(r,e,t,n){var u=r.getValue(),a=[],o=u.type==="ClassBody",s=function(c){for(var l=c.length-1;l>=0;l--){var p=c[l];if(p.type!=="EmptyStatement")return p}}(u[n]);return r.each(function(c,l,p){var f=c.getValue();if(f.type!=="EmptyStatement"){var d=t();e.semi||o||Hk(e,c)||!function(h,g){return h.getNode().type!=="ExpressionStatement"?!1:h.call(function(y){return N1(y,g)},"expression")}(c,e)?a.push(d):zk(f,Xk.Leading)?a.push(t([],{needsSemi:!0})):a.push(";",d),!e.semi&&o&&Kk(f)&&function(h,g){var y=h.key&&h.key.name;if(!(y!=="static"&&y!=="get"&&y!=="set"||h.value||h.typeAnnotation))return!0;if(!g||g.static||g.accessibility)return!1;if(!g.computed){var E=g.key&&g.key.name;if(E==="in"||E==="instanceof")return!0}switch(g.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractClassProperty":return g.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((g.value?g.value.async:g.async)||g.kind==="get"||g.kind==="set")return!1;var F=g.value?g.value.generator:g.generator;return!(!g.computed&&!F)}case"TSIndexSignature":return!0}return!1}(f,p[l+1])&&a.push(";"),f!==s&&(a.push(B1),Jk(f,e)&&a.push(B1))}},n),a}i(k1,"WF");function N1(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!!Vi(r,e)||!!Wk(t)&&r.call.apply(r,[function(a){return N1(a,e)}].concat(ee(Uk(r,t))))}i(N1,"UF");var Kk=i(function(e){var t=e.type;return t==="ClassProperty"||t==="PropertyDefinition"||t==="ClassPrivateProperty"},"zF"),P1={printBody:i(function(e,t,n){return k1(e,t,n,"body")},"printBody"),printSwitchCaseConsequent:i(function(e,t,n){return k1(e,t,n,"consequent")},"printSwitchCaseConsequent")},Qk=ur.printDanglingComments,I1=J.isNonEmptyArray,O1=de.builders,Yi=O1.hardline,Zk=O1.indent,_k=O.hasComment,eN=O.CommentCheckFlags,rN=O.isNextLineEmpty,tN=xu.printHardlineAfterHeritage,nN=P1.printBody;function L1(r,e,t){var n=r.getValue(),u=I1(n.directives),a=n.body.some(function(l){return l.type!=="EmptyStatement"}),o=_k(n,eN.Dangling);if(!u&&!a&&!o)return"";var s=[];if(u&&r.each(function(l,p,f){s.push(t()),(p"]),l=[dp("("),Ki([$t,n("expression")]),$t,dp(")")];return s?aN([[c,n("expression")],[c,nt(l,{shouldBreak:!0})],[c,n("expression")]]):nt([c,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 R1(".",[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 o.push(n("expression")),u.typeParameters&&o.push(n("typeParameters")),o;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 th(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":{o.push(n("expression")," as ",n("typeAnnotation"));var p=e.getParentNode();return oN(p)&&p.callee===u||sN(p)&&p.object===u?nt([Ki([$t].concat(o)),$t]):o}case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return u.export&&o.push("export "),u.accessibility&&o.push(u.accessibility+" "),u.static&&o.push("static "),u.readonly&&o.push("readonly "),o.push(vN(e,t,n),q1(e)),u.typeAnnotation&&o.push(": ",n("typeAnnotation")),u.initializer&&o.push(" = ",n("initializer")),o;case"TSParameterProperty":return u.accessibility&&o.push(u.accessibility+" "),u.export&&o.push("export "),u.static&&o.push("static "),u.readonly&&o.push("readonly "),o.push(n("parameter")),o;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":{var f=e.getParentNode(),d=u.parameters.length>1?dp(V1(t)?",":""):"",h=nt([Ki([$t,R1([", ",$t],e.map(n,"parameters"))]),d,$t]);return[u.export?"export ":"",u.accessibility?[u.accessibility," "]:"",u.static?"static ":"",u.readonly?"readonly ":"",u.declare?"declare ":"","[",u.parameters?h:"",u.typeAnnotation?"]: ":"]",u.typeAnnotation?n("typeAnnotation"):"",f.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")]:"",th(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&&o.push("abstract "),u.type!=="TSCallSignatureDeclaration"&&o.push("new "),o.push(nt(U1(e,n,t,!1,!0))),u.returnType||u.typeAnnotation){var g=u.type==="TSConstructorType";o.push(g?" => ":": ",n("returnType"),n("typeAnnotation"))}return o;case"TSTypeOperator":return[u.operator," ",n("typeAnnotation")];case"TSMappedType":{var y=uN(t.originalText,eh(u),cN(u));return nt(["{",Ki([t.bracketSpacing?M1:$t,u.readonly?[$1(u.readonly,"readonly")," "]:"",rh(e,t,n),n("typeParameter"),u.optional?$1(u.optional,"?"):"",u.typeAnnotation?": ":"",n("typeAnnotation"),dp(a)]),_d(e,t,!0),t.bracketSpacing?M1:$t,"}"],{shouldBreak:y})}case"TSMethodSignature":{var E=u.kind&&u.kind!=="method"?"".concat(u.kind," "):"";o.push(u.accessibility?[u.accessibility," "]:"",E,u.export?"export ":"",u.static?"static ":"",u.readonly?"readonly ":"",u.abstract?"abstract ":"",u.declare?"declare ":"",u.computed?"[":"",n("key"),u.computed?"]":"",q1(e));var F=U1(e,n,t,!1,!0),T=u.returnType?"returnType":"typeAnnotation",S=u[T],w=S?n(T):"",B=pN(u,w);return o.push(B?nt(F):F),S&&o.push(": ",nt(w)),nt(o)}case"TSNamespaceExportDeclaration":return o.push("export as namespace ",n("id")),t.semi&&o.push(";"),nt(o);case"TSEnumDeclaration":return u.declare&&o.push("declare "),u.modifiers&&o.push(rh(e,t,n)),u.const&&o.push("const "),o.push("enum ",n("id")," "),u.members.length===0?o.push(nt(["{",_d(e,t),$t,"}"])):o.push(nt(["{",Ki([j1,dN(e,t,"members",n),V1(t,"es5")?",":""]),_d(e,t,!0),j1,"}"])),o;case"TSEnumMember":return o.push(n("id")),u.initializer&&o.push(" = ",n("initializer")),o;case"TSImportEqualsDeclaration":return u.isExport&&o.push("export "),o.push("import "),u.importKind&&u.importKind!=="value"&&o.push(u.importKind," "),o.push(n("id")," = ",n("moduleReference")),t.semi&&o.push(";"),nt(o);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":{var b=e.getParentNode(),N=iN(u.id),L=b.type==="TSModuleDeclaration",q=u.body&&u.body.type==="TSModuleDeclaration";if(L)o.push(".");else{u.declare&&o.push("declare "),o.push(rh(e,t,n));var z=t.originalText.slice(eh(u),eh(u.id));u.id.type==="Identifier"&&u.id.name==="global"&&!/namespace|module/.test(z)||o.push(N||/(^|\s)module(\s|$)/.test(z)?"module ":"namespace ")}return o.push(n("id")),q?o.push(n("body")):u.body?o.push(" ",nt(n("body"))):o.push(a),o}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"),th(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")]}},"printTypescript")},kN=J.hasNewline,W1=de.builders,NN=W1.join,G1=W1.hardline,PN=de.utils.replaceNewlinesWithLiterallines,IN=O.isLineComment,ON=O.isBlockComment,H1=nr.locStart,z1=nr.locEnd,LN={printComment:i(function(e,t){var n=e.getValue();if(IN(n))return t.originalText.slice(H1(n),z1(n)).trimEnd();if(ON(n)){if(function(s){var c="*".concat(s.value,"*").split(` `);return c.length>1&&c.every(function(l){return l.trim()[0]==="*"})}(n)){var u=function(s){var c=s.value.split(` `);return["/*",NN(G1,c.map(function(l,p){return p===0?l.trimEnd():" "+(p1&&(L=!0)}return y9(d,g,h,L)}case"ArrowFunctionExpression":return E9(d,h,g,y);case"YieldExpression":return b.push("yield"),E.delegate&&b.push("*"),E.argument&&b.push(" ",g("argument")),b;case"AwaitExpression":if(b.push("await"),E.argument){b.push(" ",g("argument"));var z=d.getParentNode();if(eE(z)&&z.callee===E||YN(z)&&z.object===E){b=[qr([gr].concat(ee(b))),gr];var M=d.findAncestor(function(br){return br.type==="AwaitExpression"||br.type==="BlockStatement"});if(!M||M.type!=="AwaitExpression")return or(b)}}return b;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return a9(d,h,g);case"ExportAllDeclaration":return i9(d,h,g);case"ImportDeclaration":return u9(d,h,g);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return o9(d,h,g);case"ImportAttribute":return[g("key"),": ",g("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return k9(d,h,g);case"ThrowStatement":return A9(d,h,g);case"ReturnStatement":return C9(d,h,g);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return b9(d,h,g);case"ObjectTypeInternalSlot":return[E.static?"static ":"","[[",g("id"),"]]",Dp(d),E.method?"":": ",g("value")];case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"RecordExpression":return f9(d,h,g);case"ObjectProperty":case"Property":return E.method||E.kind==="get"||E.kind==="set"?nE(d,h,g):v9(d,h,g);case"ObjectMethod":return nE(d,h,g);case"Decorator":return["@",g("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return l9(d,h,g);case"SequenceExpression":{var V=d.getParentNode(0);if(V.type==="ExpressionStatement"||V.type==="ForStatement"){var Q=[];return d.each(function(br,fo){fo===0?Q.push(g()):Q.push(",",qr([Xs,g()]))},"expressions"),or(Q)}return or(uh([",",Xs],d.map(g,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[g("value"),F];case"DirectiveLiteral":return uE(E,h);case"UnaryExpression":return b.push(E.operator),/[a-z]$/.test(E.operator)&&b.push(" "),Qi(E.argument)?b.push(or(["(",qr([gr,g("argument")]),gr,")"])):b.push(g("argument")),b;case"UpdateExpression":return b.push(g("argument"),E.operator),E.prefix&&b.reverse(),b;case"ConditionalExpression":return s9(d,h,g);case"VariableDeclaration":{var ue=d.map(g,"declarations"),ae=d.getParentNode(),Ae=ae.type==="ForStatement"||ae.type==="ForInStatement"||ae.type==="ForOfStatement",se=E.declarations.some(function(br){return br.init}),ie;return ue.length!==1||Qi(E.declarations[0])?ue.length>0&&(ie=qr(ue[0])):ie=ue[0],b=[E.declare?"declare ":"",E.kind,ie?[" ",ie]:"",qr(ue.slice(1).map(function(br){return[",",se&&!Ae?Vr:Xs,br]}))],Ae&&ae.body!==E||b.push(F),or(b)}case"WithStatement":return or(["with (",g("object"),")",ku(E.body,g("body"))]);case"IfStatement":{var ye=ku(E.consequent,g("consequent")),Re=or(["if (",or([qr([gr,g("test")]),gr]),")",ye]);if(b.push(Re),E.alternate){var xe=Qi(E.consequent,ah.Trailing|ah.Line)||zN(E),Pe=E.consequent.type==="BlockStatement"&&!xe;b.push(Pe?" ":Vr),Qi(E,ah.Dangling)&&b.push(hp(d,h,!0),xe?Vr:" "),b.push("else",or(ku(E.alternate,g("alternate"),E.alternate.type==="IfStatement")))}return b}case"ForStatement":{var Le=ku(E.body,g("body")),Ge=hp(d,h,!0),Me=Ge?[Ge,gr]:"";return E.init||E.test||E.update?[Me,or(["for (",or([qr([gr,g("init"),";",Xs,g("test"),";",Xs,g("update")]),gr]),")",Le])]:[Me,or(["for (;;)",Le])]}case"WhileStatement":return or(["while (",or([qr([gr,g("test")]),gr]),")",ku(E.body,g("body"))]);case"ForInStatement":return or(["for (",g("left")," in ",g("right"),")",ku(E.body,g("body"))]);case"ForOfStatement":return or(["for",E.await?" await":""," (",g("left")," of ",g("right"),")",ku(E.body,g("body"))]);case"DoWhileStatement":{var Qe=ku(E.body,g("body"));return b=[or(["do",Qe])],E.body.type==="BlockStatement"?b.push(" "):b.push(Vr),b.push("while (",or([qr([gr,g("test")]),gr]),")",F),b}case"DoExpression":return[E.async?"async ":"","do ",g("body")];case"BreakStatement":return b.push("break"),E.label&&b.push(" ",g("label")),b.push(F),b;case"ContinueStatement":return b.push("continue"),E.label&&b.push(" ",g("label")),b.push(F),b;case"LabeledStatement":return E.body.type==="EmptyStatement"?[g("label"),":;"]:[g("label"),": ",g("body")];case"TryStatement":return["try ",g("block"),E.handler?[" ",g("handler")]:"",E.finalizer?[" finally ",g("finalizer")]:""];case"CatchClause":if(E.param){var Se=Qi(E.param,function(br){return!ih(br)||br.leading&&K1(h.originalText,tE(br))||br.trailing&&K1(h.originalText,rE(br),{backwards:!0})}),Fe=g("param");return["catch ",Se?["(",qr([gr,Fe]),gr,") "]:["(",Fe,") "],g("body")]}return["catch ",g("body")];case"SwitchStatement":return[or(["switch (",qr([gr,g("discriminant")]),gr,")"])," {",E.cases.length>0?qr([Vr,uh(Vr,d.map(function(br,fo,zp){var cc=br.getValue();return[g(),fo!==zp.length-1&&Z1(cc,h)?Vr:""]},"cases"))]):"",Vr,"}"];case"SwitchCase":{E.test?b.push("case ",g("test"),":"):b.push("default:");var Ze=E.consequent.filter(function(br){return br.type!=="EmptyStatement"});if(Ze.length>0){var Be=w9(d,h,g);b.push(Ze.length===1&&Ze[0].type==="BlockStatement"?[" ",Be]:qr([Vr,Be]))}return b}case"DebuggerStatement":return["debugger",F];case"ClassDeclaration":case"ClassExpression":return d9(d,h,g);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return h9(d,h,g);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return D9(d,h,g);case"TemplateElement":return uh(jN,E.value.raw.split(/\r?\n/g));case"TemplateLiteral":return c9(d,g,h);case"TaggedTemplateExpression":return[g("tag"),g("typeParameters"),g("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(E.type));case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[g("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(E.value);case"EnumDeclaration":return["enum ",g("id")," ",g("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if(E.type==="EnumSymbolBody"||E.explicitType){var Ie=null;switch(E.type){case"EnumBooleanBody":Ie="boolean";break;case"EnumNumberBody":Ie="number";break;case"EnumStringBody":Ie="string";break;case"EnumSymbolBody":Ie="symbol"}b.push("of ",Ie," ")}if(E.members.length!==0||E.hasUnknownMembers){var ze=E.members.length>0?[Vr,p9(d,h,"members",g),E.hasUnknownMembers||XN(h)?",":""]:[];b.push(or(["{",qr([].concat(ze,ee(E.hasUnknownMembers?[Vr,"..."]:[]))),hp(d,h,!0),Vr,"}"]))}else b.push(or(["{",hp(d,h),gr,"}"]));return b;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[g("id")," = ",Te(E.init)=="object"?g("init"):String(E.init)];case"EnumDefaultedMember":return g("id");case"FunctionTypeParam":{var rr=E.name?g("name"):d.getParentNode().this===E?"this":"";return[rr,Dp(d),rr?": ":"",g("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return F9(d,h,g);case"ClassImplements":case"InterfaceExtends":return[g("id"),g("typeParameters")];case"NullableTypeAnnotation":return["?",g("typeAnnotation")];case"Variance":{var Ar=E.kind;return zn.ok(Ar==="plus"||Ar==="minus"),Ar==="plus"?"+":"-"}case"ObjectTypeCallProperty":return E.static&&b.push("static "),b.push(g("value")),b;case"ObjectTypeIndexer":return[E.variance?g("variance"):"","[",g("id"),E.id?": ":"",g("key"),"]: ",g("value")];case"ObjectTypeProperty":{var Gt="";return E.proto?Gt="proto ":E.static&&(Gt="static "),[Gt,WN(E)?E.kind+" ":"",E.variance?g("variance"):"",m9(d,h,g),Dp(d),UN(E)?"":": ",g("value")]}case"QualifiedTypeIdentifier":return[g("qualification"),".",g("id")];case"StringLiteralTypeAnnotation":return MN(_1(E),h);case"NumberLiteralTypeAnnotation":zn.strictEqual(Te(E.value),"number");case"BigIntLiteralTypeAnnotation":return E.extra?Q1(E.extra.raw):Q1(E.raw);case"TypeCastExpression":return["(",g("expression"),oh(d,h,g),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{var _r=g9(d,h,g,"params");if(h.parser==="flow"){var Bn=rE(E),ln=tE(E),Mu=h.originalText.lastIndexOf("/*",Bn),Ua=h.originalText.indexOf("*/",ln);if(Mu!==-1&&Ua!==-1){var po=h.originalText.slice(Mu+2,Ua).trim();if(po.startsWith("::")&&!po.includes("/*")&&!po.includes("*/"))return["/*:: ",_r," */"]}}return _r}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",g("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["#",g("name")];case"PrivateName":return["#",g("id")];case"InterpreterDirective":return b.push("#!",E.value,Vr),Z1(E,h)&&b.push(Vr),b;case"PipelineBareFunction":return g("callee");case"PipelineTopicExpression":return g("expression");case"PipelinePrimaryTopicReference":return"#";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{b.push("module {");var sc=g("body");return sc&&b.push(qr([Vr,sc]),Vr),b.push("}"),b}default:throw new Error("unknown type: "+JSON.stringify(E.type))}}(e,t,n,u);if(!a)return"";var o=e.getValue(),s=o.type;if(s==="ClassMethod"||s==="ClassPrivateMethod"||s==="ClassProperty"||s==="PropertyDefinition"||s==="TSAbstractClassProperty"||s==="ClassPrivateProperty"||s==="MethodDefinition"||s==="TSAbstractMethodDefinition"||s==="TSDeclareMethod")return a;var c=O9(e,t,n);if(c)return or([].concat(ee(c),[a]));if(!Vi(e,t))return u&&u.needsSemi?[";",a]:a;var l=[u&&u.needsSemi?";(":"(",a];if(qN(o)){var p=Ne(o.trailingComments,1),f=p[0];l.push(" /*",f.value.trimStart(),"*/"),f.printed=!0}return l.push(")"),l},"print"),embed:wx,insertPragma:$N,massageAstNode:Nx,hasPrettierIgnore:i(function(e){return JN(e)||e9(e)},"hasPrettierIgnore"),willPrintOwnComments:$i.willPrintOwnComments,canAttachComment:i(function(e){return e.type&&!ih(e)&&!HN(e)&&e.type!=="EmptyStatement"&&e.type!=="TemplateElement"&&e.type!=="Import"&&e.type!=="TSEmptyBodyFunctionExpression"},"canAttachComment"),printComment:P9,isBlockComment:ih,handleComments:{avoidAstMutation:!0,ownLine:$i.handleOwnLineComment,endOfLine:$i.handleEndOfLineComment,remaining:$i.handleRemainingComment},getCommentChildNodes:$i.getCommentChildNodes},sh=de.builders,wa=sh.hardline,aE=sh.indent,iE=sh.join,R9=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function oE(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=pe(r.elements.entries()),u;try{for(n.s();!(u=n.n()).done;){var a=Ne(u.value,2),o=a[0],s=a[1];s===null&&e.elements.splice(o,0,{type:"NullLiteral"})}}catch(c){n.e(c)}finally{n.f()}}else e.key={type:"StringLiteral",value:r.key.name}}i(oE,"kw"),oE.ignoredProperties=R9;var M9={preprocess:By,print:i(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["[",aE([wa,iE([",",wa],a)]),wa,"]"]}case"ObjectExpression":return u.properties.length===0?"{}":["{",aE([wa,iE([",",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 o=e.getParentNode();return o&&o.type==="ObjectProperty"&&o.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))}},"print"),massageAstNode:oE},ch="Common",Kn={bracketSpacing:{since:"0.0.0",category:ch,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:ch,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:ch,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:Kn.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:Kn.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)."}]}},lh={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},V9={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},sE={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},q9={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:[pr(lh,function(r){return{since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[].concat(ee(r.extensions.filter(function(e){return e!==".jsx"})),[".wxs"])}}),pr(lh,function(){return{name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}}),pr(lh,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}}),pr($9,function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}}),pr(V9,function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}}),pr(sE,function(){return{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}}),pr(sE,function(r){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:r.extensions.filter(function(e){return e!==".jsonl"})}}),pr(q9,function(r){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[].concat(ee(r.filenames),[".eslintrc"])}}),pr(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}}},cE=J.isFrontMatterNode,G9=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function lE(r,e,t){if(cE(r)&&r.lang==="yaml"&&delete e.value,r.type==="css-comment"&&t.type==="css-root"&&t.nodes.length>0&&((t.nodes[0]===r||cE(t.nodes[0])&&t.nodes[1]===r)&&(delete e.text,/^\*\s*@(format|prettier)\s*$/.test(r.text))||t.type==="css-root"&&cr(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,o){var s=Number(a);return Number.isNaN(s)?u:s+o.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}i(lE,"zw"),lE.ignoredProperties=G9;var H9=lE,pE=de.builders,fE=pE.hardline,z9=pE.markAsRoot,ph=i(function(e,t){if(e.lang==="yaml"){var n=e.value.trim(),u=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return z9([e.startDelimiter,fE,u,u?fE:"",e.endDelimiter])}},"Xw"),X9=de.builders.hardline,J9=i(function(e,t,n){var u=e.getValue();if(u.type==="front-matter"){var a=ph(u,n);return a?[a,X9]:""}},"Kw"),Y9=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?[\\S\\s]*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)"),gp=i(function(e){var t=e.match(Y9);if(!t)return{content:e};var n=t.groups,u=n.startDelimiter,a=n.language,o=n.value,s=o===void 0?"":o,c=n.endDelimiter,l=a.trim()||"yaml";if(u==="+++"&&(l="toml"),l!=="yaml"&&u!==c)return{content:e};var p=Ne(t,1),f=p[0];return{frontMatter:{type:"front-matter",lang:l,value:s,startDelimiter:u,endDelimiter:c,raw:f.replace(/\n$/,"")},content:f.replace(/[^\n]/g," ")+e.slice(f.length)}},"Zw"),K9={hasPragma:i(function(e){return K0.hasPragma(gp(e).content)},"hasPragma"),insertPragma:i(function(e){var t=gp(e),n=t.frontMatter,u=t.content;return(n?n.raw+` `:"")+K0.insertPragma(u)},"insertPragma")},dE=J.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 hE(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}i(hE,"rT");function Nu(r,e){var t=hE(r,e);return t===-1?null:r.getParentNode(t)}i(Nu,"oT");function DE(r){return r.type==="value-operator"&&r.value==="*"}i(DE,"iT");function gE(r){return r.type==="value-operator"&&r.value==="/"}i(gE,"uT");function mE(r){return r.type==="value-operator"&&r.value==="+"}i(mE,"sT");function vE(r){return r.type==="value-operator"&&r.value==="-"}i(vE,"aT");function yE(r){return r.type==="value-operator"&&r.value==="%"}i(yE,"cT");function fh(r){return r.type==="value-comma_group"&&r.groups&&r.groups[1]&&r.groups[1].type==="value-colon"}i(fh,"lT");function mp(r){return r.type==="value-paren_group"&&r.groups&&r.groups[0]&&fh(r.groups[0])}i(mp,"pT");function EE(r){return r&&r.type==="value-colon"}i(EE,"fT");var qe={getAncestorCounter:hE,getAncestorNode:Nu,getPropOfDeclNode:i(function(e){var t=Nu(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},"getPropOfDeclNode"),hasSCSSInterpolation:i(function(e){if(dE(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},"hasSCSSInterpolation"),hasStringOrFunction:i(function(e){if(dE(e)){for(var t=0;t","<=",">="].includes(e.value)},"isRelationalOperatorNode"),isEqualityOperatorNode:i(function(e){return e.type==="value-word"&&["==","!="].includes(e.value)},"isEqualityOperatorNode"),isMultiplicationNode:DE,isDivisionNode:gE,isAdditionNode:mE,isSubtractionNode:vE,isModuloNode:yE,isMathOperatorNode:i(function(e){return DE(e)||gE(e)||mE(e)||vE(e)||yE(e)},"isMathOperatorNode"),isEachKeywordNode:i(function(e){return e.type==="value-word"&&e.value==="in"},"isEachKeywordNode"),isForKeywordNode:i(function(e){return e.type==="value-word"&&["from","through","end"].includes(e.value)},"isForKeywordNode"),isURLFunctionNode:i(function(e){return e.type==="value-func"&&e.value.toLowerCase()==="url"},"isURLFunctionNode"),isIfElseKeywordNode:i(function(e){return e.type==="value-word"&&["and","or","not"].includes(e.value)},"isIfElseKeywordNode"),hasComposesNode:i(function(e){return e.value&&e.value.type==="value-root"&&e.value.group&&e.value.group.type==="value-value"&&e.prop.toLowerCase()==="composes"},"hasComposesNode"),hasParensAroundNode:i(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},"hasParensAroundNode"),hasEmptyRawBefore:i(function(e){return e.raws&&e.raws.before===""},"hasEmptyRawBefore"),isSCSSNestedPropertyNode:i(function(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},"isSCSSNestedPropertyNode"),isDetachedRulesetCallNode:i(function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},"isDetachedRulesetCallNode"),isTemplatePlaceholderNode:i(function(e){return e.name.startsWith("prettier-placeholder")},"isTemplatePlaceholderNode"),isTemplatePropNode:i(function(e){return e.prop.startsWith("@prettier-placeholder")},"isTemplatePropNode"),isPostcssSimpleVarNode:i(function(e,t){return e.value==="$$"&&e.type==="value-func"&&t&&t.type==="value-word"&&!t.raws.before},"isPostcssSimpleVarNode"),isKeyValuePairNode:fh,isKeyValuePairInParenGroupNode:mp,isKeyInValuePairNode:i(function(e,t){if(!fh(t))return!1;var n=t.groups,u=n.indexOf(e);return u!==-1&&EE(n[u+1])},"isKeyInValuePairNode"),isSCSSMapItemNode:i(function(e){var t=e.getValue();if(t.groups.length===0)return!1;var n=e.getParentNode(1);if(!(mp(t)||n&&mp(n)))return!1;var u=Nu(e,"css-decl");return!!(u&&u.prop&&u.prop.startsWith("$"))||!!mp(n)||n.type==="value-func"},"isSCSSMapItemNode"),isInlineValueCommentNode:i(function(e){return e.type==="value-comment"&&e.inline},"isInlineValueCommentNode"),isHashNode:i(function(e){return e.type==="value-word"&&e.value==="#"},"isHashNode"),isLeftCurlyBraceNode:i(function(e){return e.type==="value-word"&&e.value==="{"},"isLeftCurlyBraceNode"),isRightCurlyBraceNode:i(function(e){return e.type==="value-word"&&e.value==="}"},"isRightCurlyBraceNode"),isWordNode:i(function(e){return["value-word","value-atword"].includes(e.type)},"isWordNode"),isColonNode:EE,isMediaAndSupportsKeywords:i(function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},"isMediaAndSupportsKeywords"),isColorAdjusterFuncNode:i(function(e){return e.type==="value-func"&&Q9.has(e.value.toLowerCase())},"isColorAdjusterFuncNode"),lastLineHasInlineComment:i(function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},"lastLineHasInlineComment"),stringifyNode:i(function r(e){if(e.groups)return(e.open&&e.open.value?e.open.value:"")+e.groups.reduce(function(u,a,o){return u+r(a)+(e.groups[0].type==="comma_group"&&o!==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:"")},"e"),isAtWordPlaceholderNode:i(function(e){return e&&e.type==="value-atword"&&e.value.startsWith("prettier-placeholder-")},"isAtWordPlaceholderNode")},CE=i(function(e,t){for(var n=0,u=0;u0?ut:""]}case"css-comment":{var s=u.inline||u.raws.inline,c=t.originalText.slice(Na(u),Iu(u));return s?c.trimEnd():c}case"css-rule":return[n("selector"),u.important?" !important":"",u.nodes?[u.selector&&u.selector.type==="selector-unknown"&&Ys(u.selector.value)?lt:" ","{",u.nodes.length>0?Vt([ut,Ks(e,t,n)]):"",ut,"}",dP(u)?";":""]:";"];case"css-decl":{var l=e.getParentNode(),p=u.raws.between,f=p.trim(),d=f===":",h=EP(u)?aP(n("value")):n("value");return!d&&Ys(f)&&(h=Vt([ut,vp(h)])),[u.raws.before.replace(/[\s;]/g,""),sP(e)?u.prop:Ba(u.prop),f.startsWith("//")?" ":"",f,u.extend?"":" ",PE(t)&&u.extend&&u.selector?["extend(",n("selector"),")"]:"",h,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?[" {",Vt([Pu,Ks(e,t,n)]),Pu,"}"]:FP(u)&&!l.raws.semicolon&&t.originalText[Iu(u)-1]!==";"?"":t.__isHTMLStyleAttribute&&gh(e,u)?wE(";"):";"]}case"css-atrule":{var g=e.getParentNode(),y=LE(u)&&!g.raws.semicolon&&t.originalText[Iu(u)-1]!==";";if(PE(t)){if(u.mixin)return[n("selector"),u.important?" !important":"",y?"":";"];if(u.function)return[u.name,n("params"),y?"":";"];if(u.variable)return["@",u.name,": ",u.value?n("value"):"",u.raws.between.trim()?u.raws.between.trim()+" ":"",u.nodes?["{",Vt([u.nodes.length>0?Pu:"",Ks(e,t,n)]),Pu,"}"]:"",y?"":";"]}return["@",OE(u)||u.name.endsWith(":")?u.name:Ba(u.name),u.params?[OE(u)?"":LE(u)?u.raws.afterName===""?"":u.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(u.raws.afterName)?[ut,ut]:/^\s*\n/.test(u.raws.afterName)?ut:" ":" ",n("params")]:"",u.selector?Vt([" ",n("selector")]):"",u.value?nn([" ",n("value"),mh(u)?CP(u)?" ":lt:""]):u.name==="else"?" ":"",u.nodes?[mh(u)?"":u.selector&&!u.selector.nodes&&typeof u.selector.value=="string"&&Ys(u.selector.value)||!u.selector&&typeof u.params=="string"&&Ys(u.params)?lt:" ","{",Vt([u.nodes.length>0?Pu:"",Ks(e,t,n)]),Pu,"}"]:y?"":";"]}case"media-query-list":{var E=[];return e.each(function(lc){var Zn=lc.getValue();Zn.type==="media-query"&&Zn.value===""||E.push(n())},"nodes"),nn(Vt(_i(lt,E)))}case"media-query":return[_i(" ",e.map(n,"nodes")),gh(e,u)?"":","];case"media-type":return ro(bn(u.value,t));case"media-feature-expression":return u.nodes?["("].concat(ee(e.map(n,"nodes")),[")"]):u.value;case"media-feature":return Ba(bn(u.value.replace(/ +/g," "),t));case"media-colon":return[u.value," "];case"media-value":return ro(bn(u.value,t));case"media-keyword":return bn(u.value,t);case"media-url":return bn(u.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return u.value;case"selector-root":return nn([Dh(e,"custom-selector")?[hh(e,"css-atrule").customSelector,lt]:"",_i([",",Dh(e,["extend","custom-selector","nest"])?lt:ut],e.map(n,"nodes"))]);case"selector-selector":return nn(Vt(e.map(n,"nodes")));case"selector-comment":return u.value;case"selector-string":return bn(u.value,t);case"selector-tag":{var F=e.getParentNode(),T=F&&F.nodes.indexOf(u),S=T&&F.nodes[T-1];return[u.namespace?[u.namespace===!0?"":u.namespace.trim(),"|"]:"",S.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(bn(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(bn(u.value.trim(),t),t):"",u.insensitive?" i":"","]"];case"selector-combinator":if(u.value==="+"||u.value===">"||u.value==="~"||u.value===">>>"){var w=e.getParentNode();return[w.type==="selector-selector"&&w.nodes[0]===u?"":lt,u.value,gh(e,u)?"":" "]}return[u.value.trim().startsWith("(")?lt:"",ro(bn(u.value.trim(),t))||lt];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 B=hh(e,"css-rule");if(B&&B.isSCSSNesterProperty)return ro(bn(Ba(u.value),t));var b=e.getParentNode();if(b.raws&&b.raws.selector){var N=Na(b),L=N+b.raws.selector.length;return t.originalText.slice(N,L).trim()}var q=e.getParentNode(1);if(b.type==="value-paren_group"&&q&&q.type==="value-func"&&q.value==="selector"){var z=Na(b.open)+1,M=Iu(b.close)-1,V=t.originalText.slice(z,M).trim();return Ys(V)?[BE,V]:V}return u.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(Na(u),Iu(u));case"value-comma_group":{for(var Q=e.getParentNode(),ue=e.getParentNode(1),ae=oP(e),Ae=ae&&Q.type==="value-value"&&(ae==="grid"||ae.startsWith("grid-template")),se=hh(e,"css-atrule"),ie=se&&mh(se),ye=u.groups.some(function(lc){return RE(lc)}),Re=e.map(n,"groups"),xe=[],Pe=yp(e,"url"),Le=!1,Ge=!1,Me=0;Me0&&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 ln=e.map(n,"groups"),Mu=[],Ua=0;Ua1&&arguments[1]!==void 0?arguments[1]:1;return GE(r,-e)}i(Fh,"nk");function HE(r){return GE(r,1)}i(HE,"rk");function zE(r){return Pa(r,["MustacheCommentStatement"])&&typeof r.value=="string"&&r.value.trim()==="prettier-ignore"}i(zE,"ok");var Fn={getNextNode:HE,getPreviousNode:Fh,hasPrettierIgnore:i(function(e){var t=e.getValue(),n=Fh(e,2);return zE(t)||zE(n)},"hasPrettierIgnore"),isLastNodeOfSiblings:i(function(e){var t=e.getValue(),n=e.getParentNode(0);return!(!bh(e,["ElementNode"])||cr(n.children)!==t)||!(!bh(e,["Block"])||cr(n.body)!==t)},"isLastNodeOfSiblings"),isNextNodeOfSomeType:i(function(e,t){return Pa(HE(e),t)},"isNextNodeOfSomeType"),isNodeOfSomeType:Pa,isParentOfSomeType:bh,isPreviousNodeOfSomeType:i(function(e,t){return Pa(Fh(e),t)},"isPreviousNodeOfSomeType"),isVoid:i(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 WE(t)})||$P.has(e.tag)},"isVoid"),isWhitespaceNode:WE},Sn=de.builders,XE=Sn.dedent,JE=Sn.fill,Tn=Sn.group,to=Sn.hardline,YE=Sn.ifBreak,yt=Sn.indent,Cp=Sn.join,pt=Sn.line,Qn=Sn.softline,VP=Sn.literalline,qP=de.utils.getDocParts,KE=J.isNonEmptyArray,UP=J.replaceEndOfLineWith,Sh=qE.locStart,Th=qE.locEnd,WP=Fn.getNextNode,GP=Fn.getPreviousNode,HP=Fn.hasPrettierIgnore,QE=Fn.isLastNodeOfSiblings,Ap=Fn.isNextNodeOfSomeType,xh=Fn.isNodeOfSomeType,bp=Fn.isParentOfSomeType,wh=Fn.isPreviousNodeOfSomeType,ZE=Fn.isVoid,_E=Fn.isWhitespaceNode;function eC(r,e,t){var n=r.getValue().children.every(function(u){return _E(u)});return e.htmlWhitespaceSensitivity==="ignore"&&n?"":r.map(function(u,a){var o=t();return a===0&&e.htmlWhitespaceSensitivity==="ignore"?[Qn,o]:o},"children")}i(eC,"Nk");function zP(r){return ZE(r)?YE([Qn,"/>"],[" />",Qn]):YE([Qn,">"],">")}i(zP,"Pk");function Fp(r){return[r.escaped===!1?"{{{":"{{",r.strip&&r.strip.open?"~":""]}i(Fp,"Ok");function Sp(r){var e=r.escaped===!1?"}}}":"}}";return[r.strip&&r.strip.close?"~":"",e]}i(Sp,"Ik");function rC(r){return[Fp(r),r.closeStrip.open?"~":"","/"]}i(rC,"jk");function tC(r){var e=Sp(r);return[r.closeStrip.close?"~":"",e]}i(tC,"Lk");function nC(r){return[Fp(r),r.inverseStrip.open?"~":""]}i(nC,"_k");function uC(r){var e=Sp(r);return[r.inverseStrip.close?"~":"",e]}i(uC,"Mk");function XP(r,e){var t=r.getValue(),n=function(c){return[Fp(c),c.openStrip.open?"~":"","#"]}(t),u=function(c){var l=Sp(c);return[c.openStrip.close?"~":"",l]}(t),a=[kh(r,e)],o=Tp(r,e);if(o&&a.push(pt,o),KE(t.program.blockParams)){var s=pC(t.program);a.push(pt,s)}return Tn([n,yt(a),Qn,u])}i(XP,"Rk");function JP(r,e){return[e.htmlWhitespaceSensitivity==="ignore"?to:"",nC(r),"else",uC(r)]}i(JP,"Vk");function YP(r,e){var t=r.getParentNode(1);return[nC(t),"else if ",Tp(r,e),uC(t)]}i(YP,"$k");function KP(r,e,t){var n=r.getValue();return t.htmlWhitespaceSensitivity==="ignore"?[aC(n)?Qn:to,rC(n),e("path"),tC(n)]:[rC(n),e("path"),tC(n)]}i(KP,"qk");function aC(r){return xh(r,["BlockStatement"])&&r.program.body.every(function(e){return _E(e)})}i(aC,"Wk");function iC(r){return xh(r,["BlockStatement"])&&r.inverse}i(iC,"Uk");function oC(r,e,t){if(aC(r.getValue()))return"";var n=e("program");return t.htmlWhitespaceSensitivity==="ignore"?yt([to,n]):yt(n)}i(oC,"zk");function sC(r,e,t){var n=r.getValue(),u=e("inverse"),a=t.htmlWhitespaceSensitivity==="ignore"?[to,u]:u;return function(o){return iC(o)&&o.inverse.body.length===1&&xh(o.inverse.body[0],["BlockStatement"])&&o.inverse.body[0].path.parts[0]==="if"}(n)?a:iC(n)?[JP(n,t),yt(a)]:""}i(sC,"Hk");function cC(r){return qP(Cp(pt,function(e){return e.split(/[\t\n\f\r ]+/)}(r)))}i(cC,"Gk");function no(r){return(r=typeof r=="string"?r:"").split(` `).length-1}i(no,"Jk");function Qs(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Array(Math.min(r,2)).fill(to)}i(Qs,"Xk");function Bh(r,e){var t={quote:'"',regex:/"/g},n={quote:"'",regex:/'/g},u=r.singleQuote?n:t,a=u===n?t:n,o=!1;return(e.includes(u.quote)||e.includes(a.quote))&&(o=(e.match(u.regex)||[]).length>(e.match(a.regex)||[]).length),o?a:u}i(Bh,"Yk");function QP(r,e){var t=kh(r,e),n=Tp(r,e);return n?yt([t,pt,Tn(n)]):t}i(QP,"Kk");function lC(r,e){var t=kh(r,e),n=Tp(r,e);return n?[yt([t,pt,n]),Qn]:t}i(lC,"Qk");function kh(r,e){return e("path")}i(kh,"Zk");function Tp(r,e){var t=r.getValue(),n=[];if(t.params.length>0){var u=r.map(e,"params");n.push.apply(n,ee(u))}if(t.hash&&t.hash.pairs.length>0){var a=e("hash");n.push(a)}return n.length===0?"":Cp(pt,n)}i(Tp,"eN");function pC(r){return["as |",r.blockParams.join(" "),"|"]}i(pC,"tN");var ZP={print:i(function(e,t,n){var u=e.getValue();if(!u)return"";if(HP(e))return t.originalText.slice(Sh(u),Th(u));switch(u.type){case"Block":case"Program":case"Template":return Tn(e.map(n,"body"));case"ElementNode":{var a=Tn(function(Be,Ie){var ze=Be.getValue(),rr=["attributes","modifiers","comments","blockParams"].filter(function(Ar){return KE(ze[Ar])}).map(function(Ar){return[pt,Ar==="blockParams"?pC(ze):Cp(pt,Be.map(Ie,Ar))]});return["<",ze.tag,yt(rr),zP(ze)]}(e,n)),o=t.htmlWhitespaceSensitivity==="ignore"&&Ap(e,["ElementNode"])?Qn:"";if(ZE(u))return[a,o];var s=[""];return u.children.length===0?[a,yt(s),o]:t.htmlWhitespaceSensitivity==="ignore"?[a,yt(eC(e,t,n)),to,yt(s),o]:[a,yt(Tn(eC(e,t,n))),yt(s),o]}case"BlockStatement":{var c=e.getParentNode(1);return c&&c.inverse&&c.inverse.body.length===1&&c.inverse.body[0]===u&&c.inverse.body[0].path.parts[0]==="if"?[YP(e,n),oC(e,n,t),sC(e,n,t)]:[XP(e,n),Tn([oC(e,n,t),sC(e,n,t),KP(e,n,t)])]}case"ElementModifierStatement":return Tn(["{{",lC(e,n),"}}"]);case"MustacheStatement":return Tn([Fp(u),lC(e,n),Sp(u)]);case"SubExpression":return Tn(["(",QP(e,n),Qn,")"]);case"AttrNode":{var l=u.value.type==="TextNode";if(l&&u.value.chars===""&&Sh(u.value)===Th(u.value))return u.name;var p=l?Bh(t,u.value.chars).quote:u.value.type==="ConcatStatement"?Bh(t,u.value.parts.filter(function(Be){return Be.type==="TextNode"}).map(function(Be){return Be.chars}).join("")).quote:"",f=n("value");return[u.name,"=",p,u.name==="class"&&p?Tn(yt(f)):f,p]}case"ConcatStatement":return e.map(n,"parts");case"Hash":return Cp(pt,e.map(n,"pairs"));case"HashPair":return[u.key,"=",n("value")];case"TextNode":{var d=u.chars.replace(/{{/g,"\\{{"),h=function(Be){for(var Ie=0;Ie<2;Ie++){var ze=Be.getParentNode(Ie);if(ze&&ze.type==="AttrNode")return ze.name.toLowerCase()}}(e);if(h){if(h==="class"){var g=d.trim().split(/\s+/).join(" "),y=!1,E=!1;return bp(e,["ConcatStatement"])&&(wh(e,["MustacheStatement"])&&/^\s/.test(d)&&(y=!0),Ap(e,["MustacheStatement"])&&/\s$/.test(d)&&g!==""&&(E=!0)),[y?pt:"",g,E?pt:""]}return UP(d,VP)}var F=/^[\t\n\f\r ]*$/.test(d),T=!GP(e),S=!WP(e);if(t.htmlWhitespaceSensitivity!=="ignore"){var w=/^[\t\n\f\r ]*/,B=/[\t\n\f\r ]*$/,b=S&&bp(e,["Template"]),N=T&&bp(e,["Template"]);if(F){if(N||b)return"";var L=[pt],q=no(d);return q&&(L=Qs(q)),QE(e)&&(L=L.map(function(Be){return XE(Be)})),L}var z=d.match(w),M=Ne(z,1),V=M[0],Q=d.match(B),ue=Ne(Q,1),ae=ue[0],Ae=[];if(V){Ae=[pt];var se=no(V);se&&(Ae=Qs(se)),d=d.replace(w,"")}var ie=[];if(ae){if(!b){ie=[pt];var ye=no(ae);ye&&(ie=Qs(ye)),QE(e)&&(ie=ie.map(function(Be){return XE(Be)}))}d=d.replace(B,"")}return[].concat(ee(Ae),[JE(cC(d))],ee(ie))}var Re=no(d),xe=function(Be){return no(((Be=typeof Be=="string"?Be:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(d),Pe=function(Be){return no(((Be=typeof Be=="string"?Be:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(d);if((T||S)&&F&&bp(e,["Block","ElementNode","Template"]))return"";F&&Re?(xe=Math.min(Re,2),Pe=0):(Ap(e,["BlockStatement","ElementNode"])&&(Pe=Math.max(Pe,1)),wh(e,["BlockStatement","ElementNode"])&&(xe=Math.max(xe,1)));var Le="",Ge="";return Pe===0&&Ap(e,["MustacheStatement"])&&(Ge=" "),xe===0&&wh(e,["MustacheStatement"])&&(Le=" "),T&&(xe=0,Le=""),S&&(Pe=0,Ge=""),d=d.replace(/^[\t\n\f\r ]+/g,Le).replace(/[\t\n\f\r ]+$/,Ge),[].concat(ee(Qs(xe)),[JE(cC(d))],ee(Qs(Pe)))}case"MustacheCommentStatement":{var Me=Sh(u),Qe=Th(u),Se=t.originalText.charAt(Me+2)==="~",Fe=t.originalText.charAt(Qe-3)==="~",Ze=u.value.includes("}}")?"--":"";return["{{",Se?"~":"","!",Ze,u.value,Ze,Fe?"~":"","}}"]}case"PathExpression":return u.original;case"BooleanLiteral":return String(u.value);case"CommentStatement":return[""];case"StringLiteral":return function(Be,Ie){var ze=Bh(Ie,Be),rr=ze.quote,Ar=ze.regex;return[rr,Be.replace(Ar,"\\".concat(rr)),rr]}(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))}},"print"),massageAstNode:jP},_P={languages:[pr({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:i(function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},"hasPragma"),insertPragma:i(function(e){return`# @format `+e},"insertPragma")},fC={locStart:i(function(e){return typeof e.start=="number"?e.start:e.loc&&e.loc.start},"locStart"),locEnd:i(function(e){return typeof e.end=="number"?e.end:e.loc&&e.loc.end},"locEnd")},Ia=de.builders,Pr=Ia.join,Xe=Ia.hardline,uo=Ia.line,ar=Ia.softline,Et=Ia.group,Yr=Ia.indent,un=Ia.ifBreak,dC=J.isNextLineEmpty,Nh=J.isNonEmptyArray,r4=e4.insertPragma,t4=fC.locStart,hC=fC.locEnd;function Kr(r,e,t){if(t.directives.length===0)return"";var n=Pr(uo,r.map(e,"directives"));return t.kind==="FragmentDefinition"||t.kind==="OperationDefinition"?Et([uo,n]):[" ",Et(Yr([ar,n]))]}i(Kr,"DN");function xn(r,e,t){var n=r.getValue().length;return r.map(function(u,a){var o=t();return dC(e.originalText,u.getValue(),hC)&&a0?Et(["(",Yr([ar,Pr([un("",", "),ar],e.call(function(c){return xn(c,t,n)},"arguments"))]),ar,")"]):"",Kr(e,n,u),u.selectionSet?" ":"",n("selectionSet")]);case"Name":return u.value;case"StringValue":return u.block?['"""',Xe,Pr(Xe,u.value.replace(/"""/g,"\\$&").split(` `)),Xe,'"""']:['"',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 Et(["[",Yr([ar,Pr([un("",", "),ar],e.map(n,"values"))]),ar,"]"]);case"ObjectValue":return Et(["{",t.bracketSpacing&&u.fields.length>0?" ":"",Yr([ar,Pr([un("",", "),ar],e.map(n,"fields"))]),ar,un("",t.bracketSpacing&&u.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),u.arguments.length>0?Et(["(",Yr([ar,Pr([un("",", "),ar],e.call(function(c){return xn(c,t,n)},"arguments"))]),ar,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),u.defaultValue?[" = ",n("defaultValue")]:"",Kr(e,n,u)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),u.description?Xe:"",u.kind==="ObjectTypeExtension"?"extend ":"","type ",n("name"),u.interfaces.length>0?[" implements "].concat(ee(DC(e,t,n))):"",Kr(e,n,u),u.fields.length>0?[" {",Yr([Xe,Pr(Xe,e.call(function(c){return xn(c,t,n)},"fields"))]),Xe,"}"]:""];case"FieldDefinition":return[n("description"),u.description?Xe:"",n("name"),u.arguments.length>0?Et(["(",Yr([ar,Pr([un("",", "),ar],e.call(function(c){return xn(c,t,n)},"arguments"))]),ar,")"]):"",": ",n("type"),Kr(e,n,u)];case"DirectiveDefinition":return[n("description"),u.description?Xe:"","directive ","@",n("name"),u.arguments.length>0?Et(["(",Yr([ar,Pr([un("",", "),ar],e.call(function(c){return xn(c,t,n)},"arguments"))]),ar,")"]):"",u.repeatable?" repeatable":""," on ",Pr(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),u.description?Xe:"",u.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),Kr(e,n,u),u.values.length>0?[" {",Yr([Xe,Pr(Xe,e.call(function(c){return xn(c,t,n)},"values"))]),Xe,"}"]:""];case"EnumValueDefinition":return[n("description"),u.description?Xe:"",n("name"),Kr(e,n,u)];case"InputValueDefinition":return[n("description"),u.description?u.description.block?Xe:uo:"",n("name"),": ",n("type"),u.defaultValue?[" = ",n("defaultValue")]:"",Kr(e,n,u)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),u.description?Xe:"",u.kind==="InputObjectTypeExtension"?"extend ":"","input ",n("name"),Kr(e,n,u),u.fields.length>0?[" {",Yr([Xe,Pr(Xe,e.call(function(c){return xn(c,t,n)},"fields"))]),Xe,"}"]:""];case"SchemaDefinition":return["schema",Kr(e,n,u)," {",u.operationTypes.length>0?Yr([Xe,Pr(Xe,e.call(function(c){return xn(c,t,n)},"operationTypes"))]):"",Xe,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),u.description?Xe:"",u.kind==="InterfaceTypeExtension"?"extend ":"","interface ",n("name"),u.interfaces.length>0?[" implements "].concat(ee(DC(e,t,n))):"",Kr(e,n,u),u.fields.length>0?[" {",Yr([Xe,Pr(Xe,e.call(function(c){return xn(c,t,n)},"fields"))]),Xe,"}"]:""];case"FragmentSpread":return["...",n("name"),Kr(e,n,u)];case"InlineFragment":return["...",u.typeCondition?[" on ",n("typeCondition")]:"",Kr(e,n,u)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return Et([n("description"),u.description?Xe:"",Et([u.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),Kr(e,n,u),u.types.length>0?[" =",un(""," "),Yr([un([uo," "]),Pr([uo,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),u.description?Xe:"",u.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),Kr(e,n,u)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(u.kind))}},"print"),massageAstNode:gC,hasPrettierIgnore:i(function(e){var t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some(function(n){return n.value.trim()==="prettier-ignore"})},"hasPrettierIgnore"),insertPragma:r4,printComment:i(function(e){var t=e.getValue();if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},"printComment"),canAttachComment:i(function(e){return e.kind&&e.kind!=="Comment"},"canAttachComment")},u4={bracketSpacing:Kn.bracketSpacing},a4={languages:[pr({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}}},xp={locStart:i(function(e){return e.position.start.offset},"locStart"),locEnd:i(function(e){return e.position.end.offset},"locEnd")},mC=J.getLast,vC=xp.locStart,yC=xp.locEnd,Ph={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]"},Ih=Ph.cjkPattern,i4=Ph.kPattern,EC=Ph.punctuationPattern,CC=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],o4=[].concat(CC,["tableCell","paragraph","heading"]),s4=new RegExp(i4),Oh=new RegExp(EC);function wp(r,e){var t=e.slice(r.position.start.offset,r.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/),n=Ne(t,4),u=n[1],a=n[2],o=n[3];return{numberText:u,marker:a,leadingSpaces:o}}i(wp,"LN");var an={mapAst:i(function(e,t){return i(function n(u,a,o){var s=Object.assign({},t(u,a,o));return s.children&&(s.children=s.children.map(function(c,l){return n(c,l,[s].concat(ee(o)))})),s},"e")(e,null,[])},"mapAst"),splitText:i(function(e,t){var n="non-cjk",u="cj-letter",a="cjk-punctuation",o=[],s=(t.proseWrap==="preserve"?e:e.replace(new RegExp("(".concat(Ih,`) (`).concat(Ih,")"),"g"),"$1$2")).split(/([\t\n ]+)/),c=pe(s.entries()),l;try{for(c.s();!(l=c.n()).done;){var p=Ne(l.value,2),f=p[0],d=p[1];if(f%2==1){o.push({type:"whitespace",value:/\n/.test(d)?` `:" "});continue}if(!((f===0||f===s.length-1)&&d==="")){var h=d.split(new RegExp("(".concat(Ih,")"))),g=pe(h.entries()),y;try{for(g.s();!(y=g.n()).done;){var E=Ne(y.value,2),F=E[0],T=E[1];(F!==0&&F!==h.length-1||T!=="")&&(F%2!=0?S(Oh.test(T)?{type:"word",value:T,kind:a,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:T,kind:s4.test(T)?"k-letter":u,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):T!==""&&S({type:"word",value:T,kind:n,hasLeadingPunctuation:Oh.test(T[0]),hasTrailingPunctuation:Oh.test(mC(T))}))}}catch(w){g.e(w)}finally{g.f()}}}}catch(w){c.e(w)}finally{c.f()}return o;function S(w){var B=mC(o),b,N;B&&B.type==="word"&&(B.kind===n&&w.kind===u&&!B.hasTrailingPunctuation||B.kind===u&&w.kind===n&&!w.hasLeadingPunctuation?o.push({type:"whitespace",value:" "}):(b=n,N=a,B.kind===b&&w.kind===N||B.kind===N&&w.kind===b||[B.value,w.value].some(function(L){return/\u3000/.test(L)})||o.push({type:"whitespace",value:""}))),o.push(w)}},"splitText"),punctuationPattern:EC,getFencedCodeBlockValue:i(function(e,t){var n=e.value;return e.position.end.offset===t.length&&n.endsWith(` `)&&t.endsWith(` `)?n.slice(0,-1):n},"getFencedCodeBlockValue"),getOrderedListItemInfo:wp,hasGitDiffFriendlyOrderedList:i(function(e,t){if(!e.ordered||e.children.length<2)return!1;var n=Number(wp(e.children[0],t.originalText).numberText),u=Number(wp(e.children[1],t.originalText).numberText);if(n===0&&e.children.length>2){var a=Number(wp(e.children[2],t.originalText).numberText);return u===1&&a===1}return u===1},"hasGitDiffFriendlyOrderedList"),INLINE_NODE_TYPES:CC,INLINE_NODE_WRAPPER_TYPES:o4,isAutolink:i(function(e){if(!e||e.type!=="link"||e.children.length!==1)return!1;var t=e.children[0];return t&&vC(e)===vC(t)&&yC(e)===yC(t)},"isAutolink")},c4=J.inferParserByLanguage,l4=J.getMaxContinuousCount,AC=de.builders,Lh=AC.hardline,p4=AC.markAsRoot,f4=de.utils.replaceNewlinesWithLiterallines,d4=an.getFencedCodeBlockValue,h4=i(function(e,t,n,u){var a=e.getValue();if(a.type==="code"&&a.lang!==null){var o=c4(a.lang,u);if(o){var s=u.__inJsTemplate?"~":"`",c=s.repeat(Math.max(3,l4(a.value,s)+1)),l=n(d4(a,u.originalText),{parser:o},{stripTrailingHardline:!0});return p4([c,a.lang,a.meta?" "+a.meta:"",Lh,f4(l),Lh,c])}}switch(a.type){case"front-matter":return ph(a,n);case"importExport":return[n(a.value,{parser:"babel"},{stripTrailingHardline:!0}),Lh];case"jsx":return n("<$>".concat(a.value,""),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null},"UN"),bC=["format","prettier"];function FC(r){var e="@(".concat(bC.join("|"),")"),t=new RegExp([""),``)].join("|"),"m"),n=r.match(t);return n&&n.index===0}i(FC,"HN");var SC={startWithPragma:FC,hasPragma:i(function(e){return FC(gp(e).content.trimStart())},"hasPragma"),insertPragma:i(function(e){var t=gp(e),n="");return t.frontMatter?"".concat(t.frontMatter.raw,` `).concat(n,` `).concat(t.content):"".concat(n,` `).concat(t.content)},"insertPragma")},TC=an.getOrderedListItemInfo,Oa=an.mapAst,D4=an.splitText,g4=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function xC(r,e,t){return Oa(r,function(n){if(!n.children)return n;var u=n.children.reduce(function(a,o){var s=cr(a);return s&&e(s,o)?a.splice(-1,1,t(s,o)):a.push(o),a},[]);return Object.assign({},n,{children:u})})}i(xC,"QN");var m4=i(function(e,t){return e=function(n){return xC(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,o,s){var c=Ne(s,1),l=c[0];if(a.type!=="text")return a;var p=a.value;return l.type==="paragraph"&&(o===0&&(p=p.trimStart()),o===l.children.length-1&&(p=p.trimEnd())),{type:"sentence",position:a.position,children:D4(p,u)}})}(e=function(n,u){return Oa(n,function(s,c,l){if(s.type==="list"&&s.children.length>0){for(var p=0;p1)return!0;var f=a(l);return f===-1?!1:s.children.length===1?f%u.tabWidth==0:f!==a(p)?!1:f%u.tabWidth==0?!0:TC(p,u.originalText).leadingSpaces.length>1}}(e=function(n,u){return Oa(n,function(a,o,s){if(a.type==="code"){var c=/^\n?( {4,}|\t)/.test(u.originalText.slice(a.position.start.offset,a.position.end.offset));if(a.isIndented=c,c)for(var l=0;l0&&(t.children[0]===r||v4(t.children[0])&&t.children[1]===r)&&r.type==="html"&&y4(r.value)?null:void 0)}i(wC,"rP"),wC.ignoredProperties=E4;var C4=wC,Bp=J.getLast,A4=J.getMinNotPresentContinuousCount,b4=J.getMaxContinuousCount,F4=J.getStringWidth,S4=J.isNonEmptyArray,Ct=de.builders,BC=Ct.breakParent,kC=Ct.join,NC=Ct.line,PC=Ct.literalline,IC=Ct.markAsRoot,Qr=Ct.hardline,Rh=Ct.softline,T4=Ct.ifBreak,x4=Ct.fill,ao=Ct.align,w4=Ct.indent,kp=Ct.group,OC=Ct.hardlineWithoutBreakParent,B4=de.utils.normalizeDoc,k4=de.printer.printDocToString,Zs=J.replaceEndOfLineWith,N4=SC.insertPragma,P4=xp.locStart,I4=xp.locEnd,O4=an.getFencedCodeBlockValue,L4=an.hasGitDiffFriendlyOrderedList,R4=an.splitText,LC=an.punctuationPattern,M4=an.INLINE_NODE_TYPES,j4=an.INLINE_NODE_WRAPPER_TYPES,RC=an.isAutolink,MC=new Set(["importExport"]),$4=["heading","tableCell","link","wikiLink"],V4=new Set(["listItem","definition","footnoteDefinition"]);function jC(r,e,t,n){var u=r.getValue(),a=u.checked===null?"":u.checked?"[x] ":"[ ] ";return[a,Zr(r,e,t,{processor:i(function(s,c){if(c===0&&s.getValue().type!=="list")return ao(" ".repeat(a.length),t());var l=" ".repeat((p=e.tabWidth-n.length,d=3,p<(f=0)?f:p>d?d:p)),p,f,d;return[l,ao(l,t())]},"processor")})]}i(jC,"RP");function $C(r,e){return function(t,n,u){var a=-1,o=pe(n.children),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;if(c.type===t.type&&u(c)?a++:a=-1,c===t)return a}}catch(l){o.e(l)}finally{o.f()}}(r,e,function(t){return t.ordered===r.ordered})}i($C,"VP");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}i(VC,"$P");function Mh(r,e){var t=VC(r,e);return t===-1?null:r.getParentNode(t)}i(Mh,"qP");function qC(r,e,t){if(t.proseWrap==="preserve"&&e===` `)return Qr;var n=t.proseWrap==="always"&&!Mh(r,$4);return e!==""?n?NC:" ":n?Rh:""}i(qC,"WP");function q4(r,e,t){var n=[],u=null,a=r.getValue(),o=a.children,s=pe(o.entries()),c;try{for(s.s();!(c=s.n()).done;){var l=Ne(c.value,2),p=l[0],f=l[1];switch(jh(f)){case"start":u===null&&(u={index:p,offset:f.position.end.offset});break;case"end":u!==null&&(n.push({start:u,end:{index:p,offset:f.position.start.offset}}),u=null)}}}catch(d){s.e(d)}finally{s.f()}return Zr(r,e,t,{processor:i(function(h,g){if(n.length>0){var y=n[0];if(g===y.start.index)return[o[y.start.index].value,e.originalText.slice(y.start.offset,y.end.offset),o[y.end.index].value];if(y.start.index3&&arguments[3]!==void 0?arguments[3]:{},u=n.postprocessor,a=n.processor||function(){return t()},o=r.getValue(),s=[],c;return r.each(function(l,p){var f=l.getValue(),d=a(l,p);if(d!==!1){var h={parts:s,prevNode:c,parentNode:o,options:e};(function(g,y){var E=y.parts.length===0,F=M4.includes(g.type),T=g.type==="html"&&j4.includes(y.parentNode.type);return!E&&!F&&!T})(f,h)&&(s.push(Qr),c&&MC.has(c.type)||(function(g,y){var E=(y.prevNode&&y.prevNode.type)===g.type&&V4.has(g.type),F=y.parentNode.type==="listItem"&&!y.parentNode.loose,T=y.prevNode&&y.prevNode.type==="listItem"&&y.prevNode.loose,S=jh(y.prevNode)==="next",w=g.type==="html"&&y.prevNode&&y.prevNode.type==="html"&&y.prevNode.position.end.line+1===g.position.start.line,B=g.type==="html"&&y.parentNode.type==="listItem"&&y.prevNode&&y.prevNode.type==="paragraph"&&y.prevNode.position.end.line+1===g.position.start.line;return T||!(E||F||S||w||B)}(f,h)||UC(f,h))&&s.push(Qr),UC(f,h)&&s.push(Qr)),s.push(d),c=f}},"children"),u?u(s):s}i(Zr,"zP");function U4(r){for(var e=r;S4(e.children);)e=Bp(e.children);return e}i(U4,"HP");function jh(r){if(r.type!=="html")return!1;var e=r.value.match(/^$/);return e!==null&&(e[1]?e[1]:"next")}i(jh,"GP");function UC(r,e){var t=e.prevNode&&e.prevNode.type==="list",n=r.type==="code"&&r.isIndented;return t&&n}i(UC,"JP");function $h(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=[" "].concat(ee(Array.isArray(e)?e:[e]));return new RegExp(t.map(function(n){return"\\".concat(n)}).join("|")).test(r)?"<".concat(r,">"):r}i($h,"XP");function Np(r,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!r)return"";if(t)return" "+Np(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)}i(Np,"YP");var W4={preprocess:m4,print:i(function(e,t,n){var u=e.getValue();if(function(ie){var ye=Mh(ie,["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(ie){return ie.type==="word"?ie.value:ie.value===""?"":qC(e,ie.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(q4(e,t,n)),MC.has(U4(u).type)?"":Qr];case"paragraph":return Zr(e,t,n,{postprocessor:x4});case"sentence":return Zr(e,t,n);case"word":{var a=u.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(LC,")(_+)"),"(_+)(".concat(LC,"|$)")].join("|"),"g"),function(ie,ye,Re,xe,Pe){return(Re?"".concat(ye).concat(Re):"".concat(xe).concat(Pe)).replace(/_/g,"\\_")}),o=i(function(ye,Re,xe){return ye.type==="sentence"&&xe===0},"_n108"),s=i(function(ye,Re,xe){return RC(ye.children[xe-1])},"_o63");return a!==u.value&&(e.match(void 0,o,s)||e.match(void 0,o,function(ie,ye,Re){return ie.type==="emphasis"&&Re===0},s))&&(a=a.replace(/^(\\?[*_])+/,function(ie){return ie.replace(/\\/g,"")})),a}case"whitespace":{var c=e.getParentNode(),l=c.children.indexOf(u),p=c.children[l+1],f=p&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(p.value)?"never":t.proseWrap;return qC(e,u.value,{proseWrap:f})}case"emphasis":{var d;if(RC(u.children[0]))d=t.originalText[u.position.start.offset];else{var h=e.getParentNode(),g=h.children.indexOf(u),y=h.children[g-1],E=h.children[g+1];d=y&&y.type==="sentence"&&y.children.length>0&&Bp(y.children).type==="word"&&!Bp(y.children).hasTrailingPunctuation||E&&E.type==="sentence"&&E.children.length>0&&E.children[0].type==="word"&&!E.children[0].hasLeadingPunctuation||Mh(e,"emphasis")?"*":"_"}return[d,Zr(e,t,n),d]}case"strong":return["**",Zr(e,t,n),"**"];case"delete":return["~~",Zr(e,t,n),"~~"];case"inlineCode":{var F=A4(u.value,"`"),T="`".repeat(F||1),S=F&&!/^\s/.test(u.value)?" ":"";return[T,S,u.value,S,T]}case"wikiLink":{var w="";return w=t.proseWrap==="preserve"?u.value:u.value.replace(/[\t\n]+/g," "),["[[",w,"]]"]}case"link":switch(t.originalText[u.position.start.offset]){case"<":{var B="mailto:";return["<",u.url.startsWith(B)&&t.originalText.slice(u.position.start.offset+1,u.position.start.offset+1+B.length)!==B?u.url.slice(B.length):u.url,">"]}case"[":return["[",Zr(e,t,n),"](",$h(u.url,")"),Np(u.title,t),")"];default:return t.originalText.slice(u.position.start.offset,u.position.end.offset)}case"image":return["![",u.alt||"","](",$h(u.url,")"),Np(u.title,t),")"];case"blockquote":return["> ",ao("> ",Zr(e,t,n))];case"heading":return["#".repeat(u.depth)+" ",Zr(e,t,n)];case"code":{if(u.isIndented){var b=" ".repeat(4);return ao(b,[b].concat(ee(Zs(u.value,Qr))))}var N=t.__inJsTemplate?"~":"`",L=N.repeat(Math.max(3,b4(u.value,N)+1));return[L,u.lang||"",u.meta?" "+u.meta:"",Qr].concat(ee(Zs(O4(u,t.originalText),Qr)),[Qr,L])}case"html":{var q=e.getParentNode(),z=q.type==="root"&&Bp(q.children)===u?u.value.trimEnd():u.value,M=/^$/.test(z);return Zs(z,M?Qr:IC(PC))}case"list":{var V=$C(u,e.getParentNode()),Q=L4(u,t);return Zr(e,t,n,{processor:i(function(ye,Re){var xe=function(){var Le=u.ordered?(Re===0?u.start:Q?1:u.start+Re)+(V%2==0?". ":") "):V%2==0?"- ":"* ";return u.isAligned||u.hasIndentedCodeblock?function(Ge,Me){var Qe=Se();return Ge+" ".repeat(Qe>=4?0:Qe);function Se(){var Fe=Ge.length%Me.tabWidth;return Fe===0?0:Me.tabWidth-Fe}}(Le,t):Le}(),Pe=ye.getValue();return Pe.children.length===2&&Pe.children[1].type==="html"&&Pe.children[0].position.start.column!==Pe.children[1].position.start.column?[xe,jC(ye,t,n,xe)]:[xe,ao(" ".repeat(xe.length),jC(ye,t,n,xe))]},"processor")})}case"thematicBreak":{var ue=VC(e,"list");return ue===-1?"---":$C(e.getParentNode(ue),e.getParentNode(ue+1))%2==0?"***":"---"}case"linkReference":return["[",Zr(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 ae=t.proseWrap==="always"?NC:" ";return kp(["[",u.identifier,"]:",w4([ae,$h(u.url),u.title===null?"":[ae,Np(u.title,t,!1)]])])}case"footnote":return["[^",Zr(e,t,n),"]"];case"footnoteReference":return["[^",u.identifier,"]"];case"footnoteDefinition":{var Ae=e.getParentNode().children[e.getName()+1],se=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,"]: ",se?Zr(e,t,n):kp([ao(" ".repeat(4),Zr(e,t,n,{processor:i(function(ye,Re){return Re===0?kp([Rh,n()]):n()},"processor")})),Ae&&Ae.type==="footnoteDefinition"?Rh:""])]}case"table":return function(ie,ye,Re){var xe=ie.getValue(),Pe=[],Le=ie.map(function(Ze){return Ze.map(function(Be,Ie){var ze=k4(Re(),ye).formatted,rr=F4(ze);return Pe[Ie]=Math.max(Pe[Ie]||3,rr),{text:ze,width:rr}},"children")},"children"),Ge=Qe(!1);if(ye.proseWrap!=="never")return[BC,Ge];var Me=Qe(!0);return[BC,kp(T4(Me,Ge))];function Qe(Ze){var Be=[Fe(Le[0],Ze),Se(Ze)];return Le.length>1&&Be.push(kC(OC,Le.slice(1).map(function(Ie){return Fe(Ie,Ze)}))),kC(OC,Be)}function Se(Ze){var Be=Pe.map(function(Ie,ze){var rr=xe.align[ze],Ar=rr==="center"||rr==="left"?":":"-",Gt=rr==="center"||rr==="right"?":":"-",_r=Ze?"-":"-".repeat(Ie-2);return"".concat(Ar).concat(_r).concat(Gt)});return"| ".concat(Be.join(" | ")," |")}function Fe(Ze,Be){var Ie=Ze.map(function(ze,rr){var Ar=ze.text,Gt=ze.width;if(Be)return Ar;var _r=Pe[rr]-Gt,Bn=xe.align[rr],ln=0;Bn==="right"?ln=_r:Bn==="center"&&(ln=Math.floor(_r/2));var Mu=_r-ln;return"".concat(" ".repeat(ln)).concat(Ar).concat(" ".repeat(Mu))});return"| ".concat(Ie.join(" | ")," |")}}(e,t,n);case"tableCell":return Zr(e,t,n);case"break":return/\s/.test(t.originalText[u.position.start.offset])?[" ",IC(PC)]:["\\",Qr];case"liquidNode":return Zs(u.value,Qr);case"importExport":return[u.value,Qr];case"jsx":return u.value;case"math":return["$$",Qr,u.value?[].concat(ee(Zs(u.value,Qr)),[Qr]):"","$$"];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)))}},"print"),embed:h4,massageAstNode:C4,hasPrettierIgnore:i(function(e){var t=Number(e.getName());return t!==0&&jh(e.getParentNode().children[t-1])==="next"},"hasPrettierIgnore"),insertPragma:N4},G4={proseWrap:Kn.proseWrap,singleQuote:Kn.singleQuote},WC={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:[pr(WC,function(r){return{since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[].concat(ee(r.filenames),["README"]),extensions:r.extensions.filter(function(e){return e!==".mdx"})}}),pr(WC,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=J.isFrontMatterNode,X4=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function GC(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))}i(GC,"rO"),GC.ignoredProperties=X4;var J4=GC,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=J.inferParserByLanguage,Vh=J.isFrontMatterNode,Pp={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=Pp.CSS_DISPLAY_TAGS,Z4=Pp.CSS_DISPLAY_DEFAULT,_4=Pp.CSS_WHITE_SPACE_TAGS,eI=Pp.CSS_WHITE_SPACE_DEFAULT,rI=zC(["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);n0&&(["html","head","ul","ol","select"].includes(r.name)||r.cssDisplay.startsWith("table")&&r.cssDisplay!=="table-cell")}i(KC,"vO");function QC(r){return rA(r)||r.type==="element"&&r.fullName==="br"||ZC(r)}i(QC,"AO");function ZC(r){return _C(r)&&eA(r)}i(ZC,"FO");function _C(r){return r.hasLeadingSpaces&&(r.prev?r.prev.sourceSpan.end.liner.sourceSpan.end.line:r.parent.type==="root"||r.parent.endSourceSpan&&r.parent.endSourceSpan.start.line>r.sourceSpan.end.line)}i(eA,"SO");function rA(r){switch(r.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(r.name)}return!1}i(rA,"wO");function tA(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}i(tA,"TO");function _s(r){return r==="block"||r==="list-item"||r.startsWith("table")}i(_s,"BO");function io(r){return qh(r).startsWith("pre")}i(io,"kO");function Ip(r){return r.type==="element"&&!r.hasExplicitNamespace&&!["html","svg"].includes(r.namespace)}i(Ip,"NO");function qh(r){return r.type==="element"&&(!r.namespace||Ip(r))&&_4[r.name]||eI}i(qh,"PO");var aI=new Set(["template","style","script"]);function Op(r,e){return Uh(r,e)&&!aI.has(r.fullName)}i(Op,"IO");function Uh(r,e){return e.parser==="vue"&&r.type==="element"&&r.parent.type==="root"&&r.fullName.toLowerCase()!=="html"}i(Uh,"jO");function Wh(r,e){return Uh(r,e)&&(Op(r,e)||r.attrMap.lang&&r.attrMap.lang!=="html")}i(Wh,"LO");var Ye={HTML_ELEMENT_ATTRIBUTES:tI,HTML_TAGS:rI,htmlTrim:i(function(e){return function(t){return t.replace(/^[\t\n\f\r ]+/,"")}(HC(e))},"htmlTrim"),htmlTrimPreserveIndentation:i(function(e){return function(t){return t.replace(/^[\t\f\r ]*?\n/g,"")}(HC(e))},"htmlTrimPreserveIndentation"),splitByHtmlWhitespace:i(function(e){return e.split(/[\t\n\f\r ]+/)},"splitByHtmlWhitespace"),hasHtmlWhitespace:i(function(e){return/[\t\n\f\r ]/.test(e)},"hasHtmlWhitespace"),getLeadingAndTrailingHtmlWhitespace:i(function(e){var t=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/),n=Ne(t,4),u=n[1],a=n[2],o=n[3];return{leadingWhitespace:u,trailingWhitespace:o,text:a}},"getLeadingAndTrailingHtmlWhitespace"),canHaveInterpolation:i(function(e){return e.children&&!La(e)},"canHaveInterpolation"),countChars:i(function(e,t){for(var n=0,u=0;u=0;u--){var a=e.stack[u];a&&Te(a)=="object"&&!Array.isArray(a)&&t(a)&&n++}return n},"countParents"),dedentString:i(function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(n){var u=Number.POSITIVE_INFINITY,a=pe(n.split(` `)),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;if(s.length!==0){if(!nI.has(s[0]))return 0;var c=uI(s).length;s.length!==c&&c0&&(["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"&&_C(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||eA(e.lastChild))},"forceBreakContent"),forceNextEmptyLine:i(function(e){return Vh(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1=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 nA=function(){function r(e,t,n){ce(this,r),this.filePath=e,this.name=t,this.members=n}return i(r,"RO"),le(r,[{key:"assertNoMembers",value:i(function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))},"assertNoMembers")}]),r}(),iI=nA,oI=function(){function r(){ce(this,r),this.cache=new Map}return i(r,"$O"),le(r,[{key:"get",value:i(function(t,n,u){var a=(u=u||[]).length?".".concat(u.join(".")):"",o='"'.concat(t,'".').concat(n).concat(a),s=this.cache.get(o);return s||(s=new nA(t,n,u),this.cache.set(o,s)),s},"get")}]),r}(),Lp=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=i(function(e){return e.replace(sI,function(){for(var t=arguments.length,n=new Array(t),u=0;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},"aI"),FI=i(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)},"e"),SI=i(function(e){return typeof e=="function"&&e.hasOwnProperty("__forward_ref__")?e():e},"lI");function Rp(r){return!!r&&typeof r.then=="function"}i(Rp,"pI");var TI=Rp,xI=le(i(function r(e){ce(this,r),this.full=e;var t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")},"dI")),wI=typeof window<"u"&&window,BI=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,kI=Ee!==void 0&&Ee||wI||BI,Mp=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}),zh=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(f){return f.replace(/\W/g,"_")}i(n,"r"),e.sanitizeIdentifier=n;var u=0;function a(f){if(!f||!f.reference)return null;var d=f.reference;if(d instanceof Lp.StaticSymbol)return d.name;if(d.__anonymousType)return d.__anonymousType;var h=Mp.stringify(d);return h.indexOf("(")>=0?(h="anonymous_".concat(u++),d.__anonymousType=h):h=n(h),h}i(a,"i");var o;e.identifierName=a,e.identifierModuleUrl=function(f){var d=f.reference;return d instanceof Lp.StaticSymbol?d.filePath:"./".concat(Mp.stringify(d))},e.viewClassName=function(f,d){return"View_".concat(a({reference:f}),"_").concat(d)},e.rendererTypeName=function(f){return"RenderType_".concat(a({reference:f}))},e.hostViewClassName=function(f){return"HostView_".concat(a({reference:f}))},e.componentFactoryName=function(f){return"".concat(a({reference:f}),"NgFactory")},function(f){f[f.Pipe=0]="Pipe",f[f.Directive=1]="Directive",f[f.NgModule=2]="NgModule",f[f.Injectable=3]="Injectable"}(o=e.CompileSummaryKind||(e.CompileSummaryKind={})),e.tokenName=function(f){return f.value!=null?n(f.value):a(f.identifier)},e.tokenReference=function(f){return f.identifier!=null?f.identifier.reference:f.value},e.CompileStylesheetMetadata=function(){function f(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=d.moduleUrl,g=d.styles,y=d.styleUrls;ce(this,f),this.moduleUrl=h||null,this.styles=c(g),this.styleUrls=c(y)}return i(f,"_class11"),le(f)}(),e.CompileTemplateMetadata=function(){function f(d){var h=d.encapsulation,g=d.template,y=d.templateUrl,E=d.htmlAst,F=d.styles,T=d.styleUrls,S=d.externalStylesheets,w=d.animations,B=d.ngContentSelectors,b=d.interpolation,N=d.isInline,L=d.preserveWhitespaces;if(ce(this,f),this.encapsulation=h,this.template=g,this.templateUrl=y,this.htmlAst=E,this.styles=c(F),this.styleUrls=c(T),this.externalStylesheets=c(S),this.animations=w?l(w):[],this.ngContentSelectors=B||[],b&&b.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=b,this.isInline=N,this.preserveWhitespaces=L}return i(f,"_class12"),le(f,[{key:"toSummary",value:i(function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}},"toSummary")}]),f}();var s=function(){function f(d){var h=d.isHost,g=d.type,y=d.isComponent,E=d.selector,F=d.exportAs,T=d.changeDetection,S=d.inputs,w=d.outputs,B=d.hostListeners,b=d.hostProperties,N=d.hostAttributes,L=d.providers,q=d.viewProviders,z=d.queries,M=d.guards,V=d.viewQueries,Q=d.entryComponents,ue=d.template,ae=d.componentViewType,Ae=d.rendererType,se=d.componentFactory;ce(this,f),this.isHost=!!h,this.type=g,this.isComponent=y,this.selector=E,this.exportAs=F,this.changeDetection=T,this.inputs=S,this.outputs=w,this.hostListeners=B,this.hostProperties=b,this.hostAttributes=N,this.providers=c(L),this.viewProviders=c(q),this.queries=c(z),this.guards=M,this.viewQueries=c(V),this.entryComponents=c(Q),this.template=ue,this.componentViewType=ae,this.rendererType=Ae,this.componentFactory=se}return i(f,"s"),le(f,[{key:"toSummary",value:i(function(){return{summaryKind:o.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}},"toSummary")}],[{key:"create",value:i(function(h){var g=h.isHost,y=h.type,E=h.isComponent,F=h.selector,T=h.exportAs,S=h.changeDetection,w=h.inputs,B=h.outputs,b=h.host,N=h.providers,L=h.viewProviders,q=h.queries,z=h.guards,M=h.viewQueries,V=h.entryComponents,Q=h.template,ue=h.componentViewType,ae=h.rendererType,Ae=h.componentFactory,se={},ie={},ye={};b!=null&&Object.keys(b).forEach(function(Pe){var Le=b[Pe],Ge=Pe.match(t);Ge===null?ye[Pe]=Le:Ge[1]!=null?ie[Ge[1]]=Le:Ge[2]!=null&&(se[Ge[2]]=Le)});var Re={};w!=null&&w.forEach(function(Pe){var Le=Mp.splitAtColon(Pe,[Pe,Pe]);Re[Le[0]]=Le[1]});var xe={};return B!=null&&B.forEach(function(Pe){var Le=Mp.splitAtColon(Pe,[Pe,Pe]);xe[Le[0]]=Le[1]}),new f({isHost:g,type:y,isComponent:!!E,selector:F,exportAs:T,changeDetection:S,inputs:Re,outputs:xe,hostListeners:se,hostProperties:ie,hostAttributes:ye,providers:N,viewProviders:L,queries:q,guards:z,viewQueries:M,entryComponents:V,template:Q,componentViewType:ue,rendererType:ae,componentFactory:Ae})},"create")}]),f}();e.CompileDirectiveMetadata=s,e.CompilePipeMetadata=function(){function f(d){var h=d.type,g=d.name,y=d.pure;ce(this,f),this.type=h,this.name=g,this.pure=!!y}return i(f,"_class13"),le(f,[{key:"toSummary",value:i(function(){return{summaryKind:o.Pipe,type:this.type,name:this.name,pure:this.pure}},"toSummary")}]),f}(),e.CompileShallowModuleMetadata=function(){function f(){ce(this,f)}return i(f,"_class14"),le(f)}(),e.CompileNgModuleMetadata=function(){function f(d){var h=d.type,g=d.providers,y=d.declaredDirectives,E=d.exportedDirectives,F=d.declaredPipes,T=d.exportedPipes,S=d.entryComponents,w=d.bootstrapComponents,B=d.importedModules,b=d.exportedModules,N=d.schemas,L=d.transitiveModule,q=d.id;ce(this,f),this.type=h||null,this.declaredDirectives=c(y),this.exportedDirectives=c(E),this.declaredPipes=c(F),this.exportedPipes=c(T),this.providers=c(g),this.entryComponents=c(S),this.bootstrapComponents=c(w),this.importedModules=c(B),this.exportedModules=c(b),this.schemas=c(N),this.id=q||null,this.transitiveModule=L||null}return i(f,"_class15"),le(f,[{key:"toSummary",value:i(function(){var h=this.transitiveModule;return{summaryKind:o.NgModule,type:this.type,entryComponents:h.entryComponents,providers:h.providers,modules:h.modules,exportedDirectives:h.exportedDirectives,exportedPipes:h.exportedPipes}},"toSummary")}]),f}();function c(f){return f||[]}i(c,"a"),e.TransitiveCompileNgModuleMetadata=function(){function f(){ce(this,f),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 i(f,"_class16"),le(f,[{key:"addProvider",value:i(function(h,g){this.providers.push({provider:h,module:g})},"addProvider")},{key:"addDirective",value:i(function(h){this.directivesSet.has(h.reference)||(this.directivesSet.add(h.reference),this.directives.push(h))},"addDirective")},{key:"addExportedDirective",value:i(function(h){this.exportedDirectivesSet.has(h.reference)||(this.exportedDirectivesSet.add(h.reference),this.exportedDirectives.push(h))},"addExportedDirective")},{key:"addPipe",value:i(function(h){this.pipesSet.has(h.reference)||(this.pipesSet.add(h.reference),this.pipes.push(h))},"addPipe")},{key:"addExportedPipe",value:i(function(h){this.exportedPipesSet.has(h.reference)||(this.exportedPipesSet.add(h.reference),this.exportedPipes.push(h))},"addExportedPipe")},{key:"addModule",value:i(function(h){this.modulesSet.has(h.reference)||(this.modulesSet.add(h.reference),this.modules.push(h))},"addModule")},{key:"addEntryComponent",value:i(function(h){this.entryComponentsSet.has(h.componentType)||(this.entryComponentsSet.add(h.componentType),this.entryComponents.push(h))},"addEntryComponent")}]),f}();function l(f){return f.reduce(function(d,h){var g=Array.isArray(h)?l(h):h;return d.concat(g)},[])}i(l,"c");function p(f){return f.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}i(p,"l"),e.ProviderMeta=function(){function f(d,h){var g=h.useClass,y=h.useValue,E=h.useExisting,F=h.useFactory,T=h.deps,S=h.multi;ce(this,f),this.token=d,this.useClass=g||null,this.useValue=y,this.useExisting=E,this.useFactory=F||null,this.dependencies=T||null,this.multi=!!S}return i(f,"_class17"),le(f)}(),e.flatten=l,e.templateSourceUrl=function(f,d,h){var g;return g=h.isInline?d.type.reference instanceof Lp.StaticSymbol?"".concat(d.type.reference.filePath,".").concat(d.type.reference.name,".html"):"".concat(a(f),"/").concat(a(d.type),".html"):h.templateUrl,d.type.reference instanceof Lp.StaticSymbol?g:p(g)},e.sharedStylesheetJitUrl=function(f,d){var h=f.moduleUrl.split(/\/\\/g),g=h[h.length-1];return p("css/".concat(d).concat(g,".ngstyle.js"))},e.ngModuleJitUrl=function(f){return p("".concat(a(f.type),"/module.ngfactory.js"))},e.templateJitUrl=function(f,d){return p("".concat(a(f),"/").concat(a(d.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 o(s,c,l,p){ce(this,o),this.file=s,this.offset=c,this.line=l,this.col=p}return i(o,"n"),le(o,[{key:"toString",value:i(function(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url},"toString")},{key:"moveBy",value:i(function(c){for(var l=this.file.content,p=l.length,f=this.offset,d=this.line,h=this.col;f>0&&c<0;)if(f--,c++,l.charCodeAt(f)==Gh.$LF){d--;var g=l.substr(0,f-1).lastIndexOf(String.fromCharCode(Gh.$LF));h=g>0?f-g:f}else h--;for(;f0;){var y=l.charCodeAt(f);f++,c--,y==Gh.$LF?(d++,h=0):h++}return new o(this.file,f,d,h)},"moveBy")},{key:"getContext",value:i(function(c,l){var p=this.file.content,f=this.offset;if(f!=null){f>p.length-1&&(f=p.length-1);for(var d=f,h=0,g=0;h0&&(f--,h++,p[f]!=` `||++g!=l););for(h=0,g=0;h2&&arguments[2]!==void 0?arguments[2]:null;ce(this,o),this.start=s,this.end=c,this.details=l}return i(o,"o"),le(o,[{key:"toString",value:i(function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},"toString")}]),o}(),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(o){o[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR"}(a=e.ParseErrorLevel||(e.ParseErrorLevel={})),e.ParseError=function(){function o(s,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a.ERROR;ce(this,o),this.span=s,this.msg=c,this.level=l}return i(o,"_class18"),le(o,[{key:"contextualMessage",value:i(function(){var c=this.span.start.getContext(100,3);return c?"".concat(this.msg,' ("').concat(c.before,"[").concat(a[this.level]," ->]").concat(c.after,'")'):this.msg},"contextualMessage")},{key:"toString",value:i(function(){var c=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(c)},"toString")}]),o}(),e.typeSourceSpan=function(o,s){var c=zh.identifierModuleUrl(s),l=c!=null?"in ".concat(o," ").concat(zh.identifierName(s)," in ").concat(c):"in ".concat(o," ").concat(zh.identifierName(s)),p=new n("",l);return new u(new t(p,-1,-1,-1),new t(p,-1,-1,-1))},e.r3JitTypeSourceSpan=function(o,s,c){var l="in ".concat(o," ").concat(s," in ").concat(c),p=new n("",l);return new u(new t(p,-1,-1,-1),new t(p,-1,-1,-1))}}),Ou=NI.ParseSourceSpan,PI=Ye.htmlTrim,II=Ye.getLeadingAndTrailingHtmlWhitespace,OI=Ye.hasHtmlWhitespace,LI=Ye.canHaveInterpolation,RI=Ye.getNodeCssStyleDisplay,MI=Ye.isDanglingSpaceSensitiveNode,jI=Ye.isIndentationSensitiveNode,$I=Ye.isLeadingSpaceSensitiveNode,VI=Ye.isTrailingSpaceSensitiveNode,qI=Ye.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=wb(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(ee(u))})}return e})},function(r){var e=i(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},"t");return r.map(function(t){if(t.children){var n=t.children.map(e);if(n.some(Boolean)){for(var u=[],a=0;a")})},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=pe(n.children),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;if(s.type!=="text"){u.push(s);continue}for(var c=s.sourceSpan.start,l=null,p=s.value.split(t),f=0;f0&&u.push({type:"text",value:d,sourceSpan:new Ou(c,l)}))}}}catch(h){a.e(h)}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=qI(t),u=jI(t);return t.clone({isWhitespaceSensitive:n,isIndentationSensitive:u,children:t.children.reduce(function(a,o){if(o.type!=="text"||n)return[].concat(ee(a),[o]);var s=[],c=II(o.value),l=c.leadingWhitespace,p=c.text,f=c.trailingWhitespace;return l&&s.push({type:e}),p&&s.push({type:"text",value:p,sourceSpan:new Ou(o.sourceSpan.start.moveBy(l.length),o.sourceSpan.end.moveBy(-f.length))}),f&&s.push({type:e}),[].concat(ee(a),s)},[]).reduce(function(a,o,s,c){if(o.type===e)return a;var l=s!==0&&c[s-1].type===e,p=s!==c.length-1&&c[s+1].type===e;return[].concat(ee(a),[Object.assign({},o,{hasLeadingSpaces:l,hasTrailingSpaces:p})])},[])})})},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:VI(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=i(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"},"t");return r.map(function(t){if(t.children){var n=t.children.map(e);if(n.some(Boolean)){for(var u=[],a=0;a")+o.firstChild.value+"")+c.value,sourceSpan:new Ou(s.sourceSpan.start,c.sourceSpan.end),isTrailingSpaceSensitive:l,hasTrailingSpaces:p}))}else u.push(o)}return t.clone({children:u})}}return t})}],WI=i(function(e,t){var n=pe(UI),u;try{for(n.s();!(u=n.n()).done;){var a=u.value;e=a(e,t)}}catch(o){n.e(o)}finally{n.f()}return e},"PI"),GI={hasPragma:i(function(e){return/^\s*/.test(e)},"hasPragma"),insertPragma:i(function(e){return` `+e.replace(/^\s*\n/,"")},"insertPragma")},oA={locStart:i(function(e){return e.sourceSpan.start.offset},"locStart"),locEnd:i(function(e){return e.sourceSpan.end.offset},"locEnd")},HI=de.builders.group,Xh={isVueEventBindingExpression:i(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)},"isVueEventBindingExpression"),printVueFor:i(function(e,t){var n=function(s){var c=/([^]*?)\s+(in|of)\s+([^]*)/,l=/,([^,\]}]*)(?:,([^,\]}]*))?$/,p=/^\(|\)$/g,f=s.match(c);if(!!f){var d={};d.for=f[3].trim();var h=f[1].trim().replace(p,""),g=h.match(l);return g?(d.alias=h.replace(l,""),d.iterator1=g[1].trim(),g[2]&&(d.iterator2=g[2].trim())):d.alias=h,{left:"".concat([d.alias,d.iterator1,d.iterator2].filter(Boolean).join(",")),operator:f[2],right:d.for}}}(e),u=n.left,a=n.operator,o=n.right;return[HI(t("function _(".concat(u,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",a," ",t(o,{parser:"__js_expression"},{stripTrailingHardline:!0})]},"printVueFor"),printVueBindings:i(function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})},"printVueBindings")},zI=ge(function(r){(function(e,t){r.exports?r.exports=t():e.parseSrcset=t()})(Ee,function(){return function(e,t){var n=t&&t.logger||console;function u(b){return b===" "||b===" "||b===` `||b==="\f"||b==="\r"}i(u,"r");function a(b){var N,L=b.exec(e.substring(T));if(L)return N=L[0],T+=N.length,N}i(a,"o");for(var o,s,c,l,p,f=e.length,d=/^[ \t\n\r\u000c]+/,h=/^[, \t\n\r\u000c]+/,g=/^[^ \t\n\r\u000c]+/,y=/[,]+$/,E=/^\d+$/,F=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,T=0,S=[];;){if(a(h),T>=f)return S;o=a(g),s=[],o.slice(-1)===","?(o=o.replace(y,""),B()):w()}function w(){for(a(d),c="",l="in descriptor";;){if(p=e.charAt(T),l==="in descriptor")if(u(p))c&&(s.push(c),c="",l="after descriptor");else{if(p===",")return T+=1,c&&s.push(c),void B();if(p==="(")c+=p,l="in parens";else{if(p==="")return c&&s.push(c),void B();c+=p}}else if(l==="in parens")if(p===")")c+=p,l="in descriptor";else{if(p==="")return s.push(c),void B();c+=p}else if(l==="after descriptor"&&!u(p)){if(p==="")return void B();l="in descriptor",T-=1}T+=1}}i(w,"E");function B(){var b,N,L,q,z,M,V,Q,ue,ae=!1,Ae={};for(q=0;q1)throw new Error("Mixed descriptor in srcset is not supported");var a=n?"w":u?"h":"d",o=n?"w":u?"h":"x",s=i(function(g){return Math.max.apply(Math,ee(g))},"u"),c=t.map(function(h){return h.url}),l=s(c.map(function(h){return h.length})),p=t.map(function(h){return h[a]}).map(function(h){return h?h.toString():""}),f=p.map(function(h){var g=h.indexOf(".");return g===-1?h.length:g}),d=s(f);return Jh([",",Yh],c.map(function(h,g){var y=[h],E=p[g];if(E){var F=l-h.length+1,T=d-f[g],S=" ".repeat(F+T);y.push(JI(S," "),E+o)}return y}))},"printImgSrcset"),printClassNames:i(function(e){for(var t=e.trim().split(/\s+/),n=[],u,a=0;a0)||s.type==="element"&&s.isSelfClosing&&Ra(c)?"":!c.isLeadingSpaceSensitive||_h(c)||Ra(c)&&s.lastChild&&tc(s.lastChild)&&s.lastChild.lastChild&&tc(s.lastChild.lastChild)?Cr:c.hasLeadingSpaces?bt:on}}i(CA,"qj");function AA(r,e){var t=r.startSourceSpan.end.offset;r.firstChild&&Wp(r.firstChild)&&(t-=aD(r).length);var n=r.endSourceSpan.start.offset;return r.lastChild&&tc(r.lastChild)?n+=iD(r,e).length:rc(r)&&(n-=nc(r.lastChild,e).length),e.originalText.slice(t,n)}i(AA,"Wj");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(l){return u.includes(l.rawName)}:function(){return!1},o=r.map(function(l){var p=l.getValue();return a(p)?sn(e.originalText.slice(eD(p),rD(p)),wn):t()},"attrs"),s=n.type==="element"&&n.fullName==="script"&&n.attrs.length===1&&n.attrs[0].fullName==="src"&&n.children.length===0,c=[ec([s?" ":bt,pA(bt,o)])];return n.firstChild&&Wp(n.firstChild)||n.isSelfClosing&&rc(n.parent)||s?c.push(n.isSelfClosing?" ":""):c.push(n.isSelfClosing?bt:on),c}i(CO,"Uj");function tD(r,e,t){var n=r.getValue();return[Vp(n,e),CO(r,e,t),n.isSelfClosing?"":AO(n)]}i(tD,"zj");function Vp(r,e){return r.prev&&Up(r.prev)?"":[Ma(r,e),uD(r)]}i(Vp,"Hj");function AO(r){return r.firstChild&&Wp(r.firstChild)?"":aD(r)}i(AO,"Gj");function nD(r,e){return[r.isSelfClosing?"":bO(r,e),qp(r,e)]}i(nD,"Jj");function bO(r,e){return r.lastChild&&tc(r.lastChild)?"":[FO(r,e),iD(r,e)]}i(bO,"Xj");function qp(r,e){return(r.next?Ra(r.next):rc(r.parent))?"":[nc(r,e),ja(r,e)]}i(qp,"Yj");function Up(r){return r.next&&!Ut(r.next)&&Ut(r)&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces}i(Up,"Kj");function Wp(r){return!r.prev&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces}i(Wp,"Qj");function Ra(r){return r.prev&&r.prev.type!=="docType"&&!Ut(r.prev)&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces}i(Ra,"Zj");function rc(r){return r.lastChild&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces&&!Ut(gA(r.lastChild))&&!hO(r)}i(rc,"eL");function tc(r){return!r.next&&!r.hasTrailingSpaces&&r.isTrailingSpaceSensitive&&Ut(gA(r))}i(tc,"tL");function Ma(r,e){return Wp(r)?aD(r.parent):Ra(r)?nc(r.prev,e):""}i(Ma,"nL");function FO(r,e){return rc(r)?nc(r.lastChild,e):""}i(FO,"rL");function ja(r,e){return tc(r)?iD(r.parent,e):Up(r)?uD(r.next):""}i(ja,"oL");function uD(r){switch(r.type){case"ieConditionalComment":case"ieConditionalStartComment":return"<").concat(r.rawName);default:return"<".concat(r.rawName)}}i(uD,"iL");function aD(r){switch(zn(!r.isSelfClosing),r.type){case"ieConditionalComment":return"]>";case"element":if(r.condition)return">";default:return">"}}i(aD,"uL");function iD(r,e){if(zn(!r.isSelfClosing),yA(r,e))return"";switch(r.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"element":if(r.isSelfClosing)return"/>";default:return">"}}i(nc,"aL");function bA(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r.value;return r.parent.isWhitespaceSensitive?r.parent.isIndentationSensitive?sn(e,wn):sn(DA(dA(e)),Cr):fA(pA(bt,uO(e)))}i(bA,"cL");var SO={preprocess:WI,print:i(function(e,t,n){var u=e.getValue();switch(u.type){case"front-matter":return sn(u.raw,wn);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(u),[At(CA(e,t,n)),Cr];case"element":case"ieConditionalComment":{if(dO(u,t))return[Ma(u,t),At(tD(e,t,n))].concat(ee(sn(AA(u,t),wn)),ee(nD(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,o=Symbol("element-attr-group-id");return[At([At(tD(e,t,n),{id:o}),u.children.length===0?u.hasDanglingSpaces&&u.isDanglingSpaceSensitive?bt:"":[oO(u)?Kh:"",(h=[a?Qh(on,"",{groupId:o}):u.firstChild.hasLeadingSpaces&&u.firstChild.isLeadingSpaceSensitive?bt:u.firstChild.type==="text"&&u.isWhitespaceSensitive&&u.isIndentationSensitive?ZI(on):on,CA(e,t,n)],a?_I(h,{groupId:o}):!Zh(u)&&!cO(u,t)||u.parent.type!=="root"||t.parser!=="vue"||t.vueIndentScriptAndStyle?ec(h):h),(u.next?Ra(u.next):rc(u.parent))?u.lastChild.hasTrailingSpaces&&u.lastChild.isTrailingSpaceSensitive?" ":"":a?Qh(on,"",{groupId:o}):u.lastChild.hasTrailingSpaces&&u.lastChild.isTrailingSpaceSensitive?bt:(u.lastChild.type==="comment"||u.lastChild.type==="text"&&u.isWhitespaceSensitive&&u.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*aO(e,function(g){return g.parent&&g.parent.type!=="root"}),"}$")).test(u.lastChild.value)?"":on]]),nD(u,t)]}case"ieConditionalStartComment":case"ieConditionalEndComment":return[Vp(u),qp(u)];case"interpolation":return[Vp(u,t)].concat(ee(e.map(n,"children")),[qp(u,t)]);case"text":{if(u.parent.type==="interpolation"){var s=/\n[^\S\n]*?$/,c=s.test(u.value),l=c?u.value.replace(s,""):u.value;return[].concat(ee(sn(l,wn)),[c?Cr:""])}var p=rO([Ma(u,t)].concat(ee(bA(u)),[ja(u,t)]));return tO(p)||p.type==="fill"?lA(fA(p)):p}case"docType":return[At([Vp(u,t)," ",u.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),qp(u,t)];case"comment":return[Ma(u,t)].concat(ee(sn(t.originalText.slice(eD(u),rD(u)),wn)),[ja(u,t)]);case"attribute":{if(u.value===null)return u.rawName;var f=EA(u.value),d=hA(f,"'")1&&arguments[1]!==void 0?arguments[1]:!0;return At([ec([on,Ie]),ze?on:""])},"a"),z=i(function(Ie){return b?L(Ie):q(Ie)},"c"),M=i(function(Ie,ze){return T(Ie,Object.assign({__onHtmlBindingRoot:N,__embeddedInHtml:!0},ze),{stripTrailingHardline:!0})},"l");if(F.fullName==="srcset"&&(F.parent.fullName==="img"||F.parent.fullName==="source"))return q(yO(B()));if(F.fullName==="class"&&!S.parentParser){var V=B();if(!V.includes("{{"))return EO(V)}if(F.fullName==="style"&&!S.parentParser){var Q=B();if(!Q.includes("{{"))return q(M(Q,{parser:"css",__isHTMLStyleAttribute:!0}))}if(S.parser==="vue"){if(F.fullName==="v-for")return gO(B(),M);if(pO(F)||fO(F,S))return mO(B(),M);var ue=["^:","^v-bind:"],ae=["^v-"];if(w(["^@","^v-on:"])){var Ae=B();return z(M(Ae,{parser:vO(Ae)?"__js_expression":"__vue_event_binding"}))}if(w(ue))return z(M(B(),{parser:"__vue_expression"}));if(w(ae))return z(M(B(),{parser:"__js_expression"}))}if(S.parser==="angular"){var se=i(function(Ie,ze){return M(Ie,Object.assign({},ze,{trailingComma:"none"}))},"_t182"),ie=["^\\*"],ye=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],Re=["^i18n(-.+)?$"];if(w(["^\\(.+\\)$","^on-"]))return z(se(B(),{parser:"__ng_action"}));if(w(ye))return z(se(B(),{parser:"__ng_binding"}));if(w(Re)){var xe=B().trim();return q(lA(bA(F,xe)),!xe.includes("@@"))}if(w(ie))return z(se(B(),{parser:"__ng_directive"}));var Pe=/{{([\S\s]+?)}}/g,Le=B();if(Pe.test(Le)){var Ge=[],Me=pe(Le.split(Pe).entries()),Qe;try{for(Me.s();!(Qe=Me.n()).done;){var Se=Ne(Qe.value,2),Fe=Se[0],Ze=Se[1];if(Fe%2==0)Ge.push(sn(Ze,wn));else try{Ge.push(At(["{{",ec([bt,se(Ze,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),bt,"}}"]))}catch{Ge.push("{{",sn(Ze,wn),"}}")}}}catch(Be){Me.e(Be)}finally{Me.f()}return At(Ge)}}return null}(a,function(F,T){return n(F,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},T),{stripTrailingHardline:!0})},u);if(E)return[a.rawName,'="',At(eO(E,function(F){return typeof F=="string"?F.replace(/"/g,"""):F})),'"'];break}case"front-matter":return ph(a,n)}},"embed")},FA="HTML",TO={htmlWhitespaceSensitivity:{since:"1.15.0",category:FA,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:FA,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},oD={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:[pr(oD,function(){return{name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}}),pr(oD,function(r){return{since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[].concat(ee(r.extensions),[".mjml"])}}),pr(oD,function(){return{name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}}),pr(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}}},SA={isPragma:i(function(e){return/^\s*@(prettier|format)\s*$/.test(e)},"isPragma"),hasPragma:i(function(e){return/^\s*#[^\S\n]*@(prettier|format)\s*?(\n|$)/.test(e)},"hasPragma"),insertPragma:i(function(e){return`# @format `.concat(e)},"insertPragma")},BO={locStart:i(function(e){return e.position.start.offset},"locStart"),locEnd:i(function(e){return e.position.end.offset},"locEnd")},kO=i(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"}))},"DL"),Wt=J.getLast,uc=J.isNonEmptyArray;function TA(r,e){return r&&typeof r.type=="string"&&(!e||e.includes(r.type))}i(TA,"CL");function xA(r){return r.value.trim()==="prettier-ignore"}i(xA,"vL");function sD(r){return r&&uc(r.leadingComments)}i(sD,"AL");function wA(r){return r&&uc(r.middleComments)}i(wA,"FL");function BA(r){return r&&r.indicatorComment}i(BA,"xL");function kA(r){return r&&r.trailingComment}i(kA,"SL");function cD(r){return r&&uc(r.endComments)}i(cD,"wL");function NA(r){var e=[],t,n=pe(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(o){n.e(o)}finally{n.f()}return t===" "&&e.push((e.pop()||"")+" "),e[0]===""&&(e.shift(),e.unshift(" "+(e.shift()||""))),e}i(NA,"TL");var er={getLast:Wt,getAncestorCount:i(function(e,t){for(var n=0,u=e.stack.length-1,a=0;a0&&d.length>0&&!/^\s/.test(d[0])&&!/^\s|\s$/.test(Wt(f))?[].concat(ee(f.slice(0,-1)),[[].concat(ee(Wt(f)),ee(d))]):[].concat(ee(f),[d])},[]).map(function(f){return f.reduce(function(d,h){return d.length>0&&/\s$/.test(Wt(d))?[].concat(ee(d.slice(0,-1)),[Wt(d)+" "+h]):[].concat(ee(d),[h])},[])}).map(function(f){return a.proseWrap==="never"?[f.join(" ")]:f}));function p(f){if(e.chomping==="keep")return Wt(f).length===0?f.slice(0,-1):f;for(var d=0,h=f.length-1;h>=0&&f[h].length===0;h--)d++;return d===0?f:d>=2&&!u?f.slice(0,-(d-1)):f.slice(0,-d)}},"getBlockValueLineContents"),getFlowScalarLineContents:i(function(e,t,n){var u=t.split(` `).map(function(a,o,s){return o===0&&o===s.length-1?a:o!==0&&o!==s.length-1?a.trim():o===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?[]:NA(a)}).reduce(function(a,o,s){return s!==0&&u[s-1].length>0&&o.length>0&&(e!=="quoteDouble"||!Wt(Wt(a)).endsWith("\\"))?[].concat(ee(a.slice(0,-1)),[[].concat(ee(Wt(a)),ee(o))]):[].concat(ee(a),[o])},[]).map(function(a){return n.proseWrap==="never"?[a.join(" ")]:a})},"getFlowScalarLineContents"),getLastDescendantNode:i(function r(e){return uc(e.children)?r(Wt(e.children)):e},"e"),hasPrettierIgnore:i(function(e){var t=e.getValue();if(t.type==="documentBody"){var n=e.getParentNode();return cD(n.head)&&xA(Wt(n.head.endComments))}return sD(t)&&xA(Wt(t.leadingComments))},"hasPrettierIgnore"),hasLeadingComments:sD,hasMiddleComments:wA,hasIndicatorComment:BA,hasTrailingComment:kA,hasEndComments:cD},ac=er.defineShortcut,NO=er.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}i(PO,"PL");var IO=i(function(e){return NO(e,PO)},"OL"),PA=de.builders,OO=PA.softline,LO=PA.align,RO=er.hasEndComments,MO=er.isNextLineEmpty,jO=er.isNode,lD=new WeakMap;function IA(r){return RO(r)&&!jO(r,["documentHead","documentBody","flowMapping","flowSequence"])}i(IA,"VL");var $a={alignWithSpaces:i(function(e,t){return LO(" ".repeat(e),t)},"alignWithSpaces"),shouldPrintEndComments:IA,printNextEmptyLine:i(function(e,t){var n=e.getValue(),u=e.stack[0],a;return lD.has(u)?a=lD.get(u):(a=new Set,lD.set(u,a)),a.has(n.position.end.line)||(a.add(n.position.end.line),!MO(n,t)||IA(e.getParentNode()))?"":OO},"printNextEmptyLine")},ic=de.builders,$O=ic.ifBreak,OA=ic.line,VO=ic.softline,LA=ic.hardline,qO=ic.join,RA=er.isEmptyNode,UO=er.getLast,WO=er.hasEndComments,GO=$a.printNextEmptyLine,HO=$a.alignWithSpaces;function MA(r,e,t){var n=r.getValue(),u=n.type==="flowMapping",a=u?"{":"[",o=u?"}":"]",s=VO;u&&n.children.length>0&&t.bracketSpacing&&(s=OA);var c=UO(n.children),l=c&&c.type==="flowMappingItem"&&RA(c.key)&&RA(c.value);return[a,HO(t.tabWidth,[s,zO(r,e,t),t.trailingComma==="none"?"":$O(","),WO(n)?[LA,qO(LA,r.map(e,"endComments"))]:""]),l?"":s,o]}i(MA,"QL");function zO(r,e,t){var n=r.getValue();return r.map(function(u,a){return[e(),a===n.children.length-1?"":[",",OA,n.children[a].position.start.line!==n.children[a+1].position.start.line?GO(u,t.originalText):""]]},"children")}i(zO,"ZL");var jA={printFlowMapping:MA,printFlowSequence:MA},so=de.builders,XO=so.conditionalGroup,$A=so.group,Gp=so.hardline,VA=so.ifBreak,JO=so.join,YO=so.line,Hp=er.hasLeadingComments,qA=er.hasMiddleComments,pD=er.hasTrailingComment,fD=er.hasEndComments,UA=er.isNode,WA=er.isEmptyNode,GA=er.isInlineNode,Va=$a.alignWithSpaces;function HA(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}}i(HA,"m_");var KO=i(function(e,t,n,u,a){var o=e.key,s=e.value,c=WA(o),l=WA(s);if(c&&l)return": ";var p=u("key"),f=function(T){return T.key.content&&T.key.content.type==="alias"}(e)?" ":"";if(l)return e.type==="flowMappingItem"&&t.type==="flowMapping"?p:e.type!=="mappingItem"||!HA(o.content,a)||pD(o.content)||t.tag&&t.tag.value==="tag:yaml.org,2002:set"?["? ",Va(2,p)]:[p,f,":"];var d=u("value");if(c)return[": ",Va(2,d)];if(Hp(s)||!GA(o.content))return["? ",Va(2,p),Gp,JO("",n.map(u,"value","leadingComments").map(function(T){return[T,Gp]})),": ",Va(2,d)];if(function(T){if(!T)return!0;switch(T.type){case"plain":case"quoteDouble":case"quoteSingle":return T.position.start.line===T.position.end.line;case"alias":return!0;default:return!1}}(o.content)&&!Hp(o.content)&&!qA(o.content)&&!pD(o.content)&&!fD(o)&&!Hp(s.content)&&!qA(s.content)&&!fD(s)&&HA(s.content,a))return[p,f,": ",d];var h=Symbol("mappingKey"),g=$A([VA("? "),$A(Va(2,p),{id:h})]),y=[Gp,": ",Va(2,d)],E=[f,":"];Hp(s.content)||fD(s)&&s.content&&!UA(s.content,["mapping","sequence"])||t.type==="mapping"&&pD(o.content)&&GA(s.content)||UA(s.content,["mapping","sequence"])&&s.content.tag===null&&s.content.anchor===null?E.push(Gp):s.content&&E.push(YO),E.push(d);var F=Va(a.tabWidth,E);return XO([[g,VA(y,F,{groupId:h})]])},"g_"),Lu=de.builders,QO=Lu.dedent,zA=Lu.dedentToRoot,ZO=Lu.fill,dD=Lu.hardline,_O=Lu.join,e7=Lu.line,XA=Lu.literalline,r7=Lu.markAsRoot,t7=de.utils.getDocParts,n7=er.getAncestorCount,u7=er.getBlockValueLineContents,a7=er.hasIndicatorComment,i7=er.isLastDescendantNode,o7=er.isNode,JA=$a.alignWithSpaces,s7=i(function(e,t,n){var u=e.getValue(),a=n7(e,function(y){return o7(y,["sequence","mapping"])}),o=i7(e),s=[u.type==="blockFolded"?">":"|"];u.indent!==null&&s.push(u.indent.toString()),u.chomping!=="clip"&&s.push(u.chomping==="keep"?"+":"-"),a7(u)&&s.push(" ",t("indicatorComment"));var c=u7(u,{parentIndent:a,isLastDescendant:o,options:n}),l=[],p=pe(c.entries()),f;try{for(p.s();!(f=p.n()).done;){var d=Ne(f.value,2),h=d[0],g=d[1];h===0&&l.push(dD),l.push(ZO(t7(_O(e7,g)))),h!==c.length-1?l.push(g.length===0?dD:r7(XA)):u.chomping==="keep"&&o&&l.push(zA(g.length===0?dD:XA))}}catch(y){p.e(y)}finally{p.f()}return u.indent===null?s.push(QO(JA(n.tabWidth,l))):s.push(zA(JA(u.indent-1+a,l))),s},"P_"),Ru=de.builders,c7=Ru.breakParent,l7=Ru.fill,p7=Ru.group,dr=Ru.hardline,cn=Ru.join,f7=Ru.line,d7=Ru.lineSuffix,h7=Ru.literalline,D7=de.utils.getDocParts,g7=J.replaceEndOfLineWith,m7=J.isPreviousLineEmpty,v7=SA.insertPragma,y7=SA.isPragma,hD=BO.locStart,E7=er.getFlowScalarLineContents,YA=er.getLastDescendantNode,C7=er.hasLeadingComments,KA=er.hasMiddleComments,co=er.hasTrailingComment,DD=er.hasEndComments,A7=er.hasPrettierIgnore,b7=er.isLastDescendantNode,lo=er.isNode,F7=er.isInlineNode,QA=$a.alignWithSpaces,S7=$a.printNextEmptyLine,T7=$a.shouldPrintEndComments,x7=jA.printFlowMapping,w7=jA.printFlowSequence;function ZA(r,e){return co(r)||e&&(e.head.children.length>0||DD(e.head))}i(ZA,"aM");function oc(r,e,t){var n=E7(r,e,t);return cn(dr,n.map(function(u){return l7(D7(cn(f7,u)))}))}i(oc,"cM");var B7={preprocess:IO,embed:kO,print:i(function(e,t,n){var u=e.getValue(),a=[];u.type!=="mappingValue"&&C7(u)&&a.push([cn(dr,e.map(n,"leadingComments")),dr]);var o=u.tag,s=u.anchor;o&&a.push(n("tag")),o&&s&&a.push(" "),s&&a.push(n("anchor"));var c="";lo(u,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!b7(e)&&(c=S7(e,t.originalText)),(o||s)&&(lo(u,["sequence","mapping"])&&!KA(u)?a.push(dr):a.push(" ")),KA(u)&&a.push([u.middleComments.length===1?"":dr,cn(dr,e.map(n,"middleComments")),dr]);var l=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(p,f,d,h,g){switch(p.type){case"root":{var y=p.children,E=[];d.each(function(V,Q){var ue=y[Q],ae=y[Q+1];Q!==0&&E.push(dr),E.push(g()),ZA(ue,ae)?(E.push(dr,"..."),co(ue)&&E.push(" ",g("trailingComment"))):ae&&!co(ae.head)&&E.push(dr,"---")},"children");var F=YA(p);return lo(F,["blockLiteral","blockFolded"])&&F.chomping==="keep"||E.push(dr),E}case"document":{var T=[];return function(V,Q,ue,ae){return ue.children[0]===V&&/---(\s|$)/.test(ae.originalText.slice(hD(V),hD(V)+4))||V.head.children.length>0||DD(V.head)||co(V.head)?"head":ZA(V,Q)?!1:!!Q&&"root"}(p,f.children[d.getName()+1],f,h)==="head"&&((p.head.children.length>0||p.head.endComments.length>0)&&T.push(g("head")),co(p.head)?T.push(["---"," ",g(["head","trailingComment"])]):T.push("---")),function(V){return V.body.children.length>0||DD(V.body)}(p)&&T.push(g("body")),cn(dr,T)}case"documentHead":return cn(dr,[].concat(ee(d.map(g,"children")),ee(d.map(g,"endComments"))));case"documentBody":{var S=p.children,w=p.endComments,B="";if(S.length>0&&w.length>0){var b=YA(p);lo(b,["blockFolded","blockLiteral"])?b.chomping!=="keep"&&(B=[dr,dr]):B=dr}return[cn(dr,d.map(g,"children")),B,cn(dr,d.map(g,"endComments"))]}case"directive":return["%",cn(" ",[p.name].concat(ee(p.parameters)))];case"comment":return["#",p.value];case"alias":return["*",p.value];case"tag":return h.originalText.slice(p.position.start.offset,p.position.end.offset);case"anchor":return["&",p.value];case"plain":return oc(p.type,h.originalText.slice(p.position.start.offset,p.position.end.offset),h);case"quoteDouble":case"quoteSingle":{var N="'",L='"',q=h.originalText.slice(p.position.start.offset+1,p.position.end.offset-1);if(p.type==="quoteSingle"&&q.includes("\\")||p.type==="quoteDouble"&&/\\[^"]/.test(q)){var z=p.type==="quoteDouble"?L:N;return[z,oc(p.type,q,h),z]}if(q.includes(L))return[N,oc(p.type,p.type==="quoteDouble"?q.replace(/\\"/g,L).replace(/'/g,N.repeat(2)):q,h),N];if(q.includes(N))return[L,oc(p.type,p.type==="quoteSingle"?q.replace(/''/g,N):q,h),L];var M=h.singleQuote?N:L;return[M,oc(p.type,q,h),M]}case"blockFolded":case"blockLiteral":return s7(d,g,h);case"mapping":case"sequence":return cn(dr,d.map(g,"children"));case"sequenceItem":return["- ",QA(2,p.content?g("content"):"")];case"mappingKey":case"mappingValue":return p.content?g("content"):"";case"mappingItem":case"flowMappingItem":return KO(p,f,d,g,h);case"flowMapping":return x7(d,g,h);case"flowSequence":return w7(d,g,h);case"flowSequenceItem":return g("content");default:throw new Error("Unexpected node type ".concat(p.type))}}(u,l,e,t,n))),co(u)&&!lo(u,["document","documentHead"])&&a.push(d7([u.type!=="mappingValue"||u.content?" ":"",l.type==="mappingKey"&&e.getParentNode(2).type==="mapping"&&F7(u)?"":c7,n("trailingComment")])),T7(u)&&a.push(QA(u.type==="sequenceItem"?2:0,[dr,cn(dr,e.map(function(p){return[m7(t.originalText,p.getValue(),hD)?dr:"",n()]},"endComments"))])),a.push(c),a},"print"),massageAstNode:i(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"}},"massageAstNode"),insertPragma:v7},k7={bracketSpacing:Kn.bracketSpacing,singleQuote:Kn.singleQuote,proseWrap:Kn.proseWrap},N7=[W9,MP,_P,a4,H4,wO,{languages:[pr({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(ee(r.filenames.filter(function(e){return e!=="yarn.lock"})),[".prettierrc"])}})],printers:{yaml:B7},options:k7,parsers:{get yaml(){return{}.parsers.yaml}}}],P7=te.version,I7=si.getSupportInfo,O7=N7.map(function(r){return j(r,["parsers"])});function qa(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