{i[g]=u(y,g,c)},...p),i}try(u){let{stack:i}=this,l=[...i];try{return u()}finally{i.length=0,i.push(...l)}}match(){let u=this.stack.length-1,i=null,l=this.stack[u--];for(var p=arguments.length,d=new Array(p),y=0;yu(y,g,p,d,c),p)}function u(i,l,p,d){let{stripTrailingHardline:y=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},g=s(Object.assign(Object.assign(Object.assign({},p),l),{},{parentParser:p.parser,originalText:i}),{passThrough:!0}),c=tu().parse(i,g),{ast:D}=c;i=c.text;let E=D.comments;delete D.comments,a.attach(E,D,i,g),g[Symbol.for("comments")]=E||[],g[Symbol.for("tokens")]=D.tokens||[];let _=d(D,g);return a.ensureAllCommentsPrinted(E),y?typeof _=="string"?_.replace(/(?:\r?\n)*$/,""):t(_):_}r.exports={printSubtree:n}}}),Wm=Z({"src/main/ast-to-doc.js"(e,r){"use strict";ne();var t=$m(),{builders:{hardline:s,addAlignmentToDoc:a},utils:{propagateBreaks:n}}=Me(),{printComments:u}=et(),i=Vm();function l(y,g){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:D}=g;D.preprocess&&(y=D.preprocess(y,g));let E=new Map,_=new t(y),w=F();return c>0&&(w=a([s,w],c,g.tabWidth)),n(w),w;function F(N,I){return N===void 0||N===_?A(I):Array.isArray(N)?_.call(()=>A(I),...N):_.call(()=>A(I),N)}function A(N){let I=_.getValue(),P=I&&typeof I=="object"&&N===void 0;if(P&&E.has(I))return E.get(I);let H=d(_,g,F,N);return P&&E.set(I,H),H}}function p(y,g){let{originalText:c,[Symbol.for("comments")]:D,locStart:E,locEnd:_}=g,w=E(y),F=_(y),A=new Set;for(let N of D)E(N)>=w&&_(N)<=F&&(N.printed=!0,A.add(N));return{doc:c.slice(w,F),printedComments:A}}function d(y,g,c,D){let E=y.getValue(),{printer:_}=g,w,F;if(_.hasPrettierIgnore&&_.hasPrettierIgnore(y))({doc:w,printedComments:F}=p(E,g));else{if(E)try{w=i.printSubtree(y,c,g,l)}catch(A){if(globalThis.PRETTIER_DEBUG)throw A}w||(w=_.print(y,g,c,D))}return(!_.willPrintOwnComments||!_.willPrintOwnComments(y,g))&&(w=u(y,w,g,F)),w}r.exports=l}}),Hm=Z({"src/main/range-util.js"(e,r){"use strict";ne();var t=Zt(),s=et(),a=D=>{let{parser:E}=D;return E==="json"||E==="json5"||E==="json-stringify"};function n(D,E){let _=[D.node,...D.parentNodes],w=new Set([E.node,...E.parentNodes]);return _.find(F=>d.has(F.type)&&w.has(F))}function u(D){let E=D.length-1;for(;;){let _=D[E];if(_&&(_.type==="Program"||_.type==="File"))E--;else break}return D.slice(0,E+1)}function i(D,E,_){let{locStart:w,locEnd:F}=_,A=D.node,N=E.node;if(A===N)return{startNode:A,endNode:N};let I=w(D.node);for(let H of u(E.parentNodes))if(w(H)>=I)N=H;else break;let P=F(E.node);for(let H of u(D.parentNodes)){if(F(H)<=P)A=H;else break;if(A===N)break}return{startNode:A,endNode:N}}function l(D,E,_,w){let F=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],A=arguments.length>5?arguments[5]:void 0,{locStart:N,locEnd:I}=_,P=N(D),H=I(D);if(!(E>H||E
w);let I=D.slice(w,F).search(/\S/),P=I===-1;if(!P)for(w+=I;F>w&&!/\S/.test(D[F-1]);--F);let H=l(_,w,E,(v,o)=>g(E,v,o),[],"rangeStart"),f=P?H:l(_,F,E,v=>g(E,v),[],"rangeEnd");if(!H||!f)return{rangeStart:0,rangeEnd:0};let b,m;if(a(E)){let v=n(H,f);b=v,m=v}else({startNode:b,endNode:m}=i(H,f,E));return{rangeStart:Math.min(A(b),A(m)),rangeEnd:Math.max(N(b),N(m))}}r.exports={calculateRange:c,findNodeAtOffset:l}}}),Gm=Z({"src/main/core.js"(e,r){"use strict";ne();var{diffArrays:t}=BD(),{printer:{printDocToString:s},debug:{printDocToDebug:a}}=Me(),{getAlignmentSize:n}=Ue(),{guessEndOfLine:u,convertEndOfLineToChars:i,countEndOfLineChars:l,normalizeEndOfLine:p}=Jn(),d=uo().normalize,y=Rm(),g=et(),c=tu(),D=Wm(),E=Hm(),_="\uFEFF",w=Symbol("cursor");function F(m,v,o){let h=v.comments;return h&&(delete v.comments,g.attach(h,v,m,o)),o[Symbol.for("comments")]=h||[],o[Symbol.for("tokens")]=v.tokens||[],o.originalText=m,h}function A(m,v){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!m||m.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:h,text:C}=c.parse(m,v);if(v.cursorOffset>=0){let k=E.findNodeAtOffset(h,v.cursorOffset,v);k&&k.node&&(v.cursorNode=k.node)}let S=F(C,h,v),x=D(h,v,o),T=s(x,v);if(g.ensureAllCommentsPrinted(S),o>0){let k=T.formatted.trim();T.cursorNodeStart!==void 0&&(T.cursorNodeStart-=T.formatted.indexOf(k)),T.formatted=k+i(v.endOfLine)}if(v.cursorOffset>=0){let k,M,R,q,U;if(v.cursorNode&&T.cursorNodeText?(k=v.locStart(v.cursorNode),M=C.slice(k,v.locEnd(v.cursorNode)),R=v.cursorOffset-k,q=T.cursorNodeStart,U=T.cursorNodeText):(k=0,M=C,R=v.cursorOffset,q=0,U=T.formatted),M===U)return{formatted:T.formatted,cursorOffset:q+R,comments:S};let L=[...M];L.splice(R,0,w);let Y=[...U],V=t(L,Y),j=q;for(let K of V)if(K.removed){if(K.value.includes(w))break}else j+=K.count;return{formatted:T.formatted,cursorOffset:j,comments:S}}return{formatted:T.formatted,cursorOffset:-1,comments:S}}function N(m,v){let{ast:o,text:h}=c.parse(m,v),{rangeStart:C,rangeEnd:S}=E.calculateRange(h,v,o),x=h.slice(C,S),T=Math.min(C,h.lastIndexOf(`
`,C)+1),k=h.slice(T,C).match(/^\s*/)[0],M=n(k,v.tabWidth),R=A(x,Object.assign(Object.assign({},v),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:v.cursorOffset>C&&v.cursorOffset<=S?v.cursorOffset-C:-1,endOfLine:"lf"}),M),q=R.formatted.trimEnd(),{cursorOffset:U}=v;U>S?U+=q.length-x.length:R.cursorOffset>=0&&(U=R.cursorOffset+C);let L=h.slice(0,C)+q+h.slice(S);if(v.endOfLine!=="lf"){let Y=i(v.endOfLine);U>=0&&Y===`\r
`&&(U+=l(L.slice(0,U),`
`)),L=L.replace(/\n/g,Y)}return{formatted:L,cursorOffset:U,comments:R.comments}}function I(m,v,o){return typeof v!="number"||Number.isNaN(v)||v<0||v>m.length?o:v}function P(m,v){let{cursorOffset:o,rangeStart:h,rangeEnd:C}=v;return o=I(m,o,-1),h=I(m,h,0),C=I(m,C,m.length),Object.assign(Object.assign({},v),{},{cursorOffset:o,rangeStart:h,rangeEnd:C})}function H(m,v){let{cursorOffset:o,rangeStart:h,rangeEnd:C,endOfLine:S}=P(m,v),x=m.charAt(0)===_;if(x&&(m=m.slice(1),o--,h--,C--),S==="auto"&&(S=u(m)),m.includes("\r")){let T=k=>l(m.slice(0,Math.max(k,0)),`\r
`);o-=T(o),h-=T(h),C-=T(C),m=p(m)}return{hasBOM:x,text:m,options:P(m,Object.assign(Object.assign({},v),{},{cursorOffset:o,rangeStart:h,rangeEnd:C,endOfLine:S}))}}function f(m,v){let o=c.resolveParser(v);return!o.hasPragma||o.hasPragma(m)}function b(m,v){let{hasBOM:o,text:h,options:C}=H(m,d(v));if(C.rangeStart>=C.rangeEnd&&h!==""||C.requirePragma&&!f(h,C))return{formatted:m,cursorOffset:v.cursorOffset,comments:[]};let S;return C.rangeStart>0||C.rangeEnd=0&&S.cursorOffset++),S}r.exports={formatWithCursor:b,parse(m,v,o){let{text:h,options:C}=H(m,d(v)),S=c.parse(h,C);return o&&(S.ast=y(S.ast,C)),S},formatAST(m,v){v=d(v);let o=D(m,v);return s(o,v)},formatDoc(m,v){return b(a(m),Object.assign(Object.assign({},v),{},{parser:"__js_expression"})).formatted},printToDoc(m,v){v=d(v);let{ast:o,text:h}=c.parse(m,v);return F(h,o,v),D(o,v)},printDocToString(m,v){return s(m,d(v))}}}}),Um=Z({"src/common/util-shared.js"(e,r){"use strict";ne();var{getMaxContinuousCount:t,getStringWidth:s,getAlignmentSize:a,getIndentSize:n,skip:u,skipWhitespace:i,skipSpaces:l,skipNewline:p,skipToLineEnd:d,skipEverythingButNewLine:y,skipInlineComment:g,skipTrailingComment:c,hasNewline:D,hasNewlineInRange:E,hasSpaces:_,isNextLineEmpty:w,isNextLineEmptyAfterIndex:F,isPreviousLineEmpty:A,getNextNonSpaceNonCommentCharacterIndex:N,makeString:I,addLeadingComment:P,addDanglingComment:H,addTrailingComment:f}=Ue();r.exports={getMaxContinuousCount:t,getStringWidth:s,getAlignmentSize:a,getIndentSize:n,skip:u,skipWhitespace:i,skipSpaces:l,skipNewline:p,skipToLineEnd:d,skipEverythingButNewLine:y,skipInlineComment:g,skipTrailingComment:c,hasNewline:D,hasNewlineInRange:E,hasSpaces:_,isNextLineEmpty:w,isNextLineEmptyAfterIndex:F,isPreviousLineEmpty:A,getNextNonSpaceNonCommentCharacterIndex:N,makeString:I,addLeadingComment:P,addDanglingComment:H,addTrailingComment:f}}}),_t=Z({"src/utils/create-language.js"(e,r){"use strict";ne(),r.exports=function(t,s){let{languageId:a}=t,n=Hn(t,CD);return Object.assign(Object.assign({linguistLanguageId:a},n),s(t))}}}),Jm=Z({"node_modules/esutils/lib/ast.js"(e,r){ne(),function(){"use strict";function t(l){if(l==null)return!1;switch(l.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function s(l){if(l==null)return!1;switch(l.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function a(l){if(l==null)return!1;switch(l.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(l){return a(l)||l!=null&&l.type==="FunctionDeclaration"}function u(l){switch(l.type){case"IfStatement":return l.alternate!=null?l.alternate:l.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return l.body}return null}function i(l){var p;if(l.type!=="IfStatement"||l.alternate==null)return!1;p=l.consequent;do{if(p.type==="IfStatement"&&p.alternate==null)return!0;p=u(p)}while(p);return!1}r.exports={isExpression:t,isStatement:a,isIterationStatement:s,isSourceElement:n,isProblematicIfStatement:i,trailingStatement:u}}()}}),so=Z({"node_modules/esutils/lib/code.js"(e,r){ne(),function(){"use strict";var t,s,a,n,u,i;s={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function l(F){return 48<=F&&F<=57}function p(F){return 48<=F&&F<=57||97<=F&&F<=102||65<=F&&F<=70}function d(F){return F>=48&&F<=55}a=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function y(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&a.indexOf(F)>=0}function g(F){return F===10||F===13||F===8232||F===8233}function c(F){if(F<=65535)return String.fromCharCode(F);var A=String.fromCharCode(Math.floor((F-65536)/1024)+55296),N=String.fromCharCode((F-65536)%1024+56320);return A+N}for(n=new Array(128),i=0;i<128;++i)n[i]=i>=97&&i<=122||i>=65&&i<=90||i===36||i===95;for(u=new Array(128),i=0;i<128;++i)u[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||i===36||i===95;function D(F){return F<128?n[F]:s.NonAsciiIdentifierStart.test(c(F))}function E(F){return F<128?u[F]:s.NonAsciiIdentifierPart.test(c(F))}function _(F){return F<128?n[F]:t.NonAsciiIdentifierStart.test(c(F))}function w(F){return F<128?u[F]:t.NonAsciiIdentifierPart.test(c(F))}r.exports={isDecimalDigit:l,isHexDigit:p,isOctalDigit:d,isWhiteSpace:y,isLineTerminator:g,isIdentifierStartES5:D,isIdentifierPartES5:E,isIdentifierStartES6:_,isIdentifierPartES6:w}}()}}),zm=Z({"node_modules/esutils/lib/keyword.js"(e,r){ne(),function(){"use strict";var t=so();function s(D){switch(D){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function a(D,E){return!E&&D==="yield"?!1:n(D,E)}function n(D,E){if(E&&s(D))return!0;switch(D.length){case 2:return D==="if"||D==="in"||D==="do";case 3:return D==="var"||D==="for"||D==="new"||D==="try";case 4:return D==="this"||D==="else"||D==="case"||D==="void"||D==="with"||D==="enum";case 5:return D==="while"||D==="break"||D==="catch"||D==="throw"||D==="const"||D==="yield"||D==="class"||D==="super";case 6:return D==="return"||D==="typeof"||D==="delete"||D==="switch"||D==="export"||D==="import";case 7:return D==="default"||D==="finally"||D==="extends";case 8:return D==="function"||D==="continue"||D==="debugger";case 10:return D==="instanceof";default:return!1}}function u(D,E){return D==="null"||D==="true"||D==="false"||a(D,E)}function i(D,E){return D==="null"||D==="true"||D==="false"||n(D,E)}function l(D){return D==="eval"||D==="arguments"}function p(D){var E,_,w;if(D.length===0||(w=D.charCodeAt(0),!t.isIdentifierStartES5(w)))return!1;for(E=1,_=D.length;E<_;++E)if(w=D.charCodeAt(E),!t.isIdentifierPartES5(w))return!1;return!0}function d(D,E){return(D-55296)*1024+(E-56320)+65536}function y(D){var E,_,w,F,A;if(D.length===0)return!1;for(A=t.isIdentifierStartES6,E=0,_=D.length;E<_;++E){if(w=D.charCodeAt(E),55296<=w&&w<=56319){if(++E,E>=_||(F=D.charCodeAt(E),!(56320<=F&&F<=57343)))return!1;w=d(w,F)}if(!A(w))return!1;A=t.isIdentifierPartES6}return!0}function g(D,E){return p(D)&&!u(D,E)}function c(D,E){return y(D)&&!i(D,E)}r.exports={isKeywordES5:a,isKeywordES6:n,isReservedWordES5:u,isReservedWordES6:i,isRestrictedWord:l,isIdentifierNameES5:p,isIdentifierNameES6:y,isIdentifierES5:g,isIdentifierES6:c}}()}}),Xm=Z({"node_modules/esutils/lib/utils.js"(e){ne(),function(){"use strict";e.ast=Jm(),e.code=so(),e.keyword=zm()}()}}),Ot=Z({"src/language-js/utils/is-block-comment.js"(e,r){"use strict";ne();var t=new Set(["Block","CommentBlock","MultiLine"]),s=a=>t.has(a==null?void 0:a.type);r.exports=s}}),Km=Z({"src/language-js/utils/is-node-matches.js"(e,r){"use strict";ne();function t(a,n){let u=n.split(".");for(let i=u.length-1;i>=0;i--){let l=u[i];if(i===0)return a.type==="Identifier"&&a.name===l;if(a.type!=="MemberExpression"||a.optional||a.computed||a.property.type!=="Identifier"||a.property.name!==l)return!1;a=a.object}}function s(a,n){return n.some(u=>t(a,u))}r.exports=s}}),Ke=Z({"src/language-js/utils/index.js"(e,r){"use strict";ne();var t=Xm().keyword.isIdentifierNameES5,{getLast:s,hasNewline:a,skipWhitespace:n,isNonEmptyArray:u,isNextLineEmptyAfterIndex:i,getStringWidth:l}=Ue(),{locStart:p,locEnd:d,hasSameLocStart:y}=ut(),g=Ot(),c=Km(),D="(?:(?=.)\\s)",E=new RegExp(`^${D}*:`),_=new RegExp(`^${D}*::`);function w(O){var me,Pe;return((me=O.extra)===null||me===void 0?void 0:me.parenthesized)&&g((Pe=O.trailingComments)===null||Pe===void 0?void 0:Pe[0])&&E.test(O.trailingComments[0].value)}function F(O){let me=O==null?void 0:O[0];return g(me)&&_.test(me.value)}function A(O,me){if(!O||typeof O!="object")return!1;if(Array.isArray(O))return O.some(He=>A(He,me));let Pe=me(O);return typeof Pe=="boolean"?Pe:Object.values(O).some(He=>A(He,me))}function N(O){return O.type==="AssignmentExpression"||O.type==="BinaryExpression"||O.type==="LogicalExpression"||O.type==="NGPipeExpression"||O.type==="ConditionalExpression"||de(O)||ie(O)||O.type==="SequenceExpression"||O.type==="TaggedTemplateExpression"||O.type==="BindExpression"||O.type==="UpdateExpression"&&!O.prefix||st(O)||O.type==="TSNonNullExpression"}function I(O){var me,Pe,He,Ge,it,Qe;return O.expressions?O.expressions[0]:(me=(Pe=(He=(Ge=(it=(Qe=O.left)!==null&&Qe!==void 0?Qe:O.test)!==null&&it!==void 0?it:O.callee)!==null&&Ge!==void 0?Ge:O.object)!==null&&He!==void 0?He:O.tag)!==null&&Pe!==void 0?Pe:O.argument)!==null&&me!==void 0?me:O.expression}function P(O,me){if(me.expressions)return["expressions",0];if(me.left)return["left"];if(me.test)return["test"];if(me.object)return["object"];if(me.callee)return["callee"];if(me.tag)return["tag"];if(me.argument)return["argument"];if(me.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function H(O){return O=new Set(O),me=>O.has(me==null?void 0:me.type)}var f=H(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),b=H(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function m(O){let me=O.getParentNode();return O.getName()==="declaration"&&b(me)?me:null}var v=H(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function o(O){return O.type==="NumericLiteral"||O.type==="Literal"&&typeof O.value=="number"}function h(O){return O.type==="UnaryExpression"&&(O.operator==="+"||O.operator==="-")&&o(O.argument)}function C(O){return O.type==="StringLiteral"||O.type==="Literal"&&typeof O.value=="string"}var S=H(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),x=H(["FunctionExpression","ArrowFunctionExpression"]);function T(O){return O.type==="FunctionExpression"||O.type==="ArrowFunctionExpression"&&O.body.type==="BlockStatement"}function k(O){return de(O)&&O.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(O.callee.name)}var M=H(["JSXElement","JSXFragment"]);function R(O,me){if(O.parentParser!=="markdown"&&O.parentParser!=="mdx")return!1;let Pe=me.getNode();if(!Pe.expression||!M(Pe.expression))return!1;let He=me.getParentNode();return He.type==="Program"&&He.body.length===1}function q(O){return O.kind==="get"||O.kind==="set"}function U(O){return q(O)||y(O,O.value)}function L(O){return(O.type==="ObjectTypeProperty"||O.type==="ObjectTypeInternalSlot")&&O.value.type==="FunctionTypeAnnotation"&&!O.static&&!U(O)}function Y(O){return(O.type==="TypeAnnotation"||O.type==="TSTypeAnnotation")&&O.typeAnnotation.type==="FunctionTypeAnnotation"&&!O.static&&!y(O,O.typeAnnotation)}var V=H(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function j(O){return ie(O)||O.type==="BindExpression"&&Boolean(O.object)}var K=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function se(O){return O?!!((O.type==="GenericTypeAnnotation"||O.type==="TSTypeReference")&&!O.typeParameters||K.has(O.type)):!1}function Q(O){let me=/^(?:before|after)(?:Each|All)$/;return O.callee.type==="Identifier"&&me.test(O.callee.name)&&O.arguments.length===1}var ce=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function W(O){return c(O,ce)}function X(O,me){if(O.type!=="CallExpression")return!1;if(O.arguments.length===1){if(k(O)&&me&&X(me))return x(O.arguments[0]);if(Q(O))return k(O.arguments[0])}else if((O.arguments.length===2||O.arguments.length===3)&&(O.arguments[0].type==="TemplateLiteral"||C(O.arguments[0]))&&W(O.callee))return O.arguments[2]&&!o(O.arguments[2])?!1:(O.arguments.length===2?x(O.arguments[1]):T(O.arguments[1])&&he(O.arguments[1]).length<=1)||k(O.arguments[1]);return!1}var de=H(["CallExpression","OptionalCallExpression"]),ie=H(["MemberExpression","OptionalMemberExpression"]);function Ee(O){let me="expressions";O.type==="TSTemplateLiteralType"&&(me="types");let Pe=O[me];return Pe.length===0?!1:Pe.every(He=>{if(Re(He))return!1;if(He.type==="Identifier"||He.type==="ThisExpression")return!0;if(ie(He)){let Ge=He;for(;ie(Ge);)if(Ge.property.type!=="Identifier"&&Ge.property.type!=="Literal"&&Ge.property.type!=="StringLiteral"&&Ge.property.type!=="NumericLiteral"||(Ge=Ge.object,Re(Ge)))return!1;return Ge.type==="Identifier"||Ge.type==="ThisExpression"}return!1})}function z(O,me){return O==="+"||O==="-"?O+me:me}function ue(O,me){let Pe=p(me),He=n(O,d(me));return He!==!1&&O.slice(Pe,Pe+2)==="/*"&&O.slice(He,He+2)==="*/"}function J(O,me){return M(me)?je(me):Re(me,Be.Leading,Pe=>a(O,d(Pe)))}function le(O,me){return me.parser!=="json"&&C(O.key)&&De(O.key).slice(1,-1)===O.key.value&&(t(O.key.value)&&!(me.parser==="babel-ts"&&O.type==="ClassProperty"||me.parser==="typescript"&&O.type==="PropertyDefinition")||ge(O.key.value)&&String(Number(O.key.value))===O.key.value&&(me.parser==="babel"||me.parser==="acorn"||me.parser==="espree"||me.parser==="meriyah"||me.parser==="__babel_estree"))}function ge(O){return/^(?:\d+|\d+\.\d+)$/.test(O)}function pe(O,me){let Pe=/^[fx]?(?:describe|it|test)$/;return me.type==="TaggedTemplateExpression"&&me.quasi===O&&me.tag.type==="MemberExpression"&&me.tag.property.type==="Identifier"&&me.tag.property.name==="each"&&(me.tag.object.type==="Identifier"&&Pe.test(me.tag.object.name)||me.tag.object.type==="MemberExpression"&&me.tag.object.property.type==="Identifier"&&(me.tag.object.property.name==="only"||me.tag.object.property.name==="skip")&&me.tag.object.object.type==="Identifier"&&Pe.test(me.tag.object.object.name))}function Ae(O){return O.quasis.some(me=>me.value.raw.includes(`
`))}function Ce(O,me){return(O.type==="TemplateLiteral"&&Ae(O)||O.type==="TaggedTemplateExpression"&&Ae(O.quasi))&&!a(me,p(O),{backwards:!0})}function Oe(O){if(!Re(O))return!1;let me=s(ae(O,Be.Dangling));return me&&!g(me)}function Ie(O){if(O.length<=1)return!1;let me=0;for(let Pe of O)if(x(Pe)){if(me+=1,me>1)return!0}else if(de(Pe)){for(let He of Pe.arguments)if(x(He))return!0}return!1}function we(O){let me=O.getValue(),Pe=O.getParentNode();return de(me)&&de(Pe)&&Pe.callee===me&&me.arguments.length>Pe.arguments.length&&Pe.arguments.length>0}function _e(O,me){if(me>=2)return!1;let Pe=Qe=>_e(Qe,me+1),He=O.type==="Literal"&&"regex"in O&&O.regex.pattern||O.type==="RegExpLiteral"&&O.pattern;if(He&&l(He)>5)return!1;if(O.type==="Literal"||O.type==="BigIntLiteral"||O.type==="DecimalLiteral"||O.type==="BooleanLiteral"||O.type==="NullLiteral"||O.type==="NumericLiteral"||O.type==="RegExpLiteral"||O.type==="StringLiteral"||O.type==="Identifier"||O.type==="ThisExpression"||O.type==="Super"||O.type==="PrivateName"||O.type==="PrivateIdentifier"||O.type==="ArgumentPlaceholder"||O.type==="Import")return!0;if(O.type==="TemplateLiteral")return O.quasis.every(Qe=>!Qe.value.raw.includes(`
`))&&O.expressions.every(Pe);if(O.type==="ObjectExpression")return O.properties.every(Qe=>!Qe.computed&&(Qe.shorthand||Qe.value&&Pe(Qe.value)));if(O.type==="ArrayExpression")return O.elements.every(Qe=>Qe===null||Pe(Qe));if(tt(O))return(O.type==="ImportExpression"||_e(O.callee,me))&&Ye(O).every(Pe);if(ie(O))return _e(O.object,me)&&_e(O.property,me);let Ge={"!":!0,"-":!0,"+":!0,"~":!0};if(O.type==="UnaryExpression"&&Ge[O.operator])return _e(O.argument,me);let it={"++":!0,"--":!0};return O.type==="UpdateExpression"&&it[O.operator]?_e(O.argument,me):O.type==="TSNonNullExpression"?_e(O.expression,me):!1}function De(O){var me,Pe;return(me=(Pe=O.extra)===null||Pe===void 0?void 0:Pe.raw)!==null&&me!==void 0?me:O.raw}function G(O){return O}function oe(O){return O.filepath&&/\.tsx$/i.test(O.filepath)}function ee(O){let me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return O.trailingComma==="es5"&&me==="es5"||O.trailingComma==="all"&&(me==="all"||me==="es5")}function re(O,me){switch(O.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return re(O.left,me);case"MemberExpression":case"OptionalMemberExpression":return re(O.object,me);case"TaggedTemplateExpression":return O.tag.type==="FunctionExpression"?!1:re(O.tag,me);case"CallExpression":case"OptionalCallExpression":return O.callee.type==="FunctionExpression"?!1:re(O.callee,me);case"ConditionalExpression":return re(O.test,me);case"UpdateExpression":return!O.prefix&&re(O.argument,me);case"BindExpression":return O.object&&re(O.object,me);case"SequenceExpression":return re(O.expressions[0],me);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return re(O.expression,me);default:return me(O)}}var be={"==":!0,"!=":!0,"===":!0,"!==":!0},ve={"*":!0,"/":!0,"%":!0},fe={">>":!0,">>>":!0,"<<":!0};function B(O,me){return!(te(me)!==te(O)||O==="**"||be[O]&&be[me]||me==="%"&&ve[O]||O==="%"&&ve[me]||me!==O&&ve[me]&&ve[O]||fe[O]&&fe[me])}var $=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((O,me)=>O.map(Pe=>[Pe,me])));function te(O){return $.get(O)}function ye(O){return Boolean(fe[O])||O==="|"||O==="^"||O==="&"}function Fe(O){var me;if(O.rest)return!0;let Pe=he(O);return((me=s(Pe))===null||me===void 0?void 0:me.type)==="RestElement"}var Ne=new WeakMap;function he(O){if(Ne.has(O))return Ne.get(O);let me=[];return O.this&&me.push(O.this),Array.isArray(O.parameters)?me.push(...O.parameters):Array.isArray(O.params)&&me.push(...O.params),O.rest&&me.push(O.rest),Ne.set(O,me),me}function ze(O,me){let Pe=O.getValue(),He=0,Ge=it=>me(it,He++);Pe.this&&O.call(Ge,"this"),Array.isArray(Pe.parameters)?O.each(Ge,"parameters"):Array.isArray(Pe.params)&&O.each(Ge,"params"),Pe.rest&&O.call(Ge,"rest")}var Te=new WeakMap;function Ye(O){if(Te.has(O))return Te.get(O);let me=O.arguments;return O.type==="ImportExpression"&&(me=[O.source],O.attributes&&me.push(O.attributes)),Te.set(O,me),me}function Se(O,me){let Pe=O.getValue();Pe.type==="ImportExpression"?(O.call(He=>me(He,0),"source"),Pe.attributes&&O.call(He=>me(He,1),"attributes")):O.each(me,"arguments")}function ke(O){return O.value.trim()==="prettier-ignore"&&!O.unignore}function je(O){return O&&(O.prettierIgnore||Re(O,Be.PrettierIgnore))}function Je(O){let me=O.getValue();return je(me)}var Be={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},qe=(O,me)=>{if(typeof O=="function"&&(me=O,O=0),O||me)return(Pe,He,Ge)=>!(O&Be.Leading&&!Pe.leading||O&Be.Trailing&&!Pe.trailing||O&Be.Dangling&&(Pe.leading||Pe.trailing)||O&Be.Block&&!g(Pe)||O&Be.Line&&!f(Pe)||O&Be.First&&He!==0||O&Be.Last&&He!==Ge.length-1||O&Be.PrettierIgnore&&!ke(Pe)||me&&!me(Pe))};function Re(O,me,Pe){if(!u(O==null?void 0:O.comments))return!1;let He=qe(me,Pe);return He?O.comments.some(He):!0}function ae(O,me,Pe){if(!Array.isArray(O==null?void 0:O.comments))return[];let He=qe(me,Pe);return He?O.comments.filter(He):O.comments}var nt=(O,me)=>{let{originalText:Pe}=me;return i(Pe,d(O))};function tt(O){return de(O)||O.type==="NewExpression"||O.type==="ImportExpression"}function Ve(O){return O&&(O.type==="ObjectProperty"||O.type==="Property"&&!O.method&&O.kind==="init")}function We(O){return Boolean(O.__isUsingHackPipeline)}var Xe=Symbol("ifWithoutBlockAndSameLineComment");function st(O){return O.type==="TSAsExpression"||O.type==="TSSatisfiesExpression"}r.exports={getFunctionParameters:he,iterateFunctionParametersPath:ze,getCallArguments:Ye,iterateCallArgumentsPath:Se,hasRestParameter:Fe,getLeftSide:I,getLeftSidePathName:P,getParentExportDeclaration:m,getTypeScriptMappedTypeModifier:z,hasFlowAnnotationComment:F,hasFlowShorthandAnnotationComment:w,hasLeadingOwnLineComment:J,hasNakedLeftSide:N,hasNode:A,hasIgnoreComment:Je,hasNodeIgnoreComment:je,identity:G,isBinaryish:V,isCallLikeExpression:tt,isEnabledHackPipeline:We,isLineComment:f,isPrettierIgnoreComment:ke,isCallExpression:de,isMemberExpression:ie,isExportDeclaration:b,isFlowAnnotationComment:ue,isFunctionCompositionArgs:Ie,isFunctionNotation:U,isFunctionOrArrowExpression:x,isGetterOrSetter:q,isJestEachTemplateLiteral:pe,isJsxNode:M,isLiteral:v,isLongCurriedCallExpression:we,isSimpleCallArgument:_e,isMemberish:j,isNumericLiteral:o,isSignedNumericLiteral:h,isObjectProperty:Ve,isObjectType:S,isObjectTypePropertyAFunction:L,isSimpleType:se,isSimpleNumber:ge,isSimpleTemplateLiteral:Ee,isStringLiteral:C,isStringPropSafeToUnquote:le,isTemplateOnItsOwnLine:Ce,isTestCall:X,isTheOnlyJsxElementInMarkdown:R,isTSXFile:oe,isTypeAnnotationAFunction:Y,isNextLineEmpty:nt,needsHardlineAfterDanglingComment:Oe,rawText:De,shouldPrintComma:ee,isBitwiseOperator:ye,shouldFlatten:B,startsWithNoLookaheadToken:re,getPrecedence:te,hasComment:Re,getComments:ae,CommentCheckFlags:Be,markerForIfWithoutBlockAndSameLineComment:Xe,isTSTypeExpression:st}}}),jt=Z({"src/language-js/print/template-literal.js"(e,r){"use strict";ne();var t=lt(),{getStringWidth:s,getIndentSize:a}=Ue(),{builders:{join:n,hardline:u,softline:i,group:l,indent:p,align:d,lineSuffixBoundary:y,addAlignmentToDoc:g},printer:{printDocToString:c},utils:{mapDoc:D}}=Me(),{isBinaryish:E,isJestEachTemplateLiteral:_,isSimpleTemplateLiteral:w,hasComment:F,isMemberExpression:A,isTSTypeExpression:N}=Ke();function I(v,o,h){let C=v.getValue();if(C.type==="TemplateLiteral"&&_(C,v.getParentNode())){let R=P(v,h,o);if(R)return R}let x="expressions";C.type==="TSTemplateLiteralType"&&(x="types");let T=[],k=v.map(o,x),M=w(C);return M&&(k=k.map(R=>c(R,Object.assign(Object.assign({},h),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),T.push(y,"`"),v.each(R=>{let q=R.getName();if(T.push(o()),q1||S.some(x=>x.length>0)){o.__inJestEach=!0;let x=v.map(h,"expressions");o.__inJestEach=!1;let T=[],k=x.map(L=>"${"+c(L,Object.assign(Object.assign({},o),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),M=[{hasLineBreak:!1,cells:[]}];for(let L=1;LL.cells.length)),q=Array.from({length:R}).fill(0),U=[{cells:S},...M.filter(L=>L.cells.length>0)];for(let{cells:L}of U.filter(Y=>!Y.hasLineBreak))for(let[Y,V]of L.entries())q[Y]=Math.max(q[Y],s(V));return T.push(y,"`",p([u,n(u,U.map(L=>n(" | ",L.cells.map((Y,V)=>L.hasLineBreak?Y:Y+" ".repeat(q[V]-s(Y))))))]),u,"`"),T}}function H(v,o){let h=v.getValue(),C=o();return F(h)&&(C=l([p([i,C]),i])),["${",C,y,"}"]}function f(v,o){return v.map(h=>H(h,o),"expressions")}function b(v,o){return D(v,h=>typeof h=="string"?o?h.replace(/(\\*)`/g,"$1$1\\`"):m(h):h)}function m(v){return v.replace(/([\\`]|\${)/g,"\\$1")}r.exports={printTemplateLiteral:I,printTemplateExpressions:f,escapeTemplateCharacters:b,uncookTemplateElementValue:m}}}),Ym=Z({"src/language-js/embed/markdown.js"(e,r){"use strict";ne();var{builders:{indent:t,softline:s,literalline:a,dedentToRoot:n}}=Me(),{escapeTemplateCharacters:u}=jt();function i(p,d,y){let c=p.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(w,F)=>"\\".repeat(F.length/2)+"`"),D=l(c),E=D!=="";E&&(c=c.replace(new RegExp(`^${D}`,"gm"),""));let _=u(y(c,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",E?t([s,_]):[a,n(_)],s,"`"]}function l(p){let d=p.match(/^([^\S\n]*)\S/m);return d===null?"":d[1]}r.exports=i}}),Qm=Z({"src/language-js/embed/css.js"(e,r){"use strict";ne();var{isNonEmptyArray:t}=Ue(),{builders:{indent:s,hardline:a,softline:n},utils:{mapDoc:u,replaceEndOfLine:i,cleanDoc:l}}=Me(),{printTemplateExpressions:p}=jt();function d(c,D,E){let _=c.getValue(),w=_.quasis.map(P=>P.value.raw),F=0,A=w.reduce((P,H,f)=>f===0?H:P+"@prettier-placeholder-"+F+++"-id"+H,""),N=E(A,{parser:"scss"},{stripTrailingHardline:!0}),I=p(c,D);return y(N,_,I)}function y(c,D,E){if(D.quasis.length===1&&!D.quasis[0].value.raw.trim())return"``";let w=g(c,E);if(!w)throw new Error("Couldn't insert all the expressions");return["`",s([a,w]),n,"`"]}function g(c,D){if(!t(D))return c;let E=0,_=u(l(c),w=>typeof w!="string"||!w.includes("@prettier-placeholder")?w:w.split(/@prettier-placeholder-(\d+)-id/).map((F,A)=>A%2===0?i(F):(E++,D[F])));return D.length===E?_:null}r.exports=d}}),Zm=Z({"src/language-js/embed/graphql.js"(e,r){"use strict";ne();var{builders:{indent:t,join:s,hardline:a}}=Me(),{escapeTemplateCharacters:n,printTemplateExpressions:u}=jt();function i(p,d,y){let g=p.getValue(),c=g.quasis.length;if(c===1&&g.quasis[0].value.raw.trim()==="")return"``";let D=u(p,d),E=[];for(let _=0;_2&&I[0].trim()===""&&I[1].trim()==="",b=P>2&&I[P-1].trim()===""&&I[P-2].trim()==="",m=I.every(o=>/^\s*(?:#[^\n\r]*)?$/.test(o));if(!A&&/#[^\n\r]*$/.test(I[P-1]))return null;let v=null;m?v=l(I):v=y(N,{parser:"graphql"},{stripTrailingHardline:!0}),v?(v=n(v,!1),!F&&f&&E.push(""),E.push(v),!A&&b&&E.push("")):!F&&!A&&f&&E.push(""),H&&E.push(H)}return["`",t([a,s(a,E)]),a,"`"]}function l(p){let d=[],y=!1,g=p.map(c=>c.trim());for(let[c,D]of g.entries())D!==""&&(g[c-1]===""&&y?d.push([a,D]):d.push(D),y=!0);return d.length===0?null:s(a,d)}r.exports=i}}),ed=Z({"src/language-js/embed/html.js"(e,r){"use strict";ne();var{builders:{indent:t,line:s,hardline:a,group:n},utils:{mapDoc:u}}=Me(),{printTemplateExpressions:i,uncookTemplateElementValue:l}=jt(),p=0;function d(y,g,c,D,E){let{parser:_}=E,w=y.getValue(),F=p;p=p+1>>>0;let A=h=>`PRETTIER_HTML_PLACEHOLDER_${h}_${F}_IN_JS`,N=w.quasis.map((h,C,S)=>C===S.length-1?h.value.cooked:h.value.cooked+A(C)).join(""),I=i(y,g);if(I.length===0&&N.trim().length===0)return"``";let P=new RegExp(A("(\\d+)"),"g"),H=0,f=c(N,{parser:_,__onHtmlRoot(h){H=h.children.length}},{stripTrailingHardline:!0}),b=u(f,h=>{if(typeof h!="string")return h;let C=[],S=h.split(P);for(let x=0;x1?t(n(b)):n(b),v,"`"])}r.exports=d}}),td=Z({"src/language-js/embed.js"(e,r){"use strict";ne();var{hasComment:t,CommentCheckFlags:s,isObjectProperty:a}=Ke(),n=Ym(),u=Qm(),i=Zm(),l=ed();function p(f){if(g(f)||_(f)||w(f)||c(f))return"css";if(N(f))return"graphql";if(P(f))return"html";if(D(f))return"angular";if(y(f))return"markdown"}function d(f,b,m,v){let o=f.getValue();if(o.type!=="TemplateLiteral"||H(o))return;let h=p(f);if(h){if(h==="markdown")return n(f,b,m);if(h==="css")return u(f,b,m);if(h==="graphql")return i(f,b,m);if(h==="html"||h==="angular")return l(f,b,m,v,{parser:h})}}function y(f){let b=f.getValue(),m=f.getParentNode();return m&&m.type==="TaggedTemplateExpression"&&b.quasis.length===1&&m.tag.type==="Identifier"&&(m.tag.name==="md"||m.tag.name==="markdown")}function g(f){let b=f.getValue(),m=f.getParentNode(),v=f.getParentNode(1);return v&&b.quasis&&m.type==="JSXExpressionContainer"&&v.type==="JSXElement"&&v.openingElement.name.name==="style"&&v.openingElement.attributes.some(o=>o.name.name==="jsx")||m&&m.type==="TaggedTemplateExpression"&&m.tag.type==="Identifier"&&m.tag.name==="css"||m&&m.type==="TaggedTemplateExpression"&&m.tag.type==="MemberExpression"&&m.tag.object.name==="css"&&(m.tag.property.name==="global"||m.tag.property.name==="resolve")}function c(f){return f.match(b=>b.type==="TemplateLiteral",(b,m)=>b.type==="ArrayExpression"&&m==="elements",(b,m)=>a(b)&&b.key.type==="Identifier"&&b.key.name==="styles"&&m==="value",...E)}function D(f){return f.match(b=>b.type==="TemplateLiteral",(b,m)=>a(b)&&b.key.type==="Identifier"&&b.key.name==="template"&&m==="value",...E)}var E=[(f,b)=>f.type==="ObjectExpression"&&b==="properties",(f,b)=>f.type==="CallExpression"&&f.callee.type==="Identifier"&&f.callee.name==="Component"&&b==="arguments",(f,b)=>f.type==="Decorator"&&b==="expression"];function _(f){let b=f.getParentNode();if(!b||b.type!=="TaggedTemplateExpression")return!1;let m=b.tag.type==="ParenthesizedExpression"?b.tag.expression:b.tag;switch(m.type){case"MemberExpression":return F(m.object)||A(m);case"CallExpression":return F(m.callee)||m.callee.type==="MemberExpression"&&(m.callee.object.type==="MemberExpression"&&(F(m.callee.object.object)||A(m.callee.object))||m.callee.object.type==="CallExpression"&&F(m.callee.object.callee));case"Identifier":return m.name==="css";default:return!1}}function w(f){let b=f.getParentNode(),m=f.getParentNode(1);return m&&b.type==="JSXExpressionContainer"&&m.type==="JSXAttribute"&&m.name.type==="JSXIdentifier"&&m.name.name==="css"}function F(f){return f.type==="Identifier"&&f.name==="styled"}function A(f){return/^[A-Z]/.test(f.object.name)&&f.property.name==="extend"}function N(f){let b=f.getValue(),m=f.getParentNode();return I(b,"GraphQL")||m&&(m.type==="TaggedTemplateExpression"&&(m.tag.type==="MemberExpression"&&m.tag.object.name==="graphql"&&m.tag.property.name==="experimental"||m.tag.type==="Identifier"&&(m.tag.name==="gql"||m.tag.name==="graphql"))||m.type==="CallExpression"&&m.callee.type==="Identifier"&&m.callee.name==="graphql")}function I(f,b){return t(f,s.Block|s.Leading,m=>{let{value:v}=m;return v===` ${b} `})}function P(f){return I(f.getValue(),"HTML")||f.match(b=>b.type==="TemplateLiteral",(b,m)=>b.type==="TaggedTemplateExpression"&&b.tag.type==="Identifier"&&b.tag.name==="html"&&m==="quasi")}function H(f){let{quasis:b}=f;return b.some(m=>{let{value:{cooked:v}}=m;return v===null})}r.exports=d}}),rd=Z({"src/language-js/clean.js"(e,r){"use strict";ne();var t=Ot(),s=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),a=u=>{for(let i of u.quasis)delete i.value};function n(u,i,l){if(u.type==="Program"&&delete i.sourceType,(u.type==="BigIntLiteral"||u.type==="BigIntLiteralTypeAnnotation")&&i.value&&(i.value=i.value.toLowerCase()),(u.type==="BigIntLiteral"||u.type==="Literal")&&i.bigint&&(i.bigint=i.bigint.toLowerCase()),u.type==="DecimalLiteral"&&(i.value=Number(i.value)),u.type==="Literal"&&i.decimal&&(i.decimal=Number(i.decimal)),u.type==="EmptyStatement"||u.type==="JSXText"||u.type==="JSXExpressionContainer"&&(u.expression.type==="Literal"||u.expression.type==="StringLiteral")&&u.expression.value===" ")return null;if((u.type==="Property"||u.type==="ObjectProperty"||u.type==="MethodDefinition"||u.type==="ClassProperty"||u.type==="ClassMethod"||u.type==="PropertyDefinition"||u.type==="TSDeclareMethod"||u.type==="TSPropertySignature"||u.type==="ObjectTypeProperty")&&typeof u.key=="object"&&u.key&&(u.key.type==="Literal"||u.key.type==="NumericLiteral"||u.key.type==="StringLiteral"||u.key.type==="Identifier")&&delete i.key,u.type==="JSXElement"&&u.openingElement.name.name==="style"&&u.openingElement.attributes.some(y=>y.name.name==="jsx"))for(let{type:y,expression:g}of i.children)y==="JSXExpressionContainer"&&g.type==="TemplateLiteral"&&a(g);u.type==="JSXAttribute"&&u.name.name==="css"&&u.value.type==="JSXExpressionContainer"&&u.value.expression.type==="TemplateLiteral"&&a(i.value.expression),u.type==="JSXAttribute"&&u.value&&u.value.type==="Literal"&&/["']|"|'/.test(u.value.value)&&(i.value.value=i.value.value.replace(/["']|"|'/g,'"'));let p=u.expression||u.callee;if(u.type==="Decorator"&&p.type==="CallExpression"&&p.callee.name==="Component"&&p.arguments.length===1){let y=u.expression.arguments[0].properties;for(let[g,c]of i.expression.arguments[0].properties.entries())switch(y[g].key.name){case"styles":c.value.type==="ArrayExpression"&&a(c.value.elements[0]);break;case"template":c.value.type==="TemplateLiteral"&&a(c.value);break}}if(u.type==="TaggedTemplateExpression"&&(u.tag.type==="MemberExpression"||u.tag.type==="Identifier"&&(u.tag.name==="gql"||u.tag.name==="graphql"||u.tag.name==="css"||u.tag.name==="md"||u.tag.name==="markdown"||u.tag.name==="html")||u.tag.type==="CallExpression")&&a(i.quasi),u.type==="TemplateLiteral"){var d;(((d=u.leadingComments)===null||d===void 0?void 0:d.some(g=>t(g)&&["GraphQL","HTML"].some(c=>g.value===` ${c} `)))||l.type==="CallExpression"&&l.callee.name==="graphql"||!u.leadingComments)&&a(i)}if(u.type==="InterpreterDirective"&&(i.value=i.value.trimEnd()),(u.type==="TSIntersectionType"||u.type==="TSUnionType")&&u.types.length===1)return i.types[0]}n.ignoredProperties=s,r.exports=n}}),io={};Kt(io,{EOL:()=>Wn,arch:()=>nd,cpus:()=>Do,default:()=>vo,endianness:()=>ao,freemem:()=>po,getNetworkInterfaces:()=>ho,hostname:()=>oo,loadavg:()=>lo,networkInterfaces:()=>yo,platform:()=>ud,release:()=>go,tmpDir:()=>$n,tmpdir:()=>Vn,totalmem:()=>fo,type:()=>mo,uptime:()=>co});function ao(){if(typeof Tr>"u"){var e=new ArrayBuffer(2),r=new Uint8Array(e),t=new Uint16Array(e);if(r[0]=1,r[1]=2,t[0]===258)Tr="BE";else if(t[0]===513)Tr="LE";else throw new Error("unable to figure out endianess")}return Tr}function oo(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function lo(){return[]}function co(){return 0}function po(){return Number.MAX_VALUE}function fo(){return Number.MAX_VALUE}function Do(){return[]}function mo(){return"Browser"}function go(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function yo(){}function ho(){}function nd(){return"javascript"}function ud(){return"browser"}function $n(){return"/tmp"}var Tr,Vn,Wn,vo,sd=ht({"node-modules-polyfills:os"(){ne(),Vn=$n,Wn=`
`,vo={EOL:Wn,tmpdir:Vn,tmpDir:$n,networkInterfaces:yo,getNetworkInterfaces:ho,release:go,type:mo,cpus:Do,totalmem:fo,freemem:po,uptime:co,loadavg:lo,hostname:oo,endianness:ao}}}),id=Z({"node-modules-polyfills-commonjs:os"(e,r){ne();var t=(sd(),ft(io));if(t&&t.default){r.exports=t.default;for(let s in t)r.exports[s]=t[s]}else t&&(r.exports=t)}}),ad=Z({"node_modules/detect-newline/index.js"(e,r){"use strict";ne();var t=s=>{if(typeof s!="string")throw new TypeError("Expected a string");let a=s.match(/(?:\r?\n)/g)||[];if(a.length===0)return;let n=a.filter(i=>i===`\r
`).length,u=a.length-n;return n>u?`\r
`:`
`};r.exports=t,r.exports.graceful=s=>typeof s=="string"&&t(s)||`
`}}),od=Z({"node_modules/jest-docblock/build/index.js"(e){"use strict";ne(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=c,e.parse=E,e.parseWithComments=_,e.print=w,e.strip=D;function r(){let A=id();return r=function(){return A},A}function t(){let A=s(ad());return t=function(){return A},A}function s(A){return A&&A.__esModule?A:{default:A}}var a=/\*\/$/,n=/^\/\*\*?/,u=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,i=/(^|\s+)\/\/([^\r\n]*)/g,l=/^(\r?\n)+/,p=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,d=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,y=/(\r?\n|^) *\* ?/g,g=[];function c(A){let N=A.match(u);return N?N[0].trimLeft():""}function D(A){let N=A.match(u);return N&&N[0]?A.substring(N[0].length):A}function E(A){return _(A).pragmas}function _(A){let N=(0,t().default)(A)||r().EOL;A=A.replace(n,"").replace(a,"").replace(y,"$1");let I="";for(;I!==A;)I=A,A=A.replace(p,`${N}$1 $2${N}`);A=A.replace(l,"").trimRight();let P=Object.create(null),H=A.replace(d,"").replace(l,"").trimRight(),f;for(;f=d.exec(A);){let b=f[2].replace(i,"");typeof P[f[1]]=="string"||Array.isArray(P[f[1]])?P[f[1]]=g.concat(P[f[1]],b):P[f[1]]=b}return{comments:H,pragmas:P}}function w(A){let{comments:N="",pragmas:I={}}=A,P=(0,t().default)(N)||r().EOL,H="/**",f=" *",b=" */",m=Object.keys(I),v=m.map(h=>F(h,I[h])).reduce((h,C)=>h.concat(C),[]).map(h=>`${f} ${h}${P}`).join("");if(!N){if(m.length===0)return"";if(m.length===1&&!Array.isArray(I[m[0]])){let h=I[m[0]];return`${H} ${F(m[0],h)[0]}${b}`}}let o=N.split(P).map(h=>`${f} ${h}`).join(P)+P;return H+P+(N?o:"")+(N&&m.length?f+P:"")+v+b}function F(A,N){return g.concat(N).map(I=>`@${A} ${I}`.trim())}}}),ld=Z({"src/language-js/utils/get-shebang.js"(e,r){"use strict";ne();function t(s){if(!s.startsWith("#!"))return"";let a=s.indexOf(`
`);return a===-1?s:s.slice(0,a)}r.exports=t}}),Co=Z({"src/language-js/pragma.js"(e,r){"use strict";ne();var{parseWithComments:t,strip:s,extract:a,print:n}=od(),{normalizeEndOfLine:u}=Jn(),i=ld();function l(y){let g=i(y);g&&(y=y.slice(g.length+1));let c=a(y),{pragmas:D,comments:E}=t(c);return{shebang:g,text:y,pragmas:D,comments:E}}function p(y){let g=Object.keys(l(y).pragmas);return g.includes("prettier")||g.includes("format")}function d(y){let{shebang:g,text:c,pragmas:D,comments:E}=l(y),_=s(c),w=n({pragmas:Object.assign({format:""},D),comments:E.trimStart()});return(g?`${g}
`:"")+u(w)+(_.startsWith(`
`)?`
`:`
`)+_}r.exports={hasPragma:p,insertPragma:d}}}),Eo=Z({"src/language-js/comments.js"(e,r){"use strict";ne();var{getLast:t,hasNewline:s,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:a,getNextNonSpaceNonCommentCharacter:n,hasNewlineInRange:u,addLeadingComment:i,addTrailingComment:l,addDanglingComment:p,getNextNonSpaceNonCommentCharacterIndex:d,isNonEmptyArray:y}=Ue(),{getFunctionParameters:g,isPrettierIgnoreComment:c,isJsxNode:D,hasFlowShorthandAnnotationComment:E,hasFlowAnnotationComment:_,hasIgnoreComment:w,isCallLikeExpression:F,getCallArguments:A,isCallExpression:N,isMemberExpression:I,isObjectProperty:P,isLineComment:H,getComments:f,CommentCheckFlags:b,markerForIfWithoutBlockAndSameLineComment:m}=Ke(),{locStart:v,locEnd:o}=ut(),h=Ot();function C(fe){return[De,ie,L,R,q,U,K,pe,J,ge,Ae,Ce,Q,Ee,z].some(B=>B(fe))}function S(fe){return[M,ie,Y,Ae,R,q,U,K,Ee,ue,le,ge,we,z,oe].some(B=>B(fe))}function x(fe){return[De,R,q,V,de,Q,ge,X,W,G,z,_e].some(B=>B(fe))}function T(fe,B){let $=(fe.body||fe.properties).find(te=>{let{type:ye}=te;return ye!=="EmptyStatement"});$?i($,B):p(fe,B)}function k(fe,B){fe.type==="BlockStatement"?T(fe,B):i(fe,B)}function M(fe){let{comment:B,followingNode:$}=fe;return $&&be(B)?(i($,B),!0):!1}function R(fe){let{comment:B,precedingNode:$,enclosingNode:te,followingNode:ye,text:Fe}=fe;if((te==null?void 0:te.type)!=="IfStatement"||!ye)return!1;if(n(Fe,B,o)===")")return l($,B),!0;if($===te.consequent&&ye===te.alternate){if($.type==="BlockStatement")l($,B);else{let he=B.type==="SingleLine"||B.loc.start.line===B.loc.end.line,ze=B.loc.start.line===$.loc.start.line;he&&ze?p($,B,m):p(te,B)}return!0}return ye.type==="BlockStatement"?(T(ye,B),!0):ye.type==="IfStatement"?(k(ye.consequent,B),!0):te.consequent===ye?(i(ye,B),!0):!1}function q(fe){let{comment:B,precedingNode:$,enclosingNode:te,followingNode:ye,text:Fe}=fe;return(te==null?void 0:te.type)!=="WhileStatement"||!ye?!1:n(Fe,B,o)===")"?(l($,B),!0):ye.type==="BlockStatement"?(T(ye,B),!0):te.body===ye?(i(ye,B),!0):!1}function U(fe){let{comment:B,precedingNode:$,enclosingNode:te,followingNode:ye}=fe;return(te==null?void 0:te.type)!=="TryStatement"&&(te==null?void 0:te.type)!=="CatchClause"||!ye?!1:te.type==="CatchClause"&&$?(l($,B),!0):ye.type==="BlockStatement"?(T(ye,B),!0):ye.type==="TryStatement"?(k(ye.finalizer,B),!0):ye.type==="CatchClause"?(k(ye.body,B),!0):!1}function L(fe){let{comment:B,enclosingNode:$,followingNode:te}=fe;return I($)&&(te==null?void 0:te.type)==="Identifier"?(i($,B),!0):!1}function Y(fe){let{comment:B,precedingNode:$,enclosingNode:te,followingNode:ye,text:Fe}=fe,Ne=$&&!u(Fe,o($),v(B));return(!$||!Ne)&&((te==null?void 0:te.type)==="ConditionalExpression"||(te==null?void 0:te.type)==="TSConditionalType")&&ye?(i(ye,B),!0):!1}function V(fe){let{comment:B,precedingNode:$,enclosingNode:te}=fe;return P(te)&&te.shorthand&&te.key===$&&te.value.type==="AssignmentPattern"?(l(te.value.left,B),!0):!1}var j=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function K(fe){let{comment:B,precedingNode:$,enclosingNode:te,followingNode:ye}=fe;if(j.has(te==null?void 0:te.type)){if(y(te.decorators)&&!(ye&&ye.type==="Decorator"))return l(t(te.decorators),B),!0;if(te.body&&ye===te.body)return T(te.body,B),!0;if(ye){if(te.superClass&&ye===te.superClass&&$&&($===te.id||$===te.typeParameters))return l($,B),!0;for(let Fe of["implements","extends","mixins"])if(te[Fe]&&ye===te[Fe][0])return $&&($===te.id||$===te.typeParameters||$===te.superClass)?l($,B):p(te,B,Fe),!0}}return!1}var se=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function Q(fe){let{comment:B,precedingNode:$,enclosingNode:te,text:ye}=fe;return te&&$&&n(ye,B,o)==="("&&(te.type==="Property"||te.type==="TSDeclareMethod"||te.type==="TSAbstractMethodDefinition")&&$.type==="Identifier"&&te.key===$&&n(ye,$,o)!==":"||($==null?void 0:$.type)==="Decorator"&&se.has(te==null?void 0:te.type)?(l($,B),!0):!1}var ce=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function W(fe){let{comment:B,precedingNode:$,enclosingNode:te,text:ye}=fe;return n(ye,B,o)!=="("?!1:$&&ce.has(te==null?void 0:te.type)?(l($,B),!0):!1}function X(fe){let{comment:B,enclosingNode:$,text:te}=fe;if(($==null?void 0:$.type)!=="ArrowFunctionExpression")return!1;let ye=d(te,B,o);return ye!==!1&&te.slice(ye,ye+2)==="=>"?(p($,B),!0):!1}function de(fe){let{comment:B,enclosingNode:$,text:te}=fe;return n(te,B,o)!==")"?!1:$&&(ee($)&&g($).length===0||F($)&&A($).length===0)?(p($,B),!0):(($==null?void 0:$.type)==="MethodDefinition"||($==null?void 0:$.type)==="TSAbstractMethodDefinition")&&g($.value).length===0?(p($.value,B),!0):!1}function ie(fe){let{comment:B,precedingNode:$,enclosingNode:te,followingNode:ye,text:Fe}=fe;if(($==null?void 0:$.type)==="FunctionTypeParam"&&(te==null?void 0:te.type)==="FunctionTypeAnnotation"&&(ye==null?void 0:ye.type)!=="FunctionTypeParam"||(($==null?void 0:$.type)==="Identifier"||($==null?void 0:$.type)==="AssignmentPattern")&&te&&ee(te)&&n(Fe,B,o)===")")return l($,B),!0;if((te==null?void 0:te.type)==="FunctionDeclaration"&&(ye==null?void 0:ye.type)==="BlockStatement"){let Ne=(()=>{let he=g(te);if(he.length>0)return a(Fe,o(t(he)));let ze=a(Fe,o(te.id));return ze!==!1&&a(Fe,ze+1)})();if(v(B)>Ne)return T(ye,B),!0}return!1}function Ee(fe){let{comment:B,enclosingNode:$}=fe;return($==null?void 0:$.type)==="LabeledStatement"?(i($,B),!0):!1}function z(fe){let{comment:B,enclosingNode:$}=fe;return(($==null?void 0:$.type)==="ContinueStatement"||($==null?void 0:$.type)==="BreakStatement")&&!$.label?(l($,B),!0):!1}function ue(fe){let{comment:B,precedingNode:$,enclosingNode:te}=fe;return N(te)&&$&&te.callee===$&&te.arguments.length>0?(i(te.arguments[0],B),!0):!1}function J(fe){let{comment:B,precedingNode:$,enclosingNode:te,followingNode:ye}=fe;return(te==null?void 0:te.type)==="UnionTypeAnnotation"||(te==null?void 0:te.type)==="TSUnionType"?(c(B)&&(ye.prettierIgnore=!0,B.unignore=!0),$?(l($,B),!0):!1):(((ye==null?void 0:ye.type)==="UnionTypeAnnotation"||(ye==null?void 0:ye.type)==="TSUnionType")&&c(B)&&(ye.types[0].prettierIgnore=!0,B.unignore=!0),!1)}function le(fe){let{comment:B,enclosingNode:$}=fe;return P($)?(i($,B),!0):!1}function ge(fe){let{comment:B,enclosingNode:$,followingNode:te,ast:ye,isLastComment:Fe}=fe;return ye&&ye.body&&ye.body.length===0?(Fe?p(ye,B):i(ye,B),!0):($==null?void 0:$.type)==="Program"&&($==null?void 0:$.body.length)===0&&!y($.directives)?(Fe?p($,B):i($,B),!0):(te==null?void 0:te.type)==="Program"&&(te==null?void 0:te.body.length)===0&&($==null?void 0:$.type)==="ModuleExpression"?(p(te,B),!0):!1}function pe(fe){let{comment:B,enclosingNode:$}=fe;return($==null?void 0:$.type)==="ForInStatement"||($==null?void 0:$.type)==="ForOfStatement"?(i($,B),!0):!1}function Ae(fe){let{comment:B,precedingNode:$,enclosingNode:te,text:ye}=fe;if((te==null?void 0:te.type)==="ImportSpecifier"||(te==null?void 0:te.type)==="ExportSpecifier")return i(te,B),!0;let Fe=($==null?void 0:$.type)==="ImportSpecifier"&&(te==null?void 0:te.type)==="ImportDeclaration",Ne=($==null?void 0:$.type)==="ExportSpecifier"&&(te==null?void 0:te.type)==="ExportNamedDeclaration";return(Fe||Ne)&&s(ye,o(B))?(l($,B),!0):!1}function Ce(fe){let{comment:B,enclosingNode:$}=fe;return($==null?void 0:$.type)==="AssignmentPattern"?(i($,B),!0):!1}var Oe=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),Ie=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function we(fe){let{comment:B,enclosingNode:$,followingNode:te}=fe;return Oe.has($==null?void 0:$.type)&&te&&(Ie.has(te.type)||h(B))?(i(te,B),!0):!1}function _e(fe){let{comment:B,enclosingNode:$,followingNode:te,text:ye}=fe;return!te&&(($==null?void 0:$.type)==="TSMethodSignature"||($==null?void 0:$.type)==="TSDeclareFunction"||($==null?void 0:$.type)==="TSAbstractMethodDefinition")&&n(ye,B,o)===";"?(l($,B),!0):!1}function De(fe){let{comment:B,enclosingNode:$,followingNode:te}=fe;if(c(B)&&($==null?void 0:$.type)==="TSMappedType"&&(te==null?void 0:te.type)==="TSTypeParameter"&&te.constraint)return $.prettierIgnore=!0,B.unignore=!0,!0}function G(fe){let{comment:B,precedingNode:$,enclosingNode:te,followingNode:ye}=fe;return(te==null?void 0:te.type)!=="TSMappedType"?!1:(ye==null?void 0:ye.type)==="TSTypeParameter"&&ye.name?(i(ye.name,B),!0):($==null?void 0:$.type)==="TSTypeParameter"&&$.constraint?(l($.constraint,B),!0):!1}function oe(fe){let{comment:B,enclosingNode:$,followingNode:te}=fe;return!$||$.type!=="SwitchCase"||$.test||!te||te!==$.consequent[0]?!1:(te.type==="BlockStatement"&&H(B)?T(te,B):p($,B),!0)}function ee(fe){return fe.type==="ArrowFunctionExpression"||fe.type==="FunctionExpression"||fe.type==="FunctionDeclaration"||fe.type==="ObjectMethod"||fe.type==="ClassMethod"||fe.type==="TSDeclareFunction"||fe.type==="TSCallSignatureDeclaration"||fe.type==="TSConstructSignatureDeclaration"||fe.type==="TSMethodSignature"||fe.type==="TSConstructorType"||fe.type==="TSFunctionType"||fe.type==="TSDeclareMethod"}function re(fe,B){if((B.parser==="typescript"||B.parser==="flow"||B.parser==="acorn"||B.parser==="espree"||B.parser==="meriyah"||B.parser==="__babel_estree")&&fe.type==="MethodDefinition"&&fe.value&&fe.value.type==="FunctionExpression"&&g(fe.value).length===0&&!fe.value.returnType&&!y(fe.value.typeParameters)&&fe.value.body)return[...fe.decorators||[],fe.key,fe.value.body]}function be(fe){return h(fe)&&fe.value[0]==="*"&&/@type\b/.test(fe.value)}function ve(fe){let B=fe.getValue(),$=fe.getParentNode(),te=ye=>_(f(ye,b.Leading))||_(f(ye,b.Trailing));return(B&&(D(B)||E(B)||N($)&&te(B))||$&&($.type==="JSXSpreadAttribute"||$.type==="JSXSpreadChild"||$.type==="UnionTypeAnnotation"||$.type==="TSUnionType"||($.type==="ClassDeclaration"||$.type==="ClassExpression")&&$.superClass===B))&&(!w(fe)||$.type==="UnionTypeAnnotation"||$.type==="TSUnionType")}r.exports={handleOwnLineComment:C,handleEndOfLineComment:S,handleRemainingComment:x,isTypeCastComment:be,getCommentChildNodes:re,willPrintOwnComments:ve}}}),qt=Z({"src/language-js/needs-parens.js"(e,r){"use strict";ne();var t=lt(),s=Kn(),{getFunctionParameters:a,getLeftSidePathName:n,hasFlowShorthandAnnotationComment:u,hasNakedLeftSide:i,hasNode:l,isBitwiseOperator:p,startsWithNoLookaheadToken:d,shouldFlatten:y,getPrecedence:g,isCallExpression:c,isMemberExpression:D,isObjectProperty:E,isTSTypeExpression:_}=Ke();function w(f,b){let m=f.getParentNode();if(!m)return!1;let v=f.getName(),o=f.getNode();if(b.__isInHtmlInterpolation&&!b.bracketSpacing&&I(o)&&P(f))return!0;if(F(o))return!1;if(b.parser!=="flow"&&u(f.getValue()))return!0;if(o.type==="Identifier"){if(o.extra&&o.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(o.name)||v==="left"&&(o.name==="async"&&!m.await||o.name==="let")&&m.type==="ForOfStatement")return!0;if(o.name==="let"){var h;let S=(h=f.findAncestor(x=>x.type==="ForOfStatement"))===null||h===void 0?void 0:h.left;if(S&&d(S,x=>x===o))return!0}if(v==="object"&&o.name==="let"&&m.type==="MemberExpression"&&m.computed&&!m.optional){let S=f.findAncestor(T=>T.type==="ExpressionStatement"||T.type==="ForStatement"||T.type==="ForInStatement"),x=S?S.type==="ExpressionStatement"?S.expression:S.type==="ForStatement"?S.init:S.left:void 0;if(x&&d(x,T=>T===o))return!0}return!1}if(o.type==="ObjectExpression"||o.type==="FunctionExpression"||o.type==="ClassExpression"||o.type==="DoExpression"){var C;let S=(C=f.findAncestor(x=>x.type==="ExpressionStatement"))===null||C===void 0?void 0:C.expression;if(S&&d(S,x=>x===o))return!0}switch(m.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(v==="superClass"&&(o.type==="ArrowFunctionExpression"||o.type==="AssignmentExpression"||o.type==="AwaitExpression"||o.type==="BinaryExpression"||o.type==="ConditionalExpression"||o.type==="LogicalExpression"||o.type==="NewExpression"||o.type==="ObjectExpression"||o.type==="SequenceExpression"||o.type==="TaggedTemplateExpression"||o.type==="UnaryExpression"||o.type==="UpdateExpression"||o.type==="YieldExpression"||o.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return H(f,b)||o.type==="SequenceExpression";case"Decorator":{if(v==="expression"){let S=!1,x=!1,T=o;for(;T;)switch(T.type){case"MemberExpression":x=!0,T=T.object;break;case"CallExpression":if(x||S)return b.parser!=="typescript";S=!0,T=T.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return b.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if(v==="body"&&o.type!=="SequenceExpression"&&d(o,S=>S.type==="ObjectExpression"))return!0;break}}switch(o.type){case"UpdateExpression":if(m.type==="UnaryExpression")return o.prefix&&(o.operator==="++"&&m.operator==="+"||o.operator==="--"&&m.operator==="-");case"UnaryExpression":switch(m.type){case"UnaryExpression":return o.operator===m.operator&&(o.operator==="+"||o.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return v==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return v==="callee";case"BinaryExpression":return v==="left"&&m.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(m.type==="UpdateExpression"||o.operator==="in"&&A(f))return!0;if(o.operator==="|>"&&o.extra&&o.extra.parenthesized){let S=f.getParentNode(1);if(S.type==="BinaryExpression"&&S.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(m.type){case"TSSatisfiesExpression":case"TSAsExpression":return!_(o);case"ConditionalExpression":return _(o);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return v==="callee";case"ClassExpression":case"ClassDeclaration":return v==="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 v==="object";case"AssignmentExpression":case"AssignmentPattern":return v==="left"&&(o.type==="TSTypeAssertion"||_(o));case"LogicalExpression":if(o.type==="LogicalExpression")return m.operator!==o.operator;case"BinaryExpression":{let{operator:S,type:x}=o;if(!S&&x!=="TSTypeAssertion")return!0;let T=g(S),k=m.operator,M=g(k);return M>T||v==="right"&&M===T||M===T&&!y(k,S)?!0:M");default:return!1}case"TSConditionalType":if(v==="extendsType"&&m.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(v==="extendsType"&&m.type==="TSConditionalType"){let S=(o.returnType||o.typeAnnotation).typeAnnotation;if(S.type==="TSInferType"&&S.typeParameter.constraint)return!0}if(v==="checkType"&&m.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((m.type==="TSUnionType"||m.type==="TSIntersectionType")&&m.types.length>1&&(!o.types||o.types.length>1))return!0;case"TSInferType":if(o.type==="TSInferType"&&m.type==="TSRestType")return!1;case"TSTypeOperator":return m.type==="TSArrayType"||m.type==="TSOptionalType"||m.type==="TSRestType"||v==="objectType"&&m.type==="TSIndexedAccessType"||m.type==="TSTypeOperator"||m.type==="TSTypeAnnotation"&&f.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return v==="objectType"&&m.type==="TSIndexedAccessType"||v==="elementType"&&m.type==="TSArrayType";case"ArrayTypeAnnotation":return m.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return m.type==="ArrayTypeAnnotation"||m.type==="NullableTypeAnnotation"||m.type==="IntersectionTypeAnnotation"||m.type==="UnionTypeAnnotation"||v==="objectType"&&(m.type==="IndexedAccessType"||m.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return m.type==="ArrayTypeAnnotation"||v==="objectType"&&(m.type==="IndexedAccessType"||m.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let S=m.type==="NullableTypeAnnotation"?f.getParentNode(1):m;return S.type==="UnionTypeAnnotation"||S.type==="IntersectionTypeAnnotation"||S.type==="ArrayTypeAnnotation"||v==="objectType"&&(S.type==="IndexedAccessType"||S.type==="OptionalIndexedAccessType")||S.type==="NullableTypeAnnotation"||m.type==="FunctionTypeParam"&&m.name===null&&a(o).some(x=>x.typeAnnotation&&x.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return v==="objectType"&&m.type==="IndexedAccessType";case"TypeofTypeAnnotation":return v==="objectType"&&(m.type==="IndexedAccessType"||m.type==="OptionalIndexedAccessType");case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof o.value=="string"&&m.type==="ExpressionStatement"&&!m.directive){let S=f.getParentNode(1);return S.type==="Program"||S.type==="BlockStatement"}return v==="object"&&m.type==="MemberExpression"&&typeof o.value=="number";case"AssignmentExpression":{let S=f.getParentNode(1);return v==="body"&&m.type==="ArrowFunctionExpression"?!0:v==="key"&&(m.type==="ClassProperty"||m.type==="PropertyDefinition")&&m.computed||(v==="init"||v==="update")&&m.type==="ForStatement"?!1:m.type==="ExpressionStatement"?o.left.type==="ObjectPattern":!(v==="key"&&m.type==="TSPropertySignature"||m.type==="AssignmentExpression"||m.type==="SequenceExpression"&&S&&S.type==="ForStatement"&&(S.init===m||S.update===m)||v==="value"&&m.type==="Property"&&S&&S.type==="ObjectPattern"&&S.properties.includes(m)||m.type==="NGChainedExpression")}case"ConditionalExpression":switch(m.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 v==="callee";case"ConditionalExpression":return v==="test";case"MemberExpression":case"OptionalMemberExpression":return v==="object";default:return!1}case"FunctionExpression":switch(m.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return v==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(m.type){case"BinaryExpression":return m.operator!=="|>"||o.extra&&o.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return v==="callee";case"MemberExpression":case"OptionalMemberExpression":return v==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return v==="test";default:return!1}case"ClassExpression":if(s(o.decorators))return!0;switch(m.type){case"NewExpression":return v==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let S=f.getParentNode(1);if(v==="object"&&m.type==="MemberExpression"||v==="callee"&&(m.type==="CallExpression"||m.type==="NewExpression")||m.type==="TSNonNullExpression"&&S.type==="MemberExpression"&&S.object===m)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(v==="callee"&&(m.type==="BindExpression"||m.type==="NewExpression")){let S=o;for(;S;)switch(S.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":S=S.object;break;case"TaggedTemplateExpression":S=S.tag;break;case"TSNonNullExpression":S=S.expression;break;default:return!1}}return!1;case"BindExpression":return v==="callee"&&(m.type==="BindExpression"||m.type==="NewExpression")||v==="object"&&D(m);case"NGPipeExpression":return!(m.type==="NGRoot"||m.type==="NGMicrosyntaxExpression"||m.type==="ObjectProperty"&&!(o.extra&&o.extra.parenthesized)||m.type==="ArrayExpression"||c(m)&&m.arguments[v]===o||v==="right"&&m.type==="NGPipeExpression"||v==="property"&&m.type==="MemberExpression"||m.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return v==="callee"||v==="left"&&m.type==="BinaryExpression"&&m.operator==="<"||m.type!=="ArrayExpression"&&m.type!=="ArrowFunctionExpression"&&m.type!=="AssignmentExpression"&&m.type!=="AssignmentPattern"&&m.type!=="BinaryExpression"&&m.type!=="NewExpression"&&m.type!=="ConditionalExpression"&&m.type!=="ExpressionStatement"&&m.type!=="JsExpressionRoot"&&m.type!=="JSXAttribute"&&m.type!=="JSXElement"&&m.type!=="JSXExpressionContainer"&&m.type!=="JSXFragment"&&m.type!=="LogicalExpression"&&!c(m)&&!E(m)&&m.type!=="ReturnStatement"&&m.type!=="ThrowStatement"&&m.type!=="TypeCastExpression"&&m.type!=="VariableDeclarator"&&m.type!=="YieldExpression";case"TypeAnnotation":return v==="returnType"&&m.type==="ArrowFunctionExpression"&&N(o)}return!1}function F(f){return f.type==="BlockStatement"||f.type==="BreakStatement"||f.type==="ClassBody"||f.type==="ClassDeclaration"||f.type==="ClassMethod"||f.type==="ClassProperty"||f.type==="PropertyDefinition"||f.type==="ClassPrivateProperty"||f.type==="ContinueStatement"||f.type==="DebuggerStatement"||f.type==="DeclareClass"||f.type==="DeclareExportAllDeclaration"||f.type==="DeclareExportDeclaration"||f.type==="DeclareFunction"||f.type==="DeclareInterface"||f.type==="DeclareModule"||f.type==="DeclareModuleExports"||f.type==="DeclareVariable"||f.type==="DoWhileStatement"||f.type==="EnumDeclaration"||f.type==="ExportAllDeclaration"||f.type==="ExportDefaultDeclaration"||f.type==="ExportNamedDeclaration"||f.type==="ExpressionStatement"||f.type==="ForInStatement"||f.type==="ForOfStatement"||f.type==="ForStatement"||f.type==="FunctionDeclaration"||f.type==="IfStatement"||f.type==="ImportDeclaration"||f.type==="InterfaceDeclaration"||f.type==="LabeledStatement"||f.type==="MethodDefinition"||f.type==="ReturnStatement"||f.type==="SwitchStatement"||f.type==="ThrowStatement"||f.type==="TryStatement"||f.type==="TSDeclareFunction"||f.type==="TSEnumDeclaration"||f.type==="TSImportEqualsDeclaration"||f.type==="TSInterfaceDeclaration"||f.type==="TSModuleDeclaration"||f.type==="TSNamespaceExportDeclaration"||f.type==="TypeAlias"||f.type==="VariableDeclaration"||f.type==="WhileStatement"||f.type==="WithStatement"}function A(f){let b=0,m=f.getValue();for(;m;){let v=f.getParentNode(b++);if(v&&v.type==="ForStatement"&&v.init===m)return!0;m=v}return!1}function N(f){return l(f,b=>b.type==="ObjectTypeAnnotation"&&l(b,m=>m.type==="FunctionTypeAnnotation"||void 0)||void 0)}function I(f){switch(f.type){case"ObjectExpression":return!0;default:return!1}}function P(f){let b=f.getValue(),m=f.getParentNode(),v=f.getName();switch(m.type){case"NGPipeExpression":if(typeof v=="number"&&m.arguments[v]===b&&m.arguments.length-1===v)return f.callParent(P);break;case"ObjectProperty":if(v==="value"){let o=f.getParentNode(1);return t(o.properties)===m}break;case"BinaryExpression":case"LogicalExpression":if(v==="right")return f.callParent(P);break;case"ConditionalExpression":if(v==="alternate")return f.callParent(P);break;case"UnaryExpression":if(m.prefix)return f.callParent(P);break}return!1}function H(f,b){let m=f.getValue(),v=f.getParentNode();return m.type==="FunctionExpression"||m.type==="ClassExpression"?v.type==="ExportDefaultDeclaration"||!w(f,b):!i(m)||v.type!=="ExportDefaultDeclaration"&&w(f,b)?!1:f.call(o=>H(o,b),...n(f,m))}r.exports=w}}),Fo=Z({"src/language-js/print-preprocess.js"(e,r){"use strict";ne();function t(s,a){switch(a.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},s),{},{type:a.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:s,comments:[],rootMarker:a.rootMarker});default:return s}}r.exports=t}}),cd=Z({"src/language-js/print/html-binding.js"(e,r){"use strict";ne();var{builders:{join:t,line:s,group:a,softline:n,indent:u}}=Me();function i(p,d,y){let g=p.getValue();if(d.__onHtmlBindingRoot&&p.getName()===null&&d.__onHtmlBindingRoot(g,d),g.type==="File"){if(d.__isVueForBindingLeft)return p.call(c=>{let D=t([",",s],c.map(y,"params")),{params:E}=c.getValue();return E.length===1?D:["(",u([n,a(D)]),n,")"]},"program","body",0);if(d.__isVueBindings)return p.call(c=>t([",",s],c.map(y,"params")),"program","body",0)}}function l(p){switch(p.type){case"MemberExpression":switch(p.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return l(p.object)}return!1;case"Identifier":return!0;default:return!1}}r.exports={isVueEventBindingExpression:l,printHtmlBinding:i}}}),ru=Z({"src/language-js/print/binaryish.js"(e,r){"use strict";ne();var{printComments:t}=et(),{getLast:s}=Ue(),{builders:{join:a,line:n,softline:u,group:i,indent:l,align:p,indentIfBreak:d},utils:{cleanDoc:y,getDocParts:g,isConcat:c}}=Me(),{hasLeadingOwnLineComment:D,isBinaryish:E,isJsxNode:_,shouldFlatten:w,hasComment:F,CommentCheckFlags:A,isCallExpression:N,isMemberExpression:I,isObjectProperty:P,isEnabledHackPipeline:H}=Ke(),f=0;function b(o,h,C){let S=o.getValue(),x=o.getParentNode(),T=o.getParentNode(1),k=S!==x.body&&(x.type==="IfStatement"||x.type==="WhileStatement"||x.type==="SwitchStatement"||x.type==="DoWhileStatement"),M=H(h)&&S.operator==="|>",R=m(o,C,h,!1,k);if(k)return R;if(M)return i(R);if(N(x)&&x.callee===S||x.type==="UnaryExpression"||I(x)&&!x.computed)return i([l([u,...R]),u]);let q=x.type==="ReturnStatement"||x.type==="ThrowStatement"||x.type==="JSXExpressionContainer"&&T.type==="JSXAttribute"||S.operator!=="|"&&x.type==="JsExpressionRoot"||S.type!=="NGPipeExpression"&&(x.type==="NGRoot"&&h.parser==="__ng_binding"||x.type==="NGMicrosyntaxExpression"&&T.type==="NGMicrosyntax"&&T.body.length===1)||S===x.body&&x.type==="ArrowFunctionExpression"||S!==x.body&&x.type==="ForStatement"||x.type==="ConditionalExpression"&&T.type!=="ReturnStatement"&&T.type!=="ThrowStatement"&&!N(T)||x.type==="TemplateLiteral",U=x.type==="AssignmentExpression"||x.type==="VariableDeclarator"||x.type==="ClassProperty"||x.type==="PropertyDefinition"||x.type==="TSAbstractPropertyDefinition"||x.type==="ClassPrivateProperty"||P(x),L=E(S.left)&&w(S.operator,S.left.operator);if(q||v(S)&&!L||!v(S)&&U)return i(R);if(R.length===0)return"";let Y=_(S.right),V=R.findIndex(W=>typeof W!="string"&&!Array.isArray(W)&&W.type==="group"),j=R.slice(0,V===-1?1:V+1),K=R.slice(j.length,Y?-1:void 0),se=Symbol("logicalChain-"+ ++f),Q=i([...j,l(K)],{id:se});if(!Y)return Q;let ce=s(R);return i([Q,d(ce,{groupId:se})])}function m(o,h,C,S,x){let T=o.getValue();if(!E(T))return[i(h())];let k=[];w(T.operator,T.left.operator)?k=o.call(K=>m(K,h,C,!0,x),"left"):k.push(i(h("left")));let M=v(T),R=(T.operator==="|>"||T.type==="NGPipeExpression"||T.operator==="|"&&C.parser==="__vue_expression")&&!D(C.originalText,T.right),q=T.type==="NGPipeExpression"?"|":T.operator,U=T.type==="NGPipeExpression"&&T.arguments.length>0?i(l([n,": ",a([n,": "],o.map(h,"arguments").map(K=>p(2,i(K))))])):"",L;if(M)L=[q," ",h("right"),U];else{let se=H(C)&&q==="|>"?o.call(Q=>m(Q,h,C,!0,x),"right"):h("right");L=[R?n:"",q,R?" ":n,se,U]}let Y=o.getParentNode(),V=F(T.left,A.Trailing|A.Line),j=V||!(x&&T.type==="LogicalExpression")&&Y.type!==T.type&&T.left.type!==T.type&&T.right.type!==T.type;if(k.push(R?"":" ",j?i(L,{shouldBreak:V}):L),S&&F(T)){let K=y(t(o,k,C));return c(K)||K.type==="fill"?g(K):[K]}return k}function v(o){return o.type!=="LogicalExpression"?!1:!!(o.right.type==="ObjectExpression"&&o.right.properties.length>0||o.right.type==="ArrayExpression"&&o.right.elements.length>0||_(o.right))}r.exports={printBinaryishExpression:b,shouldInlineLogicalExpression:v}}}),pd=Z({"src/language-js/print/angular.js"(e,r){"use strict";ne();var{builders:{join:t,line:s,group:a}}=Me(),{hasNode:n,hasComment:u,getComments:i}=Ke(),{printBinaryishExpression:l}=ru();function p(g,c,D){let E=g.getValue();if(E.type.startsWith("NG"))switch(E.type){case"NGRoot":return[D("node"),u(E.node)?" //"+i(E.node)[0].value.trimEnd():""];case"NGPipeExpression":return l(g,c,D);case"NGChainedExpression":return a(t([";",s],g.map(_=>y(_)?D():["(",D(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[E.prefix,": ",E.value.trim()];case"NGMicrosyntax":return g.map((_,w)=>[w===0?"":d(_.getValue(),w,E)?" ":[";",s],D()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(E.name)?E.name:JSON.stringify(E.name);case"NGMicrosyntaxExpression":return[D("expression"),E.alias===null?"":[" as ",D("alias")]];case"NGMicrosyntaxKeyedExpression":{let _=g.getName(),w=g.getParentNode(),F=d(E,_,w)||(_===1&&(E.key.name==="then"||E.key.name==="else")||_===2&&E.key.name==="else"&&w.body[_-1].type==="NGMicrosyntaxKeyedExpression"&&w.body[_-1].key.name==="then")&&w.body[0].type==="NGMicrosyntaxExpression";return[D("key"),F?" ":": ",D("expression")]}case"NGMicrosyntaxLet":return["let ",D("key"),E.value===null?"":[" = ",D("value")]];case"NGMicrosyntaxAs":return[D("key")," as ",D("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(E.type)}.`)}}function d(g,c,D){return g.type==="NGMicrosyntaxKeyedExpression"&&g.key.name==="of"&&c===1&&D.body[0].type==="NGMicrosyntaxLet"&&D.body[0].value===null}function y(g){return n(g.getValue(),c=>{switch(c.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}r.exports={printAngular:p}}}),fd=Z({"src/language-js/print/jsx.js"(e,r){"use strict";ne();var{printComments:t,printDanglingComments:s,printCommentsSeparately:a}=et(),{builders:{line:n,hardline:u,softline:i,group:l,indent:p,conditionalGroup:d,fill:y,ifBreak:g,lineSuffixBoundary:c,join:D},utils:{willBreak:E}}=Me(),{getLast:_,getPreferredQuote:w}=Ue(),{isJsxNode:F,rawText:A,isLiteral:N,isCallExpression:I,isStringLiteral:P,isBinaryish:H,hasComment:f,CommentCheckFlags:b,hasNodeIgnoreComment:m}=Ke(),v=qt(),{willPrintOwnComments:o}=Eo(),h=J=>J===""||J===n||J===u||J===i;function C(J,le,ge){let pe=J.getValue();if(pe.type==="JSXElement"&&ie(pe))return[ge("openingElement"),ge("closingElement")];let Ae=pe.type==="JSXElement"?ge("openingElement"):ge("openingFragment"),Ce=pe.type==="JSXElement"?ge("closingElement"):ge("closingFragment");if(pe.children.length===1&&pe.children[0].type==="JSXExpressionContainer"&&(pe.children[0].expression.type==="TemplateLiteral"||pe.children[0].expression.type==="TaggedTemplateExpression"))return[Ae,...J.map(ge,"children"),Ce];pe.children=pe.children.map($=>z($)?{type:"JSXText",value:" ",raw:" "}:$);let Oe=pe.children.some(F),Ie=pe.children.filter($=>$.type==="JSXExpressionContainer").length>1,we=pe.type==="JSXElement"&&pe.openingElement.attributes.length>1,_e=E(Ae)||Oe||we||Ie,De=J.getParentNode().rootMarker==="mdx",G=le.singleQuote?"{' '}":'{" "}',oe=De?" ":g([G,i]," "),ee=pe.openingElement&&pe.openingElement.name&&pe.openingElement.name.name==="fbt",re=S(J,le,ge,oe,ee),be=pe.children.some($=>Ee($));for(let $=re.length-2;$>=0;$--){let te=re[$]===""&&re[$+1]==="",ye=re[$]===u&&re[$+1]===""&&re[$+2]===u,Fe=(re[$]===i||re[$]===u)&&re[$+1]===""&&re[$+2]===oe,Ne=re[$]===oe&&re[$+1]===""&&(re[$+2]===i||re[$+2]===u),he=re[$]===oe&&re[$+1]===""&&re[$+2]===oe,ze=re[$]===i&&re[$+1]===""&&re[$+2]===u||re[$]===u&&re[$+1]===""&&re[$+2]===i;ye&&be||te||Fe||he||ze?re.splice($,2):Ne&&re.splice($+1,2)}for(;re.length>0&&h(_(re));)re.pop();for(;re.length>1&&h(re[0])&&h(re[1]);)re.shift(),re.shift();let ve=[];for(let[$,te]of re.entries()){if(te===oe){if($===1&&re[$-1]===""){if(re.length===2){ve.push(G);continue}ve.push([G,u]);continue}else if($===re.length-1){ve.push(G);continue}else if(re[$-1]===""&&re[$-2]===u){ve.push(G);continue}}ve.push(te),E(te)&&(_e=!0)}let fe=be?y(ve):l(ve,{shouldBreak:!0});if(De)return fe;let B=l([Ae,p([u,fe]),u,Ce]);return _e?B:d([l([Ae,...re,Ce]),B])}function S(J,le,ge,pe,Ae){let Ce=[];return J.each((Oe,Ie,we)=>{let _e=Oe.getValue();if(N(_e)){let De=A(_e);if(Ee(_e)){let G=De.split(W);if(G[0]===""){if(Ce.push(""),G.shift(),/\n/.test(G[0])){let ee=we[Ie+1];Ce.push(T(Ae,G[1],_e,ee))}else Ce.push(pe);G.shift()}let oe;if(_(G)===""&&(G.pop(),oe=G.pop()),G.length===0)return;for(let[ee,re]of G.entries())ee%2===1?Ce.push(n):Ce.push(re);if(oe!==void 0)if(/\n/.test(oe)){let ee=we[Ie+1];Ce.push(T(Ae,_(Ce),_e,ee))}else Ce.push(pe);else{let ee=we[Ie+1];Ce.push(x(Ae,_(Ce),_e,ee))}}else/\n/.test(De)?De.match(/\n/g).length>1&&Ce.push("",u):Ce.push("",pe)}else{let De=ge();Ce.push(De);let G=we[Ie+1];if(G&&Ee(G)){let ee=de(A(G)).split(W)[0];Ce.push(x(Ae,ee,_e,G))}else Ce.push(u)}},"children"),Ce}function x(J,le,ge,pe){return J?"":ge.type==="JSXElement"&&!ge.closingElement||pe&&pe.type==="JSXElement"&&!pe.closingElement?le.length===1?i:u:i}function T(J,le,ge,pe){return J?u:le.length===1?ge.type==="JSXElement"&&!ge.closingElement||pe&&pe.type==="JSXElement"&&!pe.closingElement?u:i:u}function k(J,le,ge){let pe=J.getParentNode();if(!pe||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[pe.type])return le;let Ce=J.match(void 0,Ie=>Ie.type==="ArrowFunctionExpression",I,Ie=>Ie.type==="JSXExpressionContainer"),Oe=v(J,ge);return l([Oe?"":g("("),p([i,le]),i,Oe?"":g(")")],{shouldBreak:Ce})}function M(J,le,ge){let pe=J.getValue(),Ae=[];if(Ae.push(ge("name")),pe.value){let Ce;if(P(pe.value)){let Ie=A(pe.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:we,quote:_e,regex:De}=w(Ie,le.jsxSingleQuote?"'":'"');Ie=Ie.replace(De,we);let{leading:G,trailing:oe}=J.call(()=>a(J,le),"value");Ce=[G,_e,Ie,_e,oe]}else Ce=ge("value");Ae.push("=",Ce)}return Ae}function R(J,le,ge){let pe=J.getValue(),Ae=(Ce,Oe)=>Ce.type==="JSXEmptyExpression"||!f(Ce)&&(Ce.type==="ArrayExpression"||Ce.type==="ObjectExpression"||Ce.type==="ArrowFunctionExpression"||Ce.type==="AwaitExpression"&&(Ae(Ce.argument,Ce)||Ce.argument.type==="JSXElement")||I(Ce)||Ce.type==="FunctionExpression"||Ce.type==="TemplateLiteral"||Ce.type==="TaggedTemplateExpression"||Ce.type==="DoExpression"||F(Oe)&&(Ce.type==="ConditionalExpression"||H(Ce)));return Ae(pe.expression,J.getParentNode(0))?l(["{",ge("expression"),c,"}"]):l(["{",p([i,ge("expression")]),i,c,"}"])}function q(J,le,ge){let pe=J.getValue(),Ae=pe.name&&f(pe.name)||pe.typeParameters&&f(pe.typeParameters);if(pe.selfClosing&&pe.attributes.length===0&&!Ae)return["<",ge("name"),ge("typeParameters")," />"];if(pe.attributes&&pe.attributes.length===1&&pe.attributes[0].value&&P(pe.attributes[0].value)&&!pe.attributes[0].value.value.includes(`
`)&&!Ae&&!f(pe.attributes[0]))return l(["<",ge("name"),ge("typeParameters")," ",...J.map(ge,"attributes"),pe.selfClosing?" />":">"]);let Ce=pe.attributes&&pe.attributes.some(Ie=>Ie.value&&P(Ie.value)&&Ie.value.value.includes(`
`)),Oe=le.singleAttributePerLine&&pe.attributes.length>1?u:n;return l(["<",ge("name"),ge("typeParameters"),p(J.map(()=>[Oe,ge()],"attributes")),...U(pe,le,Ae)],{shouldBreak:Ce})}function U(J,le,ge){return J.selfClosing?[n,"/>"]:L(J,le,ge)?[">"]:[i,">"]}function L(J,le,ge){let pe=J.attributes.length>0&&f(_(J.attributes),b.Trailing);return J.attributes.length===0&&!ge||(le.bracketSameLine||le.jsxBracketSameLine)&&(!ge||J.attributes.length>0)&&!pe}function Y(J,le,ge){let pe=J.getValue(),Ae=[];Ae.push("");let Ce=ge("name");return f(pe.name,b.Leading|b.Line)?Ae.push(p([u,Ce]),u):f(pe.name,b.Leading|b.Block)?Ae.push(" ",Ce):Ae.push(Ce),Ae.push(">"),Ae}function V(J,le){let ge=J.getValue(),pe=f(ge),Ae=f(ge,b.Line),Ce=ge.type==="JSXOpeningFragment";return[Ce?"<":"",p([Ae?u:pe&&!Ce?" ":"",s(J,le,!0)]),Ae?u:"",">"]}function j(J,le,ge){let pe=t(J,C(J,le,ge),le);return k(J,pe,le)}function K(J,le){let ge=J.getValue(),pe=f(ge,b.Line);return[s(J,le,!pe),pe?u:""]}function se(J,le,ge){let pe=J.getValue();return["{",J.call(Ae=>{let Ce=["...",ge()],Oe=Ae.getValue();return!f(Oe)||!o(Ae)?Ce:[p([i,t(Ae,Ce,le)]),i]},pe.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Q(J,le,ge){let pe=J.getValue();if(pe.type.startsWith("JSX"))switch(pe.type){case"JSXAttribute":return M(J,le,ge);case"JSXIdentifier":return String(pe.name);case"JSXNamespacedName":return D(":",[ge("namespace"),ge("name")]);case"JSXMemberExpression":return D(".",[ge("object"),ge("property")]);case"JSXSpreadAttribute":return se(J,le,ge);case"JSXSpreadChild":return se(J,le,ge);case"JSXExpressionContainer":return R(J,le,ge);case"JSXFragment":case"JSXElement":return j(J,le,ge);case"JSXOpeningElement":return q(J,le,ge);case"JSXClosingElement":return Y(J,le,ge);case"JSXOpeningFragment":case"JSXClosingFragment":return V(J,le);case"JSXEmptyExpression":return K(J,le);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(pe.type)}.`)}}var ce=`
\r `,W=new RegExp("(["+ce+"]+)"),X=new RegExp("[^"+ce+"]"),de=J=>J.replace(new RegExp("(?:^"+W.source+"|"+W.source+"$)"),"");function ie(J){if(J.children.length===0)return!0;if(J.children.length>1)return!1;let le=J.children[0];return N(le)&&!Ee(le)}function Ee(J){return N(J)&&(X.test(A(J))||!/\n/.test(A(J)))}function z(J){return J.type==="JSXExpressionContainer"&&N(J.expression)&&J.expression.value===" "&&!f(J.expression)}function ue(J){let le=J.getValue(),ge=J.getParentNode();if(!ge||!le||!F(le)||!F(ge))return!1;let pe=ge.children.indexOf(le),Ae=null;for(let Ce=pe;Ce>0;Ce--){let Oe=ge.children[Ce-1];if(!(Oe.type==="JSXText"&&!Ee(Oe))){Ae=Oe;break}}return Ae&&Ae.type==="JSXExpressionContainer"&&Ae.expression.type==="JSXEmptyExpression"&&m(Ae.expression)}r.exports={hasJsxIgnoreComment:ue,printJsx:Q}}}),ct=Z({"src/language-js/print/misc.js"(e,r){"use strict";ne();var{isNonEmptyArray:t}=Ue(),{builders:{indent:s,join:a,line:n}}=Me(),{isFlowAnnotationComment:u}=Ke();function i(_){let w=_.getValue();return!w.optional||w.type==="Identifier"&&w===_.getParentNode().key?"":w.type==="OptionalCallExpression"||w.type==="OptionalMemberExpression"&&w.computed?"?.":"?"}function l(_){return _.getValue().definite||_.match(void 0,(w,F)=>F==="id"&&w.type==="VariableDeclarator"&&w.definite)?"!":""}function p(_,w,F){let A=_.getValue();return A.typeArguments?F("typeArguments"):A.typeParameters?F("typeParameters"):""}function d(_,w,F){let A=_.getValue();if(!A.typeAnnotation)return"";let N=_.getParentNode(),I=N.type==="DeclareFunction"&&N.id===A;return u(w.originalText,A.typeAnnotation)?[" /*: ",F("typeAnnotation")," */"]:[I?"":": ",F("typeAnnotation")]}function y(_,w,F){return["::",F("callee")]}function g(_,w,F){let A=_.getValue();return t(A.modifiers)?[a(" ",_.map(F,"modifiers"))," "]:""}function c(_,w,F){return _.type==="EmptyStatement"?";":_.type==="BlockStatement"||F?[" ",w]:s([n,w])}function D(_,w,F){return["...",F("argument"),d(_,w,F)]}function E(_,w){let F=_.slice(1,-1);if(F.includes('"')||F.includes("'"))return _;let A=w.singleQuote?"'":'"';return A+F+A}r.exports={printOptionalToken:i,printDefiniteToken:l,printFunctionTypeParameters:p,printBindExpressionCallee:y,printTypeScriptModifiers:g,printTypeAnnotation:d,printRestSpread:D,adjustClause:c,printDirective:E}}}),er=Z({"src/language-js/print/array.js"(e,r){"use strict";ne();var{printDanglingComments:t}=et(),{builders:{line:s,softline:a,hardline:n,group:u,indent:i,ifBreak:l,fill:p}}=Me(),{getLast:d,hasNewline:y}=Ue(),{shouldPrintComma:g,hasComment:c,CommentCheckFlags:D,isNextLineEmpty:E,isNumericLiteral:_,isSignedNumericLiteral:w}=Ke(),{locStart:F}=ut(),{printOptionalToken:A,printTypeAnnotation:N}=ct();function I(b,m,v){let o=b.getValue(),h=[],C=o.type==="TupleExpression"?"#[":"[",S="]";if(o.elements.length===0)c(o,D.Dangling)?h.push(u([C,t(b,m),a,S])):h.push(C,S);else{let x=d(o.elements),T=!(x&&x.type==="RestElement"),k=x===null,M=Symbol("array"),R=!m.__inJestEach&&o.elements.length>1&&o.elements.every((L,Y,V)=>{let j=L&&L.type;if(j!=="ArrayExpression"&&j!=="ObjectExpression")return!1;let K=V[Y+1];if(K&&j!==K.type)return!1;let se=j==="ArrayExpression"?"elements":"properties";return L[se]&&L[se].length>1}),q=P(o,m),U=T?k?",":g(m)?q?l(",","",{groupId:M}):l(","):"":"";h.push(u([C,i([a,q?f(b,m,v,U):[H(b,m,"elements",v),U],t(b,m,!0)]),a,S],{shouldBreak:R,id:M}))}return h.push(A(b),N(b,m,v)),h}function P(b,m){return b.elements.length>1&&b.elements.every(v=>v&&(_(v)||w(v)&&!c(v.argument))&&!c(v,D.Trailing|D.Line,o=>!y(m.originalText,F(o),{backwards:!0})))}function H(b,m,v,o){let h=[],C=[];return b.each(S=>{h.push(C,u(o())),C=[",",s],S.getValue()&&E(S.getValue(),m)&&C.push(a)},v),h}function f(b,m,v,o){let h=[];return b.each((C,S,x)=>{let T=S===x.length-1;h.push([v(),T?o:","]),T||h.push(E(C.getValue(),m)?[n,n]:c(x[S+1],D.Leading|D.Line)?n:s)},"elements"),p(h)}r.exports={printArray:I,printArrayItems:H,isConciselyPrintedArray:P}}}),Ao=Z({"src/language-js/print/call-arguments.js"(e,r){"use strict";ne();var{printDanglingComments:t}=et(),{getLast:s,getPenultimate:a}=Ue(),{getFunctionParameters:n,hasComment:u,CommentCheckFlags:i,isFunctionCompositionArgs:l,isJsxNode:p,isLongCurriedCallExpression:d,shouldPrintComma:y,getCallArguments:g,iterateCallArgumentsPath:c,isNextLineEmpty:D,isCallExpression:E,isStringLiteral:_,isObjectProperty:w,isTSTypeExpression:F}=Ke(),{builders:{line:A,hardline:N,softline:I,group:P,indent:H,conditionalGroup:f,ifBreak:b,breakParent:m},utils:{willBreak:v}}=Me(),{ArgExpansionBailout:o}=Qt(),{isConciselyPrintedArray:h}=er();function C(q,U,L){let Y=q.getValue(),V=Y.type==="ImportExpression",j=g(Y);if(j.length===0)return["(",t(q,U,!0),")"];if(k(j))return["(",L(["arguments",0]),", ",L(["arguments",1]),")"];let K=!1,se=!1,Q=j.length-1,ce=[];c(q,(z,ue)=>{let J=z.getNode(),le=[L()];ue===Q||(D(J,U)?(ue===0&&(se=!0),K=!0,le.push(",",N,N)):le.push(",",A)),ce.push(le)});let W=!(V||Y.callee&&Y.callee.type==="Import")&&y(U,"all")?",":"";function X(){return P(["(",H([A,...ce]),W,A,")"],{shouldBreak:!0})}if(K||q.getParentNode().type!=="Decorator"&&l(j))return X();let de=T(j),ie=x(j,U);if(de||ie){if(de?ce.slice(1).some(v):ce.slice(0,-1).some(v))return X();let z=[];try{q.try(()=>{c(q,(ue,J)=>{de&&J===0&&(z=[[L([],{expandFirstArg:!0}),ce.length>1?",":"",se?N:A,se?N:""],...ce.slice(1)]),ie&&J===Q&&(z=[...ce.slice(0,-1),L([],{expandLastArg:!0})])})})}catch(ue){if(ue instanceof o)return X();throw ue}return[ce.some(v)?m:"",f([["(",...z,")"],de?["(",P(z[0],{shouldBreak:!0}),...z.slice(1),")"]:["(",...ce.slice(0,-1),P(s(z),{shouldBreak:!0}),")"],X()])]}let Ee=["(",H([I,...ce]),b(W),I,")"];return d(q)?Ee:P(Ee,{shouldBreak:ce.some(v)||K})}function S(q){let U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return q.type==="ObjectExpression"&&(q.properties.length>0||u(q))||q.type==="ArrayExpression"&&(q.elements.length>0||u(q))||q.type==="TSTypeAssertion"&&S(q.expression)||F(q)&&S(q.expression)||q.type==="FunctionExpression"||q.type==="ArrowFunctionExpression"&&(!q.returnType||!q.returnType.typeAnnotation||q.returnType.typeAnnotation.type!=="TSTypeReference"||M(q.body))&&(q.body.type==="BlockStatement"||q.body.type==="ArrowFunctionExpression"&&S(q.body,!0)||q.body.type==="ObjectExpression"||q.body.type==="ArrayExpression"||!U&&(E(q.body)||q.body.type==="ConditionalExpression")||p(q.body))||q.type==="DoExpression"||q.type==="ModuleExpression"}function x(q,U){let L=s(q),Y=a(q);return!u(L,i.Leading)&&!u(L,i.Trailing)&&S(L)&&(!Y||Y.type!==L.type)&&(q.length!==2||Y.type!=="ArrowFunctionExpression"||L.type!=="ArrayExpression")&&!(q.length>1&&L.type==="ArrayExpression"&&h(L,U))}function T(q){if(q.length!==2)return!1;let[U,L]=q;return U.type==="ModuleExpression"&&R(L)?!0:!u(U)&&(U.type==="FunctionExpression"||U.type==="ArrowFunctionExpression"&&U.body.type==="BlockStatement")&&L.type!=="FunctionExpression"&&L.type!=="ArrowFunctionExpression"&&L.type!=="ConditionalExpression"&&!S(L)}function k(q){return q.length===2&&q[0].type==="ArrowFunctionExpression"&&n(q[0]).length===0&&q[0].body.type==="BlockStatement"&&q[1].type==="ArrayExpression"&&!q.some(U=>u(U))}function M(q){return q.type==="BlockStatement"&&(q.body.some(U=>U.type!=="EmptyStatement")||u(q,i.Dangling))}function R(q){return q.type==="ObjectExpression"&&q.properties.length===1&&w(q.properties[0])&&q.properties[0].key.type==="Identifier"&&q.properties[0].key.name==="type"&&_(q.properties[0].value)&&q.properties[0].value.value==="module"}r.exports=C}}),So=Z({"src/language-js/print/member.js"(e,r){"use strict";ne();var{builders:{softline:t,group:s,indent:a,label:n}}=Me(),{isNumericLiteral:u,isMemberExpression:i,isCallExpression:l}=Ke(),{printOptionalToken:p}=ct();function d(g,c,D){let E=g.getValue(),_=g.getParentNode(),w,F=0;do w=g.getParentNode(F),F++;while(w&&(i(w)||w.type==="TSNonNullExpression"));let A=D("object"),N=y(g,c,D),I=w&&(w.type==="NewExpression"||w.type==="BindExpression"||w.type==="AssignmentExpression"&&w.left.type!=="Identifier")||E.computed||E.object.type==="Identifier"&&E.property.type==="Identifier"&&!i(_)||(_.type==="AssignmentExpression"||_.type==="VariableDeclarator")&&(l(E.object)&&E.object.arguments.length>0||E.object.type==="TSNonNullExpression"&&l(E.object.expression)&&E.object.expression.arguments.length>0||A.label==="member-chain");return n(A.label==="member-chain"?"member-chain":"member",[A,I?N:s(a([t,N]))])}function y(g,c,D){let E=D("property"),_=g.getValue(),w=p(g);return _.computed?!_.property||u(_.property)?[w,"[",E,"]"]:s([w,"[",a([t,E]),t,"]"]):[w,".",E]}r.exports={printMemberExpression:d,printMemberLookup:y}}}),Dd=Z({"src/language-js/print/member-chain.js"(e,r){"use strict";ne();var{printComments:t}=et(),{getLast:s,isNextLineEmptyAfterIndex:a,getNextNonSpaceNonCommentCharacterIndex:n}=Ue(),u=qt(),{isCallExpression:i,isMemberExpression:l,isFunctionOrArrowExpression:p,isLongCurriedCallExpression:d,isMemberish:y,isNumericLiteral:g,isSimpleCallArgument:c,hasComment:D,CommentCheckFlags:E,isNextLineEmpty:_}=Ke(),{locEnd:w}=ut(),{builders:{join:F,hardline:A,group:N,indent:I,conditionalGroup:P,breakParent:H,label:f},utils:{willBreak:b}}=Me(),m=Ao(),{printMemberLookup:v}=So(),{printOptionalToken:o,printFunctionTypeParameters:h,printBindExpressionCallee:C}=ct();function S(x,T,k){let M=x.getParentNode(),R=!M||M.type==="ExpressionStatement",q=[];function U(we){let{originalText:_e}=T,De=n(_e,we,w);return _e.charAt(De)===")"?De!==!1&&a(_e,De+1):_(we,T)}function L(we){let _e=we.getValue();i(_e)&&(y(_e.callee)||i(_e.callee))?(q.unshift({node:_e,printed:[t(we,[o(we),h(we,T,k),m(we,T,k)],T),U(_e)?A:""]}),we.call(De=>L(De),"callee")):y(_e)?(q.unshift({node:_e,needsParens:u(we,T),printed:t(we,l(_e)?v(we,T,k):C(we,T,k),T)}),we.call(De=>L(De),"object")):_e.type==="TSNonNullExpression"?(q.unshift({node:_e,printed:t(we,"!",T)}),we.call(De=>L(De),"expression")):q.unshift({node:_e,printed:k()})}let Y=x.getValue();q.unshift({node:Y,printed:[o(x),h(x,T,k),m(x,T,k)]}),Y.callee&&x.call(we=>L(we),"callee");let V=[],j=[q[0]],K=1;for(;K0&&V.push(j);function Q(we){return/^[A-Z]|^[$_]+$/.test(we)}function ce(we){return we.length<=T.tabWidth}function W(we){let _e=we[1].length>0&&we[1][0].node.computed;if(we[0].length===1){let G=we[0][0].node;return G.type==="ThisExpression"||G.type==="Identifier"&&(Q(G.name)||R&&ce(G.name)||_e)}let De=s(we[0]).node;return l(De)&&De.property.type==="Identifier"&&(Q(De.property.name)||_e)}let X=V.length>=2&&!D(V[1][0].node)&&W(V);function de(we){let _e=we.map(De=>De.printed);return we.length>0&&s(we).needsParens?["(",..._e,")"]:_e}function ie(we){return we.length===0?"":I(N([A,F(A,we.map(de))]))}let Ee=V.map(de),z=Ee,ue=X?3:2,J=V.flat(),le=J.slice(1,-1).some(we=>D(we.node,E.Leading))||J.slice(0,-1).some(we=>D(we.node,E.Trailing))||V[ue]&&D(V[ue][0].node,E.Leading);if(V.length<=ue&&!le)return d(x)?z:N(z);let ge=s(V[X?1:0]).node,pe=!i(ge)&&U(ge),Ae=[de(V[0]),X?V.slice(1,2).map(de):"",pe?A:"",ie(V.slice(X?2:1))],Ce=q.map(we=>{let{node:_e}=we;return _e}).filter(i);function Oe(){let we=s(s(V)).node,_e=s(Ee);return i(we)&&b(_e)&&Ce.slice(0,-1).some(De=>De.arguments.some(p))}let Ie;return le||Ce.length>2&&Ce.some(we=>!we.arguments.every(_e=>c(_e,0)))||Ee.slice(0,-1).some(b)||Oe()?Ie=N(Ae):Ie=[b(z)||pe?H:"",P([z,Ae])],f("member-chain",Ie)}r.exports=S}}),xo=Z({"src/language-js/print/call-expression.js"(e,r){"use strict";ne();var{builders:{join:t,group:s}}=Me(),a=qt(),{getCallArguments:n,hasFlowAnnotationComment:u,isCallExpression:i,isMemberish:l,isStringLiteral:p,isTemplateOnItsOwnLine:d,isTestCall:y,iterateCallArgumentsPath:g}=Ke(),c=Dd(),D=Ao(),{printOptionalToken:E,printFunctionTypeParameters:_}=ct();function w(A,N,I){let P=A.getValue(),H=A.getParentNode(),f=P.type==="NewExpression",b=P.type==="ImportExpression",m=E(A),v=n(P);if(v.length>0&&(!b&&!f&&F(P,H)||v.length===1&&d(v[0],N.originalText)||!f&&y(P,H))){let C=[];return g(A,()=>{C.push(I())}),[f?"new ":"",I("callee"),m,_(A,N,I),"(",t(", ",C),")"]}let o=(N.parser==="babel"||N.parser==="babel-flow")&&P.callee&&P.callee.type==="Identifier"&&u(P.callee.trailingComments);if(o&&(P.callee.trailingComments[0].printed=!0),!b&&!f&&l(P.callee)&&!A.call(C=>a(C,N),"callee"))return c(A,N,I);let h=[f?"new ":"",b?"import":I("callee"),m,o?`/*:: ${P.callee.trailingComments[0].value.slice(2).trim()} */`:"",_(A,N,I),D(A,N,I)];return b||i(P.callee)?s(h):h}function F(A,N){if(A.callee.type!=="Identifier")return!1;if(A.callee.name==="require")return!0;if(A.callee.name==="define"){let I=n(A);return N.type==="ExpressionStatement"&&(I.length===1||I.length===2&&I[0].type==="ArrayExpression"||I.length===3&&p(I[0])&&I[1].type==="ArrayExpression")}return!1}r.exports={printCallExpression:w}}}),tr=Z({"src/language-js/print/assignment.js"(e,r){"use strict";ne();var{isNonEmptyArray:t,getStringWidth:s}=Ue(),{builders:{line:a,group:n,indent:u,indentIfBreak:i,lineSuffixBoundary:l},utils:{cleanDoc:p,willBreak:d,canBreak:y}}=Me(),{hasLeadingOwnLineComment:g,isBinaryish:c,isStringLiteral:D,isLiteral:E,isNumericLiteral:_,isCallExpression:w,isMemberExpression:F,getCallArguments:A,rawText:N,hasComment:I,isSignedNumericLiteral:P,isObjectProperty:H}=Ke(),{shouldInlineLogicalExpression:f}=ru(),{printCallExpression:b}=xo();function m(W,X,de,ie,Ee,z){let ue=h(W,X,de,ie,z),J=de(z,{assignmentLayout:ue});switch(ue){case"break-after-operator":return n([n(ie),Ee,n(u([a,J]))]);case"never-break-after-operator":return n([n(ie),Ee," ",J]);case"fluid":{let le=Symbol("assignment");return n([n(ie),Ee,n(u(a),{id:le}),l,i(J,{groupId:le})])}case"break-lhs":return n([ie,Ee," ",n(J)]);case"chain":return[n(ie),Ee,a,J];case"chain-tail":return[n(ie),Ee,u([a,J])];case"chain-tail-arrow-chain":return[n(ie),Ee,J];case"only-left":return ie}}function v(W,X,de){let ie=W.getValue();return m(W,X,de,de("left"),[" ",ie.operator],"right")}function o(W,X,de){return m(W,X,de,de("id")," =","init")}function h(W,X,de,ie,Ee){let z=W.getValue(),ue=z[Ee];if(!ue)return"only-left";let J=!x(ue);if(W.match(x,T,Ae=>!J||Ae.type!=="ExpressionStatement"&&Ae.type!=="VariableDeclaration"))return J?ue.type==="ArrowFunctionExpression"&&ue.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!J&&x(ue.right)||g(X.originalText,ue))return"break-after-operator";if(ue.type==="CallExpression"&&ue.callee.name==="require"||X.parser==="json5"||X.parser==="json")return"never-break-after-operator";if(S(z)||k(z)||q(z)||U(z)&&y(ie))return"break-lhs";let pe=se(z,ie,X);return W.call(()=>C(W,X,de,pe),Ee)?"break-after-operator":pe||ue.type==="TemplateLiteral"||ue.type==="TaggedTemplateExpression"||ue.type==="BooleanLiteral"||_(ue)||ue.type==="ClassExpression"?"never-break-after-operator":"fluid"}function C(W,X,de,ie){let Ee=W.getValue();if(c(Ee)&&!f(Ee))return!0;switch(Ee.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:J}=Ee;return c(J)&&!f(J)}case"ClassExpression":return t(Ee.decorators)}if(ie)return!1;let z=Ee,ue=[];for(;;)if(z.type==="UnaryExpression")z=z.argument,ue.push("argument");else if(z.type==="TSNonNullExpression")z=z.expression,ue.push("expression");else break;return!!(D(z)||W.call(()=>V(W,X,de),...ue))}function S(W){if(T(W)){let X=W.left||W.id;return X.type==="ObjectPattern"&&X.properties.length>2&&X.properties.some(de=>H(de)&&(!de.shorthand||de.value&&de.value.type==="AssignmentPattern"))}return!1}function x(W){return W.type==="AssignmentExpression"}function T(W){return x(W)||W.type==="VariableDeclarator"}function k(W){let X=M(W);if(t(X)){let de=W.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(X.length>1&&X.some(ie=>ie[de]||ie.default))return!0}return!1}function M(W){return R(W)&&W.typeParameters&&W.typeParameters.params?W.typeParameters.params:null}function R(W){return W.type==="TSTypeAliasDeclaration"||W.type==="TypeAlias"}function q(W){if(W.type!=="VariableDeclarator")return!1;let{typeAnnotation:X}=W.id;if(!X||!X.typeAnnotation)return!1;let de=L(X.typeAnnotation);return t(de)&&de.length>1&&de.some(ie=>t(L(ie))||ie.type==="TSConditionalType")}function U(W){return W.type==="VariableDeclarator"&&W.init&&W.init.type==="ArrowFunctionExpression"}function L(W){return Y(W)&&W.typeParameters&&W.typeParameters.params?W.typeParameters.params:null}function Y(W){return W.type==="TSTypeReference"||W.type==="GenericTypeAnnotation"}function V(W,X,de){let ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Ee=W.getValue(),z=()=>V(W,X,de,!0);if(Ee.type==="TSNonNullExpression")return W.call(z,"expression");if(w(Ee)){if(b(W,X,de).label==="member-chain")return!1;let J=A(Ee);return!(J.length===0||J.length===1&&K(J[0],X))||Q(Ee,de)?!1:W.call(z,"callee")}return F(Ee)?W.call(z,"object"):ie&&(Ee.type==="Identifier"||Ee.type==="ThisExpression")}var j=.25;function K(W,X){let{printWidth:de}=X;if(I(W))return!1;let ie=de*j;if(W.type==="ThisExpression"||W.type==="Identifier"&&W.name.length<=ie||P(W)&&!I(W.argument))return!0;let Ee=W.type==="Literal"&&"regex"in W&&W.regex.pattern||W.type==="RegExpLiteral"&&W.pattern;return Ee?Ee.length<=ie:D(W)?N(W).length<=ie:W.type==="TemplateLiteral"?W.expressions.length===0&&W.quasis[0].value.raw.length<=ie&&!W.quasis[0].value.raw.includes(`
`):E(W)}function se(W,X,de){if(!H(W))return!1;X=p(X);let ie=3;return typeof X=="string"&&s(X)1)return!0;if(de.length===1){let Ee=de[0];if(Ee.type==="TSUnionType"||Ee.type==="UnionTypeAnnotation"||Ee.type==="TSIntersectionType"||Ee.type==="IntersectionTypeAnnotation"||Ee.type==="TSTypeLiteral"||Ee.type==="ObjectTypeAnnotation")return!0}let ie=W.typeParameters?"typeParameters":"typeArguments";if(d(X(ie)))return!0}return!1}function ce(W){return W.typeParameters&&W.typeParameters.params||W.typeArguments&&W.typeArguments.params}r.exports={printVariableDeclarator:o,printAssignmentExpression:v,printAssignment:m,isArrowFunctionVariableDeclarator:U}}}),Lr=Z({"src/language-js/print/function-parameters.js"(e,r){"use strict";ne();var{getNextNonSpaceNonCommentCharacter:t}=Ue(),{printDanglingComments:s}=et(),{builders:{line:a,hardline:n,softline:u,group:i,indent:l,ifBreak:p},utils:{removeLines:d,willBreak:y}}=Me(),{getFunctionParameters:g,iterateFunctionParametersPath:c,isSimpleType:D,isTestCall:E,isTypeAnnotationAFunction:_,isObjectType:w,isObjectTypePropertyAFunction:F,hasRestParameter:A,shouldPrintComma:N,hasComment:I,isNextLineEmpty:P}=Ke(),{locEnd:H}=ut(),{ArgExpansionBailout:f}=Qt(),{printFunctionTypeParameters:b}=ct();function m(C,S,x,T,k){let M=C.getValue(),R=g(M),q=k?b(C,x,S):"";if(R.length===0)return[q,"(",s(C,x,!0,se=>t(x.originalText,se,H)===")"),")"];let U=C.getParentNode(),L=E(U),Y=v(M),V=[];if(c(C,(se,Q)=>{let ce=Q===R.length-1;ce&&M.rest&&V.push("..."),V.push(S()),!ce&&(V.push(","),L||Y?V.push(" "):P(R[Q],x)?V.push(n,n):V.push(a))}),T){if(y(q)||y(V))throw new f;return i([d(q),"(",d(V),")"])}let j=R.every(se=>!se.decorators);return Y&&j?[q,"(",...V,")"]:L?[q,"(",...V,")"]:(F(U)||_(U)||U.type==="TypeAlias"||U.type==="UnionTypeAnnotation"||U.type==="TSUnionType"||U.type==="IntersectionTypeAnnotation"||U.type==="FunctionTypeAnnotation"&&U.returnType===M)&&R.length===1&&R[0].name===null&&M.this!==R[0]&&R[0].typeAnnotation&&M.typeParameters===null&&D(R[0].typeAnnotation)&&!M.rest?x.arrowParens==="always"?["(",...V,")"]:V:[q,"(",l([u,...V]),p(!A(M)&&N(x,"all")?",":""),u,")"]}function v(C){if(!C)return!1;let S=g(C);if(S.length!==1)return!1;let[x]=S;return!I(x)&&(x.type==="ObjectPattern"||x.type==="ArrayPattern"||x.type==="Identifier"&&x.typeAnnotation&&(x.typeAnnotation.type==="TypeAnnotation"||x.typeAnnotation.type==="TSTypeAnnotation")&&w(x.typeAnnotation.typeAnnotation)||x.type==="FunctionTypeParam"&&w(x.typeAnnotation)||x.type==="AssignmentPattern"&&(x.left.type==="ObjectPattern"||x.left.type==="ArrayPattern")&&(x.right.type==="Identifier"||x.right.type==="ObjectExpression"&&x.right.properties.length===0||x.right.type==="ArrayExpression"&&x.right.elements.length===0))}function o(C){let S;return C.returnType?(S=C.returnType,S.typeAnnotation&&(S=S.typeAnnotation)):C.typeAnnotation&&(S=C.typeAnnotation),S}function h(C,S){let x=o(C);if(!x)return!1;let T=C.typeParameters&&C.typeParameters.params;if(T){if(T.length>1)return!1;if(T.length===1){let k=T[0];if(k.constraint||k.default)return!1}}return g(C).length===1&&(w(x)||y(S))}r.exports={printFunctionParameters:m,shouldHugFunctionParameters:v,shouldGroupFunctionParameters:h}}}),Or=Z({"src/language-js/print/type-annotation.js"(e,r){"use strict";ne();var{printComments:t,printDanglingComments:s}=et(),{isNonEmptyArray:a}=Ue(),{builders:{group:n,join:u,line:i,softline:l,indent:p,align:d,ifBreak:y}}=Me(),g=qt(),{locStart:c}=ut(),{isSimpleType:D,isObjectType:E,hasLeadingOwnLineComment:_,isObjectTypePropertyAFunction:w,shouldPrintComma:F}=Ke(),{printAssignment:A}=tr(),{printFunctionParameters:N,shouldGroupFunctionParameters:I}=Lr(),{printArrayItems:P}=er();function H(x){if(D(x)||E(x))return!0;if(x.type==="UnionTypeAnnotation"||x.type==="TSUnionType"){let T=x.types.filter(M=>M.type==="VoidTypeAnnotation"||M.type==="TSVoidKeyword"||M.type==="NullLiteralTypeAnnotation"||M.type==="TSNullKeyword").length,k=x.types.some(M=>M.type==="ObjectTypeAnnotation"||M.type==="TSTypeLiteral"||M.type==="GenericTypeAnnotation"||M.type==="TSTypeReference");if(x.types.length-1===T&&k)return!0}return!1}function f(x,T,k){let M=T.semi?";":"",R=x.getValue(),q=[];return q.push("opaque type ",k("id"),k("typeParameters")),R.supertype&&q.push(": ",k("supertype")),R.impltype&&q.push(" = ",k("impltype")),q.push(M),q}function b(x,T,k){let M=T.semi?";":"",R=x.getValue(),q=[];R.declare&&q.push("declare "),q.push("type ",k("id"),k("typeParameters"));let U=R.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[A(x,T,k,q," =",U),M]}function m(x,T,k){let M=x.getValue(),R=x.map(k,"types"),q=[],U=!1;for(let L=0;L1&&(U=!0),q.push(" & ",L>1?p(R[L]):R[L]));return n(q)}function v(x,T,k){let M=x.getValue(),R=x.getParentNode(),q=R.type!=="TypeParameterInstantiation"&&R.type!=="TSTypeParameterInstantiation"&&R.type!=="GenericTypeAnnotation"&&R.type!=="TSTypeReference"&&R.type!=="TSTypeAssertion"&&R.type!=="TupleTypeAnnotation"&&R.type!=="TSTupleType"&&!(R.type==="FunctionTypeParam"&&!R.name&&x.getParentNode(1).this!==R)&&!((R.type==="TypeAlias"||R.type==="VariableDeclarator"||R.type==="TSTypeAliasDeclaration")&&_(T.originalText,M)),U=H(M),L=x.map(j=>{let K=k();return U||(K=d(2,K)),t(j,K,T)},"types");if(U)return u(" | ",L);let Y=q&&!_(T.originalText,M),V=[y([Y?i:"","| "]),u([i,"| "],L)];return g(x,T)?n([p(V),l]):R.type==="TupleTypeAnnotation"&&R.types.length>1||R.type==="TSTupleType"&&R.elementTypes.length>1?n([p([y(["(",l]),V]),l,y(")")]):n(q?p(V):V)}function o(x,T,k){let M=x.getValue(),R=[],q=x.getParentNode(0),U=x.getParentNode(1),L=x.getParentNode(2),Y=M.type==="TSFunctionType"||!((q.type==="ObjectTypeProperty"||q.type==="ObjectTypeInternalSlot")&&!q.variance&&!q.optional&&c(q)===c(M)||q.type==="ObjectTypeCallProperty"||L&&L.type==="DeclareFunction"),V=Y&&(q.type==="TypeAnnotation"||q.type==="TSTypeAnnotation"),j=V&&Y&&(q.type==="TypeAnnotation"||q.type==="TSTypeAnnotation")&&U.type==="ArrowFunctionExpression";w(q)&&(Y=!0,V=!0),j&&R.push("(");let K=N(x,k,T,!1,!0),se=M.returnType||M.predicate||M.typeAnnotation?[Y?" => ":": ",k("returnType"),k("predicate"),k("typeAnnotation")]:"",Q=I(M,se);return R.push(Q?n(K):K),se&&R.push(se),j&&R.push(")"),n(R)}function h(x,T,k){let M=x.getValue(),R=M.type==="TSTupleType"?"elementTypes":"types",q=M[R],U=a(q),L=U?l:"";return n(["[",p([L,P(x,T,R,k)]),y(U&&F(T,"all")?",":""),s(x,T,!0),L,"]"])}function C(x,T,k){let M=x.getValue(),R=M.type==="OptionalIndexedAccessType"&&M.optional?"?.[":"[";return[k("objectType"),R,k("indexType"),"]"]}function S(x,T,k){let M=x.getValue();return[M.postfix?"":k,T("typeAnnotation"),M.postfix?k:""]}r.exports={printOpaqueType:f,printTypeAlias:b,printIntersectionType:m,printUnionType:v,printFunctionType:o,printTupleType:h,printIndexedAccessType:C,shouldHugType:H,printJSDocType:S}}}),jr=Z({"src/language-js/print/type-parameters.js"(e,r){"use strict";ne();var{printDanglingComments:t}=et(),{builders:{join:s,line:a,hardline:n,softline:u,group:i,indent:l,ifBreak:p}}=Me(),{isTestCall:d,hasComment:y,CommentCheckFlags:g,isTSXFile:c,shouldPrintComma:D,getFunctionParameters:E,isObjectType:_}=Ke(),{createGroupIdMapper:w}=Ue(),{shouldHugType:F}=Or(),{isArrowFunctionVariableDeclarator:A}=tr(),N=w("typeParameters");function I(f,b,m,v){let o=f.getValue();if(!o[v])return"";if(!Array.isArray(o[v]))return m(v);let h=f.getNode(2),C=h&&d(h),S=f.match(k=>!(k[v].length===1&&_(k[v][0])),void 0,(k,M)=>M==="typeAnnotation",k=>k.type==="Identifier",A);if(o[v].length===0||!S&&(C||o[v].length===1&&(o[v][0].type==="NullableTypeAnnotation"||F(o[v][0]))))return["<",s(", ",f.map(m,v)),P(f,b),">"];let T=o.type==="TSTypeParameterInstantiation"?"":E(o).length===1&&c(b)&&!o[v][0].constraint&&f.getParentNode().type==="ArrowFunctionExpression"?",":D(b,"all")?p(","):"";return i(["<",l([u,s([",",a],f.map(m,v))]),T,u,">"],{id:N(o)})}function P(f,b){let m=f.getValue();if(!y(m,g.Dangling))return"";let v=!y(m,g.Line),o=t(f,b,v);return v?o:[o,n]}function H(f,b,m){let v=f.getValue(),o=[],h=f.getParentNode();return h.type==="TSMappedType"?(o.push("[",m("name")),v.constraint&&o.push(" in ",m("constraint")),h.nameType&&o.push(" as ",f.callParent(()=>m("nameType"))),o.push("]"),o):(v.variance&&o.push(m("variance")),v.in&&o.push("in "),v.out&&o.push("out "),o.push(m("name")),v.bound&&o.push(": ",m("bound")),v.constraint&&o.push(" extends ",m("constraint")),v.default&&o.push(" = ",m("default")),o)}r.exports={printTypeParameter:H,printTypeParameters:I,getTypeParametersGroupId:N}}}),rr=Z({"src/language-js/print/property.js"(e,r){"use strict";ne();var{printComments:t}=et(),{printString:s,printNumber:a}=Ue(),{isNumericLiteral:n,isSimpleNumber:u,isStringLiteral:i,isStringPropSafeToUnquote:l,rawText:p}=Ke(),{printAssignment:d}=tr(),y=new WeakMap;function g(D,E,_){let w=D.getNode();if(w.computed)return["[",_("key"),"]"];let F=D.getParentNode(),{key:A}=w;if(E.quoteProps==="consistent"&&!y.has(F)){let N=(F.properties||F.body||F.members).some(I=>!I.computed&&I.key&&i(I.key)&&!l(I,E));y.set(F,N)}if((A.type==="Identifier"||n(A)&&u(a(p(A)))&&String(A.value)===a(p(A))&&!(E.parser==="typescript"||E.parser==="babel-ts"))&&(E.parser==="json"||E.quoteProps==="consistent"&&y.get(F))){let N=s(JSON.stringify(A.type==="Identifier"?A.name:A.value.toString()),E);return D.call(I=>t(I,N,E),"key")}return l(w,E)&&(E.quoteProps==="as-needed"||E.quoteProps==="consistent"&&!y.get(F))?D.call(N=>t(N,/^\d/.test(A.value)?a(A.value):A.value,E),"key"):_("key")}function c(D,E,_){return D.getValue().shorthand?_("value"):d(D,E,_,g(D,E,_),":","value")}r.exports={printProperty:c,printPropertyKey:g}}}),qr=Z({"src/language-js/print/function.js"(e,r){"use strict";ne();var t=Zt(),{printDanglingComments:s,printCommentsSeparately:a}=et(),n=lt(),{getNextNonSpaceNonCommentCharacterIndex:u}=Ue(),{builders:{line:i,softline:l,group:p,indent:d,ifBreak:y,hardline:g,join:c,indentIfBreak:D},utils:{removeLines:E,willBreak:_}}=Me(),{ArgExpansionBailout:w}=Qt(),{getFunctionParameters:F,hasLeadingOwnLineComment:A,isFlowAnnotationComment:N,isJsxNode:I,isTemplateOnItsOwnLine:P,shouldPrintComma:H,startsWithNoLookaheadToken:f,isBinaryish:b,isLineComment:m,hasComment:v,getComments:o,CommentCheckFlags:h,isCallLikeExpression:C,isCallExpression:S,getCallArguments:x,hasNakedLeftSide:T,getLeftSide:k}=Ke(),{locEnd:M}=ut(),{printFunctionParameters:R,shouldGroupFunctionParameters:q}=Lr(),{printPropertyKey:U}=rr(),{printFunctionTypeParameters:L}=ct();function Y(ue,J,le,ge){let pe=ue.getValue(),Ae=!1;if((pe.type==="FunctionDeclaration"||pe.type==="FunctionExpression")&&ge&&ge.expandLastArg){let _e=ue.getParentNode();S(_e)&&x(_e).length>1&&(Ae=!0)}let Ce=[];pe.type==="TSDeclareFunction"&&pe.declare&&Ce.push("declare "),pe.async&&Ce.push("async "),pe.generator?Ce.push("function* "):Ce.push("function "),pe.id&&Ce.push(J("id"));let Oe=R(ue,J,le,Ae),Ie=X(ue,J,le),we=q(pe,Ie);return Ce.push(L(ue,le,J),p([we?p(Oe):Oe,Ie]),pe.body?" ":"",J("body")),le.semi&&(pe.declare||!pe.body)&&Ce.push(";"),Ce}function V(ue,J,le){let ge=ue.getNode(),{kind:pe}=ge,Ae=ge.value||ge,Ce=[];return!pe||pe==="init"||pe==="method"||pe==="constructor"?Ae.async&&Ce.push("async "):(t.ok(pe==="get"||pe==="set"),Ce.push(pe," ")),Ae.generator&&Ce.push("*"),Ce.push(U(ue,J,le),ge.optional||ge.key.optional?"?":""),ge===Ae?Ce.push(j(ue,J,le)):Ae.type==="FunctionExpression"?Ce.push(ue.call(Oe=>j(Oe,J,le),"value")):Ce.push(le("value")),Ce}function j(ue,J,le){let ge=ue.getNode(),pe=R(ue,le,J),Ae=X(ue,le,J),Ce=q(ge,Ae),Oe=[L(ue,J,le),p([Ce?p(pe):pe,Ae])];return ge.body?Oe.push(" ",le("body")):Oe.push(J.semi?";":""),Oe}function K(ue,J,le,ge){let pe=ue.getValue(),Ae=[];if(pe.async&&Ae.push("async "),W(ue,J))Ae.push(le(["params",0]));else{let Oe=ge&&(ge.expandLastArg||ge.expandFirstArg),Ie=X(ue,le,J);if(Oe){if(_(Ie))throw new w;Ie=p(E(Ie))}Ae.push(p([R(ue,le,J,Oe,!0),Ie]))}let Ce=s(ue,J,!0,Oe=>{let Ie=u(J.originalText,Oe,M);return Ie!==!1&&J.originalText.slice(Ie,Ie+2)==="=>"});return Ce&&Ae.push(" ",Ce),Ae}function se(ue,J,le,ge,pe,Ae){let Ce=ue.getName(),Oe=ue.getParentNode(),Ie=C(Oe)&&Ce==="callee",we=Boolean(J&&J.assignmentLayout),_e=Ae.body.type!=="BlockStatement"&&Ae.body.type!=="ObjectExpression"&&Ae.body.type!=="SequenceExpression",De=Ie&&_e||J&&J.assignmentLayout==="chain-tail-arrow-chain",G=Symbol("arrow-chain");return Ae.body.type==="SequenceExpression"&&(pe=p(["(",d([l,pe]),l,")"])),p([p(d([Ie||we?l:"",p(c([" =>",i],le),{shouldBreak:ge})]),{id:G,shouldBreak:De})," =>",D(_e?d([i,pe]):[" ",pe],{groupId:G}),Ie?y(l,"",{groupId:G}):""])}function Q(ue,J,le,ge){let pe=ue.getValue(),Ae=[],Ce=[],Oe=!1;if(function G(){let oe=K(ue,J,le,ge);if(Ae.length===0)Ae.push(oe);else{let{leading:ee,trailing:re}=a(ue,J);Ae.push([ee,oe]),Ce.unshift(re)}Oe=Oe||pe.returnType&&F(pe).length>0||pe.typeParameters||F(pe).some(ee=>ee.type!=="Identifier"),pe.body.type!=="ArrowFunctionExpression"||ge&&ge.expandLastArg?Ce.unshift(le("body",ge)):(pe=pe.body,ue.call(G,"body"))}(),Ae.length>1)return se(ue,ge,Ae,Oe,Ce,pe);let Ie=Ae;if(Ie.push(" =>"),!A(J.originalText,pe.body)&&(pe.body.type==="ArrayExpression"||pe.body.type==="ObjectExpression"||pe.body.type==="BlockStatement"||I(pe.body)||P(pe.body,J.originalText)||pe.body.type==="ArrowFunctionExpression"||pe.body.type==="DoExpression"))return p([...Ie," ",Ce]);if(pe.body.type==="SequenceExpression")return p([...Ie,p([" (",d([l,Ce]),l,")"])]);let we=(ge&&ge.expandLastArg||ue.getParentNode().type==="JSXExpressionContainer")&&!v(pe),_e=ge&&ge.expandLastArg&&H(J,"all"),De=pe.body.type==="ConditionalExpression"&&!f(pe.body,G=>G.type==="ObjectExpression");return p([...Ie,p([d([i,De?y("","("):"",Ce,De?y("",")"):""]),we?[y(_e?",":""),l]:""])])}function ce(ue){let J=F(ue);return J.length===1&&!ue.typeParameters&&!v(ue,h.Dangling)&&J[0].type==="Identifier"&&!J[0].typeAnnotation&&!v(J[0])&&!J[0].optional&&!ue.predicate&&!ue.returnType}function W(ue,J){if(J.arrowParens==="always")return!1;if(J.arrowParens==="avoid"){let le=ue.getValue();return ce(le)}return!1}function X(ue,J,le){let ge=ue.getValue(),pe=J("returnType");if(ge.returnType&&N(le.originalText,ge.returnType))return[" /*: ",pe," */"];let Ae=[pe];return ge.returnType&&ge.returnType.typeAnnotation&&Ae.unshift(": "),ge.predicate&&Ae.push(ge.returnType?" ":": ",J("predicate")),Ae}function de(ue,J,le){let ge=ue.getValue(),pe=J.semi?";":"",Ae=[];ge.argument&&(z(J,ge.argument)?Ae.push([" (",d([g,le("argument")]),g,")"]):b(ge.argument)||ge.argument.type==="SequenceExpression"?Ae.push(p([y(" ("," "),d([l,le("argument")]),l,y(")")])):Ae.push(" ",le("argument")));let Ce=o(ge),Oe=n(Ce),Ie=Oe&&m(Oe);return Ie&&Ae.push(pe),v(ge,h.Dangling)&&Ae.push(" ",s(ue,J,!0)),Ie||Ae.push(pe),Ae}function ie(ue,J,le){return["return",de(ue,J,le)]}function Ee(ue,J,le){return["throw",de(ue,J,le)]}function z(ue,J){if(A(ue.originalText,J))return!0;if(T(J)){let le=J,ge;for(;ge=k(le);)if(le=ge,A(ue.originalText,le))return!0}return!1}r.exports={printFunction:Y,printArrowFunction:Q,printMethod:V,printReturnStatement:ie,printThrowStatement:Ee,printMethodInternal:j,shouldPrintParamsWithoutParens:W}}}),nu=Z({"src/language-js/print/decorators.js"(e,r){"use strict";ne();var{isNonEmptyArray:t,hasNewline:s}=Ue(),{builders:{line:a,hardline:n,join:u,breakParent:i,group:l}}=Me(),{locStart:p,locEnd:d}=ut(),{getParentExportDeclaration:y}=Ke();function g(w,F,A){let N=w.getValue();return l([u(a,w.map(A,"decorators")),E(N,F)?n:a])}function c(w,F,A){return[u(n,w.map(A,"declaration","decorators")),n]}function D(w,F,A){let N=w.getValue(),{decorators:I}=N;if(!t(I)||_(w.getParentNode()))return;let P=N.type==="ClassExpression"||N.type==="ClassDeclaration"||E(N,F);return[y(w)?n:P?i:"",u(a,w.map(A,"decorators")),a]}function E(w,F){return w.decorators.some(A=>s(F.originalText,d(A)))}function _(w){if(w.type!=="ExportDefaultDeclaration"&&w.type!=="ExportNamedDeclaration"&&w.type!=="DeclareExportDeclaration")return!1;let F=w.declaration&&w.declaration.decorators;return t(F)&&p(w)===p(F[0])}r.exports={printDecorators:D,printClassMemberDecorators:g,printDecoratorsBeforeExport:c,hasDecoratorsBeforeExport:_}}}),nr=Z({"src/language-js/print/class.js"(e,r){"use strict";ne();var{isNonEmptyArray:t,createGroupIdMapper:s}=Ue(),{printComments:a,printDanglingComments:n}=et(),{builders:{join:u,line:i,hardline:l,softline:p,group:d,indent:y,ifBreak:g}}=Me(),{hasComment:c,CommentCheckFlags:D}=Ke(),{getTypeParametersGroupId:E}=jr(),{printMethod:_}=qr(),{printOptionalToken:w,printTypeAnnotation:F,printDefiniteToken:A}=ct(),{printPropertyKey:N}=rr(),{printAssignment:I}=tr(),{printClassMemberDecorators:P}=nu();function H(x,T,k){let M=x.getValue(),R=[];M.declare&&R.push("declare "),M.abstract&&R.push("abstract "),R.push("class");let q=M.id&&c(M.id,D.Trailing)||M.typeParameters&&c(M.typeParameters,D.Trailing)||M.superClass&&c(M.superClass)||t(M.extends)||t(M.mixins)||t(M.implements),U=[],L=[];if(M.id&&U.push(" ",k("id")),U.push(k("typeParameters")),M.superClass){let Y=[h(x,T,k),k("superTypeParameters")],V=x.call(j=>["extends ",a(j,Y,T)],"superClass");q?L.push(i,d(V)):L.push(" ",V)}else L.push(o(x,T,k,"extends"));if(L.push(o(x,T,k,"mixins"),o(x,T,k,"implements")),q){let Y;v(M)?Y=[...U,y(L)]:Y=y([...U,L]),R.push(d(Y,{id:f(M)}))}else R.push(...U,...L);return R.push(" ",k("body")),R}var f=s("heritageGroup");function b(x){return g(l,"",{groupId:f(x)})}function m(x){return["superClass","extends","mixins","implements"].filter(T=>Boolean(x[T])).length>1}function v(x){return x.typeParameters&&!c(x.typeParameters,D.Trailing|D.Line)&&!m(x)}function o(x,T,k,M){let R=x.getValue();if(!t(R[M]))return"";let q=n(x,T,!0,U=>{let{marker:L}=U;return L===M});return[v(R)?g(" ",i,{groupId:E(R.typeParameters)}):i,q,q&&l,M,d(y([i,u([",",i],x.map(k,M))]))]}function h(x,T,k){let M=k("superClass");return x.getParentNode().type==="AssignmentExpression"?d(g(["(",y([p,M]),p,")"],M)):M}function C(x,T,k){let M=x.getValue(),R=[];return t(M.decorators)&&R.push(P(x,T,k)),M.accessibility&&R.push(M.accessibility+" "),M.readonly&&R.push("readonly "),M.declare&&R.push("declare "),M.static&&R.push("static "),(M.type==="TSAbstractMethodDefinition"||M.abstract)&&R.push("abstract "),M.override&&R.push("override "),R.push(_(x,T,k)),R}function S(x,T,k){let M=x.getValue(),R=[],q=T.semi?";":"";return t(M.decorators)&&R.push(P(x,T,k)),M.accessibility&&R.push(M.accessibility+" "),M.declare&&R.push("declare "),M.static&&R.push("static "),(M.type==="TSAbstractPropertyDefinition"||M.type==="TSAbstractAccessorProperty"||M.abstract)&&R.push("abstract "),M.override&&R.push("override "),M.readonly&&R.push("readonly "),M.variance&&R.push(k("variance")),(M.type==="ClassAccessorProperty"||M.type==="AccessorProperty"||M.type==="TSAbstractAccessorProperty")&&R.push("accessor "),R.push(N(x,T,k),w(x),A(x),F(x,T,k)),[I(x,T,k,R," =","value"),q]}r.exports={printClass:H,printClassMethod:C,printClassProperty:S,printHardlineAfterHeritage:b}}}),bo=Z({"src/language-js/print/interface.js"(e,r){"use strict";ne();var{isNonEmptyArray:t}=Ue(),{builders:{join:s,line:a,group:n,indent:u,ifBreak:i}}=Me(),{hasComment:l,identity:p,CommentCheckFlags:d}=Ke(),{getTypeParametersGroupId:y}=jr(),{printTypeScriptModifiers:g}=ct();function c(D,E,_){let w=D.getValue(),F=[];w.declare&&F.push("declare "),w.type==="TSInterfaceDeclaration"&&F.push(w.abstract?"abstract ":"",g(D,E,_)),F.push("interface");let A=[],N=[];w.type!=="InterfaceTypeAnnotation"&&A.push(" ",_("id"),_("typeParameters"));let I=w.typeParameters&&!l(w.typeParameters,d.Trailing|d.Line);return t(w.extends)&&N.push(I?i(" ",a,{groupId:y(w.typeParameters)}):a,"extends ",(w.extends.length===1?p:u)(s([",",a],D.map(_,"extends")))),w.id&&l(w.id,d.Trailing)||t(w.extends)?I?F.push(n([...A,u(N)])):F.push(n(u([...A,...N]))):F.push(...A,...N),F.push(" ",_("body")),n(F)}r.exports={printInterface:c}}}),To=Z({"src/language-js/print/module.js"(e,r){"use strict";ne();var{isNonEmptyArray:t}=Ue(),{builders:{softline:s,group:a,indent:n,join:u,line:i,ifBreak:l,hardline:p}}=Me(),{printDanglingComments:d}=et(),{hasComment:y,CommentCheckFlags:g,shouldPrintComma:c,needsHardlineAfterDanglingComment:D,isStringLiteral:E,rawText:_}=Ke(),{locStart:w,hasSameLoc:F}=ut(),{hasDecoratorsBeforeExport:A,printDecoratorsBeforeExport:N}=nu();function I(S,x,T){let k=S.getValue(),M=x.semi?";":"",R=[],{importKind:q}=k;return R.push("import"),q&&q!=="value"&&R.push(" ",q),R.push(m(S,x,T),b(S,x,T),o(S,x,T),M),R}function P(S,x,T){let k=S.getValue(),M=[];A(k)&&M.push(N(S,x,T));let{type:R,exportKind:q,declaration:U}=k;return M.push("export"),(k.default||R==="ExportDefaultDeclaration")&&M.push(" default"),y(k,g.Dangling)&&(M.push(" ",d(S,x,!0)),D(k)&&M.push(p)),U?M.push(" ",T("declaration")):M.push(q==="type"?" type":"",m(S,x,T),b(S,x,T),o(S,x,T)),f(k,x)&&M.push(";"),M}function H(S,x,T){let k=S.getValue(),M=x.semi?";":"",R=[],{exportKind:q,exported:U}=k;return R.push("export"),q==="type"&&R.push(" type"),R.push(" *"),U&&R.push(" as ",T("exported")),R.push(b(S,x,T),o(S,x,T),M),R}function f(S,x){if(!x.semi)return!1;let{type:T,declaration:k}=S,M=S.default||T==="ExportDefaultDeclaration";if(!k)return!0;let{type:R}=k;return!!(M&&R!=="ClassDeclaration"&&R!=="FunctionDeclaration"&&R!=="TSInterfaceDeclaration"&&R!=="DeclareClass"&&R!=="DeclareFunction"&&R!=="TSDeclareFunction"&&R!=="EnumDeclaration")}function b(S,x,T){let k=S.getValue();if(!k.source)return"";let M=[];return v(k,x)||M.push(" from"),M.push(" ",T("source")),M}function m(S,x,T){let k=S.getValue();if(v(k,x))return"";let M=[" "];if(t(k.specifiers)){let R=[],q=[];S.each(()=>{let U=S.getValue().type;if(U==="ExportNamespaceSpecifier"||U==="ExportDefaultSpecifier"||U==="ImportNamespaceSpecifier"||U==="ImportDefaultSpecifier")R.push(T());else if(U==="ExportSpecifier"||U==="ImportSpecifier")q.push(T());else throw new Error(`Unknown specifier type ${JSON.stringify(U)}`)},"specifiers"),M.push(u(", ",R)),q.length>0&&(R.length>0&&M.push(", "),q.length>1||R.length>0||k.specifiers.some(L=>y(L))?M.push(a(["{",n([x.bracketSpacing?i:s,u([",",i],q)]),l(c(x)?",":""),x.bracketSpacing?i:s,"}"])):M.push(["{",x.bracketSpacing?" ":"",...q,x.bracketSpacing?" ":"","}"]))}else M.push("{}");return M}function v(S,x){let{type:T,importKind:k,source:M,specifiers:R}=S;return T!=="ImportDeclaration"||t(R)||k==="type"?!1:!/{\s*}/.test(x.originalText.slice(w(S),w(M)))}function o(S,x,T){let k=S.getNode();return t(k.assertions)?[" assert {",x.bracketSpacing?" ":"",u(", ",S.map(T,"assertions")),x.bracketSpacing?" ":"","}"]:""}function h(S,x,T){let k=S.getNode(),{type:M}=k,R=[],q=M==="ImportSpecifier"?k.importKind:k.exportKind;q&&q!=="value"&&R.push(q," ");let U=M.startsWith("Import"),L=U?"imported":"local",Y=U?"local":"exported",V=k[L],j=k[Y],K="",se="";return M==="ExportNamespaceSpecifier"||M==="ImportNamespaceSpecifier"?K="*":V&&(K=T(L)),j&&!C(k)&&(se=T(Y)),R.push(K,K&&se?" as ":"",se),R}function C(S){if(S.type!=="ImportSpecifier"&&S.type!=="ExportSpecifier")return!1;let{local:x,[S.type==="ImportSpecifier"?"imported":"exported"]:T}=S;if(x.type!==T.type||!F(x,T))return!1;if(E(x))return x.value===T.value&&_(x)===_(T);switch(x.type){case"Identifier":return x.name===T.name;default:return!1}}r.exports={printImportDeclaration:I,printExportDeclaration:P,printExportAllDeclaration:H,printModuleSpecifier:h}}}),uu=Z({"src/language-js/print/object.js"(e,r){"use strict";ne();var{printDanglingComments:t}=et(),{builders:{line:s,softline:a,group:n,indent:u,ifBreak:i,hardline:l}}=Me(),{getLast:p,hasNewlineInRange:d,hasNewline:y,isNonEmptyArray:g}=Ue(),{shouldPrintComma:c,hasComment:D,getComments:E,CommentCheckFlags:_,isNextLineEmpty:w}=Ke(),{locStart:F,locEnd:A}=ut(),{printOptionalToken:N,printTypeAnnotation:I}=ct(),{shouldHugFunctionParameters:P}=Lr(),{shouldHugType:H}=Or(),{printHardlineAfterHeritage:f}=nr();function b(m,v,o){let h=v.semi?";":"",C=m.getValue(),S;C.type==="TSTypeLiteral"?S="members":C.type==="TSInterfaceBody"?S="body":S="properties";let x=C.type==="ObjectTypeAnnotation",T=[S];x&&T.push("indexers","callProperties","internalSlots");let k=T.map(W=>C[W][0]).sort((W,X)=>F(W)-F(X))[0],M=m.getParentNode(0),R=x&&M&&(M.type==="InterfaceDeclaration"||M.type==="DeclareInterface"||M.type==="DeclareClass")&&m.getName()==="body",q=C.type==="TSInterfaceBody"||R||C.type==="ObjectPattern"&&M.type!=="FunctionDeclaration"&&M.type!=="FunctionExpression"&&M.type!=="ArrowFunctionExpression"&&M.type!=="ObjectMethod"&&M.type!=="ClassMethod"&&M.type!=="ClassPrivateMethod"&&M.type!=="AssignmentPattern"&&M.type!=="CatchClause"&&C.properties.some(W=>W.value&&(W.value.type==="ObjectPattern"||W.value.type==="ArrayPattern"))||C.type!=="ObjectPattern"&&k&&d(v.originalText,F(C),F(k)),U=R?";":C.type==="TSInterfaceBody"||C.type==="TSTypeLiteral"?i(h,";"):",",L=C.type==="RecordExpression"?"#{":C.exact?"{|":"{",Y=C.exact?"|}":"}",V=[];for(let W of T)m.each(X=>{let de=X.getValue();V.push({node:de,printed:o(),loc:F(de)})},W);T.length>1&&V.sort((W,X)=>W.loc-X.loc);let j=[],K=V.map(W=>{let X=[...j,n(W.printed)];return j=[U,s],(W.node.type==="TSPropertySignature"||W.node.type==="TSMethodSignature"||W.node.type==="TSConstructSignatureDeclaration")&&D(W.node,_.PrettierIgnore)&&j.shift(),w(W.node,v)&&j.push(l),X});if(C.inexact){let W;if(D(C,_.Dangling)){let X=D(C,_.Line);W=[t(m,v,!0),X||y(v.originalText,A(p(E(C))))?l:s,"..."]}else W=["..."];K.push([...j,...W])}let se=p(C[S]),Q=!(C.inexact||se&&se.type==="RestElement"||se&&(se.type==="TSPropertySignature"||se.type==="TSCallSignatureDeclaration"||se.type==="TSMethodSignature"||se.type==="TSConstructSignatureDeclaration")&&D(se,_.PrettierIgnore)),ce;if(K.length===0){if(!D(C,_.Dangling))return[L,Y,I(m,v,o)];ce=n([L,t(m,v),a,Y,N(m),I(m,v,o)])}else ce=[R&&g(C.properties)?f(M):"",L,u([v.bracketSpacing?s:a,...K]),i(Q&&(U!==","||c(v))?U:""),v.bracketSpacing?s:a,Y,N(m),I(m,v,o)];return m.match(W=>W.type==="ObjectPattern"&&!W.decorators,(W,X,de)=>P(W)&&(X==="params"||X==="parameters"||X==="this"||X==="rest")&&de===0)||m.match(H,(W,X)=>X==="typeAnnotation",(W,X)=>X==="typeAnnotation",(W,X,de)=>P(W)&&(X==="params"||X==="parameters"||X==="this"||X==="rest")&&de===0)||!q&&m.match(W=>W.type==="ObjectPattern",W=>W.type==="AssignmentExpression"||W.type==="VariableDeclarator")?ce:n(ce,{shouldBreak:q})}r.exports={printObject:b}}}),md=Z({"src/language-js/print/flow.js"(e,r){"use strict";ne();var t=Zt(),{printDanglingComments:s}=et(),{printString:a,printNumber:n}=Ue(),{builders:{hardline:u,softline:i,group:l,indent:p}}=Me(),{getParentExportDeclaration:d,isFunctionNotation:y,isGetterOrSetter:g,rawText:c,shouldPrintComma:D}=Ke(),{locStart:E,locEnd:_}=ut(),{replaceTextEndOfLine:w}=Yt(),{printClass:F}=nr(),{printOpaqueType:A,printTypeAlias:N,printIntersectionType:I,printUnionType:P,printFunctionType:H,printTupleType:f,printIndexedAccessType:b}=Or(),{printInterface:m}=bo(),{printTypeParameter:v,printTypeParameters:o}=jr(),{printExportDeclaration:h,printExportAllDeclaration:C}=To(),{printArrayItems:S}=er(),{printObject:x}=uu(),{printPropertyKey:T}=rr(),{printOptionalToken:k,printTypeAnnotation:M,printRestSpread:R}=ct();function q(L,Y,V){let j=L.getValue(),K=Y.semi?";":"",se=[];switch(j.type){case"DeclareClass":return U(L,F(L,Y,V));case"DeclareFunction":return U(L,["function ",V("id"),j.predicate?" ":"",V("predicate"),K]);case"DeclareModule":return U(L,["module ",V("id")," ",V("body")]);case"DeclareModuleExports":return U(L,["module.exports",": ",V("typeAnnotation"),K]);case"DeclareVariable":return U(L,["var ",V("id"),K]);case"DeclareOpaqueType":return U(L,A(L,Y,V));case"DeclareInterface":return U(L,m(L,Y,V));case"DeclareTypeAlias":return U(L,N(L,Y,V));case"DeclareExportDeclaration":return U(L,h(L,Y,V));case"DeclareExportAllDeclaration":return U(L,C(L,Y,V));case"OpaqueType":return A(L,Y,V);case"TypeAlias":return N(L,Y,V);case"IntersectionTypeAnnotation":return I(L,Y,V);case"UnionTypeAnnotation":return P(L,Y,V);case"FunctionTypeAnnotation":return H(L,Y,V);case"TupleTypeAnnotation":return f(L,Y,V);case"GenericTypeAnnotation":return[V("id"),o(L,Y,V,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return b(L,Y,V);case"TypeAnnotation":return V("typeAnnotation");case"TypeParameter":return v(L,Y,V);case"TypeofTypeAnnotation":return["typeof ",V("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[V("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(j.value);case"EnumDeclaration":return["enum ",V("id")," ",V("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(j.type==="EnumSymbolBody"||j.explicitType){let Q=null;switch(j.type){case"EnumBooleanBody":Q="boolean";break;case"EnumNumberBody":Q="number";break;case"EnumStringBody":Q="string";break;case"EnumSymbolBody":Q="symbol";break}se.push("of ",Q," ")}if(j.members.length===0&&!j.hasUnknownMembers)se.push(l(["{",s(L,Y),i,"}"]));else{let Q=j.members.length>0?[u,S(L,Y,"members",V),j.hasUnknownMembers||D(Y)?",":""]:[];se.push(l(["{",p([...Q,...j.hasUnknownMembers?[u,"..."]:[]]),s(L,Y,!0),u,"}"]))}return se}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[V("id")," = ",typeof j.init=="object"?V("init"):String(j.init)];case"EnumDefaultedMember":return V("id");case"FunctionTypeParam":{let Q=j.name?V("name"):L.getParentNode().this===j?"this":"";return[Q,k(L),Q?": ":"",V("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return m(L,Y,V);case"ClassImplements":case"InterfaceExtends":return[V("id"),V("typeParameters")];case"NullableTypeAnnotation":return["?",V("typeAnnotation")];case"Variance":{let{kind:Q}=j;return t.ok(Q==="plus"||Q==="minus"),Q==="plus"?"+":"-"}case"ObjectTypeCallProperty":return j.static&&se.push("static "),se.push(V("value")),se;case"ObjectTypeIndexer":return[j.static?"static ":"",j.variance?V("variance"):"","[",V("id"),j.id?": ":"",V("key"),"]: ",V("value")];case"ObjectTypeProperty":{let Q="";return j.proto?Q="proto ":j.static&&(Q="static "),[Q,g(j)?j.kind+" ":"",j.variance?V("variance"):"",T(L,Y,V),k(L),y(j)?"":": ",V("value")]}case"ObjectTypeAnnotation":return x(L,Y,V);case"ObjectTypeInternalSlot":return[j.static?"static ":"","[[",V("id"),"]]",k(L),j.method?"":": ",V("value")];case"ObjectTypeSpreadProperty":return R(L,Y,V);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[V("qualification"),".",V("id")];case"StringLiteralTypeAnnotation":return w(a(c(j),Y));case"NumberLiteralTypeAnnotation":t.strictEqual(typeof j.value,"number");case"BigIntLiteralTypeAnnotation":return j.extra?n(j.extra.raw):n(j.raw);case"TypeCastExpression":return["(",V("expression"),M(L,Y,V),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let Q=o(L,Y,V,"params");if(Y.parser==="flow"){let ce=E(j),W=_(j),X=Y.originalText.lastIndexOf("/*",ce),de=Y.originalText.indexOf("*/",W);if(X!==-1&&de!==-1){let ie=Y.originalText.slice(X+2,de).trim();if(ie.startsWith("::")&&!ie.includes("/*")&&!ie.includes("*/"))return["/*:: ",Q," */"]}}return Q}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",V("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(j.type))}}function U(L,Y){let V=d(L);return V?(t.strictEqual(V.type,"DeclareExportDeclaration"),Y):["declare ",Y]}r.exports={printFlow:q}}}),dd=Z({"src/language-js/utils/is-ts-keyword-type.js"(e,r){"use strict";ne();function t(s){let{type:a}=s;return a.startsWith("TS")&&a.endsWith("Keyword")}r.exports=t}}),Bo=Z({"src/language-js/print/ternary.js"(e,r){"use strict";ne();var{hasNewlineInRange:t}=Ue(),{isJsxNode:s,getComments:a,isCallExpression:n,isMemberExpression:u,isTSTypeExpression:i}=Ke(),{locStart:l,locEnd:p}=ut(),d=Ot(),{builders:{line:y,softline:g,group:c,indent:D,align:E,ifBreak:_,dedent:w,breakParent:F}}=Me();function A(f){let b=[f];for(let m=0;mR[ie]===v),U=R.type===v.type&&!q,L,Y,V=0;do Y=L||v,L=f.getParentNode(V),V++;while(L&&L.type===v.type&&S.every(ie=>L[ie]!==Y));let j=L||R,K=Y;if(o&&(s(v[S[0]])||s(x)||s(T)||A(K))){M=!0,U=!0;let ie=z=>[_("("),D([g,z]),g,_(")")],Ee=z=>z.type==="NullLiteral"||z.type==="Literal"&&z.value===null||z.type==="Identifier"&&z.name==="undefined";k.push(" ? ",Ee(x)?m(h):ie(m(h))," : ",T.type===v.type||Ee(T)?m(C):ie(m(C)))}else{let ie=[y,"? ",x.type===v.type?_("","("):"",E(2,m(h)),x.type===v.type?_("",")"):"",y,": ",T.type===v.type?m(C):E(2,m(C))];k.push(R.type!==v.type||R[C]===v||q?ie:b.useTabs?w(D(ie)):E(Math.max(0,b.tabWidth-2),ie))}let Q=[...S.map(ie=>a(v[ie])),a(x),a(T)].flat().some(ie=>d(ie)&&t(b.originalText,l(ie),p(ie))),ce=ie=>R===j?c(ie,{shouldBreak:Q}):Q?[ie,F]:ie,W=!M&&(u(R)||R.type==="NGPipeExpression"&&R.left===v)&&!R.computed,X=P(f),de=ce([N(f,b,m),U?k:D(k),o&&W&&!X?g:""]);return q||X?c([D([g,de]),g]):de}r.exports={printTernary:H}}}),No=Z({"src/language-js/print/statement.js"(e,r){"use strict";ne();var{builders:{hardline:t}}=Me(),s=qt(),{getLeftSidePathName:a,hasNakedLeftSide:n,isJsxNode:u,isTheOnlyJsxElementInMarkdown:i,hasComment:l,CommentCheckFlags:p,isNextLineEmpty:d}=Ke(),{shouldPrintParamsWithoutParens:y}=qr();function g(N,I,P,H){let f=N.getValue(),b=[],m=f.type==="ClassBody",v=c(f[H]);return N.each((o,h,C)=>{let S=o.getValue();if(S.type==="EmptyStatement")return;let x=P();!I.semi&&!m&&!i(I,o)&&D(o,I)?l(S,p.Leading)?b.push(P([],{needsSemi:!0})):b.push(";",x):b.push(x),!I.semi&&m&&F(S)&&A(S,C[h+1])&&b.push(";"),S!==v&&(b.push(t),d(S,I)&&b.push(t))},H),b}function c(N){for(let I=N.length-1;I>=0;I--){let P=N[I];if(P.type!=="EmptyStatement")return P}}function D(N,I){return N.getNode().type!=="ExpressionStatement"?!1:N.call(H=>E(H,I),"expression")}function E(N,I){let P=N.getValue();switch(P.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!y(N,I))return!0;break}case"UnaryExpression":{let{prefix:H,operator:f}=P;if(H&&(f==="+"||f==="-"))return!0;break}case"BindExpression":{if(!P.object)return!0;break}case"Literal":{if(P.regex)return!0;break}default:if(u(P))return!0}return s(N,I)?!0:n(P)?N.call(H=>E(H,I),...a(N,P)):!1}function _(N,I,P){return g(N,I,P,"body")}function w(N,I,P){return g(N,I,P,"consequent")}var F=N=>{let{type:I}=N;return I==="ClassProperty"||I==="PropertyDefinition"||I==="ClassPrivateProperty"||I==="ClassAccessorProperty"||I==="AccessorProperty"||I==="TSAbstractPropertyDefinition"||I==="TSAbstractAccessorProperty"};function A(N,I){let{type:P,name:H}=N.key;if(!N.computed&&P==="Identifier"&&(H==="static"||H==="get"||H==="set"||H==="accessor")&&!N.value&&!N.typeAnnotation)return!0;if(!I||I.static||I.accessibility)return!1;if(!I.computed){let f=I.key&&I.key.name;if(f==="in"||f==="instanceof")return!0}if(F(I)&&I.variance&&!I.static&&!I.declare)return!0;switch(I.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return I.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((I.value?I.value.async:I.async)||I.kind==="get"||I.kind==="set")return!1;let b=I.value?I.value.generator:I.generator;return!!(I.computed||b)}case"TSIndexSignature":return!0}return!1}r.exports={printBody:_,printSwitchCaseConsequent:w}}}),wo=Z({"src/language-js/print/block.js"(e,r){"use strict";ne();var{printDanglingComments:t}=et(),{isNonEmptyArray:s}=Ue(),{builders:{hardline:a,indent:n}}=Me(),{hasComment:u,CommentCheckFlags:i,isNextLineEmpty:l}=Ke(),{printHardlineAfterHeritage:p}=nr(),{printBody:d}=No();function y(c,D,E){let _=c.getValue(),w=[];if(_.type==="StaticBlock"&&w.push("static "),_.type==="ClassBody"&&s(_.body)){let A=c.getParentNode();w.push(p(A))}w.push("{");let F=g(c,D,E);if(F)w.push(n([a,F]),a);else{let A=c.getParentNode(),N=c.getParentNode(1);A.type==="ArrowFunctionExpression"||A.type==="FunctionExpression"||A.type==="FunctionDeclaration"||A.type==="ObjectMethod"||A.type==="ClassMethod"||A.type==="ClassPrivateMethod"||A.type==="ForStatement"||A.type==="WhileStatement"||A.type==="DoWhileStatement"||A.type==="DoExpression"||A.type==="CatchClause"&&!N.finalizer||A.type==="TSModuleDeclaration"||A.type==="TSDeclareFunction"||_.type==="StaticBlock"||_.type==="ClassBody"||w.push(a)}return w.push("}"),w}function g(c,D,E){let _=c.getValue(),w=s(_.directives),F=_.body.some(I=>I.type!=="EmptyStatement"),A=u(_,i.Dangling);if(!w&&!F&&!A)return"";let N=[];if(w&&c.each((I,P,H)=>{N.push(E()),(P"]),ue=[y("("),p([i,W("expression")]),i,y(")")];return Ee?d([[z,W("expression")],[z,l(ue,{shouldBreak:!0})],[z,W("expression")]]):l([z,W("expression")])}case"TSDeclareFunction":return T(Q,W,ce);case"TSExportAssignment":return["export = ",W("expression"),de];case"TSModuleBlock":return R(Q,ce,W);case"TSInterfaceBody":case"TSTypeLiteral":return v(Q,ce,W);case"TSTypeAliasDeclaration":return q(Q,ce,W);case"TSQualifiedName":return a(".",[W("left"),W("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return h(Q,ce,W);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return o(Q,ce,W);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return ie.push(W("expression")),X.typeParameters&&ie.push(W("typeParameters")),ie;case"TSTemplateLiteralType":return b(Q,W,ce);case"TSNamedTupleMember":return[W("label"),X.optional?"?":"",": ",W("elementType")];case"TSRestType":return["...",W("typeAnnotation")];case"TSOptionalType":return[W("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return M(Q,ce,W);case"TSClassImplements":return[W("expression"),W("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return S(Q,ce,W,"params");case"TSTypeParameter":return C(Q,ce,W);case"TSSatisfiesExpression":case"TSAsExpression":{let Ee=X.type==="TSAsExpression"?"as":"satisfies";ie.push(W("expression"),` ${Ee} `,W("typeAnnotation"));let z=Q.getParentNode();return E(z)&&z.callee===X||_(z)&&z.object===X?l([p([i,...ie]),i]):ie}case"TSArrayType":return[W("elementType"),"[]"];case"TSPropertySignature":return X.readonly&&ie.push("readonly "),ie.push(x(Q,ce,W),N(Q)),X.typeAnnotation&&ie.push(": ",W("typeAnnotation")),X.initializer&&ie.push(" = ",W("initializer")),ie;case"TSParameterProperty":return X.accessibility&&ie.push(X.accessibility+" "),X.export&&ie.push("export "),X.static&&ie.push("static "),X.override&&ie.push("override "),X.readonly&&ie.push("readonly "),ie.push(W("parameter")),ie;case"TSTypeQuery":return["typeof ",W("exprName"),W("typeParameters")];case"TSIndexSignature":{let Ee=Q.getParentNode(),z=X.parameters.length>1?y(D(ce)?",":""):"",ue=l([p([i,a([", ",i],Q.map(W,"parameters"))]),z,i]);return[X.export?"export ":"",X.accessibility?[X.accessibility," "]:"",X.static?"static ":"",X.readonly?"readonly ":"",X.declare?"declare ":"","[",X.parameters?ue:"",X.typeAnnotation?"]: ":"]",X.typeAnnotation?W("typeAnnotation"):"",Ee.type==="ClassBody"?de:""]}case"TSTypePredicate":return[X.asserts?"asserts ":"",W("parameterName"),X.typeAnnotation?[" is ",W("typeAnnotation")]:""];case"TSNonNullExpression":return[W("expression"),"!"];case"TSImportType":return[X.isTypeOf?"typeof ":"","import(",W(X.parameter?"parameter":"argument"),")",X.qualifier?[".",W("qualifier")]:"",S(Q,ce,W,"typeParameters")];case"TSLiteralType":return W("literal");case"TSIndexedAccessType":return j(Q,ce,W);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(X.type==="TSConstructorType"&&X.abstract&&ie.push("abstract "),X.type!=="TSCallSignatureDeclaration"&&ie.push("new "),ie.push(l(H(Q,W,ce,!1,!0))),X.returnType||X.typeAnnotation){let Ee=X.type==="TSConstructorType";ie.push(Ee?" => ":": ",W("returnType"),W("typeAnnotation"))}return ie}case"TSTypeOperator":return[X.operator," ",W("typeAnnotation")];case"TSMappedType":{let Ee=s(ce.originalText,F(X),A(X));return l(["{",p([ce.bracketSpacing?n:i,X.readonly?[c(X.readonly,"readonly")," "]:"",I(Q,ce,W),W("typeParameter"),X.optional?c(X.optional,"?"):"",X.typeAnnotation?": ":"",W("typeAnnotation"),y(de)]),t(Q,ce,!0),ce.bracketSpacing?n:i,"}"],{shouldBreak:Ee})}case"TSMethodSignature":{let Ee=X.kind&&X.kind!=="method"?`${X.kind} `:"";ie.push(X.accessibility?[X.accessibility," "]:"",Ee,X.export?"export ":"",X.static?"static ":"",X.readonly?"readonly ":"",X.abstract?"abstract ":"",X.declare?"declare ":"",X.computed?"[":"",W("key"),X.computed?"]":"",N(Q));let z=H(Q,W,ce,!1,!0),ue=X.returnType?"returnType":"typeAnnotation",J=X[ue],le=J?W(ue):"",ge=f(X,le);return ie.push(ge?l(z):z),J&&ie.push(": ",l(le)),l(ie)}case"TSNamespaceExportDeclaration":return ie.push("export as namespace ",W("id")),ce.semi&&ie.push(";"),l(ie);case"TSEnumDeclaration":return X.declare&&ie.push("declare "),X.modifiers&&ie.push(I(Q,ce,W)),X.const&&ie.push("const "),ie.push("enum ",W("id")," "),X.members.length===0?ie.push(l(["{",t(Q,ce),i,"}"])):ie.push(l(["{",p([u,m(Q,ce,"members",W),D(ce,"es5")?",":""]),t(Q,ce,!0),u,"}"])),ie;case"TSEnumMember":return X.computed?ie.push("[",W("id"),"]"):ie.push(W("id")),X.initializer&&ie.push(" = ",W("initializer")),ie;case"TSImportEqualsDeclaration":return X.isExport&&ie.push("export "),ie.push("import "),X.importKind&&X.importKind!=="value"&&ie.push(X.importKind," "),ie.push(W("id")," = ",W("moduleReference")),ce.semi&&ie.push(";"),l(ie);case"TSExternalModuleReference":return["require(",W("expression"),")"];case"TSModuleDeclaration":{let Ee=Q.getParentNode(),z=g(X.id),ue=Ee.type==="TSModuleDeclaration",J=X.body&&X.body.type==="TSModuleDeclaration";if(ue)ie.push(".");else{X.declare&&ie.push("declare "),ie.push(I(Q,ce,W));let le=ce.originalText.slice(F(X),F(X.id));X.id.type==="Identifier"&&X.id.name==="global"&&!/namespace|module/.test(le)||ie.push(z||/(?:^|\s)module(?:\s|$)/.test(le)?"module ":"namespace ")}return ie.push(W("id")),J?ie.push(W("body")):X.body?ie.push(" ",l(W("body"))):ie.push(de),ie}case"TSConditionalType":return P(Q,ce,W);case"TSInferType":return["infer"," ",W("typeParameter")];case"TSIntersectionType":return U(Q,ce,W);case"TSUnionType":return L(Q,ce,W);case"TSFunctionType":return Y(Q,ce,W);case"TSTupleType":return V(Q,ce,W);case"TSTypeReference":return[W("typeName"),S(Q,ce,W,"typeParameters")];case"TSTypeAnnotation":return W("typeAnnotation");case"TSEmptyBodyFunctionExpression":return k(Q,ce,W);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return K(Q,W,"?");case"TSJSDocNonNullableType":return K(Q,W,"!");case"TSInstantiationExpression":return[W("expression"),W("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(X.type)}.`)}}r.exports={printTypescript:se}}}),yd=Z({"src/language-js/print/comment.js"(e,r){"use strict";ne();var{hasNewline:t}=Ue(),{builders:{join:s,hardline:a},utils:{replaceTextEndOfLine:n}}=Me(),{isLineComment:u}=Ke(),{locStart:i,locEnd:l}=ut(),p=Ot();function d(c,D){let E=c.getValue();if(u(E))return D.originalText.slice(i(E),l(E)).trimEnd();if(p(E)){if(y(E)){let F=g(E);return E.trailing&&!t(D.originalText,i(E),{backwards:!0})?[a,F]:F}let _=l(E),w=D.originalText.slice(_-3,_)==="*-/";return["/*",n(E.value),w?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(E))}function y(c){let D=`*${c.value}*`.split(`
`);return D.length>1&&D.every(E=>E.trim()[0]==="*")}function g(c){let D=c.value.split(`
`);return["/*",s(a,D.map((E,_)=>_===0?E.trimEnd():" "+(_{let{marker:Je}=je;return Je===v});return[he("expression"),N(Ne,Fe)?"":Ye,ke?[" ",ke]:""]}case"ParenthesizedExpression":return!F(Te.expression)&&(Te.expression.type==="ObjectExpression"||Te.expression.type==="ArrayExpression")?["(",he("expression"),")"]:l(["(",p([i,he("expression")]),i,")"]);case"AssignmentExpression":return De(Fe,Ne,he);case"VariableDeclarator":return _e(Fe,Ne,he);case"BinaryExpression":case"LogicalExpression":return G(Fe,Ne,he);case"AssignmentPattern":return[he("left")," = ",he("right")];case"OptionalMemberExpression":case"MemberExpression":return ee(Fe,Ne,he);case"MetaProperty":return[he("meta"),".",he("property")];case"BindExpression":return Te.object&&Se.push(he("object")),Se.push(l(p([i,L(Fe,Ne,he)]))),Se;case"Identifier":return[Te.name,U(Fe),K(Fe),Y(Fe,Ne,he)];case"V8IntrinsicIdentifier":return["%",Te.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return j(Fe,Ne,he);case"FunctionDeclaration":case"FunctionExpression":return pe(Fe,he,Ne,ze);case"ArrowFunctionExpression":return Ae(Fe,Ne,he,ze);case"YieldExpression":return Se.push("yield"),Te.delegate&&Se.push("*"),Te.argument&&Se.push(" ",he("argument")),Se;case"AwaitExpression":{if(Se.push("await"),Te.argument){Se.push(" ",he("argument"));let ke=Fe.getParentNode();if(b(ke)&&ke.callee===Te||m(ke)&&ke.object===Te){Se=[p([i,...Se]),i];let je=Fe.findAncestor(Je=>Je.type==="AwaitExpression"||Je.type==="BlockStatement");if(!je||je.type!=="AwaitExpression")return l(Se)}}return Se}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return ce(Fe,Ne,he);case"ExportAllDeclaration":return W(Fe,Ne,he);case"ImportDeclaration":return Q(Fe,Ne,he);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return X(Fe,Ne,he);case"ImportAttribute":return[he("key"),": ",he("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return re(Fe,Ne,he);case"ThrowStatement":return Ie(Fe,Ne,he);case"ReturnStatement":return Oe(Fe,Ne,he);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return we(Fe,Ne,he);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return z(Fe,Ne,he);case"ObjectProperty":case"Property":return Te.method||Te.kind==="get"||Te.kind==="set"?Ce(Fe,Ne,he):ge(Fe,Ne,he);case"ObjectMethod":return Ce(Fe,Ne,he);case"Decorator":return["@",he("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Ee(Fe,Ne,he);case"SequenceExpression":{let ke=Fe.getParentNode(0);if(ke.type==="ExpressionStatement"||ke.type==="ForStatement"){let je=[];return Fe.each((Je,Be)=>{Be===0?je.push(he()):je.push(",",p([n,he()]))},"expressions"),l(je)}return l(a([",",n],Fe.map(he,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[he("value"),Ye];case"DirectiveLiteral":return se(Te.extra.raw,Ne);case"UnaryExpression":return Se.push(Te.operator),/[a-z]$/.test(Te.operator)&&Se.push(" "),F(Te.argument)?Se.push(l(["(",p([i,he("argument")]),i,")"])):Se.push(he("argument")),Se;case"UpdateExpression":return Se.push(he("argument"),Te.operator),Te.prefix&&Se.reverse(),Se;case"ConditionalExpression":return de(Fe,Ne,he);case"VariableDeclaration":{let ke=Fe.map(he,"declarations"),je=Fe.getParentNode(),Je=je.type==="ForStatement"||je.type==="ForInStatement"||je.type==="ForOfStatement",Be=Te.declarations.some(Re=>Re.init),qe;return ke.length===1&&!F(Te.declarations[0])?qe=ke[0]:ke.length>0&&(qe=p(ke[0])),Se=[Te.declare?"declare ":"",Te.kind,qe?[" ",qe]:"",p(ke.slice(1).map(Re=>[",",Be&&!Je?u:n,Re]))],Je&&je.body!==Te||Se.push(Ye),l(Se)}case"WithStatement":return l(["with (",he("object"),")",V(Te.body,he("body"))]);case"IfStatement":{let ke=V(Te.consequent,he("consequent")),je=l(["if (",l([p([i,he("test")]),i]),")",ke]);if(Se.push(je),Te.alternate){let Je=F(Te.consequent,A.Trailing|A.Line)||H(Te),Be=Te.consequent.type==="BlockStatement"&&!Je;Se.push(Be?" ":u),F(Te,A.Dangling)&&Se.push(t(Fe,Ne,!0),Je?u:" "),Se.push("else",l(V(Te.alternate,he("alternate"),Te.alternate.type==="IfStatement")))}return Se}case"ForStatement":{let ke=V(Te.body,he("body")),je=t(Fe,Ne,!0),Je=je?[je,i]:"";return!Te.init&&!Te.test&&!Te.update?[Je,l(["for (;;)",ke])]:[Je,l(["for (",l([p([i,he("init"),";",n,he("test"),";",n,he("update")]),i]),")",ke])]}case"WhileStatement":return l(["while (",l([p([i,he("test")]),i]),")",V(Te.body,he("body"))]);case"ForInStatement":return l(["for (",he("left")," in ",he("right"),")",V(Te.body,he("body"))]);case"ForOfStatement":return l(["for",Te.await?" await":""," (",he("left")," of ",he("right"),")",V(Te.body,he("body"))]);case"DoWhileStatement":{let ke=V(Te.body,he("body"));return Se=[l(["do",ke])],Te.body.type==="BlockStatement"?Se.push(" "):Se.push(u),Se.push("while (",l([p([i,he("test")]),i]),")",Ye),Se}case"DoExpression":return[Te.async?"async ":"","do ",he("body")];case"BreakStatement":return Se.push("break"),Te.label&&Se.push(" ",he("label")),Se.push(Ye),Se;case"ContinueStatement":return Se.push("continue"),Te.label&&Se.push(" ",he("label")),Se.push(Ye),Se;case"LabeledStatement":return Te.body.type==="EmptyStatement"?[he("label"),":;"]:[he("label"),": ",he("body")];case"TryStatement":return["try ",he("block"),Te.handler?[" ",he("handler")]:"",Te.finalizer?[" finally ",he("finalizer")]:""];case"CatchClause":if(Te.param){let ke=F(Te.param,Je=>!C(Je)||Je.leading&&s(Ne.originalText,h(Je))||Je.trailing&&s(Ne.originalText,o(Je),{backwards:!0})),je=he("param");return["catch ",ke?["(",p([i,je]),i,") "]:["(",je,") "],he("body")]}return["catch ",he("body")];case"SwitchStatement":return[l(["switch (",p([i,he("discriminant")]),i,")"])," {",Te.cases.length>0?p([u,a(u,Fe.map((ke,je,Je)=>{let Be=ke.getValue();return[he(),je!==Je.length-1&&P(Be,Ne)?u:""]},"cases"))]):"",u,"}"];case"SwitchCase":{Te.test?Se.push("case ",he("test"),":"):Se.push("default:"),F(Te,A.Dangling)&&Se.push(" ",t(Fe,Ne,!0));let ke=Te.consequent.filter(je=>je.type!=="EmptyStatement");if(ke.length>0){let je=oe(Fe,Ne,he);Se.push(ke.length===1&&ke[0].type==="BlockStatement"?[" ",je]:p([u,je]))}return Se}case"DebuggerStatement":return["debugger",Ye];case"ClassDeclaration":case"ClassExpression":return ue(Fe,Ne,he);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return J(Fe,Ne,he);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return le(Fe,Ne,he);case"TemplateElement":return d(Te.value.raw);case"TemplateLiteral":return ie(Fe,he,Ne);case"TaggedTemplateExpression":return[he("tag"),he("typeParameters"),he("quasi")];case"PrivateIdentifier":return["#",he("name")];case"PrivateName":return["#",he("id")];case"InterpreterDirective":return Se.push("#!",Te.value,u),P(Te,Ne)&&Se.push(u),Se;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{Se.push("module {");let ke=he("body");return ke&&Se.push(p([u,ke]),u),Se.push("}"),Se}default:throw new Error("unknown type: "+JSON.stringify(Te.type))}}function ye(Fe){return Fe.type&&!C(Fe)&&!I(Fe)&&Fe.type!=="EmptyStatement"&&Fe.type!=="TemplateElement"&&Fe.type!=="Import"&&Fe.type!=="TSEmptyBodyFunctionExpression"}r.exports={preprocess:_,print:$,embed:y,insertPragma:c,massageAstNode:g,hasPrettierIgnore(Fe){return f(Fe)||M(Fe)},willPrintOwnComments:D.willPrintOwnComments,canAttachComment:ye,printComment:ve,isBlockComment:C,handleComments:{avoidAstMutation:!0,ownLine:D.handleOwnLineComment,endOfLine:D.handleEndOfLineComment,remaining:D.handleRemainingComment},getCommentChildNodes:D.getCommentChildNodes}}}),Cd=Z({"src/language-js/printer-estree-json.js"(e,r){"use strict";ne();var{builders:{hardline:t,indent:s,join:a}}=Me(),n=Fo();function u(d,y,g){let c=d.getValue();switch(c.type){case"JsonRoot":return[g("node"),t];case"ArrayExpression":{if(c.elements.length===0)return"[]";let D=d.map(()=>d.getValue()===null?"null":g(),"elements");return["[",s([t,a([",",t],D)]),t,"]"]}case"ObjectExpression":return c.properties.length===0?"{}":["{",s([t,a([",",t],d.map(g,"properties"))]),t,"}"];case"ObjectProperty":return[g("key"),": ",g("value")];case"UnaryExpression":return[c.operator==="+"?"":c.operator,g("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return c.value?"true":"false";case"StringLiteral":return JSON.stringify(c.value);case"NumericLiteral":return i(d)?JSON.stringify(String(c.value)):JSON.stringify(c.value);case"Identifier":return i(d)?JSON.stringify(c.name):c.name;case"TemplateLiteral":return g(["quasis",0]);case"TemplateElement":return JSON.stringify(c.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(c.type))}}function i(d){return d.getName()==="key"&&d.getParentNode().type==="ObjectProperty"}var l=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function p(d,y){let{type:g}=d;if(g==="ObjectProperty"){let{key:c}=d;c.type==="Identifier"?y.key={type:"StringLiteral",value:c.name}:c.type==="NumericLiteral"&&(y.key={type:"StringLiteral",value:String(c.value)});return}if(g==="UnaryExpression"&&d.operator==="+")return y.argument;if(g==="ArrayExpression"){for(let[c,D]of d.elements.entries())D===null&&y.elements.splice(c,0,{type:"NullLiteral"});return}if(g==="TemplateLiteral")return{type:"StringLiteral",value:d.quasis[0].value.cooked}}p.ignoredProperties=l,r.exports={preprocess:n,print:u,massageAstNode:p}}}),Mt=Z({"src/common/common-options.js"(e,r){"use strict";ne();var t="Common";r.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."}}}}),Ed=Z({"src/language-js/options.js"(e,r){"use strict";ne();var t=Mt(),s="JavaScript";r.exports={arrowParens:{since:"1.9.0",category:s,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:s,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:s,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:s,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:s,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:s,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}}}),Fd=Z({"src/language-js/parse/parsers.js"(){ne()}}),Ln=Z({"node_modules/linguist-languages/data/JavaScript.json"(e,r){r.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}}}),Ad=Z({"node_modules/linguist-languages/data/TypeScript.json"(e,r){r.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}}}),Sd=Z({"node_modules/linguist-languages/data/TSX.json"(e,r){r.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),wa=Z({"node_modules/linguist-languages/data/JSON.json"(e,r){r.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}}}),xd=Z({"node_modules/linguist-languages/data/JSON with Comments.json"(e,r){r.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}}}),bd=Z({"node_modules/linguist-languages/data/JSON5.json"(e,r){r.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Td=Z({"src/language-js/index.js"(e,r){"use strict";ne();var t=_t(),s=vd(),a=Cd(),n=Ed(),u=Fd(),i=[t(Ln(),p=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...p.interpreters,"zx"],extensions:[...p.extensions.filter(d=>d!==".jsx"),".wxs"]})),t(Ln(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),t(Ln(),()=>({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(Ad(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),t(Sd(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),t(wa(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),t(wa(),p=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:p.extensions.filter(d=>d!==".jsonl")})),t(xd(),p=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...p.filenames,".eslintrc",".swcrc"]})),t(bd(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],l={estree:s,"estree-json":a};r.exports={languages:i,options:n,printers:l,parsers:u}}}),Bd=Z({"src/language-css/clean.js"(e,r){"use strict";ne();var{isFrontMatterNode:t}=Ue(),s=lt(),a=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function n(i,l,p){if(t(i)&&i.lang==="yaml"&&delete l.value,i.type==="css-comment"&&p.type==="css-root"&&p.nodes.length>0&&((p.nodes[0]===i||t(p.nodes[0])&&p.nodes[1]===i)&&(delete l.text,/^\*\s*@(?:format|prettier)\s*$/.test(i.text))||p.type==="css-root"&&s(p.nodes)===i))return null;if(i.type==="value-root"&&delete l.text,(i.type==="media-query"||i.type==="media-query-list"||i.type==="media-feature-expression")&&delete l.value,i.type==="css-rule"&&delete l.params,i.type==="selector-combinator"&&(l.value=l.value.replace(/\s+/g," ")),i.type==="media-feature"&&(l.value=l.value.replace(/ /g,"")),(i.type==="value-word"&&(i.isColor&&i.isHex||["initial","inherit","unset","revert"].includes(l.value.replace().toLowerCase()))||i.type==="media-feature"||i.type==="selector-root-invalid"||i.type==="selector-pseudo")&&(l.value=l.value.toLowerCase()),i.type==="css-decl"&&(l.prop=l.prop.toLowerCase()),(i.type==="css-atrule"||i.type==="css-import")&&(l.name=l.name.toLowerCase()),i.type==="value-number"&&(l.unit=l.unit.toLowerCase()),(i.type==="media-feature"||i.type==="media-keyword"||i.type==="media-type"||i.type==="media-unknown"||i.type==="media-url"||i.type==="media-value"||i.type==="selector-attribute"||i.type==="selector-string"||i.type==="selector-class"||i.type==="selector-combinator"||i.type==="value-string")&&l.value&&(l.value=u(l.value)),i.type==="selector-attribute"&&(l.attribute=l.attribute.trim(),l.namespace&&typeof l.namespace=="string"&&(l.namespace=l.namespace.trim(),l.namespace.length===0&&(l.namespace=!0)),l.value&&(l.value=l.value.trim().replace(/^["']|["']$/g,""),delete l.quoted)),(i.type==="media-value"||i.type==="media-type"||i.type==="value-number"||i.type==="selector-root-invalid"||i.type==="selector-class"||i.type==="selector-combinator"||i.type==="selector-tag")&&l.value&&(l.value=l.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(d,y,g)=>{let c=Number(y);return Number.isNaN(c)?d:c+g.toLowerCase()})),i.type==="selector-tag"){let d=i.value.toLowerCase();["from","to"].includes(d)&&(l.value=d)}if(i.type==="css-atrule"&&i.name.toLowerCase()==="supports"&&delete l.value,i.type==="selector-unknown"&&delete l.value,i.type==="value-comma_group"){let d=i.groups.findIndex(y=>y.type==="value-number"&&y.unit==="...");d!==-1&&(l.groups[d].unit="",l.groups.splice(d+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(i.type==="value-comma_group"&&i.groups.some(d=>d.type==="value-atword"&&d.value.endsWith("[")||d.type==="value-word"&&d.value.startsWith("]")))return{type:"value-atword",value:i.groups.map(d=>d.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}n.ignoredProperties=a;function u(i){return i.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}r.exports=n}}),su=Z({"src/utils/front-matter/print.js"(e,r){"use strict";ne();var{builders:{hardline:t,markAsRoot:s}}=Me();function a(n,u){if(n.lang==="yaml"){let i=n.value.trim(),l=i?u(i,{parser:"yaml"},{stripTrailingHardline:!0}):"";return s([n.startDelimiter,t,l,l?t:"",n.endDelimiter])}}r.exports=a}}),Nd=Z({"src/language-css/embed.js"(e,r){"use strict";ne();var{builders:{hardline:t}}=Me(),s=su();function a(n,u,i){let l=n.getValue();if(l.type==="front-matter"){let p=s(l,i);return p?[p,t]:""}}r.exports=a}}),_o=Z({"src/utils/front-matter/parse.js"(e,r){"use strict";ne();var t=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function s(a){let n=a.match(t);if(!n)return{content:a};let{startDelimiter:u,language:i,value:l="",endDelimiter:p}=n.groups,d=i.trim()||"yaml";if(u==="+++"&&(d="toml"),d!=="yaml"&&u!==p)return{content:a};let[y]=n;return{frontMatter:{type:"front-matter",lang:d,value:l,startDelimiter:u,endDelimiter:p,raw:y.replace(/\n$/,"")},content:y.replace(/[^\n]/g," ")+a.slice(y.length)}}r.exports=s}}),wd=Z({"src/language-css/pragma.js"(e,r){"use strict";ne();var t=Co(),s=_o();function a(u){return t.hasPragma(s(u).content)}function n(u){let{frontMatter:i,content:l}=s(u);return(i?i.raw+`
`:"")+t.insertPragma(l)}r.exports={hasPragma:a,insertPragma:n}}}),_d=Z({"src/language-css/utils/index.js"(e,r){"use strict";ne();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 s(z,ue){let J=Array.isArray(ue)?ue:[ue],le=-1,ge;for(;ge=z.getParentNode(++le);)if(J.includes(ge.type))return le;return-1}function a(z,ue){let J=s(z,ue);return J===-1?null:z.getParentNode(J)}function n(z){var ue;let J=a(z,"css-decl");return J==null||(ue=J.prop)===null||ue===void 0?void 0:ue.toLowerCase()}var u=new Set(["initial","inherit","unset","revert"]);function i(z){return u.has(z.toLowerCase())}function l(z,ue){let J=a(z,"css-atrule");return(J==null?void 0:J.name)&&J.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(ue.toLowerCase())}function p(z){return z.includes("$")||z.includes("@")||z.includes("#")||z.startsWith("%")||z.startsWith("--")||z.startsWith(":--")||z.includes("(")&&z.includes(")")?z:z.toLowerCase()}function d(z,ue){var J;let le=a(z,"value-func");return(le==null||(J=le.value)===null||J===void 0?void 0:J.toLowerCase())===ue}function y(z){var ue;let J=a(z,"css-rule"),le=J==null||(ue=J.raws)===null||ue===void 0?void 0:ue.selector;return le&&(le.startsWith(":import")||le.startsWith(":export"))}function g(z,ue){let J=Array.isArray(ue)?ue:[ue],le=a(z,"css-atrule");return le&&J.includes(le.name.toLowerCase())}function c(z){let ue=z.getValue(),J=a(z,"css-atrule");return(J==null?void 0:J.name)==="import"&&ue.groups[0].value==="url"&&ue.groups.length===2}function D(z){return z.type==="value-func"&&z.value.toLowerCase()==="url"}function E(z,ue){var J;let le=(J=z.getParentNode())===null||J===void 0?void 0:J.nodes;return le&&le.indexOf(ue)===le.length-1}function _(z){let{selector:ue}=z;return ue?typeof ue=="string"&&/^@.+:.*$/.test(ue)||ue.value&&/^@.+:.*$/.test(ue.value):!1}function w(z){return z.type==="value-word"&&["from","through","end"].includes(z.value)}function F(z){return z.type==="value-word"&&["and","or","not"].includes(z.value)}function A(z){return z.type==="value-word"&&z.value==="in"}function N(z){return z.type==="value-operator"&&z.value==="*"}function I(z){return z.type==="value-operator"&&z.value==="/"}function P(z){return z.type==="value-operator"&&z.value==="+"}function H(z){return z.type==="value-operator"&&z.value==="-"}function f(z){return z.type==="value-operator"&&z.value==="%"}function b(z){return N(z)||I(z)||P(z)||H(z)||f(z)}function m(z){return z.type==="value-word"&&["==","!="].includes(z.value)}function v(z){return z.type==="value-word"&&["<",">","<=",">="].includes(z.value)}function o(z){return z.type==="css-atrule"&&["if","else","for","each","while"].includes(z.name)}function h(z){var ue;return((ue=z.raws)===null||ue===void 0?void 0:ue.params)&&/^\(\s*\)$/.test(z.raws.params)}function C(z){return z.name.startsWith("prettier-placeholder")}function S(z){return z.prop.startsWith("@prettier-placeholder")}function x(z,ue){return z.value==="$$"&&z.type==="value-func"&&(ue==null?void 0:ue.type)==="value-word"&&!ue.raws.before}function T(z){var ue,J;return((ue=z.value)===null||ue===void 0?void 0:ue.type)==="value-root"&&((J=z.value.group)===null||J===void 0?void 0:J.type)==="value-value"&&z.prop.toLowerCase()==="composes"}function k(z){var ue,J,le;return((ue=z.value)===null||ue===void 0||(J=ue.group)===null||J===void 0||(le=J.group)===null||le===void 0?void 0:le.type)==="value-paren_group"&&z.value.group.group.open!==null&&z.value.group.group.close!==null}function M(z){var ue;return((ue=z.raws)===null||ue===void 0?void 0:ue.before)===""}function R(z){var ue,J;return z.type==="value-comma_group"&&((ue=z.groups)===null||ue===void 0||(J=ue[1])===null||J===void 0?void 0:J.type)==="value-colon"}function q(z){var ue;return z.type==="value-paren_group"&&((ue=z.groups)===null||ue===void 0?void 0:ue[0])&&R(z.groups[0])}function U(z){var ue;let J=z.getValue();if(J.groups.length===0)return!1;let le=z.getParentNode(1);if(!q(J)&&!(le&&q(le)))return!1;let ge=a(z,"css-decl");return!!(ge!=null&&(ue=ge.prop)!==null&&ue!==void 0&&ue.startsWith("$")||q(le)||le.type==="value-func")}function L(z){return z.type==="value-comment"&&z.inline}function Y(z){return z.type==="value-word"&&z.value==="#"}function V(z){return z.type==="value-word"&&z.value==="{"}function j(z){return z.type==="value-word"&&z.value==="}"}function K(z){return["value-word","value-atword"].includes(z.type)}function se(z){return(z==null?void 0:z.type)==="value-colon"}function Q(z,ue){if(!R(ue))return!1;let{groups:J}=ue,le=J.indexOf(z);return le===-1?!1:se(J[le+1])}function ce(z){return z.value&&["not","and","or"].includes(z.value.toLowerCase())}function W(z){return z.type!=="value-func"?!1:t.has(z.value.toLowerCase())}function X(z){return/\/\//.test(z.split(/[\n\r]/).pop())}function de(z){return(z==null?void 0:z.type)==="value-atword"&&z.value.startsWith("prettier-placeholder-")}function ie(z,ue){var J,le;if(((J=z.open)===null||J===void 0?void 0:J.value)!=="("||((le=z.close)===null||le===void 0?void 0:le.value)!==")"||z.groups.some(ge=>ge.type!=="value-comma_group"))return!1;if(ue.type==="value-comma_group"){let ge=ue.groups.indexOf(z)-1,pe=ue.groups[ge];if((pe==null?void 0:pe.type)==="value-word"&&pe.value==="with")return!0}return!1}function Ee(z){var ue,J;return z.type==="value-paren_group"&&((ue=z.open)===null||ue===void 0?void 0:ue.value)==="("&&((J=z.close)===null||J===void 0?void 0:J.value)===")"}r.exports={getAncestorCounter:s,getAncestorNode:a,getPropOfDeclNode:n,maybeToLowerCase:p,insideValueFunctionNode:d,insideICSSRuleNode:y,insideAtRuleNode:g,insideURLFunctionInImportAtRuleNode:c,isKeyframeAtRuleKeywords:l,isWideKeywords:i,isLastNode:E,isSCSSControlDirectiveNode:o,isDetachedRulesetDeclarationNode:_,isRelationalOperatorNode:v,isEqualityOperatorNode:m,isMultiplicationNode:N,isDivisionNode:I,isAdditionNode:P,isSubtractionNode:H,isModuloNode:f,isMathOperatorNode:b,isEachKeywordNode:A,isForKeywordNode:w,isURLFunctionNode:D,isIfElseKeywordNode:F,hasComposesNode:T,hasParensAroundNode:k,hasEmptyRawBefore:M,isDetachedRulesetCallNode:h,isTemplatePlaceholderNode:C,isTemplatePropNode:S,isPostcssSimpleVarNode:x,isKeyValuePairNode:R,isKeyValuePairInParenGroupNode:q,isKeyInValuePairNode:Q,isSCSSMapItemNode:U,isInlineValueCommentNode:L,isHashNode:Y,isLeftCurlyBraceNode:V,isRightCurlyBraceNode:j,isWordNode:K,isColonNode:se,isMediaAndSupportsKeywords:ce,isColorAdjusterFuncNode:W,lastLineHasInlineComment:X,isAtWordPlaceholderNode:de,isConfigurationNode:ie,isParenGroupNode:Ee}}}),Pd=Z({"src/utils/line-column-to-index.js"(e,r){"use strict";ne(),r.exports=function(t,s){let a=0;for(let n=0;n0?y:""]}case"css-comment":{let Ve=ae.inline||ae.raws.inline,We=qe.originalText.slice(be(ae),ve(ae));return Ve?We.trimEnd():We}case"css-rule":return[Re("selector"),ae.important?" !important":"",ae.nodes?[ae.selector&&ae.selector.type==="selector-unknown"&&G(ae.selector.value)?d:" ","{",ae.nodes.length>0?E([y,Fe(Be,qe,Re)]):"",y,"}",M(ae)?";":""]:";"];case"css-decl":{let Ve=Be.getParentNode(),{between:We}=ae.raws,Xe=We.trim(),st=Xe===":",O=W(ae)?A(Re("value")):Re("value");return!st&&G(Xe)&&(O=E([y,_(O)])),[ae.raws.before.replace(/[\s;]/g,""),Ve.type==="css-atrule"&&Ve.variable||o(Be)?ae.prop:m(ae.prop),Xe.startsWith("//")?" ":"",Xe,ae.extend?"":" ",fe(qe)&&ae.extend&&ae.selector?["extend(",Re("selector"),")"]:"",O,ae.raws.important?ae.raws.important.replace(/\s*!\s*important/i," !important"):ae.important?" !important":"",ae.raws.scssDefault?ae.raws.scssDefault.replace(/\s*!default/i," !default"):ae.scssDefault?" !default":"",ae.raws.scssGlobal?ae.raws.scssGlobal.replace(/\s*!global/i," !global"):ae.scssGlobal?" !global":"",ae.nodes?[" {",E([g,Fe(Be,qe,Re)]),g,"}"]:J(ae)&&!Ve.raws.semicolon&&qe.originalText[ve(ae)-1]!==";"?"":qe.__isHTMLStyleAttribute&&T(Be,ae)?w(";"):";"]}case"css-atrule":{let Ve=Be.getParentNode(),We=ue(ae)&&!Ve.raws.semicolon&&qe.originalText[ve(ae)-1]!==";";if(fe(qe)){if(ae.mixin)return[Re("selector"),ae.important?" !important":"",We?"":";"];if(ae.function)return[ae.name,Re("params"),We?"":";"];if(ae.variable)return["@",ae.name,": ",ae.value?Re("value"):"",ae.raws.between.trim()?ae.raws.between.trim()+" ":"",ae.nodes?["{",E([ae.nodes.length>0?g:"",Fe(Be,qe,Re)]),g,"}"]:"",We?"":";"]}return["@",z(ae)||ae.name.endsWith(":")?ae.name:m(ae.name),ae.params?[z(ae)?"":ue(ae)?ae.raws.afterName===""?"":ae.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(ae.raws.afterName)?[y,y]:/^\s*\n/.test(ae.raws.afterName)?y:" ":" ",Re("params")]:"",ae.selector?E([" ",Re("selector")]):"",ae.value?c([" ",Re("value"),k(ae)?X(ae)?" ":d:""]):ae.name==="else"?" ":"",ae.nodes?[k(ae)?"":ae.selector&&!ae.selector.nodes&&typeof ae.selector.value=="string"&&G(ae.selector.value)||!ae.selector&&typeof ae.params=="string"&&G(ae.params)?d:" ","{",E([ae.nodes.length>0?g:"",Fe(Be,qe,Re)]),g,"}"]:We?"":";"]}case"media-query-list":{let Ve=[];return Be.each(We=>{let Xe=We.getValue();Xe.type==="media-query"&&Xe.value===""||Ve.push(Re())},"nodes"),c(E(p(d,Ve)))}case"media-query":return[p(" ",Be.map(Re,"nodes")),T(Be,ae)?"":","];case"media-type":return je(Se(ae.value,qe));case"media-feature-expression":return ae.nodes?["(",...Be.map(Re,"nodes"),")"]:ae.value;case"media-feature":return m(Se(ae.value.replace(/ +/g," "),qe));case"media-colon":return[ae.value," "];case"media-value":return je(Se(ae.value,qe));case"media-keyword":return Se(ae.value,qe);case"media-url":return Se(ae.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),qe);case"media-unknown":return ae.value;case"selector-root":return c([h(Be,"custom-selector")?[f(Be,"css-atrule").customSelector,d]:"",p([",",h(Be,["extend","custom-selector","nest"])?d:y],Be.map(Re,"nodes"))]);case"selector-selector":return c(E(Be.map(Re,"nodes")));case"selector-comment":return ae.value;case"selector-string":return Se(ae.value,qe);case"selector-tag":{let Ve=Be.getParentNode(),We=Ve&&Ve.nodes.indexOf(ae),Xe=We&&Ve.nodes[We-1];return[ae.namespace?[ae.namespace===!0?"":ae.namespace.trim(),"|"]:"",Xe.type==="selector-nesting"?ae.value:je(S(Be,ae.value)?ae.value.toLowerCase():ae.value)]}case"selector-id":return["#",ae.value];case"selector-class":return[".",je(Se(ae.value,qe))];case"selector-attribute":{var nt;return["[",ae.namespace?[ae.namespace===!0?"":ae.namespace.trim(),"|"]:"",ae.attribute.trim(),(nt=ae.operator)!==null&&nt!==void 0?nt:"",ae.value?ke(Se(ae.value.trim(),qe),qe):"",ae.insensitive?" i":"","]"]}case"selector-combinator":{if(ae.value==="+"||ae.value===">"||ae.value==="~"||ae.value===">>>"){let Xe=Be.getParentNode();return[Xe.type==="selector-selector"&&Xe.nodes[0]===ae?"":d,ae.value,T(Be,ae)?"":" "]}let Ve=ae.value.trim().startsWith("(")?d:"",We=je(Se(ae.value.trim(),qe))||d;return[Ve,We]}case"selector-universal":return[ae.namespace?[ae.namespace===!0?"":ae.namespace.trim(),"|"]:"",ae.value];case"selector-pseudo":return[m(ae.value),l(ae.nodes)?c(["(",E([g,p([",",d],Be.map(Re,"nodes"))]),g,")"]):""];case"selector-nesting":return ae.value;case"selector-unknown":{let Ve=f(Be,"css-rule");if(Ve&&Ve.isSCSSNesterProperty)return je(Se(m(ae.value),qe));let We=Be.getParentNode();if(We.raws&&We.raws.selector){let st=be(We),O=st+We.raws.selector.length;return qe.originalText.slice(st,O).trim()}let Xe=Be.getParentNode(1);if(We.type==="value-paren_group"&&Xe&&Xe.type==="value-func"&&Xe.value==="selector"){let st=ve(We.open)+1,O=be(We.close),me=qe.originalText.slice(st,O).trim();return G(me)?[F,me]:me}return ae.value}case"value-value":case"value-root":return Re("group");case"value-comment":return qe.originalText.slice(be(ae),ve(ae));case"value-comma_group":{let Ve=Be.getParentNode(),We=Be.getParentNode(1),Xe=b(Be),st=Xe&&Ve.type==="value-value"&&(Xe==="grid"||Xe.startsWith("grid-template")),O=f(Be,"css-atrule"),me=O&&k(O),Pe=ae.groups.some(at=>pe(at)),He=Be.map(Re,"groups"),Ge=[],it=v(Be,"url"),Qe=!1,rt=!1;for(let at=0;atVr:$r!==-1?Qe=!0:Vr!==-1&&(Qe=!1)}if(Qe||we(Le)||we($e)||Le.type==="value-atword"&&(Le.value===""||Le.value.endsWith("["))||$e.type==="value-word"&&$e.value.startsWith("]")||Le.value==="~"||Le.value&&Le.value.includes("\\")&&$e&&$e.type!=="value-comment"||Ze&&Ze.value&&Ze.value.indexOf("\\")===Ze.value.length-1&&Le.type==="value-operator"&&Le.value==="/"||Le.value==="\\"||le(Le,$e)||Ae(Le)||Ce(Le)||Oe($e)||Ce($e)&&de($e)||Oe(Le)&&de($e)||Le.value==="--"&&Ae($e))continue;let Rr=j(Le),ou=j($e);if((Rr&&Ae($e)||ou&&Oe(Le))&&de($e)||!Ze&&L(Le)||v(Be,"calc")&&(Y(Le)||Y($e)||V(Le)||V($e))&&de($e))continue;let qo=(Y(Le)||V(Le))&&at===0&&($e.type==="value-number"||$e.isHex)&&We&&De(We)&&!de($e),lu=sr&&sr.type==="value-func"||sr&&Ie(sr)||Le.type==="value-func"||Ie(Le),cu=$e.type==="value-func"||Ie($e)||Ze&&Ze.type==="value-func"||Ze&&Ie(Ze);if(!(!(U($e)||U(Le))&&!v(Be,"calc")&&!qo&&(L($e)&&!lu||L(Le)&&!cu||Y($e)&&!lu||Y(Le)&&!cu||V($e)||V(Le))&&(de($e)||Rr&&(!Ze||Ze&&j(Ze))))&&!((qe.parser==="scss"||qe.parser==="less")&&Rr&&Le.value==="-"&&re($e)&&ve(Le)===be($e.open)&&$e.open.value==="(")){if(pe(Le)){if(Ve.type==="value-paren_group"){Ge.push(_(y));continue}Ge.push(y);continue}if(me&&(q($e)||R($e)||ce($e)||K(Le)||se(Le))){Ge.push(" ");continue}if(O&&O.name.toLowerCase()==="namespace"){Ge.push(" ");continue}if(st){Le.source&&$e.source&&Le.source.start.line!==$e.source.start.line?(Ge.push(y),rt=!0):Ge.push(" ");continue}if(ou){Ge.push(" ");continue}if(!($e&&$e.value==="...")&&!(oe(Le)&&oe($e)&&ve(Le)===be($e))){if(oe(Le)&&re($e)&&ve(Le)===be($e.open)){Ge.push(g);continue}if(Le.value==="with"&&re($e)){Ge.push(" ");continue}(tt=Le.value)!==null&&tt!==void 0&&tt.endsWith("#")&&$e.value==="{"&&re($e.group)||Ge.push(d)}}}return Pe&&Ge.push(F),rt&&Ge.unshift(y),me?c(E(Ge)):C(Be)?c(D(Ge)):c(E(D(Ge)))}case"value-paren_group":{let Ve=Be.getParentNode();if(Ve&&Q(Ve)&&(ae.groups.length===1||ae.groups.length>0&&ae.groups[0].type==="value-comma_group"&&ae.groups[0].groups.length>0&&ae.groups[0].groups[0].type==="value-word"&&ae.groups[0].groups[0].value.startsWith("data:")))return[ae.open?Re("open"):"",p(",",Be.map(Re,"groups")),ae.close?Re("close"):""];if(!ae.open){let it=Be.map(Re,"groups"),Qe=[];for(let rt=0;rt{let rt=it.getValue(),at=Qe===ae.groups.length-1,Ze=[Re(),at?"":","];if(ie(rt)&&rt.type==="value-comma_group"&&rt.groups&&rt.groups[0].type!=="value-paren_group"&&rt.groups[2]&&rt.groups[2].type==="value-paren_group"){let Le=N(Ze[0].contents.contents);Le[1]=c(Le[1]),Ze=[c(_(Ze))]}if(!at&&rt.type==="value-comma_group"&&l(rt.groups)){let Le=t(rt.groups);!Le.source&&Le.close&&(Le=Le.close),Le.source&&i(qe.originalText,Le,ve)&&Ze.push(y)}return Ze},"groups"))]),w(!st&&B(qe.parser,qe.originalText)&&We&&te(qe)?",":""),g,ae.close?Re("close"):""],{shouldBreak:Pe});return He?_(Ge):Ge}case"value-func":return[ae.value,h(Be,"supports")&&_e(ae)?" ":"",Re("group")];case"value-paren":return ae.value;case"value-number":return[Je(ae.value),$(ae.unit)];case"value-operator":return ae.value;case"value-word":return ae.isColor&&ae.isHex||x(ae.value)?ae.value.toLowerCase():ae.value;case"value-colon":{let Ve=Be.getParentNode(),We=Ve&&Ve.groups.indexOf(ae),Xe=We&&Ve.groups[We-1];return[ae.value,Xe&&typeof Xe.value=="string"&&t(Xe.value)==="\\"||v(Be,"url")?"":d]}case"value-comma":return[ae.value," "];case"value-string":return a(ae.raws.quote+ae.value+ae.raws.quote,qe);case"value-atword":return["@",ae.value];case"value-unicode-range":return ae.value;case"value-unknown":return ae.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(ae.type)}`)}}function Fe(Be,qe,Re){let ae=[];return Be.each((nt,tt,Ve)=>{let We=Ve[tt-1];if(We&&We.type==="css-comment"&&We.text.trim()==="prettier-ignore"){let Xe=nt.getValue();ae.push(qe.originalText.slice(be(Xe),ve(Xe)))}else ae.push(Re());tt!==Ve.length-1&&(Ve[tt+1].type==="css-comment"&&!n(qe.originalText,be(Ve[tt+1]),{backwards:!0})&&!u(Ve[tt])||Ve[tt+1].type==="css-atrule"&&Ve[tt+1].name==="else"&&Ve[tt].type!=="css-comment"?ae.push(" "):(ae.push(qe.__isHTMLStyleAttribute?d:y),i(qe.originalText,nt.getValue(),ve)&&!u(Ve[tt])&&ae.push(y)))},"nodes"),ae}var Ne=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,he=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,ze=/[A-Za-z]+/g,Te=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Ye=new RegExp(Ne.source+`|(${Te.source})?(${he.source})(${ze.source})?`,"g");function Se(Be,qe){return Be.replace(Ne,Re=>a(Re,qe))}function ke(Be,qe){let Re=qe.singleQuote?"'":'"';return Be.includes('"')||Be.includes("'")?Be:Re+Be+Re}function je(Be){return Be.replace(Ye,(qe,Re,ae,nt,tt)=>!ae&&nt?Je(nt)+m(tt||""):qe)}function Je(Be){return s(Be).replace(/\.0(?=$|e)/,"")}r.exports={print:ye,embed:P,insertPragma:H,massageAstNode:I}}}),Md=Z({"src/language-css/options.js"(e,r){"use strict";ne();var t=Mt();r.exports={singleQuote:t.singleQuote}}}),Rd=Z({"src/language-css/parsers.js"(){ne()}}),$d=Z({"node_modules/linguist-languages/data/CSS.json"(e,r){r.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Vd=Z({"node_modules/linguist-languages/data/PostCSS.json"(e,r){r.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),Wd=Z({"node_modules/linguist-languages/data/Less.json"(e,r){r.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}}}),Hd=Z({"node_modules/linguist-languages/data/SCSS.json"(e,r){r.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Gd=Z({"src/language-css/index.js"(e,r){"use strict";ne();var t=_t(),s=qd(),a=Md(),n=Rd(),u=[t($d(),l=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...l.extensions,".wxss"]})),t(Vd(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),t(Wd(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),t(Hd(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],i={postcss:s};r.exports={languages:u,options:a,printers:i,parsers:n}}}),Ud=Z({"src/language-handlebars/loc.js"(e,r){"use strict";ne();function t(a){return a.loc.start.offset}function s(a){return a.loc.end.offset}r.exports={locStart:t,locEnd:s}}}),Jd=Z({"src/language-handlebars/clean.js"(e,r){"use strict";ne();function t(s,a){if(s.type==="TextNode"){let n=s.chars.trim();if(!n)return null;a.chars=n.replace(/[\t\n\f\r ]+/g," ")}s.type==="AttrNode"&&s.name.toLowerCase()==="class"&&delete a.value}t.ignoredProperties=new Set(["loc","selfClosing"]),r.exports=t}}),zd=Z({"vendors/html-void-elements.json"(e,r){r.exports={htmlVoidElements:["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}}}),Xd=Z({"src/language-handlebars/utils.js"(e,r){"use strict";ne();var{htmlVoidElements:t}=zd(),s=lt();function a(A){let N=A.getValue(),I=A.getParentNode(0);return!!(y(A,["ElementNode"])&&s(I.children)===N||y(A,["Block"])&&s(I.body)===N)}function n(A){return A.toUpperCase()===A}function u(A){return d(A,["ElementNode"])&&typeof A.tag=="string"&&!A.tag.startsWith(":")&&(n(A.tag[0])||A.tag.includes("."))}var i=new Set(t);function l(A){return i.has(A.tag)||A.selfClosing===!0||u(A)&&A.children.every(N=>p(N))}function p(A){return d(A,["TextNode"])&&!/\S/.test(A.chars)}function d(A,N){return A&&N.includes(A.type)}function y(A,N){let I=A.getParentNode(0);return d(I,N)}function g(A,N){let I=E(A);return d(I,N)}function c(A,N){let I=_(A);return d(I,N)}function D(A,N){var I,P,H,f;let b=A.getValue(),m=(I=A.getParentNode(0))!==null&&I!==void 0?I:{},v=(P=(H=(f=m.children)!==null&&f!==void 0?f:m.body)!==null&&H!==void 0?H:m.parts)!==null&&P!==void 0?P:[],o=v.indexOf(b);return o!==-1&&v[o+N]}function E(A){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return D(A,-N)}function _(A){return D(A,1)}function w(A){return d(A,["MustacheCommentStatement"])&&typeof A.value=="string"&&A.value.trim()==="prettier-ignore"}function F(A){let N=A.getValue(),I=E(A,2);return w(N)||w(I)}r.exports={getNextNode:_,getPreviousNode:E,hasPrettierIgnore:F,isLastNodeOfSiblings:a,isNextNodeOfSomeType:c,isNodeOfSomeType:d,isParentOfSomeType:y,isPreviousNodeOfSomeType:g,isVoid:l,isWhitespaceNode:p}}}),Kd=Z({"src/language-handlebars/printer-glimmer.js"(e,r){"use strict";ne();var{builders:{dedent:t,fill:s,group:a,hardline:n,ifBreak:u,indent:i,join:l,line:p,softline:d},utils:{getDocParts:y,replaceTextEndOfLine:g}}=Me(),{getPreferredQuote:c,isNonEmptyArray:D}=Ue(),{locStart:E,locEnd:_}=Ud(),w=Jd(),{getNextNode:F,getPreviousNode:A,hasPrettierIgnore:N,isLastNodeOfSiblings:I,isNextNodeOfSomeType:P,isNodeOfSomeType:H,isParentOfSomeType:f,isPreviousNodeOfSomeType:b,isVoid:m,isWhitespaceNode:v}=Xd(),o=2;function h(G,oe,ee){let re=G.getValue();if(!re)return"";if(N(G))return oe.originalText.slice(E(re),_(re));let be=oe.singleQuote?"'":'"';switch(re.type){case"Block":case"Program":case"Template":return a(G.map(ee,"body"));case"ElementNode":{let ve=a(S(G,ee)),fe=oe.htmlWhitespaceSensitivity==="ignore"&&P(G,["ElementNode"])?d:"";if(m(re))return[ve,fe];let B=["",re.tag,">"];return re.children.length===0?[ve,i(B),fe]:oe.htmlWhitespaceSensitivity==="ignore"?[ve,i(x(G,oe,ee)),n,i(B),fe]:[ve,i(a(x(G,oe,ee))),i(B),fe]}case"BlockStatement":{let ve=G.getParentNode(1);return ve&&ve.inverse&&ve.inverse.body.length===1&&ve.inverse.body[0]===re&&ve.inverse.body[0].path.parts[0]===ve.path.parts[0]?[se(G,ee,ve.inverse.body[0].path.parts[0]),de(G,ee,oe),ie(G,ee,oe)]:[j(G,ee),a([de(G,ee,oe),ie(G,ee,oe),Q(G,ee,oe)])]}case"ElementModifierStatement":return a(["{{",Ie(G,ee),"}}"]);case"MustacheStatement":return a([k(re),Ie(G,ee),M(re)]);case"SubExpression":return a(["(",Oe(G,ee),d,")"]);case"AttrNode":{let ve=re.value.type==="TextNode";if(ve&&re.value.chars===""&&E(re.value)===_(re.value))return re.name;let B=ve?c(re.value.chars,be).quote:re.value.type==="ConcatStatement"?c(re.value.parts.filter(te=>te.type==="TextNode").map(te=>te.chars).join(""),be).quote:"",$=ee("value");return[re.name,"=",B,re.name==="class"&&B?a(i($)):$,B]}case"ConcatStatement":return G.map(ee,"parts");case"Hash":return l(p,G.map(ee,"pairs"));case"HashPair":return[re.key,"=",ee("value")];case"TextNode":{let ve=re.chars.replace(/{{/g,"\\{{"),fe=ue(G);if(fe){if(fe==="class"){let Ye=ve.trim().split(/\s+/).join(" "),Se=!1,ke=!1;return f(G,["ConcatStatement"])&&(b(G,["MustacheStatement"])&&/^\s/.test(ve)&&(Se=!0),P(G,["MustacheStatement"])&&/\s$/.test(ve)&&Ye!==""&&(ke=!0)),[Se?p:"",Ye,ke?p:""]}return g(ve)}let $=/^[\t\n\f\r ]*$/.test(ve),te=!A(G),ye=!F(G);if(oe.htmlWhitespaceSensitivity!=="ignore"){let Ye=/^[\t\n\f\r ]*/,Se=/[\t\n\f\r ]*$/,ke=ye&&f(G,["Template"]),je=te&&f(G,["Template"]);if($){if(je||ke)return"";let ae=[p],nt=J(ve);return nt&&(ae=pe(nt)),I(G)&&(ae=ae.map(tt=>t(tt))),ae}let[Je]=ve.match(Ye),[Be]=ve.match(Se),qe=[];if(Je){qe=[p];let ae=J(Je);ae&&(qe=pe(ae)),ve=ve.replace(Ye,"")}let Re=[];if(Be){if(!ke){Re=[p];let ae=J(Be);ae&&(Re=pe(ae)),I(G)&&(Re=Re.map(nt=>t(nt)))}ve=ve.replace(Se,"")}return[...qe,s(Ee(ve)),...Re]}let Fe=J(ve),Ne=le(ve),he=ge(ve);if((te||ye)&&$&&f(G,["Block","ElementNode","Template"]))return"";$&&Fe?(Ne=Math.min(Fe,o),he=0):(P(G,["BlockStatement","ElementNode"])&&(he=Math.max(he,1)),b(G,["BlockStatement","ElementNode"])&&(Ne=Math.max(Ne,1)));let ze="",Te="";return he===0&&P(G,["MustacheStatement"])&&(Te=" "),Ne===0&&b(G,["MustacheStatement"])&&(ze=" "),te&&(Ne=0,ze=""),ye&&(he=0,Te=""),ve=ve.replace(/^[\t\n\f\r ]+/g,ze).replace(/[\t\n\f\r ]+$/,Te),[...pe(Ne),s(Ee(ve)),...pe(he)]}case"MustacheCommentStatement":{let ve=E(re),fe=_(re),B=oe.originalText.charAt(ve+2)==="~",$=oe.originalText.charAt(fe-3)==="~",te=re.value.includes("}}")?"--":"";return["{{",B?"~":"","!",te,re.value,te,$?"~":"","}}"]}case"PathExpression":return re.original;case"BooleanLiteral":return String(re.value);case"CommentStatement":return[""];case"StringLiteral":{if(Ce(G)){let ve=oe.singleQuote?'"':"'";return Ae(re.value,ve)}return Ae(re.value,be)}case"NumberLiteral":return String(re.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(re.type))}}function C(G,oe){return E(G)-E(oe)}function S(G,oe){let ee=G.getValue(),re=["attributes","modifiers","comments"].filter(ve=>D(ee[ve])),be=re.flatMap(ve=>ee[ve]).sort(C);for(let ve of re)G.each(fe=>{let B=be.indexOf(fe.getValue());be.splice(B,1,[p,oe()])},ve);return D(ee.blockParams)&&be.push(p,De(ee)),["<",ee.tag,i(be),T(ee)]}function x(G,oe,ee){let be=G.getValue().children.every(ve=>v(ve));return oe.htmlWhitespaceSensitivity==="ignore"&&be?"":G.map((ve,fe)=>{let B=ee();return fe===0&&oe.htmlWhitespaceSensitivity==="ignore"?[d,B]:B},"children")}function T(G){return m(G)?u([d,"/>"],[" />",d]):u([d,">"],">")}function k(G){let oe=G.escaped===!1?"{{{":"{{",ee=G.strip&&G.strip.open?"~":"";return[oe,ee]}function M(G){let oe=G.escaped===!1?"}}}":"}}";return[G.strip&&G.strip.close?"~":"",oe]}function R(G){let oe=k(G),ee=G.openStrip.open?"~":"";return[oe,ee,"#"]}function q(G){let oe=M(G);return[G.openStrip.close?"~":"",oe]}function U(G){let oe=k(G),ee=G.closeStrip.open?"~":"";return[oe,ee,"/"]}function L(G){let oe=M(G);return[G.closeStrip.close?"~":"",oe]}function Y(G){let oe=k(G),ee=G.inverseStrip.open?"~":"";return[oe,ee]}function V(G){let oe=M(G);return[G.inverseStrip.close?"~":"",oe]}function j(G,oe){let ee=G.getValue(),re=R(ee),be=q(ee),ve=[we(G,oe)],fe=_e(G,oe);if(fe&&ve.push(p,fe),D(ee.program.blockParams)){let B=De(ee.program);ve.push(p,B)}return a([re,i(ve),d,be])}function K(G,oe){return[oe.htmlWhitespaceSensitivity==="ignore"?n:"",Y(G),"else",V(G)]}function se(G,oe,ee){let re=G.getValue(),be=[];D(re.program.blockParams)&&(be=[p,De(re.program)]);let ve=G.getParentNode(1);return a([Y(ve),i(a([a(["else",p,ee]),p,_e(G,oe)])),i(be),d,V(ve)])}function Q(G,oe,ee){let re=G.getValue();return ee.htmlWhitespaceSensitivity==="ignore"?[ce(re)?d:n,U(re),oe("path"),L(re)]:[U(re),oe("path"),L(re)]}function ce(G){return H(G,["BlockStatement"])&&G.program.body.every(oe=>v(oe))}function W(G){return X(G)&&G.inverse.body.length===1&&H(G.inverse.body[0],["BlockStatement"])&&G.inverse.body[0].path.parts[0]===G.path.parts[0]}function X(G){return H(G,["BlockStatement"])&&G.inverse}function de(G,oe,ee){let re=G.getValue();if(ce(re))return"";let be=oe("program");return ee.htmlWhitespaceSensitivity==="ignore"?i([n,be]):i(be)}function ie(G,oe,ee){let re=G.getValue(),be=oe("inverse"),ve=ee.htmlWhitespaceSensitivity==="ignore"?[n,be]:be;return W(re)?ve:X(re)?[K(re,ee),i(ve)]:""}function Ee(G){return y(l(p,z(G)))}function z(G){return G.split(/[\t\n\f\r ]+/)}function ue(G){for(let oe=0;oe<2;oe++){let ee=G.getParentNode(oe);if(ee&&ee.type==="AttrNode")return ee.name.toLowerCase()}}function J(G){return G=typeof G=="string"?G:"",G.split(`
`).length-1}function le(G){G=typeof G=="string"?G:"";let oe=(G.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return J(oe)}function ge(G){G=typeof G=="string"?G:"";let oe=(G.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return J(oe)}function pe(){let G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(G,o)}).fill(n)}function Ae(G,oe){let{quote:ee,regex:re}=c(G,oe);return[ee,G.replace(re,`\\${ee}`),ee]}function Ce(G){let oe=0,ee=G.getParentNode(oe);for(;ee&&H(ee,["SubExpression"]);)oe++,ee=G.getParentNode(oe);return!!(ee&&H(G.getParentNode(oe+1),["ConcatStatement"])&&H(G.getParentNode(oe+2),["AttrNode"]))}function Oe(G,oe){let ee=we(G,oe),re=_e(G,oe);return re?i([ee,p,a(re)]):ee}function Ie(G,oe){let ee=we(G,oe),re=_e(G,oe);return re?[i([ee,p,re]),d]:ee}function we(G,oe){return oe("path")}function _e(G,oe){let ee=G.getValue(),re=[];if(ee.params.length>0){let be=G.map(oe,"params");re.push(...be)}if(ee.hash&&ee.hash.pairs.length>0){let be=oe("hash");re.push(be)}return re.length===0?"":l(p,re)}function De(G){return["as |",G.blockParams.join(" "),"|"]}r.exports={print:h,massageAstNode:w}}}),Yd=Z({"src/language-handlebars/parsers.js"(){ne()}}),Qd=Z({"node_modules/linguist-languages/data/Handlebars.json"(e,r){r.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),Zd=Z({"src/language-handlebars/index.js"(e,r){"use strict";ne();var t=_t(),s=Kd(),a=Yd(),n=[t(Qd(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],u={glimmer:s};r.exports={languages:n,printers:u,parsers:a}}}),eg=Z({"src/language-graphql/pragma.js"(e,r){"use strict";ne();function t(a){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(a)}function s(a){return`# @format
`+a}r.exports={hasPragma:t,insertPragma:s}}}),tg=Z({"src/language-graphql/loc.js"(e,r){"use strict";ne();function t(a){return typeof a.start=="number"?a.start:a.loc&&a.loc.start}function s(a){return typeof a.end=="number"?a.end:a.loc&&a.loc.end}r.exports={locStart:t,locEnd:s}}}),rg=Z({"src/language-graphql/printer-graphql.js"(e,r){"use strict";ne();var{builders:{join:t,hardline:s,line:a,softline:n,group:u,indent:i,ifBreak:l}}=Me(),{isNextLineEmpty:p,isNonEmptyArray:d}=Ue(),{insertPragma:y}=eg(),{locStart:g,locEnd:c}=tg();function D(P,H,f){let b=P.getValue();if(!b)return"";if(typeof b=="string")return b;switch(b.kind){case"Document":{let m=[];return P.each((v,o,h)=>{m.push(f()),o!==h.length-1&&(m.push(s),p(H.originalText,v.getValue(),c)&&m.push(s))},"definitions"),[...m,s]}case"OperationDefinition":{let m=H.originalText[g(b)]!=="{",v=Boolean(b.name);return[m?b.operation:"",m&&v?[" ",f("name")]:"",m&&!v&&d(b.variableDefinitions)?" ":"",d(b.variableDefinitions)?u(["(",i([n,t([l("",", "),n],P.map(f,"variableDefinitions"))]),n,")"]):"",E(P,f,b),b.selectionSet?!m&&!v?"":" ":"",f("selectionSet")]}case"FragmentDefinition":return["fragment ",f("name"),d(b.variableDefinitions)?u(["(",i([n,t([l("",", "),n],P.map(f,"variableDefinitions"))]),n,")"]):""," on ",f("typeCondition"),E(P,f,b)," ",f("selectionSet")];case"SelectionSet":return["{",i([s,t(s,_(P,H,f,"selections"))]),s,"}"];case"Field":return u([b.alias?[f("alias"),": "]:"",f("name"),b.arguments.length>0?u(["(",i([n,t([l("",", "),n],_(P,H,f,"arguments"))]),n,")"]):"",E(P,f,b),b.selectionSet?" ":"",f("selectionSet")]);case"Name":return b.value;case"StringValue":{if(b.block){let m=b.value.replace(/"""/g,"\\$&").split(`
`);return m.length===1&&(m[0]=m[0].trim()),m.every(v=>v==="")&&(m.length=0),t(s,['"""',...m,'"""'])}return['"',b.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return b.value;case"BooleanValue":return b.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",f("name")];case"ListValue":return u(["[",i([n,t([l("",", "),n],P.map(f,"values"))]),n,"]"]);case"ObjectValue":return u(["{",H.bracketSpacing&&b.fields.length>0?" ":"",i([n,t([l("",", "),n],P.map(f,"fields"))]),n,l("",H.bracketSpacing&&b.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[f("name"),": ",f("value")];case"Directive":return["@",f("name"),b.arguments.length>0?u(["(",i([n,t([l("",", "),n],_(P,H,f,"arguments"))]),n,")"]):""];case"NamedType":return f("name");case"VariableDefinition":return[f("variable"),": ",f("type"),b.defaultValue?[" = ",f("defaultValue")]:"",E(P,f,b)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[f("description"),b.description?s:"",b.kind==="ObjectTypeExtension"?"extend ":"","type ",f("name"),b.interfaces.length>0?[" implements ",...A(P,H,f)]:"",E(P,f,b),b.fields.length>0?[" {",i([s,t(s,_(P,H,f,"fields"))]),s,"}"]:""];case"FieldDefinition":return[f("description"),b.description?s:"",f("name"),b.arguments.length>0?u(["(",i([n,t([l("",", "),n],_(P,H,f,"arguments"))]),n,")"]):"",": ",f("type"),E(P,f,b)];case"DirectiveDefinition":return[f("description"),b.description?s:"","directive ","@",f("name"),b.arguments.length>0?u(["(",i([n,t([l("",", "),n],_(P,H,f,"arguments"))]),n,")"]):"",b.repeatable?" repeatable":""," on ",t(" | ",P.map(f,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[f("description"),b.description?s:"",b.kind==="EnumTypeExtension"?"extend ":"","enum ",f("name"),E(P,f,b),b.values.length>0?[" {",i([s,t(s,_(P,H,f,"values"))]),s,"}"]:""];case"EnumValueDefinition":return[f("description"),b.description?s:"",f("name"),E(P,f,b)];case"InputValueDefinition":return[f("description"),b.description?b.description.block?s:a:"",f("name"),": ",f("type"),b.defaultValue?[" = ",f("defaultValue")]:"",E(P,f,b)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[f("description"),b.description?s:"",b.kind==="InputObjectTypeExtension"?"extend ":"","input ",f("name"),E(P,f,b),b.fields.length>0?[" {",i([s,t(s,_(P,H,f,"fields"))]),s,"}"]:""];case"SchemaExtension":return["extend schema",E(P,f,b),...b.operationTypes.length>0?[" {",i([s,t(s,_(P,H,f,"operationTypes"))]),s,"}"]:[]];case"SchemaDefinition":return[f("description"),b.description?s:"","schema",E(P,f,b)," {",b.operationTypes.length>0?i([s,t(s,_(P,H,f,"operationTypes"))]):"",s,"}"];case"OperationTypeDefinition":return[f("operation"),": ",f("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[f("description"),b.description?s:"",b.kind==="InterfaceTypeExtension"?"extend ":"","interface ",f("name"),b.interfaces.length>0?[" implements ",...A(P,H,f)]:"",E(P,f,b),b.fields.length>0?[" {",i([s,t(s,_(P,H,f,"fields"))]),s,"}"]:""];case"FragmentSpread":return["...",f("name"),E(P,f,b)];case"InlineFragment":return["...",b.typeCondition?[" on ",f("typeCondition")]:"",E(P,f,b)," ",f("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return u([f("description"),b.description?s:"",u([b.kind==="UnionTypeExtension"?"extend ":"","union ",f("name"),E(P,f,b),b.types.length>0?[" =",l(""," "),i([l([a," "]),t([a,"| "],P.map(f,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[f("description"),b.description?s:"",b.kind==="ScalarTypeExtension"?"extend ":"","scalar ",f("name"),E(P,f,b)];case"NonNullType":return[f("type"),"!"];case"ListType":return["[",f("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(b.kind))}}function E(P,H,f){if(f.directives.length===0)return"";let b=t(a,P.map(H,"directives"));return f.kind==="FragmentDefinition"||f.kind==="OperationDefinition"?u([a,b]):[" ",u(i([n,b]))]}function _(P,H,f,b){return P.map((m,v,o)=>{let h=f();return vf(h),"interfaces");for(let h=0;hb.value.trim()==="prettier-ignore")}r.exports={print:D,massageAstNode:N,hasPrettierIgnore:I,insertPragma:y,printComment:F,canAttachComment:w}}}),ng=Z({"src/language-graphql/options.js"(e,r){"use strict";ne();var t=Mt();r.exports={bracketSpacing:t.bracketSpacing}}}),ug=Z({"src/language-graphql/parsers.js"(){ne()}}),sg=Z({"node_modules/linguist-languages/data/GraphQL.json"(e,r){r.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),ig=Z({"src/language-graphql/index.js"(e,r){"use strict";ne();var t=_t(),s=rg(),a=ng(),n=ug(),u=[t(sg(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],i={graphql:s};r.exports={languages:u,options:a,printers:i,parsers:n}}}),Po=Z({"node_modules/collapse-white-space/index.js"(e,r){"use strict";ne(),r.exports=t;function t(s){return String(s).replace(/\s+/g," ")}}}),Io=Z({"src/language-markdown/loc.js"(e,r){"use strict";ne();function t(a){return a.position.start.offset}function s(a){return a.position.end.offset}r.exports={locStart:t,locEnd:s}}}),ag=Z({"src/language-markdown/constants.evaluate.js"(e,r){r.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]"}}}),iu=Z({"src/language-markdown/utils.js"(e,r){"use strict";ne();var{getLast:t}=Ue(),{locStart:s,locEnd:a}=Io(),{cjkPattern:n,kPattern:u,punctuationPattern:i}=ag(),l=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],p=[...l,"tableCell","paragraph","heading"],d=new RegExp(u),y=new RegExp(i);function g(F,A){let N="non-cjk",I="cj-letter",P="k-letter",H="cjk-punctuation",f=[],b=(A.proseWrap==="preserve"?F:F.replace(new RegExp(`(${n})
(${n})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[v,o]of b.entries()){if(v%2===1){f.push({type:"whitespace",value:/\n/.test(o)?`
`:" "});continue}if((v===0||v===b.length-1)&&o==="")continue;let h=o.split(new RegExp(`(${n})`));for(let[C,S]of h.entries())if(!((C===0||C===h.length-1)&&S==="")){if(C%2===0){S!==""&&m({type:"word",value:S,kind:N,hasLeadingPunctuation:y.test(S[0]),hasTrailingPunctuation:y.test(t(S))});continue}m(y.test(S)?{type:"word",value:S,kind:H,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:S,kind:d.test(S)?P:I,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return f;function m(v){let o=t(f);o&&o.type==="word"&&(o.kind===N&&v.kind===I&&!o.hasTrailingPunctuation||o.kind===I&&v.kind===N&&!v.hasLeadingPunctuation?f.push({type:"whitespace",value:" "}):!h(N,H)&&![o.value,v.value].some(C=>/\u3000/.test(C))&&f.push({type:"whitespace",value:""})),f.push(v);function h(C,S){return o.kind===C&&v.kind===S||o.kind===S&&v.kind===C}}}function c(F,A){let[,N,I,P]=A.slice(F.position.start.offset,F.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:N,marker:I,leadingSpaces:P}}function D(F,A){if(!F.ordered||F.children.length<2)return!1;let N=Number(c(F.children[0],A.originalText).numberText),I=Number(c(F.children[1],A.originalText).numberText);if(N===0&&F.children.length>2){let P=Number(c(F.children[2],A.originalText).numberText);return I===1&&P===1}return I===1}function E(F,A){let{value:N}=F;return F.position.end.offset===A.length&&N.endsWith(`
`)&&A.endsWith(`
`)?N.slice(0,-1):N}function _(F,A){return function N(I,P,H){let f=Object.assign({},A(I,P,H));return f.children&&(f.children=f.children.map((b,m)=>N(b,m,[f,...H]))),f}(F,null,[])}function w(F){if((F==null?void 0:F.type)!=="link"||F.children.length!==1)return!1;let[A]=F.children;return s(F)===s(A)&&a(F)===a(A)}r.exports={mapAst:_,splitText:g,punctuationPattern:i,getFencedCodeBlockValue:E,getOrderedListItemInfo:c,hasGitDiffFriendlyOrderedList:D,INLINE_NODE_TYPES:l,INLINE_NODE_WRAPPER_TYPES:p,isAutolink:w}}}),og=Z({"src/language-markdown/embed.js"(e,r){"use strict";ne();var{inferParserByLanguage:t,getMaxContinuousCount:s}=Ue(),{builders:{hardline:a,markAsRoot:n},utils:{replaceEndOfLine:u}}=Me(),i=su(),{getFencedCodeBlockValue:l}=iu();function p(d,y,g,c){let D=d.getValue();if(D.type==="code"&&D.lang!==null){let E=t(D.lang,c);if(E){let _=c.__inJsTemplate?"~":"`",w=_.repeat(Math.max(3,s(D.value,_)+1)),F={parser:E};D.lang==="tsx"&&(F.filepath="dummy.tsx");let A=g(l(D,c.originalText),F,{stripTrailingHardline:!0});return n([w,D.lang,D.meta?" "+D.meta:"",a,u(A),a,w])}}switch(D.type){case"front-matter":return i(D,g);case"importExport":return[g(D.value,{parser:"babel"},{stripTrailingHardline:!0}),a];case"jsx":return g(`<$>${D.value}$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}r.exports=p}}),ko=Z({"src/language-markdown/pragma.js"(e,r){"use strict";ne();var t=_o(),s=["format","prettier"];function a(n){let u=`@(${s.join("|")})`,i=new RegExp([``,`{\\s*\\/\\*\\s*${u}\\s*\\*\\/\\s*}`,``].join("|"),"m"),l=n.match(i);return(l==null?void 0:l.index)===0}r.exports={startWithPragma:a,hasPragma:n=>a(t(n).content.trimStart()),insertPragma:n=>{let u=t(n),i=``;return u.frontMatter?`${u.frontMatter.raw}
${i}
${u.content}`:`${i}
${u.content}`}}}}),lg=Z({"src/language-markdown/print-preprocess.js"(e,r){"use strict";ne();var t=lt(),{getOrderedListItemInfo:s,mapAst:a,splitText:n}=iu(),u=/^.$/su;function i(w,F){return w=d(w,F),w=c(w),w=p(w,F),w=E(w,F),w=_(w,F),w=D(w,F),w=l(w),w=y(w),w}function l(w){return a(w,F=>F.type!=="import"&&F.type!=="export"?F:Object.assign(Object.assign({},F),{},{type:"importExport"}))}function p(w,F){return a(w,A=>A.type!=="inlineCode"||F.proseWrap==="preserve"?A:Object.assign(Object.assign({},A),{},{value:A.value.replace(/\s+/g," ")}))}function d(w,F){return a(w,A=>A.type!=="text"||A.value==="*"||A.value==="_"||!u.test(A.value)||A.position.end.offset-A.position.start.offset===A.value.length?A:Object.assign(Object.assign({},A),{},{value:F.originalText.slice(A.position.start.offset,A.position.end.offset)}))}function y(w){return g(w,(F,A)=>F.type==="importExport"&&A.type==="importExport",(F,A)=>({type:"importExport",value:F.value+`
`+A.value,position:{start:F.position.start,end:A.position.end}}))}function g(w,F,A){return a(w,N=>{if(!N.children)return N;let I=N.children.reduce((P,H)=>{let f=t(P);return f&&F(f,H)?P.splice(-1,1,A(f,H)):P.push(H),P},[]);return Object.assign(Object.assign({},N),{},{children:I})})}function c(w){return g(w,(F,A)=>F.type==="text"&&A.type==="text",(F,A)=>({type:"text",value:F.value+A.value,position:{start:F.position.start,end:A.position.end}}))}function D(w,F){return a(w,(A,N,I)=>{let[P]=I;if(A.type!=="text")return A;let{value:H}=A;return P.type==="paragraph"&&(N===0&&(H=H.trimStart()),N===P.children.length-1&&(H=H.trimEnd())),{type:"sentence",position:A.position,children:n(H,F)}})}function E(w,F){return a(w,(A,N,I)=>{if(A.type==="code"){let P=/^\n?(?: {4,}|\t)/.test(F.originalText.slice(A.position.start.offset,A.position.end.offset));if(A.isIndented=P,P)for(let H=0;H{if(I.type==="list"&&I.children.length>0){for(let f=0;f1)return!0;let b=A(P);if(b===-1)return!1;if(I.children.length===1)return b%F.tabWidth===0;let m=A(H);return b!==m?!1:b%F.tabWidth===0?!0:s(H,F.originalText).leadingSpaces.length>1}}r.exports=i}}),cg=Z({"src/language-markdown/clean.js"(e,r){"use strict";ne();var t=Po(),{isFrontMatterNode:s}=Ue(),{startWithPragma:a}=ko(),n=new Set(["position","raw"]);function u(i,l,p){if((i.type==="front-matter"||i.type==="code"||i.type==="yaml"||i.type==="import"||i.type==="export"||i.type==="jsx")&&delete l.value,i.type==="list"&&delete l.isAligned,(i.type==="list"||i.type==="listItem")&&(delete l.spread,delete l.loose),i.type==="text"||(i.type==="inlineCode"&&(l.value=i.value.replace(/[\t\n ]+/g," ")),i.type==="wikiLink"&&(l.value=i.value.trim().replace(/[\t\n]+/g," ")),(i.type==="definition"||i.type==="linkReference"||i.type==="imageReference")&&(l.label=t(i.label)),(i.type==="definition"||i.type==="link"||i.type==="image")&&i.title&&(l.title=i.title.replace(/\\(["')])/g,"$1")),p&&p.type==="root"&&p.children.length>0&&(p.children[0]===i||s(p.children[0])&&p.children[1]===i)&&i.type==="html"&&a(i.value)))return null}u.ignoredProperties=n,r.exports=u}}),pg=Z({"src/language-markdown/printer-markdown.js"(e,r){"use strict";ne();var t=Po(),{getLast:s,getMinNotPresentContinuousCount:a,getMaxContinuousCount:n,getStringWidth:u,isNonEmptyArray:i}=Ue(),{builders:{breakParent:l,join:p,line:d,literalline:y,markAsRoot:g,hardline:c,softline:D,ifBreak:E,fill:_,align:w,indent:F,group:A,hardlineWithoutBreakParent:N},utils:{normalizeDoc:I,replaceTextEndOfLine:P},printer:{printDocToString:H}}=Me(),f=og(),{insertPragma:b}=ko(),{locStart:m,locEnd:v}=Io(),o=lg(),h=cg(),{getFencedCodeBlockValue:C,hasGitDiffFriendlyOrderedList:S,splitText:x,punctuationPattern:T,INLINE_NODE_TYPES:k,INLINE_NODE_WRAPPER_TYPES:M,isAutolink:R}=iu(),q=new Set(["importExport"]),U=["heading","tableCell","link","wikiLink"],L=new Set(["listItem","definition","footnoteDefinition"]);function Y(De,G,oe){let ee=De.getValue();if(pe(De))return x(G.originalText.slice(ee.position.start.offset,ee.position.end.offset),G).map(re=>re.type==="word"?re.value:re.value===""?"":W(De,re.value,G));switch(ee.type){case"front-matter":return G.originalText.slice(ee.position.start.offset,ee.position.end.offset);case"root":return ee.children.length===0?"":[I(de(De,G,oe)),q.has(z(ee).type)?"":c];case"paragraph":return ie(De,G,oe,{postprocessor:_});case"sentence":return ie(De,G,oe);case"word":{let re=ee.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${T})(_+)`,`(_+)(${T}|$)`].join("|"),"g"),(fe,B,$,te,ye)=>($?`${B}${$}`:`${te}${ye}`).replace(/_/g,"\\_")),be=(fe,B,$)=>fe.type==="sentence"&&$===0,ve=(fe,B,$)=>R(fe.children[$-1]);return re!==ee.value&&(De.match(void 0,be,ve)||De.match(void 0,be,(fe,B,$)=>fe.type==="emphasis"&&$===0,ve))&&(re=re.replace(/^(\\?[*_])+/,fe=>fe.replace(/\\/g,""))),re}case"whitespace":{let re=De.getParentNode(),be=re.children.indexOf(ee),ve=re.children[be+1],fe=ve&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(ve.value)?"never":G.proseWrap;return W(De,ee.value,{proseWrap:fe})}case"emphasis":{let re;if(R(ee.children[0]))re=G.originalText[ee.position.start.offset];else{let be=De.getParentNode(),ve=be.children.indexOf(ee),fe=be.children[ve-1],B=be.children[ve+1];re=fe&&fe.type==="sentence"&&fe.children.length>0&&s(fe.children).type==="word"&&!s(fe.children).hasTrailingPunctuation||B&&B.type==="sentence"&&B.children.length>0&&B.children[0].type==="word"&&!B.children[0].hasLeadingPunctuation||ce(De,"emphasis")?"*":"_"}return[re,ie(De,G,oe),re]}case"strong":return["**",ie(De,G,oe),"**"];case"delete":return["~~",ie(De,G,oe),"~~"];case"inlineCode":{let re=a(ee.value,"`"),be="`".repeat(re||1),ve=re&&!/^\s/.test(ee.value)?" ":"";return[be,ve,ee.value,ve,be]}case"wikiLink":{let re="";return G.proseWrap==="preserve"?re=ee.value:re=ee.value.replace(/[\t\n]+/g," "),["[[",re,"]]"]}case"link":switch(G.originalText[ee.position.start.offset]){case"<":{let re="mailto:";return["<",ee.url.startsWith(re)&&G.originalText.slice(ee.position.start.offset+1,ee.position.start.offset+1+re.length)!==re?ee.url.slice(re.length):ee.url,">"]}case"[":return["[",ie(De,G,oe),"](",Ae(ee.url,")"),Ce(ee.title,G),")"];default:return G.originalText.slice(ee.position.start.offset,ee.position.end.offset)}case"image":return[""),Ce(ee.title,G),")"];case"blockquote":return["> ",w("> ",ie(De,G,oe))];case"heading":return["#".repeat(ee.depth)+" ",ie(De,G,oe)];case"code":{if(ee.isIndented){let ve=" ".repeat(4);return w(ve,[ve,...P(ee.value,c)])}let re=G.__inJsTemplate?"~":"`",be=re.repeat(Math.max(3,n(ee.value,re)+1));return[be,ee.lang||"",ee.meta?" "+ee.meta:"",c,...P(C(ee,G.originalText),c),c,be]}case"html":{let re=De.getParentNode(),be=re.type==="root"&&s(re.children)===ee?ee.value.trimEnd():ee.value,ve=/^$/s.test(be);return P(be,ve?c:g(y))}case"list":{let re=K(ee,De.getParentNode()),be=S(ee,G);return ie(De,G,oe,{processor:(ve,fe)=>{let B=te(),$=ve.getValue();if($.children.length===2&&$.children[1].type==="html"&&$.children[0].position.start.column!==$.children[1].position.start.column)return[B,V(ve,G,oe,B)];return[B,w(" ".repeat(B.length),V(ve,G,oe,B))];function te(){let ye=ee.ordered?(fe===0?ee.start:be?1:ee.start+fe)+(re%2===0?". ":") "):re%2===0?"- ":"* ";return ee.isAligned||ee.hasIndentedCodeblock?j(ye,G):ye}}})}case"thematicBreak":{let re=Q(De,"list");return re===-1?"---":K(De.getParentNode(re),De.getParentNode(re+1))%2===0?"***":"---"}case"linkReference":return["[",ie(De,G,oe),"]",ee.referenceType==="full"?we(ee):ee.referenceType==="collapsed"?"[]":""];case"imageReference":switch(ee.referenceType){case"full":return["![",ee.alt||"","]",we(ee)];default:return["![",ee.alt,"]",ee.referenceType==="collapsed"?"[]":""]}case"definition":{let re=G.proseWrap==="always"?d:" ";return A([we(ee),":",F([re,Ae(ee.url),ee.title===null?"":[re,Ce(ee.title,G,!1)]])])}case"footnote":return["[^",ie(De,G,oe),"]"];case"footnoteReference":return _e(ee);case"footnoteDefinition":{let re=De.getParentNode().children[De.getName()+1],be=ee.children.length===1&&ee.children[0].type==="paragraph"&&(G.proseWrap==="never"||G.proseWrap==="preserve"&&ee.children[0].position.start.line===ee.children[0].position.end.line);return[_e(ee),": ",be?ie(De,G,oe):A([w(" ".repeat(4),ie(De,G,oe,{processor:(ve,fe)=>fe===0?A([D,oe()]):oe()})),re&&re.type==="footnoteDefinition"?D:""])]}case"table":return X(De,G,oe);case"tableCell":return ie(De,G,oe);case"break":return/\s/.test(G.originalText[ee.position.start.offset])?[" ",g(y)]:["\\",c];case"liquidNode":return P(ee.value,c);case"importExport":return[ee.value,c];case"esComment":return["{/* ",ee.value," */}"];case"jsx":return ee.value;case"math":return["$$",c,ee.value?[...P(ee.value,c),c]:"","$$"];case"inlineMath":return G.originalText.slice(m(ee),v(ee));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(ee.type)}`)}}function V(De,G,oe,ee){let re=De.getValue(),be=re.checked===null?"":re.checked?"[x] ":"[ ] ";return[be,ie(De,G,oe,{processor:(ve,fe)=>{if(fe===0&&ve.getValue().type!=="list")return w(" ".repeat(be.length),oe());let B=" ".repeat(Oe(G.tabWidth-ee.length,0,3));return[B,w(B,oe())]}})]}function j(De,G){let oe=ee();return De+" ".repeat(oe>=4?0:oe);function ee(){let re=De.length%G.tabWidth;return re===0?0:G.tabWidth-re}}function K(De,G){return se(De,G,oe=>oe.ordered===De.ordered)}function se(De,G,oe){let ee=-1;for(let re of G.children)if(re.type===De.type&&oe(re)?ee++:ee=-1,re===De)return ee}function Q(De,G){let oe=Array.isArray(G)?G:[G],ee=-1,re;for(;re=De.getParentNode(++ee);)if(oe.includes(re.type))return ee;return-1}function ce(De,G){let oe=Q(De,G);return oe===-1?null:De.getParentNode(oe)}function W(De,G,oe){if(oe.proseWrap==="preserve"&&G===`
`)return c;let ee=oe.proseWrap==="always"&&!ce(De,U);return G!==""?ee?d:" ":ee?D:""}function X(De,G,oe){let ee=De.getValue(),re=[],be=De.map(ye=>ye.map((Fe,Ne)=>{let he=H(oe(),G).formatted,ze=u(he);return re[Ne]=Math.max(re[Ne]||3,ze),{text:he,width:ze}},"children"),"children"),ve=B(!1);if(G.proseWrap!=="never")return[l,ve];let fe=B(!0);return[l,A(E(fe,ve))];function B(ye){let Fe=[te(be[0],ye),$(ye)];return be.length>1&&Fe.push(p(N,be.slice(1).map(Ne=>te(Ne,ye)))),p(N,Fe)}function $(ye){return`| ${re.map((Ne,he)=>{let ze=ee.align[he],Te=ze==="center"||ze==="left"?":":"-",Ye=ze==="center"||ze==="right"?":":"-",Se=ye?"-":"-".repeat(Ne-2);return`${Te}${Se}${Ye}`}).join(" | ")} |`}function te(ye,Fe){return`| ${ye.map((he,ze)=>{let{text:Te,width:Ye}=he;if(Fe)return Te;let Se=re[ze]-Ye,ke=ee.align[ze],je=0;ke==="right"?je=Se:ke==="center"&&(je=Math.floor(Se/2));let Je=Se-je;return`${" ".repeat(je)}${Te}${" ".repeat(Je)}`}).join(" | ")} |`}}function de(De,G,oe){let ee=[],re=null,{children:be}=De.getValue();for(let[ve,fe]of be.entries())switch(ue(fe)){case"start":re===null&&(re={index:ve,offset:fe.position.end.offset});break;case"end":re!==null&&(ee.push({start:re,end:{index:ve,offset:fe.position.start.offset}}),re=null);break;default:break}return ie(De,G,oe,{processor:(ve,fe)=>{if(ee.length>0){let B=ee[0];if(fe===B.start.index)return[Ee(be[B.start.index]),G.originalText.slice(B.start.offset,B.end.offset),Ee(be[B.end.index])];if(B.start.index3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:re}=ee,be=ee.processor||(()=>oe()),ve=De.getValue(),fe=[],B;return De.each(($,te)=>{let ye=$.getValue(),Fe=be($,te);if(Fe!==!1){let Ne={parts:fe,prevNode:B,parentNode:ve,options:G};J(ye,Ne)&&(fe.push(c),B&&q.has(B.type)||(le(ye,Ne)||ge(ye,Ne))&&fe.push(c),ge(ye,Ne)&&fe.push(c)),fe.push(Fe),B=ye}},"children"),re?re(fe):fe}function Ee(De){if(De.type==="html")return De.value;if(De.type==="paragraph"&&Array.isArray(De.children)&&De.children.length===1&&De.children[0].type==="esComment")return["{/* ",De.children[0].value," */}"]}function z(De){let G=De;for(;i(G.children);)G=s(G.children);return G}function ue(De){let G;if(De.type==="html")G=De.value.match(/^$/);else{let oe;De.type==="esComment"?oe=De:De.type==="paragraph"&&De.children.length===1&&De.children[0].type==="esComment"&&(oe=De.children[0]),oe&&(G=oe.value.match(/^prettier-ignore(?:-(start|end))?$/))}return G?G[1]||"next":!1}function J(De,G){let oe=G.parts.length===0,ee=k.includes(De.type),re=De.type==="html"&&M.includes(G.parentNode.type);return!oe&&!ee&&!re}function le(De,G){var oe,ee,re;let ve=(G.prevNode&&G.prevNode.type)===De.type&&L.has(De.type),fe=G.parentNode.type==="listItem"&&!G.parentNode.loose,B=((oe=G.prevNode)===null||oe===void 0?void 0:oe.type)==="listItem"&&G.prevNode.loose,$=ue(G.prevNode)==="next",te=De.type==="html"&&((ee=G.prevNode)===null||ee===void 0?void 0:ee.type)==="html"&&G.prevNode.position.end.line+1===De.position.start.line,ye=De.type==="html"&&G.parentNode.type==="listItem"&&((re=G.prevNode)===null||re===void 0?void 0:re.type)==="paragraph"&&G.prevNode.position.end.line+1===De.position.start.line;return B||!(ve||fe||$||te||ye)}function ge(De,G){let oe=G.prevNode&&G.prevNode.type==="list",ee=De.type==="code"&&De.isIndented;return oe&&ee}function pe(De){let G=ce(De,["linkReference","imageReference"]);return G&&(G.type!=="linkReference"||G.referenceType!=="full")}function Ae(De){let G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],oe=[" ",...Array.isArray(G)?G:[G]];return new RegExp(oe.map(ee=>`\\${ee}`).join("|")).test(De)?`<${De}>`:De}function Ce(De,G){let oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!De)return"";if(oe)return" "+Ce(De,G,!1);if(De=De.replace(/\\(["')])/g,"$1"),De.includes('"')&&De.includes("'")&&!De.includes(")"))return`(${De})`;let ee=De.split("'").length-1,re=De.split('"').length-1,be=ee>re?'"':re>ee||G.singleQuote?"'":'"';return De=De.replace(/\\/,"\\\\"),De=De.replace(new RegExp(`(${be})`,"g"),"\\$1"),`${be}${De}${be}`}function Oe(De,G,oe){return Deoe?oe:De}function Ie(De){let G=Number(De.getName());if(G===0)return!1;let oe=De.getParentNode().children[G-1];return ue(oe)==="next"}function we(De){return`[${t(De.label)}]`}function _e(De){return`[^${De.label}]`}r.exports={preprocess:o,print:Y,embed:f,massageAstNode:h,hasPrettierIgnore:Ie,insertPragma:b}}}),fg=Z({"src/language-markdown/options.js"(e,r){"use strict";ne();var t=Mt();r.exports={proseWrap:t.proseWrap,singleQuote:t.singleQuote}}}),Dg=Z({"src/language-markdown/parsers.js"(){ne()}}),_a=Z({"node_modules/linguist-languages/data/Markdown.json"(e,r){r.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}}}),mg=Z({"src/language-markdown/index.js"(e,r){"use strict";ne();var t=_t(),s=pg(),a=fg(),n=Dg(),u=[t(_a(),l=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...l.filenames,"README"],extensions:l.extensions.filter(p=>p!==".mdx")})),t(_a(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],i={mdast:s};r.exports={languages:u,options:a,printers:i,parsers:n}}}),dg=Z({"src/language-html/clean.js"(e,r){"use strict";ne();var{isFrontMatterNode:t}=Ue(),s=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function a(n,u){if(n.type==="text"||n.type==="comment"||t(n)||n.type==="yaml"||n.type==="toml")return null;n.type==="attribute"&&delete u.value,n.type==="docType"&&delete u.value}a.ignoredProperties=s,r.exports=a}}),gg=Z({"src/language-html/constants.evaluate.js"(e,r){r.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"}}}),yg=Z({"src/language-html/utils/is-unknown-namespace.js"(e,r){"use strict";ne();function t(s){return s.type==="element"&&!s.hasExplicitNamespace&&!["html","svg"].includes(s.namespace)}r.exports=t}}),Rt=Z({"src/language-html/utils/index.js"(e,r){"use strict";ne();var{inferParserByLanguage:t,isFrontMatterNode:s}=Ue(),{builders:{line:a,hardline:n,join:u},utils:{getDocParts:i,replaceTextEndOfLine:l}}=Me(),{CSS_DISPLAY_TAGS:p,CSS_DISPLAY_DEFAULT:d,CSS_WHITE_SPACE_TAGS:y,CSS_WHITE_SPACE_DEFAULT:g}=gg(),c=yg(),D=new Set([" ",`
`,"\f","\r"," "]),E=B=>B.replace(/^[\t\n\f\r ]+/,""),_=B=>B.replace(/[\t\n\f\r ]+$/,""),w=B=>E(_(B)),F=B=>B.replace(/^[\t\f\r ]*\n/g,""),A=B=>F(_(B)),N=B=>B.split(/[\t\n\f\r ]+/),I=B=>B.match(/^[\t\n\f\r ]*/)[0],P=B=>{let[,$,te,ye]=B.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:$,trailingWhitespace:ye,text:te}},H=B=>/[\t\n\f\r ]/.test(B);function f(B,$){return!!(B.type==="ieConditionalComment"&&B.lastChild&&!B.lastChild.isSelfClosing&&!B.lastChild.endSourceSpan||B.type==="ieConditionalComment"&&!B.complete||le(B)&&B.children.some(te=>te.type!=="text"&&te.type!=="interpolation")||ee(B,$)&&!o(B)&&B.type!=="interpolation")}function b(B){return B.type==="attribute"||!B.parent||!B.prev?!1:m(B.prev)}function m(B){return B.type==="comment"&&B.value.trim()==="prettier-ignore"}function v(B){return B.type==="text"||B.type==="comment"}function o(B){return B.type==="element"&&(B.fullName==="script"||B.fullName==="style"||B.fullName==="svg:style"||c(B)&&(B.name==="script"||B.name==="style"))}function h(B){return B.children&&!o(B)}function C(B){return o(B)||B.type==="interpolation"||S(B)}function S(B){return Ce(B).startsWith("pre")}function x(B,$){let te=ye();if(te&&!B.prev&&B.parent&&B.parent.tagDefinition&&B.parent.tagDefinition.ignoreFirstLf)return B.type==="interpolation";return te;function ye(){return s(B)?!1:(B.type==="text"||B.type==="interpolation")&&B.prev&&(B.prev.type==="text"||B.prev.type==="interpolation")?!0:!B.parent||B.parent.cssDisplay==="none"?!1:le(B.parent)?!0:!(!B.prev&&(B.parent.type==="root"||le(B)&&B.parent||o(B.parent)||G(B.parent,$)||!ie(B.parent.cssDisplay))||B.prev&&!ue(B.prev.cssDisplay))}}function T(B,$){return s(B)?!1:(B.type==="text"||B.type==="interpolation")&&B.next&&(B.next.type==="text"||B.next.type==="interpolation")?!0:!B.parent||B.parent.cssDisplay==="none"?!1:le(B.parent)?!0:!(!B.next&&(B.parent.type==="root"||le(B)&&B.parent||o(B.parent)||G(B.parent,$)||!Ee(B.parent.cssDisplay))||B.next&&!z(B.next.cssDisplay))}function k(B){return J(B.cssDisplay)&&!o(B)}function M(B){return s(B)||B.next&&B.sourceSpan.end&&B.sourceSpan.end.line+10&&(["body","script","style"].includes(B.name)||B.children.some($=>Q($)))||B.firstChild&&B.firstChild===B.lastChild&&B.firstChild.type!=="text"&&V(B.firstChild)&&(!B.lastChild.isTrailingSpaceSensitive||j(B.lastChild))}function q(B){return B.type==="element"&&B.children.length>0&&(["html","head","ul","ol","select"].includes(B.name)||B.cssDisplay.startsWith("table")&&B.cssDisplay!=="table-cell")}function U(B){return K(B)||B.prev&&L(B.prev)||Y(B)}function L(B){return K(B)||B.type==="element"&&B.fullName==="br"||Y(B)}function Y(B){return V(B)&&j(B)}function V(B){return B.hasLeadingSpaces&&(B.prev?B.prev.sourceSpan.end.lineB.sourceSpan.end.line:B.parent.type==="root"||B.parent.endSourceSpan&&B.parent.endSourceSpan.start.line>B.sourceSpan.end.line)}function K(B){switch(B.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(B.name)}return!1}function se(B){return B.lastChild?se(B.lastChild):B}function Q(B){return B.children&&B.children.some($=>$.type!=="text")}function ce(B){let{type:$,lang:te}=B.attrMap;if($==="module"||$==="text/javascript"||$==="text/babel"||$==="application/javascript"||te==="jsx")return"babel";if($==="application/x-typescript"||te==="ts"||te==="tsx")return"typescript";if($==="text/markdown")return"markdown";if($==="text/html")return"html";if($&&($.endsWith("json")||$.endsWith("importmap"))||$==="speculationrules")return"json";if($==="text/x-handlebars-template")return"glimmer"}function W(B,$){let{lang:te}=B.attrMap;if(!te||te==="postcss"||te==="css")return"css";if(te==="scss")return"scss";if(te==="less")return"less";if(te==="stylus")return t("stylus",$)}function X(B,$){if(B.name==="script"&&!B.attrMap.src)return!B.attrMap.lang&&!B.attrMap.type?"babel":ce(B);if(B.name==="style")return W(B,$);if($&&ee(B,$))return ce(B)||!("src"in B.attrMap)&&t(B.attrMap.lang,$)}function de(B){return B==="block"||B==="list-item"||B.startsWith("table")}function ie(B){return!de(B)&&B!=="inline-block"}function Ee(B){return!de(B)&&B!=="inline-block"}function z(B){return!de(B)}function ue(B){return!de(B)}function J(B){return!de(B)&&B!=="inline-block"}function le(B){return Ce(B).startsWith("pre")}function ge(B,$){let te=0;for(let ye=B.stack.length-1;ye>=0;ye--){let Fe=B.stack[ye];Fe&&typeof Fe=="object"&&!Array.isArray(Fe)&&$(Fe)&&te++}return te}function pe(B,$){let te=B;for(;te;){if($(te))return!0;te=te.parent}return!1}function Ae(B,$){if(B.prev&&B.prev.type==="comment"){let ye=B.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(ye)return ye[1]}let te=!1;if(B.type==="element"&&B.namespace==="svg")if(pe(B,ye=>ye.fullName==="svg:foreignObject"))te=!0;else return B.name==="svg"?"inline-block":"block";switch($.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return $.parser==="vue"&&B.parent&&B.parent.type==="root"?"block":B.type==="element"&&(!B.namespace||te||c(B))&&p[B.name]||d}}function Ce(B){return B.type==="element"&&(!B.namespace||c(B))&&y[B.name]||g}function Oe(B){let $=Number.POSITIVE_INFINITY;for(let te of B.split(`
`)){if(te.length===0)continue;if(!D.has(te[0]))return 0;let ye=I(te).length;te.length!==ye&&ye<$&&($=ye)}return $===Number.POSITIVE_INFINITY?0:$}function Ie(B){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe(B);return $===0?B:B.split(`
`).map(te=>te.slice($)).join(`
`)}function we(B,$){let te=0;for(let ye=0;ye1&&arguments[1]!==void 0?arguments[1]:B.value;return B.parent.isWhitespaceSensitive?B.parent.isIndentationSensitive?l($):l(Ie(A($)),n):i(u(a,N($)))}function fe(B,$){return oe(B,$)&&B.name==="script"}r.exports={htmlTrim:w,htmlTrimPreserveIndentation:A,hasHtmlWhitespace:H,getLeadingAndTrailingHtmlWhitespace:P,canHaveInterpolation:h,countChars:we,countParents:ge,dedentString:Ie,forceBreakChildren:q,forceBreakContent:R,forceNextEmptyLine:M,getLastDescendant:se,getNodeCssStyleDisplay:Ae,getNodeCssStyleWhiteSpace:Ce,hasPrettierIgnore:b,inferScriptParser:X,isVueCustomBlock:G,isVueNonHtmlBlock:ee,isVueScriptTag:fe,isVueSlotAttribute:re,isVueSfcBindingsAttribute:be,isVueSfcBlock:oe,isDanglingSpaceSensitiveNode:k,isIndentationSensitiveNode:S,isLeadingSpaceSensitiveNode:x,isPreLikeNode:le,isScriptLikeTag:o,isTextLikeNode:v,isTrailingSpaceSensitiveNode:T,isWhitespaceSensitiveNode:C,isUnknownNamespace:c,preferHardlineAsLeadingSpaces:U,preferHardlineAsTrailingSpaces:L,shouldPreserveContent:f,unescapeQuoteEntities:_e,getTextValueParts:ve}}}),hg=Z({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){"use strict";ne(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96;function r(i){return i>=e.$TAB&&i<=e.$SPACE||i==e.$NBSP}e.isWhitespace=r;function t(i){return e.$0<=i&&i<=e.$9}e.isDigit=t;function s(i){return i>=e.$a&&i<=e.$z||i>=e.$A&&i<=e.$Z}e.isAsciiLetter=s;function a(i){return i>=e.$a&&i<=e.$f||i>=e.$A&&i<=e.$F||t(i)}e.isAsciiHexDigit=a;function n(i){return i===e.$LF||i===e.$CR}e.isNewLine=n;function u(i){return e.$0<=i&&i<=e.$7}e.isOctalDigit=u}}),vg=Z({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){"use strict";ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=class{constructor(s,a,n){this.filePath=s,this.name=a,this.members=n}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=r;var t=class{constructor(){this.cache=new Map}get(s,a,n){n=n||[];let u=n.length?`.${n.join(".")}`:"",i=`"${s}".${a}${u}`,l=this.cache.get(i);return l||(l=new r(s,a,n),this.cache.set(i,l)),l}};e.StaticSymbolCache=t}}),Cg=Z({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){"use strict";ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=/-+([a-z0-9])/g;function t(o){return o.replace(r,function(){for(var h=arguments.length,C=new Array(h),S=0;Su(C,this,h))}visitStringMap(o,h){let C={};return Object.keys(o).forEach(S=>{C[S]=u(o[S],this,h)}),C}visitPrimitive(o,h){return o}visitOther(o,h){return o}};e.ValueTransformer=p,e.SyncAsync={assertSync:o=>{if(P(o))throw new Error("Illegal state: value cannot be a promise");return o},then:(o,h)=>P(o)?o.then(h):h(o),all:o=>o.some(P)?Promise.all(o):o};function d(o){throw new Error(`Internal Error: ${o}`)}e.error=d;function y(o,h){let C=Error(o);return C[g]=!0,h&&(C[c]=h),C}e.syntaxError=y;var g="ngSyntaxError",c="ngParseErrors";function D(o){return o[g]}e.isSyntaxError=D;function E(o){return o[c]||[]}e.getParseErrors=E;function _(o){return o.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}e.escapeRegExp=_;var w=Object.getPrototypeOf({});function F(o){return typeof o=="object"&&o!==null&&Object.getPrototypeOf(o)===w}function A(o){let h="";for(let C=0;C=55296&&S<=56319&&o.length>C+1){let x=o.charCodeAt(C+1);x>=56320&&x<=57343&&(C++,S=(S-55296<<10)+x-56320+65536)}S<=127?h+=String.fromCharCode(S):S<=2047?h+=String.fromCharCode(S>>6&31|192,S&63|128):S<=65535?h+=String.fromCharCode(S>>12|224,S>>6&63|128,S&63|128):S<=2097151&&(h+=String.fromCharCode(S>>18&7|240,S>>12&63|128,S>>6&63|128,S&63|128))}return h}e.utf8Encode=A;function N(o){if(typeof o=="string")return o;if(o instanceof Array)return"["+o.map(N).join(", ")+"]";if(o==null)return""+o;if(o.overriddenName)return`${o.overriddenName}`;if(o.name)return`${o.name}`;if(!o.toString)return"object";let h=o.toString();if(h==null)return""+h;let C=h.indexOf(`
`);return C===-1?h:h.substring(0,C)}e.stringify=N;function I(o){return typeof o=="function"&&o.hasOwnProperty("__forward_ref__")?o():o}e.resolveForwardRef=I;function P(o){return!!o&&typeof o.then=="function"}e.isPromise=P;var H=class{constructor(o){this.full=o;let h=o.split(".");this.major=h[0],this.minor=h[1],this.patch=h.slice(2).join(".")}};e.Version=H;var f=typeof window<"u"&&window,b=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,m=typeof globalThis<"u"&&globalThis,v=m||f||b;e.global=v}}),Eg=Z({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){"use strict";ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=vg(),t=Cg(),s=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function a(C){return C.replace(/\W/g,"_")}e.sanitizeIdentifier=a;var n=0;function u(C){if(!C||!C.reference)return null;let S=C.reference;if(S instanceof r.StaticSymbol)return S.name;if(S.__anonymousType)return S.__anonymousType;let x=t.stringify(S);return x.indexOf("(")>=0?(x=`anonymous_${n++}`,S.__anonymousType=x):x=a(x),x}e.identifierName=u;function i(C){let S=C.reference;return S instanceof r.StaticSymbol?S.filePath:`./${t.stringify(S)}`}e.identifierModuleUrl=i;function l(C,S){return`View_${u({reference:C})}_${S}`}e.viewClassName=l;function p(C){return`RenderType_${u({reference:C})}`}e.rendererTypeName=p;function d(C){return`HostView_${u({reference:C})}`}e.hostViewClassName=d;function y(C){return`${u({reference:C})}NgFactory`}e.componentFactoryName=y;var g;(function(C){C[C.Pipe=0]="Pipe",C[C.Directive=1]="Directive",C[C.NgModule=2]="NgModule",C[C.Injectable=3]="Injectable"})(g=e.CompileSummaryKind||(e.CompileSummaryKind={}));function c(C){return C.value!=null?a(C.value):u(C.identifier)}e.tokenName=c;function D(C){return C.identifier!=null?C.identifier.reference:C.value}e.tokenReference=D;var E=class{constructor(){let{moduleUrl:C,styles:S,styleUrls:x}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=C||null,this.styles=P(S),this.styleUrls=P(x)}};e.CompileStylesheetMetadata=E;var _=class{constructor(C){let{encapsulation:S,template:x,templateUrl:T,htmlAst:k,styles:M,styleUrls:R,externalStylesheets:q,animations:U,ngContentSelectors:L,interpolation:Y,isInline:V,preserveWhitespaces:j}=C;if(this.encapsulation=S,this.template=x,this.templateUrl=T,this.htmlAst=k,this.styles=P(M),this.styleUrls=P(R),this.externalStylesheets=P(q),this.animations=U?f(U):[],this.ngContentSelectors=L||[],Y&&Y.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Y,this.isInline=V,this.preserveWhitespaces=j}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=_;var w=class{static create(C){let{isHost:S,type:x,isComponent:T,selector:k,exportAs:M,changeDetection:R,inputs:q,outputs:U,host:L,providers:Y,viewProviders:V,queries:j,guards:K,viewQueries:se,entryComponents:Q,template:ce,componentViewType:W,rendererType:X,componentFactory:de}=C,ie={},Ee={},z={};L!=null&&Object.keys(L).forEach(le=>{let ge=L[le],pe=le.match(s);pe===null?z[le]=ge:pe[1]!=null?Ee[pe[1]]=ge:pe[2]!=null&&(ie[pe[2]]=ge)});let ue={};q!=null&&q.forEach(le=>{let ge=t.splitAtColon(le,[le,le]);ue[ge[0]]=ge[1]});let J={};return U!=null&&U.forEach(le=>{let ge=t.splitAtColon(le,[le,le]);J[ge[0]]=ge[1]}),new w({isHost:S,type:x,isComponent:!!T,selector:k,exportAs:M,changeDetection:R,inputs:ue,outputs:J,hostListeners:ie,hostProperties:Ee,hostAttributes:z,providers:Y,viewProviders:V,queries:j,guards:K,viewQueries:se,entryComponents:Q,template:ce,componentViewType:W,rendererType:X,componentFactory:de})}constructor(C){let{isHost:S,type:x,isComponent:T,selector:k,exportAs:M,changeDetection:R,inputs:q,outputs:U,hostListeners:L,hostProperties:Y,hostAttributes:V,providers:j,viewProviders:K,queries:se,guards:Q,viewQueries:ce,entryComponents:W,template:X,componentViewType:de,rendererType:ie,componentFactory:Ee}=C;this.isHost=!!S,this.type=x,this.isComponent=T,this.selector=k,this.exportAs=M,this.changeDetection=R,this.inputs=q,this.outputs=U,this.hostListeners=L,this.hostProperties=Y,this.hostAttributes=V,this.providers=P(j),this.viewProviders=P(K),this.queries=P(se),this.guards=Q,this.viewQueries=P(ce),this.entryComponents=P(W),this.template=X,this.componentViewType=de,this.rendererType=ie,this.componentFactory=Ee}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}}};e.CompileDirectiveMetadata=w;var F=class{constructor(C){let{type:S,name:x,pure:T}=C;this.type=S,this.name=x,this.pure=!!T}toSummary(){return{summaryKind:g.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=F;var A=class{};e.CompileShallowModuleMetadata=A;var N=class{constructor(C){let{type:S,providers:x,declaredDirectives:T,exportedDirectives:k,declaredPipes:M,exportedPipes:R,entryComponents:q,bootstrapComponents:U,importedModules:L,exportedModules:Y,schemas:V,transitiveModule:j,id:K}=C;this.type=S||null,this.declaredDirectives=P(T),this.exportedDirectives=P(k),this.declaredPipes=P(M),this.exportedPipes=P(R),this.providers=P(x),this.entryComponents=P(q),this.bootstrapComponents=P(U),this.importedModules=P(L),this.exportedModules=P(Y),this.schemas=P(V),this.id=K||null,this.transitiveModule=j||null}toSummary(){let C=this.transitiveModule;return{summaryKind:g.NgModule,type:this.type,entryComponents:C.entryComponents,providers:C.providers,modules:C.modules,exportedDirectives:C.exportedDirectives,exportedPipes:C.exportedPipes}}};e.CompileNgModuleMetadata=N;var I=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(C,S){this.providers.push({provider:C,module:S})}addDirective(C){this.directivesSet.has(C.reference)||(this.directivesSet.add(C.reference),this.directives.push(C))}addExportedDirective(C){this.exportedDirectivesSet.has(C.reference)||(this.exportedDirectivesSet.add(C.reference),this.exportedDirectives.push(C))}addPipe(C){this.pipesSet.has(C.reference)||(this.pipesSet.add(C.reference),this.pipes.push(C))}addExportedPipe(C){this.exportedPipesSet.has(C.reference)||(this.exportedPipesSet.add(C.reference),this.exportedPipes.push(C))}addModule(C){this.modulesSet.has(C.reference)||(this.modulesSet.add(C.reference),this.modules.push(C))}addEntryComponent(C){this.entryComponentsSet.has(C.componentType)||(this.entryComponentsSet.add(C.componentType),this.entryComponents.push(C))}};e.TransitiveCompileNgModuleMetadata=I;function P(C){return C||[]}var H=class{constructor(C,S){let{useClass:x,useValue:T,useExisting:k,useFactory:M,deps:R,multi:q}=S;this.token=C,this.useClass=x||null,this.useValue=T,this.useExisting=k,this.useFactory=M||null,this.dependencies=R||null,this.multi=!!q}};e.ProviderMeta=H;function f(C){return C.reduce((S,x)=>{let T=Array.isArray(x)?f(x):x;return S.concat(T)},[])}e.flatten=f;function b(C){return C.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function m(C,S,x){let T;return x.isInline?S.type.reference instanceof r.StaticSymbol?T=`${S.type.reference.filePath}.${S.type.reference.name}.html`:T=`${u(C)}/${u(S.type)}.html`:T=x.templateUrl,S.type.reference instanceof r.StaticSymbol?T:b(T)}e.templateSourceUrl=m;function v(C,S){let x=C.moduleUrl.split(/\/\\/g),T=x[x.length-1];return b(`css/${S}${T}.ngstyle.js`)}e.sharedStylesheetJitUrl=v;function o(C){return b(`${u(C.type)}/module.ngfactory.js`)}e.ngModuleJitUrl=o;function h(C,S){return b(`${u(C)}/${u(S.type)}.ngfactory.js`)}e.templateJitUrl=h}}),Fg=Z({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){"use strict";ne(),Object.defineProperty(e,"__esModule",{value:!0});var r=hg(),t=Eg(),s=class{constructor(d,y,g,c){this.file=d,this.offset=y,this.line=g,this.col=c}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(d){let y=this.file.content,g=y.length,c=this.offset,D=this.line,E=this.col;for(;c>0&&d<0;)if(c--,d++,y.charCodeAt(c)==r.$LF){D--;let w=y.substr(0,c-1).lastIndexOf(String.fromCharCode(r.$LF));E=w>0?c-w:c}else E--;for(;c0;){let _=y.charCodeAt(c);c++,d--,_==r.$LF?(D++,E=0):E++}return new s(this.file,c,D,E)}getContext(d,y){let g=this.file.content,c=this.offset;if(c!=null){c>g.length-1&&(c=g.length-1);let D=c,E=0,_=0;for(;E0&&(c--,E++,!(g[c]==`
`&&++_==y)););for(E=0,_=0;E2&&arguments[2]!==void 0?arguments[2]:null;this.start=d,this.end=y,this.details=g}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=n,e.EMPTY_PARSE_LOCATION=new s(new a("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new n(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION);var u;(function(d){d[d.WARNING=0]="WARNING",d[d.ERROR=1]="ERROR"})(u=e.ParseErrorLevel||(e.ParseErrorLevel={}));var i=class{constructor(d,y){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:u.ERROR;this.span=d,this.msg=y,this.level=g}contextualMessage(){let d=this.span.start.getContext(100,3);return d?`${this.msg} ("${d.before}[${u[this.level]} ->]${d.after}")`:this.msg}toString(){let d=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${d}`}};e.ParseError=i;function l(d,y){let g=t.identifierModuleUrl(y),c=g!=null?`in ${d} ${t.identifierName(y)} in ${g}`:`in ${d} ${t.identifierName(y)}`,D=new a("",c);return new n(new s(D,-1,-1,-1),new s(D,-1,-1,-1))}e.typeSourceSpan=l;function p(d,y,g){let c=`in ${d} ${y} in ${g}`,D=new a("",c);return new n(new s(D,-1,-1,-1),new s(D,-1,-1,-1))}e.r3JitTypeSourceSpan=p}}),Ag=Z({"src/language-html/print-preprocess.js"(e,r){"use strict";ne();var{ParseSourceSpan:t}=Fg(),{htmlTrim:s,getLeadingAndTrailingHtmlWhitespace:a,hasHtmlWhitespace:n,canHaveInterpolation:u,getNodeCssStyleDisplay:i,isDanglingSpaceSensitiveNode:l,isIndentationSensitiveNode:p,isLeadingSpaceSensitiveNode:d,isTrailingSpaceSensitiveNode:y,isWhitespaceSensitiveNode:g,isVueScriptTag:c}=Rt(),D=[_,w,A,I,P,b,H,f,m,N,v];function E(o,h){for(let C of D)C(o,h);return o}function _(o){o.walk(h=>{if(h.type==="element"&&h.tagDefinition.ignoreFirstLf&&h.children.length>0&&h.children[0].type==="text"&&h.children[0].value[0]===`
`){let C=h.children[0];C.value.length===1?h.removeChild(C):C.value=C.value.slice(1)}})}function w(o){let h=C=>C.type==="element"&&C.prev&&C.prev.type==="ieConditionalStartComment"&&C.prev.sourceSpan.end.offset===C.startSourceSpan.start.offset&&C.firstChild&&C.firstChild.type==="ieConditionalEndComment"&&C.firstChild.sourceSpan.start.offset===C.startSourceSpan.end.offset;o.walk(C=>{if(C.children)for(let S=0;S{if(S.children)for(let x=0;xh.type==="cdata",h=>``)}function N(o){let h=C=>C.type==="element"&&C.attrs.length===0&&C.children.length===1&&C.firstChild.type==="text"&&!n(C.children[0].value)&&!C.firstChild.hasLeadingSpaces&&!C.firstChild.hasTrailingSpaces&&C.isLeadingSpaceSensitive&&!C.hasLeadingSpaces&&C.isTrailingSpaceSensitive&&!C.hasTrailingSpaces&&C.prev&&C.prev.type==="text"&&C.next&&C.next.type==="text";o.walk(C=>{if(C.children)for(let S=0;S`+x.firstChild.value+`${x.rawName}>`+k.value,T.sourceSpan=new t(T.sourceSpan.start,k.sourceSpan.end),T.isTrailingSpaceSensitive=k.isTrailingSpaceSensitive,T.hasTrailingSpaces=k.hasTrailingSpaces,C.removeChild(x),S--,C.removeChild(k)}})}function I(o,h){if(h.parser==="html")return;let C=/{{(.+?)}}/s;o.walk(S=>{if(u(S))for(let x of S.children){if(x.type!=="text")continue;let T=x.sourceSpan.start,k=null,M=x.value.split(C);for(let R=0;R0&&S.insertChildBefore(x,{type:"text",value:q,sourceSpan:new t(T,k)});continue}k=T.moveBy(q.length+4),S.insertChildBefore(x,{type:"interpolation",sourceSpan:new t(T,k),children:q.length===0?[]:[{type:"text",value:q,sourceSpan:new t(T.moveBy(2),k.moveBy(-2))}]})}S.removeChild(x)}})}function P(o){o.walk(h=>{if(!h.children)return;if(h.children.length===0||h.children.length===1&&h.children[0].type==="text"&&s(h.children[0].value).length===0){h.hasDanglingSpaces=h.children.length>0,h.children=[];return}let C=g(h),S=p(h);if(!C)for(let x=0;x{h.isSelfClosing=!h.children||h.type==="element"&&(h.tagDefinition.isVoid||h.startSourceSpan===h.endSourceSpan)})}function f(o,h){o.walk(C=>{C.type==="element"&&(C.hasHtmComponentClosingTag=C.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(h.originalText.slice(C.endSourceSpan.start.offset,C.endSourceSpan.end.offset)))})}function b(o,h){o.walk(C=>{C.cssDisplay=i(C,h)})}function m(o,h){o.walk(C=>{let{children:S}=C;if(S){if(S.length===0){C.isDanglingSpaceSensitive=l(C);return}for(let x of S)x.isLeadingSpaceSensitive=d(x,h),x.isTrailingSpaceSensitive=y(x,h);for(let x=0;xc(x,h));if(!C)return;let{lang:S}=C.attrMap;(S==="ts"||S==="typescript")&&(h.__should_parse_vue_template_with_ts=!0)}}r.exports=E}}),Sg=Z({"src/language-html/pragma.js"(e,r){"use strict";ne();function t(a){return/^\s*/.test(a)}function s(a){return`
`+a.replace(/^\s*\n/,"")}r.exports={hasPragma:t,insertPragma:s}}}),au=Z({"src/language-html/loc.js"(e,r){"use strict";ne();function t(a){return a.sourceSpan.start.offset}function s(a){return a.sourceSpan.end.offset}r.exports={locStart:t,locEnd:s}}}),ur=Z({"src/language-html/print/tag.js"(e,r){"use strict";ne();var t=Zt(),{isNonEmptyArray:s}=Ue(),{builders:{indent:a,join:n,line:u,softline:i,hardline:l},utils:{replaceTextEndOfLine:p}}=Me(),{locStart:d,locEnd:y}=au(),{isTextLikeNode:g,getLastDescendant:c,isPreLikeNode:D,hasPrettierIgnore:E,shouldPreserveContent:_,isVueSfcBlock:w}=Rt();function F(L,Y){return[L.isSelfClosing?"":A(L,Y),N(L,Y)]}function A(L,Y){return L.lastChild&&o(L.lastChild)?"":[I(L,Y),H(L,Y)]}function N(L,Y){return(L.next?m(L.next):v(L.parent))?"":[f(L,Y),P(L,Y)]}function I(L,Y){return v(L)?f(L.lastChild,Y):""}function P(L,Y){return o(L)?H(L.parent,Y):h(L)?q(L.next):""}function H(L,Y){if(t(!L.isSelfClosing),b(L,Y))return"";switch(L.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"element":if(L.isSelfClosing)return"/>";default:return">"}}function b(L,Y){return!L.isSelfClosing&&!L.endSourceSpan&&(E(L)||_(L.parent,Y))}function m(L){return L.prev&&L.prev.type!=="docType"&&!g(L.prev)&&L.isLeadingSpaceSensitive&&!L.hasLeadingSpaces}function v(L){return L.lastChild&&L.lastChild.isTrailingSpaceSensitive&&!L.lastChild.hasTrailingSpaces&&!g(c(L.lastChild))&&!D(L)}function o(L){return!L.next&&!L.hasTrailingSpaces&&L.isTrailingSpaceSensitive&&g(c(L))}function h(L){return L.next&&!g(L.next)&&g(L)&&L.isTrailingSpaceSensitive&&!L.hasTrailingSpaces}function C(L){let Y=L.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return Y?Y[1]?Y[1].split(/\s+/):!0:!1}function S(L){return!L.prev&&L.isLeadingSpaceSensitive&&!L.hasLeadingSpaces}function x(L,Y,V){let j=L.getValue();if(!s(j.attrs))return j.isSelfClosing?" ":"";let K=j.prev&&j.prev.type==="comment"&&C(j.prev.value),se=typeof K=="boolean"?()=>K:Array.isArray(K)?ie=>K.includes(ie.rawName):()=>!1,Q=L.map(ie=>{let Ee=ie.getValue();return se(Ee)?p(Y.originalText.slice(d(Ee),y(Ee))):V()},"attrs"),ce=j.type==="element"&&j.fullName==="script"&&j.attrs.length===1&&j.attrs[0].fullName==="src"&&j.children.length===0,X=Y.singleAttributePerLine&&j.attrs.length>1&&!w(j,Y)?l:u,de=[a([ce?" ":u,n(X,Q)])];return j.firstChild&&S(j.firstChild)||j.isSelfClosing&&v(j.parent)||ce?de.push(j.isSelfClosing?" ":""):de.push(Y.bracketSameLine?j.isSelfClosing?" ":"":j.isSelfClosing?u:i),de}function T(L){return L.firstChild&&S(L.firstChild)?"":U(L)}function k(L,Y,V){let j=L.getValue();return[M(j,Y),x(L,Y,V),j.isSelfClosing?"":T(j)]}function M(L,Y){return L.prev&&h(L.prev)?"":[R(L,Y),q(L)]}function R(L,Y){return S(L)?U(L.parent):m(L)?f(L.prev,Y):""}function q(L){switch(L.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${L.rawName}`;default:return`<${L.rawName}`}}function U(L){switch(t(!L.isSelfClosing),L.type){case"ieConditionalComment":return"]>";case"element":if(L.condition)return">";default:return">"}}r.exports={printClosingTag:F,printClosingTagStart:A,printClosingTagStartMarker:H,printClosingTagEndMarker:f,printClosingTagSuffix:P,printClosingTagEnd:N,needsToBorrowLastChildClosingTagEndMarker:v,needsToBorrowParentClosingTagStartMarker:o,needsToBorrowPrevClosingTagEndMarker:m,printOpeningTag:k,printOpeningTagStart:M,printOpeningTagPrefix:R,printOpeningTagStartMarker:q,printOpeningTagEndMarker:U,needsToBorrowNextOpeningTagStartMarker:h,needsToBorrowParentOpeningTagEndMarker:S}}}),xg=Z({"node_modules/parse-srcset/src/parse-srcset.js"(e,r){ne(),function(t,s){typeof define=="function"&&define.amd?define([],s):typeof r=="object"&&r.exports?r.exports=s():t.parseSrcset=s()}(e,function(){return function(t,s){var a=s&&s.logger||console;function n(H){return H===" "||H===" "||H===`
`||H==="\f"||H==="\r"}function u(H){var f,b=H.exec(t.substring(A));if(b)return f=b[0],A+=f.length,f}for(var i=t.length,l=/^[ \t\n\r\u000c]+/,p=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,y=/[,]+$/,g=/^\d+$/,c=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,D,E,_,w,F,A=0,N=[];;){if(u(p),A>=i)return N;D=u(d),E=[],D.slice(-1)===","?(D=D.replace(y,""),P()):I()}function I(){for(u(l),_="",w="in descriptor";;){if(F=t.charAt(A),w==="in descriptor")if(n(F))_&&(E.push(_),_="",w="after descriptor");else if(F===","){A+=1,_&&E.push(_),P();return}else if(F==="(")_=_+F,w="in parens";else if(F===""){_&&E.push(_),P();return}else _=_+F;else if(w==="in parens")if(F===")")_=_+F,w="in descriptor";else if(F===""){E.push(_),P();return}else _=_+F;else if(w==="after descriptor"&&!n(F))if(F===""){P();return}else w="in descriptor",A-=1;A+=1}}function P(){var H=!1,f,b,m,v,o={},h,C,S,x,T;for(v=0;v{let{w:P}=I;return P}),y=p.some(I=>{let{h:P}=I;return P}),g=p.some(I=>{let{d:P}=I;return P});if(d+y+g>1)throw new Error("Mixed descriptor in srcset is not supported");let c=d?"w":y?"h":"d",D=d?"w":y?"h":"x",E=I=>Math.max(...I),_=p.map(I=>I.url),w=E(_.map(I=>I.length)),F=p.map(I=>I[c]).map(I=>I?I.toString():""),A=F.map(I=>{let P=I.indexOf(".");return P===-1?I.length:P}),N=E(A);return a([",",n],_.map((I,P)=>{let H=[I],f=F[P];if(f){let b=w-I.length+1,m=N-A[P],v=" ".repeat(b+m);H.push(s(v," "),f+D)}return H}))}function i(l){return l.trim().split(/\s+/).join(" ")}r.exports={printImgSrcset:u,printClassNames:i}}}),Tg=Z({"src/language-html/syntax-vue.js"(e,r){"use strict";ne();var{builders:{group:t}}=Me();function s(i,l){let{left:p,operator:d,right:y}=a(i);return[t(l(`function _(${p}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",d," ",l(y,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function a(i){let l=/(.*?)\s+(in|of)\s+(.*)/s,p=/,([^,\]}]*)(?:,([^,\]}]*))?$/,d=/^\(|\)$/g,y=i.match(l);if(!y)return;let g={};if(g.for=y[3].trim(),!g.for)return;let c=y[1].trim().replace(d,""),D=c.match(p);D?(g.alias=c.replace(p,""),g.iterator1=D[1].trim(),D[2]&&(g.iterator2=D[2].trim())):g.alias=c;let E=[g.alias,g.iterator1,g.iterator2];if(!E.some((_,w)=>!_&&(w===0||E.slice(w+1).some(Boolean))))return{left:E.filter(Boolean).join(","),operator:y[2],right:g.for}}function n(i,l){return l(`function _(${i}) {}`,{parser:"babel",__isVueBindings:!0})}function u(i){let l=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,p=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,d=i.trim();return l.test(d)||p.test(d)}r.exports={isVueEventBindingExpression:u,printVueFor:s,printVueBindings:n}}}),Lo=Z({"src/language-html/get-node-content.js"(e,r){"use strict";ne();var{needsToBorrowParentClosingTagStartMarker:t,printClosingTagStartMarker:s,needsToBorrowLastChildClosingTagEndMarker:a,printClosingTagEndMarker:n,needsToBorrowParentOpeningTagEndMarker:u,printOpeningTagEndMarker:i}=ur();function l(p,d){let y=p.startSourceSpan.end.offset;p.firstChild&&u(p.firstChild)&&(y-=i(p).length);let g=p.endSourceSpan.start.offset;return p.lastChild&&t(p.lastChild)?g+=s(p,d).length:a(p)&&(g-=n(p.lastChild,d).length),d.originalText.slice(y,g)}r.exports=l}}),Bg=Z({"src/language-html/embed.js"(e,r){"use strict";ne();var{builders:{breakParent:t,group:s,hardline:a,indent:n,line:u,fill:i,softline:l},utils:{mapDoc:p,replaceTextEndOfLine:d}}=Me(),y=su(),{printClosingTag:g,printClosingTagSuffix:c,needsToBorrowPrevClosingTagEndMarker:D,printOpeningTagPrefix:E,printOpeningTag:_}=ur(),{printImgSrcset:w,printClassNames:F}=bg(),{printVueFor:A,printVueBindings:N,isVueEventBindingExpression:I}=Tg(),{isScriptLikeTag:P,isVueNonHtmlBlock:H,inferScriptParser:f,htmlTrimPreserveIndentation:b,dedentString:m,unescapeQuoteEntities:v,isVueSlotAttribute:o,isVueSfcBindingsAttribute:h,getTextValueParts:C}=Rt(),S=Lo();function x(k,M,R){let q=Q=>new RegExp(Q.join("|")).test(k.fullName),U=()=>v(k.value),L=!1,Y=(Q,ce)=>{let W=Q.type==="NGRoot"?Q.node.type==="NGMicrosyntax"&&Q.node.body.length===1&&Q.node.body[0].type==="NGMicrosyntaxExpression"?Q.node.body[0].expression:Q.node:Q.type==="JsExpressionRoot"?Q.node:Q;W&&(W.type==="ObjectExpression"||W.type==="ArrayExpression"||ce.parser==="__vue_expression"&&(W.type==="TemplateLiteral"||W.type==="StringLiteral"))&&(L=!0)},V=Q=>s(Q),j=function(Q){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return s([n([l,Q]),ce?l:""])},K=Q=>L?V(Q):j(Q),se=(Q,ce)=>M(Q,Object.assign({__onHtmlBindingRoot:Y,__embeddedInHtml:!0},ce));if(k.fullName==="srcset"&&(k.parent.fullName==="img"||k.parent.fullName==="source"))return j(w(U()));if(k.fullName==="class"&&!R.parentParser){let Q=U();if(!Q.includes("{{"))return F(Q)}if(k.fullName==="style"&&!R.parentParser){let Q=U();if(!Q.includes("{{"))return j(se(Q,{parser:"css",__isHTMLStyleAttribute:!0}))}if(R.parser==="vue"){if(k.fullName==="v-for")return A(U(),se);if(o(k)||h(k,R))return N(U(),se);let Q=["^@","^v-on:"],ce=["^:","^v-bind:"],W=["^v-"];if(q(Q)){let X=U(),de=I(X)?"__js_expression":R.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return K(se(X,{parser:de}))}if(q(ce))return K(se(U(),{parser:"__vue_expression"}));if(q(W))return K(se(U(),{parser:"__js_expression"}))}if(R.parser==="angular"){let Q=(z,ue)=>se(z,Object.assign(Object.assign({},ue),{},{trailingComma:"none"})),ce=["^\\*"],W=["^\\(.+\\)$","^on-"],X=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],de=["^i18n(-.+)?$"];if(q(W))return K(Q(U(),{parser:"__ng_action"}));if(q(X))return K(Q(U(),{parser:"__ng_binding"}));if(q(de)){let z=U().trim();return j(i(C(k,z)),!z.includes("@@"))}if(q(ce))return K(Q(U(),{parser:"__ng_directive"}));let ie=/{{(.+?)}}/s,Ee=U();if(ie.test(Ee)){let z=[];for(let[ue,J]of Ee.split(ie).entries())if(ue%2===0)z.push(d(J));else try{z.push(s(["{{",n([u,Q(J,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),u,"}}"]))}catch{z.push("{{",d(J),"}}")}return s(z)}}return null}function T(k,M,R,q){let U=k.getValue();switch(U.type){case"element":{if(P(U)||U.type==="interpolation")return;if(!U.isSelfClosing&&H(U,q)){let L=f(U,q);if(!L)return;let Y=S(U,q),V=/^\s*$/.test(Y),j="";return V||(j=R(b(Y),{parser:L,__embeddedInHtml:!0},{stripTrailingHardline:!0}),V=j===""),[E(U,q),s(_(k,q,M)),V?"":a,j,V?"":a,g(U,q),c(U,q)]}break}case"text":{if(P(U.parent)){let L=f(U.parent,q);if(L){let Y=L==="markdown"?m(U.value.replace(/^[^\S\n]*\n/,"")):U.value,V={parser:L,__embeddedInHtml:!0};if(q.parser==="html"&&L==="babel"){let j="script",{attrMap:K}=U.parent;K&&(K.type==="module"||K.type==="text/babel"&&K["data-type"]==="module")&&(j="module"),V.__babelSourceType=j}return[t,E(U,q),R(Y,V,{stripTrailingHardline:!0}),c(U,q)]}}else if(U.parent.type==="interpolation"){let L={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return q.parser==="angular"?(L.parser="__ng_interpolation",L.trailingComma="none"):q.parser==="vue"?L.parser=q.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":L.parser="__js_expression",[n([u,R(U.value,L,{stripTrailingHardline:!0})]),U.parent.next&&D(U.parent.next)?" ":u]}break}case"attribute":{if(!U.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(q.originalText.slice(U.valueSpan.start.offset,U.valueSpan.end.offset)))return[U.rawName,"=",U.value];if(q.parser==="lwc"&&/^{.*}$/s.test(q.originalText.slice(U.valueSpan.start.offset,U.valueSpan.end.offset)))return[U.rawName,"=",U.value];let L=x(U,(Y,V)=>R(Y,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},V),{stripTrailingHardline:!0}),q);if(L)return[U.rawName,'="',s(p(L,Y=>typeof Y=="string"?Y.replace(/"/g,"""):Y)),'"'];break}case"front-matter":return y(U,R)}}r.exports=T}}),Oo=Z({"src/language-html/print/children.js"(e,r){"use strict";ne();var{builders:{breakParent:t,group:s,ifBreak:a,line:n,softline:u,hardline:i},utils:{replaceTextEndOfLine:l}}=Me(),{locStart:p,locEnd:d}=au(),{forceBreakChildren:y,forceNextEmptyLine:g,isTextLikeNode:c,hasPrettierIgnore:D,preferHardlineAsLeadingSpaces:E}=Rt(),{printOpeningTagPrefix:_,needsToBorrowNextOpeningTagStartMarker:w,printOpeningTagStartMarker:F,needsToBorrowPrevClosingTagEndMarker:A,printClosingTagEndMarker:N,printClosingTagSuffix:I,needsToBorrowParentClosingTagStartMarker:P}=ur();function H(m,v,o){let h=m.getValue();return D(h)?[_(h,v),...l(v.originalText.slice(p(h)+(h.prev&&w(h.prev)?F(h).length:0),d(h)-(h.next&&A(h.next)?N(h,v).length:0))),I(h,v)]:o()}function f(m,v){return c(m)&&c(v)?m.isTrailingSpaceSensitive?m.hasTrailingSpaces?E(v)?i:n:"":E(v)?i:u:w(m)&&(D(v)||v.firstChild||v.isSelfClosing||v.type==="element"&&v.attrs.length>0)||m.type==="element"&&m.isSelfClosing&&A(v)?"":!v.isLeadingSpaceSensitive||E(v)||A(v)&&m.lastChild&&P(m.lastChild)&&m.lastChild.lastChild&&P(m.lastChild.lastChild)?i:v.hasLeadingSpaces?n:u}function b(m,v,o){let h=m.getValue();if(y(h))return[t,...m.map(S=>{let x=S.getValue(),T=x.prev?f(x.prev,x):"";return[T?[T,g(x.prev)?i:""]:"",H(S,v,o)]},"children")];let C=h.children.map(()=>Symbol(""));return m.map((S,x)=>{let T=S.getValue();if(c(T)){if(T.prev&&c(T.prev)){let Y=f(T.prev,T);if(Y)return g(T.prev)?[i,i,H(S,v,o)]:[Y,H(S,v,o)]}return H(S,v,o)}let k=[],M=[],R=[],q=[],U=T.prev?f(T.prev,T):"",L=T.next?f(T,T.next):"";return U&&(g(T.prev)?k.push(i,i):U===i?k.push(i):c(T.prev)?M.push(U):M.push(a("",u,{groupId:C[x-1]}))),L&&(g(T)?c(T.next)&&q.push(i,i):L===i?c(T.next)&&q.push(i):R.push(L)),[...k,s([...M,s([H(S,v,o),...R],{id:C[x]})]),...q]},"children")}r.exports={printChildren:b}}}),Ng=Z({"src/language-html/print/element.js"(e,r){"use strict";ne();var{builders:{breakParent:t,dedentToRoot:s,group:a,ifBreak:n,indentIfBreak:u,indent:i,line:l,softline:p},utils:{replaceTextEndOfLine:d}}=Me(),y=Lo(),{shouldPreserveContent:g,isScriptLikeTag:c,isVueCustomBlock:D,countParents:E,forceBreakContent:_}=Rt(),{printOpeningTagPrefix:w,printOpeningTag:F,printClosingTagSuffix:A,printClosingTag:N,needsToBorrowPrevClosingTagEndMarker:I,needsToBorrowLastChildClosingTagEndMarker:P}=ur(),{printChildren:H}=Oo();function f(b,m,v){let o=b.getValue();if(g(o,m))return[w(o,m),a(F(b,m,v)),...d(y(o,m)),...N(o,m),A(o,m)];let h=o.children.length===1&&o.firstChild.type==="interpolation"&&o.firstChild.isLeadingSpaceSensitive&&!o.firstChild.hasLeadingSpaces&&o.lastChild.isTrailingSpaceSensitive&&!o.lastChild.hasTrailingSpaces,C=Symbol("element-attr-group-id"),S=M=>a([a(F(b,m,v),{id:C}),M,N(o,m)]),x=M=>h?u(M,{groupId:C}):(c(o)||D(o,m))&&o.parent.type==="root"&&m.parser==="vue"&&!m.vueIndentScriptAndStyle?M:i(M),T=()=>h?n(p,"",{groupId:C}):o.firstChild.hasLeadingSpaces&&o.firstChild.isLeadingSpaceSensitive?l:o.firstChild.type==="text"&&o.isWhitespaceSensitive&&o.isIndentationSensitive?s(p):p,k=()=>(o.next?I(o.next):P(o.parent))?o.lastChild.hasTrailingSpaces&&o.lastChild.isTrailingSpaceSensitive?" ":"":h?n(p,"",{groupId:C}):o.lastChild.hasTrailingSpaces&&o.lastChild.isTrailingSpaceSensitive?l:(o.lastChild.type==="comment"||o.lastChild.type==="text"&&o.isWhitespaceSensitive&&o.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${m.tabWidth*E(b,R=>R.parent&&R.parent.type!=="root")}}$`).test(o.lastChild.value)?"":p;return o.children.length===0?S(o.hasDanglingSpaces&&o.isDanglingSpaceSensitive?l:""):S([_(o)?t:"",x([T(),H(b,m,v)]),k()])}r.exports={printElement:f}}}),wg=Z({"src/language-html/printer-html.js"(e,r){"use strict";ne();var{builders:{fill:t,group:s,hardline:a,literalline:n},utils:{cleanDoc:u,getDocParts:i,isConcat:l,replaceTextEndOfLine:p}}=Me(),d=dg(),{countChars:y,unescapeQuoteEntities:g,getTextValueParts:c}=Rt(),D=Ag(),{insertPragma:E}=Sg(),{locStart:_,locEnd:w}=au(),F=Bg(),{printClosingTagSuffix:A,printClosingTagEnd:N,printOpeningTagPrefix:I,printOpeningTagStart:P}=ur(),{printElement:H}=Ng(),{printChildren:f}=Oo();function b(m,v,o){let h=m.getValue();switch(h.type){case"front-matter":return p(h.raw);case"root":return v.__onHtmlRoot&&v.__onHtmlRoot(h),[s(f(m,v,o)),a];case"element":case"ieConditionalComment":return H(m,v,o);case"ieConditionalStartComment":case"ieConditionalEndComment":return[P(h),N(h)];case"interpolation":return[P(h,v),...m.map(o,"children"),N(h,v)];case"text":{if(h.parent.type==="interpolation"){let S=/\n[^\S\n]*$/,x=S.test(h.value),T=x?h.value.replace(S,""):h.value;return[...p(T),x?a:""]}let C=u([I(h,v),...c(h),A(h,v)]);return l(C)||C.type==="fill"?t(i(C)):C}case"docType":return[s([P(h,v)," ",h.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),N(h,v)];case"comment":return[I(h,v),...p(v.originalText.slice(_(h),w(h)),n),A(h,v)];case"attribute":{if(h.value===null)return h.rawName;let C=g(h.value),S=y(C,"'"),x=y(C,'"'),T=S({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),t(On(),l=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...l.extensions,".mjml"]})),t(On(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),t(Ig(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],i={html:s};r.exports={languages:u,printers:i,options:a,parsers:n}}}),Lg=Z({"src/language-yaml/pragma.js"(e,r){"use strict";ne();function t(n){return/^\s*@(?:prettier|format)\s*$/.test(n)}function s(n){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(n)}function a(n){return`# @format
${n}`}r.exports={isPragma:t,hasPragma:s,insertPragma:a}}}),Og=Z({"src/language-yaml/loc.js"(e,r){"use strict";ne();function t(a){return a.position.start.offset}function s(a){return a.position.end.offset}r.exports={locStart:t,locEnd:s}}}),jg=Z({"src/language-yaml/embed.js"(e,r){"use strict";ne();function t(s,a,n,u){if(s.getValue().type==="root"&&u.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(u.filepath))return n(u.originalText,Object.assign(Object.assign({},u),{},{parser:"json"}))}r.exports=t}}),$t=Z({"src/language-yaml/utils.js"(e,r){"use strict";ne();var{getLast:t,isNonEmptyArray:s}=Ue();function a(f,b){let m=0,v=f.stack.length-1;for(let o=0;ou(v,b,f))}):f,m)}function i(f,b,m){Object.defineProperty(f,b,{get:m,enumerable:!1})}function l(f,b){let m=0,v=b.length;for(let o=f.position.end.offset-1;oh===0&&h===C.length-1?o:h!==0&&h!==C.length-1?o.trim():h===0?o.trimEnd():o.trimStart());return m.proseWrap==="preserve"?v.map(o=>o.length===0?[]:[o]):v.map(o=>o.length===0?[]:N(o)).reduce((o,h,C)=>C!==0&&v[C-1].length>0&&h.length>0&&!(f==="quoteDouble"&&t(t(o)).endsWith("\\"))?[...o.slice(0,-1),[...t(o),...h]]:[...o,h],[]).map(o=>m.proseWrap==="never"?[o.join(" ")]:o)}function P(f,b){let{parentIndent:m,isLastDescendant:v,options:o}=b,h=f.position.start.line===f.position.end.line?"":o.originalText.slice(f.position.start.offset,f.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],C;if(f.indent===null){let T=h.match(/^(? *)[^\n\r ]/m);C=T?T.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else C=f.indent-1+m;let S=h.split(`
`).map(T=>T.slice(C));if(o.proseWrap==="preserve"||f.type==="blockLiteral")return x(S.map(T=>T.length===0?[]:[T]));return x(S.map(T=>T.length===0?[]:N(T)).reduce((T,k,M)=>M!==0&&S[M-1].length>0&&k.length>0&&!/^\s/.test(k[0])&&!/^\s|\s$/.test(t(T))?[...T.slice(0,-1),[...t(T),...k]]:[...T,k],[]).map(T=>T.reduce((k,M)=>k.length>0&&/\s$/.test(t(k))?[...k.slice(0,-1),t(k)+" "+M]:[...k,M],[])).map(T=>o.proseWrap==="never"?[T.join(" ")]:T));function x(T){if(f.chomping==="keep")return t(T).length===0?T.slice(0,-1):T;let k=0;for(let M=T.length-1;M>=0&&T[M].length===0;M--)k++;return k===0?T:k>=2&&!v?T.slice(0,-(k-1)):T.slice(0,-k)}}function H(f){if(!f)return!0;switch(f.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}r.exports={getLast:t,getAncestorCount:a,isNode:n,isEmptyNode:c,isInlineNode:H,mapNode:u,defineShortcut:i,isNextLineEmpty:l,isLastDescendantNode:p,getBlockValueLineContents:P,getFlowScalarLineContents:I,getLastDescendantNode:d,hasPrettierIgnore:g,hasLeadingComments:E,hasMiddleComments:_,hasIndicatorComment:w,hasTrailingComment:F,hasEndComments:A}}}),qg=Z({"src/language-yaml/print-preprocess.js"(e,r){"use strict";ne();var{defineShortcut:t,mapNode:s}=$t();function a(u){return s(u,n)}function n(u){switch(u.type){case"document":t(u,"head",()=>u.children[0]),t(u,"body",()=>u.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":t(u,"content",()=>u.children[0]);break;case"mappingItem":case"flowMappingItem":t(u,"key",()=>u.children[0]),t(u,"value",()=>u.children[1]);break}return u}r.exports=a}}),Mr=Z({"src/language-yaml/print/misc.js"(e,r){"use strict";ne();var{builders:{softline:t,align:s}}=Me(),{hasEndComments:a,isNextLineEmpty:n,isNode:u}=$t(),i=new WeakMap;function l(y,g){let c=y.getValue(),D=y.stack[0],E;return i.has(D)?E=i.get(D):(E=new Set,i.set(D,E)),!E.has(c.position.end.line)&&(E.add(c.position.end.line),n(c,g)&&!p(y.getParentNode()))?t:""}function p(y){return a(y)&&!u(y,["documentHead","documentBody","flowMapping","flowSequence"])}function d(y,g){return s(" ".repeat(y),g)}r.exports={alignWithSpaces:d,shouldPrintEndComments:p,printNextEmptyLine:l}}}),Mg=Z({"src/language-yaml/print/flow-mapping-sequence.js"(e,r){"use strict";ne();var{builders:{ifBreak:t,line:s,softline:a,hardline:n,join:u}}=Me(),{isEmptyNode:i,getLast:l,hasEndComments:p}=$t(),{printNextEmptyLine:d,alignWithSpaces:y}=Mr();function g(D,E,_){let w=D.getValue(),F=w.type==="flowMapping",A=F?"{":"[",N=F?"}":"]",I=a;F&&w.children.length>0&&_.bracketSpacing&&(I=s);let P=l(w.children),H=P&&P.type==="flowMappingItem"&&i(P.key)&&i(P.value);return[A,y(_.tabWidth,[I,c(D,E,_),_.trailingComma==="none"?"":t(","),p(w)?[n,u(n,D.map(E,"endComments"))]:""]),H?"":I,N]}function c(D,E,_){let w=D.getValue();return D.map((A,N)=>[E(),N===w.children.length-1?"":[",",s,w.children[N].position.start.line!==w.children[N+1].position.start.line?d(A,_.originalText):""]],"children")}r.exports={printFlowMapping:g,printFlowSequence:g}}}),Rg=Z({"src/language-yaml/print/mapping-item.js"(e,r){"use strict";ne();var{builders:{conditionalGroup:t,group:s,hardline:a,ifBreak:n,join:u,line:i}}=Me(),{hasLeadingComments:l,hasMiddleComments:p,hasTrailingComment:d,hasEndComments:y,isNode:g,isEmptyNode:c,isInlineNode:D}=$t(),{alignWithSpaces:E}=Mr();function _(N,I,P,H,f){let{key:b,value:m}=N,v=c(b),o=c(m);if(v&&o)return": ";let h=H("key"),C=F(N)?" ":"";if(o)return N.type==="flowMappingItem"&&I.type==="flowMapping"?h:N.type==="mappingItem"&&w(b.content,f)&&!d(b.content)&&(!I.tag||I.tag.value!=="tag:yaml.org,2002:set")?[h,C,":"]:["? ",E(2,h)];let S=H("value");if(v)return[": ",E(2,S)];if(l(m)||!D(b.content))return["? ",E(2,h),a,u("",P.map(H,"value","leadingComments").map(q=>[q,a])),": ",E(2,S)];if(A(b.content)&&!l(b.content)&&!p(b.content)&&!d(b.content)&&!y(b)&&!l(m.content)&&!p(m.content)&&!y(m)&&w(m.content,f))return[h,C,": ",S];let x=Symbol("mappingKey"),T=s([n("? "),s(E(2,h),{id:x})]),k=[a,": ",E(2,S)],M=[C,":"];l(m.content)||y(m)&&m.content&&!g(m.content,["mapping","sequence"])||I.type==="mapping"&&d(b.content)&&D(m.content)||g(m.content,["mapping","sequence"])&&m.content.tag===null&&m.content.anchor===null?M.push(a):m.content&&M.push(i),M.push(S);let R=E(f.tabWidth,M);return w(b.content,f)&&!l(b.content)&&!p(b.content)&&!y(b)?t([[h,R]]):t([[T,n(k,R,{groupId:x})]])}function w(N,I){if(!N)return!0;switch(N.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(I.proseWrap==="preserve")return N.position.start.line===N.position.end.line;if(/\\$/m.test(I.originalText.slice(N.position.start.offset,N.position.end.offset)))return!1;switch(I.proseWrap){case"never":return!N.value.includes(`
`);case"always":return!/[\n ]/.test(N.value);default:return!1}}function F(N){return N.key.content&&N.key.content.type==="alias"}function A(N){if(!N)return!0;switch(N.type){case"plain":case"quoteDouble":case"quoteSingle":return N.position.start.line===N.position.end.line;case"alias":return!0;default:return!1}}r.exports=_}}),$g=Z({"src/language-yaml/print/block.js"(e,r){"use strict";ne();var{builders:{dedent:t,dedentToRoot:s,fill:a,hardline:n,join:u,line:i,literalline:l,markAsRoot:p},utils:{getDocParts:d}}=Me(),{getAncestorCount:y,getBlockValueLineContents:g,hasIndicatorComment:c,isLastDescendantNode:D,isNode:E}=$t(),{alignWithSpaces:_}=Mr();function w(F,A,N){let I=F.getValue(),P=y(F,v=>E(v,["sequence","mapping"])),H=D(F),f=[I.type==="blockFolded"?">":"|"];I.indent!==null&&f.push(I.indent.toString()),I.chomping!=="clip"&&f.push(I.chomping==="keep"?"+":"-"),c(I)&&f.push(" ",A("indicatorComment"));let b=g(I,{parentIndent:P,isLastDescendant:H,options:N}),m=[];for(let[v,o]of b.entries())v===0&&m.push(n),m.push(a(d(u(i,o)))),v!==b.length-1?m.push(o.length===0?n:p(l)):I.chomping==="keep"&&H&&m.push(s(o.length===0?n:l));return I.indent===null?f.push(t(_(N.tabWidth,m))):f.push(s(_(I.indent-1+P,m))),f}r.exports=w}}),Vg=Z({"src/language-yaml/printer-yaml.js"(e,r){"use strict";ne();var{builders:{breakParent:t,fill:s,group:a,hardline:n,join:u,line:i,lineSuffix:l,literalline:p},utils:{getDocParts:d,replaceTextEndOfLine:y}}=Me(),{isPreviousLineEmpty:g}=Ue(),{insertPragma:c,isPragma:D}=Lg(),{locStart:E}=Og(),_=jg(),{getFlowScalarLineContents:w,getLastDescendantNode:F,hasLeadingComments:A,hasMiddleComments:N,hasTrailingComment:I,hasEndComments:P,hasPrettierIgnore:H,isLastDescendantNode:f,isNode:b,isInlineNode:m}=$t(),v=qg(),{alignWithSpaces:o,printNextEmptyLine:h,shouldPrintEndComments:C}=Mr(),{printFlowMapping:S,printFlowSequence:x}=Mg(),T=Rg(),k=$g();function M(j,K,se){let Q=j.getValue(),ce=[];Q.type!=="mappingValue"&&A(Q)&&ce.push([u(n,j.map(se,"leadingComments")),n]);let{tag:W,anchor:X}=Q;W&&ce.push(se("tag")),W&&X&&ce.push(" "),X&&ce.push(se("anchor"));let de="";b(Q,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!f(j)&&(de=h(j,K.originalText)),(W||X)&&(b(Q,["sequence","mapping"])&&!N(Q)?ce.push(n):ce.push(" ")),N(Q)&&ce.push([Q.middleComments.length===1?"":n,u(n,j.map(se,"middleComments")),n]);let ie=j.getParentNode();return H(j)?ce.push(y(K.originalText.slice(Q.position.start.offset,Q.position.end.offset).trimEnd(),p)):ce.push(a(R(Q,ie,j,K,se))),I(Q)&&!b(Q,["document","documentHead"])&&ce.push(l([Q.type==="mappingValue"&&!Q.content?"":" ",ie.type==="mappingKey"&&j.getParentNode(2).type==="mapping"&&m(Q)?"":t,se("trailingComment")])),C(Q)&&ce.push(o(Q.type==="sequenceItem"?2:0,[n,u(n,j.map(Ee=>[g(K.originalText,Ee.getValue(),E)?n:"",se()],"endComments"))])),ce.push(de),ce}function R(j,K,se,Q,ce){switch(j.type){case"root":{let{children:W}=j,X=[];se.each((ie,Ee)=>{let z=W[Ee],ue=W[Ee+1];Ee!==0&&X.push(n),X.push(ce()),U(z,ue)?(X.push(n,"..."),I(z)&&X.push(" ",ce("trailingComment"))):ue&&!I(ue.head)&&X.push(n,"---")},"children");let de=F(j);return(!b(de,["blockLiteral","blockFolded"])||de.chomping!=="keep")&&X.push(n),X}case"document":{let W=K.children[se.getName()+1],X=[];return L(j,W,K,Q)==="head"&&((j.head.children.length>0||j.head.endComments.length>0)&&X.push(ce("head")),I(j.head)?X.push(["---"," ",ce(["head","trailingComment"])]):X.push("---")),q(j)&&X.push(ce("body")),u(n,X)}case"documentHead":return u(n,[...se.map(ce,"children"),...se.map(ce,"endComments")]);case"documentBody":{let{children:W,endComments:X}=j,de="";if(W.length>0&&X.length>0){let ie=F(j);b(ie,["blockFolded","blockLiteral"])?ie.chomping!=="keep"&&(de=[n,n]):de=n}return[u(n,se.map(ce,"children")),de,u(n,se.map(ce,"endComments"))]}case"directive":return["%",u(" ",[j.name,...j.parameters])];case"comment":return["#",j.value];case"alias":return["*",j.value];case"tag":return Q.originalText.slice(j.position.start.offset,j.position.end.offset);case"anchor":return["&",j.value];case"plain":return Y(j.type,Q.originalText.slice(j.position.start.offset,j.position.end.offset),Q);case"quoteDouble":case"quoteSingle":{let W="'",X='"',de=Q.originalText.slice(j.position.start.offset+1,j.position.end.offset-1);if(j.type==="quoteSingle"&&de.includes("\\")||j.type==="quoteDouble"&&/\\[^"]/.test(de)){let Ee=j.type==="quoteDouble"?X:W;return[Ee,Y(j.type,de,Q),Ee]}if(de.includes(X))return[W,Y(j.type,j.type==="quoteDouble"?de.replace(/\\"/g,X).replace(/'/g,W.repeat(2)):de,Q),W];if(de.includes(W))return[X,Y(j.type,j.type==="quoteSingle"?de.replace(/''/g,W):de,Q),X];let ie=Q.singleQuote?W:X;return[ie,Y(j.type,de,Q),ie]}case"blockFolded":case"blockLiteral":return k(se,ce,Q);case"mapping":case"sequence":return u(n,se.map(ce,"children"));case"sequenceItem":return["- ",o(2,j.content?ce("content"):"")];case"mappingKey":case"mappingValue":return j.content?ce("content"):"";case"mappingItem":case"flowMappingItem":return T(j,K,se,ce,Q);case"flowMapping":return S(se,ce,Q);case"flowSequence":return x(se,ce,Q);case"flowSequenceItem":return ce("content");default:throw new Error(`Unexpected node type ${j.type}`)}}function q(j){return j.body.children.length>0||P(j.body)}function U(j,K){return I(j)||K&&(K.head.children.length>0||P(K.head))}function L(j,K,se,Q){return se.children[0]===j&&/---(?:\s|$)/.test(Q.originalText.slice(E(j),E(j)+4))||j.head.children.length>0||P(j.head)||I(j.head)?"head":U(j,K)?!1:K?"root":!1}function Y(j,K,se){let Q=w(j,K,se);return u(n,Q.map(ce=>s(d(u(i,ce)))))}function V(j,K){if(b(K))switch(delete K.position,K.type){case"comment":if(D(K.value))return null;break;case"quoteDouble":case"quoteSingle":K.type="quote";break}}r.exports={preprocess:v,embed:_,print:M,massageAstNode:V,insertPragma:c}}}),Wg=Z({"src/language-yaml/options.js"(e,r){"use strict";ne();var t=Mt();r.exports={bracketSpacing:t.bracketSpacing,singleQuote:t.singleQuote,proseWrap:t.proseWrap}}}),Hg=Z({"src/language-yaml/parsers.js"(){ne()}}),Gg=Z({"node_modules/linguist-languages/data/YAML.json"(e,r){r.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),Ug=Z({"src/language-yaml/index.js"(e,r){"use strict";ne();var t=_t(),s=Vg(),a=Wg(),n=Hg(),u=[t(Gg(),i=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...i.filenames.filter(l=>l!=="yarn.lock"),".prettierrc",".stylelintrc",".lintstagedrc"]}))];r.exports={languages:u,printers:{yaml:s},options:a,parsers:n}}}),Jg=Z({"src/languages.js"(e,r){"use strict";ne(),r.exports=[Td(),Gd(),Zd(),ig(),mg(),kg(),Ug()]}});ne();var{version:zg}=Ia(),Lt=Gm(),{getSupportInfo:Xg}=Xn(),Kg=Um(),Yg=Jg(),Qg=Me();function Nt(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var t=arguments.length,s=new Array(t),a=0;a