var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var n={version:"2.5.1"},r={},o={};!function(e){function t(){}function n(e,t,n,r,o){for(var i=0,u=t.length,s=0,a=0;ie.length?n:e})),c.value=e.join(p)}else c.value=e.join(n.slice(s,s+c.count));s+=c.count,c.added||(a+=c.count)}}var f=t[u-1];return u>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[u-2].value+=f.value,t.pop()),t}function r(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.callback;"function"==typeof o&&(i=o,o={}),this.options=o;var u=this;function s(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,c=e.length,l=1,p=a+c,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=a&&d+1>=c)return s([{value:this.join(t),count:t.length}]);function h(){for(var o=-1*l;o<=l;o+=2){var i=void 0,p=f[o-1],d=f[o+1],h=(d?d.newPos:0)-o;p&&(f[o-1]=void 0);var g=p&&p.newPos+1=a&&h+1>=c)return s(n(u,i.components,t,e,u.useLongestToken));f[o]=i}else f[o]=void 0}l++}if(i)!function e(){setTimeout((function(){if(l>p)return i();h()||e()}),0)}();else for(;l<=p;){var g=h();if(g)return g}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,u=e.newPos,s=u-r,a=0;u+10&&j[0]<4?1:+(j[0]+j[1])),!_&&ge&&(!(j=ge.match(/Edge\/(\d+)/))||j[1]>=74)&&(j=ge.match(/Chrome\/(\d+)/))&&(_=+j[1]);var Ce=_,be=Ce,ve=T,Ae=!!Object.getOwnPropertySymbols&&!ve((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&be&&be<41})),Fe=Ae&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,xe=pe,Se=ie,we=fe,Te=Fe,Be=S.Object,Ne=Te?function(e){return"symbol"==typeof e}:function(e){var t=xe("Symbol");return Se(t)&&we(t.prototype,Be(e))},ke=S.String,Pe=function(e){try{return ke(e)}catch(e){return"Object"}},Oe=ie,Ie=Pe,Le=S.TypeError,je=function(e){if(Oe(e))return e;throw Le(Ie(e)+" is not a function")},_e=je,Me=function(e,t){var n=e[t];return null==n?void 0:_e(n)},Re=k,Ve=ie,$e=se,We=S.TypeError,qe={exports:{}},Ue=S,Ge=Object.defineProperty,ze=function(e,t){try{Ge(Ue,e,{value:t,configurable:!0,writable:!0})}catch(n){Ue[e]=t}return t},He=ze,Je=S["__core-js_shared__"]||He("__core-js_shared__",{}),Xe=Je;(qe.exports=function(e,t){return Xe[e]||(Xe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.1",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"});var Ye=te,Ke=S.Object,Qe=function(e){return Ke(Ye(e))},Ze=Qe,et=q({}.hasOwnProperty),tt=Object.hasOwn||function(e,t){return et(Ze(e),t)},nt=q,rt=0,ot=Math.random(),it=nt(1..toString),ut=function(e){return"Symbol("+(void 0===e?"":e)+")_"+it(++rt+ot,36)},st=S,at=qe.exports,ct=tt,lt=ut,pt=Ae,ft=Fe,dt=at("wks"),ht=st.Symbol,gt=ht&&ht.for,mt=ft?ht:ht&&ht.withoutSetter||lt,yt=function(e){if(!ct(dt,e)||!pt&&"string"!=typeof dt[e]){var t="Symbol."+e;pt&&ct(ht,e)?dt[e]=ht[e]:dt[e]=ft&>?gt(t):mt(t)}return dt[e]},Dt=k,Et=se,Ct=Ne,bt=Me,vt=function(e,t){var n,r;if("string"===t&&Ve(n=e.toString)&&!$e(r=Re(n,e)))return r;if(Ve(n=e.valueOf)&&!$e(r=Re(n,e)))return r;if("string"!==t&&Ve(n=e.toString)&&!$e(r=Re(n,e)))return r;throw We("Can't convert object to primitive value")},At=yt,Ft=S.TypeError,xt=At("toPrimitive"),St=function(e,t){if(!Et(e)||Ct(e))return e;var n,r=bt(e,xt);if(r){if(void 0===t&&(t="default"),n=Dt(r,e,t),!Et(n)||Ct(n))return n;throw Ft("Can't convert object to primitive value")}return void 0===t&&(t="number"),vt(e,t)},wt=Ne,Tt=function(e){var t=St(e,"string");return wt(t)?t:t+""},Bt=se,Nt=S.document,kt=Bt(Nt)&&Bt(Nt.createElement),Pt=function(e){return kt?Nt.createElement(e):{}},Ot=Pt,It=!B&&!T((function(){return 7!=Object.defineProperty(Ot("div"),"a",{get:function(){return 7}}).a})),Lt=B,jt=k,_t=P,Mt=M,Rt=oe,Vt=Tt,$t=tt,Wt=It,qt=Object.getOwnPropertyDescriptor;w.f=Lt?qt:function(e,t){if(e=Rt(e),t=Vt(t),Wt)try{return qt(e,t)}catch(e){}if($t(e,t))return Mt(!jt(_t.f,e,t),e[t])};var Ut={},Gt=S,zt=se,Ht=Gt.String,Jt=Gt.TypeError,Xt=function(e){if(zt(e))return e;throw Jt(Ht(e)+" is not an object")},Yt=B,Kt=It,Qt=Xt,Zt=Tt,en=S.TypeError,tn=Object.defineProperty;Ut.f=Yt?tn:function(e,t,n){if(Qt(e),t=Zt(t),Qt(n),Kt)try{return tn(e,t,n)}catch(e){}if("get"in n||"set"in n)throw en("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var nn=Ut,rn=M,on=B?function(e,t,n){return nn.f(e,t,rn(1,n))}:function(e,t,n){return e[t]=n,e},un={exports:{}},sn=ie,an=Je,cn=q(Function.toString);sn(an.inspectSource)||(an.inspectSource=function(e){return cn(e)});var ln,pn,fn,dn=an.inspectSource,hn=ie,gn=dn,mn=S.WeakMap,yn=hn(mn)&&/native code/.test(gn(mn)),Dn=qe.exports,En=ut,Cn=Dn("keys"),bn=function(e){return Cn[e]||(Cn[e]=En(e))},vn={},An=yn,Fn=S,xn=q,Sn=se,wn=on,Tn=tt,Bn=Je,Nn=bn,kn=vn,Pn=Fn.TypeError,On=Fn.WeakMap;if(An||Bn.state){var In=Bn.state||(Bn.state=new On),Ln=xn(In.get),jn=xn(In.has),_n=xn(In.set);ln=function(e,t){if(jn(In,e))throw new Pn("Object already initialized");return t.facade=e,_n(In,e,t),t},pn=function(e){return Ln(In,e)||{}},fn=function(e){return jn(In,e)}}else{var Mn=Nn("state");kn[Mn]=!0,ln=function(e,t){if(Tn(e,Mn))throw new Pn("Object already initialized");return t.facade=e,wn(e,Mn,t),t},pn=function(e){return Tn(e,Mn)?e[Mn]:{}},fn=function(e){return Tn(e,Mn)}}var Rn={set:ln,get:pn,has:fn,enforce:function(e){return fn(e)?pn(e):ln(e,{})},getterFor:function(e){return function(t){var n;if(!Sn(t)||(n=pn(t)).type!==e)throw Pn("Incompatible receiver, "+e+" required");return n}}},Vn=B,$n=tt,Wn=Function.prototype,qn=Vn&&Object.getOwnPropertyDescriptor,Un=$n(Wn,"name"),Gn=Un&&"something"===function(){}.name,zn=Un&&(!Vn||Vn&&qn(Wn,"name").configurable),Hn=S,Jn=ie,Xn=tt,Yn=on,Kn=ze,Qn=dn,Zn={EXISTS:Un,PROPER:Gn,CONFIGURABLE:zn}.CONFIGURABLE,er=Rn.get,tr=Rn.enforce,nr=String(String).split("String");(un.exports=function(e,t,n,r){var o,i=!!r&&!!r.unsafe,u=!!r&&!!r.enumerable,s=!!r&&!!r.noTargetGet,a=r&&void 0!==r.name?r.name:t;Jn(n)&&("Symbol("===String(a).slice(0,7)&&(a="["+String(a).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Xn(n,"name")||Zn&&n.name!==a)&&Yn(n,"name",a),(o=tr(n)).source||(o.source=nr.join("string"==typeof a?a:""))),e!==Hn?(i?!s&&e[t]&&(u=!0):delete e[t],u?e[t]=n:Yn(e,t,n)):u?e[t]=n:Kn(t,n)})(Function.prototype,"toString",(function(){return Jn(this)&&er(this).source||Qn(this)}));var rr={},or=Math.ceil,ir=Math.floor,ur=function(e){var t=+e;return t!=t||0===t?0:(t>0?ir:or)(t)},sr=ur,ar=Math.max,cr=Math.min,lr=ur,pr=Math.min,fr=function(e){return e>0?pr(lr(e),9007199254740991):0},dr=function(e){return fr(e.length)},hr=oe,gr=function(e,t){var n=sr(e);return n<0?ar(n+t,0):cr(n,t)},mr=dr,yr=function(e){return function(t,n,r){var o,i=hr(t),u=mr(i),s=gr(r,u);if(e&&n!=n){for(;u>s;)if((o=i[s++])!=o)return!0}else for(;u>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},Dr={includes:yr(!0),indexOf:yr(!1)},Er=tt,Cr=oe,br=Dr.indexOf,vr=vn,Ar=q([].push),Fr=function(e,t){var n,r=Cr(e),o=0,i=[];for(n in r)!Er(vr,n)&&Er(r,n)&&Ar(i,n);for(;t.length>o;)Er(r,n=t[o++])&&(~br(i,n)||Ar(i,n));return i},xr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Sr=Fr,wr=xr.concat("length","prototype");rr.f=Object.getOwnPropertyNames||function(e){return Sr(e,wr)};var Tr={};Tr.f=Object.getOwnPropertySymbols;var Br=pe,Nr=rr,kr=Tr,Pr=Xt,Or=q([].concat),Ir=Br("Reflect","ownKeys")||function(e){var t=Nr.f(Pr(e)),n=kr.f;return n?Or(t,n(e)):t},Lr=tt,jr=Ir,_r=w,Mr=Ut,Rr=T,Vr=ie,$r=/#|\.prototype\./,Wr=function(e,t){var n=Ur[qr(e)];return n==zr||n!=Gr&&(Vr(t)?Rr(t):!!t)},qr=Wr.normalize=function(e){return String(e).replace($r,".").toLowerCase()},Ur=Wr.data={},Gr=Wr.NATIVE="N",zr=Wr.POLYFILL="P",Hr=Wr,Jr=S,Xr=w.f,Yr=on,Kr=un.exports,Qr=ze,Zr=function(e,t){for(var n=jr(t),r=Mr.f,o=_r.f,i=0;i0;)e[r]=e[--r];r!==i++&&(e[r]=n)}return e},Do=function(e,t,n,r){for(var o=t.length,i=n.length,u=0,s=0;u3)){if(jo)return!0;if(Mo)return Mo<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)Ro.push({k:t+r,v:n})}for(Ro.sort((function(e,t){return t.v-e.v})),r=0;rko(n)?1:-1}}(e)),n=o.length,r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function u(){var e={};for(o.push(e);i2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,ui.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,o,i=e.split(/\r\n|[\n\v\f\r\x85]/),u=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,a=n.compareLine||function(e,t,n,r){return t===r},c=0,l=n.fuzzFactor||0,p=0,f=0;function d(e,t){for(var n=0;n0?r[0]:" ",u=r.length>0?r.substr(1):r;if(" "===o||"-"===o){if(!a(t+1,i[t],o,u)&&++c>l)return!1;t++}}return!0}for(var h=0;h0?x[0]:" ",w=x.length>0?x.substr(1):x,T=v.linedelimiters[F];if(" "===S)A++;else if("-"===S)i.splice(A,1),u.splice(A,1);else if("+"===S)i.splice(A,0,w),u.splice(A,0,T),A++;else if("\\"===S){var B=v.lines[F-1]?v.lines[F-1][0]:null;"+"===B?r=!0:"-"===B&&(o=!0)}}}if(r)for(;!i[i.length-1];)i.pop(),u.pop();else o&&(i.push(""),u.push("\n"));for(var N=0;Ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?a(g.lines.slice(-u.context)):[],l-=f.length,p-=f.length)}(i=f).push.apply(i,fi(o.map((function(e){return(t.added?"+":"-")+e})))),t.added?h+=o.length:d+=o.length}else{if(l)if(o.length<=2*u.context&&e=s.length-2&&o.length<=u.context){var C=/\n$/.test(n),b=/\n$/.test(r),v=0==o.length&&f.length>E.oldLines;!C&&v&&n.length>0&&f.splice(E.oldLines,0,"\\ No newline at end of file"),(C||v)&&b||f.push("\\ No newline at end of file")}c.push(E),l=0,p=0,f=[]}d+=o.length,h+=o.length}},m=0;me.length)return!1;for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n/g,">")).replace(/"/g,""")}function qi(e){return{type:"concat",parts:e}}function Ui(e){return{type:"indent",contents:e}}function Gi(e,t){return{type:"align",contents:t,n:e}}function zi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}Object.defineProperty($i,"__esModule",{value:!0}),$i.convertChangesToXML=function(e){for(var t=[],n=0;n"):r.removed&&t.push(""),t.push(Wi(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")},function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Diff",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"diffChars",{enumerable:!0,get:function(){return n.diffChars}}),Object.defineProperty(e,"diffWords",{enumerable:!0,get:function(){return r.diffWords}}),Object.defineProperty(e,"diffWordsWithSpace",{enumerable:!0,get:function(){return r.diffWordsWithSpace}}),Object.defineProperty(e,"diffLines",{enumerable:!0,get:function(){return i.diffLines}}),Object.defineProperty(e,"diffTrimmedLines",{enumerable:!0,get:function(){return i.diffTrimmedLines}}),Object.defineProperty(e,"diffSentences",{enumerable:!0,get:function(){return s.diffSentences}}),Object.defineProperty(e,"diffCss",{enumerable:!0,get:function(){return c.diffCss}}),Object.defineProperty(e,"diffJson",{enumerable:!0,get:function(){return l.diffJson}}),Object.defineProperty(e,"canonicalize",{enumerable:!0,get:function(){return l.canonicalize}}),Object.defineProperty(e,"diffArrays",{enumerable:!0,get:function(){return p.diffArrays}}),Object.defineProperty(e,"applyPatch",{enumerable:!0,get:function(){return f.applyPatch}}),Object.defineProperty(e,"applyPatches",{enumerable:!0,get:function(){return f.applyPatches}}),Object.defineProperty(e,"parsePatch",{enumerable:!0,get:function(){return d.parsePatch}}),Object.defineProperty(e,"merge",{enumerable:!0,get:function(){return h.merge}}),Object.defineProperty(e,"structuredPatch",{enumerable:!0,get:function(){return m.structuredPatch}}),Object.defineProperty(e,"createTwoFilesPatch",{enumerable:!0,get:function(){return m.createTwoFilesPatch}}),Object.defineProperty(e,"createPatch",{enumerable:!0,get:function(){return m.createPatch}}),Object.defineProperty(e,"convertChangesToDMP",{enumerable:!0,get:function(){return y.convertChangesToDMP}}),Object.defineProperty(e,"convertChangesToXML",{enumerable:!0,get:function(){return D.convertChangesToXML}});var t=function(e){return e&&e.__esModule?e:{default:e}}(o),n=u,r=a,i=g,s=E,c=v,l=zo,p=Zo,f=ni,d=ri,h=ci,m=li,y=Vi,D=$i}(r);const Hi={type:"break-parent"},Ji={type:"line",hard:!0},Xi={type:"line",hard:!0,literal:!0},Yi=qi([Ji,Hi]),Ki=qi([Xi,Hi]);var Qi={concat:qi,join:function(e,t){const n=[];for(let r=0;r2&&void 0!==arguments[2]?arguments[2]:{};return{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}},trim:{type:"trim"},indent:Ui,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:Gi,addAlignmentToDoc:function(e,t,n){let r=e;if(t>0){for(let e=0;e0&&void 0!==arguments[0]?arguments[0]:{};const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")};var tu={exports:{}};const nu=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141));tu.exports=nu,tu.exports.default=nu;const ru=e=>"string"==typeof e?e.replace(eu(),""):e,ou=tu.exports,iu=function(){return/\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},uu=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=ru(e)).length)return 0;e=e.replace(iu()," ");let t=0;for(let n=0;n=127&&r<=159||(r>=768&&r<=879||(r>65535&&n++,t+=ou(r)?2:1))}return t};Zi.exports=uu,Zi.exports.default=uu;var su=e=>e[e.length-1];function au(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function cu(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var lu=H,pu=Array.isArray||function(e){return"Array"==lu(e)},fu=je,du=q(q.bind),hu=function(e,t){return fu(e),void 0===t?e:du?du(e,t):function(){return e.apply(t,arguments)}},gu=pu,mu=dr,yu=hu,Du=S.TypeError,Eu=function(e,t,n,r,o,i,u,s){for(var a,c,l=o,p=0,f=!!u&&yu(u,s);p0&&gu(a))c=mu(a),l=Eu(e,t,a,c,l,i-1)-1;else{if(l>=9007199254740991)throw Du("Exceed the acceptable array length");e[l]=a}l++}p++}return l},Cu=Eu,bu=q,vu=T,Au=ie,Fu=lo,xu=dn,Su=function(){},wu=[],Tu=pe("Reflect","construct"),Bu=/^\s*(?:class|function)\b/,Nu=bu(Bu.exec),ku=!Bu.exec(Su),Pu=function(e){if(!Au(e))return!1;try{return Tu(Su,wu,e),!0}catch(e){return!1}},Ou=!Tu||vu((function(){var e;return Pu(Pu.call)||!Pu(Object)||!Pu((function(){e=!0}))||e}))?function(e){if(!Au(e))return!1;switch(Fu(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return ku||!!Nu(Bu,xu(e))}:Pu,Iu=S,Lu=pu,ju=Ou,_u=se,Mu=yt("species"),Ru=Iu.Array,Vu=function(e){var t;return Lu(e)&&(t=e.constructor,(ju(t)&&(t===Ru||Lu(t.prototype))||_u(t)&&null===(t=t[Mu]))&&(t=void 0)),void 0===t?Ru:t},$u=function(e,t){return new(Vu(e))(0===t?0:t)},Wu=Cu,qu=je,Uu=Qe,Gu=dr,zu=$u;to({target:"Array",proto:!0},{flatMap:function(e){var t,n=Uu(this),r=Gu(n);return qu(e),(t=zu(n,0)).length=Wu(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var Hu={},Ju=Hu,Xu=yt("iterator"),Yu=Array.prototype,Ku=lo,Qu=Me,Zu=Hu,es=yt("iterator"),ts=function(e){if(null!=e)return Qu(e,es)||Qu(e,"@@iterator")||Zu[Ku(e)]},ns=k,rs=je,os=Xt,is=Pe,us=ts,ss=S.TypeError,as=k,cs=Xt,ls=Me,ps=hu,fs=k,ds=Xt,hs=Pe,gs=function(e){return void 0!==e&&(Ju.Array===e||Yu[Xu]===e)},ms=dr,ys=fe,Ds=function(e,t){var n=arguments.length<2?us(e):t;if(rs(n))return os(ns(n,e));throw ss(is(e)+" is not iterable")},Es=ts,Cs=function(e,t,n){var r,o;cs(e);try{if(!(r=ls(e,"return"))){if("throw"===t)throw n;return n}r=as(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return cs(r),n},bs=S.TypeError,vs=function(e,t){this.stopped=e,this.result=t},As=vs.prototype,Fs=Tt,xs=Ut,Ss=M,ws=function(e,t,n){var r,o,i,u,s,a,c,l=n&&n.that,p=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),h=ps(t,l),g=function(e){return r&&Cs(r,"normal",e),new vs(!0,e)},m=function(e){return p?(ds(e),d?h(e[0],e[1],g):h(e[0],e[1])):d?h(e,g):h(e)};if(f)r=e;else{if(!(o=Es(e)))throw bs(hs(e)+" is not iterable");if(gs(o)){for(i=0,u=ms(e);u>i;i++)if((s=m(e[i]))&&ys(As,s))return s;return new vs(!1)}r=Ds(e,o)}for(a=r.next;!(c=fs(a,r)).done;){try{s=m(c.value)}catch(e){Cs(r,"throw",e)}if("object"==typeof s&&s&&ys(As,s))return s}return new vs(!1)},Ts=function(e,t,n){var r=Fs(t);r in e?xs.f(e,r,Ss(0,n)):e[r]=n};to({target:"Object",stat:!0},{fromEntries:function(e){var t={};return ws(e,(function(e,n){Ts(t,e,n)}),{AS_ENTRIES:!0}),t}});var Bs=void 0!==Bs?Bs:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Ns(){throw new Error("setTimeout has not been defined")}function ks(){throw new Error("clearTimeout has not been defined")}var Ps=Ns,Os=ks;function Is(e){if(Ps===setTimeout)return setTimeout(e,0);if((Ps===Ns||!Ps)&&setTimeout)return Ps=setTimeout,setTimeout(e,0);try{return Ps(e,0)}catch(t){try{return Ps.call(null,e,0)}catch(t){return Ps.call(this,e,0)}}}"function"==typeof Bs.setTimeout&&(Ps=setTimeout),"function"==typeof Bs.clearTimeout&&(Os=clearTimeout);var Ls,js=[],_s=!1,Ms=-1;function Rs(){_s&&Ls&&(_s=!1,Ls.length?js=Ls.concat(js):Ms=-1,js.length&&Vs())}function Vs(){if(!_s){var e=Is(Rs);_s=!0;for(var t=js.length;t;){for(Ls=js,js=[];++Ms1)for(var n=1;n{};var ta={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},na={exports:{}};!function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=ta,r=ea,o=(t=e.exports={}).re=[],i=t.src=[],u=t.t={};let s=0;const a=(e,t,n)=>{const a=s++;r(a,t),u[e]=a,i[a]=t,o[a]=new RegExp(t,n?"g":void 0)};a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION","(".concat(i[u.NUMERICIDENTIFIER],")\\.")+"(".concat(i[u.NUMERICIDENTIFIER],")\\.")+"(".concat(i[u.NUMERICIDENTIFIER],")")),a("MAINVERSIONLOOSE","(".concat(i[u.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[u.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[u.NUMERICIDENTIFIERLOOSE],")")),a("PRERELEASEIDENTIFIER","(?:".concat(i[u.NUMERICIDENTIFIER],"|").concat(i[u.NONNUMERICIDENTIFIER],")")),a("PRERELEASEIDENTIFIERLOOSE","(?:".concat(i[u.NUMERICIDENTIFIERLOOSE],"|").concat(i[u.NONNUMERICIDENTIFIER],")")),a("PRERELEASE","(?:-(".concat(i[u.PRERELEASEIDENTIFIER],"(?:\\.").concat(i[u.PRERELEASEIDENTIFIER],")*))")),a("PRERELEASELOOSE","(?:-?(".concat(i[u.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(i[u.PRERELEASEIDENTIFIERLOOSE],")*))")),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD","(?:\\+(".concat(i[u.BUILDIDENTIFIER],"(?:\\.").concat(i[u.BUILDIDENTIFIER],")*))")),a("FULLPLAIN","v?".concat(i[u.MAINVERSION]).concat(i[u.PRERELEASE],"?").concat(i[u.BUILD],"?")),a("FULL","^".concat(i[u.FULLPLAIN],"$")),a("LOOSEPLAIN","[v=\\s]*".concat(i[u.MAINVERSIONLOOSE]).concat(i[u.PRERELEASELOOSE],"?").concat(i[u.BUILD],"?")),a("LOOSE","^".concat(i[u.LOOSEPLAIN],"$")),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(i[u.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(i[u.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(i[u.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[u.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[u.XRANGEIDENTIFIER],")")+"(?:".concat(i[u.PRERELEASE],")?").concat(i[u.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(i[u.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[u.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[u.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(i[u.PRERELEASELOOSE],")?").concat(i[u.BUILD],"?")+")?)?"),a("XRANGE","^".concat(i[u.GTLT],"\\s*").concat(i[u.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(i[u.GTLT],"\\s*").concat(i[u.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",i[u.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(i[u.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",a("TILDE","^".concat(i[u.LONETILDE]).concat(i[u.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(i[u.LONETILDE]).concat(i[u.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(i[u.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",a("CARET","^".concat(i[u.LONECARET]).concat(i[u.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(i[u.LONECARET]).concat(i[u.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(i[u.GTLT],"\\s*(").concat(i[u.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(i[u.GTLT],"\\s*(").concat(i[u.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(i[u.GTLT],"\\s*(").concat(i[u.LOOSEPLAIN],"|").concat(i[u.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(i[u.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(i[u.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(i[u.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(i[u.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}(na,na.exports);const ra=["includePrerelease","loose","rtl"];var oa=e=>e?"object"!=typeof e?{loose:!0}:ra.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};const ia=/^[0-9]+$/,ua=(e,t)=>{const n=ia.test(e),r=ia.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:eua(t,e)};const aa=ea,{MAX_LENGTH:ca,MAX_SAFE_INTEGER:la}=ta,{re:pa,t:fa}=na.exports,da=oa,{compareIdentifiers:ha}=sa;class ga{constructor(e,t){if(t=da(t),e instanceof ga){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>ca)throw new TypeError("version is longer than ".concat(ca," characters"));aa("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?pa[fa.LOOSE]:pa[fa.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>la||this.major<0)throw new TypeError("Invalid major version");if(this.minor>la||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>la||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}const ma=ga;var ya=(e,t,n)=>new ma(e,n).compare(new ma(t,n));const Da=ya;var Ea=(e,t,n)=>Da(e,t,n)<0;const Ca=ya;var ba,va,Aa,Fa,xa,Sa,wa=(e,t,n)=>Ca(e,t,n)>=0,Ta={exports:{}};!function(e,t){function n(){for(var e=[],t=0;t"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:Ba(Aa||(Aa=cu(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]))),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ba(Fa||(Fa=cu(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Ba(xa||(xa=cu(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:Ba(Sa||(Sa=cu(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]))),cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:"Global",type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};const ka=["cliName","cliCategory","cliDescription"],Pa={compare:ya,lt:Ea,gte:wa},Oa=(e,t)=>Object.entries(e).map((e=>{let[n,r]=e;return Object.assign({[t]:n},r)})),Ia=n.version,La={CATEGORY_CONFIG:"Config",CATEGORY_EDITOR:"Editor",CATEGORY_FORMAT:"Format",CATEGORY_OTHER:"Other",CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:"Global",CATEGORY_SPECIAL:"Special",options:Na}.options;function ja(e,t,n){const r=new Set(e.choices.map((e=>e.value)));for(const o of t)if(o.parsers)for(const t of o.parsers)if(!r.has(t)){r.add(t);const i=n.find((e=>e.parsers&&e.parsers[t]));let u=o.name;i&&i.name&&(u+=" (plugin: ".concat(i.name,")")),e.choices.push({value:t,description:u})}}var _a={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:n=!1,showInternal:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=Ia.split("-",1)[0],i=e.flatMap((e=>e.languages||[])).filter(s),u=Oa(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),La),"name").filter((e=>s(e)&&a(e))).sort(((e,t)=>e.name===t.name?0:e.name{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(s).sort(((e,t)=>Pa.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>s(e)&&a(e))),"parser"===t.name&&ja(t,i,e));const n=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})}));return{languages:i,options:u};function s(e){return t||!("since"in e)||e.since&&Pa.gte(o,e.since)}function a(e){return n||!("deprecated"in e)||e.deprecated&&Pa.lt(o,e.deprecated)}function c(e){if(r)return e;return au(e,ka)}}};const Ma=Zi.exports,Ra=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},Va=su,{getSupportInfo:$a}=_a,Wa=/[^\x20-\x7F]/;function qa(e){return(t,n,r)=>{const o=r&&r.backwards;if(!1===n)return!1;const{length:i}=t;let u=n;for(;u>=0&&u2&&void 0!==arguments[2]?arguments[2]:{};const r=Ga(e,n.backwards?t-1:t,n),o=Ya(e,r,n);return r!==o}function Qa(e,t){let n=null,r=t;for(;r!==n;)n=r,r=za(e,r),r=Ja(e,r),r=Ga(e,r);return r=Xa(e,r),r=Ya(e,r),!1!==r&&Ka(e,r)}function Za(e,t){let n=null,r=t;for(;r!==n;)n=r,r=Ga(e,r),r=Ja(e,r),r=Xa(e,r),r=Ya(e,r);return r}function ec(e,t,n){return Za(e,n(t))}function tc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=0;for(let o=n;o(e.match(i.regex)||[]).length?i:o}return u}function rc(e,t,n){const r='"'===t?"'":'"',o=e.replace(/\\(.)|(["'])/gs,((e,o,i)=>o===r?o:i===t?"\\"+i:i||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(o)?o:"\\"+o)));return t+o+t}function oc(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){const t=e.type||e.kind||"(unknown type)";let n=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");n.length>20&&(n=n.slice(0,19)+"\u2026");return t+(n?" "+n:"")}(e)}var ic={inferParserByLanguage:function(e,t){const{languages:n}=$a({plugins:t.plugins}),r=n.find((t=>{let{name:n}=t;return n.toLowerCase()===e}))||n.find((t=>{let{aliases:n}=t;return Array.isArray(n)&&n.includes(e)}))||n.find((t=>{let{extensions:n}=t;return Array.isArray(n)&&n.includes(".".concat(e))}));return r&&r.parsers[0]},getStringWidth:function(e){return e?Wa.test(e)?Ma(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(Ra(t),")+"),"g"));return null===n?0:n.reduce(((e,n)=>Math.max(e,n.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(Ra(t),")+"),"g"));if(null===n)return 0;const r=new Map;let o=0;for(const e of n){const n=e.length/t.length;r.set(n,!0),n>o&&(o=n)}for(let e=1;ee[e.length-2],getLast:Va,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Za,getNextNonSpaceNonCommentCharacterIndex:ec,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(ec(e,t,n))},skip:qa,skipWhitespace:Ua,skipSpaces:Ga,skipToLineEnd:za,skipEverythingButNewLine:Ha,skipInlineComment:Ja,skipTrailingComment:Xa,skipNewline:Ya,isNextLineEmptyAfterIndex:Qa,isNextLineEmpty:function(e,t,n){return Qa(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=Ga(e,r,{backwards:!0}),r=Ya(e,r,{backwards:!0}),r=Ga(e,r,{backwards:!0}),r!==Ya(e,r,{backwards:!0})},hasNewline:Ka,hasNewlineInRange:function(e,t,n){for(let r=t;r2&&void 0!==arguments[2]?arguments[2]:{};const r=Ga(e,n.backwards?t-1:t,n);return r!==t},getAlignmentSize:tc,getIndentSize:function(e,t){const n=e.lastIndexOf("\n");return-1===n?0:tc(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:nc,printString:function(e,t){const n=e.slice(1,-1);return rc(n,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":nc(n,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:rc,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,oc(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),oc(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,oc(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},getShebang:function(e){if(!e.startsWith("#!"))return"";const t=e.indexOf("\n");return-1===t?e:e.slice(0,t)},isNonEmptyArray:function(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function(e){const t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}};var uc={guessEndOfLine:function(e){const t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}const r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const sc=su,{literalline:ac,join:cc}=Qi,lc=e=>Array.isArray(e)||e&&"concat"===e.type,pc=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},fc={};function dc(e,t,n,r){const o=[e];for(;o.length>0;){const e=o.pop();if(e!==fc){if(n&&o.push(e,fc),!t||!1!==t(e))if(lc(e)||"fill"===e.type){const t=pc(e);for(let e=t.length-1;e>=0;--e)o.push(t[e])}else if("if-break"===e.type)e.flatContents&&o.push(e.flatContents),e.breakContents&&o.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(r)for(let t=e.expandedStates.length-1;t>=0;--t)o.push(e.expandedStates[t]);else o.push(e.contents);else e.contents&&o.push(e.contents)}else n(o.pop())}}function hc(e,t){const n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);const o=function(e){if(Array.isArray(e))return t(e.map(r));if("concat"===e.type||"fill"===e.type){const n=e.parts.map(r);return t(Object.assign(Object.assign({},e),{},{parts:n}))}if("if-break"===e.type){const n=e.breakContents&&r(e.breakContents),o=e.flatContents&&r(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:n,flatContents:o}))}if("group"===e.type&&e.expandedStates){const n=e.expandedStates.map(r),o=n[0];return t(Object.assign(Object.assign({},e),{},{contents:o,expandedStates:n}))}if(e.contents){const n=r(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:n}))}return t(e)}(e);return n.set(e,o),o}}function gc(e,t,n){let r=n,o=!1;return dc(e,(function(e){const n=t(e);if(void 0!==n&&(o=!0,r=n),o)return!1})),r}function mc(e){return!("group"!==e.type||!e.break)||(!("line"!==e.type||!e.hard)||("break-parent"===e.type||void 0))}function yc(e){if(e.length>0){const t=sc(e);t.expandedStates||t.break||(t.break="propagated")}return null}function Dc(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}const Ec=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function Cc(e){if(!e)return e;if(lc(e)||"fill"===e.type){const t=pc(e);for(;t.length>1&&Ec(...t.slice(-2));)t.length-=2;if(t.length>0){const e=Cc(sc(t));t[t.length-1]=e}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{const t=Cc(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{const t=Cc(e.breakContents),n=Cc(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:n})}}return e}function bc(e){return hc(e,(e=>function(e){switch(e.type){case"fill":if(e.parts.every((e=>""===e)))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!lc(e))return e;const t=[];for(const n of pc(e)){if(!n)continue;const[e,...r]=lc(n)?pc(n):[n];"string"==typeof e&&"string"==typeof sc(t)?t[t.length-1]+=e:t.push(e),t.push(...r)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}(e)))}function vc(e){const t=[],n=e.filter(Boolean);for(;n.length>0;){const e=n.shift();e&&(lc(e)?n.unshift(...pc(e)):t.length>0&&"string"==typeof sc(t)&&"string"==typeof e?t[t.length-1]+=e:t.push(e))}return t}function Ac(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ac;return cc(t,e.split("\n")).parts}function Fc(e){if("line"===e.type)return!0}var xc={isConcat:lc,getDocParts:pc,willBreak:function(e){return gc(e,mc,!1)},traverseDoc:dc,findInDoc:gc,mapDoc:hc,propagateBreaks:function(e){const t=new Set,n=[];dc(e,(function(e){if("break-parent"===e.type&&yc(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){if("group"===e.type){n.pop().break&&yc(n)}}),!0)},removeLines:function(e){return hc(e,Dc)},stripTrailingHardline:function(e){return Cc(bc(e))},normalizeParts:vc,normalizeDoc:function(e){return hc(e,(e=>Array.isArray(e)?vc(e):e.parts?Object.assign(Object.assign({},e),{},{parts:vc(e.parts)}):e))},cleanDoc:bc,replaceTextEndOfLine:Ac,replaceEndOfLine:function(e){return hc(e,(e=>"string"==typeof e&&e.includes("\n")?Ac(e):e))},canBreak:function(e){return gc(e,Fc,!1)}};const{getStringWidth:Sc,getLast:wc}=ic,{convertEndOfLineToChars:Tc}=uc,{fill:Bc,cursor:Nc,indent:kc}=Qi,{isConcat:Pc,getDocParts:Oc}=xc;let Ic;function Lc(e,t){return _c(e,{type:"indent"},t)}function jc(e,t,n){if(t===Number.NEGATIVE_INFINITY)return e.root||{value:"",length:0,queue:[]};if(t<0)return _c(e,{type:"dedent"},n);if(!t)return e;if("root"===t.type)return Object.assign(Object.assign({},e),{},{root:e});return _c(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n)}function _c(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t];let o="",i=0,u=0,s=0;for(const e of r)switch(e.type){case"indent":l(),n.useTabs?a(1):c(n.tabWidth);break;case"stringAlign":l(),o+=e.n,i+=e.n.length;break;case"numberAlign":u+=1,s+=e.n;break;default:throw new Error("Unexpected type '".concat(e.type,"'"))}return p(),Object.assign(Object.assign({},e),{},{value:o,length:i,queue:r});function a(e){o+="\t".repeat(e),i+=n.tabWidth*e}function c(e){o+=" ".repeat(e),i+=e}function l(){n.useTabs?function(){u>0&&a(u);f()}():p()}function p(){s>0&&c(s),f()}function f(){u=0,s=0}}function Mc(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof wc(e)&&/^[\t ]*$/.test(wc(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof wc(e)){const n=wc(e).replace(/[\t ]*$/,"");t+=wc(e).length-n.length,e[e.length-1]=n}return t}function Rc(e,t,n,r,o,i){let u=t.length;const s=[e],a=[];for(;n>=0;){if(0===s.length){if(0===u)return!0;s.push(t[u-1]),u--;continue}const[e,c,l]=s.pop();if("string"==typeof l)a.push(l),n-=Sc(l);else if(Pc(l)){const t=Oc(l);for(let n=t.length-1;n>=0;n--)s.push([e,c,t[n]])}else switch(l.type){case"indent":s.push([Lc(e,r),c,l.contents]);break;case"align":s.push([jc(e,l.n,r),c,l.contents]);break;case"trim":n+=Mc(a);break;case"group":{if(i&&l.break)return!1;const t=l.break?1:c;s.push([e,t,l.expandedStates&&1===t?wc(l.expandedStates):l.contents]),l.id&&(Ic[l.id]=t);break}case"fill":for(let t=l.parts.length-1;t>=0;t--)s.push([e,c,l.parts[t]]);break;case"if-break":case"indent-if-break":{const t=l.groupId?Ic[l.groupId]:c;if(1===t){const t="if-break"===l.type?l.breakContents:l.negate?l.contents:kc(l.contents);t&&s.push([e,c,t])}if(2===t){const t="if-break"===l.type?l.flatContents:l.negate?kc(l.contents):l.contents;t&&s.push([e,c,t])}break}case"line":switch(c){case 2:if(!l.hard){l.soft||(a.push(" "),n-=1);break}return!0;case 1:return!0}break;case"line-suffix":o=!0;break;case"line-suffix-boundary":if(o)return!1;break;case"label":s.push([e,c,l.contents])}}return!1}var Vc={printDocToString:function(e,t){Ic={};const n=t.printWidth,r=Tc(t.endOfLine);let o=0;const i=[[{value:"",length:0,queue:[]},1,e]],u=[];let s=!1,a=[];for(;i.length>0;){const[e,c,l]=i.pop();if("string"==typeof l){const e="\n"!==r?l.replace(/\n/g,r):l;u.push(e),o+=Sc(e)}else if(Pc(l)){const t=Oc(l);for(let n=t.length-1;n>=0;n--)i.push([e,c,t[n]])}else switch(l.type){case"cursor":u.push(Nc.placeholder);break;case"indent":i.push([Lc(e,t),c,l.contents]);break;case"align":i.push([jc(e,l.n,t),c,l.contents]);break;case"trim":o-=Mc(u);break;case"group":switch(c){case 2:if(!s){i.push([e,l.break?1:2,l.contents]);break}case 1:{s=!1;const r=[e,2,l.contents],u=n-o,c=a.length>0;if(!l.break&&Rc(r,i,u,t,c))i.push(r);else if(l.expandedStates){const n=wc(l.expandedStates);if(l.break){i.push([e,1,n]);break}for(let r=1;r=l.expandedStates.length){i.push([e,1,n]);break}{const n=[e,2,l.expandedStates[r]];if(Rc(n,i,u,t,c)){i.push(n);break}}}}else i.push([e,1,l.contents]);break}}l.id&&(Ic[l.id]=wc(i)[1]);break;case"fill":{const r=n-o,{parts:u}=l;if(0===u.length)break;const[s,p]=u,f=[e,2,s],d=[e,1,s],h=Rc(f,[],r,t,a.length>0,!0);if(1===u.length){h?i.push(f):i.push(d);break}const g=[e,2,p],m=[e,1,p];if(2===u.length){h?i.push(g,f):i.push(m,d);break}u.splice(0,2);const y=[e,c,Bc(u)];Rc([e,2,[s,p,u[0]]],[],r,t,a.length>0,!0)?i.push(y,g,f):h?i.push(y,m,f):i.push(y,m,d);break}case"if-break":case"indent-if-break":{const t=l.groupId?Ic[l.groupId]:c;if(1===t){const t="if-break"===l.type?l.breakContents:l.negate?l.contents:kc(l.contents);t&&i.push([e,c,t])}if(2===t){const t="if-break"===l.type?l.flatContents:l.negate?kc(l.contents):l.contents;t&&i.push([e,c,t])}break}case"line-suffix":a.push([e,c,l.contents]);break;case"line-suffix-boundary":a.length>0&&i.push([e,c,{type:"line",hard:!0}]);break;case"line":switch(c){case 2:if(!l.hard){l.soft||(u.push(" "),o+=1);break}s=!0;case 1:if(a.length>0){i.push([e,c,l],...a.reverse()),a=[];break}l.literal?e.root?(u.push(r,e.root.value),o=e.root.length):(u.push(r),o=0):(o-=Mc(u),u.push(r+e.value),o=e.length)}break;case"label":i.push([e,c,l.contents])}0===i.length&&a.length>0&&(i.push(...a.reverse()),a=[])}const c=u.indexOf(Nc.placeholder);if(-1!==c){const e=u.indexOf(Nc.placeholder,c+1),t=u.slice(0,c).join(""),n=u.slice(c+1,e).join("");return{formatted:t+n+u.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:u.join("")}}};const{isConcat:$c,getDocParts:Wc}=xc;function qc(e){if(!e)return"";if($c(e)){const t=[];for(const n of Wc(e))if($c(n))t.push(...qc(n).parts);else{const e=qc(n);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:qc(e.breakContents),flatContents:qc(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:qc(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(qc)}):"fill"===e.type?{type:"fill",parts:e.parts.map(qc)}:e.contents?Object.assign(Object.assign({},e),{},{contents:qc(e.contents)}):e}var Uc={printDocToDebug:function(e){const t=Object.create(null),n=new Set;return function e(t,n,o){if("string"==typeof t)return JSON.stringify(t);if($c(t)){const n=Wc(t).map(e).filter(Boolean);return 1===n.length?n[0]:"[".concat(n.join(", "),"]")}if("line"===t.type){const e=Array.isArray(o)&&o[n+1]&&"break-parent"===o[n+1].type;return t.literal?e?"literalline":"literallineWithoutBreakParent":t.hard?e?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type){return Array.isArray(o)&&o[n-1]&&"line"===o[n-1].type&&o[n-1].hard?void 0:"breakParent"}if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+", { groupId: ".concat(r(t.groupId)," }"):"")+")";if("indent-if-break"===t.type){const n=[];t.negate&&n.push("negate: true"),t.groupId&&n.push("groupId: ".concat(r(t.groupId)));const o=n.length>0?", { ".concat(n.join(", ")," }"):"";return"indentIfBreak(".concat(e(t.contents)).concat(o,")")}if("group"===t.type){const n=[];t.break&&"propagated"!==t.break&&n.push("shouldBreak: true"),t.id&&n.push("id: ".concat(r(t.id)));const o=n.length>0?", { ".concat(n.join(", ")," }"):"";return t.expandedStates?"conditionalGroup([".concat(t.expandedStates.map((t=>e(t))).join(","),"]").concat(o,")"):"group(".concat(e(t.contents)).concat(o,")")}if("fill"===t.type)return"fill([".concat(t.parts.map((t=>e(t))).join(", "),"])");if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return"label(".concat(JSON.stringify(t.label),", ").concat(e(t.contents),")");throw new Error("Unknown doc type "+t.type)}(qc(e));function r(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];const r=String(e).slice(7,-1)||"symbol";for(let o=0;;o++){const i=r+(o>0?" #".concat(o):"");if(!n.has(i))return n.add(i),t[e]="Symbol.for(".concat(JSON.stringify(i),")")}}}},Gc={builders:Qi,printer:Vc,utils:xc,debug:Uc},zc=t(Object.freeze({__proto__:null,default:{}}));function Hc(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var Jc=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Xc=function(e){return Jc.exec(e).slice(1)};function Yc(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return e=Hc(il(e.split("/"),(function(e){return!!e})),!t).join("/"),(t?"/":"")+e||"."}function Kc(e){var t=Qc(e),n="/"===ul(e,-1);return e=Hc(il(e.split("/"),(function(e){return!!e})),!t).join("/"),e||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function Qc(e){return"/"===e.charAt(0)}function Zc(){var e=Array.prototype.slice.call(arguments,0);return Kc(il(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function el(e,t){function n(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=Yc(e).substr(1),t=Yc(t).substr(1);for(var r=n(e.split("/")),o=n(t.split("/")),i=Math.min(r.length,o.length),u=i,s=0;s>18&63]+al[o>>12&63]+al[o>>6&63]+al[63&o]);return i.join("")}function hl(e){var t;pl||fl();for(var n=e.length,r=n%3,o="",i=[],u=16383,s=0,a=n-r;sa?a:s+u));return 1===r?(t=e[n-1],o+=al[t>>2],o+=al[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=al[t>>10],o+=al[t>>4&63],o+=al[t<<2&63],o+="="),i.push(o),i.join("")}function gl(e,t,n,r,o){var i,u,s=8*o-r-1,a=(1<>1,l=-7,p=n?o-1:0,f=n?-1:1,d=e[t+p];for(p+=f,i=d&(1<<-l)-1,d>>=-l,l+=s;l>0;i=256*i+e[t+p],p+=f,l-=8);for(u=i&(1<<-l)-1,i>>=-l,l+=r;l>0;u=256*u+e[t+p],p+=f,l-=8);if(0===i)i=1-c;else{if(i===a)return u?NaN:1/0*(d?-1:1);u+=Math.pow(2,r),i-=c}return(d?-1:1)*u*Math.pow(2,i-r)}function ml(e,t,n,r,o,i){var u,s,a,c=8*i-o-1,l=(1<>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,u=l):(u=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-u))<1&&(u--,a*=2),(t+=u+p>=1?f/a:f*Math.pow(2,1-p))*a>=2&&(u++,a/=2),u+p>=l?(s=0,u=l):u+p>=1?(s=(t*a-1)*Math.pow(2,o),u+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),u=0));o>=8;e[n+d]=255&s,d+=h,s/=256,o-=8);for(u=u<0;e[n+d]=255&u,d+=h,u/=256,c-=8);e[n+d-h]|=128*g}var yl={}.toString,Dl=Array.isArray||function(e){return"[object Array]"==yl.call(e)};function El(){return bl.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Cl(e,t){if(El()=El())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+El().toString(16)+" bytes");return 0|e}function wl(e){return!(null==e||!e._isBuffer)}function Tl(e,t){if(wl(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return ep(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return tp(e).length;default:if(r)return ep(e).length;t=(""+t).toLowerCase(),r=!0}}function Bl(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return ql(this,t,n);case"utf8":case"utf-8":return Vl(this,t,n);case"ascii":return $l(this,t,n);case"latin1":case"binary":return Wl(this,t,n);case"base64":return Rl(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ul(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Nl(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function kl(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=bl.from(t,r)),wl(t))return 0===t.length?-1:Pl(e,t,n,r,o);if("number"==typeof t)return t&=255,bl.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Pl(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function Pl(e,t,n,r,o){var i,u=1,s=e.length,a=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;u=2,s/=2,a/=2,n/=2}function c(e,t){return 1===u?e[t]:e.readUInt16BE(t*u)}if(o){var l=-1;for(i=n;is&&(n=s-a),i=n;i>=0;i--){for(var p=!0,f=0;fo&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var u=0;u>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function Rl(e,t,n){return 0===t&&n===e.length?hl(e):hl(e.slice(t,n))}function Vl(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o239?4:c>223?3:c>191?2:1;if(o+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(a=(31&c)<<6|63&i)>127&&(l=a);break;case 3:i=e[o+1],u=e[o+2],128==(192&i)&&128==(192&u)&&(a=(15&c)<<12|(63&i)<<6|63&u)>2047&&(a<55296||a>57343)&&(l=a);break;case 4:i=e[o+1],u=e[o+2],s=e[o+3],128==(192&i)&&128==(192&u)&&128==(192&s)&&(a=(15&c)<<18|(63&i)<<12|(63&u)<<6|63&s)>65535&&a<1114112&&(l=a)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},bl.prototype.compare=function(e,t,n,r,o){if(!wl(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),u=(n>>>=0)-(t>>>=0),s=Math.min(i,u),a=this.slice(r,o),c=e.slice(t,n),l=0;lo)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return Ol(this,e,t,n);case"utf8":case"utf-8":return Il(this,e,t,n);case"ascii":return Ll(this,e,t,n);case"latin1":case"binary":return jl(this,e,t,n);case"base64":return _l(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ml(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},bl.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $l(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;or)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function zl(e,t,n,r,o,i){if(!wl(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function Hl(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function Jl(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function Xl(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Yl(e,t,n,r,o){return o||Xl(e,0,n,4),ml(e,t,n,r,23,4),n+4}function Kl(e,t,n,r,o){return o||Xl(e,0,n,8),ml(e,t,n,r,52,8),n+8}bl.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(o*=256);)r+=this[e+--t]*o;return r},bl.prototype.readUInt8=function(e,t){return t||Gl(e,1,this.length),this[e]},bl.prototype.readUInt16LE=function(e,t){return t||Gl(e,2,this.length),this[e]|this[e+1]<<8},bl.prototype.readUInt16BE=function(e,t){return t||Gl(e,2,this.length),this[e]<<8|this[e+1]},bl.prototype.readUInt32LE=function(e,t){return t||Gl(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},bl.prototype.readUInt32BE=function(e,t){return t||Gl(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},bl.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Gl(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},bl.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Gl(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},bl.prototype.readInt8=function(e,t){return t||Gl(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},bl.prototype.readInt16LE=function(e,t){t||Gl(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},bl.prototype.readInt16BE=function(e,t){t||Gl(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},bl.prototype.readInt32LE=function(e,t){return t||Gl(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},bl.prototype.readInt32BE=function(e,t){return t||Gl(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},bl.prototype.readFloatLE=function(e,t){return t||Gl(e,4,this.length),gl(this,e,!0,23,4)},bl.prototype.readFloatBE=function(e,t){return t||Gl(e,4,this.length),gl(this,e,!1,23,4)},bl.prototype.readDoubleLE=function(e,t){return t||Gl(e,8,this.length),gl(this,e,!0,52,8)},bl.prototype.readDoubleBE=function(e,t){return t||Gl(e,8,this.length),gl(this,e,!1,52,8)},bl.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||zl(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},bl.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,1,255,0),bl.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},bl.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,2,65535,0),bl.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Hl(this,e,t,!0),t+2},bl.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,2,65535,0),bl.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Hl(this,e,t,!1),t+2},bl.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,4,4294967295,0),bl.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Jl(this,e,t,!0),t+4},bl.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,4,4294967295,0),bl.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Jl(this,e,t,!1),t+4},bl.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);zl(this,e,t,n,o-1,-o)}var i=0,u=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},bl.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);zl(this,e,t,n,o-1,-o)}var i=n-1,u=1,s=0;for(this[t+i]=255&e;--i>=0&&(u*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/u>>0)-s&255;return t+n},bl.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,1,127,-128),bl.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},bl.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,2,32767,-32768),bl.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Hl(this,e,t,!0),t+2},bl.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,2,32767,-32768),bl.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Hl(this,e,t,!1),t+2},bl.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,4,2147483647,-2147483648),bl.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Jl(this,e,t,!0),t+4},bl.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||zl(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),bl.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Jl(this,e,t,!1),t+4},bl.prototype.writeFloatLE=function(e,t,n){return Yl(this,e,t,!0,n)},bl.prototype.writeFloatBE=function(e,t,n){return Yl(this,e,t,!1,n)},bl.prototype.writeDoubleLE=function(e,t,n){return Kl(this,e,t,!0,n)},bl.prototype.writeDoubleBE=function(e,t,n){return Kl(this,e,t,!1,n)},bl.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(i<1e3||!bl.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(u+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function tp(e){return function(e){var t,n,r,o,i,u;pl||fl();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[s-2]?2:"="===e[s-1]?1:0,u=new ll(3*s/4-i),r=i>0?s-4:s;var a=0;for(t=0,n=0;t>16&255,u[a++]=o>>8&255,u[a++]=255&o;return 2===i?(o=cl[e.charCodeAt(t)]<<2|cl[e.charCodeAt(t+1)]>>4,u[a++]=255&o):1===i&&(o=cl[e.charCodeAt(t)]<<10|cl[e.charCodeAt(t+1)]<<4|cl[e.charCodeAt(t+2)]>>2,u[a++]=o>>8&255,u[a++]=255&o),u}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Ql,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function np(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function rp(e){return null!=e&&(!!e._isBuffer||op(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&op(e.slice(0,0))}(e))}function op(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}const ip=zc;var up=class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:ip.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}_searchInBuffer(e,t){let n=-1;for(let r=0;r<=e.length;r++){if(e[r]===t){n=r;break}}return n}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}close(){ip.closeSync(this.fd),this.fd=null}_extractLines(e){let t;const n=[];let r=0,o=0;for(;;){let i=e[r++];if(i===this.newLineCharacter)t=e.slice(o,r),n.push(t),o=r;else if(void 0===i)break}let i=e.slice(o,r);return i.length&&n.push(i),n}_readChunk(e){let t,n=0;const r=[];do{const e=new bl(this.options.readChunk);t=ip.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(e)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let o=bl.concat(r);return t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function mp(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function yp(e){return this instanceof yp?(this.v=e,this):new yp(e)}var Dp=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}dp(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return hp},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=0;s--)(o=e[s])&&(u=(i<3?o(u):i>3?o(t,n,u):o(t,n))||u);return i>3&&u&&Object.defineProperty(t,n,u),u},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function u(e){try{a(r.next(e))}catch(e){i(e)}}function s(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(u,s)}a((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof yp?Promise.resolve(n.value.v).then(a,c):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function a(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:yp(e[r](t)),done:"return"===r}:o?o(t):t}:o}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=gp(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),Ep={},Cp={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return"[".concat(t.map((t=>e.apiDescriptor.value(t))).join(", "),"]");const n=Object.keys(t);return 0===n.length?"{}":"{ ".concat(n.map((n=>"".concat(e.apiDescriptor.key(n),": ").concat(e.apiDescriptor.value(t[n])))).join(", ")," }")},pair:t=>{let{key:n,value:r}=t;return e.apiDescriptor.value({[n]:r})}}}(Cp),function(e){Object.defineProperty(e,"__esModule",{value:!0});Dp.__exportStar(Cp,e)}(Ep);var bp={},vp={},Ap={},Fp={exports:{}},xp=/[|\\{}()[\]^$+*?.]/g,Sp=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(xp,"\\$&")},wp={exports:{}},Tp={exports:{}},Bp={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]},Np={};for(var kp in Bp)Bp.hasOwnProperty(kp)&&(Np[Bp[kp]]=kp);var Pp=Tp.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 Op in Pp)if(Pp.hasOwnProperty(Op)){if(!("channels"in Pp[Op]))throw new Error("missing channels property: "+Op);if(!("labels"in Pp[Op]))throw new Error("missing channel labels property: "+Op);if(Pp[Op].labels.length!==Pp[Op].channels)throw new Error("channel and label counts mismatch: "+Op);var Ip=Pp[Op].channels,Lp=Pp[Op].labels;delete Pp[Op].channels,delete Pp[Op].labels,Object.defineProperty(Pp[Op],"channels",{value:Ip}),Object.defineProperty(Pp[Op],"labels",{value:Lp})}Pp.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,u=Math.min(r,o,i),s=Math.max(r,o,i),a=s-u;return s===u?t=0:r===s?t=(o-i)/a:o===s?t=2+(i-r)/a:i===s&&(t=4+(r-o)/a),(t=Math.min(60*t,360))<0&&(t+=360),n=(u+s)/2,[t,100*(s===u?0:n<=.5?a/(s+u):a/(2-s-u)),100*n]},Pp.rgb.hsv=function(e){var t,n,r,o,i,u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function(e){return(c-e)/6/l+.5};return 0===l?o=i=0:(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},Pp.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[Pp.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},Pp.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},Pp.rgb.keyword=function(e){var t=Np[e];if(t)return t;var n,r,o,i=1/0;for(var u in Bp)if(Bp.hasOwnProperty(u)){var s=Bp[u],a=(r=e,o=s,Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2)+Math.pow(r[2]-o[2],2));a.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Pp.rgb.lab=function(e){var t=Pp.rgb.xyz(e),n=t[0],r=t[1],o=t[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},Pp.hsl.rgb=function(e){var t,n,r,o,i,u=e[0]/360,s=e[1]/100,a=e[2]/100;if(0===s)return[i=255*a,i,i];t=2*a-(n=a<.5?a*(1+s):a+s-a*s),o=[0,0,0];for(var c=0;c<3;c++)(r=u+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*i;return o},Pp.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)]},Pp.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s]}},Pp.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,u=e[2]/100,s=Math.max(u,.01);return r=(2-i)*u,n=i*s,[o,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)]},Pp.hwb.rgb=function(e){var t,n,r,o,i,u,s,a=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(r=1-r),o=c+r*((n=1-l)-c),t){default:case 6:case 0:i=n,u=o,s=c;break;case 1:i=o,u=n,s=c;break;case 2:i=c,u=n,s=o;break;case 3:i=c,u=o,s=n;break;case 4:i=o,u=c,s=n;break;case 5:i=n,u=c,s=o}return[255*i,255*u,255*s]},Pp.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},Pp.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,u=e[2]/100;return n=-.9689*o+1.8758*i+.0415*u,r=.0557*o+-.204*i+1.057*u,t=(t=3.2406*o+-1.5372*i+-.4986*u)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},Pp.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},Pp.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),u=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=u>.008856?u:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},Pp.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},Pp.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},Pp.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],o=1 in arguments?arguments[1]:Pp.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var i=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(i+=60),i},Pp.hsv.ansi16=function(e){return Pp.rgb.ansi16(Pp.hsv.rgb(e),e[2])},Pp.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Pp.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Pp.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},Pp.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Pp.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Pp.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,i=Math.max(Math.max(n,r),o),u=Math.min(Math.min(n,r),o),s=i-u;return t=s<=0?0:i===n?(r-o)/s%6:i===r?2+(o-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?u/(1-s):0)]},Pp.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},Pp.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},Pp.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],u=t%1*6,s=u%1,a=1-s;switch(Math.floor(u)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)]},Pp.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Pp.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Pp.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Pp.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},Pp.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Pp.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Pp.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Pp.gray.hsl=Pp.gray.hsv=function(e){return[0,0,e[0]]},Pp.gray.hwb=function(e){return[0,100,e[0]]},Pp.gray.cmyk=function(e){return[0,0,0,e[0]]},Pp.gray.lab=function(e){return[e[0],0,0]},Pp.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Pp.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var jp=Tp.exports;function _p(e){var t=function(){for(var e={},t=Object.keys(jp),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,o=0;o1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var qp,Up=Wp;function Gp(){if(void 0===qp){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])qp="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");qp="LE"}}return qp}function zp(){return void 0!==Bs.location?Bs.location.hostname:""}function Hp(){return[]}function Jp(){return 0}function Xp(){return Number.MAX_VALUE}function Yp(){return Number.MAX_VALUE}function Kp(){return[]}function Qp(){return"Browser"}function Zp(){return void 0!==Bs.navigator?Bs.navigator.appVersion:""}function ef(){}function tf(){}function nf(){return"javascript"}function rf(){return"browser"}function of(){return"/tmp"}!function(e){const t=Up,n=(e,n)=>function(){const r=e.apply(t,arguments);return"\x1b[".concat(r+n,"m")},r=(e,n)=>function(){const r=e.apply(t,arguments);return"\x1b[".concat(38+n,";5;").concat(r,"m")},o=(e,n)=>function(){const r=e.apply(t,arguments);return"\x1b[".concat(38+n,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:"\x1b[".concat(r[0],"m"),close:"\x1b[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const u=e=>e,s=(e,t,n)=>[e,t,n];i.color.close="\x1b[39m",i.bgColor.close="\x1b[49m",i.color.ansi={ansi:n(u,0)},i.color.ansi256={ansi256:r(u,0)},i.color.ansi16m={rgb:o(s,0)},i.bgColor.ansi={ansi:n(u,10)},i.bgColor.ansi256={ansi256:r(u,10)},i.bgColor.ansi16m={rgb:o(s,10)};for(let e of Object.keys(t)){if("object"!=typeof t[e])continue;const u=t[e];"ansi16"===e&&(e="ansi"),"ansi16"in u&&(i.color.ansi[e]=n(u.ansi16,0),i.bgColor.ansi[e]=n(u.ansi16,10)),"ansi256"in u&&(i.color.ansi256[e]=r(u.ansi256,0),i.bgColor.ansi256[e]=r(u.ansi256,10)),"rgb"in u&&(i.color.ansi16m[e]=o(u.rgb,0),i.bgColor.ansi16m[e]=o(u.rgb,10))}return i}})}(wp);var uf=of,sf={EOL:"\n",arch:nf,platform:rf,tmpdir:uf,tmpDir:of,networkInterfaces:ef,getNetworkInterfaces:tf,release:Zp,type:Qp,cpus:Kp,totalmem:Yp,freemem:Xp,uptime:Jp,loadavg:Hp,hostname:zp,endianness:Gp},af=t(Object.freeze({__proto__:null,endianness:Gp,hostname:zp,loadavg:Hp,uptime:Jp,freemem:Xp,totalmem:Yp,cpus:Kp,type:Qp,release:Zp,networkInterfaces:ef,getNetworkInterfaces:tf,arch:nf,platform:rf,tmpDir:of,tmpdir:uf,EOL:"\n",default:sf}));const cf=af,lf=(e,t)=>{t=t||Zs.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in pf)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in pf))||"codeship"===pf.CI_NAME?1:t;if("TEAMCITY_VERSION"in pf)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(pf.TEAMCITY_VERSION)?1:0;if("truecolor"===pf.COLORTERM)return 3;if("TERM_PROGRAM"in pf){const e=parseInt((pf.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(pf.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(pf.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(pf.TERM)||"COLORTERM"in pf?1:(pf.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}lf("no-color")||lf("no-colors")||lf("color=false")?ff=!1:(lf("color")||lf("colors")||lf("color=true")||lf("color=always"))&&(ff=!0),"FORCE_COLOR"in pf&&(ff=0===pf.FORCE_COLOR.length||0!==parseInt(pf.FORCE_COLOR,10));var hf={supportsColor:df,stdout:df(Zs.stdout),stderr:df(Zs.stderr)};const gf=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,mf=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,yf=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Df=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ef=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Cf(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Ef.get(e)||e}function bf(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const t of r)if(isNaN(t)){if(!(o=t.match(yf)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(o[2].replace(Df,((e,t,n)=>t?Cf(t):n)))}else n.push(Number(t));return n}function vf(e){mf.lastIndex=0;const t=[];let n;for(;null!==(n=mf.exec(e));){const e=n[1];if(n[2]){const r=bf(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Af(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}var Ff=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(gf,((t,i,u,s,a,c)=>{if(i)o.push(Cf(i));else if(s){const t=o.join("");o=[],r.push(0===n.length?t:Af(e,n)(t)),n.push({inverse:u,styles:vf(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Af(e,n)(o.join(""))),o=[],n.pop()}else o.push(c)})),r.push(o.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};!function(e){const t=Sp,n=wp.exports,r=hf.stdout,o=Ff,i="win32"===Zs.platform&&!(Zs.env.TERM||"").toLowerCase().startsWith("xterm"),u=["ansi","ansi","ansi256","ansi16m"],s=new Set(["gray"]),a=Object.create(null);function c(e,t){t=t||{};const n=r?r.level:0;e.level=void 0===t.level?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function l(e){if(!this||!(this instanceof l)||this.template){const t={};return c(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,l.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=l,t.template}c(this,e)}i&&(n.blue.open="\x1b[94m");for(const e of Object.keys(n))n[e].closeRe=new RegExp(t(n[e].close),"g"),a[e]={get(){const t=n[e];return f.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};a.visible={get(){return f.call(this,this._styles||[],!0,"visible")}},n.color.closeRe=new RegExp(t(n.color.close),"g");for(const e of Object.keys(n.color.ansi))s.has(e)||(a[e]={get(){const t=this.level;return function(){const r=n.color[u[t]][e].apply(null,arguments),o={open:r,close:n.color.close,closeRe:n.color.closeRe};return f.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}});n.bgColor.closeRe=new RegExp(t(n.bgColor.close),"g");for(const e of Object.keys(n.bgColor.ansi)){if(s.has(e))continue;a["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const r=n.bgColor[u[t]][e].apply(null,arguments),o={open:r,close:n.bgColor.close,closeRe:n.bgColor.closeRe};return f.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}}}const p=Object.defineProperties((()=>{}),a);function f(e,t,n){const r=function(){return d.apply(r,arguments)};r._styles=e,r._empty=t;const o=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>o.level,set(e){o.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>o.enabled,set(e){o.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=p,r}function d(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n{let{descriptor:r}=n;const o=["".concat(xf.default.yellow("string"==typeof e?r.key(e):r.pair(e))," is deprecated")];return t&&o.push("we now treat it as ".concat(xf.default.blue("string"==typeof t?r.key(t):r.pair(t)))),o.join("; ")+"."},function(e){Object.defineProperty(e,"__esModule",{value:!0});Dp.__exportStar(Ap,e)}(vp);var Sf={},wf={};Object.defineProperty(wf,"__esModule",{value:!0});const Tf=Fp.exports;wf.commonInvalidHandler=(e,t,n)=>["Invalid ".concat(Tf.default.red(n.descriptor.key(e))," value."),"Expected ".concat(Tf.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(Tf.default.red(n.descriptor.value(t)),".")].join(" "),function(e){Object.defineProperty(e,"__esModule",{value:!0});Dp.__exportStar(wf,e)}(Sf);var Bf={},Nf={},kf=[],Pf=[];Object.defineProperty(Nf,"__esModule",{value:!0});const Of=Fp.exports,If=function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,o=t.length;if(0===r)return o;if(0===o)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-o);)r--,o--;if(0===r)return o;for(var i,u,s,a,c=0;cu?a>u?u+1:a:a>s?s+1:a;return u};Nf.levenUnknownHandler=(e,t,n)=>{let{descriptor:r,logger:o,schemas:i}=n;const u=["Ignored unknown option ".concat(Of.default.yellow(r.pair({key:e,value:t})),".")],s=Object.keys(i).sort().find((t=>If(e,t)<3));s&&u.push("Did you mean ".concat(Of.default.blue(r.key(s)),"?")),o.warn(u.join(" "))},function(e){Object.defineProperty(e,"__esModule",{value:!0});Dp.__exportStar(Nf,e)}(Bf),function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=Dp;t.__exportStar(vp,e),t.__exportStar(Sf,e),t.__exportStar(Bf,e)}(bp);var Lf={},jf={},_f={};Object.defineProperty(_f,"__esModule",{value:!0});const Mf=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function Rf(e,t){const n=new e(t),r=Object.create(n);for(const e of Mf)e in t&&(r[e]=$f(t[e],n,Vf.prototype[e].length));return r}_f.createSchema=Rf;class Vf{constructor(e){this.name=e.name}static create(e){return Rf(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}}function $f(e,t,n){return"function"==typeof e?function(){for(var r=arguments.length,o=new Array(r),i=0;ie}_f.Schema=Vf,Object.defineProperty(jf,"__esModule",{value:!0});const Wf=_f;class qf extends Wf.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}}jf.AliasSchema=qf;var Uf={};Object.defineProperty(Uf,"__esModule",{value:!0});const Gf=_f;class zf extends Gf.Schema{expected(){return"anything"}validate(){return!0}}Uf.AnySchema=zf;var Hf={};Object.defineProperty(Hf,"__esModule",{value:!0});const Jf=Dp,Xf=_f;class Yf extends Xf.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=Jf.__rest(e,["valueSchema","name"]);super(Object.assign({},r,{name:n})),this._valueSchema=t}expected(e){return"an array of ".concat(this._valueSchema.expected(e))}validate(e,t){if(!Array.isArray(e))return!1;const n=[];for(const r of e){const e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){const n=[];for(const r of e){const e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map((e=>{let{value:t}=e;return{value:[t]}})))}return n}forward(e,t){const n=[];for(const r of e){const e=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...e.map(Kf))}return n}redirect(e,t){const n=[],r=[];for(const o of e){const e=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in e&&n.push(e.remain),r.push(...e.redirect.map(Kf))}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}}function Kf(e){let{from:t,to:n}=e;return{from:[t],to:n}}Hf.ArraySchema=Yf;var Qf={};Object.defineProperty(Qf,"__esModule",{value:!0});const Zf=_f;class ed extends Zf.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}Qf.BooleanSchema=ed;var td={},nd={};function rd(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function od(e,t){return void 0===e?[]:Array.isArray(e)?e.map((e=>rd(e,t))):[rd(e,t)]}Object.defineProperty(nd,"__esModule",{value:!0}),nd.recordFromArray=function(e,t){const n=Object.create(null);for(const r of e){const e=r[t];if(n[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n[e]=r}return n},nd.mapFromArray=function(e,t){const n=new Map;for(const r of e){const e=r[t];if(n.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n.set(e,r)}return n},nd.createAutoChecklist=function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},nd.partition=function(e,t){const n=[],r=[];for(const o of e)t(o)?n.push(o):r.push(o);return[n,r]},nd.isInt=function(e){return e===Math.floor(e)},nd.comparePrimitive=function(e,t){if(e===t)return 0;const n=typeof e,r=typeof t,o=["undefined","object","boolean","number","string"];return n!==r?o.indexOf(n)-o.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},nd.normalizeDefaultResult=function(e){return void 0===e?{}:e},nd.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},nd.normalizeDeprecatedResult=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},nd.normalizeTransferResult=rd,nd.normalizeForwardResult=od,nd.normalizeRedirectResult=function(e,t){const n=od("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}},Object.defineProperty(td,"__esModule",{value:!0});const id=_f,ud=nd;class sd extends id.Schema{constructor(e){super(e),this._choices=ud.mapFromArray(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected(e){let{descriptor:t}=e;const n=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>!e.deprecated)).map((e=>e.value)).sort(ud.comparePrimitive).map(t.value),r=n.slice(0,-2),o=n.slice(-2);return r.concat(o.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){const t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){const t=this._choices.get(e);return t?t.forward:void 0}redirect(e){const t=this._choices.get(e);return t?t.redirect:void 0}}td.ChoiceSchema=sd;var ad={},cd={};Object.defineProperty(cd,"__esModule",{value:!0});const ld=_f;class pd extends ld.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}}cd.NumberSchema=pd,Object.defineProperty(ad,"__esModule",{value:!0});const fd=nd,dd=cd;class hd extends dd.NumberSchema{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&fd.isInt(e)}}ad.IntegerSchema=hd;var gd={};Object.defineProperty(gd,"__esModule",{value:!0});const md=_f;class yd extends md.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}gd.StringSchema=yd,function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=Dp;t.__exportStar(jf,e),t.__exportStar(Uf,e),t.__exportStar(Hf,e),t.__exportStar(Qf,e),t.__exportStar(td,e),t.__exportStar(ad,e),t.__exportStar(cd,e),t.__exportStar(gd,e)}(Lf);var Dd={},Ed={};Object.defineProperty(Ed,"__esModule",{value:!0});const Cd=Cp,bd=Ap,vd=Sf,Ad=Nf;Ed.defaultDescriptor=Cd.apiDescriptor,Ed.defaultUnknownHandler=Ad.levenUnknownHandler,Ed.defaultInvalidHandler=vd.commonInvalidHandler,Ed.defaultDeprecatedHandler=bd.commonDeprecatedHandler,Object.defineProperty(Dd,"__esModule",{value:!0});const Fd=Ed,xd=nd;Dd.normalize=(e,t,n)=>new Sd(t,n).normalize(e);class Sd{constructor(e,t){const{logger:n=console,descriptor:r=Fd.defaultDescriptor,unknown:o=Fd.defaultUnknownHandler,invalid:i=Fd.defaultInvalidHandler,deprecated:u=Fd.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:xd.recordFromArray(e,"name"),normalizeDefaultResult:xd.normalizeDefaultResult,normalizeDeprecatedResult:xd.normalizeDeprecatedResult,normalizeForwardResult:xd.normalizeForwardResult,normalizeRedirectResult:xd.normalizeRedirectResult,normalizeValidateResult:xd.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=i,this._deprecatedHandler=u,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=xd.createAutoChecklist()}normalize(e){const t={},n=[e],r=()=>{for(;0!==n.length;){const e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};r();for(const e of Object.keys(this._utils.schemas)){const r=this._utils.schemas[e];if(!(e in t)){const t=xd.normalizeDefaultResult(r.default(this._utils));"value"in t&&n.push({[e]:t.value})}}r();for(const e of Object.keys(this._utils.schemas)){const n=this._utils.schemas[e];e in t&&(t[e]=n.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){const n=[],[r,o]=xd.partition(Object.keys(e),(e=>e in this._utils.schemas));for(const o of r){const r=this._utils.schemas[o],i=r.preprocess(e[o],this._utils),u=xd.normalizeValidateResult(r.validate(i,this._utils),i);if(!0!==u){const{value:e}=u,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?new Error(t):t}const s=e=>{let{from:t,to:r}=e;n.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},a=e=>{let{value:t,redirectTo:n}=e;const u=xd.normalizeDeprecatedResult(r.deprecated(t,this._utils),i,!0);if(!1!==u)if(!0===u)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,n,this._utils));else for(const{value:e}of u){const t={key:o,value:e};if(!this._hasDeprecationWarned(t)){const r="string"==typeof n?{key:n,value:e}:n;this._utils.logger.warn(this._deprecatedHandler(t,r,this._utils))}}};xd.normalizeForwardResult(r.forward(i,this._utils),i).forEach(s);const c=xd.normalizeRedirectResult(r.redirect(i,this._utils),i);if(c.redirect.forEach(s),"remain"in c){const e=c.remain;t[o]=o in t?r.overlap(t[o],e,this._utils):e,a({value:e})}for(const{from:e,to:t}of c.redirect)a({value:e,redirectTo:t})}for(const r of o){const o=e[r],i=this._unknownHandler(r,o,this._utils);if(i)for(const e of Object.keys(i)){const r={[e]:i[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}}Dd.Normalizer=Sd,function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=Dp;t.__exportStar(Ep,e),t.__exportStar(bp,e),t.__exportStar(Lf,e),t.__exportStar(Dd,e),t.__exportStar(_f,e)}(fp);var wd={exports:{}};const Td=[],Bd=[],Nd=(e,t)=>{if(e===t)return 0;const n=e;e.length>t.length&&(e=t,t=n);let r=e.length,o=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-o);)r--,o--;let i,u,s,a,c=0;for(;cu?a>u?u+1:a:a>s?s+1:a;return u};wd.exports=Nd,wd.exports.default=Nd;var kd={exports:{}};const Pd={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]},Od={};for(const e of Object.keys(Pd))Od[Pd[e]]=e;const Id={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Ld=Id;for(const e of Object.keys(Id)){if(!("channels"in Id[e]))throw new Error("missing channels property: "+e);if(!("labels"in Id[e]))throw new Error("missing channel labels property: "+e);if(Id[e].labels.length!==Id[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=Id[e];delete Id[e].channels,delete Id[e].labels,Object.defineProperty(Id[e],"channels",{value:t}),Object.defineProperty(Id[e],"labels",{value:n})}Id.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),i=Math.max(t,n,r),u=i-o;let s,a;i===o?s=0:t===i?s=(n-r)/u:n===i?s=2+(r-t)/u:r===i&&(s=4+(t-n)/u),s=Math.min(60*s,360),s<0&&(s+=360);const c=(o+i)/2;return a=i===o?0:c<=.5?u/(i+o):u/(2-i-o),[s,100*a,100*c]},Id.rgb.hsv=function(e){let t,n,r,o,i;const u=e[0]/255,s=e[1]/255,a=e[2]/255,c=Math.max(u,s,a),l=c-Math.min(u,s,a),p=function(e){return(c-e)/6/l+.5};return 0===l?(o=0,i=0):(i=l/c,t=p(u),n=p(s),r=p(a),u===c?o=r-n:s===c?o=1/3+t-r:a===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},Id.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=Id.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,100*i,100*r]},Id.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r);return[100*((1-t-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*((1-r-o)/(1-o)||0),100*o]},Id.rgb.keyword=function(e){const t=Od[e];if(t)return t;let n,r=1/0;for(const t of Object.keys(Pd)){const u=(i=Pd[t],((o=e)[0]-i[0])**2+(o[1]-i[1])**2+(o[2]-i[2])**2);u.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;return[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Id.rgb.lab=function(e){const t=Id.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*r-16,500*(n-r),200*(r-o)]},Id.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,i,u;if(0===n)return u=255*r,[u,u,u];o=r<.5?r*(1+n):r+n-r*n;const s=2*r-o,a=[0,0,0];for(let e=0;e<3;e++)i=t+1/3*-(e-1),i<0&&i++,i>1&&i--,u=6*i<1?s+6*(o-s)*i:2*i<1?o:3*i<2?s+(o-s)*(2/3-i)*6:s,a[e]=255*u;return a},Id.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const i=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=i<=1?i:2-i;return[t,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)]},Id.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,i=t-Math.floor(t),u=255*r*(1-n),s=255*r*(1-n*i),a=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,a,u];case 1:return[s,r,u];case 2:return[u,r,a];case 3:return[u,s,r];case 4:return[a,u,r];case 5:return[r,u,s]}},Id.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let i,u;u=(2-n)*r;const s=(2-n)*o;return i=n*o,i/=s<=1?s:2-s,i=i||0,u/=2,[t,100*i,100*u]},Id.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let i;o>1&&(n/=o,r/=o);const u=Math.floor(6*t),s=1-r;i=6*t-u,0!=(1&u)&&(i=1-i);const a=n+i*(s-n);let c,l,p;switch(u){default:case 6:case 0:c=s,l=a,p=n;break;case 1:c=a,l=s,p=n;break;case 2:c=n,l=s,p=a;break;case 3:c=n,l=a,p=s;break;case 4:c=a,l=n,p=s;break;case 5:c=s,l=n,p=a}return[255*c,255*l,255*p]},Id.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},Id.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,i,u;return o=3.2406*t+-1.5372*n+-.4986*r,i=-.9689*t+1.8758*n+.0415*r,u=.0557*t+-.204*n+1.057*r,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,u=u>.0031308?1.055*u**(1/2.4)-.055:12.92*u,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),u=Math.min(Math.max(0,u),1),[255*o,255*i,255*u]},Id.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},Id.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const o=n**3,i=t**3,u=r**3;return n=o>.008856?o:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},Id.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=360*Math.atan2(r,n)/2/Math.PI,o<0&&(o+=360);return[t,Math.sqrt(n*n+r*r),o]},Id.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Id.rgb.ansi16=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const[n,r,o]=e;let i=null===t?Id.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),0===i)return 30;let u=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===i&&(u+=60),u},Id.hsv.ansi16=function(e){return Id.rgb.ansi16(Id.hsv.rgb(e),e[2])},Id.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Id.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Id.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Id.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Id.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map((e=>e+e)).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Id.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),i=Math.min(Math.min(t,n),r),u=o-i;let s,a;return s=u<1?i/(1-u):0,a=u<=0?0:o===t?(n-r)/u%6:o===n?2+(r-t)/u:4+(t-n)/u,a/=6,a%=1,[360*a,100*u,100*s]},Id.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},Id.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},Id.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const o=[0,0,0],i=t%1*6,u=i%1,s=1-u;let a=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=u,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=u;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=u,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return a=(1-n)*r,[255*(n*o[0]+a),255*(n*o[1]+a),255*(n*o[2]+a)]},Id.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Id.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Id.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Id.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},Id.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Id.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Id.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Id.gray.hsl=function(e){return[0,0,e[0]]},Id.gray.hsv=Id.gray.hsl,Id.gray.hwb=function(e){return[0,100,e[0]]},Id.gray.cmyk=function(e){return[0,0,0,e[0]]},Id.gray.lab=function(e){return[e[0],0,0]},Id.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Id.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const jd=Ld;function _d(e){const t=function(){const e={},t=Object.keys(jd);for(let n=t.length,r=0;r{Wd[e]={},Object.defineProperty(Wd[e],"channels",{value:Vd[e].channels}),Object.defineProperty(Wd[e],"labels",{value:Vd[e].labels});const t=$d(e);Object.keys(t).forEach((n=>{const r=t[n];Wd[e][n]=function(e){const t=function(){for(var t=arguments.length,n=new Array(t),r=0;r1&&(n=o);const i=e(n);if("object"==typeof i)for(let e=i.length,t=0;t1&&(n=o),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var qd=Wd;function Ud(){return!1}function Gd(){throw new Error("tty.ReadStream is not implemented")}function zd(){throw new Error("tty.ReadStream is not implemented")}!function(e){const t=(e,t)=>function(){const n=e(...arguments);return"\x1b[".concat(n+t,"m")},n=(e,t)=>function(){const n=e(...arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e(...arguments);return"\x1b[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")},o=e=>e,i=(e,t,n)=>[e,t,n],u=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let s;const a=(e,t,n,r)=>{void 0===s&&(s=qd);const o=r?10:0,i={};for(const[r,u]of Object.entries(s)){const s="ansi16"===r?"ansi":r;r===t?i[s]=e(n,o):"object"==typeof u&&(i[s]=e(u[t],o))}return i};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[t,n]of Object.entries(s)){for(const[t,r]of Object.entries(n))s[t]={open:"\x1b[".concat(r[0],"m"),close:"\x1b[".concat(r[1],"m")},n[t]=s[t],e.set(r[0],r[1]);Object.defineProperty(s,t,{value:n,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="\x1b[39m",s.bgColor.close="\x1b[49m",u(s.color,"ansi",(()=>a(t,"ansi16",o,!1))),u(s.color,"ansi256",(()=>a(n,"ansi256",o,!1))),u(s.color,"ansi16m",(()=>a(r,"rgb",i,!1))),u(s.bgColor,"ansi",(()=>a(t,"ansi16",o,!0))),u(s.bgColor,"ansi256",(()=>a(n,"ansi256",o,!0))),u(s.bgColor,"ansi16m",(()=>a(r,"rgb",i,!0))),s}})}(kd);var Hd={isatty:Ud,ReadStream:Gd,WriteStream:zd};const Jd=af,Xd=t(Object.freeze({__proto__:null,isatty:Ud,ReadStream:Gd,WriteStream:zd,default:Hd})),Yd=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zs.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r=2,has16m:e>=3}}function eh(e,t){if(0===Qd)return 0;if(Yd("color=16m")||Yd("color=full")||Yd("color=truecolor"))return 3;if(Yd("color=256"))return 2;if(e&&!t&&void 0===Qd)return 0;const n=Qd||0;if("dumb"===Kd.TERM)return n;if("win32"===Zs.platform){const e=Jd.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Kd)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in Kd))||"codeship"===Kd.CI_NAME?1:n;if("TEAMCITY_VERSION"in Kd)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Kd.TEAMCITY_VERSION)?1:0;if("truecolor"===Kd.COLORTERM)return 3;if("TERM_PROGRAM"in Kd){const e=parseInt((Kd.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Kd.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Kd.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Kd.TERM)||"COLORTERM"in Kd?1:n}Yd("no-color")||Yd("no-colors")||Yd("color=false")||Yd("color=never")?Qd=0:(Yd("color")||Yd("colors")||Yd("color=true")||Yd("color=always"))&&(Qd=1),"FORCE_COLOR"in Kd&&(Qd="true"===Kd.FORCE_COLOR?1:"false"===Kd.FORCE_COLOR?0:0===Kd.FORCE_COLOR.length?1:Math.min(parseInt(Kd.FORCE_COLOR,10),3));var th={supportsColor:function(e){return Zd(eh(e,e&&e.isTTY))},stdout:Zd(eh(!0,Xd.isatty(1))),stderr:Zd(eh(!0,Xd.isatty(2)))};var nh={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const o=t.length;let i=0,u="";do{u+=e.substr(i,r-i)+t+n,i=r+o,r=e.indexOf(t,i)}while(-1!==r);return u+=e.substr(i),u},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let o=0,i="";do{const u="\r"===e[r-1];i+=e.substr(o,(u?r-1:r)-o)+t+(u?"\r\n":"\n")+n,o=r+1,r=e.indexOf("\n",o)}while(-1!==r);return i+=e.substr(o),i}};const rh=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,oh=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,ih=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,uh=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,sh=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function ah(e){const t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):sh.get(e)||e}function ch(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const t of r){const r=Number(t);if(Number.isNaN(r)){if(!(o=t.match(ih)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(o[2].replace(uh,((e,t,n)=>t?ah(t):n)))}else n.push(r)}return n}function lh(e){oh.lastIndex=0;const t=[];let n;for(;null!==(n=oh.exec(e));){const e=n[1];if(n[2]){const r=ch(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function ph(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const[e,t]of Object.entries(n))if(Array.isArray(t)){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=t.length>0?r[e](...t):r[e]}return r}var fh=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(rh,((t,i,u,s,a,c)=>{if(i)o.push(ah(i));else if(s){const t=o.join("");o=[],r.push(0===n.length?t:ph(e,n)(t)),n.push({inverse:u,styles:lh(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ph(e,n)(o.join(""))),o=[],n.pop()}else o.push(c)})),r.push(o.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};const dh=kd.exports,{stdout:hh,stderr:gh}=th,{stringReplaceAll:mh,stringEncaseCRLFWithFirstIndex:yh}=nh,{isArray:Dh}=Array,Eh=["ansi","ansi","ansi256","ansi16m"],Ch=Object.create(null);class bh{constructor(e){return vh(e)}}const vh=e=>{const t={};return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=hh?hh.level:0;e.level=void 0===t.level?n:t.level}(t,e),t.template=function(){for(var e=arguments.length,n=new Array(e),r=0;r{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=bh,t.template};function Ah(e){return vh(e)}for(const[e,t]of Object.entries(dh))Ch[e]={get(){const n=wh(this,Sh(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};Ch.visible={get(){const e=wh(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const Fh=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of Fh)Ch[e]={get(){const{level:t}=this;return function(){const n=Sh(dh.color[Eh[t]][e](...arguments),dh.color.close,this._styler);return wh(this,n,this._isEmpty)}}};for(const e of Fh){Ch["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(){const n=Sh(dh.bgColor[Eh[t]][e](...arguments),dh.bgColor.close,this._styler);return wh(this,n,this._isEmpty)}}}}const xh=Object.defineProperties((()=>{}),Object.assign(Object.assign({},Ch),{},{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),Sh=(e,t,n)=>{let r,o;return void 0===n?(r=e,o=t):(r=n.openAll+e,o=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:n}},wh=(e,t,n)=>{const r=function(){for(var e=arguments.length,t=new Array(e),n=0;n{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:o}=n;if(-1!==t.indexOf("\x1b"))for(;void 0!==n;)t=mh(t,n.close,n.open),n=n.parent;const i=t.indexOf("\n");return-1!==i&&(t=yh(t,o,r,i)),r+t+o};let Bh;const Nh=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1===e.length?"-".concat(e):"--".concat(e),value:e=>Ih.apiDescriptor.value(e),pair:e=>{let{key:t,value:n}=e;return!1===n?"--no-".concat(t):!0===n?Mh.key(t):""===n?"".concat(Mh.key(t)," without an argument"):"".concat(Mh.key(t),"=").concat(n)}};class Rh extends Ih.ChoiceSchema{constructor(e){let{name:t,flags:n}=e;super({name:t,choices:n}),this._flags=[...n].sort()}preprocess(e,t){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){const n=this._flags.find((t=>Lh(t,e)<3));if(n)return t.logger.warn(["Unknown flag ".concat(jh.yellow(t.descriptor.value(e)),","),"did you mean ".concat(jh.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}expected(){return"a flag"}}let Vh;function $h(e,t){let{logger:n,isCLI:r=!1,passThrough:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=o?Array.isArray(o)?(e,t)=>o.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,n)=>{const r=au(n.schemas,Oh);return Ih.levenUnknownHandler(e,t,Object.assign(Object.assign({},n),{},{schemas:r}))},u=r?Mh:Ih.apiDescriptor,s=Wh(t,{isCLI:r}),a=new Ih.Normalizer(s,{logger:n,unknown:i,descriptor:u}),c=!1!==n;c&&Vh&&(a._hasDeprecationWarned=Vh);const l=a.normalize(e);return c&&(Vh=a._hasDeprecationWarned),l}function Wh(e,t){let{isCLI:n}=t;const r=[];n&&r.push(Ih.AnySchema.create({name:"_"}));for(const t of e)r.push(qh(t,{isCLI:n,optionInfos:e})),t.alias&&n&&r.push(Ih.AliasSchema.create({name:t.alias,sourceName:t.name}));return r}function qh(e,t){let n,{isCLI:r,optionInfos:o}=t;const i={name:e.name},u={};switch(e.type){case"int":n=Ih.IntegerSchema,r&&(i.preprocess=e=>Number(e));break;case"string":case"path":n=Ih.StringSchema;break;case"choice":n=Ih.ChoiceSchema,i.choices=e.choices.map((t=>"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t));break;case"boolean":n=Ih.BooleanSchema;break;case"flag":n=Rh,i.flags=o.flatMap((e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?i.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):i.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(u.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(u.deprecated=!0),r&&!e.array){const e=i.preprocess||(e=>e);i.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?_h(t):t),r)}return e.array?Ih.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),u),{},{valueSchema:n.create(i)})):n.create(Object.assign(Object.assign({},i),u))}var Uh={normalizeApiOptions:function(e,t,n){return $h(e,t,n)},normalizeCliOptions:function(e,t,n){return $h(e,t,Object.assign({isCLI:!0},n))}};const{isNonEmptyArray:Gh}=ic;function zh(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(Gh(t))return zh(t[0])}return e.range?e.range[0]:e.start}function Hh(e){return e.range?e.range[1]:e.end}function Jh(e,t){return zh(e)===zh(t)}var Xh={locStart:zh,locEnd:Hh,hasSameLocStart:Jh,hasSameLoc:function(e,t){return Jh(e,t)&&function(e,t){return Hh(e)===Hh(t)}(e,t)}},Yh={},Kh={},Qh={};Object.defineProperty(Qh,"__esModule",{value:!0}),Qh.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,Qh.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t};var Zh={},eg={};Object.defineProperty(eg,"__esModule",{value:!0}),eg.isIdentifierStart=ag,eg.isIdentifierChar=cg,eg.isIdentifierName=function(e){let t=!0;for(let n=0;ne)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function ag(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&rg.test(String.fromCharCode(e)):sg(e,ig)))}function cg(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&og.test(String.fromCharCode(e)):sg(e,ig)||sg(e,ug))))}var lg={};Object.defineProperty(lg,"__esModule",{value:!0}),lg.isReservedWord=mg,lg.isStrictReservedWord=yg,lg.isStrictBindOnlyReservedWord=Dg,lg.isStrictBindReservedWord=function(e,t){return yg(e,t)||Dg(e)},lg.isKeyword=function(e){return dg.has(e)};const pg=["implements","interface","let","package","private","protected","public","static","yield"],fg=["eval","arguments"],dg=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"]),hg=new Set(pg),gg=new Set(fg);function mg(e,t){return t&&"await"===e||"enum"===e}function yg(e,t){return mg(e,t)||hg.has(e)}function Dg(e){return gg.has(e)}!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isIdentifierName",{enumerable:!0,get:function(){return t.isIdentifierName}}),Object.defineProperty(e,"isIdentifierChar",{enumerable:!0,get:function(){return t.isIdentifierChar}}),Object.defineProperty(e,"isIdentifierStart",{enumerable:!0,get:function(){return t.isIdentifierStart}}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:function(){return n.isReservedWord}}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return n.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:function(){return n.isStrictBindReservedWord}}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:function(){return n.isStrictReservedWord}}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:function(){return n.isKeyword}});var t=eg,n=lg}(Zh);var Eg={exports:{}},Cg=/[|\\{}()[\]^$+*?.]/g,bg=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Cg,"\\$&")};const vg=af,Ag=(e,t)=>{t=t||Zs.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Fg)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in Fg))||"codeship"===Fg.CI_NAME?1:t;if("TEAMCITY_VERSION"in Fg)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Fg.TEAMCITY_VERSION)?1:0;if("truecolor"===Fg.COLORTERM)return 3;if("TERM_PROGRAM"in Fg){const e=parseInt((Fg.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Fg.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Fg.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Fg.TERM)||"COLORTERM"in Fg?1:(Fg.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}Ag("no-color")||Ag("no-colors")||Ag("color=false")?xg=!1:(Ag("color")||Ag("colors")||Ag("color=true")||Ag("color=always"))&&(xg=!0),"FORCE_COLOR"in Fg&&(xg=0===Fg.FORCE_COLOR.length||0!==parseInt(Fg.FORCE_COLOR,10));var wg={supportsColor:Sg,stdout:Sg(Zs.stdout),stderr:Sg(Zs.stderr)};const Tg=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Bg=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ng=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,kg=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Pg=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Og(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Pg.get(e)||e}function Ig(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let o;for(const t of r)if(isNaN(t)){if(!(o=t.match(Ng)))throw new Error("Invalid Chalk template style argument: ".concat(t," (in style '").concat(e,"')"));n.push(o[2].replace(kg,((e,t,n)=>t?Og(t):n)))}else n.push(Number(t));return n}function Lg(e){Bg.lastIndex=0;const t=[];let n;for(;null!==(n=Bg.exec(e));){const e=n[1];if(n[2]){const r=Ig(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function jg(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}var _g=(e,t)=>{const n=[],r=[];let o=[];if(t.replace(Tg,((t,i,u,s,a,c)=>{if(i)o.push(Og(i));else if(s){const t=o.join("");o=[],r.push(0===n.length?t:jg(e,n)(t)),n.push({inverse:u,styles:Lg(s)})}else if(a){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(jg(e,n)(o.join(""))),o=[],n.pop()}else o.push(c)})),r.push(o.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};!function(e){const t=bg,n=wp.exports,r=wg.stdout,o=_g,i="win32"===Zs.platform&&!(Zs.env.TERM||"").toLowerCase().startsWith("xterm"),u=["ansi","ansi","ansi256","ansi16m"],s=new Set(["gray"]),a=Object.create(null);function c(e,t){t=t||{};const n=r?r.level:0;e.level=void 0===t.level?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function l(e){if(!this||!(this instanceof l)||this.template){const t={};return c(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,l.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=l,t.template}c(this,e)}i&&(n.blue.open="\x1b[94m");for(const e of Object.keys(n))n[e].closeRe=new RegExp(t(n[e].close),"g"),a[e]={get(){const t=n[e];return f.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};a.visible={get(){return f.call(this,this._styles||[],!0,"visible")}},n.color.closeRe=new RegExp(t(n.color.close),"g");for(const e of Object.keys(n.color.ansi))s.has(e)||(a[e]={get(){const t=this.level;return function(){const r=n.color[u[t]][e].apply(null,arguments),o={open:r,close:n.color.close,closeRe:n.color.closeRe};return f.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}});n.bgColor.closeRe=new RegExp(t(n.bgColor.close),"g");for(const e of Object.keys(n.bgColor.ansi)){if(s.has(e))continue;a["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const r=n.bgColor[u[t]][e].apply(null,arguments),o={open:r,close:n.bgColor.close,closeRe:n.bgColor.closeRe};return f.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}}}const p=Object.defineProperties((()=>{}),a);function f(e,t,n){const r=function(){return d.apply(r,arguments)};r._styles=e,r._empty=t;const o=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>o.level,set(e){o.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>o.enabled,set(e){o.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=p,r}function d(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n1&&void 0!==arguments[1]?arguments[1]:{};if(Hg(t)){const n=Jg(t);return zg(Wg(n),e)}return e},Kh.getChalk=Jg,Kh.shouldHighlight=Hg;var Mg=Qh,Rg=Zh,Vg=Eg.exports;const $g=new Set(["as","async","from","get","of","set"]);function Wg(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}const qg=/\r\n|[\n\r\u2028\u2029]/,Ug=/^[()[\]{}]$/;let Gg;{const e=/^[a-z][\w-]*$/i,t=function(t,n,r){if("name"===t.type){if((0,Rg.isKeyword)(t.value)||(0,Rg.isStrictReservedWord)(t.value,!0)||$g.has(t.value))return"keyword";if(e.test(t.value)&&("<"===r[n-1]||"t(e))).join("\n"):o}return n}function Hg(e){return!!Vg.supportsColor||e.forceColor}function Jg(e){return e.forceColor?new Vg.constructor({enabled:!0,level:1}):Vg}Object.defineProperty(Yh,"__esModule",{value:!0}),Yh.codeFrameColumns=em,Yh.default=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!Yg){Yg=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Zs.emitWarning)Zs.emitWarning(e,"DeprecationWarning");else{new Error(e).name="DeprecationWarning",console.warn(new Error(e))}}const o={start:{column:n=Math.max(n,0),line:t}};return em(e,o,r)};var Xg=Kh;let Yg=!1;function Kg(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}const Qg=/\r\n|[\n\r\u2028\u2029]/;function Zg(e,t,n){const r=Object.assign({column:0,line:-1},e.start),o=Object.assign({},r,e.end),{linesAbove:i=2,linesBelow:u=3}=n||{},s=r.line,a=r.column,c=o.line,l=o.column;let p=Math.max(s-(i+1),0),f=Math.min(t.length,c+u);-1===s&&(p=0),-1===c&&(f=t.length);const d=c-s,h={};if(d)for(let e=0;e<=d;e++){const n=e+s;if(a)if(0===e){const e=t[n-1].length;h[n]=[a,e-a+1]}else if(e===d)h[n]=[0,l];else{const r=t[n-e].length;h[n]=[0,r]}else h[n]=!0}else h[s]=a===l?!a||[a,0]:[a,l-a];return{start:p,end:f,markerLines:h}}function em(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(n.highlightCode||n.forceColor)&&(0,Xg.shouldHighlight)(n),o=(0,Xg.getChalk)(n),i=Kg(o),u=(e,t)=>r?e(t):t,s=e.split(Qg),{start:a,end:c,markerLines:l}=Zg(t,s,n),p=t.start&&"number"==typeof t.start.column,f=String(c).length,d=r?(0,Xg.default)(e,n):e;let h=d.split(Qg,c).slice(a,c).map(((e,t)=>{const r=a+1+t,o=" ".concat(r).slice(-f),s=" ".concat(o," |"),c=l[r],p=!l[r+1];if(c){let t="";if(Array.isArray(c)){const r=e.slice(0,Math.max(c[0]-1,0)).replace(/[^\t]/g," "),o=c[1]||1;t=["\n ",u(i.gutter,s.replace(/\d/g," "))," ",r,u(i.marker,"^").repeat(o)].join(""),p&&n.message&&(t+=" "+u(i.message,n.message))}return[u(i.marker,">"),u(i.gutter,s),e.length>0?" ".concat(e):"",t].join("")}return" ".concat(u(i.gutter,s)).concat(e.length>0?" ".concat(e):"")})).join("\n");return n.message&&!p&&(h="".concat(" ".repeat(f+1)).concat(n.message,"\n").concat(h)),r?o.reset(h):h}const{ConfigError:tm}=pp,nm=Xh,{locStart:rm,locEnd:om}=nm,im=Object.getOwnPropertyNames,um=Object.getOwnPropertyDescriptor;function sm(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of im(n.parsers))Object.defineProperty(t,e,um(n.parsers,e));return t}function am(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sm(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:rm,locEnd:om};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new tm("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var cm={parse:function(e,t){const n=sm(t),r=Object.defineProperties({},Object.fromEntries(Object.keys(n).map((e=>[e,{enumerable:!0,get:()=>n[e].parse}])))),o=am(t,n);try{return o.preprocess&&(e=o.preprocess(e,t)),{text:e,ast:o.parse(e,r,t)}}catch(t){const{loc:n}=t;if(n){const{codeFrameColumns:r}=Yh;throw t.codeFrame=r(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:am};const lm=zc,pm=sl,fm=up,{UndefinedParserError:dm}=pp,{getSupportInfo:hm}=_a,gm=Uh,{resolveParser:mm}=cm,ym={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Dm(e){const{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");const n=e.plugins.find((e=>e.printers&&e.printers[t]));if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}function Em(e,t){const n=pm.basename(e).toLowerCase(),r=hm({plugins:t}).languages.filter((e=>null!==e.since));let o=r.find((e=>e.extensions&&e.extensions.some((e=>n.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===n))));if(!o&&!n.includes(".")){const t=function(e){if("string"!=typeof e)return"";let t;try{t=lm.openSync(e,"r")}catch{return""}try{const e=new fm(t).next().toString("utf8"),n=e.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(n)return n[1];const r=e.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return r?r[1]:""}catch{return""}finally{try{lm.closeSync(t)}catch{}}}(e);o=r.find((e=>e.interpreters&&e.interpreters.includes(t)))}return o&&o.parsers[0]}var Cm={normalize:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Object.assign({},e),r=hm({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,o=Object.assign(Object.assign({},ym),Object.fromEntries(r.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!n.parser)if(n.filepath){if(n.parser=Em(n.filepath,n.plugins),!n.parser)throw new dm("No parser could be inferred for file: ".concat(n.filepath))}else{(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel"}const i=mm(gm.normalizeApiOptions(n,[r.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;const u=Dm(n);n.printer=u.printers[n.astFormat];const s=Object.fromEntries(r.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[u.name])).map((e=>[e.name,e.pluginDefaults[u.name]]))),a=Object.assign(Object.assign({},o),s);for(const[e,t]of Object.entries(a))null!==n[e]&&void 0!==n[e]||(n[e]=t);return"json"===n.parser&&(n.trailingComma="none"),gm.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(ym)},t))},hiddenDefaults:ym,inferParser:Em};var bm=function e(t,n,r){if(Array.isArray(t))return t.map((t=>e(t,n,r))).filter(Boolean);if(!t||"object"!=typeof t)return t;const o=n.printer.massageAstNode;let i;i=o&&o.ignoredProperties?o.ignoredProperties:new Set;const u={};for(const[r,o]of Object.entries(t))i.has(r)||"function"==typeof o||(u[r]=e(o,n,t));if(o){const e=o(t,u,r);if(null===e)return;if(e)return e}return u},vm="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e};function Am(e,t){var n={seen:[],stylize:xm};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Bm(t)?n.showHidden=t:t&&Vm(n,t),Pm(n.showHidden)&&(n.showHidden=!1),Pm(n.depth)&&(n.depth=2),Pm(n.colors)&&(n.colors=!1),Pm(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Fm),Sm(n,e,n.depth)}function Fm(e,t){var n=Am.styles[t];return n?"\x1b["+Am.colors[n][0]+"m"+e+"\x1b["+Am.colors[n][1]+"m":e}function xm(e,t){return e}function Sm(e,t,n){if(e.customInspect&&t&&_m(t.inspect)&&t.inspect!==Am&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return km(r)||(r=Sm(e,r,n)),r}var o=function(e,t){if(Pm(t))return e.stylize("undefined","undefined");if(km(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(r=t,"number"==typeof r)return e.stylize(""+t,"number");var r;if(Bm(t))return e.stylize(""+t,"boolean");if(Nm(t))return e.stylize("null","null")}(e,t);if(o)return o;var i=Object.keys(t),u=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),jm(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return wm(t);if(0===i.length){if(_m(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(Om(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Lm(t))return e.stylize(Date.prototype.toString.call(t),"date");if(jm(t))return wm(t)}var a,c,l="",p=!1,f=["{","}"];(a=t,Array.isArray(a)&&(p=!0,f=["[","]"]),_m(t))&&(l=" [Function"+(t.name?": "+t.name:"")+"]");return Om(t)&&(l=" "+RegExp.prototype.toString.call(t)),Lm(t)&&(l=" "+Date.prototype.toUTCString.call(t)),jm(t)&&(l=" "+wm(t)),0!==i.length||p&&0!=t.length?n<0?Om(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=p?function(e,t,n,r,o){for(var i=[],u=0,s=t.length;u60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,l,f)):f[0]+l+f[1]}function wm(e){return"["+Error.prototype.toString.call(e)+"]"}function Tm(e,t,n,r,o,i){var u,s,a;if((a=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=a.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):a.set&&(s=e.stylize("[Setter]","special")),$m(r,o)||(u="["+o+"]"),s||(e.seen.indexOf(a.value)<0?(s=Nm(n)?Sm(e,a.value,null):Sm(e,a.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),Pm(u)){if(i&&o.match(/^\d+$/))return s;(u=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+s}function Bm(e){return"boolean"==typeof e}function Nm(e){return null===e}function km(e){return"string"==typeof e}function Pm(e){return void 0===e}function Om(e){return Im(e)&&"[object RegExp]"===Rm(e)}function Im(e){return"object"==typeof e&&null!==e}function Lm(e){return Im(e)&&"[object Date]"===Rm(e)}function jm(e){return Im(e)&&("[object Error]"===Rm(e)||e instanceof Error)}function _m(e){return"function"==typeof e}function Mm(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Rm(e){return Object.prototype.toString.call(e)}function Vm(e,t){if(!t||!Im(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function $m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Wm(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o=0){var u=r.indexOf("\n",i+1);r=r.substring(u+1)}this.stack=r}}}function ey(e,t){return"string"==typeof e?e.length=0;s--)if(a[s]!==c[s])return!1;for(s=a.length-1;s>=0;s--)if(!ay(e[u=a[s]],t[u],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function cy(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function ly(e,t,n){ay(e,t,!1)&&ny(e,t,n,"notDeepEqual",ly)}function py(e,t,n){ay(e,t,!0)&&ny(e,t,n,"notDeepStrictEqual",py)}function fy(e,t,n){e!==t&&ny(e,t,n,"===",fy)}function dy(e,t,n){e===t&&ny(e,t,n,"!==",dy)}function hy(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function gy(e,t,n,r){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!o&&ny(o,n,"Missing expected exception"+r);var i="string"==typeof r,u=!e&&o&&!n;if((!e&&jm(o)&&i&&hy(o,n)||u)&&ny(o,n,"Got unwanted exception"+r),e&&o&&n&&!hy(o,n)||!e&&o)throw o}function my(e,t,n){gy(!0,e,t,n)}function yy(e,t,n){gy(!1,e,t,n)}function Dy(e){if(e)throw e}Ym.AssertionError=Zm,vm(Zm,Error),Ym.fail=ny,Ym.ok=ry,Ym.equal=oy,Ym.notEqual=iy,Ym.deepEqual=uy,Ym.deepStrictEqual=sy,Ym.notDeepEqual=ly,Ym.notDeepStrictEqual=py,Ym.strictEqual=fy,Ym.notStrictEqual=dy,Ym.throws=my,Ym.doesNotThrow=yy,Ym.ifError=Dy;var Ey=t(Object.freeze({__proto__:null,default:Ym,AssertionError:Zm,fail:ny,ok:ry,assert:ry,equal:oy,notEqual:iy,deepEqual:uy,deepStrictEqual:sy,notDeepEqual:ly,notDeepStrictEqual:py,strictEqual:fy,notStrictEqual:dy,throws:my,doesNotThrow:yy,ifError:Dy}));const Cy=Ey,{builders:{line:by,hardline:vy,breakParent:Ay,indent:Fy,lineSuffix:xy,join:Sy,cursor:wy}}=Gc,{hasNewline:Ty,skipNewline:By,skipSpaces:Ny,isPreviousLineEmpty:ky,addLeadingComment:Py,addDanglingComment:Oy,addTrailingComment:Iy}=ic,Ly=new WeakMap;function jy(e,t,n){if(!e)return;const{printer:r,locStart:o,locEnd:i}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(o(n[t])<=o(e)&&i(n[t])<=i(e));--t);return void n.splice(t+1,0,e)}}else if(Ly.has(e))return Ly.get(e);const u=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter((e=>{let[t]=e;return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t})).map((e=>{let[,t]=e;return t}));if(u){n||(n=[],Ly.set(e,n));for(const e of u)jy(e,t,n);return n}}function _y(e,t,n,r){const{locStart:o,locEnd:i}=n,u=o(t),s=i(t),a=jy(e,n);let c,l,p=0,f=a.length;for(;p>1,r=a[e],d=o(r),h=i(r);if(d<=u&&s<=h)return _y(r,t,n,r);if(h<=u)c=r,p=e+1;else{if(!(s<=d))throw new Error("Comment location overlaps with node location");l=r,f=e}}if(r&&"TemplateLiteral"===r.type){const{quasis:e}=r,o=Uy(e,t,n);c&&Uy(e,c,n)!==o&&(c=null),l&&Uy(e,l,n)!==o&&(l=null)}return{enclosingNode:r,precedingNode:c,followingNode:l}}const My=()=>!1;const Ry=e=>!/[\S\n\u2028\u2029]/.test(e);function Vy(e,t,n,r){const{comment:o,precedingNode:i}=n[r],{locStart:u,locEnd:s}=t;let a=u(o);if(i)for(let t=r-1;t>=0;t--){const{comment:r,precedingNode:o}=n[t];if(o!==i||!Ry(e.slice(s(r),a)))break;a=u(r)}return Ty(e,a,{backwards:!0})}function $y(e,t,n,r){const{comment:o,followingNode:i}=n[r],{locStart:u,locEnd:s}=t;let a=s(o);if(i)for(let t=r+1;t0;--a){const{comment:r,precedingNode:u,followingNode:l}=e[a-1];Cy.strictEqual(u,o),Cy.strictEqual(l,i);const p=t.slice(n.locEnd(r),c);if(!s.test(p))break;c=n.locStart(r)}for(const[t,{comment:n}]of e.entries())t1&&e.comments.sort(((e,t)=>n.locStart(e)-n.locStart(t)));e.length=0}function qy(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function Uy(e,t,n){const r=n.locStart(t)-1;for(let t=1;t!n.has(e))));const i=r===t.cursorNode;if(0===o.length){const e=i?wy:"";return{leading:e,trailing:e}}const u=[],s=[];return e.each((()=>{const r=e.getValue();if(n&&n.has(r))return;const{leading:o,trailing:i}=r;o?u.push(function(e,t){const n=e.getValue(),r=[qy(e,t)],{printer:o,originalText:i,locStart:u,locEnd:s}=t;if(o.isBlockComment&&o.isBlockComment(n)){const e=Ty(i,s(n))?Ty(i,u(n),{backwards:!0})?vy:by:" ";r.push(e)}else r.push(vy);const a=By(i,Ny(i,s(n)));return!1!==a&&Ty(i,a)&&r.push(vy),r}(e,t)):i&&s.push(function(e,t){const n=e.getValue(),r=qy(e,t),{printer:o,originalText:i,locStart:u}=t,s=o.isBlockComment&&o.isBlockComment(n);if(Ty(i,u(n),{backwards:!0})){const e=ky(i,n,u);return xy([vy,e?vy:"",r])}let a=[" ",r];return s||(a=[xy(a),Ay]),a}(e,t))}),"comments"),i&&(u.unshift(wy),s.push(wy)),{leading:u,trailing:s}}var zy={attach:function(e,t,n,r){if(!Array.isArray(e))return;const o=[],{locStart:i,locEnd:u,printer:{handleComments:s={}}}=r,{avoidAstMutation:a,ownLine:c=My,endOfLine:l=My,remaining:p=My}=s,f=e.map(((o,i)=>Object.assign(Object.assign({},_y(t,o,r)),{},{comment:o,text:n,options:r,ast:t,isLastComment:e.length-1===i})));for(const[e,t]of f.entries()){const{comment:n,precedingNode:r,enclosingNode:s,followingNode:d,text:h,options:g,ast:m,isLastComment:y}=t;if("json"===g.parser||"json5"===g.parser||"__js_expression"===g.parser||"__vue_expression"===g.parser){if(i(n)-i(m)<=0){Py(m,n);continue}if(u(n)-u(m)>=0){Iy(m,n);continue}}let D;if(a?D=[t]:(n.enclosingNode=s,n.precedingNode=r,n.followingNode=d,D=[n,h,g,m,y]),Vy(h,g,f,e))n.placement="ownLine",c(...D)||(d?Py(d,n):r?Iy(r,n):Oy(s||m,n));else if($y(h,g,f,e))n.placement="endOfLine",l(...D)||(r?Iy(r,n):d?Py(d,n):Oy(s||m,n));else if(n.placement="remaining",p(...D));else if(r&&d){const e=o.length;if(e>0){o[e-1].followingNode!==d&&Wy(o,h,g)}o.push(t)}else r?Iy(r,n):d?Py(d,n):Oy(s||m,n)}if(Wy(o,n,r),!a)for(const t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode},printComments:function(e,t,n,r){const{leading:o,trailing:i}=Gy(e,n,r);return o||i?[o,t,i]:t},printCommentsSeparately:Gy,printDanglingComments:function(e,t,n,r){const o=[],i=e.getValue();return i&&i.comments?(e.each((()=>{const n=e.getValue();n.leading||n.trailing||r&&!r(n)||o.push(qy(e,t))}),"comments"),0===o.length?"":n?Sy(vy,o):Fy([vy,Sy(vy,o)])):""},getSortedChildNodes:jy,ensureAllCommentsPrinted:function(e){if(e)for(const t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}};const Hy=su;function Jy(e,t){const n=Xy(e.stack,t);return-1===n?null:e.stack[n]}function Xy(e,t){for(let n=e.length-1;n>=0;n-=2){const r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var Yy=class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return Hy(this.stack)}getNode(){return Jy(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}getParentNode(){return Jy(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}call(e){const{stack:t}=this,{length:n}=t;let r=Hy(t);for(var o=arguments.length,i=new Array(o>1?o-1:0),u=1;u1&&void 0!==arguments[1]?arguments[1]:0;const n=Xy(this.stack,t+1),r=this.stack.splice(n+1),o=e(this);return this.stack.push(...r),o}each(e){const{stack:t}=this,{length:n}=t;let r=Hy(t);for(var o=arguments.length,i=new Array(o>1?o-1:0),u=1;u1?n-1:0),o=1;o{t[r]=e(n,r,o)}),...r),t}try(e){const{stack:t}=this,n=[...t];try{return e()}finally{t.length=0,t.push(...n)}}match(){let e=this.stack.length-1,t=null,n=this.stack[e--];for(var r=arguments.length,o=new Array(r),i=0;ifunction(e,t,n,r){let{stripTrailingHardline:o=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const i=Qy(Object.assign(Object.assign(Object.assign({},n),t),{},{parentParser:n.parser,originalText:e}),{passThrough:!0}),u=cm.parse(e,i),{ast:s}=u;e=u.text;const a=s.comments;delete s.comments,Zy.attach(a,s,e,i),i[Symbol.for("comments")]=a||[],i[Symbol.for("tokens")]=s.tokens||[];const c=r(s,i);if(Zy.ensureAllCommentsPrinted(a),o)return"string"==typeof c?c.replace(/(?:\r?\n)*$/,""):Ky(c);return c}(e,t,n,r,o)),n)}};const tD=Yy,{builders:{hardline:nD,addAlignmentToDoc:rD},utils:{propagateBreaks:oD}}=Gc,{printComments:iD}=zy,uD=eD;function sD(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const{printer:r}=t;r.preprocess&&(e=r.preprocess(e,t));const o=new Map,i=new tD(e);let u=s();return n>0&&(u=rD([nD,u],n,t.tabWidth)),oD(u),u;function s(e,t){return void 0===e||e===i?a(t):Array.isArray(e)?i.call((()=>a(t)),...e):i.call((()=>a(t)),e)}function a(e){const n=i.getValue(),r=n&&"object"==typeof n&&void 0===e;if(r&&o.has(n))return o.get(n);const u=aD(i,t,s,e);return r&&o.set(n,u),u}}function aD(t,n,r,o){const i=t.getValue(),{printer:u}=n;let s,a;if(u.hasPrettierIgnore&&u.hasPrettierIgnore(t))({doc:s,printedComments:a}=function(e,t){const{originalText:n,[Symbol.for("comments")]:r,locStart:o,locEnd:i}=t,u=o(e),s=i(e),a=new Set;for(const e of r)o(e)>=u&&i(e)<=s&&(e.printed=!0,a.add(e));return{doc:n.slice(u,s),printedComments:a}}(i,n));else{if(i)try{s=uD.printSubtree(t,r,n,sD)}catch(t){if(e.PRETTIER_DEBUG)throw t}s||(s=u.print(t,n,r,o))}return u.willPrintOwnComments&&u.willPrintOwnComments(t,n)||(s=iD(t,s,n,a)),s}var cD=sD;const lD=Ey,pD=zy;function fD(e){let t=e.length-1;for(;;){const n=e[t];if(!n||"Program"!==n.type&&"File"!==n.type)break;t--}return e.slice(0,t+1)}function dD(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5?arguments[5]:void 0;const{locStart:u,locEnd:s}=n,a=u(e),c=s(e);if(!(t>c||tr);const s=e.slice(r,o).search(/\S/),a=-1===s;if(!a)for(r+=s;o>r&&!/\S/.test(e[o-1]);--o);const c=dD(n,r,t,((e,n)=>mD(t,e,n)),[],"rangeStart"),l=a?c:dD(n,o,t,(e=>mD(t,e)),[],"rangeEnd");if(!c||!l)return{rangeStart:0,rangeEnd:0};let p,f;if((e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t})(t)){const e=function(e,t){const n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find((e=>hD.has(e.type)&&r.has(e)))}(c,l);p=e,f=e}else({startNode:p,endNode:f}=function(e,t,n){let{locStart:r,locEnd:o}=n,i=e.node,u=t.node;if(i===u)return{startNode:i,endNode:u};const s=r(e.node);for(const e of fD(t.parentNodes)){if(!(r(e)>=s))break;u=e}const a=o(t.node);for(const t of fD(e.parentNodes)){if(!(o(t)<=a))break;i=t}return{startNode:i,endNode:u}}(c,l,t));return{rangeStart:Math.min(i(p),i(f)),rangeEnd:Math.max(u(p),u(f))}},findNodeAtOffset:dD};const DD=r,{printer:{printDocToString:ED},debug:{printDocToDebug:CD}}=Gc,{getAlignmentSize:bD}=ic,{guessEndOfLine:vD,convertEndOfLineToChars:AD,countEndOfLineChars:FD,normalizeEndOfLine:xD}=uc,SD=Cm.normalize,wD=bm,TD=zy,BD=cm,ND=cD,kD=yD,PD=Symbol("cursor");function OD(e,t,n){const r=t.comments;return r&&(delete t.comments,TD.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function ID(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};const{ast:r,text:o}=BD.parse(e,t);if(t.cursorOffset>=0){const e=kD.findNodeAtOffset(r,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}const i=OD(o,r,t),u=ND(r,t,n),s=ED(u,t);if(TD.ensureAllCommentsPrinted(i),n>0){const e=s.formatted.trim();void 0!==s.cursorNodeStart&&(s.cursorNodeStart-=s.formatted.indexOf(e)),s.formatted=e+AD(t.endOfLine)}if(t.cursorOffset>=0){let e,n,r,u,a;if(t.cursorNode&&s.cursorNodeText?(e=t.locStart(t.cursorNode),n=o.slice(e,t.locEnd(t.cursorNode)),r=t.cursorOffset-e,u=s.cursorNodeStart,a=s.cursorNodeText):(e=0,n=o,r=t.cursorOffset,u=0,a=s.formatted),n===a)return{formatted:s.formatted,cursorOffset:u+r,comments:i};const c=[...n];c.splice(r,0,PD);const l=[...a],p=DD.diffArrays(c,l);let f=u;for(const e of p)if(e.removed){if(e.value.includes(PD))break}else f+=e.count;return{formatted:s.formatted,cursorOffset:f,comments:i}}return{formatted:s.formatted,cursorOffset:-1,comments:i}}function LD(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function jD(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:o}=t;return n=LD(e,n,-1),r=LD(e,r,0),o=LD(e,o,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:o})}function _D(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:i}=jD(e,t);const u="\ufeff"===e.charAt(0);if(u&&(e=e.slice(1),n--,r--,o--),"auto"===i&&(i=vD(e)),e.includes("\r")){const t=t=>FD(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),o-=t(o),e=xD(e)}return{hasBOM:u,text:e,options:jD(e,Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:o,endOfLine:i}))}}function MD(e,t){const n=BD.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function RD(e,t){let n,{hasBOM:r,text:o,options:i}=_D(e,SD(t));return i.rangeStart>=i.rangeEnd&&""!==o||i.requirePragma&&!MD(o,i)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(i.rangeStart>0||i.rangeEndo&&t.cursorOffset<=i?t.cursorOffset-o:-1,endOfLine:"lf"}),c),p=l.formatted.trimEnd();let{cursorOffset:f}=t;f>i?f+=p.length-u.length:l.cursorOffset>=0&&(f=l.cursorOffset+o);let d=r.slice(0,o)+p+r.slice(i);if("lf"!==t.endOfLine){const e=AD(t.endOfLine);f>=0&&"\r\n"===e&&(f+=FD(d.slice(0,f),"\n")),d=d.replace(/\n/g,e)}return{formatted:d,cursorOffset:f,comments:l.comments}}(o,i):(!i.requirePragma&&i.insertPragma&&i.printer.insertPragma&&!MD(o,i)&&(o=i.printer.insertPragma(o)),n=ID(o,i)),r&&(n.formatted="\ufeff"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}var VD={formatWithCursor:RD,parse(e,t,n){const{text:r,options:o}=_D(e,SD(t)),i=BD.parse(r,o);return n&&(i.ast=wD(i.ast,o)),i},formatAST(e,t){t=SD(t);const n=ND(e,t);return ED(n,t)},formatDoc:(e,t)=>RD(CD(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=SD(t);const{ast:n,text:r}=BD.parse(e,t);return OD(r,n,t),ND(n,t)},printDocToString:(e,t)=>ED(e,SD(t))};const{getMaxContinuousCount:$D,getStringWidth:WD,getAlignmentSize:qD,getIndentSize:UD,skip:GD,skipWhitespace:zD,skipSpaces:HD,skipNewline:JD,skipToLineEnd:XD,skipEverythingButNewLine:YD,skipInlineComment:KD,skipTrailingComment:QD,hasNewline:ZD,hasNewlineInRange:eE,hasSpaces:tE,isNextLineEmpty:nE,isNextLineEmptyAfterIndex:rE,isPreviousLineEmpty:oE,getNextNonSpaceNonCommentCharacterIndex:iE,makeString:uE,addLeadingComment:sE,addDanglingComment:aE,addTrailingComment:cE}=ic;var lE={getMaxContinuousCount:$D,getStringWidth:WD,getAlignmentSize:qD,getIndentSize:UD,skip:GD,skipWhitespace:zD,skipSpaces:HD,skipNewline:JD,skipToLineEnd:XD,skipEverythingButNewLine:YD,skipInlineComment:KD,skipTrailingComment:QD,hasNewline:ZD,hasNewlineInRange:eE,hasSpaces:tE,isNextLineEmpty:nE,isNextLineEmptyAfterIndex:rE,isPreviousLineEmpty:oE,getNextNonSpaceNonCommentCharacterIndex:iE,makeString:uE,addLeadingComment:sE,addDanglingComment:aE,addTrailingComment:cE};const pE=["languageId"];var fE=function(e,t){const{languageId:n}=e,r=au(e,pE);return Object.assign(Object.assign({linguistLanguageId:n},r),t(e))},dE={},hE={exports:{}};!function(){function e(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function t(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}hE.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:e,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(t){return e(t)||null!=t&&"FunctionDeclaration"===t.type},isProblematicIfStatement:function(e){var n;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;n=e.consequent;do{if("IfStatement"===n.type&&null==n.alternate)return!0;n=t(n)}while(n);return!1},trailingStatement:t}}();var gE={exports:{}};!function(){var e,t,n,r,o,i;function u(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],r=new Array(128),i=0;i<128;++i)r[i]=i>=97&&i<=122||i>=65&&i<=90||36===i||95===i;for(o=new Array(128),i=0;i<128;++i)o[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||36===i||95===i;gE.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&n.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?r[e]:t.NonAsciiIdentifierStart.test(u(e))},isIdentifierPartES5:function(e){return e<128?o[e]:t.NonAsciiIdentifierPart.test(u(e))},isIdentifierStartES6:function(t){return t<128?r[t]:e.NonAsciiIdentifierStart.test(u(t))},isIdentifierPartES6:function(t){return t<128?o[t]:e.NonAsciiIdentifierPart.test(u(t))}}}();var mE={exports:{}};!function(){var e=gE.exports;function t(e,t){return!(!t&&"yield"===e)&&n(e,t)}function n(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function r(e,n){return"null"===e||"true"===e||"false"===e||t(e,n)}function o(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function i(t){var n,r,o;if(0===t.length)return!1;if(o=t.charCodeAt(0),!e.isIdentifierStartES5(o))return!1;for(n=1,r=t.length;n=r)return!1;if(!(56320<=(i=t.charCodeAt(n))&&i<=57343))return!1;o=1024*(o-55296)+(i-56320)+65536}if(!u(o))return!1;u=e.isIdentifierPartES6}return!0}mE.exports={isKeywordES5:t,isKeywordES6:n,isReservedWordES5:r,isReservedWordES6:o,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:i,isIdentifierNameES6:u,isIdentifierES5:function(e,t){return i(e)&&!r(e,t)},isIdentifierES6:function(e,t){return u(e)&&!o(e,t)}}}(),dE.ast=hE.exports,dE.code=gE.exports,dE.keyword=mE.exports;const yE=dE.keyword.isIdentifierNameES5,{getLast:DE,hasNewline:EE,skipWhitespace:CE,isNonEmptyArray:bE,isNextLineEmptyAfterIndex:vE,getStringWidth:AE}=ic,{locStart:FE,locEnd:xE,hasSameLocStart:SE}=Xh,wE=new RegExp("^".concat("(?:(?=.)\\s)","*:")),TE=new RegExp("^".concat("(?:(?=.)\\s)","*::"));function BE(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}function NE(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type}const kE=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function PE(e){return e&&kE.has(e.type)}function OE(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function IE(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function LE(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function jE(e){return qE(e)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function _E(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function ME(e){return"get"===e.kind||"set"===e.kind}function RE(e){return ME(e)||SE(e,e.value)}const VE=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]);const $E=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"]);const WE=/^(?:skip|[fx]?(?:it|describe|test))$/;function qE(e){return e&&("CallExpression"===e.type||"OptionalCallExpression"===e.type)}function UE(e){return e&&("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)}function GE(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function zE(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function HE(e){return e.extra?e.extra.raw:e.raw}const JE={"==":!0,"!=":!0,"===":!0,"!==":!0},XE={"*":!0,"/":!0,"%":!0},YE={">>":!0,">>>":!0,"<<":!0};const KE={};for(const[e,t]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(const n of t)KE[n]=e;function QE(e){return KE[e]}const ZE=new WeakMap;function eC(e){if(ZE.has(e))return ZE.get(e);const t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),ZE.set(e,t),t}const tC=new WeakMap;function nC(e){if(tC.has(e))return tC.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),tC.set(e,t),t}function rC(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function oC(e){return e&&(e.prettierIgnore||sC(e,iC.PrettierIgnore))}const iC={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},uC=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(n,r,o)=>!(e&iC.Leading&&!n.leading||e&iC.Trailing&&!n.trailing||e&iC.Dangling&&(n.leading||n.trailing)||e&iC.Block&&!BE(n)||e&iC.Line&&!NE(n)||e&iC.First&&0!==r||e&iC.Last&&r!==o.length-1||e&iC.PrettierIgnore&&!rC(n)||t&&!t(n))};function sC(e,t,n){if(!e||!bE(e.comments))return!1;const r=uC(t,n);return!r||e.comments.some(r)}function aC(e,t,n){if(!e||!Array.isArray(e.comments))return[];const r=uC(t,n);return r?e.comments.filter(r):e.comments}function cC(e){return qE(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var lC={getFunctionParameters:eC,iterateFunctionParametersPath:function(e,t){const n=e.getValue();let r=0;const o=e=>t(e,r++);n.this&&e.call(o,"this"),Array.isArray(n.parameters)?e.each(o,"parameters"):Array.isArray(n.params)&&e.each(o,"params"),n.rest&&e.call(o,"rest")},getCallArguments:nC,iterateCallArgumentsPath:function(e,t){const n=e.getValue();"ImportExpression"===n.type?(e.call((e=>t(e,0)),"source"),n.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;const t=eC(e);return t.length>0&&"RestElement"===DE(t).type},getLeftSide:function(e){return e.expressions?e.expressions[0]:e.left||e.test||e.callee||e.object||e.tag||e.argument||e.expression},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){const t=e.getParentNode();return"declaration"===e.getName()&&PE(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasFlowAnnotationComment:function(e){return bE(e)&&BE(e[0])&&TE.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&bE(e.trailingComments)&&BE(e.trailingComments[0])&&wE.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return _E(t)?oC(t):sC(t,iC.Leading,(t=>EE(e,xE(t))))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||qE(e)||UE(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type},hasNode:function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some((t=>e(t,n)));const r=n(t);return"boolean"==typeof r?r:Object.values(t).some((t=>e(t,n)))},hasIgnoreComment:function(e){return oC(e.getValue())},hasNodeIgnoreComment:oC,identity:function(e){return e},isBinaryish:function(e){return VE.has(e.type)},isBlockComment:BE,isCallLikeExpression:cC,isEnabledHackPipeline:function(e){return Boolean(e.__isUsingHackPipeline)},isLineComment:NE,isPrettierIgnoreComment:rC,isCallExpression:qE,isMemberExpression:UE,isExportDeclaration:PE,isFlowAnnotationComment:function(e,t){const n=FE(t),r=CE(e,xE(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const n of e)if(LE(n)){if(t+=1,t>1)return!0}else if(qE(n))for(const e of n.arguments)if(LE(e))return!0;return!1},isFunctionNotation:RE,isFunctionOrArrowExpression:LE,isGetterOrSetter:ME,isJestEachTemplateLiteral:function(e,t){const n=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJsxNode:_E,isLiteral:function(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type},isLongCurriedCallExpression:function(e){const t=e.getValue(),n=e.getParentNode();return qE(t)&&qE(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;const r=t=>e(t,n+1),o="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(o&&AE(o)>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every((e=>!e.value.raw.includes("\n")))&&t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every((e=>!e.computed&&(e.shorthand||e.value&&r(e.value)))):"ArrayExpression"===t.type?t.elements.every((e=>null===e||r(e))):cC(t)?("ImportExpression"===t.type||e(t.callee,n))&&nC(t).every(r):UE(t)?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMemberish:function(e){return UE(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:OE,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&OE(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"TSMappedType"===e.type},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||RE(e))},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!$E.has(e.type))},isSimpleNumber:GE,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const n=e[t];return 0!==n.length&&n.every((e=>{if(sC(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(UE(e)){let t=e;for(;UE(t);){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,sC(t))return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:IE,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&IE(e.key)&&HE(e.key).slice(1,-1)===e.key.value&&(yE(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||GE(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&zE(e)||"TaggedTemplateExpression"===e.type&&zE(e.quasi))&&!EE(t,FE(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(jE(t)&&n&&e(n))return LE(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(?:before|after)(?:Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return jE(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&WE.test(t.callee.name)||function(e){return UE(e.callee)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&WE.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||IE(t.arguments[0])))return!(t.arguments[2]&&!OE(t.arguments[2]))&&((2===t.arguments.length?LE(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&eC(t.arguments[1]).length<=1)||jE(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const n=t.getNode();if(!n.expression||!_E(n.expression))return!1;const r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||SE(e,e.typeAnnotation))},isNextLineEmpty:(e,t)=>{let{originalText:n}=t;return vE(n,xE(e))},needsHardlineAfterDanglingComment:function(e){if(!sC(e))return!1;const t=DE(aC(e,iC.Dangling));return t&&!BE(t)},rawText:HE,shouldPrintComma:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return Boolean(YE[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return QE(t)===QE(e)&&("**"!==e&&((!JE[e]||!JE[t])&&(!("%"===t&&XE[e]||"%"===e&&XE[t])&&((t===e||!XE[t]||!XE[e])&&(!YE[e]||!YE[t])))))},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,n);default:return!1}},getPrecedence:QE,hasComment:sC,getComments:aC,CommentCheckFlags:iC};const pC=su,{getStringWidth:fC,getIndentSize:dC}=ic,{builders:{join:hC,hardline:gC,softline:mC,group:yC,indent:DC,align:EC,lineSuffixBoundary:CC,addAlignmentToDoc:bC},printer:{printDocToString:vC},utils:{mapDoc:AC}}=Gc,{isBinaryish:FC,isJestEachTemplateLiteral:xC,isSimpleTemplateLiteral:SC,hasComment:wC,isMemberExpression:TC}=lC;function BC(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var NC={printTemplateLiteral:function(e,t,n){const r=e.getValue();if("TemplateLiteral"===r.type&&xC(r,e.getParentNode())){const r=function(e,t,n){const r=e.getNode(),o=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(o.length>1||o.some((e=>e.length>0))){t.__inJestEach=!0;const i=e.map(n,"expressions");t.__inJestEach=!1;const u=[],s=i.map((e=>"${"+vC(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}")),a=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length))),l=Array.from({length:c}).fill(0),p=[{cells:o},...a.filter((e=>e.cells.length>0))];for(const{cells:e}of p.filter((e=>!e.hasLineBreak)))for(const[t,n]of e.entries())l[t]=Math.max(l[t],fC(n));return u.push(CC,"`",DC([gC,hC(gC,p.map((e=>hC(" | ",e.cells.map(((t,n)=>e.hasLineBreak?t:t+" ".repeat(l[n]-fC(t))))))))]),gC,"`"),u}}(e,n,t);if(r)return r}let o="expressions";"TSTemplateLiteralType"===r.type&&(o="types");const i=[];let u=e.map(t,o);const s=SC(r);return s&&(u=u.map((e=>vC(e,Object.assign(Object.assign({},n),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),i.push(CC,"`"),e.each((e=>{const a=e.getName();if(i.push(t()),afunction(e,t){const n=e.getValue();let r=t();return wC(n)&&(r=yC([DC([mC,r]),mC])),["${",r,CC,"}"]}(e,t)),"expressions")},escapeTemplateCharacters:function(e,t){return AC(e,(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):BC(e):e))},uncookTemplateElementValue:BC};const{builders:{indent:kC,softline:PC,literalline:OC,dedentToRoot:IC}}=Gc,{escapeTemplateCharacters:LC}=NC;var jC=function(e,t,n){let r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,((e,t)=>"\\".repeat(t.length/2)+"`"));const o=function(e){const t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(r),i=""!==o;i&&(r=r.replace(new RegExp("^".concat(o),"gm"),""));const u=LC(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",i?kC([PC,u]):[OC,IC(u)],PC,"`"]};const{isNonEmptyArray:_C}=ic,{builders:{indent:MC,hardline:RC,softline:VC},utils:{mapDoc:$C,replaceEndOfLine:WC,cleanDoc:qC}}=Gc,{printTemplateExpressions:UC}=NC;var GC=function(e,t,n){const r=e.getValue(),o=r.quasis.map((e=>e.value.raw));let i=0;return function(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";const r=function(e,t){if(!_C(t))return e;let n=0;const r=$C(qC(e),(e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map(((e,r)=>r%2==0?WC(e):(n++,t[e]))):e));return t.length===n?r:null}(e,n);if(!r)throw new Error("Couldn't insert all the expressions");return["`",MC([RC,r]),VC,"`"]}(n(o.reduce(((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+i+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),r,UC(e,t))};const{builders:{indent:zC,join:HC,hardline:JC}}=Gc,{escapeTemplateCharacters:XC,printTemplateExpressions:YC}=NC;function KC(e){const t=[];let n=!1;const r=e.map((e=>e.trim()));for(const[e,o]of r.entries())""!==o&&(""===r[e-1]&&n?t.push([JC,o]):t.push(o),n=!0);return 0===t.length?null:HC(JC,t)}var QC=function(e,t,n){const r=e.getValue(),o=r.quasis.length;if(1===o&&""===r.quasis[0].value.raw.trim())return"``";const i=YC(e,t),u=[];for(let e=0;e2&&""===c[0].trim()&&""===c[1].trim(),d=l>2&&""===c[l-1].trim()&&""===c[l-2].trim(),h=c.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!s&&/#[^\n\r]*$/.test(c[l-1]))return null;let g=null;g=h?KC(c):n(a,{parser:"graphql"},{stripTrailingHardline:!0}),g?(g=XC(g,!1),!t&&f&&u.push(""),u.push(g),!s&&d&&u.push("")):t||s||!f||u.push(""),p&&u.push(p)}return["`",zC([JC,HC(JC,u)]),JC,"`"]};const{builders:{indent:ZC,line:eb,hardline:tb,group:nb},utils:{mapDoc:rb}}=Gc,{printTemplateExpressions:ob,uncookTemplateElementValue:ib}=NC;let ub=0;var sb=function(e,t,n,r,o){let{parser:i}=o;const u=e.getValue(),s=ub;ub=ub+1>>>0;const a=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(s,"_IN_JS"),c=u.quasis.map(((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+a(t))).join(""),l=ob(e,t);if(0===l.length&&0===c.trim().length)return"``";const p=new RegExp(a("(\\d+)"),"g");let f=0;const d=n(c,{parser:i,__onHtmlRoot(e){f=e.children.length}},{stripTrailingHardline:!0}),h=rb(d,(e=>{if("string"!=typeof e)return e;const t=[],n=e.split(p);for(let e=0;e1?ZC(nb(h)):nb(h),m,"`"])};const{hasComment:ab,CommentCheckFlags:cb,isObjectProperty:lb}=lC,pb=jC,fb=GC,db=QC,hb=sb;function gb(e){return function(e){const t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some((e=>"jsx"===e.name.name))||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}(e)||function(e){const t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;const n="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(n.type){case"MemberExpression":return yb(n.object)||Db(n);case"CallExpression":return yb(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(yb(n.callee.object.object)||Db(n.callee.object))||"CallExpression"===n.callee.object.type&&yb(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){const t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>lb(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...mb)}(e)?"css":function(e){const t=e.getValue(),n=e.getParentNode();return Eb(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)?"graphql":function(e){return Eb(e.getValue(),"HTML")||e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t))}(e)?"html":function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>lb(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...mb)}(e)?"angular":function(e){const t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}(e)?"markdown":void 0}const mb=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function yb(e){return"Identifier"===e.type&&"styled"===e.name}function Db(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function Eb(e,t){return ab(e,cb.Block|cb.Leading,(e=>{let{value:n}=e;return n===" ".concat(t," ")}))}var Cb=function(e,t,n,r){const o=e.getValue();if("TemplateLiteral"!==o.type||function(e){let{quasis:t}=e;return t.some((e=>{let{value:{cooked:t}}=e;return null===t}))}(o))return;const i=gb(e);return i?"markdown"===i?pb(e,t,n):"css"===i?fb(e,t,n):"graphql"===i?db(e,t,n):"html"===i||"angular"===i?hb(e,t,n,r,{parser:i}):void 0:void 0};const{isBlockComment:bb}=lC,vb=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Ab=e=>{for(const t of e.quasis)delete t.value};function Fb(e,t,n){if("Program"===e.type&&delete t.sourceType,"BigIntLiteral"!==e.type&&"BigIntLiteralTypeAnnotation"!==e.type||t.value&&(t.value=t.value.toLowerCase()),"BigIntLiteral"!==e.type&&"Literal"!==e.type||t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if("Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"PropertyDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=typeof e.key||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((e=>"jsx"===e.name.name)))for(const{type:e,expression:n}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===n.type&&Ab(n);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&Ab(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const n=e.expression.arguments[0].properties;for(const[e,r]of t.expression.arguments[0].properties.entries())switch(n[e].key.name){case"styles":"ArrayExpression"===r.value.type&&Ab(r.value.elements[0]);break;case"template":"TemplateLiteral"===r.value.type&&Ab(r.value)}}if("TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||Ab(t.quasi),"TemplateLiteral"===e.type){const r=e.leadingComments&&e.leadingComments.some((e=>bb(e)&&["GraphQL","HTML"].some((t=>e.value===" ".concat(t," ")))));(r||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&Ab(t)}return"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}Fb.ignoredProperties=vb;var xb=Fb,Sb={},wb={exports:{}};const Tb=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const n=t.filter((e=>"\r\n"===e)).length;return n>t.length-n?"\r\n":"\n"};function Bb(){const e=af;return Bb=function(){return e},e}function Nb(){const e=function(e){return e&&e.__esModule?e:{default:e}}(wb.exports);return Nb=function(){return e},e}wb.exports=Tb,wb.exports.graceful=e=>"string"==typeof e&&Tb(e)||"\n",Object.defineProperty(Sb,"__esModule",{value:!0}),Sb.extract=function(e){const t=e.match(Ob);return t?t[0].trimLeft():""},Sb.strip=function(e){const t=e.match(Ob);return t&&t[0]?e.substring(t[0].length):e},Sb.parse=function(e){return Vb(e).pragmas},Sb.parseWithComments=Vb,Sb.print=function(e){let{comments:t="",pragmas:n={}}=e;const r=(0,Nb().default)(t)||Bb().EOL,o=" *",i=Object.keys(n),u=i.map((e=>$b(e,n[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>" * "+e+r)).join("");if(!t){if(0===i.length)return"";if(1===i.length&&!Array.isArray(n[i[0]])){const e=n[i[0]];return"".concat("/**"," ").concat($b(i[0],e)[0]).concat(" */")}}const s=t.split(r).map((e=>"".concat(o," ").concat(e))).join(r)+r;return"/**"+r+(t?s:"")+(t&&i.length?o+r:"")+u+" */"};const kb=/\*\/$/,Pb=/^\/\*\*/,Ob=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Ib=/(^|\s+)\/\/([^\r\n]*)/g,Lb=/^(\r?\n)+/,jb=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,_b=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Mb=/(\r?\n|^) *\* ?/g,Rb=[];function Vb(e){const t=(0,Nb().default)(e)||Bb().EOL;e=e.replace(Pb,"").replace(kb,"").replace(Mb,"$1");let n="";for(;n!==e;)n=e,e=e.replace(jb,"".concat(t,"$1 $2").concat(t));e=e.replace(Lb,"").trimRight();const r=Object.create(null),o=e.replace(_b,"").replace(Lb,"").trimRight();let i;for(;i=_b.exec(e);){const e=i[2].replace(Ib,"");"string"==typeof r[i[1]]||Array.isArray(r[i[1]])?r[i[1]]=Rb.concat(r[i[1]],e):r[i[1]]=e}return{comments:o,pragmas:r}}function $b(e,t){return Rb.concat(t).map((t=>"@".concat(e," ").concat(t).trim()))}const{parseWithComments:Wb,strip:qb,extract:Ub,print:Gb}=Sb,{getShebang:zb}=ic,{normalizeEndOfLine:Hb}=uc;function Jb(e){const t=zb(e);t&&(e=e.slice(t.length+1));const n=Ub(e),{pragmas:r,comments:o}=Wb(n);return{shebang:t,text:e,pragmas:r,comments:o}}var Xb={hasPragma:function(e){const t=Object.keys(Jb(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:o}=Jb(e),i=qb(n),u=Gb({pragmas:Object.assign({format:""},r),comments:o.trimStart()});return(t?"".concat(t,"\n"):"")+Hb(u)+(i.startsWith("\n")?"\n":"\n\n")+i}};const{getLast:Yb,hasNewline:Kb,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Qb,getNextNonSpaceNonCommentCharacter:Zb,hasNewlineInRange:ev,addLeadingComment:tv,addTrailingComment:nv,addDanglingComment:rv,getNextNonSpaceNonCommentCharacterIndex:ov,isNonEmptyArray:iv}=ic,{isBlockComment:uv,getFunctionParameters:sv,isPrettierIgnoreComment:av,isJsxNode:cv,hasFlowShorthandAnnotationComment:lv,hasFlowAnnotationComment:pv,hasIgnoreComment:fv,isCallLikeExpression:dv,getCallArguments:hv,isCallExpression:gv,isMemberExpression:mv,isObjectProperty:yv,getComments:Dv,CommentCheckFlags:Ev}=lC,{locStart:Cv,locEnd:bv}=Xh;function vv(e,t){const n=(e.body||e.properties).find((e=>{let{type:t}=e;return"EmptyStatement"!==t}));n?tv(n,t):rv(e,t)}function Av(e,t){"BlockStatement"===e.type?vv(e,t):tv(e,t)}function Fv(e){let{comment:t,followingNode:n}=e;return!(!n||!Zv(t))&&(tv(n,t),!0)}function xv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o,text:i}=e;if(!r||"IfStatement"!==r.type||!o)return!1;return")"===Zb(i,t,bv)?(nv(n,t),!0):n===r.consequent&&o===r.alternate?("BlockStatement"===n.type?nv(n,t):rv(r,t),!0):"BlockStatement"===o.type?(vv(o,t),!0):"IfStatement"===o.type?(Av(o.consequent,t),!0):r.consequent===o&&(tv(o,t),!0)}function Sv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o,text:i}=e;if(!r||"WhileStatement"!==r.type||!o)return!1;return")"===Zb(i,t,bv)?(nv(n,t),!0):"BlockStatement"===o.type?(vv(o,t),!0):r.body===o&&(tv(o,t),!0)}function wv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o}=e;return!(!r||"TryStatement"!==r.type&&"CatchClause"!==r.type||!o)&&("CatchClause"===r.type&&n?(nv(n,t),!0):"BlockStatement"===o.type?(vv(o,t),!0):"TryStatement"===o.type?(Av(o.finalizer,t),!0):"CatchClause"===o.type&&(Av(o.body,t),!0))}function Tv(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!(!mv(n)||!r||"Identifier"!==r.type)&&(tv(n,t),!0)}function Bv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o,text:i}=e;const u=n&&!ev(i,bv(n),Cv(t));return!(n&&u||!r||"ConditionalExpression"!==r.type&&"TSConditionalType"!==r.type||!o)&&(tv(o,t),!0)}function Nv(e){let{comment:t,precedingNode:n,enclosingNode:r}=e;return!(!yv(r)||!r.shorthand||r.key!==n||"AssignmentPattern"!==r.value.type)&&(nv(r.value.left,t),!0)}function kv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o}=e;if(r&&("ClassDeclaration"===r.type||"ClassExpression"===r.type||"DeclareClass"===r.type||"DeclareInterface"===r.type||"InterfaceDeclaration"===r.type||"TSInterfaceDeclaration"===r.type)){if(iv(r.decorators)&&(!o||"Decorator"!==o.type))return nv(Yb(r.decorators),t),!0;if(r.body&&o===r.body)return vv(r.body,t),!0;if(o)for(const e of["implements","extends","mixins"])if(r[e]&&o===r[e][0])return!n||n!==r.id&&n!==r.typeParameters&&n!==r.superClass?rv(r,t,e):nv(n,t),!0}return!1}function Pv(e){let{comment:t,precedingNode:n,enclosingNode:r,text:o}=e;return(r&&n&&("Property"===r.type||"TSDeclareMethod"===r.type||"TSAbstractMethodDefinition"===r.type)&&"Identifier"===n.type&&r.key===n&&":"!==Zb(o,n,bv)||!(!n||!r||"Decorator"!==n.type||"ClassMethod"!==r.type&&"ClassProperty"!==r.type&&"PropertyDefinition"!==r.type&&"TSAbstractPropertyDefinition"!==r.type&&"TSAbstractMethodDefinition"!==r.type&&"TSDeclareMethod"!==r.type&&"MethodDefinition"!==r.type))&&(nv(n,t),!0)}function Ov(e){let{comment:t,precedingNode:n,enclosingNode:r,text:o}=e;return"("===Zb(o,t,bv)&&(!(!n||!r||"FunctionDeclaration"!==r.type&&"FunctionExpression"!==r.type&&"ClassMethod"!==r.type&&"MethodDefinition"!==r.type&&"ObjectMethod"!==r.type)&&(nv(n,t),!0))}function Iv(e){let{comment:t,enclosingNode:n,text:r}=e;if(!n||"ArrowFunctionExpression"!==n.type)return!1;const o=ov(r,t,bv);return!1!==o&&"=>"===r.slice(o,o+2)&&(rv(n,t),!0)}function Lv(e){let{comment:t,enclosingNode:n,text:r}=e;return")"===Zb(r,t,bv)&&(n&&(Qv(n)&&0===sv(n).length||dv(n)&&0===hv(n).length)?(rv(n,t),!0):!(!n||"MethodDefinition"!==n.type&&"TSAbstractMethodDefinition"!==n.type||0!==sv(n.value).length)&&(rv(n.value,t),!0))}function jv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o,text:i}=e;if(n&&"FunctionTypeParam"===n.type&&r&&"FunctionTypeAnnotation"===r.type&&o&&"FunctionTypeParam"!==o.type)return nv(n,t),!0;if(n&&("Identifier"===n.type||"AssignmentPattern"===n.type)&&r&&Qv(r)&&")"===Zb(i,t,bv))return nv(n,t),!0;if(r&&"FunctionDeclaration"===r.type&&o&&"BlockStatement"===o.type){const e=(()=>{const e=sv(r);if(e.length>0)return Qb(i,bv(Yb(e)));const t=Qb(i,bv(r.id));return!1!==t&&Qb(i,t+1)})();if(Cv(t)>e)return vv(o,t),!0}return!1}function _v(e){let{comment:t,enclosingNode:n}=e;return!(!n||"ImportSpecifier"!==n.type)&&(tv(n,t),!0)}function Mv(e){let{comment:t,enclosingNode:n}=e;return!(!n||"LabeledStatement"!==n.type)&&(tv(n,t),!0)}function Rv(e){let{comment:t,enclosingNode:n}=e;return!(!n||"ContinueStatement"!==n.type&&"BreakStatement"!==n.type||n.label)&&(nv(n,t),!0)}function Vv(e){let{comment:t,precedingNode:n,enclosingNode:r}=e;return!!(gv(r)&&n&&r.callee===n&&r.arguments.length>0)&&(tv(r.arguments[0],t),!0)}function $v(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o}=e;return!r||"UnionTypeAnnotation"!==r.type&&"TSUnionType"!==r.type?(o&&("UnionTypeAnnotation"===o.type||"TSUnionType"===o.type)&&av(t)&&(o.types[0].prettierIgnore=!0,t.unignore=!0),!1):(av(t)&&(o.prettierIgnore=!0,t.unignore=!0),!!n&&(nv(n,t),!0))}function Wv(e){let{comment:t,enclosingNode:n}=e;return!!yv(n)&&(tv(n,t),!0)}function qv(e){let{comment:t,enclosingNode:n,followingNode:r,ast:o,isLastComment:i}=e;return o&&o.body&&0===o.body.length?(i?rv(o,t):tv(o,t),!0):n&&"Program"===n.type&&0===n.body.length&&!iv(n.directives)?(i?rv(n,t):tv(n,t),!0):!(!r||"Program"!==r.type||0!==r.body.length||!n||"ModuleExpression"!==n.type)&&(rv(r,t),!0)}function Uv(e){let{comment:t,enclosingNode:n}=e;return!(!n||"ForInStatement"!==n.type&&"ForOfStatement"!==n.type)&&(tv(n,t),!0)}function Gv(e){let{comment:t,precedingNode:n,enclosingNode:r,text:o}=e;return!!(n&&"ImportSpecifier"===n.type&&r&&"ImportDeclaration"===r.type&&Kb(o,bv(t)))&&(nv(n,t),!0)}function zv(e){let{comment:t,enclosingNode:n}=e;return!(!n||"AssignmentPattern"!==n.type)&&(tv(n,t),!0)}function Hv(e){let{comment:t,enclosingNode:n}=e;return!(!n||"TypeAlias"!==n.type)&&(tv(n,t),!0)}function Jv(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!(!n||"VariableDeclarator"!==n.type&&"AssignmentExpression"!==n.type||!r||"ObjectExpression"!==r.type&&"ArrayExpression"!==r.type&&"TemplateLiteral"!==r.type&&"TaggedTemplateExpression"!==r.type&&!uv(t))&&(tv(r,t),!0)}function Xv(e){let{comment:t,enclosingNode:n,followingNode:r,text:o}=e;return!(r||!n||"TSMethodSignature"!==n.type&&"TSDeclareFunction"!==n.type&&"TSAbstractMethodDefinition"!==n.type||";"!==Zb(o,t,bv))&&(nv(n,t),!0)}function Yv(e){let{comment:t,enclosingNode:n,followingNode:r}=e;if(av(t)&&n&&"TSMappedType"===n.type&&r&&"TSTypeParameter"===r.type&&r.constraint)return n.prettierIgnore=!0,t.unignore=!0,!0}function Kv(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:o}=e;return!(!r||"TSMappedType"!==r.type)&&(o&&"TSTypeParameter"===o.type&&o.name?(tv(o.name,t),!0):!(!n||"TSTypeParameter"!==n.type||!n.constraint)&&(nv(n.constraint,t),!0))}function Qv(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function Zv(e){return uv(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var eA={handleOwnLineComment:function(e){return[Yv,jv,Tv,xv,Sv,wv,kv,_v,Uv,$v,qv,Gv,zv,Pv,Mv].some((t=>t(e)))},handleEndOfLineComment:function(e){return[Fv,jv,Bv,_v,xv,Sv,wv,kv,Mv,Vv,Wv,qv,Hv,Jv].some((t=>t(e)))},handleRemainingComment:function(e){return[Yv,xv,Sv,Nv,Lv,Pv,qv,Iv,Ov,Kv,Rv,Xv].some((t=>t(e)))},isTypeCastComment:Zv,getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===sv(e.value).length&&!e.value.returnType&&!iv(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){const t=e.getValue(),n=e.getParentNode();return(t&&(cv(t)||lv(t)||gv(n)&&(e=>pv(Dv(e,Ev.Leading))||pv(Dv(e,Ev.Trailing)))(t))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!fv(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}};const tA=su,{getFunctionParameters:nA,getLeftSidePathName:rA,hasFlowShorthandAnnotationComment:oA,hasNakedLeftSide:iA,hasNode:uA,isBitwiseOperator:sA,startsWithNoLookaheadToken:aA,shouldFlatten:cA,getPrecedence:lA,isCallExpression:pA,isMemberExpression:fA,isObjectProperty:dA}=lC;function hA(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),o=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){if("ObjectExpression"===e.type)return!0;return!1}(o)&&gA(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(o))return!1;if("flow"!==t.parser&&oA(e.getValue()))return!0;if("Identifier"===o.type)return!!(o.extra&&o.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(o.name))||"left"===r&&"async"===o.name&&"ForOfStatement"===n.type&&!n.await;switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===o.type||"AssignmentExpression"===o.type||"AwaitExpression"===o.type||"BinaryExpression"===o.type||"ConditionalExpression"===o.type||"LogicalExpression"===o.type||"NewExpression"===o.type||"ObjectExpression"===o.type||"ParenthesizedExpression"===o.type||"SequenceExpression"===o.type||"TaggedTemplateExpression"===o.type||"UnaryExpression"===o.type||"UpdateExpression"===o.type||"YieldExpression"===o.type||"TSNonNullExpression"===o.type))return!0;break;case"ExportDefaultDeclaration":return mA(e,t)||"SequenceExpression"===o.type;case"Decorator":if("expression"===r){let e=!1,n=!1,r=o;for(;r;)switch(r.type){case"MemberExpression":n=!0,r=r.object;break;case"CallExpression":if(n||e)return"typescript"!==t.parser;e=!0,r=r.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ExpressionStatement":if(aA(o,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==o.type&&aA(o,!1))return!0}switch(o.type){case"UpdateExpression":if("UnaryExpression"===n.type)return o.prefix&&("++"===o.operator&&"+"===n.operator||"--"===o.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return o.operator===n.operator&&("+"===o.operator||"-"===o.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"left"===r&&"**"===n.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type)return!0;if("in"===o.operator&&function(e){let t=0,n=e.getValue();for(;n;){const r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}(e))return!0;if("|>"===o.operator&&o.extra&&o.extra.parenthesized){const t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"TSAsExpression":return"TSAsExpression"!==o.type;case"ConditionalExpression":return"TSAsExpression"===o.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r;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"object"===r;case"AssignmentExpression":case"AssignmentPattern":return"left"===r&&("TSTypeAssertion"===o.type||"TSAsExpression"===o.type);case"LogicalExpression":if("LogicalExpression"===o.type)return n.operator!==o.operator;case"BinaryExpression":{const{operator:e,type:t}=o;if(!e&&"TSTypeAssertion"!==t)return!0;const i=lA(e),u=n.operator,s=lA(u);return s>i||("right"===r&&s===i||(s===i&&!cA(u,e)||(s"===n.operator);default:return!1}case"TSConditionalType":if("extendsType"===r&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===r&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===n.type||"TSIntersectionType"===n.type)&&n.types.length>1&&(!o.types||o.types.length>1))return!0;case"TSInferType":if("TSInferType"===o.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===r&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&e.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type||"objectType"===r&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"objectType"===r&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"FunctionTypeAnnotation":{const t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"objectType"===r&&("IndexedAccessType"===t.type||"OptionalIndexedAccessType"===t.type)||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&nA(o).some((e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type))}case"OptionalIndexedAccessType":return"objectType"===r&&"IndexedAccessType"===n.type;case"TypeofTypeAnnotation":return"objectType"===r&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof o.value&&"ExpressionStatement"===n.type&&!n.directive){const t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof o.value;case"AssignmentExpression":{const t=e.getParentNode(1);return"body"===r&&"ArrowFunctionExpression"===n.type||("key"!==r||"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type||!n.computed)&&(("init"!==r&&"update"!==r||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===o.left.type:("key"!==r||"TSPropertySignature"!==n.type)&&("AssignmentExpression"!==n.type&&(("SequenceExpression"!==n.type||!t||"ForStatement"!==t.type||t.init!==n&&t.update!==n)&&(("value"!==r||"Property"!==n.type||!t||"ObjectPattern"!==t.type||!t.properties.includes(n))&&"NGChainedExpression"!==n.type)))))}case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"BinaryExpression":return"|>"!==n.operator||o.extra&&o.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":return"NewExpression"===n.type&&"callee"===r;case"OptionalMemberExpression":case"OptionalCallExpression":{const t=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)){let e=o;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&fA(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!o.extra||!o.extra.parenthesized)||"ArrayExpression"===n.type||pA(n)&&n.arguments[r]===o||"right"===r&&"NGPipeExpression"===n.type||"property"===r&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"left"===r&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&!pA(n)&&!dA(n)&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return uA(e,(e=>"ObjectTypeAnnotation"===e.type&&uA(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}(o)}return!1}function gA(e){const t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(gA);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return tA(t.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(gA);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(gA);break;case"UnaryExpression":if(n.prefix)return e.callParent(gA)}return!1}function mA(e,t){const n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!hA(e,t):!(!iA(n)||"ExportDefaultDeclaration"!==r.type&&hA(e,t))&&e.call((e=>mA(e,t)),...rA(e,n))}var yA=hA;var DA=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}};const{builders:{join:EA,line:CA,group:bA,softline:vA,indent:AA}}=Gc;var FA={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,n){const r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call((e=>{const t=EA([",",CA],e.map(n,"params")),{params:r}=e.getValue();return 1===r.length?t:["(",AA([vA,bA(t)]),vA,")"]}),"program","body",0):t.__isVueBindings?e.call((e=>EA([",",CA],e.map(n,"params"))),"program","body",0):void 0}};const{printComments:xA}=zy,{getLast:SA}=ic,{builders:{join:wA,line:TA,softline:BA,group:NA,indent:kA,align:PA,ifBreak:OA,indentIfBreak:IA},utils:{cleanDoc:LA,getDocParts:jA,isConcat:_A}}=Gc,{hasLeadingOwnLineComment:MA,isBinaryish:RA,isJsxNode:VA,shouldFlatten:$A,hasComment:WA,CommentCheckFlags:qA,isCallExpression:UA,isMemberExpression:GA,isObjectProperty:zA,isEnabledHackPipeline:HA}=lC;let JA=0;function XA(e,t,n,r,o){const i=e.getValue();if(!RA(i))return[NA(t())];let u=[];$A(i.operator,i.left.operator)?u=e.call((e=>XA(e,t,n,!0,o)),"left"):u.push(NA(t("left")));const s=YA(i),a=("|>"===i.operator||"NGPipeExpression"===i.type||"|"===i.operator&&"__vue_expression"===n.parser)&&!MA(n.originalText,i.right),c="NGPipeExpression"===i.type?"|":i.operator,l="NGPipeExpression"===i.type&&i.arguments.length>0?NA(kA([BA,": ",wA([BA,":",OA(" ")],e.map(t,"arguments").map((e=>PA(2,NA(e)))))])):"";let p;if(s)p=[c," ",t("right"),l];else{const r=HA(n)&&"|>"===c?e.call((e=>XA(e,t,n,!0,o)),"right"):t("right");p=[a?TA:"",c,a?" ":TA,r,l]}const f=e.getParentNode(),d=WA(i.left,qA.Trailing|qA.Line),h=d||!(o&&"LogicalExpression"===i.type)&&f.type!==i.type&&i.left.type!==i.type&&i.right.type!==i.type;if(u.push(a?"":" ",h?NA(p,{shouldBreak:d}):p),r&&WA(i)){const t=LA(xA(e,u,n));return _A(t)||"fill"===t.type?jA(t):[t]}return u}function YA(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&e.right.properties.length>0||("ArrayExpression"===e.right.type&&e.right.elements.length>0||!!VA(e.right)))}var KA={printBinaryishExpression:function(e,t,n){const r=e.getValue(),o=e.getParentNode(),i=e.getParentNode(1),u=r!==o.body&&("IfStatement"===o.type||"WhileStatement"===o.type||"SwitchStatement"===o.type||"DoWhileStatement"===o.type),s=HA(t)&&"|>"===r.operator,a=XA(e,n,t,!1,u);if(u)return a;if(s)return NA(a);if(UA(o)&&o.callee===r||"UnaryExpression"===o.type||GA(o)&&!o.computed)return NA([kA([BA,...a]),BA]);const c="ReturnStatement"===o.type||"ThrowStatement"===o.type||"JSXExpressionContainer"===o.type&&"JSXAttribute"===i.type||"|"!==r.operator&&"JsExpressionRoot"===o.type||"NGPipeExpression"!==r.type&&("NGRoot"===o.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===o.type&&"NGMicrosyntax"===i.type&&1===i.body.length)||r===o.body&&"ArrowFunctionExpression"===o.type||r!==o.body&&"ForStatement"===o.type||"ConditionalExpression"===o.type&&"ReturnStatement"!==i.type&&"ThrowStatement"!==i.type&&!UA(i)||"TemplateLiteral"===o.type,l="AssignmentExpression"===o.type||"VariableDeclarator"===o.type||"ClassProperty"===o.type||"PropertyDefinition"===o.type||"TSAbstractPropertyDefinition"===o.type||"ClassPrivateProperty"===o.type||zA(o),p=RA(r.left)&&$A(r.operator,r.left.operator);if(c||YA(r)&&!p||!YA(r)&&l)return NA(a);if(0===a.length)return"";const f=VA(r.right),d=a.findIndex((e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type)),h=a.slice(0,-1===d?1:d+1),g=a.slice(h.length,f?-1:void 0),m=Symbol("logicalChain-"+ ++JA),y=NA([...h,kA(g)],{id:m});if(!f)return y;const D=SA(a);return NA([y,IA(D,{groupId:m})])},shouldInlineLogicalExpression:YA};const{builders:{join:QA,line:ZA,group:eF}}=Gc,{hasNode:tF,hasComment:nF,getComments:rF}=lC,{printBinaryishExpression:oF}=KA;function iF(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}var uF={printAngular:function(e,t,n){const r=e.getValue();if(r.type.startsWith("NG"))switch(r.type){case"NGRoot":return[n("node"),nF(r.node)?" //"+rF(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return oF(e,t,n);case"NGChainedExpression":return eF(QA([";",ZA],e.map((e=>function(e){return tF(e.getValue(),(e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}(e)?n():["(",n(),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[r.prefix,": ",r.value.trim()];case"NGMicrosyntax":return e.map(((e,t)=>[0===t?"":iF(e.getValue(),t,r)?" ":[";",ZA],n()]),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(r.name)?r.name:JSON.stringify(r.name);case"NGMicrosyntaxExpression":return[n("expression"),null===r.alias?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":{const t=e.getName(),o=e.getParentNode(),i=iF(r,t,o)||(1===t&&("then"===r.key.name||"else"===r.key.name)||2===t&&"else"===r.key.name&&"NGMicrosyntaxKeyedExpression"===o.body[t-1].type&&"then"===o.body[t-1].key.name)&&"NGMicrosyntaxExpression"===o.body[0].type;return[n("key"),i?" ":": ",n("expression")]}case"NGMicrosyntaxLet":return["let ",n("key"),null===r.value?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(r.type),"."))}}};const{printComments:sF,printDanglingComments:aF}=zy,{builders:{line:cF,hardline:lF,softline:pF,group:fF,indent:dF,conditionalGroup:hF,fill:gF,ifBreak:mF,lineSuffixBoundary:yF,join:DF},utils:{willBreak:EF}}=Gc,{getLast:CF,getPreferredQuote:bF}=ic,{isJsxNode:vF,rawText:AF,isLiteral:FF,isCallExpression:xF,isStringLiteral:SF,isBinaryish:wF,hasComment:TF,CommentCheckFlags:BF,hasNodeIgnoreComment:NF}=lC,kF=yA,{willPrintOwnComments:PF}=eA,OF=e=>""===e||e===cF||e===lF||e===pF;function IF(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return FF(t)&&!WF(t)}(r))return[n("openingElement"),n("closingElement")];const o="JSXElement"===r.type?n("openingElement"):n("openingFragment"),i="JSXElement"===r.type?n("closingElement"):n("closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return[o,...e.map(n,"children"),i];r.children=r.children.map((e=>function(e){return"JSXExpressionContainer"===e.type&&FF(e.expression)&&" "===e.expression.value&&!TF(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e));const u=r.children.some(vF),s=r.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,a="JSXElement"===r.type&&r.openingElement.attributes.length>1;let c=EF(o)||u||a||s;const l="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',f=l?" ":mF([p,pF]," "),d=function(e,t,n,r,o){const i=[];return e.each(((e,t,u)=>{const s=e.getValue();if(FF(s)){const e=AF(s);if(WF(s)){const n=e.split(RF);if(""===n[0]){if(i.push(""),n.shift(),/\n/.test(n[0])){const e=u[t+1];i.push(jF(o,n[1],s,e))}else i.push(r);n.shift()}let a;if(""===CF(n)&&(n.pop(),a=n.pop()),0===n.length)return;for(const[e,t]of n.entries())e%2==1?i.push(cF):i.push(t);if(void 0!==a)if(/\n/.test(a)){const e=u[t+1];i.push(jF(o,CF(i),s,e))}else i.push(r);else{const e=u[t+1];i.push(LF(o,CF(i),s,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&i.push("",lF):i.push("",r)}else{const e=n();i.push(e);const r=u[t+1];if(r&&WF(r)){const e=$F(AF(r)).split(RF)[0];i.push(LF(o,e,s,r))}else i.push(lF)}}),"children"),i}(e,0,n,f,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),h=r.children.some((e=>WF(e)));for(let e=d.length-2;e>=0;e--){const t=""===d[e]&&""===d[e+1],n=d[e]===lF&&""===d[e+1]&&d[e+2]===lF,r=(d[e]===pF||d[e]===lF)&&""===d[e+1]&&d[e+2]===f,o=d[e]===f&&""===d[e+1]&&(d[e+2]===pF||d[e+2]===lF),i=d[e]===f&&""===d[e+1]&&d[e+2]===f,u=d[e]===pF&&""===d[e+1]&&d[e+2]===lF||d[e]===lF&&""===d[e+1]&&d[e+2]===pF;n&&h||t||r||i||u?d.splice(e,2):o&&d.splice(e+1,2)}for(;d.length>0&&OF(CF(d));)d.pop();for(;d.length>1&&OF(d[0])&&OF(d[1]);)d.shift(),d.shift();const g=[];for(const[e,t]of d.entries()){if(t===f){if(1===e&&""===d[e-1]){if(2===d.length){g.push(p);continue}g.push([p,lF]);continue}if(e===d.length-1){g.push(p);continue}if(""===d[e-1]&&d[e-2]===lF){g.push(p);continue}}g.push(t),EF(t)&&(c=!0)}const m=h?gF(g):fF(g,{shouldBreak:!0});if(l)return m;const y=fF([o,dF([lF,m]),lF,i]);return c?y:hF([fF([o,...d,i]),y])}function LF(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?pF:lF:pF}function jF(e,t,n,r){return e?lF:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?lF:pF:lF}function _F(e,t,n){return function(e,t,n){const r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const o=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),xF,(e=>"JSXExpressionContainer"===e.type)),i=kF(e,n);return fF([i?"":mF("("),dF([pF,t]),pF,i?"":mF(")")],{shouldBreak:o})}(e,sF(e,IF(e,t,n),t),t)}function MF(e,t,n){const r=e.getValue();return["{",e.call((e=>{const r=["...",n()],o=e.getValue();return TF(o)&&PF(e)?[dF([pF,sF(e,r,t)]),pF]:r}),"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"]}const RF=new RegExp("([ \n\r\t]+)"),VF=new RegExp("[^ \n\r\t]"),$F=e=>e.replace(new RegExp("(?:^"+RF.source+"|"+RF.source+"$)"),"");function WF(e){return FF(e)&&(VF.test(AF(e))||!/\n/.test(AF(e)))}var qF={hasJsxIgnoreComment:function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&vF(t)&&vF(n)))return!1;let r=null;for(let e=n.children.indexOf(t);e>0;e--){const t=n.children[e-1];if("JSXText"!==t.type||WF(t)){r=t;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&NF(r.expression)},printJsx:function(e,t,n){const r=e.getValue();if(r.type.startsWith("JSX"))switch(r.type){case"JSXAttribute":return function(e,t,n){const r=e.getValue(),o=[];if(o.push(n("name")),r.value){let e;if(SF(r.value)){let n=AF(r.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"');const{escaped:o,quote:i,regex:u}=bF(n,t.jsxSingleQuote?"'":'"');n=n.replace(u,o),e=[i,n,i]}else e=n("value");o.push("=",e)}return o}(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return DF(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return DF(".",[n("object"),n("property")]);case"JSXSpreadAttribute":return MF(e,t,n);case"JSXSpreadChild":return MF(e,t,n);case"JSXExpressionContainer":return function(e,t,n){const r=e.getValue(),o=e.getParentNode(0),i="JSXEmptyExpression"===r.expression.type||!TF(r.expression)&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||xF(r.expression)||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||vF(o)&&("ConditionalExpression"===r.expression.type||wF(r.expression)));return fF(i?["{",n("expression"),yF,"}"]:["{",dF([pF,n("expression")]),pF,yF,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return _F(e,t,n);case"JSXOpeningElement":return function(e,t,n){const r=e.getValue(),o=r.name&&TF(r.name)||r.typeParameters&&TF(r.typeParameters);if(r.selfClosing&&0===r.attributes.length&&!o)return["<",n("name"),n("typeParameters")," />"];if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&SF(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!o&&!TF(r.attributes[0]))return fF(["<",n("name"),n("typeParameters")," ",...e.map(n,"attributes"),r.selfClosing?" />":">"]);const i=r.attributes.length>0&&TF(CF(r.attributes),BF.Trailing),u=0===r.attributes.length&&!o||(t.bracketSameLine||t.jsxBracketSameLine)&&(!o||r.attributes.length>0)&&!i,s=r.attributes&&r.attributes.some((e=>e.value&&SF(e.value)&&e.value.value.includes("\n")));return fF(["<",n("name"),n("typeParameters"),dF(e.map((()=>[cF,n()]),"attributes")),r.selfClosing?cF:u?">":pF,r.selfClosing?"/>":u?"":">"],{shouldBreak:s})}(e,t,n);case"JSXClosingElement":return function(e,t,n){const r=e.getValue(),o=[];o.push(""),o}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){const n=e.getValue(),r=TF(n),o=TF(n,BF.Line),i="JSXOpeningFragment"===n.type;return[i?"<":""]}(e,t);case"JSXEmptyExpression":return function(e,t){const n=e.getValue(),r=TF(n,BF.Line);return[aF(e,t,!r),r?lF:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(r.type),"."))}}},UF=Cu,GF=Qe,zF=dr,HF=ur,JF=$u;to({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=GF(this),n=zF(t),r=JF(t,0);return r.length=UF(r,t,t,n,0,void 0===e?1:HF(e)),r}});var XF,YF=Fr,KF=xr,QF=Object.keys||function(e){return YF(e,KF)},ZF=Ut,ex=Xt,tx=oe,nx=QF,rx=B?Object.defineProperties:function(e,t){ex(e);for(var n,r=tx(t),o=nx(t),i=o.length,u=0;i>u;)ZF.f(e,n=o[u++],r[n]);return e},ox=pe("document","documentElement"),ix=Xt,ux=rx,sx=xr,ax=vn,cx=ox,lx=Pt,px=bn("IE_PROTO"),fx=function(){},dx=function(e){return"