j.cells.length)),M=Array.from({length:G}).fill(0),te=[{cells:b},...q.filter(j=>j.cells.length>0)];for(let{cells:j}of te.filter(De=>!De.hasLineBreak))for(let[De,U]of j.entries())M[De]=Math.max(M[De],a(U));return B.push(m,"`",c([r,e(r,te.map(j=>e(" | ",j.cells.map((De,U)=>j.hasLineBreak?De:De+" ".repeat(M[U]-a(De))))))]),r,"`"),B}}function J(F,i){let h=F.getValue(),E=i();return A(h)&&(E=o([c([n,E]),n])),["${",E,m,"}"]}function d(F,i){return F.map(h=>J(h,i),"expressions")}function T(F,i){return D(F,h=>typeof h=="string"?i?h.replace(/(\\*)`/g,"$1$1\\`"):f(h):h)}function f(F){return F.replace(/([\\`]|\${)/g,"\\$1")}l.exports={printTemplateLiteral:P,printTemplateExpressions:d,escapeTemplateCharacters:T,uncookTemplateElementValue:f}}}),ia=$({"src/language-js/embed/markdown.js"(u,l){ue();var{builders:{indent:t,softline:a,literalline:s,dedentToRoot:e}}=wt(),{escapeTemplateCharacters:r}=jn();function n(c,y,m){let g=c.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(w,k)=>"\\".repeat(k.length/2)+"`"),p=o(g),D=p!=="";D&&(g=g.replace(new RegExp(`^${p}`,"gm"),""));let C=r(m(g,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",D?t([a,C]):[s,e(C)],a,"`"]}function o(c){let y=c.match(/^([^\S\n]*)\S/m);return y===null?"":y[1]}l.exports=n}}),sa=$({"src/language-js/embed/css.js"(u,l){ue();var{isNonEmptyArray:t}=Gt(),{builders:{indent:a,hardline:s,softline:e},utils:{mapDoc:r,replaceEndOfLine:n,cleanDoc:o}}=wt(),{printTemplateExpressions:c}=jn();function y(p,D,C){let w=p.getValue(),k=w.quasis.map(_=>_.value.raw),A=0,N=k.reduce((_,J,d)=>d===0?J:_+"@prettier-placeholder-"+A+++"-id"+J,""),x=C(N,{parser:"scss"},{stripTrailingHardline:!0}),P=c(p,D);return m(x,w,P)}function m(p,D,C){if(D.quasis.length===1&&!D.quasis[0].value.raw.trim())return"``";let w=g(p,C);if(!w)throw new Error("Couldn't insert all the expressions");return["`",a([s,w]),e,"`"]}function g(p,D){if(!t(D))return p;let C=0,w=r(o(p),k=>typeof k!="string"||!k.includes("@prettier-placeholder")?k:k.split(/@prettier-placeholder-(\d+)-id/).map((A,N)=>N%2===0?n(A):(C++,D[A])));return D.length===C?w:null}l.exports=y}}),aa=$({"src/language-js/embed/graphql.js"(u,l){ue();var{builders:{indent:t,join:a,hardline:s}}=wt(),{escapeTemplateCharacters:e,printTemplateExpressions:r}=jn();function n(c,y,m){let g=c.getValue(),p=g.quasis.length;if(p===1&&g.quasis[0].value.raw.trim()==="")return"``";let D=r(c,y),C=[];for(let w=0;w2&&P[0].trim()===""&&P[1].trim()==="",T=_>2&&P[_-1].trim()===""&&P[_-2].trim()==="",f=P.every(i=>/^\s*(?:#[^\n\r]*)?$/.test(i));if(!N&&/#[^\n\r]*$/.test(P[_-1]))return null;let F=null;f?F=o(P):F=m(x,{parser:"graphql"},{stripTrailingHardline:!0}),F?(F=e(F,!1),!A&&d&&C.push(""),C.push(F),!N&&T&&C.push("")):!A&&!N&&d&&C.push(""),J&&C.push(J)}return["`",t([s,a(s,C)]),s,"`"]}function o(c){let y=[],m=!1,g=c.map(p=>p.trim());for(let[p,D]of g.entries())D!==""&&(g[p-1]===""&&m?y.push([s,D]):y.push(D),m=!0);return y.length===0?null:a(s,y)}l.exports=n}}),oa=$({"src/language-js/embed/html.js"(u,l){ue();var{builders:{indent:t,line:a,hardline:s,group:e},utils:{mapDoc:r}}=wt(),{printTemplateExpressions:n,uncookTemplateElementValue:o}=jn(),c=0;function y(m,g,p,D,C){let{parser:w}=C,k=m.getValue(),A=c;c=c+1>>>0;let N=h=>`PRETTIER_HTML_PLACEHOLDER_${h}_${A}_IN_JS`,x=k.quasis.map((h,E,b)=>E===b.length-1?h.value.cooked:h.value.cooked+N(E)).join(""),P=n(m,g);if(P.length===0&&x.trim().length===0)return"``";let _=new RegExp(N("(\\d+)"),"g"),J=0,d=p(x,{parser:w,__onHtmlRoot(h){J=h.children.length}},{stripTrailingHardline:!0}),T=r(d,h=>{if(typeof h!="string")return h;let E=[],b=h.split(_);for(let S=0;S1?t(e(T)):e(T),F,"`"])}l.exports=y}}),la=$({"src/language-js/embed.js"(u,l){ue();var{hasComment:t,CommentCheckFlags:a,isObjectProperty:s}=ur(),e=ia(),r=sa(),n=aa(),o=oa();function c(d){if(g(d)||w(d)||k(d)||p(d))return"css";if(x(d))return"graphql";if(_(d))return"html";if(D(d))return"angular";if(m(d))return"markdown"}function y(d,T,f,F){let i=d.getValue();if(i.type!=="TemplateLiteral"||J(i))return;let h=c(d);if(h){if(h==="markdown")return e(d,T,f);if(h==="css")return r(d,T,f);if(h==="graphql")return n(d,T,f);if(h==="html"||h==="angular")return o(d,T,f,F,{parser:h})}}function m(d){let T=d.getValue(),f=d.getParentNode();return f&&f.type==="TaggedTemplateExpression"&&T.quasis.length===1&&f.tag.type==="Identifier"&&(f.tag.name==="md"||f.tag.name==="markdown")}function g(d){let T=d.getValue(),f=d.getParentNode(),F=d.getParentNode(1);return F&&T.quasis&&f.type==="JSXExpressionContainer"&&F.type==="JSXElement"&&F.openingElement.name.name==="style"&&F.openingElement.attributes.some(i=>i.name.name==="jsx")||f&&f.type==="TaggedTemplateExpression"&&f.tag.type==="Identifier"&&f.tag.name==="css"||f&&f.type==="TaggedTemplateExpression"&&f.tag.type==="MemberExpression"&&f.tag.object.name==="css"&&(f.tag.property.name==="global"||f.tag.property.name==="resolve")}function p(d){return d.match(T=>T.type==="TemplateLiteral",(T,f)=>T.type==="ArrayExpression"&&f==="elements",(T,f)=>s(T)&&T.key.type==="Identifier"&&T.key.name==="styles"&&f==="value",...C)}function D(d){return d.match(T=>T.type==="TemplateLiteral",(T,f)=>s(T)&&T.key.type==="Identifier"&&T.key.name==="template"&&f==="value",...C)}var C=[(d,T)=>d.type==="ObjectExpression"&&T==="properties",(d,T)=>d.type==="CallExpression"&&d.callee.type==="Identifier"&&d.callee.name==="Component"&&T==="arguments",(d,T)=>d.type==="Decorator"&&T==="expression"];function w(d){let T=d.getParentNode();if(!T||T.type!=="TaggedTemplateExpression")return!1;let f=T.tag.type==="ParenthesizedExpression"?T.tag.expression:T.tag;switch(f.type){case"MemberExpression":return A(f.object)||N(f);case"CallExpression":return A(f.callee)||f.callee.type==="MemberExpression"&&(f.callee.object.type==="MemberExpression"&&(A(f.callee.object.object)||N(f.callee.object))||f.callee.object.type==="CallExpression"&&A(f.callee.object.callee));case"Identifier":return f.name==="css";default:return!1}}function k(d){let T=d.getParentNode(),f=d.getParentNode(1);return f&&T.type==="JSXExpressionContainer"&&f.type==="JSXAttribute"&&f.name.type==="JSXIdentifier"&&f.name.name==="css"}function A(d){return d.type==="Identifier"&&d.name==="styled"}function N(d){return/^[A-Z]/.test(d.object.name)&&d.property.name==="extend"}function x(d){let T=d.getValue(),f=d.getParentNode();return P(T,"GraphQL")||f&&(f.type==="TaggedTemplateExpression"&&(f.tag.type==="MemberExpression"&&f.tag.object.name==="graphql"&&f.tag.property.name==="experimental"||f.tag.type==="Identifier"&&(f.tag.name==="gql"||f.tag.name==="graphql"))||f.type==="CallExpression"&&f.callee.type==="Identifier"&&f.callee.name==="graphql")}function P(d,T){return t(d,a.Block|a.Leading,f=>{let{value:F}=f;return F===` ${T} `})}function _(d){return P(d.getValue(),"HTML")||d.match(T=>T.type==="TemplateLiteral",(T,f)=>T.type==="TaggedTemplateExpression"&&T.tag.type==="Identifier"&&T.tag.name==="html"&&f==="quasi")}function J(d){let{quasis:T}=d;return T.some(f=>{let{value:{cooked:F}}=f;return F===null})}l.exports=y}}),pa=$({"src/language-js/clean.js"(u,l){ue();var t=vn(),a=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),s=r=>{for(let n of r.quasis)delete n.value};function e(r,n,o){if(r.type==="Program"&&delete n.sourceType,(r.type==="BigIntLiteral"||r.type==="BigIntLiteralTypeAnnotation")&&n.value&&(n.value=n.value.toLowerCase()),(r.type==="BigIntLiteral"||r.type==="Literal")&&n.bigint&&(n.bigint=n.bigint.toLowerCase()),r.type==="DecimalLiteral"&&(n.value=Number(n.value)),r.type==="Literal"&&n.decimal&&(n.decimal=Number(n.decimal)),r.type==="EmptyStatement"||r.type==="JSXText"||r.type==="JSXExpressionContainer"&&(r.expression.type==="Literal"||r.expression.type==="StringLiteral")&&r.expression.value===" ")return null;if((r.type==="Property"||r.type==="ObjectProperty"||r.type==="MethodDefinition"||r.type==="ClassProperty"||r.type==="ClassMethod"||r.type==="PropertyDefinition"||r.type==="TSDeclareMethod"||r.type==="TSPropertySignature"||r.type==="ObjectTypeProperty")&&typeof r.key=="object"&&r.key&&(r.key.type==="Literal"||r.key.type==="NumericLiteral"||r.key.type==="StringLiteral"||r.key.type==="Identifier")&&delete n.key,r.type==="JSXElement"&&r.openingElement.name.name==="style"&&r.openingElement.attributes.some(m=>m.name.name==="jsx"))for(let{type:m,expression:g}of n.children)m==="JSXExpressionContainer"&&g.type==="TemplateLiteral"&&s(g);r.type==="JSXAttribute"&&r.name.name==="css"&&r.value.type==="JSXExpressionContainer"&&r.value.expression.type==="TemplateLiteral"&&s(n.value.expression),r.type==="JSXAttribute"&&r.value&&r.value.type==="Literal"&&/["']|"|'/.test(r.value.value)&&(n.value.value=n.value.value.replace(/["']|"|'/g,'"'));let c=r.expression||r.callee;if(r.type==="Decorator"&&c.type==="CallExpression"&&c.callee.name==="Component"&&c.arguments.length===1){let m=r.expression.arguments[0].properties;for(let[g,p]of n.expression.arguments[0].properties.entries())switch(m[g].key.name){case"styles":p.value.type==="ArrayExpression"&&s(p.value.elements[0]);break;case"template":p.value.type==="TemplateLiteral"&&s(p.value);break}}if(r.type==="TaggedTemplateExpression"&&(r.tag.type==="MemberExpression"||r.tag.type==="Identifier"&&(r.tag.name==="gql"||r.tag.name==="graphql"||r.tag.name==="css"||r.tag.name==="md"||r.tag.name==="markdown"||r.tag.name==="html")||r.tag.type==="CallExpression")&&s(n.quasi),r.type==="TemplateLiteral"){var y;(!((y=r.leadingComments)===null||y===void 0)&&y.some(m=>t(m)&&["GraphQL","HTML"].some(g=>m.value===` ${g} `))||o.type==="CallExpression"&&o.callee.name==="graphql"||!r.leadingComments)&&s(n)}if(r.type==="InterpreterDirective"&&(n.value=n.value.trimEnd()),(r.type==="TSIntersectionType"||r.type==="TSUnionType")&&r.types.length===1)return n.types[0]}e.ignoredProperties=a,l.exports=e}}),Es={};Ft(Es,{EOL:()=>ss,arch:()=>ca,cpus:()=>xs,default:()=>_s,endianness:()=>Cs,freemem:()=>bs,getNetworkInterfaces:()=>Ns,hostname:()=>Fs,loadavg:()=>As,networkInterfaces:()=>ws,platform:()=>Da,release:()=>Bs,tmpDir:()=>us,tmpdir:()=>is,totalmem:()=>Ss,type:()=>Ts,uptime:()=>vs});function Cs(){if(typeof Qu>"u"){var u=new ArrayBuffer(2),l=new Uint8Array(u),t=new Uint16Array(u);if(l[0]=1,l[1]=2,t[0]===258)Qu="BE";else if(t[0]===513)Qu="LE";else throw new Error("unable to figure out endianess")}return Qu}function Fs(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function As(){return[]}function vs(){return 0}function bs(){return Number.MAX_VALUE}function Ss(){return Number.MAX_VALUE}function xs(){return[]}function Ts(){return"Browser"}function Bs(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function ws(){}function Ns(){}function ca(){return"javascript"}function Da(){return"browser"}function us(){return"/tmp"}var Qu,is,ss,_s,da=rt({"node-modules-polyfills:os"(){ue(),is=us,ss=`
+`,_s={EOL:ss,tmpdir:is,tmpDir:us,networkInterfaces:ws,getNetworkInterfaces:Ns,release:Bs,type:Ts,cpus:xs,totalmem:Ss,freemem:bs,uptime:vs,loadavg:As,hostname:Fs,endianness:Cs}}}),fa=$({"node-modules-polyfills-commonjs:os"(u,l){ue();var t=(da(),qt(Es));if(t&&t.default){l.exports=t.default;for(let a in t)l.exports[a]=t[a]}else t&&(l.exports=t)}}),ma=$({"node_modules/detect-newline/index.js"(u,l){ue();var t=a=>{if(typeof a!="string")throw new TypeError("Expected a string");let s=a.match(/(?:\r?\n)/g)||[];if(s.length===0)return;let e=s.filter(n=>n===`\r
+`).length,r=s.length-e;return e>r?`\r
+`:`
+`};l.exports=t,l.exports.graceful=a=>typeof a=="string"&&t(a)||`
+`}}),ha=$({"node_modules/jest-docblock/build/index.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0}),u.extract=p,u.parse=C,u.parseWithComments=w,u.print=k,u.strip=D;function l(){let N=fa();return l=function(){return N},N}function t(){let N=a(ma());return t=function(){return N},N}function a(N){return N&&N.__esModule?N:{default:N}}var s=/\*\/$/,e=/^\/\*\*?/,r=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,n=/(^|\s+)\/\/([^\r\n]*)/g,o=/^(\r?\n)+/,c=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,y=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,m=/(\r?\n|^) *\* ?/g,g=[];function p(N){let x=N.match(r);return x?x[0].trimLeft():""}function D(N){let x=N.match(r);return x&&x[0]?N.substring(x[0].length):N}function C(N){return w(N).pragmas}function w(N){let x=(0,t().default)(N)||l().EOL;N=N.replace(e,"").replace(s,"").replace(m,"$1");let P="";for(;P!==N;)P=N,N=N.replace(c,`${x}$1 $2${x}`);N=N.replace(o,"").trimRight();let _=Object.create(null),J=N.replace(y,"").replace(o,"").trimRight(),d;for(;d=y.exec(N);){let T=d[2].replace(n,"");typeof _[d[1]]=="string"||Array.isArray(_[d[1]])?_[d[1]]=g.concat(_[d[1]],T):_[d[1]]=T}return{comments:J,pragmas:_}}function k(N){let{comments:x="",pragmas:P={}}=N,_=(0,t().default)(x)||l().EOL,J="/**",d=" *",T=" */",f=Object.keys(P),F=f.map(h=>A(h,P[h])).reduce((h,E)=>h.concat(E),[]).map(h=>`${d} ${h}${_}`).join("");if(!x){if(f.length===0)return"";if(f.length===1&&!Array.isArray(P[f[0]])){let h=P[f[0]];return`${J} ${A(f[0],h)[0]}${T}`}}let i=x.split(_).map(h=>`${d} ${h}`).join(_)+_;return J+_+(x?i:"")+(x&&f.length?d+_:"")+F+T}function A(N,x){return g.concat(x).map(P=>`@${N} ${P}`.trim())}}}),ga=$({"src/language-js/utils/get-shebang.js"(u,l){ue();function t(a){if(!a.startsWith("#!"))return"";let s=a.indexOf(`
+`);return s===-1?a:a.slice(0,s)}l.exports=t}}),ks=$({"src/language-js/pragma.js"(u,l){ue();var{parseWithComments:t,strip:a,extract:s,print:e}=ha(),{normalizeEndOfLine:r}=Rr(),n=ga();function o(m){let g=n(m);g&&(m=m.slice(g.length+1));let p=s(m),{pragmas:D,comments:C}=t(p);return{shebang:g,text:m,pragmas:D,comments:C}}function c(m){let g=Object.keys(o(m).pragmas);return g.includes("prettier")||g.includes("format")}function y(m){let{shebang:g,text:p,pragmas:D,comments:C}=o(m),w=a(p),k=e({pragmas:Object.assign({format:""},D),comments:C.trimStart()});return(g?`${g}
+`:"")+r(k)+(w.startsWith(`
+`)?`
+`:`
+
+`)+w}l.exports={hasPragma:c,insertPragma:y}}}),ya=$({"src/language-js/utils/is-type-cast-comment.js"(u,l){ue();var t=vn();function a(s){return t(s)&&s.value[0]==="*"&&/@(?:type|satisfies)\b/.test(s.value)}l.exports=a}}),Ps=$({"src/language-js/comments.js"(u,l){ue();var{getLast:t,hasNewline:a,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:s,getNextNonSpaceNonCommentCharacter:e,hasNewlineInRange:r,addLeadingComment:n,addTrailingComment:o,addDanglingComment:c,getNextNonSpaceNonCommentCharacterIndex:y,isNonEmptyArray:m}=Gt(),{getFunctionParameters:g,isPrettierIgnoreComment:p,isJsxNode:D,hasFlowShorthandAnnotationComment:C,hasFlowAnnotationComment:w,hasIgnoreComment:k,isCallLikeExpression:A,getCallArguments:N,isCallExpression:x,isMemberExpression:P,isObjectProperty:_,isLineComment:J,getComments:d,CommentCheckFlags:T,markerForIfWithoutBlockAndSameLineComment:f}=ur(),{locStart:F,locEnd:i}=or(),h=vn(),E=ya();function b(Le){return[H,it,De,M,te,j,be,Ye,Ce,Xe,Ct,Rt,Ie,ae,Q].some(v=>v(Le))}function S(Le){return[G,it,U,Ct,M,te,j,be,ae,me,Re,Xe,bt,Q,oe].some(v=>v(Le))}function B(Le){return[H,M,te,R,_e,Ie,Xe,we,se,ke,Q,xe].some(v=>v(Le))}function I(Le,v){let K=(Le.body||Le.properties).find(ye=>{let{type:ze}=ye;return ze!=="EmptyStatement"});K?n(K,v):c(Le,v)}function q(Le,v){Le.type==="BlockStatement"?I(Le,v):n(Le,v)}function G(Le){let{comment:v,followingNode:K}=Le;return K&&E(v)?(n(K,v),!0):!1}function M(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze,text:tt}=Le;if((ye==null?void 0:ye.type)!=="IfStatement"||!ze)return!1;if(e(tt,v,i)===")")return o(K,v),!0;if(K===ye.consequent&&ze===ye.alternate){if(K.type==="BlockStatement")o(K,v);else{let ht=v.type==="SingleLine"||v.loc.start.line===v.loc.end.line,Ke=v.loc.start.line===K.loc.start.line;ht&&Ke?c(K,v,f):c(ye,v)}return!0}return ze.type==="BlockStatement"?(I(ze,v),!0):ze.type==="IfStatement"?(q(ze.consequent,v),!0):ye.consequent===ze?(n(ze,v),!0):!1}function te(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze,text:tt}=Le;return(ye==null?void 0:ye.type)!=="WhileStatement"||!ze?!1:e(tt,v,i)===")"?(o(K,v),!0):ze.type==="BlockStatement"?(I(ze,v),!0):ye.body===ze?(n(ze,v),!0):!1}function j(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze}=Le;return(ye==null?void 0:ye.type)!=="TryStatement"&&(ye==null?void 0:ye.type)!=="CatchClause"||!ze?!1:ye.type==="CatchClause"&&K?(o(K,v),!0):ze.type==="BlockStatement"?(I(ze,v),!0):ze.type==="TryStatement"?(q(ze.finalizer,v),!0):ze.type==="CatchClause"?(q(ze.body,v),!0):!1}function De(Le){let{comment:v,enclosingNode:K,followingNode:ye}=Le;return P(K)&&(ye==null?void 0:ye.type)==="Identifier"?(n(K,v),!0):!1}function U(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze,text:tt}=Le,ht=K&&!r(tt,i(K),F(v));return(!K||!ht)&&((ye==null?void 0:ye.type)==="ConditionalExpression"||(ye==null?void 0:ye.type)==="TSConditionalType")&&ze?(n(ze,v),!0):!1}function R(Le){let{comment:v,precedingNode:K,enclosingNode:ye}=Le;return _(ye)&&ye.shorthand&&ye.key===K&&ye.value.type==="AssignmentPattern"?(o(ye.value.left,v),!0):!1}var pe=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function be(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze}=Le;if(pe.has(ye==null?void 0:ye.type)){if(m(ye.decorators)&&!(ze&&ze.type==="Decorator"))return o(t(ye.decorators),v),!0;if(ye.body&&ze===ye.body)return I(ye.body,v),!0;if(ze){if(ye.superClass&&ze===ye.superClass&&K&&(K===ye.id||K===ye.typeParameters))return o(K,v),!0;for(let tt of["implements","extends","mixins"])if(ye[tt]&&ze===ye[tt][0])return K&&(K===ye.id||K===ye.typeParameters||K===ye.superClass)?o(K,v):c(ye,v,tt),!0}}return!1}var fe=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function Ie(Le){let{comment:v,precedingNode:K,enclosingNode:ye,text:ze}=Le;return ye&&K&&e(ze,v,i)==="("&&(ye.type==="Property"||ye.type==="TSDeclareMethod"||ye.type==="TSAbstractMethodDefinition")&&K.type==="Identifier"&&ye.key===K&&e(ze,K,i)!==":"||(K==null?void 0:K.type)==="Decorator"&&fe.has(ye==null?void 0:ye.type)?(o(K,v),!0):!1}var X=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function se(Le){let{comment:v,precedingNode:K,enclosingNode:ye,text:ze}=Le;return e(ze,v,i)!=="("?!1:K&&X.has(ye==null?void 0:ye.type)?(o(K,v),!0):!1}function we(Le){let{comment:v,enclosingNode:K,text:ye}=Le;if((K==null?void 0:K.type)!=="ArrowFunctionExpression")return!1;let ze=y(ye,v,i);return ze!==!1&&ye.slice(ze,ze+2)==="=>"?(c(K,v),!0):!1}function _e(Le){let{comment:v,enclosingNode:K,text:ye}=Le;return e(ye,v,i)!==")"?!1:K&&(Be(K)&&g(K).length===0||A(K)&&N(K).length===0)?(c(K,v),!0):((K==null?void 0:K.type)==="MethodDefinition"||(K==null?void 0:K.type)==="TSAbstractMethodDefinition")&&g(K.value).length===0?(c(K.value,v),!0):!1}function it(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze,text:tt}=Le;if((K==null?void 0:K.type)==="FunctionTypeParam"&&(ye==null?void 0:ye.type)==="FunctionTypeAnnotation"&&(ze==null?void 0:ze.type)!=="FunctionTypeParam"||((K==null?void 0:K.type)==="Identifier"||(K==null?void 0:K.type)==="AssignmentPattern")&&ye&&Be(ye)&&e(tt,v,i)===")")return o(K,v),!0;if((ye==null?void 0:ye.type)==="FunctionDeclaration"&&(ze==null?void 0:ze.type)==="BlockStatement"){let ht=(()=>{let Ke=g(ye);if(Ke.length>0)return s(tt,i(t(Ke)));let pr=s(tt,i(ye.id));return pr!==!1&&s(tt,pr+1)})();if(F(v)>ht)return I(ze,v),!0}return!1}function ae(Le){let{comment:v,enclosingNode:K}=Le;return(K==null?void 0:K.type)==="LabeledStatement"?(n(K,v),!0):!1}function Q(Le){let{comment:v,enclosingNode:K}=Le;return((K==null?void 0:K.type)==="ContinueStatement"||(K==null?void 0:K.type)==="BreakStatement")&&!K.label?(o(K,v),!0):!1}function me(Le){let{comment:v,precedingNode:K,enclosingNode:ye}=Le;return x(ye)&&K&&ye.callee===K&&ye.arguments.length>0?(n(ye.arguments[0],v),!0):!1}function Ce(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze}=Le;return(ye==null?void 0:ye.type)==="UnionTypeAnnotation"||(ye==null?void 0:ye.type)==="TSUnionType"?(p(v)&&(ze.prettierIgnore=!0,v.unignore=!0),K?(o(K,v),!0):!1):(((ze==null?void 0:ze.type)==="UnionTypeAnnotation"||(ze==null?void 0:ze.type)==="TSUnionType")&&p(v)&&(ze.types[0].prettierIgnore=!0,v.unignore=!0),!1)}function Re(Le){let{comment:v,enclosingNode:K}=Le;return _(K)?(n(K,v),!0):!1}function Xe(Le){let{comment:v,enclosingNode:K,followingNode:ye,ast:ze,isLastComment:tt}=Le;return ze&&ze.body&&ze.body.length===0?(tt?c(ze,v):n(ze,v),!0):(K==null?void 0:K.type)==="Program"&&(K==null?void 0:K.body.length)===0&&!m(K.directives)?(tt?c(K,v):n(K,v),!0):(ye==null?void 0:ye.type)==="Program"&&(ye==null?void 0:ye.body.length)===0&&(K==null?void 0:K.type)==="ModuleExpression"?(c(ye,v),!0):!1}function Ye(Le){let{comment:v,enclosingNode:K}=Le;return(K==null?void 0:K.type)==="ForInStatement"||(K==null?void 0:K.type)==="ForOfStatement"?(n(K,v),!0):!1}function Ct(Le){let{comment:v,precedingNode:K,enclosingNode:ye,text:ze}=Le;if((ye==null?void 0:ye.type)==="ImportSpecifier"||(ye==null?void 0:ye.type)==="ExportSpecifier")return n(ye,v),!0;let tt=(K==null?void 0:K.type)==="ImportSpecifier"&&(ye==null?void 0:ye.type)==="ImportDeclaration",ht=(K==null?void 0:K.type)==="ExportSpecifier"&&(ye==null?void 0:ye.type)==="ExportNamedDeclaration";return(tt||ht)&&a(ze,i(v))?(o(K,v),!0):!1}function Rt(Le){let{comment:v,enclosingNode:K}=Le;return(K==null?void 0:K.type)==="AssignmentPattern"?(n(K,v),!0):!1}var It=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),Et=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function bt(Le){let{comment:v,enclosingNode:K,followingNode:ye}=Le;return It.has(K==null?void 0:K.type)&&ye&&(Et.has(ye.type)||h(v))?(n(ye,v),!0):!1}function xe(Le){let{comment:v,enclosingNode:K,followingNode:ye,text:ze}=Le;return!ye&&((K==null?void 0:K.type)==="TSMethodSignature"||(K==null?void 0:K.type)==="TSDeclareFunction"||(K==null?void 0:K.type)==="TSAbstractMethodDefinition")&&e(ze,v,i)===";"?(o(K,v),!0):!1}function H(Le){let{comment:v,enclosingNode:K,followingNode:ye}=Le;if(p(v)&&(K==null?void 0:K.type)==="TSMappedType"&&(ye==null?void 0:ye.type)==="TSTypeParameter"&&ye.constraint)return K.prettierIgnore=!0,v.unignore=!0,!0}function ke(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze}=Le;return(ye==null?void 0:ye.type)!=="TSMappedType"?!1:(ze==null?void 0:ze.type)==="TSTypeParameter"&&ze.name?(n(ze.name,v),!0):(K==null?void 0:K.type)==="TSTypeParameter"&&K.constraint?(o(K.constraint,v),!0):!1}function oe(Le){let{comment:v,enclosingNode:K,followingNode:ye}=Le;return!K||K.type!=="SwitchCase"||K.test||!ye||ye!==K.consequent[0]?!1:(ye.type==="BlockStatement"&&J(v)?I(ye,v):c(K,v),!0)}function Be(Le){return Le.type==="ArrowFunctionExpression"||Le.type==="FunctionExpression"||Le.type==="FunctionDeclaration"||Le.type==="ObjectMethod"||Le.type==="ClassMethod"||Le.type==="TSDeclareFunction"||Le.type==="TSCallSignatureDeclaration"||Le.type==="TSConstructSignatureDeclaration"||Le.type==="TSMethodSignature"||Le.type==="TSConstructorType"||Le.type==="TSFunctionType"||Le.type==="TSDeclareMethod"}function pt(Le,v){if((v.parser==="typescript"||v.parser==="flow"||v.parser==="acorn"||v.parser==="espree"||v.parser==="meriyah"||v.parser==="__babel_estree")&&Le.type==="MethodDefinition"&&Le.value&&Le.value.type==="FunctionExpression"&&g(Le.value).length===0&&!Le.value.returnType&&!m(Le.value.typeParameters)&&Le.value.body)return[...Le.decorators||[],Le.key,Le.value.body]}function ut(Le){let v=Le.getValue(),K=Le.getParentNode(),ye=ze=>w(d(ze,T.Leading))||w(d(ze,T.Trailing));return(v&&(D(v)||C(v)||x(K)&&ye(v))||K&&(K.type==="JSXSpreadAttribute"||K.type==="JSXSpreadChild"||K.type==="UnionTypeAnnotation"||K.type==="TSUnionType"||(K.type==="ClassDeclaration"||K.type==="ClassExpression")&&K.superClass===v))&&(!k(Le)||K.type==="UnionTypeAnnotation"||K.type==="TSUnionType")}l.exports={handleOwnLineComment:b,handleEndOfLineComment:S,handleRemainingComment:B,getCommentChildNodes:pt,willPrintOwnComments:ut}}}),Ln=$({"src/language-js/needs-parens.js"(u,l){ue();var t=mr(),a=uu(),{getFunctionParameters:s,getLeftSidePathName:e,hasFlowShorthandAnnotationComment:r,hasNakedLeftSide:n,hasNode:o,isBitwiseOperator:c,startsWithNoLookaheadToken:y,shouldFlatten:m,getPrecedence:g,isCallExpression:p,isMemberExpression:D,isObjectProperty:C,isTSTypeExpression:w}=ur();function k(d,T){let f=d.getParentNode();if(!f)return!1;let F=d.getName(),i=d.getNode();if(T.__isInHtmlInterpolation&&!T.bracketSpacing&&P(i)&&_(d))return!0;if(A(i))return!1;if(T.parser!=="flow"&&r(d.getValue()))return!0;if(i.type==="Identifier"){if(i.extra&&i.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(i.name)||F==="left"&&(i.name==="async"&&!f.await||i.name==="let")&&f.type==="ForOfStatement")return!0;if(i.name==="let"){var h;let b=(h=d.findAncestor(S=>S.type==="ForOfStatement"))===null||h===void 0?void 0:h.left;if(b&&y(b,S=>S===i))return!0}if(F==="object"&&i.name==="let"&&f.type==="MemberExpression"&&f.computed&&!f.optional){let b=d.findAncestor(B=>B.type==="ExpressionStatement"||B.type==="ForStatement"||B.type==="ForInStatement"),S=b?b.type==="ExpressionStatement"?b.expression:b.type==="ForStatement"?b.init:b.left:void 0;if(S&&y(S,B=>B===i))return!0}return!1}if(i.type==="ObjectExpression"||i.type==="FunctionExpression"||i.type==="ClassExpression"||i.type==="DoExpression"){var E;let b=(E=d.findAncestor(S=>S.type==="ExpressionStatement"))===null||E===void 0?void 0:E.expression;if(b&&y(b,S=>S===i))return!0}switch(f.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(F==="superClass"&&(i.type==="ArrowFunctionExpression"||i.type==="AssignmentExpression"||i.type==="AwaitExpression"||i.type==="BinaryExpression"||i.type==="ConditionalExpression"||i.type==="LogicalExpression"||i.type==="NewExpression"||i.type==="ObjectExpression"||i.type==="SequenceExpression"||i.type==="TaggedTemplateExpression"||i.type==="UnaryExpression"||i.type==="UpdateExpression"||i.type==="YieldExpression"||i.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return J(d,T)||i.type==="SequenceExpression";case"Decorator":{if(F==="expression"){if(D(i)&&i.computed)return!0;let b=!1,S=!1,B=i;for(;B;)switch(B.type){case"MemberExpression":S=!0,B=B.object;break;case"CallExpression":if(S||b)return T.parser!=="typescript";b=!0,B=B.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return T.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if(F==="body"&&i.type!=="SequenceExpression"&&y(i,b=>b.type==="ObjectExpression"))return!0;break}}switch(i.type){case"UpdateExpression":if(f.type==="UnaryExpression")return i.prefix&&(i.operator==="++"&&f.operator==="+"||i.operator==="--"&&f.operator==="-");case"UnaryExpression":switch(f.type){case"UnaryExpression":return i.operator===f.operator&&(i.operator==="+"||i.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return F==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return F==="callee";case"BinaryExpression":return F==="left"&&f.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(f.type==="UpdateExpression"||i.operator==="in"&&N(d))return!0;if(i.operator==="|>"&&i.extra&&i.extra.parenthesized){let b=d.getParentNode(1);if(b.type==="BinaryExpression"&&b.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(f.type){case"TSSatisfiesExpression":case"TSAsExpression":return!w(i);case"ConditionalExpression":return w(i);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return F==="callee";case"ClassExpression":case"ClassDeclaration":return F==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return F==="object";case"AssignmentExpression":case"AssignmentPattern":return F==="left"&&(i.type==="TSTypeAssertion"||w(i));case"LogicalExpression":if(i.type==="LogicalExpression")return f.operator!==i.operator;case"BinaryExpression":{let{operator:b,type:S}=i;if(!b&&S!=="TSTypeAssertion")return!0;let B=g(b),I=f.operator,q=g(I);return q>B||F==="right"&&q===B||q===B&&!m(I,b)?!0:q");default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if(F==="extendsType"&&f.type==="TSConditionalType"){if(i.type==="TSConditionalType")return!0;let{typeAnnotation:b}=i.returnType||i.typeAnnotation;if(b.type==="TSTypePredicate"&&b.typeAnnotation&&(b=b.typeAnnotation.typeAnnotation),b.type==="TSInferType"&&b.typeParameter.constraint)return!0}if(F==="checkType"&&f.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((f.type==="TSUnionType"||f.type==="TSIntersectionType")&&f.types.length>1&&(!i.types||i.types.length>1))return!0;case"TSInferType":if(i.type==="TSInferType"&&f.type==="TSRestType")return!1;case"TSTypeOperator":return f.type==="TSArrayType"||f.type==="TSOptionalType"||f.type==="TSRestType"||F==="objectType"&&f.type==="TSIndexedAccessType"||f.type==="TSTypeOperator"||f.type==="TSTypeAnnotation"&&d.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return F==="objectType"&&f.type==="TSIndexedAccessType"||F==="elementType"&&f.type==="TSArrayType";case"TypeofTypeAnnotation":return F==="objectType"&&(f.type==="IndexedAccessType"||f.type==="OptionalIndexedAccessType")||F==="elementType"&&f.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return f.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return f.type==="ArrayTypeAnnotation"||f.type==="NullableTypeAnnotation"||f.type==="IntersectionTypeAnnotation"||f.type==="UnionTypeAnnotation"||F==="objectType"&&(f.type==="IndexedAccessType"||f.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return f.type==="ArrayTypeAnnotation"||F==="objectType"&&(f.type==="IndexedAccessType"||f.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let b=f.type==="NullableTypeAnnotation"?d.getParentNode(1):f;return b.type==="UnionTypeAnnotation"||b.type==="IntersectionTypeAnnotation"||b.type==="ArrayTypeAnnotation"||F==="objectType"&&(b.type==="IndexedAccessType"||b.type==="OptionalIndexedAccessType")||b.type==="NullableTypeAnnotation"||f.type==="FunctionTypeParam"&&f.name===null&&s(i).some(S=>S.typeAnnotation&&S.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return F==="objectType"&&f.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof i.value=="string"&&f.type==="ExpressionStatement"&&!f.directive){let b=d.getParentNode(1);return b.type==="Program"||b.type==="BlockStatement"}return F==="object"&&f.type==="MemberExpression"&&typeof i.value=="number";case"AssignmentExpression":{let b=d.getParentNode(1);return F==="body"&&f.type==="ArrowFunctionExpression"?!0:F==="key"&&(f.type==="ClassProperty"||f.type==="PropertyDefinition")&&f.computed||(F==="init"||F==="update")&&f.type==="ForStatement"?!1:f.type==="ExpressionStatement"?i.left.type==="ObjectPattern":!(F==="key"&&f.type==="TSPropertySignature"||f.type==="AssignmentExpression"||f.type==="SequenceExpression"&&b&&b.type==="ForStatement"&&(b.init===f||b.update===f)||F==="value"&&f.type==="Property"&&b&&b.type==="ObjectPattern"&&b.properties.includes(f)||f.type==="NGChainedExpression")}case"ConditionalExpression":switch(f.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return F==="callee";case"ConditionalExpression":return F==="test";case"MemberExpression":case"OptionalMemberExpression":return F==="object";default:return!1}case"FunctionExpression":switch(f.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return F==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(f.type){case"BinaryExpression":return f.operator!=="|>"||i.extra&&i.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return F==="callee";case"MemberExpression":case"OptionalMemberExpression":return F==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return F==="test";default:return!1}case"ClassExpression":if(a(i.decorators))return!0;switch(f.type){case"NewExpression":return F==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let b=d.getParentNode(1);if(F==="object"&&f.type==="MemberExpression"||F==="callee"&&(f.type==="CallExpression"||f.type==="NewExpression")||f.type==="TSNonNullExpression"&&b.type==="MemberExpression"&&b.object===f)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(F==="callee"&&(f.type==="BindExpression"||f.type==="NewExpression")){let b=i;for(;b;)switch(b.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":b=b.object;break;case"TaggedTemplateExpression":b=b.tag;break;case"TSNonNullExpression":b=b.expression;break;default:return!1}}return!1;case"BindExpression":return F==="callee"&&(f.type==="BindExpression"||f.type==="NewExpression")||F==="object"&&D(f);case"NGPipeExpression":return!(f.type==="NGRoot"||f.type==="NGMicrosyntaxExpression"||f.type==="ObjectProperty"&&!(i.extra&&i.extra.parenthesized)||f.type==="ArrayExpression"||p(f)&&f.arguments[F]===i||F==="right"&&f.type==="NGPipeExpression"||F==="property"&&f.type==="MemberExpression"||f.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return F==="callee"||F==="left"&&f.type==="BinaryExpression"&&f.operator==="<"||f.type!=="ArrayExpression"&&f.type!=="ArrowFunctionExpression"&&f.type!=="AssignmentExpression"&&f.type!=="AssignmentPattern"&&f.type!=="BinaryExpression"&&f.type!=="NewExpression"&&f.type!=="ConditionalExpression"&&f.type!=="ExpressionStatement"&&f.type!=="JsExpressionRoot"&&f.type!=="JSXAttribute"&&f.type!=="JSXElement"&&f.type!=="JSXExpressionContainer"&&f.type!=="JSXFragment"&&f.type!=="LogicalExpression"&&!p(f)&&!C(f)&&f.type!=="ReturnStatement"&&f.type!=="ThrowStatement"&&f.type!=="TypeCastExpression"&&f.type!=="VariableDeclarator"&&f.type!=="YieldExpression";case"TypeAnnotation":return F==="returnType"&&f.type==="ArrowFunctionExpression"&&x(i)}return!1}function A(d){return d.type==="BlockStatement"||d.type==="BreakStatement"||d.type==="ClassBody"||d.type==="ClassDeclaration"||d.type==="ClassMethod"||d.type==="ClassProperty"||d.type==="PropertyDefinition"||d.type==="ClassPrivateProperty"||d.type==="ContinueStatement"||d.type==="DebuggerStatement"||d.type==="DeclareClass"||d.type==="DeclareExportAllDeclaration"||d.type==="DeclareExportDeclaration"||d.type==="DeclareFunction"||d.type==="DeclareInterface"||d.type==="DeclareModule"||d.type==="DeclareModuleExports"||d.type==="DeclareVariable"||d.type==="DoWhileStatement"||d.type==="EnumDeclaration"||d.type==="ExportAllDeclaration"||d.type==="ExportDefaultDeclaration"||d.type==="ExportNamedDeclaration"||d.type==="ExpressionStatement"||d.type==="ForInStatement"||d.type==="ForOfStatement"||d.type==="ForStatement"||d.type==="FunctionDeclaration"||d.type==="IfStatement"||d.type==="ImportDeclaration"||d.type==="InterfaceDeclaration"||d.type==="LabeledStatement"||d.type==="MethodDefinition"||d.type==="ReturnStatement"||d.type==="SwitchStatement"||d.type==="ThrowStatement"||d.type==="TryStatement"||d.type==="TSDeclareFunction"||d.type==="TSEnumDeclaration"||d.type==="TSImportEqualsDeclaration"||d.type==="TSInterfaceDeclaration"||d.type==="TSModuleDeclaration"||d.type==="TSNamespaceExportDeclaration"||d.type==="TypeAlias"||d.type==="VariableDeclaration"||d.type==="WhileStatement"||d.type==="WithStatement"}function N(d){let T=0,f=d.getValue();for(;f;){let F=d.getParentNode(T++);if(F&&F.type==="ForStatement"&&F.init===f)return!0;f=F}return!1}function x(d){return o(d,T=>T.type==="ObjectTypeAnnotation"&&o(T,f=>f.type==="FunctionTypeAnnotation"||void 0)||void 0)}function P(d){switch(d.type){case"ObjectExpression":return!0;default:return!1}}function _(d){let T=d.getValue(),f=d.getParentNode(),F=d.getName();switch(f.type){case"NGPipeExpression":if(typeof F=="number"&&f.arguments[F]===T&&f.arguments.length-1===F)return d.callParent(_);break;case"ObjectProperty":if(F==="value"){let i=d.getParentNode(1);return t(i.properties)===f}break;case"BinaryExpression":case"LogicalExpression":if(F==="right")return d.callParent(_);break;case"ConditionalExpression":if(F==="alternate")return d.callParent(_);break;case"UnaryExpression":if(f.prefix)return d.callParent(_);break}return!1}function J(d,T){let f=d.getValue(),F=d.getParentNode();return f.type==="FunctionExpression"||f.type==="ClassExpression"?F.type==="ExportDefaultDeclaration"||!k(d,T):!n(f)||F.type!=="ExportDefaultDeclaration"&&k(d,T)?!1:d.call(i=>J(i,T),...e(d,f))}l.exports=k}}),Is=$({"src/language-js/print-preprocess.js"(u,l){ue();function t(a,s){switch(s.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},a),{},{type:s.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:a,comments:[],rootMarker:s.rootMarker});default:return a}}l.exports=t}}),Ea=$({"src/language-js/print/html-binding.js"(u,l){ue();var{builders:{join:t,line:a,group:s,softline:e,indent:r}}=wt();function n(c,y,m){let g=c.getValue();if(y.__onHtmlBindingRoot&&c.getName()===null&&y.__onHtmlBindingRoot(g,y),g.type==="File"){if(y.__isVueForBindingLeft)return c.call(p=>{let D=t([",",a],p.map(m,"params")),{params:C}=p.getValue();return C.length===1?D:["(",r([e,s(D)]),e,")"]},"program","body",0);if(y.__isVueBindings)return c.call(p=>t([",",a],p.map(m,"params")),"program","body",0)}}function o(c){switch(c.type){case"MemberExpression":switch(c.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return o(c.object)}return!1;case"Identifier":return!0;default:return!1}}l.exports={isVueEventBindingExpression:o,printHtmlBinding:n}}}),as=$({"src/language-js/print/binaryish.js"(u,l){ue();var{printComments:t}=Qt(),{getLast:a}=Gt(),{builders:{join:s,line:e,softline:r,group:n,indent:o,align:c,indentIfBreak:y},utils:{cleanDoc:m,getDocParts:g,isConcat:p}}=wt(),{hasLeadingOwnLineComment:D,isBinaryish:C,isJsxNode:w,shouldFlatten:k,hasComment:A,CommentCheckFlags:N,isCallExpression:x,isMemberExpression:P,isObjectProperty:_,isEnabledHackPipeline:J}=ur(),d=0;function T(i,h,E){let b=i.getValue(),S=i.getParentNode(),B=i.getParentNode(1),I=b!==S.body&&(S.type==="IfStatement"||S.type==="WhileStatement"||S.type==="SwitchStatement"||S.type==="DoWhileStatement"),q=J(h)&&b.operator==="|>",G=f(i,E,h,!1,I);if(I)return G;if(q)return n(G);if(x(S)&&S.callee===b||S.type==="UnaryExpression"||P(S)&&!S.computed)return n([o([r,...G]),r]);let M=S.type==="ReturnStatement"||S.type==="ThrowStatement"||S.type==="JSXExpressionContainer"&&B.type==="JSXAttribute"||b.operator!=="|"&&S.type==="JsExpressionRoot"||b.type!=="NGPipeExpression"&&(S.type==="NGRoot"&&h.parser==="__ng_binding"||S.type==="NGMicrosyntaxExpression"&&B.type==="NGMicrosyntax"&&B.body.length===1)||b===S.body&&S.type==="ArrowFunctionExpression"||b!==S.body&&S.type==="ForStatement"||S.type==="ConditionalExpression"&&B.type!=="ReturnStatement"&&B.type!=="ThrowStatement"&&!x(B)||S.type==="TemplateLiteral",te=S.type==="AssignmentExpression"||S.type==="VariableDeclarator"||S.type==="ClassProperty"||S.type==="PropertyDefinition"||S.type==="TSAbstractPropertyDefinition"||S.type==="ClassPrivateProperty"||_(S),j=C(b.left)&&k(b.operator,b.left.operator);if(M||F(b)&&!j||!F(b)&&te)return n(G);if(G.length===0)return"";let De=w(b.right),U=G.findIndex(X=>typeof X!="string"&&!Array.isArray(X)&&X.type==="group"),R=G.slice(0,U===-1?1:U+1),pe=G.slice(R.length,De?-1:void 0),be=Symbol("logicalChain-"+ ++d),fe=n([...R,o(pe)],{id:be});if(!De)return fe;let Ie=a(G);return n([fe,y(Ie,{groupId:be})])}function f(i,h,E,b,S){let B=i.getValue();if(!C(B))return[n(h())];let I=[];k(B.operator,B.left.operator)?I=i.call(pe=>f(pe,h,E,!0,S),"left"):I.push(n(h("left")));let q=F(B),G=(B.operator==="|>"||B.type==="NGPipeExpression"||B.operator==="|"&&E.parser==="__vue_expression")&&!D(E.originalText,B.right),M=B.type==="NGPipeExpression"?"|":B.operator,te=B.type==="NGPipeExpression"&&B.arguments.length>0?n(o([e,": ",s([e,": "],i.map(h,"arguments").map(pe=>c(2,n(pe))))])):"",j;if(q)j=[M," ",h("right"),te];else{let pe=J(E)&&M==="|>"?i.call(be=>f(be,h,E,!0,S),"right"):h("right");j=[G?e:"",M,G?" ":e,pe,te]}let De=i.getParentNode(),U=A(B.left,N.Trailing|N.Line),R=U||!(S&&B.type==="LogicalExpression")&&De.type!==B.type&&B.left.type!==B.type&&B.right.type!==B.type;if(I.push(G?"":" ",R?n(j,{shouldBreak:U}):j),b&&A(B)){let pe=m(t(i,I,E));return p(pe)||pe.type==="fill"?g(pe):[pe]}return I}function F(i){return i.type!=="LogicalExpression"?!1:!!(i.right.type==="ObjectExpression"&&i.right.properties.length>0||i.right.type==="ArrayExpression"&&i.right.elements.length>0||w(i.right))}l.exports={printBinaryishExpression:T,shouldInlineLogicalExpression:F}}}),Ca=$({"src/language-js/print/angular.js"(u,l){ue();var{builders:{join:t,line:a,group:s}}=wt(),{hasNode:e,hasComment:r,getComments:n}=ur(),{printBinaryishExpression:o}=as();function c(g,p,D){let C=g.getValue();if(C.type.startsWith("NG"))switch(C.type){case"NGRoot":return[D("node"),r(C.node)?" //"+n(C.node)[0].value.trimEnd():""];case"NGPipeExpression":return o(g,p,D);case"NGChainedExpression":return s(t([";",a],g.map(w=>m(w)?D():["(",D(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[C.prefix,": ",C.value.trim()];case"NGMicrosyntax":return g.map((w,k)=>[k===0?"":y(w.getValue(),k,C)?" ":[";",a],D()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(C.name)?C.name:JSON.stringify(C.name);case"NGMicrosyntaxExpression":return[D("expression"),C.alias===null?"":[" as ",D("alias")]];case"NGMicrosyntaxKeyedExpression":{let w=g.getName(),k=g.getParentNode(),A=y(C,w,k)||(w===1&&(C.key.name==="then"||C.key.name==="else")||w===2&&C.key.name==="else"&&k.body[w-1].type==="NGMicrosyntaxKeyedExpression"&&k.body[w-1].key.name==="then")&&k.body[0].type==="NGMicrosyntaxExpression";return[D("key"),A?" ":": ",D("expression")]}case"NGMicrosyntaxLet":return["let ",D("key"),C.value===null?"":[" = ",D("value")]];case"NGMicrosyntaxAs":return[D("key")," as ",D("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(C.type)}.`)}}function y(g,p,D){return g.type==="NGMicrosyntaxKeyedExpression"&&g.key.name==="of"&&p===1&&D.body[0].type==="NGMicrosyntaxLet"&&D.body[0].value===null}function m(g){return e(g.getValue(),p=>{switch(p.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}l.exports={printAngular:c}}}),Fa=$({"src/language-js/print/jsx.js"(u,l){ue();var{printComments:t,printDanglingComments:a,printCommentsSeparately:s}=Qt(),{builders:{line:e,hardline:r,softline:n,group:o,indent:c,conditionalGroup:y,fill:m,ifBreak:g,lineSuffixBoundary:p,join:D},utils:{willBreak:C}}=wt(),{getLast:w,getPreferredQuote:k}=Gt(),{isJsxNode:A,rawText:N,isCallExpression:x,isStringLiteral:P,isBinaryish:_,hasComment:J,CommentCheckFlags:d,hasNodeIgnoreComment:T}=ur(),f=Ln(),{willPrintOwnComments:F}=Ps(),i=Q=>Q===""||Q===e||Q===r||Q===n;function h(Q,me,Ce){let Re=Q.getValue();if(Re.type==="JSXElement"&&we(Re))return[Ce("openingElement"),Ce("closingElement")];let Xe=Re.type==="JSXElement"?Ce("openingElement"):Ce("openingFragment"),Ye=Re.type==="JSXElement"?Ce("closingElement"):Ce("closingFragment");if(Re.children.length===1&&Re.children[0].type==="JSXExpressionContainer"&&(Re.children[0].expression.type==="TemplateLiteral"||Re.children[0].expression.type==="TaggedTemplateExpression"))return[Xe,...Q.map(Ce,"children"),Ye];Re.children=Re.children.map(v=>it(v)?{type:"JSXText",value:" ",raw:" "}:v);let Ct=Re.children.some(A),Rt=Re.children.filter(v=>v.type==="JSXExpressionContainer").length>1,It=Re.type==="JSXElement"&&Re.openingElement.attributes.length>1,Et=C(Xe)||Ct||It||Rt,bt=Q.getParentNode().rootMarker==="mdx",xe=me.singleQuote?"{' '}":'{" "}',H=bt?" ":g([xe,n]," "),ke=Re.openingElement&&Re.openingElement.name&&Re.openingElement.name.name==="fbt",oe=E(Q,me,Ce,H,ke),Be=Re.children.some(v=>_e(v));for(let v=oe.length-2;v>=0;v--){let K=oe[v]===""&&oe[v+1]==="",ye=oe[v]===r&&oe[v+1]===""&&oe[v+2]===r,ze=(oe[v]===n||oe[v]===r)&&oe[v+1]===""&&oe[v+2]===H,tt=oe[v]===H&&oe[v+1]===""&&(oe[v+2]===n||oe[v+2]===r),ht=oe[v]===H&&oe[v+1]===""&&oe[v+2]===H,Ke=oe[v]===n&&oe[v+1]===""&&oe[v+2]===r||oe[v]===r&&oe[v+1]===""&&oe[v+2]===n;ye&&Be||K||ze||ht||Ke?oe.splice(v,2):tt&&oe.splice(v+1,2)}for(;oe.length>0&&i(w(oe));)oe.pop();for(;oe.length>1&&i(oe[0])&&i(oe[1]);)oe.shift(),oe.shift();let pt=[];for(let[v,K]of oe.entries()){if(K===H){if(v===1&&oe[v-1]===""){if(oe.length===2){pt.push(xe);continue}pt.push([xe,r]);continue}else if(v===oe.length-1){pt.push(xe);continue}else if(oe[v-1]===""&&oe[v-2]===r){pt.push(xe);continue}}pt.push(K),C(K)&&(Et=!0)}let ut=Be?m(pt):o(pt,{shouldBreak:!0});if(bt)return ut;let Le=o([Xe,c([r,ut]),r,Ye]);return Et?Le:y([o([Xe,...oe,Ye]),Le])}function E(Q,me,Ce,Re,Xe){let Ye=[];return Q.each((Ct,Rt,It)=>{let Et=Ct.getValue();if(Et.type==="JSXText"){let bt=N(Et);if(_e(Et)){let xe=bt.split(Ie);if(xe[0]===""){if(Ye.push(""),xe.shift(),/\n/.test(xe[0])){let ke=It[Rt+1];Ye.push(S(Xe,xe[1],Et,ke))}else Ye.push(Re);xe.shift()}let H;if(w(xe)===""&&(xe.pop(),H=xe.pop()),xe.length===0)return;for(let[ke,oe]of xe.entries())ke%2===1?Ye.push(e):Ye.push(oe);if(H!==void 0)if(/\n/.test(H)){let ke=It[Rt+1];Ye.push(S(Xe,w(Ye),Et,ke))}else Ye.push(Re);else{let ke=It[Rt+1];Ye.push(b(Xe,w(Ye),Et,ke))}}else/\n/.test(bt)?bt.match(/\n/g).length>1&&Ye.push("",r):Ye.push("",Re)}else{let bt=Ce();Ye.push(bt);let xe=It[Rt+1];if(xe&&_e(xe)){let H=se(N(xe)).split(Ie)[0];Ye.push(b(Xe,H,Et,xe))}else Ye.push(r)}},"children"),Ye}function b(Q,me,Ce,Re){return Q?"":Ce.type==="JSXElement"&&!Ce.closingElement||Re&&Re.type==="JSXElement"&&!Re.closingElement?me.length===1?n:r:n}function S(Q,me,Ce,Re){return Q?r:me.length===1?Ce.type==="JSXElement"&&!Ce.closingElement||Re&&Re.type==="JSXElement"&&!Re.closingElement?r:n:r}function B(Q,me,Ce){let Re=Q.getParentNode();if(!Re||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[Re.type])return me;let Xe=Q.match(void 0,Ct=>Ct.type==="ArrowFunctionExpression",x,Ct=>Ct.type==="JSXExpressionContainer"),Ye=f(Q,Ce);return o([Ye?"":g("("),c([n,me]),n,Ye?"":g(")")],{shouldBreak:Xe})}function I(Q,me,Ce){let Re=Q.getValue(),Xe=[];if(Xe.push(Ce("name")),Re.value){let Ye;if(P(Re.value)){let Ct=N(Re.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:Rt,quote:It,regex:Et}=k(Ct,me.jsxSingleQuote?"'":'"');Ct=Ct.replace(Et,Rt);let{leading:bt,trailing:xe}=Q.call(()=>s(Q,me),"value");Ye=[bt,It,Ct,It,xe]}else Ye=Ce("value");Xe.push("=",Ye)}return Xe}function q(Q,me,Ce){let Re=Q.getValue(),Xe=(Ye,Ct)=>Ye.type==="JSXEmptyExpression"||!J(Ye)&&(Ye.type==="ArrayExpression"||Ye.type==="ObjectExpression"||Ye.type==="ArrowFunctionExpression"||Ye.type==="AwaitExpression"&&(Xe(Ye.argument,Ye)||Ye.argument.type==="JSXElement")||x(Ye)||Ye.type==="FunctionExpression"||Ye.type==="TemplateLiteral"||Ye.type==="TaggedTemplateExpression"||Ye.type==="DoExpression"||A(Ct)&&(Ye.type==="ConditionalExpression"||_(Ye)));return Xe(Re.expression,Q.getParentNode(0))?o(["{",Ce("expression"),p,"}"]):o(["{",c([n,Ce("expression")]),n,p,"}"])}function G(Q,me,Ce){let Re=Q.getValue(),Xe=Re.name&&J(Re.name)||Re.typeParameters&&J(Re.typeParameters);if(Re.selfClosing&&Re.attributes.length===0&&!Xe)return["<",Ce("name"),Ce("typeParameters")," />"];if(Re.attributes&&Re.attributes.length===1&&Re.attributes[0].value&&P(Re.attributes[0].value)&&!Re.attributes[0].value.value.includes(`
+`)&&!Xe&&!J(Re.attributes[0]))return o(["<",Ce("name"),Ce("typeParameters")," ",...Q.map(Ce,"attributes"),Re.selfClosing?" />":">"]);let Ye=Re.attributes&&Re.attributes.some(Rt=>Rt.value&&P(Rt.value)&&Rt.value.value.includes(`
+`)),Ct=me.singleAttributePerLine&&Re.attributes.length>1?r:e;return o(["<",Ce("name"),Ce("typeParameters"),c(Q.map(()=>[Ct,Ce()],"attributes")),...M(Re,me,Xe)],{shouldBreak:Ye})}function M(Q,me,Ce){return Q.selfClosing?[e,"/>"]:te(Q,me,Ce)?[">"]:[n,">"]}function te(Q,me,Ce){let Re=Q.attributes.length>0&&J(w(Q.attributes),d.Trailing);return Q.attributes.length===0&&!Ce||(me.bracketSameLine||me.jsxBracketSameLine)&&(!Ce||Q.attributes.length>0)&&!Re}function j(Q,me,Ce){let Re=Q.getValue(),Xe=[];Xe.push("");let Ye=Ce("name");return J(Re.name,d.Leading|d.Line)?Xe.push(c([r,Ye]),r):J(Re.name,d.Leading|d.Block)?Xe.push(" ",Ye):Xe.push(Ye),Xe.push(">"),Xe}function De(Q,me){let Ce=Q.getValue(),Re=J(Ce),Xe=J(Ce,d.Line),Ye=Ce.type==="JSXOpeningFragment";return[Ye?"<":"",c([Xe?r:Re&&!Ye?" ":"",a(Q,me,!0)]),Xe?r:"",">"]}function U(Q,me,Ce){let Re=t(Q,h(Q,me,Ce),me);return B(Q,Re,me)}function R(Q,me){let Ce=Q.getValue(),Re=J(Ce,d.Line);return[a(Q,me,!Re),Re?r:""]}function pe(Q,me,Ce){let Re=Q.getValue();return["{",Q.call(Xe=>{let Ye=["...",Ce()],Ct=Xe.getValue();return!J(Ct)||!F(Xe)?Ye:[c([n,t(Xe,Ye,me)]),n]},Re.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function be(Q,me,Ce){let Re=Q.getValue();if(Re.type.startsWith("JSX"))switch(Re.type){case"JSXAttribute":return I(Q,me,Ce);case"JSXIdentifier":return String(Re.name);case"JSXNamespacedName":return D(":",[Ce("namespace"),Ce("name")]);case"JSXMemberExpression":return D(".",[Ce("object"),Ce("property")]);case"JSXSpreadAttribute":return pe(Q,me,Ce);case"JSXSpreadChild":return pe(Q,me,Ce);case"JSXExpressionContainer":return q(Q,me,Ce);case"JSXFragment":case"JSXElement":return U(Q,me,Ce);case"JSXOpeningElement":return G(Q,me,Ce);case"JSXClosingElement":return j(Q,me,Ce);case"JSXOpeningFragment":case"JSXClosingFragment":return De(Q,me);case"JSXEmptyExpression":return R(Q,me);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(Re.type)}.`)}}var fe=`
+\r `,Ie=new RegExp("(["+fe+"]+)"),X=new RegExp("[^"+fe+"]"),se=Q=>Q.replace(new RegExp("(?:^"+Ie.source+"|"+Ie.source+"$)"),"");function we(Q){if(Q.children.length===0)return!0;if(Q.children.length>1)return!1;let me=Q.children[0];return me.type==="JSXText"&&!_e(me)}function _e(Q){return Q.type==="JSXText"&&(X.test(N(Q))||!/\n/.test(N(Q)))}function it(Q){return Q.type==="JSXExpressionContainer"&&P(Q.expression)&&Q.expression.value===" "&&!J(Q.expression)}function ae(Q){let me=Q.getValue(),Ce=Q.getParentNode();if(!Ce||!me||!A(me)||!A(Ce))return!1;let Re=Ce.children.indexOf(me),Xe=null;for(let Ye=Re;Ye>0;Ye--){let Ct=Ce.children[Ye-1];if(!(Ct.type==="JSXText"&&!_e(Ct))){Xe=Ct;break}}return Xe&&Xe.type==="JSXExpressionContainer"&&Xe.expression.type==="JSXEmptyExpression"&&T(Xe.expression)}l.exports={hasJsxIgnoreComment:ae,printJsx:be}}}),qr=$({"src/language-js/print/misc.js"(u,l){ue();var{isNonEmptyArray:t}=Gt(),{builders:{indent:a,join:s,line:e}}=wt(),{isFlowAnnotationComment:r}=ur();function n(w){let k=w.getValue();return!k.optional||k.type==="Identifier"&&k===w.getParentNode().key?"":k.type==="OptionalCallExpression"||k.type==="OptionalMemberExpression"&&k.computed?"?.":"?"}function o(w){return w.getValue().definite||w.match(void 0,(k,A)=>A==="id"&&k.type==="VariableDeclarator"&&k.definite)?"!":""}function c(w,k,A){let N=w.getValue();return N.typeArguments?A("typeArguments"):N.typeParameters?A("typeParameters"):""}function y(w,k,A){let N=w.getValue();if(!N.typeAnnotation)return"";let x=w.getParentNode(),P=x.type==="DeclareFunction"&&x.id===N;return r(k.originalText,N.typeAnnotation)?[" /*: ",A("typeAnnotation")," */"]:[P?"":": ",A("typeAnnotation")]}function m(w,k,A){return["::",A("callee")]}function g(w,k,A){let N=w.getValue();return t(N.modifiers)?[s(" ",w.map(A,"modifiers"))," "]:""}function p(w,k,A){return w.type==="EmptyStatement"?";":w.type==="BlockStatement"||A?[" ",k]:a([e,k])}function D(w,k,A){return["...",A("argument"),y(w,k,A)]}function C(w,k){let A=w.slice(1,-1);if(A.includes('"')||A.includes("'"))return w;let N=k.singleQuote?"'":'"';return N+A+N}l.exports={printOptionalToken:n,printDefiniteToken:o,printFunctionTypeParameters:c,printBindExpressionCallee:m,printTypeScriptModifiers:g,printTypeAnnotation:y,printRestSpread:D,adjustClause:p,printDirective:C}}}),Du=$({"src/language-js/print/array.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{builders:{line:a,softline:s,hardline:e,group:r,indent:n,ifBreak:o,fill:c}}=wt(),{getLast:y,hasNewline:m}=Gt(),{shouldPrintComma:g,hasComment:p,CommentCheckFlags:D,isNextLineEmpty:C,isNumericLiteral:w,isSignedNumericLiteral:k}=ur(),{locStart:A}=or(),{printOptionalToken:N,printTypeAnnotation:x}=qr();function P(T,f,F){let i=T.getValue(),h=[],E=i.type==="TupleExpression"?"#[":"[",b="]";if(i.elements.length===0)p(i,D.Dangling)?h.push(r([E,t(T,f),s,b])):h.push(E,b);else{let S=y(i.elements),B=!(S&&S.type==="RestElement"),I=S===null,q=Symbol("array"),G=!f.__inJestEach&&i.elements.length>1&&i.elements.every((j,De,U)=>{let R=j&&j.type;if(R!=="ArrayExpression"&&R!=="ObjectExpression")return!1;let pe=U[De+1];if(pe&&R!==pe.type)return!1;let be=R==="ArrayExpression"?"elements":"properties";return j[be]&&j[be].length>1}),M=_(i,f),te=B?I?",":g(f)?M?o(",","",{groupId:q}):o(","):"":"";h.push(r([E,n([s,M?d(T,f,F,te):[J(T,f,"elements",F),te],t(T,f,!0)]),s,b],{shouldBreak:G,id:q}))}return h.push(N(T),x(T,f,F)),h}function _(T,f){return T.elements.length>1&&T.elements.every(F=>F&&(w(F)||k(F)&&!p(F.argument))&&!p(F,D.Trailing|D.Line,i=>!m(f.originalText,A(i),{backwards:!0})))}function J(T,f,F,i){let h=[],E=[];return T.each(b=>{h.push(E,r(i())),E=[",",a],b.getValue()&&C(b.getValue(),f)&&E.push(s)},F),h}function d(T,f,F,i){let h=[];return T.each((E,b,S)=>{let B=b===S.length-1;h.push([F(),B?i:","]),B||h.push(C(E.getValue(),f)?[e,e]:p(S[b+1],D.Leading|D.Line)?e:a)},"elements"),c(h)}l.exports={printArray:P,printArrayItems:J,isConciselyPrintedArray:_}}}),js=$({"src/language-js/print/call-arguments.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{getLast:a,getPenultimate:s}=Gt(),{getFunctionParameters:e,hasComment:r,CommentCheckFlags:n,isFunctionCompositionArgs:o,isJsxNode:c,isLongCurriedCallExpression:y,shouldPrintComma:m,getCallArguments:g,iterateCallArgumentsPath:p,isNextLineEmpty:D,isCallExpression:C,isStringLiteral:w,isObjectProperty:k,isTSTypeExpression:A}=ur(),{builders:{line:N,hardline:x,softline:P,group:_,indent:J,conditionalGroup:d,ifBreak:T,breakParent:f},utils:{willBreak:F}}=wt(),{ArgExpansionBailout:i}=Fn(),{isConciselyPrintedArray:h}=Du();function E(M,te,j){let De=M.getValue(),U=De.type==="ImportExpression",R=g(De);if(R.length===0)return["(",t(M,te,!0),")"];if(I(R))return["(",j(["arguments",0]),", ",j(["arguments",1]),")"];let pe=!1,be=!1,fe=R.length-1,Ie=[];p(M,(ae,Q)=>{let me=ae.getNode(),Ce=[j()];Q===fe||(D(me,te)?(Q===0&&(be=!0),pe=!0,Ce.push(",",x,x)):Ce.push(",",N)),Ie.push(Ce)});let X=!(U||De.callee&&De.callee.type==="Import")&&m(te,"all")?",":"";function se(){return _(["(",J([N,...Ie]),X,N,")"],{shouldBreak:!0})}if(pe||M.getParentNode().type!=="Decorator"&&o(R))return se();let we=B(R),_e=S(R,te);if(we||_e){if(we?Ie.slice(1).some(F):Ie.slice(0,-1).some(F))return se();let ae=[];try{M.try(()=>{p(M,(Q,me)=>{we&&me===0&&(ae=[[j([],{expandFirstArg:!0}),Ie.length>1?",":"",be?x:N,be?x:""],...Ie.slice(1)]),_e&&me===fe&&(ae=[...Ie.slice(0,-1),j([],{expandLastArg:!0})])})})}catch(Q){if(Q instanceof i)return se();throw Q}return[Ie.some(F)?f:"",d([["(",...ae,")"],we?["(",_(ae[0],{shouldBreak:!0}),...ae.slice(1),")"]:["(",...Ie.slice(0,-1),_(a(ae),{shouldBreak:!0}),")"],se()])]}let it=["(",J([P,...Ie]),T(X),P,")"];return y(M)?it:_(it,{shouldBreak:Ie.some(F)||pe})}function b(M){let te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return M.type==="ObjectExpression"&&(M.properties.length>0||r(M))||M.type==="ArrayExpression"&&(M.elements.length>0||r(M))||M.type==="TSTypeAssertion"&&b(M.expression)||A(M)&&b(M.expression)||M.type==="FunctionExpression"||M.type==="ArrowFunctionExpression"&&(!M.returnType||!M.returnType.typeAnnotation||M.returnType.typeAnnotation.type!=="TSTypeReference"||q(M.body))&&(M.body.type==="BlockStatement"||M.body.type==="ArrowFunctionExpression"&&b(M.body,!0)||M.body.type==="ObjectExpression"||M.body.type==="ArrayExpression"||!te&&(C(M.body)||M.body.type==="ConditionalExpression")||c(M.body))||M.type==="DoExpression"||M.type==="ModuleExpression"}function S(M,te){let j=a(M),De=s(M);return!r(j,n.Leading)&&!r(j,n.Trailing)&&b(j)&&(!De||De.type!==j.type)&&(M.length!==2||De.type!=="ArrowFunctionExpression"||j.type!=="ArrayExpression")&&!(M.length>1&&j.type==="ArrayExpression"&&h(j,te))}function B(M){if(M.length!==2)return!1;let[te,j]=M;return te.type==="ModuleExpression"&&G(j)?!0:!r(te)&&(te.type==="FunctionExpression"||te.type==="ArrowFunctionExpression"&&te.body.type==="BlockStatement")&&j.type!=="FunctionExpression"&&j.type!=="ArrowFunctionExpression"&&j.type!=="ConditionalExpression"&&!b(j)}function I(M){return M.length===2&&M[0].type==="ArrowFunctionExpression"&&e(M[0]).length===0&&M[0].body.type==="BlockStatement"&&M[1].type==="ArrayExpression"&&!M.some(te=>r(te))}function q(M){return M.type==="BlockStatement"&&(M.body.some(te=>te.type!=="EmptyStatement")||r(M,n.Dangling))}function G(M){return M.type==="ObjectExpression"&&M.properties.length===1&&k(M.properties[0])&&M.properties[0].key.type==="Identifier"&&M.properties[0].key.name==="type"&&w(M.properties[0].value)&&M.properties[0].value.value==="module"}l.exports=E}}),Ls=$({"src/language-js/print/member.js"(u,l){ue();var{builders:{softline:t,group:a,indent:s,label:e}}=wt(),{isNumericLiteral:r,isMemberExpression:n,isCallExpression:o}=ur(),{printOptionalToken:c}=qr();function y(g,p,D){let C=g.getValue(),w=g.getParentNode(),k,A=0;do k=g.getParentNode(A),A++;while(k&&(n(k)||k.type==="TSNonNullExpression"));let N=D("object"),x=m(g,p,D),P=k&&(k.type==="NewExpression"||k.type==="BindExpression"||k.type==="AssignmentExpression"&&k.left.type!=="Identifier")||C.computed||C.object.type==="Identifier"&&C.property.type==="Identifier"&&!n(w)||(w.type==="AssignmentExpression"||w.type==="VariableDeclarator")&&(o(C.object)&&C.object.arguments.length>0||C.object.type==="TSNonNullExpression"&&o(C.object.expression)&&C.object.expression.arguments.length>0||N.label==="member-chain");return e(N.label==="member-chain"?"member-chain":"member",[N,P?x:a(s([t,x]))])}function m(g,p,D){let C=D("property"),w=g.getValue(),k=c(g);return w.computed?!w.property||r(w.property)?[k,"[",C,"]"]:a([k,"[",s([t,C]),t,"]"]):[k,".",C]}l.exports={printMemberExpression:y,printMemberLookup:m}}}),Aa=$({"src/language-js/print/member-chain.js"(u,l){ue();var{printComments:t}=Qt(),{getLast:a,isNextLineEmptyAfterIndex:s,getNextNonSpaceNonCommentCharacterIndex:e}=Gt(),r=Ln(),{isCallExpression:n,isMemberExpression:o,isFunctionOrArrowExpression:c,isLongCurriedCallExpression:y,isMemberish:m,isNumericLiteral:g,isSimpleCallArgument:p,hasComment:D,CommentCheckFlags:C,isNextLineEmpty:w}=ur(),{locEnd:k}=or(),{builders:{join:A,hardline:N,group:x,indent:P,conditionalGroup:_,breakParent:J,label:d},utils:{willBreak:T}}=wt(),f=js(),{printMemberLookup:F}=Ls(),{printOptionalToken:i,printFunctionTypeParameters:h,printBindExpressionCallee:E}=qr();function b(S,B,I){let q=S.getParentNode(),G=!q||q.type==="ExpressionStatement",M=[];function te(Et){let{originalText:bt}=B,xe=e(bt,Et,k);return bt.charAt(xe)===")"?xe!==!1&&s(bt,xe+1):w(Et,B)}function j(Et){let bt=Et.getValue();n(bt)&&(m(bt.callee)||n(bt.callee))?(M.unshift({node:bt,printed:[t(Et,[i(Et),h(Et,B,I),f(Et,B,I)],B),te(bt)?N:""]}),Et.call(xe=>j(xe),"callee")):m(bt)?(M.unshift({node:bt,needsParens:r(Et,B),printed:t(Et,o(bt)?F(Et,B,I):E(Et,B,I),B)}),Et.call(xe=>j(xe),"object")):bt.type==="TSNonNullExpression"?(M.unshift({node:bt,printed:t(Et,"!",B)}),Et.call(xe=>j(xe),"expression")):M.unshift({node:bt,printed:I()})}let De=S.getValue();M.unshift({node:De,printed:[i(S),h(S,B,I),f(S,B,I)]}),De.callee&&S.call(Et=>j(Et),"callee");let U=[],R=[M[0]],pe=1;for(;pe0&&U.push(R);function fe(Et){return/^[A-Z]|^[$_]+$/.test(Et)}function Ie(Et){return Et.length<=B.tabWidth}function X(Et){let bt=Et[1].length>0&&Et[1][0].node.computed;if(Et[0].length===1){let H=Et[0][0].node;return H.type==="ThisExpression"||H.type==="Identifier"&&(fe(H.name)||G&&Ie(H.name)||bt)}let xe=a(Et[0]).node;return o(xe)&&xe.property.type==="Identifier"&&(fe(xe.property.name)||bt)}let se=U.length>=2&&!D(U[1][0].node)&&X(U);function we(Et){let bt=Et.map(xe=>xe.printed);return Et.length>0&&a(Et).needsParens?["(",...bt,")"]:bt}function _e(Et){return Et.length===0?"":P(x([N,A(N,Et.map(we))]))}let it=U.map(we),ae=it,Q=se?3:2,me=U.flat(),Ce=me.slice(1,-1).some(Et=>D(Et.node,C.Leading))||me.slice(0,-1).some(Et=>D(Et.node,C.Trailing))||U[Q]&&D(U[Q][0].node,C.Leading);if(U.length<=Q&&!Ce)return y(S)?ae:x(ae);let Re=a(U[se?1:0]).node,Xe=!n(Re)&&te(Re),Ye=[we(U[0]),se?U.slice(1,2).map(we):"",Xe?N:"",_e(U.slice(se?2:1))],Ct=M.map(Et=>{let{node:bt}=Et;return bt}).filter(n);function Rt(){let Et=a(a(U)).node,bt=a(it);return n(Et)&&T(bt)&&Ct.slice(0,-1).some(xe=>xe.arguments.some(c))}let It;return Ce||Ct.length>2&&Ct.some(Et=>!Et.arguments.every(bt=>p(bt,0)))||it.slice(0,-1).some(T)||Rt()?It=x(Ye):It=[T(ae)||Xe?J:"",_([ae,Ye])],d("member-chain",It)}l.exports=b}}),Os=$({"src/language-js/print/call-expression.js"(u,l){ue();var{builders:{join:t,group:a}}=wt(),s=Ln(),{getCallArguments:e,hasFlowAnnotationComment:r,isCallExpression:n,isMemberish:o,isStringLiteral:c,isTemplateOnItsOwnLine:y,isTestCall:m,iterateCallArgumentsPath:g}=ur(),p=Aa(),D=js(),{printOptionalToken:C,printFunctionTypeParameters:w}=qr();function k(N,x,P){let _=N.getValue(),J=N.getParentNode(),d=_.type==="NewExpression",T=_.type==="ImportExpression",f=C(N),F=e(_);if(F.length>0&&(!T&&!d&&A(_,J)||F.length===1&&y(F[0],x.originalText)||!d&&m(_,J))){let E=[];return g(N,()=>{E.push(P())}),[d?"new ":"",P("callee"),f,w(N,x,P),"(",t(", ",E),")"]}let i=(x.parser==="babel"||x.parser==="babel-flow")&&_.callee&&_.callee.type==="Identifier"&&r(_.callee.trailingComments);if(i&&(_.callee.trailingComments[0].printed=!0),!T&&!d&&o(_.callee)&&!N.call(E=>s(E,x),"callee"))return p(N,x,P);let h=[d?"new ":"",T?"import":P("callee"),f,i?`/*:: ${_.callee.trailingComments[0].value.slice(2).trim()} */`:"",w(N,x,P),D(N,x,P)];return T||n(_.callee)?a(h):h}function A(N,x){if(N.callee.type!=="Identifier")return!1;if(N.callee.name==="require")return!0;if(N.callee.name==="define"){let P=e(N);return x.type==="ExpressionStatement"&&(P.length===1||P.length===2&&P[0].type==="ArrayExpression"||P.length===3&&c(P[0])&&P[1].type==="ArrayExpression")}return!1}l.exports={printCallExpression:k}}}),du=$({"src/language-js/print/assignment.js"(u,l){ue();var{isNonEmptyArray:t,getStringWidth:a}=Gt(),{builders:{line:s,group:e,indent:r,indentIfBreak:n,lineSuffixBoundary:o},utils:{cleanDoc:c,willBreak:y,canBreak:m}}=wt(),{hasLeadingOwnLineComment:g,isBinaryish:p,isStringLiteral:D,isLiteral:C,isNumericLiteral:w,isCallExpression:k,isMemberExpression:A,getCallArguments:N,rawText:x,hasComment:P,isSignedNumericLiteral:_,isObjectProperty:J}=ur(),{shouldInlineLogicalExpression:d}=as(),{printCallExpression:T}=Os();function f(X,se,we,_e,it,ae){let Q=h(X,se,we,_e,ae),me=we(ae,{assignmentLayout:Q});switch(Q){case"break-after-operator":return e([e(_e),it,e(r([s,me]))]);case"never-break-after-operator":return e([e(_e),it," ",me]);case"fluid":{let Ce=Symbol("assignment");return e([e(_e),it,e(r(s),{id:Ce}),o,n(me,{groupId:Ce})])}case"break-lhs":return e([_e,it," ",e(me)]);case"chain":return[e(_e),it,s,me];case"chain-tail":return[e(_e),it,r([s,me])];case"chain-tail-arrow-chain":return[e(_e),it,me];case"only-left":return _e}}function F(X,se,we){let _e=X.getValue();return f(X,se,we,we("left"),[" ",_e.operator],"right")}function i(X,se,we){return f(X,se,we,we("id")," =","init")}function h(X,se,we,_e,it){let ae=X.getValue(),Q=ae[it];if(!Q)return"only-left";let me=!S(Q);if(X.match(S,B,Re=>!me||Re.type!=="ExpressionStatement"&&Re.type!=="VariableDeclaration"))return me?Q.type==="ArrowFunctionExpression"&&Q.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!me&&S(Q.right)||g(se.originalText,Q))return"break-after-operator";if(Q.type==="CallExpression"&&Q.callee.name==="require"||se.parser==="json5"||se.parser==="json")return"never-break-after-operator";if(b(ae)||I(ae)||M(ae)||te(ae)&&m(_e))return"break-lhs";let Ce=be(ae,_e,se);return X.call(()=>E(X,se,we,Ce),it)?"break-after-operator":Ce||Q.type==="TemplateLiteral"||Q.type==="TaggedTemplateExpression"||Q.type==="BooleanLiteral"||w(Q)||Q.type==="ClassExpression"?"never-break-after-operator":"fluid"}function E(X,se,we,_e){let it=X.getValue();if(p(it)&&!d(it))return!0;switch(it.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:me}=it;return p(me)&&!d(me)}case"ClassExpression":return t(it.decorators)}if(_e)return!1;let ae=it,Q=[];for(;;)if(ae.type==="UnaryExpression")ae=ae.argument,Q.push("argument");else if(ae.type==="TSNonNullExpression")ae=ae.expression,Q.push("expression");else break;return!!(D(ae)||X.call(()=>U(X,se,we),...Q))}function b(X){if(B(X)){let se=X.left||X.id;return se.type==="ObjectPattern"&&se.properties.length>2&&se.properties.some(we=>J(we)&&(!we.shorthand||we.value&&we.value.type==="AssignmentPattern"))}return!1}function S(X){return X.type==="AssignmentExpression"}function B(X){return S(X)||X.type==="VariableDeclarator"}function I(X){let se=q(X);if(t(se)){let we=X.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(se.length>1&&se.some(_e=>_e[we]||_e.default))return!0}return!1}function q(X){return G(X)&&X.typeParameters&&X.typeParameters.params?X.typeParameters.params:null}function G(X){return X.type==="TSTypeAliasDeclaration"||X.type==="TypeAlias"}function M(X){if(X.type!=="VariableDeclarator")return!1;let{typeAnnotation:se}=X.id;if(!se||!se.typeAnnotation)return!1;let we=j(se.typeAnnotation);return t(we)&&we.length>1&&we.some(_e=>t(j(_e))||_e.type==="TSConditionalType")}function te(X){return X.type==="VariableDeclarator"&&X.init&&X.init.type==="ArrowFunctionExpression"}function j(X){return De(X)&&X.typeParameters&&X.typeParameters.params?X.typeParameters.params:null}function De(X){return X.type==="TSTypeReference"||X.type==="GenericTypeAnnotation"}function U(X,se,we){let _e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,it=X.getValue(),ae=()=>U(X,se,we,!0);if(it.type==="TSNonNullExpression")return X.call(ae,"expression");if(k(it)){if(T(X,se,we).label==="member-chain")return!1;let Q=N(it);return!(Q.length===0||Q.length===1&&pe(Q[0],se))||fe(it,we)?!1:X.call(ae,"callee")}return A(it)?X.call(ae,"object"):_e&&(it.type==="Identifier"||it.type==="ThisExpression")}var R=.25;function pe(X,se){let{printWidth:we}=se;if(P(X))return!1;let _e=we*R;if(X.type==="ThisExpression"||X.type==="Identifier"&&X.name.length<=_e||_(X)&&!P(X.argument))return!0;let it=X.type==="Literal"&&"regex"in X&&X.regex.pattern||X.type==="RegExpLiteral"&&X.pattern;return it?it.length<=_e:D(X)?x(X).length<=_e:X.type==="TemplateLiteral"?X.expressions.length===0&&X.quasis[0].value.raw.length<=_e&&!X.quasis[0].value.raw.includes(`
+`):C(X)}function be(X,se,we){if(!J(X))return!1;se=c(se);let _e=3;return typeof se=="string"&&a(se)1)return!0;if(we.length===1){let it=we[0];if(it.type==="TSUnionType"||it.type==="UnionTypeAnnotation"||it.type==="TSIntersectionType"||it.type==="IntersectionTypeAnnotation"||it.type==="TSTypeLiteral"||it.type==="ObjectTypeAnnotation")return!0}let _e=X.typeParameters?"typeParameters":"typeArguments";if(y(se(_e)))return!0}return!1}function Ie(X){return X.typeParameters&&X.typeParameters.params||X.typeArguments&&X.typeArguments.params}l.exports={printVariableDeclarator:i,printAssignmentExpression:F,printAssignment:f,isArrowFunctionVariableDeclarator:te}}}),Zu=$({"src/language-js/print/function-parameters.js"(u,l){ue();var{getNextNonSpaceNonCommentCharacter:t}=Gt(),{printDanglingComments:a}=Qt(),{builders:{line:s,hardline:e,softline:r,group:n,indent:o,ifBreak:c},utils:{removeLines:y,willBreak:m}}=wt(),{getFunctionParameters:g,iterateFunctionParametersPath:p,isSimpleType:D,isTestCall:C,isTypeAnnotationAFunction:w,isObjectType:k,isObjectTypePropertyAFunction:A,hasRestParameter:N,shouldPrintComma:x,hasComment:P,isNextLineEmpty:_}=ur(),{locEnd:J}=or(),{ArgExpansionBailout:d}=Fn(),{printFunctionTypeParameters:T}=qr();function f(E,b,S,B,I){let q=E.getValue(),G=g(q),M=I?T(E,S,b):"";if(G.length===0)return[M,"(",a(E,S,!0,pe=>t(S.originalText,pe,J)===")"),")"];let te=E.getParentNode(),j=C(te),De=F(q),U=[];if(p(E,(pe,be)=>{let fe=be===G.length-1;fe&&q.rest&&U.push("..."),U.push(b()),!fe&&(U.push(","),j||De?U.push(" "):_(G[be],S)?U.push(e,e):U.push(s))}),B){if(m(M)||m(U))throw new d;return n([y(M),"(",y(U),")"])}let R=G.every(pe=>!pe.decorators);return De&&R?[M,"(",...U,")"]:j?[M,"(",...U,")"]:(A(te)||w(te)||te.type==="TypeAlias"||te.type==="UnionTypeAnnotation"||te.type==="TSUnionType"||te.type==="IntersectionTypeAnnotation"||te.type==="FunctionTypeAnnotation"&&te.returnType===q)&&G.length===1&&G[0].name===null&&q.this!==G[0]&&G[0].typeAnnotation&&q.typeParameters===null&&D(G[0].typeAnnotation)&&!q.rest?S.arrowParens==="always"?["(",...U,")"]:U:[M,"(",o([r,...U]),c(!N(q)&&x(S,"all")?",":""),r,")"]}function F(E){if(!E)return!1;let b=g(E);if(b.length!==1)return!1;let[S]=b;return!P(S)&&(S.type==="ObjectPattern"||S.type==="ArrayPattern"||S.type==="Identifier"&&S.typeAnnotation&&(S.typeAnnotation.type==="TypeAnnotation"||S.typeAnnotation.type==="TSTypeAnnotation")&&k(S.typeAnnotation.typeAnnotation)||S.type==="FunctionTypeParam"&&k(S.typeAnnotation)||S.type==="AssignmentPattern"&&(S.left.type==="ObjectPattern"||S.left.type==="ArrayPattern")&&(S.right.type==="Identifier"||S.right.type==="ObjectExpression"&&S.right.properties.length===0||S.right.type==="ArrayExpression"&&S.right.elements.length===0))}function i(E){let b;return E.returnType?(b=E.returnType,b.typeAnnotation&&(b=b.typeAnnotation)):E.typeAnnotation&&(b=E.typeAnnotation),b}function h(E,b){let S=i(E);if(!S)return!1;let B=E.typeParameters&&E.typeParameters.params;if(B){if(B.length>1)return!1;if(B.length===1){let I=B[0];if(I.constraint||I.default)return!1}}return g(E).length===1&&(k(S)||m(b))}l.exports={printFunctionParameters:f,shouldHugFunctionParameters:F,shouldGroupFunctionParameters:h}}}),ei=$({"src/language-js/print/type-annotation.js"(u,l){ue();var{printComments:t,printDanglingComments:a}=Qt(),{isNonEmptyArray:s}=Gt(),{builders:{group:e,join:r,line:n,softline:o,indent:c,align:y,ifBreak:m}}=wt(),g=Ln(),{locStart:p}=or(),{isSimpleType:D,isObjectType:C,hasLeadingOwnLineComment:w,isObjectTypePropertyAFunction:k,shouldPrintComma:A}=ur(),{printAssignment:N}=du(),{printFunctionParameters:x,shouldGroupFunctionParameters:P}=Zu(),{printArrayItems:_}=Du();function J(S){if(D(S)||C(S))return!0;if(S.type==="UnionTypeAnnotation"||S.type==="TSUnionType"){let B=S.types.filter(q=>q.type==="VoidTypeAnnotation"||q.type==="TSVoidKeyword"||q.type==="NullLiteralTypeAnnotation"||q.type==="TSNullKeyword").length,I=S.types.some(q=>q.type==="ObjectTypeAnnotation"||q.type==="TSTypeLiteral"||q.type==="GenericTypeAnnotation"||q.type==="TSTypeReference");if(S.types.length-1===B&&I)return!0}return!1}function d(S,B,I){let q=B.semi?";":"",G=S.getValue(),M=[];return M.push("opaque type ",I("id"),I("typeParameters")),G.supertype&&M.push(": ",I("supertype")),G.impltype&&M.push(" = ",I("impltype")),M.push(q),M}function T(S,B,I){let q=B.semi?";":"",G=S.getValue(),M=[];G.declare&&M.push("declare "),M.push("type ",I("id"),I("typeParameters"));let te=G.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[N(S,B,I,M," =",te),q]}function f(S,B,I){let q=S.getValue(),G=S.map(I,"types"),M=[],te=!1;for(let j=0;j1&&(te=!0),M.push(" & ",j>1?c(G[j]):G[j]));return e(M)}function F(S,B,I){let q=S.getValue(),G=S.getParentNode(),M=G.type!=="TypeParameterInstantiation"&&G.type!=="TSTypeParameterInstantiation"&&G.type!=="GenericTypeAnnotation"&&G.type!=="TSTypeReference"&&G.type!=="TSTypeAssertion"&&G.type!=="TupleTypeAnnotation"&&G.type!=="TSTupleType"&&!(G.type==="FunctionTypeParam"&&!G.name&&S.getParentNode(1).this!==G)&&!((G.type==="TypeAlias"||G.type==="VariableDeclarator"||G.type==="TSTypeAliasDeclaration")&&w(B.originalText,q)),te=J(q),j=S.map(R=>{let pe=I();return te||(pe=y(2,pe)),t(R,pe,B)},"types");if(te)return r(" | ",j);let De=M&&!w(B.originalText,q),U=[m([De?n:"","| "]),r([n,"| "],j)];return g(S,B)?e([c(U),o]):G.type==="TupleTypeAnnotation"&&G.types.length>1||G.type==="TSTupleType"&&G.elementTypes.length>1?e([c([m(["(",o]),U]),o,m(")")]):e(M?c(U):U)}function i(S,B,I){let q=S.getValue(),G=[],M=S.getParentNode(0),te=S.getParentNode(1),j=S.getParentNode(2),De=q.type==="TSFunctionType"||!((M.type==="ObjectTypeProperty"||M.type==="ObjectTypeInternalSlot")&&!M.variance&&!M.optional&&p(M)===p(q)||M.type==="ObjectTypeCallProperty"||j&&j.type==="DeclareFunction"),U=De&&(M.type==="TypeAnnotation"||M.type==="TSTypeAnnotation"),R=U&&De&&(M.type==="TypeAnnotation"||M.type==="TSTypeAnnotation")&&te.type==="ArrowFunctionExpression";k(M)&&(De=!0,U=!0),R&&G.push("(");let pe=x(S,I,B,!1,!0),be=q.returnType||q.predicate||q.typeAnnotation?[De?" => ":": ",I("returnType"),I("predicate"),I("typeAnnotation")]:"",fe=P(q,be);return G.push(fe?e(pe):pe),be&&G.push(be),R&&G.push(")"),e(G)}function h(S,B,I){let q=S.getValue(),G=q.type==="TSTupleType"?"elementTypes":"types",M=q[G],te=s(M),j=te?o:"";return e(["[",c([j,_(S,B,G,I)]),m(te&&A(B,"all")?",":""),a(S,B,!0),j,"]"])}function E(S,B,I){let q=S.getValue(),G=q.type==="OptionalIndexedAccessType"&&q.optional?"?.[":"[";return[I("objectType"),G,I("indexType"),"]"]}function b(S,B,I){let q=S.getValue();return[q.postfix?"":I,B("typeAnnotation"),q.postfix?I:""]}l.exports={printOpaqueType:d,printTypeAlias:T,printIntersectionType:f,printUnionType:F,printFunctionType:i,printTupleType:h,printIndexedAccessType:E,shouldHugType:J,printJSDocType:b}}}),ti=$({"src/language-js/print/type-parameters.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{builders:{join:a,line:s,hardline:e,softline:r,group:n,indent:o,ifBreak:c}}=wt(),{isTestCall:y,hasComment:m,CommentCheckFlags:g,isTSXFile:p,shouldPrintComma:D,getFunctionParameters:C,isObjectType:w,getTypeScriptMappedTypeModifier:k}=ur(),{createGroupIdMapper:A}=Gt(),{shouldHugType:N}=ei(),{isArrowFunctionVariableDeclarator:x}=du(),P=A("typeParameters");function _(T,f,F,i){let h=T.getValue();if(!h[i])return"";if(!Array.isArray(h[i]))return F(i);let E=T.getNode(2),b=E&&y(E),S=T.match(I=>!(I[i].length===1&&w(I[i][0])),void 0,(I,q)=>q==="typeAnnotation",I=>I.type==="Identifier",x);if(h[i].length===0||!S&&(b||h[i].length===1&&(h[i][0].type==="NullableTypeAnnotation"||N(h[i][0]))))return["<",a(", ",T.map(F,i)),J(T,f),">"];let B=h.type==="TSTypeParameterInstantiation"?"":C(h).length===1&&p(f)&&!h[i][0].constraint&&T.getParentNode().type==="ArrowFunctionExpression"?",":D(f,"all")?c(","):"";return n(["<",o([r,a([",",s],T.map(F,i))]),B,r,">"],{id:P(h)})}function J(T,f){let F=T.getValue();if(!m(F,g.Dangling))return"";let i=!m(F,g.Line),h=t(T,f,i);return i?h:[h,e]}function d(T,f,F){let i=T.getValue(),h=[i.type==="TSTypeParameter"&&i.const?"const ":""],E=T.getParentNode();return E.type==="TSMappedType"?(E.readonly&&h.push(k(E.readonly,"readonly")," "),h.push("[",F("name")),i.constraint&&h.push(" in ",F("constraint")),E.nameType&&h.push(" as ",T.callParent(()=>F("nameType"))),h.push("]"),h):(i.variance&&h.push(F("variance")),i.in&&h.push("in "),i.out&&h.push("out "),h.push(F("name")),i.bound&&h.push(": ",F("bound")),i.constraint&&h.push(" extends ",F("constraint")),i.default&&h.push(" = ",F("default")),h)}l.exports={printTypeParameter:d,printTypeParameters:_,getTypeParametersGroupId:P}}}),fu=$({"src/language-js/print/property.js"(u,l){ue();var{printComments:t}=Qt(),{printString:a,printNumber:s}=Gt(),{isNumericLiteral:e,isSimpleNumber:r,isStringLiteral:n,isStringPropSafeToUnquote:o,rawText:c}=ur(),{printAssignment:y}=du(),m=new WeakMap;function g(D,C,w){let k=D.getNode();if(k.computed)return["[",w("key"),"]"];let A=D.getParentNode(),{key:N}=k;if(C.quoteProps==="consistent"&&!m.has(A)){let x=(A.properties||A.body||A.members).some(P=>!P.computed&&P.key&&n(P.key)&&!o(P,C));m.set(A,x)}if((N.type==="Identifier"||e(N)&&r(s(c(N)))&&String(N.value)===s(c(N))&&!(C.parser==="typescript"||C.parser==="babel-ts"))&&(C.parser==="json"||C.quoteProps==="consistent"&&m.get(A))){let x=a(JSON.stringify(N.type==="Identifier"?N.name:N.value.toString()),C);return D.call(P=>t(P,x,C),"key")}return o(k,C)&&(C.quoteProps==="as-needed"||C.quoteProps==="consistent"&&!m.get(A))?D.call(x=>t(x,/^\d/.test(N.value)?s(N.value):N.value,C),"key"):w("key")}function p(D,C,w){return D.getValue().shorthand?w("value"):y(D,C,w,g(D,C,w),":","value")}l.exports={printProperty:p,printPropertyKey:g}}}),ri=$({"src/language-js/print/function.js"(u,l){ue();var t=lr(),{printDanglingComments:a,printCommentsSeparately:s}=Qt(),e=mr(),{getNextNonSpaceNonCommentCharacterIndex:r}=Gt(),{builders:{line:n,softline:o,group:c,indent:y,ifBreak:m,hardline:g,join:p,indentIfBreak:D},utils:{removeLines:C,willBreak:w}}=wt(),{ArgExpansionBailout:k}=Fn(),{getFunctionParameters:A,hasLeadingOwnLineComment:N,isFlowAnnotationComment:x,isJsxNode:P,isTemplateOnItsOwnLine:_,shouldPrintComma:J,startsWithNoLookaheadToken:d,isBinaryish:T,isLineComment:f,hasComment:F,getComments:i,CommentCheckFlags:h,isCallLikeExpression:E,isCallExpression:b,getCallArguments:S,hasNakedLeftSide:B,getLeftSide:I}=ur(),{locEnd:q}=or(),{printFunctionParameters:G,shouldGroupFunctionParameters:M}=Zu(),{printPropertyKey:te}=fu(),{printFunctionTypeParameters:j}=qr();function De(Q,me,Ce,Re){let Xe=Q.getValue(),Ye=!1;if((Xe.type==="FunctionDeclaration"||Xe.type==="FunctionExpression")&&Re&&Re.expandLastArg){let bt=Q.getParentNode();b(bt)&&S(bt).length>1&&(Ye=!0)}let Ct=[];Xe.type==="TSDeclareFunction"&&Xe.declare&&Ct.push("declare "),Xe.async&&Ct.push("async "),Xe.generator?Ct.push("function* "):Ct.push("function "),Xe.id&&Ct.push(me("id"));let Rt=G(Q,me,Ce,Ye),It=se(Q,me,Ce),Et=M(Xe,It);return Ct.push(j(Q,Ce,me),c([Et?c(Rt):Rt,It]),Xe.body?" ":"",me("body")),Ce.semi&&(Xe.declare||!Xe.body)&&Ct.push(";"),Ct}function U(Q,me,Ce){let Re=Q.getNode(),{kind:Xe}=Re,Ye=Re.value||Re,Ct=[];return!Xe||Xe==="init"||Xe==="method"||Xe==="constructor"?Ye.async&&Ct.push("async "):(t.ok(Xe==="get"||Xe==="set"),Ct.push(Xe," ")),Ye.generator&&Ct.push("*"),Ct.push(te(Q,me,Ce),Re.optional||Re.key.optional?"?":""),Re===Ye?Ct.push(R(Q,me,Ce)):Ye.type==="FunctionExpression"?Ct.push(Q.call(Rt=>R(Rt,me,Ce),"value")):Ct.push(Ce("value")),Ct}function R(Q,me,Ce){let Re=Q.getNode(),Xe=G(Q,Ce,me),Ye=se(Q,Ce,me),Ct=M(Re,Ye),Rt=[j(Q,me,Ce),c([Ct?c(Xe):Xe,Ye])];return Re.body?Rt.push(" ",Ce("body")):Rt.push(me.semi?";":""),Rt}function pe(Q,me,Ce,Re){let Xe=Q.getValue(),Ye=[];if(Xe.async&&Ye.push("async "),X(Q,me))Ye.push(Ce(["params",0]));else{let Rt=Re&&(Re.expandLastArg||Re.expandFirstArg),It=se(Q,Ce,me);if(Rt){if(w(It))throw new k;It=c(C(It))}Ye.push(c([G(Q,Ce,me,Rt,!0),It]))}let Ct=a(Q,me,!0,Rt=>{let It=r(me.originalText,Rt,q);return It!==!1&&me.originalText.slice(It,It+2)==="=>"});return Ct&&Ye.push(" ",Ct),Ye}function be(Q,me,Ce,Re,Xe,Ye){let Ct=Q.getName(),Rt=Q.getParentNode(),It=E(Rt)&&Ct==="callee",Et=!!(me&&me.assignmentLayout),bt=Ye.body.type!=="BlockStatement"&&Ye.body.type!=="ObjectExpression"&&Ye.body.type!=="SequenceExpression",xe=It&&bt||me&&me.assignmentLayout==="chain-tail-arrow-chain",H=Symbol("arrow-chain");return Ye.body.type==="SequenceExpression"&&(Xe=c(["(",y([o,Xe]),o,")"])),c([c(y([It||Et?o:"",c(p([" =>",n],Ce),{shouldBreak:Re})]),{id:H,shouldBreak:xe})," =>",D(bt?y([n,Xe]):[" ",Xe],{groupId:H}),It?m(o,"",{groupId:H}):""])}function fe(Q,me,Ce,Re){let Xe=Q.getValue(),Ye=[],Ct=[],Rt=!1;if(function H(){let ke=pe(Q,me,Ce,Re);if(Ye.length===0)Ye.push(ke);else{let{leading:oe,trailing:Be}=s(Q,me);Ye.push([oe,ke]),Ct.unshift(Be)}Rt=Rt||Xe.returnType&&A(Xe).length>0||Xe.typeParameters||A(Xe).some(oe=>oe.type!=="Identifier"),Xe.body.type!=="ArrowFunctionExpression"||Re&&Re.expandLastArg?Ct.unshift(Ce("body",Re)):(Xe=Xe.body,Q.call(H,"body"))}(),Ye.length>1)return be(Q,Re,Ye,Rt,Ct,Xe);let It=Ye;if(It.push(" =>"),!N(me.originalText,Xe.body)&&(Xe.body.type==="ArrayExpression"||Xe.body.type==="ObjectExpression"||Xe.body.type==="BlockStatement"||P(Xe.body)||_(Xe.body,me.originalText)||Xe.body.type==="ArrowFunctionExpression"||Xe.body.type==="DoExpression"))return c([...It," ",Ct]);if(Xe.body.type==="SequenceExpression")return c([...It,c([" (",y([o,Ct]),o,")"])]);let Et=(Re&&Re.expandLastArg||Q.getParentNode().type==="JSXExpressionContainer")&&!F(Xe),bt=Re&&Re.expandLastArg&&J(me,"all"),xe=Xe.body.type==="ConditionalExpression"&&!d(Xe.body,H=>H.type==="ObjectExpression");return c([...It,c([y([n,xe?m("","("):"",Ct,xe?m("",")"):""]),Et?[m(bt?",":""),o]:""])])}function Ie(Q){let me=A(Q);return me.length===1&&!Q.typeParameters&&!F(Q,h.Dangling)&&me[0].type==="Identifier"&&!me[0].typeAnnotation&&!F(me[0])&&!me[0].optional&&!Q.predicate&&!Q.returnType}function X(Q,me){if(me.arrowParens==="always")return!1;if(me.arrowParens==="avoid"){let Ce=Q.getValue();return Ie(Ce)}return!1}function se(Q,me,Ce){let Re=Q.getValue(),Xe=me("returnType");if(Re.returnType&&x(Ce.originalText,Re.returnType))return[" /*: ",Xe," */"];let Ye=[Xe];return Re.returnType&&Re.returnType.typeAnnotation&&Ye.unshift(": "),Re.predicate&&Ye.push(Re.returnType?" ":": ",me("predicate")),Ye}function we(Q,me,Ce){let Re=Q.getValue(),Xe=me.semi?";":"",Ye=[];Re.argument&&(ae(me,Re.argument)?Ye.push([" (",y([g,Ce("argument")]),g,")"]):T(Re.argument)||Re.argument.type==="SequenceExpression"?Ye.push(c([m(" ("," "),y([o,Ce("argument")]),o,m(")")])):Ye.push(" ",Ce("argument")));let Ct=i(Re),Rt=e(Ct),It=Rt&&f(Rt);return It&&Ye.push(Xe),F(Re,h.Dangling)&&Ye.push(" ",a(Q,me,!0)),It||Ye.push(Xe),Ye}function _e(Q,me,Ce){return["return",we(Q,me,Ce)]}function it(Q,me,Ce){return["throw",we(Q,me,Ce)]}function ae(Q,me){if(N(Q.originalText,me))return!0;if(B(me)){let Ce=me,Re;for(;Re=I(Ce);)if(Ce=Re,N(Q.originalText,Ce))return!0}return!1}l.exports={printFunction:De,printArrowFunction:fe,printMethod:U,printReturnStatement:_e,printThrowStatement:it,printMethodInternal:R,shouldPrintParamsWithoutParens:X}}}),os=$({"src/language-js/print/decorators.js"(u,l){ue();var{isNonEmptyArray:t,hasNewline:a}=Gt(),{builders:{line:s,hardline:e,join:r,breakParent:n,group:o}}=wt(),{locStart:c,locEnd:y}=or(),{getParentExportDeclaration:m}=ur();function g(k,A,N){let x=k.getValue();return o([r(s,k.map(N,"decorators")),C(x,A)?e:s])}function p(k,A,N){return[r(e,k.map(N,"declaration","decorators")),e]}function D(k,A,N){let x=k.getValue(),{decorators:P}=x;if(!t(P)||w(k.getParentNode()))return;let _=x.type==="ClassExpression"||x.type==="ClassDeclaration"||C(x,A);return[m(k)?e:_?n:"",r(s,k.map(N,"decorators")),s]}function C(k,A){return k.decorators.some(N=>a(A.originalText,y(N)))}function w(k){if(k.type!=="ExportDefaultDeclaration"&&k.type!=="ExportNamedDeclaration"&&k.type!=="DeclareExportDeclaration")return!1;let A=k.declaration&&k.declaration.decorators;return t(A)&&c(k)===c(A[0])}l.exports={printDecorators:D,printClassMemberDecorators:g,printDecoratorsBeforeExport:p,hasDecoratorsBeforeExport:w}}}),mu=$({"src/language-js/print/class.js"(u,l){ue();var{isNonEmptyArray:t,createGroupIdMapper:a}=Gt(),{printComments:s,printDanglingComments:e}=Qt(),{builders:{join:r,line:n,hardline:o,softline:c,group:y,indent:m,ifBreak:g}}=wt(),{hasComment:p,CommentCheckFlags:D}=ur(),{getTypeParametersGroupId:C}=ti(),{printMethod:w}=ri(),{printOptionalToken:k,printTypeAnnotation:A,printDefiniteToken:N}=qr(),{printPropertyKey:x}=fu(),{printAssignment:P}=du(),{printClassMemberDecorators:_}=os();function J(S,B,I){let q=S.getValue(),G=[];q.declare&&G.push("declare "),q.abstract&&G.push("abstract "),G.push("class");let M=q.id&&p(q.id,D.Trailing)||q.typeParameters&&p(q.typeParameters,D.Trailing)||q.superClass&&p(q.superClass)||t(q.extends)||t(q.mixins)||t(q.implements),te=[],j=[];if(q.id&&te.push(" ",I("id")),te.push(I("typeParameters")),q.superClass){let De=[h(S,B,I),I("superTypeParameters")],U=S.call(R=>["extends ",s(R,De,B)],"superClass");M?j.push(n,y(U)):j.push(" ",U)}else j.push(i(S,B,I,"extends"));if(j.push(i(S,B,I,"mixins"),i(S,B,I,"implements")),M){let De;F(q)?De=[...te,m(j)]:De=m([...te,j]),G.push(y(De,{id:d(q)}))}else G.push(...te,...j);return G.push(" ",I("body")),G}var d=a("heritageGroup");function T(S){return g(o,"",{groupId:d(S)})}function f(S){return["superClass","extends","mixins","implements"].filter(B=>!!S[B]).length>1}function F(S){return S.typeParameters&&!p(S.typeParameters,D.Trailing|D.Line)&&!f(S)}function i(S,B,I,q){let G=S.getValue();if(!t(G[q]))return"";let M=e(S,B,!0,te=>{let{marker:j}=te;return j===q});return[F(G)?g(" ",n,{groupId:C(G.typeParameters)}):n,M,M&&o,q,y(m([n,r([",",n],S.map(I,q))]))]}function h(S,B,I){let q=I("superClass");return S.getParentNode().type==="AssignmentExpression"?y(g(["(",m([c,q]),c,")"],q)):q}function E(S,B,I){let q=S.getValue(),G=[];return t(q.decorators)&&G.push(_(S,B,I)),q.accessibility&&G.push(q.accessibility+" "),q.readonly&&G.push("readonly "),q.declare&&G.push("declare "),q.static&&G.push("static "),(q.type==="TSAbstractMethodDefinition"||q.abstract)&&G.push("abstract "),q.override&&G.push("override "),G.push(w(S,B,I)),G}function b(S,B,I){let q=S.getValue(),G=[],M=B.semi?";":"";return t(q.decorators)&&G.push(_(S,B,I)),q.accessibility&&G.push(q.accessibility+" "),q.declare&&G.push("declare "),q.static&&G.push("static "),(q.type==="TSAbstractPropertyDefinition"||q.type==="TSAbstractAccessorProperty"||q.abstract)&&G.push("abstract "),q.override&&G.push("override "),q.readonly&&G.push("readonly "),q.variance&&G.push(I("variance")),(q.type==="ClassAccessorProperty"||q.type==="AccessorProperty"||q.type==="TSAbstractAccessorProperty")&&G.push("accessor "),G.push(x(S,B,I),k(S),N(S),A(S,B,I)),[P(S,B,I,G," =","value"),M]}l.exports={printClass:J,printClassMethod:E,printClassProperty:b,printHardlineAfterHeritage:T}}}),$s=$({"src/language-js/print/interface.js"(u,l){ue();var{isNonEmptyArray:t}=Gt(),{builders:{join:a,line:s,group:e,indent:r,ifBreak:n}}=wt(),{hasComment:o,identity:c,CommentCheckFlags:y}=ur(),{getTypeParametersGroupId:m}=ti(),{printTypeScriptModifiers:g}=qr();function p(D,C,w){let k=D.getValue(),A=[];k.declare&&A.push("declare "),k.type==="TSInterfaceDeclaration"&&A.push(k.abstract?"abstract ":"",g(D,C,w)),A.push("interface");let N=[],x=[];k.type!=="InterfaceTypeAnnotation"&&N.push(" ",w("id"),w("typeParameters"));let P=k.typeParameters&&!o(k.typeParameters,y.Trailing|y.Line);return t(k.extends)&&x.push(P?n(" ",s,{groupId:m(k.typeParameters)}):s,"extends ",(k.extends.length===1?c:r)(a([",",s],D.map(w,"extends")))),k.id&&o(k.id,y.Trailing)||t(k.extends)?P?A.push(e([...N,r(x)])):A.push(e(r([...N,...x]))):A.push(...N,...x),A.push(" ",w("body")),e(A)}l.exports={printInterface:p}}}),Rs=$({"src/language-js/print/module.js"(u,l){ue();var{isNonEmptyArray:t}=Gt(),{builders:{softline:a,group:s,indent:e,join:r,line:n,ifBreak:o,hardline:c}}=wt(),{printDanglingComments:y}=Qt(),{hasComment:m,CommentCheckFlags:g,shouldPrintComma:p,needsHardlineAfterDanglingComment:D,isStringLiteral:C,rawText:w}=ur(),{locStart:k,hasSameLoc:A}=or(),{hasDecoratorsBeforeExport:N,printDecoratorsBeforeExport:x}=os();function P(b,S,B){let I=b.getValue(),q=S.semi?";":"",G=[],{importKind:M}=I;return G.push("import"),M&&M!=="value"&&G.push(" ",M),G.push(f(b,S,B),T(b,S,B),i(b,S,B),q),G}function _(b,S,B){let I=b.getValue(),q=[];N(I)&&q.push(x(b,S,B));let{type:G,exportKind:M,declaration:te}=I;return q.push("export"),(I.default||G==="ExportDefaultDeclaration")&&q.push(" default"),m(I,g.Dangling)&&(q.push(" ",y(b,S,!0)),D(I)&&q.push(c)),te?q.push(" ",B("declaration")):q.push(M==="type"?" type":"",f(b,S,B),T(b,S,B),i(b,S,B)),d(I,S)&&q.push(";"),q}function J(b,S,B){let I=b.getValue(),q=S.semi?";":"",G=[],{exportKind:M,exported:te}=I;return G.push("export"),M==="type"&&G.push(" type"),G.push(" *"),te&&G.push(" as ",B("exported")),G.push(T(b,S,B),i(b,S,B),q),G}function d(b,S){if(!S.semi)return!1;let{type:B,declaration:I}=b,q=b.default||B==="ExportDefaultDeclaration";if(!I)return!0;let{type:G}=I;return!!(q&&G!=="ClassDeclaration"&&G!=="FunctionDeclaration"&&G!=="TSInterfaceDeclaration"&&G!=="DeclareClass"&&G!=="DeclareFunction"&&G!=="TSDeclareFunction"&&G!=="EnumDeclaration")}function T(b,S,B){let I=b.getValue();if(!I.source)return"";let q=[];return F(I,S)||q.push(" from"),q.push(" ",B("source")),q}function f(b,S,B){let I=b.getValue();if(F(I,S))return"";let q=[" "];if(t(I.specifiers)){let G=[],M=[];b.each(()=>{let te=b.getValue().type;if(te==="ExportNamespaceSpecifier"||te==="ExportDefaultSpecifier"||te==="ImportNamespaceSpecifier"||te==="ImportDefaultSpecifier")G.push(B());else if(te==="ExportSpecifier"||te==="ImportSpecifier")M.push(B());else throw new Error(`Unknown specifier type ${JSON.stringify(te)}`)},"specifiers"),q.push(r(", ",G)),M.length>0&&(G.length>0&&q.push(", "),M.length>1||G.length>0||I.specifiers.some(te=>m(te))?q.push(s(["{",e([S.bracketSpacing?n:a,r([",",n],M)]),o(p(S)?",":""),S.bracketSpacing?n:a,"}"])):q.push(["{",S.bracketSpacing?" ":"",...M,S.bracketSpacing?" ":"","}"]))}else q.push("{}");return q}function F(b,S){let{type:B,importKind:I,source:q,specifiers:G}=b;return B!=="ImportDeclaration"||t(G)||I==="type"?!1:!/{\s*}/.test(S.originalText.slice(k(b),k(q)))}function i(b,S,B){let I=b.getNode();return t(I.assertions)?[" assert {",S.bracketSpacing?" ":"",r(", ",b.map(B,"assertions")),S.bracketSpacing?" ":"","}"]:""}function h(b,S,B){let I=b.getNode(),{type:q}=I,G=[],M=q==="ImportSpecifier"?I.importKind:I.exportKind;M&&M!=="value"&&G.push(M," ");let te=q.startsWith("Import"),j=te?"imported":"local",De=te?"local":"exported",U=I[j],R=I[De],pe="",be="";return q==="ExportNamespaceSpecifier"||q==="ImportNamespaceSpecifier"?pe="*":U&&(pe=B(j)),R&&!E(I)&&(be=B(De)),G.push(pe,pe&&be?" as ":"",be),G}function E(b){if(b.type!=="ImportSpecifier"&&b.type!=="ExportSpecifier")return!1;let{local:S,[b.type==="ImportSpecifier"?"imported":"exported"]:B}=b;if(S.type!==B.type||!A(S,B))return!1;if(C(S))return S.value===B.value&&w(S)===w(B);switch(S.type){case"Identifier":return S.name===B.name;default:return!1}}l.exports={printImportDeclaration:P,printExportDeclaration:_,printExportAllDeclaration:J,printModuleSpecifier:h}}}),ls=$({"src/language-js/print/object.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{builders:{line:a,softline:s,group:e,indent:r,ifBreak:n,hardline:o}}=wt(),{getLast:c,hasNewlineInRange:y,hasNewline:m,isNonEmptyArray:g}=Gt(),{shouldPrintComma:p,hasComment:D,getComments:C,CommentCheckFlags:w,isNextLineEmpty:k}=ur(),{locStart:A,locEnd:N}=or(),{printOptionalToken:x,printTypeAnnotation:P}=qr(),{shouldHugFunctionParameters:_}=Zu(),{shouldHugType:J}=ei(),{printHardlineAfterHeritage:d}=mu();function T(f,F,i){let h=F.semi?";":"",E=f.getValue(),b;E.type==="TSTypeLiteral"?b="members":E.type==="TSInterfaceBody"?b="body":b="properties";let S=E.type==="ObjectTypeAnnotation",B=[b];S&&B.push("indexers","callProperties","internalSlots");let I=B.map(X=>E[X][0]).sort((X,se)=>A(X)-A(se))[0],q=f.getParentNode(0),G=S&&q&&(q.type==="InterfaceDeclaration"||q.type==="DeclareInterface"||q.type==="DeclareClass")&&f.getName()==="body",M=E.type==="TSInterfaceBody"||G||E.type==="ObjectPattern"&&q.type!=="FunctionDeclaration"&&q.type!=="FunctionExpression"&&q.type!=="ArrowFunctionExpression"&&q.type!=="ObjectMethod"&&q.type!=="ClassMethod"&&q.type!=="ClassPrivateMethod"&&q.type!=="AssignmentPattern"&&q.type!=="CatchClause"&&E.properties.some(X=>X.value&&(X.value.type==="ObjectPattern"||X.value.type==="ArrayPattern"))||E.type!=="ObjectPattern"&&I&&y(F.originalText,A(E),A(I)),te=G?";":E.type==="TSInterfaceBody"||E.type==="TSTypeLiteral"?n(h,";"):",",j=E.type==="RecordExpression"?"#{":E.exact?"{|":"{",De=E.exact?"|}":"}",U=[];for(let X of B)f.each(se=>{let we=se.getValue();U.push({node:we,printed:i(),loc:A(we)})},X);B.length>1&&U.sort((X,se)=>X.loc-se.loc);let R=[],pe=U.map(X=>{let se=[...R,e(X.printed)];return R=[te,a],(X.node.type==="TSPropertySignature"||X.node.type==="TSMethodSignature"||X.node.type==="TSConstructSignatureDeclaration")&&D(X.node,w.PrettierIgnore)&&R.shift(),k(X.node,F)&&R.push(o),se});if(E.inexact){let X;if(D(E,w.Dangling)){let se=D(E,w.Line);X=[t(f,F,!0),se||m(F.originalText,N(c(C(E))))?o:a,"..."]}else X=["..."];pe.push([...R,...X])}let be=c(E[b]),fe=!(E.inexact||be&&be.type==="RestElement"||be&&(be.type==="TSPropertySignature"||be.type==="TSCallSignatureDeclaration"||be.type==="TSMethodSignature"||be.type==="TSConstructSignatureDeclaration")&&D(be,w.PrettierIgnore)),Ie;if(pe.length===0){if(!D(E,w.Dangling))return[j,De,P(f,F,i)];Ie=e([j,t(f,F),s,De,x(f),P(f,F,i)])}else Ie=[G&&g(E.properties)?d(q):"",j,r([F.bracketSpacing?a:s,...pe]),n(fe&&(te!==","||p(F))?te:""),F.bracketSpacing?a:s,De,x(f),P(f,F,i)];return f.match(X=>X.type==="ObjectPattern"&&!X.decorators,(X,se,we)=>_(X)&&(se==="params"||se==="parameters"||se==="this"||se==="rest")&&we===0)||f.match(J,(X,se)=>se==="typeAnnotation",(X,se)=>se==="typeAnnotation",(X,se,we)=>_(X)&&(se==="params"||se==="parameters"||se==="this"||se==="rest")&&we===0)||!M&&f.match(X=>X.type==="ObjectPattern",X=>X.type==="AssignmentExpression"||X.type==="VariableDeclarator")?Ie:e(Ie,{shouldBreak:M})}l.exports={printObject:T}}}),va=$({"src/language-js/print/flow.js"(u,l){ue();var t=lr(),{printDanglingComments:a}=Qt(),{printString:s,printNumber:e}=Gt(),{builders:{hardline:r,softline:n,group:o,indent:c}}=wt(),{getParentExportDeclaration:y,isFunctionNotation:m,isGetterOrSetter:g,rawText:p,shouldPrintComma:D}=ur(),{locStart:C,locEnd:w}=or(),{replaceTextEndOfLine:k}=En(),{printClass:A}=mu(),{printOpaqueType:N,printTypeAlias:x,printIntersectionType:P,printUnionType:_,printFunctionType:J,printTupleType:d,printIndexedAccessType:T}=ei(),{printInterface:f}=$s(),{printTypeParameter:F,printTypeParameters:i}=ti(),{printExportDeclaration:h,printExportAllDeclaration:E}=Rs(),{printArrayItems:b}=Du(),{printObject:S}=ls(),{printPropertyKey:B}=fu(),{printOptionalToken:I,printTypeAnnotation:q,printRestSpread:G}=qr();function M(j,De,U){let R=j.getValue(),pe=De.semi?";":"",be=[];switch(R.type){case"DeclareClass":return te(j,A(j,De,U));case"DeclareFunction":return te(j,["function ",U("id"),R.predicate?" ":"",U("predicate"),pe]);case"DeclareModule":return te(j,["module ",U("id")," ",U("body")]);case"DeclareModuleExports":return te(j,["module.exports",": ",U("typeAnnotation"),pe]);case"DeclareVariable":return te(j,["var ",U("id"),pe]);case"DeclareOpaqueType":return te(j,N(j,De,U));case"DeclareInterface":return te(j,f(j,De,U));case"DeclareTypeAlias":return te(j,x(j,De,U));case"DeclareExportDeclaration":return te(j,h(j,De,U));case"DeclareExportAllDeclaration":return te(j,E(j,De,U));case"OpaqueType":return N(j,De,U);case"TypeAlias":return x(j,De,U);case"IntersectionTypeAnnotation":return P(j,De,U);case"UnionTypeAnnotation":return _(j,De,U);case"FunctionTypeAnnotation":return J(j,De,U);case"TupleTypeAnnotation":return d(j,De,U);case"GenericTypeAnnotation":return[U("id"),i(j,De,U,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return T(j,De,U);case"TypeAnnotation":return U("typeAnnotation");case"TypeParameter":return F(j,De,U);case"TypeofTypeAnnotation":return["typeof ",U("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[U("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(R.value);case"EnumDeclaration":return["enum ",U("id")," ",U("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(R.type==="EnumSymbolBody"||R.explicitType){let fe=null;switch(R.type){case"EnumBooleanBody":fe="boolean";break;case"EnumNumberBody":fe="number";break;case"EnumStringBody":fe="string";break;case"EnumSymbolBody":fe="symbol";break}be.push("of ",fe," ")}if(R.members.length===0&&!R.hasUnknownMembers)be.push(o(["{",a(j,De),n,"}"]));else{let fe=R.members.length>0?[r,b(j,De,"members",U),R.hasUnknownMembers||D(De)?",":""]:[];be.push(o(["{",c([...fe,...R.hasUnknownMembers?[r,"..."]:[]]),a(j,De,!0),r,"}"]))}return be}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[U("id")," = ",typeof R.init=="object"?U("init"):String(R.init)];case"EnumDefaultedMember":return U("id");case"FunctionTypeParam":{let fe=R.name?U("name"):j.getParentNode().this===R?"this":"";return[fe,I(j),fe?": ":"",U("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return f(j,De,U);case"ClassImplements":case"InterfaceExtends":return[U("id"),U("typeParameters")];case"NullableTypeAnnotation":return["?",U("typeAnnotation")];case"Variance":{let{kind:fe}=R;return t.ok(fe==="plus"||fe==="minus"),fe==="plus"?"+":"-"}case"ObjectTypeCallProperty":return R.static&&be.push("static "),be.push(U("value")),be;case"ObjectTypeIndexer":return[R.static?"static ":"",R.variance?U("variance"):"","[",U("id"),R.id?": ":"",U("key"),"]: ",U("value")];case"ObjectTypeProperty":{let fe="";return R.proto?fe="proto ":R.static&&(fe="static "),[fe,g(R)?R.kind+" ":"",R.variance?U("variance"):"",B(j,De,U),I(j),m(R)?"":": ",U("value")]}case"ObjectTypeAnnotation":return S(j,De,U);case"ObjectTypeInternalSlot":return[R.static?"static ":"","[[",U("id"),"]]",I(j),R.method?"":": ",U("value")];case"ObjectTypeSpreadProperty":return G(j,De,U);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[U("qualification"),".",U("id")];case"StringLiteralTypeAnnotation":return k(s(p(R),De));case"NumberLiteralTypeAnnotation":t.strictEqual(typeof R.value,"number");case"BigIntLiteralTypeAnnotation":return R.extra?e(R.extra.raw):e(R.raw);case"TypeCastExpression":return["(",U("expression"),q(j,De,U),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let fe=i(j,De,U,"params");if(De.parser==="flow"){let Ie=C(R),X=w(R),se=De.originalText.lastIndexOf("/*",Ie),we=De.originalText.indexOf("*/",X);if(se!==-1&&we!==-1){let _e=De.originalText.slice(se+2,we).trim();if(_e.startsWith("::")&&!_e.includes("/*")&&!_e.includes("*/"))return["/*:: ",fe," */"]}}return fe}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",U("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(R.type))}}function te(j,De){let U=y(j);return U?(t.strictEqual(U.type,"DeclareExportDeclaration"),De):["declare ",De]}l.exports={printFlow:M}}}),ba=$({"src/language-js/utils/is-ts-keyword-type.js"(u,l){ue();function t(a){let{type:s}=a;return s.startsWith("TS")&&s.endsWith("Keyword")}l.exports=t}}),Ms=$({"src/language-js/print/ternary.js"(u,l){ue();var{hasNewlineInRange:t}=Gt(),{isJsxNode:a,getComments:s,isCallExpression:e,isMemberExpression:r,isTSTypeExpression:n}=ur(),{locStart:o,locEnd:c}=or(),y=vn(),{builders:{line:m,softline:g,group:p,indent:D,align:C,ifBreak:w,dedent:k,breakParent:A}}=wt();function N(d){let T=[d];for(let f=0;fG[we]===F),te=G.type===F.type&&!M,j,De,U=0;do De=j||F,j=d.getParentNode(U),U++;while(j&&j.type===F.type&&b.every(we=>j[we]!==De));let R=j||G,pe=De;if(i&&(a(F[b[0]])||a(S)||a(B)||N(pe))){q=!0,te=!0;let we=it=>[w("("),D([g,it]),g,w(")")],_e=it=>it.type==="NullLiteral"||it.type==="Literal"&&it.value===null||it.type==="Identifier"&&it.name==="undefined";I.push(" ? ",_e(S)?f(h):we(f(h))," : ",B.type===F.type||_e(B)?f(E):we(f(E)))}else{let we=[m,"? ",S.type===F.type?w("","("):"",C(2,f(h)),S.type===F.type?w("",")"):"",m,": ",B.type===F.type?f(E):C(2,f(E))];I.push(G.type!==F.type||G[E]===F||M?we:T.useTabs?k(D(we)):C(Math.max(0,T.tabWidth-2),we))}let be=[...b.map(we=>s(F[we])),s(S),s(B)].flat().some(we=>y(we)&&t(T.originalText,o(we),c(we))),fe=we=>G===R?p(we,{shouldBreak:be}):be?[we,A]:we,Ie=!q&&(r(G)||G.type==="NGPipeExpression"&&G.left===F)&&!G.computed,X=_(d),se=fe([x(d,T,f),te?I:D(I),i&&Ie&&!X?g:""]);return M||X?p([D([g,se]),g]):se}l.exports={printTernary:J}}}),qs=$({"src/language-js/print/statement.js"(u,l){ue();var{builders:{hardline:t}}=wt(),a=Ln(),{getLeftSidePathName:s,hasNakedLeftSide:e,isJsxNode:r,isTheOnlyJsxElementInMarkdown:n,hasComment:o,CommentCheckFlags:c,isNextLineEmpty:y}=ur(),{shouldPrintParamsWithoutParens:m}=ri();function g(x,P,_,J){let d=x.getValue(),T=[],f=d.type==="ClassBody",F=p(d[J]);return x.each((i,h,E)=>{let b=i.getValue();if(b.type==="EmptyStatement")return;let S=_();!P.semi&&!f&&!n(P,i)&&D(i,P)?o(b,c.Leading)?T.push(_([],{needsSemi:!0})):T.push(";",S):T.push(S),!P.semi&&f&&A(b)&&N(b,E[h+1])&&T.push(";"),b!==F&&(T.push(t),y(b,P)&&T.push(t))},J),T}function p(x){for(let P=x.length-1;P>=0;P--){let _=x[P];if(_.type!=="EmptyStatement")return _}}function D(x,P){return x.getNode().type!=="ExpressionStatement"?!1:x.call(_=>C(_,P),"expression")}function C(x,P){let _=x.getValue();switch(_.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!m(x,P))return!0;break}case"UnaryExpression":{let{prefix:J,operator:d}=_;if(J&&(d==="+"||d==="-"))return!0;break}case"BindExpression":{if(!_.object)return!0;break}case"Literal":{if(_.regex)return!0;break}default:if(r(_))return!0}return a(x,P)?!0:e(_)?x.call(J=>C(J,P),...s(x,_)):!1}function w(x,P,_){return g(x,P,_,"body")}function k(x,P,_){return g(x,P,_,"consequent")}var A=x=>{let{type:P}=x;return P==="ClassProperty"||P==="PropertyDefinition"||P==="ClassPrivateProperty"||P==="ClassAccessorProperty"||P==="AccessorProperty"||P==="TSAbstractPropertyDefinition"||P==="TSAbstractAccessorProperty"};function N(x,P){let{type:_,name:J}=x.key;if(!x.computed&&_==="Identifier"&&(J==="static"||J==="get"||J==="set"||J==="accessor")&&!x.value&&!x.typeAnnotation)return!0;if(!P||P.static||P.accessibility)return!1;if(!P.computed){let d=P.key&&P.key.name;if(d==="in"||d==="instanceof")return!0}if(A(P)&&P.variance&&!P.static&&!P.declare)return!0;switch(P.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return P.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((P.value?P.value.async:P.async)||P.kind==="get"||P.kind==="set")return!1;let d=P.value?P.value.generator:P.generator;return!!(P.computed||d)}case"TSIndexSignature":return!0}return!1}l.exports={printBody:w,printSwitchCaseConsequent:k}}}),Vs=$({"src/language-js/print/block.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{isNonEmptyArray:a}=Gt(),{builders:{hardline:s,indent:e}}=wt(),{hasComment:r,CommentCheckFlags:n,isNextLineEmpty:o}=ur(),{printHardlineAfterHeritage:c}=mu(),{printBody:y}=qs();function m(p,D,C){let w=p.getValue(),k=[];if(w.type==="StaticBlock"&&k.push("static "),w.type==="ClassBody"&&a(w.body)){let N=p.getParentNode();k.push(c(N))}k.push("{");let A=g(p,D,C);if(A)k.push(e([s,A]),s);else{let N=p.getParentNode(),x=p.getParentNode(1);N.type==="ArrowFunctionExpression"||N.type==="FunctionExpression"||N.type==="FunctionDeclaration"||N.type==="ObjectMethod"||N.type==="ClassMethod"||N.type==="ClassPrivateMethod"||N.type==="ForStatement"||N.type==="WhileStatement"||N.type==="DoWhileStatement"||N.type==="DoExpression"||N.type==="CatchClause"&&!x.finalizer||N.type==="TSModuleDeclaration"||N.type==="TSDeclareFunction"||w.type==="StaticBlock"||w.type==="ClassBody"||k.push(s)}return k.push("}"),k}function g(p,D,C){let w=p.getValue(),k=a(w.directives),A=w.body.some(P=>P.type!=="EmptyStatement"),N=r(w,n.Dangling);if(!k&&!A&&!N)return"";let x=[];if(k&&p.each((P,_,J)=>{x.push(C()),(_"]),Q=[m("("),c([n,X("expression")]),n,m(")")];return it?y([[ae,X("expression")],[ae,o(Q,{shouldBreak:!0})],[ae,X("expression")]]):o([ae,X("expression")])}case"TSDeclareFunction":return B(fe,X,Ie);case"TSExportAssignment":return["export = ",X("expression"),we];case"TSModuleBlock":return G(fe,Ie,X);case"TSInterfaceBody":case"TSTypeLiteral":return F(fe,Ie,X);case"TSTypeAliasDeclaration":return M(fe,Ie,X);case"TSQualifiedName":return s(".",[X("left"),X("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return h(fe,Ie,X);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return i(fe,Ie,X);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return _e.push(X("expression")),se.typeParameters&&_e.push(X("typeParameters")),_e;case"TSTemplateLiteralType":return T(fe,X,Ie);case"TSNamedTupleMember":return[X("label"),se.optional?"?":"",": ",X("elementType")];case"TSRestType":return["...",X("typeAnnotation")];case"TSOptionalType":return[X("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return q(fe,Ie,X);case"TSClassImplements":return[X("expression"),X("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return b(fe,Ie,X,"params");case"TSTypeParameter":return E(fe,Ie,X);case"TSSatisfiesExpression":case"TSAsExpression":{let it=se.type==="TSAsExpression"?"as":"satisfies";_e.push(X("expression"),` ${it} `,X("typeAnnotation"));let ae=fe.getParentNode();return C(ae)&&ae.callee===se||w(ae)&&ae.object===se?o([c([n,..._e]),n]):_e}case"TSArrayType":return[X("elementType"),"[]"];case"TSPropertySignature":return se.readonly&&_e.push("readonly "),_e.push(S(fe,Ie,X),x(fe)),se.typeAnnotation&&_e.push(": ",X("typeAnnotation")),se.initializer&&_e.push(" = ",X("initializer")),_e;case"TSParameterProperty":return se.accessibility&&_e.push(se.accessibility+" "),se.export&&_e.push("export "),se.static&&_e.push("static "),se.override&&_e.push("override "),se.readonly&&_e.push("readonly "),_e.push(X("parameter")),_e;case"TSTypeQuery":return["typeof ",X("exprName"),X("typeParameters")];case"TSIndexSignature":{let it=fe.getParentNode(),ae=se.parameters.length>1?m(D(Ie)?",":""):"",Q=o([c([n,s([", ",n],fe.map(X,"parameters"))]),ae,n]);return[se.export?"export ":"",se.accessibility?[se.accessibility," "]:"",se.static?"static ":"",se.readonly?"readonly ":"",se.declare?"declare ":"","[",se.parameters?Q:"",se.typeAnnotation?"]: ":"]",se.typeAnnotation?X("typeAnnotation"):"",it.type==="ClassBody"?we:""]}case"TSTypePredicate":return[se.asserts?"asserts ":"",X("parameterName"),se.typeAnnotation?[" is ",X("typeAnnotation")]:""];case"TSNonNullExpression":return[X("expression"),"!"];case"TSImportType":return[se.isTypeOf?"typeof ":"","import(",X(se.parameter?"parameter":"argument"),")",se.qualifier?[".",X("qualifier")]:"",b(fe,Ie,X,"typeParameters")];case"TSLiteralType":return X("literal");case"TSIndexedAccessType":return R(fe,Ie,X);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(se.type==="TSConstructorType"&&se.abstract&&_e.push("abstract "),se.type!=="TSCallSignatureDeclaration"&&_e.push("new "),_e.push(o(J(fe,X,Ie,!1,!0))),se.returnType||se.typeAnnotation){let it=se.type==="TSConstructorType";_e.push(it?" => ":": ",X("returnType"),X("typeAnnotation"))}return _e}case"TSTypeOperator":return[se.operator," ",X("typeAnnotation")];case"TSMappedType":{let it=a(Ie.originalText,A(se),N(se));return o(["{",c([Ie.bracketSpacing?e:n,X("typeParameter"),se.optional?p(se.optional,"?"):"",se.typeAnnotation?": ":"",X("typeAnnotation"),m(we)]),t(fe,Ie,!0),Ie.bracketSpacing?e:n,"}"],{shouldBreak:it})}case"TSMethodSignature":{let it=se.kind&&se.kind!=="method"?`${se.kind} `:"";_e.push(se.accessibility?[se.accessibility," "]:"",it,se.export?"export ":"",se.static?"static ":"",se.readonly?"readonly ":"",se.abstract?"abstract ":"",se.declare?"declare ":"",se.computed?"[":"",X("key"),se.computed?"]":"",x(fe));let ae=J(fe,X,Ie,!1,!0),Q=se.returnType?"returnType":"typeAnnotation",me=se[Q],Ce=me?X(Q):"",Re=d(se,Ce);return _e.push(Re?o(ae):ae),me&&_e.push(": ",o(Ce)),o(_e)}case"TSNamespaceExportDeclaration":return _e.push("export as namespace ",X("id")),Ie.semi&&_e.push(";"),o(_e);case"TSEnumDeclaration":return se.declare&&_e.push("declare "),se.modifiers&&_e.push(P(fe,Ie,X)),se.const&&_e.push("const "),_e.push("enum ",X("id")," "),se.members.length===0?_e.push(o(["{",t(fe,Ie),n,"}"])):_e.push(o(["{",c([r,f(fe,Ie,"members",X),D(Ie,"es5")?",":""]),t(fe,Ie,!0),r,"}"])),_e;case"TSEnumMember":return se.computed?_e.push("[",X("id"),"]"):_e.push(X("id")),se.initializer&&_e.push(" = ",X("initializer")),_e;case"TSImportEqualsDeclaration":return se.isExport&&_e.push("export "),_e.push("import "),se.importKind&&se.importKind!=="value"&&_e.push(se.importKind," "),_e.push(X("id")," = ",X("moduleReference")),Ie.semi&&_e.push(";"),o(_e);case"TSExternalModuleReference":return["require(",X("expression"),")"];case"TSModuleDeclaration":{let it=fe.getParentNode(),ae=g(se.id),Q=it.type==="TSModuleDeclaration",me=se.body&&se.body.type==="TSModuleDeclaration";if(Q)_e.push(".");else{se.declare&&_e.push("declare "),_e.push(P(fe,Ie,X));let Ce=Ie.originalText.slice(A(se),A(se.id));se.id.type==="Identifier"&&se.id.name==="global"&&!/namespace|module/.test(Ce)||_e.push(ae||/(?:^|\s)module(?:\s|$)/.test(Ce)?"module ":"namespace ")}return _e.push(X("id")),me?_e.push(X("body")):se.body?_e.push(" ",o(X("body"))):_e.push(we),_e}case"TSConditionalType":return _(fe,Ie,X);case"TSInferType":return["infer"," ",X("typeParameter")];case"TSIntersectionType":return te(fe,Ie,X);case"TSUnionType":return j(fe,Ie,X);case"TSFunctionType":return De(fe,Ie,X);case"TSTupleType":return U(fe,Ie,X);case"TSTypeReference":return[X("typeName"),b(fe,Ie,X,"typeParameters")];case"TSTypeAnnotation":return X("typeAnnotation");case"TSEmptyBodyFunctionExpression":return I(fe,Ie,X);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return pe(fe,X,"?");case"TSJSDocNonNullableType":return pe(fe,X,"!");case"TSInstantiationExpression":return[X("expression"),X("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(se.type)}.`)}}l.exports={printTypescript:be}}}),xa=$({"src/language-js/print/comment.js"(u,l){ue();var{hasNewline:t}=Gt(),{builders:{join:a,hardline:s},utils:{replaceTextEndOfLine:e}}=wt(),{isLineComment:r}=ur(),{locStart:n,locEnd:o}=or(),c=vn();function y(p,D){let C=p.getValue();if(r(C))return D.originalText.slice(n(C),o(C)).trimEnd();if(c(C)){if(m(C)){let A=g(C);return C.trailing&&!t(D.originalText,n(C),{backwards:!0})?[s,A]:A}let w=o(C),k=D.originalText.slice(w-3,w)==="*-/";return["/*",e(C.value),k?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(C))}function m(p){let D=`*${p.value}*`.split(`
+`);return D.length>1&&D.every(C=>C.trim()[0]==="*")}function g(p){let D=p.value.split(`
+`);return["/*",a(s,D.map((C,w)=>w===0?C.trimEnd():" "+(w{let{marker:tr}=jt;return tr===F});return[Ke("expression"),x(ht,tt)?"":ar,Tt?[" ",Tt]:""]}case"ParenthesizedExpression":return!A(dt.expression)&&(dt.expression.type==="ObjectExpression"||dt.expression.type==="ArrayExpression")?["(",Ke("expression"),")"]:o(["(",c([n,Ke("expression")]),n,")"]);case"AssignmentExpression":return xe(tt,ht,Ke);case"VariableDeclarator":return bt(tt,ht,Ke);case"BinaryExpression":case"LogicalExpression":return H(tt,ht,Ke);case"AssignmentPattern":return[Ke("left")," = ",Ke("right")];case"OptionalMemberExpression":case"MemberExpression":return oe(tt,ht,Ke);case"MetaProperty":return[Ke("meta"),".",Ke("property")];case"BindExpression":return dt.object&&Dt.push(Ke("object")),Dt.push(o(c([n,j(tt,ht,Ke)]))),Dt;case"Identifier":return[dt.name,te(tt),pe(tt),De(tt,ht,Ke)];case"V8IntrinsicIdentifier":return["%",dt.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return R(tt,ht,Ke);case"FunctionDeclaration":case"FunctionExpression":return Xe(tt,Ke,ht,pr);case"ArrowFunctionExpression":return Ye(tt,ht,Ke,pr);case"YieldExpression":return Dt.push("yield"),dt.delegate&&Dt.push("*"),dt.argument&&Dt.push(" ",Ke("argument")),Dt;case"AwaitExpression":{if(Dt.push("await"),dt.argument){Dt.push(" ",Ke("argument"));let Tt=tt.getParentNode();if(T(Tt)&&Tt.callee===dt||f(Tt)&&Tt.object===dt){Dt=[c([n,...Dt]),n];let jt=tt.findAncestor(tr=>tr.type==="AwaitExpression"||tr.type==="BlockStatement");if(!jt||jt.type!=="AwaitExpression")return o(Dt)}}return Dt}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return Ie(tt,ht,Ke);case"ExportAllDeclaration":return X(tt,ht,Ke);case"ImportDeclaration":return fe(tt,ht,Ke);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return se(tt,ht,Ke);case"ImportAttribute":return[Ke("key"),": ",Ke("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Be(tt,ht,Ke);case"ThrowStatement":return It(tt,ht,Ke);case"ReturnStatement":return Rt(tt,ht,Ke);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Et(tt,ht,Ke);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ae(tt,ht,Ke);case"ObjectProperty":case"Property":return dt.method||dt.kind==="get"||dt.kind==="set"?Ct(tt,ht,Ke):Re(tt,ht,Ke);case"ObjectMethod":return Ct(tt,ht,Ke);case"Decorator":return["@",Ke("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return it(tt,ht,Ke);case"SequenceExpression":{let Tt=tt.getParentNode(0);if(Tt.type==="ExpressionStatement"||Tt.type==="ForStatement"){let jt=[];return tt.each((tr,ft)=>{ft===0?jt.push(Ke()):jt.push(",",c([e,Ke()]))},"expressions"),o(jt)}return o(s([",",e],tt.map(Ke,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[Ke("value"),ar];case"DirectiveLiteral":return be(dt.extra.raw,ht);case"UnaryExpression":return Dt.push(dt.operator),/[a-z]$/.test(dt.operator)&&Dt.push(" "),A(dt.argument)?Dt.push(o(["(",c([n,Ke("argument")]),n,")"])):Dt.push(Ke("argument")),Dt;case"UpdateExpression":return Dt.push(Ke("argument"),dt.operator),dt.prefix&&Dt.reverse(),Dt;case"ConditionalExpression":return we(tt,ht,Ke);case"VariableDeclaration":{let Tt=tt.map(Ke,"declarations"),jt=tt.getParentNode(),tr=jt.type==="ForStatement"||jt.type==="ForInStatement"||jt.type==="ForOfStatement",ft=dt.declarations.some(Bt=>Bt.init),Pt;return Tt.length===1&&!A(dt.declarations[0])?Pt=Tt[0]:Tt.length>0&&(Pt=c(Tt[0])),Dt=[dt.declare?"declare ":"",dt.kind,Pt?[" ",Pt]:"",c(Tt.slice(1).map(Bt=>[",",ft&&!tr?r:e,Bt]))],tr&&jt.body!==dt||Dt.push(ar),o(Dt)}case"WithStatement":return o(["with (",Ke("object"),")",U(dt.body,Ke("body"))]);case"IfStatement":{let Tt=U(dt.consequent,Ke("consequent")),jt=o(["if (",o([c([n,Ke("test")]),n]),")",Tt]);if(Dt.push(jt),dt.alternate){let tr=A(dt.consequent,N.Trailing|N.Line)||J(dt),ft=dt.consequent.type==="BlockStatement"&&!tr;Dt.push(ft?" ":r),A(dt,N.Dangling)&&Dt.push(t(tt,ht,!0),tr?r:" "),Dt.push("else",o(U(dt.alternate,Ke("alternate"),dt.alternate.type==="IfStatement")))}return Dt}case"ForStatement":{let Tt=U(dt.body,Ke("body")),jt=t(tt,ht,!0),tr=jt?[jt,n]:"";return!dt.init&&!dt.test&&!dt.update?[tr,o(["for (;;)",Tt])]:[tr,o(["for (",o([c([n,Ke("init"),";",e,Ke("test"),";",e,Ke("update")]),n]),")",Tt])]}case"WhileStatement":return o(["while (",o([c([n,Ke("test")]),n]),")",U(dt.body,Ke("body"))]);case"ForInStatement":return o(["for (",Ke("left")," in ",Ke("right"),")",U(dt.body,Ke("body"))]);case"ForOfStatement":return o(["for",dt.await?" await":""," (",Ke("left")," of ",Ke("right"),")",U(dt.body,Ke("body"))]);case"DoWhileStatement":{let Tt=U(dt.body,Ke("body"));return Dt=[o(["do",Tt])],dt.body.type==="BlockStatement"?Dt.push(" "):Dt.push(r),Dt.push("while (",o([c([n,Ke("test")]),n]),")",ar),Dt}case"DoExpression":return[dt.async?"async ":"","do ",Ke("body")];case"BreakStatement":return Dt.push("break"),dt.label&&Dt.push(" ",Ke("label")),Dt.push(ar),Dt;case"ContinueStatement":return Dt.push("continue"),dt.label&&Dt.push(" ",Ke("label")),Dt.push(ar),Dt;case"LabeledStatement":return dt.body.type==="EmptyStatement"?[Ke("label"),":;"]:[Ke("label"),": ",Ke("body")];case"TryStatement":return["try ",Ke("block"),dt.handler?[" ",Ke("handler")]:"",dt.finalizer?[" finally ",Ke("finalizer")]:""];case"CatchClause":if(dt.param){let Tt=A(dt.param,tr=>!E(tr)||tr.leading&&a(ht.originalText,h(tr))||tr.trailing&&a(ht.originalText,i(tr),{backwards:!0})),jt=Ke("param");return["catch ",Tt?["(",c([n,jt]),n,") "]:["(",jt,") "],Ke("body")]}return["catch ",Ke("body")];case"SwitchStatement":return[o(["switch (",c([n,Ke("discriminant")]),n,")"])," {",dt.cases.length>0?c([r,s(r,tt.map((Tt,jt,tr)=>{let ft=Tt.getValue();return[Ke(),jt!==tr.length-1&&_(ft,ht)?r:""]},"cases"))]):"",r,"}"];case"SwitchCase":{dt.test?Dt.push("case ",Ke("test"),":"):Dt.push("default:"),A(dt,N.Dangling)&&Dt.push(" ",t(tt,ht,!0));let Tt=dt.consequent.filter(jt=>jt.type!=="EmptyStatement");if(Tt.length>0){let jt=ke(tt,ht,Ke);Dt.push(Tt.length===1&&Tt[0].type==="BlockStatement"?[" ",jt]:c([r,jt]))}return Dt}case"DebuggerStatement":return["debugger",ar];case"ClassDeclaration":case"ClassExpression":return Q(tt,ht,Ke);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return me(tt,ht,Ke);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Ce(tt,ht,Ke);case"TemplateElement":return y(dt.value.raw);case"TemplateLiteral":return _e(tt,Ke,ht);case"TaggedTemplateExpression":return[Ke("tag"),Ke("typeParameters"),Ke("quasi")];case"PrivateIdentifier":return["#",Ke("name")];case"PrivateName":return["#",Ke("id")];case"InterpreterDirective":return Dt.push("#!",dt.value,r),_(dt,ht)&&Dt.push(r),Dt;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{Dt.push("module {");let Tt=Ke("body");return Tt&&Dt.push(c([r,Tt]),r),Dt.push("}"),Dt}default:throw new Error("unknown type: "+JSON.stringify(dt.type))}}function ze(tt){return tt.type&&!E(tt)&&!P(tt)&&tt.type!=="EmptyStatement"&&tt.type!=="TemplateElement"&&tt.type!=="Import"&&tt.type!=="TSEmptyBodyFunctionExpression"}l.exports={preprocess:w,print:K,embed:m,insertPragma:p,massageAstNode:g,hasPrettierIgnore(tt){return d(tt)||q(tt)},willPrintOwnComments:D.willPrintOwnComments,canAttachComment:ze,printComment:ut,isBlockComment:E,handleComments:{avoidAstMutation:!0,ownLine:D.handleOwnLineComment,endOfLine:D.handleEndOfLineComment,remaining:D.handleRemainingComment},getCommentChildNodes:D.getCommentChildNodes}}}),wa=$({"src/language-js/printer-estree-json.js"(u,l){ue();var{builders:{hardline:t,indent:a,join:s}}=wt(),e=Is();function r(y,m,g){let p=y.getValue();switch(p.type){case"JsonRoot":return[g("node"),t];case"ArrayExpression":{if(p.elements.length===0)return"[]";let D=y.map(()=>y.getValue()===null?"null":g(),"elements");return["[",a([t,s([",",t],D)]),t,"]"]}case"ObjectExpression":return p.properties.length===0?"{}":["{",a([t,s([",",t],y.map(g,"properties"))]),t,"}"];case"ObjectProperty":return[g("key"),": ",g("value")];case"UnaryExpression":return[p.operator==="+"?"":p.operator,g("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return p.value?"true":"false";case"StringLiteral":return JSON.stringify(p.value);case"NumericLiteral":return n(y)?JSON.stringify(String(p.value)):JSON.stringify(p.value);case"Identifier":return n(y)?JSON.stringify(p.name):p.name;case"TemplateLiteral":return g(["quasis",0]);case"TemplateElement":return JSON.stringify(p.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(p.type))}}function n(y){return y.getName()==="key"&&y.getParentNode().type==="ObjectProperty"}var o=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function c(y,m){let{type:g}=y;if(g==="ObjectProperty"){let{key:p}=y;p.type==="Identifier"?m.key={type:"StringLiteral",value:p.name}:p.type==="NumericLiteral"&&(m.key={type:"StringLiteral",value:String(p.value)});return}if(g==="UnaryExpression"&&y.operator==="+")return m.argument;if(g==="ArrayExpression"){for(let[p,D]of y.elements.entries())D===null&&m.elements.splice(p,0,{type:"NullLiteral"});return}if(g==="TemplateLiteral")return{type:"StringLiteral",value:y.quasis[0].value.cooked}}c.ignoredProperties=o,l.exports={preprocess:e,print:r,massageAstNode:c}}}),On=$({"src/common/common-options.js"(u,l){ue();var t="Common";l.exports={bracketSpacing:{since:"0.0.0",category:t,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:t,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:t,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:t,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:t,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Na=$({"src/language-js/options.js"(u,l){ue();var t=On(),a="JavaScript";l.exports={arrowParens:{since:"1.9.0",category:a,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:t.bracketSameLine,bracketSpacing:t.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:a,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:a,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:t.singleQuote,jsxSingleQuote:{since:"1.15.0",category:a,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:a,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:a,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:t.singleAttributePerLine}}}),_a=$({"src/language-js/parse/parsers.js"(){ue()}}),ps=$({"node_modules/linguist-languages/data/JavaScript.json"(u,l){l.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),ka=$({"node_modules/linguist-languages/data/TypeScript.json"(u,l){l.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),Pa=$({"node_modules/linguist-languages/data/TSX.json"(u,l){l.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),Us=$({"node_modules/linguist-languages/data/JSON.json"(u,l){l.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),Ia=$({"node_modules/linguist-languages/data/JSON with Comments.json"(u,l){l.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),ja=$({"node_modules/linguist-languages/data/JSON5.json"(u,l){l.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),La=$({"src/language-js/index.js"(u,l){ue();var t=vr(),a=Ba(),s=wa(),e=Na(),r=_a(),n=[t(ps(),c=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...c.interpreters,"zx"],extensions:[...c.extensions.filter(y=>y!==".jsx"),".wxs"]})),t(ps(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),t(ps(),()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),t(ka(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),t(Pa(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),t(Us(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),t(Us(),c=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:c.extensions.filter(y=>y!==".jsonl")})),t(Ia(),c=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...c.filenames,".eslintrc",".swcrc"]})),t(ja(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],o={estree:a,"estree-json":s};l.exports={languages:n,options:e,printers:o,parsers:r}}}),Oa=$({"src/language-css/clean.js"(u,l){ue();var{isFrontMatterNode:t}=Gt(),a=mr(),s=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function e(n,o,c){if(t(n)&&n.lang==="yaml"&&delete o.value,n.type==="css-comment"&&c.type==="css-root"&&c.nodes.length>0&&((c.nodes[0]===n||t(c.nodes[0])&&c.nodes[1]===n)&&(delete o.text,/^\*\s*@(?:format|prettier)\s*$/.test(n.text))||c.type==="css-root"&&a(c.nodes)===n))return null;if(n.type==="value-root"&&delete o.text,(n.type==="media-query"||n.type==="media-query-list"||n.type==="media-feature-expression")&&delete o.value,n.type==="css-rule"&&delete o.params,n.type==="selector-combinator"&&(o.value=o.value.replace(/\s+/g," ")),n.type==="media-feature"&&(o.value=o.value.replace(/ /g,"")),(n.type==="value-word"&&(n.isColor&&n.isHex||["initial","inherit","unset","revert"].includes(o.value.replace().toLowerCase()))||n.type==="media-feature"||n.type==="selector-root-invalid"||n.type==="selector-pseudo")&&(o.value=o.value.toLowerCase()),n.type==="css-decl"&&(o.prop=o.prop.toLowerCase()),(n.type==="css-atrule"||n.type==="css-import")&&(o.name=o.name.toLowerCase()),n.type==="value-number"&&(o.unit=o.unit.toLowerCase()),(n.type==="media-feature"||n.type==="media-keyword"||n.type==="media-type"||n.type==="media-unknown"||n.type==="media-url"||n.type==="media-value"||n.type==="selector-attribute"||n.type==="selector-string"||n.type==="selector-class"||n.type==="selector-combinator"||n.type==="value-string")&&o.value&&(o.value=r(o.value)),n.type==="selector-attribute"&&(o.attribute=o.attribute.trim(),o.namespace&&typeof o.namespace=="string"&&(o.namespace=o.namespace.trim(),o.namespace.length===0&&(o.namespace=!0)),o.value&&(o.value=o.value.trim().replace(/^["']|["']$/g,""),delete o.quoted)),(n.type==="media-value"||n.type==="media-type"||n.type==="value-number"||n.type==="selector-root-invalid"||n.type==="selector-class"||n.type==="selector-combinator"||n.type==="selector-tag")&&o.value&&(o.value=o.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(y,m,g)=>{let p=Number(m);return Number.isNaN(p)?y:p+g.toLowerCase()})),n.type==="selector-tag"){let y=n.value.toLowerCase();["from","to"].includes(y)&&(o.value=y)}if(n.type==="css-atrule"&&n.name.toLowerCase()==="supports"&&delete o.value,n.type==="selector-unknown"&&delete o.value,n.type==="value-comma_group"){let y=n.groups.findIndex(m=>m.type==="value-number"&&m.unit==="...");y!==-1&&(o.groups[y].unit="",o.groups.splice(y+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(n.type==="value-comma_group"&&n.groups.some(y=>y.type==="value-atword"&&y.value.endsWith("[")||y.type==="value-word"&&y.value.startsWith("]")))return{type:"value-atword",value:n.groups.map(y=>y.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}e.ignoredProperties=s;function r(n){return n.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}l.exports=e}}),cs=$({"src/utils/front-matter/print.js"(u,l){ue();var{builders:{hardline:t,markAsRoot:a}}=wt();function s(e,r){if(e.lang==="yaml"){let n=e.value.trim(),o=n?r(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return a([e.startDelimiter,t,o,o?t:"",e.endDelimiter])}}l.exports=s}}),$a=$({"src/language-css/embed.js"(u,l){ue();var{builders:{hardline:t}}=wt(),a=cs();function s(e,r,n){let o=e.getValue();if(o.type==="front-matter"){let c=a(o,n);return c?[c,t]:""}}l.exports=s}}),Gs=$({"src/utils/front-matter/parse.js"(u,l){ue();var t=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function a(s){let e=s.match(t);if(!e)return{content:s};let{startDelimiter:r,language:n,value:o="",endDelimiter:c}=e.groups,y=n.trim()||"yaml";if(r==="+++"&&(y="toml"),y!=="yaml"&&r!==c)return{content:s};let[m]=e;return{frontMatter:{type:"front-matter",lang:y,value:o,startDelimiter:r,endDelimiter:c,raw:m.replace(/\n$/,"")},content:m.replace(/[^\n]/g," ")+s.slice(m.length)}}l.exports=a}}),Ra=$({"src/language-css/pragma.js"(u,l){ue();var t=ks(),a=Gs();function s(r){return t.hasPragma(a(r).content)}function e(r){let{frontMatter:n,content:o}=a(r);return(n?n.raw+`
+
+`:"")+t.insertPragma(o)}l.exports={hasPragma:s,insertPragma:e}}}),Ma=$({"src/language-css/utils/index.js"(u,l){ue();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 a(ae,Q){let me=Array.isArray(Q)?Q:[Q],Ce=-1,Re;for(;Re=ae.getParentNode(++Ce);)if(me.includes(Re.type))return Ce;return-1}function s(ae,Q){let me=a(ae,Q);return me===-1?null:ae.getParentNode(me)}function e(ae){var Q;let me=s(ae,"css-decl");return me==null||(Q=me.prop)===null||Q===void 0?void 0:Q.toLowerCase()}var r=new Set(["initial","inherit","unset","revert"]);function n(ae){return r.has(ae.toLowerCase())}function o(ae,Q){let me=s(ae,"css-atrule");return(me==null?void 0:me.name)&&me.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Q.toLowerCase())}function c(ae){return ae.includes("$")||ae.includes("@")||ae.includes("#")||ae.startsWith("%")||ae.startsWith("--")||ae.startsWith(":--")||ae.includes("(")&&ae.includes(")")?ae:ae.toLowerCase()}function y(ae,Q){var me;let Ce=s(ae,"value-func");return(Ce==null||(me=Ce.value)===null||me===void 0?void 0:me.toLowerCase())===Q}function m(ae){var Q;let me=s(ae,"css-rule"),Ce=me==null||(Q=me.raws)===null||Q===void 0?void 0:Q.selector;return Ce&&(Ce.startsWith(":import")||Ce.startsWith(":export"))}function g(ae,Q){let me=Array.isArray(Q)?Q:[Q],Ce=s(ae,"css-atrule");return Ce&&me.includes(Ce.name.toLowerCase())}function p(ae){let Q=ae.getValue(),me=s(ae,"css-atrule");return(me==null?void 0:me.name)==="import"&&Q.groups[0].value==="url"&&Q.groups.length===2}function D(ae){return ae.type==="value-func"&&ae.value.toLowerCase()==="url"}function C(ae,Q){var me;let Ce=(me=ae.getParentNode())===null||me===void 0?void 0:me.nodes;return Ce&&Ce.indexOf(Q)===Ce.length-1}function w(ae){let{selector:Q}=ae;return Q?typeof Q=="string"&&/^@.+:.*$/.test(Q)||Q.value&&/^@.+:.*$/.test(Q.value):!1}function k(ae){return ae.type==="value-word"&&["from","through","end"].includes(ae.value)}function A(ae){return ae.type==="value-word"&&["and","or","not"].includes(ae.value)}function N(ae){return ae.type==="value-word"&&ae.value==="in"}function x(ae){return ae.type==="value-operator"&&ae.value==="*"}function P(ae){return ae.type==="value-operator"&&ae.value==="/"}function _(ae){return ae.type==="value-operator"&&ae.value==="+"}function J(ae){return ae.type==="value-operator"&&ae.value==="-"}function d(ae){return ae.type==="value-operator"&&ae.value==="%"}function T(ae){return x(ae)||P(ae)||_(ae)||J(ae)||d(ae)}function f(ae){return ae.type==="value-word"&&["==","!="].includes(ae.value)}function F(ae){return ae.type==="value-word"&&["<",">","<=",">="].includes(ae.value)}function i(ae){return ae.type==="css-atrule"&&["if","else","for","each","while"].includes(ae.name)}function h(ae){var Q;return((Q=ae.raws)===null||Q===void 0?void 0:Q.params)&&/^\(\s*\)$/.test(ae.raws.params)}function E(ae){return ae.name.startsWith("prettier-placeholder")}function b(ae){return ae.prop.startsWith("@prettier-placeholder")}function S(ae,Q){return ae.value==="$$"&&ae.type==="value-func"&&(Q==null?void 0:Q.type)==="value-word"&&!Q.raws.before}function B(ae){var Q,me;return((Q=ae.value)===null||Q===void 0?void 0:Q.type)==="value-root"&&((me=ae.value.group)===null||me===void 0?void 0:me.type)==="value-value"&&ae.prop.toLowerCase()==="composes"}function I(ae){var Q,me,Ce;return((Q=ae.value)===null||Q===void 0||(me=Q.group)===null||me===void 0||(Ce=me.group)===null||Ce===void 0?void 0:Ce.type)==="value-paren_group"&&ae.value.group.group.open!==null&&ae.value.group.group.close!==null}function q(ae){var Q;return((Q=ae.raws)===null||Q===void 0?void 0:Q.before)===""}function G(ae){var Q,me;return ae.type==="value-comma_group"&&((Q=ae.groups)===null||Q===void 0||(me=Q[1])===null||me===void 0?void 0:me.type)==="value-colon"}function M(ae){var Q;return ae.type==="value-paren_group"&&((Q=ae.groups)===null||Q===void 0?void 0:Q[0])&&G(ae.groups[0])}function te(ae){var Q;let me=ae.getValue();if(me.groups.length===0)return!1;let Ce=ae.getParentNode(1);if(!M(me)&&!(Ce&&M(Ce)))return!1;let Re=s(ae,"css-decl");return!!(Re!=null&&(Q=Re.prop)!==null&&Q!==void 0&&Q.startsWith("$")||M(Ce)||Ce.type==="value-func")}function j(ae){return ae.type==="value-comment"&&ae.inline}function De(ae){return ae.type==="value-word"&&ae.value==="#"}function U(ae){return ae.type==="value-word"&&ae.value==="{"}function R(ae){return ae.type==="value-word"&&ae.value==="}"}function pe(ae){return["value-word","value-atword"].includes(ae.type)}function be(ae){return(ae==null?void 0:ae.type)==="value-colon"}function fe(ae,Q){if(!G(Q))return!1;let{groups:me}=Q,Ce=me.indexOf(ae);return Ce===-1?!1:be(me[Ce+1])}function Ie(ae){return ae.value&&["not","and","or"].includes(ae.value.toLowerCase())}function X(ae){return ae.type!=="value-func"?!1:t.has(ae.value.toLowerCase())}function se(ae){return/\/\//.test(ae.split(/[\n\r]/).pop())}function we(ae){return(ae==null?void 0:ae.type)==="value-atword"&&ae.value.startsWith("prettier-placeholder-")}function _e(ae,Q){var me,Ce;if(((me=ae.open)===null||me===void 0?void 0:me.value)!=="("||((Ce=ae.close)===null||Ce===void 0?void 0:Ce.value)!==")"||ae.groups.some(Re=>Re.type!=="value-comma_group"))return!1;if(Q.type==="value-comma_group"){let Re=Q.groups.indexOf(ae)-1,Xe=Q.groups[Re];if((Xe==null?void 0:Xe.type)==="value-word"&&Xe.value==="with")return!0}return!1}function it(ae){var Q,me;return ae.type==="value-paren_group"&&((Q=ae.open)===null||Q===void 0?void 0:Q.value)==="("&&((me=ae.close)===null||me===void 0?void 0:me.value)===")"}l.exports={getAncestorCounter:a,getAncestorNode:s,getPropOfDeclNode:e,maybeToLowerCase:c,insideValueFunctionNode:y,insideICSSRuleNode:m,insideAtRuleNode:g,insideURLFunctionInImportAtRuleNode:p,isKeyframeAtRuleKeywords:o,isWideKeywords:n,isLastNode:C,isSCSSControlDirectiveNode:i,isDetachedRulesetDeclarationNode:w,isRelationalOperatorNode:F,isEqualityOperatorNode:f,isMultiplicationNode:x,isDivisionNode:P,isAdditionNode:_,isSubtractionNode:J,isModuloNode:d,isMathOperatorNode:T,isEachKeywordNode:N,isForKeywordNode:k,isURLFunctionNode:D,isIfElseKeywordNode:A,hasComposesNode:B,hasParensAroundNode:I,hasEmptyRawBefore:q,isDetachedRulesetCallNode:h,isTemplatePlaceholderNode:E,isTemplatePropNode:b,isPostcssSimpleVarNode:S,isKeyValuePairNode:G,isKeyValuePairInParenGroupNode:M,isKeyInValuePairNode:fe,isSCSSMapItemNode:te,isInlineValueCommentNode:j,isHashNode:De,isLeftCurlyBraceNode:U,isRightCurlyBraceNode:R,isWordNode:pe,isColonNode:be,isMediaAndSupportsKeywords:Ie,isColorAdjusterFuncNode:X,lastLineHasInlineComment:se,isAtWordPlaceholderNode:we,isConfigurationNode:_e,isParenGroupNode:it}}}),qa=$({"src/utils/line-column-to-index.js"(u,l){ue(),l.exports=function(t,a){let s=0;for(let e=0;e0?m:""]}case"css-comment":{let Xt=Te.inline||Te.raws.inline,Wt=Pt.originalText.slice(pt(Te),ut(Te));return Xt?Wt.trimEnd():Wt}case"css-rule":return[Bt("selector"),Te.important?" !important":"",Te.nodes?[Te.selector&&Te.selector.type==="selector-unknown"&&H(Te.selector.value)?y:" ","{",Te.nodes.length>0?C([m,tt(ft,Pt,Bt)]):"",m,"}",q(Te)?";":""]:";"];case"css-decl":{let Xt=ft.getParentNode(),{between:Wt}=Te.raws,nr=Wt.trim(),Ur=nr===":",O=X(Te)?N(Bt("value")):Bt("value");return!Ur&&H(nr)&&(O=C([m,w(O)])),[Te.raws.before.replace(/[\s;]/g,""),Xt.type==="css-atrule"&&Xt.variable||i(ft)?Te.prop:f(Te.prop),nr.startsWith("//")?" ":"",nr,Te.extend?"":" ",Le(Pt)&&Te.extend&&Te.selector?["extend(",Bt("selector"),")"]:"",O,Te.raws.important?Te.raws.important.replace(/\s*!\s*important/i," !important"):Te.important?" !important":"",Te.raws.scssDefault?Te.raws.scssDefault.replace(/\s*!default/i," !default"):Te.scssDefault?" !default":"",Te.raws.scssGlobal?Te.raws.scssGlobal.replace(/\s*!global/i," !global"):Te.scssGlobal?" !global":"",Te.nodes?[" {",C([g,tt(ft,Pt,Bt)]),g,"}"]:me(Te)&&!Xt.raws.semicolon&&Pt.originalText[ut(Te)-1]!==";"?"":Pt.__isHTMLStyleAttribute&&B(ft,Te)?k(";"):";"]}case"css-atrule":{let Xt=ft.getParentNode(),Wt=Q(Te)&&!Xt.raws.semicolon&&Pt.originalText[ut(Te)-1]!==";";if(Le(Pt)){if(Te.mixin)return[Bt("selector"),Te.important?" !important":"",Wt?"":";"];if(Te.function)return[Te.name,Bt("params"),Wt?"":";"];if(Te.variable)return["@",Te.name,": ",Te.value?Bt("value"):"",Te.raws.between.trim()?Te.raws.between.trim()+" ":"",Te.nodes?["{",C([Te.nodes.length>0?g:"",tt(ft,Pt,Bt)]),g,"}"]:"",Wt?"":";"]}return["@",ae(Te)||Te.name.endsWith(":")?Te.name:f(Te.name),Te.params?[ae(Te)?"":Q(Te)?Te.raws.afterName===""?"":Te.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(Te.raws.afterName)?[m,m]:/^\s*\n/.test(Te.raws.afterName)?m:" ":" ",Bt("params")]:"",Te.selector?C([" ",Bt("selector")]):"",Te.value?p([" ",Bt("value"),I(Te)?se(Te)?" ":y:""]):Te.name==="else"?" ":"",Te.nodes?[I(Te)?"":Te.selector&&!Te.selector.nodes&&typeof Te.selector.value=="string"&&H(Te.selector.value)||!Te.selector&&typeof Te.params=="string"&&H(Te.params)?y:" ","{",C([Te.nodes.length>0?g:"",tt(ft,Pt,Bt)]),g,"}"]:Wt?"":";"]}case"media-query-list":{let Xt=[];return ft.each(Wt=>{let nr=Wt.getValue();nr.type==="media-query"&&nr.value===""||Xt.push(Bt())},"nodes"),p(C(c(y,Xt)))}case"media-query":return[c(" ",ft.map(Bt,"nodes")),B(ft,Te)?"":","];case"media-type":return jt(Dt(Te.value,Pt));case"media-feature-expression":return Te.nodes?["(",...ft.map(Bt,"nodes"),")"]:Te.value;case"media-feature":return f(Dt(Te.value.replace(/ +/g," "),Pt));case"media-colon":return[Te.value," "];case"media-value":return jt(Dt(Te.value,Pt));case"media-keyword":return Dt(Te.value,Pt);case"media-url":return Dt(Te.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),Pt);case"media-unknown":return Te.value;case"selector-root":return p([h(ft,"custom-selector")?[d(ft,"css-atrule").customSelector,y]:"",c([",",h(ft,["extend","custom-selector","nest"])?y:m],ft.map(Bt,"nodes"))]);case"selector-selector":return p(C(ft.map(Bt,"nodes")));case"selector-comment":return Te.value;case"selector-string":return Dt(Te.value,Pt);case"selector-tag":{let Xt=ft.getParentNode(),Wt=Xt&&Xt.nodes.indexOf(Te),nr=Wt&&Xt.nodes[Wt-1];return[Te.namespace?[Te.namespace===!0?"":Te.namespace.trim(),"|"]:"",nr.type==="selector-nesting"?Te.value:jt(b(ft,Te.value)?Te.value.toLowerCase():Te.value)]}case"selector-id":return["#",Te.value];case"selector-class":return[".",jt(Dt(Te.value,Pt))];case"selector-attribute":{var Vr;return["[",Te.namespace?[Te.namespace===!0?"":Te.namespace.trim(),"|"]:"",Te.attribute.trim(),(Vr=Te.operator)!==null&&Vr!==void 0?Vr:"",Te.value?Tt(Dt(Te.value.trim(),Pt),Pt):"",Te.insensitive?" i":"","]"]}case"selector-combinator":{if(Te.value==="+"||Te.value===">"||Te.value==="~"||Te.value===">>>"){let nr=ft.getParentNode();return[nr.type==="selector-selector"&&nr.nodes[0]===Te?"":y,Te.value,B(ft,Te)?"":" "]}let Xt=Te.value.trim().startsWith("(")?y:"",Wt=jt(Dt(Te.value.trim(),Pt))||y;return[Xt,Wt]}case"selector-universal":return[Te.namespace?[Te.namespace===!0?"":Te.namespace.trim(),"|"]:"",Te.value];case"selector-pseudo":return[f(Te.value),o(Te.nodes)?p(["(",C([g,c([",",y],ft.map(Bt,"nodes"))]),g,")"]):""];case"selector-nesting":return Te.value;case"selector-unknown":{let Xt=d(ft,"css-rule");if(Xt&&Xt.isSCSSNesterProperty)return jt(Dt(f(Te.value),Pt));let Wt=ft.getParentNode();if(Wt.raws&&Wt.raws.selector){let Ur=pt(Wt),O=Ur+Wt.raws.selector.length;return Pt.originalText.slice(Ur,O).trim()}let nr=ft.getParentNode(1);if(Wt.type==="value-paren_group"&&nr&&nr.type==="value-func"&&nr.value==="selector"){let Ur=ut(Wt.open)+1,O=pt(Wt.close),$e=Pt.originalText.slice(Ur,O).trim();return H($e)?[A,$e]:$e}return Te.value}case"value-value":case"value-root":return Bt("group");case"value-comment":return Pt.originalText.slice(pt(Te),ut(Te));case"value-comma_group":{let Xt=ft.getParentNode(),Wt=ft.getParentNode(1),nr=T(ft),Ur=nr&&Xt.type==="value-value"&&(nr==="grid"||nr.startsWith("grid-template")),O=d(ft,"css-atrule"),$e=O&&I(O),vt=Te.groups.some(Gr=>Xe(Gr)),zt=ft.map(Bt,"groups"),Ht=[],jr=F(ft,"url"),cr=!1,Tr=!1;for(let Gr=0;Grys:gs!==-1?cr=!0:ys!==-1&&(cr=!1)}if(cr||Et(Nt)||Et(Mt)||Nt.type==="value-atword"&&(Nt.value===""||Nt.value.endsWith("["))||Mt.type==="value-word"&&Mt.value.startsWith("]")||Nt.value==="~"||Nt.value&&Nt.value.includes("\\")&&Mt&&Mt.type!=="value-comment"||Cr&&Cr.value&&Cr.value.indexOf("\\")===Cr.value.length-1&&Nt.type==="value-operator"&&Nt.value==="/"||Nt.value==="\\"||Ce(Nt,Mt)||Ye(Nt)||Ct(Nt)||Rt(Mt)||Ct(Mt)&&we(Mt)||Rt(Nt)&&we(Mt)||Nt.value==="--"&&Ye(Mt))continue;let hs=R(Nt),Ks=R(Mt);if((hs&&Ye(Mt)||Ks&&Rt(Nt))&&we(Mt)||!Cr&&j(Nt)||F(ft,"calc")&&(De(Nt)||De(Mt)||U(Nt)||U(Mt))&&we(Mt))continue;let ll=(De(Nt)||U(Nt))&&Gr===0&&(Mt.type==="value-number"||Mt.isHex)&&Wt&&xe(Wt)&&!we(Mt),Qs=ui&&ui.type==="value-func"||ui&&It(ui)||Nt.type==="value-func"||It(Nt),Zs=Mt.type==="value-func"||It(Mt)||Cr&&Cr.type==="value-func"||Cr&&It(Cr);if(!(!(te(Mt)||te(Nt))&&!F(ft,"calc")&&!ll&&(j(Mt)&&!Qs||j(Nt)&&!Zs||De(Mt)&&!Qs||De(Nt)&&!Zs||U(Mt)||U(Nt))&&(we(Mt)||hs&&(!Cr||Cr&&R(Cr))))&&!((Pt.parser==="scss"||Pt.parser==="less")&&hs&&Nt.value==="-"&&Be(Mt)&&ut(Nt)===pt(Mt.open)&&Mt.open.value==="(")){if(Xe(Nt)){if(Xt.type==="value-paren_group"){Ht.push(w(m));continue}Ht.push(m);continue}if($e&&(M(Mt)||G(Mt)||Ie(Mt)||pe(Nt)||be(Nt))){Ht.push(" ");continue}if(O&&O.name.toLowerCase()==="namespace"){Ht.push(" ");continue}if(Ur){Nt.source&&Mt.source&&Nt.source.start.line!==Mt.source.start.line?(Ht.push(m),Tr=!0):Ht.push(" ");continue}if(Ks){Ht.push(" ");continue}if(!(Mt&&Mt.value==="...")&&!(ke(Nt)&&ke(Mt)&&ut(Nt)===pt(Mt))){if(ke(Nt)&&Be(Mt)&&ut(Nt)===pt(Mt.open)){Ht.push(g);continue}if(Nt.value==="with"&&Be(Mt)){Ht.push(" ");continue}(Sr=Nt.value)!==null&&Sr!==void 0&&Sr.endsWith("#")&&Mt.value==="{"&&Be(Mt.group)||Ht.push(y)}}}return vt&&Ht.push(A),Tr&&Ht.unshift(m),$e?p(C(Ht)):E(ft)?p(D(Ht)):p(C(D(Ht)))}case"value-paren_group":{let Xt=ft.getParentNode();if(Xt&&fe(Xt)&&(Te.groups.length===1||Te.groups.length>0&&Te.groups[0].type==="value-comma_group"&&Te.groups[0].groups.length>0&&Te.groups[0].groups[0].type==="value-word"&&Te.groups[0].groups[0].value.startsWith("data:")))return[Te.open?Bt("open"):"",c(",",ft.map(Bt,"groups")),Te.close?Bt("close"):""];if(!Te.open){let jr=ft.map(Bt,"groups"),cr=[];for(let Tr=0;Tr{let Tr=jr.getValue(),Gr=cr===Te.groups.length-1,Cr=[Bt(),Gr?"":","];if(_e(Tr)&&Tr.type==="value-comma_group"&&Tr.groups&&Tr.groups[0].type!=="value-paren_group"&&Tr.groups[2]&&Tr.groups[2].type==="value-paren_group"){let Nt=x(Cr[0].contents.contents);Nt[1]=p(Nt[1]),Cr=[p(w(Cr))]}if(!Gr&&Tr.type==="value-comma_group"&&o(Tr.groups)){let Nt=t(Tr.groups);!Nt.source&&Nt.close&&(Nt=Nt.close),Nt.source&&n(Pt.originalText,Nt,ut)&&Cr.push(m)}return Cr},"groups"))]),k(!Ur&&v(Pt.parser,Pt.originalText)&&Wt&&ye(Pt)?",":""),g,Te.close?Bt("close"):""],{shouldBreak:vt});return zt?w(Ht):Ht}case"value-func":return[Te.value,h(ft,"supports")&&bt(Te)?" ":"",Bt("group")];case"value-paren":return Te.value;case"value-number":return[tr(Te.value),K(Te.unit)];case"value-operator":return Te.value;case"value-word":return Te.isColor&&Te.isHex||S(Te.value)?Te.value.toLowerCase():Te.value;case"value-colon":{let Xt=ft.getParentNode(),Wt=Xt&&Xt.groups.indexOf(Te),nr=Wt&&Xt.groups[Wt-1];return[Te.value,nr&&typeof nr.value=="string"&&t(nr.value)==="\\"||F(ft,"url")?"":y]}case"value-comma":return[Te.value," "];case"value-string":return s(Te.raws.quote+Te.value+Te.raws.quote,Pt);case"value-atword":return["@",Te.value];case"value-unicode-range":return Te.value;case"value-unknown":return Te.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(Te.type)}`)}}function tt(ft,Pt,Bt){let Te=[];return ft.each((Vr,Sr,Xt)=>{let Wt=Xt[Sr-1];if(Wt&&Wt.type==="css-comment"&&Wt.text.trim()==="prettier-ignore"){let nr=Vr.getValue();Te.push(Pt.originalText.slice(pt(nr),ut(nr)))}else Te.push(Bt());Sr!==Xt.length-1&&(Xt[Sr+1].type==="css-comment"&&!e(Pt.originalText,pt(Xt[Sr+1]),{backwards:!0})&&!r(Xt[Sr])||Xt[Sr+1].type==="css-atrule"&&Xt[Sr+1].name==="else"&&Xt[Sr].type!=="css-comment"?Te.push(" "):(Te.push(Pt.__isHTMLStyleAttribute?y:m),n(Pt.originalText,Vr.getValue(),ut)&&!r(Xt[Sr])&&Te.push(m)))},"nodes"),Te}var ht=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Ke=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,pr=/[A-Za-z]+/g,dt=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,ar=new RegExp(ht.source+`|(${dt.source})?(${Ke.source})(${pr.source})?`,"g");function Dt(ft,Pt){return ft.replace(ht,Bt=>s(Bt,Pt))}function Tt(ft,Pt){let Bt=Pt.singleQuote?"'":'"';return ft.includes('"')||ft.includes("'")?ft:Bt+ft+Bt}function jt(ft){return ft.replace(ar,(Pt,Bt,Te,Vr,Sr)=>!Te&&Vr?tr(Vr)+f(Sr||""):Pt)}function tr(ft){return a(ft).replace(/\.0(?=$|e)/,"")}l.exports={print:ze,embed:_,insertPragma:J,massageAstNode:P}}}),za=$({"src/language-css/options.js"(u,l){ue();var t=On();l.exports={singleQuote:t.singleQuote}}}),Ha=$({"src/language-css/parsers.js"(){ue()}}),Ya=$({"node_modules/linguist-languages/data/CSS.json"(u,l){l.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Ka=$({"node_modules/linguist-languages/data/PostCSS.json"(u,l){l.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),Qa=$({"node_modules/linguist-languages/data/Less.json"(u,l){l.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),Za=$({"node_modules/linguist-languages/data/SCSS.json"(u,l){l.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),eo=$({"src/language-css/index.js"(u,l){ue();var t=vr(),a=Wa(),s=za(),e=Ha(),r=[t(Ya(),o=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...o.extensions,".wxss"]})),t(Ka(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),t(Qa(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),t(Za(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],n={postcss:a};l.exports={languages:r,options:s,printers:n,parsers:e}}}),to=$({"src/language-handlebars/loc.js"(u,l){ue();function t(s){return s.loc.start.offset}function a(s){return s.loc.end.offset}l.exports={locStart:t,locEnd:a}}}),ro=$({"src/language-handlebars/clean.js"(u,l){ue();function t(a,s){if(a.type==="TextNode"){let e=a.chars.trim();if(!e)return null;s.chars=e.replace(/[\t\n\f\r ]+/g," ")}a.type==="AttrNode"&&a.name.toLowerCase()==="class"&&delete s.value}t.ignoredProperties=new Set(["loc","selfClosing"]),l.exports=t}}),no=$({"src/language-handlebars/html-void-elements.evaluate.js"(u,l){l.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),uo=$({"src/language-handlebars/utils.js"(u,l){ue();var t=mr(),a=no();function s(x){let P=x.getValue(),_=x.getParentNode(0);return!!(g(x,["ElementNode"])&&t(_.children)===P||g(x,["Block"])&&t(_.body)===P)}function e(x){return x.toUpperCase()===x}function r(x){return m(x,["ElementNode"])&&typeof x.tag=="string"&&!x.tag.startsWith(":")&&(e(x.tag[0])||x.tag.includes("."))}var n=new Set(a);function o(x){return n.has(x.toLowerCase())&&!e(x[0])}function c(x){return x.selfClosing===!0||o(x.tag)||r(x)&&x.children.every(P=>y(P))}function y(x){return m(x,["TextNode"])&&!/\S/.test(x.chars)}function m(x,P){return x&&P.includes(x.type)}function g(x,P){let _=x.getParentNode(0);return m(_,P)}function p(x,P){let _=w(x);return m(_,P)}function D(x,P){let _=k(x);return m(_,P)}function C(x,P){var _,J,d,T;let f=x.getValue(),F=(_=x.getParentNode(0))!==null&&_!==void 0?_:{},i=(J=(d=(T=F.children)!==null&&T!==void 0?T:F.body)!==null&&d!==void 0?d:F.parts)!==null&&J!==void 0?J:[],h=i.indexOf(f);return h!==-1&&i[h+P]}function w(x){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return C(x,-P)}function k(x){return C(x,1)}function A(x){return m(x,["MustacheCommentStatement"])&&typeof x.value=="string"&&x.value.trim()==="prettier-ignore"}function N(x){let P=x.getValue(),_=w(x,2);return A(P)||A(_)}l.exports={getNextNode:k,getPreviousNode:w,hasPrettierIgnore:N,isLastNodeOfSiblings:s,isNextNodeOfSomeType:D,isNodeOfSomeType:m,isParentOfSomeType:g,isPreviousNodeOfSomeType:p,isVoid:c,isWhitespaceNode:y}}}),io=$({"src/language-handlebars/printer-glimmer.js"(u,l){ue();var{builders:{dedent:t,fill:a,group:s,hardline:e,ifBreak:r,indent:n,join:o,line:c,softline:y},utils:{getDocParts:m,replaceTextEndOfLine:g}}=wt(),{getPreferredQuote:p,isNonEmptyArray:D}=Gt(),{locStart:C,locEnd:w}=to(),k=ro(),{getNextNode:A,getPreviousNode:N,hasPrettierIgnore:x,isLastNodeOfSiblings:P,isNextNodeOfSomeType:_,isNodeOfSomeType:J,isParentOfSomeType:d,isPreviousNodeOfSomeType:T,isVoid:f,isWhitespaceNode:F}=uo(),i=2;function h(H,ke,oe){let Be=H.getValue();if(!Be)return"";if(x(H))return ke.originalText.slice(C(Be),w(Be));let pt=ke.singleQuote?"'":'"';switch(Be.type){case"Block":case"Program":case"Template":return s(H.map(oe,"body"));case"ElementNode":{let ut=s(b(H,oe)),Le=ke.htmlWhitespaceSensitivity==="ignore"&&_(H,["ElementNode"])?y:"";if(f(Be))return[ut,Le];let v=["",Be.tag,">"];return Be.children.length===0?[ut,n(v),Le]:ke.htmlWhitespaceSensitivity==="ignore"?[ut,n(S(H,ke,oe)),e,n(v),Le]:[ut,n(s(S(H,ke,oe))),n(v),Le]}case"BlockStatement":{let ut=H.getParentNode(1);return ut&&ut.inverse&&ut.inverse.body.length===1&&ut.inverse.body[0]===Be&&ut.inverse.body[0].path.parts[0]===ut.path.parts[0]?[be(H,oe,ut.inverse.body[0].path.parts[0]),we(H,oe,ke),_e(H,oe,ke)]:[R(H,oe),s([we(H,oe,ke),_e(H,oe,ke),fe(H,oe,ke)])]}case"ElementModifierStatement":return s(["{{",It(H,oe),"}}"]);case"MustacheStatement":return s([I(Be),It(H,oe),q(Be)]);case"SubExpression":return s(["(",Rt(H,oe),y,")"]);case"AttrNode":{let ut=Be.value.type==="TextNode";if(ut&&Be.value.chars===""&&C(Be.value)===w(Be.value))return Be.name;let Le=ut?p(Be.value.chars,pt).quote:Be.value.type==="ConcatStatement"?p(Be.value.parts.filter(K=>K.type==="TextNode").map(K=>K.chars).join(""),pt).quote:"",v=oe("value");return[Be.name,"=",Le,Be.name==="class"&&Le?s(n(v)):v,Le]}case"ConcatStatement":return H.map(oe,"parts");case"Hash":return o(c,H.map(oe,"pairs"));case"HashPair":return[Be.key,"=",oe("value")];case"TextNode":{let ut=Be.chars.replace(/{{/g,"\\{{"),Le=Q(H);if(Le){if(Le==="class"){let dt=ut.trim().split(/\s+/).join(" "),ar=!1,Dt=!1;return d(H,["ConcatStatement"])&&(T(H,["MustacheStatement"])&&/^\s/.test(ut)&&(ar=!0),_(H,["MustacheStatement"])&&/\s$/.test(ut)&&dt!==""&&(Dt=!0)),[ar?c:"",dt,Dt?c:""]}return g(ut)}let v=/^[\t\n\f\r ]*$/.test(ut),K=!N(H),ye=!A(H);if(ke.htmlWhitespaceSensitivity!=="ignore"){let dt=/^[\t\n\f\r ]*/,ar=/[\t\n\f\r ]*$/,Dt=ye&&d(H,["Template"]),Tt=K&&d(H,["Template"]);if(v){if(Tt||Dt)return"";let Bt=[c],Te=me(ut);return Te&&(Bt=Xe(Te)),P(H)&&(Bt=Bt.map(Vr=>t(Vr))),Bt}let[jt]=ut.match(dt),[tr]=ut.match(ar),ft=[];if(jt){ft=[c];let Bt=me(jt);Bt&&(ft=Xe(Bt)),ut=ut.replace(dt,"")}let Pt=[];if(tr){if(!Dt){Pt=[c];let Bt=me(tr);Bt&&(Pt=Xe(Bt)),P(H)&&(Pt=Pt.map(Te=>t(Te)))}ut=ut.replace(ar,"")}return[...ft,a(it(ut)),...Pt]}let ze=me(ut),tt=Ce(ut),ht=Re(ut);if((K||ye)&&v&&d(H,["Block","ElementNode","Template"]))return"";v&&ze?(tt=Math.min(ze,i),ht=0):(_(H,["BlockStatement","ElementNode"])&&(ht=Math.max(ht,1)),T(H,["BlockStatement","ElementNode"])&&(tt=Math.max(tt,1)));let Ke="",pr="";return ht===0&&_(H,["MustacheStatement"])&&(pr=" "),tt===0&&T(H,["MustacheStatement"])&&(Ke=" "),K&&(tt=0,Ke=""),ye&&(ht=0,pr=""),ut=ut.replace(/^[\t\n\f\r ]+/g,Ke).replace(/[\t\n\f\r ]+$/,pr),[...Xe(tt),a(it(ut)),...Xe(ht)]}case"MustacheCommentStatement":{let ut=C(Be),Le=w(Be),v=ke.originalText.charAt(ut+2)==="~",K=ke.originalText.charAt(Le-3)==="~",ye=Be.value.includes("}}")?"--":"";return["{{",v?"~":"","!",ye,Be.value,ye,K?"~":"","}}"]}case"PathExpression":return Be.original;case"BooleanLiteral":return String(Be.value);case"CommentStatement":return[""];case"StringLiteral":{if(Ct(H)){let ut=ke.singleQuote?'"':"'";return Ye(Be.value,ut)}return Ye(Be.value,pt)}case"NumberLiteral":return String(Be.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(Be.type))}}function E(H,ke){return C(H)-C(ke)}function b(H,ke){let oe=H.getValue(),Be=["attributes","modifiers","comments"].filter(ut=>D(oe[ut])),pt=Be.flatMap(ut=>oe[ut]).sort(E);for(let ut of Be)H.each(Le=>{let v=pt.indexOf(Le.getValue());pt.splice(v,1,[c,ke()])},ut);return D(oe.blockParams)&&pt.push(c,xe(oe)),["<",oe.tag,n(pt),B(oe)]}function S(H,ke,oe){let Be=H.getValue().children.every(pt=>F(pt));return ke.htmlWhitespaceSensitivity==="ignore"&&Be?"":H.map((pt,ut)=>{let Le=oe();return ut===0&&ke.htmlWhitespaceSensitivity==="ignore"?[y,Le]:Le},"children")}function B(H){return f(H)?r([y,"/>"],[" />",y]):r([y,">"],">")}function I(H){let ke=H.escaped===!1?"{{{":"{{",oe=H.strip&&H.strip.open?"~":"";return[ke,oe]}function q(H){let ke=H.escaped===!1?"}}}":"}}";return[H.strip&&H.strip.close?"~":"",ke]}function G(H){let ke=I(H),oe=H.openStrip.open?"~":"";return[ke,oe,"#"]}function M(H){let ke=q(H);return[H.openStrip.close?"~":"",ke]}function te(H){let ke=I(H),oe=H.closeStrip.open?"~":"";return[ke,oe,"/"]}function j(H){let ke=q(H);return[H.closeStrip.close?"~":"",ke]}function De(H){let ke=I(H),oe=H.inverseStrip.open?"~":"";return[ke,oe]}function U(H){let ke=q(H);return[H.inverseStrip.close?"~":"",ke]}function R(H,ke){let oe=H.getValue(),Be=[],pt=bt(H,ke);return pt&&Be.push(s(pt)),D(oe.program.blockParams)&&Be.push(xe(oe.program)),s([G(oe),Et(H,ke),Be.length>0?n([c,o(c,Be)]):"",y,M(oe)])}function pe(H,ke){return[ke.htmlWhitespaceSensitivity==="ignore"?e:"",De(H),"else",U(H)]}function be(H,ke,oe){let Be=H.getValue(),pt=H.getParentNode(1);return s([De(pt),["else"," ",oe],n([c,s(bt(H,ke)),...D(Be.program.blockParams)?[c,xe(Be.program)]:[]]),y,U(pt)])}function fe(H,ke,oe){let Be=H.getValue();return oe.htmlWhitespaceSensitivity==="ignore"?[Ie(Be)?y:e,te(Be),ke("path"),j(Be)]:[te(Be),ke("path"),j(Be)]}function Ie(H){return J(H,["BlockStatement"])&&H.program.body.every(ke=>F(ke))}function X(H){return se(H)&&H.inverse.body.length===1&&J(H.inverse.body[0],["BlockStatement"])&&H.inverse.body[0].path.parts[0]===H.path.parts[0]}function se(H){return J(H,["BlockStatement"])&&H.inverse}function we(H,ke,oe){let Be=H.getValue();if(Ie(Be))return"";let pt=ke("program");return oe.htmlWhitespaceSensitivity==="ignore"?n([e,pt]):n(pt)}function _e(H,ke,oe){let Be=H.getValue(),pt=ke("inverse"),ut=oe.htmlWhitespaceSensitivity==="ignore"?[e,pt]:pt;return X(Be)?ut:se(Be)?[pe(Be,oe),n(ut)]:""}function it(H){return m(o(c,ae(H)))}function ae(H){return H.split(/[\t\n\f\r ]+/)}function Q(H){for(let ke=0;ke<2;ke++){let oe=H.getParentNode(ke);if(oe&&oe.type==="AttrNode")return oe.name.toLowerCase()}}function me(H){return H=typeof H=="string"?H:"",H.split(`
+`).length-1}function Ce(H){H=typeof H=="string"?H:"";let ke=(H.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return me(ke)}function Re(H){H=typeof H=="string"?H:"";let ke=(H.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return me(ke)}function Xe(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(H,i)}).fill(e)}function Ye(H,ke){let{quote:oe,regex:Be}=p(H,ke);return[oe,H.replace(Be,`\\${oe}`),oe]}function Ct(H){let ke=0,oe=H.getParentNode(ke);for(;oe&&J(oe,["SubExpression"]);)ke++,oe=H.getParentNode(ke);return!!(oe&&J(H.getParentNode(ke+1),["ConcatStatement"])&&J(H.getParentNode(ke+2),["AttrNode"]))}function Rt(H,ke){let oe=Et(H,ke),Be=bt(H,ke);return Be?n([oe,c,s(Be)]):oe}function It(H,ke){let oe=Et(H,ke),Be=bt(H,ke);return Be?[n([oe,c,Be]),y]:oe}function Et(H,ke){return ke("path")}function bt(H,ke){let oe=H.getValue(),Be=[];if(oe.params.length>0){let pt=H.map(ke,"params");Be.push(...pt)}if(oe.hash&&oe.hash.pairs.length>0){let pt=ke("hash");Be.push(pt)}return Be.length===0?"":o(c,Be)}function xe(H){return["as |",H.blockParams.join(" "),"|"]}l.exports={print:h,massageAstNode:k}}}),so=$({"src/language-handlebars/parsers.js"(){ue()}}),ao=$({"node_modules/linguist-languages/data/Handlebars.json"(u,l){l.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),oo=$({"src/language-handlebars/index.js"(u,l){ue();var t=vr(),a=io(),s=so(),e=[t(ao(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],r={glimmer:a};l.exports={languages:e,printers:r,parsers:s}}}),lo=$({"src/language-graphql/pragma.js"(u,l){ue();function t(s){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(s)}function a(s){return`# @format
+
+`+s}l.exports={hasPragma:t,insertPragma:a}}}),po=$({"src/language-graphql/loc.js"(u,l){ue();function t(s){return typeof s.start=="number"?s.start:s.loc&&s.loc.start}function a(s){return typeof s.end=="number"?s.end:s.loc&&s.loc.end}l.exports={locStart:t,locEnd:a}}}),co=$({"src/language-graphql/printer-graphql.js"(u,l){ue();var{builders:{join:t,hardline:a,line:s,softline:e,group:r,indent:n,ifBreak:o}}=wt(),{isNextLineEmpty:c,isNonEmptyArray:y}=Gt(),{insertPragma:m}=lo(),{locStart:g,locEnd:p}=po();function D(_,J,d){let T=_.getValue();if(!T)return"";if(typeof T=="string")return T;switch(T.kind){case"Document":{let f=[];return _.each((F,i,h)=>{f.push(d()),i!==h.length-1&&(f.push(a),c(J.originalText,F.getValue(),p)&&f.push(a))},"definitions"),[...f,a]}case"OperationDefinition":{let f=J.originalText[g(T)]!=="{",F=!!T.name;return[f?T.operation:"",f&&F?[" ",d("name")]:"",f&&!F&&y(T.variableDefinitions)?" ":"",y(T.variableDefinitions)?r(["(",n([e,t([o("",", "),e],_.map(d,"variableDefinitions"))]),e,")"]):"",C(_,d,T),T.selectionSet?!f&&!F?"":" ":"",d("selectionSet")]}case"FragmentDefinition":return["fragment ",d("name"),y(T.variableDefinitions)?r(["(",n([e,t([o("",", "),e],_.map(d,"variableDefinitions"))]),e,")"]):""," on ",d("typeCondition"),C(_,d,T)," ",d("selectionSet")];case"SelectionSet":return["{",n([a,t(a,w(_,J,d,"selections"))]),a,"}"];case"Field":return r([T.alias?[d("alias"),": "]:"",d("name"),T.arguments.length>0?r(["(",n([e,t([o("",", "),e],w(_,J,d,"arguments"))]),e,")"]):"",C(_,d,T),T.selectionSet?" ":"",d("selectionSet")]);case"Name":return T.value;case"StringValue":{if(T.block){let f=T.value.replace(/"""/g,"\\$&").split(`
+`);return f.length===1&&(f[0]=f[0].trim()),f.every(F=>F==="")&&(f.length=0),t(a,['"""',...f,'"""'])}return['"',T.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return T.value;case"BooleanValue":return T.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",d("name")];case"ListValue":return r(["[",n([e,t([o("",", "),e],_.map(d,"values"))]),e,"]"]);case"ObjectValue":return r(["{",J.bracketSpacing&&T.fields.length>0?" ":"",n([e,t([o("",", "),e],_.map(d,"fields"))]),e,o("",J.bracketSpacing&&T.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[d("name"),": ",d("value")];case"Directive":return["@",d("name"),T.arguments.length>0?r(["(",n([e,t([o("",", "),e],w(_,J,d,"arguments"))]),e,")"]):""];case"NamedType":return d("name");case"VariableDefinition":return[d("variable"),": ",d("type"),T.defaultValue?[" = ",d("defaultValue")]:"",C(_,d,T)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[d("description"),T.description?a:"",T.kind==="ObjectTypeExtension"?"extend ":"","type ",d("name"),T.interfaces.length>0?[" implements ",...N(_,J,d)]:"",C(_,d,T),T.fields.length>0?[" {",n([a,t(a,w(_,J,d,"fields"))]),a,"}"]:""];case"FieldDefinition":return[d("description"),T.description?a:"",d("name"),T.arguments.length>0?r(["(",n([e,t([o("",", "),e],w(_,J,d,"arguments"))]),e,")"]):"",": ",d("type"),C(_,d,T)];case"DirectiveDefinition":return[d("description"),T.description?a:"","directive ","@",d("name"),T.arguments.length>0?r(["(",n([e,t([o("",", "),e],w(_,J,d,"arguments"))]),e,")"]):"",T.repeatable?" repeatable":""," on ",t(" | ",_.map(d,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[d("description"),T.description?a:"",T.kind==="EnumTypeExtension"?"extend ":"","enum ",d("name"),C(_,d,T),T.values.length>0?[" {",n([a,t(a,w(_,J,d,"values"))]),a,"}"]:""];case"EnumValueDefinition":return[d("description"),T.description?a:"",d("name"),C(_,d,T)];case"InputValueDefinition":return[d("description"),T.description?T.description.block?a:s:"",d("name"),": ",d("type"),T.defaultValue?[" = ",d("defaultValue")]:"",C(_,d,T)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[d("description"),T.description?a:"",T.kind==="InputObjectTypeExtension"?"extend ":"","input ",d("name"),C(_,d,T),T.fields.length>0?[" {",n([a,t(a,w(_,J,d,"fields"))]),a,"}"]:""];case"SchemaExtension":return["extend schema",C(_,d,T),...T.operationTypes.length>0?[" {",n([a,t(a,w(_,J,d,"operationTypes"))]),a,"}"]:[]];case"SchemaDefinition":return[d("description"),T.description?a:"","schema",C(_,d,T)," {",T.operationTypes.length>0?n([a,t(a,w(_,J,d,"operationTypes"))]):"",a,"}"];case"OperationTypeDefinition":return[d("operation"),": ",d("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[d("description"),T.description?a:"",T.kind==="InterfaceTypeExtension"?"extend ":"","interface ",d("name"),T.interfaces.length>0?[" implements ",...N(_,J,d)]:"",C(_,d,T),T.fields.length>0?[" {",n([a,t(a,w(_,J,d,"fields"))]),a,"}"]:""];case"FragmentSpread":return["...",d("name"),C(_,d,T)];case"InlineFragment":return["...",T.typeCondition?[" on ",d("typeCondition")]:"",C(_,d,T)," ",d("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return r([d("description"),T.description?a:"",r([T.kind==="UnionTypeExtension"?"extend ":"","union ",d("name"),C(_,d,T),T.types.length>0?[" =",o(""," "),n([o([s," "]),t([s,"| "],_.map(d,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[d("description"),T.description?a:"",T.kind==="ScalarTypeExtension"?"extend ":"","scalar ",d("name"),C(_,d,T)];case"NonNullType":return[d("type"),"!"];case"ListType":return["[",d("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(T.kind))}}function C(_,J,d){if(d.directives.length===0)return"";let T=t(s,_.map(J,"directives"));return d.kind==="FragmentDefinition"||d.kind==="OperationDefinition"?r([s,T]):[" ",r(n([e,T]))]}function w(_,J,d,T){return _.map((f,F,i)=>{let h=d();return Fd(h),"interfaces");for(let h=0;hT.value.trim()==="prettier-ignore")}l.exports={print:D,massageAstNode:x,hasPrettierIgnore:P,insertPragma:m,printComment:A,canAttachComment:k}}}),Do=$({"src/language-graphql/options.js"(u,l){ue();var t=On();l.exports={bracketSpacing:t.bracketSpacing}}}),fo=$({"src/language-graphql/parsers.js"(){ue()}}),mo=$({"node_modules/linguist-languages/data/GraphQL.json"(u,l){l.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),ho=$({"src/language-graphql/index.js"(u,l){ue();var t=vr(),a=co(),s=Do(),e=fo(),r=[t(mo(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],n={graphql:a};l.exports={languages:r,options:s,printers:n,parsers:e}}}),Js=$({"node_modules/collapse-white-space/index.js"(u,l){ue(),l.exports=t;function t(a){return String(a).replace(/\s+/g," ")}}}),Xs=$({"src/language-markdown/loc.js"(u,l){ue();function t(s){return s.position.start.offset}function a(s){return s.position.end.offset}l.exports={locStart:t,locEnd:a}}}),go=$({"src/language-markdown/constants.evaluate.js"(u,l){l.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),Ds=$({"src/language-markdown/utils.js"(u,l){ue();var{getLast:t}=Gt(),{locStart:a,locEnd:s}=Xs(),{cjkPattern:e,kPattern:r,punctuationPattern:n}=go(),o=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],c=[...o,"tableCell","paragraph","heading"],y=new RegExp(r),m=new RegExp(n);function g(A,N){let x="non-cjk",P="cj-letter",_="k-letter",J="cjk-punctuation",d=[],T=(N.proseWrap==="preserve"?A:A.replace(new RegExp(`(${e})
+(${e})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[F,i]of T.entries()){if(F%2===1){d.push({type:"whitespace",value:/\n/.test(i)?`
+`:" "});continue}if((F===0||F===T.length-1)&&i==="")continue;let h=i.split(new RegExp(`(${e})`));for(let[E,b]of h.entries())if(!((E===0||E===h.length-1)&&b==="")){if(E%2===0){b!==""&&f({type:"word",value:b,kind:x,hasLeadingPunctuation:m.test(b[0]),hasTrailingPunctuation:m.test(t(b))});continue}f(m.test(b)?{type:"word",value:b,kind:J,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:b,kind:y.test(b)?_:P,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return d;function f(F){let i=t(d);i&&i.type==="word"&&(i.kind===x&&F.kind===P&&!i.hasTrailingPunctuation||i.kind===P&&F.kind===x&&!F.hasLeadingPunctuation?d.push({type:"whitespace",value:" "}):!h(x,J)&&![i.value,F.value].some(E=>/\u3000/.test(E))&&d.push({type:"whitespace",value:""})),d.push(F);function h(E,b){return i.kind===E&&F.kind===b||i.kind===b&&F.kind===E}}}function p(A,N){let[,x,P,_]=N.slice(A.position.start.offset,A.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:x,marker:P,leadingSpaces:_}}function D(A,N){if(!A.ordered||A.children.length<2)return!1;let x=Number(p(A.children[0],N.originalText).numberText),P=Number(p(A.children[1],N.originalText).numberText);if(x===0&&A.children.length>2){let _=Number(p(A.children[2],N.originalText).numberText);return P===1&&_===1}return P===1}function C(A,N){let{value:x}=A;return A.position.end.offset===N.length&&x.endsWith(`
+`)&&N.endsWith(`
+`)?x.slice(0,-1):x}function w(A,N){return function x(P,_,J){let d=Object.assign({},N(P,_,J));return d.children&&(d.children=d.children.map((T,f)=>x(T,f,[d,...J]))),d}(A,null,[])}function k(A){if((A==null?void 0:A.type)!=="link"||A.children.length!==1)return!1;let[N]=A.children;return a(A)===a(N)&&s(A)===s(N)}l.exports={mapAst:w,splitText:g,punctuationPattern:n,getFencedCodeBlockValue:C,getOrderedListItemInfo:p,hasGitDiffFriendlyOrderedList:D,INLINE_NODE_TYPES:o,INLINE_NODE_WRAPPER_TYPES:c,isAutolink:k}}}),yo=$({"src/language-markdown/embed.js"(u,l){ue();var{inferParserByLanguage:t,getMaxContinuousCount:a}=Gt(),{builders:{hardline:s,markAsRoot:e},utils:{replaceEndOfLine:r}}=wt(),n=cs(),{getFencedCodeBlockValue:o}=Ds();function c(y,m,g,p){let D=y.getValue();if(D.type==="code"&&D.lang!==null){let C=t(D.lang,p);if(C){let w=p.__inJsTemplate?"~":"`",k=w.repeat(Math.max(3,a(D.value,w)+1)),A={parser:C};D.lang==="tsx"&&(A.filepath="dummy.tsx");let N=g(o(D,p.originalText),A,{stripTrailingHardline:!0});return e([k,D.lang,D.meta?" "+D.meta:"",s,r(N),s,k])}}switch(D.type){case"front-matter":return n(D,g);case"importExport":return[g(D.value,{parser:"babel"},{stripTrailingHardline:!0}),s];case"jsx":return g(`<$>${D.value}$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}l.exports=c}}),Ws=$({"src/language-markdown/pragma.js"(u,l){ue();var t=Gs(),a=["format","prettier"];function s(e){let r=`@(${a.join("|")})`,n=new RegExp([``,`{\\s*\\/\\*\\s*${r}\\s*\\*\\/\\s*}`,``].join("|"),"m"),o=e.match(n);return(o==null?void 0:o.index)===0}l.exports={startWithPragma:s,hasPragma:e=>s(t(e).content.trimStart()),insertPragma:e=>{let r=t(e),n=``;return r.frontMatter?`${r.frontMatter.raw}
+
+${n}
+
+${r.content}`:`${n}
+
+${r.content}`}}}}),Eo=$({"src/language-markdown/print-preprocess.js"(u,l){ue();var t=mr(),{getOrderedListItemInfo:a,mapAst:s,splitText:e}=Ds(),r=/^.$/su;function n(k,A){return k=y(k,A),k=p(k),k=c(k,A),k=C(k,A),k=w(k,A),k=D(k,A),k=o(k),k=m(k),k}function o(k){return s(k,A=>A.type!=="import"&&A.type!=="export"?A:Object.assign(Object.assign({},A),{},{type:"importExport"}))}function c(k,A){return s(k,N=>N.type!=="inlineCode"||A.proseWrap==="preserve"?N:Object.assign(Object.assign({},N),{},{value:N.value.replace(/\s+/g," ")}))}function y(k,A){return s(k,N=>N.type!=="text"||N.value==="*"||N.value==="_"||!r.test(N.value)||N.position.end.offset-N.position.start.offset===N.value.length?N:Object.assign(Object.assign({},N),{},{value:A.originalText.slice(N.position.start.offset,N.position.end.offset)}))}function m(k){return g(k,(A,N)=>A.type==="importExport"&&N.type==="importExport",(A,N)=>({type:"importExport",value:A.value+`
+
+`+N.value,position:{start:A.position.start,end:N.position.end}}))}function g(k,A,N){return s(k,x=>{if(!x.children)return x;let P=x.children.reduce((_,J)=>{let d=t(_);return d&&A(d,J)?_.splice(-1,1,N(d,J)):_.push(J),_},[]);return Object.assign(Object.assign({},x),{},{children:P})})}function p(k){return g(k,(A,N)=>A.type==="text"&&N.type==="text",(A,N)=>({type:"text",value:A.value+N.value,position:{start:A.position.start,end:N.position.end}}))}function D(k,A){return s(k,(N,x,P)=>{let[_]=P;if(N.type!=="text")return N;let{value:J}=N;return _.type==="paragraph"&&(x===0&&(J=J.trimStart()),x===_.children.length-1&&(J=J.trimEnd())),{type:"sentence",position:N.position,children:e(J,A)}})}function C(k,A){return s(k,(N,x,P)=>{if(N.type==="code"){let _=/^\n?(?: {4,}|\t)/.test(A.originalText.slice(N.position.start.offset,N.position.end.offset));if(N.isIndented=_,_)for(let J=0;J{if(P.type==="list"&&P.children.length>0){for(let d=0;d1)return!0;let d=N(_);if(d===-1)return!1;if(P.children.length===1)return d%A.tabWidth===0;let T=N(J);return d!==T?!1:d%A.tabWidth===0?!0:a(J,A.originalText).leadingSpaces.length>1}}l.exports=n}}),Co=$({"src/language-markdown/clean.js"(u,l){ue();var t=Js(),{isFrontMatterNode:a}=Gt(),{startWithPragma:s}=Ws(),e=new Set(["position","raw"]);function r(n,o,c){if((n.type==="front-matter"||n.type==="code"||n.type==="yaml"||n.type==="import"||n.type==="export"||n.type==="jsx")&&delete o.value,n.type==="list"&&delete o.isAligned,(n.type==="list"||n.type==="listItem")&&(delete o.spread,delete o.loose),n.type==="text"||(n.type==="inlineCode"&&(o.value=n.value.replace(/[\t\n ]+/g," ")),n.type==="wikiLink"&&(o.value=n.value.trim().replace(/[\t\n]+/g," ")),(n.type==="definition"||n.type==="linkReference"||n.type==="imageReference")&&(o.label=t(n.label)),(n.type==="definition"||n.type==="link"||n.type==="image")&&n.title&&(o.title=n.title.replace(/\\(["')])/g,"$1")),c&&c.type==="root"&&c.children.length>0&&(c.children[0]===n||a(c.children[0])&&c.children[1]===n)&&n.type==="html"&&s(n.value)))return null}r.ignoredProperties=e,l.exports=r}}),Fo=$({"src/language-markdown/printer-markdown.js"(u,l){ue();var t=Js(),{getLast:a,getMinNotPresentContinuousCount:s,getMaxContinuousCount:e,getStringWidth:r,isNonEmptyArray:n}=Gt(),{builders:{breakParent:o,join:c,line:y,literalline:m,markAsRoot:g,hardline:p,softline:D,ifBreak:C,fill:w,align:k,indent:A,group:N,hardlineWithoutBreakParent:x},utils:{normalizeDoc:P,replaceTextEndOfLine:_},printer:{printDocToString:J}}=wt(),d=yo(),{insertPragma:T}=Ws(),{locStart:f,locEnd:F}=Xs(),i=Eo(),h=Co(),{getFencedCodeBlockValue:E,hasGitDiffFriendlyOrderedList:b,splitText:S,punctuationPattern:B,INLINE_NODE_TYPES:I,INLINE_NODE_WRAPPER_TYPES:q,isAutolink:G}=Ds(),M=new Set(["importExport"]),te=["heading","tableCell","link","wikiLink"],j=new Set(["listItem","definition","footnoteDefinition"]);function De(xe,H,ke){let oe=xe.getValue();if(Xe(xe))return S(H.originalText.slice(oe.position.start.offset,oe.position.end.offset),H).map(Be=>Be.type==="word"?Be.value:Be.value===""?"":X(xe,Be.value,H));switch(oe.type){case"front-matter":return H.originalText.slice(oe.position.start.offset,oe.position.end.offset);case"root":return oe.children.length===0?"":[P(we(xe,H,ke)),M.has(ae(oe).type)?"":p];case"paragraph":return _e(xe,H,ke,{postprocessor:w});case"sentence":return _e(xe,H,ke);case"word":{let Be=oe.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${B})(_+)`,`(_+)(${B}|$)`].join("|"),"g"),(Le,v,K,ye,ze)=>(K?`${v}${K}`:`${ye}${ze}`).replace(/_/g,"\\_")),pt=(Le,v,K)=>Le.type==="sentence"&&K===0,ut=(Le,v,K)=>G(Le.children[K-1]);return Be!==oe.value&&(xe.match(void 0,pt,ut)||xe.match(void 0,pt,(Le,v,K)=>Le.type==="emphasis"&&K===0,ut))&&(Be=Be.replace(/^(\\?[*_])+/,Le=>Le.replace(/\\/g,""))),Be}case"whitespace":{let Be=xe.getParentNode(),pt=Be.children.indexOf(oe),ut=Be.children[pt+1],Le=ut&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(ut.value)?"never":H.proseWrap;return X(xe,oe.value,{proseWrap:Le})}case"emphasis":{let Be;if(G(oe.children[0]))Be=H.originalText[oe.position.start.offset];else{let pt=xe.getParentNode(),ut=pt.children.indexOf(oe),Le=pt.children[ut-1],v=pt.children[ut+1];Be=Le&&Le.type==="sentence"&&Le.children.length>0&&a(Le.children).type==="word"&&!a(Le.children).hasTrailingPunctuation||v&&v.type==="sentence"&&v.children.length>0&&v.children[0].type==="word"&&!v.children[0].hasLeadingPunctuation||Ie(xe,"emphasis")?"*":"_"}return[Be,_e(xe,H,ke),Be]}case"strong":return["**",_e(xe,H,ke),"**"];case"delete":return["~~",_e(xe,H,ke),"~~"];case"inlineCode":{let Be=s(oe.value,"`"),pt="`".repeat(Be||1),ut=Be&&!/^\s/.test(oe.value)?" ":"";return[pt,ut,oe.value,ut,pt]}case"wikiLink":{let Be="";return H.proseWrap==="preserve"?Be=oe.value:Be=oe.value.replace(/[\t\n]+/g," "),["[[",Be,"]]"]}case"link":switch(H.originalText[oe.position.start.offset]){case"<":{let Be="mailto:";return["<",oe.url.startsWith(Be)&&H.originalText.slice(oe.position.start.offset+1,oe.position.start.offset+1+Be.length)!==Be?oe.url.slice(Be.length):oe.url,">"]}case"[":return["[",_e(xe,H,ke),"](",Ye(oe.url,")"),Ct(oe.title,H),")"];default:return H.originalText.slice(oe.position.start.offset,oe.position.end.offset)}case"image":return["![",oe.alt||"","](",Ye(oe.url,")"),Ct(oe.title,H),")"];case"blockquote":return["> ",k("> ",_e(xe,H,ke))];case"heading":return["#".repeat(oe.depth)+" ",_e(xe,H,ke)];case"code":{if(oe.isIndented){let ut=" ".repeat(4);return k(ut,[ut,..._(oe.value,p)])}let Be=H.__inJsTemplate?"~":"`",pt=Be.repeat(Math.max(3,e(oe.value,Be)+1));return[pt,oe.lang||"",oe.meta?" "+oe.meta:"",p,..._(E(oe,H.originalText),p),p,pt]}case"html":{let Be=xe.getParentNode(),pt=Be.type==="root"&&a(Be.children)===oe?oe.value.trimEnd():oe.value,ut=/^$/s.test(pt);return _(pt,ut?p:g(m))}case"list":{let Be=pe(oe,xe.getParentNode()),pt=b(oe,H);return _e(xe,H,ke,{processor:(ut,Le)=>{let v=ye(),K=ut.getValue();if(K.children.length===2&&K.children[1].type==="html"&&K.children[0].position.start.column!==K.children[1].position.start.column)return[v,U(ut,H,ke,v)];return[v,k(" ".repeat(v.length),U(ut,H,ke,v))];function ye(){let ze=oe.ordered?(Le===0?oe.start:pt?1:oe.start+Le)+(Be%2===0?". ":") "):Be%2===0?"- ":"* ";return oe.isAligned||oe.hasIndentedCodeblock?R(ze,H):ze}}})}case"thematicBreak":{let Be=fe(xe,"list");return Be===-1?"---":pe(xe.getParentNode(Be),xe.getParentNode(Be+1))%2===0?"***":"---"}case"linkReference":return["[",_e(xe,H,ke),"]",oe.referenceType==="full"?Et(oe):oe.referenceType==="collapsed"?"[]":""];case"imageReference":switch(oe.referenceType){case"full":return["![",oe.alt||"","]",Et(oe)];default:return["![",oe.alt,"]",oe.referenceType==="collapsed"?"[]":""]}case"definition":{let Be=H.proseWrap==="always"?y:" ";return N([Et(oe),":",A([Be,Ye(oe.url),oe.title===null?"":[Be,Ct(oe.title,H,!1)]])])}case"footnote":return["[^",_e(xe,H,ke),"]"];case"footnoteReference":return bt(oe);case"footnoteDefinition":{let Be=xe.getParentNode().children[xe.getName()+1],pt=oe.children.length===1&&oe.children[0].type==="paragraph"&&(H.proseWrap==="never"||H.proseWrap==="preserve"&&oe.children[0].position.start.line===oe.children[0].position.end.line);return[bt(oe),": ",pt?_e(xe,H,ke):N([k(" ".repeat(4),_e(xe,H,ke,{processor:(ut,Le)=>Le===0?N([D,ke()]):ke()})),Be&&Be.type==="footnoteDefinition"?D:""])]}case"table":return se(xe,H,ke);case"tableCell":return _e(xe,H,ke);case"break":return/\s/.test(H.originalText[oe.position.start.offset])?[" ",g(m)]:["\\",p];case"liquidNode":return _(oe.value,p);case"importExport":return[oe.value,p];case"esComment":return["{/* ",oe.value," */}"];case"jsx":return oe.value;case"math":return["$$",p,oe.value?[..._(oe.value,p),p]:"","$$"];case"inlineMath":return H.originalText.slice(f(oe),F(oe));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(oe.type)}`)}}function U(xe,H,ke,oe){let Be=xe.getValue(),pt=Be.checked===null?"":Be.checked?"[x] ":"[ ] ";return[pt,_e(xe,H,ke,{processor:(ut,Le)=>{if(Le===0&&ut.getValue().type!=="list")return k(" ".repeat(pt.length),ke());let v=" ".repeat(Rt(H.tabWidth-oe.length,0,3));return[v,k(v,ke())]}})]}function R(xe,H){let ke=oe();return xe+" ".repeat(ke>=4?0:ke);function oe(){let Be=xe.length%H.tabWidth;return Be===0?0:H.tabWidth-Be}}function pe(xe,H){return be(xe,H,ke=>ke.ordered===xe.ordered)}function be(xe,H,ke){let oe=-1;for(let Be of H.children)if(Be.type===xe.type&&ke(Be)?oe++:oe=-1,Be===xe)return oe}function fe(xe,H){let ke=Array.isArray(H)?H:[H],oe=-1,Be;for(;Be=xe.getParentNode(++oe);)if(ke.includes(Be.type))return oe;return-1}function Ie(xe,H){let ke=fe(xe,H);return ke===-1?null:xe.getParentNode(ke)}function X(xe,H,ke){if(ke.proseWrap==="preserve"&&H===`
+`)return p;let oe=ke.proseWrap==="always"&&!Ie(xe,te);return H!==""?oe?y:" ":oe?D:""}function se(xe,H,ke){let oe=xe.getValue(),Be=[],pt=xe.map(ze=>ze.map((tt,ht)=>{let Ke=J(ke(),H).formatted,pr=r(Ke);return Be[ht]=Math.max(Be[ht]||3,pr),{text:Ke,width:pr}},"children"),"children"),ut=v(!1);if(H.proseWrap!=="never")return[o,ut];let Le=v(!0);return[o,N(C(Le,ut))];function v(ze){let tt=[ye(pt[0],ze),K(ze)];return pt.length>1&&tt.push(c(x,pt.slice(1).map(ht=>ye(ht,ze)))),c(x,tt)}function K(ze){return`| ${Be.map((tt,ht)=>{let Ke=oe.align[ht],pr=Ke==="center"||Ke==="left"?":":"-",dt=Ke==="center"||Ke==="right"?":":"-",ar=ze?"-":"-".repeat(tt-2);return`${pr}${ar}${dt}`}).join(" | ")} |`}function ye(ze,tt){return`| ${ze.map((ht,Ke)=>{let{text:pr,width:dt}=ht;if(tt)return pr;let ar=Be[Ke]-dt,Dt=oe.align[Ke],Tt=0;Dt==="right"?Tt=ar:Dt==="center"&&(Tt=Math.floor(ar/2));let jt=ar-Tt;return`${" ".repeat(Tt)}${pr}${" ".repeat(jt)}`}).join(" | ")} |`}}function we(xe,H,ke){let oe=[],Be=null,{children:pt}=xe.getValue();for(let[ut,Le]of pt.entries())switch(Q(Le)){case"start":Be===null&&(Be={index:ut,offset:Le.position.end.offset});break;case"end":Be!==null&&(oe.push({start:Be,end:{index:ut,offset:Le.position.start.offset}}),Be=null);break}return _e(xe,H,ke,{processor:(ut,Le)=>{if(oe.length>0){let v=oe[0];if(Le===v.start.index)return[it(pt[v.start.index]),H.originalText.slice(v.start.offset,v.end.offset),it(pt[v.end.index])];if(v.start.index3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:Be}=oe,pt=oe.processor||(()=>ke()),ut=xe.getValue(),Le=[],v;return xe.each((K,ye)=>{let ze=K.getValue(),tt=pt(K,ye);if(tt!==!1){let ht={parts:Le,prevNode:v,parentNode:ut,options:H};me(ze,ht)&&(Le.push(p),v&&M.has(v.type)||(Ce(ze,ht)||Re(ze,ht))&&Le.push(p),Re(ze,ht)&&Le.push(p)),Le.push(tt),v=ze}},"children"),Be?Be(Le):Le}function it(xe){if(xe.type==="html")return xe.value;if(xe.type==="paragraph"&&Array.isArray(xe.children)&&xe.children.length===1&&xe.children[0].type==="esComment")return["{/* ",xe.children[0].value," */}"]}function ae(xe){let H=xe;for(;n(H.children);)H=a(H.children);return H}function Q(xe){let H;if(xe.type==="html")H=xe.value.match(/^$/);else{let ke;xe.type==="esComment"?ke=xe:xe.type==="paragraph"&&xe.children.length===1&&xe.children[0].type==="esComment"&&(ke=xe.children[0]),ke&&(H=ke.value.match(/^prettier-ignore(?:-(start|end))?$/))}return H?H[1]||"next":!1}function me(xe,H){let ke=H.parts.length===0,oe=I.includes(xe.type),Be=xe.type==="html"&&q.includes(H.parentNode.type);return!ke&&!oe&&!Be}function Ce(xe,H){var ke,oe,Be;let pt=(H.prevNode&&H.prevNode.type)===xe.type&&j.has(xe.type),ut=H.parentNode.type==="listItem"&&!H.parentNode.loose,Le=((ke=H.prevNode)===null||ke===void 0?void 0:ke.type)==="listItem"&&H.prevNode.loose,v=Q(H.prevNode)==="next",K=xe.type==="html"&&((oe=H.prevNode)===null||oe===void 0?void 0:oe.type)==="html"&&H.prevNode.position.end.line+1===xe.position.start.line,ye=xe.type==="html"&&H.parentNode.type==="listItem"&&((Be=H.prevNode)===null||Be===void 0?void 0:Be.type)==="paragraph"&&H.prevNode.position.end.line+1===xe.position.start.line;return Le||!(pt||ut||v||K||ye)}function Re(xe,H){let ke=H.prevNode&&H.prevNode.type==="list",oe=xe.type==="code"&&xe.isIndented;return ke&&oe}function Xe(xe){let H=Ie(xe,["linkReference","imageReference"]);return H&&(H.type!=="linkReference"||H.referenceType!=="full")}function Ye(xe){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ke=[" ",...Array.isArray(H)?H:[H]];return new RegExp(ke.map(oe=>`\\${oe}`).join("|")).test(xe)?`<${xe}>`:xe}function Ct(xe,H){let ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!xe)return"";if(ke)return" "+Ct(xe,H,!1);if(xe=xe.replace(/\\(["')])/g,"$1"),xe.includes('"')&&xe.includes("'")&&!xe.includes(")"))return`(${xe})`;let oe=xe.split("'").length-1,Be=xe.split('"').length-1,pt=oe>Be?'"':Be>oe||H.singleQuote?"'":'"';return xe=xe.replace(/\\/,"\\\\"),xe=xe.replace(new RegExp(`(${pt})`,"g"),"\\$1"),`${pt}${xe}${pt}`}function Rt(xe,H,ke){return xeke?ke:xe}function It(xe){let H=Number(xe.getName());if(H===0)return!1;let ke=xe.getParentNode().children[H-1];return Q(ke)==="next"}function Et(xe){return`[${t(xe.label)}]`}function bt(xe){return`[^${xe.label}]`}l.exports={preprocess:i,print:De,embed:d,massageAstNode:h,hasPrettierIgnore:It,insertPragma:T}}}),Ao=$({"src/language-markdown/options.js"(u,l){ue();var t=On();l.exports={proseWrap:t.proseWrap,singleQuote:t.singleQuote}}}),vo=$({"src/language-markdown/parsers.js"(){ue()}}),zs=$({"node_modules/linguist-languages/data/Markdown.json"(u,l){l.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),bo=$({"src/language-markdown/index.js"(u,l){ue();var t=vr(),a=Fo(),s=Ao(),e=vo(),r=[t(zs(),o=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...o.filenames,"README"],extensions:o.extensions.filter(c=>c!==".mdx")})),t(zs(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],n={mdast:a};l.exports={languages:r,options:s,printers:n,parsers:e}}}),So=$({"src/language-html/clean.js"(u,l){ue();var{isFrontMatterNode:t}=Gt(),a=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function s(e,r){if(e.type==="text"||e.type==="comment"||t(e)||e.type==="yaml"||e.type==="toml")return null;e.type==="attribute"&&delete r.value,e.type==="docType"&&delete r.value}s.ignoredProperties=a,l.exports=s}}),xo=$({"src/language-html/constants.evaluate.js"(u,l){l.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),To=$({"src/language-html/utils/is-unknown-namespace.js"(u,l){ue();function t(a){return a.type==="element"&&!a.hasExplicitNamespace&&!["html","svg"].includes(a.namespace)}l.exports=t}}),$n=$({"src/language-html/utils/index.js"(u,l){ue();var{inferParserByLanguage:t,isFrontMatterNode:a}=Gt(),{builders:{line:s,hardline:e,join:r},utils:{getDocParts:n,replaceTextEndOfLine:o}}=wt(),{CSS_DISPLAY_TAGS:c,CSS_DISPLAY_DEFAULT:y,CSS_WHITE_SPACE_TAGS:m,CSS_WHITE_SPACE_DEFAULT:g}=xo(),p=To(),D=new Set([" ",`
+`,"\f","\r"," "]),C=v=>v.replace(/^[\t\n\f\r ]+/,""),w=v=>v.replace(/[\t\n\f\r ]+$/,""),k=v=>C(w(v)),A=v=>v.replace(/^[\t\f\r ]*\n/g,""),N=v=>A(w(v)),x=v=>v.split(/[\t\n\f\r ]+/),P=v=>v.match(/^[\t\n\f\r ]*/)[0],_=v=>{let[,K,ye,ze]=v.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:K,trailingWhitespace:ze,text:ye}},J=v=>/[\t\n\f\r ]/.test(v);function d(v,K){return!!(v.type==="ieConditionalComment"&&v.lastChild&&!v.lastChild.isSelfClosing&&!v.lastChild.endSourceSpan||v.type==="ieConditionalComment"&&!v.complete||Ce(v)&&v.children.some(ye=>ye.type!=="text"&&ye.type!=="interpolation")||oe(v,K)&&!i(v)&&v.type!=="interpolation")}function T(v){return v.type==="attribute"||!v.parent||!v.prev?!1:f(v.prev)}function f(v){return v.type==="comment"&&v.value.trim()==="prettier-ignore"}function F(v){return v.type==="text"||v.type==="comment"}function i(v){return v.type==="element"&&(v.fullName==="script"||v.fullName==="style"||v.fullName==="svg:style"||p(v)&&(v.name==="script"||v.name==="style"))}function h(v){return v.children&&!i(v)}function E(v){return i(v)||v.type==="interpolation"||b(v)}function b(v){return Ct(v).startsWith("pre")}function S(v,K){let ye=ze();if(ye&&!v.prev&&v.parent&&v.parent.tagDefinition&&v.parent.tagDefinition.ignoreFirstLf)return v.type==="interpolation";return ye;function ze(){return a(v)?!1:(v.type==="text"||v.type==="interpolation")&&v.prev&&(v.prev.type==="text"||v.prev.type==="interpolation")?!0:!v.parent||v.parent.cssDisplay==="none"?!1:Ce(v.parent)?!0:!(!v.prev&&(v.parent.type==="root"||Ce(v)&&v.parent||i(v.parent)||H(v.parent,K)||!_e(v.parent.cssDisplay))||v.prev&&!Q(v.prev.cssDisplay))}}function B(v,K){return a(v)?!1:(v.type==="text"||v.type==="interpolation")&&v.next&&(v.next.type==="text"||v.next.type==="interpolation")?!0:!v.parent||v.parent.cssDisplay==="none"?!1:Ce(v.parent)?!0:!(!v.next&&(v.parent.type==="root"||Ce(v)&&v.parent||i(v.parent)||H(v.parent,K)||!it(v.parent.cssDisplay))||v.next&&!ae(v.next.cssDisplay))}function I(v){return me(v.cssDisplay)&&!i(v)}function q(v){return a(v)||v.next&&v.sourceSpan.end&&v.sourceSpan.end.line+10&&(["body","script","style"].includes(v.name)||v.children.some(K=>fe(K)))||v.firstChild&&v.firstChild===v.lastChild&&v.firstChild.type!=="text"&&U(v.firstChild)&&(!v.lastChild.isTrailingSpaceSensitive||R(v.lastChild))}function M(v){return v.type==="element"&&v.children.length>0&&(["html","head","ul","ol","select"].includes(v.name)||v.cssDisplay.startsWith("table")&&v.cssDisplay!=="table-cell")}function te(v){return pe(v)||v.prev&&j(v.prev)||De(v)}function j(v){return pe(v)||v.type==="element"&&v.fullName==="br"||De(v)}function De(v){return U(v)&&R(v)}function U(v){return v.hasLeadingSpaces&&(v.prev?v.prev.sourceSpan.end.linev.sourceSpan.end.line:v.parent.type==="root"||v.parent.endSourceSpan&&v.parent.endSourceSpan.start.line>v.sourceSpan.end.line)}function pe(v){switch(v.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(v.name)}return!1}function be(v){return v.lastChild?be(v.lastChild):v}function fe(v){return v.children&&v.children.some(K=>K.type!=="text")}function Ie(v){let{type:K,lang:ye}=v.attrMap;if(K==="module"||K==="text/javascript"||K==="text/babel"||K==="application/javascript"||ye==="jsx")return"babel";if(K==="application/x-typescript"||ye==="ts"||ye==="tsx")return"typescript";if(K==="text/markdown")return"markdown";if(K==="text/html")return"html";if(K&&(K.endsWith("json")||K.endsWith("importmap"))||K==="speculationrules")return"json";if(K==="text/x-handlebars-template")return"glimmer"}function X(v,K){let{lang:ye}=v.attrMap;if(!ye||ye==="postcss"||ye==="css")return"css";if(ye==="scss")return"scss";if(ye==="less")return"less";if(ye==="stylus")return t("stylus",K)}function se(v,K){if(v.name==="script"&&!v.attrMap.src)return!v.attrMap.lang&&!v.attrMap.type?"babel":Ie(v);if(v.name==="style")return X(v,K);if(K&&oe(v,K))return Ie(v)||!("src"in v.attrMap)&&t(v.attrMap.lang,K)}function we(v){return v==="block"||v==="list-item"||v.startsWith("table")}function _e(v){return!we(v)&&v!=="inline-block"}function it(v){return!we(v)&&v!=="inline-block"}function ae(v){return!we(v)}function Q(v){return!we(v)}function me(v){return!we(v)&&v!=="inline-block"}function Ce(v){return Ct(v).startsWith("pre")}function Re(v,K){let ye=0;for(let ze=v.stack.length-1;ze>=0;ze--){let tt=v.stack[ze];tt&&typeof tt=="object"&&!Array.isArray(tt)&&K(tt)&&ye++}return ye}function Xe(v,K){let ye=v;for(;ye;){if(K(ye))return!0;ye=ye.parent}return!1}function Ye(v,K){if(v.prev&&v.prev.type==="comment"){let ze=v.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(ze)return ze[1]}let ye=!1;if(v.type==="element"&&v.namespace==="svg")if(Xe(v,ze=>ze.fullName==="svg:foreignObject"))ye=!0;else return v.name==="svg"?"inline-block":"block";switch(K.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return K.parser==="vue"&&v.parent&&v.parent.type==="root"?"block":v.type==="element"&&(!v.namespace||ye||p(v))&&c[v.name]||y}}function Ct(v){return v.type==="element"&&(!v.namespace||p(v))&&m[v.name]||g}function Rt(v){let K=Number.POSITIVE_INFINITY;for(let ye of v.split(`
+`)){if(ye.length===0)continue;if(!D.has(ye[0]))return 0;let ze=P(ye).length;ye.length!==ze&&ze1&&arguments[1]!==void 0?arguments[1]:Rt(v);return K===0?v:v.split(`
+`).map(ye=>ye.slice(K)).join(`
+`)}function Et(v,K){let ye=0;for(let ze=0;ze1&&arguments[1]!==void 0?arguments[1]:v.value;return v.parent.isWhitespaceSensitive?v.parent.isIndentationSensitive?o(K):o(It(N(K)),e):n(r(s,x(K)))}function Le(v,K){return ke(v,K)&&v.name==="script"}l.exports={htmlTrim:k,htmlTrimPreserveIndentation:N,hasHtmlWhitespace:J,getLeadingAndTrailingHtmlWhitespace:_,canHaveInterpolation:h,countChars:Et,countParents:Re,dedentString:It,forceBreakChildren:M,forceBreakContent:G,forceNextEmptyLine:q,getLastDescendant:be,getNodeCssStyleDisplay:Ye,getNodeCssStyleWhiteSpace:Ct,hasPrettierIgnore:T,inferScriptParser:se,isVueCustomBlock:H,isVueNonHtmlBlock:oe,isVueScriptTag:Le,isVueSlotAttribute:Be,isVueSfcBindingsAttribute:pt,isVueSfcBlock:ke,isDanglingSpaceSensitiveNode:I,isIndentationSensitiveNode:b,isLeadingSpaceSensitiveNode:S,isPreLikeNode:Ce,isScriptLikeTag:i,isTextLikeNode:F,isTrailingSpaceSensitiveNode:B,isWhitespaceSensitiveNode:E,isUnknownNamespace:p,preferHardlineAsLeadingSpaces:te,preferHardlineAsTrailingSpaces:j,shouldPreserveContent:d,unescapeQuoteEntities:bt,getTextValueParts:ut}}}),Bo=$({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0}),u.$EOF=0,u.$BSPACE=8,u.$TAB=9,u.$LF=10,u.$VTAB=11,u.$FF=12,u.$CR=13,u.$SPACE=32,u.$BANG=33,u.$DQ=34,u.$HASH=35,u.$$=36,u.$PERCENT=37,u.$AMPERSAND=38,u.$SQ=39,u.$LPAREN=40,u.$RPAREN=41,u.$STAR=42,u.$PLUS=43,u.$COMMA=44,u.$MINUS=45,u.$PERIOD=46,u.$SLASH=47,u.$COLON=58,u.$SEMICOLON=59,u.$LT=60,u.$EQ=61,u.$GT=62,u.$QUESTION=63,u.$0=48,u.$7=55,u.$9=57,u.$A=65,u.$E=69,u.$F=70,u.$X=88,u.$Z=90,u.$LBRACKET=91,u.$BACKSLASH=92,u.$RBRACKET=93,u.$CARET=94,u.$_=95,u.$a=97,u.$b=98,u.$e=101,u.$f=102,u.$n=110,u.$r=114,u.$t=116,u.$u=117,u.$v=118,u.$x=120,u.$z=122,u.$LBRACE=123,u.$BAR=124,u.$RBRACE=125,u.$NBSP=160,u.$PIPE=124,u.$TILDA=126,u.$AT=64,u.$BT=96;function l(n){return n>=u.$TAB&&n<=u.$SPACE||n==u.$NBSP}u.isWhitespace=l;function t(n){return u.$0<=n&&n<=u.$9}u.isDigit=t;function a(n){return n>=u.$a&&n<=u.$z||n>=u.$A&&n<=u.$Z}u.isAsciiLetter=a;function s(n){return n>=u.$a&&n<=u.$f||n>=u.$A&&n<=u.$F||t(n)}u.isAsciiHexDigit=s;function e(n){return n===u.$LF||n===u.$CR}u.isNewLine=e;function r(n){return u.$0<=n&&n<=u.$7}u.isOctalDigit=r}}),wo=$({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=class{constructor(a,s,e){this.filePath=a,this.name=s,this.members=e}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};u.StaticSymbol=l;var t=class{constructor(){this.cache=new Map}get(a,s,e){e=e||[];let r=e.length?`.${e.join(".")}`:"",n=`"${a}".${s}${r}`,o=this.cache.get(n);return o||(o=new l(a,s,e),this.cache.set(n,o)),o}};u.StaticSymbolCache=t}}),No=$({"node_modules/angular-html-parser/lib/compiler/src/util.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=/-+([a-z0-9])/g;function t(i){return i.replace(l,function(){for(var h=arguments.length,E=new Array(h),b=0;br(E,this,h))}visitStringMap(i,h){let E={};return Object.keys(i).forEach(b=>{E[b]=r(i[b],this,h)}),E}visitPrimitive(i,h){return i}visitOther(i,h){return i}};u.ValueTransformer=c,u.SyncAsync={assertSync:i=>{if(_(i))throw new Error("Illegal state: value cannot be a promise");return i},then:(i,h)=>_(i)?i.then(h):h(i),all:i=>i.some(_)?Promise.all(i):i};function y(i){throw new Error(`Internal Error: ${i}`)}u.error=y;function m(i,h){let E=Error(i);return E[g]=!0,h&&(E[p]=h),E}u.syntaxError=m;var g="ngSyntaxError",p="ngParseErrors";function D(i){return i[g]}u.isSyntaxError=D;function C(i){return i[p]||[]}u.getParseErrors=C;function w(i){return i.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}u.escapeRegExp=w;var k=Object.getPrototypeOf({});function A(i){return typeof i=="object"&&i!==null&&Object.getPrototypeOf(i)===k}function N(i){let h="";for(let E=0;E=55296&&b<=56319&&i.length>E+1){let S=i.charCodeAt(E+1);S>=56320&&S<=57343&&(E++,b=(b-55296<<10)+S-56320+65536)}b<=127?h+=String.fromCharCode(b):b<=2047?h+=String.fromCharCode(b>>6&31|192,b&63|128):b<=65535?h+=String.fromCharCode(b>>12|224,b>>6&63|128,b&63|128):b<=2097151&&(h+=String.fromCharCode(b>>18&7|240,b>>12&63|128,b>>6&63|128,b&63|128))}return h}u.utf8Encode=N;function x(i){if(typeof i=="string")return i;if(i instanceof Array)return"["+i.map(x).join(", ")+"]";if(i==null)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;if(!i.toString)return"object";let h=i.toString();if(h==null)return""+h;let E=h.indexOf(`
+`);return E===-1?h:h.substring(0,E)}u.stringify=x;function P(i){return typeof i=="function"&&i.hasOwnProperty("__forward_ref__")?i():i}u.resolveForwardRef=P;function _(i){return!!i&&typeof i.then=="function"}u.isPromise=_;var J=class{constructor(i){this.full=i;let h=i.split(".");this.major=h[0],this.minor=h[1],this.patch=h.slice(2).join(".")}};u.Version=J;var d=typeof window<"u"&&window,T=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,f=typeof globalThis<"u"&&globalThis,F=f||d||T;u.global=F}}),_o=$({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=wo(),t=No(),a=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function s(E){return E.replace(/\W/g,"_")}u.sanitizeIdentifier=s;var e=0;function r(E){if(!E||!E.reference)return null;let b=E.reference;if(b instanceof l.StaticSymbol)return b.name;if(b.__anonymousType)return b.__anonymousType;let S=t.stringify(b);return S.indexOf("(")>=0?(S=`anonymous_${e++}`,b.__anonymousType=S):S=s(S),S}u.identifierName=r;function n(E){let b=E.reference;return b instanceof l.StaticSymbol?b.filePath:`./${t.stringify(b)}`}u.identifierModuleUrl=n;function o(E,b){return`View_${r({reference:E})}_${b}`}u.viewClassName=o;function c(E){return`RenderType_${r({reference:E})}`}u.rendererTypeName=c;function y(E){return`HostView_${r({reference:E})}`}u.hostViewClassName=y;function m(E){return`${r({reference:E})}NgFactory`}u.componentFactoryName=m;var g;(function(E){E[E.Pipe=0]="Pipe",E[E.Directive=1]="Directive",E[E.NgModule=2]="NgModule",E[E.Injectable=3]="Injectable"})(g=u.CompileSummaryKind||(u.CompileSummaryKind={}));function p(E){return E.value!=null?s(E.value):r(E.identifier)}u.tokenName=p;function D(E){return E.identifier!=null?E.identifier.reference:E.value}u.tokenReference=D;var C=class{constructor(){let{moduleUrl:E,styles:b,styleUrls:S}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=E||null,this.styles=_(b),this.styleUrls=_(S)}};u.CompileStylesheetMetadata=C;var w=class{constructor(E){let{encapsulation:b,template:S,templateUrl:B,htmlAst:I,styles:q,styleUrls:G,externalStylesheets:M,animations:te,ngContentSelectors:j,interpolation:De,isInline:U,preserveWhitespaces:R}=E;if(this.encapsulation=b,this.template=S,this.templateUrl=B,this.htmlAst=I,this.styles=_(q),this.styleUrls=_(G),this.externalStylesheets=_(M),this.animations=te?d(te):[],this.ngContentSelectors=j||[],De&&De.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=De,this.isInline=U,this.preserveWhitespaces=R}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};u.CompileTemplateMetadata=w;var k=class{static create(E){let{isHost:b,type:S,isComponent:B,selector:I,exportAs:q,changeDetection:G,inputs:M,outputs:te,host:j,providers:De,viewProviders:U,queries:R,guards:pe,viewQueries:be,entryComponents:fe,template:Ie,componentViewType:X,rendererType:se,componentFactory:we}=E,_e={},it={},ae={};j!=null&&Object.keys(j).forEach(Ce=>{let Re=j[Ce],Xe=Ce.match(a);Xe===null?ae[Ce]=Re:Xe[1]!=null?it[Xe[1]]=Re:Xe[2]!=null&&(_e[Xe[2]]=Re)});let Q={};M==null||M.forEach(Ce=>{let Re=t.splitAtColon(Ce,[Ce,Ce]);Q[Re[0]]=Re[1]});let me={};return te==null||te.forEach(Ce=>{let Re=t.splitAtColon(Ce,[Ce,Ce]);me[Re[0]]=Re[1]}),new k({isHost:b,type:S,isComponent:!!B,selector:I,exportAs:q,changeDetection:G,inputs:Q,outputs:me,hostListeners:_e,hostProperties:it,hostAttributes:ae,providers:De,viewProviders:U,queries:R,guards:pe,viewQueries:be,entryComponents:fe,template:Ie,componentViewType:X,rendererType:se,componentFactory:we})}constructor(E){let{isHost:b,type:S,isComponent:B,selector:I,exportAs:q,changeDetection:G,inputs:M,outputs:te,hostListeners:j,hostProperties:De,hostAttributes:U,providers:R,viewProviders:pe,queries:be,guards:fe,viewQueries:Ie,entryComponents:X,template:se,componentViewType:we,rendererType:_e,componentFactory:it}=E;this.isHost=!!b,this.type=S,this.isComponent=B,this.selector=I,this.exportAs=q,this.changeDetection=G,this.inputs=M,this.outputs=te,this.hostListeners=j,this.hostProperties=De,this.hostAttributes=U,this.providers=_(R),this.viewProviders=_(pe),this.queries=_(be),this.guards=fe,this.viewQueries=_(Ie),this.entryComponents=_(X),this.template=se,this.componentViewType=we,this.rendererType=_e,this.componentFactory=it}toSummary(){return{summaryKind:g.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};u.CompileDirectiveMetadata=k;var A=class{constructor(E){let{type:b,name:S,pure:B}=E;this.type=b,this.name=S,this.pure=!!B}toSummary(){return{summaryKind:g.Pipe,type:this.type,name:this.name,pure:this.pure}}};u.CompilePipeMetadata=A;var N=class{};u.CompileShallowModuleMetadata=N;var x=class{constructor(E){let{type:b,providers:S,declaredDirectives:B,exportedDirectives:I,declaredPipes:q,exportedPipes:G,entryComponents:M,bootstrapComponents:te,importedModules:j,exportedModules:De,schemas:U,transitiveModule:R,id:pe}=E;this.type=b||null,this.declaredDirectives=_(B),this.exportedDirectives=_(I),this.declaredPipes=_(q),this.exportedPipes=_(G),this.providers=_(S),this.entryComponents=_(M),this.bootstrapComponents=_(te),this.importedModules=_(j),this.exportedModules=_(De),this.schemas=_(U),this.id=pe||null,this.transitiveModule=R||null}toSummary(){let E=this.transitiveModule;return{summaryKind:g.NgModule,type:this.type,entryComponents:E.entryComponents,providers:E.providers,modules:E.modules,exportedDirectives:E.exportedDirectives,exportedPipes:E.exportedPipes}}};u.CompileNgModuleMetadata=x;var P=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(E,b){this.providers.push({provider:E,module:b})}addDirective(E){this.directivesSet.has(E.reference)||(this.directivesSet.add(E.reference),this.directives.push(E))}addExportedDirective(E){this.exportedDirectivesSet.has(E.reference)||(this.exportedDirectivesSet.add(E.reference),this.exportedDirectives.push(E))}addPipe(E){this.pipesSet.has(E.reference)||(this.pipesSet.add(E.reference),this.pipes.push(E))}addExportedPipe(E){this.exportedPipesSet.has(E.reference)||(this.exportedPipesSet.add(E.reference),this.exportedPipes.push(E))}addModule(E){this.modulesSet.has(E.reference)||(this.modulesSet.add(E.reference),this.modules.push(E))}addEntryComponent(E){this.entryComponentsSet.has(E.componentType)||(this.entryComponentsSet.add(E.componentType),this.entryComponents.push(E))}};u.TransitiveCompileNgModuleMetadata=P;function _(E){return E||[]}var J=class{constructor(E,b){let{useClass:S,useValue:B,useExisting:I,useFactory:q,deps:G,multi:M}=b;this.token=E,this.useClass=S||null,this.useValue=B,this.useExisting=I,this.useFactory=q||null,this.dependencies=G||null,this.multi=!!M}};u.ProviderMeta=J;function d(E){return E.reduce((b,S)=>{let B=Array.isArray(S)?d(S):S;return b.concat(B)},[])}u.flatten=d;function T(E){return E.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function f(E,b,S){let B;return S.isInline?b.type.reference instanceof l.StaticSymbol?B=`${b.type.reference.filePath}.${b.type.reference.name}.html`:B=`${r(E)}/${r(b.type)}.html`:B=S.templateUrl,b.type.reference instanceof l.StaticSymbol?B:T(B)}u.templateSourceUrl=f;function F(E,b){let S=E.moduleUrl.split(/\/\\/g),B=S[S.length-1];return T(`css/${b}${B}.ngstyle.js`)}u.sharedStylesheetJitUrl=F;function i(E){return T(`${r(E.type)}/module.ngfactory.js`)}u.ngModuleJitUrl=i;function h(E,b){return T(`${r(E)}/${r(b.type)}.ngfactory.js`)}u.templateJitUrl=h}}),ko=$({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=Bo(),t=_o(),a=class{constructor(y,m,g,p){this.file=y,this.offset=m,this.line=g,this.col=p}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(y){let m=this.file.content,g=m.length,p=this.offset,D=this.line,C=this.col;for(;p>0&&y<0;)if(p--,y++,m.charCodeAt(p)==l.$LF){D--;let w=m.substr(0,p-1).lastIndexOf(String.fromCharCode(l.$LF));C=w>0?p-w:p}else C--;for(;p0;){let w=m.charCodeAt(p);p++,y--,w==l.$LF?(D++,C=0):C++}return new a(this.file,p,D,C)}getContext(y,m){let g=this.file.content,p=this.offset;if(p!=null){p>g.length-1&&(p=g.length-1);let D=p,C=0,w=0;for(;C