diff --git a/index.html b/index.html index 0a81c56..768d37c 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -微信 Markdown 编辑器 | Doocs 开源社区
\ No newline at end of file +微信 Markdown 编辑器 | Doocs 开源社区
\ No newline at end of file diff --git a/js/app.388d64de.js b/js/app.21db5fe5.js similarity index 100% rename from js/app.388d64de.js rename to js/app.21db5fe5.js diff --git a/js/chunk-vendors.14663763.js b/js/chunk-vendors.9c1b7b3b.js similarity index 94% rename from js/chunk-vendors.14663763.js rename to js/chunk-vendors.9c1b7b3b.js index 1748eea..8174db8 100644 --- a/js/chunk-vendors.14663763.js +++ b/js/chunk-vendors.9c1b7b3b.js @@ -19,7 +19,7 @@ `,cliCategory:i},requirePragma:{since:"1.7.0",category:u,type:"boolean",default:!1,description:n` Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted. - `,cliCategory:a},tabWidth:{type:"int",category:l,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:l,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:l,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:r,CATEGORY_EDITOR:i,CATEGORY_FORMAT:o,CATEGORY_OTHER:a,CATEGORY_OUTPUT:s,CATEGORY_GLOBAL:l,CATEGORY_SPECIAL:u,options:c}}}),ue=_({"src/main/support.js"(e,t){C();var n={compare:re(),lt:ie(),gte:oe()},r=ae(),i=T().version,o=le().options;function a(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:a=!1,showInternal:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=i.split("-",1)[0],p=e.flatMap(e=>e.languages||[]).filter(f),h=r(Object.assign({},...e.map(e=>{let{options:t}=e;return t}),o),"name").filter(e=>f(e)&&m(e)).sort((e,t)=>e.name===t.name?0:e.name{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(f).sort((e,t)=>n.compare(t.since,e.since))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(e=>f(e)&&m(e)),"parser"===t.name&&l(t,p,e));let r=Object.fromEntries(e.filter(e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name]).map(e=>[e.name,e.defaultOptions[t.name]]));return Object.assign(Object.assign({},t),{},{pluginDefaults:r})});return{languages:p,options:h};function f(e){return t||!("since"in e)||e.since&&n.gte(d,e.since)}function m(e){return a||!("deprecated"in e)||e.deprecated&&n.lt(d,e.deprecated)}function g(e){if(u)return e;let{cliName:t,cliCategory:n,cliDescription:r}=e;return c(e,s)}}function l(e,t,n){let r=new Set(e.choices.map(e=>e.value));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!r.has(t)){r.add(t);let o=n.find(e=>e.parsers&&e.parsers[t]),a=i.name;o&&o.name&&(a+=` (plugin: ${o.name})`),e.choices.push({value:t,description:a})}}t.exports={getSupportInfo:a}}}),ce=_({"src/utils/is-non-empty-array.js"(e,t){function n(e){return Array.isArray(e)&&e.length>0}C(),t.exports=n}}),de=_({"src/utils/text/skip.js"(e,t){function n(e){return(t,n,r)=>{let i=r&&r.backwards;if(!1===n)return!1;let{length:o}=t,a=n;for(;a>=0&&ae[e.length-2];function g(e){return(t,n,r)=>{let i=r&&r.backwards;if(!1===n)return!1;let{length:o}=t,a=n;for(;a>=0&&a2&&void 0!==arguments[2]?arguments[2]:{},r=l(e,n.backwards?t-1:t,n),i=h(e,r,n);return r!==i}function b(e,t,n){for(let r=t;r2&&void 0!==arguments[2]?arguments[2]:{};return l(e,n.backwards?t-1:t,n)!==t}function D(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=0;for(let i=n;in?o:i}return a}function k(e,t){let n=e.slice(1,-1),r="json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":O(n,t.singleQuote?"'":'"').quote;return I(n,r,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function I(e,t,n){let r='"'===t?"'":'"',i=/\\(.)|(["'])/gs,o=e.replace(i,(e,i,o)=>i===r?i:o===t?"\\"+o:o||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i));return t+o+t}function M(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function R(e,t){let r=e.match(new RegExp(`(${n(t)})+`,"g"));return null===r?0:r.reduce((e,n)=>Math.max(e,n.length/t.length),0)}function P(e,t){let r=e.match(new RegExp(`(${n(t)})+`,"g"));if(null===r)return 0;let i=new Map,o=0;for(let n of r){let e=n.length/t.length;i.set(e,!0),e>o&&(o=e)}for(let n=1;n{let{name:n}=t;return n.toLowerCase()===e})||n.find(t=>{let{aliases:n}=t;return Array.isArray(n)&&n.includes(e)})||n.find(t=>{let{extensions:n}=t;return Array.isArray(n)&&n.includes("."+e)});return r&&r.parsers[0]}function q(e){return e&&"front-matter"===e.type}function $(e){let t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}function z(e){let t=e.type||e.kind||"(unknown type)",n=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return n.length>20&&(n=n.slice(0,19)+"…"),t+(n?" "+n:"")}t.exports={inferParserByLanguage:U,getStringWidth:a,getMaxContinuousCount:R,getMinNotPresentContinuousCount:P,getPenultimate:m,getLast:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:S,getNextNonSpaceNonCommentCharacter:w,skip:g,skipWhitespace:s,skipSpaces:l,skipToLineEnd:u,skipEverythingButNewLine:c,skipInlineComment:d,skipTrailingComment:p,skipNewline:h,isNextLineEmptyAfterIndex:_,isNextLineEmpty:E,isPreviousLineEmpty:y,hasNewline:v,hasNewlineInRange:b,hasSpaces:T,getAlignmentSize:D,getIndentSize:A,getPreferredQuote:O,printString:k,printNumber:M,makeString:I,addLeadingComment:F,addDanglingComment:B,addTrailingComment:j,isFrontMatterNode:q,isNonEmptyArray:o,createGroupIdMapper:$}}}),ve={};function be(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function ye(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return e=be(De(e.split("/"),(function(e){return!!e})),!t).join("/"),(t?"/":"")+e||"."}function _e(e){var t=Ee(e),n="/"===Re(e,-1);return e=be(De(e.split("/"),(function(e){return!!e})),!t).join("/"),!e&&!t&&(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function Ee(e){return"/"===e.charAt(0)}function Se(){var e=Array.prototype.slice.call(arguments,0);return _e(De(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function we(e,t){function n(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=ye(e).substr(1),t=ye(t).substr(1);for(var r=n(e.split("/")),i=n(t.split("/")),o=Math.min(r.length,i.length),a=o,s=0;sCe,default:()=>Me,delimiter:()=>Ie,dirname:()=>xe,extname:()=>Te,isAbsolute:()=>Ee,join:()=>Se,normalize:()=>_e,relative:()=>we,resolve:()=>ye,sep:()=>Ne});var Ae,ke,Ne,Ie,Me,Re,Pe=y({"node-modules-polyfills:path"(){C(),Ae=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ke=function(e){return Ae.exec(e).slice(1)},Ne="/",Ie=":",Me={extname:Te,basename:Ce,dirname:xe,sep:Ne,delimiter:Ie,relative:we,join:Se,isAbsolute:Ee,normalize:_e,resolve:ye},Re="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}}),Le=_({"node-modules-polyfills-commonjs:path"(e,t){C();var n=(Pe(),x(ve));if(n&&n.default){t.exports=n.default;for(let e in n)t.exports[e]=n[e]}else n&&(t.exports=n)}}),Be=_({"src/common/errors.js"(e,t){C();var n=class extends Error{},r=class extends Error{},i=class extends Error{},o=class extends Error{};t.exports={ConfigError:n,DebugError:r,UndefinedParserError:i,ArgExpansionBailout:o}}}),je={};function qe(e,t){function n(){this.constructor=e}dt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ze(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function Ve(e,t){return function(n,r){t(n,r,e)}}function Ye(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function We(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function Ke(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Je(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function et(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{l(i[e](t))}catch(n){d(o[0][3],n)}}function l(e){e.value instanceof nt?Promise.resolve(e.value.v).then(u,c):d(o[0][2],e)}function u(e){s("next",e)}function c(e){s("throw",e)}function d(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function it(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:nt(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function ot(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof Ze?Ze(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){t=e[n](t),i(r,o,t.done,t.value)}))}}function i(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}}function at(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function st(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function lt(e){return e&&e.__esModule?e:{default:e}}function ut(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function ct(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}E(je,{__assign:()=>pt,__asyncDelegator:()=>it,__asyncGenerator:()=>rt,__asyncValues:()=>ot,__await:()=>nt,__awaiter:()=>We,__classPrivateFieldGet:()=>ut,__classPrivateFieldSet:()=>ct,__createBinding:()=>Qe,__decorate:()=>Ge,__exportStar:()=>Xe,__extends:()=>qe,__generator:()=>Ke,__importDefault:()=>lt,__importStar:()=>st,__makeTemplateObject:()=>at,__metadata:()=>Ye,__param:()=>Ve,__read:()=>Je,__rest:()=>ze,__spread:()=>et,__spreadArrays:()=>tt,__values:()=>Ze});var dt,pt,ht=y({"node_modules/tslib/tslib.es6.js"(){C(),dt=function(e,t){return dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},dt(e,t)},pt=function(){return pt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return`[${t.map(t=>e.apiDescriptor.value(t)).join(", ")}]`;let n=Object.keys(t);return 0===n.length?"{}":`{ ${n.map(n=>`${e.apiDescriptor.key(n)}: ${e.apiDescriptor.value(t[n])}`).join(", ")} }`},pair:t=>{let{key:n,value:r}=t;return e.apiDescriptor.value({[n]:r})}}}}),mt=_({"node_modules/vnopts/lib/descriptors/index.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ht(),x(je));t.__exportStar(ft(),e)}}),gt=_({"scripts/build/shims/chalk.cjs"(e,t){C();var n=e=>e;n.grey=n,n.red=n,n.bold=n,n.yellow=n,n.blue=n,n.default=n,t.exports=n}}),vt=_({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=gt();e.commonDeprecatedHandler=(e,n,r)=>{let{descriptor:i}=r,o=[t.default.yellow("string"==typeof e?i.key(e):i.pair(e))+" is deprecated"];return n&&o.push("we now treat it as "+t.default.blue("string"==typeof n?i.key(n):i.pair(n))),o.join("; ")+"."}}}),bt=_({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ht(),x(je));t.__exportStar(vt(),e)}}),yt=_({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=gt();e.commonInvalidHandler=(e,n,r)=>[`Invalid ${t.default.red(r.descriptor.key(e))} value.`,`Expected ${t.default.blue(r.schemas[e].expected(r))},`,`but received ${t.default.red(r.descriptor.value(n))}.`].join(" ")}}),_t=_({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ht(),x(je));t.__exportStar(yt(),e)}}),Et=_({"node_modules/vnopts/node_modules/leven/index.js"(e,t){C();var n=[],r=[];t.exports=function(e,t){if(e===t)return 0;var i=e;e.length>t.length&&(e=t,t=i);var o=e.length,a=t.length;if(0===o)return a;if(0===a)return o;for(;o>0&&e.charCodeAt(~-o)===t.charCodeAt(~-a);)o--,a--;if(0===o)return a;for(var s=0;su?d>u?u+1:d:d>c?c+1:d;return u}}}),St=_({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=gt(),n=Et();e.levenUnknownHandler=(e,r,i)=>{let{descriptor:o,logger:a,schemas:s}=i,l=[`Ignored unknown option ${t.default.yellow(o.pair({key:e,value:r}))}.`],u=Object.keys(s).sort().find(t=>n(e,t)<3);u&&l.push(`Did you mean ${t.default.blue(o.key(u))}?`),a.warn(l.join(" "))}}}),wt=_({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ht(),x(je));t.__exportStar(St(),e)}}),xt=_({"node_modules/vnopts/lib/handlers/index.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ht(),x(je));t.__exportStar(bt(),e),t.__exportStar(_t(),e),t.__exportStar(wt(),e)}}),Ct=_({"node_modules/vnopts/lib/schema.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function n(e,n){let o=new e(n),a=Object.create(o);for(let s of t)s in n&&(a[s]=i(n[s],o,r.prototype[s].length));return a}e.createSchema=n;var r=class{constructor(e){this.name=e.name}static create(e){return n(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}};function i(e,t,n){return"function"==typeof e?function(){for(var r=arguments.length,i=new Array(r),o=0;oe}e.Schema=r}}),Tt=_({"node_modules/vnopts/lib/schemas/alias.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),n=class extends t.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}};e.AliasSchema=n}}),Dt=_({"node_modules/vnopts/lib/schemas/any.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),n=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=n}}),At=_({"node_modules/vnopts/lib/schemas/array.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ht(),x(je)),n=Ct(),r=class extends n.Schema{constructor(e){var{valueSchema:n,name:r=n.name}=e,i=t.__rest(e,["valueSchema","name"]);super(Object.assign({},i,{name:r})),this._valueSchema=n}expected(e){return"an array of "+this._valueSchema.expected(e)}validate(e,t){if(!Array.isArray(e))return!1;let n=[];for(let r of e){let e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){let n=[];for(let r of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map(e=>{let{value:t}=e;return{value:[t]}}))}return n}forward(e,t){let n=[];for(let r of e){let e=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...e.map(i))}return n}redirect(e,t){let n=[],r=[];for(let o of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in e&&n.push(e.remain),r.push(...e.redirect.map(i))}return 0===n.length?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}};function i(e){let{from:t,to:n}=e;return{from:[t],to:n}}e.ArraySchema=r}}),Ot=_({"node_modules/vnopts/lib/schemas/boolean.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),n=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=n}}),kt=_({"node_modules/vnopts/lib/utils.js"(e){function t(e,t){let n=Object.create(null);for(let r of e){let e=r[t];if(n[e])throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);n[e]=r}return n}function n(e,t){let n=new Map;for(let r of e){let e=r[t];if(n.has(e))throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);n.set(e,r)}return n}function r(){let e=Object.create(null);return t=>{let n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}}function i(e,t){let n=[],r=[];for(let i of e)t(i)?n.push(i):r.push(i);return[n,r]}function o(e){return e===Math.floor(e)}function a(e,t){if(e===t)return 0;let n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)}function s(e){return void 0===e?{}:e}function l(e,t){return!0===e||(!1===e?{value:t}:e)}function u(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)}function c(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function d(e,t){return void 0===e?[]:Array.isArray(e)?e.map(e=>c(e,t)):[c(e,t)]}function p(e,t){let n=d("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}C(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=t,e.mapFromArray=n,e.createAutoChecklist=r,e.partition=i,e.isInt=o,e.comparePrimitive=a,e.normalizeDefaultResult=s,e.normalizeValidateResult=l,e.normalizeDeprecatedResult=u,e.normalizeTransferResult=c,e.normalizeForwardResult=d,e.normalizeRedirectResult=p}}),Nt=_({"node_modules/vnopts/lib/schemas/choice.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),n=kt(),r=class extends t.Schema{constructor(e){super(e),this._choices=n.mapFromArray(e.choices.map(e=>e&&"object"==typeof e?e:{value:e}),"value")}expected(e){let{descriptor:t}=e,r=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(n.comparePrimitive).map(t.value),i=r.slice(0,-2),o=r.slice(-2);return i.concat(o.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}};e.ChoiceSchema=r}}),It=_({"node_modules/vnopts/lib/schemas/number.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),n=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=n}}),Mt=_({"node_modules/vnopts/lib/schemas/integer.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=kt(),n=It(),r=class extends n.NumberSchema{expected(){return"an integer"}validate(e,n){return!0===n.normalizeValidateResult(super.validate(e,n),e)&&t.isInt(e)}};e.IntegerSchema=r}}),Rt=_({"node_modules/vnopts/lib/schemas/string.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ct(),n=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=n}}),Pt=_({"node_modules/vnopts/lib/schemas/index.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ht(),x(je));t.__exportStar(Tt(),e),t.__exportStar(Dt(),e),t.__exportStar(At(),e),t.__exportStar(Ot(),e),t.__exportStar(Nt(),e),t.__exportStar(Mt(),e),t.__exportStar(It(),e),t.__exportStar(Rt(),e)}}),Lt=_({"node_modules/vnopts/lib/defaults.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=ft(),n=vt(),r=_t(),i=St();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=i.levenUnknownHandler,e.defaultInvalidHandler=r.commonInvalidHandler,e.defaultDeprecatedHandler=n.commonDeprecatedHandler}}),Ft=_({"node_modules/vnopts/lib/normalize.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=Lt(),n=kt();e.normalize=(e,t,n)=>new r(t,n).normalize(e);var r=class{constructor(e,r){let{logger:i=console,descriptor:o=t.defaultDescriptor,unknown:a=t.defaultUnknownHandler,invalid:s=t.defaultInvalidHandler,deprecated:l=t.defaultDeprecatedHandler}=r||{};this._utils={descriptor:o,logger:i||{warn:()=>{}},schemas:n.recordFromArray(e,"name"),normalizeDefaultResult:n.normalizeDefaultResult,normalizeDeprecatedResult:n.normalizeDeprecatedResult,normalizeForwardResult:n.normalizeForwardResult,normalizeRedirectResult:n.normalizeRedirectResult,normalizeValidateResult:n.normalizeValidateResult},this._unknownHandler=a,this._invalidHandler=s,this._deprecatedHandler=l,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=n.createAutoChecklist()}normalize(e){let t={},r=[e],i=()=>{for(;0!==r.length;){let e=r.shift(),n=this._applyNormalization(e,t);r.push(...n)}};i();for(let o of Object.keys(this._utils.schemas)){let e=this._utils.schemas[o];if(!(o in t)){let t=n.normalizeDefaultResult(e.default(this._utils));"value"in t&&r.push({[o]:t.value})}}i();for(let n of Object.keys(this._utils.schemas)){let e=this._utils.schemas[n];n in t&&(t[n]=e.postprocess(t[n],this._utils))}return t}_applyNormalization(e,t){let r=[],[i,o]=n.partition(Object.keys(e),e=>e in this._utils.schemas);for(let a of i){let i=this._utils.schemas[a],o=i.preprocess(e[a],this._utils),s=n.normalizeValidateResult(i.validate(o,this._utils),o);if(!0!==s){let{value:e}=s,t=this._invalidHandler(a,e,this._utils);throw"string"==typeof t?new Error(t):t}let l=e=>{let{from:t,to:n}=e;r.push("string"==typeof n?{[n]:t}:{[n.key]:n.value})},u=e=>{let{value:t,redirectTo:r}=e,s=n.normalizeDeprecatedResult(i.deprecated(t,this._utils),o,!0);if(!1!==s)if(!0===s)this._hasDeprecationWarned(a)||this._utils.logger.warn(this._deprecatedHandler(a,r,this._utils));else for(let{value:n}of s){let e={key:a,value:n};if(!this._hasDeprecationWarned(e)){let t="string"==typeof r?{key:r,value:n}:r;this._utils.logger.warn(this._deprecatedHandler(e,t,this._utils))}}};n.normalizeForwardResult(i.forward(o,this._utils),o).forEach(l);let c=n.normalizeRedirectResult(i.redirect(o,this._utils),o);if(c.redirect.forEach(l),"remain"in c){let e=c.remain;t[a]=a in t?i.overlap(t[a],e,this._utils):e,u({value:e})}for(let{from:e,to:t}of c.redirect)u({value:e,redirectTo:t})}for(let n of o){let i=e[n],o=this._unknownHandler(n,i,this._utils);if(o)for(let e of Object.keys(o)){let n={[e]:o[e]};e in this._utils.schemas?r.push(n):Object.assign(t,n)}}return r}};e.Normalizer=r}}),Bt=_({"node_modules/vnopts/lib/index.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ht(),x(je));t.__exportStar(mt(),e),t.__exportStar(xt(),e),t.__exportStar(Pt(),e),t.__exportStar(Ft(),e),t.__exportStar(Ct(),e)}}),jt=_({"src/main/options-normalizer.js"(e,t){C();var n,r=Bt(),i=N(),o={key:e=>1===e.length?"-"+e:"--"+e,value:e=>r.apiDescriptor.value(e),pair:e=>{let{key:t,value:n}=e;return!1===n?"--no-"+t:!0===n?o.key(t):""===n?o.key(t)+" without an argument":`${o.key(t)}=${n}`}},a=e=>{let{colorsModule:t,levenshteinDistance:n}=e;return class extends r.ChoiceSchema{constructor(e){let{name:t,flags:n}=e;super({name:t,choices:n}),this._flags=[...n].sort()}preprocess(e,r){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){let i=this._flags.find(t=>n(t,e)<3);if(i)return r.logger.warn([`Unknown flag ${t.yellow(r.descriptor.value(e))},`,`did you mean ${t.blue(r.descriptor.value(i))}?`].join(" ")),i}return e}expected(){return"a flag"}}};function s(e,t){let{logger:i=!1,isCLI:a=!1,passThrough:s=!1,colorsModule:d=null,levenshteinDistance:p=null}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},h=s?Array.isArray(s)?(e,t)=>s.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,n)=>{let i=n.schemas,{_:o}=i,a=c(i,l);return r.levenUnknownHandler(e,t,Object.assign(Object.assign({},n),{},{schemas:a}))},f=a?o:r.apiDescriptor,m=u(t,{isCLI:a,colorsModule:d,levenshteinDistance:p}),g=new r.Normalizer(m,{logger:i,unknown:h,descriptor:f}),v=!1!==i;v&&n&&(g._hasDeprecationWarned=n);let b=g.normalize(e);return v&&(n=g._hasDeprecationWarned),a&&!1===b["plugin-search"]&&(b["plugin-search-dir"]=!1),b}function u(e,t){let{isCLI:n,colorsModule:i,levenshteinDistance:o}=t,a=[];n&&a.push(r.AnySchema.create({name:"_"}));for(let s of e)a.push(d(s,{isCLI:n,optionInfos:e,colorsModule:i,levenshteinDistance:o})),s.alias&&n&&a.push(r.AliasSchema.create({name:s.alias,sourceName:s.name}));return a}function d(e,t){let{isCLI:n,optionInfos:o,colorsModule:s,levenshteinDistance:l}=t,{name:u}=e;if("plugin-search-dir"===u||"pluginSearchDirs"===u)return r.AnySchema.create({name:u,preprocess(e){return!1===e||(e=Array.isArray(e)?e:[e]),e},validate(e){return!1===e||e.every(e=>"string"==typeof e)},expected(){return"false or paths to plugin search dir"}});let c,d={name:u},p={};switch(e.type){case"int":c=r.IntegerSchema,n&&(d.preprocess=Number);break;case"string":c=r.StringSchema;break;case"choice":c=r.ChoiceSchema,d.choices=e.choices.map(t=>"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t);break;case"boolean":c=r.BooleanSchema;break;case"flag":c=a({colorsModule:s,levenshteinDistance:l}),d.flags=o.flatMap(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-"+e.name].filter(Boolean));break;case"path":c=r.StringSchema;break;default:throw new Error("Unexpected type "+e.type)}if(e.exception?d.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):d.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(p.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(p.deprecated=!0),n&&!e.array){let e=d.preprocess||(e=>e);d.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?i(t):t),r)}return e.array?r.ArraySchema.create(Object.assign(Object.assign(Object.assign({},n?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),p),{},{valueSchema:c.create(d)})):c.create(Object.assign(Object.assign({},d),p))}function p(e,t,n){return s(e,t,n)}function h(e,t,n){return s(e,t,Object.assign({isCLI:!0},n))}t.exports={normalizeApiOptions:p,normalizeCliOptions:h}}}),Ut=_({"src/language-js/loc.js"(e,t){C();var n=ce();function r(e){var t,i;let o=e.range?e.range[0]:e.start,a=null!==(t=null===(i=e.declaration)||void 0===i?void 0:i.decorators)&&void 0!==t?t:e.decorators;return n(a)?Math.min(r(a[0]),o):o}function i(e){return e.range?e.range[1]:e.end}function o(e,t){let n=r(e);return Number.isInteger(n)&&n===r(t)}function a(e,t){let n=i(e);return Number.isInteger(n)&&n===i(t)}function s(e,t){return o(e,t)&&a(e,t)}t.exports={locStart:r,locEnd:i,hasSameLocStart:o,hasSameLoc:s}}}),qt=_({"src/main/load-parser.js"(e,t){C(),t.exports=()=>{}}}),$t=_({"scripts/build/shims/babel-highlight.cjs"(e,t){C();var n=gt(),r={shouldHighlight:()=>!1,getChalk:()=>n};t.exports=r}}),Ht=_({"node_modules/@babel/code-frame/lib/index.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=a,e.default=s;var t=$t(),n=!1;function r(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var i=/\r\n|[\n\r\u2028\u2029]/;function o(e,t,n){let r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:o=2,linesBelow:a=3}=n||{},s=r.line,l=r.column,u=i.line,c=i.column,d=Math.max(s-(o+1),0),p=Math.min(t.length,u+a);-1===s&&(d=0),-1===u&&(p=t.length);let h=u-s,f={};if(h)for(let m=0;m<=h;m++){let e=m+s;if(l)if(0===m){let n=t[e-1].length;f[e]=[l,n-l+1]}else if(m===h)f[e]=[0,c];else{let n=t[e-m].length;f[e]=[0,n]}else f[e]=!0}else f[s]=l===c?!l||[l,0]:[l,c-l];return{start:d,end:p,markerLines:f}}function a(e,n){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(a.highlightCode||a.forceColor)&&(0,t.shouldHighlight)(a),l=(0,t.getChalk)(a),u=r(l),c=(e,t)=>s?e(t):t,d=e.split(i),{start:p,end:h,markerLines:f}=o(n,d,a),m=n.start&&"number"==typeof n.start.column,g=String(h).length,v=(s?(0,t.default)(e,a):e).split(i,h).slice(p,h).map((e,t)=>{let n=p+1+t,r=` ${(" "+n).slice(-g)} |`,i=f[n],o=!f[n+1];if(i){let t="";if(Array.isArray(i)){let n=e.slice(0,Math.max(i[0]-1,0)).replace(/[^\t]/g," "),s=i[1]||1;t=["\n ",c(u.gutter,r.replace(/\d/g," "))," ",n,c(u.marker,"^").repeat(s)].join(""),o&&a.message&&(t+=" "+c(u.message,a.message))}return[c(u.marker,">"),c(u.gutter,r),e.length>0?" "+e:"",t].join("")}return` ${c(u.gutter,r)}${e.length>0?" "+e:""}`}).join("\n");return a.message&&!m&&(v=`${" ".repeat(g+1)}${a.message}\n${v}`),s?l.reset(v):v}function s(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!n){n=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(p.emitWarning)p.emitWarning(e,"DeprecationWarning");else{let t=new Error(e);t.name="DeprecationWarning",console.warn(new Error(e))}}return r=Math.max(r,0),a(e,{start:{column:r,line:t}},i)}}}),zt=_({"src/main/parser.js"(e,t){C();var{ConfigError:n}=Be(),r=Ut(),{locStart:i,locEnd:o}=(qt(),r),a=Object.getOwnPropertyNames,s=Object.getOwnPropertyDescriptor;function l(e){let t={};for(let n of e.plugins)if(n.parsers)for(let e of a(n.parsers))Object.defineProperty(t,e,s(n.parsers,e));return t}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:i,locEnd:o};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new n(`Couldn't resolve parser "${e.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function c(e,t){let n=l(t),r=Object.defineProperties({},Object.fromEntries(Object.keys(n).map(e=>[e,{enumerable:!0,get(){return n[e].parse}}]))),i=u(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(o){let{loc:t}=o;if(t){let{codeFrameColumns:n}=Ht();throw o.codeFrame=n(e,t,{highlightCode:!0}),o.message+="\n"+o.codeFrame,o}throw o}}t.exports={parse:c,resolveParser:u}}}),Gt=_({"src/main/options.js"(e,t){C();var n=Le(),{UndefinedParserError:r}=Be(),{getSupportInfo:i}=ue(),o=jt(),{resolveParser:a}=zt(),s={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},e),l=i({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,d=Object.assign(Object.assign({},s),Object.fromEntries(l.filter(e=>void 0!==e.default).map(e=>[e.name,e.default])));if(!n.parser)if(n.filepath){if(n.parser=c(n.filepath,n.plugins),!n.parser)throw new r("No parser could be inferred for file: "+n.filepath)}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";let p=a(o.normalizeApiOptions(n,[l.find(e=>"parser"===e.name)],{passThrough:!0,logger:!1}));n.astFormat=p.astFormat,n.locEnd=p.locEnd,n.locStart=p.locStart;let h=u(n);n.printer=h.printers[n.astFormat];let f=Object.fromEntries(l.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[h.name]).map(e=>[e.name,e.pluginDefaults[h.name]])),m=Object.assign(Object.assign({},d),f);for(let[r,i]of Object.entries(m))(null===n[r]||void 0===n[r])&&(n[r]=i);return"json"===n.parser&&(n.trailingComma="none"),o.normalizeApiOptions(n,l,Object.assign({passThrough:Object.keys(s)},t))}function u(e){let{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");let n=e.plugins.find(e=>e.printers&&e.printers[t]);if(!n)throw new Error(`Couldn't find plugin for AST format "${t}"`);return n}function c(e,t){let r=n.basename(e).toLowerCase(),o=i({plugins:t}).languages.filter(e=>null!==e.since).find(e=>e.extensions&&e.extensions.some(e=>r.endsWith(e))||e.filenames&&e.filenames.some(e=>e.toLowerCase()===r));return o&&o.parsers[0]}t.exports={normalize:l,hiddenDefaults:s,inferParser:c}}}),Vt=_({"src/main/massage-ast.js"(e,t){function n(e,t,r){if(Array.isArray(e))return e.map(e=>n(e,t,r)).filter(Boolean);if(!e||"object"!=typeof e)return e;let i,o=t.printer.massageAstNode;i=o&&o.ignoredProperties?o.ignoredProperties:new Set;let a={};for(let[s,l]of Object.entries(e))!i.has(s)&&"function"!=typeof l&&(a[s]=n(l,t,e));if(o){let t=o(e,a,r);if(null===t)return;if(t)return t}return a}C(),t.exports=n}}),Yt=_({"scripts/build/shims/assert.cjs"(e,t){C();var n=()=>{};n.ok=n,n.strictEqual=n,t.exports=n}}),Wt=_({"src/main/comments.js"(e,t){C();var n=Yt(),{builders:{line:r,hardline:i,breakParent:o,indent:a,lineSuffix:s,join:l,cursor:u}}=Y(),{hasNewline:c,skipNewline:d,skipSpaces:p,isPreviousLineEmpty:h,addLeadingComment:f,addDanglingComment:m,addTrailingComment:g}=ge(),v=new WeakMap;function b(e,t,n){if(!e)return;let{printer:r,locStart:i,locEnd:o}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(i(n[t])<=i(e)&&o(n[t])<=o(e));--t);return void n.splice(t+1,0,e)}}else if(v.has(e))return v.get(e);let a=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter(e=>{let[t]=e;return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t&&"parent"!==t}).map(e=>{let[,t]=e;return t});if(a){n||(n=[],v.set(e,n));for(let e of a)b(e,t,n);return n}}function y(e,t,n,r){let i,o,{locStart:a,locEnd:s}=n,l=a(t),u=s(t),c=b(e,n),d=0,p=c.length;for(;d>1,r=c[e],h=a(r),f=s(r);if(h<=l&&u<=f)return y(r,t,n,r);if(f<=l)i=r,d=e+1;else{if(!(u<=h))throw new Error("Comment location overlaps with node location");o=r,p=e}}if(r&&"TemplateLiteral"===r.type){let{quasis:e}=r,a=A(e,t,n);i&&A(e,i,n)!==a&&(i=null),o&&A(e,o,n)!==a&&(o=null)}return{enclosingNode:r,precedingNode:i,followingNode:o}}var _=()=>!1;function E(e,t,n,r){if(!Array.isArray(e))return;let i=[],{locStart:o,locEnd:a,printer:{handleComments:s={}}}=r,{avoidAstMutation:l,ownLine:u=_,endOfLine:c=_,remaining:d=_}=s,p=e.map((i,o)=>Object.assign(Object.assign({},y(t,i,r)),{},{comment:i,text:n,options:r,ast:t,isLastComment:e.length-1===o}));for(let[h,v]of p.entries()){let e,{comment:t,precedingNode:n,enclosingNode:r,followingNode:s,text:b,options:y,ast:_,isLastComment:E}=v;if("json"===y.parser||"json5"===y.parser||"__js_expression"===y.parser||"__vue_expression"===y.parser||"__vue_ts_expression"===y.parser){if(o(t)-o(_)<=0){f(_,t);continue}if(a(t)-a(_)>=0){g(_,t);continue}}if(l?e=[v]:(t.enclosingNode=r,t.precedingNode=n,t.followingNode=s,e=[t,b,y,_,E]),w(b,y,p,h))t.placement="ownLine",u(...e)||(s?f(s,t):n?g(n,t):m(r||_,t));else if(x(b,y,p,h))t.placement="endOfLine",c(...e)||(n?g(n,t):s?f(s,t):m(r||_,t));else if(t.placement="remaining",!d(...e))if(n&&s){let e=i.length;e>0&&i[e-1].followingNode!==s&&T(i,b,y),i.push(v)}else n?g(n,t):s?f(s,t):m(r||_,t)}if(T(i,n,r),!l)for(let h of e)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}var S=e=>!/[\S\n\u2028\u2029]/.test(e);function w(e,t,n,r){let{comment:i,precedingNode:o}=n[r],{locStart:a,locEnd:s}=t,l=a(i);if(o)for(let u=r-1;u>=0;u--){let{comment:t,precedingNode:r}=n[u];if(r!==o||!S(e.slice(s(t),l)))break;l=a(t)}return c(e,l,{backwards:!0})}function x(e,t,n,r){let{comment:i,followingNode:o}=n[r],{locStart:a,locEnd:s}=t,l=s(i);if(o)for(let u=r+1;u0;--o){let{comment:i,precedingNode:l,followingNode:d}=e[o-1];n.strictEqual(l,a),n.strictEqual(d,s);let p=t.slice(r.locEnd(i),c);if(!u.test(p))break;c=r.locStart(i)}for(let[n,{comment:d}]of e.entries())n1&&n.comments.sort((e,t)=>r.locStart(e)-r.locStart(t));e.length=0}function D(e,t){let n=e.getValue();return n.printed=!0,t.printer.printComment(e,t)}function A(e,t,n){let r=n.locStart(t)-1;for(let i=1;i{let n=e.getValue();!n.leading&&!n.trailing&&(!r||r(n))&&o.push(D(e,t))},"comments"),0!==o.length)?n?l(i,o):a([i,l(i,o)]):""}function I(e,t,n){let r=e.getValue();if(!r)return{};let i=r.comments||[];n&&(i=i.filter(e=>!n.has(e)));let o=r===t.cursorNode;if(0===i.length){let e=o?u:"";return{leading:e,trailing:e}}let a=[],s=[];return e.each(()=>{let r=e.getValue();if(n&&n.has(r))return;let{leading:i,trailing:o}=r;i?a.push(O(e,t)):o&&s.push(k(e,t))},"comments"),o&&(a.unshift(u),s.push(u)),{leading:a,trailing:s}}function M(e,t,n,r){let{leading:i,trailing:o}=I(e,n,r);return i||o?[i,t,o]:t}function R(e){if(e)for(let t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}t.exports={attach:E,printComments:M,printCommentsSeparately:I,printDanglingComments:N,getSortedChildNodes:b,ensureAllCommentsPrinted:R}}}),Kt=_({"src/common/ast-path.js"(e,t){C();var n=N();function r(e,t){let n=i(e.stack,t);return-1===n?null:e.stack[n]}function i(e,t){for(let n=e.length-1;n>=0;n-=2){let r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var o=class{constructor(e){this.stack=[e]}getName(){let{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return n(this.stack)}getNode(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return r(this,e)}getParentNode(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return r(this,e+1)}call(e){let{stack:t}=this,{length:r}=t,i=n(t);for(var o=arguments.length,a=new Array(o>1?o-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:0,n=i(this.stack,t+1),r=this.stack.splice(n+1),o=e(this);return this.stack.push(...r),o}each(e){let{stack:t}=this,{length:r}=t,i=n(t);for(var o=arguments.length,a=new Array(o>1?o-1:0),s=1;s1?n-1:0),i=1;i{t[r]=e(n,r,i)},...r),t}try(e){let{stack:t}=this,n=[...t];try{return e()}finally{t.length=0,t.push(...n)}}match(){let e=this.stack.length-1,t=null,n=this.stack[e--];for(var r=arguments.length,i=new Array(r),o=0;oa(e,t,n,r,i),n)}function a(e,t,o,a){let{stripTrailingHardline:s=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=r(Object.assign(Object.assign(Object.assign({},o),t),{},{parentParser:o.parser,originalText:e}),{passThrough:!0}),u=zt().parse(e,l),{ast:c}=u;e=u.text;let d=c.comments;delete c.comments,i.attach(d,c,e,l),l[Symbol.for("comments")]=d||[],l[Symbol.for("tokens")]=c.tokens||[];let p=a(c,l);return i.ensureAllCommentsPrinted(d),s?"string"==typeof p?p.replace(/(?:\r?\n)*$/,""):n(p):p}t.exports={printSubtree:o}}}),Xt=_({"src/main/ast-to-doc.js"(e,t){C();var n=Kt(),{builders:{hardline:r,addAlignmentToDoc:i},utils:{propagateBreaks:o}}=Y(),{printComments:a}=Wt(),s=Qt();function l(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:s}=t;s.preprocess&&(e=s.preprocess(e,t));let l=new Map,u=new n(e),d=p();return a>0&&(d=i([r,d],a,t.tabWidth)),o(d),d;function p(e,t){return void 0===e||e===u?h(t):Array.isArray(e)?u.call(()=>h(t),...e):u.call(()=>h(t),e)}function h(e){let n=u.getValue(),r=n&&"object"==typeof n&&void 0===e;if(r&&l.has(n))return l.get(n);let i=c(u,t,p,e);return r&&l.set(n,i),i}}function u(e,t){let{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:o}=t,a=i(e),s=o(e),l=new Set;for(let u of r)i(u)>=a&&o(u)<=s&&(u.printed=!0,l.add(u));return{doc:n.slice(a,s),printedComments:l}}function c(e,t,n,r){let i,o,c=e.getValue(),{printer:d}=t;if(d.hasPrettierIgnore&&d.hasPrettierIgnore(e))({doc:i,printedComments:o}=u(c,t));else{if(c)try{i=s.printSubtree(e,n,t,l)}catch(p){if(globalThis.PRETTIER_DEBUG)throw p}i||(i=d.print(e,t,n,r))}return(!d.willPrintOwnComments||!d.willPrintOwnComments(e,t))&&(i=a(e,i,t,o)),i}t.exports=l}}),Zt=_({"src/main/range-util.js"(e,t){C();var n=Yt(),r=Wt(),i=e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t};function o(e,t){let n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find(e=>c.has(e.type)&&r.has(e))}function a(e){let t=e.length-1;for(;;){let n=e[t];if(!n||"Program"!==n.type&&"File"!==n.type)break;t--}return e.slice(0,t+1)}function s(e,t,n){let{locStart:r,locEnd:i}=n,o=e.node,s=t.node;if(o===s)return{startNode:o,endNode:s};let l=r(e.node);for(let c of a(t.parentNodes)){if(!(r(c)>=l))break;s=c}let u=i(t.node);for(let c of a(e.parentNodes)){if(!(i(c)<=u))break;if(o=c,o===s)break}return{startNode:o,endNode:s}}function l(e,t,n,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0,{locStart:s,locEnd:u}=n,c=s(e),d=u(e);if(!(t>d||ta);let h=e.slice(a,u).search(/\S/),f=-1===h;if(!f)for(a+=h;u>a&&!/\S/.test(e[u-1]);--u);let m,g,v=l(r,a,t,(e,n)=>p(t,e,n),[],"rangeStart"),b=f?v:l(r,u,t,e=>p(t,e),[],"rangeEnd");if(!v||!b)return{rangeStart:0,rangeEnd:0};if(i(t)){let e=o(v,b);m=e,g=e}else({startNode:m,endNode:g}=s(v,b,t));return{rangeStart:Math.min(c(m),c(g)),rangeEnd:Math.max(d(m),d(g))}}t.exports={calculateRange:h,findNodeAtOffset:l}}}),Jt=_({"src/main/core.js"(e,t){C();var{diffArrays:n}=A(),{printer:{printDocToString:r},debug:{printDocToDebug:i}}=Y(),{getAlignmentSize:o}=ge(),{guessEndOfLine:a,convertEndOfLineToChars:s,countEndOfLineChars:l,normalizeEndOfLine:u}=k(),c=Gt().normalize,d=Vt(),p=Wt(),h=zt(),f=Xt(),m=Zt(),g="\ufeff",v=Symbol("cursor");function b(e,t,n){let r=t.comments;return r&&(delete t.comments,p.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function y(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:o,text:a}=h.parse(e,t);if(t.cursorOffset>=0){let e=m.findNodeAtOffset(o,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let l=b(a,o,t),u=f(o,t,i),c=r(u,t);if(p.ensureAllCommentsPrinted(l),i>0){let e=c.formatted.trim();void 0!==c.cursorNodeStart&&(c.cursorNodeStart-=c.formatted.indexOf(e)),c.formatted=e+s(t.endOfLine)}if(t.cursorOffset>=0){let e,r,i,o,s;if(t.cursorNode&&c.cursorNodeText?(e=t.locStart(t.cursorNode),r=a.slice(e,t.locEnd(t.cursorNode)),i=t.cursorOffset-e,o=c.cursorNodeStart,s=c.cursorNodeText):(e=0,r=a,i=t.cursorOffset,o=0,s=c.formatted),r===s)return{formatted:c.formatted,cursorOffset:o+i,comments:l};let u=[...r];u.splice(i,0,v);let d=[...s],p=n(u,d),h=o;for(let t of p)if(t.removed){if(t.value.includes(v))break}else h+=t.count;return{formatted:c.formatted,cursorOffset:h,comments:l}}return{formatted:c.formatted,cursorOffset:-1,comments:l}}function _(e,t){let{ast:n,text:r}=h.parse(e,t),{rangeStart:i,rangeEnd:a}=m.calculateRange(r,t,n),u=r.slice(i,a),c=Math.min(i,r.lastIndexOf("\n",i)+1),d=r.slice(c,i).match(/^\s*/)[0],p=o(d,t.tabWidth),f=y(u,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=a?t.cursorOffset-i:-1,endOfLine:"lf"}),p),g=f.formatted.trimEnd(),{cursorOffset:v}=t;v>a?v+=g.length-u.length:f.cursorOffset>=0&&(v=f.cursorOffset+i);let b=r.slice(0,i)+g+r.slice(a);if("lf"!==t.endOfLine){let e=s(t.endOfLine);v>=0&&"\r\n"===e&&(v+=l(b.slice(0,v),"\n")),b=b.replace(/\n/g,e)}return{formatted:b,cursorOffset:v,comments:f.comments}}function E(e,t,n){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?n:t}function S(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i}=t;return n=E(e,n,-1),r=E(e,r,0),i=E(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:i})}function w(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}=S(e,t),s=e.charAt(0)===g;if(s&&(e=e.slice(1),n--,r--,i--),"auto"===o&&(o=a(e)),e.includes("\r")){let t=t=>l(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),i-=t(i),e=u(e)}return{hasBOM:s,text:e,options:S(e,Object.assign(Object.assign({},t),{},{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}))}}function x(e,t){let n=h.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}function T(e,t){let n,{hasBOM:r,text:i,options:o}=w(e,c(t));return o.rangeStart>=o.rangeEnd&&""!==i||o.requirePragma&&!x(i,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEnd=0&&n.cursorOffset++),n)}t.exports={formatWithCursor:T,parse(e,t,n){let{text:r,options:i}=w(e,c(t)),o=h.parse(r,i);return n&&(o.ast=d(o.ast,i)),o},formatAST(e,t){t=c(t);let n=f(e,t);return r(n,t)},formatDoc(e,t){return T(i(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted},printToDoc(e,t){t=c(t);let{ast:n,text:r}=h.parse(e,t);return b(r,n,t),f(n,t)},printDocToString(e,t){return r(e,c(t))}}}}),en=_({"src/common/util-shared.js"(e,t){C();var{getMaxContinuousCount:n,getStringWidth:r,getAlignmentSize:i,getIndentSize:o,skip:a,skipWhitespace:s,skipSpaces:l,skipNewline:u,skipToLineEnd:c,skipEverythingButNewLine:d,skipInlineComment:p,skipTrailingComment:h,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:v,isNextLineEmptyAfterIndex:b,isPreviousLineEmpty:y,getNextNonSpaceNonCommentCharacterIndex:_,makeString:E,addLeadingComment:S,addDanglingComment:w,addTrailingComment:x}=ge();t.exports={getMaxContinuousCount:n,getStringWidth:r,getAlignmentSize:i,getIndentSize:o,skip:a,skipWhitespace:s,skipSpaces:l,skipNewline:u,skipToLineEnd:c,skipEverythingButNewLine:d,skipInlineComment:p,skipTrailingComment:h,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:v,isNextLineEmptyAfterIndex:b,isPreviousLineEmpty:y,getNextNonSpaceNonCommentCharacterIndex:_,makeString:E,addLeadingComment:S,addDanglingComment:w,addTrailingComment:x}}}),tn=_({"src/utils/create-language.js"(e,t){C(),t.exports=function(e,t){let{languageId:n}=e,r=c(e,u);return Object.assign(Object.assign({linguistLanguageId:n},r),t(e))}}}),nn=_({"node_modules/esutils/lib/ast.js"(e,t){C(),function(){function e(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function n(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function i(e){return r(e)||null!=e&&"FunctionDeclaration"===e.type}function o(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}function a(e){var t;if("IfStatement"!==e.type||null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=o(t)}while(t);return!1}t.exports={isExpression:e,isStatement:r,isIterationStatement:n,isSourceElement:i,isProblematicIfStatement:a,trailingStatement:o}}()}}),rn=_({"node_modules/esutils/lib/code.js"(e,t){C(),function(){var e,n,r,i,o,a;function s(e){return 48<=e&&e<=57}function l(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70}function u(e){return e>=48&&e<=55}function c(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0}function d(e){return 10===e||13===e||8232===e||8233===e}function p(e){if(e<=65535)return String.fromCharCode(e);var t=String.fromCharCode(Math.floor((e-65536)/1024)+55296),n=String.fromCharCode((e-65536)%1024+56320);return t+n}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),a=0;a<128;++a)i[a]=a>=97&&a<=122||a>=65&&a<=90||36===a||95===a;for(o=new Array(128),a=0;a<128;++a)o[a]=a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||36===a||95===a;function h(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(p(e))}function f(e){return e<128?o[e]:n.NonAsciiIdentifierPart.test(p(e))}function m(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(p(t))}function g(t){return t<128?o[t]:e.NonAsciiIdentifierPart.test(p(t))}t.exports={isDecimalDigit:s,isHexDigit:l,isOctalDigit:u,isWhiteSpace:c,isLineTerminator:d,isIdentifierStartES5:h,isIdentifierPartES5:f,isIdentifierStartES6:m,isIdentifierPartES6:g}}()}}),on=_({"node_modules/esutils/lib/keyword.js"(e,t){C(),function(){var e=rn();function n(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(e,t){return!(!t&&"yield"===e)&&i(e,t)}function i(e,t){if(t&&n(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function a(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function s(e){return"eval"===e||"arguments"===e}function l(t){var n,r,i;if(0===t.length||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(n=1,r=t.length;n=r||(o=t.charCodeAt(n),!(56320<=o&&o<=57343)))return!1;i=u(i,o)}if(!a(i))return!1;a=e.isIdentifierPartES6}return!0}function d(e,t){return l(e)&&!o(e,t)}function p(e,t){return c(e)&&!a(e,t)}t.exports={isKeywordES5:r,isKeywordES6:i,isReservedWordES5:o,isReservedWordES6:a,isRestrictedWord:s,isIdentifierNameES5:l,isIdentifierNameES6:c,isIdentifierES5:d,isIdentifierES6:p}}()}}),an=_({"node_modules/esutils/lib/utils.js"(e){C(),function(){e.ast=nn(),e.code=rn(),e.keyword=on()}()}}),sn=_({"src/language-js/utils/is-block-comment.js"(e,t){C();var n=new Set(["Block","CommentBlock","MultiLine"]),r=e=>n.has(null==e?void 0:e.type);t.exports=r}}),ln=_({"src/language-js/utils/is-node-matches.js"(e,t){function n(e,t){let n=t.split(".");for(let r=n.length-1;r>=0;r--){let t=n[r];if(0===r)return"Identifier"===e.type&&e.name===t;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==t)return!1;e=e.object}}function r(e,t){return t.some(t=>n(e,t))}C(),t.exports=r}}),un=_({"src/language-js/utils/index.js"(e,t){C();var n=an().keyword.isIdentifierNameES5,{getLast:r,hasNewline:i,skipWhitespace:o,isNonEmptyArray:a,isNextLineEmptyAfterIndex:s,getStringWidth:l}=ge(),{locStart:u,locEnd:c,hasSameLocStart:d}=Ut(),p=sn(),h=ln(),f="(?:(?=.)\\s)",m=new RegExp(`^${f}*:`),g=new RegExp(`^${f}*::`);function v(e){var t,n;return(null===(t=e.extra)||void 0===t?void 0:t.parenthesized)&&p(null===(n=e.trailingComments)||void 0===n?void 0:n[0])&&m.test(e.trailingComments[0].value)}function b(e){let t=null==e?void 0:e[0];return p(t)&&g.test(t.value)}function y(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some(e=>y(e,t));let n=t(e);return"boolean"==typeof n?n:Object.values(e).some(e=>y(e,t))}function _(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||Q(e)||X(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||He(e)||"TSNonNullExpression"===e.type}function E(e){var t,n,r,i,o,a;return e.expressions?e.expressions[0]:null!==(t=null!==(n=null!==(r=null!==(i=null!==(o=null!==(a=e.left)&&void 0!==a?a:e.test)&&void 0!==o?o:e.callee)&&void 0!==i?i:e.object)&&void 0!==r?r:e.tag)&&void 0!==n?n:e.argument)&&void 0!==t?t:e.expression}function S(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function w(e){return e=new Set(e),t=>e.has(null==t?void 0:t.type)}var x=w(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),T=w(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function D(e){let t=e.getParentNode();return"declaration"===e.getName()&&T(t)?t:null}var A=w(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function O(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function k(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&O(e.argument)}function N(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var I=w(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),M=w(["FunctionExpression","ArrowFunctionExpression"]);function R(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}function P(e){return Q(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var L=w(["JSXElement","JSXFragment"]);function F(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let n=t.getNode();if(!n.expression||!L(n.expression))return!1;let r=t.getParentNode();return"Program"===r.type&&1===r.body.length}function B(e){return"get"===e.kind||"set"===e.kind}function j(e){return B(e)||d(e,e.value)}function U(e){return("ObjectTypeProperty"===e.type||"ObjectTypeInternalSlot"===e.type)&&"FunctionTypeAnnotation"===e.value.type&&!e.static&&!j(e)}function q(e){return("TypeAnnotation"===e.type||"TSTypeAnnotation"===e.type)&&"FunctionTypeAnnotation"===e.typeAnnotation.type&&!e.static&&!d(e,e.typeAnnotation)}var $=w(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function H(e){return X(e)||"BindExpression"===e.type&&Boolean(e.object)}var z=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 G(e){return!!e&&!(("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!z.has(e.type))}function V(e){let t=/^(?:before|after)(?:Each|All)$/;return"Identifier"===e.callee.type&&t.test(e.callee.name)&&1===e.arguments.length}var Y=["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(e){return h(e,Y)}function K(e,t){if("CallExpression"!==e.type)return!1;if(1===e.arguments.length){if(P(e)&&t&&K(t))return M(e.arguments[0]);if(V(e))return P(e.arguments[0])}else if((2===e.arguments.length||3===e.arguments.length)&&("TemplateLiteral"===e.arguments[0].type||N(e.arguments[0]))&&W(e.callee))return!(e.arguments[2]&&!O(e.arguments[2]))&&((2===e.arguments.length?M(e.arguments[1]):R(e.arguments[1])&&Te(e.arguments[1]).length<=1)||P(e.arguments[1]));return!1}var Q=w(["CallExpression","OptionalCallExpression"]),X=w(["MemberExpression","OptionalMemberExpression"]);function Z(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let n=e[t];return 0!==n.length&&n.every(e=>{if(Le(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(X(e)){let t=e;for(;X(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||(t=t.object,Le(t)))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1})}function J(e,t){return"+"===e||"-"===e?e+t:t}function ee(e,t){let n=u(t),r=o(e,c(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)}function te(e,t){return L(t)?Ie(t):Le(t,Re.Leading,t=>i(e,c(t)))}function ne(e,t){return"json"!==t.parser&&N(e.key)&&de(e.key).slice(1,-1)===e.key.value&&(n(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||re(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))}function re(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function ie(e,t){let n=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))}function oe(e){return e.quasis.some(e=>e.value.raw.includes("\n"))}function ae(e,t){return("TemplateLiteral"===e.type&&oe(e)||"TaggedTemplateExpression"===e.type&&oe(e.quasi))&&!i(t,u(e),{backwards:!0})}function se(e){if(!Le(e))return!1;let t=r(Fe(e,Re.Dangling));return t&&!p(t)}function le(e){if(e.length<=1)return!1;let t=0;for(let n of e)if(M(n)){if(t+=1,t>1)return!0}else if(Q(n))for(let e of n.arguments)if(M(e))return!0;return!1}function ue(e){let t=e.getValue(),n=e.getParentNode();return Q(t)&&Q(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0}function ce(e,t){if(t>=2)return!1;let n=e=>ce(e,t+1),r="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;if(r&&l(r)>5)return!1;if("Literal"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"BooleanLiteral"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"Identifier"===e.type||"ThisExpression"===e.type||"Super"===e.type||"PrivateName"===e.type||"PrivateIdentifier"===e.type||"ArgumentPlaceholder"===e.type||"Import"===e.type)return!0;if("TemplateLiteral"===e.type)return e.quasis.every(e=>!e.value.raw.includes("\n"))&&e.expressions.every(n);if("ObjectExpression"===e.type)return e.properties.every(e=>!e.computed&&(e.shorthand||e.value&&n(e.value)));if("ArrayExpression"===e.type)return e.elements.every(e=>null===e||n(e));if(je(e))return("ImportExpression"===e.type||ce(e.callee,t))&&Oe(e).every(n);if(X(e))return ce(e.object,t)&&ce(e.property,t);let i={"!":!0,"-":!0,"+":!0,"~":!0};if("UnaryExpression"===e.type&&i[e.operator])return ce(e.argument,t);let o={"++":!0,"--":!0};return"UpdateExpression"===e.type&&o[e.operator]?ce(e.argument,t):"TSNonNullExpression"===e.type&&ce(e.expression,t)}function de(e){var t,n;return null!==(t=null===(n=e.extra)||void 0===n?void 0:n.raw)&&void 0!==t?t:e.raw}function pe(e){return e}function he(e){return e.filepath&&/\.tsx$/i.test(e.filepath)}function fe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)}function me(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return me(e.left,t);case"MemberExpression":case"OptionalMemberExpression":return me(e.object,t);case"TaggedTemplateExpression":return"FunctionExpression"!==e.tag.type&&me(e.tag,t);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==e.callee.type&&me(e.callee,t);case"ConditionalExpression":return me(e.test,t);case"UpdateExpression":return!e.prefix&&me(e.argument,t);case"BindExpression":return e.object&&me(e.object,t);case"SequenceExpression":return me(e.expressions[0],t);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return me(e.expression,t);default:return t(e)}}var ve={"==":!0,"!=":!0,"===":!0,"!==":!0},be={"*":!0,"/":!0,"%":!0},ye={">>":!0,">>>":!0,"<<":!0};function _e(e,t){return!(Se(t)!==Se(e)||"**"===e||ve[e]&&ve[t]||"%"===t&&be[e]||"%"===e&&be[t]||t!==e&&be[t]&&be[e]||ye[e]&&ye[t])}var Ee=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((e,t)=>e.map(e=>[e,t])));function Se(e){return Ee.get(e)}function we(e){return Boolean(ye[e])||"|"===e||"^"===e||"&"===e}function xe(e){var t;if(e.rest)return!0;let n=Te(e);return"RestElement"===(null===(t=r(n))||void 0===t?void 0:t.type)}var Ce=new WeakMap;function Te(e){if(Ce.has(e))return Ce.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),Ce.set(e,t),t}function De(e,t){let n=e.getValue(),r=0,i=e=>t(e,r++);n.this&&e.call(i,"this"),Array.isArray(n.parameters)?e.each(i,"parameters"):Array.isArray(n.params)&&e.each(i,"params"),n.rest&&e.call(i,"rest")}var Ae=new WeakMap;function Oe(e){if(Ae.has(e))return Ae.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),Ae.set(e,t),t}function ke(e,t){let n=e.getValue();"ImportExpression"===n.type?(e.call(e=>t(e,0),"source"),n.attributes&&e.call(e=>t(e,1),"attributes")):e.each(t,"arguments")}function Ne(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function Ie(e){return e&&(e.prettierIgnore||Le(e,Re.PrettierIgnore))}function Me(e){let t=e.getValue();return Ie(t)}var Re={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Pe=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(n,r,i)=>!(e&Re.Leading&&!n.leading||e&Re.Trailing&&!n.trailing||e&Re.Dangling&&(n.leading||n.trailing)||e&Re.Block&&!p(n)||e&Re.Line&&!x(n)||e&Re.First&&0!==r||e&Re.Last&&r!==i.length-1||e&Re.PrettierIgnore&&!Ne(n)||t&&!t(n))};function Le(e,t,n){if(!a(null==e?void 0:e.comments))return!1;let r=Pe(t,n);return!r||e.comments.some(r)}function Fe(e,t,n){if(!Array.isArray(null==e?void 0:e.comments))return[];let r=Pe(t,n);return r?e.comments.filter(r):e.comments}var Be=(e,t)=>{let{originalText:n}=t;return s(n,c(e))};function je(e){return Q(e)||"NewExpression"===e.type||"ImportExpression"===e.type}function Ue(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)}function qe(e){return Boolean(e.__isUsingHackPipeline)}var $e=Symbol("ifWithoutBlockAndSameLineComment");function He(e){return"TSAsExpression"===e.type||"TSSatisfiesExpression"===e.type}t.exports={getFunctionParameters:Te,iterateFunctionParametersPath:De,getCallArguments:Oe,iterateCallArgumentsPath:ke,hasRestParameter:xe,getLeftSide:E,getLeftSidePathName:S,getParentExportDeclaration:D,getTypeScriptMappedTypeModifier:J,hasFlowAnnotationComment:b,hasFlowShorthandAnnotationComment:v,hasLeadingOwnLineComment:te,hasNakedLeftSide:_,hasNode:y,hasIgnoreComment:Me,hasNodeIgnoreComment:Ie,identity:pe,isBinaryish:$,isCallLikeExpression:je,isEnabledHackPipeline:qe,isLineComment:x,isPrettierIgnoreComment:Ne,isCallExpression:Q,isMemberExpression:X,isExportDeclaration:T,isFlowAnnotationComment:ee,isFunctionCompositionArgs:le,isFunctionNotation:j,isFunctionOrArrowExpression:M,isGetterOrSetter:B,isJestEachTemplateLiteral:ie,isJsxNode:L,isLiteral:A,isLongCurriedCallExpression:ue,isSimpleCallArgument:ce,isMemberish:H,isNumericLiteral:O,isSignedNumericLiteral:k,isObjectProperty:Ue,isObjectType:I,isObjectTypePropertyAFunction:U,isSimpleType:G,isSimpleNumber:re,isSimpleTemplateLiteral:Z,isStringLiteral:N,isStringPropSafeToUnquote:ne,isTemplateOnItsOwnLine:ae,isTestCall:K,isTheOnlyJsxElementInMarkdown:F,isTSXFile:he,isTypeAnnotationAFunction:q,isNextLineEmpty:Be,needsHardlineAfterDanglingComment:se,rawText:de,shouldPrintComma:fe,isBitwiseOperator:we,shouldFlatten:_e,startsWithNoLookaheadToken:me,getPrecedence:Se,hasComment:Le,getComments:Fe,CommentCheckFlags:Re,markerForIfWithoutBlockAndSameLineComment:$e,isTSTypeExpression:He}}}),cn=_({"src/language-js/print/template-literal.js"(e,t){C();var n=N(),{getStringWidth:r,getIndentSize:i}=ge(),{builders:{join:o,hardline:a,softline:s,group:l,indent:u,align:c,lineSuffixBoundary:d,addAlignmentToDoc:p},printer:{printDocToString:h},utils:{mapDoc:f}}=Y(),{isBinaryish:m,isJestEachTemplateLiteral:g,isSimpleTemplateLiteral:v,hasComment:b,isMemberExpression:y,isTSTypeExpression:_}=un();function E(e,t,n){let r=e.getValue();if("TemplateLiteral"===r.type&&g(r,e.getParentNode())){let r=S(e,n,t);if(r)return r}let o="expressions";"TSTemplateLiteralType"===r.type&&(o="types");let a=[],f=e.map(t,o),E=v(r);return E&&(f=f.map(e=>h(e,Object.assign(Object.assign({},n),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),a.push(d,"`"),e.each(e=>{let h=e.getName();if(a.push(t()),h1||l.some(e=>e.length>0)){t.__inJestEach=!0;let c=e.map(i,"expressions");t.__inJestEach=!1;let p=[],f=c.map(e=>"${"+h(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),m=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length)),v=Array.from({length:g}).fill(0),b=[{cells:l},...m.filter(e=>e.cells.length>0)];for(let{cells:e}of b.filter(e=>!e.hasLineBreak))for(let[t,n]of e.entries())v[t]=Math.max(v[t],r(n));return p.push(d,"`",u([a,o(a,b.map(e=>o(" | ",e.cells.map((t,n)=>e.hasLineBreak?t:t+" ".repeat(v[n]-r(t))))))]),a,"`"),p}}function w(e,t){let n=e.getValue(),r=t();return b(n)&&(r=l([u([s,r]),s])),["${",r,d,"}"]}function x(e,t){return e.map(e=>w(e,t),"expressions")}function T(e,t){return f(e,e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):D(e):e)}function D(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:E,printTemplateExpressions:x,escapeTemplateCharacters:T,uncookTemplateElementValue:D}}}),dn=_({"src/language-js/embed/markdown.js"(e,t){C();var{builders:{indent:n,softline:r,literalline:i,dedentToRoot:o}}=Y(),{escapeTemplateCharacters:a}=cn();function s(e,t,s){let u=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>"\\".repeat(t.length/2)+"`"),c=l(u),d=""!==c;d&&(u=u.replace(new RegExp("^"+c,"gm"),""));let p=a(s(u,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",d?n([r,p]):[i,o(p)],r,"`"]}function l(e){let t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}t.exports=s}}),pn=_({"src/language-js/embed/css.js"(e,t){C();var{isNonEmptyArray:n}=ge(),{builders:{indent:r,hardline:i,softline:o},utils:{mapDoc:a,replaceEndOfLine:s,cleanDoc:l}}=Y(),{printTemplateExpressions:u}=cn();function c(e,t,n){let r=e.getValue(),i=r.quasis.map(e=>e.value.raw),o=0,a=i.reduce((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+o+++"-id"+t,""),s=n(a,{parser:"scss"},{stripTrailingHardline:!0}),l=u(e,t);return d(s,r,l)}function d(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";let a=p(e,n);if(!a)throw new Error("Couldn't insert all the expressions");return["`",r([i,a]),o,"`"]}function p(e,t){if(!n(t))return e;let r=0,i=a(l(e),e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map((e,n)=>n%2===0?s(e):(r++,t[e])):e);return t.length===r?i:null}t.exports=c}}),hn=_({"src/language-js/embed/graphql.js"(e,t){C();var{builders:{indent:n,join:r,hardline:i}}=Y(),{escapeTemplateCharacters:o,printTemplateExpressions:a}=cn();function s(e,t,s){let u=e.getValue(),c=u.quasis.length;if(1===c&&""===u.quasis[0].value.raw.trim())return"``";let d=a(e,t),p=[];for(let n=0;n2&&""===a[0].trim()&&""===a[1].trim(),g=h>2&&""===a[h-1].trim()&&""===a[h-2].trim(),v=a.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!r&&/#[^\n\r]*$/.test(a[h-1]))return null;let b=null;b=v?l(a):s(i,{parser:"graphql"},{stripTrailingHardline:!0}),b?(b=o(b,!1),!t&&m&&p.push(""),p.push(b),!r&&g&&p.push("")):!t&&!r&&m&&p.push(""),f&&p.push(f)}return["`",n([i,r(i,p)]),i,"`"]}function l(e){let t=[],n=!1,o=e.map(e=>e.trim());for(let[r,a]of o.entries())""!==a&&(""===o[r-1]&&n?t.push([i,a]):t.push(a),n=!0);return 0===t.length?null:r(i,t)}t.exports=s}}),fn=_({"src/language-js/embed/html.js"(e,t){C();var{builders:{indent:n,line:r,hardline:i,group:o},utils:{mapDoc:a}}=Y(),{printTemplateExpressions:s,uncookTemplateElementValue:l}=cn(),u=0;function c(e,t,c,d,p){let{parser:h}=p,f=e.getValue(),m=u;u=u+1>>>0;let g=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${m}_IN_JS`,v=f.quasis.map((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+g(t)).join(""),b=s(e,t);if(0===b.length&&0===v.trim().length)return"``";let y=new RegExp(g("(\\d+)"),"g"),_=0,E=c(v,{parser:h,__onHtmlRoot(e){_=e.children.length}},{stripTrailingHardline:!0}),S=a(E,e=>{if("string"!=typeof e)return e;let t=[],n=e.split(y);for(let r=0;r1?n(o(S)):o(S),x,"`"])}t.exports=c}}),mn=_({"src/language-js/embed.js"(e,t){C();var{hasComment:n,CommentCheckFlags:r,isObjectProperty:i}=un(),o=dn(),a=pn(),s=hn(),l=fn();function u(e){return p(e)||g(e)||v(e)||h(e)?"css":_(e)?"graphql":S(e)?"html":f(e)?"angular":d(e)?"markdown":void 0}function c(e,t,n,r){let i=e.getValue();if("TemplateLiteral"!==i.type||w(i))return;let c=u(e);if(c){if("markdown"===c)return o(e,t,n);if("css"===c)return a(e,t,n);if("graphql"===c)return s(e,t,n);if("html"===c||"angular"===c)return l(e,t,n,r,{parser:c})}}function d(e){let t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}function p(e){let t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some(e=>"jsx"===e.name.name)||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}function h(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"ArrayExpression"===e.type&&"elements"===t,(e,t)=>i(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t,...m)}function f(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>i(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t,...m)}var m=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function g(e){let t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;let n="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(n.type){case"MemberExpression":return b(n.object)||y(n);case"CallExpression":return b(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(b(n.callee.object.object)||y(n.callee.object))||"CallExpression"===n.callee.object.type&&b(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}function v(e){let t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}function b(e){return"Identifier"===e.type&&"styled"===e.name}function y(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function _(e){let t=e.getValue(),n=e.getParentNode();return E(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}function E(e,t){return n(e,r.Block|r.Leading,e=>{let{value:n}=e;return n===` ${t} `})}function S(e){return E(e.getValue(),"HTML")||e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t)}function w(e){let{quasis:t}=e;return t.some(e=>{let{value:{cooked:t}}=e;return null===t})}t.exports=c}}),gn=_({"src/language-js/clean.js"(e,t){C();var n=sn(),r=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),i=e=>{for(let t of e.quasis)delete t.value};function o(e,t,r){if("Program"===e.type&&delete t.sourceType,("BigIntLiteral"===e.type||"BigIntLiteralTypeAnnotation"===e.type)&&t.value&&(t.value=t.value.toLowerCase()),("BigIntLiteral"===e.type||"Literal"===e.type)&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type||"JSXText"===e.type||"JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if(("Property"===e.type||"ObjectProperty"===e.type||"MethodDefinition"===e.type||"ClassProperty"===e.type||"ClassMethod"===e.type||"PropertyDefinition"===e.type||"TSDeclareMethod"===e.type||"TSPropertySignature"===e.type||"ObjectTypeProperty"===e.type)&&"object"==typeof e.key&&e.key&&("Literal"===e.key.type||"NumericLiteral"===e.key.type||"StringLiteral"===e.key.type||"Identifier"===e.key.type)&&delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some(e=>"jsx"===e.name.name))for(let{type:n,expression:s}of t.children)"JSXExpressionContainer"===n&&"TemplateLiteral"===s.type&&i(s);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&i(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));let o=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===o.type&&"Component"===o.callee.name&&1===o.arguments.length){let n=e.expression.arguments[0].properties;for(let[e,r]of t.expression.arguments[0].properties.entries())switch(n[e].key.name){case"styles":"ArrayExpression"===r.value.type&&i(r.value.elements[0]);break;case"template":"TemplateLiteral"===r.value.type&&i(r.value);break}}var a;("TaggedTemplateExpression"===e.type&&("MemberExpression"===e.tag.type||"Identifier"===e.tag.type&&("gql"===e.tag.name||"graphql"===e.tag.name||"css"===e.tag.name||"md"===e.tag.name||"markdown"===e.tag.name||"html"===e.tag.name)||"CallExpression"===e.tag.type)&&i(t.quasi),"TemplateLiteral"===e.type)&&(((null===(a=e.leadingComments)||void 0===a?void 0:a.some(e=>n(e)&&["GraphQL","HTML"].some(t=>e.value===` ${t} `)))||"CallExpression"===r.type&&"graphql"===r.callee.name||!e.leadingComments)&&i(t));return"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}o.ignoredProperties=r,t.exports=o}}),vn={};function bn(){if(typeof In>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,258===n[0])In="BE";else{if(513!==n[0])throw new Error("unable to figure out endianess");In="LE"}}return In}function yn(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function _n(){return[]}function En(){return 0}function Sn(){return Number.MAX_VALUE}function wn(){return Number.MAX_VALUE}function xn(){return[]}function Cn(){return"Browser"}function Tn(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Dn(){}function An(){}function On(){return"javascript"}function kn(){return"browser"}function Nn(){return"/tmp"}E(vn,{EOL:()=>Rn,arch:()=>On,cpus:()=>xn,default:()=>Pn,endianness:()=>bn,freemem:()=>Sn,getNetworkInterfaces:()=>An,hostname:()=>yn,loadavg:()=>_n,networkInterfaces:()=>Dn,platform:()=>kn,release:()=>Tn,tmpDir:()=>Nn,tmpdir:()=>Mn,totalmem:()=>wn,type:()=>Cn,uptime:()=>En});var In,Mn,Rn,Pn,Ln=y({"node-modules-polyfills:os"(){C(),Mn=Nn,Rn="\n",Pn={EOL:Rn,tmpdir:Mn,tmpDir:Nn,networkInterfaces:Dn,getNetworkInterfaces:An,release:Tn,type:Cn,cpus:xn,totalmem:wn,freemem:Sn,uptime:En,loadavg:_n,hostname:yn,endianness:bn}}}),Fn=_({"node-modules-polyfills-commonjs:os"(e,t){C();var n=(Ln(),x(vn));if(n&&n.default){t.exports=n.default;for(let e in n)t.exports[e]=n[e]}else n&&(t.exports=n)}}),Bn=_({"node_modules/detect-newline/index.js"(e,t){C();var n=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let n=t.filter(e=>"\r\n"===e).length,r=t.length-n;return n>r?"\r\n":"\n"};t.exports=n,t.exports.graceful=e=>"string"==typeof e&&n(e)||"\n"}}),jn=_({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=Fn();return t=function(){return e},e}function n(){let e=r(Bn());return n=function(){return e},e}function r(e){return e&&e.__esModule?e:{default:e}}C(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=h,e.parse=m,e.parseWithComments=g,e.print=v,e.strip=f;var i=/\*\/$/,o=/^\/\*\*?/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,s=/(^|\s+)\/\/([^\r\n]*)/g,l=/^(\r?\n)+/,u=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,d=/(\r?\n|^) *\* ?/g,p=[];function h(e){let t=e.match(a);return t?t[0].trimLeft():""}function f(e){let t=e.match(a);return t&&t[0]?e.substring(t[0].length):e}function m(e){return g(e).pragmas}function g(e){let r=(0,n().default)(e)||t().EOL;e=e.replace(o,"").replace(i,"").replace(d,"$1");let a="";for(;a!==e;)a=e,e=e.replace(u,`${r}$1 $2${r}`);e=e.replace(l,"").trimRight();let h,f=Object.create(null),m=e.replace(c,"").replace(l,"").trimRight();for(;h=c.exec(e);){let e=h[2].replace(s,"");"string"==typeof f[h[1]]||Array.isArray(f[h[1]])?f[h[1]]=p.concat(f[h[1]],e):f[h[1]]=e}return{comments:m,pragmas:f}}function v(e){let{comments:r="",pragmas:i={}}=e,o=(0,n().default)(r)||t().EOL,a="/**",s=" *",l=" */",u=Object.keys(i),c=u.map(e=>b(e,i[e])).reduce((e,t)=>e.concat(t),[]).map(e=>`${s} ${e}${o}`).join("");if(!r){if(0===u.length)return"";if(1===u.length&&!Array.isArray(i[u[0]])){let e=i[u[0]];return`${a} ${b(u[0],e)[0]}${l}`}}let d=r.split(o).map(e=>`${s} ${e}`).join(o)+o;return a+o+(r?d:"")+(r&&u.length?s+o:"")+c+l}function b(e,t){return p.concat(t).map(t=>`@${e} ${t}`.trim())}}}),Un=_({"src/language-js/utils/get-shebang.js"(e,t){function n(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}C(),t.exports=n}}),qn=_({"src/language-js/pragma.js"(e,t){C();var{parseWithComments:n,strip:r,extract:i,print:o}=jn(),{normalizeEndOfLine:a}=k(),s=Un();function l(e){let t=s(e);t&&(e=e.slice(t.length+1));let r=i(e),{pragmas:o,comments:a}=n(r);return{shebang:t,text:e,pragmas:o,comments:a}}function u(e){let t=Object.keys(l(e).pragmas);return t.includes("prettier")||t.includes("format")}function c(e){let{shebang:t,text:n,pragmas:i,comments:s}=l(e),u=r(n),c=o({pragmas:Object.assign({format:""},i),comments:s.trimStart()});return(t?t+"\n":"")+a(c)+(u.startsWith("\n")?"\n":"\n\n")+u}t.exports={hasPragma:u,insertPragma:c}}}),$n=_({"src/language-js/utils/is-type-cast-comment.js"(e,t){C();var n=sn();function r(e){return n(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}t.exports=r}}),Hn=_({"src/language-js/comments.js"(e,t){C();var{getLast:n,hasNewline:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:i,getNextNonSpaceNonCommentCharacter:o,hasNewlineInRange:a,addLeadingComment:s,addTrailingComment:l,addDanglingComment:u,getNextNonSpaceNonCommentCharacterIndex:c,isNonEmptyArray:d}=ge(),{getFunctionParameters:p,isPrettierIgnoreComment:h,isJsxNode:f,hasFlowShorthandAnnotationComment:m,hasFlowAnnotationComment:g,hasIgnoreComment:v,isCallLikeExpression:b,getCallArguments:y,isCallExpression:_,isMemberExpression:E,isObjectProperty:S,isLineComment:w,getComments:x,CommentCheckFlags:T,markerForIfWithoutBlockAndSameLineComment:D}=un(),{locStart:A,locEnd:O}=Ut(),k=sn(),N=$n();function I(e){return[pe,Z,q,B,j,U,G,oe,ne,ie,ae,se,Y,J,ee].some(t=>t(e))}function M(e){return[F,Z,$,ae,B,j,U,G,J,te,re,ie,ce,ee,fe].some(t=>t(e))}function R(e){return[pe,B,j,H,X,Y,ie,Q,K,he,ee,de].some(t=>t(e))}function P(e,t){let n=(e.body||e.properties).find(e=>{let{type:t}=e;return"EmptyStatement"!==t});n?s(n,t):u(e,t)}function L(e,t){"BlockStatement"===e.type?P(e,t):s(e,t)}function F(e){let{comment:t,followingNode:n}=e;return!(!n||!N(t))&&(s(n,t),!0)}function B(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i,text:a}=e;if("IfStatement"!==(null==r?void 0:r.type)||!i)return!1;if(")"===o(a,t,O))return l(n,t),!0;if(n===r.consequent&&i===r.alternate){if("BlockStatement"===n.type)l(n,t);else{let e="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,i=t.loc.start.line===n.loc.start.line;e&&i?u(n,t,D):u(r,t)}return!0}return"BlockStatement"===i.type?(P(i,t),!0):"IfStatement"===i.type?(L(i.consequent,t),!0):r.consequent===i&&(s(i,t),!0)}function j(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i,text:a}=e;return!("WhileStatement"!==(null==r?void 0:r.type)||!i)&&(")"===o(a,t,O)?(l(n,t),!0):"BlockStatement"===i.type?(P(i,t),!0):r.body===i&&(s(i,t),!0))}function U(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i}=e;return!("TryStatement"!==(null==r?void 0:r.type)&&"CatchClause"!==(null==r?void 0:r.type)||!i)&&("CatchClause"===r.type&&n?(l(n,t),!0):"BlockStatement"===i.type?(P(i,t),!0):"TryStatement"===i.type?(L(i.finalizer,t),!0):"CatchClause"===i.type&&(L(i.body,t),!0))}function q(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!(!E(n)||"Identifier"!==(null==r?void 0:r.type))&&(s(n,t),!0)}function $(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i,text:o}=e,l=n&&!a(o,O(n),A(t));return!(n&&l||"ConditionalExpression"!==(null==r?void 0:r.type)&&"TSConditionalType"!==(null==r?void 0:r.type)||!i)&&(s(i,t),!0)}function H(e){let{comment:t,precedingNode:n,enclosingNode:r}=e;return!(!S(r)||!r.shorthand||r.key!==n||"AssignmentPattern"!==r.value.type)&&(l(r.value.left,t),!0)}var z=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function G(e){let{comment:t,precedingNode:r,enclosingNode:i,followingNode:o}=e;if(z.has(null==i?void 0:i.type)){if(d(i.decorators)&&(!o||"Decorator"!==o.type))return l(n(i.decorators),t),!0;if(i.body&&o===i.body)return P(i.body,t),!0;if(o){if(i.superClass&&o===i.superClass&&r&&(r===i.id||r===i.typeParameters))return l(r,t),!0;for(let e of["implements","extends","mixins"])if(i[e]&&o===i[e][0])return!r||r!==i.id&&r!==i.typeParameters&&r!==i.superClass?u(i,t,e):l(r,t),!0}}return!1}var V=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function Y(e){let{comment:t,precedingNode:n,enclosingNode:r,text:i}=e;return!!(r&&n&&"("===o(i,t,O)&&("Property"===r.type||"TSDeclareMethod"===r.type||"TSAbstractMethodDefinition"===r.type)&&"Identifier"===n.type&&r.key===n&&":"!==o(i,n,O)||"Decorator"===(null==n?void 0:n.type)&&V.has(null==r?void 0:r.type))&&(l(n,t),!0)}var W=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function K(e){let{comment:t,precedingNode:n,enclosingNode:r,text:i}=e;return"("===o(i,t,O)&&(!(!n||!W.has(null==r?void 0:r.type))&&(l(n,t),!0))}function Q(e){let{comment:t,enclosingNode:n,text:r}=e;if("ArrowFunctionExpression"!==(null==n?void 0:n.type))return!1;let i=c(r,t,O);return!1!==i&&"=>"===r.slice(i,i+2)&&(u(n,t),!0)}function X(e){let{comment:t,enclosingNode:n,text:r}=e;return")"===o(r,t,O)&&(n&&(me(n)&&0===p(n).length||b(n)&&0===y(n).length)?(u(n,t),!0):("MethodDefinition"===(null==n?void 0:n.type)||"TSAbstractMethodDefinition"===(null==n?void 0:n.type))&&0===p(n.value).length&&(u(n.value,t),!0))}function Z(e){let{comment:t,precedingNode:r,enclosingNode:a,followingNode:s,text:u}=e;if("FunctionTypeParam"===(null==r?void 0:r.type)&&"FunctionTypeAnnotation"===(null==a?void 0:a.type)&&"FunctionTypeParam"!==(null==s?void 0:s.type)||("Identifier"===(null==r?void 0:r.type)||"AssignmentPattern"===(null==r?void 0:r.type))&&a&&me(a)&&")"===o(u,t,O))return l(r,t),!0;if("FunctionDeclaration"===(null==a?void 0:a.type)&&"BlockStatement"===(null==s?void 0:s.type)){let e=(()=>{let e=p(a);if(e.length>0)return i(u,O(n(e)));let t=i(u,O(a.id));return!1!==t&&i(u,t+1)})();if(A(t)>e)return P(s,t),!0}return!1}function J(e){let{comment:t,enclosingNode:n}=e;return"LabeledStatement"===(null==n?void 0:n.type)&&(s(n,t),!0)}function ee(e){let{comment:t,enclosingNode:n}=e;return!("ContinueStatement"!==(null==n?void 0:n.type)&&"BreakStatement"!==(null==n?void 0:n.type)||n.label)&&(l(n,t),!0)}function te(e){let{comment:t,precedingNode:n,enclosingNode:r}=e;return!!(_(r)&&n&&r.callee===n&&r.arguments.length>0)&&(s(r.arguments[0],t),!0)}function ne(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i}=e;return"UnionTypeAnnotation"===(null==r?void 0:r.type)||"TSUnionType"===(null==r?void 0:r.type)?(h(t)&&(i.prettierIgnore=!0,t.unignore=!0),!!n&&(l(n,t),!0)):(("UnionTypeAnnotation"===(null==i?void 0:i.type)||"TSUnionType"===(null==i?void 0:i.type))&&h(t)&&(i.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function re(e){let{comment:t,enclosingNode:n}=e;return!!S(n)&&(s(n,t),!0)}function ie(e){let{comment:t,enclosingNode:n,followingNode:r,ast:i,isLastComment:o}=e;return i&&i.body&&0===i.body.length?(o?u(i,t):s(i,t),!0):"Program"!==(null==n?void 0:n.type)||0!==(null==n?void 0:n.body.length)||d(n.directives)?"Program"===(null==r?void 0:r.type)&&0===(null==r?void 0:r.body.length)&&"ModuleExpression"===(null==n?void 0:n.type)&&(u(r,t),!0):(o?u(n,t):s(n,t),!0)}function oe(e){let{comment:t,enclosingNode:n}=e;return("ForInStatement"===(null==n?void 0:n.type)||"ForOfStatement"===(null==n?void 0:n.type))&&(s(n,t),!0)}function ae(e){let{comment:t,precedingNode:n,enclosingNode:i,text:o}=e;if("ImportSpecifier"===(null==i?void 0:i.type)||"ExportSpecifier"===(null==i?void 0:i.type))return s(i,t),!0;let a="ImportSpecifier"===(null==n?void 0:n.type)&&"ImportDeclaration"===(null==i?void 0:i.type),u="ExportSpecifier"===(null==n?void 0:n.type)&&"ExportNamedDeclaration"===(null==i?void 0:i.type);return!(!a&&!u||!r(o,O(t)))&&(l(n,t),!0)}function se(e){let{comment:t,enclosingNode:n}=e;return"AssignmentPattern"===(null==n?void 0:n.type)&&(s(n,t),!0)}var le=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ue=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function ce(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!(!le.has(null==n?void 0:n.type)||!r||!ue.has(r.type)&&!k(t))&&(s(r,t),!0)}function de(e){let{comment:t,enclosingNode:n,followingNode:r,text:i}=e;return!(r||"TSMethodSignature"!==(null==n?void 0:n.type)&&"TSDeclareFunction"!==(null==n?void 0:n.type)&&"TSAbstractMethodDefinition"!==(null==n?void 0:n.type)||";"!==o(i,t,O))&&(l(n,t),!0)}function pe(e){let{comment:t,enclosingNode:n,followingNode:r}=e;if(h(t)&&"TSMappedType"===(null==n?void 0:n.type)&&"TSTypeParameter"===(null==r?void 0:r.type)&&r.constraint)return n.prettierIgnore=!0,t.unignore=!0,!0}function he(e){let{comment:t,precedingNode:n,enclosingNode:r,followingNode:i}=e;return"TSMappedType"===(null==r?void 0:r.type)&&("TSTypeParameter"===(null==i?void 0:i.type)&&i.name?(s(i.name,t),!0):!("TSTypeParameter"!==(null==n?void 0:n.type)||!n.constraint)&&(l(n.constraint,t),!0))}function fe(e){let{comment:t,enclosingNode:n,followingNode:r}=e;return!(!n||"SwitchCase"!==n.type||n.test||!r||r!==n.consequent[0])&&("BlockStatement"===r.type&&w(t)?P(r,t):u(n,t),!0)}function me(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function ve(e,t){if(("typescript"===t.parser||"flow"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===p(e.value).length&&!e.value.returnType&&!d(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}function be(e){let t=e.getValue(),n=e.getParentNode(),r=e=>g(x(e,T.Leading))||g(x(e,T.Trailing));return(t&&(f(t)||m(t)||_(n)&&r(t))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!v(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}t.exports={handleOwnLineComment:I,handleEndOfLineComment:M,handleRemainingComment:R,getCommentChildNodes:ve,willPrintOwnComments:be}}}),zn=_({"src/language-js/needs-parens.js"(e,t){C();var n=N(),r=ce(),{getFunctionParameters:i,getLeftSidePathName:o,hasFlowShorthandAnnotationComment:a,hasNakedLeftSide:s,hasNode:l,isBitwiseOperator:u,startsWithNoLookaheadToken:c,shouldFlatten:d,getPrecedence:p,isCallExpression:h,isMemberExpression:f,isObjectProperty:m,isTSTypeExpression:g}=un();function v(e,t){let n=e.getParentNode();if(!n)return!1;let o=e.getName(),s=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&E(s)&&S(e))return!0;if(b(s))return!1;if("flow"!==t.parser&&a(e.getValue()))return!0;if("Identifier"===s.type){if(s.extra&&s.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(s.name)||"left"===o&&("async"===s.name&&!n.await||"let"===s.name)&&"ForOfStatement"===n.type)return!0;if("let"===s.name){var l;let t=null===(l=e.findAncestor(e=>"ForOfStatement"===e.type))||void 0===l?void 0:l.left;if(t&&c(t,e=>e===s))return!0}if("object"===o&&"let"===s.name&&"MemberExpression"===n.type&&n.computed&&!n.optional){let t=e.findAncestor(e=>"ExpressionStatement"===e.type||"ForStatement"===e.type||"ForInStatement"===e.type),n=t?"ExpressionStatement"===t.type?t.expression:"ForStatement"===t.type?t.init:t.left:void 0;if(n&&c(n,e=>e===s))return!0}return!1}if("ObjectExpression"===s.type||"FunctionExpression"===s.type||"ClassExpression"===s.type||"DoExpression"===s.type){var v;let t=null===(v=e.findAncestor(e=>"ExpressionStatement"===e.type))||void 0===v?void 0:v.expression;if(t&&c(t,e=>e===s))return!0}switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===o&&("ArrowFunctionExpression"===s.type||"AssignmentExpression"===s.type||"AwaitExpression"===s.type||"BinaryExpression"===s.type||"ConditionalExpression"===s.type||"LogicalExpression"===s.type||"NewExpression"===s.type||"ObjectExpression"===s.type||"SequenceExpression"===s.type||"TaggedTemplateExpression"===s.type||"UnaryExpression"===s.type||"UpdateExpression"===s.type||"YieldExpression"===s.type||"TSNonNullExpression"===s.type))return!0;break;case"ExportDefaultDeclaration":return w(e,t)||"SequenceExpression"===s.type;case"Decorator":if("expression"===o){if(f(s)&&s.computed)return!0;let e=!1,n=!1,r=s;for(;r;)switch(r.type){case"MemberExpression":n=!0,r=r.object;break;case"CallExpression":if(n||e)return"typescript"!==t.parser;e=!0,r=r.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ArrowFunctionExpression":if("body"===o&&"SequenceExpression"!==s.type&&c(s,e=>"ObjectExpression"===e.type))return!0;break}switch(s.type){case"UpdateExpression":if("UnaryExpression"===n.type)return s.prefix&&("++"===s.operator&&"+"===n.operator||"--"===s.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return s.operator===n.operator&&("+"===s.operator||"-"===s.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===o;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===o;case"BinaryExpression":return"left"===o&&"**"===n.operator;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type||"in"===s.operator&&y(e))return!0;if("|>"===s.operator&&s.extra&&s.extra.parenthesized){let t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(n.type){case"TSSatisfiesExpression":case"TSAsExpression":return!g(s);case"ConditionalExpression":return g(s);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===o;case"ClassExpression":case"ClassDeclaration":return"superClass"===o;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===o;case"AssignmentExpression":case"AssignmentPattern":return"left"===o&&("TSTypeAssertion"===s.type||g(s));case"LogicalExpression":if("LogicalExpression"===s.type)return n.operator!==s.operator;case"BinaryExpression":{let{operator:e,type:t}=s;if(!e&&"TSTypeAssertion"!==t)return!0;let r=p(e),i=n.operator,a=p(i);return a>r||"right"===o&&a===r||a===r&&!d(i,e)||(a"===n.operator);default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if("extendsType"===o&&"TSConditionalType"===n.type){if("TSConditionalType"===s.type)return!0;let{typeAnnotation:e}=s.returnType||s.typeAnnotation;if("TSTypePredicate"===e.type&&e.typeAnnotation&&(e=e.typeAnnotation.typeAnnotation),"TSInferType"===e.type&&e.typeParameter.constraint)return!0}if("checkType"===o&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===n.type||"TSIntersectionType"===n.type)&&n.types.length>1&&(!s.types||s.types.length>1))return!0;case"TSInferType":if("TSInferType"===s.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===o&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&e.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return"objectType"===o&&"TSIndexedAccessType"===n.type||"elementType"===o&&"TSArrayType"===n.type;case"TypeofTypeAnnotation":return"objectType"===o&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type)||"elementType"===o&&"ArrayTypeAnnotation"===n.type;case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type||"objectType"===o&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"objectType"===o&&("IndexedAccessType"===n.type||"OptionalIndexedAccessType"===n.type);case"FunctionTypeAnnotation":{let t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"objectType"===o&&("IndexedAccessType"===t.type||"OptionalIndexedAccessType"===t.type)||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&i(s).some(e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type)}case"OptionalIndexedAccessType":return"objectType"===o&&"IndexedAccessType"===n.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof s.value&&"ExpressionStatement"===n.type&&!n.directive){let t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===o&&"MemberExpression"===n.type&&"number"==typeof s.value;case"AssignmentExpression":{let t=e.getParentNode(1);return"body"===o&&"ArrowFunctionExpression"===n.type||("key"!==o||"ClassProperty"!==n.type&&"PropertyDefinition"!==n.type||!n.computed)&&("init"!==o&&"update"!==o||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===s.left.type:!("key"===o&&"TSPropertySignature"===n.type||"AssignmentExpression"===n.type||"SequenceExpression"===n.type&&t&&"ForStatement"===t.type&&(t.init===n||t.update===n)||"value"===o&&"Property"===n.type&&t&&"ObjectPattern"===t.type&&t.properties.includes(n)||"NGChainedExpression"===n.type))}case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===o;case"ConditionalExpression":return"test"===o;case"MemberExpression":case"OptionalMemberExpression":return"object"===o;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===o;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"BinaryExpression":return"|>"!==n.operator||s.extra&&s.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===o;case"MemberExpression":case"OptionalMemberExpression":return"object"===o;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===o;default:return!1}case"ClassExpression":if(r(s.decorators))return!0;switch(n.type){case"NewExpression":return"callee"===o;default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let t=e.getParentNode(1);if("object"===o&&"MemberExpression"===n.type||"callee"===o&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===o&&("BindExpression"===n.type||"NewExpression"===n.type)){let e=s;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===o&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===o&&f(n);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type&&(!s.extra||!s.extra.parenthesized)||"ArrayExpression"===n.type||h(n)&&n.arguments[o]===s||"right"===o&&"NGPipeExpression"===n.type||"property"===o&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===o||"left"===o&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&!h(n)&&!m(n)&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===o&&"ArrowFunctionExpression"===n.type&&_(s)}return!1}function b(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}function y(e){let t=0,n=e.getValue();for(;n;){let r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}function _(e){return l(e,e=>"ObjectTypeAnnotation"===e.type&&l(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0)}function E(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}function S(e){let t=e.getValue(),r=e.getParentNode(),i=e.getName();switch(r.type){case"NGPipeExpression":if("number"==typeof i&&r.arguments[i]===t&&r.arguments.length-1===i)return e.callParent(S);break;case"ObjectProperty":if("value"===i){let t=e.getParentNode(1);return n(t.properties)===r}break;case"BinaryExpression":case"LogicalExpression":if("right"===i)return e.callParent(S);break;case"ConditionalExpression":if("alternate"===i)return e.callParent(S);break;case"UnaryExpression":if(r.prefix)return e.callParent(S);break}return!1}function w(e,t){let n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!v(e,t):!(!s(n)||"ExportDefaultDeclaration"!==r.type&&v(e,t))&&e.call(e=>w(e,t),...o(e,n))}t.exports=v}}),Gn=_({"src/language-js/print-preprocess.js"(e,t){function n(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}}C(),t.exports=n}}),Vn=_({"src/language-js/print/html-binding.js"(e,t){C();var{builders:{join:n,line:r,group:i,softline:o,indent:a}}=Y();function s(e,t,s){let l=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(l,t),"File"===l.type){if(t.__isVueForBindingLeft)return e.call(e=>{let t=n([",",r],e.map(s,"params")),{params:l}=e.getValue();return 1===l.length?t:["(",a([o,i(t)]),o,")"]},"program","body",0);if(t.__isVueBindings)return e.call(e=>n([",",r],e.map(s,"params")),"program","body",0)}}function l(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return l(e.object)}return!1;case"Identifier":return!0;default:return!1}}t.exports={isVueEventBindingExpression:l,printHtmlBinding:s}}}),Yn=_({"src/language-js/print/binaryish.js"(e,t){C();var{printComments:n}=Wt(),{getLast:r}=ge(),{builders:{join:i,line:o,softline:a,group:s,indent:l,align:u,indentIfBreak:c},utils:{cleanDoc:d,getDocParts:p,isConcat:h}}=Y(),{hasLeadingOwnLineComment:f,isBinaryish:m,isJsxNode:g,shouldFlatten:v,hasComment:b,CommentCheckFlags:y,isCallExpression:_,isMemberExpression:E,isObjectProperty:S,isEnabledHackPipeline:w}=un(),x=0;function T(e,t,n){let i=e.getValue(),o=e.getParentNode(),u=e.getParentNode(1),d=i!==o.body&&("IfStatement"===o.type||"WhileStatement"===o.type||"SwitchStatement"===o.type||"DoWhileStatement"===o.type),p=w(t)&&"|>"===i.operator,h=D(e,n,t,!1,d);if(d)return h;if(p)return s(h);if(_(o)&&o.callee===i||"UnaryExpression"===o.type||E(o)&&!o.computed)return s([l([a,...h]),a]);let f="ReturnStatement"===o.type||"ThrowStatement"===o.type||"JSXExpressionContainer"===o.type&&"JSXAttribute"===u.type||"|"!==i.operator&&"JsExpressionRoot"===o.type||"NGPipeExpression"!==i.type&&("NGRoot"===o.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===o.type&&"NGMicrosyntax"===u.type&&1===u.body.length)||i===o.body&&"ArrowFunctionExpression"===o.type||i!==o.body&&"ForStatement"===o.type||"ConditionalExpression"===o.type&&"ReturnStatement"!==u.type&&"ThrowStatement"!==u.type&&!_(u)||"TemplateLiteral"===o.type,b="AssignmentExpression"===o.type||"VariableDeclarator"===o.type||"ClassProperty"===o.type||"PropertyDefinition"===o.type||"TSAbstractPropertyDefinition"===o.type||"ClassPrivateProperty"===o.type||S(o),y=m(i.left)&&v(i.operator,i.left.operator);if(f||A(i)&&!y||!A(i)&&b)return s(h);if(0===h.length)return"";let C=g(i.right),T=h.findIndex(e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type),O=h.slice(0,-1===T?1:T+1),k=h.slice(O.length,C?-1:void 0),N=Symbol("logicalChain-"+ ++x),I=s([...O,l(k)],{id:N});if(!C)return I;let M=r(h);return s([I,c(M,{groupId:N})])}function D(e,t,r,a,c){let g=e.getValue();if(!m(g))return[s(t())];let _=[];v(g.operator,g.left.operator)?_=e.call(e=>D(e,t,r,!0,c),"left"):_.push(s(t("left")));let E,S=A(g),x=("|>"===g.operator||"NGPipeExpression"===g.type||"|"===g.operator&&"__vue_expression"===r.parser)&&!f(r.originalText,g.right),C="NGPipeExpression"===g.type?"|":g.operator,T="NGPipeExpression"===g.type&&g.arguments.length>0?s(l([o,": ",i([o,": "],e.map(t,"arguments").map(e=>u(2,s(e))))])):"";if(S)E=[C," ",t("right"),T];else{let n=w(r)&&"|>"===C?e.call(e=>D(e,t,r,!0,c),"right"):t("right");E=[x?o:"",C,x?" ":o,n,T]}let O=e.getParentNode(),k=b(g.left,y.Trailing|y.Line),N=k||!(c&&"LogicalExpression"===g.type)&&O.type!==g.type&&g.left.type!==g.type&&g.right.type!==g.type;if(_.push(x?"":" ",N?s(E,{shouldBreak:k}):E),a&&b(g)){let t=d(n(e,_,r));return h(t)||"fill"===t.type?p(t):[t]}return _}function A(e){return"LogicalExpression"===e.type&&!!("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||g(e.right))}t.exports={printBinaryishExpression:T,shouldInlineLogicalExpression:A}}}),Wn=_({"src/language-js/print/angular.js"(e,t){C();var{builders:{join:n,line:r,group:i}}=Y(),{hasNode:o,hasComment:a,getComments:s}=un(),{printBinaryishExpression:l}=Yn();function u(e,t,o){let u=e.getValue();if(u.type.startsWith("NG"))switch(u.type){case"NGRoot":return[o("node"),a(u.node)?" //"+s(u.node)[0].value.trimEnd():""];case"NGPipeExpression":return l(e,t,o);case"NGChainedExpression":return i(n([";",r],e.map(e=>d(e)?o():["(",o(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[u.prefix,": ",u.value.trim()];case"NGMicrosyntax":return e.map((e,t)=>[0===t?"":c(e.getValue(),t,u)?" ":[";",r],o()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(u.name)?u.name:JSON.stringify(u.name);case"NGMicrosyntaxExpression":return[o("expression"),null===u.alias?"":[" as ",o("alias")]];case"NGMicrosyntaxKeyedExpression":{let t=e.getName(),n=e.getParentNode(),r=c(u,t,n)||(1===t&&("then"===u.key.name||"else"===u.key.name)||2===t&&"else"===u.key.name&&"NGMicrosyntaxKeyedExpression"===n.body[t-1].type&&"then"===n.body[t-1].key.name)&&"NGMicrosyntaxExpression"===n.body[0].type;return[o("key"),r?" ":": ",o("expression")]}case"NGMicrosyntaxLet":return["let ",o("key"),null===u.value?"":[" = ",o("value")]];case"NGMicrosyntaxAs":return[o("key")," as ",o("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(u.type)}.`)}}function c(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value}function d(e){return o(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}t.exports={printAngular:u}}}),Kn=_({"src/language-js/print/jsx.js"(e,t){C();var{printComments:n,printDanglingComments:r,printCommentsSeparately:i}=Wt(),{builders:{line:o,hardline:a,softline:s,group:l,indent:u,conditionalGroup:c,fill:d,ifBreak:p,lineSuffixBoundary:h,join:f},utils:{willBreak:m}}=Y(),{getLast:g,getPreferredQuote:v}=ge(),{isJsxNode:b,rawText:y,isCallExpression:_,isStringLiteral:E,isBinaryish:S,hasComment:w,CommentCheckFlags:x,hasNodeIgnoreComment:T}=un(),D=zn(),{willPrintOwnComments:A}=Hn(),O=e=>""===e||e===o||e===a||e===s;function k(e,t,n){let r=e.getValue();if("JSXElement"===r.type&&X(r))return[n("openingElement"),n("closingElement")];let i="JSXElement"===r.type?n("openingElement"):n("openingFragment"),o="JSXElement"===r.type?n("closingElement"):n("closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return[i,...e.map(n,"children"),o];r.children=r.children.map(e=>J(e)?{type:"JSXText",value:" ",raw:" "}:e);let h=r.children.some(b),f=r.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,v="JSXElement"===r.type&&r.openingElement.attributes.length>1,y=m(i)||h||v||f,_="mdx"===e.getParentNode().rootMarker,E=t.singleQuote?"{' '}":'{" "}',S=_?" ":p([E,s]," "),w=r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name,x=N(e,t,n,S,w),C=r.children.some(e=>Z(e));for(let l=x.length-2;l>=0;l--){let e=""===x[l]&&""===x[l+1],t=x[l]===a&&""===x[l+1]&&x[l+2]===a,n=(x[l]===s||x[l]===a)&&""===x[l+1]&&x[l+2]===S,r=x[l]===S&&""===x[l+1]&&(x[l+2]===s||x[l+2]===a),i=x[l]===S&&""===x[l+1]&&x[l+2]===S,o=x[l]===s&&""===x[l+1]&&x[l+2]===a||x[l]===a&&""===x[l+1]&&x[l+2]===s;t&&C||e||n||i||o?x.splice(l,2):r&&x.splice(l+1,2)}for(;x.length>0&&O(g(x));)x.pop();for(;x.length>1&&O(x[0])&&O(x[1]);)x.shift(),x.shift();let T=[];for(let[s,l]of x.entries()){if(l===S){if(1===s&&""===x[s-1]){if(2===x.length){T.push(E);continue}T.push([E,a]);continue}if(s===x.length-1){T.push(E);continue}if(""===x[s-1]&&x[s-2]===a){T.push(E);continue}}T.push(l),m(l)&&(y=!0)}let D=C?d(T):l(T,{shouldBreak:!0});if(_)return D;let A=l([i,u([a,D]),a,o]);return y?A:c([l([i,...x,o]),A])}function N(e,t,n,r,i){let s=[];return e.each((e,t,l)=>{let u=e.getValue();if("JSXText"===u.type){let e=y(u);if(Z(u)){let n,a=e.split(W);if(""===a[0]){if(s.push(""),a.shift(),/\n/.test(a[0])){let e=l[t+1];s.push(M(i,a[1],u,e))}else s.push(r);a.shift()}if(""===g(a)&&(a.pop(),n=a.pop()),0===a.length)return;for(let[e,t]of a.entries())e%2===1?s.push(o):s.push(t);if(void 0!==n)if(/\n/.test(n)){let e=l[t+1];s.push(M(i,g(s),u,e))}else s.push(r);else{let e=l[t+1];s.push(I(i,g(s),u,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&s.push("",a):s.push("",r)}else{let e=n();s.push(e);let r=l[t+1];if(r&&Z(r)){let e=Q(y(r)).split(W)[0];s.push(I(i,e,u,r))}else s.push(a)}},"children"),s}function I(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?s:a:s}function M(e,t,n,r){return e?a:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?a:s:a}function R(e,t,n){let r=e.getParentNode();if(!r||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;let i=e.match(void 0,e=>"ArrowFunctionExpression"===e.type,_,e=>"JSXExpressionContainer"===e.type),o=D(e,n);return l([o?"":p("("),u([s,t]),s,o?"":p(")")],{shouldBreak:i})}function P(e,t,n){let r=e.getValue(),o=[];if(o.push(n("name")),r.value){let a;if(E(r.value)){let n=y(r.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:o,quote:s,regex:l}=v(n,t.jsxSingleQuote?"'":'"');n=n.replace(l,o);let{leading:u,trailing:c}=e.call(()=>i(e,t),"value");a=[u,s,n,s,c]}else a=n("value");o.push("=",a)}return o}function L(e,t,n){let r=e.getValue(),i=(e,t)=>"JSXEmptyExpression"===e.type||!w(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(i(e.argument,e)||"JSXElement"===e.argument.type)||_(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||b(t)&&("ConditionalExpression"===e.type||S(e)));return i(r.expression,e.getParentNode(0))?l(["{",n("expression"),h,"}"]):l(["{",u([s,n("expression")]),s,h,"}"])}function F(e,t,n){let r=e.getValue(),i=r.name&&w(r.name)||r.typeParameters&&w(r.typeParameters);if(r.selfClosing&&0===r.attributes.length&&!i)return["<",n("name"),n("typeParameters")," />"];if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&E(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!i&&!w(r.attributes[0]))return l(["<",n("name"),n("typeParameters")," ",...e.map(n,"attributes"),r.selfClosing?" />":">"]);let s=r.attributes&&r.attributes.some(e=>e.value&&E(e.value)&&e.value.value.includes("\n")),c=t.singleAttributePerLine&&r.attributes.length>1?a:o;return l(["<",n("name"),n("typeParameters"),u(e.map(()=>[c,n()],"attributes")),...B(r,t,i)],{shouldBreak:s})}function B(e,t,n){return e.selfClosing?[o,"/>"]:j(e,t,n)?[">"]:[s,">"]}function j(e,t,n){let r=e.attributes.length>0&&w(g(e.attributes),x.Trailing);return 0===e.attributes.length&&!n||(t.bracketSameLine||t.jsxBracketSameLine)&&(!n||e.attributes.length>0)&&!r}function U(e,t,n){let r=e.getValue(),i=[];i.push(""),i}function q(e,t){let n=e.getValue(),i=w(n),o=w(n,x.Line),s="JSXOpeningFragment"===n.type;return[s?"<":""]}function $(e,t,r){let i=n(e,k(e,t,r),t);return R(e,i,t)}function H(e,t){let n=e.getValue(),i=w(n,x.Line);return[r(e,t,!i),i?a:""]}function z(e,t,r){let i=e.getValue();return["{",e.call(e=>{let i=["...",r()],o=e.getValue();return w(o)&&A(e)?[u([s,n(e,i,t)]),s]:i},"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]}function G(e,t,n){let r=e.getValue();if(r.type.startsWith("JSX"))switch(r.type){case"JSXAttribute":return P(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return f(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return f(".",[n("object"),n("property")]);case"JSXSpreadAttribute":return z(e,t,n);case"JSXSpreadChild":return z(e,t,n);case"JSXExpressionContainer":return L(e,t,n);case"JSXFragment":case"JSXElement":return $(e,t,n);case"JSXOpeningElement":return F(e,t,n);case"JSXClosingElement":return U(e,t,n);case"JSXOpeningFragment":case"JSXClosingFragment":return q(e,t);case"JSXEmptyExpression":return H(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(r.type)}.`)}}var V=" \n\r\t",W=new RegExp("(["+V+"]+)"),K=new RegExp("[^"+V+"]"),Q=e=>e.replace(new RegExp("(?:^"+W.source+"|"+W.source+"$)"),"");function X(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;let t=e.children[0];return"JSXText"===t.type&&!Z(t)}function Z(e){return"JSXText"===e.type&&(K.test(y(e))||!/\n/.test(y(e)))}function J(e){return"JSXExpressionContainer"===e.type&&E(e.expression)&&" "===e.expression.value&&!w(e.expression)}function ee(e){let t=e.getValue(),n=e.getParentNode();if(!n||!t||!b(t)||!b(n))return!1;let r=n.children.indexOf(t),i=null;for(let o=r;o>0;o--){let e=n.children[o-1];if("JSXText"!==e.type||Z(e)){i=e;break}}return i&&"JSXExpressionContainer"===i.type&&"JSXEmptyExpression"===i.expression.type&&T(i.expression)}t.exports={hasJsxIgnoreComment:ee,printJsx:G}}}),Qn=_({"src/language-js/print/misc.js"(e,t){C();var{isNonEmptyArray:n}=ge(),{builders:{indent:r,join:i,line:o}}=Y(),{isFlowAnnotationComment:a}=un();function s(e){let t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"}function l(e){return e.getValue().definite||e.match(void 0,(e,t)=>"id"===t&&"VariableDeclarator"===e.type&&e.definite)?"!":""}function u(e,t,n){let r=e.getValue();return r.typeArguments?n("typeArguments"):r.typeParameters?n("typeParameters"):""}function c(e,t,n){let r=e.getValue();if(!r.typeAnnotation)return"";let i=e.getParentNode(),o="DeclareFunction"===i.type&&i.id===r;return a(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[o?"":": ",n("typeAnnotation")]}function d(e,t,n){return["::",n("callee")]}function p(e,t,r){let o=e.getValue();return n(o.modifiers)?[i(" ",e.map(r,"modifiers"))," "]:""}function h(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?[" ",t]:r([o,t])}function f(e,t,n){return["...",n("argument"),c(e,t,n)]}function m(e,t){let n=e.slice(1,-1);if(n.includes('"')||n.includes("'"))return e;let r=t.singleQuote?"'":'"';return r+n+r}t.exports={printOptionalToken:s,printDefiniteToken:l,printFunctionTypeParameters:u,printBindExpressionCallee:d,printTypeScriptModifiers:p,printTypeAnnotation:c,printRestSpread:f,adjustClause:h,printDirective:m}}}),Xn=_({"src/language-js/print/array.js"(e,t){C();var{printDanglingComments:n}=Wt(),{builders:{line:r,softline:i,hardline:o,group:a,indent:s,ifBreak:l,fill:u}}=Y(),{getLast:c,hasNewline:d}=ge(),{shouldPrintComma:p,hasComment:h,CommentCheckFlags:f,isNextLineEmpty:m,isNumericLiteral:g,isSignedNumericLiteral:v}=un(),{locStart:b}=Ut(),{printOptionalToken:y,printTypeAnnotation:_}=Qn();function E(e,t,r){let o=e.getValue(),u=[],d="TupleExpression"===o.type?"#[":"[",m="]";if(0===o.elements.length)h(o,f.Dangling)?u.push(a([d,n(e,t),i,m])):u.push(d,m);else{let h=c(o.elements),f=!(h&&"RestElement"===h.type),g=null===h,v=Symbol("array"),b=!t.__inJestEach&&o.elements.length>1&&o.elements.every((e,t,n)=>{let r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;let i=n[t+1];if(i&&r!==i.type)return!1;let o="ArrayExpression"===r?"elements":"properties";return e[o]&&e[o].length>1}),y=S(o,t),_=f?g?",":p(t)?y?l(",","",{groupId:v}):l(","):"":"";u.push(a([d,s([i,y?x(e,t,r,_):[w(e,t,"elements",r),_],n(e,t,!0)]),i,m],{shouldBreak:b,id:v}))}return u.push(y(e),_(e,t,r)),u}function S(e,t){return e.elements.length>1&&e.elements.every(e=>e&&(g(e)||v(e)&&!h(e.argument))&&!h(e,f.Trailing|f.Line,e=>!d(t.originalText,b(e),{backwards:!0})))}function w(e,t,n,o){let s=[],l=[];return e.each(e=>{s.push(l,a(o())),l=[",",r],e.getValue()&&m(e.getValue(),t)&&l.push(i)},n),s}function x(e,t,n,i){let a=[];return e.each((e,s,l)=>{let u=s===l.length-1;a.push([n(),u?i:","]),u||a.push(m(e.getValue(),t)?[o,o]:h(l[s+1],f.Leading|f.Line)?o:r)},"elements"),u(a)}t.exports={printArray:E,printArrayItems:w,isConciselyPrintedArray:S}}}),Zn=_({"src/language-js/print/call-arguments.js"(e,t){C();var{printDanglingComments:n}=Wt(),{getLast:r,getPenultimate:i}=ge(),{getFunctionParameters:o,hasComment:a,CommentCheckFlags:s,isFunctionCompositionArgs:l,isJsxNode:u,isLongCurriedCallExpression:c,shouldPrintComma:d,getCallArguments:p,iterateCallArgumentsPath:h,isNextLineEmpty:f,isCallExpression:m,isStringLiteral:g,isObjectProperty:v,isTSTypeExpression:b}=un(),{builders:{line:y,hardline:_,softline:E,group:S,indent:w,conditionalGroup:x,ifBreak:T,breakParent:D},utils:{willBreak:A}}=Y(),{ArgExpansionBailout:O}=Be(),{isConciselyPrintedArray:k}=Xn();function N(e,t,i){let o=e.getValue(),a="ImportExpression"===o.type,s=p(o);if(0===s.length)return["(",n(e,t,!0),")"];if(P(s))return["(",i(["arguments",0]),", ",i(["arguments",1]),")"];let u=!1,m=!1,g=s.length-1,v=[];h(e,(e,n)=>{let r=e.getNode(),o=[i()];n===g||(f(r,t)?(0===n&&(m=!0),u=!0,o.push(",",_,_)):o.push(",",y)),v.push(o)});let b=a||o.callee&&"Import"===o.callee.type||!d(t,"all")?"":",";function C(){return S(["(",w([y,...v]),b,y,")"],{shouldBreak:!0})}if(u||"Decorator"!==e.getParentNode().type&&l(s))return C();let k=R(s),N=M(s,t);if(k||N){if(k?v.slice(1).some(A):v.slice(0,-1).some(A))return C();let t=[];try{e.try(()=>{h(e,(e,n)=>{k&&0===n&&(t=[[i([],{expandFirstArg:!0}),v.length>1?",":"",m?_:y,m?_:""],...v.slice(1)]),N&&n===g&&(t=[...v.slice(0,-1),i([],{expandLastArg:!0})])})})}catch(L){if(L instanceof O)return C();throw L}return[v.some(A)?D:"",x([["(",...t,")"],k?["(",S(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...v.slice(0,-1),S(r(t),{shouldBreak:!0}),")"],C()])]}let I=["(",w([E,...v]),T(b),E,")"];return c(e)?I:S(I,{shouldBreak:v.some(A)||u})}function I(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||a(e))||"ArrayExpression"===e.type&&(e.elements.length>0||a(e))||"TSTypeAssertion"===e.type&&I(e.expression)||b(e)&&I(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||L(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&I(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(m(e.body)||"ConditionalExpression"===e.body.type)||u(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}function M(e,t){let n=r(e),o=i(e);return!a(n,s.Leading)&&!a(n,s.Trailing)&&I(n)&&(!o||o.type!==n.type)&&(2!==e.length||"ArrowFunctionExpression"!==o.type||"ArrayExpression"!==n.type)&&!(e.length>1&&"ArrayExpression"===n.type&&k(n,t))}function R(e){if(2!==e.length)return!1;let[t,n]=e;return!("ModuleExpression"!==t.type||!F(n))||!a(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"ConditionalExpression"!==n.type&&!I(n)}function P(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===o(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some(e=>a(e))}function L(e){return"BlockStatement"===e.type&&(e.body.some(e=>"EmptyStatement"!==e.type)||a(e,s.Dangling))}function F(e){return"ObjectExpression"===e.type&&1===e.properties.length&&v(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&g(e.properties[0].value)&&"module"===e.properties[0].value.value}t.exports=N}}),Jn=_({"src/language-js/print/member.js"(e,t){C();var{builders:{softline:n,group:r,indent:i,label:o}}=Y(),{isNumericLiteral:a,isMemberExpression:s,isCallExpression:l}=un(),{printOptionalToken:u}=Qn();function c(e,t,a){let u,c=e.getValue(),p=e.getParentNode(),h=0;do{u=e.getParentNode(h),h++}while(u&&(s(u)||"TSNonNullExpression"===u.type));let f=a("object"),m=d(e,t,a),g=u&&("NewExpression"===u.type||"BindExpression"===u.type||"AssignmentExpression"===u.type&&"Identifier"!==u.left.type)||c.computed||"Identifier"===c.object.type&&"Identifier"===c.property.type&&!s(p)||("AssignmentExpression"===p.type||"VariableDeclarator"===p.type)&&(l(c.object)&&c.object.arguments.length>0||"TSNonNullExpression"===c.object.type&&l(c.object.expression)&&c.object.expression.arguments.length>0||"member-chain"===f.label);return o("member-chain"===f.label?"member-chain":"member",[f,g?m:r(i([n,m]))])}function d(e,t,o){let s=o("property"),l=e.getValue(),c=u(e);return l.computed?!l.property||a(l.property)?[c,"[",s,"]"]:r([c,"[",i([n,s]),n,"]"]):[c,".",s]}t.exports={printMemberExpression:c,printMemberLookup:d}}}),er=_({"src/language-js/print/member-chain.js"(e,t){C();var{printComments:n}=Wt(),{getLast:r,isNextLineEmptyAfterIndex:i,getNextNonSpaceNonCommentCharacterIndex:o}=ge(),a=zn(),{isCallExpression:s,isMemberExpression:l,isFunctionOrArrowExpression:u,isLongCurriedCallExpression:c,isMemberish:d,isNumericLiteral:p,isSimpleCallArgument:h,hasComment:f,CommentCheckFlags:m,isNextLineEmpty:g}=un(),{locEnd:v}=Ut(),{builders:{join:b,hardline:y,group:_,indent:E,conditionalGroup:S,breakParent:w,label:x},utils:{willBreak:T}}=Y(),D=Zn(),{printMemberLookup:A}=Jn(),{printOptionalToken:O,printFunctionTypeParameters:k,printBindExpressionCallee:N}=Qn();function I(e,t,C){let I=e.getParentNode(),M=!I||"ExpressionStatement"===I.type,R=[];function P(e){let{originalText:n}=t,r=o(n,e,v);return")"===n.charAt(r)?!1!==r&&i(n,r+1):g(e,t)}function L(e){let r=e.getValue();s(r)&&(d(r.callee)||s(r.callee))?(R.unshift({node:r,printed:[n(e,[O(e),k(e,t,C),D(e,t,C)],t),P(r)?y:""]}),e.call(e=>L(e),"callee")):d(r)?(R.unshift({node:r,needsParens:a(e,t),printed:n(e,l(r)?A(e,t,C):N(e,t,C),t)}),e.call(e=>L(e),"object")):"TSNonNullExpression"===r.type?(R.unshift({node:r,printed:n(e,"!",t)}),e.call(e=>L(e),"expression")):R.unshift({node:r,printed:C()})}let F=e.getValue();R.unshift({node:F,printed:[O(e),k(e,t,C),D(e,t,C)]}),F.callee&&e.call(e=>L(e),"callee");let B=[],j=[R[0]],U=1;for(;U0&&e[1][0].node.computed;if(1===e[0].length){let n=e[0][0].node;return"ThisExpression"===n.type||"Identifier"===n.type&&($(n.name)||M&&H(n.name)||t)}let n=r(e[0]).node;return l(n)&&"Identifier"===n.property.type&&($(n.property.name)||t)}j.length>0&&B.push(j);let G=B.length>=2&&!f(B[1][0].node)&&z(B);function V(e){let t=e.map(e=>e.printed);return e.length>0&&r(e).needsParens?["(",...t,")"]:t}function Y(e){return 0===e.length?"":E(_([y,b(y,e.map(V))]))}let W=B.map(V),K=W,Q=G?3:2,X=B.flat(),Z=X.slice(1,-1).some(e=>f(e.node,m.Leading))||X.slice(0,-1).some(e=>f(e.node,m.Trailing))||B[Q]&&f(B[Q][0].node,m.Leading);if(B.length<=Q&&!Z)return c(e)?K:_(K);let J,ee=r(B[G?1:0]).node,te=!s(ee)&&P(ee),ne=[V(B[0]),G?B.slice(1,2).map(V):"",te?y:"",Y(B.slice(G?2:1))],re=R.map(e=>{let{node:t}=e;return t}).filter(s);function ie(){let e=r(r(B)).node,t=r(W);return s(e)&&T(t)&&re.slice(0,-1).some(e=>e.arguments.some(u))}return J=Z||re.length>2&&re.some(e=>!e.arguments.every(e=>h(e,0)))||W.slice(0,-1).some(T)||ie()?_(ne):[T(K)||te?w:"",S([K,ne])],x("member-chain",J)}t.exports=I}}),tr=_({"src/language-js/print/call-expression.js"(e,t){C();var{builders:{join:n,group:r}}=Y(),i=zn(),{getCallArguments:o,hasFlowAnnotationComment:a,isCallExpression:s,isMemberish:l,isStringLiteral:u,isTemplateOnItsOwnLine:c,isTestCall:d,iterateCallArgumentsPath:p}=un(),h=er(),f=Zn(),{printOptionalToken:m,printFunctionTypeParameters:g}=Qn();function v(e,t,u){let v=e.getValue(),y=e.getParentNode(),_="NewExpression"===v.type,E="ImportExpression"===v.type,S=m(e),w=o(v);if(w.length>0&&(!E&&!_&&b(v,y)||1===w.length&&c(w[0],t.originalText)||!_&&d(v,y))){let r=[];return p(e,()=>{r.push(u())}),[_?"new ":"",u("callee"),S,g(e,t,u),"(",n(", ",r),")"]}let x=("babel"===t.parser||"babel-flow"===t.parser)&&v.callee&&"Identifier"===v.callee.type&&a(v.callee.trailingComments);if(x&&(v.callee.trailingComments[0].printed=!0),!E&&!_&&l(v.callee)&&!e.call(e=>i(e,t),"callee"))return h(e,t,u);let C=[_?"new ":"",E?"import":u("callee"),S,x?`/*:: ${v.callee.trailingComments[0].value.slice(2).trim()} */`:"",g(e,t,u),f(e,t,u)];return E||s(v.callee)?r(C):C}function b(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){let n=o(e);return"ExpressionStatement"===t.type&&(1===n.length||2===n.length&&"ArrayExpression"===n[0].type||3===n.length&&u(n[0])&&"ArrayExpression"===n[1].type)}return!1}t.exports={printCallExpression:v}}}),nr=_({"src/language-js/print/assignment.js"(e,t){C();var{isNonEmptyArray:n,getStringWidth:r}=ge(),{builders:{line:i,group:o,indent:a,indentIfBreak:s,lineSuffixBoundary:l},utils:{cleanDoc:u,willBreak:c,canBreak:d}}=Y(),{hasLeadingOwnLineComment:p,isBinaryish:h,isStringLiteral:f,isLiteral:m,isNumericLiteral:g,isCallExpression:v,isMemberExpression:b,getCallArguments:y,rawText:_,hasComment:E,isSignedNumericLiteral:S,isObjectProperty:w}=un(),{shouldInlineLogicalExpression:x}=Yn(),{printCallExpression:T}=tr();function D(e,t,n,r,u,c){let d=k(e,t,n,r,c),p=n(c,{assignmentLayout:d});switch(d){case"break-after-operator":return o([o(r),u,o(a([i,p]))]);case"never-break-after-operator":return o([o(r),u," ",p]);case"fluid":{let e=Symbol("assignment");return o([o(r),u,o(a(i),{id:e}),l,s(p,{groupId:e})])}case"break-lhs":return o([r,u," ",o(p)]);case"chain":return[o(r),u,i,p];case"chain-tail":return[o(r),u,a([i,p])];case"chain-tail-arrow-chain":return[o(r),u,p];case"only-left":return r}}function A(e,t,n){let r=e.getValue();return D(e,t,n,n("left"),[" ",r.operator],"right")}function O(e,t,n){return D(e,t,n,n("id")," =","init")}function k(e,t,n,r,i){let o=e.getValue(),a=o[i];if(!a)return"only-left";let s=!M(a);if(e.match(M,R,e=>!s||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type))return s?"ArrowFunctionExpression"===a.type&&"ArrowFunctionExpression"===a.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!s&&M(a.right)||p(t.originalText,a))return"break-after-operator";if("CallExpression"===a.type&&"require"===a.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(I(o)||P(o)||B(o)||j(o)&&d(r))return"break-lhs";let l=G(o,r,t);return e.call(()=>N(e,t,n,l),i)?"break-after-operator":l||"TemplateLiteral"===a.type||"TaggedTemplateExpression"===a.type||"BooleanLiteral"===a.type||g(a)||"ClassExpression"===a.type?"never-break-after-operator":"fluid"}function N(e,t,r,i){let o=e.getValue();if(h(o)&&!x(o))return!0;switch(o.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=o;return h(e)&&!x(e)}case"ClassExpression":return n(o.decorators)}if(i)return!1;let a=o,s=[];for(;;)if("UnaryExpression"===a.type)a=a.argument,s.push("argument");else{if("TSNonNullExpression"!==a.type)break;a=a.expression,s.push("expression")}return!(!f(a)&&!e.call(()=>$(e,t,r),...s))}function I(e){if(R(e)){let t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some(e=>w(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type))}return!1}function M(e){return"AssignmentExpression"===e.type}function R(e){return M(e)||"VariableDeclarator"===e.type}function P(e){let t=L(e);if(n(t)){let n="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some(e=>e[n]||e.default))return!0}return!1}function L(e){return F(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function F(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}function B(e){if("VariableDeclarator"!==e.type)return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let r=U(t.typeAnnotation);return n(r)&&r.length>1&&r.some(e=>n(U(e))||"TSConditionalType"===e.type)}function j(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function U(e){return q(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function q(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}function $(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.getValue(),o=()=>$(e,t,n,!0);if("TSNonNullExpression"===i.type)return e.call(o,"expression");if(v(i)){if("member-chain"===T(e,t,n).label)return!1;let r=y(i);return!(!(0===r.length||1===r.length&&z(r[0],t))||V(i,n))&&e.call(o,"callee")}return b(i)?e.call(o,"object"):r&&("Identifier"===i.type||"ThisExpression"===i.type)}var H=.25;function z(e,t){let{printWidth:n}=t;if(E(e))return!1;let r=n*H;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=r||S(e)&&!E(e.argument))return!0;let i="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return i?i.length<=r:f(e)?_(e).length<=r:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes("\n"):m(e)}function G(e,t,n){if(!w(e))return!1;t=u(t);let i=3;return"string"==typeof t&&r(t)1)return!0;if(1===r.length){let e=r[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"ObjectTypeAnnotation"===e.type)return!0}let n=e.typeParameters?"typeParameters":"typeArguments";if(c(t(n)))return!0}return!1}function W(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}t.exports={printVariableDeclarator:O,printAssignmentExpression:A,printAssignment:D,isArrowFunctionVariableDeclarator:j}}}),rr=_({"src/language-js/print/function-parameters.js"(e,t){C();var{getNextNonSpaceNonCommentCharacter:n}=ge(),{printDanglingComments:r}=Wt(),{builders:{line:i,hardline:o,softline:a,group:s,indent:l,ifBreak:u},utils:{removeLines:c,willBreak:d}}=Y(),{getFunctionParameters:p,iterateFunctionParametersPath:h,isSimpleType:f,isTestCall:m,isTypeAnnotationAFunction:g,isObjectType:v,isObjectTypePropertyAFunction:b,hasRestParameter:y,shouldPrintComma:_,hasComment:E,isNextLineEmpty:S}=un(),{locEnd:w}=Ut(),{ArgExpansionBailout:x}=Be(),{printFunctionTypeParameters:T}=Qn();function D(e,t,v,E,C){let D=e.getValue(),O=p(D),k=C?T(e,v,t):"";if(0===O.length)return[k,"(",r(e,v,!0,e=>")"===n(v.originalText,e,w)),")"];let N=e.getParentNode(),I=m(N),M=A(D),R=[];if(h(e,(e,n)=>{let r=n===O.length-1;r&&D.rest&&R.push("..."),R.push(t()),!r&&(R.push(","),I||M?R.push(" "):S(O[n],v)?R.push(o,o):R.push(i))}),E){if(d(k)||d(R))throw new x;return s([c(k),"(",c(R),")"])}let P=O.every(e=>!e.decorators);return M&&P||I?[k,"(",...R,")"]:(b(N)||g(N)||"TypeAlias"===N.type||"UnionTypeAnnotation"===N.type||"TSUnionType"===N.type||"IntersectionTypeAnnotation"===N.type||"FunctionTypeAnnotation"===N.type&&N.returnType===D)&&1===O.length&&null===O[0].name&&D.this!==O[0]&&O[0].typeAnnotation&&null===D.typeParameters&&f(O[0].typeAnnotation)&&!D.rest?"always"===v.arrowParens?["(",...R,")"]:R:[k,"(",l([a,...R]),u(!y(D)&&_(v,"all")?",":""),a,")"]}function A(e){if(!e)return!1;let t=p(e);if(1!==t.length)return!1;let[n]=t;return!E(n)&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&v(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&v(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}function O(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function k(e,t){let n=O(e);if(!n)return!1;let r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(1===r.length){let e=r[0];if(e.constraint||e.default)return!1}}return 1===p(e).length&&(v(n)||d(t))}t.exports={printFunctionParameters:D,shouldHugFunctionParameters:A,shouldGroupFunctionParameters:k}}}),ir=_({"src/language-js/print/type-annotation.js"(e,t){C();var{printComments:n,printDanglingComments:r}=Wt(),{isNonEmptyArray:i}=ge(),{builders:{group:o,join:a,line:s,softline:l,indent:u,align:c,ifBreak:d}}=Y(),p=zn(),{locStart:h}=Ut(),{isSimpleType:f,isObjectType:m,hasLeadingOwnLineComment:g,isObjectTypePropertyAFunction:v,shouldPrintComma:b}=un(),{printAssignment:y}=nr(),{printFunctionParameters:_,shouldGroupFunctionParameters:E}=rr(),{printArrayItems:S}=Xn();function w(e){if(f(e)||m(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){let t=e.types.filter(e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type).length,n=e.types.some(e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type);if(e.types.length-1===t&&n)return!0}return!1}function x(e,t,n){let r=t.semi?";":"",i=e.getValue(),o=[];return o.push("opaque type ",n("id"),n("typeParameters")),i.supertype&&o.push(": ",n("supertype")),i.impltype&&o.push(" = ",n("impltype")),o.push(r),o}function T(e,t,n){let r=t.semi?";":"",i=e.getValue(),o=[];i.declare&&o.push("declare "),o.push("type ",n("id"),n("typeParameters"));let a="TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right";return[y(e,t,n,o," =",a),r]}function D(e,t,n){let r=e.getValue(),i=e.map(n,"types"),a=[],l=!1;for(let o=0;o1&&(l=!0),a.push(" & ",o>1?u(i[o]):i[o])):a.push(u([" &",s,i[o]]));return o(a)}function A(e,t,r){let i=e.getValue(),h=e.getParentNode(),f="TypeParameterInstantiation"!==h.type&&"TSTypeParameterInstantiation"!==h.type&&"GenericTypeAnnotation"!==h.type&&"TSTypeReference"!==h.type&&"TSTypeAssertion"!==h.type&&"TupleTypeAnnotation"!==h.type&&"TSTupleType"!==h.type&&!("FunctionTypeParam"===h.type&&!h.name&&e.getParentNode(1).this!==h)&&!(("TypeAlias"===h.type||"VariableDeclarator"===h.type||"TSTypeAliasDeclaration"===h.type)&&g(t.originalText,i)),m=w(i),v=e.map(e=>{let i=r();return m||(i=c(2,i)),n(e,i,t)},"types");if(m)return a(" | ",v);let b=f&&!g(t.originalText,i),y=[d([b?s:"","| "]),a([s,"| "],v)];return p(e,t)?o([u(y),l]):"TupleTypeAnnotation"===h.type&&h.types.length>1||"TSTupleType"===h.type&&h.elementTypes.length>1?o([u([d(["(",l]),y]),l,d(")")]):o(f?u(y):y)}function O(e,t,n){let r=e.getValue(),i=[],a=e.getParentNode(0),s=e.getParentNode(1),l=e.getParentNode(2),u="TSFunctionType"===r.type||!(("ObjectTypeProperty"===a.type||"ObjectTypeInternalSlot"===a.type)&&!a.variance&&!a.optional&&h(a)===h(r)||"ObjectTypeCallProperty"===a.type||l&&"DeclareFunction"===l.type),c=u&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type),d=c&&u&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type)&&"ArrowFunctionExpression"===s.type;v(a)&&(u=!0,c=!0),d&&i.push("(");let p=_(e,n,t,!1,!0),f=r.returnType||r.predicate||r.typeAnnotation?[u?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",m=E(r,f);return i.push(m?o(p):p),f&&i.push(f),d&&i.push(")"),o(i)}function k(e,t,n){let a=e.getValue(),s="TSTupleType"===a.type?"elementTypes":"types",c=a[s],p=i(c),h=p?l:"";return o(["[",u([h,S(e,t,s,n)]),d(p&&b(t,"all")?",":""),r(e,t,!0),h,"]"])}function N(e,t,n){let r=e.getValue(),i="OptionalIndexedAccessType"===r.type&&r.optional?"?.[":"[";return[n("objectType"),i,n("indexType"),"]"]}function I(e,t,n){let r=e.getValue();return[r.postfix?"":n,t("typeAnnotation"),r.postfix?n:""]}t.exports={printOpaqueType:x,printTypeAlias:T,printIntersectionType:D,printUnionType:A,printFunctionType:O,printTupleType:k,printIndexedAccessType:N,shouldHugType:w,printJSDocType:I}}}),or=_({"src/language-js/print/type-parameters.js"(e,t){C();var{printDanglingComments:n}=Wt(),{builders:{join:r,line:i,hardline:o,softline:a,group:s,indent:l,ifBreak:u}}=Y(),{isTestCall:c,hasComment:d,CommentCheckFlags:p,isTSXFile:h,shouldPrintComma:f,getFunctionParameters:m,isObjectType:g,getTypeScriptMappedTypeModifier:v}=un(),{createGroupIdMapper:b}=ge(),{shouldHugType:y}=ir(),{isArrowFunctionVariableDeclarator:_}=nr(),E=b("typeParameters");function S(e,t,n,o){let d=e.getValue();if(!d[o])return"";if(!Array.isArray(d[o]))return n(o);let p=e.getNode(2),v=p&&c(p),b=e.match(e=>!(1===e[o].length&&g(e[o][0])),void 0,(e,t)=>"typeAnnotation"===t,e=>"Identifier"===e.type,_);if(0===d[o].length||!b&&(v||1===d[o].length&&("NullableTypeAnnotation"===d[o][0].type||y(d[o][0]))))return["<",r(", ",e.map(n,o)),w(e,t),">"];let S="TSTypeParameterInstantiation"===d.type?"":1===m(d).length&&h(t)&&!d[o][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":f(t,"all")?u(","):"";return s(["<",l([a,r([",",i],e.map(n,o))]),S,a,">"],{id:E(d)})}function w(e,t){let r=e.getValue();if(!d(r,p.Dangling))return"";let i=!d(r,p.Line),a=n(e,t,i);return i?a:[a,o]}function x(e,t,n){let r=e.getValue(),i=["TSTypeParameter"===r.type&&r.const?"const ":""],o=e.getParentNode();return"TSMappedType"===o.type?(o.readonly&&i.push(v(o.readonly,"readonly")," "),i.push("[",n("name")),r.constraint&&i.push(" in ",n("constraint")),o.nameType&&i.push(" as ",e.callParent(()=>n("nameType"))),i.push("]"),i):(r.variance&&i.push(n("variance")),r.in&&i.push("in "),r.out&&i.push("out "),i.push(n("name")),r.bound&&i.push(": ",n("bound")),r.constraint&&i.push(" extends ",n("constraint")),r.default&&i.push(" = ",n("default")),i)}t.exports={printTypeParameter:x,printTypeParameters:S,getTypeParametersGroupId:E}}}),ar=_({"src/language-js/print/property.js"(e,t){C();var{printComments:n}=Wt(),{printString:r,printNumber:i}=ge(),{isNumericLiteral:o,isSimpleNumber:a,isStringLiteral:s,isStringPropSafeToUnquote:l,rawText:u}=un(),{printAssignment:c}=nr(),d=new WeakMap;function p(e,t,c){let p=e.getNode();if(p.computed)return["[",c("key"),"]"];let h=e.getParentNode(),{key:f}=p;if("consistent"===t.quoteProps&&!d.has(h)){let e=(h.properties||h.body||h.members).some(e=>!e.computed&&e.key&&s(e.key)&&!l(e,t));d.set(h,e)}if(("Identifier"===f.type||o(f)&&a(i(u(f)))&&String(f.value)===i(u(f))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&d.get(h))){let i=r(JSON.stringify("Identifier"===f.type?f.name:f.value.toString()),t);return e.call(e=>n(e,i,t),"key")}return l(p,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!d.get(h))?e.call(e=>n(e,/^\d/.test(f.value)?i(f.value):f.value,t),"key"):c("key")}function h(e,t,n){return e.getValue().shorthand?n("value"):c(e,t,n,p(e,t,n),":","value")}t.exports={printProperty:h,printPropertyKey:p}}}),sr=_({"src/language-js/print/function.js"(e,t){C();var n=Yt(),{printDanglingComments:r,printCommentsSeparately:i}=Wt(),o=N(),{getNextNonSpaceNonCommentCharacterIndex:a}=ge(),{builders:{line:s,softline:l,group:u,indent:c,ifBreak:d,hardline:p,join:h,indentIfBreak:f},utils:{removeLines:m,willBreak:g}}=Y(),{ArgExpansionBailout:v}=Be(),{getFunctionParameters:b,hasLeadingOwnLineComment:y,isFlowAnnotationComment:_,isJsxNode:E,isTemplateOnItsOwnLine:S,shouldPrintComma:w,startsWithNoLookaheadToken:x,isBinaryish:T,isLineComment:D,hasComment:A,getComments:O,CommentCheckFlags:k,isCallLikeExpression:I,isCallExpression:M,getCallArguments:R,hasNakedLeftSide:P,getLeftSide:L}=un(),{locEnd:F}=Ut(),{printFunctionParameters:B,shouldGroupFunctionParameters:j}=rr(),{printPropertyKey:U}=ar(),{printFunctionTypeParameters:q}=Qn();function $(e,t,n,r){let i=e.getValue(),o=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&r&&r.expandLastArg){let t=e.getParentNode();M(t)&&R(t).length>1&&(o=!0)}let a=[];"TSDeclareFunction"===i.type&&i.declare&&a.push("declare "),i.async&&a.push("async "),i.generator?a.push("function* "):a.push("function "),i.id&&a.push(t("id"));let s=B(e,t,n,o),l=X(e,t,n),c=j(i,l);return a.push(q(e,n,t),u([c?u(s):s,l]),i.body?" ":"",t("body")),n.semi&&(i.declare||!i.body)&&a.push(";"),a}function H(e,t,r){let i=e.getNode(),{kind:o}=i,a=i.value||i,s=[];return o&&"init"!==o&&"method"!==o&&"constructor"!==o?(n.ok("get"===o||"set"===o),s.push(o," ")):a.async&&s.push("async "),a.generator&&s.push("*"),s.push(U(e,t,r),i.optional||i.key.optional?"?":""),i===a?s.push(z(e,t,r)):"FunctionExpression"===a.type?s.push(e.call(e=>z(e,t,r),"value")):s.push(r("value")),s}function z(e,t,n){let r=e.getNode(),i=B(e,n,t),o=X(e,n,t),a=j(r,o),s=[q(e,t,n),u([a?u(i):i,o])];return r.body?s.push(" ",n("body")):s.push(t.semi?";":""),s}function G(e,t,n,i){let o=e.getValue(),s=[];if(o.async&&s.push("async "),Q(e,t))s.push(n(["params",0]));else{let r=i&&(i.expandLastArg||i.expandFirstArg),o=X(e,n,t);if(r){if(g(o))throw new v;o=u(m(o))}s.push(u([B(e,n,t,r,!0),o]))}let l=r(e,t,!0,e=>{let n=a(t.originalText,e,F);return!1!==n&&"=>"===t.originalText.slice(n,n+2)});return l&&s.push(" ",l),s}function V(e,t,n,r,i,o){let a=e.getName(),p=e.getParentNode(),m=I(p)&&"callee"===a,g=Boolean(t&&t.assignmentLayout),v="BlockStatement"!==o.body.type&&"ObjectExpression"!==o.body.type&&"SequenceExpression"!==o.body.type,b=m&&v||t&&"chain-tail-arrow-chain"===t.assignmentLayout,y=Symbol("arrow-chain");return"SequenceExpression"===o.body.type&&(i=u(["(",c([l,i]),l,")"])),u([u(c([m||g?l:"",u(h([" =>",s],n),{shouldBreak:r})]),{id:y,shouldBreak:b})," =>",f(v?c([s,i]):[" ",i],{groupId:y}),m?d(l,"",{groupId:y}):""])}function W(e,t,n,r){let o=e.getValue(),a=[],p=[],h=!1;if(function s(){let l=G(e,t,n,r);if(0===a.length)a.push(l);else{let{leading:n,trailing:r}=i(e,t);a.push([n,l]),p.unshift(r)}h=h||o.returnType&&b(o).length>0||o.typeParameters||b(o).some(e=>"Identifier"!==e.type),"ArrowFunctionExpression"!==o.body.type||r&&r.expandLastArg?p.unshift(n("body",r)):(o=o.body,e.call(s,"body"))}(),a.length>1)return V(e,r,a,h,p,o);let f=a;if(f.push(" =>"),!y(t.originalText,o.body)&&("ArrayExpression"===o.body.type||"ObjectExpression"===o.body.type||"BlockStatement"===o.body.type||E(o.body)||S(o.body,t.originalText)||"ArrowFunctionExpression"===o.body.type||"DoExpression"===o.body.type))return u([...f," ",p]);if("SequenceExpression"===o.body.type)return u([...f,u([" (",c([l,p]),l,")"])]);let m=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!A(o),g=r&&r.expandLastArg&&w(t,"all"),v="ConditionalExpression"===o.body.type&&!x(o.body,e=>"ObjectExpression"===e.type);return u([...f,u([c([s,v?d("","("):"",p,v?d("",")"):""]),m?[d(g?",":""),l]:""])])}function K(e){let t=b(e);return 1===t.length&&!e.typeParameters&&!A(e,k.Dangling)&&"Identifier"===t[0].type&&!t[0].typeAnnotation&&!A(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function Q(e,t){if("always"===t.arrowParens)return!1;if("avoid"===t.arrowParens){let t=e.getValue();return K(t)}return!1}function X(e,t,n){let r=e.getValue(),i=t("returnType");if(r.returnType&&_(n.originalText,r.returnType))return[" /*: ",i," */"];let o=[i];return r.returnType&&r.returnType.typeAnnotation&&o.unshift(": "),r.predicate&&o.push(r.returnType?" ":": ",t("predicate")),o}function Z(e,t,n){let i=e.getValue(),a=t.semi?";":"",s=[];i.argument&&(te(t,i.argument)?s.push([" (",c([p,n("argument")]),p,")"]):T(i.argument)||"SequenceExpression"===i.argument.type?s.push(u([d(" ("," "),c([l,n("argument")]),l,d(")")])):s.push(" ",n("argument")));let h=O(i),f=o(h),m=f&&D(f);return m&&s.push(a),A(i,k.Dangling)&&s.push(" ",r(e,t,!0)),m||s.push(a),s}function J(e,t,n){return["return",Z(e,t,n)]}function ee(e,t,n){return["throw",Z(e,t,n)]}function te(e,t){if(y(e.originalText,t))return!0;if(P(t)){let n,r=t;for(;n=L(r);)if(r=n,y(e.originalText,r))return!0}return!1}t.exports={printFunction:$,printArrowFunction:W,printMethod:H,printReturnStatement:J,printThrowStatement:ee,printMethodInternal:z,shouldPrintParamsWithoutParens:Q}}}),lr=_({"src/language-js/print/decorators.js"(e,t){C();var{isNonEmptyArray:n,hasNewline:r}=ge(),{builders:{line:i,hardline:o,join:a,breakParent:s,group:l}}=Y(),{locStart:u,locEnd:c}=Ut(),{getParentExportDeclaration:d}=un();function p(e,t,n){let r=e.getValue();return l([a(i,e.map(n,"decorators")),m(r,t)?o:i])}function h(e,t,n){return[a(o,e.map(n,"declaration","decorators")),o]}function f(e,t,r){let l=e.getValue(),{decorators:u}=l;if(!n(u)||g(e.getParentNode()))return;let c="ClassExpression"===l.type||"ClassDeclaration"===l.type||m(l,t);return[d(e)?o:c?s:"",a(i,e.map(r,"decorators")),i]}function m(e,t){return e.decorators.some(e=>r(t.originalText,c(e)))}function g(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;let t=e.declaration&&e.declaration.decorators;return n(t)&&u(e)===u(t[0])}t.exports={printDecorators:f,printClassMemberDecorators:p,printDecoratorsBeforeExport:h,hasDecoratorsBeforeExport:g}}}),ur=_({"src/language-js/print/class.js"(e,t){C();var{isNonEmptyArray:n,createGroupIdMapper:r}=ge(),{printComments:i,printDanglingComments:o}=Wt(),{builders:{join:a,line:s,hardline:l,softline:u,group:c,indent:d,ifBreak:p}}=Y(),{hasComment:h,CommentCheckFlags:f}=un(),{getTypeParametersGroupId:m}=or(),{printMethod:g}=sr(),{printOptionalToken:v,printTypeAnnotation:b,printDefiniteToken:y}=Qn(),{printPropertyKey:_}=ar(),{printAssignment:E}=nr(),{printClassMemberDecorators:S}=lr();function w(e,t,r){let o=e.getValue(),a=[];o.declare&&a.push("declare "),o.abstract&&a.push("abstract "),a.push("class");let l=o.id&&h(o.id,f.Trailing)||o.typeParameters&&h(o.typeParameters,f.Trailing)||o.superClass&&h(o.superClass)||n(o.extends)||n(o.mixins)||n(o.implements),u=[],p=[];if(o.id&&u.push(" ",r("id")),u.push(r("typeParameters")),o.superClass){let n=[k(e,t,r),r("superTypeParameters")],o=e.call(e=>["extends ",i(e,n,t)],"superClass");l?p.push(s,c(o)):p.push(" ",o)}else p.push(O(e,t,r,"extends"));if(p.push(O(e,t,r,"mixins"),O(e,t,r,"implements")),l){let e;e=A(o)?[...u,d(p)]:d([...u,p]),a.push(c(e,{id:x(o)}))}else a.push(...u,...p);return a.push(" ",r("body")),a}var x=r("heritageGroup");function T(e){return p(l,"",{groupId:x(e)})}function D(e){return["superClass","extends","mixins","implements"].filter(t=>Boolean(e[t])).length>1}function A(e){return e.typeParameters&&!h(e.typeParameters,f.Trailing|f.Line)&&!D(e)}function O(e,t,r,i){let u=e.getValue();if(!n(u[i]))return"";let h=o(e,t,!0,e=>{let{marker:t}=e;return t===i});return[A(u)?p(" ",s,{groupId:m(u.typeParameters)}):s,h,h&&l,i,c(d([s,a([",",s],e.map(r,i))]))]}function k(e,t,n){let r=n("superClass");return"AssignmentExpression"===e.getParentNode().type?c(p(["(",d([u,r]),u,")"],r)):r}function N(e,t,r){let i=e.getValue(),o=[];return n(i.decorators)&&o.push(S(e,t,r)),i.accessibility&&o.push(i.accessibility+" "),i.readonly&&o.push("readonly "),i.declare&&o.push("declare "),i.static&&o.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&o.push("abstract "),i.override&&o.push("override "),o.push(g(e,t,r)),o}function I(e,t,r){let i=e.getValue(),o=[],a=t.semi?";":"";return n(i.decorators)&&o.push(S(e,t,r)),i.accessibility&&o.push(i.accessibility+" "),i.declare&&o.push("declare "),i.static&&o.push("static "),("TSAbstractPropertyDefinition"===i.type||"TSAbstractAccessorProperty"===i.type||i.abstract)&&o.push("abstract "),i.override&&o.push("override "),i.readonly&&o.push("readonly "),i.variance&&o.push(r("variance")),("ClassAccessorProperty"===i.type||"AccessorProperty"===i.type||"TSAbstractAccessorProperty"===i.type)&&o.push("accessor "),o.push(_(e,t,r),v(e),y(e),b(e,t,r)),[E(e,t,r,o," =","value"),a]}t.exports={printClass:w,printClassMethod:N,printClassProperty:I,printHardlineAfterHeritage:T}}}),cr=_({"src/language-js/print/interface.js"(e,t){C();var{isNonEmptyArray:n}=ge(),{builders:{join:r,line:i,group:o,indent:a,ifBreak:s}}=Y(),{hasComment:l,identity:u,CommentCheckFlags:c}=un(),{getTypeParametersGroupId:d}=or(),{printTypeScriptModifiers:p}=Qn();function h(e,t,h){let f=e.getValue(),m=[];f.declare&&m.push("declare "),"TSInterfaceDeclaration"===f.type&&m.push(f.abstract?"abstract ":"",p(e,t,h)),m.push("interface");let g=[],v=[];"InterfaceTypeAnnotation"!==f.type&&g.push(" ",h("id"),h("typeParameters"));let b=f.typeParameters&&!l(f.typeParameters,c.Trailing|c.Line);return n(f.extends)&&v.push(b?s(" ",i,{groupId:d(f.typeParameters)}):i,"extends ",(1===f.extends.length?u:a)(r([",",i],e.map(h,"extends")))),f.id&&l(f.id,c.Trailing)||n(f.extends)?b?m.push(o([...g,a(v)])):m.push(o(a([...g,...v]))):m.push(...g,...v),m.push(" ",h("body")),o(m)}t.exports={printInterface:h}}}),dr=_({"src/language-js/print/module.js"(e,t){C();var{isNonEmptyArray:n}=ge(),{builders:{softline:r,group:i,indent:o,join:a,line:s,ifBreak:l,hardline:u}}=Y(),{printDanglingComments:c}=Wt(),{hasComment:d,CommentCheckFlags:p,shouldPrintComma:h,needsHardlineAfterDanglingComment:f,isStringLiteral:m,rawText:g}=un(),{locStart:v,hasSameLoc:b}=Ut(),{hasDecoratorsBeforeExport:y,printDecoratorsBeforeExport:_}=lr();function E(e,t,n){let r=e.getValue(),i=t.semi?";":"",o=[],{importKind:a}=r;return o.push("import"),a&&"value"!==a&&o.push(" ",a),o.push(D(e,t,n),T(e,t,n),O(e,t,n),i),o}function S(e,t,n){let r=e.getValue(),i=[];y(r)&&i.push(_(e,t,n));let{type:o,exportKind:a,declaration:s}=r;return i.push("export"),(r.default||"ExportDefaultDeclaration"===o)&&i.push(" default"),d(r,p.Dangling)&&(i.push(" ",c(e,t,!0)),f(r)&&i.push(u)),s?i.push(" ",n("declaration")):i.push("type"===a?" type":"",D(e,t,n),T(e,t,n),O(e,t,n)),x(r,t)&&i.push(";"),i}function w(e,t,n){let r=e.getValue(),i=t.semi?";":"",o=[],{exportKind:a,exported:s}=r;return o.push("export"),"type"===a&&o.push(" type"),o.push(" *"),s&&o.push(" as ",n("exported")),o.push(T(e,t,n),O(e,t,n),i),o}function x(e,t){if(!t.semi)return!1;let{type:n,declaration:r}=e,i=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;let{type:o}=r;return!(!i||"ClassDeclaration"===o||"FunctionDeclaration"===o||"TSInterfaceDeclaration"===o||"DeclareClass"===o||"DeclareFunction"===o||"TSDeclareFunction"===o||"EnumDeclaration"===o)}function T(e,t,n){let r=e.getValue();if(!r.source)return"";let i=[];return A(r,t)||i.push(" from"),i.push(" ",n("source")),i}function D(e,t,u){let c=e.getValue();if(A(c,t))return"";let p=[" "];if(n(c.specifiers)){let n=[],f=[];e.each(()=>{let t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)n.push(u());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error("Unknown specifier type "+JSON.stringify(t));f.push(u())}},"specifiers"),p.push(a(", ",n)),f.length>0&&(n.length>0&&p.push(", "),f.length>1||n.length>0||c.specifiers.some(e=>d(e))?p.push(i(["{",o([t.bracketSpacing?s:r,a([",",s],f)]),l(h(t)?",":""),t.bracketSpacing?s:r,"}"])):p.push(["{",t.bracketSpacing?" ":"",...f,t.bracketSpacing?" ":"","}"]))}else p.push("{}");return p}function A(e,t){let{type:r,importKind:i,source:o,specifiers:a}=e;return"ImportDeclaration"===r&&!n(a)&&"type"!==i&&!/{\s*}/.test(t.originalText.slice(v(e),v(o)))}function O(e,t,r){let i=e.getNode();return n(i.assertions)?[" assert {",t.bracketSpacing?" ":"",a(", ",e.map(r,"assertions")),t.bracketSpacing?" ":"","}"]:""}function k(e,t,n){let r=e.getNode(),{type:i}=r,o=[],a="ImportSpecifier"===i?r.importKind:r.exportKind;a&&"value"!==a&&o.push(a," ");let s=i.startsWith("Import"),l=s?"imported":"local",u=s?"local":"exported",c=r[l],d=r[u],p="",h="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?p="*":c&&(p=n(l)),d&&!N(r)&&(h=n(u)),o.push(p,p&&h?" as ":"",h),o}function N(e){if("ImportSpecifier"!==e.type&&"ExportSpecifier"!==e.type)return!1;let{local:t,["ImportSpecifier"===e.type?"imported":"exported"]:n}=e;if(t.type!==n.type||!b(t,n))return!1;if(m(t))return t.value===n.value&&g(t)===g(n);switch(t.type){case"Identifier":return t.name===n.name;default:return!1}}t.exports={printImportDeclaration:E,printExportDeclaration:S,printExportAllDeclaration:w,printModuleSpecifier:k}}}),pr=_({"src/language-js/print/object.js"(e,t){C();var{printDanglingComments:n}=Wt(),{builders:{line:r,softline:i,group:o,indent:a,ifBreak:s,hardline:l}}=Y(),{getLast:u,hasNewlineInRange:c,hasNewline:d,isNonEmptyArray:p}=ge(),{shouldPrintComma:h,hasComment:f,getComments:m,CommentCheckFlags:g,isNextLineEmpty:v}=un(),{locStart:b,locEnd:y}=Ut(),{printOptionalToken:_,printTypeAnnotation:E}=Qn(),{shouldHugFunctionParameters:S}=rr(),{shouldHugType:w}=ir(),{printHardlineAfterHeritage:x}=ur();function T(e,t,C){let T,D=t.semi?";":"",A=e.getValue();T="TSTypeLiteral"===A.type?"members":"TSInterfaceBody"===A.type?"body":"properties";let O="ObjectTypeAnnotation"===A.type,k=[T];O&&k.push("indexers","callProperties","internalSlots");let N=k.map(e=>A[e][0]).sort((e,t)=>b(e)-b(t))[0],I=e.getParentNode(0),M=O&&I&&("InterfaceDeclaration"===I.type||"DeclareInterface"===I.type||"DeclareClass"===I.type)&&"body"===e.getName(),R="TSInterfaceBody"===A.type||M||"ObjectPattern"===A.type&&"FunctionDeclaration"!==I.type&&"FunctionExpression"!==I.type&&"ArrowFunctionExpression"!==I.type&&"ObjectMethod"!==I.type&&"ClassMethod"!==I.type&&"ClassPrivateMethod"!==I.type&&"AssignmentPattern"!==I.type&&"CatchClause"!==I.type&&A.properties.some(e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type))||"ObjectPattern"!==A.type&&N&&c(t.originalText,b(A),b(N)),P=M?";":"TSInterfaceBody"===A.type||"TSTypeLiteral"===A.type?s(D,";"):",",L="RecordExpression"===A.type?"#{":A.exact?"{|":"{",F=A.exact?"|}":"}",B=[];for(let n of k)e.each(e=>{let t=e.getValue();B.push({node:t,printed:C(),loc:b(t)})},n);k.length>1&&B.sort((e,t)=>e.loc-t.loc);let j=[],U=B.map(e=>{let n=[...j,o(e.printed)];return j=[P,r],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&f(e.node,g.PrettierIgnore)&&j.shift(),v(e.node,t)&&j.push(l),n});if(A.inexact){let i;if(f(A,g.Dangling)){let o=f(A,g.Line);i=[n(e,t,!0),o||d(t.originalText,y(u(m(A))))?l:r,"..."]}else i=["..."];U.push([...j,...i])}let q,$=u(A[T]),H=!(A.inexact||$&&"RestElement"===$.type||$&&("TSPropertySignature"===$.type||"TSCallSignatureDeclaration"===$.type||"TSMethodSignature"===$.type||"TSConstructSignatureDeclaration"===$.type)&&f($,g.PrettierIgnore));if(0===U.length){if(!f(A,g.Dangling))return[L,F,E(e,t,C)];q=o([L,n(e,t),i,F,_(e),E(e,t,C)])}else q=[M&&p(A.properties)?x(I):"",L,a([t.bracketSpacing?r:i,...U]),s(H&&(","!==P||h(t))?P:""),t.bracketSpacing?r:i,F,_(e),E(e,t,C)];return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,n)=>S(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)||e.match(w,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,n)=>S(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)||!R&&e.match(e=>"ObjectPattern"===e.type,e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type)?q:o(q,{shouldBreak:R})}t.exports={printObject:T}}}),hr=_({"src/language-js/print/flow.js"(e,t){C();var n=Yt(),{printDanglingComments:r}=Wt(),{printString:i,printNumber:o}=ge(),{builders:{hardline:a,softline:s,group:l,indent:u}}=Y(),{getParentExportDeclaration:c,isFunctionNotation:d,isGetterOrSetter:p,rawText:h,shouldPrintComma:f}=un(),{locStart:m,locEnd:g}=Ut(),{replaceTextEndOfLine:v}=z(),{printClass:b}=ur(),{printOpaqueType:y,printTypeAlias:_,printIntersectionType:E,printUnionType:S,printFunctionType:w,printTupleType:x,printIndexedAccessType:T}=ir(),{printInterface:D}=cr(),{printTypeParameter:A,printTypeParameters:O}=or(),{printExportDeclaration:k,printExportAllDeclaration:N}=dr(),{printArrayItems:I}=Xn(),{printObject:M}=pr(),{printPropertyKey:R}=ar(),{printOptionalToken:P,printTypeAnnotation:L,printRestSpread:F}=Qn();function B(e,t,c){let C=e.getValue(),B=t.semi?";":"",U=[];switch(C.type){case"DeclareClass":return j(e,b(e,t,c));case"DeclareFunction":return j(e,["function ",c("id"),C.predicate?" ":"",c("predicate"),B]);case"DeclareModule":return j(e,["module ",c("id")," ",c("body")]);case"DeclareModuleExports":return j(e,["module.exports",": ",c("typeAnnotation"),B]);case"DeclareVariable":return j(e,["var ",c("id"),B]);case"DeclareOpaqueType":return j(e,y(e,t,c));case"DeclareInterface":return j(e,D(e,t,c));case"DeclareTypeAlias":return j(e,_(e,t,c));case"DeclareExportDeclaration":return j(e,k(e,t,c));case"DeclareExportAllDeclaration":return j(e,N(e,t,c));case"OpaqueType":return y(e,t,c);case"TypeAlias":return _(e,t,c);case"IntersectionTypeAnnotation":return E(e,t,c);case"UnionTypeAnnotation":return S(e,t,c);case"FunctionTypeAnnotation":return w(e,t,c);case"TupleTypeAnnotation":return x(e,t,c);case"GenericTypeAnnotation":return[c("id"),O(e,t,c,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return T(e,t,c);case"TypeAnnotation":return c("typeAnnotation");case"TypeParameter":return A(e,t,c);case"TypeofTypeAnnotation":return["typeof ",c("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[c("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(C.value);case"EnumDeclaration":return["enum ",c("id")," ",c("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===C.type||C.explicitType){let e=null;switch(C.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol";break}U.push("of ",e," ")}if(0!==C.members.length||C.hasUnknownMembers){let n=C.members.length>0?[a,I(e,t,"members",c),C.hasUnknownMembers||f(t)?",":""]:[];U.push(l(["{",u([...n,...C.hasUnknownMembers?[a,"..."]:[]]),r(e,t,!0),a,"}"]))}else U.push(l(["{",r(e,t),s,"}"]));return U;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[c("id")," = ","object"==typeof C.init?c("init"):String(C.init)];case"EnumDefaultedMember":return c("id");case"FunctionTypeParam":{let t=C.name?c("name"):e.getParentNode().this===C?"this":"";return[t,P(e),t?": ":"",c("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return D(e,t,c);case"ClassImplements":case"InterfaceExtends":return[c("id"),c("typeParameters")];case"NullableTypeAnnotation":return["?",c("typeAnnotation")];case"Variance":{let{kind:e}=C;return n.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return C.static&&U.push("static "),U.push(c("value")),U;case"ObjectTypeIndexer":return[C.static?"static ":"",C.variance?c("variance"):"","[",c("id"),C.id?": ":"",c("key"),"]: ",c("value")];case"ObjectTypeProperty":{let n="";return C.proto?n="proto ":C.static&&(n="static "),[n,p(C)?C.kind+" ":"",C.variance?c("variance"):"",R(e,t,c),P(e),d(C)?"":": ",c("value")]}case"ObjectTypeAnnotation":return M(e,t,c);case"ObjectTypeInternalSlot":return[C.static?"static ":"","[[",c("id"),"]]",P(e),C.method?"":": ",c("value")];case"ObjectTypeSpreadProperty":return F(e,t,c);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[c("qualification"),".",c("id")];case"StringLiteralTypeAnnotation":return v(i(h(C),t));case"NumberLiteralTypeAnnotation":n.strictEqual(typeof C.value,"number");case"BigIntLiteralTypeAnnotation":return C.extra?o(C.extra.raw):o(C.raw);case"TypeCastExpression":return["(",c("expression"),L(e,t,c),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let n=O(e,t,c,"params");if("flow"===t.parser){let e=m(C),r=g(C),i=t.originalText.lastIndexOf("/*",e),o=t.originalText.indexOf("*/",r);if(-1!==i&&-1!==o){let e=t.originalText.slice(i+2,o).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",n," */"]}}return n}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",c("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(C.type))}}function j(e,t){let r=c(e);return r?(n.strictEqual(r.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:B}}}),fr=_({"src/language-js/utils/is-ts-keyword-type.js"(e,t){function n(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}C(),t.exports=n}}),mr=_({"src/language-js/print/ternary.js"(e,t){C();var{hasNewlineInRange:n}=ge(),{isJsxNode:r,getComments:i,isCallExpression:o,isMemberExpression:a,isTSTypeExpression:s}=un(),{locStart:l,locEnd:u}=Ut(),c=sn(),{builders:{line:d,softline:p,group:h,indent:f,align:m,ifBreak:g,dedent:v,breakParent:b}}=Y();function y(e){let t=[e];for(let n=0;nI[e]===w),R=I.type===w.type&&!M,P=0;do{E=s||w,s=e.getParentNode(P),P++}while(s&&s.type===w.type&&D.every(e=>s[e]!==E));let L=s||I,F=E;if(x&&(r(w[D[0]])||r(A)||r(O)||y(F))){N=!0,R=!0;let e=e=>[g("("),f([p,e]),p,g(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;k.push(" ? ",t(A)?o(C):e(o(C))," : ",O.type===w.type||t(O)?o(T):e(o(T)))}else{let e=[d,"? ",A.type===w.type?g("","("):"",m(2,o(C)),A.type===w.type?g("",")"):"",d,": ",O.type===w.type?o(T):m(2,o(T))];k.push(I.type!==w.type||I[T]===w||M?e:t.useTabs?v(f(e)):m(Math.max(0,t.tabWidth-2),e))}let B=[...D.map(e=>i(w[e])),i(A),i(O)].flat().some(e=>c(e)&&n(t.originalText,l(e),u(e))),j=e=>I===L?h(e,{shouldBreak:B}):B?[e,b]:e,U=!N&&(a(I)||"NGPipeExpression"===I.type&&I.left===w)&&!I.computed,q=S(e),$=j([_(e,t,o),R?k:f(k),x&&U&&!q?p:""]);return M||q?h([f([p,$]),p]):$}t.exports={printTernary:w}}}),gr=_({"src/language-js/print/statement.js"(e,t){C();var{builders:{hardline:n}}=Y(),r=zn(),{getLeftSidePathName:i,hasNakedLeftSide:o,isJsxNode:a,isTheOnlyJsxElementInMarkdown:s,hasComment:l,CommentCheckFlags:u,isNextLineEmpty:c}=un(),{shouldPrintParamsWithoutParens:d}=sr();function p(e,t,r,i){let o=e.getValue(),a=[],d="ClassBody"===o.type,p=h(o[i]);return e.each((e,i,o)=>{let h=e.getValue();if("EmptyStatement"===h.type)return;let m=r();t.semi||d||s(t,e)||!f(e,t)?a.push(m):l(h,u.Leading)?a.push(r([],{needsSemi:!0})):a.push(";",m),!t.semi&&d&&b(h)&&y(h,o[i+1])&&a.push(";"),h!==p&&(a.push(n),c(h,t)&&a.push(n))},i),a}function h(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if("EmptyStatement"!==n.type)return n}}function f(e,t){return"ExpressionStatement"===e.getNode().type&&e.call(e=>m(e,t),"expression")}function m(e,t){let n=e.getValue();switch(n.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!d(e,t))return!0;break;case"UnaryExpression":{let{prefix:e,operator:t}=n;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(a(n))return!0}return!!r(e,t)||!!o(n)&&e.call(e=>m(e,t),...i(e,n))}function g(e,t,n){return p(e,t,n,"body")}function v(e,t,n){return p(e,t,n,"consequent")}var b=e=>{let{type:t}=e;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t||"ClassAccessorProperty"===t||"AccessorProperty"===t||"TSAbstractPropertyDefinition"===t||"TSAbstractAccessorProperty"===t};function y(e,t){let{type:n,name:r}=e.key;if(!e.computed&&"Identifier"===n&&("static"===r||"get"===r||"set"===r||"accessor"===r)&&!e.value&&!e.typeAnnotation)return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){let e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0}if(b(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;let e=t.value?t.value.generator:t.generator;return!(!t.computed&&!e)}case"TSIndexSignature":return!0}return!1}t.exports={printBody:g,printSwitchCaseConsequent:v}}}),vr=_({"src/language-js/print/block.js"(e,t){C();var{printDanglingComments:n}=Wt(),{isNonEmptyArray:r}=ge(),{builders:{hardline:i,indent:o}}=Y(),{hasComment:a,CommentCheckFlags:s,isNextLineEmpty:l}=un(),{printHardlineAfterHeritage:u}=ur(),{printBody:c}=gr();function d(e,t,n){let a=e.getValue(),s=[];if("StaticBlock"===a.type&&s.push("static "),"ClassBody"===a.type&&r(a.body)){let t=e.getParentNode();s.push(u(t))}s.push("{");let l=p(e,t,n);if(l)s.push(o([i,l]),i);else{let t=e.getParentNode(),n=e.getParentNode(1);"ArrowFunctionExpression"===t.type||"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ObjectMethod"===t.type||"ClassMethod"===t.type||"ClassPrivateMethod"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"DoExpression"===t.type||"CatchClause"===t.type&&!n.finalizer||"TSModuleDeclaration"===t.type||"TSDeclareFunction"===t.type||"StaticBlock"===a.type||"ClassBody"===a.type||s.push(i)}return s.push("}"),s}function p(e,t,o){let u=e.getValue(),d=r(u.directives),p=u.body.some(e=>"EmptyStatement"!==e.type),h=a(u,s.Dangling);if(!d&&!p&&!h)return"";let f=[];if(d&&e.each((e,n,r)=>{f.push(o()),(n"]),n=[d("("),u([s,C("expression")]),s,d(")")];return e?c([[t,C("expression")],[t,l(n,{shouldBreak:!0})],[t,C("expression")]]):l([t,C("expression")])}case"TSDeclareFunction":return R(e,C,t);case"TSExportAssignment":return["export = ",C("expression"),V];case"TSModuleBlock":return F(e,t,C);case"TSInterfaceBody":case"TSTypeLiteral":return A(e,t,C);case"TSTypeAliasDeclaration":return B(e,t,C);case"TSQualifiedName":return i(".",[C("left"),C("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return k(e,t,C);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return O(e,t,C);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return Y.push(C("expression")),G.typeParameters&&Y.push(C("typeParameters")),Y;case"TSTemplateLiteralType":return T(e,C,t);case"TSNamedTupleMember":return[C("label"),G.optional?"?":"",": ",C("elementType")];case"TSRestType":return["...",C("typeAnnotation")];case"TSOptionalType":return[C("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return L(e,t,C);case"TSClassImplements":return[C("expression"),C("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return I(e,t,C,"params");case"TSTypeParameter":return N(e,t,C);case"TSSatisfiesExpression":case"TSAsExpression":{let t="TSAsExpression"===G.type?"as":"satisfies";Y.push(C("expression"),` ${t} `,C("typeAnnotation"));let n=e.getParentNode();return m(n)&&n.callee===G||g(n)&&n.object===G?l([u([s,...Y]),s]):Y}case"TSArrayType":return[C("elementType"),"[]"];case"TSPropertySignature":return G.readonly&&Y.push("readonly "),Y.push(M(e,t,C),_(e)),G.typeAnnotation&&Y.push(": ",C("typeAnnotation")),G.initializer&&Y.push(" = ",C("initializer")),Y;case"TSParameterProperty":return G.accessibility&&Y.push(G.accessibility+" "),G.export&&Y.push("export "),G.static&&Y.push("static "),G.override&&Y.push("override "),G.readonly&&Y.push("readonly "),Y.push(C("parameter")),Y;case"TSTypeQuery":return["typeof ",C("exprName"),C("typeParameters")];case"TSIndexSignature":{let n=e.getParentNode(),r=G.parameters.length>1?d(f(t)?",":""):"",o=l([u([s,i([", ",s],e.map(C,"parameters"))]),r,s]);return[G.export?"export ":"",G.accessibility?[G.accessibility," "]:"",G.static?"static ":"",G.readonly?"readonly ":"",G.declare?"declare ":"","[",G.parameters?o:"",G.typeAnnotation?"]: ":"]",G.typeAnnotation?C("typeAnnotation"):"","ClassBody"===n.type?V:""]}case"TSTypePredicate":return[G.asserts?"asserts ":"",C("parameterName"),G.typeAnnotation?[" is ",C("typeAnnotation")]:""];case"TSNonNullExpression":return[C("expression"),"!"];case"TSImportType":return[G.isTypeOf?"typeof ":"","import(",C(G.parameter?"parameter":"argument"),")",G.qualifier?[".",C("qualifier")]:"",I(e,t,C,"typeParameters")];case"TSLiteralType":return C("literal");case"TSIndexedAccessType":return H(e,t,C);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===G.type&&G.abstract&&Y.push("abstract "),"TSCallSignatureDeclaration"!==G.type&&Y.push("new "),Y.push(l(w(e,C,t,!1,!0))),G.returnType||G.typeAnnotation){let e="TSConstructorType"===G.type;Y.push(e?" => ":": ",C("returnType"),C("typeAnnotation"))}return Y;case"TSTypeOperator":return[G.operator," ",C("typeAnnotation")];case"TSMappedType":{let i=r(t.originalText,b(G),y(G));return l(["{",u([t.bracketSpacing?o:s,C("typeParameter"),G.optional?h(G.optional,"?"):"",G.typeAnnotation?": ":"",C("typeAnnotation"),d(V)]),n(e,t,!0),t.bracketSpacing?o:s,"}"],{shouldBreak:i})}case"TSMethodSignature":{let n=G.kind&&"method"!==G.kind?G.kind+" ":"";Y.push(G.accessibility?[G.accessibility," "]:"",n,G.export?"export ":"",G.static?"static ":"",G.readonly?"readonly ":"",G.abstract?"abstract ":"",G.declare?"declare ":"",G.computed?"[":"",C("key"),G.computed?"]":"",_(e));let r=w(e,C,t,!1,!0),i=G.returnType?"returnType":"typeAnnotation",o=G[i],a=o?C(i):"",s=x(G,a);return Y.push(s?l(r):r),o&&Y.push(": ",l(a)),l(Y)}case"TSNamespaceExportDeclaration":return Y.push("export as namespace ",C("id")),t.semi&&Y.push(";"),l(Y);case"TSEnumDeclaration":return G.declare&&Y.push("declare "),G.modifiers&&Y.push(E(e,t,C)),G.const&&Y.push("const "),Y.push("enum ",C("id")," "),0===G.members.length?Y.push(l(["{",n(e,t),s,"}"])):Y.push(l(["{",u([a,D(e,t,"members",C),f(t,"es5")?",":""]),n(e,t,!0),a,"}"])),Y;case"TSEnumMember":return G.computed?Y.push("[",C("id"),"]"):Y.push(C("id")),G.initializer&&Y.push(" = ",C("initializer")),Y;case"TSImportEqualsDeclaration":return G.isExport&&Y.push("export "),Y.push("import "),G.importKind&&"value"!==G.importKind&&Y.push(G.importKind," "),Y.push(C("id")," = ",C("moduleReference")),t.semi&&Y.push(";"),l(Y);case"TSExternalModuleReference":return["require(",C("expression"),")"];case"TSModuleDeclaration":{let n=e.getParentNode(),r=p(G.id),i="TSModuleDeclaration"===n.type,o=G.body&&"TSModuleDeclaration"===G.body.type;if(i)Y.push(".");else{G.declare&&Y.push("declare "),Y.push(E(e,t,C));let n=t.originalText.slice(b(G),b(G.id));"Identifier"===G.id.type&&"global"===G.id.name&&!/namespace|module/.test(n)||Y.push(r||/(?:^|\s)module(?:\s|$)/.test(n)?"module ":"namespace ")}return Y.push(C("id")),o?Y.push(C("body")):G.body?Y.push(" ",l(C("body"))):Y.push(V),Y}case"TSConditionalType":return S(e,t,C);case"TSInferType":return["infer"," ",C("typeParameter")];case"TSIntersectionType":return j(e,t,C);case"TSUnionType":return U(e,t,C);case"TSFunctionType":return q(e,t,C);case"TSTupleType":return $(e,t,C);case"TSTypeReference":return[C("typeName"),I(e,t,C,"typeParameters")];case"TSTypeAnnotation":return C("typeAnnotation");case"TSEmptyBodyFunctionExpression":return P(e,t,C);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return z(e,C,"?");case"TSJSDocNonNullableType":return z(e,C,"!");case"TSInstantiationExpression":return[C("expression"),C("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(G.type)}.`)}}t.exports={printTypescript:G}}}),yr=_({"src/language-js/print/comment.js"(e,t){C();var{hasNewline:n}=ge(),{builders:{join:r,hardline:i},utils:{replaceTextEndOfLine:o}}=Y(),{isLineComment:a}=un(),{locStart:s,locEnd:l}=Ut(),u=sn();function c(e,t){let r=e.getValue();if(a(r))return t.originalText.slice(s(r),l(r)).trimEnd();if(u(r)){if(d(r)){let e=p(r);return r.trailing&&!n(t.originalText,s(r),{backwards:!0})?[i,e]:e}let e=l(r),a="*-/"===t.originalText.slice(e-3,e);return["/*",o(r.value),a?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(r))}function d(e){let t=`*${e.value}*`.split("\n");return t.length>1&&t.every(e=>"*"===e.trim()[0])}function p(e){let t=e.value.split("\n");return["/*",r(i,t.map((e,n)=>0===n?e.trimEnd():" "+(n{let{marker:t}=e;return t===A});return[d("expression"),_(t,e)?"":f,r?[" ",r]:""]}case"ParenthesizedExpression":return b(h.expression)||"ObjectExpression"!==h.expression.type&&"ArrayExpression"!==h.expression.type?l(["(",u([s,d("expression")]),s,")"]):["(",d("expression"),")"];case"AssignmentExpression":return pe(e,t,d);case"VariableDeclarator":return de(e,t,d);case"BinaryExpression":case"LogicalExpression":return he(e,t,d);case"AssignmentPattern":return[d("left")," = ",d("right")];case"OptionalMemberExpression":case"MemberExpression":return me(e,t,d);case"MetaProperty":return[d("meta"),".",d("property")];case"BindExpression":return h.object&&m.push(d("object")),m.push(l(u([s,U(e,t,d)]))),m;case"Identifier":return[h.name,j(e),z(e),q(e,t,d)];case"V8IntrinsicIdentifier":return["%",h.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return H(e,t,d);case"FunctionDeclaration":case"FunctionExpression":return oe(e,d,t,p);case"ArrowFunctionExpression":return ae(e,t,d,p);case"YieldExpression":return m.push("yield"),h.delegate&&m.push("*"),h.argument&&m.push(" ",d("argument")),m;case"AwaitExpression":if(m.push("await"),h.argument){m.push(" ",d("argument"));let t=e.getParentNode();if(T(t)&&t.callee===h||D(t)&&t.object===h){m=[u([s,...m]),s];let t=e.findAncestor(e=>"AwaitExpression"===e.type||"BlockStatement"===e.type);if(!t||"AwaitExpression"!==t.type)return l(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return W(e,t,d);case"ExportAllDeclaration":return K(e,t,d);case"ImportDeclaration":return V(e,t,d);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Q(e,t,d);case"ImportAttribute":return[d("key"),": ",d("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return ve(e,t,d);case"ThrowStatement":return ue(e,t,d);case"ReturnStatement":return le(e,t,d);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ce(e,t,d);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ee(e,t,d);case"ObjectProperty":case"Property":return h.method||"get"===h.kind||"set"===h.kind?se(e,t,d):ie(e,t,d);case"ObjectMethod":return se(e,t,d);case"Decorator":return["@",d("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return J(e,t,d);case"SequenceExpression":{let t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){let t=[];return e.each((e,n)=>{0===n?t.push(d()):t.push(",",u([o,d()]))},"expressions"),l(t)}return l(i([",",o],e.map(d,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[d("value"),f];case"DirectiveLiteral":return G(h.extra.raw,t);case"UnaryExpression":return m.push(h.operator),/[a-z]$/.test(h.operator)&&m.push(" "),b(h.argument)?m.push(l(["(",u([s,d("argument")]),s,")"])):m.push(d("argument")),m;case"UpdateExpression":return m.push(d("argument"),h.operator),h.prefix&&m.reverse(),m;case"ConditionalExpression":return X(e,t,d);case"VariableDeclaration":{let t,n=e.map(d,"declarations"),r=e.getParentNode(),i="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,s=h.declarations.some(e=>e.init);return 1!==n.length||b(h.declarations[0])?n.length>0&&(t=u(n[0])):t=n[0],m=[h.declare?"declare ":"",h.kind,t?[" ",t]:"",u(n.slice(1).map(e=>[",",s&&!i?a:o,e]))],i&&r.body!==h||m.push(f),l(m)}case"WithStatement":return l(["with (",d("object"),")",$(h.body,d("body"))]);case"IfStatement":{let r=$(h.consequent,d("consequent")),i=l(["if (",l([u([s,d("test")]),s]),")",r]);if(m.push(i),h.alternate){let r=b(h.consequent,y.Trailing|y.Line)||w(h),i="BlockStatement"===h.consequent.type&&!r;m.push(i?" ":a),b(h,y.Dangling)&&m.push(n(e,t,!0),r?a:" "),m.push("else",l($(h.alternate,d("alternate"),"IfStatement"===h.alternate.type)))}return m}case"ForStatement":{let r=$(h.body,d("body")),i=n(e,t,!0),a=i?[i,s]:"";return h.init||h.test||h.update?[a,l(["for (",l([u([s,d("init"),";",o,d("test"),";",o,d("update")]),s]),")",r])]:[a,l(["for (;;)",r])]}case"WhileStatement":return l(["while (",l([u([s,d("test")]),s]),")",$(h.body,d("body"))]);case"ForInStatement":return l(["for (",d("left")," in ",d("right"),")",$(h.body,d("body"))]);case"ForOfStatement":return l(["for",h.await?" await":""," (",d("left")," of ",d("right"),")",$(h.body,d("body"))]);case"DoWhileStatement":{let e=$(h.body,d("body"));return m=[l(["do",e])],"BlockStatement"===h.body.type?m.push(" "):m.push(a),m.push("while (",l([u([s,d("test")]),s]),")",f),m}case"DoExpression":return[h.async?"async ":"","do ",d("body")];case"BreakStatement":return m.push("break"),h.label&&m.push(" ",d("label")),m.push(f),m;case"ContinueStatement":return m.push("continue"),h.label&&m.push(" ",d("label")),m.push(f),m;case"LabeledStatement":return"EmptyStatement"===h.body.type?[d("label"),":;"]:[d("label"),": ",d("body")];case"TryStatement":return["try ",d("block"),h.handler?[" ",d("handler")]:"",h.finalizer?[" finally ",d("finalizer")]:""];case"CatchClause":if(h.param){let e=b(h.param,e=>!N(e)||e.leading&&r(t.originalText,k(e))||e.trailing&&r(t.originalText,O(e),{backwards:!0})),n=d("param");return["catch ",e?["(",u([s,n]),s,") "]:["(",n,") "],d("body")]}return["catch ",d("body")];case"SwitchStatement":return[l(["switch (",u([s,d("discriminant")]),s,")"])," {",h.cases.length>0?u([a,i(a,e.map((e,n,r)=>{let i=e.getValue();return[d(),n!==r.length-1&&S(i,t)?a:""]},"cases"))]):"",a,"}"];case"SwitchCase":{h.test?m.push("case ",d("test"),":"):m.push("default:"),b(h,y.Dangling)&&m.push(" ",n(e,t,!0));let r=h.consequent.filter(e=>"EmptyStatement"!==e.type);if(r.length>0){let n=fe(e,t,d);m.push(1===r.length&&"BlockStatement"===r[0].type?[" ",n]:u([a,n]))}return m}case"DebuggerStatement":return["debugger",f];case"ClassDeclaration":case"ClassExpression":return te(e,t,d);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return ne(e,t,d);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return re(e,t,d);case"TemplateElement":return c(h.value.raw);case"TemplateLiteral":return Z(e,d,t);case"TaggedTemplateExpression":return[d("tag"),d("typeParameters"),d("quasi")];case"PrivateIdentifier":return["#",d("name")];case"PrivateName":return["#",d("id")];case"InterpreterDirective":return m.push("#!",h.value,a),S(h,t)&&m.push(a),m;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{m.push("module {");let e=d("body");return e&&m.push(u([a,e]),a),m.push("}"),m}default:throw new Error("unknown type: "+JSON.stringify(h.type))}}function xe(e){return e.type&&!N(e)&&!E(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type}t.exports={preprocess:g,print:Se,embed:d,insertPragma:h,massageAstNode:p,hasPrettierIgnore(e){return x(e)||L(e)},willPrintOwnComments:f.willPrintOwnComments,canAttachComment:xe,printComment:ye,isBlockComment:N,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),Sr=_({"src/language-js/printer-estree-json.js"(e,t){C();var{builders:{hardline:n,indent:r,join:i}}=Y(),o=Gn();function a(e,t,o){let a=e.getValue();switch(a.type){case"JsonRoot":return[o("node"),n];case"ArrayExpression":{if(0===a.elements.length)return"[]";let t=e.map(()=>null===e.getValue()?"null":o(),"elements");return["[",r([n,i([",",n],t)]),n,"]"]}case"ObjectExpression":return 0===a.properties.length?"{}":["{",r([n,i([",",n],e.map(o,"properties"))]),n,"}"];case"ObjectProperty":return[o("key"),": ",o("value")];case"UnaryExpression":return["+"===a.operator?"":a.operator,o("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return a.value?"true":"false";case"StringLiteral":return JSON.stringify(a.value);case"NumericLiteral":return s(e)?JSON.stringify(String(a.value)):JSON.stringify(a.value);case"Identifier":return s(e)?JSON.stringify(a.name):a.name;case"TemplateLiteral":return o(["quasis",0]);case"TemplateElement":return JSON.stringify(a.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(a.type))}}function s(e){return"key"===e.getName()&&"ObjectProperty"===e.getParentNode().type}var l=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function u(e,t){let{type:n}=e;if("ObjectProperty"!==n){if("UnaryExpression"===n&&"+"===e.operator)return t.argument;if("ArrayExpression"!==n)return"TemplateLiteral"===n?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(let[n,r]of e.elements.entries())null===r&&t.elements.splice(n,0,{type:"NullLiteral"})}else{let{key:n}=e;"Identifier"===n.type?t.key={type:"StringLiteral",value:n.name}:"NumericLiteral"===n.type&&(t.key={type:"StringLiteral",value:String(n.value)})}}u.ignoredProperties=l,t.exports={preprocess:o,print:a,massageAstNode:u}}}),wr=_({"src/common/common-options.js"(e,t){C();var n="Common";t.exports={bracketSpacing:{since:"0.0.0",category:n,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:n,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:n,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:n,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:n,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),xr=_({"src/language-js/options.js"(e,t){C();var n=wr(),r="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:r,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:n.bracketSameLine,bracketSpacing:n.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:r,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:r,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:n.singleQuote,jsxSingleQuote:{since:"1.15.0",category:r,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:r,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:r,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:n.singleAttributePerLine}}}),Cr=_({"src/language-js/parse/parsers.js"(){C()}}),Tr=_({"node_modules/linguist-languages/data/JavaScript.json"(e,t){t.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}}}),Dr=_({"node_modules/linguist-languages/data/TypeScript.json"(e,t){t.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}}}),Ar=_({"node_modules/linguist-languages/data/TSX.json"(e,t){t.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),Or=_({"node_modules/linguist-languages/data/JSON.json"(e,t){t.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}}}),kr=_({"node_modules/linguist-languages/data/JSON with Comments.json"(e,t){t.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}}}),Nr=_({"node_modules/linguist-languages/data/JSON5.json"(e,t){t.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Ir=_({"src/language-js/index.js"(e,t){C();var n=tn(),r=Er(),i=Sr(),o=xr(),a=Cr(),s=[n(Tr(),e=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...e.interpreters,"zx"],extensions:[...e.extensions.filter(e=>".jsx"!==e),".wxs"]})),n(Tr(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),n(Tr(),()=>({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})),n(Dr(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),n(Ar(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),n(Or(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),n(Or(),e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter(e=>".jsonl"!==e)})),n(kr(),e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]})),n(Nr(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],l={estree:r,"estree-json":i};t.exports={languages:s,options:o,printers:l,parsers:a}}}),Mr=_({"src/language-css/clean.js"(e,t){C();var{isFrontMatterNode:n}=ge(),r=N(),i=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function o(e,t,i){if(n(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===i.type&&i.nodes.length>0&&((i.nodes[0]===e||n(i.nodes[0])&&i.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===i.type&&r(i.nodes)===e))return null;if("value-root"===e.type&&delete t.text,("media-query"===e.type||"media-query-list"===e.type||"media-feature-expression"===e.type)&&delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),("css-atrule"===e.type||"css-import"===e.type)&&(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),("media-feature"===e.type||"media-keyword"===e.type||"media-type"===e.type||"media-unknown"===e.type||"media-url"===e.type||"media-value"===e.type||"selector-attribute"===e.type||"selector-string"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"value-string"===e.type)&&t.value&&(t.value=a(t.value)),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),("media-value"===e.type||"media-type"===e.type||"value-number"===e.type||"selector-root-invalid"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"selector-tag"===e.type)&&t.value&&(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(e,t,n)=>{let r=Number(t);return Number.isNaN(r)?e:r+n.toLowerCase()})),"selector-tag"===e.type){let n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}if("css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value,"value-comma_group"===e.type){let n=e.groups.findIndex(e=>"value-number"===e.type&&"..."===e.unit);-1!==n&&(t.groups[n].unit="",t.groups.splice(n+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}return"value-comma_group"===e.type&&e.groups.some(e=>"value-atword"===e.type&&e.value.endsWith("[")||"value-word"===e.type&&e.value.startsWith("]"))?{type:"value-atword",value:e.groups.map(e=>e.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}:void 0}function a(e){return e.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}o.ignoredProperties=i,t.exports=o}}),Rr=_({"src/utils/front-matter/print.js"(e,t){C();var{builders:{hardline:n,markAsRoot:r}}=Y();function i(e,t){if("yaml"===e.lang){let i=e.value.trim(),o=i?t(i,{parser:"yaml"},{stripTrailingHardline:!0}):"";return r([e.startDelimiter,n,o,o?n:"",e.endDelimiter])}}t.exports=i}}),Pr=_({"src/language-css/embed.js"(e,t){C();var{builders:{hardline:n}}=Y(),r=Rr();function i(e,t,i){let o=e.getValue();if("front-matter"===o.type){let e=r(o,i);return e?[e,n]:""}}t.exports=i}}),Lr=_({"src/utils/front-matter/parse.js"(e,t){C();var n=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function r(e){let t=e.match(n);if(!t)return{content:e};let{startDelimiter:r,language:i,value:o="",endDelimiter:a}=t.groups,s=i.trim()||"yaml";if("+++"===r&&(s="toml"),"yaml"!==s&&r!==a)return{content:e};let[l]=t;return{frontMatter:{type:"front-matter",lang:s,value:o,startDelimiter:r,endDelimiter:a,raw:l.replace(/\n$/,"")},content:l.replace(/[^\n]/g," ")+e.slice(l.length)}}t.exports=r}}),Fr=_({"src/language-css/pragma.js"(e,t){C();var n=qn(),r=Lr();function i(e){return n.hasPragma(r(e).content)}function o(e){let{frontMatter:t,content:i}=r(e);return(t?t.raw+"\n\n":"")+n.insertPragma(i)}t.exports={hasPragma:i,insertPragma:o}}}),Br=_({"src/language-css/utils/index.js"(e,t){C();var n=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 r(e,t){let n,r=Array.isArray(t)?t:[t],i=-1;for(;n=e.getParentNode(++i);)if(r.includes(n.type))return i;return-1}function i(e,t){let n=r(e,t);return-1===n?null:e.getParentNode(n)}function o(e){var t;let n=i(e,"css-decl");return null==n||null===(t=n.prop)||void 0===t?void 0:t.toLowerCase()}var a=new Set(["initial","inherit","unset","revert"]);function s(e){return a.has(e.toLowerCase())}function l(e,t){let n=i(e,"css-atrule");return(null==n?void 0:n.name)&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())}function u(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()}function c(e,t){var n;let r=i(e,"value-func");return(null==r||null===(n=r.value)||void 0===n?void 0:n.toLowerCase())===t}function d(e){var t;let n=i(e,"css-rule"),r=null==n||null===(t=n.raws)||void 0===t?void 0:t.selector;return r&&(r.startsWith(":import")||r.startsWith(":export"))}function p(e,t){let n=Array.isArray(t)?t:[t],r=i(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())}function h(e){let t=e.getValue(),n=i(e,"css-atrule");return"import"===(null==n?void 0:n.name)&&"url"===t.groups[0].value&&2===t.groups.length}function f(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()}function m(e,t){var n;let r=null===(n=e.getParentNode())||void 0===n?void 0:n.nodes;return r&&r.indexOf(t)===r.length-1}function g(e){let{selector:t}=e;return!!t&&("string"==typeof t&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value))}function v(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)}function b(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)}function y(e){return"value-word"===e.type&&"in"===e.value}function _(e){return"value-operator"===e.type&&"*"===e.value}function E(e){return"value-operator"===e.type&&"/"===e.value}function S(e){return"value-operator"===e.type&&"+"===e.value}function w(e){return"value-operator"===e.type&&"-"===e.value}function x(e){return"value-operator"===e.type&&"%"===e.value}function T(e){return _(e)||E(e)||S(e)||w(e)||x(e)}function D(e){return"value-word"===e.type&&["==","!="].includes(e.value)}function A(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)}function O(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)}function k(e){var t;return(null===(t=e.raws)||void 0===t?void 0:t.params)&&/^\(\s*\)$/.test(e.raws.params)}function N(e){return e.name.startsWith("prettier-placeholder")}function I(e){return e.prop.startsWith("@prettier-placeholder")}function M(e,t){return"$$"===e.value&&"value-func"===e.type&&"value-word"===(null==t?void 0:t.type)&&!t.raws.before}function R(e){var t,n;return"value-root"===(null===(t=e.value)||void 0===t?void 0:t.type)&&"value-value"===(null===(n=e.value.group)||void 0===n?void 0:n.type)&&"composes"===e.prop.toLowerCase()}function P(e){var t,n,r;return"value-paren_group"===(null===(t=e.value)||void 0===t||null===(n=t.group)||void 0===n||null===(r=n.group)||void 0===r?void 0:r.type)&&null!==e.value.group.group.open&&null!==e.value.group.group.close}function L(e){var t;return""===(null===(t=e.raws)||void 0===t?void 0:t.before)}function F(e){var t,n;return"value-comma_group"===e.type&&"value-colon"===(null===(t=e.groups)||void 0===t||null===(n=t[1])||void 0===n?void 0:n.type)}function B(e){var t;return"value-paren_group"===e.type&&(null===(t=e.groups)||void 0===t?void 0:t[0])&&F(e.groups[0])}function j(e){var t;let n=e.getValue();if(0===n.groups.length)return!1;let r=e.getParentNode(1);if(!B(n)&&(!r||!B(r)))return!1;let o=i(e,"css-decl");return!!(null!=o&&null!==(t=o.prop)&&void 0!==t&&t.startsWith("$")||B(r)||"value-func"===r.type)}function U(e){return"value-comment"===e.type&&e.inline}function q(e){return"value-word"===e.type&&"#"===e.value}function $(e){return"value-word"===e.type&&"{"===e.value}function H(e){return"value-word"===e.type&&"}"===e.value}function z(e){return["value-word","value-atword"].includes(e.type)}function G(e){return"value-colon"===(null==e?void 0:e.type)}function V(e,t){if(!F(t))return!1;let{groups:n}=t,r=n.indexOf(e);return-1!==r&&G(n[r+1])}function Y(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())}function W(e){return"value-func"===e.type&&n.has(e.value.toLowerCase())}function K(e){return/\/\//.test(e.split(/[\n\r]/).pop())}function Q(e){return"value-atword"===(null==e?void 0:e.type)&&e.value.startsWith("prettier-placeholder-")}function X(e,t){var n,r;if("("!==(null===(n=e.open)||void 0===n?void 0:n.value)||")"!==(null===(r=e.close)||void 0===r?void 0:r.value)||e.groups.some(e=>"value-comma_group"!==e.type))return!1;if("value-comma_group"===t.type){let n=t.groups.indexOf(e)-1,r=t.groups[n];if("value-word"===(null==r?void 0:r.type)&&"with"===r.value)return!0}return!1}function Z(e){var t,n;return"value-paren_group"===e.type&&"("===(null===(t=e.open)||void 0===t?void 0:t.value)&&")"===(null===(n=e.close)||void 0===n?void 0:n.value)}t.exports={getAncestorCounter:r,getAncestorNode:i,getPropOfDeclNode:o,maybeToLowerCase:u,insideValueFunctionNode:c,insideICSSRuleNode:d,insideAtRuleNode:p,insideURLFunctionInImportAtRuleNode:h,isKeyframeAtRuleKeywords:l,isWideKeywords:s,isLastNode:m,isSCSSControlDirectiveNode:O,isDetachedRulesetDeclarationNode:g,isRelationalOperatorNode:A,isEqualityOperatorNode:D,isMultiplicationNode:_,isDivisionNode:E,isAdditionNode:S,isSubtractionNode:w,isModuloNode:x,isMathOperatorNode:T,isEachKeywordNode:y,isForKeywordNode:v,isURLFunctionNode:f,isIfElseKeywordNode:b,hasComposesNode:R,hasParensAroundNode:P,hasEmptyRawBefore:L,isDetachedRulesetCallNode:k,isTemplatePlaceholderNode:N,isTemplatePropNode:I,isPostcssSimpleVarNode:M,isKeyValuePairNode:F,isKeyValuePairInParenGroupNode:B,isKeyInValuePairNode:V,isSCSSMapItemNode:j,isInlineValueCommentNode:U,isHashNode:q,isLeftCurlyBraceNode:$,isRightCurlyBraceNode:H,isWordNode:z,isColonNode:G,isMediaAndSupportsKeywords:Y,isColorAdjusterFuncNode:W,lastLineHasInlineComment:K,isAtWordPlaceholderNode:Q,isConfigurationNode:X,isParenGroupNode:Z}}}),jr=_({"src/utils/line-column-to-index.js"(e,t){C(),t.exports=function(e,t){let n=0;for(let r=0;r0?d:""]}case"css-comment":{let e=o.inline||o.raws.inline,n=t.originalText.slice(ye(o),_e(o));return e?n.trimEnd():n}case"css-rule":return[r("selector"),o.important?" !important":"",o.nodes?[o.selector&&"selector-unknown"===o.selector.type&&fe(o.selector.value)?c:" ","{",o.nodes.length>0?m([d,Te(e,t,r)]):"",d,"}",F(o)?";":""]:";"];case"css-decl":{let n=e.getParentNode(),{between:i}=o.raws,a=i.trim(),s=":"===a,l=Q(o)?y(r("value")):r("value");return!s&&fe(a)&&(l=m([d,g(l)])),[o.raws.before.replace(/[\s;]/g,""),"css-atrule"===n.type&&n.variable||O(e)?o.prop:D(o.prop),a.startsWith("//")?" ":"",a,o.extend?"":" ",Ee(t)&&o.extend&&o.selector?["extend(",r("selector"),")"]:"",l,o.raws.important?o.raws.important.replace(/\s*!\s*important/i," !important"):o.important?" !important":"",o.raws.scssDefault?o.raws.scssDefault.replace(/\s*!default/i," !default"):o.scssDefault?" !default":"",o.raws.scssGlobal?o.raws.scssGlobal.replace(/\s*!global/i," !global"):o.scssGlobal?" !global":"",o.nodes?[" {",m([p,Te(e,t,r)]),p,"}"]:re(o)&&!n.raws.semicolon&&";"!==t.originalText[_e(o)-1]?"":t.__isHTMLStyleAttribute&&P(e,o)?v(";"):";"]}case"css-atrule":{let n=e.getParentNode(),i=ne(o)&&!n.raws.semicolon&&";"!==t.originalText[_e(o)-1];if(Ee(t)){if(o.mixin)return[r("selector"),o.important?" !important":"",i?"":";"];if(o.function)return[o.name,r("params"),i?"":";"];if(o.variable)return["@",o.name,": ",o.value?r("value"):"",o.raws.between.trim()?o.raws.between.trim()+" ":"",o.nodes?["{",m([o.nodes.length>0?p:"",Te(e,t,r)]),p,"}"]:"",i?"":";"]}return["@",te(o)||o.name.endsWith(":")?o.name:D(o.name),o.params?[te(o)?"":ne(o)?""===o.raws.afterName?"":o.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(o.raws.afterName)?[d,d]:/^\s*\n/.test(o.raws.afterName)?d:" ":" ",r("params")]:"",o.selector?m([" ",r("selector")]):"",o.value?h([" ",r("value"),L(o)?X(o)?" ":c:""]):"else"===o.name?" ":"",o.nodes?[L(o)?"":o.selector&&!o.selector.nodes&&"string"==typeof o.selector.value&&fe(o.selector.value)||!o.selector&&"string"==typeof o.params&&fe(o.params)?c:" ","{",m([o.nodes.length>0?p:"",Te(e,t,r)]),p,"}"]:i?"":";"]}case"media-query-list":{let t=[];return e.each(e=>{let n=e.getValue();"media-query"===n.type&&""===n.value||t.push(r())},"nodes"),h(m(u(c,t)))}case"media-query":return[u(" ",e.map(r,"nodes")),P(e,o)?"":","];case"media-type":return Re(Ie(o.value,t));case"media-feature-expression":return o.nodes?["(",...e.map(r,"nodes"),")"]:o.value;case"media-feature":return D(Ie(o.value.replace(/ +/g," "),t));case"media-colon":return[o.value," "];case"media-value":return Re(Ie(o.value,t));case"media-keyword":return Ie(o.value,t);case"media-url":return Ie(o.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":return o.value;case"selector-root":return h([k(e,"custom-selector")?[x(e,"css-atrule").customSelector,c]:"",u([",",k(e,["extend","custom-selector","nest"])?c:d],e.map(r,"nodes"))]);case"selector-selector":return h(m(e.map(r,"nodes")));case"selector-comment":return o.value;case"selector-string":return Ie(o.value,t);case"selector-tag":{let t=e.getParentNode(),n=t&&t.nodes.indexOf(o),r=n&&t.nodes[n-1];return[o.namespace?[!0===o.namespace?"":o.namespace.trim(),"|"]:"","selector-nesting"===r.type?o.value:Re(M(e,o.value)?o.value.toLowerCase():o.value)]}case"selector-id":return["#",o.value];case"selector-class":return[".",Re(Ie(o.value,t))];case"selector-attribute":var a;return["[",o.namespace?[!0===o.namespace?"":o.namespace.trim(),"|"]:"",o.attribute.trim(),null!==(a=o.operator)&&void 0!==a?a:"",o.value?Me(Ie(o.value.trim(),t),t):"",o.insensitive?" i":"","]"];case"selector-combinator":{if("+"===o.value||">"===o.value||"~"===o.value||">>>"===o.value){let t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===o?"":c,o.value,P(e,o)?"":" "]}let n=o.value.trim().startsWith("(")?c:"",r=Re(Ie(o.value.trim(),t))||c;return[n,r]}case"selector-universal":return[o.namespace?[!0===o.namespace?"":o.namespace.trim(),"|"]:"",o.value];case"selector-pseudo":return[D(o.value),l(o.nodes)?h(["(",m([p,u([",",c],e.map(r,"nodes"))]),p,")"]):""];case"selector-nesting":return o.value;case"selector-unknown":{let n=x(e,"css-rule");if(n&&n.isSCSSNesterProperty)return Re(Ie(D(o.value),t));let r=e.getParentNode();if(r.raws&&r.raws.selector){let e=ye(r),n=e+r.raws.selector.length;return t.originalText.slice(e,n).trim()}let i=e.getParentNode(1);if("value-paren_group"===r.type&&i&&"value-func"===i.type&&"selector"===i.value){let e=_e(r.open)+1,n=ye(r.close),i=t.originalText.slice(e,n).trim();return fe(i)?[b,i]:i}return o.value}case"value-value":case"value-root":return r("group");case"value-comment":return t.originalText.slice(ye(o),_e(o));case"value-comma_group":{let n=e.getParentNode(),i=e.getParentNode(1),a=T(e),s=a&&"value-value"===n.type&&("grid"===a||a.startsWith("grid-template")),l=x(e,"css-atrule"),u=l&&L(l),v=o.groups.some(e=>ae(e)),y=e.map(r,"groups"),_=[],S=A(e,"url"),w=!1,C=!1;for(let r=0;rt:-1!==e?w=!0:-1!==t&&(w=!1)}if(w||de(h)||de(f)||"value-atword"===h.type&&(""===h.value||h.value.endsWith("["))||"value-word"===f.type&&f.value.startsWith("]")||"~"===h.value||h.value&&h.value.includes("\\")&&f&&"value-comment"!==f.type||a&&a.value&&a.value.indexOf("\\")===a.value.length-1&&"value-operator"===h.type&&"/"===h.value||"\\"===h.value||ie(h,f)||se(h)||le(h)||ue(f)||le(f)&&Z(f)||ue(h)&&Z(f)||"--"===h.value&&se(f))continue;let v=z(h),b=z(f);if((v&&se(f)||b&&ue(h))&&Z(f)||!a&&q(h)||A(e,"calc")&&($(h)||$(f)||H(h)||H(f))&&Z(f))continue;let x=($(h)||H(h))&&0===r&&("value-number"===f.type||f.isHex)&&i&&he(i)&&!Z(f),T=m&&"value-func"===m.type||m&&ce(m)||"value-func"===h.type||ce(h),D="value-func"===f.type||ce(f)||a&&"value-func"===a.type||a&&ce(a);if((U(f)||U(h)||A(e,"calc")||x||!(q(f)&&!T||q(h)&&!D||$(f)&&!T||$(h)&&!D||H(f)||H(h))||!(Z(f)||v&&(!a||a&&z(a))))&&("scss"!==t.parser&&"less"!==t.parser||!v||"-"!==h.value||!be(f)||_e(h)!==ye(f.open)||"("!==f.open.value)){if(ae(h)){if("value-paren_group"===n.type){_.push(g(d));continue}_.push(d);continue}if(u&&(j(f)||B(f)||K(f)||G(h)||V(h))){_.push(" ");continue}if(l&&"namespace"===l.name.toLowerCase()){_.push(" ");continue}if(s){h.source&&f.source&&h.source.start.line!==f.source.start.line?(_.push(d),C=!0):_.push(" ");continue}if(b){_.push(" ");continue}if((!f||"..."!==f.value)&&(!me(h)||!me(f)||_e(h)!==ye(f))){if(me(h)&&be(f)&&_e(h)===ye(f.open)){_.push(p);continue}if("with"===h.value&&be(f)){_.push(" ");continue}null!==(E=h.value)&&void 0!==E&&E.endsWith("#")&&"{"===f.value&&be(f.group)||_.push(c)}}}return v&&_.push(b),C&&_.unshift(d),u?h(m(_)):I(e)?h(f(_)):h(m(f(_)))}case"value-paren_group":{let i=e.getParentNode();if(i&&W(i)&&(1===o.groups.length||o.groups.length>0&&"value-comma_group"===o.groups[0].type&&o.groups[0].groups.length>0&&"value-word"===o.groups[0].groups[0].type&&o.groups[0].groups[0].value.startsWith("data:")))return[o.open?r("open"):"",u(",",e.map(r,"groups")),o.close?r("close"):""];if(!o.open){let t=e.map(r,"groups"),n=[];for(let e=0;e{let a=e.getValue(),u=i===o.groups.length-1,c=[r(),u?"":","];if(J(a)&&"value-comma_group"===a.type&&a.groups&&"value-paren_group"!==a.groups[0].type&&a.groups[2]&&"value-paren_group"===a.groups[2].type){let e=_(c[0].contents.contents);e[1]=h(e[1]),c=[h(g(c))]}if(!u&&"value-comma_group"===a.type&&l(a.groups)){let e=n(a.groups);!e.source&&e.close&&(e=e.close),e.source&&s(t.originalText,e,_e)&&c.push(d)}return c},"groups"))]),v(!y&&Se(t.parser,t.originalText)&&a&&xe(t)?",":""),p,o.close?r("close"):""],{shouldBreak:w});return x?g(C):C}case"value-func":return[o.value,k(e,"supports")&&pe(o)?" ":"",r("group")];case"value-paren":return o.value;case"value-number":return[Pe(o.value),we(o.unit)];case"value-operator":return o.value;case"value-word":return o.isColor&&o.isHex||R(o.value)?o.value.toLowerCase():o.value;case"value-colon":{let t=e.getParentNode(),r=t&&t.groups.indexOf(o),i=r&&t.groups[r-1];return[o.value,i&&"string"==typeof i.value&&"\\"===n(i.value)||A(e,"url")?"":c]}case"value-comma":return[o.value," "];case"value-string":return i(o.raws.quote+o.value+o.raws.quote,t);case"value-atword":return["@",o.value];case"value-unicode-range":return o.value;case"value-unknown":return o.value;default:throw new Error("Unknown postcss type "+JSON.stringify(o.type))}}function Te(e,t,n){let r=[];return e.each((e,i,l)=>{let u=l[i-1];if(u&&"css-comment"===u.type&&"prettier-ignore"===u.text.trim()){let n=e.getValue();r.push(t.originalText.slice(ye(n),_e(n)))}else r.push(n());i!==l.length-1&&("css-comment"===l[i+1].type&&!o(t.originalText,ye(l[i+1]),{backwards:!0})&&!a(l[i])||"css-atrule"===l[i+1].type&&"else"===l[i+1].name&&"css-comment"!==l[i].type?r.push(" "):(r.push(t.__isHTMLStyleAttribute?c:d),s(t.originalText,e.getValue(),_e)&&!a(l[i])&&r.push(d)))},"nodes"),r}var De=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Ae=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,Oe=/[A-Za-z]+/g,ke=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Ne=new RegExp(De.source+`|(${ke.source})?(${Ae.source})(${Oe.source})?`,"g");function Ie(e,t){return e.replace(De,e=>i(e,t))}function Me(e,t){let n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function Re(e){return e.replace(Ne,(e,t,n,r,i)=>!n&&r?Pe(r)+D(i||""):e)}function Pe(e){return r(e).replace(/\.0(?=$|e)/,"")}t.exports={print:Ce,embed:S,insertPragma:w,massageAstNode:E}}}),Vr=_({"src/language-css/options.js"(e,t){C();var n=wr();t.exports={singleQuote:n.singleQuote}}}),Yr=_({"src/language-css/parsers.js"(){C()}}),Wr=_({"node_modules/linguist-languages/data/CSS.json"(e,t){t.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Kr=_({"node_modules/linguist-languages/data/PostCSS.json"(e,t){t.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),Qr=_({"node_modules/linguist-languages/data/Less.json"(e,t){t.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}}}),Xr=_({"node_modules/linguist-languages/data/SCSS.json"(e,t){t.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Zr=_({"src/language-css/index.js"(e,t){C();var n=tn(),r=Gr(),i=Vr(),o=Yr(),a=[n(Wr(),e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]})),n(Kr(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),n(Qr(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),n(Xr(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],s={postcss:r};t.exports={languages:a,options:i,printers:s,parsers:o}}}),Jr=_({"src/language-handlebars/loc.js"(e,t){function n(e){return e.loc.start.offset}function r(e){return e.loc.end.offset}C(),t.exports={locStart:n,locEnd:r}}}),ei=_({"src/language-handlebars/clean.js"(e,t){function n(e,t){if("TextNode"===e.type){let n=e.chars.trim();if(!n)return null;t.chars=n.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}C(),n.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=n}}),ti=_({"src/language-handlebars/html-void-elements.evaluate.js"(e,t){t.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),ni=_({"src/language-handlebars/utils.js"(e,t){C();var n=N(),r=ti();function i(e){let t=e.getValue(),r=e.getParentNode(0);return!!(p(e,["ElementNode"])&&n(r.children)===t||p(e,["Block"])&&n(r.body)===t)}function o(e){return e.toUpperCase()===e}function a(e){return d(e,["ElementNode"])&&"string"==typeof e.tag&&!e.tag.startsWith(":")&&(o(e.tag[0])||e.tag.includes("."))}var s=new Set(r);function l(e){return s.has(e.toLowerCase())&&!o(e[0])}function u(e){return!0===e.selfClosing||l(e.tag)||a(e)&&e.children.every(e=>c(e))}function c(e){return d(e,["TextNode"])&&!/\S/.test(e.chars)}function d(e,t){return e&&t.includes(e.type)}function p(e,t){let n=e.getParentNode(0);return d(n,t)}function h(e,t){let n=g(e);return d(n,t)}function f(e,t){let n=v(e);return d(n,t)}function m(e,t){var n,r,i,o;let a=e.getValue(),s=null!==(n=e.getParentNode(0))&&void 0!==n?n:{},l=null!==(r=null!==(i=null!==(o=s.children)&&void 0!==o?o:s.body)&&void 0!==i?i:s.parts)&&void 0!==r?r:[],u=l.indexOf(a);return-1!==u&&l[u+t]}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return m(e,-t)}function v(e){return m(e,1)}function b(e){return d(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}function y(e){let t=e.getValue(),n=g(e,2);return b(t)||b(n)}t.exports={getNextNode:v,getPreviousNode:g,hasPrettierIgnore:y,isLastNodeOfSiblings:i,isNextNodeOfSomeType:f,isNodeOfSomeType:d,isParentOfSomeType:p,isPreviousNodeOfSomeType:h,isVoid:u,isWhitespaceNode:c}}}),ri=_({"src/language-handlebars/printer-glimmer.js"(e,t){C();var{builders:{dedent:n,fill:r,group:i,hardline:o,ifBreak:a,indent:s,join:l,line:u,softline:c},utils:{getDocParts:d,replaceTextEndOfLine:p}}=Y(),{getPreferredQuote:h,isNonEmptyArray:f}=ge(),{locStart:m,locEnd:g}=Jr(),v=ei(),{getNextNode:b,getPreviousNode:y,hasPrettierIgnore:_,isLastNodeOfSiblings:E,isNextNodeOfSomeType:S,isNodeOfSomeType:w,isParentOfSomeType:x,isPreviousNodeOfSomeType:T,isVoid:D,isWhitespaceNode:A}=ni(),O=2;function k(e,t,a){let d=e.getValue();if(!d)return"";if(_(e))return t.originalText.slice(m(d),g(d));let f=t.singleQuote?"'":'"';switch(d.type){case"Block":case"Program":case"Template":return i(e.map(a,"body"));case"ElementNode":{let n=i(I(e,a)),r="ignore"===t.htmlWhitespaceSensitivity&&S(e,["ElementNode"])?c:"";if(D(d))return[n,r];let l=[""];return 0===d.children.length?[n,s(l),r]:"ignore"===t.htmlWhitespaceSensitivity?[n,s(M(e,t,a)),o,s(l),r]:[n,s(i(M(e,t,a))),s(l),r]}case"BlockStatement":{let n=e.getParentNode(1);return n&&n.inverse&&1===n.inverse.body.length&&n.inverse.body[0]===d&&n.inverse.body[0].path.parts[0]===n.path.parts[0]?[G(e,a,n.inverse.body[0].path.parts[0]),X(e,a,t),Z(e,a,t)]:[H(e,a),i([X(e,a,t),Z(e,a,t),V(e,a,t)])]}case"ElementModifierStatement":return i(["{{",ue(e,a),"}}"]);case"MustacheStatement":return i([P(d),ue(e,a),L(d)]);case"SubExpression":return i(["(",le(e,a),c,")"]);case"AttrNode":{let e="TextNode"===d.value.type;if(e&&""===d.value.chars&&m(d.value)===g(d.value))return d.name;let t=e?h(d.value.chars,f).quote:"ConcatStatement"===d.value.type?h(d.value.parts.filter(e=>"TextNode"===e.type).map(e=>e.chars).join(""),f).quote:"",n=a("value");return[d.name,"=",t,"class"===d.name&&t?i(s(n)):n,t]}case"ConcatStatement":return e.map(a,"parts");case"Hash":return l(u,e.map(a,"pairs"));case"HashPair":return[d.key,"=",a("value")];case"TextNode":{let i=d.chars.replace(/{{/g,"\\{{"),o=te(e);if(o){if("class"===o){let t=i.trim().split(/\s+/).join(" "),n=!1,r=!1;return x(e,["ConcatStatement"])&&(T(e,["MustacheStatement"])&&/^\s/.test(i)&&(n=!0),S(e,["MustacheStatement"])&&/\s$/.test(i)&&""!==t&&(r=!0)),[n?u:"",t,r?u:""]}return p(i)}let a=/^[\t\n\f\r ]*$/.test(i),s=!y(e),l=!b(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,o=/[\t\n\f\r ]*$/,c=l&&x(e,["Template"]),d=s&&x(e,["Template"]);if(a){if(d||c)return"";let t=[u],r=ne(i);return r&&(t=oe(r)),E(e)&&(t=t.map(e=>n(e))),t}let[p]=i.match(t),[h]=i.match(o),f=[];if(p){f=[u];let e=ne(p);e&&(f=oe(e)),i=i.replace(t,"")}let m=[];if(h){if(!c){m=[u];let t=ne(h);t&&(m=oe(t)),E(e)&&(m=m.map(e=>n(e)))}i=i.replace(o,"")}return[...f,r(J(i)),...m]}let c=ne(i),h=re(i),f=ie(i);if((s||l)&&a&&x(e,["Block","ElementNode","Template"]))return"";a&&c?(h=Math.min(c,O),f=0):(S(e,["BlockStatement","ElementNode"])&&(f=Math.max(f,1)),T(e,["BlockStatement","ElementNode"])&&(h=Math.max(h,1)));let m="",g="";return 0===f&&S(e,["MustacheStatement"])&&(g=" "),0===h&&T(e,["MustacheStatement"])&&(m=" "),s&&(h=0,m=""),l&&(f=0,g=""),i=i.replace(/^[\t\n\f\r ]+/g,m).replace(/[\t\n\f\r ]+$/,g),[...oe(h),r(J(i)),...oe(f)]}case"MustacheCommentStatement":{let e=m(d),n=g(d),r="~"===t.originalText.charAt(e+2),i="~"===t.originalText.charAt(n-3),o=d.value.includes("}}")?"--":"";return["{{",r?"~":"","!",o,d.value,o,i?"~":"","}}"]}case"PathExpression":return d.original;case"BooleanLiteral":return String(d.value);case"CommentStatement":return["\x3c!--",d.value,"--\x3e"];case"StringLiteral":if(se(e)){let e=t.singleQuote?'"':"'";return ae(d.value,e)}return ae(d.value,f);case"NumberLiteral":return String(d.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(d.type))}}function N(e,t){return m(e)-m(t)}function I(e,t){let n=e.getValue(),r=["attributes","modifiers","comments"].filter(e=>f(n[e])),i=r.flatMap(e=>n[e]).sort(N);for(let o of r)e.each(e=>{let n=i.indexOf(e.getValue());i.splice(n,1,[u,t()])},o);return f(n.blockParams)&&i.push(u,pe(n)),["<",n.tag,s(i),R(n)]}function M(e,t,n){let r=e.getValue().children.every(e=>A(e));return"ignore"===t.htmlWhitespaceSensitivity&&r?"":e.map((e,r)=>{let i=n();return 0===r&&"ignore"===t.htmlWhitespaceSensitivity?[c,i]:i},"children")}function R(e){return D(e)?a([c,"/>"],[" />",c]):a([c,">"],">")}function P(e){let t=!1===e.escaped?"{{{":"{{",n=e.strip&&e.strip.open?"~":"";return[t,n]}function L(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function F(e){let t=P(e),n=e.openStrip.open?"~":"";return[t,n,"#"]}function B(e){let t=L(e);return[e.openStrip.close?"~":"",t]}function j(e){let t=P(e),n=e.closeStrip.open?"~":"";return[t,n,"/"]}function U(e){let t=L(e);return[e.closeStrip.close?"~":"",t]}function q(e){let t=P(e),n=e.inverseStrip.open?"~":"";return[t,n]}function $(e){let t=L(e);return[e.inverseStrip.close?"~":"",t]}function H(e,t){let n=e.getValue(),r=[],o=de(e,t);return o&&r.push(i(o)),f(n.program.blockParams)&&r.push(pe(n.program)),i([F(n),ce(e,t),r.length>0?s([u,l(u,r)]):"",c,B(n)])}function z(e,t){return["ignore"===t.htmlWhitespaceSensitivity?o:"",q(e),"else",$(e)]}function G(e,t,n){let r=e.getValue(),o=e.getParentNode(1);return i([q(o),["else"," ",n],s([u,i(de(e,t)),...f(r.program.blockParams)?[u,pe(r.program)]:[]]),c,$(o)])}function V(e,t,n){let r=e.getValue();return"ignore"===n.htmlWhitespaceSensitivity?[W(r)?c:o,j(r),t("path"),U(r)]:[j(r),t("path"),U(r)]}function W(e){return w(e,["BlockStatement"])&&e.program.body.every(e=>A(e))}function K(e){return Q(e)&&1===e.inverse.body.length&&w(e.inverse.body[0],["BlockStatement"])&&e.inverse.body[0].path.parts[0]===e.path.parts[0]}function Q(e){return w(e,["BlockStatement"])&&e.inverse}function X(e,t,n){let r=e.getValue();if(W(r))return"";let i=t("program");return"ignore"===n.htmlWhitespaceSensitivity?s([o,i]):s(i)}function Z(e,t,n){let r=e.getValue(),i=t("inverse"),a="ignore"===n.htmlWhitespaceSensitivity?[o,i]:i;return K(r)?a:Q(r)?[z(r,n),s(a)]:""}function J(e){return d(l(u,ee(e)))}function ee(e){return e.split(/[\t\n\f\r ]+/)}function te(e){for(let t=0;t<2;t++){let n=e.getParentNode(t);if(n&&"AttrNode"===n.type)return n.name.toLowerCase()}}function ne(e){return e="string"==typeof e?e:"",e.split("\n").length-1}function re(e){e="string"==typeof e?e:"";let t=(e.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return ne(t)}function ie(e){e="string"==typeof e?e:"";let t=(e.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return ne(t)}function oe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,O)}).fill(o)}function ae(e,t){let{quote:n,regex:r}=h(e,t);return[n,e.replace(r,"\\"+n),n]}function se(e){let t=0,n=e.getParentNode(t);for(;n&&w(n,["SubExpression"]);)t++,n=e.getParentNode(t);return!!(n&&w(e.getParentNode(t+1),["ConcatStatement"])&&w(e.getParentNode(t+2),["AttrNode"]))}function le(e,t){let n=ce(e,t),r=de(e,t);return r?s([n,u,i(r)]):n}function ue(e,t){let n=ce(e,t),r=de(e,t);return r?[s([n,u,r]),c]:n}function ce(e,t){return t("path")}function de(e,t){let n=e.getValue(),r=[];if(n.params.length>0){let n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){let e=t("hash");r.push(e)}return 0===r.length?"":l(u,r)}function pe(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:k,massageAstNode:v}}}),ii=_({"src/language-handlebars/parsers.js"(){C()}}),oi=_({"node_modules/linguist-languages/data/Handlebars.json"(e,t){t.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),ai=_({"src/language-handlebars/index.js"(e,t){C();var n=tn(),r=ri(),i=ii(),o=[n(oi(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],a={glimmer:r};t.exports={languages:o,printers:a,parsers:i}}}),si=_({"src/language-graphql/pragma.js"(e,t){function n(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)}function r(e){return"# @format\n\n"+e}C(),t.exports={hasPragma:n,insertPragma:r}}}),li=_({"src/language-graphql/loc.js"(e,t){function n(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start}function r(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}C(),t.exports={locStart:n,locEnd:r}}}),ui=_({"src/language-graphql/printer-graphql.js"(e,t){C();var{builders:{join:n,hardline:r,line:i,softline:o,group:a,indent:s,ifBreak:l}}=Y(),{isNextLineEmpty:u,isNonEmptyArray:c}=ge(),{insertPragma:d}=si(),{locStart:p,locEnd:h}=li();function f(e,t,d){let f=e.getValue();if(!f)return"";if("string"==typeof f)return f;switch(f.kind){case"Document":{let n=[];return e.each((e,i,o)=>{n.push(d()),i!==o.length-1&&(n.push(r),u(t.originalText,e.getValue(),h)&&n.push(r))},"definitions"),[...n,r]}case"OperationDefinition":{let r="{"!==t.originalText[p(f)],i=Boolean(f.name);return[r?f.operation:"",r&&i?[" ",d("name")]:"",r&&!i&&c(f.variableDefinitions)?" ":"",c(f.variableDefinitions)?a(["(",s([o,n([l("",", "),o],e.map(d,"variableDefinitions"))]),o,")"]):"",m(e,d,f),f.selectionSet&&(r||i)?" ":"",d("selectionSet")]}case"FragmentDefinition":return["fragment ",d("name"),c(f.variableDefinitions)?a(["(",s([o,n([l("",", "),o],e.map(d,"variableDefinitions"))]),o,")"]):""," on ",d("typeCondition"),m(e,d,f)," ",d("selectionSet")];case"SelectionSet":return["{",s([r,n(r,g(e,t,d,"selections"))]),r,"}"];case"Field":return a([f.alias?[d("alias"),": "]:"",d("name"),f.arguments.length>0?a(["(",s([o,n([l("",", "),o],g(e,t,d,"arguments"))]),o,")"]):"",m(e,d,f),f.selectionSet?" ":"",d("selectionSet")]);case"Name":return f.value;case"StringValue":if(f.block){let e=f.value.replace(/"""/g,"\\$&").split("\n");return 1===e.length&&(e[0]=e[0].trim()),e.every(e=>""===e)&&(e.length=0),n(r,['"""',...e,'"""'])}return['"',f.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"IntValue":case"FloatValue":case"EnumValue":return f.value;case"BooleanValue":return f.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",d("name")];case"ListValue":return a(["[",s([o,n([l("",", "),o],e.map(d,"values"))]),o,"]"]);case"ObjectValue":return a(["{",t.bracketSpacing&&f.fields.length>0?" ":"",s([o,n([l("",", "),o],e.map(d,"fields"))]),o,l("",t.bracketSpacing&&f.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[d("name"),": ",d("value")];case"Directive":return["@",d("name"),f.arguments.length>0?a(["(",s([o,n([l("",", "),o],g(e,t,d,"arguments"))]),o,")"]):""];case"NamedType":return d("name");case"VariableDefinition":return[d("variable"),": ",d("type"),f.defaultValue?[" = ",d("defaultValue")]:"",m(e,d,f)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[d("description"),f.description?r:"","ObjectTypeExtension"===f.kind?"extend ":"","type ",d("name"),f.interfaces.length>0?[" implements ",...y(e,t,d)]:"",m(e,d,f),f.fields.length>0?[" {",s([r,n(r,g(e,t,d,"fields"))]),r,"}"]:""];case"FieldDefinition":return[d("description"),f.description?r:"",d("name"),f.arguments.length>0?a(["(",s([o,n([l("",", "),o],g(e,t,d,"arguments"))]),o,")"]):"",": ",d("type"),m(e,d,f)];case"DirectiveDefinition":return[d("description"),f.description?r:"","directive ","@",d("name"),f.arguments.length>0?a(["(",s([o,n([l("",", "),o],g(e,t,d,"arguments"))]),o,")"]):"",f.repeatable?" repeatable":""," on ",n(" | ",e.map(d,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[d("description"),f.description?r:"","EnumTypeExtension"===f.kind?"extend ":"","enum ",d("name"),m(e,d,f),f.values.length>0?[" {",s([r,n(r,g(e,t,d,"values"))]),r,"}"]:""];case"EnumValueDefinition":return[d("description"),f.description?r:"",d("name"),m(e,d,f)];case"InputValueDefinition":return[d("description"),f.description?f.description.block?r:i:"",d("name"),": ",d("type"),f.defaultValue?[" = ",d("defaultValue")]:"",m(e,d,f)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[d("description"),f.description?r:"","InputObjectTypeExtension"===f.kind?"extend ":"","input ",d("name"),m(e,d,f),f.fields.length>0?[" {",s([r,n(r,g(e,t,d,"fields"))]),r,"}"]:""];case"SchemaExtension":return["extend schema",m(e,d,f),...f.operationTypes.length>0?[" {",s([r,n(r,g(e,t,d,"operationTypes"))]),r,"}"]:[]];case"SchemaDefinition":return[d("description"),f.description?r:"","schema",m(e,d,f)," {",f.operationTypes.length>0?s([r,n(r,g(e,t,d,"operationTypes"))]):"",r,"}"];case"OperationTypeDefinition":return[d("operation"),": ",d("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[d("description"),f.description?r:"","InterfaceTypeExtension"===f.kind?"extend ":"","interface ",d("name"),f.interfaces.length>0?[" implements ",...y(e,t,d)]:"",m(e,d,f),f.fields.length>0?[" {",s([r,n(r,g(e,t,d,"fields"))]),r,"}"]:""];case"FragmentSpread":return["...",d("name"),m(e,d,f)];case"InlineFragment":return["...",f.typeCondition?[" on ",d("typeCondition")]:"",m(e,d,f)," ",d("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return a([d("description"),f.description?r:"",a(["UnionTypeExtension"===f.kind?"extend ":"","union ",d("name"),m(e,d,f),f.types.length>0?[" =",l(""," "),s([l([i," "]),n([i,"| "],e.map(d,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[d("description"),f.description?r:"","ScalarTypeExtension"===f.kind?"extend ":"","scalar ",d("name"),m(e,d,f)];case"NonNullType":return[d("type"),"!"];case"ListType":return["[",d("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(f.kind))}}function m(e,t,r){if(0===r.directives.length)return"";let l=n(i,e.map(t,"directives"));return"FragmentDefinition"===r.kind||"OperationDefinition"===r.kind?a([i,l]):[" ",a(s([o,l]))]}function g(e,t,n,i){return e.map((e,i,o)=>{let a=n();return in(e),"interfaces");for(let l=0;l"prettier-ignore"===e.value.trim())}_.ignoredProperties=new Set(["loc","comments"]),t.exports={print:f,massageAstNode:_,hasPrettierIgnore:E,insertPragma:d,printComment:b,canAttachComment:v}}}),ci=_({"src/language-graphql/options.js"(e,t){C();var n=wr();t.exports={bracketSpacing:n.bracketSpacing}}}),di=_({"src/language-graphql/parsers.js"(){C()}}),pi=_({"node_modules/linguist-languages/data/GraphQL.json"(e,t){t.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),hi=_({"src/language-graphql/index.js"(e,t){C();var n=tn(),r=ui(),i=ci(),o=di(),a=[n(pi(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],s={graphql:r};t.exports={languages:a,options:i,printers:s,parsers:o}}}),fi=_({"node_modules/collapse-white-space/index.js"(e,t){function n(e){return String(e).replace(/\s+/g," ")}C(),t.exports=n}}),mi=_({"src/language-markdown/loc.js"(e,t){function n(e){return e.position.start.offset}function r(e){return e.position.end.offset}C(),t.exports={locStart:n,locEnd:r}}}),gi=_({"src/language-markdown/constants.evaluate.js"(e,t){t.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]"}}}),vi=_({"src/language-markdown/utils.js"(e,t){C();var{getLast:n}=ge(),{locStart:r,locEnd:i}=mi(),{cjkPattern:o,kPattern:a,punctuationPattern:s}=gi(),l=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],u=[...l,"tableCell","paragraph","heading"],c=new RegExp(a),d=new RegExp(s);function p(e,t){let r="non-cjk",i="cj-letter",a="k-letter",s="cjk-punctuation",l=[],u=("preserve"===t.proseWrap?e:e.replace(new RegExp(`(${o})\n(${o})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[h,f]of u.entries()){if(h%2===1){l.push({type:"whitespace",value:/\n/.test(f)?"\n":" "});continue}if((0===h||h===u.length-1)&&""===f)continue;let e=f.split(new RegExp(`(${o})`));for(let[t,o]of e.entries())if(0!==t&&t!==e.length-1||""!==o){if(t%2===0){""!==o&&p({type:"word",value:o,kind:r,hasLeadingPunctuation:d.test(o[0]),hasTrailingPunctuation:d.test(n(o))});continue}p(d.test(o)?{type:"word",value:o,kind:s,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:o,kind:c.test(o)?a:i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return l;function p(e){let t=n(l);function o(n,r){return t.kind===n&&e.kind===r||t.kind===r&&e.kind===n}t&&"word"===t.type&&(t.kind===r&&e.kind===i&&!t.hasTrailingPunctuation||t.kind===i&&e.kind===r&&!e.hasLeadingPunctuation?l.push({type:"whitespace",value:" "}):!o(r,s)&&![t.value,e.value].some(e=>/\u3000/.test(e))&&l.push({type:"whitespace",value:""})),l.push(e)}}function h(e,t){let[,n,r,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:i}}function f(e,t){if(!e.ordered||e.children.length<2)return!1;let n=Number(h(e.children[0],t.originalText).numberText),r=Number(h(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){let n=Number(h(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r}function m(e,t){let{value:n}=e;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n}function g(e,t){return function e(n,r,i){let o=Object.assign({},t(n,r,i));return o.children&&(o.children=o.children.map((t,n)=>e(t,n,[o,...i]))),o}(e,null,[])}function v(e){if("link"!==(null==e?void 0:e.type)||1!==e.children.length)return!1;let[t]=e.children;return r(e)===r(t)&&i(e)===i(t)}t.exports={mapAst:g,splitText:p,punctuationPattern:s,getFencedCodeBlockValue:m,getOrderedListItemInfo:h,hasGitDiffFriendlyOrderedList:f,INLINE_NODE_TYPES:l,INLINE_NODE_WRAPPER_TYPES:u,isAutolink:v}}}),bi=_({"src/language-markdown/embed.js"(e,t){C();var{inferParserByLanguage:n,getMaxContinuousCount:r}=ge(),{builders:{hardline:i,markAsRoot:o},utils:{replaceEndOfLine:a}}=Y(),s=Rr(),{getFencedCodeBlockValue:l}=vi();function u(e,t,u,c){let d=e.getValue();if("code"===d.type&&null!==d.lang){let e=n(d.lang,c);if(e){let t=c.__inJsTemplate?"~":"`",n=t.repeat(Math.max(3,r(d.value,t)+1)),s={parser:e};"tsx"===d.lang&&(s.filepath="dummy.tsx");let p=u(l(d,c.originalText),s,{stripTrailingHardline:!0});return o([n,d.lang,d.meta?" "+d.meta:"",i,a(p),i,n])}}switch(d.type){case"front-matter":return s(d,u);case"importExport":return[u(d.value,{parser:"babel"},{stripTrailingHardline:!0}),i];case"jsx":return u(`<$>${d.value}`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}t.exports=u}}),yi=_({"src/language-markdown/pragma.js"(e,t){C();var n=Lr(),r=["format","prettier"];function i(e){let t=`@(${r.join("|")})`,n=new RegExp([`\x3c!--\\s*${t}\\s*--\x3e`,`{\\s*\\/\\*\\s*${t}\\s*\\*\\/\\s*}`,`\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*${t}[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e`].join("|"),"m"),i=e.match(n);return 0===(null==i?void 0:i.index)}t.exports={startWithPragma:i,hasPragma:e=>i(n(e).content.trimStart()),insertPragma:e=>{let t=n(e),i=`\x3c!-- @${r[0]} --\x3e`;return t.frontMatter?`${t.frontMatter.raw}\n\n${i}\n\n${t.content}`:`${i}\n\n${t.content}`}}}}),_i=_({"src/language-markdown/print-preprocess.js"(e,t){C();var n=N(),{getOrderedListItemInfo:r,mapAst:i,splitText:o}=vi(),a=/^.$/su;function s(e,t){return e=c(e,t),e=h(e),e=u(e,t),e=m(e,t),e=g(e,t),e=f(e,t),e=l(e),e=d(e),e}function l(e){return i(e,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"}))}function u(e,t){return i(e,e=>"inlineCode"!==e.type||"preserve"===t.proseWrap?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")}))}function c(e,t){return i(e,e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&a.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e)}function d(e){return p(e,(e,t)=>"importExport"===e.type&&"importExport"===t.type,(e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}))}function p(e,t,r){return i(e,e=>{if(!e.children)return e;let i=e.children.reduce((e,i)=>{let o=n(e);return o&&t(o,i)?e.splice(-1,1,r(o,i)):e.push(i),e},[]);return Object.assign(Object.assign({},e),{},{children:i})})}function h(e){return p(e,(e,t)=>"text"===e.type&&"text"===t.type,(e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}))}function f(e,t){return i(e,(e,n,r)=>{let[i]=r;if("text"!==e.type)return e;let{value:a}=e;return"paragraph"===i.type&&(0===n&&(a=a.trimStart()),n===i.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:e.position,children:o(a,t)}})}function m(e,t){return i(e,(e,n,r)=>{if("code"===e.type){let n=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e{if("list"===e.type&&e.children.length>0){for(let t=0;t1)return!0;let a=n(i);if(-1===a)return!1;if(1===e.children.length)return a%t.tabWidth===0;let s=n(o);return a===s&&(a%t.tabWidth===0||r(o,t.originalText).leadingSpaces.length>1)}}t.exports=s}}),Ei=_({"src/language-markdown/clean.js"(e,t){C();var n=fi(),{isFrontMatterNode:r}=ge(),{startWithPragma:i}=yi(),o=new Set(["position","raw"]);function a(e,t,o){if(("front-matter"===e.type||"code"===e.type||"yaml"===e.type||"import"===e.type||"export"===e.type||"jsx"===e.type)&&delete t.value,"list"===e.type&&delete t.isAligned,("list"===e.type||"listItem"===e.type)&&(delete t.spread,delete t.loose),"text"===e.type||("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),("definition"===e.type||"linkReference"===e.type||"imageReference"===e.type)&&(t.label=n(e.label)),("definition"===e.type||"link"===e.type||"image"===e.type)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),o&&"root"===o.type&&o.children.length>0&&(o.children[0]===e||r(o.children[0])&&o.children[1]===e)&&"html"===e.type&&i(e.value)))return null}a.ignoredProperties=o,t.exports=a}}),Si=_({"src/language-markdown/printer-markdown.js"(e,t){C();var n=fi(),{getLast:r,getMinNotPresentContinuousCount:i,getMaxContinuousCount:o,getStringWidth:a,isNonEmptyArray:s}=ge(),{builders:{breakParent:l,join:u,line:c,literalline:d,markAsRoot:p,hardline:h,softline:f,ifBreak:m,fill:g,align:v,indent:b,group:y,hardlineWithoutBreakParent:_},utils:{normalizeDoc:E,replaceTextEndOfLine:S},printer:{printDocToString:w}}=Y(),x=bi(),{insertPragma:T}=yi(),{locStart:D,locEnd:A}=mi(),O=_i(),k=Ei(),{getFencedCodeBlockValue:N,hasGitDiffFriendlyOrderedList:I,splitText:M,punctuationPattern:R,INLINE_NODE_TYPES:P,INLINE_NODE_WRAPPER_TYPES:L,isAutolink:F}=vi(),B=new Set(["importExport"]),j=["heading","tableCell","link","wikiLink"],U=new Set(["listItem","definition","footnoteDefinition"]);function q(e,t,n){let a=e.getValue();if(oe(e))return M(t.originalText.slice(a.position.start.offset,a.position.end.offset),t).map(n=>"word"===n.type?n.value:""===n.value?"":K(e,n.value,t));switch(a.type){case"front-matter":return t.originalText.slice(a.position.start.offset,a.position.end.offset);case"root":return 0===a.children.length?"":[E(X(e,t,n)),B.has(ee(a).type)?"":h];case"paragraph":return Z(e,t,n,{postprocessor:g});case"sentence":return Z(e,t,n);case"word":{let t=a.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${R})(_+)`,`(_+)(${R}|$)`].join("|"),"g"),(e,t,n,r,i)=>(n?`${t}${n}`:`${r}${i}`).replace(/_/g,"\\_")),n=(e,t,n)=>"sentence"===e.type&&0===n,r=(e,t,n)=>F(e.children[n-1]);return t!==a.value&&(e.match(void 0,n,r)||e.match(void 0,n,(e,t,n)=>"emphasis"===e.type&&0===n,r))&&(t=t.replace(/^(\\?[*_])+/,e=>e.replace(/\\/g,""))),t}case"whitespace":{let n=e.getParentNode(),r=n.children.indexOf(a),i=n.children[r+1],o=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)?"never":t.proseWrap;return K(e,a.value,{proseWrap:o})}case"emphasis":{let i;if(F(a.children[0]))i=t.originalText[a.position.start.offset];else{let t=e.getParentNode(),n=t.children.indexOf(a),o=t.children[n-1],s=t.children[n+1];i=o&&"sentence"===o.type&&o.children.length>0&&"word"===r(o.children).type&&!r(o.children).hasTrailingPunctuation||s&&"sentence"===s.type&&s.children.length>0&&"word"===s.children[0].type&&!s.children[0].hasLeadingPunctuation||W(e,"emphasis")?"*":"_"}return[i,Z(e,t,n),i]}case"strong":return["**",Z(e,t,n),"**"];case"delete":return["~~",Z(e,t,n),"~~"];case"inlineCode":{let e=i(a.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(a.value)?" ":"";return[t,n,a.value,n,t]}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?a.value:a.value.replace(/[\t\n]+/g," "),["[[",e,"]]"]}case"link":switch(t.originalText[a.position.start.offset]){case"<":{let e="mailto:";return["<",a.url.startsWith(e)&&t.originalText.slice(a.position.start.offset+1,a.position.start.offset+1+e.length)!==e?a.url.slice(e.length):a.url,">"]}case"[":return["[",Z(e,t,n),"](",ae(a.url,")"),se(a.title,t),")"];default:return t.originalText.slice(a.position.start.offset,a.position.end.offset)}case"image":return["![",a.alt||"","](",ae(a.url,")"),se(a.title,t),")"];case"blockquote":return["> ",v("> ",Z(e,t,n))];case"heading":return["#".repeat(a.depth)+" ",Z(e,t,n)];case"code":{if(a.isIndented){let e=" ".repeat(4);return v(e,[e,...S(a.value,h)])}let e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,o(a.value,e)+1));return[n,a.lang||"",a.meta?" "+a.meta:"",h,...S(N(a,t.originalText),h),h,n]}case"html":{let t=e.getParentNode(),n="root"===t.type&&r(t.children)===a?a.value.trimEnd():a.value,i=/^$/s.test(n);return S(n,i?h:p(d))}case"list":{let r=z(a,e.getParentNode()),i=I(a,t);return Z(e,t,n,{processor:(e,o)=>{let s=u(),l=e.getValue();return 2===l.children.length&&"html"===l.children[1].type&&l.children[0].position.start.column!==l.children[1].position.start.column?[s,$(e,t,n,s)]:[s,v(" ".repeat(s.length),$(e,t,n,s))];function u(){let e=a.ordered?(0===o?a.start:i?1:a.start+o)+(r%2===0?". ":") "):r%2===0?"- ":"* ";return a.isAligned||a.hasIndentedCodeblock?H(e,t):e}}})}case"thematicBreak":{let t=V(e,"list");return-1===t?"---":z(e.getParentNode(t),e.getParentNode(t+1))%2===0?"***":"---"}case"linkReference":return["[",Z(e,t,n),"]","full"===a.referenceType?ce(a):"collapsed"===a.referenceType?"[]":""];case"imageReference":switch(a.referenceType){case"full":return["![",a.alt||"","]",ce(a)];default:return["![",a.alt,"]","collapsed"===a.referenceType?"[]":""]}case"definition":{let e="always"===t.proseWrap?c:" ";return y([ce(a),":",b([e,ae(a.url),null===a.title?"":[e,se(a.title,t,!1)]])])}case"footnote":return["[^",Z(e,t,n),"]"];case"footnoteReference":return de(a);case"footnoteDefinition":{let r=e.getParentNode().children[e.getName()+1],i=1===a.children.length&&"paragraph"===a.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&a.children[0].position.start.line===a.children[0].position.end.line);return[de(a),": ",i?Z(e,t,n):y([v(" ".repeat(4),Z(e,t,n,{processor:(e,t)=>0===t?y([f,n()]):n()})),r&&"footnoteDefinition"===r.type?f:""])]}case"table":return Q(e,t,n);case"tableCell":return Z(e,t,n);case"break":return/\s/.test(t.originalText[a.position.start.offset])?[" ",p(d)]:["\\",h];case"liquidNode":return S(a.value,h);case"importExport":return[a.value,h];case"esComment":return["{/* ",a.value," */}"];case"jsx":return a.value;case"math":return["$$",h,a.value?[...S(a.value,h),h]:"","$$"];case"inlineMath":return t.originalText.slice(D(a),A(a));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type "+JSON.stringify(a.type))}}function $(e,t,n,r){let i=e.getValue(),o=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[o,Z(e,t,n,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return v(" ".repeat(o.length),n());let a=" ".repeat(le(t.tabWidth-r.length,0,3));return[a,v(a,n())]}})]}function H(e,t){let n=r();return e+" ".repeat(n>=4?0:n);function r(){let n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}function z(e,t){return G(e,t,t=>t.ordered===e.ordered)}function G(e,t,n){let r=-1;for(let i of t.children)if(i.type===e.type&&n(i)?r++:r=-1,i===e)return r}function V(e,t){let n,r=Array.isArray(t)?t:[t],i=-1;for(;n=e.getParentNode(++i);)if(r.includes(n.type))return i;return-1}function W(e,t){let n=V(e,t);return-1===n?null:e.getParentNode(n)}function K(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return h;let r="always"===n.proseWrap&&!W(e,j);return""!==t?r?c:" ":r?f:""}function Q(e,t,n){let r=e.getValue(),i=[],o=e.map(e=>e.map((e,r)=>{let o=w(n(),t).formatted,s=a(o);return i[r]=Math.max(i[r]||3,s),{text:o,width:s}},"children"),"children"),s=d(!1);if("never"!==t.proseWrap)return[l,s];let c=d(!0);return[l,y(m(c,s))];function d(e){let t=[h(o[0],e),p(e)];return o.length>1&&t.push(u(_,o.slice(1).map(t=>h(t,e)))),u(_,t)}function p(e){return`| ${i.map((t,n)=>{let i=r.align[n],o="center"===i||"left"===i?":":"-",a="center"===i||"right"===i?":":"-",s=e?"-":"-".repeat(t-2);return`${o}${s}${a}`}).join(" | ")} |`}function h(e,t){return`| ${e.map((e,n)=>{let{text:o,width:a}=e;if(t)return o;let s=i[n]-a,l=r.align[n],u=0;"right"===l?u=s:"center"===l&&(u=Math.floor(s/2));let c=s-u;return`${" ".repeat(u)}${o}${" ".repeat(c)}`}).join(" | ")} |`}}function X(e,t,n){let r=[],i=null,{children:o}=e.getValue();for(let[a,s]of o.entries())switch(te(s)){case"start":null===i&&(i={index:a,offset:s.position.end.offset});break;case"end":null!==i&&(r.push({start:i,end:{index:a,offset:s.position.start.offset}}),i=null);break;default:break}return Z(e,t,n,{processor:(e,i)=>{if(r.length>0){let e=r[0];if(i===e.start.index)return[J(o[e.start.index]),t.originalText.slice(e.start.offset,e.end.offset),J(o[e.end.index])];if(e.start.index3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:o}=i,a=i.processor||(()=>n()),s=e.getValue(),l=[];return e.each((e,n)=>{let i=e.getValue(),o=a(e,n);if(!1!==o){let e={parts:l,prevNode:r,parentNode:s,options:t};ne(i,e)&&(l.push(h),r&&B.has(r.type)||(re(i,e)||ie(i,e))&&l.push(h),ie(i,e)&&l.push(h)),l.push(o),r=i}},"children"),o?o(l):l}function J(e){return"html"===e.type?e.value:"paragraph"===e.type&&Array.isArray(e.children)&&1===e.children.length&&"esComment"===e.children[0].type?["{/* ",e.children[0].value," */}"]:void 0}function ee(e){let t=e;for(;s(t.children);)t=r(t.children);return t}function te(e){let t;if("html"===e.type)t=e.value.match(/^$/);else{let n;"esComment"===e.type?n=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(n=e.children[0]),n&&(t=n.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]||"next")}function ne(e,t){let n=0===t.parts.length,r=P.includes(e.type),i="html"===e.type&&L.includes(t.parentNode.type);return!n&&!r&&!i}function re(e,t){var n,r,i;let o=(t.prevNode&&t.prevNode.type)===e.type&&U.has(e.type),a="listItem"===t.parentNode.type&&!t.parentNode.loose,s="listItem"===(null===(n=t.prevNode)||void 0===n?void 0:n.type)&&t.prevNode.loose,l="next"===te(t.prevNode),u="html"===e.type&&"html"===(null===(r=t.prevNode)||void 0===r?void 0:r.type)&&t.prevNode.position.end.line+1===e.position.start.line,c="html"===e.type&&"listItem"===t.parentNode.type&&"paragraph"===(null===(i=t.prevNode)||void 0===i?void 0:i.type)&&t.prevNode.position.end.line+1===e.position.start.line;return s||!(o||a||l||u||c)}function ie(e,t){let n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function oe(e){let t=W(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}function ae(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[" ",...Array.isArray(t)?t:[t]];return new RegExp(n.map(e=>"\\"+e).join("|")).test(e)?`<${e}>`:e}function se(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)return"";if(n)return" "+se(e,t,!1);if(e=e.replace(/\\(["')])/g,"$1"),e.includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let r=e.split("'").length-1,i=e.split('"').length-1,o=r>i?'"':i>r||t.singleQuote?"'":'"';return e=e.replace(/\\/,"\\\\"),e=e.replace(new RegExp(`(${o})`,"g"),"\\$1"),`${o}${e}${o}`}function le(e,t,n){return en?n:e}function ue(e){let t=Number(e.getName());if(0===t)return!1;let n=e.getParentNode().children[t-1];return"next"===te(n)}function ce(e){return`[${n(e.label)}]`}function de(e){return`[^${e.label}]`}t.exports={preprocess:O,print:q,embed:x,massageAstNode:k,hasPrettierIgnore:ue,insertPragma:T}}}),wi=_({"src/language-markdown/options.js"(e,t){C();var n=wr();t.exports={proseWrap:n.proseWrap,singleQuote:n.singleQuote}}}),xi=_({"src/language-markdown/parsers.js"(){C()}}),Ci=_({"node_modules/linguist-languages/data/Markdown.json"(e,t){t.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}}}),Ti=_({"src/language-markdown/index.js"(e,t){C();var n=tn(),r=Si(),i=wi(),o=xi(),a=[n(Ci(),e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter(e=>".mdx"!==e)})),n(Ci(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],s={mdast:r};t.exports={languages:a,options:i,printers:s,parsers:o}}}),Di=_({"src/language-html/clean.js"(e,t){C();var{isFrontMatterNode:n}=ge(),r=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function i(e,t){if("text"===e.type||"comment"===e.type||n(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}i.ignoredProperties=r,t.exports=i}}),Ai=_({"src/language-html/constants.evaluate.js"(e,t){t.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"}}}),Oi=_({"src/language-html/utils/is-unknown-namespace.js"(e,t){function n(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}C(),t.exports=n}}),ki=_({"src/language-html/utils/index.js"(e,t){C();var{inferParserByLanguage:n,isFrontMatterNode:r}=ge(),{builders:{line:i,hardline:o,join:a},utils:{getDocParts:s,replaceTextEndOfLine:l}}=Y(),{CSS_DISPLAY_TAGS:u,CSS_DISPLAY_DEFAULT:c,CSS_WHITE_SPACE_TAGS:d,CSS_WHITE_SPACE_DEFAULT:p}=Ai(),h=Oi(),f=new Set(["\t","\n","\f","\r"," "]),m=e=>e.replace(/^[\t\n\f\r ]+/,""),g=e=>e.replace(/[\t\n\f\r ]+$/,""),v=e=>m(g(e)),b=e=>e.replace(/^[\t\f\r ]*\n/g,""),y=e=>b(g(e)),_=e=>e.split(/[\t\n\f\r ]+/),E=e=>e.match(/^[\t\n\f\r ]*/)[0],S=e=>{let[,t,n,r]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},w=e=>/[\t\n\f\r ]/.test(e);function x(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||re(e)&&e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type)||me(e,t)&&!O(e)&&"interpolation"!==e.type)}function T(e){return!("attribute"===e.type||!e.parent||!e.prev)&&D(e.prev)}function D(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}function A(e){return"text"===e.type||"comment"===e.type}function O(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||h(e)&&("script"===e.name||"style"===e.name))}function k(e){return e.children&&!O(e)}function N(e){return O(e)||"interpolation"===e.type||I(e)}function I(e){return se(e).startsWith("pre")}function M(e,t){let n=i();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n;function i(){return!r(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!re(e.parent)||!(!e.prev&&("root"===e.parent.type||re(e)&&e.parent||O(e.parent)||he(e.parent,t)||!Z(e.parent.cssDisplay))||e.prev&&!te(e.prev.cssDisplay))))}}function R(e,t){return!r(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!re(e.parent)||!(!e.next&&("root"===e.parent.type||re(e)&&e.parent||O(e.parent)||he(e.parent,t)||!J(e.parent.cssDisplay))||e.next&&!ee(e.next.cssDisplay))))}function P(e){return ne(e.cssDisplay)&&!O(e)}function L(e){return r(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(e=>V(e)))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&$(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||H(e.lastChild))}function B(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function j(e){return z(e)||e.prev&&U(e.prev)||q(e)}function U(e){return z(e)||"element"===e.type&&"br"===e.fullName||q(e)}function q(e){return $(e)&&H(e)}function $(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function z(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function G(e){return e.lastChild?G(e.lastChild):e}function V(e){return e.children&&e.children.some(e=>"text"!==e.type)}function W(e){let{type:t,lang:n}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))||"speculationrules"===t?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function K(e,t){let{lang:r}=e.attrMap;return r&&"postcss"!==r&&"css"!==r?"scss"===r?"scss":"less"===r?"less":"stylus"===r?n("stylus",t):void 0:"css"}function Q(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?K(e,t):t&&me(e,t)?W(e)||!("src"in e.attrMap)&&n(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?W(e):"babel"}function X(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Z(e){return!X(e)&&"inline-block"!==e}function J(e){return!X(e)&&"inline-block"!==e}function ee(e){return!X(e)}function te(e){return!X(e)}function ne(e){return!X(e)&&"inline-block"!==e}function re(e){return se(e).startsWith("pre")}function ie(e,t){let n=0;for(let r=e.stack.length-1;r>=0;r--){let i=e.stack[r];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&n++}return n}function oe(e,t){let n=e;for(;n;){if(t(n))return!0;n=n.parent}return!1}function ae(e,t){if(e.prev&&"comment"===e.prev.type){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let n=!1;if("element"===e.type&&"svg"===e.namespace){if(!oe(e,e=>"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||n||h(e))&&u[e.name]||c}}function se(e){return"element"===e.type&&(!e.namespace||h(e))&&d[e.name]||p}function le(e){let t=Number.POSITIVE_INFINITY;for(let n of e.split("\n")){if(0===n.length)continue;if(!f.has(n[0]))return 0;let e=E(n).length;n.length!==e&&e1&&void 0!==arguments[1]?arguments[1]:le(e);return 0===t?e:e.split("\n").map(e=>e.slice(t)).join("\n")}function ce(e,t){let n=0;for(let r=0;r1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?l(t):l(ue(y(t)),o):s(a(i,_(t)))}function _e(e,t){return fe(e,t)&&"script"===e.name}t.exports={htmlTrim:v,htmlTrimPreserveIndentation:y,hasHtmlWhitespace:w,getLeadingAndTrailingHtmlWhitespace:S,canHaveInterpolation:k,countChars:ce,countParents:ie,dedentString:ue,forceBreakChildren:B,forceBreakContent:F,forceNextEmptyLine:L,getLastDescendant:G,getNodeCssStyleDisplay:ae,getNodeCssStyleWhiteSpace:se,hasPrettierIgnore:T,inferScriptParser:Q,isVueCustomBlock:he,isVueNonHtmlBlock:me,isVueScriptTag:_e,isVueSlotAttribute:ve,isVueSfcBindingsAttribute:be,isVueSfcBlock:fe,isDanglingSpaceSensitiveNode:P,isIndentationSensitiveNode:I,isLeadingSpaceSensitiveNode:M,isPreLikeNode:re,isScriptLikeTag:O,isTextLikeNode:A,isTrailingSpaceSensitiveNode:R,isWhitespaceSensitiveNode:N,isUnknownNamespace:h,preferHardlineAsLeadingSpaces:j,preferHardlineAsTrailingSpaces:U,shouldPreserveContent:x,unescapeQuoteEntities:de,getTextValueParts:ye}}}),Ni=_({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP}function n(t){return e.$0<=t&&t<=e.$9}function r(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z}function i(t){return t>=e.$a&&t<=e.$f||t>=e.$A&&t<=e.$F||n(t)}function o(t){return t===e.$LF||t===e.$CR}function a(t){return e.$0<=t&&t<=e.$7}C(),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,e.isWhitespace=t,e.isDigit=n,e.isAsciiLetter=r,e.isAsciiHexDigit=i,e.isNewLine=o,e.isOctalDigit=a}}),Ii=_({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=t;var n=class{constructor(){this.cache=new Map}get(e,n,r){r=r||[];let i=r.length?"."+r.join("."):"",o=`"${e}".${n}${i}`,a=this.cache.get(o);return a||(a=new t(e,n,r),this.cache.set(o,a)),a}};e.StaticSymbolCache=n}}),Mi=_({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function n(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),n=0;na(e,this,t))}visitStringMap(e,t){let n={};return Object.keys(e).forEach(r=>{n[r]=a(e[r],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}};function c(e){throw new Error("Internal Error: "+e)}function d(e,t){let n=Error(e);return n[p]=!0,t&&(n[h]=t),n}e.ValueTransformer=u,e.SyncAsync={assertSync:e=>{if(S(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>S(e)?e.then(t):t(e),all:e=>e.some(S)?Promise.all(e):e},e.error=c,e.syntaxError=d;var p="ngSyntaxError",h="ngParseErrors";function f(e){return e[p]}function m(e){return e[h]||[]}function g(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}e.isSyntaxError=f,e.getParseErrors=m,e.escapeRegExp=g;var v=Object.getPrototypeOf({});function b(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===v}function y(e){let t="";for(let n=0;n=55296&&r<=56319&&e.length>n+1){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t}function _(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(_).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;if(!e.toString)return"object";let t=e.toString();if(null==t)return""+t;let n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function E(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function S(e){return!!e&&"function"==typeof e.then}e.utf8Encode=y,e.stringify=_,e.resolveForwardRef=E,e.isPromise=S;var w=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};e.Version=w;var x=typeof window<"u"&&window,T=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,D=typeof globalThis<"u"&&globalThis,A=D||x||T;e.global=A}}),Ri=_({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ii(),n=Mi(),r=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var o,a=0;function s(e){if(!e||!e.reference)return null;let r=e.reference;if(r instanceof t.StaticSymbol)return r.name;if(r.__anonymousType)return r.__anonymousType;let o=n.stringify(r);return o.indexOf("(")>=0?(o="anonymous_"+a++,r.__anonymousType=o):o=i(o),o}function l(e){let r=e.reference;return r instanceof t.StaticSymbol?r.filePath:"./"+n.stringify(r)}function u(e,t){return`View_${s({reference:e})}_${t}`}function c(e){return"RenderType_"+s({reference:e})}function d(e){return"HostView_"+s({reference:e})}function p(e){return s({reference:e})+"NgFactory"}function h(e){return null!=e.value?i(e.value):s(e.identifier)}function f(e){return null!=e.identifier?e.identifier.reference:e.value}e.identifierName=s,e.identifierModuleUrl=l,e.viewClassName=u,e.rendererTypeName=c,e.hostViewClassName=d,e.componentFactoryName=p,function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(o=e.CompileSummaryKind||(e.CompileSummaryKind={})),e.tokenName=h,e.tokenReference=f;var m=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=S(t),this.styleUrls=S(n)}};e.CompileStylesheetMetadata=m;var g=class{constructor(e){let{encapsulation:t,template:n,templateUrl:r,htmlAst:i,styles:o,styleUrls:a,externalStylesheets:s,animations:l,ngContentSelectors:u,interpolation:c,isInline:d,preserveWhitespaces:p}=e;if(this.encapsulation=t,this.template=n,this.templateUrl=r,this.htmlAst=i,this.styles=S(o),this.styleUrls=S(a),this.externalStylesheets=S(s),this.animations=l?x(l):[],this.ngContentSelectors=u||[],c&&2!=c.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=d,this.preserveWhitespaces=p}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=g;var v=class{static create(e){let{isHost:t,type:i,isComponent:o,selector:a,exportAs:s,changeDetection:l,inputs:u,outputs:c,host:d,providers:p,viewProviders:h,queries:f,guards:m,viewQueries:g,entryComponents:b,template:y,componentViewType:_,rendererType:E,componentFactory:S}=e,w={},x={},C={};null!=d&&Object.keys(d).forEach(e=>{let t=d[e],n=e.match(r);null===n?C[e]=t:null!=n[1]?x[n[1]]=t:null!=n[2]&&(w[n[2]]=t)});let T={};null!=u&&u.forEach(e=>{let t=n.splitAtColon(e,[e,e]);T[t[0]]=t[1]});let D={};return null!=c&&c.forEach(e=>{let t=n.splitAtColon(e,[e,e]);D[t[0]]=t[1]}),new v({isHost:t,type:i,isComponent:!!o,selector:a,exportAs:s,changeDetection:l,inputs:T,outputs:D,hostListeners:w,hostProperties:x,hostAttributes:C,providers:p,viewProviders:h,queries:f,guards:m,viewQueries:g,entryComponents:b,template:y,componentViewType:_,rendererType:E,componentFactory:S})}constructor(e){let{isHost:t,type:n,isComponent:r,selector:i,exportAs:o,changeDetection:a,inputs:s,outputs:l,hostListeners:u,hostProperties:c,hostAttributes:d,providers:p,viewProviders:h,queries:f,guards:m,viewQueries:g,entryComponents:v,template:b,componentViewType:y,rendererType:_,componentFactory:E}=e;this.isHost=!!t,this.type=n,this.isComponent=r,this.selector=i,this.exportAs=o,this.changeDetection=a,this.inputs=s,this.outputs=l,this.hostListeners=u,this.hostProperties=c,this.hostAttributes=d,this.providers=S(p),this.viewProviders=S(h),this.queries=S(f),this.guards=m,this.viewQueries=S(g),this.entryComponents=S(v),this.template=b,this.componentViewType=y,this.rendererType=_,this.componentFactory=E}toSummary(){return{summaryKind:o.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};e.CompileDirectiveMetadata=v;var b=class{constructor(e){let{type:t,name:n,pure:r}=e;this.type=t,this.name=n,this.pure=!!r}toSummary(){return{summaryKind:o.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=b;var y=class{};e.CompileShallowModuleMetadata=y;var _=class{constructor(e){let{type:t,providers:n,declaredDirectives:r,exportedDirectives:i,declaredPipes:o,exportedPipes:a,entryComponents:s,bootstrapComponents:l,importedModules:u,exportedModules:c,schemas:d,transitiveModule:p,id:h}=e;this.type=t||null,this.declaredDirectives=S(r),this.exportedDirectives=S(i),this.declaredPipes=S(o),this.exportedPipes=S(a),this.providers=S(n),this.entryComponents=S(s),this.bootstrapComponents=S(l),this.importedModules=S(u),this.exportedModules=S(c),this.schemas=S(d),this.id=h||null,this.transitiveModule=p||null}toSummary(){let e=this.transitiveModule;return{summaryKind:o.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};e.CompileNgModuleMetadata=_;var E=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function S(e){return e||[]}e.TransitiveCompileNgModuleMetadata=E;var w=class{constructor(e,t){let{useClass:n,useValue:r,useExisting:i,useFactory:o,deps:a,multi:s}=t;this.token=e,this.useClass=n||null,this.useValue=r,this.useExisting=i,this.useFactory=o||null,this.dependencies=a||null,this.multi=!!s}};function x(e){return e.reduce((e,t)=>{let n=Array.isArray(t)?x(t):t;return e.concat(n)},[])}function T(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function D(e,n,r){let i;return i=r.isInline?n.type.reference instanceof t.StaticSymbol?`${n.type.reference.filePath}.${n.type.reference.name}.html`:`${s(e)}/${s(n.type)}.html`:r.templateUrl,n.type.reference instanceof t.StaticSymbol?i:T(i)}function A(e,t){let n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return T(`css/${t}${r}.ngstyle.js`)}function O(e){return T(s(e.type)+"/module.ngfactory.js")}function k(e,t){return T(`${s(e)}/${s(t.type)}.ngfactory.js`)}e.ProviderMeta=w,e.flatten=x,e.templateSourceUrl=D,e.sharedStylesheetJitUrl=A,e.ngModuleJitUrl=O,e.templateJitUrl=k}}),Pi=_({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){C(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ni(),n=Ri(),r=class{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let n=this.file.content,i=n.length,o=this.offset,a=this.line,s=this.col;for(;o>0&&e<0;)if(o--,e++,n.charCodeAt(o)==t.$LF){a--;let e=n.substr(0,o-1).lastIndexOf(String.fromCharCode(t.$LF));s=e>0?o-e:o}else s--;for(;o0;){let r=n.charCodeAt(o);o++,e--,r==t.$LF?(a++,s=0):s++}return new r(this.file,o,a,s)}getContext(e,t){let n=this.file.content,r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let i=r,o=0,a=0;for(;o0&&(r--,o++,"\n"!=n[r]||++a!=t););for(o=0,a=0;o2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=a,e.EMPTY_PARSE_LOCATION=new r(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new a(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(o=e.ParseErrorLevel||(e.ParseErrorLevel={}));var s=class{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.ERROR;this.span=e,this.msg=t,this.level=n}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${o[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?", "+this.span.details:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}};function l(e,t){let o=n.identifierModuleUrl(t),s=null!=o?`in ${e} ${n.identifierName(t)} in ${o}`:`in ${e} ${n.identifierName(t)}`,l=new i("",s);return new a(new r(l,-1,-1,-1),new r(l,-1,-1,-1))}function u(e,t,n){let o=`in ${e} ${t} in ${n}`,s=new i("",o);return new a(new r(s,-1,-1,-1),new r(s,-1,-1,-1))}e.ParseError=s,e.typeSourceSpan=l,e.r3JitTypeSourceSpan=u}}),Li=_({"src/language-html/print-preprocess.js"(e,t){C();var{ParseSourceSpan:n}=Pi(),{htmlTrim:r,getLeadingAndTrailingHtmlWhitespace:i,hasHtmlWhitespace:o,canHaveInterpolation:a,getNodeCssStyleDisplay:s,isDanglingSpaceSensitiveNode:l,isIndentationSensitiveNode:u,isLeadingSpaceSensitiveNode:c,isTrailingSpaceSensitiveNode:d,isWhitespaceSensitiveNode:p,isVueScriptTag:h}=ki(),f=[g,v,y,E,S,T,w,x,D,_,A];function m(e,t){for(let n of f)n(e,t);return e}function g(e){e.walk(e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}})}function v(e){let t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk(e=>{if(e.children)for(let r=0;r{if(e.children)for(let i=0;i"cdata"===e.type,e=>``)}function _(e){let t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!o(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;e.walk(e=>{if(e.children)for(let r=0;r`+i.firstChild.value+``+a.value,o.sourceSpan=new n(o.sourceSpan.start,a.sourceSpan.end),o.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,o.hasTrailingSpaces=a.hasTrailingSpaces,e.removeChild(i),r--,e.removeChild(a)}})}function E(e,t){if("html"===t.parser)return;let r=/{{(.+?)}}/s;e.walk(e=>{if(a(e))for(let t of e.children){if("text"!==t.type)continue;let i=t.sourceSpan.start,o=null,a=t.value.split(r);for(let r=0;r0&&e.insertChildBefore(t,{type:"text",value:s,sourceSpan:new n(i,o)}))}e.removeChild(t)}})}function S(e){e.walk(e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===r(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let t=p(e),o=u(e);if(!t)for(let r=0;r{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})}function x(e,t){e.walk(e=>{"element"===e.type&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))})}function T(e,t){e.walk(e=>{e.cssDisplay=s(e,t)})}function D(e,t){e.walk(e=>{let{children:n}=e;if(n){if(0===n.length)return void(e.isDanglingSpaceSensitive=l(e));for(let e of n)e.isLeadingSpaceSensitive=c(e,t),e.isTrailingSpaceSensitive=d(e,t);for(let e=0;eh(e,t));if(!n)return;let{lang:r}=n.attrMap;("ts"===r||"typescript"===r)&&(t.__should_parse_vue_template_with_ts=!0)}}t.exports=m}}),Fi=_({"src/language-html/pragma.js"(e,t){function n(e){return/^\s*/.test(e)}function r(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}C(),t.exports={hasPragma:n,insertPragma:r}}}),Bi=_({"src/language-html/loc.js"(e,t){function n(e){return e.sourceSpan.start.offset}function r(e){return e.sourceSpan.end.offset}C(),t.exports={locStart:n,locEnd:r}}}),ji=_({"src/language-html/print/tag.js"(e,t){C();var n=Yt(),{isNonEmptyArray:r}=ge(),{builders:{indent:i,join:o,line:a,softline:s,hardline:l},utils:{replaceTextEndOfLine:u}}=Y(),{locStart:c,locEnd:d}=Bi(),{isTextLikeNode:p,getLastDescendant:h,isPreLikeNode:f,hasPrettierIgnore:m,shouldPreserveContent:g,isVueSfcBlock:v}=ki();function b(e,t){return[e.isSelfClosing?"":y(e,t),_(e,t)]}function y(e,t){return e.lastChild&&O(e.lastChild)?"":[E(e,t),w(e,t)]}function _(e,t){return(e.next?D(e.next):A(e.parent))?"":[x(e,t),S(e,t)]}function E(e,t){return A(e)?x(e.lastChild,t):""}function S(e,t){return O(e)?w(e.parent,t):k(e)?B(e.next):""}function w(e,t){if(n(!e.isSelfClosing),T(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function T(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(m(e)||g(e.parent,t))}function D(e){return e.prev&&"docType"!==e.prev.type&&!p(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function A(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!p(h(e.lastChild))&&!f(e)}function O(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&p(h(e))}function k(e){return e.next&&!p(e.next)&&p(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function N(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}function I(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function M(e,t,n){let p=e.getValue();if(!r(p.attrs))return p.isSelfClosing?" ":"";let h=p.prev&&"comment"===p.prev.type&&N(p.prev.value),f="boolean"==typeof h?()=>h:Array.isArray(h)?e=>h.includes(e.rawName):()=>!1,m=e.map(e=>{let r=e.getValue();return f(r)?u(t.originalText.slice(c(r),d(r))):n()},"attrs"),g="element"===p.type&&"script"===p.fullName&&1===p.attrs.length&&"src"===p.attrs[0].fullName&&0===p.children.length,b=t.singleAttributePerLine&&p.attrs.length>1&&!v(p,t)?l:a,y=[i([g?" ":a,o(b,m)])];return p.firstChild&&I(p.firstChild)||p.isSelfClosing&&A(p.parent)||g?y.push(p.isSelfClosing?" ":""):y.push(t.bracketSameLine?p.isSelfClosing?" ":"":p.isSelfClosing?a:s),y}function R(e){return e.firstChild&&I(e.firstChild)?"":j(e)}function P(e,t,n){let r=e.getValue();return[L(r,t),M(e,t,n),r.isSelfClosing?"":R(r)]}function L(e,t){return e.prev&&k(e.prev)?"":[F(e,t),B(e)]}function F(e,t){return I(e)?j(e.parent):D(e)?x(e.prev,t):""}function B(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if "+e.condition;case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<${e.rawName}`;default:return"<"+e.rawName}}function j(e){switch(n(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}t.exports={printClosingTag:b,printClosingTagStart:y,printClosingTagStartMarker:w,printClosingTagEndMarker:x,printClosingTagSuffix:S,printClosingTagEnd:_,needsToBorrowLastChildClosingTagEndMarker:A,needsToBorrowParentClosingTagStartMarker:O,needsToBorrowPrevClosingTagEndMarker:D,printOpeningTag:P,printOpeningTagStart:L,printOpeningTagPrefix:F,printOpeningTagStartMarker:B,printOpeningTagEndMarker:j,needsToBorrowNextOpeningTagStartMarker:k,needsToBorrowParentOpeningTagEndMarker:I}}}),Ui=_({"node_modules/parse-srcset/src/parse-srcset.js"(n,a){C(),function(n,a){i=[],r=a,o="function"===typeof r?r.apply(t,i):r,void 0===o||(e.exports=o)}(0,(function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var n,r=t.exec(e.substring(v));if(r)return n=r[0],v+=n.length,n}for(var o,a,s,l,u,c=e.length,d=/^[ \t\n\r\u000c]+/,p=/^[, \t\n\r\u000c]+/,h=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,v=0,b=[];;){if(i(p),v>=c)return b;o=i(h),a=[],","===o.slice(-1)?(o=o.replace(f,""),_()):y()}function y(){for(i(d),s="",l="in descriptor";;){if(u=e.charAt(v),"in descriptor"===l)if(r(u))s&&(a.push(s),s="",l="after descriptor");else{if(","===u)return v+=1,s&&a.push(s),void _();if("("===u)s+=u,l="in parens";else{if(""===u)return s&&a.push(s),void _();s+=u}}else if("in parens"===l)if(")"===u)s+=u,l="in descriptor";else{if(""===u)return a.push(s),void _();s+=u}else if("after descriptor"===l&&!r(u)){if(""===u)return void _();l="in descriptor",v-=1}v+=1}}function _(){var t,r,i,s,l,u,c,d,p,h=!1,f={};for(s=0;s{let{w:t}=e;return t}),s=t.some(e=>{let{h:t}=e;return t}),l=t.some(e=>{let{d:t}=e;return t});if(a+s+l>1)throw new Error("Mixed descriptor in srcset is not supported");let u=a?"w":s?"h":"d",c=a?"w":s?"h":"x",d=e=>Math.max(...e),p=t.map(e=>e.url),h=d(p.map(e=>e.length)),f=t.map(e=>e[u]).map(e=>e?e.toString():""),m=f.map(e=>{let t=e.indexOf(".");return-1===t?e.length:t}),g=d(m);return i([",",o],p.map((e,t)=>{let n=[e],i=f[t];if(i){let o=h-e.length+1,a=g-m[t],s=" ".repeat(o+a);n.push(r(s," "),i+c)}return n}))}function s(e){return e.trim().split(/\s+/).join(" ")}t.exports={printImgSrcset:a,printClassNames:s}}}),$i=_({"src/language-html/syntax-vue.js"(e,t){C();var{builders:{group:n}}=Y();function r(e,t){let{left:r,operator:o,right:a}=i(e);return[n(t(`function _(${r}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",o," ",t(a,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function i(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,i=e.match(t);if(!i)return;let o={};if(o.for=i[3].trim(),!o.for)return;let a=i[1].trim().replace(r,""),s=a.match(n);s?(o.alias=a.replace(n,""),o.iterator1=s[1].trim(),s[2]&&(o.iterator2=s[2].trim())):o.alias=a;let l=[o.alias,o.iterator1,o.iterator2];return l.some((e,t)=>!e&&(0===t||l.slice(t+1).some(Boolean)))?void 0:{left:l.filter(Boolean).join(","),operator:i[2],right:o.for}}function o(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}function a(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,n=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,r=e.trim();return t.test(r)||n.test(r)}t.exports={isVueEventBindingExpression:a,printVueFor:r,printVueBindings:o}}}),Hi=_({"src/language-html/get-node-content.js"(e,t){C();var{needsToBorrowParentClosingTagStartMarker:n,printClosingTagStartMarker:r,needsToBorrowLastChildClosingTagEndMarker:i,printClosingTagEndMarker:o,needsToBorrowParentOpeningTagEndMarker:a,printOpeningTagEndMarker:s}=ji();function l(e,t){let l=e.startSourceSpan.end.offset;e.firstChild&&a(e.firstChild)&&(l-=s(e).length);let u=e.endSourceSpan.start.offset;return e.lastChild&&n(e.lastChild)?u+=r(e,t).length:i(e)&&(u-=o(e.lastChild,t).length),t.originalText.slice(l,u)}t.exports=l}}),zi=_({"src/language-html/embed.js"(e,t){C();var{builders:{breakParent:n,group:r,hardline:i,indent:o,line:a,fill:s,softline:l},utils:{mapDoc:u,replaceTextEndOfLine:c}}=Y(),d=Rr(),{printClosingTag:p,printClosingTagSuffix:h,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:m,printOpeningTag:g}=ji(),{printImgSrcset:v,printClassNames:b}=qi(),{printVueFor:y,printVueBindings:_,isVueEventBindingExpression:E}=$i(),{isScriptLikeTag:S,isVueNonHtmlBlock:w,inferScriptParser:x,htmlTrimPreserveIndentation:T,dedentString:D,unescapeQuoteEntities:A,isVueSlotAttribute:O,isVueSfcBindingsAttribute:k,getTextValueParts:N}=ki(),I=Hi();function M(e,t,n){let i=t=>new RegExp(t.join("|")).test(e.fullName),u=()=>A(e.value),d=!1,p=(e,t)=>{let n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;n&&("ObjectExpression"===n.type||"ArrayExpression"===n.type||"__vue_expression"===t.parser&&("TemplateLiteral"===n.type||"StringLiteral"===n.type))&&(d=!0)},h=e=>r(e),f=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return r([o([l,e]),t?l:""])},m=e=>d?h(e):f(e),g=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:p,__embeddedInHtml:!0},n));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return f(v(u()));if("class"===e.fullName&&!n.parentParser){let e=u();if(!e.includes("{{"))return b(e)}if("style"===e.fullName&&!n.parentParser){let e=u();if(!e.includes("{{"))return f(g(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return y(u(),g);if(O(e)||k(e,n))return _(u(),g);let t=["^@","^v-on:"],r=["^:","^v-bind:"],o=["^v-"];if(i(t)){let e=u(),t=E(e)?"__js_expression":n.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return m(g(e,{parser:t}))}if(i(r))return m(g(u(),{parser:"__vue_expression"}));if(i(o))return m(g(u(),{parser:"__js_expression"}))}if("angular"===n.parser){let t=(e,t)=>g(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),n=["^\\*"],l=["^\\(.+\\)$","^on-"],d=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],p=["^i18n(-.+)?$"];if(i(l))return m(t(u(),{parser:"__ng_action"}));if(i(d))return m(t(u(),{parser:"__ng_binding"}));if(i(p)){let t=u().trim();return f(s(N(e,t)),!t.includes("@@"))}if(i(n))return m(t(u(),{parser:"__ng_directive"}));let h=/{{(.+?)}}/s,v=u();if(h.test(v)){let e=[];for(let[n,i]of v.split(h).entries())if(n%2===0)e.push(c(i));else try{e.push(r(["{{",o([a,t(i,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),a,"}}"]))}catch{e.push("{{",c(i),"}}")}return r(e)}}return null}function R(e,t,s,l){let c=e.getValue();switch(c.type){case"element":if(S(c)||"interpolation"===c.type)return;if(!c.isSelfClosing&&w(c,l)){let n=x(c,l);if(!n)return;let o=I(c,l),a=/^\s*$/.test(o),u="";return a||(u=s(T(o),{parser:n,__embeddedInHtml:!0},{stripTrailingHardline:!0}),a=""===u),[m(c,l),r(g(e,l,t)),a?"":i,u,a?"":i,p(c,l),h(c,l)]}break;case"text":if(S(c.parent)){let e=x(c.parent,l);if(e){let t="markdown"===e?D(c.value.replace(/^[^\S\n]*\n/,"")):c.value,r={parser:e,__embeddedInHtml:!0};if("html"===l.parser&&"babel"===e){let e="script",{attrMap:t}=c.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),r.__babelSourceType=e}return[n,m(c,l),s(t,r,{stripTrailingHardline:!0}),h(c,l)]}}else if("interpolation"===c.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===l.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===l.parser?e.parser=l.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":e.parser="__js_expression",[o([a,s(c.value,e,{stripTrailingHardline:!0})]),c.parent.next&&f(c.parent.next)?" ":a]}break;case"attribute":{if(!c.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(l.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];if("lwc"===l.parser&&/^{.*}$/s.test(l.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];let e=M(c,(e,t)=>s(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0}),l);if(e)return[c.rawName,'="',r(u(e,e=>"string"==typeof e?e.replace(/"/g,"""):e)),'"'];break}case"front-matter":return d(c,s)}}t.exports=R}}),Gi=_({"src/language-html/print/children.js"(e,t){C();var{builders:{breakParent:n,group:r,ifBreak:i,line:o,softline:a,hardline:s},utils:{replaceTextEndOfLine:l}}=Y(),{locStart:u,locEnd:c}=Bi(),{forceBreakChildren:d,forceNextEmptyLine:p,isTextLikeNode:h,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:m}=ki(),{printOpeningTagPrefix:g,needsToBorrowNextOpeningTagStartMarker:v,printOpeningTagStartMarker:b,needsToBorrowPrevClosingTagEndMarker:y,printClosingTagEndMarker:_,printClosingTagSuffix:E,needsToBorrowParentClosingTagStartMarker:S}=ji();function w(e,t,n){let r=e.getValue();return f(r)?[g(r,t),...l(t.originalText.slice(u(r)+(r.prev&&v(r.prev)?b(r).length:0),c(r)-(r.next&&y(r.next)?_(r,t).length:0))),E(r,t)]:n()}function x(e,t){return h(e)&&h(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?m(t)?s:o:"":m(t)?s:a:v(e)&&(f(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&y(t)?"":!t.isLeadingSpaceSensitive||m(t)||y(t)&&e.lastChild&&S(e.lastChild)&&e.lastChild.lastChild&&S(e.lastChild.lastChild)?s:t.hasLeadingSpaces?o:a}function T(e,t,o){let l=e.getValue();if(d(l))return[n,...e.map(e=>{let n=e.getValue(),r=n.prev?x(n.prev,n):"";return[r?[r,p(n.prev)?s:""]:"",w(e,t,o)]},"children")];let u=l.children.map(()=>Symbol(""));return e.map((e,n)=>{let l=e.getValue();if(h(l)){if(l.prev&&h(l.prev)){let n=x(l.prev,l);if(n)return p(l.prev)?[s,s,w(e,t,o)]:[n,w(e,t,o)]}return w(e,t,o)}let c=[],d=[],f=[],m=[],g=l.prev?x(l.prev,l):"",v=l.next?x(l,l.next):"";return g&&(p(l.prev)?c.push(s,s):g===s?c.push(s):h(l.prev)?d.push(g):d.push(i("",a,{groupId:u[n-1]}))),v&&(p(l)?h(l.next)&&m.push(s,s):v===s?h(l.next)&&m.push(s):f.push(v)),[...c,r([...d,r([w(e,t,o),...f],{id:u[n]})]),...m]},"children")}t.exports={printChildren:T}}}),Vi=_({"src/language-html/print/element.js"(e,t){C();var{builders:{breakParent:n,dedentToRoot:r,group:i,ifBreak:o,indentIfBreak:a,indent:s,line:l,softline:u},utils:{replaceTextEndOfLine:c}}=Y(),d=Hi(),{shouldPreserveContent:p,isScriptLikeTag:h,isVueCustomBlock:f,countParents:m,forceBreakContent:g}=ki(),{printOpeningTagPrefix:v,printOpeningTag:b,printClosingTagSuffix:y,printClosingTag:_,needsToBorrowPrevClosingTagEndMarker:E,needsToBorrowLastChildClosingTagEndMarker:S}=ji(),{printChildren:w}=Gi();function x(e,t,x){let C=e.getValue();if(p(C,t))return[v(C,t),i(b(e,t,x)),...c(d(C,t)),..._(C,t),y(C,t)];let T=1===C.children.length&&"interpolation"===C.firstChild.type&&C.firstChild.isLeadingSpaceSensitive&&!C.firstChild.hasLeadingSpaces&&C.lastChild.isTrailingSpaceSensitive&&!C.lastChild.hasTrailingSpaces,D=Symbol("element-attr-group-id"),A=n=>i([i(b(e,t,x),{id:D}),n,_(C,t)]),O=e=>T?a(e,{groupId:D}):!h(C)&&!f(C,t)||"root"!==C.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?s(e):e,k=()=>T?o(u,"",{groupId:D}):C.firstChild.hasLeadingSpaces&&C.firstChild.isLeadingSpaceSensitive?l:"text"===C.firstChild.type&&C.isWhitespaceSensitive&&C.isIndentationSensitive?r(u):u,N=()=>(C.next?E(C.next):S(C.parent))?C.lastChild.hasTrailingSpaces&&C.lastChild.isTrailingSpaceSensitive?" ":"":T?o(u,"",{groupId:D}):C.lastChild.hasTrailingSpaces&&C.lastChild.isTrailingSpaceSensitive?l:("comment"===C.lastChild.type||"text"===C.lastChild.type&&C.isWhitespaceSensitive&&C.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*m(e,e=>e.parent&&"root"!==e.parent.type)}}$`).test(C.lastChild.value)?"":u;return 0===C.children.length?A(C.hasDanglingSpaces&&C.isDanglingSpaceSensitive?l:""):A([g(C)?n:"",O([k(),w(e,t,x)]),N()])}t.exports={printElement:x}}}),Yi=_({"src/language-html/printer-html.js"(e,t){C();var{builders:{fill:n,group:r,hardline:i,literalline:o},utils:{cleanDoc:a,getDocParts:s,isConcat:l,replaceTextEndOfLine:u}}=Y(),c=Di(),{countChars:d,unescapeQuoteEntities:p,getTextValueParts:h}=ki(),f=Li(),{insertPragma:m}=Fi(),{locStart:g,locEnd:v}=Bi(),b=zi(),{printClosingTagSuffix:y,printClosingTagEnd:_,printOpeningTagPrefix:E,printOpeningTagStart:S}=ji(),{printElement:w}=Vi(),{printChildren:x}=Gi();function T(e,t,c){let f=e.getValue();switch(f.type){case"front-matter":return u(f.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(f),[r(x(e,t,c)),i];case"element":case"ieConditionalComment":return w(e,t,c);case"ieConditionalStartComment":case"ieConditionalEndComment":return[S(f),_(f)];case"interpolation":return[S(f,t),...e.map(c,"children"),_(f,t)];case"text":{if("interpolation"===f.parent.type){let e=/\n[^\S\n]*$/,t=e.test(f.value),n=t?f.value.replace(e,""):f.value;return[...u(n),t?i:""]}let e=a([E(f,t),...h(f),y(f,t)]);return l(e)||"fill"===e.type?n(s(e)):e}case"docType":return[r([S(f,t)," ",f.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),_(f,t)];case"comment":return[E(f,t),...u(t.originalText.slice(g(f),v(f)),o),y(f,t)];case"attribute":{if(null===f.value)return f.rawName;let e=p(f.value),t=d(e,"'"),n=d(e,'"'),r=t({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),n(Qi(),e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]})),n(Qi(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),n(Xi(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],s={html:r};t.exports={languages:a,printers:s,options:i,parsers:o}}}),Ji=_({"src/language-yaml/pragma.js"(e,t){function n(e){return/^\s*@(?:prettier|format)\s*$/.test(e)}function r(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)}function i(e){return"# @format\n\n"+e}C(),t.exports={isPragma:n,hasPragma:r,insertPragma:i}}}),eo=_({"src/language-yaml/loc.js"(e,t){function n(e){return e.position.start.offset}function r(e){return e.position.end.offset}C(),t.exports={locStart:n,locEnd:r}}}),to=_({"src/language-yaml/embed.js"(e,t){function n(e,t,n,r){if("root"===e.getValue().type&&r.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(r.filepath))return n(r.originalText,Object.assign(Object.assign({},r),{},{parser:"json"}))}C(),t.exports=n}}),no=_({"src/language-yaml/utils.js"(e,t){C();var{getLast:n,isNonEmptyArray:r}=ge();function i(e,t){let n=0,r=e.stack.length-1;for(let i=0;ia(n,t,e))}):e,n)}function s(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})}function l(e,t){let n=0,r=t.length;for(let i=e.position.end.offset-1;i0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart());return"preserve"===r.proseWrap?i.map(e=>0===e.length?[]:[e]):i.map(e=>0===e.length?[]:_(e)).reduce((t,r,o)=>0!==o&&i[o-1].length>0&&r.length>0&&("quoteDouble"!==e||!n(n(t)).endsWith("\\"))?[...t.slice(0,-1),[...n(t),...r]]:[...t,r],[]).map(e=>"never"===r.proseWrap?[e.join(" ")]:e)}function S(e,t){let r,{parentIndent:i,isLastDescendant:o,options:a}=t,s=e.position.start.line===e.position.end.line?"":a.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1];if(null===e.indent){let e=s.match(/^(? *)[^\n\r ]/m);r=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else r=e.indent-1+i;let l=s.split("\n").map(e=>e.slice(r));return"preserve"===a.proseWrap||"blockLiteral"===e.type?u(l.map(e=>0===e.length?[]:[e])):u(l.map(e=>0===e.length?[]:_(e)).reduce((e,t,r)=>0!==r&&l[r-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(n(e))?[...e.slice(0,-1),[...n(e),...t]]:[...e,t],[]).map(e=>e.reduce((e,t)=>e.length>0&&/\s$/.test(n(e))?[...e.slice(0,-1),n(e)+" "+t]:[...e,t],[])).map(e=>"never"===a.proseWrap?[e.join(" ")]:e));function u(t){if("keep"===e.chomping)return 0===n(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!o?t.slice(0,-(r-1)):t.slice(0,-r)}}function w(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}t.exports={getLast:n,getAncestorCount:i,isNode:o,isEmptyNode:h,isInlineNode:w,mapNode:a,defineShortcut:s,isNextLineEmpty:l,isLastDescendantNode:u,getBlockValueLineContents:S,getFlowScalarLineContents:E,getLastDescendantNode:c,hasPrettierIgnore:p,hasLeadingComments:m,hasMiddleComments:g,hasIndicatorComment:v,hasTrailingComment:b,hasEndComments:y}}}),ro=_({"src/language-yaml/print-preprocess.js"(e,t){C();var{defineShortcut:n,mapNode:r}=no();function i(e){return r(e,o)}function o(e){switch(e.type){case"document":n(e,"head",()=>e.children[0]),n(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":n(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":n(e,"key",()=>e.children[0]),n(e,"value",()=>e.children[1]);break}return e}t.exports=i}}),io=_({"src/language-yaml/print/misc.js"(e,t){C();var{builders:{softline:n,align:r}}=Y(),{hasEndComments:i,isNextLineEmpty:o,isNode:a}=no(),s=new WeakMap;function l(e,t){let r,i=e.getValue(),a=e.stack[0];return s.has(a)?r=s.get(a):(r=new Set,s.set(a,r)),r.has(i.position.end.line)||(r.add(i.position.end.line),!o(i,t)||u(e.getParentNode()))?"":n}function u(e){return i(e)&&!a(e,["documentHead","documentBody","flowMapping","flowSequence"])}function c(e,t){return r(" ".repeat(e),t)}t.exports={alignWithSpaces:c,shouldPrintEndComments:u,printNextEmptyLine:l}}}),oo=_({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){C();var{builders:{ifBreak:n,line:r,softline:i,hardline:o,join:a}}=Y(),{isEmptyNode:s,getLast:l,hasEndComments:u}=no(),{printNextEmptyLine:c,alignWithSpaces:d}=io();function p(e,t,c){let p=e.getValue(),f="flowMapping"===p.type,m=f?"{":"[",g=f?"}":"]",v=i;f&&p.children.length>0&&c.bracketSpacing&&(v=r);let b=l(p.children),y=b&&"flowMappingItem"===b.type&&s(b.key)&&s(b.value);return[m,d(c.tabWidth,[v,h(e,t,c),"none"===c.trailingComma?"":n(","),u(p)?[o,a(o,e.map(t,"endComments"))]:""]),y?"":v,g]}function h(e,t,n){let i=e.getValue();return e.map((e,o)=>[t(),o===i.children.length-1?"":[",",r,i.children[o].position.start.line!==i.children[o+1].position.start.line?c(e,n.originalText):""]],"children")}t.exports={printFlowMapping:p,printFlowSequence:p}}}),ao=_({"src/language-yaml/print/mapping-item.js"(e,t){C();var{builders:{conditionalGroup:n,group:r,hardline:i,ifBreak:o,join:a,line:s}}=Y(),{hasLeadingComments:l,hasMiddleComments:u,hasTrailingComment:c,hasEndComments:d,isNode:p,isEmptyNode:h,isInlineNode:f}=no(),{alignWithSpaces:m}=io();function g(e,t,g,_,E){let{key:S,value:w}=e,x=h(S),C=h(w);if(x&&C)return": ";let T=_("key"),D=b(e)?" ":"";if(C)return"flowMappingItem"===e.type&&"flowMapping"===t.type?T:"mappingItem"!==e.type||!v(S.content,E)||c(S.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",m(2,T)]:[T,D,":"];let A=_("value");if(x)return[": ",m(2,A)];if(l(w)||!f(S.content))return["? ",m(2,T),i,a("",g.map(_,"value","leadingComments").map(e=>[e,i])),": ",m(2,A)];if(y(S.content)&&!l(S.content)&&!u(S.content)&&!c(S.content)&&!d(S)&&!l(w.content)&&!u(w.content)&&!d(w)&&v(w.content,E))return[T,D,": ",A];let O=Symbol("mappingKey"),k=r([o("? "),r(m(2,T),{id:O})]),N=[i,": ",m(2,A)],I=[D,":"];l(w.content)||d(w)&&w.content&&!p(w.content,["mapping","sequence"])||"mapping"===t.type&&c(S.content)&&f(w.content)||p(w.content,["mapping","sequence"])&&null===w.content.tag&&null===w.content.anchor?I.push(i):w.content&&I.push(s),I.push(A);let M=m(E.tabWidth,I);return!v(S.content,E)||l(S.content)||u(S.content)||d(S)?n([[k,o(N,M,{groupId:O})]]):n([[T,M]])}function v(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function b(e){return e.key.content&&"alias"===e.key.content.type}function y(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}t.exports=g}}),so=_({"src/language-yaml/print/block.js"(e,t){C();var{builders:{dedent:n,dedentToRoot:r,fill:i,hardline:o,join:a,line:s,literalline:l,markAsRoot:u},utils:{getDocParts:c}}=Y(),{getAncestorCount:d,getBlockValueLineContents:p,hasIndicatorComment:h,isLastDescendantNode:f,isNode:m}=no(),{alignWithSpaces:g}=io();function v(e,t,v){let b=e.getValue(),y=d(e,e=>m(e,["sequence","mapping"])),_=f(e),E=["blockFolded"===b.type?">":"|"];null!==b.indent&&E.push(b.indent.toString()),"clip"!==b.chomping&&E.push("keep"===b.chomping?"+":"-"),h(b)&&E.push(" ",t("indicatorComment"));let S=p(b,{parentIndent:y,isLastDescendant:_,options:v}),w=[];for(let[n,d]of S.entries())0===n&&w.push(o),w.push(i(c(a(s,d)))),n!==S.length-1?w.push(0===d.length?o:u(l)):"keep"===b.chomping&&_&&w.push(r(0===d.length?o:l));return null===b.indent?E.push(n(g(v.tabWidth,w))):E.push(r(g(b.indent-1+y,w))),E}t.exports=v}}),lo=_({"src/language-yaml/printer-yaml.js"(e,t){C();var{builders:{breakParent:n,fill:r,group:i,hardline:o,join:a,line:s,lineSuffix:l,literalline:u},utils:{getDocParts:c,replaceTextEndOfLine:d}}=Y(),{isPreviousLineEmpty:p}=ge(),{insertPragma:h,isPragma:f}=Ji(),{locStart:m}=eo(),g=to(),{getFlowScalarLineContents:v,getLastDescendantNode:b,hasLeadingComments:y,hasMiddleComments:_,hasTrailingComment:E,hasEndComments:S,hasPrettierIgnore:w,isLastDescendantNode:x,isNode:T,isInlineNode:D}=no(),A=ro(),{alignWithSpaces:O,printNextEmptyLine:k,shouldPrintEndComments:N}=io(),{printFlowMapping:I,printFlowSequence:M}=oo(),R=ao(),P=so();function L(e,t,r){let s=e.getValue(),c=[];"mappingValue"!==s.type&&y(s)&&c.push([a(o,e.map(r,"leadingComments")),o]);let{tag:h,anchor:f}=s;h&&c.push(r("tag")),h&&f&&c.push(" "),f&&c.push(r("anchor"));let g="";T(s,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!x(e)&&(g=k(e,t.originalText)),(h||f)&&(T(s,["sequence","mapping"])&&!_(s)?c.push(o):c.push(" ")),_(s)&&c.push([1===s.middleComments.length?"":o,a(o,e.map(r,"middleComments")),o]);let v=e.getParentNode();return w(e)?c.push(d(t.originalText.slice(s.position.start.offset,s.position.end.offset).trimEnd(),u)):c.push(i(F(s,v,e,t,r))),E(s)&&!T(s,["document","documentHead"])&&c.push(l(["mappingValue"!==s.type||s.content?" ":"","mappingKey"===v.type&&"mapping"===e.getParentNode(2).type&&D(s)?"":n,r("trailingComment")])),N(s)&&c.push(O("sequenceItem"===s.type?2:0,[o,a(o,e.map(e=>[p(t.originalText,e.getValue(),m)?o:"",r()],"endComments"))])),c.push(g),c}function F(e,t,n,r,i){switch(e.type){case"root":{let{children:t}=e,r=[];n.each((e,n)=>{let a=t[n],s=t[n+1];0!==n&&r.push(o),r.push(i()),j(a,s)?(r.push(o,"..."),E(a)&&r.push(" ",i("trailingComment"))):s&&!E(s.head)&&r.push(o,"---")},"children");let a=b(e);return(!T(a,["blockLiteral","blockFolded"])||"keep"!==a.chomping)&&r.push(o),r}case"document":{let s=t.children[n.getName()+1],l=[];return"head"===U(e,s,t,r)&&((e.head.children.length>0||e.head.endComments.length>0)&&l.push(i("head")),E(e.head)?l.push(["---"," ",i(["head","trailingComment"])]):l.push("---")),B(e)&&l.push(i("body")),a(o,l)}case"documentHead":return a(o,[...n.map(i,"children"),...n.map(i,"endComments")]);case"documentBody":{let{children:t,endComments:r}=e,s="";if(t.length>0&&r.length>0){let t=b(e);T(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(s=[o,o]):s=o}return[a(o,n.map(i,"children")),s,a(o,n.map(i,"endComments"))]}case"directive":return["%",a(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return q(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{let t="'",n='"',i=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){let o="quoteDouble"===e.type?n:t;return[o,q(e.type,i,r),o]}if(i.includes(n))return[t,q(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):i,r),t];if(i.includes(t))return[n,q(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,r),n];let o=r.singleQuote?t:n;return[o,q(e.type,i,r),o]}case"blockFolded":case"blockLiteral":return P(n,i,r);case"mapping":case"sequence":return a(o,n.map(i,"children"));case"sequenceItem":return["- ",O(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return R(e,t,n,i,r);case"flowMapping":return I(n,i,r);case"flowSequence":return M(n,i,r);case"flowSequenceItem":return i("content");default:throw new Error("Unexpected node type "+e.type)}}function B(e){return e.body.children.length>0||S(e.body)}function j(e,t){return E(e)||t&&(t.head.children.length>0||S(t.head))}function U(e,t,n,r){return n.children[0]===e&&/---(?:\s|$)/.test(r.originalText.slice(m(e),m(e)+4))||e.head.children.length>0||S(e.head)||E(e.head)?"head":!j(e,t)&&(!!t&&"root")}function q(e,t,n){let i=v(e,t,n);return a(o,i.map(e=>r(c(a(s,e)))))}function $(e,t){if(T(t))switch(delete t.position,t.type){case"comment":if(f(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote";break}}t.exports={preprocess:A,embed:g,print:L,massageAstNode:$,insertPragma:h}}}),uo=_({"src/language-yaml/options.js"(e,t){C();var n=wr();t.exports={bracketSpacing:n.bracketSpacing,singleQuote:n.singleQuote,proseWrap:n.proseWrap}}}),co=_({"src/language-yaml/parsers.js"(){C()}}),po=_({"node_modules/linguist-languages/data/YAML.json"(e,t){t.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}}}),ho=_({"src/language-yaml/index.js"(e,t){C();var n=tn(),r=lo(),i=uo(),o=co(),a=[n(po(),e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter(e=>"yarn.lock"!==e),".prettierrc",".stylelintrc",".lintstagedrc"]}))];t.exports={languages:a,printers:{yaml:r},options:i,parsers:o}}}),fo=_({"src/languages.js"(e,t){C(),t.exports=[Ir(),Zr(),ai(),hi(),Ti(),Zi(),ho()]}});C();var{version:mo}=T(),go=Jt(),{getSupportInfo:vo}=ue(),bo=en(),yo=fo(),_o=Y();function Eo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var n=arguments.length,r=new Array(n),i=0;i