qauMaWeb/node_modules/prettier/esm/standalone.mjs

116 lines
430 KiB
JavaScript
Raw Permalink Normal View History

2024-10-13 18:02:27 +08:00
"use strict";var yt=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(s,t)=>(typeof require!="undefined"?require:s)[t]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var Be=(e,s)=>()=>(s||e((s={exports:{}}).exports,s),s.exports);var Ye=Be((Ld,Un)=>{var Kt=function(e){return e&&e.Math==Math&&e};Un.exports=Kt(typeof globalThis=="object"&&globalThis)||Kt(typeof window=="object"&&window)||Kt(typeof self=="object"&&self)||Kt(typeof global=="object"&&global)||function(){return this}()||Function("return this")()});var pt=Be((jd,zn)=>{zn.exports=function(e){try{return!!e()}catch{return!0}}});var ht=Be((Od,Xn)=>{var io=pt();Xn.exports=!io(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})});var Yt=Be((qd,Kn)=>{var oo=pt();Kn.exports=!oo(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var Ct=Be((Md,Yn)=>{var co=Yt(),Qt=Function.prototype.call;Yn.exports=co?Qt.bind(Qt):function(){return Qt.apply(Qt,arguments)}});var tu=Be(eu=>{"use strict";var Qn={}.propertyIsEnumerable,Zn=Object.getOwnPropertyDescriptor,lo=Zn&&!Qn.call({1:2},1);eu.f=lo?function(s){var t=Zn(this,s);return!!t&&t.enumerable}:Qn});var Zt=Be((Vd,ru)=>{ru.exports=function(e,s){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:s}}});var at=Be((Wd,su)=>{var nu=Yt(),uu=Function.prototype,po=uu.bind,Br=uu.call,fo=nu&&po.bind(Br,Br);su.exports=nu?function(e){return e&&fo(e)}:function(e){return e&&function(){return Br.apply(e,arguments)}}});var er=Be(($d,iu)=>{var au=at(),Do=au({}.toString),mo=au("".slice);iu.exports=function(e){return mo(Do(e),8,-1)}});var cu=Be((Hd,ou)=>{var go=Ye(),yo=at(),ho=pt(),Co=er(),Nr=go.Object,Eo=yo("".split);ou.exports=ho(function(){return!Nr("z").propertyIsEnumerable(0)})?function(e){return Co(e)=="String"?Eo(e,""):Nr(e)}:Nr});var wr=Be((Gd,lu)=>{var vo=Ye(),Fo=vo.TypeError;lu.exports=function(e){if(e==null)throw Fo("Can't call method on "+e);return e}});var tr=Be((Jd,pu)=>{var Ao=cu(),So=wr();pu.exports=function(e){return Ao(So(e))}});var it=Be((Ud,fu)=>{fu.exports=function(e){return typeof e=="function"}});var Et=Be((zd,Du)=>{var bo=it();Du.exports=function(e){return typeof e=="object"?e!==null:bo(e)}});var jt=Be((Xd,mu)=>{var Pr=Ye(),xo=it(),To=function(e){return xo(e)?e:void 0};mu.exports=function(e,s){return arguments.length<2?To(Pr[e]):Pr[e]&&Pr[e][s]}});var _r=Be((Kd,du)=>{var Bo=at();du.exports=Bo({}.isPrototypeOf)});var yu=Be((Yd,gu)=>{var No=jt();gu.exports=No("navigator","userAgent")||""});var Su=Be((Qd,Au)=>{var Fu=Ye(),Ir=yu(),hu=Fu.process,Cu=Fu.Deno,Eu=hu&&hu.versions||Cu&&Cu.version,vu=Eu&&Eu.v8,lt,rr;vu&&(lt=vu.split("."),rr=lt[0]>0&&lt[0]<4?1:+(lt[0]+lt[1]));!rr&&Ir&&(lt=Ir.match(/Edge\/(\d+)/),(!lt||lt[1]>=74)&&(lt=Ir.match(/Chrome\/(\d+)/),lt&&(rr=+lt[1])));Au.exports=rr});var kr=Be((Zd,xu)=>{var bu=Su(),wo=pt();xu.exports=!!Object.getOwnPropertySymbols&&!wo(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&bu&&bu<41})});var Lr=Be((eg,Tu)=>{var Po=kr();Tu.exports=Po&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var jr=Be((tg,Bu)=>{var _o=Ye(),Io=jt(),ko=it(),Lo=_r(),jo=Lr(),Oo=_o.Object;Bu.exports=jo?function(e){return typeof e=="symbol"}:function(e){var s=Io("Symbol");return ko(s)&&Lo(s.prototype,Oo(e))}});var nr=Be((rg,Nu)=>{var qo=Ye(),Mo=qo.String;Nu.exports=function(e){try{return Mo(e)}catch{return"Object"}}});var Ot=Be((ng,wu)=>{var Ro=Ye(),Vo=it(),Wo=nr(),$o=Ro.TypeError;wu.exports=function(e){if(Vo(e))return e;throw $o(Wo(e)+" is not a function")}});var ur=Be((ug,Pu)=>{var Ho=Ot();Pu.exports=function(e,s){var t=e[s];return t==null?void 0:Ho(t)}});var Iu=Be((sg,_u)=>{var Go=Ye(),Or=Ct(),qr=it(),Mr=Et(),Jo=Go.TypeError;_u.exports=function(e,s){var t,i;if(s==="string"&&qr(t=e.toString)&&!Mr(i=Or(t,e))||qr(t=e.valueOf)&&!Mr(i=Or(t,e))||s!=="string"&&qr(t=e.toString)&&!Mr(i=Or(t,e)))return i;throw Jo("Can't convert object to primitive value")}});var
`?"crlf":"cr":"lf"}function i(n){switch(n){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}function l(n,a){let o;switch(a){case`
`:o=/\n/g;break;case"\r":o=/\r/g;break;case`\r
`:o=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(a),"."))}let D=n.match(o);return D?D.length:0}function u(n){return n.replace(/\r\n?/g,`
`)}s.exports={guessEndOfLine:t,convertEndOfLineToChars:i,countEndOfLineChars:l,normalizeEndOfLine:u}}}),st=Z({"src/utils/get-last.js"(e,s){"use strict";ae();var t=i=>i[i.length-1];s.exports=t}}),Gf=Z({"vendors/string-width.js"(e,s){ae();var t=Object.create,i=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,n=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(S,P)=>function(){return P||(0,S[u(S)[0]])((P={exports:{}}).exports,P),P.exports},D=(S,P)=>{for(var _ in P)i(S,_,{get:P[_],enumerable:!0})},F=(S,P,_,k)=>{if(P&&typeof P=="object"||typeof P=="function")for(let A of u(P))!a.call(S,A)&&A!==_&&i(S,A,{get:()=>P[A],enumerable:!(k=l(P,A))||k.enumerable});return S},h=(S,P,_)=>(_=S!=null?t(n(S)):{},F(P||!S||!S.__esModule?i(_,"default",{value:S,enumerable:!0}):_,S)),v=S=>F(i({},"__esModule",{value:!0}),S),p=o({"node_modules/emoji-regex/index.js"(S,P){"use strict";P.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\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])|\uD83C[\uDF3E\uDF73\uDF7C\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\uDF7C\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\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\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\uDF7C\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\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC6
`)?f(y):y)}function f(r){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i;return l(y,r.split(`
`)).parts}function d(r){if(r.type==="line")return!0}function c(r){return F(r,d,!1)}s.exports={isConcat:u,getDocParts:n,willBreak:v,traverseDoc:o,findInDoc:F,mapDoc:D,propagateBreaks:m,removeLines:w,stripTrailingHardline:T,normalizeParts:_,normalizeDoc:k,cleanDoc:P,replaceTextEndOfLine:f,replaceEndOfLine:A,canBreak:c}}}),Jf=Z({"src/document/doc-printer.js"(e,s){"use strict";ae();var{convertEndOfLineToChars:t}=Tn(),i=st(),l=ai(),{fill:u,cursor:n,indent:a}=xn(),{isConcat:o,getDocParts:D}=Bn(),F,h=1,v=2;function p(){return{value:"",length:0,queue:[]}}function m(S,P){return w(S,{type:"indent"},P)}function E(S,P,_){return P===Number.NEGATIVE_INFINITY?S.root||p():P<0?w(S,{type:"dedent"},_):P?P.type==="root"?Object.assign(Object.assign({},S),{},{root:S}):w(S,{type:typeof P=="string"?"stringAlign":"numberAlign",n:P},_):S}function w(S,P,_){let k=P.type==="dedent"?S.queue.slice(0,-1):[...S.queue,P],A="",f=0,d=0,c=0;for(let L of k)switch(L.type){case"indent":g(),_.useTabs?r(1):y(_.tabWidth);break;case"stringAlign":g(),A+=L.n,f+=L.n.length;break;case"numberAlign":d+=1,c+=L.n;break;default:throw new Error("Unexpected type '".concat(L.type,"'"))}return x(),Object.assign(Object.assign({},S),{},{value:A,length:f,queue:k});function r(L){A+=" ".repeat(L),f+=_.tabWidth*L}function y(L){A+=" ".repeat(L),f+=L}function g(){_.useTabs?C():x()}function C(){d>0&&r(d),B()}function x(){c>0&&y(c),B()}function B(){d=0,c=0}}function N(S){if(S.length===0)return 0;let P=0;for(;S.length>0&&typeof i(S)=="string"&&/^[\t ]*$/.test(i(S));)P+=S.pop().length;if(S.length>0&&typeof i(S)=="string"){let _=i(S).replace(/[\t ]*$/,"");P+=i(S).length-_.length,S[S.length-1]=_}return P}function b(S,P,_,k,A,f){let d=P.length,c=[S],r=[];for(;_>=0;){if(c.length===0){if(d===0)return!0;c.push(P[d-1]),d--;continue}let[y,g,C]=c.pop();if(typeof C=="string")r.push(C),_-=l(C);else if(o(C)){let x=D(C);for(let B=x.length-1;B>=0;B--)c.push([y,g,x[B]])}else switch(C.type){case"indent":c.push([m(y,k),g,C.contents]);break;case"align":c.push([E(y,C.n,k),g,C.contents]);break;case"trim":_+=N(r);break;case"group":{if(f&&C.break)return!1;let x=C.break?h:g;c.push([y,x,C.expandedStates&&x===h?i(C.expandedStates):C.contents]),C.id&&(F[C.id]=x);break}case"fill":for(let x=C.parts.length-1;x>=0;x--)c.push([y,g,C.parts[x]]);break;case"if-break":case"indent-if-break":{let x=C.groupId?F[C.groupId]:g;if(x===h){let B=C.type==="if-break"?C.breakContents:C.negate?C.contents:a(C.contents);B&&c.push([y,g,B])}if(x===v){let B=C.type==="if-break"?C.flatContents:C.negate?a(C.contents):C.contents;B&&c.push([y,g,B])}break}case"line":switch(g){case v:if(!C.hard){C.soft||(r.push(" "),_-=1);break}return!0;case h:return!0}break;case"line-suffix":A=!0;break;case"line-suffix-boundary":if(A)return!1;break;case"label":c.push([y,g,C.contents]);break}}return!1}function T(S,P){F={};let _=P.printWidth,k=t(P.endOfLine),A=0,f=[[p(),h,S]],d=[],c=!1,r=[];for(;f.length>0;){let[g,C,x]=f.pop();if(typeof x=="string"){let B=k!==`
`?x.replace(/\n/g,k):x;d.push(B),A+=l(B)}else if(o(x)){let B=D(x);for(let L=B.length-1;L>=0;L--)f.push([g,C,B[L]])}else switch(x.type){case"cursor":d.push(n.placeholder);break;case"indent":f.push([m(g,P),C,x.contents]);break;case"align":f.push([E(g,x.n,P),C,x.contents]);break;case"trim":A-=N(d);break;case"group":switch(C){case v:if(!c){f.push([g,x.break?h:v,x.contents]);break}case h:{c=!1;let B=[g,v,x.contents],L=_-A,M=r.length>0;if(!x.break&&b(B,f,L,P,M))f.push(B);else if(x.expandedStates){let O=i(x.expandedStates);if(x.break){f.push([g,h,O]);break}else for(let H=1;H<x.expandedStates.length+1;H++)if(H>=x.expandedStates.length){f.push([g,h,O]);break}else{let I=x.expandedStates[H],G=[g,v,I];if(b(G,f,L,P,M)){f.push(G);break}}}else f.push([g,h,x.contents]);break}}x.id&&(F[x.id]=i(f)[1]);break;case"fill":{let B=_-A,{parts:L}=x;if(L.length===0)break;let[M,O]=L,H=[g,v,M],I=[g,h,M],G=b(H,[],B,P,r.length>0,!0);if(L.length===1){G?f.push(H):f.push(I);break}let ee=[g,v,O],W=[g,h,O];if(L.length===2){G?f.push(ee,H):f.push(W,I);break}L.splice(0,2);let $=[g,C,u(L)],te=L[0];b([g,v,[M,O,te]],[],B,P,r.length>0,!0)?f.push($,ee,H):G?f.push($,W,H):f.push($,W,I);break}case"if-break":case"indent-if-break":{let B=x.groupId?F[x.groupId]:C;if(B===h){let L=x.type==="if-break"?x.breakContents:x.negate?x.contents:a(x.contents);L&&f.push([g,C,L])}if(B===v){let L=x.type==="if-break"?x.flatContents:x.negate?a(x.contents):x.contents;L&&f.push([g,C,L])}break}case"line-suffix":r.push([g,C,x.contents]);break;case"line-suffix-boundary":r.length>0&&f.push([g,C,{type:"line",hard:!0}]);break;case"line":switch(C){case v:if(x.hard)c=!0;else{x.soft||(d.push(" "),A+=1);break}case h:if(r.length>0){f.push([g,C,x],...r.reverse()),r=[];break}x.literal?g.root?(d.push(k,g.root.value),A=g.root.length):(d.push(k),A=0):(A-=N(d),d.push(k+g.value),A=g.length);break}break;case"label":f.push([g,C,x.contents]);break;default:}f.length===0&&r.length>0&&(f.push(...r.reverse()),r=[])}let y=d.indexOf(n.placeholder);if(y!==-1){let g=d.indexOf(n.placeholder,y+1),C=d.slice(0,y).join(""),x=d.slice(y+1,g).join(""),B=d.slice(g+1).join("");return{formatted:C+x+B,cursorNodeStart:C.length,cursorNodeText:x}}return{formatted:d.join("")}}s.exports={printDocToString:T}}}),Uf=Z({"src/document/doc-debug.js"(e,s){"use strict";ae();var{isConcat:t,getDocParts:i}=Bn();function l(n){if(!n)return"";if(t(n)){let a=[];for(let o of i(n))if(t(o))a.push(...l(o).parts);else{let D=l(o);D!==""&&a.push(D)}return{type:"concat",parts:a}}return n.type==="if-break"?Object.assign(Object.assign({},n),{},{breakContents:l(n.breakContents),flatContents:l(n.flatContents)}):n.type==="group"?Object.assign(Object.assign({},n),{},{contents:l(n.contents),expandedStates:n.expandedStates&&n.expandedStates.map(l)}):n.type==="fill"?{type:"fill",parts:n.parts.map(l)}:n.contents?Object.assign(Object.assign({},n),{},{contents:l(n.contents)}):n}function u(n){let a=Object.create(null),o=new Set;return D(l(n));function D(h,v,p){if(typeof h=="string")return JSON.stringify(h);if(t(h)){let m=i(h).map(D).filter(Boolean);return m.length===1?m[0]:"[".concat(m.join(", "),"]")}if(h.type==="line"){let m=Array.isArray(p)&&p[v+1]&&p[v+1].type==="break-parent";return h.literal?m?"literalline":"literallineWithoutBreakParent":h.hard?m?"hardline":"hardlineWithoutBreakParent":h.soft?"softline":"line"}if(h.type==="break-parent")return Array.isArray(p)&&p[v-1]&&p[v-1].type==="line"&&p[v-1].hard?void 0:"breakParent";if(h.type==="trim")return"trim";if(h.type==="indent")return"indent("+D(h.contents)+")";if(h.type==="align")return h.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+D(h.contents)+")":h.n<0?"dedent("+D(h.contents)+")":h.n.type==="root"?"markAsRoot("+D(h.contents)+")":"align("+JSON.stringify(h.n)+", "+D(h.contents)+")";if(h.type==="if-break")return"ifBreak("+D(h.breakContents)+(h.flatContents?", "+D(h.flatContents):"")+(h.groupId?(h.flatContents?"":', ""')+", { groupId: ".concat(F(h.groupId)," }"):"")+")";if(h.type==="indent-if-break"){let m=[];h.negate&&m.push("negate: true"),h.groupId&&m.push("groupId: ".concat(F(h.groupId)));let E=m.length>0?",
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`]))),cliCategory:l},endOfLine:{since:"1.15.0",category:o,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:t(Ua||(Ua=Bt([`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`])))}]},filepath:{since:"1.4.0",category:D,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:n,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:D,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:n},parser:{since:"0.0.10",category:o,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:h=>typeof h=="string"||typeof h=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{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:o,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:h=>typeof h=="string"||typeof h=="object",cliName:"plugin",cliCategory:i},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:o,description:t(za||(za=Bt([`
Custom directory that contains prettier plugins in node_modules subdirectory.
Overrides default behavior when plugins are searched relatively to the location of Prettier.
Multiple values are accepted.
`]))),exception:h=>typeof h=="string"||typeof h=="object",cliName:"plugin-search-dir",cliCategory:i},printWidth:{since:"0.0.0",category:o,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:D,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:t(Xa||(Xa=Bt([`
Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.
This option cannot be used with --cursor-offset.
`]))),cliCategory:l},rangeStart:{since:"1.4.0",category:D,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:t(Ka||(Ka=Bt([`
Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.
This option cannot be used with --cursor-offset.
`]))),cliCategory:l},requirePragma:{since:"1.7.0",category:D,type:"boolean",default:!1,description:t(Ya||(Ya=Bt([`
Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.
`]))),cliCategory:n},tabWidth:{type:"int",category:o,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:o,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:o,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."}]}};s.exports={CATEGORY_CONFIG:i,CATEGORY_EDITOR:l,CATEGORY_FORMAT:u,CATEGORY_OTHER:n,CATEGORY_OUTPUT:a,CATEGORY_GLOBAL:o,CATEGORY_SPECIAL:D,options:F}}}),wn=Z({"src/main/support.js"(e,s){"use strict";ae();var t={compare:Nn(),lt:Zf(),gte:eD()},i=tD(),l=si().version,u=nD().options;function n(){let{plugins:o=[],showUnreleased:D=!1,showDeprecated:F=!1,showInternal:h=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},v=l.split("-",1)[0],p=o.flatMap(b=>b.languages||[]).filter(E),m=i(Object.assign({},...o.map(b=>{let{options:T}=b;return T}),u),"name").filter(b=>E(b)&&w(b)).sort((b,T)=>b.name===T.name?0:b.name<T.name?-1:1).map(N).map(b=>{b=Object.assign({},b),Array.isArray(b.default)&&(b.default=b.default.length===1?b.default[0].value:b.default.filter(E).sort((S,P)=>t.compare(P.since,S.since))[0].value),Array.isArray(b.choices)&&(b.choices=b.choices.filter(S=>E(S)&&w(S)),b.name==="parser"&&a(b,p,o));let T=Object.fromEntries(o.filter(S=>S.defaultOptions&&S.defaultOptions[b.name]!==void 0).map(S=>[S.name,S.defaultOptions[b.name]]));return Object.assign(Object.assign({},b),{},{pluginDefaults:T})});return{languages:p,options:m};function E(b){return D||!("since"in b)||b.since&&t.gte(v,b.since)}function w(b){return F||!("deprecated"in b)||b.deprecated&&t.lt(v,b.deprecated)}function N(b){if(h)return b;let{cliName:T,cliCategory:S,cliDescription:P}=b;return Fn(b,Lf)}}function a(o,D,F){let h=new Set(o.choices.map(v=>v.value));for(let v of D)if(v.parsers){for(let p of v.parsers)if(!h.has(p)){h.add(p);let m=F.find(w=>w.parsers&&w.parsers[p]),E=v.name;m&&m.name&&(E+=" (plugin: ".concat(m.name,")")),o.choices.push({value:p,description:E})}}}s.exports={getSupportInfo:n}}}),Pn=Z({"src/utils/is-non-empty-array.js"(e,s){"use strict";ae();function t(i){return Array.isArray(i)&&i.length>0}s.exports=t}}),Er=Z({"src/utils/text/skip.js"(e,s){"use strict";ae();function t(a){return(o,D,F)=>{let h=F&&F.backwards;if(D===!1)return!1;let{length:v}=o,p=D;for(;p>=0&&p<v;){let m=o.charAt(p);if(a instanceof RegExp){if(!a.test(m))return p}else if(!a.includes(m))return p;h?p--:p++}return p===-1||p===v?p:!1}}var i=t(/\s/),l=t(" "),u=t(",; "),n=t(/[^\n\r]/);s.exports={skipWhitespace:i,skipSpaces:l,skipToLineEnd:u,skipEverythingButNewLine:n}}}),ci=Z({"src/utils/text/skip-inline-comment.js"(e,s){"use strict";ae();function t(i,l){if(l===!1)return!1;if(i.charAt(l)==="/"&&i.charAt(l+1)==="*"){for(let u=l+2;u<i.length;++u)if(i.charAt(u)==="*"&&i.charAt(u+1)==="/")return u+2}return l}s.exports=t}}),li=Z({"src/utils/text/skip-trailing-comment.js"(e,s){"use strict";ae();var{skipEverythingButNewLine:t}=Er();function i(l,u){return u===!1?!1:l.charAt(u)==="/"&&l.charAt(u+1)==="/"?t(l,u):u}s.exports=i}}),pi=Z({"src/utils/text/skip-newline.js"(e,s){"use strict";ae();function t(i,l,u){let n=u&&u.backwards;if(l===!1)return!1;let a=i.charAt(l);if(n){if(i.charAt(l-1)==="\r"&&a===`
`)return l-2;if(a===`
`||a==="\r"||a==="\u2028"||a==="\u2029")return l-1}else{if(a==="\r"&&i.charAt(l+1)===`
`)return l+2;if(a===`
`||a==="\r"||a==="\u2028"||a==="\u2029")return l+1}return l}s.exports=t}}),uD=Z({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,s){"use strict";ae();var t=ci(),i=pi(),l=li(),{skipSpaces:u}=Er();function n(a,o){let D=null,F=o;for(;F!==D;)D=F,F=u(a,F),F=t(a,F),F=l(a,F),F=i(a,F);return F}s.exports=n}}),Ge=Z({"src/common/util.js"(e,s){"use strict";ae();var t=zf(),i=st(),{getSupportInfo:l}=wn(),u=Pn(),n=ai(),{skipWhitespace:a,skipSpaces:o,skipToLineEnd:D,skipEverythingButNewLine:F}=Er(),h=ci(),v=li(),p=pi(),m=uD(),E=W=>W[W.length-2];function w(W){return($,te,U)=>{let ne=U&&U.backwards;if(te===!1)return!1;let{length:se}=$,V=te;for(;V>=0&&V<se;){let oe=$.charAt(V);if(W instanceof RegExp){if(!W.test(oe))return V}else if(!W.includes(oe))return V;ne?V--:V++}return V===-1||V===se?V:!1}}function N(W,$){let te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},U=o(W,te.backwards?$-1:$,te),ne=p(W,U,te);return U!==ne}function b(W,$,te){for(let U=$;U<te;++U)if(W.charAt(U)===`
`)return!0;return!1}function T(W,$,te){let U=te($)-1;U=o(W,U,{backwards:!0}),U=p(W,U,{backwards:!0}),U=o(W,U,{backwards:!0});let ne=p(W,U,{backwards:!0});return U!==ne}function S(W,$){let te=null,U=$;for(;U!==te;)te=U,U=D(W,U),U=h(W,U),U=o(W,U);return U=v(W,U),U=p(W,U),U!==!1&&N(W,U)}function P(W,$,te){return S(W,te($))}function _(W,$,te){return m(W,te($))}function k(W,$,te){return W.charAt(_(W,$,te))}function A(W,$){let te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return o(W,te.backwards?$-1:$,te)!==$}function f(W,$){let te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,U=0;for(let ne=te;ne<W.length;++ne)W[ne]===" "?U=U+$-U%$:U++;return U}function d(W,$){let te=W.lastIndexOf(`
`);return te===-1?0:f(W.slice(te+1).match(/^[\t ]*/)[0],$)}function c(W,$){let te={quote:'"',regex:/"/g,escaped:"&quot;"},U={quote:"'",regex:/'/g,escaped:"&apos;"},ne=$==="'"?U:te,se=ne===U?te:U,V=ne;if(W.includes(ne.quote)||W.includes(se.quote)){let oe=(W.match(ne.regex)||[]).length,K=(W.match(se.regex)||[]).length;V=oe>K?se:ne}return V}function r(W,$){let te=W.slice(1,-1),U=$.parser==="json"||$.parser==="json5"&&$.quoteProps==="preserve"&&!$.singleQuote?'"':$.__isInHtmlAttribute?"'":c(te,$.singleQuote?"'":'"').quote;return y(te,U,!($.parser==="css"||$.parser==="less"||$.parser==="scss"||$.__embeddedInHtml))}function y(W,$,te){let U=$==='"'?"'":'"',ne=/\\(.)|(["'])/gs,se=W.replace(ne,(V,oe,K)=>oe===U?oe:K===$?"\\"+K:K||(te&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(oe)?oe:"\\"+oe));return $+se+$}function g(W){return W.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function C(W,$){let te=W.match(new RegExp("(".concat(t($),")+"),"g"));return te===null?0:te.reduce((U,ne)=>Math.max(U,ne.length/$.length),0)}function x(W,$){let te=W.match(new RegExp("(".concat(t($),")+"),"g"));if(te===null)return 0;let U=new Map,ne=0;for(let se of te){let V=se.length/$.length;U.set(V,!0),V>ne&&(ne=V)}for(let se=1;se<ne;se++)if(!U.get(se))return se;return ne+1}function B(W,$){(W.comments||(W.comments=[])).push($),$.printed=!1,$.nodeDescription=ee(W)}function L(W,$){$.leading=!0,$.trailing=!1,B(W,$)}function M(W,$,te){$.leading=!1,$.trailing=!1,te&&($.marker=te),B(W,$)}function O(W,$){$.leading=!1,$.trailing=!0,B(W,$)}function H(W,$){let{languages:te}=l({plugins:$.plugins}),U=te.find(ne=>{let{name:se}=ne;return se.toLowerCase()===W})||te.find(ne=>{let{aliases:se}=ne;return Array.isArray(se)&&se.includes(W)})||te.find(ne=>{let{extensions:se}=ne;return Array.isArray(se)&&se.includes(".".concat(W))});return U&&U.parsers[0]}function I(W){return W&&W.type==="front-matter"}function G(W){let $=new WeakMap;return function(te){return $.has(te)||$.set(te,Symbol(W)),$.get(te)}}function ee(W){let $=W.type||W.kind||"(unknown type)",te=String(W.name||W.id&&(typeof W.id=="object"?W.id.name:W.id)||W.key&&(typeof W.key=="object"?W.key.name:W.key)||W.value&&(typeof W.value=="object"?"":String(W.value))||W.operator||"");return te.length>20&&(te=te.slice(0,19)+"\u2026"),$+(te?" "+te:"")}s.exports={inferParserByLanguage:H,getStringWidth:n,getMaxContinuousCount:C,getMinNotPresentContinuousCount:x,getPenultimate:E,getLast:i,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:m,getNextNonSpaceNonCommentCharacterIndex:_,getNextNonSpaceNonCommentCharacter:k,skip:w,skipWhitespace:a,skipSpaces:o,skipToLineEnd:D,skipEverythingButNewLine:F,skipInlineComment:h,skipTrailingComment:v,skipNewline:p,isNextLineEmptyAfterIndex:S,isNextLineEmpty:P,isPreviousLineEmpty:T,hasNewline:N,hasNewlineInRange:b,hasSpaces:A,getAlignmentSize:f,getIndentSize:d,getPreferredQuote:c,printString:r,printNumber:g,makeString:y,addLeadingComment:L,addDanglingComment:M,addTrailingComment:O,isFrontMatterNode:I,isNonEmptyArray:u,createGroupIdMapper:G}}}),fi={};ni(fi,{basename:()=>yi,default:()=>Ci,delimiter:()=>hn,dirname:()=>gi,extname:()=>hi,isAbsolute:()=>In,join:()=>mi,normalize:()=>_n,relative:()=>di,resolve:()=>Cr,sep:()=>yn});function Di(e,s){for(var t=0,i=e.length-1;i>=0;i--){var l=e[i];l==="."?e.splice(i,1):l===".."?(e.splice(i,1),t++):t&&(e.splice(i,1),t--)}if(s)for(;t--;t)e.unshift("..");return e}function Cr(){for(var e="",s=!1,t=arguments.length-1;t>=-1&&!s;t--){var i=t>=0?arguments[t]:"/";if(typeof i!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!i)continue;e=i+"/"+e,s=i.charAt(0)==="/"}return e=Di(kn(e.split("/"),function(l){return!!l}),!s).join("/"),(s?"/":"")+e||"."}function _n(e){var s=In(e),t=Ei(e,-1)==="/";return e=Di(kn(e.split("/"),function(i){return!!i}),!s).join("/"),!e&&!s&&(e="."),e&&t&&(e+="/"),(s?"/":"")+e}function In(e){return e.charAt(0)==="/"}function mi(){var e=Array.prototype.slice.call(argume
`,m(p.gutter,c.replace(/\d/g," "))," ",C,m(p.marker,"^").repeat(x)].join(""),y&&F.message&&(g+=" "+m(p.message,F.message))}return[m(p.marker,">"),m(p.gutter,c),k.length>0?" ".concat(k):"",g].join("")}else return" ".concat(m(p.gutter,c)).concat(k.length>0?" ".concat(k):"")}).join(`
`);return F.message&&!T&&(_="".concat(" ".repeat(S+1)).concat(F.message,`
`).concat(_)),h?v.reset(_):_}function a(o,D,F){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!t){t=!0;let p="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(mt.emitWarning)mt.emitWarning(p,"DeprecationWarning");else{let m=new Error(p);m.name="DeprecationWarning",console.warn(new Error(p))}}return F=Math.max(F,0),n(o,{start:{column:F,line:D}},h)}}}),jn=Z({"src/main/parser.js"(e,s){"use strict";ae();var t=vi(),{ConfigError:i}=Wt(),l=nt(),{locStart:u,locEnd:n}=l,a=Object.getOwnPropertyNames,o=Object.getOwnPropertyDescriptor;function D(v){let p={};for(let m of v.plugins)if(!!m.parsers)for(let E of a(m.parsers))Object.defineProperty(p,E,o(m.parsers,E));return p}function F(v){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D(v);if(typeof v.parser=="function")return{parse:v.parser,astFormat:"estree",locStart:u,locEnd:n};if(typeof v.parser=="string"){if(Object.prototype.hasOwnProperty.call(p,v.parser))return p[v.parser];throw new i(`Couldn't resolve parser "`.concat(v.parser,'". Parsers must be explicitly added to the standalone bundle.'));try{return{parse:Vf(t.resolve(mt.cwd(),v.parser)),astFormat:"estree",locStart:u,locEnd:n}}catch{throw new i(`Couldn't resolve parser "`.concat(v.parser,'"'))}}}function h(v,p){let m=D(p),E=Object.defineProperties({},Object.fromEntries(Object.keys(m).map(N=>[N,{enumerable:!0,get(){return m[N].parse}}]))),w=F(p,m);try{return w.preprocess&&(v=w.preprocess(v,p)),{text:v,ast:w.parse(v,E,p)}}catch(N){let{loc:b}=N;if(b){let{codeFrameColumns:T}=bD();throw N.codeFrame=T(v,b,{highlightCode:!0}),N.message+=`
`+N.codeFrame,N}throw N.stack}}s.exports={parse:h,resolveParser:F}}}),Ti=Z({"src/main/options.js"(e,s){"use strict";ae();var t=vi(),{UndefinedParserError:i}=Wt(),{getSupportInfo:l}=wn(),u=AD(),{resolveParser:n}=jn(),a={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function o(h){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=Object.assign({},h),m=l({plugins:h.plugins,showUnreleased:!0,showDeprecated:!0}).options,E=Object.assign(Object.assign({},a),Object.fromEntries(m.filter(S=>S.default!==void 0).map(S=>[S.name,S.default])));if(!p.parser){if(!p.filepath)(v.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."),p.parser="babel";else if(p.parser=F(p.filepath,p.plugins),!p.parser)throw new i("No parser could be inferred for file: ".concat(p.filepath))}let w=n(u.normalizeApiOptions(p,[m.find(S=>S.name==="parser")],{passThrough:!0,logger:!1}));p.astFormat=w.astFormat,p.locEnd=w.locEnd,p.locStart=w.locStart;let N=D(p);p.printer=N.printers[p.astFormat];let b=Object.fromEntries(m.filter(S=>S.pluginDefaults&&S.pluginDefaults[N.name]!==void 0).map(S=>[S.name,S.pluginDefaults[N.name]])),T=Object.assign(Object.assign({},E),b);for(let[S,P]of Object.entries(T))(p[S]===null||p[S]===void 0)&&(p[S]=P);return p.parser==="json"&&(p.trailingComma="none"),u.normalizeApiOptions(p,m,Object.assign({passThrough:Object.keys(a)},v))}function D(h){let{astFormat:v}=h;if(!v)throw new Error("getPlugin() requires astFormat to be set");let p=h.plugins.find(m=>m.printers&&m.printers[v]);if(!p)throw new Error(`Couldn't find plugin for AST format "`.concat(v,'"'));return p}function F(h,v){let p=t.basename(h).toLowerCase(),E=l({plugins:v}).languages.filter(w=>w.since!==null).find(w=>w.extensions&&w.extensions.some(N=>p.endsWith(N))||w.filenames&&w.filenames.some(N=>N.toLowerCase()===p));return E&&E.parsers[0]}s.exports={normalize:o,hiddenDefaults:a,inferParser:F}}}),xD=Z({"src/main/massage-ast.js"(e,s){"use strict";ae();function t(i,l,u){if(Array.isArray(i))return i.map(D=>t(D,l,u)).filter(Boolean);if(!i||typeof i!="object")return i;let n=l.printer.massageAstNode,a;n&&n.ignoredProperties?a=n.ignoredProperties:a=new Set;let o={};for(let[D,F]of Object.entries(i))!a.has(D)&&typeof F!="function"&&(o[D]=t(F,l,i));if(n){let D=n(i,o,u);if(D===null)return;if(D)return D}return o}s.exports=t}}),$t=Z({"scripts/build/shims/assert.cjs"(e,s){"use strict";ae();var t=()=>{};t.ok=t,t.strictEqual=t,s.exports=t}}),Qe=Z({"src/main/comments.js"(e,s){"use strict";ae();var t=$t(),{builders:{line:i,hardline:l,breakParent:u,indent:n,lineSuffix:a,join:o,cursor:D}}=Le(),{hasNewline:F,skipNewline:h,skipSpaces:v,isPreviousLineEmpty:p,addLeadingComment:m,addDanglingComment:E,addTrailingComment:w}=Ge(),N=new WeakMap;function b(L,M,O){if(!L)return;let{printer:H,locStart:I,locEnd:G}=M;if(O){if(H.canAttachComment&&H.canAttachComment(L)){let W;for(W=O.length-1;W>=0&&!(I(O[W])<=I(L)&&G(O[W])<=G(L));--W);O.splice(W+1,0,L);return}}else if(N.has(L))return N.get(L);let ee=H.getCommentChildNodes&&H.getCommentChildNodes(L,M)||typeof L=="object"&&Object.entries(L).filter(W=>{let[$]=W;return $!=="enclosingNode"&&$!=="precedingNode"&&$!=="followingNode"&&$!=="tokens"&&$!=="comments"&&$!=="parent"}).map(W=>{let[,$]=W;return $});if(!!ee){O||(O=[],N.set(L,O));for(let W of ee)b(W,M,O);return O}}function T(L,M,O,H){let{locStart:I,locEnd:G}=O,ee=I(M),W=G(M),$=b(L,O),te,U,ne=0,se=$.length;for(;ne<se;){let V=ne+se>>1,oe=$[V],K=I(oe),Ee=G(oe);if(K<=ee&&W<=Ee)return T(oe,M,O,oe);if(Ee<=ee){te=oe,ne=V+1;continue}if(W<=K){U=oe,se=V;continue}throw new Error("Comment location overlaps with node location")}if(H&&H.type==="TemplateLiteral"){let{quasis:V}=H,oe=c(V,M,O);te&&c(V,te,O)!==oe&&(te=null),U&&c(V,U,O)!==oe&&(U=null)}return{enclosingNode:H,precedingNode:te,followingNode:U}}var S=()=>!1;function P(L,M,O,H){if(!Array.isArray(L))return;let I=[],{locStart:G,locEnd:ee,printer:{handleComments:W={}}}=H,{avoidAstMutation:$,ownLine:t
`,g)+1),L=y.slice(B,g).match(/^\s*/)[0],M=u(L,c.tabWidth),O=T(x,Object.assign(Object.assign({},c),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:c.cursorOffset>g&&c.cursorOffset<=C?c.cursorOffset-g:-1,endOfLine:"lf"}),M),H=O.formatted.trimEnd(),{cursorOffset:I}=c;I>C?I+=H.length-x.length:O.cursorOffset>=0&&(I=O.cursorOffset+g);let G=y.slice(0,g)+H+y.slice(C);if(c.endOfLine!=="lf"){let ee=a(c.endOfLine);I>=0&&ee===`\r
`&&(I+=o(G.slice(0,I),`
`)),G=G.replace(/\n/g,ee)}return{formatted:G,cursorOffset:I,comments:O.comments}}function P(d,c,r){return typeof c!="number"||Number.isNaN(c)||c<0||c>d.length?r:c}function _(d,c){let{cursorOffset:r,rangeStart:y,rangeEnd:g}=c;return r=P(d,r,-1),y=P(d,y,0),g=P(d,g,d.length),Object.assign(Object.assign({},c),{},{cursorOffset:r,rangeStart:y,rangeEnd:g})}function k(d,c){let{cursorOffset:r,rangeStart:y,rangeEnd:g,endOfLine:C}=_(d,c),x=d.charAt(0)===w;if(x&&(d=d.slice(1),r--,y--,g--),C==="auto"&&(C=n(d)),d.includes("\r")){let B=L=>o(d.slice(0,Math.max(L,0)),`\r
`);r-=B(r),y-=B(y),g-=B(g),d=D(d)}return{hasBOM:x,text:d,options:_(d,Object.assign(Object.assign({},c),{},{cursorOffset:r,rangeStart:y,rangeEnd:g,endOfLine:C}))}}function A(d,c){let r=p.resolveParser(c);return!r.hasPragma||r.hasPragma(d)}function f(d,c){let{hasBOM:r,text:y,options:g}=k(d,F(c));if(g.rangeStart>=g.rangeEnd&&y!==""||g.requirePragma&&!A(y,g))return{formatted:d,cursorOffset:c.cursorOffset,comments:[]};let C;return g.rangeStart>0||g.rangeEnd<y.length?C=S(y,g):(!g.requirePragma&&g.insertPragma&&g.printer.insertPragma&&!A(y,g)&&(y=g.printer.insertPragma(y)),C=T(y,g)),r&&(C.formatted=w+C.formatted,C.cursorOffset>=0&&C.cursorOffset++),C}s.exports={formatWithCursor:f,parse(d,c,r){let{text:y,options:g}=k(d,F(c)),C=p.parse(y,g);return r&&(C.ast=h(C.ast,g)),C},formatAST(d,c){c=F(c);let r=m(d,c);return i(r,c)},formatDoc(d,c){return f(l(d),Object.assign(Object.assign({},c),{},{parser:"__js_expression"})).formatted},printToDoc(d,c){c=F(c);let{ast:r,text:y}=p.parse(d,c);return b(y,r,c),m(r,c)},printDocToString(d,c){return i(d,F(c))}}}}),_D=Z({"src/common/util-shared.js"(e,s){"use strict";ae();var{getMaxContinuousCount:t,getStringWidth:i,getAlignmentSize:l,getIndentSize:u,skip:n,skipWhitespace:a,skipSpaces:o,skipNewline:D,skipToLineEnd:F,skipEverythingButNewLine:h,skipInlineComment:v,skipTrailingComment:p,hasNewline:m,hasNewlineInRange:E,hasSpaces:w,isNextLineEmpty:N,isNextLineEmptyAfterIndex:b,isPreviousLineEmpty:T,getNextNonSpaceNonCommentCharacterIndex:S,makeString:P,addLeadingComment:_,addDanglingComment:k,addTrailingComment:A}=Ge();s.exports={getMaxContinuousCount:t,getStringWidth:i,getAlignmentSize:l,getIndentSize:u,skip:n,skipWhitespace:a,skipSpaces:o,skipNewline:D,skipToLineEnd:F,skipEverythingButNewLine:h,skipInlineComment:v,skipTrailingComment:p,hasNewline:m,hasNewlineInRange:E,hasSpaces:w,isNextLineEmpty:N,isNextLineEmptyAfterIndex:b,isPreviousLineEmpty:T,getNextNonSpaceNonCommentCharacterIndex:S,makeString:P,addLeadingComment:_,addDanglingComment:k,addTrailingComment:A}}}),St=Z({"src/utils/create-language.js"(e,s){"use strict";ae(),s.exports=function(t,i){let{languageId:l}=t,u=Fn(t,Of);return Object.assign(Object.assign({linguistLanguageId:l},u),i(t))}}}),ID=Z({"node_modules/esutils/lib/ast.js"(e,s){ae(),function(){"use strict";function t(o){if(o==null)return!1;switch(o.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}function i(o){if(o==null)return!1;switch(o.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function l(o){if(o==null)return!1;switch(o.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 u(o){return l(o)||o!=null&&o.type==="FunctionDeclaration"}function n(o){switch(o.type){case"IfStatement":return o.alternate!=null?o.alternate:o.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return o.body}return null}function a(o){var D;if(o.type!=="IfStatement"||o.alternate==null)return!1;D=o.consequent;do{if(D.type==="IfStatement"&&D.alternate==null)return!0;D=n(D)}while(D);return!1}s.exports={isExpression:t,isStatement:l,isIterationStatement:i,isSourceElement:u,isProblematicIfStatement:a,trailingStatement:n}}()}}),Bi=Z({"node_modules/esutils/lib/code.js"(e,s){ae(),function(){"use strict";var t,i,l,u,n,a;i={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\
`))}function fe(j,De){return(j.type==="TemplateLiteral"&&we(j)||j.type==="TaggedTemplateExpression"&&we(j.quasi))&&!l(De,D(j),{backwards:!0})}function pe(j){if(!Me(j))return!1;let De=i(qe(j,_e.Dangling));return De&&!v(De)}function me(j){if(j.length<=1)return!1;let De=0;for(let ke of j)if(C(ke)){if(De+=1,De>1)return!0}else if(Ee(ke)){for(let We of ke.arguments)if(C(We))return!0}return!1}function ce(j){let De=j.getValue(),ke=j.getParentNode();return Ee(De)&&Ee(ke)&&ke.callee===De&&De.arguments.length>ke.arguments.length&&ke.arguments.length>0}function he(j,De){if(De>=2)return!1;let ke=Ve=>he(Ve,De+1),We=j.type==="Literal"&&"regex"in j&&j.regex.pattern||j.type==="RegExpLiteral"&&j.pattern;return We&&o(We)>5?!1:j.type==="Literal"||j.type==="BigIntLiteral"||j.type==="DecimalLiteral"||j.type==="BooleanLiteral"||j.type==="NullLiteral"||j.type==="NumericLiteral"||j.type==="RegExpLiteral"||j.type==="StringLiteral"||j.type==="Identifier"||j.type==="ThisExpression"||j.type==="Super"||j.type==="PrivateName"||j.type==="PrivateIdentifier"||j.type==="ArgumentPlaceholder"||j.type==="Import"?!0:j.type==="TemplateLiteral"?j.quasis.every(Ve=>!Ve.value.raw.includes(`
`))&&j.expressions.every(ke):j.type==="ObjectExpression"?j.properties.every(Ve=>!Ve.computed&&(Ve.shorthand||Ve.value&&ke(Ve.value))):j.type==="ArrayExpression"?j.elements.every(Ve=>Ve===null||ke(Ve)):rt(j)?(j.type==="ImportExpression"||he(j.callee,De))&&Te(j).every(ke):R(j)?he(j.object,De)&&he(j.property,De):j.type==="UnaryExpression"&&(j.operator==="!"||j.operator==="-")?he(j.argument,De):j.type==="TSNonNullExpression"?he(j.expression,De):!1}function J(j){return j.extra?j.extra.raw:j.raw}function ye(j){return j}function X(j){return j.filepath&&/\.tsx$/i.test(j.filepath)}function Y(j){let De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return j.trailingComma==="es5"&&De==="es5"||j.trailingComma==="all"&&(De==="all"||De==="es5")}function re(j,De){switch(j=tt(j),j.type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return De;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return re(j.object,De);case"TaggedTemplateExpression":return j.tag.type==="FunctionExpression"?!1:re(j.tag,De);case"CallExpression":case"OptionalCallExpression":return j.callee.type==="FunctionExpression"?!1:re(j.callee,De);case"ConditionalExpression":return re(j.test,De);case"UpdateExpression":return!j.prefix&&re(j.argument,De);case"BindExpression":return j.object&&re(j.object,De);case"SequenceExpression":return re(j.expressions[0],De);case"TSAsExpression":case"TSNonNullExpression":return re(j.expression,De);default:return!1}}var z={"==":!0,"!=":!0,"===":!0,"!==":!0},q={"*":!0,"/":!0,"%":!0},Ce={">>":!0,">>>":!0,"<<":!0};function Ne(j,De){return!(Ue(De)!==Ue(j)||j==="**"||z[j]&&z[De]||De==="%"&&q[j]||j==="%"&&q[De]||De!==j&&q[De]&&q[j]||Ce[j]&&Ce[De])}var Oe={};for(let[j,De]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(let ke of De)Oe[ke]=j;function Ue(j){return Oe[j]}function tt(j){for(;j.left;)j=j.left;return j}function xe(j){return Boolean(Ce[j])||j==="|"||j==="^"||j==="&"}function Pe(j){if(j.rest)return!0;let De=Ke(j);return De.length>0&&i(De).type==="RestElement"}var Fe=new WeakMap;function Ke(j){if(Fe.has(j))return Fe.get(j);let De=[];return j.this&&De.push(j.this),Array.isArray(j.parameters)?De.push(...j.parameters):Array.isArray(j.params)&&De.push(...j.params),j.rest&&De.push(j.rest),Fe.set(j,De),De}function Se(j,De){let ke=j.getValue(),We=0,Ve=ut=>De(ut,We++);ke.this&&j.call(Ve,"this"),Array.isArray(ke.parameters)?j.each(Ve,"parameters"):Array.isArray(ke.params)&&j.each(Ve,"params"),ke.rest&&j.call(Ve,"rest")}var ze=new WeakMap;function Te(j){if(ze.has(j))return ze.get(j);let De=j.arguments;return j.type==="ImportExpression"&&(De=[j.source],j.attributes&&De.push(j.attributes)),ze.set(j,De),De}function Ie(j,De){let ke=j.getValue();ke.type==="ImportExpression"?(j.call(We=>De(We,0),"source"),ke.attributes&&j.call(We=>De(We,1),"attributes")):j.each(De,"arguments")}function Re(j){return j.value.trim()==="prettier-ignore"&&!j.unignore}function Ae(j){return j&&(j.prettierIgnore||Me(j,_e.PrettierIgnore))}function je(j){let De=j.getValue();return Ae(De)}var _e={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},ie=(j,De)=>{if(typeof j=="function"&&(De=j,j=0),j||De)return(ke,We,Ve)=>!(j&_e.Leading&&!ke.leading||j&_e.Trailing&&!ke.trailing||j&_e.Dangling&&(ke.leading||ke.trailing)||j&_e.Block&&!v(ke)||j&_e.Line&&!_(ke)||j&_e.First&&We!==0||j&_e.Last&&We!==Ve.length-1||j&_e.PrettierIgnore&&!Re(ke)||De&&!De(ke))};function Me(j,De,ke){if(!j||!n(j.comments))return!1;let We=ie(De,ke);return We?j.comments.some(We):!0}function qe(j,De,ke){if(!j||!Array.isArray(j.comments))return[];let We=ie(De,ke);return We?j.comments.filter(We):j.comments}var Je=(j,De)=>{let{originalText:ke}=De;return a(ke,F(j))};function rt(j){return Ee(j)||j.type==="NewExpression"||j.type==="ImportExpression"}function Ze(j){return j&&(j.type==="ObjectProperty"||j.type==="Property"&&!j.method&&j.kind==="init")}function ct(j){return Boolean(j
`)?F(Number.NEGATIVE_INFINITY,ee):v(ee,G,H);x.push(o(["${",W,h,"}"]))}},"quasis"),x.push("`"),x}function P(d,c,r){let y=d.getNode(),g=y.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(g.length>1||g.some(C=>C.length>0)){c.__inJestEach=!0;let C=d.map(r,"expressions");c.__inJestEach=!1;let x=[],B=C.map(I=>"${"+p(I,Object.assign(Object.assign({},c),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),L=[{hasLineBreak:!1,cells:[]}];for(let I=1;I<y.quasis.length;I++){let G=t(L),ee=B[I-1];G.cells.push(ee),ee.includes(`
`)&&(G.hasLineBreak=!0),y.quasis[I].value.raw.includes(`
`)&&L.push({hasLineBreak:!1,cells:[]})}let M=Math.max(g.length,...L.map(I=>I.cells.length)),O=Array.from({length:M}).fill(0),H=[{cells:g},...L.filter(I=>I.cells.length>0)];for(let{cells:I}of H.filter(G=>!G.hasLineBreak))for(let[G,ee]of I.entries())O[G]=Math.max(O[G],i(ee));return x.push(h,"`",D([n,u(n,H.map(I=>u(" | ",I.cells.map((G,ee)=>I.hasLineBreak?G:G+" ".repeat(O[ee]-i(G))))))]),n,"`"),x}}function _(d,c){let r=d.getValue(),y=c();return b(r)&&(y=o([D([a,y]),a])),["${",y,h,"}"]}function k(d,c){return d.map(r=>_(r,c),"expressions")}function A(d,c){return m(d,r=>typeof r=="string"?c?r.replace(/(\\*)`/g,"$1$1\\`"):f(r):r)}function f(d){return d.replace(/([\\`]|\${)/g,"\\$1")}s.exports={printTemplateLiteral:S,printTemplateExpressions:k,escapeTemplateCharacters:A,uncookTemplateElementValue:f}}}),jD=Z({"src/language-js/embed/markdown.js"(e,s){"use strict";ae();var{builders:{indent:t,softline:i,literalline:l,dedentToRoot:u}}=Le(),{escapeTemplateCharacters:n}=wt();function a(D,F,h){let p=D.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(N,b)=>"\\".repeat(b.length/2)+"`"),m=o(p),E=m!=="";E&&(p=p.replace(new RegExp("^".concat(m),"gm"),""));let w=n(h(p,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",E?t([i,w]):[l,u(w)],i,"`"]}function o(D){let F=D.match(/^([^\S\n]*)\S/m);return F===null?"":F[1]}s.exports=a}}),OD=Z({"src/language-js/embed/css.js"(e,s){"use strict";ae();var{isNonEmptyArray:t}=Ge(),{builders:{indent:i,hardline:l,softline:u},utils:{mapDoc:n,replaceEndOfLine:a,cleanDoc:o}}=Le(),{printTemplateExpressions:D}=wt();function F(p,m,E){let w=p.getValue(),N=w.quasis.map(_=>_.value.raw),b=0,T=N.reduce((_,k,A)=>A===0?k:_+"@prettier-placeholder-"+b+++"-id"+k,""),S=E(T,{parser:"scss"},{stripTrailingHardline:!0}),P=D(p,m);return h(S,w,P)}function h(p,m,E){if(m.quasis.length===1&&!m.quasis[0].value.raw.trim())return"``";let N=v(p,E);if(!N)throw new Error("Couldn't insert all the expressions");return["`",i([l,N]),u,"`"]}function v(p,m){if(!t(m))return p;let E=0,w=n(o(p),N=>typeof N!="string"||!N.includes("@prettier-placeholder")?N:N.split(/@prettier-placeholder-(\d+)-id/).map((b,T)=>T%2===0?a(b):(E++,m[b])));return m.length===E?w:null}s.exports=F}}),qD=Z({"src/language-js/embed/graphql.js"(e,s){"use strict";ae();var{builders:{indent:t,join:i,hardline:l}}=Le(),{escapeTemplateCharacters:u,printTemplateExpressions:n}=wt();function a(D,F,h){let v=D.getValue(),p=v.quasis.length;if(p===1&&v.quasis[0].value.raw.trim()==="")return"``";let m=n(D,F),E=[];for(let w=0;w<p;w++){let N=v.quasis[w],b=w===0,T=w===p-1,S=N.value.cooked,P=S.split(`
`),_=P.length,k=m[w],A=_>2&&P[0].trim()===""&&P[1].trim()==="",f=_>2&&P[_-1].trim()===""&&P[_-2].trim()==="",d=P.every(r=>/^\s*(?:#[^\n\r]*)?$/.test(r));if(!T&&/#[^\n\r]*$/.test(P[_-1]))return null;let c=null;d?c=o(P):c=h(S,{parser:"graphql"},{stripTrailingHardline:!0}),c?(c=u(c,!1),!b&&A&&E.push(""),E.push(c),!T&&f&&E.push("")):!b&&!T&&A&&E.push(""),k&&E.push(k)}return["`",t([l,i(l,E)]),l,"`"]}function o(D){let F=[],h=!1,v=D.map(p=>p.trim());for(let[p,m]of v.entries())m!==""&&(v[p-1]===""&&h?F.push([l,m]):F.push(m),h=!0);return F.length===0?null:i(l,F)}s.exports=a}}),MD=Z({"src/language-js/embed/html.js"(e,s){"use strict";ae();var{builders:{indent:t,line:i,hardline:l,group:u},utils:{mapDoc:n}}=Le(),{printTemplateExpressions:a,uncookTemplateElementValue:o}=wt(),D=0;function F(h,v,p,m,E){let{parser:w}=E,N=h.getValue(),b=D;D=D+1>>>0;let T=y=>"PRETTIER_HTML_PLACEHOLDER_".concat(y,"_").concat(b,"_IN_JS"),S=N.quasis.map((y,g,C)=>g===C.length-1?y.value.cooked:y.value.cooked+T(g)).join(""),P=a(h,v);if(P.length===0&&S.trim().length===0)return"``";let _=new RegExp(T("(\\d+)"),"g"),k=0,A=p(S,{parser:w,__onHtmlRoot(y){k=y.children.length}},{stripTrailingHardline:!0}),f=n(A,y=>{if(typeof y!="string")return y;let g=[],C=y.split(_);for(let x=0;x<C.length;x++){let B=C[x];if(x%2===0){B&&(B=o(B),m.__embeddedInHtml&&(B=B.replace(/<\/(script)\b/gi,"<\\/$1")),g.push(B));continue}let L=Number(B);g.push(P[L])}return g}),d=/^\s/.test(S)?" ":"",c=/\s$/.test(S)?" ":"",r=m.htmlWhitespaceSensitivity==="ignore"?l:d&&c?i:null;return u(r?["`",t([r,u(f)]),r,"`"]:["`",d,k>1?t(u(f)):u(f),c,"`"])}s.exports=F}}),RD=Z({"src/language-js/embed.js"(e,s){"use strict";ae();var{hasComment:t,CommentCheckFlags:i,isObjectProperty:l}=Xe(),u=jD(),n=OD(),a=qD(),o=MD();function D(A){if(v(A)||w(A)||N(A)||p(A))return"css";if(S(A))return"graphql";if(_(A))return"html";if(m(A))return"angular";if(h(A))return"markdown"}function F(A,f,d,c){let r=A.getValue();if(r.type!=="TemplateLiteral"||k(r))return;let y=D(A);if(!!y){if(y==="markdown")return u(A,f,d);if(y==="css")return n(A,f,d);if(y==="graphql")return a(A,f,d);if(y==="html"||y==="angular")return o(A,f,d,c,{parser:y})}}function h(A){let f=A.getValue(),d=A.getParentNode();return d&&d.type==="TaggedTemplateExpression"&&f.quasis.length===1&&d.tag.type==="Identifier"&&(d.tag.name==="md"||d.tag.name==="markdown")}function v(A){let f=A.getValue(),d=A.getParentNode(),c=A.getParentNode(1);return c&&f.quasis&&d.type==="JSXExpressionContainer"&&c.type==="JSXElement"&&c.openingElement.name.name==="style"&&c.openingElement.attributes.some(r=>r.name.name==="jsx")||d&&d.type==="TaggedTemplateExpression"&&d.tag.type==="Identifier"&&d.tag.name==="css"||d&&d.type==="TaggedTemplateExpression"&&d.tag.type==="MemberExpression"&&d.tag.object.name==="css"&&(d.tag.property.name==="global"||d.tag.property.name==="resolve")}function p(A){return A.match(f=>f.type==="TemplateLiteral",(f,d)=>f.type==="ArrayExpression"&&d==="elements",(f,d)=>l(f)&&f.key.type==="Identifier"&&f.key.name==="styles"&&d==="value",...E)}function m(A){return A.match(f=>f.type==="TemplateLiteral",(f,d)=>l(f)&&f.key.type==="Identifier"&&f.key.name==="template"&&d==="value",...E)}var E=[(A,f)=>A.type==="ObjectExpression"&&f==="properties",(A,f)=>A.type==="CallExpression"&&A.callee.type==="Identifier"&&A.callee.name==="Component"&&f==="arguments",(A,f)=>A.type==="Decorator"&&f==="expression"];function w(A){let f=A.getParentNode();if(!f||f.type!=="TaggedTemplateExpression")return!1;let d=f.tag.type==="ParenthesizedExpression"?f.tag.expression:f.tag;switch(d.type){case"MemberExpression":return b(d.object)||T(d);case"CallExpression":return b(d.callee)||d.callee.type==="MemberExpression"&&(d.callee.object.type==="MemberExpression"&&(b(d.callee.object.object)||T(d.callee.object))||d.callee.object.type==="CallExpression"&&b(d.callee.object.callee));case"Identifier":return d.name==="css";default:return!1}}function N(A){let f=A.getParentNode(),d=A.getParentNode(1);return d&&f.type==="JSXExpressionContainer"&&d.type==="JSXAttribute"&&d.name.type==="JSXIdentifier"&&d.name.name==="css"}func
`,Vi={EOL:vn,tmpdir:En,tmpDir:Cn,networkInterfaces:Mi,getNetworkInterfaces:Ri,release:qi,type:Oi,cpus:ji,totalmem:Li,freemem:ki,uptime:Ii,loadavg:_i,hostname:Pi,endianness:wi}}}),GD=Z({"node-modules-polyfills-commonjs:os"(e,s){ae();var t=(HD(),ui(Ni));if(t&&t.default){s.exports=t.default;for(let i in t)s.exports[i]=t[i]}else t&&(s.exports=t)}}),JD=Z({"node_modules/detect-newline/index.js"(e,s){"use strict";ae();var t=i=>{if(typeof i!="string")throw new TypeError("Expected a string");let l=i.match(/(?:\r?\n)/g)||[];if(l.length===0)return;let u=l.filter(a=>a===`\r
`).length,n=l.length-u;return u>n?`\r
`:`
`};s.exports=t,s.exports.graceful=i=>typeof i=="string"&&t(i)||`
`}}),UD=Z({"node_modules/jest-docblock/build/index.js"(e){"use strict";ae(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=p,e.parse=E,e.parseWithComments=w,e.print=N,e.strip=m;function s(){let T=GD();return s=function(){return T},T}function t(){let T=i(JD());return t=function(){return T},T}function i(T){return T&&T.__esModule?T:{default:T}}var l=/\*\/$/,u=/^\/\*\*/,n=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,a=/(^|\s+)\/\/([^\r\n]*)/g,o=/^(\r?\n)+/,D=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,F=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,h=/(\r?\n|^) *\* ?/g,v=[];function p(T){let S=T.match(n);return S?S[0].trimLeft():""}function m(T){let S=T.match(n);return S&&S[0]?T.substring(S[0].length):T}function E(T){return w(T).pragmas}function w(T){let S=(0,t().default)(T)||s().EOL;T=T.replace(u,"").replace(l,"").replace(h,"$1");let P="";for(;P!==T;)P=T,T=T.replace(D,"".concat(S,"$1 $2").concat(S));T=T.replace(o,"").trimRight();let _=Object.create(null),k=T.replace(F,"").replace(o,"").trimRight(),A;for(;A=F.exec(T);){let f=A[2].replace(a,"");typeof _[A[1]]=="string"||Array.isArray(_[A[1]])?_[A[1]]=v.concat(_[A[1]],f):_[A[1]]=f}return{comments:k,pragmas:_}}function N(T){let{comments:S="",pragmas:P={}}=T,_=(0,t().default)(S)||s().EOL,k="/**",A=" *",f=" */",d=Object.keys(P),c=d.map(y=>b(y,P[y])).reduce((y,g)=>y.concat(g),[]).map(y=>A+" "+y+_).join("");if(!S){if(d.length===0)return"";if(d.length===1&&!Array.isArray(P[d[0]])){let y=P[d[0]];return"".concat(k," ").concat(b(d[0],y)[0]).concat(f)}}let r=S.split(_).map(y=>"".concat(A," ").concat(y)).join(_)+_;return k+_+(S?r:"")+(S&&d.length?A+_:"")+c+f}function b(T,S){return v.concat(S).map(P=>"@".concat(T," ").concat(P).trim())}}}),zD=Z({"src/language-js/utils/get-shebang.js"(e,s){"use strict";ae();function t(i){if(!i.startsWith("#!"))return"";let l=i.indexOf(`
`);return l===-1?i:i.slice(0,l)}s.exports=t}}),Wi=Z({"src/language-js/pragma.js"(e,s){"use strict";ae();var{parseWithComments:t,strip:i,extract:l,print:u}=UD(),{normalizeEndOfLine:n}=Tn(),a=zD();function o(h){let v=a(h);v&&(h=h.slice(v.length+1));let p=l(h),{pragmas:m,comments:E}=t(p);return{shebang:v,text:h,pragmas:m,comments:E}}function D(h){let v=Object.keys(o(h).pragmas);return v.includes("prettier")||v.includes("format")}function F(h){let{shebang:v,text:p,pragmas:m,comments:E}=o(h),w=i(p),N=u({pragmas:Object.assign({format:""},m),comments:E.trimStart()});return(v?"".concat(v,`
`):"")+n(N)+(w.startsWith(`
`)?`
`:`
`)+w}s.exports={hasPragma:D,insertPragma:F}}}),$i=Z({"src/language-js/comments.js"(e,s){"use strict";ae();var{getLast:t,hasNewline:i,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:l,getNextNonSpaceNonCommentCharacter:u,hasNewlineInRange:n,addLeadingComment:a,addTrailingComment:o,addDanglingComment:D,getNextNonSpaceNonCommentCharacterIndex:F,isNonEmptyArray:h}=Ge(),{getFunctionParameters:v,isPrettierIgnoreComment:p,isJsxNode:m,hasFlowShorthandAnnotationComment:E,hasFlowAnnotationComment:w,hasIgnoreComment:N,isCallLikeExpression:b,getCallArguments:T,isCallExpression:S,isMemberExpression:P,isObjectProperty:_,isLineComment:k,getComments:A,CommentCheckFlags:f,markerForIfWithoutBlockAndSameLineComment:d}=Xe(),{locStart:c,locEnd:r}=nt(),y=Nt();function g(X){return[fe,V,G,O,H,I,$,oe,de,le,Q,ge,ve,te,K,Ee].some(Y=>Y(X))}function C(X){return[M,V,ee,oe,O,H,I,$,K,R,ue,Q,be,Ee,me].some(Y=>Y(X))}function x(X){return[fe,O,H,W,se,te,Q,ne,U,pe,Ee,we].some(Y=>Y(X))}function B(X,Y){let re=(X.body||X.properties).find(z=>{let{type:q}=z;return q!=="EmptyStatement"});re?a(re,Y):D(X,Y)}function L(X,Y){X.type==="BlockStatement"?B(X,Y):a(X,Y)}function M(X){let{comment:Y,followingNode:re}=X;return re&&J(Y)?(a(re,Y),!0):!1}function O(X){let{comment:Y,precedingNode:re,enclosingNode:z,followingNode:q,text:Ce}=X;if(!z||z.type!=="IfStatement"||!q)return!1;if(u(Ce,Y,r)===")")return o(re,Y),!0;if(re===z.consequent&&q===z.alternate){if(re.type==="BlockStatement")o(re,Y);else{let Oe=Y.type==="SingleLine"||Y.loc.start.line===Y.loc.end.line,Ue=Y.loc.start.line===re.loc.start.line;Oe&&Ue?D(re,Y,d):D(z,Y)}return!0}return q.type==="BlockStatement"?(B(q,Y),!0):q.type==="IfStatement"?(L(q.consequent,Y),!0):z.consequent===q?(a(q,Y),!0):!1}function H(X){let{comment:Y,precedingNode:re,enclosingNode:z,followingNode:q,text:Ce}=X;return!z||z.type!=="WhileStatement"||!q?!1:u(Ce,Y,r)===")"?(o(re,Y),!0):q.type==="BlockStatement"?(B(q,Y),!0):z.body===q?(a(q,Y),!0):!1}function I(X){let{comment:Y,precedingNode:re,enclosingNode:z,followingNode:q}=X;return!z||z.type!=="TryStatement"&&z.type!=="CatchClause"||!q?!1:z.type==="CatchClause"&&re?(o(re,Y),!0):q.type==="BlockStatement"?(B(q,Y),!0):q.type==="TryStatement"?(L(q.finalizer,Y),!0):q.type==="CatchClause"?(L(q.body,Y),!0):!1}function G(X){let{comment:Y,enclosingNode:re,followingNode:z}=X;return P(re)&&z&&z.type==="Identifier"?(a(re,Y),!0):!1}function ee(X){let{comment:Y,precedingNode:re,enclosingNode:z,followingNode:q,text:Ce}=X,Ne=re&&!n(Ce,r(re),c(Y));return(!re||!Ne)&&z&&(z.type==="ConditionalExpression"||z.type==="TSConditionalType")&&q?(a(q,Y),!0):!1}function W(X){let{comment:Y,precedingNode:re,enclosingNode:z}=X;return _(z)&&z.shorthand&&z.key===re&&z.value.type==="AssignmentPattern"?(o(z.value.left,Y),!0):!1}function $(X){let{comment:Y,precedingNode:re,enclosingNode:z,followingNode:q}=X;if(z&&(z.type==="ClassDeclaration"||z.type==="ClassExpression"||z.type==="DeclareClass"||z.type==="DeclareInterface"||z.type==="InterfaceDeclaration"||z.type==="TSInterfaceDeclaration")){if(h(z.decorators)&&!(q&&q.type==="Decorator"))return o(t(z.decorators),Y),!0;if(z.body&&q===z.body)return B(z.body,Y),!0;if(q){if(z.superClass&&q===z.superClass&&re&&(re===z.id||re===z.typeParameters))return o(re,Y),!0;for(let Ce of["implements","extends","mixins"])if(z[Ce]&&q===z[Ce][0])return re&&(re===z.id||re===z.typeParameters||re===z.superClass)?o(re,Y):D(z,Y,Ce),!0}}return!1}function te(X){let{comment:Y,precedingNode:re,enclosingNode:z,text:q}=X;return z&&re&&u(q,Y,r)==="("&&(z.type==="Property"||z.type==="TSDeclareMethod"||z.type==="TSAbstractMethodDefinition")&&re.type==="Identifier"&&z.key===re&&u(q,re,r)!==":"||re&&z&&re.type==="Decorator"&&(z.type==="ClassMethod"||z.type==="ClassProperty"||z.type==="PropertyDefinition"||z.type==="TSAbstractPropertyDefinition"||z.type==="TSAbstractMethodDefinition"||z.type==="TSDeclareMethod"||z.type==="MethodDefinition")?(o(re,Y),!0):!1}function U(X){let{comment:Y,precedingNode:re,enclosingNode:z,text:q}=X;return u(q,Y,r)!=="("?!1:re&&z&&(z.type==="FunctionDeclaration"||z.type==="FunctionExpression
`)&&!de&&!k(Q.attributes[0]))return a(["<",ue("name"),ue("typeParameters")," ",...R.map(ue,"attributes"),Q.selfClosing?" />":">"]);let ge=Q.attributes.length>0&&k(E(Q.attributes),A.Trailing),ve=Q.attributes.length===0&&!de||(le.bracketSameLine||le.jsxBracketSameLine)&&(!de||Q.attributes.length>0)&&!ge,be=Q.attributes&&Q.attributes.some(fe=>fe.value&&P(fe.value)&&fe.value.value.includes(`
`)),we=le.singleAttributePerLine&&Q.attributes.length>1?u:l;return a(["<",ue("name"),ue("typeParameters"),o(R.map(()=>[we,ue()],"attributes")),Q.selfClosing?l:ve?">":n,Q.selfClosing?"/>":ve?"":">"],{shouldBreak:be})}function H(R,le,ue){let Q=R.getValue(),de=[];de.push("</");let ge=ue("name");return k(Q.name,A.Leading|A.Line)?de.push(o([u,ge]),u):k(Q.name,A.Leading|A.Block)?de.push(" ",ge):de.push(ge),de.push(">"),de}function I(R,le){let ue=R.getValue(),Q=k(ue),de=k(ue,A.Line),ge=ue.type==="JSXOpeningFragment";return[ge?"<":"</",o([de?u:Q&&!ge?" ":"",i(R,le,!0)]),de?u:"",">"]}function G(R,le,ue){let Q=t(R,y(R,le,ue),le);return B(R,Q,le)}function ee(R,le){let ue=R.getValue(),Q=k(ue,A.Line);return[i(R,le,!Q),Q?u:""]}function W(R,le,ue){let Q=R.getValue();return["{",R.call(de=>{let ge=["...",ue()],ve=de.getValue();return!k(ve)||!c(de)?ge:[o([n,t(de,ge,le)]),n]},Q.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function $(R,le,ue){let Q=R.getValue();if(!!Q.type.startsWith("JSX"))switch(Q.type){case"JSXAttribute":return L(R,le,ue);case"JSXIdentifier":return String(Q.name);case"JSXNamespacedName":return p(":",[ue("namespace"),ue("name")]);case"JSXMemberExpression":return p(".",[ue("object"),ue("property")]);case"JSXSpreadAttribute":return W(R,le,ue);case"JSXSpreadChild":return W(R,le,ue);case"JSXExpressionContainer":return M(R,le,ue);case"JSXFragment":case"JSXElement":return G(R,le,ue);case"JSXOpeningElement":return O(R,le,ue);case"JSXClosingElement":return H(R,le,ue);case"JSXOpeningFragment":case"JSXClosingFragment":return I(R,le);case"JSXEmptyExpression":return ee(R,le);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(Q.type),"."))}}var te=`
\r `,U=new RegExp("(["+te+"]+)"),ne=new RegExp("[^"+te+"]"),se=R=>R.replace(new RegExp("(?:^"+U.source+"|"+U.source+"$)"),"");function V(R){if(R.children.length===0)return!0;if(R.children.length>1)return!1;let le=R.children[0];return T(le)&&!oe(le)}function oe(R){return T(R)&&(ne.test(b(R))||!/\n/.test(b(R)))}function K(R){return R.type==="JSXExpressionContainer"&&T(R.expression)&&R.expression.value===" "&&!k(R.expression)}function Ee(R){let le=R.getValue(),ue=R.getParentNode();if(!ue||!le||!N(le)||!N(ue))return!1;let Q=ue.children.indexOf(le),de=null;for(let ge=Q;ge>0;ge--){let ve=ue.children[ge-1];if(!(ve.type==="JSXText"&&!oe(ve))){de=ve;break}}return de&&de.type==="JSXExpressionContainer"&&de.expression.type==="JSXEmptyExpression"&&f(de.expression)}s.exports={hasJsxIgnoreComment:Ee,printJsx:$}}}),ot=Z({"src/language-js/print/misc.js"(e,s){"use strict";ae();var{isNonEmptyArray:t}=Ge(),{builders:{indent:i,join:l,line:u}}=Le(),{isFlowAnnotationComment:n}=Xe();function a(E){let w=E.getValue();return!w.optional||w.type==="Identifier"&&w===E.getParentNode().key?"":w.type==="OptionalCallExpression"||w.type==="OptionalMemberExpression"&&w.computed?"?.":"?"}function o(E){return E.getValue().definite||E.match(void 0,(w,N)=>N==="id"&&w.type==="VariableDeclarator"&&w.definite)?"!":""}function D(E,w,N){let b=E.getValue();return b.typeArguments?N("typeArguments"):b.typeParameters?N("typeParameters"):""}function F(E,w,N){let b=E.getValue();if(!b.typeAnnotation)return"";let T=E.getParentNode(),S=T.type==="DeclareFunction"&&T.id===b;return n(w.originalText,b.typeAnnotation)?[" /*: ",N("typeAnnotation")," */"]:[S?"":": ",N("typeAnnotation")]}function h(E,w,N){return["::",N("callee")]}function v(E,w,N){let b=E.getValue();return t(b.modifiers)?[l(" ",E.map(N,"modifiers"))," "]:""}function p(E,w,N){return E.type==="EmptyStatement"?";":E.type==="BlockStatement"||N?[" ",w]:i([u,w])}function m(E,w,N){return["...",N("argument"),F(E,w,N)]}s.exports={printOptionalToken:a,printDefiniteToken:o,printFunctionTypeParameters:D,printBindExpressionCallee:h,printTypeScriptModifiers:v,printTypeAnnotation:F,printRestSpread:m,adjustClause:p}}}),Ht=Z({"src/language-js/print/array.js"(e,s){"use strict";ae();var{printDanglingComments:t}=Qe(),{builders:{line:i,softline:l,hardline:u,group:n,indent:a,ifBreak:o,fill:D}}=Le(),{getLast:F,hasNewline:h}=Ge(),{shouldPrintComma:v,hasComment:p,CommentCheckFlags:m,isNextLineEmpty:E,isNumericLiteral:w,isSignedNumericLiteral:N}=Xe(),{locStart:b}=nt(),{printOptionalToken:T,printTypeAnnotation:S}=ot();function P(f,d,c){let r=f.getValue(),y=[],g=r.type==="TupleExpression"?"#[":"[",C="]";if(r.elements.length===0)p(r,m.Dangling)?y.push(n([g,t(f,d),l,C])):y.push(g,C);else{let x=F(r.elements),B=!(x&&x.type==="RestElement"),L=x===null,M=Symbol("array"),O=!d.__inJestEach&&r.elements.length>1&&r.elements.every((G,ee,W)=>{let $=G&&G.type;if($!=="ArrayExpression"&&$!=="ObjectExpression")return!1;let te=W[ee+1];if(te&&$!==te.type)return!1;let U=$==="ArrayExpression"?"elements":"properties";return G[U]&&G[U].length>1}),H=_(r,d),I=B?L?",":v(d)?H?o(",","",{groupId:M}):o(","):"":"";y.push(n([g,a([l,H?A(f,d,c,I):[k(f,d,"elements",c),I],t(f,d,!0)]),l,C],{shouldBreak:O,id:M}))}return y.push(T(f),S(f,d,c)),y}function _(f,d){return f.elements.length>1&&f.elements.every(c=>c&&(w(c)||N(c)&&!p(c.argument))&&!p(c,m.Trailing|m.Line,r=>!h(d.originalText,b(r),{backwards:!0})))}function k(f,d,c,r){let y=[],g=[];return f.each(C=>{y.push(g,n(r())),g=[",",i],C.getValue()&&E(C.getValue(),d)&&g.push(l)},c),y}function A(f,d,c,r){let y=[];return f.each((g,C,x)=>{let B=C===x.length-1;y.push([c(),B?r:","]),B||y.push(E(g.getValue(),d)?[u,u]:p(x[C+1],m.Leading|m.Line)?u:i)},"elements"),D(y)}s.exports={printArray:P,printArrayItems:k,isConciselyPrintedArray:_}}}),Gi=Z({"src/language-js/print/call-arguments.js"(e,s){"use strict";ae();var{printDanglingComments:t}=Qe(),{getLast:i,getPenultimate:l}=Ge(),{getFunctionParameters:u,hasComment:n,CommentCheckFlags:a,isFunctionCompositionArgs:o,isJsxNode:D,isLongCurriedCallExpression:F,shouldPrintComma:h,getCallArguments:v,
`):E(V)}function U(V,oe,K){if(!k(V))return!1;oe=D(oe);let Ee=3;return typeof oe=="string"&&i(oe)<K.tabWidth+Ee}function ne(V,oe){let K=se(V);if(t(K)){if(K.length>1)return!0;if(K.length===1){let R=K[0];if(R.type==="TSUnionType"||R.type==="UnionTypeAnnotation"||R.type==="TSIntersectionType"||R.type==="IntersectionTypeAnnotation")return!0}let Ee=V.typeParameters?"typeParameters":"typeArguments";if(F(oe(Ee)))return!0}return!1}function se(V){return V.typeParameters&&V.typeParameters.params||V.typeArguments&&V.typeArguments.params}s.exports={printVariableDeclarator:r,printAssignmentExpression:c,printAssignment:d,isArrowFunctionVariableDeclarator:I}}}),Ar=Z({"src/language-js/print/function-parameters.js"(e,s){"use strict";ae();var{getNextNonSpaceNonCommentCharacter:t}=Ge(),{printDanglingComments:i}=Qe(),{builders:{line:l,hardline:u,softline:n,group:a,indent:o,ifBreak:D},utils:{removeLines:F,willBreak:h}}=Le(),{getFunctionParameters:v,iterateFunctionParametersPath:p,isSimpleType:m,isTestCall:E,isTypeAnnotationAFunction:w,isObjectType:N,isObjectTypePropertyAFunction:b,hasRestParameter:T,shouldPrintComma:S,hasComment:P,isNextLineEmpty:_}=Xe(),{locEnd:k}=nt(),{ArgExpansionBailout:A}=Wt(),{printFunctionTypeParameters:f}=ot();function d(g,C,x,B,L){let M=g.getValue(),O=v(M),H=L?f(g,x,C):"";if(O.length===0)return[H,"(",i(g,x,!0,U=>t(x.originalText,U,k)===")"),")"];let I=g.getParentNode(),G=E(I),ee=c(M),W=[];if(p(g,(U,ne)=>{let se=ne===O.length-1;se&&M.rest&&W.push("..."),W.push(C()),!se&&(W.push(","),G||ee?W.push(" "):_(O[ne],x)?W.push(u,u):W.push(l))}),B){if(h(H)||h(W))throw new A;return a([F(H),"(",F(W),")"])}let $=O.every(U=>!U.decorators);return ee&&$?[H,"(",...W,")"]:G?[H,"(",...W,")"]:(b(I)||w(I)||I.type==="TypeAlias"||I.type==="UnionTypeAnnotation"||I.type==="TSUnionType"||I.type==="IntersectionTypeAnnotation"||I.type==="FunctionTypeAnnotation"&&I.returnType===M)&&O.length===1&&O[0].name===null&&M.this!==O[0]&&O[0].typeAnnotation&&M.typeParameters===null&&m(O[0].typeAnnotation)&&!M.rest?x.arrowParens==="always"?["(",...W,")"]:W:[H,"(",o([n,...W]),D(!T(M)&&S(x,"all")?",":""),n,")"]}function c(g){if(!g)return!1;let C=v(g);if(C.length!==1)return!1;let[x]=C;return!P(x)&&(x.type==="ObjectPattern"||x.type==="ArrayPattern"||x.type==="Identifier"&&x.typeAnnotation&&(x.typeAnnotation.type==="TypeAnnotation"||x.typeAnnotation.type==="TSTypeAnnotation")&&N(x.typeAnnotation.typeAnnotation)||x.type==="FunctionTypeParam"&&N(x.typeAnnotation)||x.type==="AssignmentPattern"&&(x.left.type==="ObjectPattern"||x.left.type==="ArrayPattern")&&(x.right.type==="Identifier"||x.right.type==="ObjectExpression"&&x.right.properties.length===0||x.right.type==="ArrayExpression"&&x.right.elements.length===0))}function r(g){let C;return g.returnType?(C=g.returnType,C.typeAnnotation&&(C=C.typeAnnotation)):g.typeAnnotation&&(C=g.typeAnnotation),C}function y(g,C){let x=r(g);if(!x)return!1;let B=g.typeParameters&&g.typeParameters.params;if(B){if(B.length>1)return!1;if(B.length===1){let L=B[0];if(L.constraint||L.default)return!1}}return v(g).length===1&&(N(x)||h(C))}s.exports={printFunctionParameters:d,shouldHugFunctionParameters:c,shouldGroupFunctionParameters:y}}}),Sr=Z({"src/language-js/print/type-annotation.js"(e,s){"use strict";ae();var{printComments:t,printDanglingComments:i}=Qe(),{isNonEmptyArray:l}=Ge(),{builders:{group:u,join:n,line:a,softline:o,indent:D,align:F,ifBreak:h}}=Le(),v=Pt(),{locStart:p}=nt(),{isSimpleType:m,isObjectType:E,hasLeadingOwnLineComment:w,isObjectTypePropertyAFunction:N,shouldPrintComma:b}=Xe(),{printAssignment:T}=Gt(),{printFunctionParameters:S,shouldGroupFunctionParameters:P}=Ar(),{printArrayItems:_}=Ht();function k(C){if(m(C)||E(C))return!0;if(C.type==="UnionTypeAnnotation"||C.type==="TSUnionType"){let x=C.types.filter(L=>L.type==="VoidTypeAnnotation"||L.type==="TSVoidKeyword"||L.type==="NullLiteralTypeAnnotation"||L.type==="TSNullKeyword").length,B=C.types.some(L=>L.type==="ObjectTypeAnnotation"||L.type==="TSTypeLiteral"||L.type==="GenericTypeAnnotation"||L.type==="TSTypeReference");if(C.types.length-1===x&&B)return!0}return!1}func
`);return m.length>1&&m.every(E=>E.trim()[0]==="*")}function v(p){let m=p.value.split(`
`);return["/*",i(l,m.map((E,w)=>w===0?E.trimEnd():" "+(w<m.length-1?E.trim():E.trimStart()))),"*/"]}s.exports={printComment:F}}}),nm=Z({"src/language-js/print/literal.js"(e,s){"use strict";ae();var{printString:t,printNumber:i}=Ge();function l(a,o){let D=a.getNode();switch(D.type){case"RegExpLiteral":return n(D);case"BigIntLiteral":return u(D.bigint||D.extra.raw);case"NumericLiteral":return i(D.extra.raw);case"StringLiteral":return t(D.extra.raw,o);case"NullLiteral":return"null";case"BooleanLiteral":return String(D.value);case"DecimalLiteral":return i(D.value)+"m";case"Literal":{if(D.regex)return n(D.regex);if(D.bigint)return u(D.raw);if(D.decimal)return i(D.decimal)+"m";let{value:F}=D;return typeof F=="number"?i(D.raw):typeof F=="string"?t(D.raw,o):String(F)}}}function u(a){return a.toLowerCase()}function n(a){let{pattern:o,flags:D}=a;return D=[...D].sort().join(""),"/".concat(o,"/").concat(D)}s.exports={printLiteral:l}}}),um=Z({"src/language-js/printer-estree.js"(e,s){"use strict";ae();var{printDanglingComments:t}=Qe(),{hasNewline:i}=Ge(),{builders:{join:l,line:u,hardline:n,softline:a,group:o,indent:D},utils:{replaceTextEndOfLine:F}}=Le(),h=RD(),v=VD(),{insertPragma:p}=Wi(),m=$i(),E=Pt(),w=Hi(),{hasFlowShorthandAnnotationComment:N,hasComment:b,CommentCheckFlags:T,isTheOnlyJsxElementInMarkdown:S,isLineComment:P,isNextLineEmpty:_,needsHardlineAfterDanglingComment:k,rawText:A,hasIgnoreComment:f,isCallExpression:d,isMemberExpression:c,markerForIfWithoutBlockAndSameLineComment:r}=Xe(),{locStart:y,locEnd:g}=nt(),C=Nt(),{printHtmlBinding:x,isVueEventBindingExpression:B}=XD(),{printAngular:L}=KD(),{printJsx:M,hasJsxIgnoreComment:O}=YD(),{printFlow:H}=ZD(),{printTypescript:I}=tm(),{printOptionalToken:G,printBindExpressionCallee:ee,printTypeAnnotation:W,adjustClause:$,printRestSpread:te,printDefiniteToken:U}=ot(),{printImportDeclaration:ne,printExportDeclaration:se,printExportAllDeclaration:V,printModuleSpecifier:oe}=Xi(),{printTernary:K}=Ki(),{printTemplateLiteral:Ee}=wt(),{printArray:R}=Ht(),{printObject:le}=Mn(),{printClass:ue,printClassMethod:Q,printClassProperty:de}=Ut(),{printProperty:ge}=Jt(),{printFunction:ve,printArrowFunction:be,printMethod:we,printReturnStatement:fe,printThrowStatement:pe}=xr(),{printCallExpression:me}=Ui(),{printVariableDeclarator:ce,printAssignmentExpression:he}=Gt(),{printBinaryishExpression:J}=On(),{printSwitchCaseConsequent:ye}=Yi(),{printMemberExpression:X}=Ji(),{printBlock:Y,printBlockBody:re}=Qi(),{printComment:z}=rm(),{printLiteral:q}=nm(),{printDecorators:Ce}=qn();function Ne(xe,Pe,Fe,Ke){let Se=Oe(xe,Pe,Fe,Ke);if(!Se)return"";let ze=xe.getValue(),{type:Te}=ze;if(Te==="ClassMethod"||Te==="ClassPrivateMethod"||Te==="ClassProperty"||Te==="ClassAccessorProperty"||Te==="PropertyDefinition"||Te==="TSAbstractPropertyDefinition"||Te==="ClassPrivateProperty"||Te==="MethodDefinition"||Te==="TSAbstractMethodDefinition"||Te==="TSDeclareMethod")return Se;let Ie=[Se],Re=Ce(xe,Pe,Fe),Ae=ze.type==="ClassExpression"&&Re;if(Re&&(Ie=[...Re,Se],!Ae))return o(Ie);if(!E(xe,Pe))return Ke&&Ke.needsSemi&&Ie.unshift(";"),Ie.length===1&&Ie[0]===Se?Se:Ie;if(Ae&&(Ie=[D([u,...Ie])]),Ie.unshift("("),Ke&&Ke.needsSemi&&Ie.unshift(";"),N(ze)){let[_e]=ze.trailingComments;Ie.push(" /*",_e.value.trimStart(),"*/"),_e.printed=!0}return Ae&&Ie.push(u),Ie.push(")"),Ie}function Oe(xe,Pe,Fe,Ke){let Se=xe.getValue(),ze=Pe.semi?";":"";if(!Se)return"";if(typeof Se=="string")return Se;for(let Ie of[q,x,L,M,H,I]){let Re=Ie(xe,Pe,Fe);if(typeof Re<"u")return Re}let Te=[];switch(Se.type){case"JsExpressionRoot":return Fe("node");case"JsonRoot":return[Fe("node"),n];case"File":return Se.program&&Se.program.interpreter&&Te.push(Fe(["program","interpreter"])),Te.push(Fe("program")),Te;case"Program":return re(xe,Pe,Fe);case"EmptyStatement":return"";case"ExpressionStatement":{if(Se.directive)return[Ue(Se.expression,Pe),ze];if(Pe.parser==="__vue_event_binding"){let Re=xe.getParentNode();if(Re.type==="Program"&&Re.body.length===1&&Re.body[0]===Se)return[Fe("expression"),B(Se.expression)?";":""]}let Ie=t(xe,Pe,!0,Re=>{let{marker:Ae}=Re;return Ae===r}
`:"")+t.insertPragma(o)}s.exports={hasPragma:l,insertPragma:u}}}),gm=Z({"src/language-css/utils/index.js"(e,s){"use strict";ae();var t=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function i(R,le){let ue=Array.isArray(le)?le:[le],Q=-1,de;for(;de=R.getParentNode(++Q);)if(ue.includes(de.type))return Q;return-1}function l(R,le){let ue=i(R,le);return ue===-1?null:R.getParentNode(ue)}function u(R){let le=l(R,"css-decl");return le&&le.prop&&le.prop.toLowerCase()}function n(R){return["initial","inherit","unset","revert"].includes(R.toLowerCase())}function a(R,le){let ue=l(R,"css-atrule");return ue&&ue.name&&ue.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(le.toLowerCase())}function o(R){return R.includes("$")||R.includes("@")||R.includes("#")||R.startsWith("%")||R.startsWith("--")||R.startsWith(":--")||R.includes("(")&&R.includes(")")?R:R.toLowerCase()}function D(R,le){let ue=l(R,"value-func");return ue&&ue.value&&ue.value.toLowerCase()===le}function F(R){let le=l(R,"css-rule");return le&&le.raws&&le.raws.selector&&(le.raws.selector.startsWith(":import")||le.raws.selector.startsWith(":export"))}function h(R,le){let ue=Array.isArray(le)?le:[le],Q=l(R,"css-atrule");return Q&&ue.includes(Q.name.toLowerCase())}function v(R){let le=R.getValue(),ue=l(R,"css-atrule");return ue&&ue.name==="import"&&le.groups[0].value==="url"&&le.groups.length===2}function p(R){return R.type==="value-func"&&R.value.toLowerCase()==="url"}function m(R,le){let ue=R.getParentNode();if(!ue)return!1;let{nodes:Q}=ue;return Q&&Q.indexOf(le)===Q.length-1}function E(R){return R.selector?typeof R.selector=="string"&&/^@.+:.*$/.test(R.selector)||R.selector.value&&/^@.+:.*$/.test(R.selector.value):!1}function w(R){return R.type==="value-word"&&["from","through","end"].includes(R.value)}function N(R){return R.type==="value-word"&&["and","or","not"].includes(R.value)}function b(R){return R.type==="value-word"&&R.value==="in"}function T(R){return R.type==="value-operator"&&R.value==="*"}function S(R){return R.type==="value-operator"&&R.value==="/"}function P(R){return R.type==="value-operator"&&R.value==="+"}function _(R){return R.type==="value-operator"&&R.value==="-"}function k(R){return R.type==="value-operator"&&R.value==="%"}function A(R){return T(R)||S(R)||P(R)||_(R)||k(R)}function f(R){return R.type==="value-word"&&["==","!="].includes(R.value)}function d(R){return R.type==="value-word"&&["<",">","<=",">="].includes(R.value)}function c(R){return R.type==="css-atrule"&&["if","else","for","each","while"].includes(R.name)}function r(R){return R.raws&&R.raws.params&&/^\(\s*\)$/.test(R.raws.params)}function y(R){return R.name.startsWith("prettier-placeholder")}function g(R){return R.prop.startsWith("@prettier-placeholder")}function C(R,le){return R.value==="$$"&&R.type==="value-func"&&le&&le.type==="value-word"&&!le.raws.before}function x(R){return R.value&&R.value.type==="value-root"&&R.value.group&&R.value.group.type==="value-value"&&R.prop.toLowerCase()==="composes"}function B(R){return R.value&&R.value.group&&R.value.group.group&&R.value.group.group.type==="value-paren_group"&&R.value.group.group.open!==null&&R.value.group.group.close!==null}function L(R){return R.raws&&R.raws.before===""}function M(R){return R.type==="value-comma_group"&&R.groups&&R.groups[1]&&R.groups[1].type==="value-colon"}function O(R){return R.type==="value-paren_group"&&R.groups&&R.groups[0]&&M(R.groups[0])}function H(R){let le=R.getValue();if(le.groups.length===0)return!1;let ue=R.getParentNode(1);if(!O(le)&&!(ue&&O(ue)))return!1;let Q=l(R,"css-decl");return!!(Q&&Q.prop&&Q.prop.startsWith("$")||O(ue)||ue.type==="value-func")}function I(R){return R.type==="value-comment"&&R.inline}function G(R){return R.type==="value-word"&&R.value==="#"}function ee(R){return R.type==="value-word"&&R.value==="{"}function W(R){return R.type==="value-word"&&R.value==="}"}function $(R){return["value-word","value-atword"].includes(R.type)}funct
`,l)+1;return l+t.column}}}),hm=Z({"src/language-css/loc.js"(e,s){"use strict";ae();var{skipEverythingButNewLine:t}=Er(),i=st(),l=ym();function u(p,m){return typeof p.sourceIndex=="number"?p.sourceIndex:p.source?l(p.source.start,m)-1:null}function n(p,m){if(p.type==="css-comment"&&p.inline)return t(m,p.source.startOffset);let E=p.nodes&&i(p.nodes);return E&&p.source&&!p.source.end&&(p=E),p.source&&p.source.end?l(p.source.end,m):null}function a(p,m){p.source&&(p.source.startOffset=u(p,m),p.source.endOffset=n(p,m));for(let E in p){let w=p[E];E==="source"||!w||typeof w!="object"||(w.type==="value-root"||w.type==="value-unknown"?o(w,D(p),w.text||w.value):a(w,m))}}function o(p,m,E){p.source&&(p.source.startOffset=u(p,E)+m,p.source.endOffset=n(p,E)+m);for(let w in p){let N=p[w];w==="source"||!N||typeof N!="object"||o(N,m,E)}}function D(p){let m=p.source.startOffset;return typeof p.prop=="string"&&(m+=p.prop.length),p.type==="css-atrule"&&typeof p.name=="string"&&(m+=1+p.name.length+p.raws.afterName.match(/^\s*:?\s*/)[0].length),p.type!=="css-atrule"&&p.raws&&typeof p.raws.between=="string"&&(m+=p.raws.between.length),m}function F(p){let m="initial",E="initial",w,N=!1,b=[];for(let T=0;T<p.length;T++){let S=p[T];switch(m){case"initial":if(S==="'"){m="single-quotes";continue}if(S==='"'){m="double-quotes";continue}if((S==="u"||S==="U")&&p.slice(T,T+4).toLowerCase()==="url("){m="url",T+=3;continue}if(S==="*"&&p[T-1]==="/"){m="comment-block";continue}if(S==="/"&&p[T-1]==="/"){m="comment-inline",w=T-1;continue}continue;case"single-quotes":if(S==="'"&&p[T-1]!=="\\"&&(m=E,E="initial"),S===`
`||S==="\r")return p;continue;case"double-quotes":if(S==='"'&&p[T-1]!=="\\"&&(m=E,E="initial"),S===`
`||S==="\r")return p;continue;case"url":if(S===")"&&(m="initial"),S===`
`||S==="\r")return p;if(S==="'"){m="single-quotes",E="url";continue}if(S==='"'){m="double-quotes",E="url";continue}continue;case"comment-block":S==="/"&&p[T-1]==="*"&&(m="initial");continue;case"comment-inline":(S==='"'||S==="'"||S==="*")&&(N=!0),(S===`
`||S==="\r")&&(N&&b.push([w,T]),m="initial",N=!1);continue}}for(let[T,S]of b)p=p.slice(0,T)+p.slice(T,S).replace(/["'*]/g," ")+p.slice(S);return p}function h(p){return p.source.startOffset}function v(p){return p.source.endOffset}s.exports={locStart:h,locEnd:v,calculateLoc:a,replaceQuotesInInlineComments:F}}}),Cm=Z({"src/language-css/utils/is-less-parser.js"(e,s){"use strict";ae();function t(i){return i.parser==="css"||i.parser==="less"}s.exports=t}}),Em=Z({"src/language-css/utils/is-scss.js"(e,s){"use strict";ae();function t(i,l){return i==="less"||i==="scss"?i==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(l)}s.exports=t}}),vm=Z({"src/language-css/utils/css-units.evaluate.js"(e,s){s.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",vh:"vh",vi:"vi",vb:"vb",vmin:"vmin",vmax:"vmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),Fm=Z({"src/language-css/utils/print-unit.js"(e,s){"use strict";ae();var t=vm();function i(l){let u=l.toLowerCase();return Object.prototype.hasOwnProperty.call(t,u)?t[u]:l}s.exports=i}}),Am=Z({"src/language-css/printer-postcss.js"(e,s){"use strict";ae();var t=st(),{printNumber:i,printString:l,hasNewline:u,isFrontMatterNode:n,isNextLineEmpty:a,isNonEmptyArray:o}=Ge(),{builders:{join:D,line:F,hardline:h,softline:v,group:p,fill:m,indent:E,dedent:w,ifBreak:N,breakParent:b},utils:{removeLines:T,getDocParts:S}}=Le(),P=Dm(),_=mm(),{insertPragma:k}=dm(),{getAncestorNode:A,getPropOfDeclNode:f,maybeToLowerCase:d,insideValueFunctionNode:c,insideICSSRuleNode:r,insideAtRuleNode:y,insideURLFunctionInImportAtRuleNode:g,isKeyframeAtRuleKeywords:C,isWideKeywords:x,isLastNode:B,isSCSSControlDirectiveNode:L,isDetachedRulesetDeclarationNode:M,isRelationalOperatorNode:O,isEqualityOperatorNode:H,isMultiplicationNode:I,isDivisionNode:G,isAdditionNode:ee,isSubtractionNode:W,isMathOperatorNode:$,isEachKeywordNode:te,isForKeywordNode:U,isURLFunctionNode:ne,isIfElseKeywordNode:se,hasComposesNode:V,hasParensAroundNode:oe,hasEmptyRawBefore:K,isKeyValuePairNode:Ee,isKeyInValuePairNode:R,isDetachedRulesetCallNode:le,isTemplatePlaceholderNode:ue,isTemplatePropNode:Q,isPostcssSimpleVarNode:de,isSCSSMapItemNode:ge,isInlineValueCommentNode:ve,isHashNode:be,isLeftCurlyBraceNode:we,isRightCurlyBraceNode:fe,isWordNode:pe,isColonNode:me,isMediaAndSupportsKeywords:ce,isColorAdjusterFuncNode:he,lastLineHasInlineComment:J,isAtWordPlaceholderNode:ye,isConfigurationNode:X,isParenGroupNode:Y}=gm(),{locStart:re,locEnd:z}=hm(),q=Cm(),Ce=Em(),Ne=Fm();function Oe(Ae){return Ae.trailingComma==="es5"||Ae.trailingComma==="all"}function Ue(Ae,je,_e){let ie=Ae.getValue();if(!ie)return"";if(typeof ie=="string")return ie;switch(ie.type){case"front-matter":return[ie.raw,h];case"css-root":{let Me=tt(Ae,je,_e),qe=ie.raws.after.trim();return[Me,qe?" ".concat(qe):"",S(Me).length>0?h:""]}case"css-comment":{let Me=ie.inline||ie.raws.inline,qe=je.originalText.slice(re(ie),z(ie));return Me?qe.trimEnd():qe}case"css-rule":return[_e("selector"),ie.important?" !important":"",ie.nodes?[ie.selector&&ie.selector.type==="selector-unknown"&&J(ie.selector.value)?F:" ","{",ie.nodes.length>0?E([h,tt(Ae,je,_e)]):"",h,"}",M(ie)?";":""]:";"];case"css-decl":{let Me=Ae.getParentNode(),{between:qe}=ie.raws,Je=qe.trim(),rt=Je===":",Ze=V(ie)?T(_e("value")):_e("value");return!rt&&J(Je)&&(Ze=E([h,w(Ze)])),[ie.raws.before.replace(/[\s;]/g,""),r(Ae)?ie.prop:d(ie.prop),Je.startsWith("//")?" ":"",Je,ie.extend?"":" ",q(je)&&ie.extend&&ie.selector?["extend(",_e("selector"),")"]:"",Ze,ie.raws.important?ie.raws.important.replace(/\s*!\s*important/i," !important"):ie.important?" !important":"",ie.raws.scssDefault?ie.raws.scssDefault.replace(/\s*!default/i," !default"):ie.scssDefault?" !default":"",ie.raws.scssGlobal?ie.raws.scssGlobal.replace(/\s*!global/i," !global"):ie.scssGlobal?" !global":"",ie.nodes?[" {",E([v,tt(Ae,je,_e)]),v,"}"]:Q(ie)&&!Me.raws.semicolon&&je.originalTe
`).length-1}function de(J){J=typeof J=="string"?J:"";let ye=(J.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Q(ye)}function ge(J){J=typeof J=="string"?J:"";let ye=(J.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Q(ye)}function ve(){let J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(J,r)}).fill(u)}function be(J,ye){let{quote:X,regex:Y}=p(J,ye);return[X,J.replace(Y,"\\".concat(X)),X]}function we(J){let ye=0,X=J.getParentNode(ye);for(;X&&k(X,["SubExpression"]);)ye++,X=J.getParentNode(ye);return!!(X&&k(J.getParentNode(ye+1),["ConcatStatement"])&&k(J.getParentNode(ye+2),["AttrNode"]))}function fe(J,ye){let X=me(J,ye),Y=ce(J,ye);return Y?a([X,D,l(Y)]):X}function pe(J,ye){let X=me(J,ye),Y=ce(J,ye);return Y?[a([X,D,Y]),F]:X}function me(J,ye){return ye("path")}function ce(J,ye){let X=J.getValue(),Y=[];if(X.params.length>0){let re=J.map(ye,"params");Y.push(...re)}if(X.hash&&X.hash.pairs.length>0){let re=ye("hash");Y.push(re)}return Y.length===0?"":o(D,Y)}function he(J){return["as |",J.blockParams.join(" "),"|"]}s.exports={print:y,massageAstNode:N}}}),jm=Z({"src/language-handlebars/parsers.js"(){ae()}}),Om=Z({"node_modules/linguist-languages/data/Handlebars.json"(e,s){s.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),qm=Z({"src/language-handlebars/index.js"(e,s){"use strict";ae();var t=St(),i=Lm(),l=jm(),u=[t(Om(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],n={glimmer:i};s.exports={languages:u,printers:n,parsers:l}}}),Mm=Z({"src/language-graphql/pragma.js"(e,s){"use strict";ae();function t(l){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(l)}function i(l){return`# @format
`+l}s.exports={hasPragma:t,insertPragma:i}}}),Rm=Z({"src/language-graphql/loc.js"(e,s){"use strict";ae();function t(l){return typeof l.start=="number"?l.start:l.loc&&l.loc.start}function i(l){return typeof l.end=="number"?l.end:l.loc&&l.loc.end}s.exports={locStart:t,locEnd:i}}}),Vm=Z({"src/language-graphql/printer-graphql.js"(e,s){"use strict";ae();var{builders:{join:t,hardline:i,line:l,softline:u,group:n,indent:a,ifBreak:o}}=Le(),{isNextLineEmpty:D,isNonEmptyArray:F}=Ge(),{insertPragma:h}=Mm(),{locStart:v,locEnd:p}=Rm();function m(_,k,A){let f=_.getValue();if(!f)return"";if(typeof f=="string")return f;switch(f.kind){case"Document":{let d=[];return _.each((c,r,y)=>{d.push(A()),r!==y.length-1&&(d.push(i),D(k.originalText,c.getValue(),p)&&d.push(i))},"definitions"),[...d,i]}case"OperationDefinition":{let d=k.originalText[v(f)]!=="{",c=Boolean(f.name);return[d?f.operation:"",d&&c?[" ",A("name")]:"",d&&!c&&F(f.variableDefinitions)?" ":"",F(f.variableDefinitions)?n(["(",a([u,t([o("",", "),u],_.map(A,"variableDefinitions"))]),u,")"]):"",E(_,A,f),f.selectionSet?!d&&!c?"":" ":"",A("selectionSet")]}case"FragmentDefinition":return["fragment ",A("name"),F(f.variableDefinitions)?n(["(",a([u,t([o("",", "),u],_.map(A,"variableDefinitions"))]),u,")"]):""," on ",A("typeCondition"),E(_,A,f)," ",A("selectionSet")];case"SelectionSet":return["{",a([i,t(i,_.call(d=>w(d,k,A),"selections"))]),i,"}"];case"Field":return n([f.alias?[A("alias"),": "]:"",A("name"),f.arguments.length>0?n(["(",a([u,t([o("",", "),u],_.call(d=>w(d,k,A),"arguments"))]),u,")"]):"",E(_,A,f),f.selectionSet?" ":"",A("selectionSet")]);case"Name":return f.value;case"StringValue":return f.block?['"""',i,t(i,f.value.replace(/"""/g,"\\$&").split(`
`)),i,'"""']:['"',f.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"IntValue":case"FloatValue":case"EnumValue":return f.value;case"BooleanValue":return f.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",A("name")];case"ListValue":return n(["[",a([u,t([o("",", "),u],_.map(A,"values"))]),u,"]"]);case"ObjectValue":return n(["{",k.bracketSpacing&&f.fields.length>0?" ":"",a([u,t([o("",", "),u],_.map(A,"fields"))]),u,o("",k.bracketSpacing&&f.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[A("name"),": ",A("value")];case"Directive":return["@",A("name"),f.arguments.length>0?n(["(",a([u,t([o("",", "),u],_.call(d=>w(d,k,A),"arguments"))]),u,")"]):""];case"NamedType":return A("name");case"VariableDefinition":return[A("variable"),": ",A("type"),f.defaultValue?[" = ",A("defaultValue")]:"",E(_,A,f)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[A("description"),f.description?i:"",f.kind==="ObjectTypeExtension"?"extend ":"","type ",A("name"),f.interfaces.length>0?[" implements ",...T(_,k,A)]:"",E(_,A,f),f.fields.length>0?[" {",a([i,t(i,_.call(d=>w(d,k,A),"fields"))]),i,"}"]:""];case"FieldDefinition":return[A("description"),f.description?i:"",A("name"),f.arguments.length>0?n(["(",a([u,t([o("",", "),u],_.call(d=>w(d,k,A),"arguments"))]),u,")"]):"",": ",A("type"),E(_,A,f)];case"DirectiveDefinition":return[A("description"),f.description?i:"","directive ","@",A("name"),f.arguments.length>0?n(["(",a([u,t([o("",", "),u],_.call(d=>w(d,k,A),"arguments"))]),u,")"]):"",f.repeatable?" repeatable":""," on ",t(" | ",_.map(A,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[A("description"),f.description?i:"",f.kind==="EnumTypeExtension"?"extend ":"","enum ",A("name"),E(_,A,f),f.values.length>0?[" {",a([i,t(i,_.call(d=>w(d,k,A),"values"))]),i,"}"]:""];case"EnumValueDefinition":return[A("description"),f.description?i:"",A("name"),E(_,A,f)];case"InputValueDefinition":return[A("description"),f.description?f.description.block?i:l:"",A("name"),": ",A("type"),f.defaultValue?[" = ",A("defaultValue")]:"",E(_,A,f)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[A("description"),f.description?i:"",f.kind==="InputObjectTypeExtension"?"extend ":"","input ",A("name"),E(_,A,f),f.fields.length>0?[" {",a([i,t(i,_.call(d=>w(d,k,A),"fields"))]),i,"}"]:""];case"SchemaDefinition":return[A("description"),f.description?i:"","schema",E(_,A,f)," {",f.operationTypes.length>0?a([i,t(i,_.call(d=>w(d,k,A),"operationTypes"))]):"",i,"}"];case"OperationTypeDefinition":return[A("operation"),": ",A("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[A("description"),f.description?i:"",f.kind==="InterfaceTypeExtension"?"extend ":"","interface ",A("name"),f.interfaces.length>0?[" implements ",...T(_,k,A)]:"",E(_,A,f),f.fields.length>0?[" {",a([i,t(i,_.call(d=>w(d,k,A),"fields"))]),i,"}"]:""];case"FragmentSpread":return["...",A("name"),E(_,A,f)];case"InlineFragment":return["...",f.typeCondition?[" on ",A("typeCondition")]:"",E(_,A,f)," ",A("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return n([A("description"),f.description?i:"",n([f.kind==="UnionTypeExtension"?"extend ":"","union ",A("name"),E(_,A,f),f.types.length>0?[" =",o(""," "),a([o([l," "]),t([l,"| "],_.map(A,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[A("description"),f.description?i:"",f.kind==="ScalarTypeExtension"?"extend ":"","scalar ",A("name"),E(_,A,f)];case"NonNullType":return[A("type"),"!"];case"ListType":return["[",A("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(f.kind))}}function E(_,k,A){if(A.directives.length===0)return"";let f=t(l,_.map(k,"directives"));return A.kind==="FragmentDefinition"||A.kind==="OperationDefinition"?n([l,f]):[" ",n(a([u,f]))]}function w(_,k,A){let f=_.getValue().length;return _.map((d,c)=>{let r=A();return D(k.originalText,d.getValue(),p)&&c<f-1?[r,i]:r})}function N(_){return _.kind&&_.kind!=="Comment"}function b(_){let k=_.getValue();if(k.kind==="Comment")retur
(`).concat(u,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[c,r]of f.entries()){if(c%2===1){A.push({type:"whitespace",value:/\n/.test(r)?`
`:" "});continue}if((c===0||c===f.length-1)&&r==="")continue;let y=r.split(new RegExp("(".concat(u,")")));for(let[g,C]of y.entries())if(!((g===0||g===y.length-1)&&C==="")){if(g%2===0){C!==""&&d({type:"word",value:C,kind:S,hasLeadingPunctuation:h.test(C[0]),hasTrailingPunctuation:h.test(t(C))});continue}d(h.test(C)?{type:"word",value:C,kind:k,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:C,kind:F.test(C)?_:P,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return A;function d(c){let r=t(A);r&&r.type==="word"&&(r.kind===S&&c.kind===P&&!r.hasTrailingPunctuation||r.kind===P&&c.kind===S&&!c.hasLeadingPunctuation?A.push({type:"whitespace",value:" "}):!y(S,k)&&![r.value,c.value].some(g=>/\u3000/.test(g))&&A.push({type:"whitespace",value:""})),A.push(c);function y(g,C){return r.kind===g&&c.kind===C||r.kind===C&&c.kind===g}}}function p(b,T){let[,S,P,_]=T.slice(b.position.start.offset,b.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:S,marker:P,leadingSpaces:_}}function m(b,T){if(!b.ordered||b.children.length<2)return!1;let S=Number(p(b.children[0],T.originalText).numberText),P=Number(p(b.children[1],T.originalText).numberText);if(S===0&&b.children.length>2){let _=Number(p(b.children[2],T.originalText).numberText);return P===1&&_===1}return P===1}function E(b,T){let{value:S}=b;return b.position.end.offset===T.length&&S.endsWith(`
`)&&T.endsWith(`
`)?S.slice(0,-1):S}function w(b,T){return function S(P,_,k){let A=Object.assign({},T(P,_,k));return A.children&&(A.children=A.children.map((f,d)=>S(f,d,[A,...k]))),A}(b,null,[])}function N(b){if(!b||b.type!=="link"||b.children.length!==1)return!1;let T=b.children[0];return T&&i(b)===i(T)&&l(b)===l(T)}s.exports={mapAst:w,splitText:v,punctuationPattern:a,getFencedCodeBlockValue:E,getOrderedListItemInfo:p,hasGitDiffFriendlyOrderedList:m,INLINE_NODE_TYPES:o,INLINE_NODE_WRAPPER_TYPES:D,isAutolink:N}}}),Um=Z({"src/language-markdown/embed.js"(e,s){"use strict";ae();var{inferParserByLanguage:t,getMaxContinuousCount:i}=Ge(),{builders:{hardline:l,markAsRoot:u},utils:{replaceEndOfLine:n}}=Le(),a=Rn(),{getFencedCodeBlockValue:o}=Vn();function D(F,h,v,p){let m=F.getValue();if(m.type==="code"&&m.lang!==null){let E=t(m.lang,p);if(E){let w=p.__inJsTemplate?"~":"`",N=w.repeat(Math.max(3,i(m.value,w)+1)),b={parser:E};m.lang==="tsx"&&(b.filepath="dummy.tsx");let T=v(o(m,p.originalText),b,{stripTrailingHardline:!0});return u([N,m.lang,m.meta?" "+m.meta:"",l,n(T),l,N])}}switch(m.type){case"front-matter":return a(m,v);case"importExport":return[v(m.value,{parser:"babel"},{stripTrailingHardline:!0}),l];case"jsx":return v("<$>".concat(m.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}s.exports=D}}),to=Z({"src/language-markdown/pragma.js"(e,s){"use strict";ae();var t=Zi(),i=["format","prettier"];function l(u){let n="@(".concat(i.join("|"),")"),a=new RegExp(["<!--\\s*".concat(n,"\\s*-->"),"{\\s*\\/\\*\\s*".concat(n,"\\s*\\*\\/\\s*}"),`<!--.*\r?
[\\s\\S]*(^|
)[^\\S
]*`.concat(n,`[^\\S
]*($|
)[\\s\\S]*
.*-->`)].join("|"),"m"),o=u.match(a);return o&&o.index===0}s.exports={startWithPragma:l,hasPragma:u=>l(t(u).content.trimStart()),insertPragma:u=>{let n=t(u),a="<!-- @".concat(i[0]," -->");return n.frontMatter?"".concat(n.frontMatter.raw,`
`).concat(a,`
`).concat(n.content):"".concat(a,`
`).concat(n.content)}}}}),zm=Z({"src/language-markdown/print-preprocess.js"(e,s){"use strict";ae();var t=st(),{getOrderedListItemInfo:i,mapAst:l,splitText:u}=Vn(),n=/^.$/su;function a(N,b){return N=F(N,b),N=p(N),N=D(N),N=E(N,b),N=w(N,b),N=m(N,b),N=o(N),N=h(N),N}function o(N){return l(N,b=>b.type!=="import"&&b.type!=="export"?b:Object.assign(Object.assign({},b),{},{type:"importExport"}))}function D(N){return l(N,b=>b.type!=="inlineCode"?b:Object.assign(Object.assign({},b),{},{value:b.value.replace(/\s+/g," ")}))}function F(N,b){return l(N,T=>T.type!=="text"||T.value==="*"||T.value==="_"||!n.test(T.value)||T.position.end.offset-T.position.start.offset===T.value.length?T:Object.assign(Object.assign({},T),{},{value:b.originalText.slice(T.position.start.offset,T.position.end.offset)}))}function h(N){return v(N,(b,T)=>b.type==="importExport"&&T.type==="importExport",(b,T)=>({type:"importExport",value:b.value+`
`+T.value,position:{start:b.position.start,end:T.position.end}}))}function v(N,b,T){return l(N,S=>{if(!S.children)return S;let P=S.children.reduce((_,k)=>{let A=t(_);return A&&b(A,k)?_.splice(-1,1,T(A,k)):_.push(k),_},[]);return Object.assign(Object.assign({},S),{},{children:P})})}function p(N){return v(N,(b,T)=>b.type==="text"&&T.type==="text",(b,T)=>({type:"text",value:b.value+T.value,position:{start:b.position.start,end:T.position.end}}))}function m(N,b){return l(N,(T,S,P)=>{let[_]=P;if(T.type!=="text")return T;let{value:k}=T;return _.type==="paragraph"&&(S===0&&(k=k.trimStart()),S===_.children.length-1&&(k=k.trimEnd())),{type:"sentence",position:T.position,children:u(k,b)}})}function E(N,b){return l(N,(T,S,P)=>{if(T.type==="code"){let _=/^\n?(?: {4,}|\t)/.test(b.originalText.slice(T.position.start.offset,T.position.end.offset));if(T.isIndented=_,_)for(let k=0;k<P.length;k++){let A=P[k];if(A.hasIndentedCodeblock)break;A.type==="list"&&(A.hasIndentedCodeblock=!0)}}return T})}function w(N,b){return l(N,(P,_,k)=>{if(P.type==="list"&&P.children.length>0){for(let A=0;A<k.length;A++){let f=k[A];if(f.type==="list"&&!f.isAligned)return P.isAligned=!1,P}P.isAligned=S(P)}return P});function T(P){return P.children.length===0?-1:P.children[0].position.start.column-1}function S(P){if(!P.ordered)return!0;let[_,k]=P.children;if(i(_,b.originalText).leadingSpaces.length>1)return!0;let f=T(_);if(f===-1)return!1;if(P.children.length===1)return f%b.tabWidth===0;let d=T(k);return f!==d?!1:f%b.tabWidth===0?!0:i(k,b.originalText).leadingSpaces.length>1}}s.exports=a}}),Xm=Z({"src/language-markdown/clean.js"(e,s){"use strict";ae();var{isFrontMatterNode:t}=Ge(),{startWithPragma:i}=to(),l=new Set(["position","raw"]);function u(n,a,o){if((n.type==="front-matter"||n.type==="code"||n.type==="yaml"||n.type==="import"||n.type==="export"||n.type==="jsx")&&delete a.value,n.type==="list"&&delete a.isAligned,(n.type==="list"||n.type==="listItem")&&(delete a.spread,delete a.loose),n.type==="text"||(n.type==="inlineCode"&&(a.value=n.value.replace(/[\t\n ]+/g," ")),n.type==="wikiLink"&&(a.value=n.value.trim().replace(/[\t\n]+/g," ")),(n.type==="definition"||n.type==="linkReference")&&(a.label=n.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),(n.type==="definition"||n.type==="link"||n.type==="image")&&n.title&&(a.title=n.title.replace(/\\(["')])/g,"$1")),o&&o.type==="root"&&o.children.length>0&&(o.children[0]===n||t(o.children[0])&&o.children[1]===n)&&n.type==="html"&&i(n.value)))return null}u.ignoredProperties=l,s.exports=u}}),Km=Z({"src/language-markdown/printer-markdown.js"(e,s){"use strict";ae();var{getLast:t,getMinNotPresentContinuousCount:i,getMaxContinuousCount:l,getStringWidth:u,isNonEmptyArray:n}=Ge(),{builders:{breakParent:a,join:o,line:D,literalline:F,markAsRoot:h,hardline:v,softline:p,ifBreak:m,fill:E,align:w,indent:N,group:b,hardlineWithoutBreakParent:T},utils:{normalizeDoc:S,replaceTextEndOfLine:P},printer:{printDocToString:_}}=Le(),k=Um(),{insertPragma:A}=to(),{locStart:f,locEnd:d}=eo(),c=zm(),r=Xm(),{getFencedCodeBlockValue:y,hasGitDiffFriendlyOrderedList:g,splitText:C,punctuationPattern:x,INLINE_NODE_TYPES:B,INLINE_NODE_WRAPPER_TYPES:L,isAutolink:M}=Vn(),O=new Set(["importExport"]),H=["heading","tableCell","link","wikiLink"],I=new Set(["listItem","definition","footnoteDefinition"]);function G(fe,pe,me){let ce=fe.getValue();if(de(fe))return C(pe.originalText.slice(ce.position.start.offset,ce.position.end.offset),pe).map(he=>he.type==="word"?he.value:he.value===""?"":se(fe,he.value,pe));switch(ce.type){case"front-matter":return pe.originalText.slice(ce.position.start.offset,ce.position.end.offset);case"root":return ce.children.length===0?"":[S(oe(fe,pe,me)),O.has(Ee(ce).type)?"":v];case"paragraph":return K(fe,pe,me,{postprocessor:E});case"sentence":return K(fe,pe,me);case"word":{let he=ce.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(x,")(_+)"),"(_+)(".concat(x,"|$)")].join("|"),"g"),(X,Y,re,z,q)=>(re?"".concat(Y).concat(re):"".concat(z).concat(q)).replace(/_/g,"\\_")),J=(X,Y,re)=>X.type==="sentence"&&re===0,ye=(X,Y,re)=>
`)return v;let ce=me.proseWrap==="always"&&!ne(fe,H);return pe!==""?ce?D:" ":ce?p:""}function V(fe,pe,me){let ce=fe.getValue(),he=[],J=fe.map(q=>q.map((Ce,Ne)=>{let Oe=_(me(),pe).formatted,Ue=u(Oe);return he[Ne]=Math.max(he[Ne]||3,Ue),{text:Oe,width:Ue}},"children"),"children"),ye=Y(!1);if(pe.proseWrap!=="never")return[a,ye];let X=Y(!0);return[a,b(m(X,ye))];function Y(q){let Ce=[z(J[0],q),re(q)];return J.length>1&&Ce.push(o(T,J.slice(1).map(Ne=>z(Ne,q)))),o(T,Ce)}function re(q){let Ce=he.map((Ne,Oe)=>{let Ue=ce.align[Oe],tt=Ue==="center"||Ue==="left"?":":"-",xe=Ue==="center"||Ue==="right"?":":"-",Pe=q?"-":"-".repeat(Ne-2);return"".concat(tt).concat(Pe).concat(xe)});return"| ".concat(Ce.join(" | ")," |")}function z(q,Ce){let Ne=q.map((Oe,Ue)=>{let{text:tt,width:xe}=Oe;if(Ce)return tt;let Pe=he[Ue]-xe,Fe=ce.align[Ue],Ke=0;Fe==="right"?Ke=Pe:Fe==="center"&&(Ke=Math.floor(Pe/2));let Se=Pe-Ke;return"".concat(" ".repeat(Ke)).concat(tt).concat(" ".repeat(Se))});return"| ".concat(Ne.join(" | ")," |")}}function oe(fe,pe,me){let ce=[],he=null,{children:J}=fe.getValue();for(let[ye,X]of J.entries())switch(R(X)){case"start":he===null&&(he={index:ye,offset:X.position.end.offset});break;case"end":he!==null&&(ce.push({start:he,end:{index:ye,offset:X.position.start.offset}}),he=null);break;default:break}return K(fe,pe,me,{processor:(ye,X)=>{if(ce.length>0){let Y=ce[0];if(X===Y.start.index)return[J[Y.start.index].value,pe.originalText.slice(Y.start.offset,Y.end.offset),J[Y.end.index].value];if(Y.start.index<X&&X<Y.end.index)return!1;if(X===Y.end.index)return ce.shift(),!1}return me()}})}function K(fe,pe,me){let ce=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:he}=ce,J=ce.processor||(()=>me()),ye=fe.getValue(),X=[],Y;return fe.each((re,z)=>{let q=re.getValue(),Ce=J(re,z);if(Ce!==!1){let Ne={parts:X,prevNode:Y,parentNode:ye,options:pe};le(q,Ne)&&(X.push(v),Y&&O.has(Y.type)||(ue(q,Ne)||Q(q,Ne))&&X.push(v),Q(q,Ne)&&X.push(v)),X.push(Ce),Y=q}},"children"),he?he(X):X}function Ee(fe){let pe=fe;for(;n(pe.children);)pe=t(pe.children);return pe}function R(fe){let pe;if(fe.type==="html")pe=fe.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let me;fe.type==="esComment"?me=fe:fe.type==="paragraph"&&fe.children.length===1&&fe.children[0].type==="esComment"&&(me=fe.children[0]),me&&(pe=me.value.match(/^prettier-ignore(?:-(start|end))?$/))}return pe?pe[1]?pe[1]:"next":!1}function le(fe,pe){let me=pe.parts.length===0,ce=B.includes(fe.type),he=fe.type==="html"&&L.includes(pe.parentNode.type);return!me&&!ce&&!he}function ue(fe,pe){let ce=(pe.prevNode&&pe.prevNode.type)===fe.type&&I.has(fe.type),he=pe.parentNode.type==="listItem"&&!pe.parentNode.loose,J=pe.prevNode&&pe.prevNode.type==="listItem"&&pe.prevNode.loose,ye=R(pe.prevNode)==="next",X=fe.type==="html"&&pe.prevNode&&pe.prevNode.type==="html"&&pe.prevNode.position.end.line+1===fe.position.start.line,Y=fe.type==="html"&&pe.parentNode.type==="listItem"&&pe.prevNode&&pe.prevNode.type==="paragraph"&&pe.prevNode.position.end.line+1===fe.position.start.line;return J||!(ce||he||ye||X||Y)}function Q(fe,pe){let me=pe.prevNode&&pe.prevNode.type==="list",ce=fe.type==="code"&&fe.isIndented;return me&&ce}function de(fe){let pe=ne(fe,["linkReference","imageReference"]);return pe&&(pe.type!=="linkReference"||pe.referenceType!=="full")}function ge(fe){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],me=[" ",...Array.isArray(pe)?pe:[pe]];return new RegExp(me.map(ce=>"\\".concat(ce)).join("|")).test(fe)?"<".concat(fe,">"):fe}function ve(fe,pe){let me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!fe)return"";if(me)return" "+ve(fe,pe,!1);if(fe=fe.replace(/\\(["')])/g,"$1"),fe.includes('"')&&fe.includes("'")&&!fe.includes(")"))return"(".concat(fe,")");let ce=fe.split("'").length-1,he=fe.split('"').length-1,J=ce>he?'"':he>ce||pe.singleQuote?"'":'"';return fe=fe.replace(/\\/,"\\\\"),fe=fe.replace(new RegExp("(".concat(J,")"),"g"),"\\$1"),"".concat(J).concat(fe).concat(J)}function be(fe,pe,me){return fe<pe?pe:fe>me?me:fe}function we(fe){let pe=Num
`,"\f","\r"," "]),E=q=>q.replace(/^[\t\n\f\r ]+/,""),w=q=>q.replace(/[\t\n\f\r ]+$/,""),N=q=>E(w(q)),b=q=>q.replace(/^[\t\f\r ]*\n/g,""),T=q=>b(w(q)),S=q=>q.split(/[\t\n\f\r ]+/),P=q=>q.match(/^[\t\n\f\r ]*/)[0],_=q=>{let[,Ce,Ne,Oe]=q.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:Ce,trailingWhitespace:Oe,text:Ne}},k=q=>/[\t\n\f\r ]/.test(q);function A(q,Ce){return!!(q.type==="ieConditionalComment"&&q.lastChild&&!q.lastChild.isSelfClosing&&!q.lastChild.endSourceSpan||q.type==="ieConditionalComment"&&!q.complete||de(q)&&q.children.some(Ne=>Ne.type!=="text"&&Ne.type!=="interpolation")||X(q,Ce)&&!r(q)&&q.type!=="interpolation")}function f(q){return q.type==="attribute"||!q.parent||!q.prev?!1:d(q.prev)}function d(q){return q.type==="comment"&&q.value.trim()==="prettier-ignore"}function c(q){return q.type==="text"||q.type==="comment"}function r(q){return q.type==="element"&&(q.fullName==="script"||q.fullName==="style"||q.fullName==="svg:style"||p(q)&&(q.name==="script"||q.name==="style"))}function y(q){return q.children&&!r(q)}function g(q){return r(q)||q.type==="interpolation"||C(q)}function C(q){return we(q).startsWith("pre")}function x(q,Ce){let Ne=Oe();if(Ne&&!q.prev&&q.parent&&q.parent.tagDefinition&&q.parent.tagDefinition.ignoreFirstLf)return q.type==="interpolation";return Ne;function Oe(){return i(q)?!1:(q.type==="text"||q.type==="interpolation")&&q.prev&&(q.prev.type==="text"||q.prev.type==="interpolation")?!0:!q.parent||q.parent.cssDisplay==="none"?!1:de(q.parent)?!0:!(!q.prev&&(q.parent.type==="root"||de(q)&&q.parent||r(q.parent)||J(q.parent,Ce)||!Ee(q.parent.cssDisplay))||q.prev&&!ue(q.prev.cssDisplay))}}function B(q,Ce){return i(q)?!1:(q.type==="text"||q.type==="interpolation")&&q.next&&(q.next.type==="text"||q.next.type==="interpolation")?!0:!q.parent||q.parent.cssDisplay==="none"?!1:de(q.parent)?!0:!(!q.next&&(q.parent.type==="root"||de(q)&&q.parent||r(q.parent)||J(q.parent,Ce)||!R(q.parent.cssDisplay))||q.next&&!le(q.next.cssDisplay))}function L(q){return Q(q.cssDisplay)&&!r(q)}function M(q){return i(q)||q.next&&q.sourceSpan.end&&q.sourceSpan.end.line+1<q.next.sourceSpan.start.line}function O(q){return H(q)||q.type==="element"&&q.children.length>0&&(["body","script","style"].includes(q.name)||q.children.some(Ce=>ne(Ce)))||q.firstChild&&q.firstChild===q.lastChild&&q.firstChild.type!=="text"&&W(q.firstChild)&&(!q.lastChild.isTrailingSpaceSensitive||$(q.lastChild))}function H(q){return q.type==="element"&&q.children.length>0&&(["html","head","ul","ol","select"].includes(q.name)||q.cssDisplay.startsWith("table")&&q.cssDisplay!=="table-cell")}function I(q){return te(q)||q.prev&&G(q.prev)||ee(q)}function G(q){return te(q)||q.type==="element"&&q.fullName==="br"||ee(q)}function ee(q){return W(q)&&$(q)}function W(q){return q.hasLeadingSpaces&&(q.prev?q.prev.sourceSpan.end.line<q.sourceSpan.start.line:q.parent.type==="root"||q.parent.startSourceSpan.end.line<q.sourceSpan.start.line)}function $(q){return q.hasTrailingSpaces&&(q.next?q.next.sourceSpan.start.line>q.sourceSpan.end.line:q.parent.type==="root"||q.parent.endSourceSpan&&q.parent.endSourceSpan.start.line>q.sourceSpan.end.line)}function te(q){switch(q.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(q.name)}return!1}function U(q){return q.lastChild?U(q.lastChild):q}function ne(q){return q.children&&q.children.some(Ce=>Ce.type!=="text")}function se(q){let{type:Ce,lang:Ne}=q.attrMap;if(Ce==="module"||Ce==="text/javascript"||Ce==="text/babel"||Ce==="application/javascript"||Ne==="jsx")return"babel";if(Ce==="application/x-typescript"||Ne==="ts"||Ne==="tsx")return"typescript";if(Ce==="text/markdown")return"markdown";if(Ce==="text/html")return"html";if(Ce&&(Ce.endsWith("json")||Ce.endsWith("importmap")))return"json";if(Ce==="text/x-handlebars-template")return"glimmer"}function V(q){let{lang:Ce}=q.attrMap;if(!Ce||Ce==="postcss"||Ce==="css")return"css";if(Ce==="scss")return"scss";if(Ce==="less")return"less"}function oe(q,Ce){if(q.name==="script"&&!q.attrMap.src)return!q.attrM
`)){if(Ne.length===0)continue;if(!m.has(Ne[0]))return 0;let Oe=P(Ne).length;Ne.length!==Oe&&Oe<Ce&&(Ce=Oe)}return Ce===Number.POSITIVE_INFINITY?0:Ce}function pe(q){let Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fe(q);return Ce===0?q:q.split(`
`).map(Ne=>Ne.slice(Ce)).join(`
`)}function me(q,Ce){let Ne=0;for(let Oe=0;Oe<q.length;Oe++)q[Oe]===Ce&&Ne++;return Ne}function ce(q){return q.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var he=new Set(["template","style","script"]);function J(q,Ce){return ye(q,Ce)&&!he.has(q.fullName)}function ye(q,Ce){return Ce.parser==="vue"&&q.type==="element"&&q.parent.type==="root"&&q.fullName.toLowerCase()!=="html"}function X(q,Ce){return ye(q,Ce)&&(J(q,Ce)||q.attrMap.lang&&q.attrMap.lang!=="html")}function Y(q){let Ce=q.fullName;return Ce.charAt(0)==="#"||Ce==="slot-scope"||Ce==="v-slot"||Ce.startsWith("v-slot:")}function re(q,Ce){let Ne=q.parent;if(!ye(Ne,Ce))return!1;let Oe=Ne.fullName,Ue=q.fullName;return Oe==="script"&&Ue==="setup"||Oe==="style"&&Ue==="vars"}function z(q){let Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:q.value;return q.parent.isWhitespaceSensitive?q.parent.isIndentationSensitive?o(Ce):o(pe(T(Ce)),u):a(n(l,S(Ce)))}s.exports={htmlTrim:N,htmlTrimPreserveIndentation:T,hasHtmlWhitespace:k,getLeadingAndTrailingHtmlWhitespace:_,canHaveInterpolation:y,countChars:me,countParents:ge,dedentString:pe,forceBreakChildren:H,forceBreakContent:O,forceNextEmptyLine:M,getLastDescendant:U,getNodeCssStyleDisplay:be,getNodeCssStyleWhiteSpace:we,hasPrettierIgnore:f,inferScriptParser:oe,isVueCustomBlock:J,isVueNonHtmlBlock:X,isVueSlotAttribute:Y,isVueSfcBindingsAttribute:re,isDanglingSpaceSensitiveNode:L,isIndentationSensitiveNode:C,isLeadingSpaceSensitiveNode:x,isPreLikeNode:de,isScriptLikeTag:r,isTextLikeNode:c,isTrailingSpaceSensitiveNode:B,isWhitespaceSensitiveNode:g,isUnknownNamespace:p,preferHardlineAsLeadingSpaces:I,preferHardlineAsTrailingSpaces:G,shouldPreserveContent:A,unescapeQuoteEntities:ce,getTextValueParts:z}}}),nd=Z({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){"use strict";ae(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96;function s(a){return a>=e.$TAB&&a<=e.$SPACE||a==e.$NBSP}e.isWhitespace=s;function t(a){return e.$0<=a&&a<=e.$9}e.isDigit=t;function i(a){return a>=e.$a&&a<=e.$z||a>=e.$A&&a<=e.$Z}e.isAsciiLetter=i;function l(a){return a>=e.$a&&a<=e.$f||a>=e.$A&&a<=e.$F||t(a)}e.isAsciiHexDigit=l;function u(a){return a===e.$LF||a===e.$CR}e.isNewLine=u;function n(a){return e.$0<=a&&a<=e.$7}e.isOctalDigit=n}}),ud=Z({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){"use strict";ae(),Object.defineProperty(e,"__esModule",{value:!0});var s=class{constructor(i,l,u){this.filePath=i,this.name=l,this.members=u}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};e.StaticSymbol=s;var t=class{constructor(){this.cache=new Map}get(i,l,u){u=u||[];let n=u.length?".".concat(u.join(".")):"",a='"'.concat(i,'".').concat(l).concat(n),o=this.cache.get(a);return o||(o=new s(i,l,u),this.cache.set(a,o)),o}};e.StaticSymbolCache=t}}),sd=Z({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){"use strict";ae(),Object.defineProperty(e,"__esModule",{value:!0});var s=/-+([a-z0-9])/g;function t(r){return r.replace(s,function(){for(var y=arguments.length,g=new Array(y),C=0;C<y;C++)g[C]=arguments[C];return g[1].toUpperCase()})}e.dashCaseToCamelCase=t;function i(r,y){return u(r,":",y)}e.splitAtColon=i;function l(r,y){return u(r,".",y)}e.splitAtPeriod=l;function u(r,y,g){let C=r.indexOf(y);return C==-1?g:[r.slice(0,C).trim(),r.slice(C+1).trim()]}function n(r,y,g){return Array.i
`);return g===-1?y:y.substring(0,g)}e.stringify=S;function P(r){return typeof r=="function"&&r.hasOwnProperty("__forward_ref__")?r():r}e.resolveForwardRef=P;function _(r){return!!r&&typeof r.then=="function"}e.isPromise=_;var k=class{constructor(r){this.full=r;let y=r.split(".");this.major=y[0],this.minor=y[1],this.patch=y.slice(2).join(".")}};e.Version=k;var A=typeof window<"u"&&window,f=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,d=typeof globalThis<"u"&&globalThis,c=d||A||f;e.global=c}}),ad=Z({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){"use strict";ae(),Object.defineProperty(e,"__esModule",{value:!0});var s=ud(),t=sd(),i=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function l(g){return g.replace(/\W/g,"_")}e.sanitizeIdentifier=l;var u=0;function n(g){if(!g||!g.reference)return null;let C=g.reference;if(C instanceof s.StaticSymbol)return C.name;if(C.__anonymousType)return C.__anonymousType;let x=t.stringify(C);return x.indexOf("(")>=0?(x="anonymous_".concat(u++),C.__anonymousType=x):x=l(x),x}e.identifierName=n;function a(g){let C=g.reference;return C instanceof s.StaticSymbol?C.filePath:"./".concat(t.stringify(C))}e.identifierModuleUrl=a;function o(g,C){return"View_".concat(n({reference:g}),"_").concat(C)}e.viewClassName=o;function D(g){return"RenderType_".concat(n({reference:g}))}e.rendererTypeName=D;function F(g){return"HostView_".concat(n({reference:g}))}e.hostViewClassName=F;function h(g){return"".concat(n({reference:g}),"NgFactory")}e.componentFactoryName=h;var v;(function(g){g[g.Pipe=0]="Pipe",g[g.Directive=1]="Directive",g[g.NgModule=2]="NgModule",g[g.Injectable=3]="Injectable"})(v=e.CompileSummaryKind||(e.CompileSummaryKind={}));function p(g){return g.value!=null?l(g.value):n(g.identifier)}e.tokenName=p;function m(g){return g.identifier!=null?g.identifier.reference:g.value}e.tokenReference=m;var E=class{constructor(){let{moduleUrl:g,styles:C,styleUrls:x}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=g||null,this.styles=_(C),this.styleUrls=_(x)}};e.CompileStylesheetMetadata=E;var w=class{constructor(g){let{encapsulation:C,template:x,templateUrl:B,htmlAst:L,styles:M,styleUrls:O,externalStylesheets:H,animations:I,ngContentSelectors:G,interpolation:ee,isInline:W,preserveWhitespaces:$}=g;if(this.encapsulation=C,this.template=x,this.templateUrl=B,this.htmlAst=L,this.styles=_(M),this.styleUrls=_(O),this.externalStylesheets=_(H),this.animations=I?A(I):[],this.ngContentSelectors=G||[],ee&&ee.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=ee,this.isInline=W,this.preserveWhitespaces=$}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=w;var N=class{static create(g){let{isHost:C,type:x,isComponent:B,selector:L,exportAs:M,changeDetection:O,inputs:H,outputs:I,host:G,providers:ee,viewProviders:W,queries:$,guards:te,viewQueries:U,entryComponents:ne,template:se,componentViewType:V,rendererType:oe,componentFactory:K}=g,Ee={},R={},le={};G!=null&&Object.keys(G).forEach(de=>{let ge=G[de],ve=de.match(i);ve===null?le[de]=ge:ve[1]!=null?R[ve[1]]=ge:ve[2]!=null&&(Ee[ve[2]]=ge)});let ue={};H!=null&&H.forEach(de=>{let ge=t.splitAtColon(de,[de,de]);ue[ge[0]]=ge[1]});let Q={};return I!=null&&I.forEach(de=>{let ge=t.splitAtColon(de,[de,de]);Q[ge[0]]=ge[1]}),new N({isHost:C,type:x,isComponent:!!B,selector:L,exportAs:M,changeDetection:O,inputs:ue,outputs:Q,hostListeners:Ee,hostProperties:R,hostAttributes:le,providers:ee,viewProviders:W,queries:$,guards:te,viewQueries:U,entryComponents:ne,template:se,componentViewType:V,rendererType:oe,componentFactory:K})}constructor(g){let{isHost:C,type:x,isComponent:B,selector:L,exportAs:M,changeDetection:O,inputs:H,outputs:I,hostListeners:G,hostProperties:ee,hostAttributes:W,providers:$,viewProviders:te,queries:U,guards:ne,viewQueries:se,entryComponents:V,template:oe,componentViewType:K,rendererType:Ee,componentFactory:R}=g;t
`&&++w==h)););for(E=0,w=0;E<F&&m<v.length-1&&(m++,E++,!(v[m]==`
`&&++w==h)););return{before:v.substring(p,this.offset),after:v.substring(this.offset,m+1)}}return null}};e.ParseLocation=i;var l=class{constructor(F,h){this.content=F,this.url=h}};e.ParseSourceFile=l;var u=class{constructor(F,h){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=F,this.end=h,this.details=v}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=u,e.EMPTY_PARSE_LOCATION=new i(new l("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new u(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION);var n;(function(F){F[F.WARNING=0]="WARNING",F[F.ERROR=1]="ERROR"})(n=e.ParseErrorLevel||(e.ParseErrorLevel={}));var a=class{constructor(F,h){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n.ERROR;this.span=F,this.msg=h,this.level=v}contextualMessage(){let F=this.span.start.getContext(100,3);return F?"".concat(this.msg,' ("').concat(F.before,"[").concat(n[this.level]," ->]").concat(F.after,'")'):this.msg}toString(){let F=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(F)}};e.ParseError=a;function o(F,h){let v=t.identifierModuleUrl(h),p=v!=null?"in ".concat(F," ").concat(t.identifierName(h)," in ").concat(v):"in ".concat(F," ").concat(t.identifierName(h)),m=new l("",p);return new u(new i(m,-1,-1,-1),new i(m,-1,-1,-1))}e.typeSourceSpan=o;function D(F,h,v){let p="in ".concat(F," ").concat(h," in ").concat(v),m=new l("",p);return new u(new i(m,-1,-1,-1),new i(m,-1,-1,-1))}e.r3JitTypeSourceSpan=D}}),od=Z({"src/language-html/print-preprocess.js"(e,s){"use strict";ae();var{ParseSourceSpan:t}=id(),{htmlTrim:i,getLeadingAndTrailingHtmlWhitespace:l,hasHtmlWhitespace:u,canHaveInterpolation:n,getNodeCssStyleDisplay:a,isDanglingSpaceSensitiveNode:o,isIndentationSensitiveNode:D,isLeadingSpaceSensitiveNode:F,isTrailingSpaceSensitiveNode:h,isWhitespaceSensitiveNode:v}=It(),p=[E,w,b,S,P,A,_,k,f,T];function m(d,c){for(let r of p)r(d,c);return d}function E(d){d.walk(c=>{if(c.type==="element"&&c.tagDefinition.ignoreFirstLf&&c.children.length>0&&c.children[0].type==="text"&&c.children[0].value[0]===`
`){let r=c.children[0];r.value.length===1?c.removeChild(r):r.value=r.value.slice(1)}})}function w(d){let c=r=>r.type==="element"&&r.prev&&r.prev.type==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&r.firstChild&&r.firstChild.type==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset;d.walk(r=>{if(r.children)for(let y=0;y<r.children.length;y++){let g=r.children[y];if(!c(g))continue;let C=g.prev,x=g.firstChild;r.removeChild(C),y--;let B=new t(C.sourceSpan.start,x.sourceSpan.end),L=new t(B.start,g.sourceSpan.end);g.condition=C.condition,g.sourceSpan=L,g.startSourceSpan=B,g.removeChild(x)}})}function N(d,c,r){d.walk(y=>{if(y.children)for(let g=0;g<y.children.length;g++){let C=y.children[g];if(C.type!=="text"&&!c(C))continue;C.type!=="text"&&(C.type="text",C.value=r(C));let x=C.prev;!x||x.type!=="text"||(x.value+=C.value,x.sourceSpan=new t(x.sourceSpan.start,C.sourceSpan.end),y.removeChild(C),g--)}})}function b(d){return N(d,c=>c.type==="cdata",c=>"<![CDATA[".concat(c.value,"]]>"))}function T(d){let c=r=>r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!u(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&r.prev&&r.prev.type==="text"&&r.next&&r.next.type==="text";d.walk(r=>{if(r.children)for(let y=0;y<r.children.length;y++){let g=r.children[y];if(!c(g))continue;let C=g.prev,x=g.next;C.value+="<".concat(g.rawName,">")+g.firstChild.value+"</".concat(g.rawName,">")+x.value,C.sourceSpan=new t(C.sourceSpan.start,x.sourceSpan.end),C.isTrailingSpaceSensitive=x.isTrailingSpaceSensitive,C.hasTrailingSpaces=x.hasTrailingSpaces,r.removeChild(g),y--,r.removeChild(x)}})}function S(d,c){if(c.parser==="html")return;let r=/{{(.+?)}}/s;d.walk(y=>{if(!!n(y))for(let g of y.children){if(g.type!=="text")continue;let C=g.sourceSpan.start,x=null,B=g.value.split(r);for(let L=0;L<B.length;L++,C=x){let M=B[L];if(L%2===0){x=C.moveBy(M.length),M.length>0&&y.insertChildBefore(g,{type:"text",value:M,sourceSpan:new t(C,x)});continue}x=C.moveBy(M.length+4),y.insertChildBefore(g,{type:"interpolation",sourceSpan:new t(C,x),children:M.length===0?[]:[{type:"text",value:M,sourceSpan:new t(C.moveBy(2),x.moveBy(-2))}]})}y.removeChild(g)}})}function P(d){d.walk(c=>{if(!c.children)return;if(c.children.length===0||c.children.length===1&&c.children[0].type==="text"&&i(c.children[0].value).length===0){c.hasDanglingSpaces=c.children.length>0,c.children=[];return}let r=v(c),y=D(c);if(!r)for(let g=0;g<c.children.length;g++){let C=c.children[g];if(C.type!=="text")continue;let{leadingWhitespace:x,text:B,trailingWhitespace:L}=l(C.value),M=C.prev,O=C.next;B?(C.value=B,C.sourceSpan=new t(C.sourceSpan.start.moveBy(x.length),C.sourceSpan.end.moveBy(-L.length)),x&&(M&&(M.hasTrailingSpaces=!0),C.hasLeadingSpaces=!0),L&&(C.hasTrailingSpaces=!0,O&&(O.hasLeadingSpaces=!0))):(c.removeChild(C),g--,(x||L)&&(M&&(M.hasTrailingSpaces=!0),O&&(O.hasLeadingSpaces=!0)))}c.isWhitespaceSensitive=r,c.isIndentationSensitive=y})}function _(d){d.walk(c=>{c.isSelfClosing=!c.children||c.type==="element"&&(c.tagDefinition.isVoid||c.startSourceSpan===c.endSourceSpan)})}function k(d,c){d.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(c.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function A(d,c){d.walk(r=>{r.cssDisplay=a(r,c)})}function f(d,c){d.walk(r=>{let{children:y}=r;if(!!y){if(y.length===0){r.isDanglingSpaceSensitive=o(r);return}for(let g of y)g.isLeadingSpaceSensitive=F(g,c),g.isTrailingSpaceSensitive=h(g,c);for(let g=0;g<y.length;g++){let C=y[g];C.isLeadingSpaceSensitive=(g===0||C.prev.isTrailingSpaceSensitive)&&C.isLeadingSpaceSensitive,C.isTrailingSpaceSensitive=(g===y.length-1||C.next.isLeadingSpaceSensitive)&&C.isTrailingSpaceSensitive}}})}s.exports=m}}),cd=Z({"src/language-html/pragma.js"(e,s){"use strict";ae();function t(l){return/^\s*<!--\s*@
`+l.replace(/^\s*\n/,"")}s.exports={hasPragma:t,insertPragma:i}}}),Wn=Z({"src/language-html/loc.js"(e,s){"use strict";ae();function t(l){return l.sourceSpan.start.offset}function i(l){return l.sourceSpan.end.offset}s.exports={locStart:t,locEnd:i}}}),zt=Z({"src/language-html/print/tag.js"(e,s){"use strict";ae();var t=$t(),{isNonEmptyArray:i}=Ge(),{builders:{indent:l,join:u,line:n,softline:a,hardline:o},utils:{replaceTextEndOfLine:D}}=Le(),{locStart:F,locEnd:h}=Wn(),{isTextLikeNode:v,getLastDescendant:p,isPreLikeNode:m,hasPrettierIgnore:E,shouldPreserveContent:w}=It();function N(I,G){return[I.isSelfClosing?"":b(I,G),T(I,G)]}function b(I,G){return I.lastChild&&c(I.lastChild)?"":[S(I,G),_(I,G)]}function T(I,G){return(I.next?f(I.next):d(I.parent))?"":[k(I,G),P(I,G)]}function S(I,G){return d(I)?k(I.lastChild,G):""}function P(I,G){return c(I)?_(I.parent,G):r(I)?O(I.next):""}function _(I,G){if(t(!I.isSelfClosing),A(I,G))return"";switch(I.type){case"ieConditionalComment":return"<!";case"element":if(I.hasHtmComponentClosingTag)return"<//";default:return"</".concat(I.rawName)}}function k(I,G){if(A(I,G))return"";switch(I.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(I.isSelfClosing)return"/>";default:return">"}}function A(I,G){return!I.isSelfClosing&&!I.endSourceSpan&&(E(I)||w(I.parent,G))}function f(I){return I.prev&&I.prev.type!=="docType"&&!v(I.prev)&&I.isLeadingSpaceSensitive&&!I.hasLeadingSpaces}function d(I){return I.lastChild&&I.lastChild.isTrailingSpaceSensitive&&!I.lastChild.hasTrailingSpaces&&!v(p(I.lastChild))&&!m(I)}function c(I){return!I.next&&!I.hasTrailingSpaces&&I.isTrailingSpaceSensitive&&v(p(I))}function r(I){return I.next&&!v(I.next)&&v(I)&&I.isTrailingSpaceSensitive&&!I.hasTrailingSpaces}function y(I){let G=I.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return G?G[1]?G[1].split(/\s+/):!0:!1}function g(I){return!I.prev&&I.isLeadingSpaceSensitive&&!I.hasLeadingSpaces}function C(I,G,ee){let W=I.getValue();if(!i(W.attrs))return W.isSelfClosing?" ":"";let $=W.prev&&W.prev.type==="comment"&&y(W.prev.value),te=typeof $=="boolean"?()=>$:Array.isArray($)?oe=>$.includes(oe.rawName):()=>!1,U=I.map(oe=>{let K=oe.getValue();return te(K)?D(G.originalText.slice(F(K),h(K))):ee()},"attrs"),ne=W.type==="element"&&W.fullName==="script"&&W.attrs.length===1&&W.attrs[0].fullName==="src"&&W.children.length===0,se=G.singleAttributePerLine&&W.attrs.length>1?o:n,V=[l([ne?" ":n,u(se,U)])];return W.firstChild&&g(W.firstChild)||W.isSelfClosing&&d(W.parent)||ne?V.push(W.isSelfClosing?" ":""):V.push(G.bracketSameLine?W.isSelfClosing?" ":"":W.isSelfClosing?n:a),V}function x(I){return I.firstChild&&g(I.firstChild)?"":H(I)}function B(I,G,ee){let W=I.getValue();return[L(W,G),C(I,G,ee),W.isSelfClosing?"":x(W)]}function L(I,G){return I.prev&&r(I.prev)?"":[M(I,G),O(I)]}function M(I,G){return g(I)?H(I.parent):f(I)?k(I.prev,G):""}function O(I){switch(I.type){case"ieConditionalComment":case"ieConditionalStartComment":return"<!--[if ".concat(I.condition);case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(I.condition)return"<!--[if ".concat(I.condition,"]><!--><").concat(I.rawName);default:return"<".concat(I.rawName)}}function H(I){switch(t(!I.isSelfClosing),I.type){case"ieConditionalComment":return"]>";case"element":if(I.condition)return"><!--<![endif]-->";default:return">"}}s.exports={printClosingTag:N,printClosingTagStart:b,printClosingTagStartMarker:_,printClosingTagEndMarker:k,printClosingTagSuffix:P,printClosingTagEnd:T,needsToBorrowLastChildClosingTagEndMarker:d,needsToBorrowParentClosingTagStartMarker:c,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTag:B,printOpeningTagStart:L,printOpeningTagPrefix:M,printOpeningTagStartMarker:O,printOpeningTagEndMarker:H,needsToBorrowNextOpeningTagStartMarker:r,needsToBorrowParentOpeningTagEndMarker:g}}}),ld=Z({"node_modules/parse-srcset/src/parse-srcset.js"(e,s){ae(),function(t,i){typeof defi
`||k==="\f"||k==="\r"}function n(k){var A,f=k.exec(t.substring(T));if(f)return A=f[0],T+=A.length,A}for(var a=t.length,o=/^[ \t\n\r\u000c]+/,D=/^[, \t\n\r\u000c]+/,F=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,v=/^\d+$/,p=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,m,E,w,N,b,T=0,S=[];;){if(n(D),T>=a)return S;m=n(F),E=[],m.slice(-1)===","?(m=m.replace(h,""),_()):P()}function P(){for(n(o),w="",N="in descriptor";;){if(b=t.charAt(T),N==="in descriptor")if(u(b))w&&(E.push(w),w="",N="after descriptor");else if(b===","){T+=1,w&&E.push(w),_();return}else if(b==="(")w=w+b,N="in parens";else if(b===""){w&&E.push(w),_();return}else w=w+b;else if(N==="in parens")if(b===")")w=w+b,N="in descriptor";else if(b===""){E.push(w),_();return}else w=w+b;else if(N==="after descriptor"&&!u(b))if(b===""){_();return}else N="in descriptor",T-=1;T+=1}}function _(){var k=!1,A,f,d,c,r={},y,g,C,x,B;for(c=0;c<E.length;c++)y=E[c],g=y[y.length-1],C=y.substring(0,y.length-1),x=parseInt(C,10),B=parseFloat(C),v.test(C)&&g==="w"?((A||f)&&(k=!0),x===0?k=!0:A=x):p.test(C)&&g==="x"?((A||f||d)&&(k=!0),B<0?k=!0:f=B):v.test(C)&&g==="h"?((d||f)&&(k=!0),x===0?k=!0:d=x):k=!0;k?l&&l.error&&l.error("Invalid srcset descriptor found in '"+t+"' at '"+y+"'."):(r.url=m,A&&(r.w=A),f&&(r.d=f),d&&(r.h=d),S.push(r))}}})}}),pd=Z({"src/language-html/syntax-attribute.js"(e,s){"use strict";ae();var t=ld(),{builders:{ifBreak:i,join:l,line:u}}=Le();function n(o){let D=t(o,{logger:{error(P){throw new Error(P)}}}),F=D.some(P=>{let{w:_}=P;return _}),h=D.some(P=>{let{h:_}=P;return _}),v=D.some(P=>{let{d:_}=P;return _});if(F+h+v>1)throw new Error("Mixed descriptor in srcset is not supported");let p=F?"w":h?"h":"d",m=F?"w":h?"h":"x",E=P=>Math.max(...P),w=D.map(P=>P.url),N=E(w.map(P=>P.length)),b=D.map(P=>P[p]).map(P=>P?P.toString():""),T=b.map(P=>{let _=P.indexOf(".");return _===-1?P.length:_}),S=E(T);return l([",",u],w.map((P,_)=>{let k=[P],A=b[_];if(A){let f=N-P.length+1,d=S-T[_],c=" ".repeat(f+d);k.push(i(c," "),A+m)}return k}))}function a(o){return o.trim().split(/\s+/).join(" ")}s.exports={printImgSrcset:n,printClassNames:a}}}),fd=Z({"src/language-html/syntax-vue.js"(e,s){"use strict";ae();var{builders:{group:t}}=Le();function i(a,o){let{left:D,operator:F,right:h}=l(a);return[t(o("function _(".concat(D,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",F," ",o(h,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function l(a){let o=/(.*?)\s+(in|of)\s+(.*)/s,D=/,([^,\]}]*)(?:,([^,\]}]*))?$/,F=/^\(|\)$/g,h=a.match(o);if(!h)return;let v={};if(v.for=h[3].trim(),!v.for)return;let p=h[1].trim().replace(F,""),m=p.match(D);m?(v.alias=p.replace(D,""),v.iterator1=m[1].trim(),m[2]&&(v.iterator2=m[2].trim())):v.alias=p;let E=[v.alias,v.iterator1,v.iterator2];if(!E.some((w,N)=>!w&&(N===0||E.slice(N+1).some(Boolean))))return{left:E.filter(Boolean).join(","),operator:h[2],right:v.for}}function u(a,o){return o("function _(".concat(a,") {}"),{parser:"babel",__isVueBindings:!0})}function n(a){let o=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,D=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,F=a.trim();return o.test(F)||D.test(F)}s.exports={isVueEventBindingExpression:n,printVueFor:i,printVueBindings:u}}}),ro=Z({"src/language-html/get-node-content.js"(e,s){"use strict";ae();var{needsToBorrowParentClosingTagStartMarker:t,printClosingTagStartMarker:i,needsToBorrowLastChildClosingTagEndMarker:l,printClosingTagEndMarker:u,needsToBorrowParentOpeningTagEndMarker:n,printOpeningTagEndMarker:a}=zt();function o(D,F){let h=D.startSourceSpan.end.offset;D.firstChild&&n(D.firstChild)&&(h-=a(D).length);let v=D.endSourceSpan.start.offset;return D.lastChild&&t(D.lastChild)?v+=i(D,F).length:l(D)&&(v-=u(D.lastChild,F).length),F.originalText.slice(h,v)}s.exports=o}}),Dd=Z({"src/language-html/embed.js"(e,s){"use strict";ae();var{builders:{breakParent:t,group:i,hardline:l,indent:u,line:n,fill:a,softline:o},utils:{mapDoc:D,replaceTextEndOfLine:F}}=Le(),h=Rn(),{printClosingTag:v,printClosingTagSuffix:p,needsToBorrowPrevClosingTagEndMarker:m,printOpeningTagPrefix:E,printOpening
`.concat(u)}s.exports={isPragma:t,hasPragma:i,insertPragma:l}}}),vd=Z({"src/language-yaml/loc.js"(e,s){"use strict";ae();function t(l){return l.position.start.offset}function i(l){return l.position.end.offset}s.exports={locStart:t,locEnd:i}}}),Fd=Z({"src/language-yaml/embed.js"(e,s){"use strict";ae();function t(i,l,u,n){if(i.getValue().type==="root"&&n.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(n.filepath))return u(n.originalText,Object.assign(Object.assign({},n),{},{parser:"json"}))}s.exports=t}}),kt=Z({"src/language-yaml/utils.js"(e,s){"use strict";ae();var{getLast:t,isNonEmptyArray:i}=Ge();function l(A,f){let d=0,c=A.stack.length-1;for(let r=0;r<c;r++){let y=A.stack[r];u(y)&&f(y)&&d++}return d}function u(A,f){return A&&typeof A.type=="string"&&(!f||f.includes(A.type))}function n(A,f,d){return f("children"in A?Object.assign(Object.assign({},A),{},{children:A.children.map(c=>n(c,f,A))}):A,d)}function a(A,f,d){Object.defineProperty(A,f,{get:d,enumerable:!1})}function o(A,f){let d=0,c=f.length;for(let r=A.position.end.offset-1;r<c;r++){let y=f[r];if(y===`
`&&d++,d===1&&/\S/.test(y))return!1;if(d===2)return!0}return!1}function D(A){switch(A.getValue().type){case"tag":case"anchor":case"comment":return!1}let d=A.stack.length;for(let c=1;c<d;c++){let r=A.stack[c],y=A.stack[c-1];if(Array.isArray(y)&&typeof r=="number"&&r!==y.length-1)return!1}return!0}function F(A){return i(A.children)?F(t(A.children)):A}function h(A){return A.value.trim()==="prettier-ignore"}function v(A){let f=A.getValue();if(f.type==="documentBody"){let d=A.getParentNode();return T(d.head)&&h(t(d.head.endComments))}return E(f)&&h(t(f.leadingComments))}function p(A){return!i(A.children)&&!m(A)}function m(A){return E(A)||w(A)||N(A)||b(A)||T(A)}function E(A){return A&&i(A.leadingComments)}function w(A){return A&&i(A.middleComments)}function N(A){return A&&A.indicatorComment}function b(A){return A&&A.trailingComment}function T(A){return A&&i(A.endComments)}function S(A){let f=[],d;for(let c of A.split(/( +)/))c!==" "?d===" "?f.push(c):f.push((f.pop()||"")+c):d===void 0&&f.unshift(""),d=c;return d===" "&&f.push((f.pop()||"")+" "),f[0]===""&&(f.shift(),f.unshift(" "+(f.shift()||""))),f}function P(A,f,d){let c=f.split(`
`).map((r,y,g)=>y===0&&y===g.length-1?r:y!==0&&y!==g.length-1?r.trim():y===0?r.trimEnd():r.trimStart());return d.proseWrap==="preserve"?c.map(r=>r.length===0?[]:[r]):c.map(r=>r.length===0?[]:S(r)).reduce((r,y,g)=>g!==0&&c[g-1].length>0&&y.length>0&&!(A==="quoteDouble"&&t(t(r)).endsWith("\\"))?[...r.slice(0,-1),[...t(r),...y]]:[...r,y],[]).map(r=>d.proseWrap==="never"?[r.join(" ")]:r)}function _(A,f){let{parentIndent:d,isLastDescendant:c,options:r}=f,y=A.position.start.line===A.position.end.line?"":r.originalText.slice(A.position.start.offset,A.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],g;if(A.indent===null){let B=y.match(/^(?<leadingSpace> *)[^\n\r ]/m);g=B?B.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else g=A.indent-1+d;let C=y.split(`
`).map(B=>B.slice(g));if(r.proseWrap==="preserve"||A.type==="blockLiteral")return x(C.map(B=>B.length===0?[]:[B]));return x(C.map(B=>B.length===0?[]:S(B)).reduce((B,L,M)=>M!==0&&C[M-1].length>0&&L.length>0&&!/^\s/.test(L[0])&&!/^\s|\s$/.test(t(B))?[...B.slice(0,-1),[...t(B),...L]]:[...B,L],[]).map(B=>B.reduce((L,M)=>L.length>0&&/\s$/.test(t(L))?[...L.slice(0,-1),t(L)+" "+M]:[...L,M],[])).map(B=>r.proseWrap==="never"?[B.join(" ")]:B));function x(B){if(A.chomping==="keep")return t(B).length===0?B.slice(0,-1):B;let L=0;for(let M=B.length-1;M>=0&&B[M].length===0;M--)L++;return L===0?B:L>=2&&!c?B.slice(0,-(L-1)):B.slice(0,-L)}}function k(A){if(!A)return!0;switch(A.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}s.exports={getLast:t,getAncestorCount:l,isNode:u,isEmptyNode:p,isInlineNode:k,mapNode:n,defineShortcut:a,isNextLineEmpty:o,isLastDescendantNode:D,getBlockValueLineContents:_,getFlowScalarLineContents:P,getLastDescendantNode:F,hasPrettierIgnore:v,hasLeadingComments:E,hasMiddleComments:w,hasIndicatorComment:N,hasTrailingComment:b,hasEndComments:T}}}),Ad=Z({"src/language-yaml/print-preprocess.js"(e,s){"use strict";ae();var{defineShortcut:t,mapNode:i}=kt();function l(n){return i(n,u)}function u(n){switch(n.type){case"document":t(n,"head",()=>n.children[0]),t(n,"body",()=>n.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":t(n,"content",()=>n.children[0]);break;case"mappingItem":case"flowMappingItem":t(n,"key",()=>n.children[0]),t(n,"value",()=>n.children[1]);break}return n}s.exports=l}}),Tr=Z({"src/language-yaml/print/misc.js"(e,s){"use strict";ae();var{builders:{softline:t,align:i}}=Le(),{hasEndComments:l,isNextLineEmpty:u,isNode:n}=kt(),a=new WeakMap;function o(h,v){let p=h.getValue(),m=h.stack[0],E;return a.has(m)?E=a.get(m):(E=new Set,a.set(m,E)),!E.has(p.position.end.line)&&(E.add(p.position.end.line),u(p,v)&&!D(h.getParentNode()))?t:""}function D(h){return l(h)&&!n(h,["documentHead","documentBody","flowMapping","flowSequence"])}function F(h,v){return i(" ".repeat(h),v)}s.exports={alignWithSpaces:F,shouldPrintEndComments:D,printNextEmptyLine:o}}}),Sd=Z({"src/language-yaml/print/flow-mapping-sequence.js"(e,s){"use strict";ae();var{builders:{ifBreak:t,line:i,softline:l,hardline:u,join:n}}=Le(),{isEmptyNode:a,getLast:o,hasEndComments:D}=kt(),{printNextEmptyLine:F,alignWithSpaces:h}=Tr();function v(m,E,w){let N=m.getValue(),b=N.type==="flowMapping",T=b?"{":"[",S=b?"}":"]",P=l;b&&N.children.length>0&&w.bracketSpacing&&(P=i);let _=o(N.children),k=_&&_.type==="flowMappingItem"&&a(_.key)&&a(_.value);return[T,h(w.tabWidth,[P,p(m,E,w),w.trailingComma==="none"?"":t(","),D(N)?[u,n(u,m.map(E,"endComments"))]:""]),k?"":P,S]}function p(m,E,w){let N=m.getValue();return m.map((T,S)=>[E(),S===N.children.length-1?"":[",",i,N.children[S].position.start.line!==N.children[S+1].position.start.line?F(T,w.originalText):""]],"children")}s.exports={printFlowMapping:v,printFlowSequence:v}}}),bd=Z({"src/language-yaml/print/mapping-item.js"(e,s){"use strict";ae();var{builders:{conditionalGroup:t,group:i,hardline:l,ifBreak:u,join:n,line:a}}=Le(),{hasLeadingComments:o,hasMiddleComments:D,hasTrailingComment:F,hasEndComments:h,isNode:v,isEmptyNode:p,isInlineNode:m}=kt(),{alignWithSpaces:E}=Tr();function w(S,P,_,k,A){let{key:f,value:d}=S,c=p(f),r=p(d);if(c&&r)return": ";let y=k("key"),g=b(S)?" ":"";if(r)return S.type==="flowMappingItem"&&P.type==="flowMapping"?y:S.type==="mappingItem"&&N(f.content,A)&&!F(f.content)&&(!P.tag||P.tag.value!=="tag:yaml.org,2002:set")?[y,g,":"]:["? ",E(2,y)];let C=k("value");if(c)return[": ",E(2,C)];if(o(d)||!m(f.content))return["? ",E(2,y),l,n("",_.map(k,"value","leadingComments").map(H=>[H,l])),": ",E(2,C)];if(T(f.content)&&!o(f.content)&&!D(f.content)&&!F(f.content)&&!h(f)&&!o(d.content)&&!D(d.content)&&!h(d)&&N(d.content,A))return[y,g,": ",C];let x=Symbol("mappingKey"),B=i([u("? "),i(E(2,y),{id:x})]),L=[l,": ",E(2,C)],M=[g,":"];o(d.content)||h(d)&&d.content&&!v(d.content,["
`);case"always":return!/[\n ]/.test(S.value);default:return!1}}function b(S){return S.key.content&&S.key.content.type==="alias"}function T(S){if(!S)return!0;switch(S.type){case"plain":case"quoteDouble":case"quoteSingle":return S.position.start.line===S.position.end.line;case"alias":return!0;default:return!1}}s.exports=w}}),xd=Z({"src/language-yaml/print/block.js"(e,s){"use strict";ae();var{builders:{dedent:t,dedentToRoot:i,fill:l,hardline:u,join:n,line:a,literalline:o,markAsRoot:D},utils:{getDocParts:F}}=Le(),{getAncestorCount:h,getBlockValueLineContents:v,hasIndicatorComment:p,isLastDescendantNode:m,isNode:E}=kt(),{alignWithSpaces:w}=Tr();function N(b,T,S){let P=b.getValue(),_=h(b,c=>E(c,["sequence","mapping"])),k=m(b),A=[P.type==="blockFolded"?">":"|"];P.indent!==null&&A.push(P.indent.toString()),P.chomping!=="clip"&&A.push(P.chomping==="keep"?"+":"-"),p(P)&&A.push(" ",T("indicatorComment"));let f=v(P,{parentIndent:_,isLastDescendant:k,options:S}),d=[];for(let[c,r]of f.entries())c===0&&d.push(u),d.push(l(F(n(a,r)))),c!==f.length-1?d.push(r.length===0?u:D(o)):P.chomping==="keep"&&k&&d.push(i(r.length===0?u:o));return P.indent===null?A.push(t(w(S.tabWidth,d))):A.push(i(w(P.indent-1+_,d))),A}s.exports=N}}),Td=Z({"src/language-yaml/printer-yaml.js"(e,s){"use strict";ae();var{builders:{breakParent:t,fill:i,group:l,hardline:u,join:n,line:a,lineSuffix:o,literalline:D},utils:{getDocParts:F,replaceTextEndOfLine:h}}=Le(),{isPreviousLineEmpty:v}=Ge(),{insertPragma:p,isPragma:m}=Ed(),{locStart:E}=vd(),w=Fd(),{getFlowScalarLineContents:N,getLastDescendantNode:b,hasLeadingComments:T,hasMiddleComments:S,hasTrailingComment:P,hasEndComments:_,hasPrettierIgnore:k,isLastDescendantNode:A,isNode:f,isInlineNode:d}=kt(),c=Ad(),{alignWithSpaces:r,printNextEmptyLine:y,shouldPrintEndComments:g}=Tr(),{printFlowMapping:C,printFlowSequence:x}=Sd(),B=bd(),L=xd();function M($,te,U){let ne=$.getValue(),se=[];ne.type!=="mappingValue"&&T(ne)&&se.push([n(u,$.map(U,"leadingComments")),u]);let{tag:V,anchor:oe}=ne;V&&se.push(U("tag")),V&&oe&&se.push(" "),oe&&se.push(U("anchor"));let K="";f(ne,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!A($)&&(K=y($,te.originalText)),(V||oe)&&(f(ne,["sequence","mapping"])&&!S(ne)?se.push(u):se.push(" ")),S(ne)&&se.push([ne.middleComments.length===1?"":u,n(u,$.map(U,"middleComments")),u]);let Ee=$.getParentNode();return k($)?se.push(h(te.originalText.slice(ne.position.start.offset,ne.position.end.offset).trimEnd(),D)):se.push(l(O(ne,Ee,$,te,U))),P(ne)&&!f(ne,["document","documentHead"])&&se.push(o([ne.type==="mappingValue"&&!ne.content?"":" ",Ee.type==="mappingKey"&&$.getParentNode(2).type==="mapping"&&d(ne)?"":t,U("trailingComment")])),g(ne)&&se.push(r(ne.type==="sequenceItem"?2:0,[u,n(u,$.map(R=>[v(te.originalText,R.getValue(),E)?u:"",U()],"endComments"))])),se.push(K),se}function O($,te,U,ne,se){switch($.type){case"root":{let{children:V}=$,oe=[];U.each((Ee,R)=>{let le=V[R],ue=V[R+1];R!==0&&oe.push(u),oe.push(se()),I(le,ue)?(oe.push(u,"..."),P(le)&&oe.push(" ",se("trailingComment"))):ue&&!P(ue.head)&&oe.push(u,"---")},"children");let K=b($);return(!f(K,["blockLiteral","blockFolded"])||K.chomping!=="keep")&&oe.push(u),oe}case"document":{let V=te.children[U.getName()+1],oe=[];return G($,V,te,ne)==="head"&&(($.head.children.length>0||$.head.endComments.length>0)&&oe.push(se("head")),P($.head)?oe.push(["---"," ",se(["head","trailingComment"])]):oe.push("---")),H($)&&oe.push(se("body")),n(u,oe)}case"documentHead":return n(u,[...U.map(se,"children"),...U.map(se,"endComments")]);case"documentBody":{let{children:V,endComments:oe}=$,K="";if(V.length>0&&oe.length>0){let Ee=b($);f(Ee,["blockFolded","blockLiteral"])?Ee.chomping!=="keep"&&(K=[u,u]):K=u}return[n(u,U.map(se,"children")),K,n(u,U.map(se,"endComments"))]}case"directive":return["%",n(" ",[$.name,...$.parameters])];case"comment":return["#",$.value];case"alias":return["*",$.value];case"tag":return ne.originalText.slice($.position.start.offset,$.position.end.offset);case"anchor":return["&",$.value];case"plain":return ee($.type,ne.originalText.s